@customafk/lunas-api-sdk 0.0.98 → 0.1.0

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
@@ -2373,6 +2373,17 @@ declare const _createClient: () => {
2373
2373
  username: string;
2374
2374
  role: string;
2375
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
+ }[];
2376
2387
  networks: {
2377
2388
  createdAt: Date | null;
2378
2389
  updatedAt: Date | null;
@@ -2515,17 +2526,17 @@ declare const _createClient: () => {
2515
2526
  }[];
2516
2527
  orderTimelines: {
2517
2528
  uuid: string;
2518
- status: "COMPLETED" | "IN_PROGRESS" | "SKIPPED" | "FAILED";
2529
+ status: "COMPLETED" | "IN_PROGRESS" | "FAILED" | "SKIPPED";
2519
2530
  createdAt: Date;
2520
2531
  updatedAt: Date;
2521
2532
  completedAt: Date | null;
2522
2533
  actorUuid: string | null;
2523
2534
  title: string;
2524
2535
  content: string | null;
2536
+ startedAt: Date;
2525
2537
  category: "ORDER" | "PAYMENT" | "LOGISTICS";
2526
2538
  manifestUuid: string | null;
2527
2539
  milestoneCode: "PURCHASED" | "ARRIVED_VN" | "DELIVERED" | "ORDER_CREATED" | "QUOTATION_SENT" | "DEPOSIT_PAID" | "ORDER_CONFIRMED" | "PAYMENT_COMPLETED" | "PAYMENT_RECEIVED" | "PAYMENT_VOIDED" | "ORDER_CANCELLED" | "PURCHASING" | "IN_WAREHOUSE_ABROAD" | "INTERNATIONAL_SHIPPING" | "ITEM_CANCELLED" | "PACKED" | "HANDED_OVER" | "DELIVERING";
2528
- startedAt: Date;
2529
2540
  isPublic: boolean;
2530
2541
  metadata: unknown;
2531
2542
  }[];
@@ -2668,17 +2679,17 @@ declare const _createClient: () => {
2668
2679
  }[];
2669
2680
  orderTimelines: {
2670
2681
  uuid: string;
2671
- status: "COMPLETED" | "IN_PROGRESS" | "SKIPPED" | "FAILED";
2682
+ status: "COMPLETED" | "IN_PROGRESS" | "FAILED" | "SKIPPED";
2672
2683
  createdAt: Date;
2673
2684
  updatedAt: Date;
2674
2685
  completedAt: Date | null;
2675
2686
  actorUuid: string | null;
2676
2687
  title: string;
2677
2688
  content: string | null;
2689
+ startedAt: Date;
2678
2690
  category: "ORDER" | "PAYMENT" | "LOGISTICS";
2679
2691
  manifestUuid: string | null;
2680
2692
  milestoneCode: "PURCHASED" | "ARRIVED_VN" | "DELIVERED" | "ORDER_CREATED" | "QUOTATION_SENT" | "DEPOSIT_PAID" | "ORDER_CONFIRMED" | "PAYMENT_COMPLETED" | "PAYMENT_RECEIVED" | "PAYMENT_VOIDED" | "ORDER_CANCELLED" | "PURCHASING" | "IN_WAREHOUSE_ABROAD" | "INTERNATIONAL_SHIPPING" | "ITEM_CANCELLED" | "PACKED" | "HANDED_OVER" | "DELIVERING";
2681
- startedAt: Date;
2682
2693
  isPublic: boolean;
2683
2694
  metadata: unknown;
2684
2695
  }[];
@@ -2990,6 +3001,17 @@ declare const _createClient: () => {
2990
3001
  username: string;
2991
3002
  role: string;
2992
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
+ }[];
2993
3015
  networks: {
2994
3016
  createdAt: Date | null;
2995
3017
  updatedAt: Date | null;
@@ -3132,17 +3154,17 @@ declare const _createClient: () => {
3132
3154
  }[];
3133
3155
  orderTimelines: {
3134
3156
  uuid: string;
3135
- status: "COMPLETED" | "IN_PROGRESS" | "SKIPPED" | "FAILED";
3157
+ status: "COMPLETED" | "IN_PROGRESS" | "FAILED" | "SKIPPED";
3136
3158
  createdAt: Date;
3137
3159
  updatedAt: Date;
3138
3160
  completedAt: Date | null;
3139
3161
  actorUuid: string | null;
3140
3162
  title: string;
3141
3163
  content: string | null;
3164
+ startedAt: Date;
3142
3165
  category: "ORDER" | "PAYMENT" | "LOGISTICS";
3143
3166
  manifestUuid: string | null;
3144
3167
  milestoneCode: "PURCHASED" | "ARRIVED_VN" | "DELIVERED" | "ORDER_CREATED" | "QUOTATION_SENT" | "DEPOSIT_PAID" | "ORDER_CONFIRMED" | "PAYMENT_COMPLETED" | "PAYMENT_RECEIVED" | "PAYMENT_VOIDED" | "ORDER_CANCELLED" | "PURCHASING" | "IN_WAREHOUSE_ABROAD" | "INTERNATIONAL_SHIPPING" | "ITEM_CANCELLED" | "PACKED" | "HANDED_OVER" | "DELIVERING";
3145
- startedAt: Date;
3146
3168
  isPublic: boolean;
3147
3169
  metadata: unknown;
3148
3170
  }[];
@@ -3285,17 +3307,17 @@ declare const _createClient: () => {
3285
3307
  }[];
3286
3308
  orderTimelines: {
3287
3309
  uuid: string;
3288
- status: "COMPLETED" | "IN_PROGRESS" | "SKIPPED" | "FAILED";
3310
+ status: "COMPLETED" | "IN_PROGRESS" | "FAILED" | "SKIPPED";
3289
3311
  createdAt: Date;
3290
3312
  updatedAt: Date;
3291
3313
  completedAt: Date | null;
3292
3314
  actorUuid: string | null;
3293
3315
  title: string;
3294
3316
  content: string | null;
3317
+ startedAt: Date;
3295
3318
  category: "ORDER" | "PAYMENT" | "LOGISTICS";
3296
3319
  manifestUuid: string | null;
3297
3320
  milestoneCode: "PURCHASED" | "ARRIVED_VN" | "DELIVERED" | "ORDER_CREATED" | "QUOTATION_SENT" | "DEPOSIT_PAID" | "ORDER_CONFIRMED" | "PAYMENT_COMPLETED" | "PAYMENT_RECEIVED" | "PAYMENT_VOIDED" | "ORDER_CANCELLED" | "PURCHASING" | "IN_WAREHOUSE_ABROAD" | "INTERNATIONAL_SHIPPING" | "ITEM_CANCELLED" | "PACKED" | "HANDED_OVER" | "DELIVERING";
3298
- startedAt: Date;
3299
3321
  isPublic: boolean;
3300
3322
  metadata: unknown;
3301
3323
  }[];
@@ -5940,6 +5962,189 @@ declare const _createClient: () => {
5940
5962
  } & {
5941
5963
  '~path': string;
5942
5964
  };
5965
+ "database-backups": ((params: {
5966
+ backupUuid: string | number;
5967
+ }) => {
5968
+ download: {
5969
+ get: ((options?: {
5970
+ fetch?: RequestInit | undefined;
5971
+ throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
5972
+ headers?: {} | undefined;
5973
+ query?: {} | undefined;
5974
+ } | undefined) => Promise<Treaty.TreatyResponse<{
5975
+ 200: {
5976
+ success: false;
5977
+ statusCode: number;
5978
+ data: null;
5979
+ message: string;
5980
+ error: TResponseError;
5981
+ meta: TResponseMeta;
5982
+ } | {
5983
+ success: true;
5984
+ statusCode: number;
5985
+ data: {
5986
+ downloadUrl: string;
5987
+ manifestUrl: string | undefined;
5988
+ fileName: string;
5989
+ sizeBytes: number | null;
5990
+ };
5991
+ message: null;
5992
+ error: null;
5993
+ meta: TResponseMeta;
5994
+ };
5995
+ 422: {
5996
+ type: "validation";
5997
+ on: string;
5998
+ summary?: string;
5999
+ message?: string;
6000
+ found?: unknown;
6001
+ property?: string;
6002
+ expected?: string;
6003
+ };
6004
+ }>>) & {
6005
+ '~path': string;
6006
+ };
6007
+ } & {
6008
+ '~path': string;
6009
+ };
6010
+ '~path': string;
6011
+ } & {
6012
+ download: {
6013
+ get: ((options?: {
6014
+ fetch?: RequestInit | undefined;
6015
+ throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
6016
+ headers?: {} | undefined;
6017
+ query?: {} | undefined;
6018
+ } | undefined) => Promise<Treaty.TreatyResponse<{
6019
+ 200: {
6020
+ success: false;
6021
+ statusCode: number;
6022
+ data: null;
6023
+ message: string;
6024
+ error: TResponseError;
6025
+ meta: TResponseMeta;
6026
+ } | {
6027
+ success: true;
6028
+ statusCode: number;
6029
+ data: {
6030
+ downloadUrl: string;
6031
+ manifestUrl: string | undefined;
6032
+ fileName: string;
6033
+ sizeBytes: number | null;
6034
+ };
6035
+ message: null;
6036
+ error: null;
6037
+ meta: TResponseMeta;
6038
+ };
6039
+ 422: {
6040
+ type: "validation";
6041
+ on: string;
6042
+ summary?: string;
6043
+ message?: string;
6044
+ found?: unknown;
6045
+ property?: string;
6046
+ expected?: string;
6047
+ };
6048
+ }>>) & {
6049
+ '~path': string;
6050
+ };
6051
+ } & {
6052
+ '~path': string;
6053
+ };
6054
+ }) & {
6055
+ get: ((options?: {
6056
+ fetch?: RequestInit | undefined;
6057
+ throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
6058
+ headers?: {} | undefined;
6059
+ query?: {
6060
+ page?: number | undefined;
6061
+ limit?: number | undefined;
6062
+ status?: "PENDING" | "COMPLETED" | "IN_PROGRESS" | "FAILED" | undefined;
6063
+ } | undefined;
6064
+ } | undefined) => Promise<Treaty.TreatyResponse<{
6065
+ 200: {
6066
+ success: false;
6067
+ statusCode: number;
6068
+ data: null;
6069
+ message: string;
6070
+ error: TResponseError;
6071
+ meta: TResponseMeta;
6072
+ } | {
6073
+ success: true;
6074
+ statusCode: number;
6075
+ data: {
6076
+ data: {
6077
+ type: "MANUAL" | "PRE_RESTORE_SNAPSHOT";
6078
+ uuid: string;
6079
+ status: "PENDING" | "COMPLETED" | "IN_PROGRESS" | "FAILED";
6080
+ createdAt: Date;
6081
+ completedAt: Date | null;
6082
+ tableCount: number;
6083
+ totalRowCount: number;
6084
+ sizeBytes: number | null;
6085
+ errorMessage: string | null;
6086
+ startedAt: Date;
6087
+ createdBy: {
6088
+ uuid: string;
6089
+ email: string;
6090
+ username: string;
6091
+ } | null;
6092
+ }[];
6093
+ pagination: {
6094
+ page: number;
6095
+ limit: number;
6096
+ total: number;
6097
+ totalPages: number;
6098
+ hasNextPage: boolean;
6099
+ hasPreviousPage: boolean;
6100
+ };
6101
+ };
6102
+ message: null;
6103
+ error: null;
6104
+ meta: TResponseMeta;
6105
+ };
6106
+ 422: {
6107
+ type: "validation";
6108
+ on: string;
6109
+ summary?: string;
6110
+ message?: string;
6111
+ found?: unknown;
6112
+ property?: string;
6113
+ expected?: string;
6114
+ };
6115
+ }>>) & {
6116
+ '~path': string;
6117
+ };
6118
+ post: ((body?: {} | undefined, options?: {
6119
+ fetch?: RequestInit | undefined;
6120
+ throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
6121
+ headers?: {} | undefined;
6122
+ query?: {} | undefined;
6123
+ } | undefined) => Promise<Treaty.TreatyResponse<{
6124
+ 200: {
6125
+ success: false;
6126
+ statusCode: number;
6127
+ data: null;
6128
+ message: string;
6129
+ error: TResponseError;
6130
+ meta: TResponseMeta;
6131
+ } | {
6132
+ success: true;
6133
+ statusCode: number;
6134
+ data: {
6135
+ uuid: string;
6136
+ status: "PENDING" | "COMPLETED" | "IN_PROGRESS" | "FAILED";
6137
+ };
6138
+ message: null;
6139
+ error: null;
6140
+ meta: TResponseMeta;
6141
+ };
6142
+ }>>) & {
6143
+ '~path': string;
6144
+ };
6145
+ } & {
6146
+ '~path': string;
6147
+ };
5943
6148
  deposits: ((params: {
5944
6149
  depositId: string | number;
5945
6150
  }) => {
@@ -9599,6 +9804,17 @@ declare const _createClient: () => {
9599
9804
  title: string;
9600
9805
  content: string;
9601
9806
  isArchived: boolean;
9807
+ memoMedias: {
9808
+ createdAt: Date | null;
9809
+ media: {
9810
+ name: string;
9811
+ uuid: string;
9812
+ path: string;
9813
+ size: number;
9814
+ mimeType: string;
9815
+ isPrivate: boolean;
9816
+ };
9817
+ }[];
9602
9818
  orderMemo: {
9603
9819
  orderUuid: string;
9604
9820
  memoUuid: string;
@@ -9798,6 +10014,17 @@ declare const _createClient: () => {
9798
10014
  title: string;
9799
10015
  content: string;
9800
10016
  isArchived: boolean;
10017
+ memoMedias: {
10018
+ createdAt: Date | null;
10019
+ media: {
10020
+ name: string;
10021
+ uuid: string;
10022
+ path: string;
10023
+ size: number;
10024
+ mimeType: string;
10025
+ isPrivate: boolean;
10026
+ };
10027
+ }[];
9801
10028
  orderMemo: {
9802
10029
  orderUuid: string;
9803
10030
  memoUuid: string;
@@ -10765,6 +10992,17 @@ declare const _createClient: () => {
10765
10992
  fullname: string;
10766
10993
  };
10767
10994
  } | null;
10995
+ orderMedias: {
10996
+ createdAt: Date | null;
10997
+ media: {
10998
+ name: string;
10999
+ uuid: string;
11000
+ path: string;
11001
+ size: number;
11002
+ mimeType: string;
11003
+ isPrivate: boolean;
11004
+ };
11005
+ }[];
10768
11006
  orderManifests: {
10769
11007
  uuid: string;
10770
11008
  status: "PROCESSING" | "CANCELLED" | "PURCHASED" | "WAREHOUSE_ABROAD" | "IN_TRANSIT" | "ARRIVED_VN" | "DELIVERED";
@@ -10804,17 +11042,17 @@ declare const _createClient: () => {
10804
11042
  }[];
10805
11043
  orderTimelines: {
10806
11044
  uuid: string;
10807
- status: "COMPLETED" | "IN_PROGRESS" | "SKIPPED" | "FAILED";
11045
+ status: "COMPLETED" | "IN_PROGRESS" | "FAILED" | "SKIPPED";
10808
11046
  createdAt: Date;
10809
11047
  updatedAt: Date;
10810
11048
  completedAt: Date | null;
10811
11049
  actorUuid: string | null;
10812
11050
  title: string;
10813
11051
  content: string | null;
11052
+ startedAt: Date;
10814
11053
  category: "ORDER" | "PAYMENT" | "LOGISTICS";
10815
11054
  manifestUuid: string | null;
10816
11055
  milestoneCode: "PURCHASED" | "ARRIVED_VN" | "DELIVERED" | "ORDER_CREATED" | "QUOTATION_SENT" | "DEPOSIT_PAID" | "ORDER_CONFIRMED" | "PAYMENT_COMPLETED" | "PAYMENT_RECEIVED" | "PAYMENT_VOIDED" | "ORDER_CANCELLED" | "PURCHASING" | "IN_WAREHOUSE_ABROAD" | "INTERNATIONAL_SHIPPING" | "ITEM_CANCELLED" | "PACKED" | "HANDED_OVER" | "DELIVERING";
10817
- startedAt: Date;
10818
11056
  isPublic: boolean;
10819
11057
  metadata: unknown;
10820
11058
  }[];
@@ -11621,17 +11859,17 @@ declare const _createClient: () => {
11621
11859
  statusCode: number;
11622
11860
  data: {
11623
11861
  uuid: string;
11624
- status: "COMPLETED" | "IN_PROGRESS" | "SKIPPED" | "FAILED";
11862
+ status: "COMPLETED" | "IN_PROGRESS" | "FAILED" | "SKIPPED";
11625
11863
  createdAt: Date;
11626
11864
  updatedAt: Date;
11627
11865
  completedAt: Date | null;
11628
11866
  actorUuid: string | null;
11629
11867
  title: string;
11630
11868
  content: string | null;
11869
+ startedAt: Date;
11631
11870
  category: "ORDER" | "PAYMENT" | "LOGISTICS";
11632
11871
  manifestUuid: string | null;
11633
11872
  milestoneCode: "PURCHASED" | "ARRIVED_VN" | "DELIVERED" | "ORDER_CREATED" | "QUOTATION_SENT" | "DEPOSIT_PAID" | "ORDER_CONFIRMED" | "PAYMENT_COMPLETED" | "PAYMENT_RECEIVED" | "PAYMENT_VOIDED" | "ORDER_CANCELLED" | "PURCHASING" | "IN_WAREHOUSE_ABROAD" | "INTERNATIONAL_SHIPPING" | "ITEM_CANCELLED" | "PACKED" | "HANDED_OVER" | "DELIVERING";
11634
- startedAt: Date;
11635
11873
  isPublic: boolean;
11636
11874
  }[];
11637
11875
  message: null;
@@ -11914,6 +12152,17 @@ declare const _createClient: () => {
11914
12152
  fullname: string;
11915
12153
  };
11916
12154
  } | null;
12155
+ orderMedias: {
12156
+ createdAt: Date | null;
12157
+ media: {
12158
+ name: string;
12159
+ uuid: string;
12160
+ path: string;
12161
+ size: number;
12162
+ mimeType: string;
12163
+ isPrivate: boolean;
12164
+ };
12165
+ }[];
11917
12166
  orderManifests: {
11918
12167
  uuid: string;
11919
12168
  status: "PROCESSING" | "CANCELLED" | "PURCHASED" | "WAREHOUSE_ABROAD" | "IN_TRANSIT" | "ARRIVED_VN" | "DELIVERED";
@@ -11953,17 +12202,17 @@ declare const _createClient: () => {
11953
12202
  }[];
11954
12203
  orderTimelines: {
11955
12204
  uuid: string;
11956
- status: "COMPLETED" | "IN_PROGRESS" | "SKIPPED" | "FAILED";
12205
+ status: "COMPLETED" | "IN_PROGRESS" | "FAILED" | "SKIPPED";
11957
12206
  createdAt: Date;
11958
12207
  updatedAt: Date;
11959
12208
  completedAt: Date | null;
11960
12209
  actorUuid: string | null;
11961
12210
  title: string;
11962
12211
  content: string | null;
12212
+ startedAt: Date;
11963
12213
  category: "ORDER" | "PAYMENT" | "LOGISTICS";
11964
12214
  manifestUuid: string | null;
11965
12215
  milestoneCode: "PURCHASED" | "ARRIVED_VN" | "DELIVERED" | "ORDER_CREATED" | "QUOTATION_SENT" | "DEPOSIT_PAID" | "ORDER_CONFIRMED" | "PAYMENT_COMPLETED" | "PAYMENT_RECEIVED" | "PAYMENT_VOIDED" | "ORDER_CANCELLED" | "PURCHASING" | "IN_WAREHOUSE_ABROAD" | "INTERNATIONAL_SHIPPING" | "ITEM_CANCELLED" | "PACKED" | "HANDED_OVER" | "DELIVERING";
11966
- startedAt: Date;
11967
12216
  isPublic: boolean;
11968
12217
  metadata: unknown;
11969
12218
  }[];
@@ -12770,17 +13019,17 @@ declare const _createClient: () => {
12770
13019
  statusCode: number;
12771
13020
  data: {
12772
13021
  uuid: string;
12773
- status: "COMPLETED" | "IN_PROGRESS" | "SKIPPED" | "FAILED";
13022
+ status: "COMPLETED" | "IN_PROGRESS" | "FAILED" | "SKIPPED";
12774
13023
  createdAt: Date;
12775
13024
  updatedAt: Date;
12776
13025
  completedAt: Date | null;
12777
13026
  actorUuid: string | null;
12778
13027
  title: string;
12779
13028
  content: string | null;
13029
+ startedAt: Date;
12780
13030
  category: "ORDER" | "PAYMENT" | "LOGISTICS";
12781
13031
  manifestUuid: string | null;
12782
13032
  milestoneCode: "PURCHASED" | "ARRIVED_VN" | "DELIVERED" | "ORDER_CREATED" | "QUOTATION_SENT" | "DEPOSIT_PAID" | "ORDER_CONFIRMED" | "PAYMENT_COMPLETED" | "PAYMENT_RECEIVED" | "PAYMENT_VOIDED" | "ORDER_CANCELLED" | "PURCHASING" | "IN_WAREHOUSE_ABROAD" | "INTERNATIONAL_SHIPPING" | "ITEM_CANCELLED" | "PACKED" | "HANDED_OVER" | "DELIVERING";
12783
- startedAt: Date;
12784
13033
  isPublic: boolean;
12785
13034
  }[];
12786
13035
  message: null;
@@ -20624,17 +20873,17 @@ declare const _createClient: () => {
20624
20873
  }[];
20625
20874
  orderTimelines: {
20626
20875
  uuid: string;
20627
- status: "COMPLETED" | "IN_PROGRESS" | "SKIPPED" | "FAILED";
20876
+ status: "COMPLETED" | "IN_PROGRESS" | "FAILED" | "SKIPPED";
20628
20877
  createdAt: Date;
20629
20878
  updatedAt: Date;
20630
20879
  estimatedDeliveryAt: Date | null;
20631
20880
  completedAt: Date | null;
20632
20881
  title: string;
20633
20882
  content: string | null;
20883
+ startedAt: Date;
20634
20884
  category: "ORDER" | "PAYMENT" | "LOGISTICS";
20635
20885
  manifestUuid: string | null;
20636
20886
  milestoneCode: "PURCHASED" | "ARRIVED_VN" | "DELIVERED" | "ORDER_CREATED" | "QUOTATION_SENT" | "DEPOSIT_PAID" | "ORDER_CONFIRMED" | "PAYMENT_COMPLETED" | "PAYMENT_RECEIVED" | "PAYMENT_VOIDED" | "ORDER_CANCELLED" | "PURCHASING" | "IN_WAREHOUSE_ABROAD" | "INTERNATIONAL_SHIPPING" | "ITEM_CANCELLED" | "PACKED" | "HANDED_OVER" | "DELIVERING";
20637
- startedAt: Date;
20638
20887
  metadata: unknown;
20639
20888
  }[];
20640
20889
  orderCoupons: {
@@ -20922,17 +21171,17 @@ declare const _createClient: () => {
20922
21171
  }[];
20923
21172
  orderTimelines: {
20924
21173
  uuid: string;
20925
- status: "COMPLETED" | "IN_PROGRESS" | "SKIPPED" | "FAILED";
21174
+ status: "COMPLETED" | "IN_PROGRESS" | "FAILED" | "SKIPPED";
20926
21175
  createdAt: Date;
20927
21176
  updatedAt: Date;
20928
21177
  estimatedDeliveryAt: Date | null;
20929
21178
  completedAt: Date | null;
20930
21179
  title: string;
20931
21180
  content: string | null;
21181
+ startedAt: Date;
20932
21182
  category: "ORDER" | "PAYMENT" | "LOGISTICS";
20933
21183
  manifestUuid: string | null;
20934
21184
  milestoneCode: "PURCHASED" | "ARRIVED_VN" | "DELIVERED" | "ORDER_CREATED" | "QUOTATION_SENT" | "DEPOSIT_PAID" | "ORDER_CONFIRMED" | "PAYMENT_COMPLETED" | "PAYMENT_RECEIVED" | "PAYMENT_VOIDED" | "ORDER_CANCELLED" | "PURCHASING" | "IN_WAREHOUSE_ABROAD" | "INTERNATIONAL_SHIPPING" | "ITEM_CANCELLED" | "PACKED" | "HANDED_OVER" | "DELIVERING";
20935
- startedAt: Date;
20936
21185
  metadata: unknown;
20937
21186
  }[];
20938
21187
  orderCoupons: {