@customafk/lunas-api-sdk 0.0.90 → 0.0.92
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.cts +646 -134
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +646 -134
- package/dist/index.d.mts.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1814,7 +1814,7 @@ declare const _createClient: () => {
|
|
|
1814
1814
|
success: true;
|
|
1815
1815
|
statusCode: number;
|
|
1816
1816
|
data: {
|
|
1817
|
-
type: "ANNOUNCEMENT" | "GUIDE" | "POLICY" | "TERMS" | "FAQ"
|
|
1817
|
+
type: "OTHER" | "ANNOUNCEMENT" | "GUIDE" | "POLICY" | "TERMS" | "FAQ";
|
|
1818
1818
|
uuid: string;
|
|
1819
1819
|
status: "DRAFT" | "PUBLISHED" | "ARCHIVED";
|
|
1820
1820
|
createdAt: Date;
|
|
@@ -1850,7 +1850,7 @@ declare const _createClient: () => {
|
|
|
1850
1850
|
patch: ((body?: {
|
|
1851
1851
|
title?: string | undefined;
|
|
1852
1852
|
content?: string | undefined;
|
|
1853
|
-
type?: "ANNOUNCEMENT" | "GUIDE" | "POLICY" | "TERMS" | "FAQ" |
|
|
1853
|
+
type?: "OTHER" | "ANNOUNCEMENT" | "GUIDE" | "POLICY" | "TERMS" | "FAQ" | undefined;
|
|
1854
1854
|
} | undefined, options?: {
|
|
1855
1855
|
fetch?: RequestInit | undefined;
|
|
1856
1856
|
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
@@ -2010,7 +2010,7 @@ declare const _createClient: () => {
|
|
|
2010
2010
|
success: true;
|
|
2011
2011
|
statusCode: number;
|
|
2012
2012
|
data: {
|
|
2013
|
-
type: "ANNOUNCEMENT" | "GUIDE" | "POLICY" | "TERMS" | "FAQ"
|
|
2013
|
+
type: "OTHER" | "ANNOUNCEMENT" | "GUIDE" | "POLICY" | "TERMS" | "FAQ";
|
|
2014
2014
|
uuid: string;
|
|
2015
2015
|
status: "DRAFT" | "PUBLISHED" | "ARCHIVED";
|
|
2016
2016
|
createdAt: Date;
|
|
@@ -2046,7 +2046,7 @@ declare const _createClient: () => {
|
|
|
2046
2046
|
patch: ((body?: {
|
|
2047
2047
|
title?: string | undefined;
|
|
2048
2048
|
content?: string | undefined;
|
|
2049
|
-
type?: "ANNOUNCEMENT" | "GUIDE" | "POLICY" | "TERMS" | "FAQ" |
|
|
2049
|
+
type?: "OTHER" | "ANNOUNCEMENT" | "GUIDE" | "POLICY" | "TERMS" | "FAQ" | undefined;
|
|
2050
2050
|
} | undefined, options?: {
|
|
2051
2051
|
fetch?: RequestInit | undefined;
|
|
2052
2052
|
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
@@ -2197,7 +2197,7 @@ declare const _createClient: () => {
|
|
|
2197
2197
|
limit?: number | undefined;
|
|
2198
2198
|
search?: string | undefined;
|
|
2199
2199
|
status?: "DRAFT" | "PUBLISHED" | "ARCHIVED" | undefined;
|
|
2200
|
-
type?: "ANNOUNCEMENT" | "GUIDE" | "POLICY" | "TERMS" | "FAQ" |
|
|
2200
|
+
type?: "OTHER" | "ANNOUNCEMENT" | "GUIDE" | "POLICY" | "TERMS" | "FAQ" | undefined;
|
|
2201
2201
|
} | undefined;
|
|
2202
2202
|
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
2203
2203
|
200: {
|
|
@@ -2212,7 +2212,7 @@ declare const _createClient: () => {
|
|
|
2212
2212
|
statusCode: number;
|
|
2213
2213
|
data: {
|
|
2214
2214
|
data: {
|
|
2215
|
-
type: "ANNOUNCEMENT" | "GUIDE" | "POLICY" | "TERMS" | "FAQ"
|
|
2215
|
+
type: "OTHER" | "ANNOUNCEMENT" | "GUIDE" | "POLICY" | "TERMS" | "FAQ";
|
|
2216
2216
|
uuid: string;
|
|
2217
2217
|
status: "DRAFT" | "PUBLISHED" | "ARCHIVED";
|
|
2218
2218
|
createdAt: Date;
|
|
@@ -2254,7 +2254,7 @@ declare const _createClient: () => {
|
|
|
2254
2254
|
};
|
|
2255
2255
|
post: ((body: {
|
|
2256
2256
|
title: string;
|
|
2257
|
-
type: "ANNOUNCEMENT" | "GUIDE" | "POLICY" | "TERMS" | "FAQ"
|
|
2257
|
+
type: "OTHER" | "ANNOUNCEMENT" | "GUIDE" | "POLICY" | "TERMS" | "FAQ";
|
|
2258
2258
|
content?: string | undefined;
|
|
2259
2259
|
}, options?: {
|
|
2260
2260
|
fetch?: RequestInit | undefined;
|
|
@@ -9222,13 +9222,259 @@ declare const _createClient: () => {
|
|
|
9222
9222
|
success: true;
|
|
9223
9223
|
statusCode: number;
|
|
9224
9224
|
data: {
|
|
9225
|
-
|
|
9225
|
+
labels: {
|
|
9226
|
+
name: string;
|
|
9227
|
+
uuid: string;
|
|
9228
|
+
color: string | null;
|
|
9229
|
+
}[];
|
|
9230
|
+
memoLabelAssignments: undefined;
|
|
9231
|
+
type: "ORDER_NOTE" | "PRODUCT_NOTE" | "CUSTOMER_NOTE" | "OTHER";
|
|
9232
|
+
uuid: string;
|
|
9233
|
+
createdAt: Date;
|
|
9234
|
+
updatedAt: Date;
|
|
9235
|
+
deletedAt: Date | null;
|
|
9236
|
+
createdBy: string | null;
|
|
9237
|
+
updatedBy: string | null;
|
|
9238
|
+
title: string;
|
|
9239
|
+
content: string;
|
|
9240
|
+
isArchived: boolean;
|
|
9241
|
+
orderMemo: {
|
|
9242
|
+
orderUuid: string;
|
|
9243
|
+
memoUuid: string;
|
|
9244
|
+
order: {
|
|
9245
|
+
name: string | null;
|
|
9246
|
+
uuid: string;
|
|
9247
|
+
orderCode: string;
|
|
9248
|
+
};
|
|
9249
|
+
};
|
|
9250
|
+
productMemo: {
|
|
9251
|
+
memoUuid: string;
|
|
9252
|
+
productUuid: string;
|
|
9253
|
+
product: {
|
|
9254
|
+
name: string;
|
|
9255
|
+
uuid: string;
|
|
9256
|
+
};
|
|
9257
|
+
};
|
|
9258
|
+
customerMemo: {
|
|
9259
|
+
customerUuid: string;
|
|
9260
|
+
memoUuid: string;
|
|
9261
|
+
customer: {
|
|
9262
|
+
uuid: string;
|
|
9263
|
+
email: string;
|
|
9264
|
+
username: string;
|
|
9265
|
+
};
|
|
9266
|
+
};
|
|
9267
|
+
author: {
|
|
9268
|
+
uuid: string;
|
|
9269
|
+
email: string;
|
|
9270
|
+
username: string;
|
|
9271
|
+
role: string;
|
|
9272
|
+
} | null;
|
|
9273
|
+
updater: {
|
|
9274
|
+
uuid: string;
|
|
9275
|
+
email: string;
|
|
9276
|
+
username: string;
|
|
9277
|
+
role: string;
|
|
9278
|
+
} | null;
|
|
9279
|
+
};
|
|
9280
|
+
message: null;
|
|
9281
|
+
error: null;
|
|
9282
|
+
meta: TResponseMeta;
|
|
9283
|
+
};
|
|
9284
|
+
422: {
|
|
9285
|
+
type: "validation";
|
|
9286
|
+
on: string;
|
|
9287
|
+
summary?: string;
|
|
9288
|
+
message?: string;
|
|
9289
|
+
found?: unknown;
|
|
9290
|
+
property?: string;
|
|
9291
|
+
expected?: string;
|
|
9292
|
+
};
|
|
9293
|
+
}>>) & {
|
|
9294
|
+
'~path': string;
|
|
9295
|
+
};
|
|
9296
|
+
patch: ((body?: {
|
|
9297
|
+
title?: string | undefined;
|
|
9298
|
+
content?: string | undefined;
|
|
9299
|
+
labelUuids?: string[] | undefined;
|
|
9300
|
+
} | undefined, options?: {
|
|
9301
|
+
fetch?: RequestInit | undefined;
|
|
9302
|
+
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
9303
|
+
headers?: {} | undefined;
|
|
9304
|
+
query?: {} | undefined;
|
|
9305
|
+
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
9306
|
+
200: {
|
|
9307
|
+
success: true;
|
|
9308
|
+
statusCode: number;
|
|
9309
|
+
data: null;
|
|
9310
|
+
message: string;
|
|
9311
|
+
error: null;
|
|
9312
|
+
meta: TResponseMeta;
|
|
9313
|
+
} | {
|
|
9314
|
+
success: false;
|
|
9315
|
+
statusCode: number;
|
|
9316
|
+
data: null;
|
|
9317
|
+
message: string;
|
|
9318
|
+
error: TResponseError;
|
|
9319
|
+
meta: TResponseMeta;
|
|
9320
|
+
};
|
|
9321
|
+
422: {
|
|
9322
|
+
type: "validation";
|
|
9323
|
+
on: string;
|
|
9324
|
+
summary?: string;
|
|
9325
|
+
message?: string;
|
|
9326
|
+
found?: unknown;
|
|
9327
|
+
property?: string;
|
|
9328
|
+
expected?: string;
|
|
9329
|
+
};
|
|
9330
|
+
}>>) & {
|
|
9331
|
+
'~path': string;
|
|
9332
|
+
};
|
|
9333
|
+
archive: {
|
|
9334
|
+
patch: ((body: {
|
|
9335
|
+
isArchived: boolean;
|
|
9336
|
+
}, options?: {
|
|
9337
|
+
fetch?: RequestInit | undefined;
|
|
9338
|
+
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
9339
|
+
headers?: {} | undefined;
|
|
9340
|
+
query?: {} | undefined;
|
|
9341
|
+
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
9342
|
+
200: {
|
|
9343
|
+
success: true;
|
|
9344
|
+
statusCode: number;
|
|
9345
|
+
data: null;
|
|
9346
|
+
message: string;
|
|
9347
|
+
error: null;
|
|
9348
|
+
meta: TResponseMeta;
|
|
9349
|
+
} | {
|
|
9350
|
+
success: false;
|
|
9351
|
+
statusCode: number;
|
|
9352
|
+
data: null;
|
|
9353
|
+
message: string;
|
|
9354
|
+
error: TResponseError;
|
|
9355
|
+
meta: TResponseMeta;
|
|
9356
|
+
};
|
|
9357
|
+
422: {
|
|
9358
|
+
type: "validation";
|
|
9359
|
+
on: string;
|
|
9360
|
+
summary?: string;
|
|
9361
|
+
message?: string;
|
|
9362
|
+
found?: unknown;
|
|
9363
|
+
property?: string;
|
|
9364
|
+
expected?: string;
|
|
9365
|
+
};
|
|
9366
|
+
}>>) & {
|
|
9367
|
+
'~path': string;
|
|
9368
|
+
};
|
|
9369
|
+
} & {
|
|
9370
|
+
'~path': string;
|
|
9371
|
+
};
|
|
9372
|
+
delete: ((body?: {} | undefined, options?: {
|
|
9373
|
+
fetch?: RequestInit | undefined;
|
|
9374
|
+
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
9375
|
+
headers?: {} | undefined;
|
|
9376
|
+
query?: {} | undefined;
|
|
9377
|
+
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
9378
|
+
200: {
|
|
9379
|
+
success: true;
|
|
9380
|
+
statusCode: number;
|
|
9381
|
+
data: null;
|
|
9382
|
+
message: string;
|
|
9383
|
+
error: null;
|
|
9384
|
+
meta: TResponseMeta;
|
|
9385
|
+
} | {
|
|
9386
|
+
success: false;
|
|
9387
|
+
statusCode: number;
|
|
9388
|
+
data: null;
|
|
9389
|
+
message: string;
|
|
9390
|
+
error: TResponseError;
|
|
9391
|
+
meta: TResponseMeta;
|
|
9392
|
+
};
|
|
9393
|
+
422: {
|
|
9394
|
+
type: "validation";
|
|
9395
|
+
on: string;
|
|
9396
|
+
summary?: string;
|
|
9397
|
+
message?: string;
|
|
9398
|
+
found?: unknown;
|
|
9399
|
+
property?: string;
|
|
9400
|
+
expected?: string;
|
|
9401
|
+
};
|
|
9402
|
+
}>>) & {
|
|
9403
|
+
'~path': string;
|
|
9404
|
+
};
|
|
9405
|
+
'~path': string;
|
|
9406
|
+
} & {
|
|
9407
|
+
get: ((options?: {
|
|
9408
|
+
fetch?: RequestInit | undefined;
|
|
9409
|
+
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
9410
|
+
headers?: {} | undefined;
|
|
9411
|
+
query?: {} | undefined;
|
|
9412
|
+
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
9413
|
+
200: {
|
|
9414
|
+
success: false;
|
|
9415
|
+
statusCode: number;
|
|
9416
|
+
data: null;
|
|
9417
|
+
message: string;
|
|
9418
|
+
error: TResponseError;
|
|
9419
|
+
meta: TResponseMeta;
|
|
9420
|
+
} | {
|
|
9421
|
+
success: true;
|
|
9422
|
+
statusCode: number;
|
|
9423
|
+
data: {
|
|
9424
|
+
labels: {
|
|
9425
|
+
name: string;
|
|
9426
|
+
uuid: string;
|
|
9427
|
+
color: string | null;
|
|
9428
|
+
}[];
|
|
9429
|
+
memoLabelAssignments: undefined;
|
|
9430
|
+
type: "ORDER_NOTE" | "PRODUCT_NOTE" | "CUSTOMER_NOTE" | "OTHER";
|
|
9226
9431
|
uuid: string;
|
|
9227
9432
|
createdAt: Date;
|
|
9228
9433
|
updatedAt: Date;
|
|
9434
|
+
deletedAt: Date | null;
|
|
9435
|
+
createdBy: string | null;
|
|
9436
|
+
updatedBy: string | null;
|
|
9229
9437
|
title: string;
|
|
9230
9438
|
content: string;
|
|
9231
9439
|
isArchived: boolean;
|
|
9440
|
+
orderMemo: {
|
|
9441
|
+
orderUuid: string;
|
|
9442
|
+
memoUuid: string;
|
|
9443
|
+
order: {
|
|
9444
|
+
name: string | null;
|
|
9445
|
+
uuid: string;
|
|
9446
|
+
orderCode: string;
|
|
9447
|
+
};
|
|
9448
|
+
};
|
|
9449
|
+
productMemo: {
|
|
9450
|
+
memoUuid: string;
|
|
9451
|
+
productUuid: string;
|
|
9452
|
+
product: {
|
|
9453
|
+
name: string;
|
|
9454
|
+
uuid: string;
|
|
9455
|
+
};
|
|
9456
|
+
};
|
|
9457
|
+
customerMemo: {
|
|
9458
|
+
customerUuid: string;
|
|
9459
|
+
memoUuid: string;
|
|
9460
|
+
customer: {
|
|
9461
|
+
uuid: string;
|
|
9462
|
+
email: string;
|
|
9463
|
+
username: string;
|
|
9464
|
+
};
|
|
9465
|
+
};
|
|
9466
|
+
author: {
|
|
9467
|
+
uuid: string;
|
|
9468
|
+
email: string;
|
|
9469
|
+
username: string;
|
|
9470
|
+
role: string;
|
|
9471
|
+
} | null;
|
|
9472
|
+
updater: {
|
|
9473
|
+
uuid: string;
|
|
9474
|
+
email: string;
|
|
9475
|
+
username: string;
|
|
9476
|
+
role: string;
|
|
9477
|
+
} | null;
|
|
9232
9478
|
};
|
|
9233
9479
|
message: null;
|
|
9234
9480
|
error: null;
|
|
@@ -9249,6 +9495,7 @@ declare const _createClient: () => {
|
|
|
9249
9495
|
patch: ((body?: {
|
|
9250
9496
|
title?: string | undefined;
|
|
9251
9497
|
content?: string | undefined;
|
|
9498
|
+
labelUuids?: string[] | undefined;
|
|
9252
9499
|
} | undefined, options?: {
|
|
9253
9500
|
fetch?: RequestInit | undefined;
|
|
9254
9501
|
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
@@ -9354,35 +9601,279 @@ declare const _createClient: () => {
|
|
|
9354
9601
|
}>>) & {
|
|
9355
9602
|
'~path': string;
|
|
9356
9603
|
};
|
|
9357
|
-
|
|
9358
|
-
|
|
9359
|
-
|
|
9604
|
+
}) & {
|
|
9605
|
+
get: ((options?: {
|
|
9606
|
+
fetch?: RequestInit | undefined;
|
|
9607
|
+
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
9608
|
+
headers?: {} | undefined;
|
|
9609
|
+
query?: {
|
|
9610
|
+
type?: "ORDER_NOTE" | "PRODUCT_NOTE" | "CUSTOMER_NOTE" | "OTHER" | undefined;
|
|
9611
|
+
search?: string | undefined;
|
|
9612
|
+
createdBy?: string | undefined;
|
|
9613
|
+
labelUuid?: string | undefined;
|
|
9614
|
+
customerId?: string | undefined;
|
|
9615
|
+
limit?: number | undefined;
|
|
9616
|
+
page?: number | undefined;
|
|
9617
|
+
orderId?: string | undefined;
|
|
9618
|
+
productId?: string | undefined;
|
|
9619
|
+
createdAtFrom?: string | undefined;
|
|
9620
|
+
createdAtTo?: string | undefined;
|
|
9621
|
+
} | undefined;
|
|
9622
|
+
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
9623
|
+
200: {
|
|
9624
|
+
success: false;
|
|
9625
|
+
statusCode: number;
|
|
9626
|
+
data: null;
|
|
9627
|
+
message: string;
|
|
9628
|
+
error: TResponseError;
|
|
9629
|
+
meta: TResponseMeta;
|
|
9630
|
+
} | {
|
|
9631
|
+
success: true;
|
|
9632
|
+
statusCode: number;
|
|
9633
|
+
data: {
|
|
9634
|
+
data: {
|
|
9635
|
+
labels: {
|
|
9636
|
+
name: string;
|
|
9637
|
+
uuid: string;
|
|
9638
|
+
color: string | null;
|
|
9639
|
+
}[];
|
|
9640
|
+
memoLabelAssignments: undefined;
|
|
9641
|
+
type: "ORDER_NOTE" | "PRODUCT_NOTE" | "CUSTOMER_NOTE" | "OTHER";
|
|
9642
|
+
uuid: string;
|
|
9643
|
+
createdAt: Date;
|
|
9644
|
+
updatedAt: Date;
|
|
9645
|
+
title: string;
|
|
9646
|
+
isArchived: boolean;
|
|
9647
|
+
orderMemo: {
|
|
9648
|
+
orderUuid: string;
|
|
9649
|
+
memoUuid: string;
|
|
9650
|
+
order: {
|
|
9651
|
+
name: string | null;
|
|
9652
|
+
uuid: string;
|
|
9653
|
+
orderCode: string;
|
|
9654
|
+
};
|
|
9655
|
+
};
|
|
9656
|
+
author: {
|
|
9657
|
+
uuid: string;
|
|
9658
|
+
email: string;
|
|
9659
|
+
username: string;
|
|
9660
|
+
role: string;
|
|
9661
|
+
} | null;
|
|
9662
|
+
updater: {
|
|
9663
|
+
uuid: string;
|
|
9664
|
+
email: string;
|
|
9665
|
+
username: string;
|
|
9666
|
+
role: string;
|
|
9667
|
+
} | null;
|
|
9668
|
+
}[];
|
|
9669
|
+
pagination: {
|
|
9670
|
+
page: number;
|
|
9671
|
+
limit: number;
|
|
9672
|
+
total: number;
|
|
9673
|
+
totalPages: number;
|
|
9674
|
+
hasNextPage: boolean;
|
|
9675
|
+
hasPreviousPage: boolean;
|
|
9676
|
+
};
|
|
9677
|
+
};
|
|
9678
|
+
message: null;
|
|
9679
|
+
error: null;
|
|
9680
|
+
meta: TResponseMeta;
|
|
9681
|
+
};
|
|
9682
|
+
422: {
|
|
9683
|
+
type: "validation";
|
|
9684
|
+
on: string;
|
|
9685
|
+
summary?: string;
|
|
9686
|
+
message?: string;
|
|
9687
|
+
found?: unknown;
|
|
9688
|
+
property?: string;
|
|
9689
|
+
expected?: string;
|
|
9690
|
+
};
|
|
9691
|
+
}>>) & {
|
|
9692
|
+
'~path': string;
|
|
9693
|
+
};
|
|
9694
|
+
post: ((body: {
|
|
9695
|
+
customerId?: string | undefined;
|
|
9696
|
+
orderId?: string | undefined;
|
|
9697
|
+
productId?: string | undefined;
|
|
9698
|
+
labelUuids?: string[] | undefined;
|
|
9699
|
+
type: "ORDER_NOTE" | "PRODUCT_NOTE" | "CUSTOMER_NOTE" | "OTHER";
|
|
9700
|
+
title: string;
|
|
9701
|
+
content: string;
|
|
9702
|
+
}, options?: {
|
|
9703
|
+
fetch?: RequestInit | undefined;
|
|
9704
|
+
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
9705
|
+
headers?: {} | undefined;
|
|
9706
|
+
query?: {} | undefined;
|
|
9707
|
+
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
9708
|
+
200: {
|
|
9709
|
+
success: false;
|
|
9710
|
+
statusCode: number;
|
|
9711
|
+
data: null;
|
|
9712
|
+
message: string;
|
|
9713
|
+
error: TResponseError;
|
|
9714
|
+
meta: TResponseMeta;
|
|
9715
|
+
} | {
|
|
9716
|
+
success: true;
|
|
9717
|
+
statusCode: number;
|
|
9718
|
+
data: {
|
|
9719
|
+
uuid: string;
|
|
9720
|
+
}[];
|
|
9721
|
+
message: null;
|
|
9722
|
+
error: null;
|
|
9723
|
+
meta: TResponseMeta;
|
|
9724
|
+
};
|
|
9725
|
+
422: {
|
|
9726
|
+
type: "validation";
|
|
9727
|
+
on: string;
|
|
9728
|
+
summary?: string;
|
|
9729
|
+
message?: string;
|
|
9730
|
+
found?: unknown;
|
|
9731
|
+
property?: string;
|
|
9732
|
+
expected?: string;
|
|
9733
|
+
};
|
|
9734
|
+
}>>) & {
|
|
9735
|
+
'~path': string;
|
|
9736
|
+
};
|
|
9737
|
+
bulk: {
|
|
9738
|
+
archive: {
|
|
9739
|
+
patch: ((body: {}, options: {
|
|
9740
|
+
fetch?: RequestInit | undefined;
|
|
9741
|
+
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
9742
|
+
headers?: {} | undefined;
|
|
9743
|
+
query: {
|
|
9744
|
+
isArchived: boolean;
|
|
9745
|
+
uuids: string[];
|
|
9746
|
+
};
|
|
9747
|
+
}) => Promise<Treaty.TreatyResponse<{
|
|
9748
|
+
200: {
|
|
9749
|
+
success: true;
|
|
9750
|
+
statusCode: number;
|
|
9751
|
+
data: null;
|
|
9752
|
+
message: string;
|
|
9753
|
+
error: null;
|
|
9754
|
+
meta: TResponseMeta;
|
|
9755
|
+
} | {
|
|
9756
|
+
success: false;
|
|
9757
|
+
statusCode: number;
|
|
9758
|
+
data: null;
|
|
9759
|
+
message: string;
|
|
9760
|
+
error: TResponseError;
|
|
9761
|
+
meta: TResponseMeta;
|
|
9762
|
+
};
|
|
9763
|
+
422: {
|
|
9764
|
+
type: "validation";
|
|
9765
|
+
on: string;
|
|
9766
|
+
summary?: string;
|
|
9767
|
+
message?: string;
|
|
9768
|
+
found?: unknown;
|
|
9769
|
+
property?: string;
|
|
9770
|
+
expected?: string;
|
|
9771
|
+
};
|
|
9772
|
+
}>>) & {
|
|
9773
|
+
'~path': string;
|
|
9774
|
+
};
|
|
9775
|
+
} & {
|
|
9776
|
+
'~path': string;
|
|
9777
|
+
};
|
|
9778
|
+
delete: ((body: {}, options: {
|
|
9779
|
+
fetch?: RequestInit | undefined;
|
|
9780
|
+
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
9781
|
+
headers?: {} | undefined;
|
|
9782
|
+
query: {
|
|
9783
|
+
uuids: string[];
|
|
9784
|
+
};
|
|
9785
|
+
}) => Promise<Treaty.TreatyResponse<{
|
|
9786
|
+
200: {
|
|
9787
|
+
success: true;
|
|
9788
|
+
statusCode: number;
|
|
9789
|
+
data: null;
|
|
9790
|
+
message: string;
|
|
9791
|
+
error: null;
|
|
9792
|
+
meta: TResponseMeta;
|
|
9793
|
+
} | {
|
|
9794
|
+
success: false;
|
|
9795
|
+
statusCode: number;
|
|
9796
|
+
data: null;
|
|
9797
|
+
message: string;
|
|
9798
|
+
error: TResponseError;
|
|
9799
|
+
meta: TResponseMeta;
|
|
9800
|
+
};
|
|
9801
|
+
422: {
|
|
9802
|
+
type: "validation";
|
|
9803
|
+
on: string;
|
|
9804
|
+
summary?: string;
|
|
9805
|
+
message?: string;
|
|
9806
|
+
found?: unknown;
|
|
9807
|
+
property?: string;
|
|
9808
|
+
expected?: string;
|
|
9809
|
+
};
|
|
9810
|
+
}>>) & {
|
|
9811
|
+
'~path': string;
|
|
9812
|
+
};
|
|
9813
|
+
} & {
|
|
9814
|
+
'~path': string;
|
|
9815
|
+
};
|
|
9816
|
+
} & {
|
|
9817
|
+
'~path': string;
|
|
9818
|
+
};
|
|
9819
|
+
"memo-labels": ((params: {
|
|
9820
|
+
labelId: string | number;
|
|
9821
|
+
}) => {
|
|
9822
|
+
patch: ((body?: {
|
|
9823
|
+
name?: string | undefined;
|
|
9824
|
+
color?: string | undefined;
|
|
9825
|
+
} | undefined, options?: {
|
|
9826
|
+
fetch?: RequestInit | undefined;
|
|
9827
|
+
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
9828
|
+
headers?: {} | undefined;
|
|
9829
|
+
query?: {} | undefined;
|
|
9830
|
+
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
9831
|
+
200: {
|
|
9832
|
+
success: true;
|
|
9833
|
+
statusCode: number;
|
|
9834
|
+
data: null;
|
|
9835
|
+
message: string;
|
|
9836
|
+
error: null;
|
|
9837
|
+
meta: TResponseMeta;
|
|
9838
|
+
} | {
|
|
9839
|
+
success: false;
|
|
9840
|
+
statusCode: number;
|
|
9841
|
+
data: null;
|
|
9842
|
+
message: string;
|
|
9843
|
+
error: TResponseError;
|
|
9844
|
+
meta: TResponseMeta;
|
|
9845
|
+
};
|
|
9846
|
+
422: {
|
|
9847
|
+
type: "validation";
|
|
9848
|
+
on: string;
|
|
9849
|
+
summary?: string;
|
|
9850
|
+
message?: string;
|
|
9851
|
+
found?: unknown;
|
|
9852
|
+
property?: string;
|
|
9853
|
+
expected?: string;
|
|
9854
|
+
};
|
|
9855
|
+
}>>) & {
|
|
9856
|
+
'~path': string;
|
|
9857
|
+
};
|
|
9858
|
+
delete: ((body?: {} | undefined, options?: {
|
|
9360
9859
|
fetch?: RequestInit | undefined;
|
|
9361
9860
|
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
9362
9861
|
headers?: {} | undefined;
|
|
9363
9862
|
query?: {} | undefined;
|
|
9364
9863
|
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
9365
9864
|
200: {
|
|
9366
|
-
success:
|
|
9865
|
+
success: true;
|
|
9367
9866
|
statusCode: number;
|
|
9368
9867
|
data: null;
|
|
9369
9868
|
message: string;
|
|
9370
|
-
error:
|
|
9869
|
+
error: null;
|
|
9371
9870
|
meta: TResponseMeta;
|
|
9372
9871
|
} | {
|
|
9373
|
-
success:
|
|
9872
|
+
success: false;
|
|
9374
9873
|
statusCode: number;
|
|
9375
|
-
data:
|
|
9376
|
-
|
|
9377
|
-
|
|
9378
|
-
createdAt: Date;
|
|
9379
|
-
updatedAt: Date;
|
|
9380
|
-
title: string;
|
|
9381
|
-
content: string;
|
|
9382
|
-
isArchived: boolean;
|
|
9383
|
-
};
|
|
9384
|
-
message: null;
|
|
9385
|
-
error: null;
|
|
9874
|
+
data: null;
|
|
9875
|
+
message: string;
|
|
9876
|
+
error: TResponseError;
|
|
9386
9877
|
meta: TResponseMeta;
|
|
9387
9878
|
};
|
|
9388
9879
|
422: {
|
|
@@ -9397,9 +9888,11 @@ declare const _createClient: () => {
|
|
|
9397
9888
|
}>>) & {
|
|
9398
9889
|
'~path': string;
|
|
9399
9890
|
};
|
|
9891
|
+
'~path': string;
|
|
9892
|
+
} & {
|
|
9400
9893
|
patch: ((body?: {
|
|
9401
|
-
|
|
9402
|
-
|
|
9894
|
+
name?: string | undefined;
|
|
9895
|
+
color?: string | undefined;
|
|
9403
9896
|
} | undefined, options?: {
|
|
9404
9897
|
fetch?: RequestInit | undefined;
|
|
9405
9898
|
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
@@ -9433,45 +9926,6 @@ declare const _createClient: () => {
|
|
|
9433
9926
|
}>>) & {
|
|
9434
9927
|
'~path': string;
|
|
9435
9928
|
};
|
|
9436
|
-
archive: {
|
|
9437
|
-
patch: ((body: {
|
|
9438
|
-
isArchived: boolean;
|
|
9439
|
-
}, options?: {
|
|
9440
|
-
fetch?: RequestInit | undefined;
|
|
9441
|
-
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
9442
|
-
headers?: {} | undefined;
|
|
9443
|
-
query?: {} | undefined;
|
|
9444
|
-
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
9445
|
-
200: {
|
|
9446
|
-
success: true;
|
|
9447
|
-
statusCode: number;
|
|
9448
|
-
data: null;
|
|
9449
|
-
message: string;
|
|
9450
|
-
error: null;
|
|
9451
|
-
meta: TResponseMeta;
|
|
9452
|
-
} | {
|
|
9453
|
-
success: false;
|
|
9454
|
-
statusCode: number;
|
|
9455
|
-
data: null;
|
|
9456
|
-
message: string;
|
|
9457
|
-
error: TResponseError;
|
|
9458
|
-
meta: TResponseMeta;
|
|
9459
|
-
};
|
|
9460
|
-
422: {
|
|
9461
|
-
type: "validation";
|
|
9462
|
-
on: string;
|
|
9463
|
-
summary?: string;
|
|
9464
|
-
message?: string;
|
|
9465
|
-
found?: unknown;
|
|
9466
|
-
property?: string;
|
|
9467
|
-
expected?: string;
|
|
9468
|
-
};
|
|
9469
|
-
}>>) & {
|
|
9470
|
-
'~path': string;
|
|
9471
|
-
};
|
|
9472
|
-
} & {
|
|
9473
|
-
'~path': string;
|
|
9474
|
-
};
|
|
9475
9929
|
delete: ((body?: {} | undefined, options?: {
|
|
9476
9930
|
fetch?: RequestInit | undefined;
|
|
9477
9931
|
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
@@ -9511,11 +9965,7 @@ declare const _createClient: () => {
|
|
|
9511
9965
|
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
9512
9966
|
headers?: {} | undefined;
|
|
9513
9967
|
query?: {
|
|
9514
|
-
type?: "OTHER" | "ORDER_NOTE" | undefined;
|
|
9515
9968
|
search?: string | undefined;
|
|
9516
|
-
limit?: number | undefined;
|
|
9517
|
-
page?: number | undefined;
|
|
9518
|
-
orderId?: string | undefined;
|
|
9519
9969
|
} | undefined;
|
|
9520
9970
|
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
9521
9971
|
200: {
|
|
@@ -9529,32 +9979,12 @@ declare const _createClient: () => {
|
|
|
9529
9979
|
success: true;
|
|
9530
9980
|
statusCode: number;
|
|
9531
9981
|
data: {
|
|
9532
|
-
|
|
9533
|
-
|
|
9534
|
-
|
|
9535
|
-
|
|
9536
|
-
|
|
9537
|
-
|
|
9538
|
-
isArchived: boolean;
|
|
9539
|
-
orderMemo: {
|
|
9540
|
-
orderUuid: string;
|
|
9541
|
-
memoUuid: string;
|
|
9542
|
-
order: {
|
|
9543
|
-
name: string | null;
|
|
9544
|
-
uuid: string;
|
|
9545
|
-
orderCode: string;
|
|
9546
|
-
};
|
|
9547
|
-
};
|
|
9548
|
-
}[];
|
|
9549
|
-
pagination: {
|
|
9550
|
-
page: number;
|
|
9551
|
-
limit: number;
|
|
9552
|
-
total: number;
|
|
9553
|
-
totalPages: number;
|
|
9554
|
-
hasNextPage: boolean;
|
|
9555
|
-
hasPreviousPage: boolean;
|
|
9556
|
-
};
|
|
9557
|
-
};
|
|
9982
|
+
name: string;
|
|
9983
|
+
uuid: string;
|
|
9984
|
+
createdAt: Date;
|
|
9985
|
+
updatedAt: Date;
|
|
9986
|
+
color: string | null;
|
|
9987
|
+
}[];
|
|
9558
9988
|
message: null;
|
|
9559
9989
|
error: null;
|
|
9560
9990
|
meta: TResponseMeta;
|
|
@@ -9572,10 +10002,8 @@ declare const _createClient: () => {
|
|
|
9572
10002
|
'~path': string;
|
|
9573
10003
|
};
|
|
9574
10004
|
post: ((body: {
|
|
9575
|
-
|
|
9576
|
-
|
|
9577
|
-
title: string;
|
|
9578
|
-
content: string;
|
|
10005
|
+
color?: string | undefined;
|
|
10006
|
+
name: string;
|
|
9579
10007
|
}, options?: {
|
|
9580
10008
|
fetch?: RequestInit | undefined;
|
|
9581
10009
|
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
@@ -9593,8 +10021,12 @@ declare const _createClient: () => {
|
|
|
9593
10021
|
success: true;
|
|
9594
10022
|
statusCode: number;
|
|
9595
10023
|
data: {
|
|
10024
|
+
name: string;
|
|
9596
10025
|
uuid: string;
|
|
9597
|
-
|
|
10026
|
+
createdAt: Date;
|
|
10027
|
+
updatedAt: Date;
|
|
10028
|
+
color: string | null;
|
|
10029
|
+
};
|
|
9598
10030
|
message: null;
|
|
9599
10031
|
error: null;
|
|
9600
10032
|
meta: TResponseMeta;
|
|
@@ -9967,6 +10399,9 @@ declare const _createClient: () => {
|
|
|
9967
10399
|
uuid: string;
|
|
9968
10400
|
email: string;
|
|
9969
10401
|
username: string;
|
|
10402
|
+
profile: {
|
|
10403
|
+
fullname: string;
|
|
10404
|
+
};
|
|
9970
10405
|
} | null;
|
|
9971
10406
|
orderManifests: {
|
|
9972
10407
|
uuid: string;
|
|
@@ -11108,6 +11543,9 @@ declare const _createClient: () => {
|
|
|
11108
11543
|
uuid: string;
|
|
11109
11544
|
email: string;
|
|
11110
11545
|
username: string;
|
|
11546
|
+
profile: {
|
|
11547
|
+
fullname: string;
|
|
11548
|
+
};
|
|
11111
11549
|
} | null;
|
|
11112
11550
|
orderManifests: {
|
|
11113
11551
|
uuid: string;
|
|
@@ -12204,10 +12642,10 @@ declare const _createClient: () => {
|
|
|
12204
12642
|
fulfillmentStatus?: "UNFULFILLED" | "PARTIALLY_FULFILLED" | "FULFILLED" | "RETURNED" | undefined;
|
|
12205
12643
|
limit?: number | undefined;
|
|
12206
12644
|
page?: number | undefined;
|
|
12207
|
-
subtotalAmountFrom?: number | undefined;
|
|
12208
|
-
subtotalAmountTo?: number | undefined;
|
|
12209
12645
|
createdAtFrom?: string | undefined;
|
|
12210
12646
|
createdAtTo?: string | undefined;
|
|
12647
|
+
subtotalAmountFrom?: number | undefined;
|
|
12648
|
+
subtotalAmountTo?: number | undefined;
|
|
12211
12649
|
} | undefined;
|
|
12212
12650
|
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
12213
12651
|
200: {
|
|
@@ -12254,6 +12692,9 @@ declare const _createClient: () => {
|
|
|
12254
12692
|
uuid: string;
|
|
12255
12693
|
email: string;
|
|
12256
12694
|
username: string;
|
|
12695
|
+
profile: {
|
|
12696
|
+
fullname: string;
|
|
12697
|
+
};
|
|
12257
12698
|
} | null;
|
|
12258
12699
|
}[];
|
|
12259
12700
|
pagination: {
|
|
@@ -12289,10 +12730,11 @@ declare const _createClient: () => {
|
|
|
12289
12730
|
query?: {
|
|
12290
12731
|
search?: string | undefined;
|
|
12291
12732
|
customerEmail?: string | undefined;
|
|
12733
|
+
customerUuid?: string | undefined;
|
|
12292
12734
|
limit?: number | undefined;
|
|
12293
12735
|
page?: number | undefined;
|
|
12294
12736
|
isGuest?: boolean | undefined;
|
|
12295
|
-
|
|
12737
|
+
excludeStatus?: "DRAFT" | "PENDING" | "CONFIRMED" | "PROCESSING" | "COMPLETED" | "CANCELLED" | undefined;
|
|
12296
12738
|
excludeUserUuid?: string | undefined;
|
|
12297
12739
|
} | undefined;
|
|
12298
12740
|
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
@@ -13055,15 +13497,15 @@ declare const _createClient: () => {
|
|
|
13055
13497
|
description: string | null;
|
|
13056
13498
|
slug: string;
|
|
13057
13499
|
createdBy: string;
|
|
13500
|
+
productLink: string | null;
|
|
13058
13501
|
standardCost: number | null;
|
|
13059
13502
|
retailCost: number | null;
|
|
13503
|
+
quantity: number | null;
|
|
13060
13504
|
weight: number | null;
|
|
13061
13505
|
weightUnit: string | null;
|
|
13062
13506
|
width: number | null;
|
|
13063
13507
|
height: number | null;
|
|
13064
13508
|
dimensionUnit: string | null;
|
|
13065
|
-
productLink: string | null;
|
|
13066
|
-
quantity: number | null;
|
|
13067
13509
|
country: string | null;
|
|
13068
13510
|
productStatus: "draft" | "review" | "published" | "cancelled";
|
|
13069
13511
|
productType: "regular" | "gift";
|
|
@@ -13086,6 +13528,11 @@ declare const _createClient: () => {
|
|
|
13086
13528
|
id: number;
|
|
13087
13529
|
exchangeRate: number;
|
|
13088
13530
|
} | null;
|
|
13531
|
+
author: {
|
|
13532
|
+
uuid: string;
|
|
13533
|
+
email: string;
|
|
13534
|
+
username: string;
|
|
13535
|
+
};
|
|
13089
13536
|
variants: {
|
|
13090
13537
|
name: string;
|
|
13091
13538
|
uuid: string;
|
|
@@ -13095,7 +13542,6 @@ declare const _createClient: () => {
|
|
|
13095
13542
|
description: string | null;
|
|
13096
13543
|
isActive: boolean | null;
|
|
13097
13544
|
isDefault: boolean | null;
|
|
13098
|
-
sku: string;
|
|
13099
13545
|
standardCost: number | null;
|
|
13100
13546
|
retailCost: number | null;
|
|
13101
13547
|
weight: number | null;
|
|
@@ -13103,6 +13549,7 @@ declare const _createClient: () => {
|
|
|
13103
13549
|
width: number | null;
|
|
13104
13550
|
height: number | null;
|
|
13105
13551
|
dimensionUnit: string | null;
|
|
13552
|
+
sku: string;
|
|
13106
13553
|
isNew: boolean | null;
|
|
13107
13554
|
isSpecial: boolean | null;
|
|
13108
13555
|
options: {
|
|
@@ -13125,11 +13572,6 @@ declare const _createClient: () => {
|
|
|
13125
13572
|
};
|
|
13126
13573
|
};
|
|
13127
13574
|
}[];
|
|
13128
|
-
author: {
|
|
13129
|
-
uuid: string;
|
|
13130
|
-
email: string;
|
|
13131
|
-
username: string;
|
|
13132
|
-
};
|
|
13133
13575
|
parentCategory: {
|
|
13134
13576
|
name: string;
|
|
13135
13577
|
uuid: string;
|
|
@@ -13208,8 +13650,8 @@ declare const _createClient: () => {
|
|
|
13208
13650
|
createdAt: Date | null;
|
|
13209
13651
|
updatedAt: Date | null;
|
|
13210
13652
|
description: string | null;
|
|
13211
|
-
sku: string;
|
|
13212
13653
|
retailCost: number | null;
|
|
13654
|
+
sku: string;
|
|
13213
13655
|
options: {
|
|
13214
13656
|
value: string;
|
|
13215
13657
|
id: number;
|
|
@@ -13311,17 +13753,17 @@ declare const _createClient: () => {
|
|
|
13311
13753
|
createdBy: string;
|
|
13312
13754
|
currencyId: number | null;
|
|
13313
13755
|
seriesUuid: string | null;
|
|
13756
|
+
shortDescription: string | null;
|
|
13757
|
+
richDescription: unknown;
|
|
13758
|
+
productLink: string | null;
|
|
13314
13759
|
standardCost: number | null;
|
|
13315
13760
|
retailCost: number | null;
|
|
13761
|
+
quantity: number | null;
|
|
13316
13762
|
weight: number | null;
|
|
13317
13763
|
weightUnit: string | null;
|
|
13318
13764
|
width: number | null;
|
|
13319
13765
|
height: number | null;
|
|
13320
13766
|
dimensionUnit: string | null;
|
|
13321
|
-
shortDescription: string | null;
|
|
13322
|
-
richDescription: unknown;
|
|
13323
|
-
productLink: string | null;
|
|
13324
|
-
quantity: number | null;
|
|
13325
13767
|
country: string | null;
|
|
13326
13768
|
productStatus: "draft" | "review" | "published" | "cancelled";
|
|
13327
13769
|
productType: "regular" | "gift";
|
|
@@ -13776,15 +14218,15 @@ declare const _createClient: () => {
|
|
|
13776
14218
|
description: string | null;
|
|
13777
14219
|
slug: string;
|
|
13778
14220
|
createdBy: string;
|
|
14221
|
+
productLink: string | null;
|
|
13779
14222
|
standardCost: number | null;
|
|
13780
14223
|
retailCost: number | null;
|
|
14224
|
+
quantity: number | null;
|
|
13781
14225
|
weight: number | null;
|
|
13782
14226
|
weightUnit: string | null;
|
|
13783
14227
|
width: number | null;
|
|
13784
14228
|
height: number | null;
|
|
13785
14229
|
dimensionUnit: string | null;
|
|
13786
|
-
productLink: string | null;
|
|
13787
|
-
quantity: number | null;
|
|
13788
14230
|
country: string | null;
|
|
13789
14231
|
productStatus: "draft" | "review" | "published" | "cancelled";
|
|
13790
14232
|
productType: "regular" | "gift";
|
|
@@ -13807,6 +14249,11 @@ declare const _createClient: () => {
|
|
|
13807
14249
|
id: number;
|
|
13808
14250
|
exchangeRate: number;
|
|
13809
14251
|
} | null;
|
|
14252
|
+
author: {
|
|
14253
|
+
uuid: string;
|
|
14254
|
+
email: string;
|
|
14255
|
+
username: string;
|
|
14256
|
+
};
|
|
13810
14257
|
variants: {
|
|
13811
14258
|
name: string;
|
|
13812
14259
|
uuid: string;
|
|
@@ -13816,7 +14263,6 @@ declare const _createClient: () => {
|
|
|
13816
14263
|
description: string | null;
|
|
13817
14264
|
isActive: boolean | null;
|
|
13818
14265
|
isDefault: boolean | null;
|
|
13819
|
-
sku: string;
|
|
13820
14266
|
standardCost: number | null;
|
|
13821
14267
|
retailCost: number | null;
|
|
13822
14268
|
weight: number | null;
|
|
@@ -13824,6 +14270,7 @@ declare const _createClient: () => {
|
|
|
13824
14270
|
width: number | null;
|
|
13825
14271
|
height: number | null;
|
|
13826
14272
|
dimensionUnit: string | null;
|
|
14273
|
+
sku: string;
|
|
13827
14274
|
isNew: boolean | null;
|
|
13828
14275
|
isSpecial: boolean | null;
|
|
13829
14276
|
options: {
|
|
@@ -13846,11 +14293,6 @@ declare const _createClient: () => {
|
|
|
13846
14293
|
};
|
|
13847
14294
|
};
|
|
13848
14295
|
}[];
|
|
13849
|
-
author: {
|
|
13850
|
-
uuid: string;
|
|
13851
|
-
email: string;
|
|
13852
|
-
username: string;
|
|
13853
|
-
};
|
|
13854
14296
|
parentCategory: {
|
|
13855
14297
|
name: string;
|
|
13856
14298
|
uuid: string;
|
|
@@ -13929,8 +14371,8 @@ declare const _createClient: () => {
|
|
|
13929
14371
|
createdAt: Date | null;
|
|
13930
14372
|
updatedAt: Date | null;
|
|
13931
14373
|
description: string | null;
|
|
13932
|
-
sku: string;
|
|
13933
14374
|
retailCost: number | null;
|
|
14375
|
+
sku: string;
|
|
13934
14376
|
options: {
|
|
13935
14377
|
value: string;
|
|
13936
14378
|
id: number;
|
|
@@ -14032,17 +14474,17 @@ declare const _createClient: () => {
|
|
|
14032
14474
|
createdBy: string;
|
|
14033
14475
|
currencyId: number | null;
|
|
14034
14476
|
seriesUuid: string | null;
|
|
14477
|
+
shortDescription: string | null;
|
|
14478
|
+
richDescription: unknown;
|
|
14479
|
+
productLink: string | null;
|
|
14035
14480
|
standardCost: number | null;
|
|
14036
14481
|
retailCost: number | null;
|
|
14482
|
+
quantity: number | null;
|
|
14037
14483
|
weight: number | null;
|
|
14038
14484
|
weightUnit: string | null;
|
|
14039
14485
|
width: number | null;
|
|
14040
14486
|
height: number | null;
|
|
14041
14487
|
dimensionUnit: string | null;
|
|
14042
|
-
shortDescription: string | null;
|
|
14043
|
-
richDescription: unknown;
|
|
14044
|
-
productLink: string | null;
|
|
14045
|
-
quantity: number | null;
|
|
14046
14488
|
country: string | null;
|
|
14047
14489
|
productStatus: "draft" | "review" | "published" | "cancelled";
|
|
14048
14490
|
productType: "regular" | "gift";
|
|
@@ -18002,6 +18444,41 @@ declare const _createClient: () => {
|
|
|
18002
18444
|
} & {
|
|
18003
18445
|
'~path': string;
|
|
18004
18446
|
};
|
|
18447
|
+
delete: ((body?: {} | undefined, options?: {
|
|
18448
|
+
fetch?: RequestInit | undefined;
|
|
18449
|
+
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
18450
|
+
headers?: {} | undefined;
|
|
18451
|
+
query?: {} | undefined;
|
|
18452
|
+
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
18453
|
+
200: {
|
|
18454
|
+
success: false;
|
|
18455
|
+
statusCode: number;
|
|
18456
|
+
data: null;
|
|
18457
|
+
message: string;
|
|
18458
|
+
error: TResponseError;
|
|
18459
|
+
meta: TResponseMeta;
|
|
18460
|
+
} | {
|
|
18461
|
+
success: true;
|
|
18462
|
+
statusCode: number;
|
|
18463
|
+
data: {
|
|
18464
|
+
order: ViettelPostRaw;
|
|
18465
|
+
};
|
|
18466
|
+
message: null;
|
|
18467
|
+
error: null;
|
|
18468
|
+
meta: TResponseMeta;
|
|
18469
|
+
};
|
|
18470
|
+
422: {
|
|
18471
|
+
type: "validation";
|
|
18472
|
+
on: string;
|
|
18473
|
+
summary?: string;
|
|
18474
|
+
message?: string;
|
|
18475
|
+
found?: unknown;
|
|
18476
|
+
property?: string;
|
|
18477
|
+
expected?: string;
|
|
18478
|
+
};
|
|
18479
|
+
}>>) & {
|
|
18480
|
+
'~path': string;
|
|
18481
|
+
};
|
|
18005
18482
|
'~path': string;
|
|
18006
18483
|
} & {
|
|
18007
18484
|
get: ((options?: {
|
|
@@ -18083,6 +18560,41 @@ declare const _createClient: () => {
|
|
|
18083
18560
|
} & {
|
|
18084
18561
|
'~path': string;
|
|
18085
18562
|
};
|
|
18563
|
+
delete: ((body?: {} | undefined, options?: {
|
|
18564
|
+
fetch?: RequestInit | undefined;
|
|
18565
|
+
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
18566
|
+
headers?: {} | undefined;
|
|
18567
|
+
query?: {} | undefined;
|
|
18568
|
+
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
18569
|
+
200: {
|
|
18570
|
+
success: false;
|
|
18571
|
+
statusCode: number;
|
|
18572
|
+
data: null;
|
|
18573
|
+
message: string;
|
|
18574
|
+
error: TResponseError;
|
|
18575
|
+
meta: TResponseMeta;
|
|
18576
|
+
} | {
|
|
18577
|
+
success: true;
|
|
18578
|
+
statusCode: number;
|
|
18579
|
+
data: {
|
|
18580
|
+
order: ViettelPostRaw;
|
|
18581
|
+
};
|
|
18582
|
+
message: null;
|
|
18583
|
+
error: null;
|
|
18584
|
+
meta: TResponseMeta;
|
|
18585
|
+
};
|
|
18586
|
+
422: {
|
|
18587
|
+
type: "validation";
|
|
18588
|
+
on: string;
|
|
18589
|
+
summary?: string;
|
|
18590
|
+
message?: string;
|
|
18591
|
+
found?: unknown;
|
|
18592
|
+
property?: string;
|
|
18593
|
+
expected?: string;
|
|
18594
|
+
};
|
|
18595
|
+
}>>) & {
|
|
18596
|
+
'~path': string;
|
|
18597
|
+
};
|
|
18086
18598
|
}) & {
|
|
18087
18599
|
post: ((body: {
|
|
18088
18600
|
senderFullname: string;
|
|
@@ -20242,6 +20754,10 @@ declare const _createClient: () => {
|
|
|
20242
20754
|
order_invoice_number: string;
|
|
20243
20755
|
custom_data: any[];
|
|
20244
20756
|
};
|
|
20757
|
+
customer: {
|
|
20758
|
+
id: string;
|
|
20759
|
+
customer_id: string;
|
|
20760
|
+
} | null;
|
|
20245
20761
|
transaction: {
|
|
20246
20762
|
id: string;
|
|
20247
20763
|
payment_method: string;
|
|
@@ -20255,10 +20771,6 @@ declare const _createClient: () => {
|
|
|
20255
20771
|
timestamp: number;
|
|
20256
20772
|
notification_type: "ORDER_PAID" | "TRANSACTION_VOID";
|
|
20257
20773
|
agreement: any;
|
|
20258
|
-
customer: {
|
|
20259
|
-
id: string;
|
|
20260
|
-
customer_id: string;
|
|
20261
|
-
} | null;
|
|
20262
20774
|
}, options?: {
|
|
20263
20775
|
fetch?: RequestInit | undefined;
|
|
20264
20776
|
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|