@customafk/lunas-api-sdk 0.0.97 → 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 +421 -82
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +421 -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;
|
|
@@ -10445,12 +10784,6 @@ declare const _createClient: () => {
|
|
|
10445
10784
|
uuid: string;
|
|
10446
10785
|
createdAt: Date | null;
|
|
10447
10786
|
updatedAt: Date | null;
|
|
10448
|
-
options: {
|
|
10449
|
-
value: string;
|
|
10450
|
-
option: {
|
|
10451
|
-
name: string;
|
|
10452
|
-
};
|
|
10453
|
-
}[];
|
|
10454
10787
|
media: {
|
|
10455
10788
|
createdAt: Date | null;
|
|
10456
10789
|
updatedAt: Date | null;
|
|
@@ -10460,6 +10793,12 @@ declare const _createClient: () => {
|
|
|
10460
10793
|
altText: string | null;
|
|
10461
10794
|
};
|
|
10462
10795
|
};
|
|
10796
|
+
options: {
|
|
10797
|
+
value: string;
|
|
10798
|
+
option: {
|
|
10799
|
+
name: string;
|
|
10800
|
+
};
|
|
10801
|
+
}[];
|
|
10463
10802
|
};
|
|
10464
10803
|
}[];
|
|
10465
10804
|
orderTimelines: {
|
|
@@ -11594,12 +11933,6 @@ declare const _createClient: () => {
|
|
|
11594
11933
|
uuid: string;
|
|
11595
11934
|
createdAt: Date | null;
|
|
11596
11935
|
updatedAt: Date | null;
|
|
11597
|
-
options: {
|
|
11598
|
-
value: string;
|
|
11599
|
-
option: {
|
|
11600
|
-
name: string;
|
|
11601
|
-
};
|
|
11602
|
-
}[];
|
|
11603
11936
|
media: {
|
|
11604
11937
|
createdAt: Date | null;
|
|
11605
11938
|
updatedAt: Date | null;
|
|
@@ -11609,6 +11942,12 @@ declare const _createClient: () => {
|
|
|
11609
11942
|
altText: string | null;
|
|
11610
11943
|
};
|
|
11611
11944
|
};
|
|
11945
|
+
options: {
|
|
11946
|
+
value: string;
|
|
11947
|
+
option: {
|
|
11948
|
+
name: string;
|
|
11949
|
+
};
|
|
11950
|
+
}[];
|
|
11612
11951
|
};
|
|
11613
11952
|
}[];
|
|
11614
11953
|
orderTimelines: {
|
|
@@ -13174,12 +13513,6 @@ declare const _createClient: () => {
|
|
|
13174
13513
|
};
|
|
13175
13514
|
variant: {
|
|
13176
13515
|
name: string;
|
|
13177
|
-
options: {
|
|
13178
|
-
value: string;
|
|
13179
|
-
option: {
|
|
13180
|
-
name: string;
|
|
13181
|
-
};
|
|
13182
|
-
}[];
|
|
13183
13516
|
media: {
|
|
13184
13517
|
createdAt: Date | null;
|
|
13185
13518
|
updatedAt: Date | null;
|
|
@@ -13189,6 +13522,12 @@ declare const _createClient: () => {
|
|
|
13189
13522
|
altText: string | null;
|
|
13190
13523
|
};
|
|
13191
13524
|
};
|
|
13525
|
+
options: {
|
|
13526
|
+
value: string;
|
|
13527
|
+
option: {
|
|
13528
|
+
name: string;
|
|
13529
|
+
};
|
|
13530
|
+
}[];
|
|
13192
13531
|
};
|
|
13193
13532
|
}[];
|
|
13194
13533
|
pagination: {
|
|
@@ -13645,14 +13984,6 @@ declare const _createClient: () => {
|
|
|
13645
13984
|
sku: string;
|
|
13646
13985
|
isNew: boolean | null;
|
|
13647
13986
|
isSpecial: boolean | null;
|
|
13648
|
-
options: {
|
|
13649
|
-
value: string;
|
|
13650
|
-
id: number;
|
|
13651
|
-
option: {
|
|
13652
|
-
name: string;
|
|
13653
|
-
id: number;
|
|
13654
|
-
};
|
|
13655
|
-
}[];
|
|
13656
13987
|
media: {
|
|
13657
13988
|
createdAt: Date | null;
|
|
13658
13989
|
updatedAt: Date | null;
|
|
@@ -13664,6 +13995,14 @@ declare const _createClient: () => {
|
|
|
13664
13995
|
updatedAt: Date | null;
|
|
13665
13996
|
};
|
|
13666
13997
|
};
|
|
13998
|
+
options: {
|
|
13999
|
+
value: string;
|
|
14000
|
+
id: number;
|
|
14001
|
+
option: {
|
|
14002
|
+
name: string;
|
|
14003
|
+
id: number;
|
|
14004
|
+
};
|
|
14005
|
+
}[];
|
|
13667
14006
|
}[];
|
|
13668
14007
|
parentCategory: {
|
|
13669
14008
|
name: string;
|
|
@@ -13745,14 +14084,6 @@ declare const _createClient: () => {
|
|
|
13745
14084
|
description: string | null;
|
|
13746
14085
|
retailCost: number | null;
|
|
13747
14086
|
sku: string;
|
|
13748
|
-
options: {
|
|
13749
|
-
value: string;
|
|
13750
|
-
id: number;
|
|
13751
|
-
option: {
|
|
13752
|
-
name: string;
|
|
13753
|
-
id: number;
|
|
13754
|
-
};
|
|
13755
|
-
}[];
|
|
13756
14087
|
media: {
|
|
13757
14088
|
createdAt: Date | null;
|
|
13758
14089
|
updatedAt: Date | null;
|
|
@@ -13762,6 +14093,14 @@ declare const _createClient: () => {
|
|
|
13762
14093
|
path: string;
|
|
13763
14094
|
};
|
|
13764
14095
|
};
|
|
14096
|
+
options: {
|
|
14097
|
+
value: string;
|
|
14098
|
+
id: number;
|
|
14099
|
+
option: {
|
|
14100
|
+
name: string;
|
|
14101
|
+
id: number;
|
|
14102
|
+
};
|
|
14103
|
+
}[];
|
|
13765
14104
|
}[];
|
|
13766
14105
|
};
|
|
13767
14106
|
message: null;
|
|
@@ -14388,14 +14727,6 @@ declare const _createClient: () => {
|
|
|
14388
14727
|
sku: string;
|
|
14389
14728
|
isNew: boolean | null;
|
|
14390
14729
|
isSpecial: boolean | null;
|
|
14391
|
-
options: {
|
|
14392
|
-
value: string;
|
|
14393
|
-
id: number;
|
|
14394
|
-
option: {
|
|
14395
|
-
name: string;
|
|
14396
|
-
id: number;
|
|
14397
|
-
};
|
|
14398
|
-
}[];
|
|
14399
14730
|
media: {
|
|
14400
14731
|
createdAt: Date | null;
|
|
14401
14732
|
updatedAt: Date | null;
|
|
@@ -14407,6 +14738,14 @@ declare const _createClient: () => {
|
|
|
14407
14738
|
updatedAt: Date | null;
|
|
14408
14739
|
};
|
|
14409
14740
|
};
|
|
14741
|
+
options: {
|
|
14742
|
+
value: string;
|
|
14743
|
+
id: number;
|
|
14744
|
+
option: {
|
|
14745
|
+
name: string;
|
|
14746
|
+
id: number;
|
|
14747
|
+
};
|
|
14748
|
+
}[];
|
|
14410
14749
|
}[];
|
|
14411
14750
|
parentCategory: {
|
|
14412
14751
|
name: string;
|
|
@@ -14488,14 +14827,6 @@ declare const _createClient: () => {
|
|
|
14488
14827
|
description: string | null;
|
|
14489
14828
|
retailCost: number | null;
|
|
14490
14829
|
sku: string;
|
|
14491
|
-
options: {
|
|
14492
|
-
value: string;
|
|
14493
|
-
id: number;
|
|
14494
|
-
option: {
|
|
14495
|
-
name: string;
|
|
14496
|
-
id: number;
|
|
14497
|
-
};
|
|
14498
|
-
}[];
|
|
14499
14830
|
media: {
|
|
14500
14831
|
createdAt: Date | null;
|
|
14501
14832
|
updatedAt: Date | null;
|
|
@@ -14505,6 +14836,14 @@ declare const _createClient: () => {
|
|
|
14505
14836
|
path: string;
|
|
14506
14837
|
};
|
|
14507
14838
|
};
|
|
14839
|
+
options: {
|
|
14840
|
+
value: string;
|
|
14841
|
+
id: number;
|
|
14842
|
+
option: {
|
|
14843
|
+
name: string;
|
|
14844
|
+
id: number;
|
|
14845
|
+
};
|
|
14846
|
+
}[];
|
|
14508
14847
|
}[];
|
|
14509
14848
|
};
|
|
14510
14849
|
message: null;
|