@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.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',
|
|
@@ -2489,12 +2496,6 @@ declare const _createClient: () => {
|
|
|
2489
2496
|
uuid: string;
|
|
2490
2497
|
createdAt: Date | null;
|
|
2491
2498
|
updatedAt: Date | null;
|
|
2492
|
-
options: {
|
|
2493
|
-
value: string;
|
|
2494
|
-
option: {
|
|
2495
|
-
name: string;
|
|
2496
|
-
};
|
|
2497
|
-
}[];
|
|
2498
2499
|
media: {
|
|
2499
2500
|
createdAt: Date | null;
|
|
2500
2501
|
updatedAt: Date | null;
|
|
@@ -2504,6 +2505,12 @@ declare const _createClient: () => {
|
|
|
2504
2505
|
altText: string | null;
|
|
2505
2506
|
};
|
|
2506
2507
|
};
|
|
2508
|
+
options: {
|
|
2509
|
+
value: string;
|
|
2510
|
+
option: {
|
|
2511
|
+
name: string;
|
|
2512
|
+
};
|
|
2513
|
+
}[];
|
|
2507
2514
|
};
|
|
2508
2515
|
}[];
|
|
2509
2516
|
orderTimelines: {
|
|
@@ -2642,12 +2649,6 @@ declare const _createClient: () => {
|
|
|
2642
2649
|
uuid: string;
|
|
2643
2650
|
createdAt: Date | null;
|
|
2644
2651
|
updatedAt: Date | null;
|
|
2645
|
-
options: {
|
|
2646
|
-
value: string;
|
|
2647
|
-
option: {
|
|
2648
|
-
name: string;
|
|
2649
|
-
};
|
|
2650
|
-
}[];
|
|
2651
2652
|
media: {
|
|
2652
2653
|
createdAt: Date | null;
|
|
2653
2654
|
updatedAt: Date | null;
|
|
@@ -2657,6 +2658,12 @@ declare const _createClient: () => {
|
|
|
2657
2658
|
altText: string | null;
|
|
2658
2659
|
};
|
|
2659
2660
|
};
|
|
2661
|
+
options: {
|
|
2662
|
+
value: string;
|
|
2663
|
+
option: {
|
|
2664
|
+
name: string;
|
|
2665
|
+
};
|
|
2666
|
+
}[];
|
|
2660
2667
|
};
|
|
2661
2668
|
}[];
|
|
2662
2669
|
orderTimelines: {
|
|
@@ -3106,12 +3113,6 @@ declare const _createClient: () => {
|
|
|
3106
3113
|
uuid: string;
|
|
3107
3114
|
createdAt: Date | null;
|
|
3108
3115
|
updatedAt: Date | null;
|
|
3109
|
-
options: {
|
|
3110
|
-
value: string;
|
|
3111
|
-
option: {
|
|
3112
|
-
name: string;
|
|
3113
|
-
};
|
|
3114
|
-
}[];
|
|
3115
3116
|
media: {
|
|
3116
3117
|
createdAt: Date | null;
|
|
3117
3118
|
updatedAt: Date | null;
|
|
@@ -3121,6 +3122,12 @@ declare const _createClient: () => {
|
|
|
3121
3122
|
altText: string | null;
|
|
3122
3123
|
};
|
|
3123
3124
|
};
|
|
3125
|
+
options: {
|
|
3126
|
+
value: string;
|
|
3127
|
+
option: {
|
|
3128
|
+
name: string;
|
|
3129
|
+
};
|
|
3130
|
+
}[];
|
|
3124
3131
|
};
|
|
3125
3132
|
}[];
|
|
3126
3133
|
orderTimelines: {
|
|
@@ -3259,12 +3266,6 @@ declare const _createClient: () => {
|
|
|
3259
3266
|
uuid: string;
|
|
3260
3267
|
createdAt: Date | null;
|
|
3261
3268
|
updatedAt: Date | null;
|
|
3262
|
-
options: {
|
|
3263
|
-
value: string;
|
|
3264
|
-
option: {
|
|
3265
|
-
name: string;
|
|
3266
|
-
};
|
|
3267
|
-
}[];
|
|
3268
3269
|
media: {
|
|
3269
3270
|
createdAt: Date | null;
|
|
3270
3271
|
updatedAt: Date | null;
|
|
@@ -3274,6 +3275,12 @@ declare const _createClient: () => {
|
|
|
3274
3275
|
altText: string | null;
|
|
3275
3276
|
};
|
|
3276
3277
|
};
|
|
3278
|
+
options: {
|
|
3279
|
+
value: string;
|
|
3280
|
+
option: {
|
|
3281
|
+
name: string;
|
|
3282
|
+
};
|
|
3283
|
+
}[];
|
|
3277
3284
|
};
|
|
3278
3285
|
}[];
|
|
3279
3286
|
orderTimelines: {
|
|
@@ -8798,6 +8805,21 @@ declare const _createClient: () => {
|
|
|
8798
8805
|
size: number;
|
|
8799
8806
|
mimeType: string;
|
|
8800
8807
|
altText: string | null;
|
|
8808
|
+
folderUuid: string | null;
|
|
8809
|
+
isPrivate: boolean;
|
|
8810
|
+
} & {
|
|
8811
|
+
downloadUrl: string;
|
|
8812
|
+
name: string;
|
|
8813
|
+
uuid: string;
|
|
8814
|
+
path: string;
|
|
8815
|
+
createdAt: Date | null;
|
|
8816
|
+
updatedAt: Date | null;
|
|
8817
|
+
description: string | null;
|
|
8818
|
+
size: number;
|
|
8819
|
+
mimeType: string;
|
|
8820
|
+
altText: string | null;
|
|
8821
|
+
folderUuid: string | null;
|
|
8822
|
+
isPrivate: boolean;
|
|
8801
8823
|
};
|
|
8802
8824
|
message: null;
|
|
8803
8825
|
error: null;
|
|
@@ -8876,6 +8898,21 @@ declare const _createClient: () => {
|
|
|
8876
8898
|
size: number;
|
|
8877
8899
|
mimeType: string;
|
|
8878
8900
|
altText: string | null;
|
|
8901
|
+
folderUuid: string | null;
|
|
8902
|
+
isPrivate: boolean;
|
|
8903
|
+
} & {
|
|
8904
|
+
downloadUrl: string;
|
|
8905
|
+
name: string;
|
|
8906
|
+
uuid: string;
|
|
8907
|
+
path: string;
|
|
8908
|
+
createdAt: Date | null;
|
|
8909
|
+
updatedAt: Date | null;
|
|
8910
|
+
description: string | null;
|
|
8911
|
+
size: number;
|
|
8912
|
+
mimeType: string;
|
|
8913
|
+
altText: string | null;
|
|
8914
|
+
folderUuid: string | null;
|
|
8915
|
+
isPrivate: boolean;
|
|
8879
8916
|
};
|
|
8880
8917
|
message: null;
|
|
8881
8918
|
error: null;
|
|
@@ -8927,17 +8964,19 @@ declare const _createClient: () => {
|
|
|
8927
8964
|
'~path': string;
|
|
8928
8965
|
};
|
|
8929
8966
|
}) & {
|
|
8930
|
-
get: ((options
|
|
8967
|
+
get: ((options: {
|
|
8931
8968
|
fetch?: RequestInit | undefined;
|
|
8932
8969
|
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
8933
8970
|
headers?: {} | undefined;
|
|
8934
|
-
query
|
|
8971
|
+
query: {
|
|
8972
|
+
includePrivate: boolean;
|
|
8935
8973
|
page?: number | undefined;
|
|
8936
8974
|
limit?: number | undefined;
|
|
8937
8975
|
search?: string | undefined;
|
|
8938
8976
|
includeUuids?: string[] | undefined;
|
|
8939
|
-
|
|
8940
|
-
|
|
8977
|
+
folderUuid?: string | undefined;
|
|
8978
|
+
};
|
|
8979
|
+
}) => Promise<Treaty.TreatyResponse<{
|
|
8941
8980
|
200: {
|
|
8942
8981
|
success: false;
|
|
8943
8982
|
statusCode: number;
|
|
@@ -8949,7 +8988,7 @@ declare const _createClient: () => {
|
|
|
8949
8988
|
success: true;
|
|
8950
8989
|
statusCode: number;
|
|
8951
8990
|
data: {
|
|
8952
|
-
include: {
|
|
8991
|
+
include: ({
|
|
8953
8992
|
name: string;
|
|
8954
8993
|
uuid: string;
|
|
8955
8994
|
path: string;
|
|
@@ -8959,8 +8998,10 @@ declare const _createClient: () => {
|
|
|
8959
8998
|
size: number;
|
|
8960
8999
|
mimeType: string;
|
|
8961
9000
|
altText: string | null;
|
|
8962
|
-
|
|
8963
|
-
|
|
9001
|
+
folderUuid: string | null;
|
|
9002
|
+
isPrivate: boolean;
|
|
9003
|
+
} | {
|
|
9004
|
+
downloadUrl: string;
|
|
8964
9005
|
name: string;
|
|
8965
9006
|
uuid: string;
|
|
8966
9007
|
path: string;
|
|
@@ -8970,7 +9011,35 @@ declare const _createClient: () => {
|
|
|
8970
9011
|
size: number;
|
|
8971
9012
|
mimeType: string;
|
|
8972
9013
|
altText: string | null;
|
|
8973
|
-
|
|
9014
|
+
folderUuid: string | null;
|
|
9015
|
+
isPrivate: boolean;
|
|
9016
|
+
})[];
|
|
9017
|
+
data: ({
|
|
9018
|
+
name: string;
|
|
9019
|
+
uuid: string;
|
|
9020
|
+
path: string;
|
|
9021
|
+
createdAt: Date | null;
|
|
9022
|
+
updatedAt: Date | null;
|
|
9023
|
+
description: string | null;
|
|
9024
|
+
size: number;
|
|
9025
|
+
mimeType: string;
|
|
9026
|
+
altText: string | null;
|
|
9027
|
+
folderUuid: string | null;
|
|
9028
|
+
isPrivate: boolean;
|
|
9029
|
+
} | {
|
|
9030
|
+
downloadUrl: string;
|
|
9031
|
+
name: string;
|
|
9032
|
+
uuid: string;
|
|
9033
|
+
path: string;
|
|
9034
|
+
createdAt: Date | null;
|
|
9035
|
+
updatedAt: Date | null;
|
|
9036
|
+
description: string | null;
|
|
9037
|
+
size: number;
|
|
9038
|
+
mimeType: string;
|
|
9039
|
+
altText: string | null;
|
|
9040
|
+
folderUuid: string | null;
|
|
9041
|
+
isPrivate: boolean;
|
|
9042
|
+
})[];
|
|
8974
9043
|
pagination: {
|
|
8975
9044
|
page: number;
|
|
8976
9045
|
limit: number;
|
|
@@ -8996,12 +9065,257 @@ declare const _createClient: () => {
|
|
|
8996
9065
|
}>>) & {
|
|
8997
9066
|
'~path': string;
|
|
8998
9067
|
};
|
|
9068
|
+
folders: ((params: {
|
|
9069
|
+
folderUuid: string | number;
|
|
9070
|
+
}) => {
|
|
9071
|
+
patch: ((body?: {
|
|
9072
|
+
name?: string | undefined;
|
|
9073
|
+
parentUuid?: string | null | undefined;
|
|
9074
|
+
} | undefined, options?: {
|
|
9075
|
+
fetch?: RequestInit | undefined;
|
|
9076
|
+
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
9077
|
+
headers?: {} | undefined;
|
|
9078
|
+
query?: {} | undefined;
|
|
9079
|
+
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
9080
|
+
200: {
|
|
9081
|
+
success: false;
|
|
9082
|
+
statusCode: number;
|
|
9083
|
+
data: null;
|
|
9084
|
+
message: string;
|
|
9085
|
+
error: TResponseError;
|
|
9086
|
+
meta: TResponseMeta;
|
|
9087
|
+
} | {
|
|
9088
|
+
success: true;
|
|
9089
|
+
statusCode: number;
|
|
9090
|
+
data: {
|
|
9091
|
+
uuid: string;
|
|
9092
|
+
name: string;
|
|
9093
|
+
parentUuid: string | null;
|
|
9094
|
+
createdAt: Date;
|
|
9095
|
+
updatedAt: Date;
|
|
9096
|
+
};
|
|
9097
|
+
message: null;
|
|
9098
|
+
error: null;
|
|
9099
|
+
meta: TResponseMeta;
|
|
9100
|
+
};
|
|
9101
|
+
422: {
|
|
9102
|
+
type: "validation";
|
|
9103
|
+
on: string;
|
|
9104
|
+
summary?: string;
|
|
9105
|
+
message?: string;
|
|
9106
|
+
found?: unknown;
|
|
9107
|
+
property?: string;
|
|
9108
|
+
expected?: string;
|
|
9109
|
+
};
|
|
9110
|
+
}>>) & {
|
|
9111
|
+
'~path': string;
|
|
9112
|
+
};
|
|
9113
|
+
delete: ((body?: {} | undefined, options?: {
|
|
9114
|
+
fetch?: RequestInit | undefined;
|
|
9115
|
+
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
9116
|
+
headers?: {} | undefined;
|
|
9117
|
+
query?: {} | undefined;
|
|
9118
|
+
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
9119
|
+
200: {
|
|
9120
|
+
success: true;
|
|
9121
|
+
statusCode: number;
|
|
9122
|
+
data: null;
|
|
9123
|
+
message: string;
|
|
9124
|
+
error: null;
|
|
9125
|
+
meta: TResponseMeta;
|
|
9126
|
+
} | {
|
|
9127
|
+
success: false;
|
|
9128
|
+
statusCode: number;
|
|
9129
|
+
data: null;
|
|
9130
|
+
message: string;
|
|
9131
|
+
error: TResponseError;
|
|
9132
|
+
meta: TResponseMeta;
|
|
9133
|
+
};
|
|
9134
|
+
422: {
|
|
9135
|
+
type: "validation";
|
|
9136
|
+
on: string;
|
|
9137
|
+
summary?: string;
|
|
9138
|
+
message?: string;
|
|
9139
|
+
found?: unknown;
|
|
9140
|
+
property?: string;
|
|
9141
|
+
expected?: string;
|
|
9142
|
+
};
|
|
9143
|
+
}>>) & {
|
|
9144
|
+
'~path': string;
|
|
9145
|
+
};
|
|
9146
|
+
'~path': string;
|
|
9147
|
+
} & {
|
|
9148
|
+
patch: ((body?: {
|
|
9149
|
+
name?: string | undefined;
|
|
9150
|
+
parentUuid?: string | null | undefined;
|
|
9151
|
+
} | undefined, options?: {
|
|
9152
|
+
fetch?: RequestInit | undefined;
|
|
9153
|
+
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
9154
|
+
headers?: {} | undefined;
|
|
9155
|
+
query?: {} | undefined;
|
|
9156
|
+
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
9157
|
+
200: {
|
|
9158
|
+
success: false;
|
|
9159
|
+
statusCode: number;
|
|
9160
|
+
data: null;
|
|
9161
|
+
message: string;
|
|
9162
|
+
error: TResponseError;
|
|
9163
|
+
meta: TResponseMeta;
|
|
9164
|
+
} | {
|
|
9165
|
+
success: true;
|
|
9166
|
+
statusCode: number;
|
|
9167
|
+
data: {
|
|
9168
|
+
uuid: string;
|
|
9169
|
+
name: string;
|
|
9170
|
+
parentUuid: string | null;
|
|
9171
|
+
createdAt: Date;
|
|
9172
|
+
updatedAt: Date;
|
|
9173
|
+
};
|
|
9174
|
+
message: null;
|
|
9175
|
+
error: null;
|
|
9176
|
+
meta: TResponseMeta;
|
|
9177
|
+
};
|
|
9178
|
+
422: {
|
|
9179
|
+
type: "validation";
|
|
9180
|
+
on: string;
|
|
9181
|
+
summary?: string;
|
|
9182
|
+
message?: string;
|
|
9183
|
+
found?: unknown;
|
|
9184
|
+
property?: string;
|
|
9185
|
+
expected?: string;
|
|
9186
|
+
};
|
|
9187
|
+
}>>) & {
|
|
9188
|
+
'~path': string;
|
|
9189
|
+
};
|
|
9190
|
+
delete: ((body?: {} | undefined, options?: {
|
|
9191
|
+
fetch?: RequestInit | undefined;
|
|
9192
|
+
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
9193
|
+
headers?: {} | undefined;
|
|
9194
|
+
query?: {} | undefined;
|
|
9195
|
+
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
9196
|
+
200: {
|
|
9197
|
+
success: true;
|
|
9198
|
+
statusCode: number;
|
|
9199
|
+
data: null;
|
|
9200
|
+
message: string;
|
|
9201
|
+
error: null;
|
|
9202
|
+
meta: TResponseMeta;
|
|
9203
|
+
} | {
|
|
9204
|
+
success: false;
|
|
9205
|
+
statusCode: number;
|
|
9206
|
+
data: null;
|
|
9207
|
+
message: string;
|
|
9208
|
+
error: TResponseError;
|
|
9209
|
+
meta: TResponseMeta;
|
|
9210
|
+
};
|
|
9211
|
+
422: {
|
|
9212
|
+
type: "validation";
|
|
9213
|
+
on: string;
|
|
9214
|
+
summary?: string;
|
|
9215
|
+
message?: string;
|
|
9216
|
+
found?: unknown;
|
|
9217
|
+
property?: string;
|
|
9218
|
+
expected?: string;
|
|
9219
|
+
};
|
|
9220
|
+
}>>) & {
|
|
9221
|
+
'~path': string;
|
|
9222
|
+
};
|
|
9223
|
+
}) & {
|
|
9224
|
+
get: ((options?: {
|
|
9225
|
+
fetch?: RequestInit | undefined;
|
|
9226
|
+
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
9227
|
+
headers?: {} | undefined;
|
|
9228
|
+
query?: {
|
|
9229
|
+
parentUuid?: string | undefined;
|
|
9230
|
+
search?: string | undefined;
|
|
9231
|
+
} | undefined;
|
|
9232
|
+
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
9233
|
+
200: {
|
|
9234
|
+
success: false;
|
|
9235
|
+
statusCode: number;
|
|
9236
|
+
data: null;
|
|
9237
|
+
message: string;
|
|
9238
|
+
error: TResponseError;
|
|
9239
|
+
meta: TResponseMeta;
|
|
9240
|
+
} | {
|
|
9241
|
+
success: true;
|
|
9242
|
+
statusCode: number;
|
|
9243
|
+
data: {
|
|
9244
|
+
name: string;
|
|
9245
|
+
uuid: string;
|
|
9246
|
+
createdAt: Date;
|
|
9247
|
+
updatedAt: Date;
|
|
9248
|
+
parentUuid: string | null;
|
|
9249
|
+
}[];
|
|
9250
|
+
message: null;
|
|
9251
|
+
error: null;
|
|
9252
|
+
meta: TResponseMeta;
|
|
9253
|
+
};
|
|
9254
|
+
422: {
|
|
9255
|
+
type: "validation";
|
|
9256
|
+
on: string;
|
|
9257
|
+
summary?: string;
|
|
9258
|
+
message?: string;
|
|
9259
|
+
found?: unknown;
|
|
9260
|
+
property?: string;
|
|
9261
|
+
expected?: string;
|
|
9262
|
+
};
|
|
9263
|
+
}>>) & {
|
|
9264
|
+
'~path': string;
|
|
9265
|
+
};
|
|
9266
|
+
post: ((body: {
|
|
9267
|
+
name: string;
|
|
9268
|
+
parentUuid?: string | undefined;
|
|
9269
|
+
}, options?: {
|
|
9270
|
+
fetch?: RequestInit | undefined;
|
|
9271
|
+
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
9272
|
+
headers?: {} | undefined;
|
|
9273
|
+
query?: {} | undefined;
|
|
9274
|
+
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
9275
|
+
200: {
|
|
9276
|
+
success: false;
|
|
9277
|
+
statusCode: number;
|
|
9278
|
+
data: null;
|
|
9279
|
+
message: string;
|
|
9280
|
+
error: TResponseError;
|
|
9281
|
+
meta: TResponseMeta;
|
|
9282
|
+
} | {
|
|
9283
|
+
success: true;
|
|
9284
|
+
statusCode: number;
|
|
9285
|
+
data: {
|
|
9286
|
+
name: string;
|
|
9287
|
+
uuid: string;
|
|
9288
|
+
createdAt: Date;
|
|
9289
|
+
updatedAt: Date;
|
|
9290
|
+
parentUuid: string | null;
|
|
9291
|
+
};
|
|
9292
|
+
message: null;
|
|
9293
|
+
error: null;
|
|
9294
|
+
meta: TResponseMeta;
|
|
9295
|
+
};
|
|
9296
|
+
422: {
|
|
9297
|
+
type: "validation";
|
|
9298
|
+
on: string;
|
|
9299
|
+
summary?: string;
|
|
9300
|
+
message?: string;
|
|
9301
|
+
found?: unknown;
|
|
9302
|
+
property?: string;
|
|
9303
|
+
expected?: string;
|
|
9304
|
+
};
|
|
9305
|
+
}>>) & {
|
|
9306
|
+
'~path': string;
|
|
9307
|
+
};
|
|
9308
|
+
} & {
|
|
9309
|
+
'~path': string;
|
|
9310
|
+
};
|
|
8999
9311
|
post: ((body: {
|
|
9000
9312
|
name: string;
|
|
9001
9313
|
size: number;
|
|
9002
9314
|
mimeType: EMimeType;
|
|
9003
9315
|
altText: string;
|
|
9004
9316
|
description: string;
|
|
9317
|
+
isPrivate: boolean;
|
|
9318
|
+
folderUuid?: string | undefined;
|
|
9005
9319
|
}, options?: {
|
|
9006
9320
|
fetch?: RequestInit | undefined;
|
|
9007
9321
|
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
@@ -9029,6 +9343,8 @@ declare const _createClient: () => {
|
|
|
9029
9343
|
size: number;
|
|
9030
9344
|
mimeType: string;
|
|
9031
9345
|
altText: string | null;
|
|
9346
|
+
folderUuid: string | null;
|
|
9347
|
+
isPrivate: boolean;
|
|
9032
9348
|
}[];
|
|
9033
9349
|
preSignedUrls: {
|
|
9034
9350
|
uuid: string;
|
|
@@ -9060,6 +9376,8 @@ declare const _createClient: () => {
|
|
|
9060
9376
|
mimeType: EMimeType;
|
|
9061
9377
|
size: number;
|
|
9062
9378
|
}[];
|
|
9379
|
+
isPrivate: boolean;
|
|
9380
|
+
folderUuid?: string | undefined;
|
|
9063
9381
|
}, options?: {
|
|
9064
9382
|
fetch?: RequestInit | undefined;
|
|
9065
9383
|
throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
|
|
@@ -9087,6 +9405,8 @@ declare const _createClient: () => {
|
|
|
9087
9405
|
size: number;
|
|
9088
9406
|
mimeType: string;
|
|
9089
9407
|
altText: string | null;
|
|
9408
|
+
folderUuid: string | null;
|
|
9409
|
+
isPrivate: boolean;
|
|
9090
9410
|
}[];
|
|
9091
9411
|
preSignedUrls: {
|
|
9092
9412
|
uuid: string;
|
|
@@ -9206,6 +9526,25 @@ declare const _createClient: () => {
|
|
|
9206
9526
|
headers?: {} | undefined;
|
|
9207
9527
|
query?: {} | undefined;
|
|
9208
9528
|
} | undefined) => Promise<Treaty.TreatyResponse<{
|
|
9529
|
+
200: {
|
|
9530
|
+
success: false;
|
|
9531
|
+
statusCode: number;
|
|
9532
|
+
data: null;
|
|
9533
|
+
message: string;
|
|
9534
|
+
error: TResponseError;
|
|
9535
|
+
meta: TResponseMeta;
|
|
9536
|
+
} | {
|
|
9537
|
+
success: true;
|
|
9538
|
+
statusCode: number;
|
|
9539
|
+
data: {
|
|
9540
|
+
mediaUuid: string;
|
|
9541
|
+
entityUuid: string | null;
|
|
9542
|
+
entityId: string | null;
|
|
9543
|
+
};
|
|
9544
|
+
message: null;
|
|
9545
|
+
error: null;
|
|
9546
|
+
meta: TResponseMeta;
|
|
9547
|
+
};
|
|
9209
9548
|
422: {
|
|
9210
9549
|
type: "validation";
|
|
9211
9550
|
on: string;
|
|
@@ -10446,12 +10785,6 @@ declare const _createClient: () => {
|
|
|
10446
10785
|
uuid: string;
|
|
10447
10786
|
createdAt: Date | null;
|
|
10448
10787
|
updatedAt: Date | null;
|
|
10449
|
-
options: {
|
|
10450
|
-
value: string;
|
|
10451
|
-
option: {
|
|
10452
|
-
name: string;
|
|
10453
|
-
};
|
|
10454
|
-
}[];
|
|
10455
10788
|
media: {
|
|
10456
10789
|
createdAt: Date | null;
|
|
10457
10790
|
updatedAt: Date | null;
|
|
@@ -10461,6 +10794,12 @@ declare const _createClient: () => {
|
|
|
10461
10794
|
altText: string | null;
|
|
10462
10795
|
};
|
|
10463
10796
|
};
|
|
10797
|
+
options: {
|
|
10798
|
+
value: string;
|
|
10799
|
+
option: {
|
|
10800
|
+
name: string;
|
|
10801
|
+
};
|
|
10802
|
+
}[];
|
|
10464
10803
|
};
|
|
10465
10804
|
}[];
|
|
10466
10805
|
orderTimelines: {
|
|
@@ -11595,12 +11934,6 @@ declare const _createClient: () => {
|
|
|
11595
11934
|
uuid: string;
|
|
11596
11935
|
createdAt: Date | null;
|
|
11597
11936
|
updatedAt: Date | null;
|
|
11598
|
-
options: {
|
|
11599
|
-
value: string;
|
|
11600
|
-
option: {
|
|
11601
|
-
name: string;
|
|
11602
|
-
};
|
|
11603
|
-
}[];
|
|
11604
11937
|
media: {
|
|
11605
11938
|
createdAt: Date | null;
|
|
11606
11939
|
updatedAt: Date | null;
|
|
@@ -11610,6 +11943,12 @@ declare const _createClient: () => {
|
|
|
11610
11943
|
altText: string | null;
|
|
11611
11944
|
};
|
|
11612
11945
|
};
|
|
11946
|
+
options: {
|
|
11947
|
+
value: string;
|
|
11948
|
+
option: {
|
|
11949
|
+
name: string;
|
|
11950
|
+
};
|
|
11951
|
+
}[];
|
|
11613
11952
|
};
|
|
11614
11953
|
}[];
|
|
11615
11954
|
orderTimelines: {
|
|
@@ -13175,12 +13514,6 @@ declare const _createClient: () => {
|
|
|
13175
13514
|
};
|
|
13176
13515
|
variant: {
|
|
13177
13516
|
name: string;
|
|
13178
|
-
options: {
|
|
13179
|
-
value: string;
|
|
13180
|
-
option: {
|
|
13181
|
-
name: string;
|
|
13182
|
-
};
|
|
13183
|
-
}[];
|
|
13184
13517
|
media: {
|
|
13185
13518
|
createdAt: Date | null;
|
|
13186
13519
|
updatedAt: Date | null;
|
|
@@ -13190,6 +13523,12 @@ declare const _createClient: () => {
|
|
|
13190
13523
|
altText: string | null;
|
|
13191
13524
|
};
|
|
13192
13525
|
};
|
|
13526
|
+
options: {
|
|
13527
|
+
value: string;
|
|
13528
|
+
option: {
|
|
13529
|
+
name: string;
|
|
13530
|
+
};
|
|
13531
|
+
}[];
|
|
13193
13532
|
};
|
|
13194
13533
|
}[];
|
|
13195
13534
|
pagination: {
|
|
@@ -13646,14 +13985,6 @@ declare const _createClient: () => {
|
|
|
13646
13985
|
sku: string;
|
|
13647
13986
|
isNew: boolean | null;
|
|
13648
13987
|
isSpecial: boolean | null;
|
|
13649
|
-
options: {
|
|
13650
|
-
value: string;
|
|
13651
|
-
id: number;
|
|
13652
|
-
option: {
|
|
13653
|
-
name: string;
|
|
13654
|
-
id: number;
|
|
13655
|
-
};
|
|
13656
|
-
}[];
|
|
13657
13988
|
media: {
|
|
13658
13989
|
createdAt: Date | null;
|
|
13659
13990
|
updatedAt: Date | null;
|
|
@@ -13665,6 +13996,14 @@ declare const _createClient: () => {
|
|
|
13665
13996
|
updatedAt: Date | null;
|
|
13666
13997
|
};
|
|
13667
13998
|
};
|
|
13999
|
+
options: {
|
|
14000
|
+
value: string;
|
|
14001
|
+
id: number;
|
|
14002
|
+
option: {
|
|
14003
|
+
name: string;
|
|
14004
|
+
id: number;
|
|
14005
|
+
};
|
|
14006
|
+
}[];
|
|
13668
14007
|
}[];
|
|
13669
14008
|
parentCategory: {
|
|
13670
14009
|
name: string;
|
|
@@ -13746,14 +14085,6 @@ declare const _createClient: () => {
|
|
|
13746
14085
|
description: string | null;
|
|
13747
14086
|
retailCost: number | null;
|
|
13748
14087
|
sku: string;
|
|
13749
|
-
options: {
|
|
13750
|
-
value: string;
|
|
13751
|
-
id: number;
|
|
13752
|
-
option: {
|
|
13753
|
-
name: string;
|
|
13754
|
-
id: number;
|
|
13755
|
-
};
|
|
13756
|
-
}[];
|
|
13757
14088
|
media: {
|
|
13758
14089
|
createdAt: Date | null;
|
|
13759
14090
|
updatedAt: Date | null;
|
|
@@ -13763,6 +14094,14 @@ declare const _createClient: () => {
|
|
|
13763
14094
|
path: string;
|
|
13764
14095
|
};
|
|
13765
14096
|
};
|
|
14097
|
+
options: {
|
|
14098
|
+
value: string;
|
|
14099
|
+
id: number;
|
|
14100
|
+
option: {
|
|
14101
|
+
name: string;
|
|
14102
|
+
id: number;
|
|
14103
|
+
};
|
|
14104
|
+
}[];
|
|
13766
14105
|
}[];
|
|
13767
14106
|
};
|
|
13768
14107
|
message: null;
|
|
@@ -14389,14 +14728,6 @@ declare const _createClient: () => {
|
|
|
14389
14728
|
sku: string;
|
|
14390
14729
|
isNew: boolean | null;
|
|
14391
14730
|
isSpecial: boolean | null;
|
|
14392
|
-
options: {
|
|
14393
|
-
value: string;
|
|
14394
|
-
id: number;
|
|
14395
|
-
option: {
|
|
14396
|
-
name: string;
|
|
14397
|
-
id: number;
|
|
14398
|
-
};
|
|
14399
|
-
}[];
|
|
14400
14731
|
media: {
|
|
14401
14732
|
createdAt: Date | null;
|
|
14402
14733
|
updatedAt: Date | null;
|
|
@@ -14408,6 +14739,14 @@ declare const _createClient: () => {
|
|
|
14408
14739
|
updatedAt: Date | null;
|
|
14409
14740
|
};
|
|
14410
14741
|
};
|
|
14742
|
+
options: {
|
|
14743
|
+
value: string;
|
|
14744
|
+
id: number;
|
|
14745
|
+
option: {
|
|
14746
|
+
name: string;
|
|
14747
|
+
id: number;
|
|
14748
|
+
};
|
|
14749
|
+
}[];
|
|
14411
14750
|
}[];
|
|
14412
14751
|
parentCategory: {
|
|
14413
14752
|
name: string;
|
|
@@ -14489,14 +14828,6 @@ declare const _createClient: () => {
|
|
|
14489
14828
|
description: string | null;
|
|
14490
14829
|
retailCost: number | null;
|
|
14491
14830
|
sku: string;
|
|
14492
|
-
options: {
|
|
14493
|
-
value: string;
|
|
14494
|
-
id: number;
|
|
14495
|
-
option: {
|
|
14496
|
-
name: string;
|
|
14497
|
-
id: number;
|
|
14498
|
-
};
|
|
14499
|
-
}[];
|
|
14500
14831
|
media: {
|
|
14501
14832
|
createdAt: Date | null;
|
|
14502
14833
|
updatedAt: Date | null;
|
|
@@ -14506,6 +14837,14 @@ declare const _createClient: () => {
|
|
|
14506
14837
|
path: string;
|
|
14507
14838
|
};
|
|
14508
14839
|
};
|
|
14840
|
+
options: {
|
|
14841
|
+
value: string;
|
|
14842
|
+
id: number;
|
|
14843
|
+
option: {
|
|
14844
|
+
name: string;
|
|
14845
|
+
id: number;
|
|
14846
|
+
};
|
|
14847
|
+
}[];
|
|
14509
14848
|
}[];
|
|
14510
14849
|
};
|
|
14511
14850
|
message: null;
|