@customafk/lunas-api-sdk 0.0.91 → 0.0.93

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
@@ -1815,7 +1815,7 @@ declare const _createClient: () => {
1815
1815
  success: true;
1816
1816
  statusCode: number;
1817
1817
  data: {
1818
- type: "ANNOUNCEMENT" | "GUIDE" | "POLICY" | "TERMS" | "FAQ" | "OTHER";
1818
+ type: "OTHER" | "ANNOUNCEMENT" | "GUIDE" | "POLICY" | "TERMS" | "FAQ";
1819
1819
  uuid: string;
1820
1820
  status: "DRAFT" | "PUBLISHED" | "ARCHIVED";
1821
1821
  createdAt: Date;
@@ -1851,7 +1851,7 @@ declare const _createClient: () => {
1851
1851
  patch: ((body?: {
1852
1852
  title?: string | undefined;
1853
1853
  content?: string | undefined;
1854
- type?: "ANNOUNCEMENT" | "GUIDE" | "POLICY" | "TERMS" | "FAQ" | "OTHER" | undefined;
1854
+ type?: "OTHER" | "ANNOUNCEMENT" | "GUIDE" | "POLICY" | "TERMS" | "FAQ" | undefined;
1855
1855
  } | undefined, options?: {
1856
1856
  fetch?: RequestInit | undefined;
1857
1857
  throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
@@ -2011,7 +2011,7 @@ declare const _createClient: () => {
2011
2011
  success: true;
2012
2012
  statusCode: number;
2013
2013
  data: {
2014
- type: "ANNOUNCEMENT" | "GUIDE" | "POLICY" | "TERMS" | "FAQ" | "OTHER";
2014
+ type: "OTHER" | "ANNOUNCEMENT" | "GUIDE" | "POLICY" | "TERMS" | "FAQ";
2015
2015
  uuid: string;
2016
2016
  status: "DRAFT" | "PUBLISHED" | "ARCHIVED";
2017
2017
  createdAt: Date;
@@ -2047,7 +2047,7 @@ declare const _createClient: () => {
2047
2047
  patch: ((body?: {
2048
2048
  title?: string | undefined;
2049
2049
  content?: string | undefined;
2050
- type?: "ANNOUNCEMENT" | "GUIDE" | "POLICY" | "TERMS" | "FAQ" | "OTHER" | undefined;
2050
+ type?: "OTHER" | "ANNOUNCEMENT" | "GUIDE" | "POLICY" | "TERMS" | "FAQ" | undefined;
2051
2051
  } | undefined, options?: {
2052
2052
  fetch?: RequestInit | undefined;
2053
2053
  throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
@@ -2198,7 +2198,7 @@ declare const _createClient: () => {
2198
2198
  limit?: number | undefined;
2199
2199
  search?: string | undefined;
2200
2200
  status?: "DRAFT" | "PUBLISHED" | "ARCHIVED" | undefined;
2201
- type?: "ANNOUNCEMENT" | "GUIDE" | "POLICY" | "TERMS" | "FAQ" | "OTHER" | undefined;
2201
+ type?: "OTHER" | "ANNOUNCEMENT" | "GUIDE" | "POLICY" | "TERMS" | "FAQ" | undefined;
2202
2202
  } | undefined;
2203
2203
  } | undefined) => Promise<Treaty.TreatyResponse<{
2204
2204
  200: {
@@ -2213,7 +2213,7 @@ declare const _createClient: () => {
2213
2213
  statusCode: number;
2214
2214
  data: {
2215
2215
  data: {
2216
- type: "ANNOUNCEMENT" | "GUIDE" | "POLICY" | "TERMS" | "FAQ" | "OTHER";
2216
+ type: "OTHER" | "ANNOUNCEMENT" | "GUIDE" | "POLICY" | "TERMS" | "FAQ";
2217
2217
  uuid: string;
2218
2218
  status: "DRAFT" | "PUBLISHED" | "ARCHIVED";
2219
2219
  createdAt: Date;
@@ -2255,7 +2255,7 @@ declare const _createClient: () => {
2255
2255
  };
2256
2256
  post: ((body: {
2257
2257
  title: string;
2258
- type: "ANNOUNCEMENT" | "GUIDE" | "POLICY" | "TERMS" | "FAQ" | "OTHER";
2258
+ type: "OTHER" | "ANNOUNCEMENT" | "GUIDE" | "POLICY" | "TERMS" | "FAQ";
2259
2259
  content?: string | undefined;
2260
2260
  }, options?: {
2261
2261
  fetch?: RequestInit | undefined;
@@ -9223,13 +9223,60 @@ declare const _createClient: () => {
9223
9223
  success: true;
9224
9224
  statusCode: number;
9225
9225
  data: {
9226
- type: "OTHER" | "ORDER_NOTE" | "PRODUCT_NOTE";
9226
+ labels: {
9227
+ name: string;
9228
+ uuid: string;
9229
+ color: string | null;
9230
+ }[];
9231
+ memoLabelAssignments: undefined;
9232
+ type: "ORDER_NOTE" | "PRODUCT_NOTE" | "CUSTOMER_NOTE" | "OTHER";
9227
9233
  uuid: string;
9228
9234
  createdAt: Date;
9229
9235
  updatedAt: Date;
9236
+ deletedAt: Date | null;
9237
+ createdBy: string | null;
9238
+ updatedBy: string | null;
9230
9239
  title: string;
9231
9240
  content: string;
9232
9241
  isArchived: boolean;
9242
+ orderMemo: {
9243
+ orderUuid: string;
9244
+ memoUuid: string;
9245
+ order: {
9246
+ name: string | null;
9247
+ uuid: string;
9248
+ orderCode: string;
9249
+ };
9250
+ };
9251
+ productMemo: {
9252
+ memoUuid: string;
9253
+ productUuid: string;
9254
+ product: {
9255
+ name: string;
9256
+ uuid: string;
9257
+ };
9258
+ };
9259
+ customerMemo: {
9260
+ customerUuid: string;
9261
+ memoUuid: string;
9262
+ customer: {
9263
+ uuid: string;
9264
+ email: string;
9265
+ username: string;
9266
+ };
9267
+ };
9268
+ author: {
9269
+ uuid: string;
9270
+ email: string;
9271
+ username: string;
9272
+ role: string;
9273
+ } | null;
9274
+ updater: {
9275
+ uuid: string;
9276
+ email: string;
9277
+ username: string;
9278
+ role: string;
9279
+ } | null;
9233
9280
  };
9234
9281
  message: null;
9235
9282
  error: null;
@@ -9250,6 +9297,7 @@ declare const _createClient: () => {
9250
9297
  patch: ((body?: {
9251
9298
  title?: string | undefined;
9252
9299
  content?: string | undefined;
9300
+ labelUuids?: string[] | undefined;
9253
9301
  } | undefined, options?: {
9254
9302
  fetch?: RequestInit | undefined;
9255
9303
  throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
@@ -9374,13 +9422,60 @@ declare const _createClient: () => {
9374
9422
  success: true;
9375
9423
  statusCode: number;
9376
9424
  data: {
9377
- type: "OTHER" | "ORDER_NOTE" | "PRODUCT_NOTE";
9425
+ labels: {
9426
+ name: string;
9427
+ uuid: string;
9428
+ color: string | null;
9429
+ }[];
9430
+ memoLabelAssignments: undefined;
9431
+ type: "ORDER_NOTE" | "PRODUCT_NOTE" | "CUSTOMER_NOTE" | "OTHER";
9378
9432
  uuid: string;
9379
9433
  createdAt: Date;
9380
9434
  updatedAt: Date;
9435
+ deletedAt: Date | null;
9436
+ createdBy: string | null;
9437
+ updatedBy: string | null;
9381
9438
  title: string;
9382
9439
  content: string;
9383
9440
  isArchived: boolean;
9441
+ orderMemo: {
9442
+ orderUuid: string;
9443
+ memoUuid: string;
9444
+ order: {
9445
+ name: string | null;
9446
+ uuid: string;
9447
+ orderCode: string;
9448
+ };
9449
+ };
9450
+ productMemo: {
9451
+ memoUuid: string;
9452
+ productUuid: string;
9453
+ product: {
9454
+ name: string;
9455
+ uuid: string;
9456
+ };
9457
+ };
9458
+ customerMemo: {
9459
+ customerUuid: string;
9460
+ memoUuid: string;
9461
+ customer: {
9462
+ uuid: string;
9463
+ email: string;
9464
+ username: string;
9465
+ };
9466
+ };
9467
+ author: {
9468
+ uuid: string;
9469
+ email: string;
9470
+ username: string;
9471
+ role: string;
9472
+ } | null;
9473
+ updater: {
9474
+ uuid: string;
9475
+ email: string;
9476
+ username: string;
9477
+ role: string;
9478
+ } | null;
9384
9479
  };
9385
9480
  message: null;
9386
9481
  error: null;
@@ -9401,6 +9496,7 @@ declare const _createClient: () => {
9401
9496
  patch: ((body?: {
9402
9497
  title?: string | undefined;
9403
9498
  content?: string | undefined;
9499
+ labelUuids?: string[] | undefined;
9404
9500
  } | undefined, options?: {
9405
9501
  fetch?: RequestInit | undefined;
9406
9502
  throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
@@ -9512,11 +9608,17 @@ declare const _createClient: () => {
9512
9608
  throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
9513
9609
  headers?: {} | undefined;
9514
9610
  query?: {
9515
- type?: "OTHER" | "ORDER_NOTE" | undefined;
9611
+ type?: "ORDER_NOTE" | "PRODUCT_NOTE" | "CUSTOMER_NOTE" | "OTHER" | undefined;
9516
9612
  search?: string | undefined;
9613
+ createdBy?: string | undefined;
9614
+ labelUuid?: string | undefined;
9615
+ customerId?: string | undefined;
9517
9616
  limit?: number | undefined;
9518
9617
  page?: number | undefined;
9519
9618
  orderId?: string | undefined;
9619
+ productId?: string | undefined;
9620
+ createdAtFrom?: string | undefined;
9621
+ createdAtTo?: string | undefined;
9520
9622
  } | undefined;
9521
9623
  } | undefined) => Promise<Treaty.TreatyResponse<{
9522
9624
  200: {
@@ -9531,7 +9633,13 @@ declare const _createClient: () => {
9531
9633
  statusCode: number;
9532
9634
  data: {
9533
9635
  data: {
9534
- type: "OTHER" | "ORDER_NOTE" | "PRODUCT_NOTE";
9636
+ labels: {
9637
+ name: string;
9638
+ uuid: string;
9639
+ color: string | null;
9640
+ }[];
9641
+ memoLabelAssignments: undefined;
9642
+ type: "ORDER_NOTE" | "PRODUCT_NOTE" | "CUSTOMER_NOTE" | "OTHER";
9535
9643
  uuid: string;
9536
9644
  createdAt: Date;
9537
9645
  updatedAt: Date;
@@ -9546,6 +9654,18 @@ declare const _createClient: () => {
9546
9654
  orderCode: string;
9547
9655
  };
9548
9656
  };
9657
+ author: {
9658
+ uuid: string;
9659
+ email: string;
9660
+ username: string;
9661
+ role: string;
9662
+ } | null;
9663
+ updater: {
9664
+ uuid: string;
9665
+ email: string;
9666
+ username: string;
9667
+ role: string;
9668
+ } | null;
9549
9669
  }[];
9550
9670
  pagination: {
9551
9671
  page: number;
@@ -9573,8 +9693,11 @@ declare const _createClient: () => {
9573
9693
  '~path': string;
9574
9694
  };
9575
9695
  post: ((body: {
9696
+ customerId?: string | undefined;
9576
9697
  orderId?: string | undefined;
9577
- type: "OTHER" | "ORDER_NOTE";
9698
+ productId?: string | undefined;
9699
+ labelUuids?: string[] | undefined;
9700
+ type: "ORDER_NOTE" | "PRODUCT_NOTE" | "CUSTOMER_NOTE" | "OTHER";
9578
9701
  title: string;
9579
9702
  content: string;
9580
9703
  }, options?: {
@@ -9612,6 +9735,315 @@ declare const _createClient: () => {
9612
9735
  }>>) & {
9613
9736
  '~path': string;
9614
9737
  };
9738
+ bulk: {
9739
+ archive: {
9740
+ patch: ((body: {}, options: {
9741
+ fetch?: RequestInit | undefined;
9742
+ throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
9743
+ headers?: {} | undefined;
9744
+ query: {
9745
+ isArchived: boolean;
9746
+ uuids: string[];
9747
+ };
9748
+ }) => Promise<Treaty.TreatyResponse<{
9749
+ 200: {
9750
+ success: true;
9751
+ statusCode: number;
9752
+ data: null;
9753
+ message: string;
9754
+ error: null;
9755
+ meta: TResponseMeta;
9756
+ } | {
9757
+ success: false;
9758
+ statusCode: number;
9759
+ data: null;
9760
+ message: string;
9761
+ error: TResponseError;
9762
+ meta: TResponseMeta;
9763
+ };
9764
+ 422: {
9765
+ type: "validation";
9766
+ on: string;
9767
+ summary?: string;
9768
+ message?: string;
9769
+ found?: unknown;
9770
+ property?: string;
9771
+ expected?: string;
9772
+ };
9773
+ }>>) & {
9774
+ '~path': string;
9775
+ };
9776
+ } & {
9777
+ '~path': string;
9778
+ };
9779
+ delete: ((body: {}, options: {
9780
+ fetch?: RequestInit | undefined;
9781
+ throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
9782
+ headers?: {} | undefined;
9783
+ query: {
9784
+ uuids: string[];
9785
+ };
9786
+ }) => Promise<Treaty.TreatyResponse<{
9787
+ 200: {
9788
+ success: true;
9789
+ statusCode: number;
9790
+ data: null;
9791
+ message: string;
9792
+ error: null;
9793
+ meta: TResponseMeta;
9794
+ } | {
9795
+ success: false;
9796
+ statusCode: number;
9797
+ data: null;
9798
+ message: string;
9799
+ error: TResponseError;
9800
+ meta: TResponseMeta;
9801
+ };
9802
+ 422: {
9803
+ type: "validation";
9804
+ on: string;
9805
+ summary?: string;
9806
+ message?: string;
9807
+ found?: unknown;
9808
+ property?: string;
9809
+ expected?: string;
9810
+ };
9811
+ }>>) & {
9812
+ '~path': string;
9813
+ };
9814
+ } & {
9815
+ '~path': string;
9816
+ };
9817
+ } & {
9818
+ '~path': string;
9819
+ };
9820
+ "memo-labels": ((params: {
9821
+ labelId: string | number;
9822
+ }) => {
9823
+ patch: ((body?: {
9824
+ name?: string | undefined;
9825
+ color?: string | undefined;
9826
+ } | undefined, options?: {
9827
+ fetch?: RequestInit | undefined;
9828
+ throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
9829
+ headers?: {} | undefined;
9830
+ query?: {} | undefined;
9831
+ } | undefined) => Promise<Treaty.TreatyResponse<{
9832
+ 200: {
9833
+ success: true;
9834
+ statusCode: number;
9835
+ data: null;
9836
+ message: string;
9837
+ error: null;
9838
+ meta: TResponseMeta;
9839
+ } | {
9840
+ success: false;
9841
+ statusCode: number;
9842
+ data: null;
9843
+ message: string;
9844
+ error: TResponseError;
9845
+ meta: TResponseMeta;
9846
+ };
9847
+ 422: {
9848
+ type: "validation";
9849
+ on: string;
9850
+ summary?: string;
9851
+ message?: string;
9852
+ found?: unknown;
9853
+ property?: string;
9854
+ expected?: string;
9855
+ };
9856
+ }>>) & {
9857
+ '~path': string;
9858
+ };
9859
+ delete: ((body?: {} | undefined, options?: {
9860
+ fetch?: RequestInit | undefined;
9861
+ throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
9862
+ headers?: {} | undefined;
9863
+ query?: {} | undefined;
9864
+ } | undefined) => Promise<Treaty.TreatyResponse<{
9865
+ 200: {
9866
+ success: true;
9867
+ statusCode: number;
9868
+ data: null;
9869
+ message: string;
9870
+ error: null;
9871
+ meta: TResponseMeta;
9872
+ } | {
9873
+ success: false;
9874
+ statusCode: number;
9875
+ data: null;
9876
+ message: string;
9877
+ error: TResponseError;
9878
+ meta: TResponseMeta;
9879
+ };
9880
+ 422: {
9881
+ type: "validation";
9882
+ on: string;
9883
+ summary?: string;
9884
+ message?: string;
9885
+ found?: unknown;
9886
+ property?: string;
9887
+ expected?: string;
9888
+ };
9889
+ }>>) & {
9890
+ '~path': string;
9891
+ };
9892
+ '~path': string;
9893
+ } & {
9894
+ patch: ((body?: {
9895
+ name?: string | undefined;
9896
+ color?: string | undefined;
9897
+ } | undefined, options?: {
9898
+ fetch?: RequestInit | undefined;
9899
+ throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
9900
+ headers?: {} | undefined;
9901
+ query?: {} | undefined;
9902
+ } | undefined) => Promise<Treaty.TreatyResponse<{
9903
+ 200: {
9904
+ success: true;
9905
+ statusCode: number;
9906
+ data: null;
9907
+ message: string;
9908
+ error: null;
9909
+ meta: TResponseMeta;
9910
+ } | {
9911
+ success: false;
9912
+ statusCode: number;
9913
+ data: null;
9914
+ message: string;
9915
+ error: TResponseError;
9916
+ meta: TResponseMeta;
9917
+ };
9918
+ 422: {
9919
+ type: "validation";
9920
+ on: string;
9921
+ summary?: string;
9922
+ message?: string;
9923
+ found?: unknown;
9924
+ property?: string;
9925
+ expected?: string;
9926
+ };
9927
+ }>>) & {
9928
+ '~path': string;
9929
+ };
9930
+ delete: ((body?: {} | undefined, options?: {
9931
+ fetch?: RequestInit | undefined;
9932
+ throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
9933
+ headers?: {} | undefined;
9934
+ query?: {} | undefined;
9935
+ } | undefined) => Promise<Treaty.TreatyResponse<{
9936
+ 200: {
9937
+ success: true;
9938
+ statusCode: number;
9939
+ data: null;
9940
+ message: string;
9941
+ error: null;
9942
+ meta: TResponseMeta;
9943
+ } | {
9944
+ success: false;
9945
+ statusCode: number;
9946
+ data: null;
9947
+ message: string;
9948
+ error: TResponseError;
9949
+ meta: TResponseMeta;
9950
+ };
9951
+ 422: {
9952
+ type: "validation";
9953
+ on: string;
9954
+ summary?: string;
9955
+ message?: string;
9956
+ found?: unknown;
9957
+ property?: string;
9958
+ expected?: string;
9959
+ };
9960
+ }>>) & {
9961
+ '~path': string;
9962
+ };
9963
+ }) & {
9964
+ get: ((options?: {
9965
+ fetch?: RequestInit | undefined;
9966
+ throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
9967
+ headers?: {} | undefined;
9968
+ query?: {
9969
+ search?: string | undefined;
9970
+ } | undefined;
9971
+ } | undefined) => Promise<Treaty.TreatyResponse<{
9972
+ 200: {
9973
+ success: false;
9974
+ statusCode: number;
9975
+ data: null;
9976
+ message: string;
9977
+ error: TResponseError;
9978
+ meta: TResponseMeta;
9979
+ } | {
9980
+ success: true;
9981
+ statusCode: number;
9982
+ data: {
9983
+ name: string;
9984
+ uuid: string;
9985
+ createdAt: Date;
9986
+ updatedAt: Date;
9987
+ color: string | null;
9988
+ }[];
9989
+ message: null;
9990
+ error: null;
9991
+ meta: TResponseMeta;
9992
+ };
9993
+ 422: {
9994
+ type: "validation";
9995
+ on: string;
9996
+ summary?: string;
9997
+ message?: string;
9998
+ found?: unknown;
9999
+ property?: string;
10000
+ expected?: string;
10001
+ };
10002
+ }>>) & {
10003
+ '~path': string;
10004
+ };
10005
+ post: ((body: {
10006
+ color?: string | undefined;
10007
+ name: string;
10008
+ }, options?: {
10009
+ fetch?: RequestInit | undefined;
10010
+ throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;
10011
+ headers?: {} | undefined;
10012
+ query?: {} | undefined;
10013
+ } | undefined) => Promise<Treaty.TreatyResponse<{
10014
+ 200: {
10015
+ success: false;
10016
+ statusCode: number;
10017
+ data: null;
10018
+ message: string;
10019
+ error: TResponseError;
10020
+ meta: TResponseMeta;
10021
+ } | {
10022
+ success: true;
10023
+ statusCode: number;
10024
+ data: {
10025
+ name: string;
10026
+ uuid: string;
10027
+ createdAt: Date;
10028
+ updatedAt: Date;
10029
+ color: string | null;
10030
+ };
10031
+ message: null;
10032
+ error: null;
10033
+ meta: TResponseMeta;
10034
+ };
10035
+ 422: {
10036
+ type: "validation";
10037
+ on: string;
10038
+ summary?: string;
10039
+ message?: string;
10040
+ found?: unknown;
10041
+ property?: string;
10042
+ expected?: string;
10043
+ };
10044
+ }>>) & {
10045
+ '~path': string;
10046
+ };
9615
10047
  } & {
9616
10048
  '~path': string;
9617
10049
  };
@@ -12211,10 +12643,10 @@ declare const _createClient: () => {
12211
12643
  fulfillmentStatus?: "UNFULFILLED" | "PARTIALLY_FULFILLED" | "FULFILLED" | "RETURNED" | undefined;
12212
12644
  limit?: number | undefined;
12213
12645
  page?: number | undefined;
12214
- subtotalAmountFrom?: number | undefined;
12215
- subtotalAmountTo?: number | undefined;
12216
12646
  createdAtFrom?: string | undefined;
12217
12647
  createdAtTo?: string | undefined;
12648
+ subtotalAmountFrom?: number | undefined;
12649
+ subtotalAmountTo?: number | undefined;
12218
12650
  } | undefined;
12219
12651
  } | undefined) => Promise<Treaty.TreatyResponse<{
12220
12652
  200: {
@@ -12299,10 +12731,10 @@ declare const _createClient: () => {
12299
12731
  query?: {
12300
12732
  search?: string | undefined;
12301
12733
  customerEmail?: string | undefined;
12734
+ customerUuid?: string | undefined;
12302
12735
  limit?: number | undefined;
12303
12736
  page?: number | undefined;
12304
12737
  isGuest?: boolean | undefined;
12305
- customerUuid?: string | undefined;
12306
12738
  excludeStatus?: "DRAFT" | "PENDING" | "CONFIRMED" | "PROCESSING" | "COMPLETED" | "CANCELLED" | undefined;
12307
12739
  excludeUserUuid?: string | undefined;
12308
12740
  } | undefined;
@@ -13066,15 +13498,15 @@ declare const _createClient: () => {
13066
13498
  description: string | null;
13067
13499
  slug: string;
13068
13500
  createdBy: string;
13501
+ productLink: string | null;
13069
13502
  standardCost: number | null;
13070
13503
  retailCost: number | null;
13504
+ quantity: number | null;
13071
13505
  weight: number | null;
13072
13506
  weightUnit: string | null;
13073
13507
  width: number | null;
13074
13508
  height: number | null;
13075
13509
  dimensionUnit: string | null;
13076
- productLink: string | null;
13077
- quantity: number | null;
13078
13510
  country: string | null;
13079
13511
  productStatus: "draft" | "review" | "published" | "cancelled";
13080
13512
  productType: "regular" | "gift";
@@ -13097,6 +13529,11 @@ declare const _createClient: () => {
13097
13529
  id: number;
13098
13530
  exchangeRate: number;
13099
13531
  } | null;
13532
+ author: {
13533
+ uuid: string;
13534
+ email: string;
13535
+ username: string;
13536
+ };
13100
13537
  variants: {
13101
13538
  name: string;
13102
13539
  uuid: string;
@@ -13106,7 +13543,6 @@ declare const _createClient: () => {
13106
13543
  description: string | null;
13107
13544
  isActive: boolean | null;
13108
13545
  isDefault: boolean | null;
13109
- sku: string;
13110
13546
  standardCost: number | null;
13111
13547
  retailCost: number | null;
13112
13548
  weight: number | null;
@@ -13114,6 +13550,7 @@ declare const _createClient: () => {
13114
13550
  width: number | null;
13115
13551
  height: number | null;
13116
13552
  dimensionUnit: string | null;
13553
+ sku: string;
13117
13554
  isNew: boolean | null;
13118
13555
  isSpecial: boolean | null;
13119
13556
  options: {
@@ -13136,11 +13573,6 @@ declare const _createClient: () => {
13136
13573
  };
13137
13574
  };
13138
13575
  }[];
13139
- author: {
13140
- uuid: string;
13141
- email: string;
13142
- username: string;
13143
- };
13144
13576
  parentCategory: {
13145
13577
  name: string;
13146
13578
  uuid: string;
@@ -13219,8 +13651,8 @@ declare const _createClient: () => {
13219
13651
  createdAt: Date | null;
13220
13652
  updatedAt: Date | null;
13221
13653
  description: string | null;
13222
- sku: string;
13223
13654
  retailCost: number | null;
13655
+ sku: string;
13224
13656
  options: {
13225
13657
  value: string;
13226
13658
  id: number;
@@ -13322,17 +13754,17 @@ declare const _createClient: () => {
13322
13754
  createdBy: string;
13323
13755
  currencyId: number | null;
13324
13756
  seriesUuid: string | null;
13757
+ shortDescription: string | null;
13758
+ richDescription: unknown;
13759
+ productLink: string | null;
13325
13760
  standardCost: number | null;
13326
13761
  retailCost: number | null;
13762
+ quantity: number | null;
13327
13763
  weight: number | null;
13328
13764
  weightUnit: string | null;
13329
13765
  width: number | null;
13330
13766
  height: number | null;
13331
13767
  dimensionUnit: string | null;
13332
- shortDescription: string | null;
13333
- richDescription: unknown;
13334
- productLink: string | null;
13335
- quantity: number | null;
13336
13768
  country: string | null;
13337
13769
  productStatus: "draft" | "review" | "published" | "cancelled";
13338
13770
  productType: "regular" | "gift";
@@ -13787,15 +14219,15 @@ declare const _createClient: () => {
13787
14219
  description: string | null;
13788
14220
  slug: string;
13789
14221
  createdBy: string;
14222
+ productLink: string | null;
13790
14223
  standardCost: number | null;
13791
14224
  retailCost: number | null;
14225
+ quantity: number | null;
13792
14226
  weight: number | null;
13793
14227
  weightUnit: string | null;
13794
14228
  width: number | null;
13795
14229
  height: number | null;
13796
14230
  dimensionUnit: string | null;
13797
- productLink: string | null;
13798
- quantity: number | null;
13799
14231
  country: string | null;
13800
14232
  productStatus: "draft" | "review" | "published" | "cancelled";
13801
14233
  productType: "regular" | "gift";
@@ -13818,6 +14250,11 @@ declare const _createClient: () => {
13818
14250
  id: number;
13819
14251
  exchangeRate: number;
13820
14252
  } | null;
14253
+ author: {
14254
+ uuid: string;
14255
+ email: string;
14256
+ username: string;
14257
+ };
13821
14258
  variants: {
13822
14259
  name: string;
13823
14260
  uuid: string;
@@ -13827,7 +14264,6 @@ declare const _createClient: () => {
13827
14264
  description: string | null;
13828
14265
  isActive: boolean | null;
13829
14266
  isDefault: boolean | null;
13830
- sku: string;
13831
14267
  standardCost: number | null;
13832
14268
  retailCost: number | null;
13833
14269
  weight: number | null;
@@ -13835,6 +14271,7 @@ declare const _createClient: () => {
13835
14271
  width: number | null;
13836
14272
  height: number | null;
13837
14273
  dimensionUnit: string | null;
14274
+ sku: string;
13838
14275
  isNew: boolean | null;
13839
14276
  isSpecial: boolean | null;
13840
14277
  options: {
@@ -13857,11 +14294,6 @@ declare const _createClient: () => {
13857
14294
  };
13858
14295
  };
13859
14296
  }[];
13860
- author: {
13861
- uuid: string;
13862
- email: string;
13863
- username: string;
13864
- };
13865
14297
  parentCategory: {
13866
14298
  name: string;
13867
14299
  uuid: string;
@@ -13940,8 +14372,8 @@ declare const _createClient: () => {
13940
14372
  createdAt: Date | null;
13941
14373
  updatedAt: Date | null;
13942
14374
  description: string | null;
13943
- sku: string;
13944
14375
  retailCost: number | null;
14376
+ sku: string;
13945
14377
  options: {
13946
14378
  value: string;
13947
14379
  id: number;
@@ -14043,17 +14475,17 @@ declare const _createClient: () => {
14043
14475
  createdBy: string;
14044
14476
  currencyId: number | null;
14045
14477
  seriesUuid: string | null;
14478
+ shortDescription: string | null;
14479
+ richDescription: unknown;
14480
+ productLink: string | null;
14046
14481
  standardCost: number | null;
14047
14482
  retailCost: number | null;
14483
+ quantity: number | null;
14048
14484
  weight: number | null;
14049
14485
  weightUnit: string | null;
14050
14486
  width: number | null;
14051
14487
  height: number | null;
14052
14488
  dimensionUnit: string | null;
14053
- shortDescription: string | null;
14054
- richDescription: unknown;
14055
- productLink: string | null;
14056
- quantity: number | null;
14057
14489
  country: string | null;
14058
14490
  productStatus: "draft" | "review" | "published" | "cancelled";
14059
14491
  productType: "regular" | "gift";
@@ -16223,6 +16655,15 @@ declare const _createClient: () => {
16223
16655
  products: {
16224
16656
  name: string;
16225
16657
  productType: EProductType;
16658
+ description?: string | null | undefined;
16659
+ standardCost?: number | null | undefined;
16660
+ country?: ECountry | undefined;
16661
+ currencyId?: number | null | undefined;
16662
+ seriesUuid?: string | null | undefined;
16663
+ supplierUuid?: string | null | undefined;
16664
+ inventoryStatus?: EProductInventoryStatus | undefined;
16665
+ parentCategoryUuid?: string | null | undefined;
16666
+ subCategoryUuid?: string | null | undefined;
16226
16667
  }[];
16227
16668
  }, options?: {
16228
16669
  fetch?: RequestInit | undefined;
@@ -20323,6 +20764,10 @@ declare const _createClient: () => {
20323
20764
  order_invoice_number: string;
20324
20765
  custom_data: any[];
20325
20766
  };
20767
+ customer: {
20768
+ id: string;
20769
+ customer_id: string;
20770
+ } | null;
20326
20771
  transaction: {
20327
20772
  id: string;
20328
20773
  payment_method: string;
@@ -20336,10 +20781,6 @@ declare const _createClient: () => {
20336
20781
  timestamp: number;
20337
20782
  notification_type: "ORDER_PAID" | "TRANSACTION_VOID";
20338
20783
  agreement: any;
20339
- customer: {
20340
- id: string;
20341
- customer_id: string;
20342
- } | null;
20343
20784
  }, options?: {
20344
20785
  fetch?: RequestInit | undefined;
20345
20786
  throwHttpError?: _elysiajs_eden_dist_types_0YqzVuGd0.b | undefined;