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