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