@customafk/lunas-api-sdk 0.0.71 → 0.0.73
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.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +917 -429
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +917 -429
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -100,7 +100,7 @@ type TResponseError = {
|
|
|
100
100
|
message: string;
|
|
101
101
|
reference?: string | null;
|
|
102
102
|
fields?: {
|
|
103
|
-
[key: string]: string
|
|
103
|
+
[key: string]: string;
|
|
104
104
|
};
|
|
105
105
|
};
|
|
106
106
|
type TResponseMeta = {
|
|
@@ -145,8 +145,8 @@ declare const _func: () => {
|
|
|
145
145
|
v1: {
|
|
146
146
|
auth: {
|
|
147
147
|
get: (options?: {
|
|
148
|
-
headers?:
|
|
149
|
-
query?:
|
|
148
|
+
headers?: {} | undefined;
|
|
149
|
+
query?: {} | undefined;
|
|
150
150
|
fetch?: RequestInit | undefined;
|
|
151
151
|
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
152
152
|
200: string;
|
|
@@ -309,20 +309,6 @@ declare const _func: () => {
|
|
|
309
309
|
message: string;
|
|
310
310
|
error: TResponseError;
|
|
311
311
|
meta: TResponseMeta;
|
|
312
|
-
} | {
|
|
313
|
-
success: false;
|
|
314
|
-
statusCode: number;
|
|
315
|
-
data: null;
|
|
316
|
-
message: string;
|
|
317
|
-
error: TResponseError;
|
|
318
|
-
meta: TResponseMeta;
|
|
319
|
-
} | {
|
|
320
|
-
success: true;
|
|
321
|
-
statusCode: number;
|
|
322
|
-
data: undefined;
|
|
323
|
-
message: null;
|
|
324
|
-
error: null;
|
|
325
|
-
meta: TResponseMeta;
|
|
326
312
|
};
|
|
327
313
|
}>>;
|
|
328
314
|
};
|
|
@@ -386,6 +372,78 @@ declare const _func: () => {
|
|
|
386
372
|
expected?: string;
|
|
387
373
|
};
|
|
388
374
|
}>>;
|
|
375
|
+
patch: (body?: {
|
|
376
|
+
role?: ERole | undefined;
|
|
377
|
+
isActive?: boolean | undefined;
|
|
378
|
+
fullname?: string | undefined;
|
|
379
|
+
phoneNumber?: string | undefined;
|
|
380
|
+
bio?: string | undefined;
|
|
381
|
+
gender?: number | undefined;
|
|
382
|
+
dateOfBirth?: string | undefined;
|
|
383
|
+
} | undefined, options?: {
|
|
384
|
+
headers?: {} | undefined;
|
|
385
|
+
query?: {} | undefined;
|
|
386
|
+
fetch?: RequestInit | undefined;
|
|
387
|
+
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
388
|
+
200: {
|
|
389
|
+
success: true;
|
|
390
|
+
statusCode: number;
|
|
391
|
+
data: null;
|
|
392
|
+
message: string;
|
|
393
|
+
error: null;
|
|
394
|
+
meta: TResponseMeta;
|
|
395
|
+
} | {
|
|
396
|
+
success: false;
|
|
397
|
+
statusCode: number;
|
|
398
|
+
data: null;
|
|
399
|
+
message: string;
|
|
400
|
+
error: TResponseError;
|
|
401
|
+
meta: TResponseMeta;
|
|
402
|
+
};
|
|
403
|
+
422: {
|
|
404
|
+
type: "validation";
|
|
405
|
+
on: string;
|
|
406
|
+
summary?: string;
|
|
407
|
+
message?: string;
|
|
408
|
+
found?: unknown;
|
|
409
|
+
property?: string;
|
|
410
|
+
expected?: string;
|
|
411
|
+
};
|
|
412
|
+
}>>;
|
|
413
|
+
password: {
|
|
414
|
+
patch: (body: {
|
|
415
|
+
password: string;
|
|
416
|
+
}, options?: {
|
|
417
|
+
headers?: {} | undefined;
|
|
418
|
+
query?: {} | undefined;
|
|
419
|
+
fetch?: RequestInit | undefined;
|
|
420
|
+
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
421
|
+
200: {
|
|
422
|
+
success: true;
|
|
423
|
+
statusCode: number;
|
|
424
|
+
data: null;
|
|
425
|
+
message: string;
|
|
426
|
+
error: null;
|
|
427
|
+
meta: TResponseMeta;
|
|
428
|
+
} | {
|
|
429
|
+
success: false;
|
|
430
|
+
statusCode: number;
|
|
431
|
+
data: null;
|
|
432
|
+
message: string;
|
|
433
|
+
error: TResponseError;
|
|
434
|
+
meta: TResponseMeta;
|
|
435
|
+
};
|
|
436
|
+
422: {
|
|
437
|
+
type: "validation";
|
|
438
|
+
on: string;
|
|
439
|
+
summary?: string;
|
|
440
|
+
message?: string;
|
|
441
|
+
found?: unknown;
|
|
442
|
+
property?: string;
|
|
443
|
+
expected?: string;
|
|
444
|
+
};
|
|
445
|
+
}>>;
|
|
446
|
+
};
|
|
389
447
|
delete: (body?: {} | undefined, options?: {
|
|
390
448
|
headers?: {} | undefined;
|
|
391
449
|
query?: {} | undefined;
|
|
@@ -920,13 +978,11 @@ declare const _func: () => {
|
|
|
920
978
|
currency: ((params: {
|
|
921
979
|
id: string | number;
|
|
922
980
|
}) => {
|
|
923
|
-
get: (options
|
|
981
|
+
get: (options?: {
|
|
924
982
|
headers?: {} | undefined;
|
|
925
|
-
query
|
|
926
|
-
id: number;
|
|
927
|
-
};
|
|
983
|
+
query?: {} | undefined;
|
|
928
984
|
fetch?: RequestInit | undefined;
|
|
929
|
-
}) => Promise<Treaty.TreatyResponse<{
|
|
985
|
+
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
930
986
|
200: {
|
|
931
987
|
success: false;
|
|
932
988
|
statusCode: number;
|
|
@@ -1297,22 +1353,13 @@ declare const _func: () => {
|
|
|
1297
1353
|
error: null;
|
|
1298
1354
|
meta: TResponseMeta;
|
|
1299
1355
|
};
|
|
1300
|
-
422: {
|
|
1301
|
-
type: "validation";
|
|
1302
|
-
on: string;
|
|
1303
|
-
summary?: string;
|
|
1304
|
-
message?: string;
|
|
1305
|
-
found?: unknown;
|
|
1306
|
-
property?: string;
|
|
1307
|
-
expected?: string;
|
|
1308
|
-
};
|
|
1309
1356
|
}>>;
|
|
1310
1357
|
post: (body: {
|
|
1311
|
-
description?: string | undefined;
|
|
1312
1358
|
name: string;
|
|
1313
1359
|
valueType: "PERCENTAGE" | "FIXED";
|
|
1314
1360
|
depositValue: number;
|
|
1315
1361
|
surchargeValue: number;
|
|
1362
|
+
description?: string | undefined;
|
|
1316
1363
|
}, options?: {
|
|
1317
1364
|
headers?: {} | undefined;
|
|
1318
1365
|
query?: {} | undefined;
|
|
@@ -1546,41 +1593,6 @@ declare const _func: () => {
|
|
|
1546
1593
|
} | undefined;
|
|
1547
1594
|
fetch?: RequestInit | undefined;
|
|
1548
1595
|
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
1549
|
-
200: {
|
|
1550
|
-
success: false;
|
|
1551
|
-
statusCode: number;
|
|
1552
|
-
data: null;
|
|
1553
|
-
message: string;
|
|
1554
|
-
error: TResponseError;
|
|
1555
|
-
meta: TResponseMeta;
|
|
1556
|
-
} | {
|
|
1557
|
-
success: true;
|
|
1558
|
-
statusCode: number;
|
|
1559
|
-
data: {
|
|
1560
|
-
comments: never[];
|
|
1561
|
-
paging: null;
|
|
1562
|
-
};
|
|
1563
|
-
message: null;
|
|
1564
|
-
error: null;
|
|
1565
|
-
meta: TResponseMeta;
|
|
1566
|
-
} | {
|
|
1567
|
-
success: true;
|
|
1568
|
-
statusCode: number;
|
|
1569
|
-
data: {
|
|
1570
|
-
comments: unknown[];
|
|
1571
|
-
paging: {
|
|
1572
|
-
cursors: {
|
|
1573
|
-
before: string;
|
|
1574
|
-
after: string;
|
|
1575
|
-
} | null;
|
|
1576
|
-
hasNext: boolean;
|
|
1577
|
-
hasPrevious: boolean;
|
|
1578
|
-
};
|
|
1579
|
-
};
|
|
1580
|
-
message: null;
|
|
1581
|
-
error: null;
|
|
1582
|
-
meta: TResponseMeta;
|
|
1583
|
-
};
|
|
1584
1596
|
422: {
|
|
1585
1597
|
type: "validation";
|
|
1586
1598
|
on: string;
|
|
@@ -1985,11 +1997,38 @@ declare const _func: () => {
|
|
|
1985
1997
|
expected?: string;
|
|
1986
1998
|
};
|
|
1987
1999
|
}>>;
|
|
1988
|
-
delete: (body
|
|
1989
|
-
headers?:
|
|
1990
|
-
query
|
|
2000
|
+
delete: (body: {}, options: {
|
|
2001
|
+
headers?: {} | undefined;
|
|
2002
|
+
query: {
|
|
2003
|
+
uuids: string[];
|
|
2004
|
+
};
|
|
1991
2005
|
fetch?: RequestInit | undefined;
|
|
1992
|
-
}
|
|
2006
|
+
}) => Promise<Treaty.TreatyResponse<{
|
|
2007
|
+
200: {
|
|
2008
|
+
success: true;
|
|
2009
|
+
statusCode: number;
|
|
2010
|
+
data: null;
|
|
2011
|
+
message: string;
|
|
2012
|
+
error: null;
|
|
2013
|
+
meta: TResponseMeta;
|
|
2014
|
+
} | {
|
|
2015
|
+
success: false;
|
|
2016
|
+
statusCode: number;
|
|
2017
|
+
data: null;
|
|
2018
|
+
message: string;
|
|
2019
|
+
error: TResponseError;
|
|
2020
|
+
meta: TResponseMeta;
|
|
2021
|
+
};
|
|
2022
|
+
422: {
|
|
2023
|
+
type: "validation";
|
|
2024
|
+
on: string;
|
|
2025
|
+
summary?: string;
|
|
2026
|
+
message?: string;
|
|
2027
|
+
found?: unknown;
|
|
2028
|
+
property?: string;
|
|
2029
|
+
expected?: string;
|
|
2030
|
+
};
|
|
2031
|
+
}>>;
|
|
1993
2032
|
};
|
|
1994
2033
|
attach: {
|
|
1995
2034
|
post: (body: {
|
|
@@ -2043,36 +2082,6 @@ declare const _func: () => {
|
|
|
2043
2082
|
query?: {} | undefined;
|
|
2044
2083
|
fetch?: RequestInit | undefined;
|
|
2045
2084
|
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
2046
|
-
200: {
|
|
2047
|
-
success: false;
|
|
2048
|
-
statusCode: number;
|
|
2049
|
-
data: null;
|
|
2050
|
-
message: string;
|
|
2051
|
-
error: TResponseError;
|
|
2052
|
-
meta: TResponseMeta;
|
|
2053
|
-
} | {
|
|
2054
|
-
success: true;
|
|
2055
|
-
statusCode: number;
|
|
2056
|
-
data: {
|
|
2057
|
-
mediaUuid: string;
|
|
2058
|
-
entityUuid: string;
|
|
2059
|
-
entityId: null;
|
|
2060
|
-
};
|
|
2061
|
-
message: null;
|
|
2062
|
-
error: null;
|
|
2063
|
-
meta: TResponseMeta;
|
|
2064
|
-
} | {
|
|
2065
|
-
success: true;
|
|
2066
|
-
statusCode: number;
|
|
2067
|
-
data: {
|
|
2068
|
-
mediaUuid: string;
|
|
2069
|
-
entityUuid: null;
|
|
2070
|
-
entityId: null;
|
|
2071
|
-
};
|
|
2072
|
-
message: null;
|
|
2073
|
-
error: null;
|
|
2074
|
-
meta: TResponseMeta;
|
|
2075
|
-
};
|
|
2076
2085
|
422: {
|
|
2077
2086
|
type: "validation";
|
|
2078
2087
|
on: string;
|
|
@@ -2589,7 +2598,7 @@ declare const _func: () => {
|
|
|
2589
2598
|
content: string | null;
|
|
2590
2599
|
completedAt: Date | null;
|
|
2591
2600
|
manifestUuid: string | null;
|
|
2592
|
-
milestoneCode: "PURCHASED" | "ARRIVED_VN" | "DELIVERED" | "ORDER_CREATED" | "QUOTATION_SENT" | "DEPOSIT_PAID" | "ORDER_CONFIRMED" | "PAYMENT_COMPLETED" | "ORDER_CANCELLED" | "PURCHASING" | "IN_WAREHOUSE_ABROAD" | "INTERNATIONAL_SHIPPING" | "ITEM_CANCELLED" | "PACKED" | "HANDED_OVER" | "DELIVERING";
|
|
2601
|
+
milestoneCode: "PURCHASED" | "ARRIVED_VN" | "DELIVERED" | "ORDER_CREATED" | "QUOTATION_SENT" | "DEPOSIT_PAID" | "ORDER_CONFIRMED" | "PAYMENT_COMPLETED" | "PAYMENT_RECEIVED" | "PAYMENT_VOIDED" | "ORDER_CANCELLED" | "PURCHASING" | "IN_WAREHOUSE_ABROAD" | "INTERNATIONAL_SHIPPING" | "ITEM_CANCELLED" | "PACKED" | "HANDED_OVER" | "DELIVERING";
|
|
2593
2602
|
startedAt: Date;
|
|
2594
2603
|
category: "ORDER" | "PAYMENT" | "LOGISTICS";
|
|
2595
2604
|
isPublic: boolean;
|
|
@@ -2647,7 +2656,7 @@ declare const _func: () => {
|
|
|
2647
2656
|
}>>;
|
|
2648
2657
|
status: {
|
|
2649
2658
|
patch: (body: {
|
|
2650
|
-
status: "DRAFT" | "PENDING" | "PROCESSING" | "COMPLETED"
|
|
2659
|
+
status: "DRAFT" | "PENDING" | "PROCESSING" | "COMPLETED";
|
|
2651
2660
|
}, options?: {
|
|
2652
2661
|
headers?: {} | undefined;
|
|
2653
2662
|
query?: {} | undefined;
|
|
@@ -2766,18 +2775,20 @@ declare const _func: () => {
|
|
|
2766
2775
|
fetch?: RequestInit | undefined;
|
|
2767
2776
|
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
2768
2777
|
200: {
|
|
2769
|
-
success:
|
|
2778
|
+
success: false;
|
|
2770
2779
|
statusCode: number;
|
|
2771
2780
|
data: null;
|
|
2772
2781
|
message: string;
|
|
2773
|
-
error:
|
|
2782
|
+
error: TResponseError;
|
|
2774
2783
|
meta: TResponseMeta;
|
|
2775
2784
|
} | {
|
|
2776
|
-
success:
|
|
2785
|
+
success: true;
|
|
2777
2786
|
statusCode: number;
|
|
2778
|
-
data:
|
|
2779
|
-
|
|
2780
|
-
|
|
2787
|
+
data: {
|
|
2788
|
+
uuid: string;
|
|
2789
|
+
};
|
|
2790
|
+
message: null;
|
|
2791
|
+
error: null;
|
|
2781
2792
|
meta: TResponseMeta;
|
|
2782
2793
|
};
|
|
2783
2794
|
422: {
|
|
@@ -2907,18 +2918,20 @@ declare const _func: () => {
|
|
|
2907
2918
|
fetch?: RequestInit | undefined;
|
|
2908
2919
|
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
2909
2920
|
200: {
|
|
2910
|
-
success:
|
|
2921
|
+
success: false;
|
|
2911
2922
|
statusCode: number;
|
|
2912
2923
|
data: null;
|
|
2913
2924
|
message: string;
|
|
2914
|
-
error:
|
|
2925
|
+
error: TResponseError;
|
|
2915
2926
|
meta: TResponseMeta;
|
|
2916
2927
|
} | {
|
|
2917
|
-
success:
|
|
2928
|
+
success: true;
|
|
2918
2929
|
statusCode: number;
|
|
2919
|
-
data:
|
|
2920
|
-
|
|
2921
|
-
|
|
2930
|
+
data: {
|
|
2931
|
+
uuid: string;
|
|
2932
|
+
};
|
|
2933
|
+
message: null;
|
|
2934
|
+
error: null;
|
|
2922
2935
|
meta: TResponseMeta;
|
|
2923
2936
|
};
|
|
2924
2937
|
422: {
|
|
@@ -2937,18 +2950,20 @@ declare const _func: () => {
|
|
|
2937
2950
|
fetch?: RequestInit | undefined;
|
|
2938
2951
|
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
2939
2952
|
200: {
|
|
2940
|
-
success:
|
|
2953
|
+
success: false;
|
|
2941
2954
|
statusCode: number;
|
|
2942
2955
|
data: null;
|
|
2943
2956
|
message: string;
|
|
2944
|
-
error:
|
|
2957
|
+
error: TResponseError;
|
|
2945
2958
|
meta: TResponseMeta;
|
|
2946
2959
|
} | {
|
|
2947
|
-
success:
|
|
2960
|
+
success: true;
|
|
2948
2961
|
statusCode: number;
|
|
2949
|
-
data:
|
|
2950
|
-
|
|
2951
|
-
|
|
2962
|
+
data: {
|
|
2963
|
+
uuid: string;
|
|
2964
|
+
};
|
|
2965
|
+
message: null;
|
|
2966
|
+
error: null;
|
|
2952
2967
|
meta: TResponseMeta;
|
|
2953
2968
|
};
|
|
2954
2969
|
422: {
|
|
@@ -2974,18 +2989,20 @@ declare const _func: () => {
|
|
|
2974
2989
|
fetch?: RequestInit | undefined;
|
|
2975
2990
|
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
2976
2991
|
200: {
|
|
2977
|
-
success:
|
|
2992
|
+
success: false;
|
|
2978
2993
|
statusCode: number;
|
|
2979
2994
|
data: null;
|
|
2980
2995
|
message: string;
|
|
2981
|
-
error:
|
|
2996
|
+
error: TResponseError;
|
|
2982
2997
|
meta: TResponseMeta;
|
|
2983
2998
|
} | {
|
|
2984
|
-
success:
|
|
2999
|
+
success: true;
|
|
2985
3000
|
statusCode: number;
|
|
2986
|
-
data:
|
|
2987
|
-
|
|
2988
|
-
|
|
3001
|
+
data: {
|
|
3002
|
+
uuid: string;
|
|
3003
|
+
};
|
|
3004
|
+
message: null;
|
|
3005
|
+
error: null;
|
|
2989
3006
|
meta: TResponseMeta;
|
|
2990
3007
|
};
|
|
2991
3008
|
422: {
|
|
@@ -3011,25 +3028,27 @@ declare const _func: () => {
|
|
|
3011
3028
|
fetch?: RequestInit | undefined;
|
|
3012
3029
|
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
3013
3030
|
200: {
|
|
3014
|
-
success: true;
|
|
3015
|
-
statusCode: number;
|
|
3016
|
-
data: null;
|
|
3017
|
-
message: string;
|
|
3018
|
-
error: null;
|
|
3019
|
-
meta: TResponseMeta;
|
|
3020
|
-
} | {
|
|
3021
3031
|
success: false;
|
|
3022
3032
|
statusCode: number;
|
|
3023
3033
|
data: null;
|
|
3024
3034
|
message: string;
|
|
3025
3035
|
error: TResponseError;
|
|
3026
3036
|
meta: TResponseMeta;
|
|
3027
|
-
}
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
|
|
3032
|
-
|
|
3037
|
+
} | {
|
|
3038
|
+
success: true;
|
|
3039
|
+
statusCode: number;
|
|
3040
|
+
data: {
|
|
3041
|
+
uuid: string;
|
|
3042
|
+
}[];
|
|
3043
|
+
message: null;
|
|
3044
|
+
error: null;
|
|
3045
|
+
meta: TResponseMeta;
|
|
3046
|
+
};
|
|
3047
|
+
422: {
|
|
3048
|
+
type: "validation";
|
|
3049
|
+
on: string;
|
|
3050
|
+
summary?: string;
|
|
3051
|
+
message?: string;
|
|
3033
3052
|
found?: unknown;
|
|
3034
3053
|
property?: string;
|
|
3035
3054
|
expected?: string;
|
|
@@ -3037,7 +3056,9 @@ declare const _func: () => {
|
|
|
3037
3056
|
}>>;
|
|
3038
3057
|
};
|
|
3039
3058
|
};
|
|
3040
|
-
delete: (body?: {
|
|
3059
|
+
delete: (body?: {
|
|
3060
|
+
cancelReason?: string | undefined;
|
|
3061
|
+
} | undefined, options?: {
|
|
3041
3062
|
headers?: {} | undefined;
|
|
3042
3063
|
query?: {} | undefined;
|
|
3043
3064
|
fetch?: RequestInit | undefined;
|
|
@@ -3391,18 +3412,20 @@ declare const _func: () => {
|
|
|
3391
3412
|
fetch?: RequestInit | undefined;
|
|
3392
3413
|
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
3393
3414
|
200: {
|
|
3394
|
-
success:
|
|
3415
|
+
success: false;
|
|
3395
3416
|
statusCode: number;
|
|
3396
3417
|
data: null;
|
|
3397
3418
|
message: string;
|
|
3398
|
-
error:
|
|
3419
|
+
error: TResponseError;
|
|
3399
3420
|
meta: TResponseMeta;
|
|
3400
3421
|
} | {
|
|
3401
|
-
success:
|
|
3422
|
+
success: true;
|
|
3402
3423
|
statusCode: number;
|
|
3403
|
-
data:
|
|
3404
|
-
|
|
3405
|
-
|
|
3424
|
+
data: {
|
|
3425
|
+
id: string;
|
|
3426
|
+
};
|
|
3427
|
+
message: null;
|
|
3428
|
+
error: null;
|
|
3406
3429
|
meta: TResponseMeta;
|
|
3407
3430
|
};
|
|
3408
3431
|
422: {
|
|
@@ -3484,25 +3507,28 @@ declare const _func: () => {
|
|
|
3484
3507
|
surchargeIds?: string[] | undefined;
|
|
3485
3508
|
amount: number;
|
|
3486
3509
|
paymentType: "OTHER" | "DEPOSIT" | "FULL_PAYMENT" | "PARTIAL_PAYMENT" | "FEE" | "ADJUSTMENT";
|
|
3487
|
-
orderId: string
|
|
3510
|
+
orderId: string;
|
|
3488
3511
|
}, options?: {
|
|
3489
3512
|
headers?: {} | undefined;
|
|
3490
3513
|
query?: {} | undefined;
|
|
3491
3514
|
fetch?: RequestInit | undefined;
|
|
3492
3515
|
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
3493
3516
|
200: {
|
|
3494
|
-
success:
|
|
3517
|
+
success: false;
|
|
3495
3518
|
statusCode: number;
|
|
3496
3519
|
data: null;
|
|
3497
3520
|
message: string;
|
|
3498
|
-
error:
|
|
3521
|
+
error: TResponseError;
|
|
3499
3522
|
meta: TResponseMeta;
|
|
3500
3523
|
} | {
|
|
3501
|
-
success:
|
|
3524
|
+
success: true;
|
|
3502
3525
|
statusCode: number;
|
|
3503
|
-
data:
|
|
3504
|
-
|
|
3505
|
-
|
|
3526
|
+
data: {
|
|
3527
|
+
id: string;
|
|
3528
|
+
checkoutUrl: string | null;
|
|
3529
|
+
};
|
|
3530
|
+
message: null;
|
|
3531
|
+
error: null;
|
|
3506
3532
|
meta: TResponseMeta;
|
|
3507
3533
|
};
|
|
3508
3534
|
422: {
|
|
@@ -4392,6 +4418,10 @@ declare const _func: () => {
|
|
|
4392
4418
|
isDefault: boolean;
|
|
4393
4419
|
isNew: boolean;
|
|
4394
4420
|
isSpecial: boolean;
|
|
4421
|
+
options?: {
|
|
4422
|
+
optionId: number;
|
|
4423
|
+
value: string;
|
|
4424
|
+
}[] | undefined;
|
|
4395
4425
|
}[];
|
|
4396
4426
|
}, options?: {
|
|
4397
4427
|
headers?: {} | undefined;
|
|
@@ -5203,163 +5233,12 @@ declare const _func: () => {
|
|
|
5203
5233
|
};
|
|
5204
5234
|
client: {
|
|
5205
5235
|
v1: {
|
|
5206
|
-
|
|
5207
|
-
|
|
5208
|
-
get: (options?: {
|
|
5209
|
-
headers?: {} | undefined;
|
|
5210
|
-
query?: {} | undefined;
|
|
5211
|
-
fetch?: RequestInit | undefined;
|
|
5212
|
-
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
5213
|
-
200: {
|
|
5214
|
-
success: false;
|
|
5215
|
-
statusCode: number;
|
|
5216
|
-
data: null;
|
|
5217
|
-
message: string;
|
|
5218
|
-
error: TResponseError;
|
|
5219
|
-
meta: TResponseMeta;
|
|
5220
|
-
} | {
|
|
5221
|
-
success: true;
|
|
5222
|
-
statusCode: number;
|
|
5223
|
-
data: {
|
|
5224
|
-
deposits: {
|
|
5225
|
-
name: string;
|
|
5226
|
-
uuid: string;
|
|
5227
|
-
description: string | null;
|
|
5228
|
-
createdAt: Date;
|
|
5229
|
-
updatedAt: Date;
|
|
5230
|
-
valueType: "PERCENTAGE" | "FIXED";
|
|
5231
|
-
depositValue: number;
|
|
5232
|
-
surchargeValue: number;
|
|
5233
|
-
}[];
|
|
5234
|
-
};
|
|
5235
|
-
message: null;
|
|
5236
|
-
error: null;
|
|
5237
|
-
meta: TResponseMeta;
|
|
5238
|
-
};
|
|
5239
|
-
}>>;
|
|
5240
|
-
};
|
|
5241
|
-
provinces: ((params: {
|
|
5242
|
-
provinceId: string | number;
|
|
5243
|
-
}) => {
|
|
5244
|
-
districts: ((params: {
|
|
5245
|
-
districtId: string | number;
|
|
5246
|
-
}) => {
|
|
5247
|
-
wards: {
|
|
5248
|
-
get: (options?: {
|
|
5249
|
-
headers?: {} | undefined;
|
|
5250
|
-
query?: {} | undefined;
|
|
5251
|
-
fetch?: RequestInit | undefined;
|
|
5252
|
-
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
5253
|
-
200: {
|
|
5254
|
-
success: false;
|
|
5255
|
-
statusCode: number;
|
|
5256
|
-
data: null;
|
|
5257
|
-
message: string;
|
|
5258
|
-
error: TResponseError;
|
|
5259
|
-
meta: TResponseMeta;
|
|
5260
|
-
} | {
|
|
5261
|
-
success: true;
|
|
5262
|
-
statusCode: number;
|
|
5263
|
-
data: {
|
|
5264
|
-
wards: {
|
|
5265
|
-
name: string;
|
|
5266
|
-
type: string;
|
|
5267
|
-
id: string;
|
|
5268
|
-
districtId: string | null;
|
|
5269
|
-
}[];
|
|
5270
|
-
};
|
|
5271
|
-
message: null;
|
|
5272
|
-
error: null;
|
|
5273
|
-
meta: TResponseMeta;
|
|
5274
|
-
};
|
|
5275
|
-
422: {
|
|
5276
|
-
type: "validation";
|
|
5277
|
-
on: string;
|
|
5278
|
-
summary?: string;
|
|
5279
|
-
message?: string;
|
|
5280
|
-
found?: unknown;
|
|
5281
|
-
property?: string;
|
|
5282
|
-
expected?: string;
|
|
5283
|
-
};
|
|
5284
|
-
}>>;
|
|
5285
|
-
};
|
|
5286
|
-
}) & {
|
|
5287
|
-
get: (options?: {
|
|
5288
|
-
headers?: {} | undefined;
|
|
5289
|
-
query?: {} | undefined;
|
|
5290
|
-
fetch?: RequestInit | undefined;
|
|
5291
|
-
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
5292
|
-
200: {
|
|
5293
|
-
success: false;
|
|
5294
|
-
statusCode: number;
|
|
5295
|
-
data: null;
|
|
5296
|
-
message: string;
|
|
5297
|
-
error: TResponseError;
|
|
5298
|
-
meta: TResponseMeta;
|
|
5299
|
-
} | {
|
|
5300
|
-
success: true;
|
|
5301
|
-
statusCode: number;
|
|
5302
|
-
data: {
|
|
5303
|
-
districts: {
|
|
5304
|
-
name: string;
|
|
5305
|
-
type: string;
|
|
5306
|
-
id: string;
|
|
5307
|
-
provinceId: string | null;
|
|
5308
|
-
}[];
|
|
5309
|
-
};
|
|
5310
|
-
message: null;
|
|
5311
|
-
error: null;
|
|
5312
|
-
meta: TResponseMeta;
|
|
5313
|
-
};
|
|
5314
|
-
422: {
|
|
5315
|
-
type: "validation";
|
|
5316
|
-
on: string;
|
|
5317
|
-
summary?: string;
|
|
5318
|
-
message?: string;
|
|
5319
|
-
found?: unknown;
|
|
5320
|
-
property?: string;
|
|
5321
|
-
expected?: string;
|
|
5322
|
-
};
|
|
5323
|
-
}>>;
|
|
5324
|
-
};
|
|
5325
|
-
}) & {
|
|
5326
|
-
get: (options?: {
|
|
5327
|
-
headers?: {} | undefined;
|
|
5328
|
-
query?: {} | undefined;
|
|
5329
|
-
fetch?: RequestInit | undefined;
|
|
5330
|
-
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
5331
|
-
200: {
|
|
5332
|
-
success: false;
|
|
5333
|
-
statusCode: number;
|
|
5334
|
-
data: null;
|
|
5335
|
-
message: string;
|
|
5336
|
-
error: TResponseError;
|
|
5337
|
-
meta: TResponseMeta;
|
|
5338
|
-
} | {
|
|
5339
|
-
success: true;
|
|
5340
|
-
statusCode: number;
|
|
5341
|
-
data: {
|
|
5342
|
-
provinces: {
|
|
5343
|
-
name: string;
|
|
5344
|
-
type: string;
|
|
5345
|
-
id: string;
|
|
5346
|
-
}[];
|
|
5347
|
-
};
|
|
5348
|
-
message: null;
|
|
5349
|
-
error: null;
|
|
5350
|
-
meta: TResponseMeta;
|
|
5351
|
-
};
|
|
5352
|
-
}>>;
|
|
5353
|
-
};
|
|
5354
|
-
};
|
|
5355
|
-
orders: ((params: {
|
|
5356
|
-
orderId: string | number;
|
|
5236
|
+
addresses: ((params: {
|
|
5237
|
+
id: string | number;
|
|
5357
5238
|
}) => {
|
|
5358
5239
|
get: (options?: {
|
|
5359
5240
|
headers?: {} | undefined;
|
|
5360
|
-
query?: {
|
|
5361
|
-
token?: string | undefined;
|
|
5362
|
-
} | undefined;
|
|
5241
|
+
query?: {} | undefined;
|
|
5363
5242
|
fetch?: RequestInit | undefined;
|
|
5364
5243
|
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
5365
5244
|
200: {
|
|
@@ -5373,60 +5252,723 @@ declare const _func: () => {
|
|
|
5373
5252
|
success: true;
|
|
5374
5253
|
statusCode: number;
|
|
5375
5254
|
data: {
|
|
5376
|
-
|
|
5377
|
-
|
|
5378
|
-
|
|
5379
|
-
|
|
5380
|
-
|
|
5381
|
-
|
|
5382
|
-
|
|
5383
|
-
|
|
5384
|
-
|
|
5385
|
-
|
|
5386
|
-
|
|
5387
|
-
|
|
5388
|
-
|
|
5389
|
-
|
|
5390
|
-
|
|
5391
|
-
|
|
5392
|
-
|
|
5393
|
-
|
|
5394
|
-
|
|
5395
|
-
|
|
5396
|
-
|
|
5397
|
-
|
|
5398
|
-
|
|
5399
|
-
|
|
5400
|
-
|
|
5401
|
-
|
|
5402
|
-
|
|
5403
|
-
|
|
5404
|
-
|
|
5405
|
-
|
|
5406
|
-
|
|
5407
|
-
|
|
5408
|
-
|
|
5409
|
-
|
|
5410
|
-
|
|
5411
|
-
|
|
5412
|
-
|
|
5413
|
-
|
|
5414
|
-
|
|
5415
|
-
|
|
5416
|
-
|
|
5417
|
-
|
|
5418
|
-
|
|
5419
|
-
|
|
5420
|
-
|
|
5421
|
-
|
|
5422
|
-
|
|
5423
|
-
|
|
5424
|
-
|
|
5425
|
-
|
|
5426
|
-
|
|
5427
|
-
|
|
5428
|
-
|
|
5429
|
-
|
|
5255
|
+
createdAt: Date | null;
|
|
5256
|
+
updatedAt: Date | null;
|
|
5257
|
+
id: number;
|
|
5258
|
+
userUuid: string;
|
|
5259
|
+
fullname: string;
|
|
5260
|
+
phoneNumber: string;
|
|
5261
|
+
provinceId: string;
|
|
5262
|
+
districtId: string;
|
|
5263
|
+
wardId: string;
|
|
5264
|
+
street: string;
|
|
5265
|
+
isDefault: boolean | null;
|
|
5266
|
+
order: number | null;
|
|
5267
|
+
province: {
|
|
5268
|
+
name: string;
|
|
5269
|
+
type: string;
|
|
5270
|
+
id: string;
|
|
5271
|
+
};
|
|
5272
|
+
ward: {
|
|
5273
|
+
name: string;
|
|
5274
|
+
type: string;
|
|
5275
|
+
id: string;
|
|
5276
|
+
districtId: string | null;
|
|
5277
|
+
};
|
|
5278
|
+
district: {
|
|
5279
|
+
name: string;
|
|
5280
|
+
type: string;
|
|
5281
|
+
id: string;
|
|
5282
|
+
provinceId: string | null;
|
|
5283
|
+
};
|
|
5284
|
+
};
|
|
5285
|
+
message: null;
|
|
5286
|
+
error: null;
|
|
5287
|
+
meta: TResponseMeta;
|
|
5288
|
+
};
|
|
5289
|
+
422: {
|
|
5290
|
+
type: "validation";
|
|
5291
|
+
on: string;
|
|
5292
|
+
summary?: string;
|
|
5293
|
+
message?: string;
|
|
5294
|
+
found?: unknown;
|
|
5295
|
+
property?: string;
|
|
5296
|
+
expected?: string;
|
|
5297
|
+
};
|
|
5298
|
+
}>>;
|
|
5299
|
+
patch: (body?: {
|
|
5300
|
+
fullname?: string | undefined;
|
|
5301
|
+
phoneNumber?: string | undefined;
|
|
5302
|
+
provinceId?: string | undefined;
|
|
5303
|
+
districtId?: string | undefined;
|
|
5304
|
+
wardId?: string | undefined;
|
|
5305
|
+
street?: string | undefined;
|
|
5306
|
+
isDefault?: boolean | undefined;
|
|
5307
|
+
order?: number | undefined;
|
|
5308
|
+
} | undefined, options?: {
|
|
5309
|
+
headers?: {} | undefined;
|
|
5310
|
+
query?: {} | undefined;
|
|
5311
|
+
fetch?: RequestInit | undefined;
|
|
5312
|
+
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
5313
|
+
200: {
|
|
5314
|
+
success: true;
|
|
5315
|
+
statusCode: number;
|
|
5316
|
+
data: null;
|
|
5317
|
+
message: string;
|
|
5318
|
+
error: null;
|
|
5319
|
+
meta: TResponseMeta;
|
|
5320
|
+
} | {
|
|
5321
|
+
success: false;
|
|
5322
|
+
statusCode: number;
|
|
5323
|
+
data: null;
|
|
5324
|
+
message: string;
|
|
5325
|
+
error: TResponseError;
|
|
5326
|
+
meta: TResponseMeta;
|
|
5327
|
+
};
|
|
5328
|
+
422: {
|
|
5329
|
+
type: "validation";
|
|
5330
|
+
on: string;
|
|
5331
|
+
summary?: string;
|
|
5332
|
+
message?: string;
|
|
5333
|
+
found?: unknown;
|
|
5334
|
+
property?: string;
|
|
5335
|
+
expected?: string;
|
|
5336
|
+
};
|
|
5337
|
+
}>>;
|
|
5338
|
+
delete: (body?: {} | undefined, options?: {
|
|
5339
|
+
headers?: {} | undefined;
|
|
5340
|
+
query?: {} | undefined;
|
|
5341
|
+
fetch?: RequestInit | undefined;
|
|
5342
|
+
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
5343
|
+
200: {
|
|
5344
|
+
success: true;
|
|
5345
|
+
statusCode: number;
|
|
5346
|
+
data: null;
|
|
5347
|
+
message: string;
|
|
5348
|
+
error: null;
|
|
5349
|
+
meta: TResponseMeta;
|
|
5350
|
+
} | {
|
|
5351
|
+
success: false;
|
|
5352
|
+
statusCode: number;
|
|
5353
|
+
data: null;
|
|
5354
|
+
message: string;
|
|
5355
|
+
error: TResponseError;
|
|
5356
|
+
meta: TResponseMeta;
|
|
5357
|
+
};
|
|
5358
|
+
422: {
|
|
5359
|
+
type: "validation";
|
|
5360
|
+
on: string;
|
|
5361
|
+
summary?: string;
|
|
5362
|
+
message?: string;
|
|
5363
|
+
found?: unknown;
|
|
5364
|
+
property?: string;
|
|
5365
|
+
expected?: string;
|
|
5366
|
+
};
|
|
5367
|
+
}>>;
|
|
5368
|
+
}) & {
|
|
5369
|
+
get: (options?: {
|
|
5370
|
+
headers?: {} | undefined;
|
|
5371
|
+
query?: {} | undefined;
|
|
5372
|
+
fetch?: RequestInit | undefined;
|
|
5373
|
+
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
5374
|
+
200: {
|
|
5375
|
+
success: false;
|
|
5376
|
+
statusCode: number;
|
|
5377
|
+
data: null;
|
|
5378
|
+
message: string;
|
|
5379
|
+
error: TResponseError;
|
|
5380
|
+
meta: TResponseMeta;
|
|
5381
|
+
} | {
|
|
5382
|
+
success: true;
|
|
5383
|
+
statusCode: number;
|
|
5384
|
+
data: {
|
|
5385
|
+
createdAt: Date | null;
|
|
5386
|
+
updatedAt: Date | null;
|
|
5387
|
+
id: number;
|
|
5388
|
+
userUuid: string;
|
|
5389
|
+
fullname: string;
|
|
5390
|
+
phoneNumber: string;
|
|
5391
|
+
provinceId: string;
|
|
5392
|
+
districtId: string;
|
|
5393
|
+
wardId: string;
|
|
5394
|
+
street: string;
|
|
5395
|
+
isDefault: boolean | null;
|
|
5396
|
+
order: number | null;
|
|
5397
|
+
province: {
|
|
5398
|
+
name: string;
|
|
5399
|
+
type: string;
|
|
5400
|
+
id: string;
|
|
5401
|
+
};
|
|
5402
|
+
ward: {
|
|
5403
|
+
name: string;
|
|
5404
|
+
type: string;
|
|
5405
|
+
id: string;
|
|
5406
|
+
districtId: string | null;
|
|
5407
|
+
};
|
|
5408
|
+
district: {
|
|
5409
|
+
name: string;
|
|
5410
|
+
type: string;
|
|
5411
|
+
id: string;
|
|
5412
|
+
provinceId: string | null;
|
|
5413
|
+
};
|
|
5414
|
+
}[];
|
|
5415
|
+
message: null;
|
|
5416
|
+
error: null;
|
|
5417
|
+
meta: TResponseMeta;
|
|
5418
|
+
};
|
|
5419
|
+
}>>;
|
|
5420
|
+
post: (body: {
|
|
5421
|
+
fullname: string;
|
|
5422
|
+
phoneNumber: string;
|
|
5423
|
+
provinceId: string;
|
|
5424
|
+
districtId: string;
|
|
5425
|
+
wardId: string;
|
|
5426
|
+
street: string;
|
|
5427
|
+
isDefault?: boolean | undefined;
|
|
5428
|
+
order?: number | undefined;
|
|
5429
|
+
}, options?: {
|
|
5430
|
+
headers?: {} | undefined;
|
|
5431
|
+
query?: {} | undefined;
|
|
5432
|
+
fetch?: RequestInit | undefined;
|
|
5433
|
+
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
5434
|
+
200: {
|
|
5435
|
+
success: false;
|
|
5436
|
+
statusCode: number;
|
|
5437
|
+
data: null;
|
|
5438
|
+
message: string;
|
|
5439
|
+
error: TResponseError;
|
|
5440
|
+
meta: TResponseMeta;
|
|
5441
|
+
} | {
|
|
5442
|
+
success: true;
|
|
5443
|
+
statusCode: number;
|
|
5444
|
+
data: {
|
|
5445
|
+
createdAt: Date | null;
|
|
5446
|
+
updatedAt: Date | null;
|
|
5447
|
+
id: number;
|
|
5448
|
+
userUuid: string;
|
|
5449
|
+
fullname: string;
|
|
5450
|
+
phoneNumber: string;
|
|
5451
|
+
provinceId: string;
|
|
5452
|
+
districtId: string;
|
|
5453
|
+
wardId: string;
|
|
5454
|
+
street: string;
|
|
5455
|
+
isDefault: boolean | null;
|
|
5456
|
+
order: number | null;
|
|
5457
|
+
};
|
|
5458
|
+
message: null;
|
|
5459
|
+
error: null;
|
|
5460
|
+
meta: TResponseMeta;
|
|
5461
|
+
};
|
|
5462
|
+
422: {
|
|
5463
|
+
type: "validation";
|
|
5464
|
+
on: string;
|
|
5465
|
+
summary?: string;
|
|
5466
|
+
message?: string;
|
|
5467
|
+
found?: unknown;
|
|
5468
|
+
property?: string;
|
|
5469
|
+
expected?: string;
|
|
5470
|
+
};
|
|
5471
|
+
}>>;
|
|
5472
|
+
bulk: {
|
|
5473
|
+
delete: (body: {}, options: {
|
|
5474
|
+
headers?: {} | undefined;
|
|
5475
|
+
query: {
|
|
5476
|
+
ids: number[];
|
|
5477
|
+
};
|
|
5478
|
+
fetch?: RequestInit | undefined;
|
|
5479
|
+
}) => Promise<Treaty.TreatyResponse<{
|
|
5480
|
+
200: {
|
|
5481
|
+
success: true;
|
|
5482
|
+
statusCode: number;
|
|
5483
|
+
data: null;
|
|
5484
|
+
message: string;
|
|
5485
|
+
error: null;
|
|
5486
|
+
meta: TResponseMeta;
|
|
5487
|
+
} | {
|
|
5488
|
+
success: false;
|
|
5489
|
+
statusCode: number;
|
|
5490
|
+
data: null;
|
|
5491
|
+
message: string;
|
|
5492
|
+
error: TResponseError;
|
|
5493
|
+
meta: TResponseMeta;
|
|
5494
|
+
};
|
|
5495
|
+
422: {
|
|
5496
|
+
type: "validation";
|
|
5497
|
+
on: string;
|
|
5498
|
+
summary?: string;
|
|
5499
|
+
message?: string;
|
|
5500
|
+
found?: unknown;
|
|
5501
|
+
property?: string;
|
|
5502
|
+
expected?: string;
|
|
5503
|
+
};
|
|
5504
|
+
}>>;
|
|
5505
|
+
};
|
|
5506
|
+
};
|
|
5507
|
+
auth: {
|
|
5508
|
+
register: {
|
|
5509
|
+
post: (body: {
|
|
5510
|
+
email: string;
|
|
5511
|
+
password: string;
|
|
5512
|
+
}, options?: {
|
|
5513
|
+
headers?: {} | undefined;
|
|
5514
|
+
query?: {} | undefined;
|
|
5515
|
+
fetch?: RequestInit | undefined;
|
|
5516
|
+
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
5517
|
+
200: {
|
|
5518
|
+
success: true;
|
|
5519
|
+
statusCode: number;
|
|
5520
|
+
data: null;
|
|
5521
|
+
message: string;
|
|
5522
|
+
error: null;
|
|
5523
|
+
meta: TResponseMeta;
|
|
5524
|
+
} | {
|
|
5525
|
+
success: false;
|
|
5526
|
+
statusCode: number;
|
|
5527
|
+
data: null;
|
|
5528
|
+
message: string;
|
|
5529
|
+
error: TResponseError;
|
|
5530
|
+
meta: TResponseMeta;
|
|
5531
|
+
};
|
|
5532
|
+
422: {
|
|
5533
|
+
type: "validation";
|
|
5534
|
+
on: string;
|
|
5535
|
+
summary?: string;
|
|
5536
|
+
message?: string;
|
|
5537
|
+
found?: unknown;
|
|
5538
|
+
property?: string;
|
|
5539
|
+
expected?: string;
|
|
5540
|
+
};
|
|
5541
|
+
}>>;
|
|
5542
|
+
};
|
|
5543
|
+
login: {
|
|
5544
|
+
post: (body: {
|
|
5545
|
+
email: string;
|
|
5546
|
+
password: string;
|
|
5547
|
+
}, options?: {
|
|
5548
|
+
headers?: {} | undefined;
|
|
5549
|
+
query?: {} | undefined;
|
|
5550
|
+
fetch?: RequestInit | undefined;
|
|
5551
|
+
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
5552
|
+
200: {
|
|
5553
|
+
success: true;
|
|
5554
|
+
statusCode: number;
|
|
5555
|
+
data: null;
|
|
5556
|
+
message: string;
|
|
5557
|
+
error: null;
|
|
5558
|
+
meta: TResponseMeta;
|
|
5559
|
+
} | {
|
|
5560
|
+
success: false;
|
|
5561
|
+
statusCode: number;
|
|
5562
|
+
data: null;
|
|
5563
|
+
message: string;
|
|
5564
|
+
error: TResponseError;
|
|
5565
|
+
meta: TResponseMeta;
|
|
5566
|
+
};
|
|
5567
|
+
422: {
|
|
5568
|
+
type: "validation";
|
|
5569
|
+
on: string;
|
|
5570
|
+
summary?: string;
|
|
5571
|
+
message?: string;
|
|
5572
|
+
found?: unknown;
|
|
5573
|
+
property?: string;
|
|
5574
|
+
expected?: string;
|
|
5575
|
+
};
|
|
5576
|
+
}>>;
|
|
5577
|
+
};
|
|
5578
|
+
me: {
|
|
5579
|
+
get: (options?: {
|
|
5580
|
+
headers?: {} | undefined;
|
|
5581
|
+
query?: {} | undefined;
|
|
5582
|
+
fetch?: RequestInit | undefined;
|
|
5583
|
+
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
5584
|
+
200: {
|
|
5585
|
+
success: false;
|
|
5586
|
+
statusCode: number;
|
|
5587
|
+
data: null;
|
|
5588
|
+
message: string;
|
|
5589
|
+
error: TResponseError;
|
|
5590
|
+
meta: TResponseMeta;
|
|
5591
|
+
} | {
|
|
5592
|
+
success: true;
|
|
5593
|
+
statusCode: number;
|
|
5594
|
+
data: undefined;
|
|
5595
|
+
message: null;
|
|
5596
|
+
error: null;
|
|
5597
|
+
meta: TResponseMeta;
|
|
5598
|
+
} | {
|
|
5599
|
+
success: true;
|
|
5600
|
+
statusCode: number;
|
|
5601
|
+
data: {
|
|
5602
|
+
uuid: string;
|
|
5603
|
+
email: string;
|
|
5604
|
+
createdAt: Date | null;
|
|
5605
|
+
updatedAt: Date | null;
|
|
5606
|
+
username: string;
|
|
5607
|
+
role: string;
|
|
5608
|
+
networks: {
|
|
5609
|
+
createdAt: Date | null;
|
|
5610
|
+
updatedAt: Date | null;
|
|
5611
|
+
id: number;
|
|
5612
|
+
provider: string;
|
|
5613
|
+
providerId: string;
|
|
5614
|
+
}[];
|
|
5615
|
+
profile: {
|
|
5616
|
+
createdAt: Date | null;
|
|
5617
|
+
updatedAt: Date | null;
|
|
5618
|
+
id: number;
|
|
5619
|
+
fullname: string;
|
|
5620
|
+
phoneNumber: string | null;
|
|
5621
|
+
bio: string | null;
|
|
5622
|
+
gender: number | null;
|
|
5623
|
+
dateOfBirth: Date | null;
|
|
5624
|
+
};
|
|
5625
|
+
};
|
|
5626
|
+
message: null;
|
|
5627
|
+
error: null;
|
|
5628
|
+
meta: TResponseMeta;
|
|
5629
|
+
};
|
|
5630
|
+
}>>;
|
|
5631
|
+
};
|
|
5632
|
+
"refresh-token": {
|
|
5633
|
+
get: (options?: {
|
|
5634
|
+
headers?: {} | undefined;
|
|
5635
|
+
query?: {} | undefined;
|
|
5636
|
+
fetch?: RequestInit | undefined;
|
|
5637
|
+
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
5638
|
+
200: {
|
|
5639
|
+
success: true;
|
|
5640
|
+
statusCode: number;
|
|
5641
|
+
data: null;
|
|
5642
|
+
message: string;
|
|
5643
|
+
error: null;
|
|
5644
|
+
meta: TResponseMeta;
|
|
5645
|
+
} | {
|
|
5646
|
+
success: false;
|
|
5647
|
+
statusCode: number;
|
|
5648
|
+
data: null;
|
|
5649
|
+
message: string;
|
|
5650
|
+
error: TResponseError;
|
|
5651
|
+
meta: TResponseMeta;
|
|
5652
|
+
};
|
|
5653
|
+
}>>;
|
|
5654
|
+
};
|
|
5655
|
+
logout: {
|
|
5656
|
+
delete: (body?: {} | undefined, options?: {
|
|
5657
|
+
headers?: {} | undefined;
|
|
5658
|
+
query?: {} | undefined;
|
|
5659
|
+
fetch?: RequestInit | undefined;
|
|
5660
|
+
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
5661
|
+
200: {
|
|
5662
|
+
success: true;
|
|
5663
|
+
statusCode: number;
|
|
5664
|
+
data: null;
|
|
5665
|
+
message: string;
|
|
5666
|
+
error: null;
|
|
5667
|
+
meta: TResponseMeta;
|
|
5668
|
+
} | {
|
|
5669
|
+
success: false;
|
|
5670
|
+
statusCode: number;
|
|
5671
|
+
data: null;
|
|
5672
|
+
message: string;
|
|
5673
|
+
error: TResponseError;
|
|
5674
|
+
meta: TResponseMeta;
|
|
5675
|
+
};
|
|
5676
|
+
}>>;
|
|
5677
|
+
};
|
|
5678
|
+
"verify-email": {
|
|
5679
|
+
post: (body: {
|
|
5680
|
+
email: string;
|
|
5681
|
+
otp: string;
|
|
5682
|
+
}, options?: {
|
|
5683
|
+
headers?: {} | undefined;
|
|
5684
|
+
query?: {} | undefined;
|
|
5685
|
+
fetch?: RequestInit | undefined;
|
|
5686
|
+
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
5687
|
+
200: {
|
|
5688
|
+
success: true;
|
|
5689
|
+
statusCode: number;
|
|
5690
|
+
data: null;
|
|
5691
|
+
message: string;
|
|
5692
|
+
error: null;
|
|
5693
|
+
meta: TResponseMeta;
|
|
5694
|
+
} | {
|
|
5695
|
+
success: false;
|
|
5696
|
+
statusCode: number;
|
|
5697
|
+
data: null;
|
|
5698
|
+
message: string;
|
|
5699
|
+
error: TResponseError;
|
|
5700
|
+
meta: TResponseMeta;
|
|
5701
|
+
};
|
|
5702
|
+
422: {
|
|
5703
|
+
type: "validation";
|
|
5704
|
+
on: string;
|
|
5705
|
+
summary?: string;
|
|
5706
|
+
message?: string;
|
|
5707
|
+
found?: unknown;
|
|
5708
|
+
property?: string;
|
|
5709
|
+
expected?: string;
|
|
5710
|
+
};
|
|
5711
|
+
}>>;
|
|
5712
|
+
};
|
|
5713
|
+
"resend-verification": {
|
|
5714
|
+
post: (body: {
|
|
5715
|
+
email: string;
|
|
5716
|
+
}, options?: {
|
|
5717
|
+
headers?: {} | undefined;
|
|
5718
|
+
query?: {} | undefined;
|
|
5719
|
+
fetch?: RequestInit | undefined;
|
|
5720
|
+
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
5721
|
+
200: {
|
|
5722
|
+
success: true;
|
|
5723
|
+
statusCode: number;
|
|
5724
|
+
data: null;
|
|
5725
|
+
message: string;
|
|
5726
|
+
error: null;
|
|
5727
|
+
meta: TResponseMeta;
|
|
5728
|
+
} | {
|
|
5729
|
+
success: false;
|
|
5730
|
+
statusCode: number;
|
|
5731
|
+
data: null;
|
|
5732
|
+
message: string;
|
|
5733
|
+
error: TResponseError;
|
|
5734
|
+
meta: TResponseMeta;
|
|
5735
|
+
};
|
|
5736
|
+
422: {
|
|
5737
|
+
type: "validation";
|
|
5738
|
+
on: string;
|
|
5739
|
+
summary?: string;
|
|
5740
|
+
message?: string;
|
|
5741
|
+
found?: unknown;
|
|
5742
|
+
property?: string;
|
|
5743
|
+
expected?: string;
|
|
5744
|
+
};
|
|
5745
|
+
}>>;
|
|
5746
|
+
};
|
|
5747
|
+
};
|
|
5748
|
+
defs: {
|
|
5749
|
+
deposits: {
|
|
5750
|
+
get: (options?: {
|
|
5751
|
+
headers?: {} | undefined;
|
|
5752
|
+
query?: {} | undefined;
|
|
5753
|
+
fetch?: RequestInit | undefined;
|
|
5754
|
+
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
5755
|
+
200: {
|
|
5756
|
+
success: false;
|
|
5757
|
+
statusCode: number;
|
|
5758
|
+
data: null;
|
|
5759
|
+
message: string;
|
|
5760
|
+
error: TResponseError;
|
|
5761
|
+
meta: TResponseMeta;
|
|
5762
|
+
} | {
|
|
5763
|
+
success: true;
|
|
5764
|
+
statusCode: number;
|
|
5765
|
+
data: {
|
|
5766
|
+
deposits: {
|
|
5767
|
+
name: string;
|
|
5768
|
+
uuid: string;
|
|
5769
|
+
description: string | null;
|
|
5770
|
+
createdAt: Date;
|
|
5771
|
+
updatedAt: Date;
|
|
5772
|
+
valueType: "PERCENTAGE" | "FIXED";
|
|
5773
|
+
depositValue: number;
|
|
5774
|
+
surchargeValue: number;
|
|
5775
|
+
}[];
|
|
5776
|
+
};
|
|
5777
|
+
message: null;
|
|
5778
|
+
error: null;
|
|
5779
|
+
meta: TResponseMeta;
|
|
5780
|
+
};
|
|
5781
|
+
}>>;
|
|
5782
|
+
};
|
|
5783
|
+
provinces: ((params: {
|
|
5784
|
+
provinceId: string | number;
|
|
5785
|
+
}) => {
|
|
5786
|
+
districts: ((params: {
|
|
5787
|
+
districtId: string | number;
|
|
5788
|
+
}) => {
|
|
5789
|
+
wards: {
|
|
5790
|
+
get: (options?: {
|
|
5791
|
+
headers?: {} | undefined;
|
|
5792
|
+
query?: {} | undefined;
|
|
5793
|
+
fetch?: RequestInit | undefined;
|
|
5794
|
+
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
5795
|
+
200: {
|
|
5796
|
+
success: false;
|
|
5797
|
+
statusCode: number;
|
|
5798
|
+
data: null;
|
|
5799
|
+
message: string;
|
|
5800
|
+
error: TResponseError;
|
|
5801
|
+
meta: TResponseMeta;
|
|
5802
|
+
} | {
|
|
5803
|
+
success: true;
|
|
5804
|
+
statusCode: number;
|
|
5805
|
+
data: {
|
|
5806
|
+
wards: {
|
|
5807
|
+
name: string;
|
|
5808
|
+
type: string;
|
|
5809
|
+
id: string;
|
|
5810
|
+
districtId: string | null;
|
|
5811
|
+
}[];
|
|
5812
|
+
};
|
|
5813
|
+
message: null;
|
|
5814
|
+
error: null;
|
|
5815
|
+
meta: TResponseMeta;
|
|
5816
|
+
};
|
|
5817
|
+
422: {
|
|
5818
|
+
type: "validation";
|
|
5819
|
+
on: string;
|
|
5820
|
+
summary?: string;
|
|
5821
|
+
message?: string;
|
|
5822
|
+
found?: unknown;
|
|
5823
|
+
property?: string;
|
|
5824
|
+
expected?: string;
|
|
5825
|
+
};
|
|
5826
|
+
}>>;
|
|
5827
|
+
};
|
|
5828
|
+
}) & {
|
|
5829
|
+
get: (options?: {
|
|
5830
|
+
headers?: {} | undefined;
|
|
5831
|
+
query?: {} | undefined;
|
|
5832
|
+
fetch?: RequestInit | undefined;
|
|
5833
|
+
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
5834
|
+
200: {
|
|
5835
|
+
success: false;
|
|
5836
|
+
statusCode: number;
|
|
5837
|
+
data: null;
|
|
5838
|
+
message: string;
|
|
5839
|
+
error: TResponseError;
|
|
5840
|
+
meta: TResponseMeta;
|
|
5841
|
+
} | {
|
|
5842
|
+
success: true;
|
|
5843
|
+
statusCode: number;
|
|
5844
|
+
data: {
|
|
5845
|
+
districts: {
|
|
5846
|
+
name: string;
|
|
5847
|
+
type: string;
|
|
5848
|
+
id: string;
|
|
5849
|
+
provinceId: string | null;
|
|
5850
|
+
}[];
|
|
5851
|
+
};
|
|
5852
|
+
message: null;
|
|
5853
|
+
error: null;
|
|
5854
|
+
meta: TResponseMeta;
|
|
5855
|
+
};
|
|
5856
|
+
422: {
|
|
5857
|
+
type: "validation";
|
|
5858
|
+
on: string;
|
|
5859
|
+
summary?: string;
|
|
5860
|
+
message?: string;
|
|
5861
|
+
found?: unknown;
|
|
5862
|
+
property?: string;
|
|
5863
|
+
expected?: string;
|
|
5864
|
+
};
|
|
5865
|
+
}>>;
|
|
5866
|
+
};
|
|
5867
|
+
}) & {
|
|
5868
|
+
get: (options?: {
|
|
5869
|
+
headers?: {} | undefined;
|
|
5870
|
+
query?: {} | undefined;
|
|
5871
|
+
fetch?: RequestInit | undefined;
|
|
5872
|
+
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
5873
|
+
200: {
|
|
5874
|
+
success: false;
|
|
5875
|
+
statusCode: number;
|
|
5876
|
+
data: null;
|
|
5877
|
+
message: string;
|
|
5878
|
+
error: TResponseError;
|
|
5879
|
+
meta: TResponseMeta;
|
|
5880
|
+
} | {
|
|
5881
|
+
success: true;
|
|
5882
|
+
statusCode: number;
|
|
5883
|
+
data: {
|
|
5884
|
+
provinces: {
|
|
5885
|
+
name: string;
|
|
5886
|
+
type: string;
|
|
5887
|
+
id: string;
|
|
5888
|
+
}[];
|
|
5889
|
+
};
|
|
5890
|
+
message: null;
|
|
5891
|
+
error: null;
|
|
5892
|
+
meta: TResponseMeta;
|
|
5893
|
+
};
|
|
5894
|
+
}>>;
|
|
5895
|
+
};
|
|
5896
|
+
};
|
|
5897
|
+
orders: ((params: {
|
|
5898
|
+
orderId: string | number;
|
|
5899
|
+
}) => {
|
|
5900
|
+
get: (options?: {
|
|
5901
|
+
headers?: {} | undefined;
|
|
5902
|
+
query?: {
|
|
5903
|
+
token?: string | undefined;
|
|
5904
|
+
} | undefined;
|
|
5905
|
+
fetch?: RequestInit | undefined;
|
|
5906
|
+
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
5907
|
+
200: {
|
|
5908
|
+
success: false;
|
|
5909
|
+
statusCode: number;
|
|
5910
|
+
data: null;
|
|
5911
|
+
message: string;
|
|
5912
|
+
error: TResponseError;
|
|
5913
|
+
meta: TResponseMeta;
|
|
5914
|
+
} | {
|
|
5915
|
+
success: true;
|
|
5916
|
+
statusCode: number;
|
|
5917
|
+
data: {
|
|
5918
|
+
order: {
|
|
5919
|
+
uuid: string;
|
|
5920
|
+
status: "DRAFT" | "PENDING" | "CONFIRMED" | "PROCESSING" | "COMPLETED" | "CANCELLED";
|
|
5921
|
+
createdAt: Date;
|
|
5922
|
+
updatedAt: Date;
|
|
5923
|
+
userUuid: string | null;
|
|
5924
|
+
orderType: "ORDER" | "IN-STOCK";
|
|
5925
|
+
orderCode: string;
|
|
5926
|
+
accessToken: string | null;
|
|
5927
|
+
guestInfo: unknown;
|
|
5928
|
+
customerEmail: string | null;
|
|
5929
|
+
customerName: string | null;
|
|
5930
|
+
customerPhone: string | null;
|
|
5931
|
+
shippingAddress: unknown;
|
|
5932
|
+
subtotalAmount: number | null;
|
|
5933
|
+
discountTotal: number | null;
|
|
5934
|
+
taxTotal: number | null;
|
|
5935
|
+
appliedDepositName: string | null;
|
|
5936
|
+
appliedDepositType: "PERCENTAGE" | "FIXED" | null;
|
|
5937
|
+
appliedDepositValue: number | null;
|
|
5938
|
+
depositSurchargeTotal: number | null;
|
|
5939
|
+
otherSurchargeTotal: number | null;
|
|
5940
|
+
totalDue: number | null;
|
|
5941
|
+
depositRequiredAmount: number | null;
|
|
5942
|
+
totalPaid: number | null;
|
|
5943
|
+
totalRefunded: number | null;
|
|
5944
|
+
balanceRemaining: number | null;
|
|
5945
|
+
totalWeightGram: number | null;
|
|
5946
|
+
shipingNote: string | null;
|
|
5947
|
+
paymentStatus: "PENDING" | "PAID" | "PARTIALLY_PAID" | "REFUNDED";
|
|
5948
|
+
fulfillmentStatus: "UNFULFILLED" | "PARTIALLY_FULFILLED" | "FULFILLED" | "RETURNED";
|
|
5949
|
+
riskLevel: "LOW" | "MEDIUM" | "HIGH";
|
|
5950
|
+
completedAt: Date | null;
|
|
5951
|
+
cancelledAt: Date | null;
|
|
5952
|
+
orderManifests: {
|
|
5953
|
+
uuid: string;
|
|
5954
|
+
status: "PROCESSING" | "CANCELLED" | "PURCHASED" | "WAREHOUSE_ABROAD" | "IN_TRANSIT" | "ARRIVED_VN" | "DELIVERED";
|
|
5955
|
+
createdAt: Date | null;
|
|
5956
|
+
updatedAt: Date | null;
|
|
5957
|
+
variantUuid: string;
|
|
5958
|
+
productName: string | null;
|
|
5959
|
+
productUrl: string | null;
|
|
5960
|
+
attributes: unknown;
|
|
5961
|
+
originCountry: string | null;
|
|
5962
|
+
vendorName: string | null;
|
|
5963
|
+
unitPrice: number;
|
|
5964
|
+
quantityOrdered: number;
|
|
5965
|
+
totalLineAmount: number;
|
|
5966
|
+
weightGram: number;
|
|
5967
|
+
note: string | null;
|
|
5968
|
+
variant: {
|
|
5969
|
+
uuid: string;
|
|
5970
|
+
productUuid: string;
|
|
5971
|
+
sku: string;
|
|
5430
5972
|
media: {
|
|
5431
5973
|
createdAt: Date | null;
|
|
5432
5974
|
updatedAt: Date | null;
|
|
@@ -5448,7 +5990,7 @@ declare const _func: () => {
|
|
|
5448
5990
|
estimatedDeliveryAt: Date | null;
|
|
5449
5991
|
completedAt: Date | null;
|
|
5450
5992
|
manifestUuid: string | null;
|
|
5451
|
-
milestoneCode: "PURCHASED" | "ARRIVED_VN" | "DELIVERED" | "ORDER_CREATED" | "QUOTATION_SENT" | "DEPOSIT_PAID" | "ORDER_CONFIRMED" | "PAYMENT_COMPLETED" | "ORDER_CANCELLED" | "PURCHASING" | "IN_WAREHOUSE_ABROAD" | "INTERNATIONAL_SHIPPING" | "ITEM_CANCELLED" | "PACKED" | "HANDED_OVER" | "DELIVERING";
|
|
5993
|
+
milestoneCode: "PURCHASED" | "ARRIVED_VN" | "DELIVERED" | "ORDER_CREATED" | "QUOTATION_SENT" | "DEPOSIT_PAID" | "ORDER_CONFIRMED" | "PAYMENT_COMPLETED" | "PAYMENT_RECEIVED" | "PAYMENT_VOIDED" | "ORDER_CANCELLED" | "PURCHASING" | "IN_WAREHOUSE_ABROAD" | "INTERNATIONAL_SHIPPING" | "ITEM_CANCELLED" | "PACKED" | "HANDED_OVER" | "DELIVERING";
|
|
5452
5994
|
startedAt: Date;
|
|
5453
5995
|
category: "ORDER" | "PAYMENT" | "LOGISTICS";
|
|
5454
5996
|
metadata: unknown;
|
|
@@ -5486,26 +6028,26 @@ declare const _func: () => {
|
|
|
5486
6028
|
customerPhone: string;
|
|
5487
6029
|
shippingAddress: string;
|
|
5488
6030
|
shipingNote: string;
|
|
5489
|
-
}, options
|
|
6031
|
+
}, options: {
|
|
5490
6032
|
headers?: {} | undefined;
|
|
5491
|
-
query
|
|
6033
|
+
query: {
|
|
6034
|
+
token: string;
|
|
6035
|
+
};
|
|
5492
6036
|
fetch?: RequestInit | undefined;
|
|
5493
|
-
}
|
|
6037
|
+
}) => Promise<Treaty.TreatyResponse<{
|
|
5494
6038
|
200: {
|
|
5495
|
-
success:
|
|
6039
|
+
success: true;
|
|
5496
6040
|
statusCode: number;
|
|
5497
6041
|
data: null;
|
|
5498
6042
|
message: string;
|
|
5499
|
-
error:
|
|
6043
|
+
error: null;
|
|
5500
6044
|
meta: TResponseMeta;
|
|
5501
6045
|
} | {
|
|
5502
|
-
success:
|
|
6046
|
+
success: false;
|
|
5503
6047
|
statusCode: number;
|
|
5504
|
-
data:
|
|
5505
|
-
|
|
5506
|
-
|
|
5507
|
-
message: null;
|
|
5508
|
-
error: null;
|
|
6048
|
+
data: null;
|
|
6049
|
+
message: string;
|
|
6050
|
+
error: TResponseError;
|
|
5509
6051
|
meta: TResponseMeta;
|
|
5510
6052
|
};
|
|
5511
6053
|
422: {
|
|
@@ -5518,46 +6060,6 @@ declare const _func: () => {
|
|
|
5518
6060
|
expected?: string;
|
|
5519
6061
|
};
|
|
5520
6062
|
}>>;
|
|
5521
|
-
status: {
|
|
5522
|
-
patch: (body?: unknown, options?: {
|
|
5523
|
-
headers?: Record<string, unknown> | undefined;
|
|
5524
|
-
query?: Record<string, unknown> | undefined;
|
|
5525
|
-
fetch?: RequestInit | undefined;
|
|
5526
|
-
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
5527
|
-
200: string;
|
|
5528
|
-
422: {
|
|
5529
|
-
type: "validation";
|
|
5530
|
-
on: string;
|
|
5531
|
-
summary?: string;
|
|
5532
|
-
message?: string;
|
|
5533
|
-
found?: unknown;
|
|
5534
|
-
property?: string;
|
|
5535
|
-
expected?: string;
|
|
5536
|
-
};
|
|
5537
|
-
}>>;
|
|
5538
|
-
};
|
|
5539
|
-
"order-manifests": ((params: {
|
|
5540
|
-
manifestId: string | number;
|
|
5541
|
-
}) => {
|
|
5542
|
-
cancel: {
|
|
5543
|
-
patch: (body?: unknown, options?: {
|
|
5544
|
-
headers?: Record<string, unknown> | undefined;
|
|
5545
|
-
query?: Record<string, unknown> | undefined;
|
|
5546
|
-
fetch?: RequestInit | undefined;
|
|
5547
|
-
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
5548
|
-
200: string;
|
|
5549
|
-
422: {
|
|
5550
|
-
type: "validation";
|
|
5551
|
-
on: string;
|
|
5552
|
-
summary?: string;
|
|
5553
|
-
message?: string;
|
|
5554
|
-
found?: unknown;
|
|
5555
|
-
property?: string;
|
|
5556
|
-
expected?: string;
|
|
5557
|
-
};
|
|
5558
|
-
}>>;
|
|
5559
|
-
};
|
|
5560
|
-
}) & {};
|
|
5561
6063
|
}) & {};
|
|
5562
6064
|
payments: {
|
|
5563
6065
|
webhooks: {
|
|
@@ -5709,21 +6211,7 @@ declare class ClientApi {
|
|
|
5709
6211
|
request
|
|
5710
6212
|
}: {
|
|
5711
6213
|
request: (api: TClient) => Promise<TData>;
|
|
5712
|
-
}): Promise<TData |
|
|
5713
|
-
success: boolean;
|
|
5714
|
-
statusCode: number;
|
|
5715
|
-
data: null;
|
|
5716
|
-
message: string;
|
|
5717
|
-
error: {
|
|
5718
|
-
statusCode: number;
|
|
5719
|
-
message: string;
|
|
5720
|
-
};
|
|
5721
|
-
meta: {
|
|
5722
|
-
version: string;
|
|
5723
|
-
timestamp: string;
|
|
5724
|
-
path: string;
|
|
5725
|
-
};
|
|
5726
|
-
} | null>;
|
|
6214
|
+
}): Promise<TData | null>;
|
|
5727
6215
|
private _onUnauthorized?;
|
|
5728
6216
|
}
|
|
5729
6217
|
//#endregion
|