@customafk/lunas-api-sdk 0.0.91 → 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 +477 -45
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +477 -45
- 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,60 @@ 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";
|
|
9226
9232
|
uuid: string;
|
|
9227
9233
|
createdAt: Date;
|
|
9228
9234
|
updatedAt: Date;
|
|
9235
|
+
deletedAt: Date | null;
|
|
9236
|
+
createdBy: string | null;
|
|
9237
|
+
updatedBy: string | null;
|
|
9229
9238
|
title: string;
|
|
9230
9239
|
content: string;
|
|
9231
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;
|
|
9232
9279
|
};
|
|
9233
9280
|
message: null;
|
|
9234
9281
|
error: null;
|
|
@@ -9249,6 +9296,7 @@ declare const _createClient: () => {
|
|
|
9249
9296
|
patch: ((body?: {
|
|
9250
9297
|
title?: string | undefined;
|
|
9251
9298
|
content?: string | undefined;
|
|
9299
|
+
labelUuids?: string[] | undefined;
|
|
9252
9300
|
} | undefined, options?: {
|
|
9253
9301
|
fetch?: RequestInit | undefined;
|
|
9254
9302
|
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
@@ -9373,13 +9421,60 @@ declare const _createClient: () => {
|
|
|
9373
9421
|
success: true;
|
|
9374
9422
|
statusCode: number;
|
|
9375
9423
|
data: {
|
|
9376
|
-
|
|
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";
|
|
9377
9431
|
uuid: string;
|
|
9378
9432
|
createdAt: Date;
|
|
9379
9433
|
updatedAt: Date;
|
|
9434
|
+
deletedAt: Date | null;
|
|
9435
|
+
createdBy: string | null;
|
|
9436
|
+
updatedBy: string | null;
|
|
9380
9437
|
title: string;
|
|
9381
9438
|
content: string;
|
|
9382
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;
|
|
9383
9478
|
};
|
|
9384
9479
|
message: null;
|
|
9385
9480
|
error: null;
|
|
@@ -9400,6 +9495,7 @@ declare const _createClient: () => {
|
|
|
9400
9495
|
patch: ((body?: {
|
|
9401
9496
|
title?: string | undefined;
|
|
9402
9497
|
content?: string | undefined;
|
|
9498
|
+
labelUuids?: string[] | undefined;
|
|
9403
9499
|
} | undefined, options?: {
|
|
9404
9500
|
fetch?: RequestInit | undefined;
|
|
9405
9501
|
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
@@ -9511,11 +9607,17 @@ declare const _createClient: () => {
|
|
|
9511
9607
|
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
9512
9608
|
headers?: {} | undefined;
|
|
9513
9609
|
query?: {
|
|
9514
|
-
type?: "
|
|
9610
|
+
type?: "ORDER_NOTE" | "PRODUCT_NOTE" | "CUSTOMER_NOTE" | "OTHER" | undefined;
|
|
9515
9611
|
search?: string | undefined;
|
|
9612
|
+
createdBy?: string | undefined;
|
|
9613
|
+
labelUuid?: string | undefined;
|
|
9614
|
+
customerId?: string | undefined;
|
|
9516
9615
|
limit?: number | undefined;
|
|
9517
9616
|
page?: number | undefined;
|
|
9518
9617
|
orderId?: string | undefined;
|
|
9618
|
+
productId?: string | undefined;
|
|
9619
|
+
createdAtFrom?: string | undefined;
|
|
9620
|
+
createdAtTo?: string | undefined;
|
|
9519
9621
|
} | undefined;
|
|
9520
9622
|
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
9521
9623
|
200: {
|
|
@@ -9530,7 +9632,13 @@ declare const _createClient: () => {
|
|
|
9530
9632
|
statusCode: number;
|
|
9531
9633
|
data: {
|
|
9532
9634
|
data: {
|
|
9533
|
-
|
|
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";
|
|
9534
9642
|
uuid: string;
|
|
9535
9643
|
createdAt: Date;
|
|
9536
9644
|
updatedAt: Date;
|
|
@@ -9545,6 +9653,18 @@ declare const _createClient: () => {
|
|
|
9545
9653
|
orderCode: string;
|
|
9546
9654
|
};
|
|
9547
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;
|
|
9548
9668
|
}[];
|
|
9549
9669
|
pagination: {
|
|
9550
9670
|
page: number;
|
|
@@ -9572,8 +9692,11 @@ declare const _createClient: () => {
|
|
|
9572
9692
|
'~path': string;
|
|
9573
9693
|
};
|
|
9574
9694
|
post: ((body: {
|
|
9695
|
+
customerId?: string | undefined;
|
|
9575
9696
|
orderId?: string | undefined;
|
|
9576
|
-
|
|
9697
|
+
productId?: string | undefined;
|
|
9698
|
+
labelUuids?: string[] | undefined;
|
|
9699
|
+
type: "ORDER_NOTE" | "PRODUCT_NOTE" | "CUSTOMER_NOTE" | "OTHER";
|
|
9577
9700
|
title: string;
|
|
9578
9701
|
content: string;
|
|
9579
9702
|
}, options?: {
|
|
@@ -9611,6 +9734,315 @@ declare const _createClient: () => {
|
|
|
9611
9734
|
}>>) & {
|
|
9612
9735
|
'~path': string;
|
|
9613
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?: {
|
|
9859
|
+
fetch?: RequestInit | undefined;
|
|
9860
|
+
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
9861
|
+
headers?: {} | undefined;
|
|
9862
|
+
query?: {} | undefined;
|
|
9863
|
+
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
9864
|
+
200: {
|
|
9865
|
+
success: true;
|
|
9866
|
+
statusCode: number;
|
|
9867
|
+
data: null;
|
|
9868
|
+
message: string;
|
|
9869
|
+
error: null;
|
|
9870
|
+
meta: TResponseMeta;
|
|
9871
|
+
} | {
|
|
9872
|
+
success: false;
|
|
9873
|
+
statusCode: number;
|
|
9874
|
+
data: null;
|
|
9875
|
+
message: string;
|
|
9876
|
+
error: TResponseError;
|
|
9877
|
+
meta: TResponseMeta;
|
|
9878
|
+
};
|
|
9879
|
+
422: {
|
|
9880
|
+
type: "validation";
|
|
9881
|
+
on: string;
|
|
9882
|
+
summary?: string;
|
|
9883
|
+
message?: string;
|
|
9884
|
+
found?: unknown;
|
|
9885
|
+
property?: string;
|
|
9886
|
+
expected?: string;
|
|
9887
|
+
};
|
|
9888
|
+
}>>) & {
|
|
9889
|
+
'~path': string;
|
|
9890
|
+
};
|
|
9891
|
+
'~path': string;
|
|
9892
|
+
} & {
|
|
9893
|
+
patch: ((body?: {
|
|
9894
|
+
name?: string | undefined;
|
|
9895
|
+
color?: string | undefined;
|
|
9896
|
+
} | undefined, options?: {
|
|
9897
|
+
fetch?: RequestInit | undefined;
|
|
9898
|
+
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
9899
|
+
headers?: {} | undefined;
|
|
9900
|
+
query?: {} | undefined;
|
|
9901
|
+
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
9902
|
+
200: {
|
|
9903
|
+
success: true;
|
|
9904
|
+
statusCode: number;
|
|
9905
|
+
data: null;
|
|
9906
|
+
message: string;
|
|
9907
|
+
error: null;
|
|
9908
|
+
meta: TResponseMeta;
|
|
9909
|
+
} | {
|
|
9910
|
+
success: false;
|
|
9911
|
+
statusCode: number;
|
|
9912
|
+
data: null;
|
|
9913
|
+
message: string;
|
|
9914
|
+
error: TResponseError;
|
|
9915
|
+
meta: TResponseMeta;
|
|
9916
|
+
};
|
|
9917
|
+
422: {
|
|
9918
|
+
type: "validation";
|
|
9919
|
+
on: string;
|
|
9920
|
+
summary?: string;
|
|
9921
|
+
message?: string;
|
|
9922
|
+
found?: unknown;
|
|
9923
|
+
property?: string;
|
|
9924
|
+
expected?: string;
|
|
9925
|
+
};
|
|
9926
|
+
}>>) & {
|
|
9927
|
+
'~path': string;
|
|
9928
|
+
};
|
|
9929
|
+
delete: ((body?: {} | undefined, options?: {
|
|
9930
|
+
fetch?: RequestInit | undefined;
|
|
9931
|
+
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
9932
|
+
headers?: {} | undefined;
|
|
9933
|
+
query?: {} | undefined;
|
|
9934
|
+
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
9935
|
+
200: {
|
|
9936
|
+
success: true;
|
|
9937
|
+
statusCode: number;
|
|
9938
|
+
data: null;
|
|
9939
|
+
message: string;
|
|
9940
|
+
error: null;
|
|
9941
|
+
meta: TResponseMeta;
|
|
9942
|
+
} | {
|
|
9943
|
+
success: false;
|
|
9944
|
+
statusCode: number;
|
|
9945
|
+
data: null;
|
|
9946
|
+
message: string;
|
|
9947
|
+
error: TResponseError;
|
|
9948
|
+
meta: TResponseMeta;
|
|
9949
|
+
};
|
|
9950
|
+
422: {
|
|
9951
|
+
type: "validation";
|
|
9952
|
+
on: string;
|
|
9953
|
+
summary?: string;
|
|
9954
|
+
message?: string;
|
|
9955
|
+
found?: unknown;
|
|
9956
|
+
property?: string;
|
|
9957
|
+
expected?: string;
|
|
9958
|
+
};
|
|
9959
|
+
}>>) & {
|
|
9960
|
+
'~path': string;
|
|
9961
|
+
};
|
|
9962
|
+
}) & {
|
|
9963
|
+
get: ((options?: {
|
|
9964
|
+
fetch?: RequestInit | undefined;
|
|
9965
|
+
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
9966
|
+
headers?: {} | undefined;
|
|
9967
|
+
query?: {
|
|
9968
|
+
search?: string | undefined;
|
|
9969
|
+
} | undefined;
|
|
9970
|
+
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
9971
|
+
200: {
|
|
9972
|
+
success: false;
|
|
9973
|
+
statusCode: number;
|
|
9974
|
+
data: null;
|
|
9975
|
+
message: string;
|
|
9976
|
+
error: TResponseError;
|
|
9977
|
+
meta: TResponseMeta;
|
|
9978
|
+
} | {
|
|
9979
|
+
success: true;
|
|
9980
|
+
statusCode: number;
|
|
9981
|
+
data: {
|
|
9982
|
+
name: string;
|
|
9983
|
+
uuid: string;
|
|
9984
|
+
createdAt: Date;
|
|
9985
|
+
updatedAt: Date;
|
|
9986
|
+
color: string | null;
|
|
9987
|
+
}[];
|
|
9988
|
+
message: null;
|
|
9989
|
+
error: null;
|
|
9990
|
+
meta: TResponseMeta;
|
|
9991
|
+
};
|
|
9992
|
+
422: {
|
|
9993
|
+
type: "validation";
|
|
9994
|
+
on: string;
|
|
9995
|
+
summary?: string;
|
|
9996
|
+
message?: string;
|
|
9997
|
+
found?: unknown;
|
|
9998
|
+
property?: string;
|
|
9999
|
+
expected?: string;
|
|
10000
|
+
};
|
|
10001
|
+
}>>) & {
|
|
10002
|
+
'~path': string;
|
|
10003
|
+
};
|
|
10004
|
+
post: ((body: {
|
|
10005
|
+
color?: string | undefined;
|
|
10006
|
+
name: string;
|
|
10007
|
+
}, options?: {
|
|
10008
|
+
fetch?: RequestInit | undefined;
|
|
10009
|
+
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
10010
|
+
headers?: {} | undefined;
|
|
10011
|
+
query?: {} | undefined;
|
|
10012
|
+
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
10013
|
+
200: {
|
|
10014
|
+
success: false;
|
|
10015
|
+
statusCode: number;
|
|
10016
|
+
data: null;
|
|
10017
|
+
message: string;
|
|
10018
|
+
error: TResponseError;
|
|
10019
|
+
meta: TResponseMeta;
|
|
10020
|
+
} | {
|
|
10021
|
+
success: true;
|
|
10022
|
+
statusCode: number;
|
|
10023
|
+
data: {
|
|
10024
|
+
name: string;
|
|
10025
|
+
uuid: string;
|
|
10026
|
+
createdAt: Date;
|
|
10027
|
+
updatedAt: Date;
|
|
10028
|
+
color: string | null;
|
|
10029
|
+
};
|
|
10030
|
+
message: null;
|
|
10031
|
+
error: null;
|
|
10032
|
+
meta: TResponseMeta;
|
|
10033
|
+
};
|
|
10034
|
+
422: {
|
|
10035
|
+
type: "validation";
|
|
10036
|
+
on: string;
|
|
10037
|
+
summary?: string;
|
|
10038
|
+
message?: string;
|
|
10039
|
+
found?: unknown;
|
|
10040
|
+
property?: string;
|
|
10041
|
+
expected?: string;
|
|
10042
|
+
};
|
|
10043
|
+
}>>) & {
|
|
10044
|
+
'~path': string;
|
|
10045
|
+
};
|
|
9614
10046
|
} & {
|
|
9615
10047
|
'~path': string;
|
|
9616
10048
|
};
|
|
@@ -12210,10 +12642,10 @@ declare const _createClient: () => {
|
|
|
12210
12642
|
fulfillmentStatus?: "UNFULFILLED" | "PARTIALLY_FULFILLED" | "FULFILLED" | "RETURNED" | undefined;
|
|
12211
12643
|
limit?: number | undefined;
|
|
12212
12644
|
page?: number | undefined;
|
|
12213
|
-
subtotalAmountFrom?: number | undefined;
|
|
12214
|
-
subtotalAmountTo?: number | undefined;
|
|
12215
12645
|
createdAtFrom?: string | undefined;
|
|
12216
12646
|
createdAtTo?: string | undefined;
|
|
12647
|
+
subtotalAmountFrom?: number | undefined;
|
|
12648
|
+
subtotalAmountTo?: number | undefined;
|
|
12217
12649
|
} | undefined;
|
|
12218
12650
|
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
12219
12651
|
200: {
|
|
@@ -12298,10 +12730,10 @@ declare const _createClient: () => {
|
|
|
12298
12730
|
query?: {
|
|
12299
12731
|
search?: string | undefined;
|
|
12300
12732
|
customerEmail?: string | undefined;
|
|
12733
|
+
customerUuid?: string | undefined;
|
|
12301
12734
|
limit?: number | undefined;
|
|
12302
12735
|
page?: number | undefined;
|
|
12303
12736
|
isGuest?: boolean | undefined;
|
|
12304
|
-
customerUuid?: string | undefined;
|
|
12305
12737
|
excludeStatus?: "DRAFT" | "PENDING" | "CONFIRMED" | "PROCESSING" | "COMPLETED" | "CANCELLED" | undefined;
|
|
12306
12738
|
excludeUserUuid?: string | undefined;
|
|
12307
12739
|
} | undefined;
|
|
@@ -13065,15 +13497,15 @@ declare const _createClient: () => {
|
|
|
13065
13497
|
description: string | null;
|
|
13066
13498
|
slug: string;
|
|
13067
13499
|
createdBy: string;
|
|
13500
|
+
productLink: string | null;
|
|
13068
13501
|
standardCost: number | null;
|
|
13069
13502
|
retailCost: number | null;
|
|
13503
|
+
quantity: number | null;
|
|
13070
13504
|
weight: number | null;
|
|
13071
13505
|
weightUnit: string | null;
|
|
13072
13506
|
width: number | null;
|
|
13073
13507
|
height: number | null;
|
|
13074
13508
|
dimensionUnit: string | null;
|
|
13075
|
-
productLink: string | null;
|
|
13076
|
-
quantity: number | null;
|
|
13077
13509
|
country: string | null;
|
|
13078
13510
|
productStatus: "draft" | "review" | "published" | "cancelled";
|
|
13079
13511
|
productType: "regular" | "gift";
|
|
@@ -13096,6 +13528,11 @@ declare const _createClient: () => {
|
|
|
13096
13528
|
id: number;
|
|
13097
13529
|
exchangeRate: number;
|
|
13098
13530
|
} | null;
|
|
13531
|
+
author: {
|
|
13532
|
+
uuid: string;
|
|
13533
|
+
email: string;
|
|
13534
|
+
username: string;
|
|
13535
|
+
};
|
|
13099
13536
|
variants: {
|
|
13100
13537
|
name: string;
|
|
13101
13538
|
uuid: string;
|
|
@@ -13105,7 +13542,6 @@ declare const _createClient: () => {
|
|
|
13105
13542
|
description: string | null;
|
|
13106
13543
|
isActive: boolean | null;
|
|
13107
13544
|
isDefault: boolean | null;
|
|
13108
|
-
sku: string;
|
|
13109
13545
|
standardCost: number | null;
|
|
13110
13546
|
retailCost: number | null;
|
|
13111
13547
|
weight: number | null;
|
|
@@ -13113,6 +13549,7 @@ declare const _createClient: () => {
|
|
|
13113
13549
|
width: number | null;
|
|
13114
13550
|
height: number | null;
|
|
13115
13551
|
dimensionUnit: string | null;
|
|
13552
|
+
sku: string;
|
|
13116
13553
|
isNew: boolean | null;
|
|
13117
13554
|
isSpecial: boolean | null;
|
|
13118
13555
|
options: {
|
|
@@ -13135,11 +13572,6 @@ declare const _createClient: () => {
|
|
|
13135
13572
|
};
|
|
13136
13573
|
};
|
|
13137
13574
|
}[];
|
|
13138
|
-
author: {
|
|
13139
|
-
uuid: string;
|
|
13140
|
-
email: string;
|
|
13141
|
-
username: string;
|
|
13142
|
-
};
|
|
13143
13575
|
parentCategory: {
|
|
13144
13576
|
name: string;
|
|
13145
13577
|
uuid: string;
|
|
@@ -13218,8 +13650,8 @@ declare const _createClient: () => {
|
|
|
13218
13650
|
createdAt: Date | null;
|
|
13219
13651
|
updatedAt: Date | null;
|
|
13220
13652
|
description: string | null;
|
|
13221
|
-
sku: string;
|
|
13222
13653
|
retailCost: number | null;
|
|
13654
|
+
sku: string;
|
|
13223
13655
|
options: {
|
|
13224
13656
|
value: string;
|
|
13225
13657
|
id: number;
|
|
@@ -13321,17 +13753,17 @@ declare const _createClient: () => {
|
|
|
13321
13753
|
createdBy: string;
|
|
13322
13754
|
currencyId: number | null;
|
|
13323
13755
|
seriesUuid: string | null;
|
|
13756
|
+
shortDescription: string | null;
|
|
13757
|
+
richDescription: unknown;
|
|
13758
|
+
productLink: string | null;
|
|
13324
13759
|
standardCost: number | null;
|
|
13325
13760
|
retailCost: number | null;
|
|
13761
|
+
quantity: number | null;
|
|
13326
13762
|
weight: number | null;
|
|
13327
13763
|
weightUnit: string | null;
|
|
13328
13764
|
width: number | null;
|
|
13329
13765
|
height: number | null;
|
|
13330
13766
|
dimensionUnit: string | null;
|
|
13331
|
-
shortDescription: string | null;
|
|
13332
|
-
richDescription: unknown;
|
|
13333
|
-
productLink: string | null;
|
|
13334
|
-
quantity: number | null;
|
|
13335
13767
|
country: string | null;
|
|
13336
13768
|
productStatus: "draft" | "review" | "published" | "cancelled";
|
|
13337
13769
|
productType: "regular" | "gift";
|
|
@@ -13786,15 +14218,15 @@ declare const _createClient: () => {
|
|
|
13786
14218
|
description: string | null;
|
|
13787
14219
|
slug: string;
|
|
13788
14220
|
createdBy: string;
|
|
14221
|
+
productLink: string | null;
|
|
13789
14222
|
standardCost: number | null;
|
|
13790
14223
|
retailCost: number | null;
|
|
14224
|
+
quantity: number | null;
|
|
13791
14225
|
weight: number | null;
|
|
13792
14226
|
weightUnit: string | null;
|
|
13793
14227
|
width: number | null;
|
|
13794
14228
|
height: number | null;
|
|
13795
14229
|
dimensionUnit: string | null;
|
|
13796
|
-
productLink: string | null;
|
|
13797
|
-
quantity: number | null;
|
|
13798
14230
|
country: string | null;
|
|
13799
14231
|
productStatus: "draft" | "review" | "published" | "cancelled";
|
|
13800
14232
|
productType: "regular" | "gift";
|
|
@@ -13817,6 +14249,11 @@ declare const _createClient: () => {
|
|
|
13817
14249
|
id: number;
|
|
13818
14250
|
exchangeRate: number;
|
|
13819
14251
|
} | null;
|
|
14252
|
+
author: {
|
|
14253
|
+
uuid: string;
|
|
14254
|
+
email: string;
|
|
14255
|
+
username: string;
|
|
14256
|
+
};
|
|
13820
14257
|
variants: {
|
|
13821
14258
|
name: string;
|
|
13822
14259
|
uuid: string;
|
|
@@ -13826,7 +14263,6 @@ declare const _createClient: () => {
|
|
|
13826
14263
|
description: string | null;
|
|
13827
14264
|
isActive: boolean | null;
|
|
13828
14265
|
isDefault: boolean | null;
|
|
13829
|
-
sku: string;
|
|
13830
14266
|
standardCost: number | null;
|
|
13831
14267
|
retailCost: number | null;
|
|
13832
14268
|
weight: number | null;
|
|
@@ -13834,6 +14270,7 @@ declare const _createClient: () => {
|
|
|
13834
14270
|
width: number | null;
|
|
13835
14271
|
height: number | null;
|
|
13836
14272
|
dimensionUnit: string | null;
|
|
14273
|
+
sku: string;
|
|
13837
14274
|
isNew: boolean | null;
|
|
13838
14275
|
isSpecial: boolean | null;
|
|
13839
14276
|
options: {
|
|
@@ -13856,11 +14293,6 @@ declare const _createClient: () => {
|
|
|
13856
14293
|
};
|
|
13857
14294
|
};
|
|
13858
14295
|
}[];
|
|
13859
|
-
author: {
|
|
13860
|
-
uuid: string;
|
|
13861
|
-
email: string;
|
|
13862
|
-
username: string;
|
|
13863
|
-
};
|
|
13864
14296
|
parentCategory: {
|
|
13865
14297
|
name: string;
|
|
13866
14298
|
uuid: string;
|
|
@@ -13939,8 +14371,8 @@ declare const _createClient: () => {
|
|
|
13939
14371
|
createdAt: Date | null;
|
|
13940
14372
|
updatedAt: Date | null;
|
|
13941
14373
|
description: string | null;
|
|
13942
|
-
sku: string;
|
|
13943
14374
|
retailCost: number | null;
|
|
14375
|
+
sku: string;
|
|
13944
14376
|
options: {
|
|
13945
14377
|
value: string;
|
|
13946
14378
|
id: number;
|
|
@@ -14042,17 +14474,17 @@ declare const _createClient: () => {
|
|
|
14042
14474
|
createdBy: string;
|
|
14043
14475
|
currencyId: number | null;
|
|
14044
14476
|
seriesUuid: string | null;
|
|
14477
|
+
shortDescription: string | null;
|
|
14478
|
+
richDescription: unknown;
|
|
14479
|
+
productLink: string | null;
|
|
14045
14480
|
standardCost: number | null;
|
|
14046
14481
|
retailCost: number | null;
|
|
14482
|
+
quantity: number | null;
|
|
14047
14483
|
weight: number | null;
|
|
14048
14484
|
weightUnit: string | null;
|
|
14049
14485
|
width: number | null;
|
|
14050
14486
|
height: number | null;
|
|
14051
14487
|
dimensionUnit: string | null;
|
|
14052
|
-
shortDescription: string | null;
|
|
14053
|
-
richDescription: unknown;
|
|
14054
|
-
productLink: string | null;
|
|
14055
|
-
quantity: number | null;
|
|
14056
14488
|
country: string | null;
|
|
14057
14489
|
productStatus: "draft" | "review" | "published" | "cancelled";
|
|
14058
14490
|
productType: "regular" | "gift";
|
|
@@ -20322,6 +20754,10 @@ declare const _createClient: () => {
|
|
|
20322
20754
|
order_invoice_number: string;
|
|
20323
20755
|
custom_data: any[];
|
|
20324
20756
|
};
|
|
20757
|
+
customer: {
|
|
20758
|
+
id: string;
|
|
20759
|
+
customer_id: string;
|
|
20760
|
+
} | null;
|
|
20325
20761
|
transaction: {
|
|
20326
20762
|
id: string;
|
|
20327
20763
|
payment_method: string;
|
|
@@ -20335,10 +20771,6 @@ declare const _createClient: () => {
|
|
|
20335
20771
|
timestamp: number;
|
|
20336
20772
|
notification_type: "ORDER_PAID" | "TRANSACTION_VOID";
|
|
20337
20773
|
agreement: any;
|
|
20338
|
-
customer: {
|
|
20339
|
-
id: string;
|
|
20340
|
-
customer_id: string;
|
|
20341
|
-
} | null;
|
|
20342
20774
|
}, options?: {
|
|
20343
20775
|
fetch?: RequestInit | undefined;
|
|
20344
20776
|
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|