@customafk/lunas-api-sdk 0.0.97 → 0.0.99
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 +487 -82
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +487 -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',
|
|
@@ -2365,6 +2372,17 @@ declare const _createClient: () => {
|
|
|
2365
2372
|
username: string;
|
|
2366
2373
|
role: string;
|
|
2367
2374
|
isActive: boolean | null;
|
|
2375
|
+
customerMedias: {
|
|
2376
|
+
createdAt: Date | null;
|
|
2377
|
+
media: {
|
|
2378
|
+
name: string;
|
|
2379
|
+
uuid: string;
|
|
2380
|
+
path: string;
|
|
2381
|
+
size: number;
|
|
2382
|
+
mimeType: string;
|
|
2383
|
+
isPrivate: boolean;
|
|
2384
|
+
};
|
|
2385
|
+
}[];
|
|
2368
2386
|
networks: {
|
|
2369
2387
|
createdAt: Date | null;
|
|
2370
2388
|
updatedAt: Date | null;
|
|
@@ -2488,12 +2506,6 @@ declare const _createClient: () => {
|
|
|
2488
2506
|
uuid: string;
|
|
2489
2507
|
createdAt: Date | null;
|
|
2490
2508
|
updatedAt: Date | null;
|
|
2491
|
-
options: {
|
|
2492
|
-
value: string;
|
|
2493
|
-
option: {
|
|
2494
|
-
name: string;
|
|
2495
|
-
};
|
|
2496
|
-
}[];
|
|
2497
2509
|
media: {
|
|
2498
2510
|
createdAt: Date | null;
|
|
2499
2511
|
updatedAt: Date | null;
|
|
@@ -2503,6 +2515,12 @@ declare const _createClient: () => {
|
|
|
2503
2515
|
altText: string | null;
|
|
2504
2516
|
};
|
|
2505
2517
|
};
|
|
2518
|
+
options: {
|
|
2519
|
+
value: string;
|
|
2520
|
+
option: {
|
|
2521
|
+
name: string;
|
|
2522
|
+
};
|
|
2523
|
+
}[];
|
|
2506
2524
|
};
|
|
2507
2525
|
}[];
|
|
2508
2526
|
orderTimelines: {
|
|
@@ -2641,12 +2659,6 @@ declare const _createClient: () => {
|
|
|
2641
2659
|
uuid: string;
|
|
2642
2660
|
createdAt: Date | null;
|
|
2643
2661
|
updatedAt: Date | null;
|
|
2644
|
-
options: {
|
|
2645
|
-
value: string;
|
|
2646
|
-
option: {
|
|
2647
|
-
name: string;
|
|
2648
|
-
};
|
|
2649
|
-
}[];
|
|
2650
2662
|
media: {
|
|
2651
2663
|
createdAt: Date | null;
|
|
2652
2664
|
updatedAt: Date | null;
|
|
@@ -2656,6 +2668,12 @@ declare const _createClient: () => {
|
|
|
2656
2668
|
altText: string | null;
|
|
2657
2669
|
};
|
|
2658
2670
|
};
|
|
2671
|
+
options: {
|
|
2672
|
+
value: string;
|
|
2673
|
+
option: {
|
|
2674
|
+
name: string;
|
|
2675
|
+
};
|
|
2676
|
+
}[];
|
|
2659
2677
|
};
|
|
2660
2678
|
}[];
|
|
2661
2679
|
orderTimelines: {
|
|
@@ -2982,6 +3000,17 @@ declare const _createClient: () => {
|
|
|
2982
3000
|
username: string;
|
|
2983
3001
|
role: string;
|
|
2984
3002
|
isActive: boolean | null;
|
|
3003
|
+
customerMedias: {
|
|
3004
|
+
createdAt: Date | null;
|
|
3005
|
+
media: {
|
|
3006
|
+
name: string;
|
|
3007
|
+
uuid: string;
|
|
3008
|
+
path: string;
|
|
3009
|
+
size: number;
|
|
3010
|
+
mimeType: string;
|
|
3011
|
+
isPrivate: boolean;
|
|
3012
|
+
};
|
|
3013
|
+
}[];
|
|
2985
3014
|
networks: {
|
|
2986
3015
|
createdAt: Date | null;
|
|
2987
3016
|
updatedAt: Date | null;
|
|
@@ -3105,12 +3134,6 @@ declare const _createClient: () => {
|
|
|
3105
3134
|
uuid: string;
|
|
3106
3135
|
createdAt: Date | null;
|
|
3107
3136
|
updatedAt: Date | null;
|
|
3108
|
-
options: {
|
|
3109
|
-
value: string;
|
|
3110
|
-
option: {
|
|
3111
|
-
name: string;
|
|
3112
|
-
};
|
|
3113
|
-
}[];
|
|
3114
3137
|
media: {
|
|
3115
3138
|
createdAt: Date | null;
|
|
3116
3139
|
updatedAt: Date | null;
|
|
@@ -3120,6 +3143,12 @@ declare const _createClient: () => {
|
|
|
3120
3143
|
altText: string | null;
|
|
3121
3144
|
};
|
|
3122
3145
|
};
|
|
3146
|
+
options: {
|
|
3147
|
+
value: string;
|
|
3148
|
+
option: {
|
|
3149
|
+
name: string;
|
|
3150
|
+
};
|
|
3151
|
+
}[];
|
|
3123
3152
|
};
|
|
3124
3153
|
}[];
|
|
3125
3154
|
orderTimelines: {
|
|
@@ -3258,12 +3287,6 @@ declare const _createClient: () => {
|
|
|
3258
3287
|
uuid: string;
|
|
3259
3288
|
createdAt: Date | null;
|
|
3260
3289
|
updatedAt: Date | null;
|
|
3261
|
-
options: {
|
|
3262
|
-
value: string;
|
|
3263
|
-
option: {
|
|
3264
|
-
name: string;
|
|
3265
|
-
};
|
|
3266
|
-
}[];
|
|
3267
3290
|
media: {
|
|
3268
3291
|
createdAt: Date | null;
|
|
3269
3292
|
updatedAt: Date | null;
|
|
@@ -3273,6 +3296,12 @@ declare const _createClient: () => {
|
|
|
3273
3296
|
altText: string | null;
|
|
3274
3297
|
};
|
|
3275
3298
|
};
|
|
3299
|
+
options: {
|
|
3300
|
+
value: string;
|
|
3301
|
+
option: {
|
|
3302
|
+
name: string;
|
|
3303
|
+
};
|
|
3304
|
+
}[];
|
|
3276
3305
|
};
|
|
3277
3306
|
}[];
|
|
3278
3307
|
orderTimelines: {
|
|
@@ -8797,6 +8826,21 @@ declare const _createClient: () => {
|
|
|
8797
8826
|
size: number;
|
|
8798
8827
|
mimeType: string;
|
|
8799
8828
|
altText: string | null;
|
|
8829
|
+
folderUuid: string | null;
|
|
8830
|
+
isPrivate: boolean;
|
|
8831
|
+
} & {
|
|
8832
|
+
downloadUrl: string;
|
|
8833
|
+
name: string;
|
|
8834
|
+
uuid: string;
|
|
8835
|
+
path: string;
|
|
8836
|
+
createdAt: Date | null;
|
|
8837
|
+
updatedAt: Date | null;
|
|
8838
|
+
description: string | null;
|
|
8839
|
+
size: number;
|
|
8840
|
+
mimeType: string;
|
|
8841
|
+
altText: string | null;
|
|
8842
|
+
folderUuid: string | null;
|
|
8843
|
+
isPrivate: boolean;
|
|
8800
8844
|
};
|
|
8801
8845
|
message: null;
|
|
8802
8846
|
error: null;
|
|
@@ -8875,6 +8919,21 @@ declare const _createClient: () => {
|
|
|
8875
8919
|
size: number;
|
|
8876
8920
|
mimeType: string;
|
|
8877
8921
|
altText: string | null;
|
|
8922
|
+
folderUuid: string | null;
|
|
8923
|
+
isPrivate: boolean;
|
|
8924
|
+
} & {
|
|
8925
|
+
downloadUrl: string;
|
|
8926
|
+
name: string;
|
|
8927
|
+
uuid: string;
|
|
8928
|
+
path: string;
|
|
8929
|
+
createdAt: Date | null;
|
|
8930
|
+
updatedAt: Date | null;
|
|
8931
|
+
description: string | null;
|
|
8932
|
+
size: number;
|
|
8933
|
+
mimeType: string;
|
|
8934
|
+
altText: string | null;
|
|
8935
|
+
folderUuid: string | null;
|
|
8936
|
+
isPrivate: boolean;
|
|
8878
8937
|
};
|
|
8879
8938
|
message: null;
|
|
8880
8939
|
error: null;
|
|
@@ -8926,17 +8985,19 @@ declare const _createClient: () => {
|
|
|
8926
8985
|
'~path': string;
|
|
8927
8986
|
};
|
|
8928
8987
|
}) & {
|
|
8929
|
-
get: ((options
|
|
8988
|
+
get: ((options: {
|
|
8930
8989
|
fetch?: RequestInit | undefined;
|
|
8931
8990
|
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
8932
8991
|
headers?: {} | undefined;
|
|
8933
|
-
query
|
|
8992
|
+
query: {
|
|
8993
|
+
includePrivate: boolean;
|
|
8934
8994
|
page?: number | undefined;
|
|
8935
8995
|
limit?: number | undefined;
|
|
8936
8996
|
search?: string | undefined;
|
|
8937
8997
|
includeUuids?: string[] | undefined;
|
|
8938
|
-
|
|
8939
|
-
|
|
8998
|
+
folderUuid?: string | undefined;
|
|
8999
|
+
};
|
|
9000
|
+
}) => Promise<Treaty.TreatyResponse<{
|
|
8940
9001
|
200: {
|
|
8941
9002
|
success: false;
|
|
8942
9003
|
statusCode: number;
|
|
@@ -8948,7 +9009,7 @@ declare const _createClient: () => {
|
|
|
8948
9009
|
success: true;
|
|
8949
9010
|
statusCode: number;
|
|
8950
9011
|
data: {
|
|
8951
|
-
include: {
|
|
9012
|
+
include: ({
|
|
8952
9013
|
name: string;
|
|
8953
9014
|
uuid: string;
|
|
8954
9015
|
path: string;
|
|
@@ -8958,8 +9019,10 @@ declare const _createClient: () => {
|
|
|
8958
9019
|
size: number;
|
|
8959
9020
|
mimeType: string;
|
|
8960
9021
|
altText: string | null;
|
|
8961
|
-
|
|
8962
|
-
|
|
9022
|
+
folderUuid: string | null;
|
|
9023
|
+
isPrivate: boolean;
|
|
9024
|
+
} | {
|
|
9025
|
+
downloadUrl: string;
|
|
8963
9026
|
name: string;
|
|
8964
9027
|
uuid: string;
|
|
8965
9028
|
path: string;
|
|
@@ -8969,7 +9032,35 @@ declare const _createClient: () => {
|
|
|
8969
9032
|
size: number;
|
|
8970
9033
|
mimeType: string;
|
|
8971
9034
|
altText: string | null;
|
|
8972
|
-
|
|
9035
|
+
folderUuid: string | null;
|
|
9036
|
+
isPrivate: boolean;
|
|
9037
|
+
})[];
|
|
9038
|
+
data: ({
|
|
9039
|
+
name: string;
|
|
9040
|
+
uuid: string;
|
|
9041
|
+
path: string;
|
|
9042
|
+
createdAt: Date | null;
|
|
9043
|
+
updatedAt: Date | null;
|
|
9044
|
+
description: string | null;
|
|
9045
|
+
size: number;
|
|
9046
|
+
mimeType: string;
|
|
9047
|
+
altText: string | null;
|
|
9048
|
+
folderUuid: string | null;
|
|
9049
|
+
isPrivate: boolean;
|
|
9050
|
+
} | {
|
|
9051
|
+
downloadUrl: string;
|
|
9052
|
+
name: string;
|
|
9053
|
+
uuid: string;
|
|
9054
|
+
path: string;
|
|
9055
|
+
createdAt: Date | null;
|
|
9056
|
+
updatedAt: Date | null;
|
|
9057
|
+
description: string | null;
|
|
9058
|
+
size: number;
|
|
9059
|
+
mimeType: string;
|
|
9060
|
+
altText: string | null;
|
|
9061
|
+
folderUuid: string | null;
|
|
9062
|
+
isPrivate: boolean;
|
|
9063
|
+
})[];
|
|
8973
9064
|
pagination: {
|
|
8974
9065
|
page: number;
|
|
8975
9066
|
limit: number;
|
|
@@ -8995,12 +9086,257 @@ declare const _createClient: () => {
|
|
|
8995
9086
|
}>>) & {
|
|
8996
9087
|
'~path': string;
|
|
8997
9088
|
};
|
|
9089
|
+
folders: ((params: {
|
|
9090
|
+
folderUuid: string | number;
|
|
9091
|
+
}) => {
|
|
9092
|
+
patch: ((body?: {
|
|
9093
|
+
name?: string | undefined;
|
|
9094
|
+
parentUuid?: string | null | undefined;
|
|
9095
|
+
} | undefined, options?: {
|
|
9096
|
+
fetch?: RequestInit | undefined;
|
|
9097
|
+
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
9098
|
+
headers?: {} | undefined;
|
|
9099
|
+
query?: {} | undefined;
|
|
9100
|
+
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
9101
|
+
200: {
|
|
9102
|
+
success: false;
|
|
9103
|
+
statusCode: number;
|
|
9104
|
+
data: null;
|
|
9105
|
+
message: string;
|
|
9106
|
+
error: TResponseError;
|
|
9107
|
+
meta: TResponseMeta;
|
|
9108
|
+
} | {
|
|
9109
|
+
success: true;
|
|
9110
|
+
statusCode: number;
|
|
9111
|
+
data: {
|
|
9112
|
+
uuid: string;
|
|
9113
|
+
name: string;
|
|
9114
|
+
parentUuid: string | null;
|
|
9115
|
+
createdAt: Date;
|
|
9116
|
+
updatedAt: Date;
|
|
9117
|
+
};
|
|
9118
|
+
message: null;
|
|
9119
|
+
error: null;
|
|
9120
|
+
meta: TResponseMeta;
|
|
9121
|
+
};
|
|
9122
|
+
422: {
|
|
9123
|
+
type: "validation";
|
|
9124
|
+
on: string;
|
|
9125
|
+
summary?: string;
|
|
9126
|
+
message?: string;
|
|
9127
|
+
found?: unknown;
|
|
9128
|
+
property?: string;
|
|
9129
|
+
expected?: string;
|
|
9130
|
+
};
|
|
9131
|
+
}>>) & {
|
|
9132
|
+
'~path': string;
|
|
9133
|
+
};
|
|
9134
|
+
delete: ((body?: {} | undefined, options?: {
|
|
9135
|
+
fetch?: RequestInit | undefined;
|
|
9136
|
+
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
9137
|
+
headers?: {} | undefined;
|
|
9138
|
+
query?: {} | undefined;
|
|
9139
|
+
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
9140
|
+
200: {
|
|
9141
|
+
success: true;
|
|
9142
|
+
statusCode: number;
|
|
9143
|
+
data: null;
|
|
9144
|
+
message: string;
|
|
9145
|
+
error: null;
|
|
9146
|
+
meta: TResponseMeta;
|
|
9147
|
+
} | {
|
|
9148
|
+
success: false;
|
|
9149
|
+
statusCode: number;
|
|
9150
|
+
data: null;
|
|
9151
|
+
message: string;
|
|
9152
|
+
error: TResponseError;
|
|
9153
|
+
meta: TResponseMeta;
|
|
9154
|
+
};
|
|
9155
|
+
422: {
|
|
9156
|
+
type: "validation";
|
|
9157
|
+
on: string;
|
|
9158
|
+
summary?: string;
|
|
9159
|
+
message?: string;
|
|
9160
|
+
found?: unknown;
|
|
9161
|
+
property?: string;
|
|
9162
|
+
expected?: string;
|
|
9163
|
+
};
|
|
9164
|
+
}>>) & {
|
|
9165
|
+
'~path': string;
|
|
9166
|
+
};
|
|
9167
|
+
'~path': string;
|
|
9168
|
+
} & {
|
|
9169
|
+
patch: ((body?: {
|
|
9170
|
+
name?: string | undefined;
|
|
9171
|
+
parentUuid?: string | null | undefined;
|
|
9172
|
+
} | undefined, options?: {
|
|
9173
|
+
fetch?: RequestInit | undefined;
|
|
9174
|
+
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
9175
|
+
headers?: {} | undefined;
|
|
9176
|
+
query?: {} | undefined;
|
|
9177
|
+
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
9178
|
+
200: {
|
|
9179
|
+
success: false;
|
|
9180
|
+
statusCode: number;
|
|
9181
|
+
data: null;
|
|
9182
|
+
message: string;
|
|
9183
|
+
error: TResponseError;
|
|
9184
|
+
meta: TResponseMeta;
|
|
9185
|
+
} | {
|
|
9186
|
+
success: true;
|
|
9187
|
+
statusCode: number;
|
|
9188
|
+
data: {
|
|
9189
|
+
uuid: string;
|
|
9190
|
+
name: string;
|
|
9191
|
+
parentUuid: string | null;
|
|
9192
|
+
createdAt: Date;
|
|
9193
|
+
updatedAt: Date;
|
|
9194
|
+
};
|
|
9195
|
+
message: null;
|
|
9196
|
+
error: null;
|
|
9197
|
+
meta: TResponseMeta;
|
|
9198
|
+
};
|
|
9199
|
+
422: {
|
|
9200
|
+
type: "validation";
|
|
9201
|
+
on: string;
|
|
9202
|
+
summary?: string;
|
|
9203
|
+
message?: string;
|
|
9204
|
+
found?: unknown;
|
|
9205
|
+
property?: string;
|
|
9206
|
+
expected?: string;
|
|
9207
|
+
};
|
|
9208
|
+
}>>) & {
|
|
9209
|
+
'~path': string;
|
|
9210
|
+
};
|
|
9211
|
+
delete: ((body?: {} | undefined, options?: {
|
|
9212
|
+
fetch?: RequestInit | undefined;
|
|
9213
|
+
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
9214
|
+
headers?: {} | undefined;
|
|
9215
|
+
query?: {} | undefined;
|
|
9216
|
+
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
9217
|
+
200: {
|
|
9218
|
+
success: true;
|
|
9219
|
+
statusCode: number;
|
|
9220
|
+
data: null;
|
|
9221
|
+
message: string;
|
|
9222
|
+
error: null;
|
|
9223
|
+
meta: TResponseMeta;
|
|
9224
|
+
} | {
|
|
9225
|
+
success: false;
|
|
9226
|
+
statusCode: number;
|
|
9227
|
+
data: null;
|
|
9228
|
+
message: string;
|
|
9229
|
+
error: TResponseError;
|
|
9230
|
+
meta: TResponseMeta;
|
|
9231
|
+
};
|
|
9232
|
+
422: {
|
|
9233
|
+
type: "validation";
|
|
9234
|
+
on: string;
|
|
9235
|
+
summary?: string;
|
|
9236
|
+
message?: string;
|
|
9237
|
+
found?: unknown;
|
|
9238
|
+
property?: string;
|
|
9239
|
+
expected?: string;
|
|
9240
|
+
};
|
|
9241
|
+
}>>) & {
|
|
9242
|
+
'~path': string;
|
|
9243
|
+
};
|
|
9244
|
+
}) & {
|
|
9245
|
+
get: ((options?: {
|
|
9246
|
+
fetch?: RequestInit | undefined;
|
|
9247
|
+
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
9248
|
+
headers?: {} | undefined;
|
|
9249
|
+
query?: {
|
|
9250
|
+
parentUuid?: string | undefined;
|
|
9251
|
+
search?: string | undefined;
|
|
9252
|
+
} | undefined;
|
|
9253
|
+
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
9254
|
+
200: {
|
|
9255
|
+
success: false;
|
|
9256
|
+
statusCode: number;
|
|
9257
|
+
data: null;
|
|
9258
|
+
message: string;
|
|
9259
|
+
error: TResponseError;
|
|
9260
|
+
meta: TResponseMeta;
|
|
9261
|
+
} | {
|
|
9262
|
+
success: true;
|
|
9263
|
+
statusCode: number;
|
|
9264
|
+
data: {
|
|
9265
|
+
name: string;
|
|
9266
|
+
uuid: string;
|
|
9267
|
+
createdAt: Date;
|
|
9268
|
+
updatedAt: Date;
|
|
9269
|
+
parentUuid: string | null;
|
|
9270
|
+
}[];
|
|
9271
|
+
message: null;
|
|
9272
|
+
error: null;
|
|
9273
|
+
meta: TResponseMeta;
|
|
9274
|
+
};
|
|
9275
|
+
422: {
|
|
9276
|
+
type: "validation";
|
|
9277
|
+
on: string;
|
|
9278
|
+
summary?: string;
|
|
9279
|
+
message?: string;
|
|
9280
|
+
found?: unknown;
|
|
9281
|
+
property?: string;
|
|
9282
|
+
expected?: string;
|
|
9283
|
+
};
|
|
9284
|
+
}>>) & {
|
|
9285
|
+
'~path': string;
|
|
9286
|
+
};
|
|
9287
|
+
post: ((body: {
|
|
9288
|
+
name: string;
|
|
9289
|
+
parentUuid?: string | undefined;
|
|
9290
|
+
}, options?: {
|
|
9291
|
+
fetch?: RequestInit | undefined;
|
|
9292
|
+
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
9293
|
+
headers?: {} | undefined;
|
|
9294
|
+
query?: {} | undefined;
|
|
9295
|
+
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
9296
|
+
200: {
|
|
9297
|
+
success: false;
|
|
9298
|
+
statusCode: number;
|
|
9299
|
+
data: null;
|
|
9300
|
+
message: string;
|
|
9301
|
+
error: TResponseError;
|
|
9302
|
+
meta: TResponseMeta;
|
|
9303
|
+
} | {
|
|
9304
|
+
success: true;
|
|
9305
|
+
statusCode: number;
|
|
9306
|
+
data: {
|
|
9307
|
+
name: string;
|
|
9308
|
+
uuid: string;
|
|
9309
|
+
createdAt: Date;
|
|
9310
|
+
updatedAt: Date;
|
|
9311
|
+
parentUuid: string | null;
|
|
9312
|
+
};
|
|
9313
|
+
message: null;
|
|
9314
|
+
error: null;
|
|
9315
|
+
meta: TResponseMeta;
|
|
9316
|
+
};
|
|
9317
|
+
422: {
|
|
9318
|
+
type: "validation";
|
|
9319
|
+
on: string;
|
|
9320
|
+
summary?: string;
|
|
9321
|
+
message?: string;
|
|
9322
|
+
found?: unknown;
|
|
9323
|
+
property?: string;
|
|
9324
|
+
expected?: string;
|
|
9325
|
+
};
|
|
9326
|
+
}>>) & {
|
|
9327
|
+
'~path': string;
|
|
9328
|
+
};
|
|
9329
|
+
} & {
|
|
9330
|
+
'~path': string;
|
|
9331
|
+
};
|
|
8998
9332
|
post: ((body: {
|
|
8999
9333
|
name: string;
|
|
9000
9334
|
size: number;
|
|
9001
9335
|
mimeType: EMimeType;
|
|
9002
9336
|
altText: string;
|
|
9003
9337
|
description: string;
|
|
9338
|
+
isPrivate: boolean;
|
|
9339
|
+
folderUuid?: string | undefined;
|
|
9004
9340
|
}, options?: {
|
|
9005
9341
|
fetch?: RequestInit | undefined;
|
|
9006
9342
|
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
@@ -9028,6 +9364,8 @@ declare const _createClient: () => {
|
|
|
9028
9364
|
size: number;
|
|
9029
9365
|
mimeType: string;
|
|
9030
9366
|
altText: string | null;
|
|
9367
|
+
folderUuid: string | null;
|
|
9368
|
+
isPrivate: boolean;
|
|
9031
9369
|
}[];
|
|
9032
9370
|
preSignedUrls: {
|
|
9033
9371
|
uuid: string;
|
|
@@ -9059,6 +9397,8 @@ declare const _createClient: () => {
|
|
|
9059
9397
|
mimeType: EMimeType;
|
|
9060
9398
|
size: number;
|
|
9061
9399
|
}[];
|
|
9400
|
+
isPrivate: boolean;
|
|
9401
|
+
folderUuid?: string | undefined;
|
|
9062
9402
|
}, options?: {
|
|
9063
9403
|
fetch?: RequestInit | undefined;
|
|
9064
9404
|
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
@@ -9086,6 +9426,8 @@ declare const _createClient: () => {
|
|
|
9086
9426
|
size: number;
|
|
9087
9427
|
mimeType: string;
|
|
9088
9428
|
altText: string | null;
|
|
9429
|
+
folderUuid: string | null;
|
|
9430
|
+
isPrivate: boolean;
|
|
9089
9431
|
}[];
|
|
9090
9432
|
preSignedUrls: {
|
|
9091
9433
|
uuid: string;
|
|
@@ -9205,6 +9547,25 @@ declare const _createClient: () => {
|
|
|
9205
9547
|
headers?: {} | undefined;
|
|
9206
9548
|
query?: {} | undefined;
|
|
9207
9549
|
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
9550
|
+
200: {
|
|
9551
|
+
success: false;
|
|
9552
|
+
statusCode: number;
|
|
9553
|
+
data: null;
|
|
9554
|
+
message: string;
|
|
9555
|
+
error: TResponseError;
|
|
9556
|
+
meta: TResponseMeta;
|
|
9557
|
+
} | {
|
|
9558
|
+
success: true;
|
|
9559
|
+
statusCode: number;
|
|
9560
|
+
data: {
|
|
9561
|
+
mediaUuid: string;
|
|
9562
|
+
entityUuid: string | null;
|
|
9563
|
+
entityId: string | null;
|
|
9564
|
+
};
|
|
9565
|
+
message: null;
|
|
9566
|
+
error: null;
|
|
9567
|
+
meta: TResponseMeta;
|
|
9568
|
+
};
|
|
9208
9569
|
422: {
|
|
9209
9570
|
type: "validation";
|
|
9210
9571
|
on: string;
|
|
@@ -9259,6 +9620,17 @@ declare const _createClient: () => {
|
|
|
9259
9620
|
title: string;
|
|
9260
9621
|
content: string;
|
|
9261
9622
|
isArchived: boolean;
|
|
9623
|
+
memoMedias: {
|
|
9624
|
+
createdAt: Date | null;
|
|
9625
|
+
media: {
|
|
9626
|
+
name: string;
|
|
9627
|
+
uuid: string;
|
|
9628
|
+
path: string;
|
|
9629
|
+
size: number;
|
|
9630
|
+
mimeType: string;
|
|
9631
|
+
isPrivate: boolean;
|
|
9632
|
+
};
|
|
9633
|
+
}[];
|
|
9262
9634
|
orderMemo: {
|
|
9263
9635
|
orderUuid: string;
|
|
9264
9636
|
memoUuid: string;
|
|
@@ -9458,6 +9830,17 @@ declare const _createClient: () => {
|
|
|
9458
9830
|
title: string;
|
|
9459
9831
|
content: string;
|
|
9460
9832
|
isArchived: boolean;
|
|
9833
|
+
memoMedias: {
|
|
9834
|
+
createdAt: Date | null;
|
|
9835
|
+
media: {
|
|
9836
|
+
name: string;
|
|
9837
|
+
uuid: string;
|
|
9838
|
+
path: string;
|
|
9839
|
+
size: number;
|
|
9840
|
+
mimeType: string;
|
|
9841
|
+
isPrivate: boolean;
|
|
9842
|
+
};
|
|
9843
|
+
}[];
|
|
9461
9844
|
orderMemo: {
|
|
9462
9845
|
orderUuid: string;
|
|
9463
9846
|
memoUuid: string;
|
|
@@ -10425,6 +10808,17 @@ declare const _createClient: () => {
|
|
|
10425
10808
|
fullname: string;
|
|
10426
10809
|
};
|
|
10427
10810
|
} | null;
|
|
10811
|
+
orderMedias: {
|
|
10812
|
+
createdAt: Date | null;
|
|
10813
|
+
media: {
|
|
10814
|
+
name: string;
|
|
10815
|
+
uuid: string;
|
|
10816
|
+
path: string;
|
|
10817
|
+
size: number;
|
|
10818
|
+
mimeType: string;
|
|
10819
|
+
isPrivate: boolean;
|
|
10820
|
+
};
|
|
10821
|
+
}[];
|
|
10428
10822
|
orderManifests: {
|
|
10429
10823
|
uuid: string;
|
|
10430
10824
|
status: "PROCESSING" | "CANCELLED" | "PURCHASED" | "WAREHOUSE_ABROAD" | "IN_TRANSIT" | "ARRIVED_VN" | "DELIVERED";
|
|
@@ -10445,12 +10839,6 @@ declare const _createClient: () => {
|
|
|
10445
10839
|
uuid: string;
|
|
10446
10840
|
createdAt: Date | null;
|
|
10447
10841
|
updatedAt: Date | null;
|
|
10448
|
-
options: {
|
|
10449
|
-
value: string;
|
|
10450
|
-
option: {
|
|
10451
|
-
name: string;
|
|
10452
|
-
};
|
|
10453
|
-
}[];
|
|
10454
10842
|
media: {
|
|
10455
10843
|
createdAt: Date | null;
|
|
10456
10844
|
updatedAt: Date | null;
|
|
@@ -10460,6 +10848,12 @@ declare const _createClient: () => {
|
|
|
10460
10848
|
altText: string | null;
|
|
10461
10849
|
};
|
|
10462
10850
|
};
|
|
10851
|
+
options: {
|
|
10852
|
+
value: string;
|
|
10853
|
+
option: {
|
|
10854
|
+
name: string;
|
|
10855
|
+
};
|
|
10856
|
+
}[];
|
|
10463
10857
|
};
|
|
10464
10858
|
}[];
|
|
10465
10859
|
orderTimelines: {
|
|
@@ -11574,6 +11968,17 @@ declare const _createClient: () => {
|
|
|
11574
11968
|
fullname: string;
|
|
11575
11969
|
};
|
|
11576
11970
|
} | null;
|
|
11971
|
+
orderMedias: {
|
|
11972
|
+
createdAt: Date | null;
|
|
11973
|
+
media: {
|
|
11974
|
+
name: string;
|
|
11975
|
+
uuid: string;
|
|
11976
|
+
path: string;
|
|
11977
|
+
size: number;
|
|
11978
|
+
mimeType: string;
|
|
11979
|
+
isPrivate: boolean;
|
|
11980
|
+
};
|
|
11981
|
+
}[];
|
|
11577
11982
|
orderManifests: {
|
|
11578
11983
|
uuid: string;
|
|
11579
11984
|
status: "PROCESSING" | "CANCELLED" | "PURCHASED" | "WAREHOUSE_ABROAD" | "IN_TRANSIT" | "ARRIVED_VN" | "DELIVERED";
|
|
@@ -11594,12 +11999,6 @@ declare const _createClient: () => {
|
|
|
11594
11999
|
uuid: string;
|
|
11595
12000
|
createdAt: Date | null;
|
|
11596
12001
|
updatedAt: Date | null;
|
|
11597
|
-
options: {
|
|
11598
|
-
value: string;
|
|
11599
|
-
option: {
|
|
11600
|
-
name: string;
|
|
11601
|
-
};
|
|
11602
|
-
}[];
|
|
11603
12002
|
media: {
|
|
11604
12003
|
createdAt: Date | null;
|
|
11605
12004
|
updatedAt: Date | null;
|
|
@@ -11609,6 +12008,12 @@ declare const _createClient: () => {
|
|
|
11609
12008
|
altText: string | null;
|
|
11610
12009
|
};
|
|
11611
12010
|
};
|
|
12011
|
+
options: {
|
|
12012
|
+
value: string;
|
|
12013
|
+
option: {
|
|
12014
|
+
name: string;
|
|
12015
|
+
};
|
|
12016
|
+
}[];
|
|
11612
12017
|
};
|
|
11613
12018
|
}[];
|
|
11614
12019
|
orderTimelines: {
|
|
@@ -13174,12 +13579,6 @@ declare const _createClient: () => {
|
|
|
13174
13579
|
};
|
|
13175
13580
|
variant: {
|
|
13176
13581
|
name: string;
|
|
13177
|
-
options: {
|
|
13178
|
-
value: string;
|
|
13179
|
-
option: {
|
|
13180
|
-
name: string;
|
|
13181
|
-
};
|
|
13182
|
-
}[];
|
|
13183
13582
|
media: {
|
|
13184
13583
|
createdAt: Date | null;
|
|
13185
13584
|
updatedAt: Date | null;
|
|
@@ -13189,6 +13588,12 @@ declare const _createClient: () => {
|
|
|
13189
13588
|
altText: string | null;
|
|
13190
13589
|
};
|
|
13191
13590
|
};
|
|
13591
|
+
options: {
|
|
13592
|
+
value: string;
|
|
13593
|
+
option: {
|
|
13594
|
+
name: string;
|
|
13595
|
+
};
|
|
13596
|
+
}[];
|
|
13192
13597
|
};
|
|
13193
13598
|
}[];
|
|
13194
13599
|
pagination: {
|
|
@@ -13645,14 +14050,6 @@ declare const _createClient: () => {
|
|
|
13645
14050
|
sku: string;
|
|
13646
14051
|
isNew: boolean | null;
|
|
13647
14052
|
isSpecial: boolean | null;
|
|
13648
|
-
options: {
|
|
13649
|
-
value: string;
|
|
13650
|
-
id: number;
|
|
13651
|
-
option: {
|
|
13652
|
-
name: string;
|
|
13653
|
-
id: number;
|
|
13654
|
-
};
|
|
13655
|
-
}[];
|
|
13656
14053
|
media: {
|
|
13657
14054
|
createdAt: Date | null;
|
|
13658
14055
|
updatedAt: Date | null;
|
|
@@ -13664,6 +14061,14 @@ declare const _createClient: () => {
|
|
|
13664
14061
|
updatedAt: Date | null;
|
|
13665
14062
|
};
|
|
13666
14063
|
};
|
|
14064
|
+
options: {
|
|
14065
|
+
value: string;
|
|
14066
|
+
id: number;
|
|
14067
|
+
option: {
|
|
14068
|
+
name: string;
|
|
14069
|
+
id: number;
|
|
14070
|
+
};
|
|
14071
|
+
}[];
|
|
13667
14072
|
}[];
|
|
13668
14073
|
parentCategory: {
|
|
13669
14074
|
name: string;
|
|
@@ -13745,14 +14150,6 @@ declare const _createClient: () => {
|
|
|
13745
14150
|
description: string | null;
|
|
13746
14151
|
retailCost: number | null;
|
|
13747
14152
|
sku: string;
|
|
13748
|
-
options: {
|
|
13749
|
-
value: string;
|
|
13750
|
-
id: number;
|
|
13751
|
-
option: {
|
|
13752
|
-
name: string;
|
|
13753
|
-
id: number;
|
|
13754
|
-
};
|
|
13755
|
-
}[];
|
|
13756
14153
|
media: {
|
|
13757
14154
|
createdAt: Date | null;
|
|
13758
14155
|
updatedAt: Date | null;
|
|
@@ -13762,6 +14159,14 @@ declare const _createClient: () => {
|
|
|
13762
14159
|
path: string;
|
|
13763
14160
|
};
|
|
13764
14161
|
};
|
|
14162
|
+
options: {
|
|
14163
|
+
value: string;
|
|
14164
|
+
id: number;
|
|
14165
|
+
option: {
|
|
14166
|
+
name: string;
|
|
14167
|
+
id: number;
|
|
14168
|
+
};
|
|
14169
|
+
}[];
|
|
13765
14170
|
}[];
|
|
13766
14171
|
};
|
|
13767
14172
|
message: null;
|
|
@@ -14388,14 +14793,6 @@ declare const _createClient: () => {
|
|
|
14388
14793
|
sku: string;
|
|
14389
14794
|
isNew: boolean | null;
|
|
14390
14795
|
isSpecial: boolean | null;
|
|
14391
|
-
options: {
|
|
14392
|
-
value: string;
|
|
14393
|
-
id: number;
|
|
14394
|
-
option: {
|
|
14395
|
-
name: string;
|
|
14396
|
-
id: number;
|
|
14397
|
-
};
|
|
14398
|
-
}[];
|
|
14399
14796
|
media: {
|
|
14400
14797
|
createdAt: Date | null;
|
|
14401
14798
|
updatedAt: Date | null;
|
|
@@ -14407,6 +14804,14 @@ declare const _createClient: () => {
|
|
|
14407
14804
|
updatedAt: Date | null;
|
|
14408
14805
|
};
|
|
14409
14806
|
};
|
|
14807
|
+
options: {
|
|
14808
|
+
value: string;
|
|
14809
|
+
id: number;
|
|
14810
|
+
option: {
|
|
14811
|
+
name: string;
|
|
14812
|
+
id: number;
|
|
14813
|
+
};
|
|
14814
|
+
}[];
|
|
14410
14815
|
}[];
|
|
14411
14816
|
parentCategory: {
|
|
14412
14817
|
name: string;
|
|
@@ -14488,14 +14893,6 @@ declare const _createClient: () => {
|
|
|
14488
14893
|
description: string | null;
|
|
14489
14894
|
retailCost: number | null;
|
|
14490
14895
|
sku: string;
|
|
14491
|
-
options: {
|
|
14492
|
-
value: string;
|
|
14493
|
-
id: number;
|
|
14494
|
-
option: {
|
|
14495
|
-
name: string;
|
|
14496
|
-
id: number;
|
|
14497
|
-
};
|
|
14498
|
-
}[];
|
|
14499
14896
|
media: {
|
|
14500
14897
|
createdAt: Date | null;
|
|
14501
14898
|
updatedAt: Date | null;
|
|
@@ -14505,6 +14902,14 @@ declare const _createClient: () => {
|
|
|
14505
14902
|
path: string;
|
|
14506
14903
|
};
|
|
14507
14904
|
};
|
|
14905
|
+
options: {
|
|
14906
|
+
value: string;
|
|
14907
|
+
id: number;
|
|
14908
|
+
option: {
|
|
14909
|
+
name: string;
|
|
14910
|
+
id: number;
|
|
14911
|
+
};
|
|
14912
|
+
}[];
|
|
14508
14913
|
}[];
|
|
14509
14914
|
};
|
|
14510
14915
|
message: null;
|