@porulle/plugin-marketplace 0.64.0 → 0.65.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/README.md +11 -59
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -11
- package/dist/routes/b2b.d.ts +1 -3
- package/dist/routes/b2b.d.ts.map +1 -1
- package/dist/routes/b2b.js +2 -70
- package/dist/routes/sub-orders.js +3 -3
- package/dist/routes/vendor-portal.js +6 -6
- package/dist/schema.d.ts +0 -194
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +0 -14
- package/dist/schemas/b2b.d.ts +0 -986
- package/dist/schemas/b2b.d.ts.map +1 -1
- package/dist/schemas/b2b.js +1 -184
- package/dist/schemas/commission.d.ts +0 -495
- package/dist/schemas/commission.d.ts.map +1 -1
- package/dist/schemas/commission.js +1 -78
- package/dist/schemas/disputes-returns-reviews.d.ts +0 -1354
- package/dist/schemas/disputes-returns-reviews.d.ts.map +1 -1
- package/dist/schemas/disputes-returns-reviews.js +1 -208
- package/dist/schemas/sub-orders.d.ts +0 -290
- package/dist/schemas/sub-orders.d.ts.map +1 -1
- package/dist/schemas/sub-orders.js +1 -59
- package/dist/schemas/vendor-portal.d.ts +0 -1755
- package/dist/schemas/vendor-portal.d.ts.map +1 -1
- package/dist/schemas/vendor-portal.js +1 -247
- package/dist/schemas/vendors.d.ts +0 -1321
- package/dist/schemas/vendors.d.ts.map +1 -1
- package/dist/schemas/vendors.js +1 -205
- package/dist/services/sub-order.d.ts +1 -31
- package/dist/services/sub-order.d.ts.map +1 -1
- package/dist/services/sub-order.js +14 -22
- package/dist/types.d.ts +0 -17
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +0 -4
- package/package.json +2 -2
- package/src/index.ts +3 -11
- package/src/routes/b2b.ts +1 -76
- package/src/routes/sub-orders.ts +3 -3
- package/src/routes/vendor-portal.ts +6 -6
- package/src/schema.ts +0 -16
- package/src/schemas/b2b.ts +1 -208
- package/src/schemas/commission.ts +1 -86
- package/src/schemas/disputes-returns-reviews.ts +1 -225
- package/src/schemas/sub-orders.ts +1 -65
- package/src/schemas/vendor-portal.ts +1 -269
- package/src/schemas/vendors.ts +1 -222
- package/src/services/sub-order.ts +16 -18
- package/src/types.ts +0 -28
- package/dist/schemas/payouts.d.ts +0 -375
- package/dist/schemas/payouts.d.ts.map +0 -1
- package/dist/schemas/payouts.js +0 -78
- package/dist/services/contract-price.d.ts +0 -64
- package/dist/services/contract-price.d.ts.map +0 -1
- package/dist/services/contract-price.js +0 -57
- package/src/schemas/payouts.ts +0 -90
- package/src/services/contract-price.ts +0 -80
|
@@ -6,107 +6,6 @@ export declare const CreateVendorBodySchema: z.ZodObject<{
|
|
|
6
6
|
commissionRateBps: z.ZodOptional<z.ZodNumber>;
|
|
7
7
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
8
8
|
}, z.core.$strip>;
|
|
9
|
-
export declare const createVendorRoute: {
|
|
10
|
-
method: "post";
|
|
11
|
-
path: "/api/marketplace/vendors";
|
|
12
|
-
tags: string[];
|
|
13
|
-
summary: string;
|
|
14
|
-
request: {
|
|
15
|
-
body: {
|
|
16
|
-
content: {
|
|
17
|
-
"application/json": {
|
|
18
|
-
schema: z.ZodObject<{
|
|
19
|
-
name: z.ZodString;
|
|
20
|
-
slug: z.ZodOptional<z.ZodString>;
|
|
21
|
-
contactEmail: z.ZodOptional<z.ZodString>;
|
|
22
|
-
commissionRateBps: z.ZodOptional<z.ZodNumber>;
|
|
23
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
24
|
-
}, z.core.$strip>;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
required: true;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
responses: {
|
|
31
|
-
401: {
|
|
32
|
-
readonly content: {
|
|
33
|
-
readonly "application/json": {
|
|
34
|
-
readonly schema: z.ZodObject<{
|
|
35
|
-
error: z.ZodObject<{
|
|
36
|
-
code: z.ZodString;
|
|
37
|
-
message: z.ZodString;
|
|
38
|
-
}, z.core.$strip>;
|
|
39
|
-
}, z.core.$strip>;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
readonly description: "Authentication required.";
|
|
43
|
-
};
|
|
44
|
-
403: {
|
|
45
|
-
readonly content: {
|
|
46
|
-
readonly "application/json": {
|
|
47
|
-
readonly schema: z.ZodObject<{
|
|
48
|
-
error: z.ZodObject<{
|
|
49
|
-
code: z.ZodString;
|
|
50
|
-
message: z.ZodString;
|
|
51
|
-
}, z.core.$strip>;
|
|
52
|
-
}, z.core.$strip>;
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
readonly description: "Insufficient permissions.";
|
|
56
|
-
};
|
|
57
|
-
404: {
|
|
58
|
-
readonly content: {
|
|
59
|
-
readonly "application/json": {
|
|
60
|
-
readonly schema: z.ZodObject<{
|
|
61
|
-
error: z.ZodObject<{
|
|
62
|
-
code: z.ZodString;
|
|
63
|
-
message: z.ZodString;
|
|
64
|
-
}, z.core.$strip>;
|
|
65
|
-
}, z.core.$strip>;
|
|
66
|
-
};
|
|
67
|
-
};
|
|
68
|
-
readonly description: "Not found.";
|
|
69
|
-
};
|
|
70
|
-
422: {
|
|
71
|
-
readonly content: {
|
|
72
|
-
readonly "application/json": {
|
|
73
|
-
readonly schema: z.ZodObject<{
|
|
74
|
-
error: z.ZodObject<{
|
|
75
|
-
code: z.ZodString;
|
|
76
|
-
message: z.ZodString;
|
|
77
|
-
}, z.core.$strip>;
|
|
78
|
-
}, z.core.$strip>;
|
|
79
|
-
};
|
|
80
|
-
};
|
|
81
|
-
readonly description: "Validation error.";
|
|
82
|
-
};
|
|
83
|
-
500: {
|
|
84
|
-
readonly content: {
|
|
85
|
-
readonly "application/json": {
|
|
86
|
-
readonly schema: z.ZodObject<{
|
|
87
|
-
error: z.ZodObject<{
|
|
88
|
-
code: z.ZodString;
|
|
89
|
-
message: z.ZodString;
|
|
90
|
-
}, z.core.$strip>;
|
|
91
|
-
}, z.core.$strip>;
|
|
92
|
-
};
|
|
93
|
-
};
|
|
94
|
-
readonly description: "Server error.";
|
|
95
|
-
};
|
|
96
|
-
201: {
|
|
97
|
-
content: {
|
|
98
|
-
"application/json": {
|
|
99
|
-
schema: z.ZodObject<{
|
|
100
|
-
data: z.ZodAny;
|
|
101
|
-
}, z.core.$strip>;
|
|
102
|
-
};
|
|
103
|
-
};
|
|
104
|
-
description: string;
|
|
105
|
-
};
|
|
106
|
-
};
|
|
107
|
-
} & {
|
|
108
|
-
getRoutingPath(): "/api/marketplace/vendors";
|
|
109
|
-
};
|
|
110
9
|
export declare const UpdateVendorBodySchema: z.ZodObject<{
|
|
111
10
|
name: z.ZodOptional<z.ZodString>;
|
|
112
11
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -115,1234 +14,14 @@ export declare const UpdateVendorBodySchema: z.ZodObject<{
|
|
|
115
14
|
tier: z.ZodOptional<z.ZodString>;
|
|
116
15
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
117
16
|
}, z.core.$strip>;
|
|
118
|
-
export declare const updateVendorRoute: {
|
|
119
|
-
method: "patch";
|
|
120
|
-
path: "/api/marketplace/vendors/{id}";
|
|
121
|
-
tags: string[];
|
|
122
|
-
summary: string;
|
|
123
|
-
request: {
|
|
124
|
-
params: z.ZodObject<{
|
|
125
|
-
id: z.ZodUUID;
|
|
126
|
-
}, z.core.$strip>;
|
|
127
|
-
body: {
|
|
128
|
-
content: {
|
|
129
|
-
"application/json": {
|
|
130
|
-
schema: z.ZodObject<{
|
|
131
|
-
name: z.ZodOptional<z.ZodString>;
|
|
132
|
-
description: z.ZodOptional<z.ZodString>;
|
|
133
|
-
contactEmail: z.ZodOptional<z.ZodString>;
|
|
134
|
-
commissionRateBps: z.ZodOptional<z.ZodNumber>;
|
|
135
|
-
tier: z.ZodOptional<z.ZodString>;
|
|
136
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
137
|
-
}, z.core.$strip>;
|
|
138
|
-
};
|
|
139
|
-
};
|
|
140
|
-
required: true;
|
|
141
|
-
};
|
|
142
|
-
};
|
|
143
|
-
responses: {
|
|
144
|
-
401: {
|
|
145
|
-
readonly content: {
|
|
146
|
-
readonly "application/json": {
|
|
147
|
-
readonly schema: z.ZodObject<{
|
|
148
|
-
error: z.ZodObject<{
|
|
149
|
-
code: z.ZodString;
|
|
150
|
-
message: z.ZodString;
|
|
151
|
-
}, z.core.$strip>;
|
|
152
|
-
}, z.core.$strip>;
|
|
153
|
-
};
|
|
154
|
-
};
|
|
155
|
-
readonly description: "Authentication required.";
|
|
156
|
-
};
|
|
157
|
-
403: {
|
|
158
|
-
readonly content: {
|
|
159
|
-
readonly "application/json": {
|
|
160
|
-
readonly schema: z.ZodObject<{
|
|
161
|
-
error: z.ZodObject<{
|
|
162
|
-
code: z.ZodString;
|
|
163
|
-
message: z.ZodString;
|
|
164
|
-
}, z.core.$strip>;
|
|
165
|
-
}, z.core.$strip>;
|
|
166
|
-
};
|
|
167
|
-
};
|
|
168
|
-
readonly description: "Insufficient permissions.";
|
|
169
|
-
};
|
|
170
|
-
404: {
|
|
171
|
-
readonly content: {
|
|
172
|
-
readonly "application/json": {
|
|
173
|
-
readonly schema: z.ZodObject<{
|
|
174
|
-
error: z.ZodObject<{
|
|
175
|
-
code: z.ZodString;
|
|
176
|
-
message: z.ZodString;
|
|
177
|
-
}, z.core.$strip>;
|
|
178
|
-
}, z.core.$strip>;
|
|
179
|
-
};
|
|
180
|
-
};
|
|
181
|
-
readonly description: "Not found.";
|
|
182
|
-
};
|
|
183
|
-
422: {
|
|
184
|
-
readonly content: {
|
|
185
|
-
readonly "application/json": {
|
|
186
|
-
readonly schema: z.ZodObject<{
|
|
187
|
-
error: z.ZodObject<{
|
|
188
|
-
code: z.ZodString;
|
|
189
|
-
message: z.ZodString;
|
|
190
|
-
}, z.core.$strip>;
|
|
191
|
-
}, z.core.$strip>;
|
|
192
|
-
};
|
|
193
|
-
};
|
|
194
|
-
readonly description: "Validation error.";
|
|
195
|
-
};
|
|
196
|
-
500: {
|
|
197
|
-
readonly content: {
|
|
198
|
-
readonly "application/json": {
|
|
199
|
-
readonly schema: z.ZodObject<{
|
|
200
|
-
error: z.ZodObject<{
|
|
201
|
-
code: z.ZodString;
|
|
202
|
-
message: z.ZodString;
|
|
203
|
-
}, z.core.$strip>;
|
|
204
|
-
}, z.core.$strip>;
|
|
205
|
-
};
|
|
206
|
-
};
|
|
207
|
-
readonly description: "Server error.";
|
|
208
|
-
};
|
|
209
|
-
200: {
|
|
210
|
-
content: {
|
|
211
|
-
"application/json": {
|
|
212
|
-
schema: z.ZodObject<{
|
|
213
|
-
data: z.ZodAny;
|
|
214
|
-
}, z.core.$strip>;
|
|
215
|
-
};
|
|
216
|
-
};
|
|
217
|
-
description: string;
|
|
218
|
-
};
|
|
219
|
-
};
|
|
220
|
-
} & {
|
|
221
|
-
getRoutingPath(): "/api/marketplace/vendors/:id";
|
|
222
|
-
};
|
|
223
17
|
export declare const RejectVendorBodySchema: z.ZodObject<{
|
|
224
18
|
reason: z.ZodString;
|
|
225
19
|
}, z.core.$strip>;
|
|
226
|
-
export declare const rejectVendorRoute: {
|
|
227
|
-
method: "post";
|
|
228
|
-
path: "/api/marketplace/vendors/{id}/reject";
|
|
229
|
-
tags: string[];
|
|
230
|
-
summary: string;
|
|
231
|
-
request: {
|
|
232
|
-
params: z.ZodObject<{
|
|
233
|
-
id: z.ZodUUID;
|
|
234
|
-
}, z.core.$strip>;
|
|
235
|
-
body: {
|
|
236
|
-
content: {
|
|
237
|
-
"application/json": {
|
|
238
|
-
schema: z.ZodObject<{
|
|
239
|
-
reason: z.ZodString;
|
|
240
|
-
}, z.core.$strip>;
|
|
241
|
-
};
|
|
242
|
-
};
|
|
243
|
-
required: true;
|
|
244
|
-
};
|
|
245
|
-
};
|
|
246
|
-
responses: {
|
|
247
|
-
401: {
|
|
248
|
-
readonly content: {
|
|
249
|
-
readonly "application/json": {
|
|
250
|
-
readonly schema: z.ZodObject<{
|
|
251
|
-
error: z.ZodObject<{
|
|
252
|
-
code: z.ZodString;
|
|
253
|
-
message: z.ZodString;
|
|
254
|
-
}, z.core.$strip>;
|
|
255
|
-
}, z.core.$strip>;
|
|
256
|
-
};
|
|
257
|
-
};
|
|
258
|
-
readonly description: "Authentication required.";
|
|
259
|
-
};
|
|
260
|
-
403: {
|
|
261
|
-
readonly content: {
|
|
262
|
-
readonly "application/json": {
|
|
263
|
-
readonly schema: z.ZodObject<{
|
|
264
|
-
error: z.ZodObject<{
|
|
265
|
-
code: z.ZodString;
|
|
266
|
-
message: z.ZodString;
|
|
267
|
-
}, z.core.$strip>;
|
|
268
|
-
}, z.core.$strip>;
|
|
269
|
-
};
|
|
270
|
-
};
|
|
271
|
-
readonly description: "Insufficient permissions.";
|
|
272
|
-
};
|
|
273
|
-
404: {
|
|
274
|
-
readonly content: {
|
|
275
|
-
readonly "application/json": {
|
|
276
|
-
readonly schema: z.ZodObject<{
|
|
277
|
-
error: z.ZodObject<{
|
|
278
|
-
code: z.ZodString;
|
|
279
|
-
message: z.ZodString;
|
|
280
|
-
}, z.core.$strip>;
|
|
281
|
-
}, z.core.$strip>;
|
|
282
|
-
};
|
|
283
|
-
};
|
|
284
|
-
readonly description: "Not found.";
|
|
285
|
-
};
|
|
286
|
-
422: {
|
|
287
|
-
readonly content: {
|
|
288
|
-
readonly "application/json": {
|
|
289
|
-
readonly schema: z.ZodObject<{
|
|
290
|
-
error: z.ZodObject<{
|
|
291
|
-
code: z.ZodString;
|
|
292
|
-
message: z.ZodString;
|
|
293
|
-
}, z.core.$strip>;
|
|
294
|
-
}, z.core.$strip>;
|
|
295
|
-
};
|
|
296
|
-
};
|
|
297
|
-
readonly description: "Validation error.";
|
|
298
|
-
};
|
|
299
|
-
500: {
|
|
300
|
-
readonly content: {
|
|
301
|
-
readonly "application/json": {
|
|
302
|
-
readonly schema: z.ZodObject<{
|
|
303
|
-
error: z.ZodObject<{
|
|
304
|
-
code: z.ZodString;
|
|
305
|
-
message: z.ZodString;
|
|
306
|
-
}, z.core.$strip>;
|
|
307
|
-
}, z.core.$strip>;
|
|
308
|
-
};
|
|
309
|
-
};
|
|
310
|
-
readonly description: "Server error.";
|
|
311
|
-
};
|
|
312
|
-
200: {
|
|
313
|
-
content: {
|
|
314
|
-
"application/json": {
|
|
315
|
-
schema: z.ZodObject<{
|
|
316
|
-
data: z.ZodAny;
|
|
317
|
-
}, z.core.$strip>;
|
|
318
|
-
};
|
|
319
|
-
};
|
|
320
|
-
description: string;
|
|
321
|
-
};
|
|
322
|
-
};
|
|
323
|
-
} & {
|
|
324
|
-
getRoutingPath(): "/api/marketplace/vendors/:id/reject";
|
|
325
|
-
};
|
|
326
20
|
export declare const SuspendVendorBodySchema: z.ZodObject<{
|
|
327
21
|
reason: z.ZodString;
|
|
328
22
|
}, z.core.$strip>;
|
|
329
|
-
export declare const suspendVendorRoute: {
|
|
330
|
-
method: "post";
|
|
331
|
-
path: "/api/marketplace/vendors/{id}/suspend";
|
|
332
|
-
tags: string[];
|
|
333
|
-
summary: string;
|
|
334
|
-
request: {
|
|
335
|
-
params: z.ZodObject<{
|
|
336
|
-
id: z.ZodUUID;
|
|
337
|
-
}, z.core.$strip>;
|
|
338
|
-
body: {
|
|
339
|
-
content: {
|
|
340
|
-
"application/json": {
|
|
341
|
-
schema: z.ZodObject<{
|
|
342
|
-
reason: z.ZodString;
|
|
343
|
-
}, z.core.$strip>;
|
|
344
|
-
};
|
|
345
|
-
};
|
|
346
|
-
required: true;
|
|
347
|
-
};
|
|
348
|
-
};
|
|
349
|
-
responses: {
|
|
350
|
-
401: {
|
|
351
|
-
readonly content: {
|
|
352
|
-
readonly "application/json": {
|
|
353
|
-
readonly schema: z.ZodObject<{
|
|
354
|
-
error: z.ZodObject<{
|
|
355
|
-
code: z.ZodString;
|
|
356
|
-
message: z.ZodString;
|
|
357
|
-
}, z.core.$strip>;
|
|
358
|
-
}, z.core.$strip>;
|
|
359
|
-
};
|
|
360
|
-
};
|
|
361
|
-
readonly description: "Authentication required.";
|
|
362
|
-
};
|
|
363
|
-
403: {
|
|
364
|
-
readonly content: {
|
|
365
|
-
readonly "application/json": {
|
|
366
|
-
readonly schema: z.ZodObject<{
|
|
367
|
-
error: z.ZodObject<{
|
|
368
|
-
code: z.ZodString;
|
|
369
|
-
message: z.ZodString;
|
|
370
|
-
}, z.core.$strip>;
|
|
371
|
-
}, z.core.$strip>;
|
|
372
|
-
};
|
|
373
|
-
};
|
|
374
|
-
readonly description: "Insufficient permissions.";
|
|
375
|
-
};
|
|
376
|
-
404: {
|
|
377
|
-
readonly content: {
|
|
378
|
-
readonly "application/json": {
|
|
379
|
-
readonly schema: z.ZodObject<{
|
|
380
|
-
error: z.ZodObject<{
|
|
381
|
-
code: z.ZodString;
|
|
382
|
-
message: z.ZodString;
|
|
383
|
-
}, z.core.$strip>;
|
|
384
|
-
}, z.core.$strip>;
|
|
385
|
-
};
|
|
386
|
-
};
|
|
387
|
-
readonly description: "Not found.";
|
|
388
|
-
};
|
|
389
|
-
422: {
|
|
390
|
-
readonly content: {
|
|
391
|
-
readonly "application/json": {
|
|
392
|
-
readonly schema: z.ZodObject<{
|
|
393
|
-
error: z.ZodObject<{
|
|
394
|
-
code: z.ZodString;
|
|
395
|
-
message: z.ZodString;
|
|
396
|
-
}, z.core.$strip>;
|
|
397
|
-
}, z.core.$strip>;
|
|
398
|
-
};
|
|
399
|
-
};
|
|
400
|
-
readonly description: "Validation error.";
|
|
401
|
-
};
|
|
402
|
-
500: {
|
|
403
|
-
readonly content: {
|
|
404
|
-
readonly "application/json": {
|
|
405
|
-
readonly schema: z.ZodObject<{
|
|
406
|
-
error: z.ZodObject<{
|
|
407
|
-
code: z.ZodString;
|
|
408
|
-
message: z.ZodString;
|
|
409
|
-
}, z.core.$strip>;
|
|
410
|
-
}, z.core.$strip>;
|
|
411
|
-
};
|
|
412
|
-
};
|
|
413
|
-
readonly description: "Server error.";
|
|
414
|
-
};
|
|
415
|
-
200: {
|
|
416
|
-
content: {
|
|
417
|
-
"application/json": {
|
|
418
|
-
schema: z.ZodObject<{
|
|
419
|
-
data: z.ZodAny;
|
|
420
|
-
}, z.core.$strip>;
|
|
421
|
-
};
|
|
422
|
-
};
|
|
423
|
-
description: string;
|
|
424
|
-
};
|
|
425
|
-
};
|
|
426
|
-
} & {
|
|
427
|
-
getRoutingPath(): "/api/marketplace/vendors/:id/suspend";
|
|
428
|
-
};
|
|
429
23
|
export declare const UploadDocumentBodySchema: z.ZodObject<{
|
|
430
24
|
type: z.ZodString;
|
|
431
25
|
fileUrl: z.ZodString;
|
|
432
26
|
}, z.core.$strip>;
|
|
433
|
-
export declare const uploadDocumentRoute: {
|
|
434
|
-
method: "post";
|
|
435
|
-
path: "/api/marketplace/vendors/{id}/documents";
|
|
436
|
-
tags: string[];
|
|
437
|
-
summary: string;
|
|
438
|
-
request: {
|
|
439
|
-
params: z.ZodObject<{
|
|
440
|
-
id: z.ZodUUID;
|
|
441
|
-
}, z.core.$strip>;
|
|
442
|
-
body: {
|
|
443
|
-
content: {
|
|
444
|
-
"application/json": {
|
|
445
|
-
schema: z.ZodObject<{
|
|
446
|
-
type: z.ZodString;
|
|
447
|
-
fileUrl: z.ZodString;
|
|
448
|
-
}, z.core.$strip>;
|
|
449
|
-
};
|
|
450
|
-
};
|
|
451
|
-
required: true;
|
|
452
|
-
};
|
|
453
|
-
};
|
|
454
|
-
responses: {
|
|
455
|
-
401: {
|
|
456
|
-
readonly content: {
|
|
457
|
-
readonly "application/json": {
|
|
458
|
-
readonly schema: z.ZodObject<{
|
|
459
|
-
error: z.ZodObject<{
|
|
460
|
-
code: z.ZodString;
|
|
461
|
-
message: z.ZodString;
|
|
462
|
-
}, z.core.$strip>;
|
|
463
|
-
}, z.core.$strip>;
|
|
464
|
-
};
|
|
465
|
-
};
|
|
466
|
-
readonly description: "Authentication required.";
|
|
467
|
-
};
|
|
468
|
-
403: {
|
|
469
|
-
readonly content: {
|
|
470
|
-
readonly "application/json": {
|
|
471
|
-
readonly schema: z.ZodObject<{
|
|
472
|
-
error: z.ZodObject<{
|
|
473
|
-
code: z.ZodString;
|
|
474
|
-
message: z.ZodString;
|
|
475
|
-
}, z.core.$strip>;
|
|
476
|
-
}, z.core.$strip>;
|
|
477
|
-
};
|
|
478
|
-
};
|
|
479
|
-
readonly description: "Insufficient permissions.";
|
|
480
|
-
};
|
|
481
|
-
404: {
|
|
482
|
-
readonly content: {
|
|
483
|
-
readonly "application/json": {
|
|
484
|
-
readonly schema: z.ZodObject<{
|
|
485
|
-
error: z.ZodObject<{
|
|
486
|
-
code: z.ZodString;
|
|
487
|
-
message: z.ZodString;
|
|
488
|
-
}, z.core.$strip>;
|
|
489
|
-
}, z.core.$strip>;
|
|
490
|
-
};
|
|
491
|
-
};
|
|
492
|
-
readonly description: "Not found.";
|
|
493
|
-
};
|
|
494
|
-
422: {
|
|
495
|
-
readonly content: {
|
|
496
|
-
readonly "application/json": {
|
|
497
|
-
readonly schema: z.ZodObject<{
|
|
498
|
-
error: z.ZodObject<{
|
|
499
|
-
code: z.ZodString;
|
|
500
|
-
message: z.ZodString;
|
|
501
|
-
}, z.core.$strip>;
|
|
502
|
-
}, z.core.$strip>;
|
|
503
|
-
};
|
|
504
|
-
};
|
|
505
|
-
readonly description: "Validation error.";
|
|
506
|
-
};
|
|
507
|
-
500: {
|
|
508
|
-
readonly content: {
|
|
509
|
-
readonly "application/json": {
|
|
510
|
-
readonly schema: z.ZodObject<{
|
|
511
|
-
error: z.ZodObject<{
|
|
512
|
-
code: z.ZodString;
|
|
513
|
-
message: z.ZodString;
|
|
514
|
-
}, z.core.$strip>;
|
|
515
|
-
}, z.core.$strip>;
|
|
516
|
-
};
|
|
517
|
-
};
|
|
518
|
-
readonly description: "Server error.";
|
|
519
|
-
};
|
|
520
|
-
201: {
|
|
521
|
-
content: {
|
|
522
|
-
"application/json": {
|
|
523
|
-
schema: z.ZodObject<{
|
|
524
|
-
data: z.ZodAny;
|
|
525
|
-
}, z.core.$strip>;
|
|
526
|
-
};
|
|
527
|
-
};
|
|
528
|
-
description: string;
|
|
529
|
-
};
|
|
530
|
-
};
|
|
531
|
-
} & {
|
|
532
|
-
getRoutingPath(): "/api/marketplace/vendors/:id/documents";
|
|
533
|
-
};
|
|
534
|
-
export declare const listVendorsRoute: {
|
|
535
|
-
method: "get";
|
|
536
|
-
path: "/api/marketplace/vendors";
|
|
537
|
-
tags: string[];
|
|
538
|
-
summary: string;
|
|
539
|
-
request: {
|
|
540
|
-
query: z.ZodObject<{
|
|
541
|
-
status: z.ZodOptional<z.ZodString>;
|
|
542
|
-
tier: z.ZodOptional<z.ZodString>;
|
|
543
|
-
search: z.ZodOptional<z.ZodString>;
|
|
544
|
-
}, z.core.$strip>;
|
|
545
|
-
};
|
|
546
|
-
responses: {
|
|
547
|
-
401: {
|
|
548
|
-
readonly content: {
|
|
549
|
-
readonly "application/json": {
|
|
550
|
-
readonly schema: z.ZodObject<{
|
|
551
|
-
error: z.ZodObject<{
|
|
552
|
-
code: z.ZodString;
|
|
553
|
-
message: z.ZodString;
|
|
554
|
-
}, z.core.$strip>;
|
|
555
|
-
}, z.core.$strip>;
|
|
556
|
-
};
|
|
557
|
-
};
|
|
558
|
-
readonly description: "Authentication required.";
|
|
559
|
-
};
|
|
560
|
-
403: {
|
|
561
|
-
readonly content: {
|
|
562
|
-
readonly "application/json": {
|
|
563
|
-
readonly schema: z.ZodObject<{
|
|
564
|
-
error: z.ZodObject<{
|
|
565
|
-
code: z.ZodString;
|
|
566
|
-
message: z.ZodString;
|
|
567
|
-
}, z.core.$strip>;
|
|
568
|
-
}, z.core.$strip>;
|
|
569
|
-
};
|
|
570
|
-
};
|
|
571
|
-
readonly description: "Insufficient permissions.";
|
|
572
|
-
};
|
|
573
|
-
404: {
|
|
574
|
-
readonly content: {
|
|
575
|
-
readonly "application/json": {
|
|
576
|
-
readonly schema: z.ZodObject<{
|
|
577
|
-
error: z.ZodObject<{
|
|
578
|
-
code: z.ZodString;
|
|
579
|
-
message: z.ZodString;
|
|
580
|
-
}, z.core.$strip>;
|
|
581
|
-
}, z.core.$strip>;
|
|
582
|
-
};
|
|
583
|
-
};
|
|
584
|
-
readonly description: "Not found.";
|
|
585
|
-
};
|
|
586
|
-
422: {
|
|
587
|
-
readonly content: {
|
|
588
|
-
readonly "application/json": {
|
|
589
|
-
readonly schema: z.ZodObject<{
|
|
590
|
-
error: z.ZodObject<{
|
|
591
|
-
code: z.ZodString;
|
|
592
|
-
message: z.ZodString;
|
|
593
|
-
}, z.core.$strip>;
|
|
594
|
-
}, z.core.$strip>;
|
|
595
|
-
};
|
|
596
|
-
};
|
|
597
|
-
readonly description: "Validation error.";
|
|
598
|
-
};
|
|
599
|
-
500: {
|
|
600
|
-
readonly content: {
|
|
601
|
-
readonly "application/json": {
|
|
602
|
-
readonly schema: z.ZodObject<{
|
|
603
|
-
error: z.ZodObject<{
|
|
604
|
-
code: z.ZodString;
|
|
605
|
-
message: z.ZodString;
|
|
606
|
-
}, z.core.$strip>;
|
|
607
|
-
}, z.core.$strip>;
|
|
608
|
-
};
|
|
609
|
-
};
|
|
610
|
-
readonly description: "Server error.";
|
|
611
|
-
};
|
|
612
|
-
200: {
|
|
613
|
-
content: {
|
|
614
|
-
"application/json": {
|
|
615
|
-
schema: z.ZodObject<{
|
|
616
|
-
data: z.ZodAny;
|
|
617
|
-
}, z.core.$strip>;
|
|
618
|
-
};
|
|
619
|
-
};
|
|
620
|
-
description: string;
|
|
621
|
-
};
|
|
622
|
-
};
|
|
623
|
-
} & {
|
|
624
|
-
getRoutingPath(): "/api/marketplace/vendors";
|
|
625
|
-
};
|
|
626
|
-
export declare const getVendorRoute: {
|
|
627
|
-
method: "get";
|
|
628
|
-
path: "/api/marketplace/vendors/{id}";
|
|
629
|
-
tags: string[];
|
|
630
|
-
summary: string;
|
|
631
|
-
request: {
|
|
632
|
-
params: z.ZodObject<{
|
|
633
|
-
id: z.ZodUUID;
|
|
634
|
-
}, z.core.$strip>;
|
|
635
|
-
};
|
|
636
|
-
responses: {
|
|
637
|
-
401: {
|
|
638
|
-
readonly content: {
|
|
639
|
-
readonly "application/json": {
|
|
640
|
-
readonly schema: z.ZodObject<{
|
|
641
|
-
error: z.ZodObject<{
|
|
642
|
-
code: z.ZodString;
|
|
643
|
-
message: z.ZodString;
|
|
644
|
-
}, z.core.$strip>;
|
|
645
|
-
}, z.core.$strip>;
|
|
646
|
-
};
|
|
647
|
-
};
|
|
648
|
-
readonly description: "Authentication required.";
|
|
649
|
-
};
|
|
650
|
-
403: {
|
|
651
|
-
readonly content: {
|
|
652
|
-
readonly "application/json": {
|
|
653
|
-
readonly schema: z.ZodObject<{
|
|
654
|
-
error: z.ZodObject<{
|
|
655
|
-
code: z.ZodString;
|
|
656
|
-
message: z.ZodString;
|
|
657
|
-
}, z.core.$strip>;
|
|
658
|
-
}, z.core.$strip>;
|
|
659
|
-
};
|
|
660
|
-
};
|
|
661
|
-
readonly description: "Insufficient permissions.";
|
|
662
|
-
};
|
|
663
|
-
404: {
|
|
664
|
-
readonly content: {
|
|
665
|
-
readonly "application/json": {
|
|
666
|
-
readonly schema: z.ZodObject<{
|
|
667
|
-
error: z.ZodObject<{
|
|
668
|
-
code: z.ZodString;
|
|
669
|
-
message: z.ZodString;
|
|
670
|
-
}, z.core.$strip>;
|
|
671
|
-
}, z.core.$strip>;
|
|
672
|
-
};
|
|
673
|
-
};
|
|
674
|
-
readonly description: "Not found.";
|
|
675
|
-
};
|
|
676
|
-
422: {
|
|
677
|
-
readonly content: {
|
|
678
|
-
readonly "application/json": {
|
|
679
|
-
readonly schema: z.ZodObject<{
|
|
680
|
-
error: z.ZodObject<{
|
|
681
|
-
code: z.ZodString;
|
|
682
|
-
message: z.ZodString;
|
|
683
|
-
}, z.core.$strip>;
|
|
684
|
-
}, z.core.$strip>;
|
|
685
|
-
};
|
|
686
|
-
};
|
|
687
|
-
readonly description: "Validation error.";
|
|
688
|
-
};
|
|
689
|
-
500: {
|
|
690
|
-
readonly content: {
|
|
691
|
-
readonly "application/json": {
|
|
692
|
-
readonly schema: z.ZodObject<{
|
|
693
|
-
error: z.ZodObject<{
|
|
694
|
-
code: z.ZodString;
|
|
695
|
-
message: z.ZodString;
|
|
696
|
-
}, z.core.$strip>;
|
|
697
|
-
}, z.core.$strip>;
|
|
698
|
-
};
|
|
699
|
-
};
|
|
700
|
-
readonly description: "Server error.";
|
|
701
|
-
};
|
|
702
|
-
200: {
|
|
703
|
-
content: {
|
|
704
|
-
"application/json": {
|
|
705
|
-
schema: z.ZodObject<{
|
|
706
|
-
data: z.ZodAny;
|
|
707
|
-
}, z.core.$strip>;
|
|
708
|
-
};
|
|
709
|
-
};
|
|
710
|
-
description: string;
|
|
711
|
-
};
|
|
712
|
-
};
|
|
713
|
-
} & {
|
|
714
|
-
getRoutingPath(): "/api/marketplace/vendors/:id";
|
|
715
|
-
};
|
|
716
|
-
export declare const approveVendorRoute: {
|
|
717
|
-
method: "post";
|
|
718
|
-
path: "/api/marketplace/vendors/{id}/approve";
|
|
719
|
-
tags: string[];
|
|
720
|
-
summary: string;
|
|
721
|
-
request: {
|
|
722
|
-
params: z.ZodObject<{
|
|
723
|
-
id: z.ZodUUID;
|
|
724
|
-
}, z.core.$strip>;
|
|
725
|
-
};
|
|
726
|
-
responses: {
|
|
727
|
-
401: {
|
|
728
|
-
readonly content: {
|
|
729
|
-
readonly "application/json": {
|
|
730
|
-
readonly schema: z.ZodObject<{
|
|
731
|
-
error: z.ZodObject<{
|
|
732
|
-
code: z.ZodString;
|
|
733
|
-
message: z.ZodString;
|
|
734
|
-
}, z.core.$strip>;
|
|
735
|
-
}, z.core.$strip>;
|
|
736
|
-
};
|
|
737
|
-
};
|
|
738
|
-
readonly description: "Authentication required.";
|
|
739
|
-
};
|
|
740
|
-
403: {
|
|
741
|
-
readonly content: {
|
|
742
|
-
readonly "application/json": {
|
|
743
|
-
readonly schema: z.ZodObject<{
|
|
744
|
-
error: z.ZodObject<{
|
|
745
|
-
code: z.ZodString;
|
|
746
|
-
message: z.ZodString;
|
|
747
|
-
}, z.core.$strip>;
|
|
748
|
-
}, z.core.$strip>;
|
|
749
|
-
};
|
|
750
|
-
};
|
|
751
|
-
readonly description: "Insufficient permissions.";
|
|
752
|
-
};
|
|
753
|
-
404: {
|
|
754
|
-
readonly content: {
|
|
755
|
-
readonly "application/json": {
|
|
756
|
-
readonly schema: z.ZodObject<{
|
|
757
|
-
error: z.ZodObject<{
|
|
758
|
-
code: z.ZodString;
|
|
759
|
-
message: z.ZodString;
|
|
760
|
-
}, z.core.$strip>;
|
|
761
|
-
}, z.core.$strip>;
|
|
762
|
-
};
|
|
763
|
-
};
|
|
764
|
-
readonly description: "Not found.";
|
|
765
|
-
};
|
|
766
|
-
422: {
|
|
767
|
-
readonly content: {
|
|
768
|
-
readonly "application/json": {
|
|
769
|
-
readonly schema: z.ZodObject<{
|
|
770
|
-
error: z.ZodObject<{
|
|
771
|
-
code: z.ZodString;
|
|
772
|
-
message: z.ZodString;
|
|
773
|
-
}, z.core.$strip>;
|
|
774
|
-
}, z.core.$strip>;
|
|
775
|
-
};
|
|
776
|
-
};
|
|
777
|
-
readonly description: "Validation error.";
|
|
778
|
-
};
|
|
779
|
-
500: {
|
|
780
|
-
readonly content: {
|
|
781
|
-
readonly "application/json": {
|
|
782
|
-
readonly schema: z.ZodObject<{
|
|
783
|
-
error: z.ZodObject<{
|
|
784
|
-
code: z.ZodString;
|
|
785
|
-
message: z.ZodString;
|
|
786
|
-
}, z.core.$strip>;
|
|
787
|
-
}, z.core.$strip>;
|
|
788
|
-
};
|
|
789
|
-
};
|
|
790
|
-
readonly description: "Server error.";
|
|
791
|
-
};
|
|
792
|
-
200: {
|
|
793
|
-
content: {
|
|
794
|
-
"application/json": {
|
|
795
|
-
schema: z.ZodObject<{
|
|
796
|
-
data: z.ZodAny;
|
|
797
|
-
}, z.core.$strip>;
|
|
798
|
-
};
|
|
799
|
-
};
|
|
800
|
-
description: string;
|
|
801
|
-
};
|
|
802
|
-
};
|
|
803
|
-
} & {
|
|
804
|
-
getRoutingPath(): "/api/marketplace/vendors/:id/approve";
|
|
805
|
-
};
|
|
806
|
-
export declare const reinstateVendorRoute: {
|
|
807
|
-
method: "post";
|
|
808
|
-
path: "/api/marketplace/vendors/{id}/reinstate";
|
|
809
|
-
tags: string[];
|
|
810
|
-
summary: string;
|
|
811
|
-
request: {
|
|
812
|
-
params: z.ZodObject<{
|
|
813
|
-
id: z.ZodUUID;
|
|
814
|
-
}, z.core.$strip>;
|
|
815
|
-
};
|
|
816
|
-
responses: {
|
|
817
|
-
401: {
|
|
818
|
-
readonly content: {
|
|
819
|
-
readonly "application/json": {
|
|
820
|
-
readonly schema: z.ZodObject<{
|
|
821
|
-
error: z.ZodObject<{
|
|
822
|
-
code: z.ZodString;
|
|
823
|
-
message: z.ZodString;
|
|
824
|
-
}, z.core.$strip>;
|
|
825
|
-
}, z.core.$strip>;
|
|
826
|
-
};
|
|
827
|
-
};
|
|
828
|
-
readonly description: "Authentication required.";
|
|
829
|
-
};
|
|
830
|
-
403: {
|
|
831
|
-
readonly content: {
|
|
832
|
-
readonly "application/json": {
|
|
833
|
-
readonly schema: z.ZodObject<{
|
|
834
|
-
error: z.ZodObject<{
|
|
835
|
-
code: z.ZodString;
|
|
836
|
-
message: z.ZodString;
|
|
837
|
-
}, z.core.$strip>;
|
|
838
|
-
}, z.core.$strip>;
|
|
839
|
-
};
|
|
840
|
-
};
|
|
841
|
-
readonly description: "Insufficient permissions.";
|
|
842
|
-
};
|
|
843
|
-
404: {
|
|
844
|
-
readonly content: {
|
|
845
|
-
readonly "application/json": {
|
|
846
|
-
readonly schema: z.ZodObject<{
|
|
847
|
-
error: z.ZodObject<{
|
|
848
|
-
code: z.ZodString;
|
|
849
|
-
message: z.ZodString;
|
|
850
|
-
}, z.core.$strip>;
|
|
851
|
-
}, z.core.$strip>;
|
|
852
|
-
};
|
|
853
|
-
};
|
|
854
|
-
readonly description: "Not found.";
|
|
855
|
-
};
|
|
856
|
-
422: {
|
|
857
|
-
readonly content: {
|
|
858
|
-
readonly "application/json": {
|
|
859
|
-
readonly schema: z.ZodObject<{
|
|
860
|
-
error: z.ZodObject<{
|
|
861
|
-
code: z.ZodString;
|
|
862
|
-
message: z.ZodString;
|
|
863
|
-
}, z.core.$strip>;
|
|
864
|
-
}, z.core.$strip>;
|
|
865
|
-
};
|
|
866
|
-
};
|
|
867
|
-
readonly description: "Validation error.";
|
|
868
|
-
};
|
|
869
|
-
500: {
|
|
870
|
-
readonly content: {
|
|
871
|
-
readonly "application/json": {
|
|
872
|
-
readonly schema: z.ZodObject<{
|
|
873
|
-
error: z.ZodObject<{
|
|
874
|
-
code: z.ZodString;
|
|
875
|
-
message: z.ZodString;
|
|
876
|
-
}, z.core.$strip>;
|
|
877
|
-
}, z.core.$strip>;
|
|
878
|
-
};
|
|
879
|
-
};
|
|
880
|
-
readonly description: "Server error.";
|
|
881
|
-
};
|
|
882
|
-
200: {
|
|
883
|
-
content: {
|
|
884
|
-
"application/json": {
|
|
885
|
-
schema: z.ZodObject<{
|
|
886
|
-
data: z.ZodAny;
|
|
887
|
-
}, z.core.$strip>;
|
|
888
|
-
};
|
|
889
|
-
};
|
|
890
|
-
description: string;
|
|
891
|
-
};
|
|
892
|
-
};
|
|
893
|
-
} & {
|
|
894
|
-
getRoutingPath(): "/api/marketplace/vendors/:id/reinstate";
|
|
895
|
-
};
|
|
896
|
-
export declare const listVendorDocumentsRoute: {
|
|
897
|
-
method: "get";
|
|
898
|
-
path: "/api/marketplace/vendors/{id}/documents";
|
|
899
|
-
tags: string[];
|
|
900
|
-
summary: string;
|
|
901
|
-
request: {
|
|
902
|
-
params: z.ZodObject<{
|
|
903
|
-
id: z.ZodUUID;
|
|
904
|
-
}, z.core.$strip>;
|
|
905
|
-
};
|
|
906
|
-
responses: {
|
|
907
|
-
401: {
|
|
908
|
-
readonly content: {
|
|
909
|
-
readonly "application/json": {
|
|
910
|
-
readonly schema: z.ZodObject<{
|
|
911
|
-
error: z.ZodObject<{
|
|
912
|
-
code: z.ZodString;
|
|
913
|
-
message: z.ZodString;
|
|
914
|
-
}, z.core.$strip>;
|
|
915
|
-
}, z.core.$strip>;
|
|
916
|
-
};
|
|
917
|
-
};
|
|
918
|
-
readonly description: "Authentication required.";
|
|
919
|
-
};
|
|
920
|
-
403: {
|
|
921
|
-
readonly content: {
|
|
922
|
-
readonly "application/json": {
|
|
923
|
-
readonly schema: z.ZodObject<{
|
|
924
|
-
error: z.ZodObject<{
|
|
925
|
-
code: z.ZodString;
|
|
926
|
-
message: z.ZodString;
|
|
927
|
-
}, z.core.$strip>;
|
|
928
|
-
}, z.core.$strip>;
|
|
929
|
-
};
|
|
930
|
-
};
|
|
931
|
-
readonly description: "Insufficient permissions.";
|
|
932
|
-
};
|
|
933
|
-
404: {
|
|
934
|
-
readonly content: {
|
|
935
|
-
readonly "application/json": {
|
|
936
|
-
readonly schema: z.ZodObject<{
|
|
937
|
-
error: z.ZodObject<{
|
|
938
|
-
code: z.ZodString;
|
|
939
|
-
message: z.ZodString;
|
|
940
|
-
}, z.core.$strip>;
|
|
941
|
-
}, z.core.$strip>;
|
|
942
|
-
};
|
|
943
|
-
};
|
|
944
|
-
readonly description: "Not found.";
|
|
945
|
-
};
|
|
946
|
-
422: {
|
|
947
|
-
readonly content: {
|
|
948
|
-
readonly "application/json": {
|
|
949
|
-
readonly schema: z.ZodObject<{
|
|
950
|
-
error: z.ZodObject<{
|
|
951
|
-
code: z.ZodString;
|
|
952
|
-
message: z.ZodString;
|
|
953
|
-
}, z.core.$strip>;
|
|
954
|
-
}, z.core.$strip>;
|
|
955
|
-
};
|
|
956
|
-
};
|
|
957
|
-
readonly description: "Validation error.";
|
|
958
|
-
};
|
|
959
|
-
500: {
|
|
960
|
-
readonly content: {
|
|
961
|
-
readonly "application/json": {
|
|
962
|
-
readonly schema: z.ZodObject<{
|
|
963
|
-
error: z.ZodObject<{
|
|
964
|
-
code: z.ZodString;
|
|
965
|
-
message: z.ZodString;
|
|
966
|
-
}, z.core.$strip>;
|
|
967
|
-
}, z.core.$strip>;
|
|
968
|
-
};
|
|
969
|
-
};
|
|
970
|
-
readonly description: "Server error.";
|
|
971
|
-
};
|
|
972
|
-
200: {
|
|
973
|
-
content: {
|
|
974
|
-
"application/json": {
|
|
975
|
-
schema: z.ZodObject<{
|
|
976
|
-
data: z.ZodAny;
|
|
977
|
-
}, z.core.$strip>;
|
|
978
|
-
};
|
|
979
|
-
};
|
|
980
|
-
description: string;
|
|
981
|
-
};
|
|
982
|
-
};
|
|
983
|
-
} & {
|
|
984
|
-
getRoutingPath(): "/api/marketplace/vendors/:id/documents";
|
|
985
|
-
};
|
|
986
|
-
export declare const approveDocumentRoute: {
|
|
987
|
-
method: "post";
|
|
988
|
-
path: "/api/marketplace/vendors/{id}/documents/{docId}/approve";
|
|
989
|
-
tags: string[];
|
|
990
|
-
summary: string;
|
|
991
|
-
request: {
|
|
992
|
-
params: z.ZodObject<{
|
|
993
|
-
id: z.ZodUUID;
|
|
994
|
-
docId: z.ZodUUID;
|
|
995
|
-
}, z.core.$strip>;
|
|
996
|
-
};
|
|
997
|
-
responses: {
|
|
998
|
-
401: {
|
|
999
|
-
readonly content: {
|
|
1000
|
-
readonly "application/json": {
|
|
1001
|
-
readonly schema: z.ZodObject<{
|
|
1002
|
-
error: z.ZodObject<{
|
|
1003
|
-
code: z.ZodString;
|
|
1004
|
-
message: z.ZodString;
|
|
1005
|
-
}, z.core.$strip>;
|
|
1006
|
-
}, z.core.$strip>;
|
|
1007
|
-
};
|
|
1008
|
-
};
|
|
1009
|
-
readonly description: "Authentication required.";
|
|
1010
|
-
};
|
|
1011
|
-
403: {
|
|
1012
|
-
readonly content: {
|
|
1013
|
-
readonly "application/json": {
|
|
1014
|
-
readonly schema: z.ZodObject<{
|
|
1015
|
-
error: z.ZodObject<{
|
|
1016
|
-
code: z.ZodString;
|
|
1017
|
-
message: z.ZodString;
|
|
1018
|
-
}, z.core.$strip>;
|
|
1019
|
-
}, z.core.$strip>;
|
|
1020
|
-
};
|
|
1021
|
-
};
|
|
1022
|
-
readonly description: "Insufficient permissions.";
|
|
1023
|
-
};
|
|
1024
|
-
404: {
|
|
1025
|
-
readonly content: {
|
|
1026
|
-
readonly "application/json": {
|
|
1027
|
-
readonly schema: z.ZodObject<{
|
|
1028
|
-
error: z.ZodObject<{
|
|
1029
|
-
code: z.ZodString;
|
|
1030
|
-
message: z.ZodString;
|
|
1031
|
-
}, z.core.$strip>;
|
|
1032
|
-
}, z.core.$strip>;
|
|
1033
|
-
};
|
|
1034
|
-
};
|
|
1035
|
-
readonly description: "Not found.";
|
|
1036
|
-
};
|
|
1037
|
-
422: {
|
|
1038
|
-
readonly content: {
|
|
1039
|
-
readonly "application/json": {
|
|
1040
|
-
readonly schema: z.ZodObject<{
|
|
1041
|
-
error: z.ZodObject<{
|
|
1042
|
-
code: z.ZodString;
|
|
1043
|
-
message: z.ZodString;
|
|
1044
|
-
}, z.core.$strip>;
|
|
1045
|
-
}, z.core.$strip>;
|
|
1046
|
-
};
|
|
1047
|
-
};
|
|
1048
|
-
readonly description: "Validation error.";
|
|
1049
|
-
};
|
|
1050
|
-
500: {
|
|
1051
|
-
readonly content: {
|
|
1052
|
-
readonly "application/json": {
|
|
1053
|
-
readonly schema: z.ZodObject<{
|
|
1054
|
-
error: z.ZodObject<{
|
|
1055
|
-
code: z.ZodString;
|
|
1056
|
-
message: z.ZodString;
|
|
1057
|
-
}, z.core.$strip>;
|
|
1058
|
-
}, z.core.$strip>;
|
|
1059
|
-
};
|
|
1060
|
-
};
|
|
1061
|
-
readonly description: "Server error.";
|
|
1062
|
-
};
|
|
1063
|
-
200: {
|
|
1064
|
-
content: {
|
|
1065
|
-
"application/json": {
|
|
1066
|
-
schema: z.ZodObject<{
|
|
1067
|
-
data: z.ZodAny;
|
|
1068
|
-
}, z.core.$strip>;
|
|
1069
|
-
};
|
|
1070
|
-
};
|
|
1071
|
-
description: string;
|
|
1072
|
-
};
|
|
1073
|
-
};
|
|
1074
|
-
} & {
|
|
1075
|
-
getRoutingPath(): "/api/marketplace/vendors/:id/documents/:docId/approve";
|
|
1076
|
-
};
|
|
1077
|
-
export declare const rejectDocumentRoute: {
|
|
1078
|
-
method: "post";
|
|
1079
|
-
path: "/api/marketplace/vendors/{id}/documents/{docId}/reject";
|
|
1080
|
-
tags: string[];
|
|
1081
|
-
summary: string;
|
|
1082
|
-
request: {
|
|
1083
|
-
params: z.ZodObject<{
|
|
1084
|
-
id: z.ZodUUID;
|
|
1085
|
-
docId: z.ZodUUID;
|
|
1086
|
-
}, z.core.$strip>;
|
|
1087
|
-
};
|
|
1088
|
-
responses: {
|
|
1089
|
-
401: {
|
|
1090
|
-
readonly content: {
|
|
1091
|
-
readonly "application/json": {
|
|
1092
|
-
readonly schema: z.ZodObject<{
|
|
1093
|
-
error: z.ZodObject<{
|
|
1094
|
-
code: z.ZodString;
|
|
1095
|
-
message: z.ZodString;
|
|
1096
|
-
}, z.core.$strip>;
|
|
1097
|
-
}, z.core.$strip>;
|
|
1098
|
-
};
|
|
1099
|
-
};
|
|
1100
|
-
readonly description: "Authentication required.";
|
|
1101
|
-
};
|
|
1102
|
-
403: {
|
|
1103
|
-
readonly content: {
|
|
1104
|
-
readonly "application/json": {
|
|
1105
|
-
readonly schema: z.ZodObject<{
|
|
1106
|
-
error: z.ZodObject<{
|
|
1107
|
-
code: z.ZodString;
|
|
1108
|
-
message: z.ZodString;
|
|
1109
|
-
}, z.core.$strip>;
|
|
1110
|
-
}, z.core.$strip>;
|
|
1111
|
-
};
|
|
1112
|
-
};
|
|
1113
|
-
readonly description: "Insufficient permissions.";
|
|
1114
|
-
};
|
|
1115
|
-
404: {
|
|
1116
|
-
readonly content: {
|
|
1117
|
-
readonly "application/json": {
|
|
1118
|
-
readonly schema: z.ZodObject<{
|
|
1119
|
-
error: z.ZodObject<{
|
|
1120
|
-
code: z.ZodString;
|
|
1121
|
-
message: z.ZodString;
|
|
1122
|
-
}, z.core.$strip>;
|
|
1123
|
-
}, z.core.$strip>;
|
|
1124
|
-
};
|
|
1125
|
-
};
|
|
1126
|
-
readonly description: "Not found.";
|
|
1127
|
-
};
|
|
1128
|
-
422: {
|
|
1129
|
-
readonly content: {
|
|
1130
|
-
readonly "application/json": {
|
|
1131
|
-
readonly schema: z.ZodObject<{
|
|
1132
|
-
error: z.ZodObject<{
|
|
1133
|
-
code: z.ZodString;
|
|
1134
|
-
message: z.ZodString;
|
|
1135
|
-
}, z.core.$strip>;
|
|
1136
|
-
}, z.core.$strip>;
|
|
1137
|
-
};
|
|
1138
|
-
};
|
|
1139
|
-
readonly description: "Validation error.";
|
|
1140
|
-
};
|
|
1141
|
-
500: {
|
|
1142
|
-
readonly content: {
|
|
1143
|
-
readonly "application/json": {
|
|
1144
|
-
readonly schema: z.ZodObject<{
|
|
1145
|
-
error: z.ZodObject<{
|
|
1146
|
-
code: z.ZodString;
|
|
1147
|
-
message: z.ZodString;
|
|
1148
|
-
}, z.core.$strip>;
|
|
1149
|
-
}, z.core.$strip>;
|
|
1150
|
-
};
|
|
1151
|
-
};
|
|
1152
|
-
readonly description: "Server error.";
|
|
1153
|
-
};
|
|
1154
|
-
200: {
|
|
1155
|
-
content: {
|
|
1156
|
-
"application/json": {
|
|
1157
|
-
schema: z.ZodObject<{
|
|
1158
|
-
data: z.ZodAny;
|
|
1159
|
-
}, z.core.$strip>;
|
|
1160
|
-
};
|
|
1161
|
-
};
|
|
1162
|
-
description: string;
|
|
1163
|
-
};
|
|
1164
|
-
};
|
|
1165
|
-
} & {
|
|
1166
|
-
getRoutingPath(): "/api/marketplace/vendors/:id/documents/:docId/reject";
|
|
1167
|
-
};
|
|
1168
|
-
export declare const vendorBalanceRoute: {
|
|
1169
|
-
method: "get";
|
|
1170
|
-
path: "/api/marketplace/vendors/{id}/balance";
|
|
1171
|
-
tags: string[];
|
|
1172
|
-
summary: string;
|
|
1173
|
-
request: {
|
|
1174
|
-
params: z.ZodObject<{
|
|
1175
|
-
id: z.ZodUUID;
|
|
1176
|
-
}, z.core.$strip>;
|
|
1177
|
-
};
|
|
1178
|
-
responses: {
|
|
1179
|
-
401: {
|
|
1180
|
-
readonly content: {
|
|
1181
|
-
readonly "application/json": {
|
|
1182
|
-
readonly schema: z.ZodObject<{
|
|
1183
|
-
error: z.ZodObject<{
|
|
1184
|
-
code: z.ZodString;
|
|
1185
|
-
message: z.ZodString;
|
|
1186
|
-
}, z.core.$strip>;
|
|
1187
|
-
}, z.core.$strip>;
|
|
1188
|
-
};
|
|
1189
|
-
};
|
|
1190
|
-
readonly description: "Authentication required.";
|
|
1191
|
-
};
|
|
1192
|
-
403: {
|
|
1193
|
-
readonly content: {
|
|
1194
|
-
readonly "application/json": {
|
|
1195
|
-
readonly schema: z.ZodObject<{
|
|
1196
|
-
error: z.ZodObject<{
|
|
1197
|
-
code: z.ZodString;
|
|
1198
|
-
message: z.ZodString;
|
|
1199
|
-
}, z.core.$strip>;
|
|
1200
|
-
}, z.core.$strip>;
|
|
1201
|
-
};
|
|
1202
|
-
};
|
|
1203
|
-
readonly description: "Insufficient permissions.";
|
|
1204
|
-
};
|
|
1205
|
-
404: {
|
|
1206
|
-
readonly content: {
|
|
1207
|
-
readonly "application/json": {
|
|
1208
|
-
readonly schema: z.ZodObject<{
|
|
1209
|
-
error: z.ZodObject<{
|
|
1210
|
-
code: z.ZodString;
|
|
1211
|
-
message: z.ZodString;
|
|
1212
|
-
}, z.core.$strip>;
|
|
1213
|
-
}, z.core.$strip>;
|
|
1214
|
-
};
|
|
1215
|
-
};
|
|
1216
|
-
readonly description: "Not found.";
|
|
1217
|
-
};
|
|
1218
|
-
422: {
|
|
1219
|
-
readonly content: {
|
|
1220
|
-
readonly "application/json": {
|
|
1221
|
-
readonly schema: z.ZodObject<{
|
|
1222
|
-
error: z.ZodObject<{
|
|
1223
|
-
code: z.ZodString;
|
|
1224
|
-
message: z.ZodString;
|
|
1225
|
-
}, z.core.$strip>;
|
|
1226
|
-
}, z.core.$strip>;
|
|
1227
|
-
};
|
|
1228
|
-
};
|
|
1229
|
-
readonly description: "Validation error.";
|
|
1230
|
-
};
|
|
1231
|
-
500: {
|
|
1232
|
-
readonly content: {
|
|
1233
|
-
readonly "application/json": {
|
|
1234
|
-
readonly schema: z.ZodObject<{
|
|
1235
|
-
error: z.ZodObject<{
|
|
1236
|
-
code: z.ZodString;
|
|
1237
|
-
message: z.ZodString;
|
|
1238
|
-
}, z.core.$strip>;
|
|
1239
|
-
}, z.core.$strip>;
|
|
1240
|
-
};
|
|
1241
|
-
};
|
|
1242
|
-
readonly description: "Server error.";
|
|
1243
|
-
};
|
|
1244
|
-
200: {
|
|
1245
|
-
content: {
|
|
1246
|
-
"application/json": {
|
|
1247
|
-
schema: z.ZodObject<{
|
|
1248
|
-
data: z.ZodAny;
|
|
1249
|
-
}, z.core.$strip>;
|
|
1250
|
-
};
|
|
1251
|
-
};
|
|
1252
|
-
description: string;
|
|
1253
|
-
};
|
|
1254
|
-
};
|
|
1255
|
-
} & {
|
|
1256
|
-
getRoutingPath(): "/api/marketplace/vendors/:id/balance";
|
|
1257
|
-
};
|
|
1258
|
-
export declare const vendorPerformanceRoute: {
|
|
1259
|
-
method: "get";
|
|
1260
|
-
path: "/api/marketplace/vendors/{id}/performance";
|
|
1261
|
-
tags: string[];
|
|
1262
|
-
summary: string;
|
|
1263
|
-
request: {
|
|
1264
|
-
params: z.ZodObject<{
|
|
1265
|
-
id: z.ZodUUID;
|
|
1266
|
-
}, z.core.$strip>;
|
|
1267
|
-
};
|
|
1268
|
-
responses: {
|
|
1269
|
-
401: {
|
|
1270
|
-
readonly content: {
|
|
1271
|
-
readonly "application/json": {
|
|
1272
|
-
readonly schema: z.ZodObject<{
|
|
1273
|
-
error: z.ZodObject<{
|
|
1274
|
-
code: z.ZodString;
|
|
1275
|
-
message: z.ZodString;
|
|
1276
|
-
}, z.core.$strip>;
|
|
1277
|
-
}, z.core.$strip>;
|
|
1278
|
-
};
|
|
1279
|
-
};
|
|
1280
|
-
readonly description: "Authentication required.";
|
|
1281
|
-
};
|
|
1282
|
-
403: {
|
|
1283
|
-
readonly content: {
|
|
1284
|
-
readonly "application/json": {
|
|
1285
|
-
readonly schema: z.ZodObject<{
|
|
1286
|
-
error: z.ZodObject<{
|
|
1287
|
-
code: z.ZodString;
|
|
1288
|
-
message: z.ZodString;
|
|
1289
|
-
}, z.core.$strip>;
|
|
1290
|
-
}, z.core.$strip>;
|
|
1291
|
-
};
|
|
1292
|
-
};
|
|
1293
|
-
readonly description: "Insufficient permissions.";
|
|
1294
|
-
};
|
|
1295
|
-
404: {
|
|
1296
|
-
readonly content: {
|
|
1297
|
-
readonly "application/json": {
|
|
1298
|
-
readonly schema: z.ZodObject<{
|
|
1299
|
-
error: z.ZodObject<{
|
|
1300
|
-
code: z.ZodString;
|
|
1301
|
-
message: z.ZodString;
|
|
1302
|
-
}, z.core.$strip>;
|
|
1303
|
-
}, z.core.$strip>;
|
|
1304
|
-
};
|
|
1305
|
-
};
|
|
1306
|
-
readonly description: "Not found.";
|
|
1307
|
-
};
|
|
1308
|
-
422: {
|
|
1309
|
-
readonly content: {
|
|
1310
|
-
readonly "application/json": {
|
|
1311
|
-
readonly schema: z.ZodObject<{
|
|
1312
|
-
error: z.ZodObject<{
|
|
1313
|
-
code: z.ZodString;
|
|
1314
|
-
message: z.ZodString;
|
|
1315
|
-
}, z.core.$strip>;
|
|
1316
|
-
}, z.core.$strip>;
|
|
1317
|
-
};
|
|
1318
|
-
};
|
|
1319
|
-
readonly description: "Validation error.";
|
|
1320
|
-
};
|
|
1321
|
-
500: {
|
|
1322
|
-
readonly content: {
|
|
1323
|
-
readonly "application/json": {
|
|
1324
|
-
readonly schema: z.ZodObject<{
|
|
1325
|
-
error: z.ZodObject<{
|
|
1326
|
-
code: z.ZodString;
|
|
1327
|
-
message: z.ZodString;
|
|
1328
|
-
}, z.core.$strip>;
|
|
1329
|
-
}, z.core.$strip>;
|
|
1330
|
-
};
|
|
1331
|
-
};
|
|
1332
|
-
readonly description: "Server error.";
|
|
1333
|
-
};
|
|
1334
|
-
200: {
|
|
1335
|
-
content: {
|
|
1336
|
-
"application/json": {
|
|
1337
|
-
schema: z.ZodObject<{
|
|
1338
|
-
data: z.ZodAny;
|
|
1339
|
-
}, z.core.$strip>;
|
|
1340
|
-
};
|
|
1341
|
-
};
|
|
1342
|
-
description: string;
|
|
1343
|
-
};
|
|
1344
|
-
};
|
|
1345
|
-
} & {
|
|
1346
|
-
getRoutingPath(): "/api/marketplace/vendors/:id/performance";
|
|
1347
|
-
};
|
|
1348
27
|
//# sourceMappingURL=vendors.d.ts.map
|