@porulle/plugin-marketplace 0.64.0 → 0.65.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +13 -11
- 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
|
@@ -5,1781 +5,26 @@ export declare const UpdateVendorProfileBodySchema: z.ZodObject<{
|
|
|
5
5
|
contactEmail: z.ZodOptional<z.ZodString>;
|
|
6
6
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
7
7
|
}, z.core.$strip>;
|
|
8
|
-
export declare const updateVendorProfileRoute: {
|
|
9
|
-
method: "patch";
|
|
10
|
-
path: "/api/marketplace/vendor/me";
|
|
11
|
-
tags: string[];
|
|
12
|
-
summary: string;
|
|
13
|
-
request: {
|
|
14
|
-
body: {
|
|
15
|
-
content: {
|
|
16
|
-
"application/json": {
|
|
17
|
-
schema: z.ZodObject<{
|
|
18
|
-
name: z.ZodOptional<z.ZodString>;
|
|
19
|
-
description: z.ZodOptional<z.ZodString>;
|
|
20
|
-
contactEmail: z.ZodOptional<z.ZodString>;
|
|
21
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
22
|
-
}, z.core.$strip>;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
required: true;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
responses: {
|
|
29
|
-
401: {
|
|
30
|
-
readonly content: {
|
|
31
|
-
readonly "application/json": {
|
|
32
|
-
readonly schema: z.ZodObject<{
|
|
33
|
-
error: z.ZodObject<{
|
|
34
|
-
code: z.ZodString;
|
|
35
|
-
message: z.ZodString;
|
|
36
|
-
}, z.core.$strip>;
|
|
37
|
-
}, z.core.$strip>;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
readonly description: "Authentication required.";
|
|
41
|
-
};
|
|
42
|
-
403: {
|
|
43
|
-
readonly content: {
|
|
44
|
-
readonly "application/json": {
|
|
45
|
-
readonly schema: z.ZodObject<{
|
|
46
|
-
error: z.ZodObject<{
|
|
47
|
-
code: z.ZodString;
|
|
48
|
-
message: z.ZodString;
|
|
49
|
-
}, z.core.$strip>;
|
|
50
|
-
}, z.core.$strip>;
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
readonly description: "Insufficient permissions.";
|
|
54
|
-
};
|
|
55
|
-
404: {
|
|
56
|
-
readonly content: {
|
|
57
|
-
readonly "application/json": {
|
|
58
|
-
readonly schema: z.ZodObject<{
|
|
59
|
-
error: z.ZodObject<{
|
|
60
|
-
code: z.ZodString;
|
|
61
|
-
message: z.ZodString;
|
|
62
|
-
}, z.core.$strip>;
|
|
63
|
-
}, z.core.$strip>;
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
readonly description: "Not found.";
|
|
67
|
-
};
|
|
68
|
-
422: {
|
|
69
|
-
readonly content: {
|
|
70
|
-
readonly "application/json": {
|
|
71
|
-
readonly schema: z.ZodObject<{
|
|
72
|
-
error: z.ZodObject<{
|
|
73
|
-
code: z.ZodString;
|
|
74
|
-
message: z.ZodString;
|
|
75
|
-
}, z.core.$strip>;
|
|
76
|
-
}, z.core.$strip>;
|
|
77
|
-
};
|
|
78
|
-
};
|
|
79
|
-
readonly description: "Validation error.";
|
|
80
|
-
};
|
|
81
|
-
500: {
|
|
82
|
-
readonly content: {
|
|
83
|
-
readonly "application/json": {
|
|
84
|
-
readonly schema: z.ZodObject<{
|
|
85
|
-
error: z.ZodObject<{
|
|
86
|
-
code: z.ZodString;
|
|
87
|
-
message: z.ZodString;
|
|
88
|
-
}, z.core.$strip>;
|
|
89
|
-
}, z.core.$strip>;
|
|
90
|
-
};
|
|
91
|
-
};
|
|
92
|
-
readonly description: "Server error.";
|
|
93
|
-
};
|
|
94
|
-
200: {
|
|
95
|
-
content: {
|
|
96
|
-
"application/json": {
|
|
97
|
-
schema: z.ZodObject<{
|
|
98
|
-
data: z.ZodAny;
|
|
99
|
-
}, z.core.$strip>;
|
|
100
|
-
};
|
|
101
|
-
};
|
|
102
|
-
description: string;
|
|
103
|
-
};
|
|
104
|
-
};
|
|
105
|
-
} & {
|
|
106
|
-
getRoutingPath(): "/api/marketplace/vendor/me";
|
|
107
|
-
};
|
|
108
8
|
export declare const UploadVendorDocumentBodySchema: z.ZodObject<{
|
|
109
9
|
type: z.ZodString;
|
|
110
10
|
fileUrl: z.ZodString;
|
|
111
11
|
}, z.core.$strip>;
|
|
112
|
-
export declare const uploadVendorDocumentRoute: {
|
|
113
|
-
method: "post";
|
|
114
|
-
path: "/api/marketplace/vendor/me/documents";
|
|
115
|
-
tags: string[];
|
|
116
|
-
summary: string;
|
|
117
|
-
request: {
|
|
118
|
-
body: {
|
|
119
|
-
content: {
|
|
120
|
-
"application/json": {
|
|
121
|
-
schema: z.ZodObject<{
|
|
122
|
-
type: z.ZodString;
|
|
123
|
-
fileUrl: z.ZodString;
|
|
124
|
-
}, z.core.$strip>;
|
|
125
|
-
};
|
|
126
|
-
};
|
|
127
|
-
required: true;
|
|
128
|
-
};
|
|
129
|
-
};
|
|
130
|
-
responses: {
|
|
131
|
-
401: {
|
|
132
|
-
readonly content: {
|
|
133
|
-
readonly "application/json": {
|
|
134
|
-
readonly schema: z.ZodObject<{
|
|
135
|
-
error: z.ZodObject<{
|
|
136
|
-
code: z.ZodString;
|
|
137
|
-
message: z.ZodString;
|
|
138
|
-
}, z.core.$strip>;
|
|
139
|
-
}, z.core.$strip>;
|
|
140
|
-
};
|
|
141
|
-
};
|
|
142
|
-
readonly description: "Authentication required.";
|
|
143
|
-
};
|
|
144
|
-
403: {
|
|
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: "Insufficient permissions.";
|
|
156
|
-
};
|
|
157
|
-
404: {
|
|
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: "Not found.";
|
|
169
|
-
};
|
|
170
|
-
422: {
|
|
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: "Validation error.";
|
|
182
|
-
};
|
|
183
|
-
500: {
|
|
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: "Server error.";
|
|
195
|
-
};
|
|
196
|
-
201: {
|
|
197
|
-
content: {
|
|
198
|
-
"application/json": {
|
|
199
|
-
schema: z.ZodObject<{
|
|
200
|
-
data: z.ZodAny;
|
|
201
|
-
}, z.core.$strip>;
|
|
202
|
-
};
|
|
203
|
-
};
|
|
204
|
-
description: string;
|
|
205
|
-
};
|
|
206
|
-
};
|
|
207
|
-
} & {
|
|
208
|
-
getRoutingPath(): "/api/marketplace/vendor/me/documents";
|
|
209
|
-
};
|
|
210
12
|
export declare const ConfirmSubOrderBodySchema: z.ZodObject<{}, z.core.$strip>;
|
|
211
|
-
export declare const confirmSubOrderRoute: {
|
|
212
|
-
method: "post";
|
|
213
|
-
path: "/api/marketplace/vendor/me/orders/{subOrderId}/confirm";
|
|
214
|
-
tags: string[];
|
|
215
|
-
summary: string;
|
|
216
|
-
request: {
|
|
217
|
-
params: z.ZodObject<{
|
|
218
|
-
subOrderId: z.ZodUUID;
|
|
219
|
-
}, z.core.$strip>;
|
|
220
|
-
body: {
|
|
221
|
-
content: {
|
|
222
|
-
"application/json": {
|
|
223
|
-
schema: z.ZodObject<{}, z.core.$strip>;
|
|
224
|
-
};
|
|
225
|
-
};
|
|
226
|
-
required: true;
|
|
227
|
-
};
|
|
228
|
-
};
|
|
229
|
-
responses: {
|
|
230
|
-
401: {
|
|
231
|
-
readonly content: {
|
|
232
|
-
readonly "application/json": {
|
|
233
|
-
readonly schema: z.ZodObject<{
|
|
234
|
-
error: z.ZodObject<{
|
|
235
|
-
code: z.ZodString;
|
|
236
|
-
message: z.ZodString;
|
|
237
|
-
}, z.core.$strip>;
|
|
238
|
-
}, z.core.$strip>;
|
|
239
|
-
};
|
|
240
|
-
};
|
|
241
|
-
readonly description: "Authentication required.";
|
|
242
|
-
};
|
|
243
|
-
403: {
|
|
244
|
-
readonly content: {
|
|
245
|
-
readonly "application/json": {
|
|
246
|
-
readonly schema: z.ZodObject<{
|
|
247
|
-
error: z.ZodObject<{
|
|
248
|
-
code: z.ZodString;
|
|
249
|
-
message: z.ZodString;
|
|
250
|
-
}, z.core.$strip>;
|
|
251
|
-
}, z.core.$strip>;
|
|
252
|
-
};
|
|
253
|
-
};
|
|
254
|
-
readonly description: "Insufficient permissions.";
|
|
255
|
-
};
|
|
256
|
-
404: {
|
|
257
|
-
readonly content: {
|
|
258
|
-
readonly "application/json": {
|
|
259
|
-
readonly schema: z.ZodObject<{
|
|
260
|
-
error: z.ZodObject<{
|
|
261
|
-
code: z.ZodString;
|
|
262
|
-
message: z.ZodString;
|
|
263
|
-
}, z.core.$strip>;
|
|
264
|
-
}, z.core.$strip>;
|
|
265
|
-
};
|
|
266
|
-
};
|
|
267
|
-
readonly description: "Not found.";
|
|
268
|
-
};
|
|
269
|
-
422: {
|
|
270
|
-
readonly content: {
|
|
271
|
-
readonly "application/json": {
|
|
272
|
-
readonly schema: z.ZodObject<{
|
|
273
|
-
error: z.ZodObject<{
|
|
274
|
-
code: z.ZodString;
|
|
275
|
-
message: z.ZodString;
|
|
276
|
-
}, z.core.$strip>;
|
|
277
|
-
}, z.core.$strip>;
|
|
278
|
-
};
|
|
279
|
-
};
|
|
280
|
-
readonly description: "Validation error.";
|
|
281
|
-
};
|
|
282
|
-
500: {
|
|
283
|
-
readonly content: {
|
|
284
|
-
readonly "application/json": {
|
|
285
|
-
readonly schema: z.ZodObject<{
|
|
286
|
-
error: z.ZodObject<{
|
|
287
|
-
code: z.ZodString;
|
|
288
|
-
message: z.ZodString;
|
|
289
|
-
}, z.core.$strip>;
|
|
290
|
-
}, z.core.$strip>;
|
|
291
|
-
};
|
|
292
|
-
};
|
|
293
|
-
readonly description: "Server error.";
|
|
294
|
-
};
|
|
295
|
-
200: {
|
|
296
|
-
content: {
|
|
297
|
-
"application/json": {
|
|
298
|
-
schema: z.ZodObject<{
|
|
299
|
-
data: z.ZodAny;
|
|
300
|
-
}, z.core.$strip>;
|
|
301
|
-
};
|
|
302
|
-
};
|
|
303
|
-
description: string;
|
|
304
|
-
};
|
|
305
|
-
};
|
|
306
|
-
} & {
|
|
307
|
-
getRoutingPath(): "/api/marketplace/vendor/me/orders/:subOrderId/confirm";
|
|
308
|
-
};
|
|
309
13
|
export declare const ShipSubOrderBodySchema: z.ZodObject<{
|
|
310
14
|
trackingNumber: z.ZodString;
|
|
311
15
|
carrier: z.ZodString;
|
|
312
16
|
}, z.core.$strip>;
|
|
313
|
-
export declare const shipSubOrderRoute: {
|
|
314
|
-
method: "post";
|
|
315
|
-
path: "/api/marketplace/vendor/me/orders/{subOrderId}/ship";
|
|
316
|
-
tags: string[];
|
|
317
|
-
summary: string;
|
|
318
|
-
request: {
|
|
319
|
-
params: z.ZodObject<{
|
|
320
|
-
subOrderId: z.ZodUUID;
|
|
321
|
-
}, z.core.$strip>;
|
|
322
|
-
body: {
|
|
323
|
-
content: {
|
|
324
|
-
"application/json": {
|
|
325
|
-
schema: z.ZodObject<{
|
|
326
|
-
trackingNumber: z.ZodString;
|
|
327
|
-
carrier: z.ZodString;
|
|
328
|
-
}, z.core.$strip>;
|
|
329
|
-
};
|
|
330
|
-
};
|
|
331
|
-
required: true;
|
|
332
|
-
};
|
|
333
|
-
};
|
|
334
|
-
responses: {
|
|
335
|
-
401: {
|
|
336
|
-
readonly content: {
|
|
337
|
-
readonly "application/json": {
|
|
338
|
-
readonly schema: z.ZodObject<{
|
|
339
|
-
error: z.ZodObject<{
|
|
340
|
-
code: z.ZodString;
|
|
341
|
-
message: z.ZodString;
|
|
342
|
-
}, z.core.$strip>;
|
|
343
|
-
}, z.core.$strip>;
|
|
344
|
-
};
|
|
345
|
-
};
|
|
346
|
-
readonly description: "Authentication required.";
|
|
347
|
-
};
|
|
348
|
-
403: {
|
|
349
|
-
readonly content: {
|
|
350
|
-
readonly "application/json": {
|
|
351
|
-
readonly schema: z.ZodObject<{
|
|
352
|
-
error: z.ZodObject<{
|
|
353
|
-
code: z.ZodString;
|
|
354
|
-
message: z.ZodString;
|
|
355
|
-
}, z.core.$strip>;
|
|
356
|
-
}, z.core.$strip>;
|
|
357
|
-
};
|
|
358
|
-
};
|
|
359
|
-
readonly description: "Insufficient permissions.";
|
|
360
|
-
};
|
|
361
|
-
404: {
|
|
362
|
-
readonly content: {
|
|
363
|
-
readonly "application/json": {
|
|
364
|
-
readonly schema: z.ZodObject<{
|
|
365
|
-
error: z.ZodObject<{
|
|
366
|
-
code: z.ZodString;
|
|
367
|
-
message: z.ZodString;
|
|
368
|
-
}, z.core.$strip>;
|
|
369
|
-
}, z.core.$strip>;
|
|
370
|
-
};
|
|
371
|
-
};
|
|
372
|
-
readonly description: "Not found.";
|
|
373
|
-
};
|
|
374
|
-
422: {
|
|
375
|
-
readonly content: {
|
|
376
|
-
readonly "application/json": {
|
|
377
|
-
readonly schema: z.ZodObject<{
|
|
378
|
-
error: z.ZodObject<{
|
|
379
|
-
code: z.ZodString;
|
|
380
|
-
message: z.ZodString;
|
|
381
|
-
}, z.core.$strip>;
|
|
382
|
-
}, z.core.$strip>;
|
|
383
|
-
};
|
|
384
|
-
};
|
|
385
|
-
readonly description: "Validation error.";
|
|
386
|
-
};
|
|
387
|
-
500: {
|
|
388
|
-
readonly content: {
|
|
389
|
-
readonly "application/json": {
|
|
390
|
-
readonly schema: z.ZodObject<{
|
|
391
|
-
error: z.ZodObject<{
|
|
392
|
-
code: z.ZodString;
|
|
393
|
-
message: z.ZodString;
|
|
394
|
-
}, z.core.$strip>;
|
|
395
|
-
}, z.core.$strip>;
|
|
396
|
-
};
|
|
397
|
-
};
|
|
398
|
-
readonly description: "Server error.";
|
|
399
|
-
};
|
|
400
|
-
200: {
|
|
401
|
-
content: {
|
|
402
|
-
"application/json": {
|
|
403
|
-
schema: z.ZodObject<{
|
|
404
|
-
data: z.ZodAny;
|
|
405
|
-
}, z.core.$strip>;
|
|
406
|
-
};
|
|
407
|
-
};
|
|
408
|
-
description: string;
|
|
409
|
-
};
|
|
410
|
-
};
|
|
411
|
-
} & {
|
|
412
|
-
getRoutingPath(): "/api/marketplace/vendor/me/orders/:subOrderId/ship";
|
|
413
|
-
};
|
|
414
17
|
export declare const DeliverSubOrderBodySchema: z.ZodObject<{}, z.core.$strip>;
|
|
415
|
-
export declare const deliverSubOrderRoute: {
|
|
416
|
-
method: "post";
|
|
417
|
-
path: "/api/marketplace/vendor/me/orders/{subOrderId}/deliver";
|
|
418
|
-
tags: string[];
|
|
419
|
-
summary: string;
|
|
420
|
-
request: {
|
|
421
|
-
params: z.ZodObject<{
|
|
422
|
-
subOrderId: z.ZodUUID;
|
|
423
|
-
}, z.core.$strip>;
|
|
424
|
-
body: {
|
|
425
|
-
content: {
|
|
426
|
-
"application/json": {
|
|
427
|
-
schema: z.ZodObject<{}, z.core.$strip>;
|
|
428
|
-
};
|
|
429
|
-
};
|
|
430
|
-
required: true;
|
|
431
|
-
};
|
|
432
|
-
};
|
|
433
|
-
responses: {
|
|
434
|
-
401: {
|
|
435
|
-
readonly content: {
|
|
436
|
-
readonly "application/json": {
|
|
437
|
-
readonly schema: z.ZodObject<{
|
|
438
|
-
error: z.ZodObject<{
|
|
439
|
-
code: z.ZodString;
|
|
440
|
-
message: z.ZodString;
|
|
441
|
-
}, z.core.$strip>;
|
|
442
|
-
}, z.core.$strip>;
|
|
443
|
-
};
|
|
444
|
-
};
|
|
445
|
-
readonly description: "Authentication required.";
|
|
446
|
-
};
|
|
447
|
-
403: {
|
|
448
|
-
readonly content: {
|
|
449
|
-
readonly "application/json": {
|
|
450
|
-
readonly schema: z.ZodObject<{
|
|
451
|
-
error: z.ZodObject<{
|
|
452
|
-
code: z.ZodString;
|
|
453
|
-
message: z.ZodString;
|
|
454
|
-
}, z.core.$strip>;
|
|
455
|
-
}, z.core.$strip>;
|
|
456
|
-
};
|
|
457
|
-
};
|
|
458
|
-
readonly description: "Insufficient permissions.";
|
|
459
|
-
};
|
|
460
|
-
404: {
|
|
461
|
-
readonly content: {
|
|
462
|
-
readonly "application/json": {
|
|
463
|
-
readonly schema: z.ZodObject<{
|
|
464
|
-
error: z.ZodObject<{
|
|
465
|
-
code: z.ZodString;
|
|
466
|
-
message: z.ZodString;
|
|
467
|
-
}, z.core.$strip>;
|
|
468
|
-
}, z.core.$strip>;
|
|
469
|
-
};
|
|
470
|
-
};
|
|
471
|
-
readonly description: "Not found.";
|
|
472
|
-
};
|
|
473
|
-
422: {
|
|
474
|
-
readonly content: {
|
|
475
|
-
readonly "application/json": {
|
|
476
|
-
readonly schema: z.ZodObject<{
|
|
477
|
-
error: z.ZodObject<{
|
|
478
|
-
code: z.ZodString;
|
|
479
|
-
message: z.ZodString;
|
|
480
|
-
}, z.core.$strip>;
|
|
481
|
-
}, z.core.$strip>;
|
|
482
|
-
};
|
|
483
|
-
};
|
|
484
|
-
readonly description: "Validation error.";
|
|
485
|
-
};
|
|
486
|
-
500: {
|
|
487
|
-
readonly content: {
|
|
488
|
-
readonly "application/json": {
|
|
489
|
-
readonly schema: z.ZodObject<{
|
|
490
|
-
error: z.ZodObject<{
|
|
491
|
-
code: z.ZodString;
|
|
492
|
-
message: z.ZodString;
|
|
493
|
-
}, z.core.$strip>;
|
|
494
|
-
}, z.core.$strip>;
|
|
495
|
-
};
|
|
496
|
-
};
|
|
497
|
-
readonly description: "Server error.";
|
|
498
|
-
};
|
|
499
|
-
200: {
|
|
500
|
-
content: {
|
|
501
|
-
"application/json": {
|
|
502
|
-
schema: z.ZodObject<{
|
|
503
|
-
data: z.ZodAny;
|
|
504
|
-
}, z.core.$strip>;
|
|
505
|
-
};
|
|
506
|
-
};
|
|
507
|
-
description: string;
|
|
508
|
-
};
|
|
509
|
-
};
|
|
510
|
-
} & {
|
|
511
|
-
getRoutingPath(): "/api/marketplace/vendor/me/orders/:subOrderId/deliver";
|
|
512
|
-
};
|
|
513
18
|
export declare const CancelSubOrderBodySchema: z.ZodObject<{
|
|
514
19
|
reason: z.ZodString;
|
|
515
20
|
}, z.core.$strip>;
|
|
516
|
-
export declare const cancelSubOrderRoute: {
|
|
517
|
-
method: "post";
|
|
518
|
-
path: "/api/marketplace/vendor/me/orders/{subOrderId}/cancel";
|
|
519
|
-
tags: string[];
|
|
520
|
-
summary: string;
|
|
521
|
-
request: {
|
|
522
|
-
params: z.ZodObject<{
|
|
523
|
-
subOrderId: z.ZodUUID;
|
|
524
|
-
}, z.core.$strip>;
|
|
525
|
-
body: {
|
|
526
|
-
content: {
|
|
527
|
-
"application/json": {
|
|
528
|
-
schema: z.ZodObject<{
|
|
529
|
-
reason: z.ZodString;
|
|
530
|
-
}, z.core.$strip>;
|
|
531
|
-
};
|
|
532
|
-
};
|
|
533
|
-
required: true;
|
|
534
|
-
};
|
|
535
|
-
};
|
|
536
|
-
responses: {
|
|
537
|
-
401: {
|
|
538
|
-
readonly content: {
|
|
539
|
-
readonly "application/json": {
|
|
540
|
-
readonly schema: z.ZodObject<{
|
|
541
|
-
error: z.ZodObject<{
|
|
542
|
-
code: z.ZodString;
|
|
543
|
-
message: z.ZodString;
|
|
544
|
-
}, z.core.$strip>;
|
|
545
|
-
}, z.core.$strip>;
|
|
546
|
-
};
|
|
547
|
-
};
|
|
548
|
-
readonly description: "Authentication required.";
|
|
549
|
-
};
|
|
550
|
-
403: {
|
|
551
|
-
readonly content: {
|
|
552
|
-
readonly "application/json": {
|
|
553
|
-
readonly schema: z.ZodObject<{
|
|
554
|
-
error: z.ZodObject<{
|
|
555
|
-
code: z.ZodString;
|
|
556
|
-
message: z.ZodString;
|
|
557
|
-
}, z.core.$strip>;
|
|
558
|
-
}, z.core.$strip>;
|
|
559
|
-
};
|
|
560
|
-
};
|
|
561
|
-
readonly description: "Insufficient permissions.";
|
|
562
|
-
};
|
|
563
|
-
404: {
|
|
564
|
-
readonly content: {
|
|
565
|
-
readonly "application/json": {
|
|
566
|
-
readonly schema: z.ZodObject<{
|
|
567
|
-
error: z.ZodObject<{
|
|
568
|
-
code: z.ZodString;
|
|
569
|
-
message: z.ZodString;
|
|
570
|
-
}, z.core.$strip>;
|
|
571
|
-
}, z.core.$strip>;
|
|
572
|
-
};
|
|
573
|
-
};
|
|
574
|
-
readonly description: "Not found.";
|
|
575
|
-
};
|
|
576
|
-
422: {
|
|
577
|
-
readonly content: {
|
|
578
|
-
readonly "application/json": {
|
|
579
|
-
readonly schema: z.ZodObject<{
|
|
580
|
-
error: z.ZodObject<{
|
|
581
|
-
code: z.ZodString;
|
|
582
|
-
message: z.ZodString;
|
|
583
|
-
}, z.core.$strip>;
|
|
584
|
-
}, z.core.$strip>;
|
|
585
|
-
};
|
|
586
|
-
};
|
|
587
|
-
readonly description: "Validation error.";
|
|
588
|
-
};
|
|
589
|
-
500: {
|
|
590
|
-
readonly content: {
|
|
591
|
-
readonly "application/json": {
|
|
592
|
-
readonly schema: z.ZodObject<{
|
|
593
|
-
error: z.ZodObject<{
|
|
594
|
-
code: z.ZodString;
|
|
595
|
-
message: z.ZodString;
|
|
596
|
-
}, z.core.$strip>;
|
|
597
|
-
}, z.core.$strip>;
|
|
598
|
-
};
|
|
599
|
-
};
|
|
600
|
-
readonly description: "Server error.";
|
|
601
|
-
};
|
|
602
|
-
200: {
|
|
603
|
-
content: {
|
|
604
|
-
"application/json": {
|
|
605
|
-
schema: z.ZodObject<{
|
|
606
|
-
data: z.ZodAny;
|
|
607
|
-
}, z.core.$strip>;
|
|
608
|
-
};
|
|
609
|
-
};
|
|
610
|
-
description: string;
|
|
611
|
-
};
|
|
612
|
-
};
|
|
613
|
-
} & {
|
|
614
|
-
getRoutingPath(): "/api/marketplace/vendor/me/orders/:subOrderId/cancel";
|
|
615
|
-
};
|
|
616
21
|
export declare const RespondToReviewBodySchema: z.ZodObject<{
|
|
617
22
|
response: z.ZodString;
|
|
618
23
|
}, z.core.$strip>;
|
|
619
|
-
export declare const respondToReviewRoute: {
|
|
620
|
-
method: "post";
|
|
621
|
-
path: "/api/marketplace/vendor/me/reviews/{id}/respond";
|
|
622
|
-
tags: string[];
|
|
623
|
-
summary: string;
|
|
624
|
-
request: {
|
|
625
|
-
params: z.ZodObject<{
|
|
626
|
-
id: z.ZodUUID;
|
|
627
|
-
}, z.core.$strip>;
|
|
628
|
-
body: {
|
|
629
|
-
content: {
|
|
630
|
-
"application/json": {
|
|
631
|
-
schema: z.ZodObject<{
|
|
632
|
-
response: z.ZodString;
|
|
633
|
-
}, z.core.$strip>;
|
|
634
|
-
};
|
|
635
|
-
};
|
|
636
|
-
required: true;
|
|
637
|
-
};
|
|
638
|
-
};
|
|
639
|
-
responses: {
|
|
640
|
-
401: {
|
|
641
|
-
readonly content: {
|
|
642
|
-
readonly "application/json": {
|
|
643
|
-
readonly schema: z.ZodObject<{
|
|
644
|
-
error: z.ZodObject<{
|
|
645
|
-
code: z.ZodString;
|
|
646
|
-
message: z.ZodString;
|
|
647
|
-
}, z.core.$strip>;
|
|
648
|
-
}, z.core.$strip>;
|
|
649
|
-
};
|
|
650
|
-
};
|
|
651
|
-
readonly description: "Authentication required.";
|
|
652
|
-
};
|
|
653
|
-
403: {
|
|
654
|
-
readonly content: {
|
|
655
|
-
readonly "application/json": {
|
|
656
|
-
readonly schema: z.ZodObject<{
|
|
657
|
-
error: z.ZodObject<{
|
|
658
|
-
code: z.ZodString;
|
|
659
|
-
message: z.ZodString;
|
|
660
|
-
}, z.core.$strip>;
|
|
661
|
-
}, z.core.$strip>;
|
|
662
|
-
};
|
|
663
|
-
};
|
|
664
|
-
readonly description: "Insufficient permissions.";
|
|
665
|
-
};
|
|
666
|
-
404: {
|
|
667
|
-
readonly content: {
|
|
668
|
-
readonly "application/json": {
|
|
669
|
-
readonly schema: z.ZodObject<{
|
|
670
|
-
error: z.ZodObject<{
|
|
671
|
-
code: z.ZodString;
|
|
672
|
-
message: z.ZodString;
|
|
673
|
-
}, z.core.$strip>;
|
|
674
|
-
}, z.core.$strip>;
|
|
675
|
-
};
|
|
676
|
-
};
|
|
677
|
-
readonly description: "Not found.";
|
|
678
|
-
};
|
|
679
|
-
422: {
|
|
680
|
-
readonly content: {
|
|
681
|
-
readonly "application/json": {
|
|
682
|
-
readonly schema: z.ZodObject<{
|
|
683
|
-
error: z.ZodObject<{
|
|
684
|
-
code: z.ZodString;
|
|
685
|
-
message: z.ZodString;
|
|
686
|
-
}, z.core.$strip>;
|
|
687
|
-
}, z.core.$strip>;
|
|
688
|
-
};
|
|
689
|
-
};
|
|
690
|
-
readonly description: "Validation error.";
|
|
691
|
-
};
|
|
692
|
-
500: {
|
|
693
|
-
readonly content: {
|
|
694
|
-
readonly "application/json": {
|
|
695
|
-
readonly schema: z.ZodObject<{
|
|
696
|
-
error: z.ZodObject<{
|
|
697
|
-
code: z.ZodString;
|
|
698
|
-
message: z.ZodString;
|
|
699
|
-
}, z.core.$strip>;
|
|
700
|
-
}, z.core.$strip>;
|
|
701
|
-
};
|
|
702
|
-
};
|
|
703
|
-
readonly description: "Server error.";
|
|
704
|
-
};
|
|
705
|
-
200: {
|
|
706
|
-
content: {
|
|
707
|
-
"application/json": {
|
|
708
|
-
schema: z.ZodObject<{
|
|
709
|
-
data: z.ZodAny;
|
|
710
|
-
}, z.core.$strip>;
|
|
711
|
-
};
|
|
712
|
-
};
|
|
713
|
-
description: string;
|
|
714
|
-
};
|
|
715
|
-
};
|
|
716
|
-
} & {
|
|
717
|
-
getRoutingPath(): "/api/marketplace/vendor/me/reviews/:id/respond";
|
|
718
|
-
};
|
|
719
24
|
export declare const ApproveReturnBodySchema: z.ZodObject<{
|
|
720
25
|
refundAmountCents: z.ZodOptional<z.ZodNumber>;
|
|
721
26
|
}, z.core.$strip>;
|
|
722
|
-
export declare const approveReturnRoute: {
|
|
723
|
-
method: "post";
|
|
724
|
-
path: "/api/marketplace/vendor/me/returns/{id}/approve";
|
|
725
|
-
tags: string[];
|
|
726
|
-
summary: string;
|
|
727
|
-
request: {
|
|
728
|
-
params: z.ZodObject<{
|
|
729
|
-
id: z.ZodUUID;
|
|
730
|
-
}, z.core.$strip>;
|
|
731
|
-
body: {
|
|
732
|
-
content: {
|
|
733
|
-
"application/json": {
|
|
734
|
-
schema: z.ZodObject<{
|
|
735
|
-
refundAmountCents: z.ZodOptional<z.ZodNumber>;
|
|
736
|
-
}, z.core.$strip>;
|
|
737
|
-
};
|
|
738
|
-
};
|
|
739
|
-
required: true;
|
|
740
|
-
};
|
|
741
|
-
};
|
|
742
|
-
responses: {
|
|
743
|
-
401: {
|
|
744
|
-
readonly content: {
|
|
745
|
-
readonly "application/json": {
|
|
746
|
-
readonly schema: z.ZodObject<{
|
|
747
|
-
error: z.ZodObject<{
|
|
748
|
-
code: z.ZodString;
|
|
749
|
-
message: z.ZodString;
|
|
750
|
-
}, z.core.$strip>;
|
|
751
|
-
}, z.core.$strip>;
|
|
752
|
-
};
|
|
753
|
-
};
|
|
754
|
-
readonly description: "Authentication required.";
|
|
755
|
-
};
|
|
756
|
-
403: {
|
|
757
|
-
readonly content: {
|
|
758
|
-
readonly "application/json": {
|
|
759
|
-
readonly schema: z.ZodObject<{
|
|
760
|
-
error: z.ZodObject<{
|
|
761
|
-
code: z.ZodString;
|
|
762
|
-
message: z.ZodString;
|
|
763
|
-
}, z.core.$strip>;
|
|
764
|
-
}, z.core.$strip>;
|
|
765
|
-
};
|
|
766
|
-
};
|
|
767
|
-
readonly description: "Insufficient permissions.";
|
|
768
|
-
};
|
|
769
|
-
404: {
|
|
770
|
-
readonly content: {
|
|
771
|
-
readonly "application/json": {
|
|
772
|
-
readonly schema: z.ZodObject<{
|
|
773
|
-
error: z.ZodObject<{
|
|
774
|
-
code: z.ZodString;
|
|
775
|
-
message: z.ZodString;
|
|
776
|
-
}, z.core.$strip>;
|
|
777
|
-
}, z.core.$strip>;
|
|
778
|
-
};
|
|
779
|
-
};
|
|
780
|
-
readonly description: "Not found.";
|
|
781
|
-
};
|
|
782
|
-
422: {
|
|
783
|
-
readonly content: {
|
|
784
|
-
readonly "application/json": {
|
|
785
|
-
readonly schema: z.ZodObject<{
|
|
786
|
-
error: z.ZodObject<{
|
|
787
|
-
code: z.ZodString;
|
|
788
|
-
message: z.ZodString;
|
|
789
|
-
}, z.core.$strip>;
|
|
790
|
-
}, z.core.$strip>;
|
|
791
|
-
};
|
|
792
|
-
};
|
|
793
|
-
readonly description: "Validation error.";
|
|
794
|
-
};
|
|
795
|
-
500: {
|
|
796
|
-
readonly content: {
|
|
797
|
-
readonly "application/json": {
|
|
798
|
-
readonly schema: z.ZodObject<{
|
|
799
|
-
error: z.ZodObject<{
|
|
800
|
-
code: z.ZodString;
|
|
801
|
-
message: z.ZodString;
|
|
802
|
-
}, z.core.$strip>;
|
|
803
|
-
}, z.core.$strip>;
|
|
804
|
-
};
|
|
805
|
-
};
|
|
806
|
-
readonly description: "Server error.";
|
|
807
|
-
};
|
|
808
|
-
200: {
|
|
809
|
-
content: {
|
|
810
|
-
"application/json": {
|
|
811
|
-
schema: z.ZodObject<{
|
|
812
|
-
data: z.ZodAny;
|
|
813
|
-
}, z.core.$strip>;
|
|
814
|
-
};
|
|
815
|
-
};
|
|
816
|
-
description: string;
|
|
817
|
-
};
|
|
818
|
-
};
|
|
819
|
-
} & {
|
|
820
|
-
getRoutingPath(): "/api/marketplace/vendor/me/returns/:id/approve";
|
|
821
|
-
};
|
|
822
27
|
export declare const RejectReturnBodySchema: z.ZodObject<{
|
|
823
28
|
notes: z.ZodOptional<z.ZodString>;
|
|
824
29
|
}, z.core.$strip>;
|
|
825
|
-
export declare const rejectReturnRoute: {
|
|
826
|
-
method: "post";
|
|
827
|
-
path: "/api/marketplace/vendor/me/returns/{id}/reject";
|
|
828
|
-
tags: string[];
|
|
829
|
-
summary: string;
|
|
830
|
-
request: {
|
|
831
|
-
params: z.ZodObject<{
|
|
832
|
-
id: z.ZodUUID;
|
|
833
|
-
}, z.core.$strip>;
|
|
834
|
-
body: {
|
|
835
|
-
content: {
|
|
836
|
-
"application/json": {
|
|
837
|
-
schema: z.ZodObject<{
|
|
838
|
-
notes: z.ZodOptional<z.ZodString>;
|
|
839
|
-
}, z.core.$strip>;
|
|
840
|
-
};
|
|
841
|
-
};
|
|
842
|
-
required: true;
|
|
843
|
-
};
|
|
844
|
-
};
|
|
845
|
-
responses: {
|
|
846
|
-
401: {
|
|
847
|
-
readonly content: {
|
|
848
|
-
readonly "application/json": {
|
|
849
|
-
readonly schema: z.ZodObject<{
|
|
850
|
-
error: z.ZodObject<{
|
|
851
|
-
code: z.ZodString;
|
|
852
|
-
message: z.ZodString;
|
|
853
|
-
}, z.core.$strip>;
|
|
854
|
-
}, z.core.$strip>;
|
|
855
|
-
};
|
|
856
|
-
};
|
|
857
|
-
readonly description: "Authentication required.";
|
|
858
|
-
};
|
|
859
|
-
403: {
|
|
860
|
-
readonly content: {
|
|
861
|
-
readonly "application/json": {
|
|
862
|
-
readonly schema: z.ZodObject<{
|
|
863
|
-
error: z.ZodObject<{
|
|
864
|
-
code: z.ZodString;
|
|
865
|
-
message: z.ZodString;
|
|
866
|
-
}, z.core.$strip>;
|
|
867
|
-
}, z.core.$strip>;
|
|
868
|
-
};
|
|
869
|
-
};
|
|
870
|
-
readonly description: "Insufficient permissions.";
|
|
871
|
-
};
|
|
872
|
-
404: {
|
|
873
|
-
readonly content: {
|
|
874
|
-
readonly "application/json": {
|
|
875
|
-
readonly schema: z.ZodObject<{
|
|
876
|
-
error: z.ZodObject<{
|
|
877
|
-
code: z.ZodString;
|
|
878
|
-
message: z.ZodString;
|
|
879
|
-
}, z.core.$strip>;
|
|
880
|
-
}, z.core.$strip>;
|
|
881
|
-
};
|
|
882
|
-
};
|
|
883
|
-
readonly description: "Not found.";
|
|
884
|
-
};
|
|
885
|
-
422: {
|
|
886
|
-
readonly content: {
|
|
887
|
-
readonly "application/json": {
|
|
888
|
-
readonly schema: z.ZodObject<{
|
|
889
|
-
error: z.ZodObject<{
|
|
890
|
-
code: z.ZodString;
|
|
891
|
-
message: z.ZodString;
|
|
892
|
-
}, z.core.$strip>;
|
|
893
|
-
}, z.core.$strip>;
|
|
894
|
-
};
|
|
895
|
-
};
|
|
896
|
-
readonly description: "Validation error.";
|
|
897
|
-
};
|
|
898
|
-
500: {
|
|
899
|
-
readonly content: {
|
|
900
|
-
readonly "application/json": {
|
|
901
|
-
readonly schema: z.ZodObject<{
|
|
902
|
-
error: z.ZodObject<{
|
|
903
|
-
code: z.ZodString;
|
|
904
|
-
message: z.ZodString;
|
|
905
|
-
}, z.core.$strip>;
|
|
906
|
-
}, z.core.$strip>;
|
|
907
|
-
};
|
|
908
|
-
};
|
|
909
|
-
readonly description: "Server error.";
|
|
910
|
-
};
|
|
911
|
-
200: {
|
|
912
|
-
content: {
|
|
913
|
-
"application/json": {
|
|
914
|
-
schema: z.ZodObject<{
|
|
915
|
-
data: z.ZodAny;
|
|
916
|
-
}, z.core.$strip>;
|
|
917
|
-
};
|
|
918
|
-
};
|
|
919
|
-
description: string;
|
|
920
|
-
};
|
|
921
|
-
};
|
|
922
|
-
} & {
|
|
923
|
-
getRoutingPath(): "/api/marketplace/vendor/me/returns/:id/reject";
|
|
924
|
-
};
|
|
925
|
-
export declare const getMyVendorProfileRoute: {
|
|
926
|
-
method: "get";
|
|
927
|
-
path: "/api/marketplace/vendor/me";
|
|
928
|
-
tags: string[];
|
|
929
|
-
summary: string;
|
|
930
|
-
responses: {
|
|
931
|
-
401: {
|
|
932
|
-
readonly content: {
|
|
933
|
-
readonly "application/json": {
|
|
934
|
-
readonly schema: z.ZodObject<{
|
|
935
|
-
error: z.ZodObject<{
|
|
936
|
-
code: z.ZodString;
|
|
937
|
-
message: z.ZodString;
|
|
938
|
-
}, z.core.$strip>;
|
|
939
|
-
}, z.core.$strip>;
|
|
940
|
-
};
|
|
941
|
-
};
|
|
942
|
-
readonly description: "Authentication required.";
|
|
943
|
-
};
|
|
944
|
-
403: {
|
|
945
|
-
readonly content: {
|
|
946
|
-
readonly "application/json": {
|
|
947
|
-
readonly schema: z.ZodObject<{
|
|
948
|
-
error: z.ZodObject<{
|
|
949
|
-
code: z.ZodString;
|
|
950
|
-
message: z.ZodString;
|
|
951
|
-
}, z.core.$strip>;
|
|
952
|
-
}, z.core.$strip>;
|
|
953
|
-
};
|
|
954
|
-
};
|
|
955
|
-
readonly description: "Insufficient permissions.";
|
|
956
|
-
};
|
|
957
|
-
404: {
|
|
958
|
-
readonly content: {
|
|
959
|
-
readonly "application/json": {
|
|
960
|
-
readonly schema: z.ZodObject<{
|
|
961
|
-
error: z.ZodObject<{
|
|
962
|
-
code: z.ZodString;
|
|
963
|
-
message: z.ZodString;
|
|
964
|
-
}, z.core.$strip>;
|
|
965
|
-
}, z.core.$strip>;
|
|
966
|
-
};
|
|
967
|
-
};
|
|
968
|
-
readonly description: "Not found.";
|
|
969
|
-
};
|
|
970
|
-
422: {
|
|
971
|
-
readonly content: {
|
|
972
|
-
readonly "application/json": {
|
|
973
|
-
readonly schema: z.ZodObject<{
|
|
974
|
-
error: z.ZodObject<{
|
|
975
|
-
code: z.ZodString;
|
|
976
|
-
message: z.ZodString;
|
|
977
|
-
}, z.core.$strip>;
|
|
978
|
-
}, z.core.$strip>;
|
|
979
|
-
};
|
|
980
|
-
};
|
|
981
|
-
readonly description: "Validation error.";
|
|
982
|
-
};
|
|
983
|
-
500: {
|
|
984
|
-
readonly content: {
|
|
985
|
-
readonly "application/json": {
|
|
986
|
-
readonly schema: z.ZodObject<{
|
|
987
|
-
error: z.ZodObject<{
|
|
988
|
-
code: z.ZodString;
|
|
989
|
-
message: z.ZodString;
|
|
990
|
-
}, z.core.$strip>;
|
|
991
|
-
}, z.core.$strip>;
|
|
992
|
-
};
|
|
993
|
-
};
|
|
994
|
-
readonly description: "Server error.";
|
|
995
|
-
};
|
|
996
|
-
200: {
|
|
997
|
-
content: {
|
|
998
|
-
"application/json": {
|
|
999
|
-
schema: z.ZodObject<{
|
|
1000
|
-
data: z.ZodAny;
|
|
1001
|
-
}, z.core.$strip>;
|
|
1002
|
-
};
|
|
1003
|
-
};
|
|
1004
|
-
description: string;
|
|
1005
|
-
};
|
|
1006
|
-
};
|
|
1007
|
-
} & {
|
|
1008
|
-
getRoutingPath(): "/api/marketplace/vendor/me";
|
|
1009
|
-
};
|
|
1010
|
-
export declare const listMyDocumentsRoute: {
|
|
1011
|
-
method: "get";
|
|
1012
|
-
path: "/api/marketplace/vendor/me/documents";
|
|
1013
|
-
tags: string[];
|
|
1014
|
-
summary: string;
|
|
1015
|
-
responses: {
|
|
1016
|
-
401: {
|
|
1017
|
-
readonly content: {
|
|
1018
|
-
readonly "application/json": {
|
|
1019
|
-
readonly schema: z.ZodObject<{
|
|
1020
|
-
error: z.ZodObject<{
|
|
1021
|
-
code: z.ZodString;
|
|
1022
|
-
message: z.ZodString;
|
|
1023
|
-
}, z.core.$strip>;
|
|
1024
|
-
}, z.core.$strip>;
|
|
1025
|
-
};
|
|
1026
|
-
};
|
|
1027
|
-
readonly description: "Authentication required.";
|
|
1028
|
-
};
|
|
1029
|
-
403: {
|
|
1030
|
-
readonly content: {
|
|
1031
|
-
readonly "application/json": {
|
|
1032
|
-
readonly schema: z.ZodObject<{
|
|
1033
|
-
error: z.ZodObject<{
|
|
1034
|
-
code: z.ZodString;
|
|
1035
|
-
message: z.ZodString;
|
|
1036
|
-
}, z.core.$strip>;
|
|
1037
|
-
}, z.core.$strip>;
|
|
1038
|
-
};
|
|
1039
|
-
};
|
|
1040
|
-
readonly description: "Insufficient permissions.";
|
|
1041
|
-
};
|
|
1042
|
-
404: {
|
|
1043
|
-
readonly content: {
|
|
1044
|
-
readonly "application/json": {
|
|
1045
|
-
readonly schema: z.ZodObject<{
|
|
1046
|
-
error: z.ZodObject<{
|
|
1047
|
-
code: z.ZodString;
|
|
1048
|
-
message: z.ZodString;
|
|
1049
|
-
}, z.core.$strip>;
|
|
1050
|
-
}, z.core.$strip>;
|
|
1051
|
-
};
|
|
1052
|
-
};
|
|
1053
|
-
readonly description: "Not found.";
|
|
1054
|
-
};
|
|
1055
|
-
422: {
|
|
1056
|
-
readonly content: {
|
|
1057
|
-
readonly "application/json": {
|
|
1058
|
-
readonly schema: z.ZodObject<{
|
|
1059
|
-
error: z.ZodObject<{
|
|
1060
|
-
code: z.ZodString;
|
|
1061
|
-
message: z.ZodString;
|
|
1062
|
-
}, z.core.$strip>;
|
|
1063
|
-
}, z.core.$strip>;
|
|
1064
|
-
};
|
|
1065
|
-
};
|
|
1066
|
-
readonly description: "Validation error.";
|
|
1067
|
-
};
|
|
1068
|
-
500: {
|
|
1069
|
-
readonly content: {
|
|
1070
|
-
readonly "application/json": {
|
|
1071
|
-
readonly schema: z.ZodObject<{
|
|
1072
|
-
error: z.ZodObject<{
|
|
1073
|
-
code: z.ZodString;
|
|
1074
|
-
message: z.ZodString;
|
|
1075
|
-
}, z.core.$strip>;
|
|
1076
|
-
}, z.core.$strip>;
|
|
1077
|
-
};
|
|
1078
|
-
};
|
|
1079
|
-
readonly description: "Server error.";
|
|
1080
|
-
};
|
|
1081
|
-
200: {
|
|
1082
|
-
content: {
|
|
1083
|
-
"application/json": {
|
|
1084
|
-
schema: z.ZodObject<{
|
|
1085
|
-
data: z.ZodAny;
|
|
1086
|
-
}, z.core.$strip>;
|
|
1087
|
-
};
|
|
1088
|
-
};
|
|
1089
|
-
description: string;
|
|
1090
|
-
};
|
|
1091
|
-
};
|
|
1092
|
-
} & {
|
|
1093
|
-
getRoutingPath(): "/api/marketplace/vendor/me/documents";
|
|
1094
|
-
};
|
|
1095
|
-
export declare const listMyProductsRoute: {
|
|
1096
|
-
method: "get";
|
|
1097
|
-
path: "/api/marketplace/vendor/me/products";
|
|
1098
|
-
tags: string[];
|
|
1099
|
-
summary: string;
|
|
1100
|
-
responses: {
|
|
1101
|
-
401: {
|
|
1102
|
-
readonly content: {
|
|
1103
|
-
readonly "application/json": {
|
|
1104
|
-
readonly schema: z.ZodObject<{
|
|
1105
|
-
error: z.ZodObject<{
|
|
1106
|
-
code: z.ZodString;
|
|
1107
|
-
message: z.ZodString;
|
|
1108
|
-
}, z.core.$strip>;
|
|
1109
|
-
}, z.core.$strip>;
|
|
1110
|
-
};
|
|
1111
|
-
};
|
|
1112
|
-
readonly description: "Authentication required.";
|
|
1113
|
-
};
|
|
1114
|
-
403: {
|
|
1115
|
-
readonly content: {
|
|
1116
|
-
readonly "application/json": {
|
|
1117
|
-
readonly schema: z.ZodObject<{
|
|
1118
|
-
error: z.ZodObject<{
|
|
1119
|
-
code: z.ZodString;
|
|
1120
|
-
message: z.ZodString;
|
|
1121
|
-
}, z.core.$strip>;
|
|
1122
|
-
}, z.core.$strip>;
|
|
1123
|
-
};
|
|
1124
|
-
};
|
|
1125
|
-
readonly description: "Insufficient permissions.";
|
|
1126
|
-
};
|
|
1127
|
-
404: {
|
|
1128
|
-
readonly content: {
|
|
1129
|
-
readonly "application/json": {
|
|
1130
|
-
readonly schema: z.ZodObject<{
|
|
1131
|
-
error: z.ZodObject<{
|
|
1132
|
-
code: z.ZodString;
|
|
1133
|
-
message: z.ZodString;
|
|
1134
|
-
}, z.core.$strip>;
|
|
1135
|
-
}, z.core.$strip>;
|
|
1136
|
-
};
|
|
1137
|
-
};
|
|
1138
|
-
readonly description: "Not found.";
|
|
1139
|
-
};
|
|
1140
|
-
422: {
|
|
1141
|
-
readonly content: {
|
|
1142
|
-
readonly "application/json": {
|
|
1143
|
-
readonly schema: z.ZodObject<{
|
|
1144
|
-
error: z.ZodObject<{
|
|
1145
|
-
code: z.ZodString;
|
|
1146
|
-
message: z.ZodString;
|
|
1147
|
-
}, z.core.$strip>;
|
|
1148
|
-
}, z.core.$strip>;
|
|
1149
|
-
};
|
|
1150
|
-
};
|
|
1151
|
-
readonly description: "Validation error.";
|
|
1152
|
-
};
|
|
1153
|
-
500: {
|
|
1154
|
-
readonly content: {
|
|
1155
|
-
readonly "application/json": {
|
|
1156
|
-
readonly schema: z.ZodObject<{
|
|
1157
|
-
error: z.ZodObject<{
|
|
1158
|
-
code: z.ZodString;
|
|
1159
|
-
message: z.ZodString;
|
|
1160
|
-
}, z.core.$strip>;
|
|
1161
|
-
}, z.core.$strip>;
|
|
1162
|
-
};
|
|
1163
|
-
};
|
|
1164
|
-
readonly description: "Server error.";
|
|
1165
|
-
};
|
|
1166
|
-
200: {
|
|
1167
|
-
content: {
|
|
1168
|
-
"application/json": {
|
|
1169
|
-
schema: z.ZodObject<{
|
|
1170
|
-
data: z.ZodAny;
|
|
1171
|
-
}, z.core.$strip>;
|
|
1172
|
-
};
|
|
1173
|
-
};
|
|
1174
|
-
description: string;
|
|
1175
|
-
};
|
|
1176
|
-
};
|
|
1177
|
-
} & {
|
|
1178
|
-
getRoutingPath(): "/api/marketplace/vendor/me/products";
|
|
1179
|
-
};
|
|
1180
|
-
export declare const listMyOrdersRoute: {
|
|
1181
|
-
method: "get";
|
|
1182
|
-
path: "/api/marketplace/vendor/me/orders";
|
|
1183
|
-
tags: string[];
|
|
1184
|
-
summary: string;
|
|
1185
|
-
request: {
|
|
1186
|
-
query: z.ZodObject<{
|
|
1187
|
-
status: z.ZodOptional<z.ZodString>;
|
|
1188
|
-
}, z.core.$strip>;
|
|
1189
|
-
};
|
|
1190
|
-
responses: {
|
|
1191
|
-
401: {
|
|
1192
|
-
readonly content: {
|
|
1193
|
-
readonly "application/json": {
|
|
1194
|
-
readonly schema: z.ZodObject<{
|
|
1195
|
-
error: z.ZodObject<{
|
|
1196
|
-
code: z.ZodString;
|
|
1197
|
-
message: z.ZodString;
|
|
1198
|
-
}, z.core.$strip>;
|
|
1199
|
-
}, z.core.$strip>;
|
|
1200
|
-
};
|
|
1201
|
-
};
|
|
1202
|
-
readonly description: "Authentication required.";
|
|
1203
|
-
};
|
|
1204
|
-
403: {
|
|
1205
|
-
readonly content: {
|
|
1206
|
-
readonly "application/json": {
|
|
1207
|
-
readonly schema: z.ZodObject<{
|
|
1208
|
-
error: z.ZodObject<{
|
|
1209
|
-
code: z.ZodString;
|
|
1210
|
-
message: z.ZodString;
|
|
1211
|
-
}, z.core.$strip>;
|
|
1212
|
-
}, z.core.$strip>;
|
|
1213
|
-
};
|
|
1214
|
-
};
|
|
1215
|
-
readonly description: "Insufficient permissions.";
|
|
1216
|
-
};
|
|
1217
|
-
404: {
|
|
1218
|
-
readonly content: {
|
|
1219
|
-
readonly "application/json": {
|
|
1220
|
-
readonly schema: z.ZodObject<{
|
|
1221
|
-
error: z.ZodObject<{
|
|
1222
|
-
code: z.ZodString;
|
|
1223
|
-
message: z.ZodString;
|
|
1224
|
-
}, z.core.$strip>;
|
|
1225
|
-
}, z.core.$strip>;
|
|
1226
|
-
};
|
|
1227
|
-
};
|
|
1228
|
-
readonly description: "Not found.";
|
|
1229
|
-
};
|
|
1230
|
-
422: {
|
|
1231
|
-
readonly content: {
|
|
1232
|
-
readonly "application/json": {
|
|
1233
|
-
readonly schema: z.ZodObject<{
|
|
1234
|
-
error: z.ZodObject<{
|
|
1235
|
-
code: z.ZodString;
|
|
1236
|
-
message: z.ZodString;
|
|
1237
|
-
}, z.core.$strip>;
|
|
1238
|
-
}, z.core.$strip>;
|
|
1239
|
-
};
|
|
1240
|
-
};
|
|
1241
|
-
readonly description: "Validation error.";
|
|
1242
|
-
};
|
|
1243
|
-
500: {
|
|
1244
|
-
readonly content: {
|
|
1245
|
-
readonly "application/json": {
|
|
1246
|
-
readonly schema: z.ZodObject<{
|
|
1247
|
-
error: z.ZodObject<{
|
|
1248
|
-
code: z.ZodString;
|
|
1249
|
-
message: z.ZodString;
|
|
1250
|
-
}, z.core.$strip>;
|
|
1251
|
-
}, z.core.$strip>;
|
|
1252
|
-
};
|
|
1253
|
-
};
|
|
1254
|
-
readonly description: "Server error.";
|
|
1255
|
-
};
|
|
1256
|
-
200: {
|
|
1257
|
-
content: {
|
|
1258
|
-
"application/json": {
|
|
1259
|
-
schema: z.ZodObject<{
|
|
1260
|
-
data: z.ZodAny;
|
|
1261
|
-
}, z.core.$strip>;
|
|
1262
|
-
};
|
|
1263
|
-
};
|
|
1264
|
-
description: string;
|
|
1265
|
-
};
|
|
1266
|
-
};
|
|
1267
|
-
} & {
|
|
1268
|
-
getRoutingPath(): "/api/marketplace/vendor/me/orders";
|
|
1269
|
-
};
|
|
1270
|
-
export declare const getMyOrderRoute: {
|
|
1271
|
-
method: "get";
|
|
1272
|
-
path: "/api/marketplace/vendor/me/orders/{subOrderId}";
|
|
1273
|
-
tags: string[];
|
|
1274
|
-
summary: string;
|
|
1275
|
-
request: {
|
|
1276
|
-
params: z.ZodObject<{
|
|
1277
|
-
subOrderId: z.ZodUUID;
|
|
1278
|
-
}, z.core.$strip>;
|
|
1279
|
-
};
|
|
1280
|
-
responses: {
|
|
1281
|
-
401: {
|
|
1282
|
-
readonly content: {
|
|
1283
|
-
readonly "application/json": {
|
|
1284
|
-
readonly schema: z.ZodObject<{
|
|
1285
|
-
error: z.ZodObject<{
|
|
1286
|
-
code: z.ZodString;
|
|
1287
|
-
message: z.ZodString;
|
|
1288
|
-
}, z.core.$strip>;
|
|
1289
|
-
}, z.core.$strip>;
|
|
1290
|
-
};
|
|
1291
|
-
};
|
|
1292
|
-
readonly description: "Authentication required.";
|
|
1293
|
-
};
|
|
1294
|
-
403: {
|
|
1295
|
-
readonly content: {
|
|
1296
|
-
readonly "application/json": {
|
|
1297
|
-
readonly schema: z.ZodObject<{
|
|
1298
|
-
error: z.ZodObject<{
|
|
1299
|
-
code: z.ZodString;
|
|
1300
|
-
message: z.ZodString;
|
|
1301
|
-
}, z.core.$strip>;
|
|
1302
|
-
}, z.core.$strip>;
|
|
1303
|
-
};
|
|
1304
|
-
};
|
|
1305
|
-
readonly description: "Insufficient permissions.";
|
|
1306
|
-
};
|
|
1307
|
-
404: {
|
|
1308
|
-
readonly content: {
|
|
1309
|
-
readonly "application/json": {
|
|
1310
|
-
readonly schema: z.ZodObject<{
|
|
1311
|
-
error: z.ZodObject<{
|
|
1312
|
-
code: z.ZodString;
|
|
1313
|
-
message: z.ZodString;
|
|
1314
|
-
}, z.core.$strip>;
|
|
1315
|
-
}, z.core.$strip>;
|
|
1316
|
-
};
|
|
1317
|
-
};
|
|
1318
|
-
readonly description: "Not found.";
|
|
1319
|
-
};
|
|
1320
|
-
422: {
|
|
1321
|
-
readonly content: {
|
|
1322
|
-
readonly "application/json": {
|
|
1323
|
-
readonly schema: z.ZodObject<{
|
|
1324
|
-
error: z.ZodObject<{
|
|
1325
|
-
code: z.ZodString;
|
|
1326
|
-
message: z.ZodString;
|
|
1327
|
-
}, z.core.$strip>;
|
|
1328
|
-
}, z.core.$strip>;
|
|
1329
|
-
};
|
|
1330
|
-
};
|
|
1331
|
-
readonly description: "Validation error.";
|
|
1332
|
-
};
|
|
1333
|
-
500: {
|
|
1334
|
-
readonly content: {
|
|
1335
|
-
readonly "application/json": {
|
|
1336
|
-
readonly schema: z.ZodObject<{
|
|
1337
|
-
error: z.ZodObject<{
|
|
1338
|
-
code: z.ZodString;
|
|
1339
|
-
message: z.ZodString;
|
|
1340
|
-
}, z.core.$strip>;
|
|
1341
|
-
}, z.core.$strip>;
|
|
1342
|
-
};
|
|
1343
|
-
};
|
|
1344
|
-
readonly description: "Server error.";
|
|
1345
|
-
};
|
|
1346
|
-
200: {
|
|
1347
|
-
content: {
|
|
1348
|
-
"application/json": {
|
|
1349
|
-
schema: z.ZodObject<{
|
|
1350
|
-
data: z.ZodAny;
|
|
1351
|
-
}, z.core.$strip>;
|
|
1352
|
-
};
|
|
1353
|
-
};
|
|
1354
|
-
description: string;
|
|
1355
|
-
};
|
|
1356
|
-
};
|
|
1357
|
-
} & {
|
|
1358
|
-
getRoutingPath(): "/api/marketplace/vendor/me/orders/:subOrderId";
|
|
1359
|
-
};
|
|
1360
|
-
export declare const listMyPayoutsRoute: {
|
|
1361
|
-
method: "get";
|
|
1362
|
-
path: "/api/marketplace/vendor/me/payouts";
|
|
1363
|
-
tags: string[];
|
|
1364
|
-
summary: string;
|
|
1365
|
-
responses: {
|
|
1366
|
-
401: {
|
|
1367
|
-
readonly content: {
|
|
1368
|
-
readonly "application/json": {
|
|
1369
|
-
readonly schema: z.ZodObject<{
|
|
1370
|
-
error: z.ZodObject<{
|
|
1371
|
-
code: z.ZodString;
|
|
1372
|
-
message: z.ZodString;
|
|
1373
|
-
}, z.core.$strip>;
|
|
1374
|
-
}, z.core.$strip>;
|
|
1375
|
-
};
|
|
1376
|
-
};
|
|
1377
|
-
readonly description: "Authentication required.";
|
|
1378
|
-
};
|
|
1379
|
-
403: {
|
|
1380
|
-
readonly content: {
|
|
1381
|
-
readonly "application/json": {
|
|
1382
|
-
readonly schema: z.ZodObject<{
|
|
1383
|
-
error: z.ZodObject<{
|
|
1384
|
-
code: z.ZodString;
|
|
1385
|
-
message: z.ZodString;
|
|
1386
|
-
}, z.core.$strip>;
|
|
1387
|
-
}, z.core.$strip>;
|
|
1388
|
-
};
|
|
1389
|
-
};
|
|
1390
|
-
readonly description: "Insufficient permissions.";
|
|
1391
|
-
};
|
|
1392
|
-
404: {
|
|
1393
|
-
readonly content: {
|
|
1394
|
-
readonly "application/json": {
|
|
1395
|
-
readonly schema: z.ZodObject<{
|
|
1396
|
-
error: z.ZodObject<{
|
|
1397
|
-
code: z.ZodString;
|
|
1398
|
-
message: z.ZodString;
|
|
1399
|
-
}, z.core.$strip>;
|
|
1400
|
-
}, z.core.$strip>;
|
|
1401
|
-
};
|
|
1402
|
-
};
|
|
1403
|
-
readonly description: "Not found.";
|
|
1404
|
-
};
|
|
1405
|
-
422: {
|
|
1406
|
-
readonly content: {
|
|
1407
|
-
readonly "application/json": {
|
|
1408
|
-
readonly schema: z.ZodObject<{
|
|
1409
|
-
error: z.ZodObject<{
|
|
1410
|
-
code: z.ZodString;
|
|
1411
|
-
message: z.ZodString;
|
|
1412
|
-
}, z.core.$strip>;
|
|
1413
|
-
}, z.core.$strip>;
|
|
1414
|
-
};
|
|
1415
|
-
};
|
|
1416
|
-
readonly description: "Validation error.";
|
|
1417
|
-
};
|
|
1418
|
-
500: {
|
|
1419
|
-
readonly content: {
|
|
1420
|
-
readonly "application/json": {
|
|
1421
|
-
readonly schema: z.ZodObject<{
|
|
1422
|
-
error: z.ZodObject<{
|
|
1423
|
-
code: z.ZodString;
|
|
1424
|
-
message: z.ZodString;
|
|
1425
|
-
}, z.core.$strip>;
|
|
1426
|
-
}, z.core.$strip>;
|
|
1427
|
-
};
|
|
1428
|
-
};
|
|
1429
|
-
readonly description: "Server error.";
|
|
1430
|
-
};
|
|
1431
|
-
200: {
|
|
1432
|
-
content: {
|
|
1433
|
-
"application/json": {
|
|
1434
|
-
schema: z.ZodObject<{
|
|
1435
|
-
data: z.ZodAny;
|
|
1436
|
-
}, z.core.$strip>;
|
|
1437
|
-
};
|
|
1438
|
-
};
|
|
1439
|
-
description: string;
|
|
1440
|
-
};
|
|
1441
|
-
};
|
|
1442
|
-
} & {
|
|
1443
|
-
getRoutingPath(): "/api/marketplace/vendor/me/payouts";
|
|
1444
|
-
};
|
|
1445
|
-
export declare const myBalanceRoute: {
|
|
1446
|
-
method: "get";
|
|
1447
|
-
path: "/api/marketplace/vendor/me/balance";
|
|
1448
|
-
tags: string[];
|
|
1449
|
-
summary: string;
|
|
1450
|
-
responses: {
|
|
1451
|
-
401: {
|
|
1452
|
-
readonly content: {
|
|
1453
|
-
readonly "application/json": {
|
|
1454
|
-
readonly schema: z.ZodObject<{
|
|
1455
|
-
error: z.ZodObject<{
|
|
1456
|
-
code: z.ZodString;
|
|
1457
|
-
message: z.ZodString;
|
|
1458
|
-
}, z.core.$strip>;
|
|
1459
|
-
}, z.core.$strip>;
|
|
1460
|
-
};
|
|
1461
|
-
};
|
|
1462
|
-
readonly description: "Authentication required.";
|
|
1463
|
-
};
|
|
1464
|
-
403: {
|
|
1465
|
-
readonly content: {
|
|
1466
|
-
readonly "application/json": {
|
|
1467
|
-
readonly schema: z.ZodObject<{
|
|
1468
|
-
error: z.ZodObject<{
|
|
1469
|
-
code: z.ZodString;
|
|
1470
|
-
message: z.ZodString;
|
|
1471
|
-
}, z.core.$strip>;
|
|
1472
|
-
}, z.core.$strip>;
|
|
1473
|
-
};
|
|
1474
|
-
};
|
|
1475
|
-
readonly description: "Insufficient permissions.";
|
|
1476
|
-
};
|
|
1477
|
-
404: {
|
|
1478
|
-
readonly content: {
|
|
1479
|
-
readonly "application/json": {
|
|
1480
|
-
readonly schema: z.ZodObject<{
|
|
1481
|
-
error: z.ZodObject<{
|
|
1482
|
-
code: z.ZodString;
|
|
1483
|
-
message: z.ZodString;
|
|
1484
|
-
}, z.core.$strip>;
|
|
1485
|
-
}, z.core.$strip>;
|
|
1486
|
-
};
|
|
1487
|
-
};
|
|
1488
|
-
readonly description: "Not found.";
|
|
1489
|
-
};
|
|
1490
|
-
422: {
|
|
1491
|
-
readonly content: {
|
|
1492
|
-
readonly "application/json": {
|
|
1493
|
-
readonly schema: z.ZodObject<{
|
|
1494
|
-
error: z.ZodObject<{
|
|
1495
|
-
code: z.ZodString;
|
|
1496
|
-
message: z.ZodString;
|
|
1497
|
-
}, z.core.$strip>;
|
|
1498
|
-
}, z.core.$strip>;
|
|
1499
|
-
};
|
|
1500
|
-
};
|
|
1501
|
-
readonly description: "Validation error.";
|
|
1502
|
-
};
|
|
1503
|
-
500: {
|
|
1504
|
-
readonly content: {
|
|
1505
|
-
readonly "application/json": {
|
|
1506
|
-
readonly schema: z.ZodObject<{
|
|
1507
|
-
error: z.ZodObject<{
|
|
1508
|
-
code: z.ZodString;
|
|
1509
|
-
message: z.ZodString;
|
|
1510
|
-
}, z.core.$strip>;
|
|
1511
|
-
}, z.core.$strip>;
|
|
1512
|
-
};
|
|
1513
|
-
};
|
|
1514
|
-
readonly description: "Server error.";
|
|
1515
|
-
};
|
|
1516
|
-
200: {
|
|
1517
|
-
content: {
|
|
1518
|
-
"application/json": {
|
|
1519
|
-
schema: z.ZodObject<{
|
|
1520
|
-
data: z.ZodAny;
|
|
1521
|
-
}, z.core.$strip>;
|
|
1522
|
-
};
|
|
1523
|
-
};
|
|
1524
|
-
description: string;
|
|
1525
|
-
};
|
|
1526
|
-
};
|
|
1527
|
-
} & {
|
|
1528
|
-
getRoutingPath(): "/api/marketplace/vendor/me/balance";
|
|
1529
|
-
};
|
|
1530
|
-
export declare const myAnalyticsRoute: {
|
|
1531
|
-
method: "get";
|
|
1532
|
-
path: "/api/marketplace/vendor/me/analytics";
|
|
1533
|
-
tags: string[];
|
|
1534
|
-
summary: string;
|
|
1535
|
-
responses: {
|
|
1536
|
-
401: {
|
|
1537
|
-
readonly content: {
|
|
1538
|
-
readonly "application/json": {
|
|
1539
|
-
readonly schema: z.ZodObject<{
|
|
1540
|
-
error: z.ZodObject<{
|
|
1541
|
-
code: z.ZodString;
|
|
1542
|
-
message: z.ZodString;
|
|
1543
|
-
}, z.core.$strip>;
|
|
1544
|
-
}, z.core.$strip>;
|
|
1545
|
-
};
|
|
1546
|
-
};
|
|
1547
|
-
readonly description: "Authentication required.";
|
|
1548
|
-
};
|
|
1549
|
-
403: {
|
|
1550
|
-
readonly content: {
|
|
1551
|
-
readonly "application/json": {
|
|
1552
|
-
readonly schema: z.ZodObject<{
|
|
1553
|
-
error: z.ZodObject<{
|
|
1554
|
-
code: z.ZodString;
|
|
1555
|
-
message: z.ZodString;
|
|
1556
|
-
}, z.core.$strip>;
|
|
1557
|
-
}, z.core.$strip>;
|
|
1558
|
-
};
|
|
1559
|
-
};
|
|
1560
|
-
readonly description: "Insufficient permissions.";
|
|
1561
|
-
};
|
|
1562
|
-
404: {
|
|
1563
|
-
readonly content: {
|
|
1564
|
-
readonly "application/json": {
|
|
1565
|
-
readonly schema: z.ZodObject<{
|
|
1566
|
-
error: z.ZodObject<{
|
|
1567
|
-
code: z.ZodString;
|
|
1568
|
-
message: z.ZodString;
|
|
1569
|
-
}, z.core.$strip>;
|
|
1570
|
-
}, z.core.$strip>;
|
|
1571
|
-
};
|
|
1572
|
-
};
|
|
1573
|
-
readonly description: "Not found.";
|
|
1574
|
-
};
|
|
1575
|
-
422: {
|
|
1576
|
-
readonly content: {
|
|
1577
|
-
readonly "application/json": {
|
|
1578
|
-
readonly schema: z.ZodObject<{
|
|
1579
|
-
error: z.ZodObject<{
|
|
1580
|
-
code: z.ZodString;
|
|
1581
|
-
message: z.ZodString;
|
|
1582
|
-
}, z.core.$strip>;
|
|
1583
|
-
}, z.core.$strip>;
|
|
1584
|
-
};
|
|
1585
|
-
};
|
|
1586
|
-
readonly description: "Validation error.";
|
|
1587
|
-
};
|
|
1588
|
-
500: {
|
|
1589
|
-
readonly content: {
|
|
1590
|
-
readonly "application/json": {
|
|
1591
|
-
readonly schema: z.ZodObject<{
|
|
1592
|
-
error: z.ZodObject<{
|
|
1593
|
-
code: z.ZodString;
|
|
1594
|
-
message: z.ZodString;
|
|
1595
|
-
}, z.core.$strip>;
|
|
1596
|
-
}, z.core.$strip>;
|
|
1597
|
-
};
|
|
1598
|
-
};
|
|
1599
|
-
readonly description: "Server error.";
|
|
1600
|
-
};
|
|
1601
|
-
200: {
|
|
1602
|
-
content: {
|
|
1603
|
-
"application/json": {
|
|
1604
|
-
schema: z.ZodObject<{
|
|
1605
|
-
data: z.ZodAny;
|
|
1606
|
-
}, z.core.$strip>;
|
|
1607
|
-
};
|
|
1608
|
-
};
|
|
1609
|
-
description: string;
|
|
1610
|
-
};
|
|
1611
|
-
};
|
|
1612
|
-
} & {
|
|
1613
|
-
getRoutingPath(): "/api/marketplace/vendor/me/analytics";
|
|
1614
|
-
};
|
|
1615
|
-
export declare const myReviewsRoute: {
|
|
1616
|
-
method: "get";
|
|
1617
|
-
path: "/api/marketplace/vendor/me/reviews";
|
|
1618
|
-
tags: string[];
|
|
1619
|
-
summary: string;
|
|
1620
|
-
responses: {
|
|
1621
|
-
401: {
|
|
1622
|
-
readonly content: {
|
|
1623
|
-
readonly "application/json": {
|
|
1624
|
-
readonly schema: z.ZodObject<{
|
|
1625
|
-
error: z.ZodObject<{
|
|
1626
|
-
code: z.ZodString;
|
|
1627
|
-
message: z.ZodString;
|
|
1628
|
-
}, z.core.$strip>;
|
|
1629
|
-
}, z.core.$strip>;
|
|
1630
|
-
};
|
|
1631
|
-
};
|
|
1632
|
-
readonly description: "Authentication required.";
|
|
1633
|
-
};
|
|
1634
|
-
403: {
|
|
1635
|
-
readonly content: {
|
|
1636
|
-
readonly "application/json": {
|
|
1637
|
-
readonly schema: z.ZodObject<{
|
|
1638
|
-
error: z.ZodObject<{
|
|
1639
|
-
code: z.ZodString;
|
|
1640
|
-
message: z.ZodString;
|
|
1641
|
-
}, z.core.$strip>;
|
|
1642
|
-
}, z.core.$strip>;
|
|
1643
|
-
};
|
|
1644
|
-
};
|
|
1645
|
-
readonly description: "Insufficient permissions.";
|
|
1646
|
-
};
|
|
1647
|
-
404: {
|
|
1648
|
-
readonly content: {
|
|
1649
|
-
readonly "application/json": {
|
|
1650
|
-
readonly schema: z.ZodObject<{
|
|
1651
|
-
error: z.ZodObject<{
|
|
1652
|
-
code: z.ZodString;
|
|
1653
|
-
message: z.ZodString;
|
|
1654
|
-
}, z.core.$strip>;
|
|
1655
|
-
}, z.core.$strip>;
|
|
1656
|
-
};
|
|
1657
|
-
};
|
|
1658
|
-
readonly description: "Not found.";
|
|
1659
|
-
};
|
|
1660
|
-
422: {
|
|
1661
|
-
readonly content: {
|
|
1662
|
-
readonly "application/json": {
|
|
1663
|
-
readonly schema: z.ZodObject<{
|
|
1664
|
-
error: z.ZodObject<{
|
|
1665
|
-
code: z.ZodString;
|
|
1666
|
-
message: z.ZodString;
|
|
1667
|
-
}, z.core.$strip>;
|
|
1668
|
-
}, z.core.$strip>;
|
|
1669
|
-
};
|
|
1670
|
-
};
|
|
1671
|
-
readonly description: "Validation error.";
|
|
1672
|
-
};
|
|
1673
|
-
500: {
|
|
1674
|
-
readonly content: {
|
|
1675
|
-
readonly "application/json": {
|
|
1676
|
-
readonly schema: z.ZodObject<{
|
|
1677
|
-
error: z.ZodObject<{
|
|
1678
|
-
code: z.ZodString;
|
|
1679
|
-
message: z.ZodString;
|
|
1680
|
-
}, z.core.$strip>;
|
|
1681
|
-
}, z.core.$strip>;
|
|
1682
|
-
};
|
|
1683
|
-
};
|
|
1684
|
-
readonly description: "Server error.";
|
|
1685
|
-
};
|
|
1686
|
-
200: {
|
|
1687
|
-
content: {
|
|
1688
|
-
"application/json": {
|
|
1689
|
-
schema: z.ZodObject<{
|
|
1690
|
-
data: z.ZodAny;
|
|
1691
|
-
}, z.core.$strip>;
|
|
1692
|
-
};
|
|
1693
|
-
};
|
|
1694
|
-
description: string;
|
|
1695
|
-
};
|
|
1696
|
-
};
|
|
1697
|
-
} & {
|
|
1698
|
-
getRoutingPath(): "/api/marketplace/vendor/me/reviews";
|
|
1699
|
-
};
|
|
1700
|
-
export declare const myReturnsRoute: {
|
|
1701
|
-
method: "get";
|
|
1702
|
-
path: "/api/marketplace/vendor/me/returns";
|
|
1703
|
-
tags: string[];
|
|
1704
|
-
summary: string;
|
|
1705
|
-
responses: {
|
|
1706
|
-
401: {
|
|
1707
|
-
readonly content: {
|
|
1708
|
-
readonly "application/json": {
|
|
1709
|
-
readonly schema: z.ZodObject<{
|
|
1710
|
-
error: z.ZodObject<{
|
|
1711
|
-
code: z.ZodString;
|
|
1712
|
-
message: z.ZodString;
|
|
1713
|
-
}, z.core.$strip>;
|
|
1714
|
-
}, z.core.$strip>;
|
|
1715
|
-
};
|
|
1716
|
-
};
|
|
1717
|
-
readonly description: "Authentication required.";
|
|
1718
|
-
};
|
|
1719
|
-
403: {
|
|
1720
|
-
readonly content: {
|
|
1721
|
-
readonly "application/json": {
|
|
1722
|
-
readonly schema: z.ZodObject<{
|
|
1723
|
-
error: z.ZodObject<{
|
|
1724
|
-
code: z.ZodString;
|
|
1725
|
-
message: z.ZodString;
|
|
1726
|
-
}, z.core.$strip>;
|
|
1727
|
-
}, z.core.$strip>;
|
|
1728
|
-
};
|
|
1729
|
-
};
|
|
1730
|
-
readonly description: "Insufficient permissions.";
|
|
1731
|
-
};
|
|
1732
|
-
404: {
|
|
1733
|
-
readonly content: {
|
|
1734
|
-
readonly "application/json": {
|
|
1735
|
-
readonly schema: z.ZodObject<{
|
|
1736
|
-
error: z.ZodObject<{
|
|
1737
|
-
code: z.ZodString;
|
|
1738
|
-
message: z.ZodString;
|
|
1739
|
-
}, z.core.$strip>;
|
|
1740
|
-
}, z.core.$strip>;
|
|
1741
|
-
};
|
|
1742
|
-
};
|
|
1743
|
-
readonly description: "Not found.";
|
|
1744
|
-
};
|
|
1745
|
-
422: {
|
|
1746
|
-
readonly content: {
|
|
1747
|
-
readonly "application/json": {
|
|
1748
|
-
readonly schema: z.ZodObject<{
|
|
1749
|
-
error: z.ZodObject<{
|
|
1750
|
-
code: z.ZodString;
|
|
1751
|
-
message: z.ZodString;
|
|
1752
|
-
}, z.core.$strip>;
|
|
1753
|
-
}, z.core.$strip>;
|
|
1754
|
-
};
|
|
1755
|
-
};
|
|
1756
|
-
readonly description: "Validation error.";
|
|
1757
|
-
};
|
|
1758
|
-
500: {
|
|
1759
|
-
readonly content: {
|
|
1760
|
-
readonly "application/json": {
|
|
1761
|
-
readonly schema: z.ZodObject<{
|
|
1762
|
-
error: z.ZodObject<{
|
|
1763
|
-
code: z.ZodString;
|
|
1764
|
-
message: z.ZodString;
|
|
1765
|
-
}, z.core.$strip>;
|
|
1766
|
-
}, z.core.$strip>;
|
|
1767
|
-
};
|
|
1768
|
-
};
|
|
1769
|
-
readonly description: "Server error.";
|
|
1770
|
-
};
|
|
1771
|
-
200: {
|
|
1772
|
-
content: {
|
|
1773
|
-
"application/json": {
|
|
1774
|
-
schema: z.ZodObject<{
|
|
1775
|
-
data: z.ZodAny;
|
|
1776
|
-
}, z.core.$strip>;
|
|
1777
|
-
};
|
|
1778
|
-
};
|
|
1779
|
-
description: string;
|
|
1780
|
-
};
|
|
1781
|
-
};
|
|
1782
|
-
} & {
|
|
1783
|
-
getRoutingPath(): "/api/marketplace/vendor/me/returns";
|
|
1784
|
-
};
|
|
1785
30
|
//# sourceMappingURL=vendor-portal.d.ts.map
|