@customafk/lunas-api-sdk 0.0.96 → 0.0.98

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.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
- } | undefined;
8940
- } | undefined) => Promise<Treaty.TreatyResponse<{
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
- data: {
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;
@@ -10417,6 +10756,7 @@ declare const _createClient: () => {
10417
10756
  cancelReason: string | null;
10418
10757
  cancelledBy: string | null;
10419
10758
  deletedAt: Date | null;
10759
+ orderIndex: number;
10420
10760
  user: {
10421
10761
  uuid: string;
10422
10762
  email: string;
@@ -10445,12 +10785,6 @@ declare const _createClient: () => {
10445
10785
  uuid: string;
10446
10786
  createdAt: Date | null;
10447
10787
  updatedAt: Date | null;
10448
- options: {
10449
- value: string;
10450
- option: {
10451
- name: string;
10452
- };
10453
- }[];
10454
10788
  media: {
10455
10789
  createdAt: Date | null;
10456
10790
  updatedAt: Date | null;
@@ -10460,6 +10794,12 @@ declare const _createClient: () => {
10460
10794
  altText: string | null;
10461
10795
  };
10462
10796
  };
10797
+ options: {
10798
+ value: string;
10799
+ option: {
10800
+ name: string;
10801
+ };
10802
+ }[];
10463
10803
  };
10464
10804
  }[];
10465
10805
  orderTimelines: {
@@ -11565,6 +11905,7 @@ declare const _createClient: () => {
11565
11905
  cancelReason: string | null;
11566
11906
  cancelledBy: string | null;
11567
11907
  deletedAt: Date | null;
11908
+ orderIndex: number;
11568
11909
  user: {
11569
11910
  uuid: string;
11570
11911
  email: string;
@@ -11593,12 +11934,6 @@ declare const _createClient: () => {
11593
11934
  uuid: string;
11594
11935
  createdAt: Date | null;
11595
11936
  updatedAt: Date | null;
11596
- options: {
11597
- value: string;
11598
- option: {
11599
- name: string;
11600
- };
11601
- }[];
11602
11937
  media: {
11603
11938
  createdAt: Date | null;
11604
11939
  updatedAt: Date | null;
@@ -11608,6 +11943,12 @@ declare const _createClient: () => {
11608
11943
  altText: string | null;
11609
11944
  };
11610
11945
  };
11946
+ options: {
11947
+ value: string;
11948
+ option: {
11949
+ name: string;
11950
+ };
11951
+ }[];
11611
11952
  };
11612
11953
  }[];
11613
11954
  orderTimelines: {
@@ -13173,12 +13514,6 @@ declare const _createClient: () => {
13173
13514
  };
13174
13515
  variant: {
13175
13516
  name: string;
13176
- options: {
13177
- value: string;
13178
- option: {
13179
- name: string;
13180
- };
13181
- }[];
13182
13517
  media: {
13183
13518
  createdAt: Date | null;
13184
13519
  updatedAt: Date | null;
@@ -13188,6 +13523,12 @@ declare const _createClient: () => {
13188
13523
  altText: string | null;
13189
13524
  };
13190
13525
  };
13526
+ options: {
13527
+ value: string;
13528
+ option: {
13529
+ name: string;
13530
+ };
13531
+ }[];
13191
13532
  };
13192
13533
  }[];
13193
13534
  pagination: {
@@ -13559,6 +13900,26 @@ declare const _createClient: () => {
13559
13900
  success: true;
13560
13901
  statusCode: number;
13561
13902
  data: {
13903
+ orderManifests: {
13904
+ uuid: string;
13905
+ status: "PROCESSING" | "CANCELLED" | "PURCHASED" | "WAREHOUSE_ABROAD" | "IN_TRANSIT" | "ARRIVED_VN" | "DELIVERED";
13906
+ createdAt: Date | null;
13907
+ updatedAt: Date | null;
13908
+ variantUuid: string;
13909
+ unitPrice: number;
13910
+ quantityOrdered: number;
13911
+ quantityFulfilled: number;
13912
+ totalLineAmount: number;
13913
+ order: {
13914
+ uuid: string;
13915
+ status: "DRAFT" | "PENDING" | "CONFIRMED" | "PROCESSING" | "COMPLETED" | "CANCELLED";
13916
+ orderCode: string;
13917
+ customerName: string | null;
13918
+ createdAt: Date;
13919
+ paymentStatus: "PENDING" | "PAID" | "PARTIALLY_PAID" | "REFUNDED";
13920
+ fulfillmentStatus: "UNFULFILLED" | "PARTIALLY_FULFILLED" | "FULFILLED" | "RETURNED";
13921
+ };
13922
+ }[];
13562
13923
  name: string;
13563
13924
  uuid: string;
13564
13925
  tags: string[] | null;
@@ -13566,6 +13927,7 @@ declare const _createClient: () => {
13566
13927
  createdAt: Date | null;
13567
13928
  updatedAt: Date | null;
13568
13929
  description: string | null;
13930
+ orderIndex: number;
13569
13931
  slug: string;
13570
13932
  createdBy: string;
13571
13933
  productLink: string | null;
@@ -13623,14 +13985,6 @@ declare const _createClient: () => {
13623
13985
  sku: string;
13624
13986
  isNew: boolean | null;
13625
13987
  isSpecial: boolean | null;
13626
- options: {
13627
- value: string;
13628
- id: number;
13629
- option: {
13630
- name: string;
13631
- id: number;
13632
- };
13633
- }[];
13634
13988
  media: {
13635
13989
  createdAt: Date | null;
13636
13990
  updatedAt: Date | null;
@@ -13642,6 +13996,14 @@ declare const _createClient: () => {
13642
13996
  updatedAt: Date | null;
13643
13997
  };
13644
13998
  };
13999
+ options: {
14000
+ value: string;
14001
+ id: number;
14002
+ option: {
14003
+ name: string;
14004
+ id: number;
14005
+ };
14006
+ }[];
13645
14007
  }[];
13646
14008
  parentCategory: {
13647
14009
  name: string;
@@ -13723,14 +14085,6 @@ declare const _createClient: () => {
13723
14085
  description: string | null;
13724
14086
  retailCost: number | null;
13725
14087
  sku: string;
13726
- options: {
13727
- value: string;
13728
- id: number;
13729
- option: {
13730
- name: string;
13731
- id: number;
13732
- };
13733
- }[];
13734
14088
  media: {
13735
14089
  createdAt: Date | null;
13736
14090
  updatedAt: Date | null;
@@ -13740,6 +14094,14 @@ declare const _createClient: () => {
13740
14094
  path: string;
13741
14095
  };
13742
14096
  };
14097
+ options: {
14098
+ value: string;
14099
+ id: number;
14100
+ option: {
14101
+ name: string;
14102
+ id: number;
14103
+ };
14104
+ }[];
13743
14105
  }[];
13744
14106
  };
13745
14107
  message: null;
@@ -14281,6 +14643,26 @@ declare const _createClient: () => {
14281
14643
  success: true;
14282
14644
  statusCode: number;
14283
14645
  data: {
14646
+ orderManifests: {
14647
+ uuid: string;
14648
+ status: "PROCESSING" | "CANCELLED" | "PURCHASED" | "WAREHOUSE_ABROAD" | "IN_TRANSIT" | "ARRIVED_VN" | "DELIVERED";
14649
+ createdAt: Date | null;
14650
+ updatedAt: Date | null;
14651
+ variantUuid: string;
14652
+ unitPrice: number;
14653
+ quantityOrdered: number;
14654
+ quantityFulfilled: number;
14655
+ totalLineAmount: number;
14656
+ order: {
14657
+ uuid: string;
14658
+ status: "DRAFT" | "PENDING" | "CONFIRMED" | "PROCESSING" | "COMPLETED" | "CANCELLED";
14659
+ orderCode: string;
14660
+ customerName: string | null;
14661
+ createdAt: Date;
14662
+ paymentStatus: "PENDING" | "PAID" | "PARTIALLY_PAID" | "REFUNDED";
14663
+ fulfillmentStatus: "UNFULFILLED" | "PARTIALLY_FULFILLED" | "FULFILLED" | "RETURNED";
14664
+ };
14665
+ }[];
14284
14666
  name: string;
14285
14667
  uuid: string;
14286
14668
  tags: string[] | null;
@@ -14288,6 +14670,7 @@ declare const _createClient: () => {
14288
14670
  createdAt: Date | null;
14289
14671
  updatedAt: Date | null;
14290
14672
  description: string | null;
14673
+ orderIndex: number;
14291
14674
  slug: string;
14292
14675
  createdBy: string;
14293
14676
  productLink: string | null;
@@ -14345,14 +14728,6 @@ declare const _createClient: () => {
14345
14728
  sku: string;
14346
14729
  isNew: boolean | null;
14347
14730
  isSpecial: boolean | null;
14348
- options: {
14349
- value: string;
14350
- id: number;
14351
- option: {
14352
- name: string;
14353
- id: number;
14354
- };
14355
- }[];
14356
14731
  media: {
14357
14732
  createdAt: Date | null;
14358
14733
  updatedAt: Date | null;
@@ -14364,6 +14739,14 @@ declare const _createClient: () => {
14364
14739
  updatedAt: Date | null;
14365
14740
  };
14366
14741
  };
14742
+ options: {
14743
+ value: string;
14744
+ id: number;
14745
+ option: {
14746
+ name: string;
14747
+ id: number;
14748
+ };
14749
+ }[];
14367
14750
  }[];
14368
14751
  parentCategory: {
14369
14752
  name: string;
@@ -14445,14 +14828,6 @@ declare const _createClient: () => {
14445
14828
  description: string | null;
14446
14829
  retailCost: number | null;
14447
14830
  sku: string;
14448
- options: {
14449
- value: string;
14450
- id: number;
14451
- option: {
14452
- name: string;
14453
- id: number;
14454
- };
14455
- }[];
14456
14831
  media: {
14457
14832
  createdAt: Date | null;
14458
14833
  updatedAt: Date | null;
@@ -14462,6 +14837,14 @@ declare const _createClient: () => {
14462
14837
  path: string;
14463
14838
  };
14464
14839
  };
14840
+ options: {
14841
+ value: string;
14842
+ id: number;
14843
+ option: {
14844
+ name: string;
14845
+ id: number;
14846
+ };
14847
+ }[];
14465
14848
  }[];
14466
14849
  };
14467
14850
  message: null;