@customafk/lunas-api-sdk 0.0.96 → 0.0.98
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 +465 -82
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +465 -82
- package/dist/index.d.mts.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -10,6 +10,9 @@ declare enum EMediaEntityType {
|
|
|
10
10
|
BRAND = 'brand',
|
|
11
11
|
BLOG_POST = 'blog_post',
|
|
12
12
|
SERIES = 'series',
|
|
13
|
+
ORDER = 'order',
|
|
14
|
+
MEMO = 'memo',
|
|
15
|
+
CUSTOMER = 'customer',
|
|
13
16
|
}
|
|
14
17
|
declare enum EMimeType {
|
|
15
18
|
IMAGE_WEBP = 'image/webp',
|
|
@@ -19,6 +22,10 @@ declare enum EMimeType {
|
|
|
19
22
|
IMAGE_GIF = 'image/gif',
|
|
20
23
|
IMAGE_AVIF = 'image/avif',
|
|
21
24
|
IMAGE_SVG = 'image/svg+xml',
|
|
25
|
+
APPLICATION_PDF = 'application/pdf',
|
|
26
|
+
APPLICATION_CSV = 'text/csv',
|
|
27
|
+
APPLICATION_DOCX = 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
|
|
28
|
+
APPLICATION_XLSX = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
|
|
22
29
|
}
|
|
23
30
|
declare enum EWeightUnit {
|
|
24
31
|
KG = 'kg',
|
|
@@ -2488,12 +2495,6 @@ declare const _createClient: () => {
|
|
|
2488
2495
|
uuid: string;
|
|
2489
2496
|
createdAt: Date | null;
|
|
2490
2497
|
updatedAt: Date | null;
|
|
2491
|
-
options: {
|
|
2492
|
-
value: string;
|
|
2493
|
-
option: {
|
|
2494
|
-
name: string;
|
|
2495
|
-
};
|
|
2496
|
-
}[];
|
|
2497
2498
|
media: {
|
|
2498
2499
|
createdAt: Date | null;
|
|
2499
2500
|
updatedAt: Date | null;
|
|
@@ -2503,6 +2504,12 @@ declare const _createClient: () => {
|
|
|
2503
2504
|
altText: string | null;
|
|
2504
2505
|
};
|
|
2505
2506
|
};
|
|
2507
|
+
options: {
|
|
2508
|
+
value: string;
|
|
2509
|
+
option: {
|
|
2510
|
+
name: string;
|
|
2511
|
+
};
|
|
2512
|
+
}[];
|
|
2506
2513
|
};
|
|
2507
2514
|
}[];
|
|
2508
2515
|
orderTimelines: {
|
|
@@ -2641,12 +2648,6 @@ declare const _createClient: () => {
|
|
|
2641
2648
|
uuid: string;
|
|
2642
2649
|
createdAt: Date | null;
|
|
2643
2650
|
updatedAt: Date | null;
|
|
2644
|
-
options: {
|
|
2645
|
-
value: string;
|
|
2646
|
-
option: {
|
|
2647
|
-
name: string;
|
|
2648
|
-
};
|
|
2649
|
-
}[];
|
|
2650
2651
|
media: {
|
|
2651
2652
|
createdAt: Date | null;
|
|
2652
2653
|
updatedAt: Date | null;
|
|
@@ -2656,6 +2657,12 @@ declare const _createClient: () => {
|
|
|
2656
2657
|
altText: string | null;
|
|
2657
2658
|
};
|
|
2658
2659
|
};
|
|
2660
|
+
options: {
|
|
2661
|
+
value: string;
|
|
2662
|
+
option: {
|
|
2663
|
+
name: string;
|
|
2664
|
+
};
|
|
2665
|
+
}[];
|
|
2659
2666
|
};
|
|
2660
2667
|
}[];
|
|
2661
2668
|
orderTimelines: {
|
|
@@ -3105,12 +3112,6 @@ declare const _createClient: () => {
|
|
|
3105
3112
|
uuid: string;
|
|
3106
3113
|
createdAt: Date | null;
|
|
3107
3114
|
updatedAt: Date | null;
|
|
3108
|
-
options: {
|
|
3109
|
-
value: string;
|
|
3110
|
-
option: {
|
|
3111
|
-
name: string;
|
|
3112
|
-
};
|
|
3113
|
-
}[];
|
|
3114
3115
|
media: {
|
|
3115
3116
|
createdAt: Date | null;
|
|
3116
3117
|
updatedAt: Date | null;
|
|
@@ -3120,6 +3121,12 @@ declare const _createClient: () => {
|
|
|
3120
3121
|
altText: string | null;
|
|
3121
3122
|
};
|
|
3122
3123
|
};
|
|
3124
|
+
options: {
|
|
3125
|
+
value: string;
|
|
3126
|
+
option: {
|
|
3127
|
+
name: string;
|
|
3128
|
+
};
|
|
3129
|
+
}[];
|
|
3123
3130
|
};
|
|
3124
3131
|
}[];
|
|
3125
3132
|
orderTimelines: {
|
|
@@ -3258,12 +3265,6 @@ declare const _createClient: () => {
|
|
|
3258
3265
|
uuid: string;
|
|
3259
3266
|
createdAt: Date | null;
|
|
3260
3267
|
updatedAt: Date | null;
|
|
3261
|
-
options: {
|
|
3262
|
-
value: string;
|
|
3263
|
-
option: {
|
|
3264
|
-
name: string;
|
|
3265
|
-
};
|
|
3266
|
-
}[];
|
|
3267
3268
|
media: {
|
|
3268
3269
|
createdAt: Date | null;
|
|
3269
3270
|
updatedAt: Date | null;
|
|
@@ -3273,6 +3274,12 @@ declare const _createClient: () => {
|
|
|
3273
3274
|
altText: string | null;
|
|
3274
3275
|
};
|
|
3275
3276
|
};
|
|
3277
|
+
options: {
|
|
3278
|
+
value: string;
|
|
3279
|
+
option: {
|
|
3280
|
+
name: string;
|
|
3281
|
+
};
|
|
3282
|
+
}[];
|
|
3276
3283
|
};
|
|
3277
3284
|
}[];
|
|
3278
3285
|
orderTimelines: {
|
|
@@ -8797,6 +8804,21 @@ declare const _createClient: () => {
|
|
|
8797
8804
|
size: number;
|
|
8798
8805
|
mimeType: string;
|
|
8799
8806
|
altText: string | null;
|
|
8807
|
+
folderUuid: string | null;
|
|
8808
|
+
isPrivate: boolean;
|
|
8809
|
+
} & {
|
|
8810
|
+
downloadUrl: string;
|
|
8811
|
+
name: string;
|
|
8812
|
+
uuid: string;
|
|
8813
|
+
path: string;
|
|
8814
|
+
createdAt: Date | null;
|
|
8815
|
+
updatedAt: Date | null;
|
|
8816
|
+
description: string | null;
|
|
8817
|
+
size: number;
|
|
8818
|
+
mimeType: string;
|
|
8819
|
+
altText: string | null;
|
|
8820
|
+
folderUuid: string | null;
|
|
8821
|
+
isPrivate: boolean;
|
|
8800
8822
|
};
|
|
8801
8823
|
message: null;
|
|
8802
8824
|
error: null;
|
|
@@ -8875,6 +8897,21 @@ declare const _createClient: () => {
|
|
|
8875
8897
|
size: number;
|
|
8876
8898
|
mimeType: string;
|
|
8877
8899
|
altText: string | null;
|
|
8900
|
+
folderUuid: string | null;
|
|
8901
|
+
isPrivate: boolean;
|
|
8902
|
+
} & {
|
|
8903
|
+
downloadUrl: string;
|
|
8904
|
+
name: string;
|
|
8905
|
+
uuid: string;
|
|
8906
|
+
path: string;
|
|
8907
|
+
createdAt: Date | null;
|
|
8908
|
+
updatedAt: Date | null;
|
|
8909
|
+
description: string | null;
|
|
8910
|
+
size: number;
|
|
8911
|
+
mimeType: string;
|
|
8912
|
+
altText: string | null;
|
|
8913
|
+
folderUuid: string | null;
|
|
8914
|
+
isPrivate: boolean;
|
|
8878
8915
|
};
|
|
8879
8916
|
message: null;
|
|
8880
8917
|
error: null;
|
|
@@ -8926,17 +8963,19 @@ declare const _createClient: () => {
|
|
|
8926
8963
|
'~path': string;
|
|
8927
8964
|
};
|
|
8928
8965
|
}) & {
|
|
8929
|
-
get: ((options
|
|
8966
|
+
get: ((options: {
|
|
8930
8967
|
fetch?: RequestInit | undefined;
|
|
8931
8968
|
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
8932
8969
|
headers?: {} | undefined;
|
|
8933
|
-
query
|
|
8970
|
+
query: {
|
|
8971
|
+
includePrivate: boolean;
|
|
8934
8972
|
page?: number | undefined;
|
|
8935
8973
|
limit?: number | undefined;
|
|
8936
8974
|
search?: string | undefined;
|
|
8937
8975
|
includeUuids?: string[] | undefined;
|
|
8938
|
-
|
|
8939
|
-
|
|
8976
|
+
folderUuid?: string | undefined;
|
|
8977
|
+
};
|
|
8978
|
+
}) => Promise<Treaty.TreatyResponse<{
|
|
8940
8979
|
200: {
|
|
8941
8980
|
success: false;
|
|
8942
8981
|
statusCode: number;
|
|
@@ -8948,7 +8987,7 @@ declare const _createClient: () => {
|
|
|
8948
8987
|
success: true;
|
|
8949
8988
|
statusCode: number;
|
|
8950
8989
|
data: {
|
|
8951
|
-
include: {
|
|
8990
|
+
include: ({
|
|
8952
8991
|
name: string;
|
|
8953
8992
|
uuid: string;
|
|
8954
8993
|
path: string;
|
|
@@ -8958,8 +8997,10 @@ declare const _createClient: () => {
|
|
|
8958
8997
|
size: number;
|
|
8959
8998
|
mimeType: string;
|
|
8960
8999
|
altText: string | null;
|
|
8961
|
-
|
|
8962
|
-
|
|
9000
|
+
folderUuid: string | null;
|
|
9001
|
+
isPrivate: boolean;
|
|
9002
|
+
} | {
|
|
9003
|
+
downloadUrl: string;
|
|
8963
9004
|
name: string;
|
|
8964
9005
|
uuid: string;
|
|
8965
9006
|
path: string;
|
|
@@ -8969,7 +9010,35 @@ declare const _createClient: () => {
|
|
|
8969
9010
|
size: number;
|
|
8970
9011
|
mimeType: string;
|
|
8971
9012
|
altText: string | null;
|
|
8972
|
-
|
|
9013
|
+
folderUuid: string | null;
|
|
9014
|
+
isPrivate: boolean;
|
|
9015
|
+
})[];
|
|
9016
|
+
data: ({
|
|
9017
|
+
name: string;
|
|
9018
|
+
uuid: string;
|
|
9019
|
+
path: string;
|
|
9020
|
+
createdAt: Date | null;
|
|
9021
|
+
updatedAt: Date | null;
|
|
9022
|
+
description: string | null;
|
|
9023
|
+
size: number;
|
|
9024
|
+
mimeType: string;
|
|
9025
|
+
altText: string | null;
|
|
9026
|
+
folderUuid: string | null;
|
|
9027
|
+
isPrivate: boolean;
|
|
9028
|
+
} | {
|
|
9029
|
+
downloadUrl: string;
|
|
9030
|
+
name: string;
|
|
9031
|
+
uuid: string;
|
|
9032
|
+
path: string;
|
|
9033
|
+
createdAt: Date | null;
|
|
9034
|
+
updatedAt: Date | null;
|
|
9035
|
+
description: string | null;
|
|
9036
|
+
size: number;
|
|
9037
|
+
mimeType: string;
|
|
9038
|
+
altText: string | null;
|
|
9039
|
+
folderUuid: string | null;
|
|
9040
|
+
isPrivate: boolean;
|
|
9041
|
+
})[];
|
|
8973
9042
|
pagination: {
|
|
8974
9043
|
page: number;
|
|
8975
9044
|
limit: number;
|
|
@@ -8995,12 +9064,257 @@ declare const _createClient: () => {
|
|
|
8995
9064
|
}>>) & {
|
|
8996
9065
|
'~path': string;
|
|
8997
9066
|
};
|
|
9067
|
+
folders: ((params: {
|
|
9068
|
+
folderUuid: string | number;
|
|
9069
|
+
}) => {
|
|
9070
|
+
patch: ((body?: {
|
|
9071
|
+
name?: string | undefined;
|
|
9072
|
+
parentUuid?: string | null | undefined;
|
|
9073
|
+
} | undefined, options?: {
|
|
9074
|
+
fetch?: RequestInit | undefined;
|
|
9075
|
+
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
9076
|
+
headers?: {} | undefined;
|
|
9077
|
+
query?: {} | undefined;
|
|
9078
|
+
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
9079
|
+
200: {
|
|
9080
|
+
success: false;
|
|
9081
|
+
statusCode: number;
|
|
9082
|
+
data: null;
|
|
9083
|
+
message: string;
|
|
9084
|
+
error: TResponseError;
|
|
9085
|
+
meta: TResponseMeta;
|
|
9086
|
+
} | {
|
|
9087
|
+
success: true;
|
|
9088
|
+
statusCode: number;
|
|
9089
|
+
data: {
|
|
9090
|
+
uuid: string;
|
|
9091
|
+
name: string;
|
|
9092
|
+
parentUuid: string | null;
|
|
9093
|
+
createdAt: Date;
|
|
9094
|
+
updatedAt: Date;
|
|
9095
|
+
};
|
|
9096
|
+
message: null;
|
|
9097
|
+
error: null;
|
|
9098
|
+
meta: TResponseMeta;
|
|
9099
|
+
};
|
|
9100
|
+
422: {
|
|
9101
|
+
type: "validation";
|
|
9102
|
+
on: string;
|
|
9103
|
+
summary?: string;
|
|
9104
|
+
message?: string;
|
|
9105
|
+
found?: unknown;
|
|
9106
|
+
property?: string;
|
|
9107
|
+
expected?: string;
|
|
9108
|
+
};
|
|
9109
|
+
}>>) & {
|
|
9110
|
+
'~path': string;
|
|
9111
|
+
};
|
|
9112
|
+
delete: ((body?: {} | undefined, options?: {
|
|
9113
|
+
fetch?: RequestInit | undefined;
|
|
9114
|
+
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
9115
|
+
headers?: {} | undefined;
|
|
9116
|
+
query?: {} | undefined;
|
|
9117
|
+
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
9118
|
+
200: {
|
|
9119
|
+
success: true;
|
|
9120
|
+
statusCode: number;
|
|
9121
|
+
data: null;
|
|
9122
|
+
message: string;
|
|
9123
|
+
error: null;
|
|
9124
|
+
meta: TResponseMeta;
|
|
9125
|
+
} | {
|
|
9126
|
+
success: false;
|
|
9127
|
+
statusCode: number;
|
|
9128
|
+
data: null;
|
|
9129
|
+
message: string;
|
|
9130
|
+
error: TResponseError;
|
|
9131
|
+
meta: TResponseMeta;
|
|
9132
|
+
};
|
|
9133
|
+
422: {
|
|
9134
|
+
type: "validation";
|
|
9135
|
+
on: string;
|
|
9136
|
+
summary?: string;
|
|
9137
|
+
message?: string;
|
|
9138
|
+
found?: unknown;
|
|
9139
|
+
property?: string;
|
|
9140
|
+
expected?: string;
|
|
9141
|
+
};
|
|
9142
|
+
}>>) & {
|
|
9143
|
+
'~path': string;
|
|
9144
|
+
};
|
|
9145
|
+
'~path': string;
|
|
9146
|
+
} & {
|
|
9147
|
+
patch: ((body?: {
|
|
9148
|
+
name?: string | undefined;
|
|
9149
|
+
parentUuid?: string | null | undefined;
|
|
9150
|
+
} | undefined, options?: {
|
|
9151
|
+
fetch?: RequestInit | undefined;
|
|
9152
|
+
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
9153
|
+
headers?: {} | undefined;
|
|
9154
|
+
query?: {} | undefined;
|
|
9155
|
+
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
9156
|
+
200: {
|
|
9157
|
+
success: false;
|
|
9158
|
+
statusCode: number;
|
|
9159
|
+
data: null;
|
|
9160
|
+
message: string;
|
|
9161
|
+
error: TResponseError;
|
|
9162
|
+
meta: TResponseMeta;
|
|
9163
|
+
} | {
|
|
9164
|
+
success: true;
|
|
9165
|
+
statusCode: number;
|
|
9166
|
+
data: {
|
|
9167
|
+
uuid: string;
|
|
9168
|
+
name: string;
|
|
9169
|
+
parentUuid: string | null;
|
|
9170
|
+
createdAt: Date;
|
|
9171
|
+
updatedAt: Date;
|
|
9172
|
+
};
|
|
9173
|
+
message: null;
|
|
9174
|
+
error: null;
|
|
9175
|
+
meta: TResponseMeta;
|
|
9176
|
+
};
|
|
9177
|
+
422: {
|
|
9178
|
+
type: "validation";
|
|
9179
|
+
on: string;
|
|
9180
|
+
summary?: string;
|
|
9181
|
+
message?: string;
|
|
9182
|
+
found?: unknown;
|
|
9183
|
+
property?: string;
|
|
9184
|
+
expected?: string;
|
|
9185
|
+
};
|
|
9186
|
+
}>>) & {
|
|
9187
|
+
'~path': string;
|
|
9188
|
+
};
|
|
9189
|
+
delete: ((body?: {} | undefined, options?: {
|
|
9190
|
+
fetch?: RequestInit | undefined;
|
|
9191
|
+
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
9192
|
+
headers?: {} | undefined;
|
|
9193
|
+
query?: {} | undefined;
|
|
9194
|
+
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
9195
|
+
200: {
|
|
9196
|
+
success: true;
|
|
9197
|
+
statusCode: number;
|
|
9198
|
+
data: null;
|
|
9199
|
+
message: string;
|
|
9200
|
+
error: null;
|
|
9201
|
+
meta: TResponseMeta;
|
|
9202
|
+
} | {
|
|
9203
|
+
success: false;
|
|
9204
|
+
statusCode: number;
|
|
9205
|
+
data: null;
|
|
9206
|
+
message: string;
|
|
9207
|
+
error: TResponseError;
|
|
9208
|
+
meta: TResponseMeta;
|
|
9209
|
+
};
|
|
9210
|
+
422: {
|
|
9211
|
+
type: "validation";
|
|
9212
|
+
on: string;
|
|
9213
|
+
summary?: string;
|
|
9214
|
+
message?: string;
|
|
9215
|
+
found?: unknown;
|
|
9216
|
+
property?: string;
|
|
9217
|
+
expected?: string;
|
|
9218
|
+
};
|
|
9219
|
+
}>>) & {
|
|
9220
|
+
'~path': string;
|
|
9221
|
+
};
|
|
9222
|
+
}) & {
|
|
9223
|
+
get: ((options?: {
|
|
9224
|
+
fetch?: RequestInit | undefined;
|
|
9225
|
+
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
9226
|
+
headers?: {} | undefined;
|
|
9227
|
+
query?: {
|
|
9228
|
+
parentUuid?: string | undefined;
|
|
9229
|
+
search?: string | undefined;
|
|
9230
|
+
} | undefined;
|
|
9231
|
+
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
9232
|
+
200: {
|
|
9233
|
+
success: false;
|
|
9234
|
+
statusCode: number;
|
|
9235
|
+
data: null;
|
|
9236
|
+
message: string;
|
|
9237
|
+
error: TResponseError;
|
|
9238
|
+
meta: TResponseMeta;
|
|
9239
|
+
} | {
|
|
9240
|
+
success: true;
|
|
9241
|
+
statusCode: number;
|
|
9242
|
+
data: {
|
|
9243
|
+
name: string;
|
|
9244
|
+
uuid: string;
|
|
9245
|
+
createdAt: Date;
|
|
9246
|
+
updatedAt: Date;
|
|
9247
|
+
parentUuid: string | null;
|
|
9248
|
+
}[];
|
|
9249
|
+
message: null;
|
|
9250
|
+
error: null;
|
|
9251
|
+
meta: TResponseMeta;
|
|
9252
|
+
};
|
|
9253
|
+
422: {
|
|
9254
|
+
type: "validation";
|
|
9255
|
+
on: string;
|
|
9256
|
+
summary?: string;
|
|
9257
|
+
message?: string;
|
|
9258
|
+
found?: unknown;
|
|
9259
|
+
property?: string;
|
|
9260
|
+
expected?: string;
|
|
9261
|
+
};
|
|
9262
|
+
}>>) & {
|
|
9263
|
+
'~path': string;
|
|
9264
|
+
};
|
|
9265
|
+
post: ((body: {
|
|
9266
|
+
name: string;
|
|
9267
|
+
parentUuid?: string | undefined;
|
|
9268
|
+
}, options?: {
|
|
9269
|
+
fetch?: RequestInit | undefined;
|
|
9270
|
+
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
9271
|
+
headers?: {} | undefined;
|
|
9272
|
+
query?: {} | undefined;
|
|
9273
|
+
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
9274
|
+
200: {
|
|
9275
|
+
success: false;
|
|
9276
|
+
statusCode: number;
|
|
9277
|
+
data: null;
|
|
9278
|
+
message: string;
|
|
9279
|
+
error: TResponseError;
|
|
9280
|
+
meta: TResponseMeta;
|
|
9281
|
+
} | {
|
|
9282
|
+
success: true;
|
|
9283
|
+
statusCode: number;
|
|
9284
|
+
data: {
|
|
9285
|
+
name: string;
|
|
9286
|
+
uuid: string;
|
|
9287
|
+
createdAt: Date;
|
|
9288
|
+
updatedAt: Date;
|
|
9289
|
+
parentUuid: string | null;
|
|
9290
|
+
};
|
|
9291
|
+
message: null;
|
|
9292
|
+
error: null;
|
|
9293
|
+
meta: TResponseMeta;
|
|
9294
|
+
};
|
|
9295
|
+
422: {
|
|
9296
|
+
type: "validation";
|
|
9297
|
+
on: string;
|
|
9298
|
+
summary?: string;
|
|
9299
|
+
message?: string;
|
|
9300
|
+
found?: unknown;
|
|
9301
|
+
property?: string;
|
|
9302
|
+
expected?: string;
|
|
9303
|
+
};
|
|
9304
|
+
}>>) & {
|
|
9305
|
+
'~path': string;
|
|
9306
|
+
};
|
|
9307
|
+
} & {
|
|
9308
|
+
'~path': string;
|
|
9309
|
+
};
|
|
8998
9310
|
post: ((body: {
|
|
8999
9311
|
name: string;
|
|
9000
9312
|
size: number;
|
|
9001
9313
|
mimeType: EMimeType;
|
|
9002
9314
|
altText: string;
|
|
9003
9315
|
description: string;
|
|
9316
|
+
isPrivate: boolean;
|
|
9317
|
+
folderUuid?: string | undefined;
|
|
9004
9318
|
}, options?: {
|
|
9005
9319
|
fetch?: RequestInit | undefined;
|
|
9006
9320
|
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
@@ -9028,6 +9342,8 @@ declare const _createClient: () => {
|
|
|
9028
9342
|
size: number;
|
|
9029
9343
|
mimeType: string;
|
|
9030
9344
|
altText: string | null;
|
|
9345
|
+
folderUuid: string | null;
|
|
9346
|
+
isPrivate: boolean;
|
|
9031
9347
|
}[];
|
|
9032
9348
|
preSignedUrls: {
|
|
9033
9349
|
uuid: string;
|
|
@@ -9059,6 +9375,8 @@ declare const _createClient: () => {
|
|
|
9059
9375
|
mimeType: EMimeType;
|
|
9060
9376
|
size: number;
|
|
9061
9377
|
}[];
|
|
9378
|
+
isPrivate: boolean;
|
|
9379
|
+
folderUuid?: string | undefined;
|
|
9062
9380
|
}, options?: {
|
|
9063
9381
|
fetch?: RequestInit | undefined;
|
|
9064
9382
|
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
@@ -9086,6 +9404,8 @@ declare const _createClient: () => {
|
|
|
9086
9404
|
size: number;
|
|
9087
9405
|
mimeType: string;
|
|
9088
9406
|
altText: string | null;
|
|
9407
|
+
folderUuid: string | null;
|
|
9408
|
+
isPrivate: boolean;
|
|
9089
9409
|
}[];
|
|
9090
9410
|
preSignedUrls: {
|
|
9091
9411
|
uuid: string;
|
|
@@ -9205,6 +9525,25 @@ declare const _createClient: () => {
|
|
|
9205
9525
|
headers?: {} | undefined;
|
|
9206
9526
|
query?: {} | undefined;
|
|
9207
9527
|
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
9528
|
+
200: {
|
|
9529
|
+
success: false;
|
|
9530
|
+
statusCode: number;
|
|
9531
|
+
data: null;
|
|
9532
|
+
message: string;
|
|
9533
|
+
error: TResponseError;
|
|
9534
|
+
meta: TResponseMeta;
|
|
9535
|
+
} | {
|
|
9536
|
+
success: true;
|
|
9537
|
+
statusCode: number;
|
|
9538
|
+
data: {
|
|
9539
|
+
mediaUuid: string;
|
|
9540
|
+
entityUuid: string | null;
|
|
9541
|
+
entityId: string | null;
|
|
9542
|
+
};
|
|
9543
|
+
message: null;
|
|
9544
|
+
error: null;
|
|
9545
|
+
meta: TResponseMeta;
|
|
9546
|
+
};
|
|
9208
9547
|
422: {
|
|
9209
9548
|
type: "validation";
|
|
9210
9549
|
on: string;
|
|
@@ -10416,6 +10755,7 @@ declare const _createClient: () => {
|
|
|
10416
10755
|
cancelReason: string | null;
|
|
10417
10756
|
cancelledBy: string | null;
|
|
10418
10757
|
deletedAt: Date | null;
|
|
10758
|
+
orderIndex: number;
|
|
10419
10759
|
user: {
|
|
10420
10760
|
uuid: string;
|
|
10421
10761
|
email: string;
|
|
@@ -10444,12 +10784,6 @@ declare const _createClient: () => {
|
|
|
10444
10784
|
uuid: string;
|
|
10445
10785
|
createdAt: Date | null;
|
|
10446
10786
|
updatedAt: Date | null;
|
|
10447
|
-
options: {
|
|
10448
|
-
value: string;
|
|
10449
|
-
option: {
|
|
10450
|
-
name: string;
|
|
10451
|
-
};
|
|
10452
|
-
}[];
|
|
10453
10787
|
media: {
|
|
10454
10788
|
createdAt: Date | null;
|
|
10455
10789
|
updatedAt: Date | null;
|
|
@@ -10459,6 +10793,12 @@ declare const _createClient: () => {
|
|
|
10459
10793
|
altText: string | null;
|
|
10460
10794
|
};
|
|
10461
10795
|
};
|
|
10796
|
+
options: {
|
|
10797
|
+
value: string;
|
|
10798
|
+
option: {
|
|
10799
|
+
name: string;
|
|
10800
|
+
};
|
|
10801
|
+
}[];
|
|
10462
10802
|
};
|
|
10463
10803
|
}[];
|
|
10464
10804
|
orderTimelines: {
|
|
@@ -11564,6 +11904,7 @@ declare const _createClient: () => {
|
|
|
11564
11904
|
cancelReason: string | null;
|
|
11565
11905
|
cancelledBy: string | null;
|
|
11566
11906
|
deletedAt: Date | null;
|
|
11907
|
+
orderIndex: number;
|
|
11567
11908
|
user: {
|
|
11568
11909
|
uuid: string;
|
|
11569
11910
|
email: string;
|
|
@@ -11592,12 +11933,6 @@ declare const _createClient: () => {
|
|
|
11592
11933
|
uuid: string;
|
|
11593
11934
|
createdAt: Date | null;
|
|
11594
11935
|
updatedAt: Date | null;
|
|
11595
|
-
options: {
|
|
11596
|
-
value: string;
|
|
11597
|
-
option: {
|
|
11598
|
-
name: string;
|
|
11599
|
-
};
|
|
11600
|
-
}[];
|
|
11601
11936
|
media: {
|
|
11602
11937
|
createdAt: Date | null;
|
|
11603
11938
|
updatedAt: Date | null;
|
|
@@ -11607,6 +11942,12 @@ declare const _createClient: () => {
|
|
|
11607
11942
|
altText: string | null;
|
|
11608
11943
|
};
|
|
11609
11944
|
};
|
|
11945
|
+
options: {
|
|
11946
|
+
value: string;
|
|
11947
|
+
option: {
|
|
11948
|
+
name: string;
|
|
11949
|
+
};
|
|
11950
|
+
}[];
|
|
11610
11951
|
};
|
|
11611
11952
|
}[];
|
|
11612
11953
|
orderTimelines: {
|
|
@@ -13172,12 +13513,6 @@ declare const _createClient: () => {
|
|
|
13172
13513
|
};
|
|
13173
13514
|
variant: {
|
|
13174
13515
|
name: string;
|
|
13175
|
-
options: {
|
|
13176
|
-
value: string;
|
|
13177
|
-
option: {
|
|
13178
|
-
name: string;
|
|
13179
|
-
};
|
|
13180
|
-
}[];
|
|
13181
13516
|
media: {
|
|
13182
13517
|
createdAt: Date | null;
|
|
13183
13518
|
updatedAt: Date | null;
|
|
@@ -13187,6 +13522,12 @@ declare const _createClient: () => {
|
|
|
13187
13522
|
altText: string | null;
|
|
13188
13523
|
};
|
|
13189
13524
|
};
|
|
13525
|
+
options: {
|
|
13526
|
+
value: string;
|
|
13527
|
+
option: {
|
|
13528
|
+
name: string;
|
|
13529
|
+
};
|
|
13530
|
+
}[];
|
|
13190
13531
|
};
|
|
13191
13532
|
}[];
|
|
13192
13533
|
pagination: {
|
|
@@ -13558,6 +13899,26 @@ declare const _createClient: () => {
|
|
|
13558
13899
|
success: true;
|
|
13559
13900
|
statusCode: number;
|
|
13560
13901
|
data: {
|
|
13902
|
+
orderManifests: {
|
|
13903
|
+
uuid: string;
|
|
13904
|
+
status: "PROCESSING" | "CANCELLED" | "PURCHASED" | "WAREHOUSE_ABROAD" | "IN_TRANSIT" | "ARRIVED_VN" | "DELIVERED";
|
|
13905
|
+
createdAt: Date | null;
|
|
13906
|
+
updatedAt: Date | null;
|
|
13907
|
+
variantUuid: string;
|
|
13908
|
+
unitPrice: number;
|
|
13909
|
+
quantityOrdered: number;
|
|
13910
|
+
quantityFulfilled: number;
|
|
13911
|
+
totalLineAmount: number;
|
|
13912
|
+
order: {
|
|
13913
|
+
uuid: string;
|
|
13914
|
+
status: "DRAFT" | "PENDING" | "CONFIRMED" | "PROCESSING" | "COMPLETED" | "CANCELLED";
|
|
13915
|
+
orderCode: string;
|
|
13916
|
+
customerName: string | null;
|
|
13917
|
+
createdAt: Date;
|
|
13918
|
+
paymentStatus: "PENDING" | "PAID" | "PARTIALLY_PAID" | "REFUNDED";
|
|
13919
|
+
fulfillmentStatus: "UNFULFILLED" | "PARTIALLY_FULFILLED" | "FULFILLED" | "RETURNED";
|
|
13920
|
+
};
|
|
13921
|
+
}[];
|
|
13561
13922
|
name: string;
|
|
13562
13923
|
uuid: string;
|
|
13563
13924
|
tags: string[] | null;
|
|
@@ -13565,6 +13926,7 @@ declare const _createClient: () => {
|
|
|
13565
13926
|
createdAt: Date | null;
|
|
13566
13927
|
updatedAt: Date | null;
|
|
13567
13928
|
description: string | null;
|
|
13929
|
+
orderIndex: number;
|
|
13568
13930
|
slug: string;
|
|
13569
13931
|
createdBy: string;
|
|
13570
13932
|
productLink: string | null;
|
|
@@ -13622,14 +13984,6 @@ declare const _createClient: () => {
|
|
|
13622
13984
|
sku: string;
|
|
13623
13985
|
isNew: boolean | null;
|
|
13624
13986
|
isSpecial: boolean | null;
|
|
13625
|
-
options: {
|
|
13626
|
-
value: string;
|
|
13627
|
-
id: number;
|
|
13628
|
-
option: {
|
|
13629
|
-
name: string;
|
|
13630
|
-
id: number;
|
|
13631
|
-
};
|
|
13632
|
-
}[];
|
|
13633
13987
|
media: {
|
|
13634
13988
|
createdAt: Date | null;
|
|
13635
13989
|
updatedAt: Date | null;
|
|
@@ -13641,6 +13995,14 @@ declare const _createClient: () => {
|
|
|
13641
13995
|
updatedAt: Date | null;
|
|
13642
13996
|
};
|
|
13643
13997
|
};
|
|
13998
|
+
options: {
|
|
13999
|
+
value: string;
|
|
14000
|
+
id: number;
|
|
14001
|
+
option: {
|
|
14002
|
+
name: string;
|
|
14003
|
+
id: number;
|
|
14004
|
+
};
|
|
14005
|
+
}[];
|
|
13644
14006
|
}[];
|
|
13645
14007
|
parentCategory: {
|
|
13646
14008
|
name: string;
|
|
@@ -13722,14 +14084,6 @@ declare const _createClient: () => {
|
|
|
13722
14084
|
description: string | null;
|
|
13723
14085
|
retailCost: number | null;
|
|
13724
14086
|
sku: string;
|
|
13725
|
-
options: {
|
|
13726
|
-
value: string;
|
|
13727
|
-
id: number;
|
|
13728
|
-
option: {
|
|
13729
|
-
name: string;
|
|
13730
|
-
id: number;
|
|
13731
|
-
};
|
|
13732
|
-
}[];
|
|
13733
14087
|
media: {
|
|
13734
14088
|
createdAt: Date | null;
|
|
13735
14089
|
updatedAt: Date | null;
|
|
@@ -13739,6 +14093,14 @@ declare const _createClient: () => {
|
|
|
13739
14093
|
path: string;
|
|
13740
14094
|
};
|
|
13741
14095
|
};
|
|
14096
|
+
options: {
|
|
14097
|
+
value: string;
|
|
14098
|
+
id: number;
|
|
14099
|
+
option: {
|
|
14100
|
+
name: string;
|
|
14101
|
+
id: number;
|
|
14102
|
+
};
|
|
14103
|
+
}[];
|
|
13742
14104
|
}[];
|
|
13743
14105
|
};
|
|
13744
14106
|
message: null;
|
|
@@ -14280,6 +14642,26 @@ declare const _createClient: () => {
|
|
|
14280
14642
|
success: true;
|
|
14281
14643
|
statusCode: number;
|
|
14282
14644
|
data: {
|
|
14645
|
+
orderManifests: {
|
|
14646
|
+
uuid: string;
|
|
14647
|
+
status: "PROCESSING" | "CANCELLED" | "PURCHASED" | "WAREHOUSE_ABROAD" | "IN_TRANSIT" | "ARRIVED_VN" | "DELIVERED";
|
|
14648
|
+
createdAt: Date | null;
|
|
14649
|
+
updatedAt: Date | null;
|
|
14650
|
+
variantUuid: string;
|
|
14651
|
+
unitPrice: number;
|
|
14652
|
+
quantityOrdered: number;
|
|
14653
|
+
quantityFulfilled: number;
|
|
14654
|
+
totalLineAmount: number;
|
|
14655
|
+
order: {
|
|
14656
|
+
uuid: string;
|
|
14657
|
+
status: "DRAFT" | "PENDING" | "CONFIRMED" | "PROCESSING" | "COMPLETED" | "CANCELLED";
|
|
14658
|
+
orderCode: string;
|
|
14659
|
+
customerName: string | null;
|
|
14660
|
+
createdAt: Date;
|
|
14661
|
+
paymentStatus: "PENDING" | "PAID" | "PARTIALLY_PAID" | "REFUNDED";
|
|
14662
|
+
fulfillmentStatus: "UNFULFILLED" | "PARTIALLY_FULFILLED" | "FULFILLED" | "RETURNED";
|
|
14663
|
+
};
|
|
14664
|
+
}[];
|
|
14283
14665
|
name: string;
|
|
14284
14666
|
uuid: string;
|
|
14285
14667
|
tags: string[] | null;
|
|
@@ -14287,6 +14669,7 @@ declare const _createClient: () => {
|
|
|
14287
14669
|
createdAt: Date | null;
|
|
14288
14670
|
updatedAt: Date | null;
|
|
14289
14671
|
description: string | null;
|
|
14672
|
+
orderIndex: number;
|
|
14290
14673
|
slug: string;
|
|
14291
14674
|
createdBy: string;
|
|
14292
14675
|
productLink: string | null;
|
|
@@ -14344,14 +14727,6 @@ declare const _createClient: () => {
|
|
|
14344
14727
|
sku: string;
|
|
14345
14728
|
isNew: boolean | null;
|
|
14346
14729
|
isSpecial: boolean | null;
|
|
14347
|
-
options: {
|
|
14348
|
-
value: string;
|
|
14349
|
-
id: number;
|
|
14350
|
-
option: {
|
|
14351
|
-
name: string;
|
|
14352
|
-
id: number;
|
|
14353
|
-
};
|
|
14354
|
-
}[];
|
|
14355
14730
|
media: {
|
|
14356
14731
|
createdAt: Date | null;
|
|
14357
14732
|
updatedAt: Date | null;
|
|
@@ -14363,6 +14738,14 @@ declare const _createClient: () => {
|
|
|
14363
14738
|
updatedAt: Date | null;
|
|
14364
14739
|
};
|
|
14365
14740
|
};
|
|
14741
|
+
options: {
|
|
14742
|
+
value: string;
|
|
14743
|
+
id: number;
|
|
14744
|
+
option: {
|
|
14745
|
+
name: string;
|
|
14746
|
+
id: number;
|
|
14747
|
+
};
|
|
14748
|
+
}[];
|
|
14366
14749
|
}[];
|
|
14367
14750
|
parentCategory: {
|
|
14368
14751
|
name: string;
|
|
@@ -14444,14 +14827,6 @@ declare const _createClient: () => {
|
|
|
14444
14827
|
description: string | null;
|
|
14445
14828
|
retailCost: number | null;
|
|
14446
14829
|
sku: string;
|
|
14447
|
-
options: {
|
|
14448
|
-
value: string;
|
|
14449
|
-
id: number;
|
|
14450
|
-
option: {
|
|
14451
|
-
name: string;
|
|
14452
|
-
id: number;
|
|
14453
|
-
};
|
|
14454
|
-
}[];
|
|
14455
14830
|
media: {
|
|
14456
14831
|
createdAt: Date | null;
|
|
14457
14832
|
updatedAt: Date | null;
|
|
@@ -14461,6 +14836,14 @@ declare const _createClient: () => {
|
|
|
14461
14836
|
path: string;
|
|
14462
14837
|
};
|
|
14463
14838
|
};
|
|
14839
|
+
options: {
|
|
14840
|
+
value: string;
|
|
14841
|
+
id: number;
|
|
14842
|
+
option: {
|
|
14843
|
+
name: string;
|
|
14844
|
+
id: number;
|
|
14845
|
+
};
|
|
14846
|
+
}[];
|
|
14464
14847
|
}[];
|
|
14465
14848
|
};
|
|
14466
14849
|
message: null;
|