@shushed/helpers 0.0.199 → 0.0.200-dato-rate-limit-20251125155216

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.
Files changed (3) hide show
  1. package/dist/index.d.ts +122 -242
  2. package/dist/index.js +51 -2441
  3. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -3177,7 +3177,7 @@ declare const schema$e: {
3177
3177
  readonly sfcc_order_id: {
3178
3178
  readonly type: readonly ["string", "null"];
3179
3179
  };
3180
- readonly globale_order_id: {
3180
+ readonly globalee_order_id: {
3181
3181
  readonly type: readonly ["string", "null"];
3182
3182
  };
3183
3183
  readonly sitoo_order_id: {
@@ -3557,9 +3557,6 @@ declare const schema$e: {
3557
3557
  };
3558
3558
  readonly required: readonly ["first_name", "last_name", "address1", "city", "country_code"];
3559
3559
  };
3560
- readonly phone: {
3561
- readonly type: readonly ["string", "null"];
3562
- };
3563
3560
  readonly email: {
3564
3561
  readonly type: readonly ["string", "null"];
3565
3562
  readonly format: "email";
@@ -5886,13 +5883,10 @@ declare const schema$e: {
5886
5883
  readonly type: readonly ["string", "null"];
5887
5884
  };
5888
5885
  readonly colour_id: {
5889
- readonly type: readonly ["string", "null"];
5886
+ readonly type: readonly ["string"];
5890
5887
  };
5891
5888
  readonly style_id: {
5892
- readonly type: readonly ["string", "null"];
5893
- };
5894
- readonly product_id: {
5895
- readonly type: readonly ["string", "null"];
5889
+ readonly type: readonly ["string"];
5896
5890
  };
5897
5891
  readonly colour_name: {
5898
5892
  readonly type: readonly ["string"];
@@ -6615,7 +6609,7 @@ declare const schema$d: {
6615
6609
  readonly sfcc_order_id: {
6616
6610
  readonly type: readonly ["string", "null"];
6617
6611
  };
6618
- readonly globale_order_id: {
6612
+ readonly globalee_order_id: {
6619
6613
  readonly type: readonly ["string", "null"];
6620
6614
  };
6621
6615
  readonly sitoo_order_id: {
@@ -6995,9 +6989,6 @@ declare const schema$d: {
6995
6989
  };
6996
6990
  readonly required: readonly ["first_name", "last_name", "address1", "city", "country_code"];
6997
6991
  };
6998
- readonly phone: {
6999
- readonly type: readonly ["string", "null"];
7000
- };
7001
6992
  readonly email: {
7002
6993
  readonly type: readonly ["string", "null"];
7003
6994
  readonly format: "email";
@@ -9324,13 +9315,10 @@ declare const schema$d: {
9324
9315
  readonly type: readonly ["string", "null"];
9325
9316
  };
9326
9317
  readonly colour_id: {
9327
- readonly type: readonly ["string", "null"];
9318
+ readonly type: readonly ["string"];
9328
9319
  };
9329
9320
  readonly style_id: {
9330
- readonly type: readonly ["string", "null"];
9331
- };
9332
- readonly product_id: {
9333
- readonly type: readonly ["string", "null"];
9321
+ readonly type: readonly ["string"];
9334
9322
  };
9335
9323
  readonly colour_name: {
9336
9324
  readonly type: readonly ["string"];
@@ -10053,7 +10041,7 @@ declare const schema$c: {
10053
10041
  readonly sfcc_order_id: {
10054
10042
  readonly type: readonly ["string", "null"];
10055
10043
  };
10056
- readonly globale_order_id: {
10044
+ readonly globalee_order_id: {
10057
10045
  readonly type: readonly ["string", "null"];
10058
10046
  };
10059
10047
  readonly sitoo_order_id: {
@@ -10433,9 +10421,6 @@ declare const schema$c: {
10433
10421
  };
10434
10422
  readonly required: readonly ["first_name", "last_name", "address1", "city", "country_code"];
10435
10423
  };
10436
- readonly phone: {
10437
- readonly type: readonly ["string", "null"];
10438
- };
10439
10424
  readonly email: {
10440
10425
  readonly type: readonly ["string", "null"];
10441
10426
  readonly format: "email";
@@ -12762,13 +12747,10 @@ declare const schema$c: {
12762
12747
  readonly type: readonly ["string", "null"];
12763
12748
  };
12764
12749
  readonly colour_id: {
12765
- readonly type: readonly ["string", "null"];
12750
+ readonly type: readonly ["string"];
12766
12751
  };
12767
12752
  readonly style_id: {
12768
- readonly type: readonly ["string", "null"];
12769
- };
12770
- readonly product_id: {
12771
- readonly type: readonly ["string", "null"];
12753
+ readonly type: readonly ["string"];
12772
12754
  };
12773
12755
  readonly colour_name: {
12774
12756
  readonly type: readonly ["string"];
@@ -13485,7 +13467,7 @@ declare const schema$b: {
13485
13467
  readonly sfcc_order_id: {
13486
13468
  readonly type: readonly ["string", "null"];
13487
13469
  };
13488
- readonly globale_order_id: {
13470
+ readonly globalee_order_id: {
13489
13471
  readonly type: readonly ["string", "null"];
13490
13472
  };
13491
13473
  readonly sitoo_order_id: {
@@ -13865,9 +13847,6 @@ declare const schema$b: {
13865
13847
  };
13866
13848
  readonly required: readonly ["first_name", "last_name", "address1", "city", "country_code"];
13867
13849
  };
13868
- readonly phone: {
13869
- readonly type: readonly ["string", "null"];
13870
- };
13871
13850
  readonly email: {
13872
13851
  readonly type: readonly ["string", "null"];
13873
13852
  readonly format: "email";
@@ -16194,13 +16173,10 @@ declare const schema$b: {
16194
16173
  readonly type: readonly ["string", "null"];
16195
16174
  };
16196
16175
  readonly colour_id: {
16197
- readonly type: readonly ["string", "null"];
16176
+ readonly type: readonly ["string"];
16198
16177
  };
16199
16178
  readonly style_id: {
16200
- readonly type: readonly ["string", "null"];
16201
- };
16202
- readonly product_id: {
16203
- readonly type: readonly ["string", "null"];
16179
+ readonly type: readonly ["string"];
16204
16180
  };
16205
16181
  readonly colour_name: {
16206
16182
  readonly type: readonly ["string"];
@@ -16923,7 +16899,7 @@ declare const schema$a: {
16923
16899
  readonly sfcc_order_id: {
16924
16900
  readonly type: readonly ["string", "null"];
16925
16901
  };
16926
- readonly globale_order_id: {
16902
+ readonly globalee_order_id: {
16927
16903
  readonly type: readonly ["string", "null"];
16928
16904
  };
16929
16905
  readonly sitoo_order_id: {
@@ -17303,9 +17279,6 @@ declare const schema$a: {
17303
17279
  };
17304
17280
  readonly required: readonly ["first_name", "last_name", "address1", "city", "country_code"];
17305
17281
  };
17306
- readonly phone: {
17307
- readonly type: readonly ["string", "null"];
17308
- };
17309
17282
  readonly email: {
17310
17283
  readonly type: readonly ["string", "null"];
17311
17284
  readonly format: "email";
@@ -19632,13 +19605,10 @@ declare const schema$a: {
19632
19605
  readonly type: readonly ["string", "null"];
19633
19606
  };
19634
19607
  readonly colour_id: {
19635
- readonly type: readonly ["string", "null"];
19608
+ readonly type: readonly ["string"];
19636
19609
  };
19637
19610
  readonly style_id: {
19638
- readonly type: readonly ["string", "null"];
19639
- };
19640
- readonly product_id: {
19641
- readonly type: readonly ["string", "null"];
19611
+ readonly type: readonly ["string"];
19642
19612
  };
19643
19613
  readonly colour_name: {
19644
19614
  readonly type: readonly ["string"];
@@ -20359,7 +20329,7 @@ declare const schema$9: {
20359
20329
  readonly sfcc_order_id: {
20360
20330
  readonly type: readonly ["string", "null"];
20361
20331
  };
20362
- readonly globale_order_id: {
20332
+ readonly globalee_order_id: {
20363
20333
  readonly type: readonly ["string", "null"];
20364
20334
  };
20365
20335
  readonly sitoo_order_id: {
@@ -20739,9 +20709,6 @@ declare const schema$9: {
20739
20709
  };
20740
20710
  readonly required: readonly ["first_name", "last_name", "address1", "city", "country_code"];
20741
20711
  };
20742
- readonly phone: {
20743
- readonly type: readonly ["string", "null"];
20744
- };
20745
20712
  readonly email: {
20746
20713
  readonly type: readonly ["string", "null"];
20747
20714
  readonly format: "email";
@@ -23068,13 +23035,10 @@ declare const schema$9: {
23068
23035
  readonly type: readonly ["string", "null"];
23069
23036
  };
23070
23037
  readonly colour_id: {
23071
- readonly type: readonly ["string", "null"];
23038
+ readonly type: readonly ["string"];
23072
23039
  };
23073
23040
  readonly style_id: {
23074
- readonly type: readonly ["string", "null"];
23075
- };
23076
- readonly product_id: {
23077
- readonly type: readonly ["string", "null"];
23041
+ readonly type: readonly ["string"];
23078
23042
  };
23079
23043
  readonly colour_name: {
23080
23044
  readonly type: readonly ["string"];
@@ -24112,9 +24076,6 @@ declare const schema$7: {
24112
24076
  };
24113
24077
  readonly required: readonly ["first_name", "last_name", "address1", "city", "country_code"];
24114
24078
  };
24115
- readonly phone: {
24116
- readonly type: readonly ["string", "null"];
24117
- };
24118
24079
  readonly email: {
24119
24080
  readonly type: readonly ["string", "null"];
24120
24081
  readonly format: "email";
@@ -24375,13 +24336,10 @@ declare const schema$6: {
24375
24336
  readonly type: readonly ["string", "null"];
24376
24337
  };
24377
24338
  readonly colour_id: {
24378
- readonly type: readonly ["string", "null"];
24339
+ readonly type: readonly ["string"];
24379
24340
  };
24380
24341
  readonly style_id: {
24381
- readonly type: readonly ["string", "null"];
24382
- };
24383
- readonly product_id: {
24384
- readonly type: readonly ["string", "null"];
24342
+ readonly type: readonly ["string"];
24385
24343
  };
24386
24344
  readonly colour_name: {
24387
24345
  readonly type: readonly ["string"];
@@ -26765,7 +26723,7 @@ declare const MainModuleObj: {
26765
26723
  readonly sfcc_order_id: {
26766
26724
  readonly type: readonly ["string", "null"];
26767
26725
  };
26768
- readonly globale_order_id: {
26726
+ readonly globalee_order_id: {
26769
26727
  readonly type: readonly ["string", "null"];
26770
26728
  };
26771
26729
  readonly sitoo_order_id: {
@@ -27145,9 +27103,6 @@ declare const MainModuleObj: {
27145
27103
  };
27146
27104
  readonly required: readonly ["first_name", "last_name", "address1", "city", "country_code"];
27147
27105
  };
27148
- readonly phone: {
27149
- readonly type: readonly ["string", "null"];
27150
- };
27151
27106
  readonly email: {
27152
27107
  readonly type: readonly ["string", "null"];
27153
27108
  readonly format: "email";
@@ -29474,13 +29429,10 @@ declare const MainModuleObj: {
29474
29429
  readonly type: readonly ["string", "null"];
29475
29430
  };
29476
29431
  readonly colour_id: {
29477
- readonly type: readonly ["string", "null"];
29432
+ readonly type: readonly ["string"];
29478
29433
  };
29479
29434
  readonly style_id: {
29480
- readonly type: readonly ["string", "null"];
29481
- };
29482
- readonly product_id: {
29483
- readonly type: readonly ["string", "null"];
29435
+ readonly type: readonly ["string"];
29484
29436
  };
29485
29437
  readonly colour_name: {
29486
29438
  readonly type: readonly ["string"];
@@ -30356,11 +30308,11 @@ interface __MainSchema$s {
30356
30308
  length_measurement?: (string | null);
30357
30309
  fabric_composition?: (string | null);
30358
30310
  };
30359
- retail_price?: (Money$c | null);
30311
+ retail_price?: (Money$b | null);
30360
30312
  cost?: {
30361
- current_cost?: (Money$c | null);
30362
- finishing_cost?: (Money$c | null);
30363
- other_costs?: (Money$c | null);
30313
+ current_cost?: (Money$b | null);
30314
+ finishing_cost?: (Money$b | null);
30315
+ other_costs?: (Money$b | null);
30364
30316
  commission_rate?: (number | null);
30365
30317
  freight_rate?: (number | null);
30366
30318
  duty_rate?: (number | null);
@@ -30391,7 +30343,7 @@ interface DropChannel$1 {
30391
30343
  drop_name?: string;
30392
30344
  [k: string]: unknown;
30393
30345
  }
30394
- interface Money$c {
30346
+ interface Money$b {
30395
30347
  value: number;
30396
30348
  decimal_places: number;
30397
30349
  currency: Currency$k;
@@ -30551,9 +30503,9 @@ interface __MainSchema$q {
30551
30503
  size_code: string;
30552
30504
  quantity: number;
30553
30505
  location_code: string;
30554
- unit_cost: (Money$b | null);
30506
+ unit_cost: (Money$a | null);
30555
30507
  }
30556
- interface Money$b {
30508
+ interface Money$a {
30557
30509
  value: number;
30558
30510
  decimal_places: number;
30559
30511
  currency: Currency$j;
@@ -30725,11 +30677,11 @@ interface ProductDraft {
30725
30677
  length_measurement?: (string | null);
30726
30678
  fabric_composition?: (string | null);
30727
30679
  };
30728
- retail_price?: (Money$a | null);
30680
+ retail_price?: (Money$9 | null);
30729
30681
  cost?: {
30730
- current_cost?: (Money$a | null);
30731
- finishing_cost?: (Money$a | null);
30732
- other_costs?: (Money$a | null);
30682
+ current_cost?: (Money$9 | null);
30683
+ finishing_cost?: (Money$9 | null);
30684
+ other_costs?: (Money$9 | null);
30733
30685
  commission_rate?: (number | null);
30734
30686
  freight_rate?: (number | null);
30735
30687
  duty_rate?: (number | null);
@@ -30760,7 +30712,7 @@ interface DropChannel {
30760
30712
  drop_name?: string;
30761
30713
  [k: string]: unknown;
30762
30714
  }
30763
- interface Money$a {
30715
+ interface Money$9 {
30764
30716
  value: number;
30765
30717
  decimal_places: number;
30766
30718
  currency: Currency$g;
@@ -30925,7 +30877,7 @@ type OrderShipmentShippedOutbound$6 = (Shipment$c & {
30925
30877
  items?: OrderShipmentItem$e[];
30926
30878
  [k: string]: unknown;
30927
30879
  });
30928
- type Shipment$c = (Total$f & {
30880
+ type Shipment$c = (Total$e & {
30929
30881
  erp_id?: string;
30930
30882
  type?: ("SHIPPED-OUTBOUND" | "SHIPPED-RETURN" | "POS-OUTBOUND" | "POS-RETURN");
30931
30883
  shipped_at?: string;
@@ -30963,12 +30915,11 @@ type OrderShipmentPOSReturn$6 = (OrderShipmentOutbound$8 & {
30963
30915
  type?: "POS-RETURN";
30964
30916
  items?: OrderShipmentItemReturned$d[];
30965
30917
  });
30966
- type Item$6 = (Total$f & {
30918
+ type Item$6 = (Total$e & {
30967
30919
  sku: string;
30968
30920
  linked_style_id?: (string | null);
30969
- colour_id: (string | null);
30970
- style_id: (string | null);
30971
- product_id?: (string | null);
30921
+ colour_id: string;
30922
+ style_id: string;
30972
30923
  colour_name?: string;
30973
30924
  size_name?: string;
30974
30925
  preorder_date?: (string | null);
@@ -30986,7 +30937,7 @@ interface Order$5 {
30986
30937
  erp_order_id: string;
30987
30938
  centra_order_id?: (number | null);
30988
30939
  sfcc_order_id?: (string | null);
30989
- globale_order_id?: (string | null);
30940
+ globalee_order_id?: (string | null);
30990
30941
  sitoo_order_id?: (string | null);
30991
30942
  system_created_by?: ("POS" | "ECOMMERCE" | "SYSTEM");
30992
30943
  ordered_at: string;
@@ -31027,11 +30978,11 @@ interface Payment$6 {
31027
30978
  psp_reference: string;
31028
30979
  card_brand?: (string | null);
31029
30980
  status: ("CAPTURED" | "FAILED" | "FAILED-3DS" | "CANCELLED");
31030
- amount: Money$9;
30981
+ amount: Money$8;
31031
30982
  created_by: (("CUSTOMER" | "SYSTEM") | string);
31032
30983
  [k: string]: unknown;
31033
30984
  }
31034
- interface Money$9 {
30985
+ interface Money$8 {
31035
30986
  value: number;
31036
30987
  decimal_places: number;
31037
30988
  currency: Currency$f;
@@ -31050,7 +31001,6 @@ interface Customer$6 {
31050
31001
  scv_customer_id?: string;
31051
31002
  addresses?: Address$7[];
31052
31003
  default_shipping_address?: Address1$7;
31053
- phone?: (string | null);
31054
31004
  email: (string | null);
31055
31005
  opt_in_email?: boolean;
31056
31006
  opt_in_phone?: boolean;
@@ -31119,7 +31069,7 @@ interface Address1$7 {
31119
31069
  created_at?: string;
31120
31070
  last_modified_at?: string;
31121
31071
  }
31122
- interface Total$f {
31072
+ interface Total$e {
31123
31073
  amount_net: AmountNet$e;
31124
31074
  amount_gross: AmountGross$e;
31125
31075
  discount_amount_net: DiscountAmountNet$e;
@@ -31225,7 +31175,7 @@ type OrderShipmentShippedOutbound$5 = (Shipment$b & {
31225
31175
  items?: OrderShipmentItem$d[];
31226
31176
  [k: string]: unknown;
31227
31177
  });
31228
- type Shipment$b = (Total$e & {
31178
+ type Shipment$b = (Total$d & {
31229
31179
  erp_id?: string;
31230
31180
  type?: ("SHIPPED-OUTBOUND" | "SHIPPED-RETURN" | "POS-OUTBOUND" | "POS-RETURN");
31231
31181
  shipped_at?: string;
@@ -31263,12 +31213,11 @@ type OrderShipmentPOSReturn$5 = (OrderShipmentOutbound$7 & {
31263
31213
  type?: "POS-RETURN";
31264
31214
  items?: OrderShipmentItemReturned$c[];
31265
31215
  });
31266
- type Item$5 = (Total$e & {
31216
+ type Item$5 = (Total$d & {
31267
31217
  sku: string;
31268
31218
  linked_style_id?: (string | null);
31269
- colour_id: (string | null);
31270
- style_id: (string | null);
31271
- product_id?: (string | null);
31219
+ colour_id: string;
31220
+ style_id: string;
31272
31221
  colour_name?: string;
31273
31222
  size_name?: string;
31274
31223
  preorder_date?: (string | null);
@@ -31286,7 +31235,7 @@ interface Order$4 {
31286
31235
  erp_order_id: string;
31287
31236
  centra_order_id?: (number | null);
31288
31237
  sfcc_order_id?: (string | null);
31289
- globale_order_id?: (string | null);
31238
+ globalee_order_id?: (string | null);
31290
31239
  sitoo_order_id?: (string | null);
31291
31240
  system_created_by?: ("POS" | "ECOMMERCE" | "SYSTEM");
31292
31241
  ordered_at: string;
@@ -31327,11 +31276,11 @@ interface Payment$5 {
31327
31276
  psp_reference: string;
31328
31277
  card_brand?: (string | null);
31329
31278
  status: ("CAPTURED" | "FAILED" | "FAILED-3DS" | "CANCELLED");
31330
- amount: Money$8;
31279
+ amount: Money$7;
31331
31280
  created_by: (("CUSTOMER" | "SYSTEM") | string);
31332
31281
  [k: string]: unknown;
31333
31282
  }
31334
- interface Money$8 {
31283
+ interface Money$7 {
31335
31284
  value: number;
31336
31285
  decimal_places: number;
31337
31286
  currency: Currency$e;
@@ -31350,7 +31299,6 @@ interface Customer$5 {
31350
31299
  scv_customer_id?: string;
31351
31300
  addresses?: Address$6[];
31352
31301
  default_shipping_address?: Address1$6;
31353
- phone?: (string | null);
31354
31302
  email: (string | null);
31355
31303
  opt_in_email?: boolean;
31356
31304
  opt_in_phone?: boolean;
@@ -31419,7 +31367,7 @@ interface Address1$6 {
31419
31367
  created_at?: string;
31420
31368
  last_modified_at?: string;
31421
31369
  }
31422
- interface Total$e {
31370
+ interface Total$d {
31423
31371
  amount_net: AmountNet$d;
31424
31372
  amount_gross: AmountGross$d;
31425
31373
  discount_amount_net: DiscountAmountNet$d;
@@ -31525,7 +31473,7 @@ type OrderShipmentShippedOutbound$4 = (Shipment$a & {
31525
31473
  items?: OrderShipmentItem$c[];
31526
31474
  [k: string]: unknown;
31527
31475
  });
31528
- type Shipment$a = (Total$d & {
31476
+ type Shipment$a = (Total$c & {
31529
31477
  erp_id?: string;
31530
31478
  type?: ("SHIPPED-OUTBOUND" | "SHIPPED-RETURN" | "POS-OUTBOUND" | "POS-RETURN");
31531
31479
  shipped_at?: string;
@@ -31563,12 +31511,11 @@ type OrderShipmentPOSReturn$4 = (OrderShipmentOutbound$6 & {
31563
31511
  type?: "POS-RETURN";
31564
31512
  items?: OrderShipmentItemReturned$b[];
31565
31513
  });
31566
- type Item$4 = (Total$d & {
31514
+ type Item$4 = (Total$c & {
31567
31515
  sku: string;
31568
31516
  linked_style_id?: (string | null);
31569
- colour_id: (string | null);
31570
- style_id: (string | null);
31571
- product_id?: (string | null);
31517
+ colour_id: string;
31518
+ style_id: string;
31572
31519
  colour_name?: string;
31573
31520
  size_name?: string;
31574
31521
  preorder_date?: (string | null);
@@ -31586,7 +31533,7 @@ interface Order$3 {
31586
31533
  erp_order_id: string;
31587
31534
  centra_order_id?: (number | null);
31588
31535
  sfcc_order_id?: (string | null);
31589
- globale_order_id?: (string | null);
31536
+ globalee_order_id?: (string | null);
31590
31537
  sitoo_order_id?: (string | null);
31591
31538
  system_created_by?: ("POS" | "ECOMMERCE" | "SYSTEM");
31592
31539
  ordered_at: string;
@@ -31627,11 +31574,11 @@ interface Payment$4 {
31627
31574
  psp_reference: string;
31628
31575
  card_brand?: (string | null);
31629
31576
  status: ("CAPTURED" | "FAILED" | "FAILED-3DS" | "CANCELLED");
31630
- amount: Money$7;
31577
+ amount: Money$6;
31631
31578
  created_by: (("CUSTOMER" | "SYSTEM") | string);
31632
31579
  [k: string]: unknown;
31633
31580
  }
31634
- interface Money$7 {
31581
+ interface Money$6 {
31635
31582
  value: number;
31636
31583
  decimal_places: number;
31637
31584
  currency: Currency$d;
@@ -31650,7 +31597,6 @@ interface Customer$4 {
31650
31597
  scv_customer_id?: string;
31651
31598
  addresses?: Address$5[];
31652
31599
  default_shipping_address?: Address1$5;
31653
- phone?: (string | null);
31654
31600
  email: (string | null);
31655
31601
  opt_in_email?: boolean;
31656
31602
  opt_in_phone?: boolean;
@@ -31719,7 +31665,7 @@ interface Address1$5 {
31719
31665
  created_at?: string;
31720
31666
  last_modified_at?: string;
31721
31667
  }
31722
- interface Total$d {
31668
+ interface Total$c {
31723
31669
  amount_net: AmountNet$c;
31724
31670
  amount_gross: AmountGross$c;
31725
31671
  discount_amount_net: DiscountAmountNet$c;
@@ -31825,7 +31771,7 @@ type OrderShipmentShippedOutbound$3 = (Shipment$9 & {
31825
31771
  items?: OrderShipmentItem$b[];
31826
31772
  [k: string]: unknown;
31827
31773
  });
31828
- type Shipment$9 = (Total$c & {
31774
+ type Shipment$9 = (Total$b & {
31829
31775
  erp_id?: string;
31830
31776
  type?: ("SHIPPED-OUTBOUND" | "SHIPPED-RETURN" | "POS-OUTBOUND" | "POS-RETURN");
31831
31777
  shipped_at?: string;
@@ -31863,12 +31809,11 @@ type OrderShipmentPOSReturn$3 = (OrderShipmentOutbound$5 & {
31863
31809
  type?: "POS-RETURN";
31864
31810
  items?: OrderShipmentItemReturned$a[];
31865
31811
  });
31866
- type Item$3 = (Total$c & {
31812
+ type Item$3 = (Total$b & {
31867
31813
  sku: string;
31868
31814
  linked_style_id?: (string | null);
31869
- colour_id: (string | null);
31870
- style_id: (string | null);
31871
- product_id?: (string | null);
31815
+ colour_id: string;
31816
+ style_id: string;
31872
31817
  colour_name?: string;
31873
31818
  size_name?: string;
31874
31819
  preorder_date?: (string | null);
@@ -31886,7 +31831,7 @@ interface Order$2 {
31886
31831
  erp_order_id: string;
31887
31832
  centra_order_id?: (number | null);
31888
31833
  sfcc_order_id?: (string | null);
31889
- globale_order_id?: (string | null);
31834
+ globalee_order_id?: (string | null);
31890
31835
  sitoo_order_id?: (string | null);
31891
31836
  system_created_by?: ("POS" | "ECOMMERCE" | "SYSTEM");
31892
31837
  ordered_at: string;
@@ -31927,11 +31872,11 @@ interface Payment$3 {
31927
31872
  psp_reference: string;
31928
31873
  card_brand?: (string | null);
31929
31874
  status: ("CAPTURED" | "FAILED" | "FAILED-3DS" | "CANCELLED");
31930
- amount: Money$6;
31875
+ amount: Money$5;
31931
31876
  created_by: (("CUSTOMER" | "SYSTEM") | string);
31932
31877
  [k: string]: unknown;
31933
31878
  }
31934
- interface Money$6 {
31879
+ interface Money$5 {
31935
31880
  value: number;
31936
31881
  decimal_places: number;
31937
31882
  currency: Currency$c;
@@ -31950,7 +31895,6 @@ interface Customer$3 {
31950
31895
  scv_customer_id?: string;
31951
31896
  addresses?: Address$4[];
31952
31897
  default_shipping_address?: Address1$4;
31953
- phone?: (string | null);
31954
31898
  email: (string | null);
31955
31899
  opt_in_email?: boolean;
31956
31900
  opt_in_phone?: boolean;
@@ -32019,7 +31963,7 @@ interface Address1$4 {
32019
31963
  created_at?: string;
32020
31964
  last_modified_at?: string;
32021
31965
  }
32022
- interface Total$c {
31966
+ interface Total$b {
32023
31967
  amount_net: AmountNet$b;
32024
31968
  amount_gross: AmountGross$b;
32025
31969
  discount_amount_net: DiscountAmountNet$b;
@@ -32126,7 +32070,7 @@ type OrderShipmentShippedOutbound$2 = (Shipment$8 & {
32126
32070
  items?: OrderShipmentItem$a[];
32127
32071
  [k: string]: unknown;
32128
32072
  });
32129
- type Shipment$8 = (Total$b & {
32073
+ type Shipment$8 = (Total$a & {
32130
32074
  erp_id?: string;
32131
32075
  type?: ("SHIPPED-OUTBOUND" | "SHIPPED-RETURN" | "POS-OUTBOUND" | "POS-RETURN");
32132
32076
  shipped_at?: string;
@@ -32164,12 +32108,11 @@ type OrderShipmentPOSReturn$2 = (OrderShipmentOutbound$4 & {
32164
32108
  type?: "POS-RETURN";
32165
32109
  items?: OrderShipmentItemReturned$9[];
32166
32110
  });
32167
- type Item$2 = (Total$b & {
32111
+ type Item$2 = (Total$a & {
32168
32112
  sku: string;
32169
32113
  linked_style_id?: (string | null);
32170
- colour_id: (string | null);
32171
- style_id: (string | null);
32172
- product_id?: (string | null);
32114
+ colour_id: string;
32115
+ style_id: string;
32173
32116
  colour_name?: string;
32174
32117
  size_name?: string;
32175
32118
  preorder_date?: (string | null);
@@ -32187,7 +32130,7 @@ interface Order$1 {
32187
32130
  erp_order_id: string;
32188
32131
  centra_order_id?: (number | null);
32189
32132
  sfcc_order_id?: (string | null);
32190
- globale_order_id?: (string | null);
32133
+ globalee_order_id?: (string | null);
32191
32134
  sitoo_order_id?: (string | null);
32192
32135
  system_created_by?: ("POS" | "ECOMMERCE" | "SYSTEM");
32193
32136
  ordered_at: string;
@@ -32228,11 +32171,11 @@ interface Payment$2 {
32228
32171
  psp_reference: string;
32229
32172
  card_brand?: (string | null);
32230
32173
  status: ("CAPTURED" | "FAILED" | "FAILED-3DS" | "CANCELLED");
32231
- amount: Money$5;
32174
+ amount: Money$4;
32232
32175
  created_by: (("CUSTOMER" | "SYSTEM") | string);
32233
32176
  [k: string]: unknown;
32234
32177
  }
32235
- interface Money$5 {
32178
+ interface Money$4 {
32236
32179
  value: number;
32237
32180
  decimal_places: number;
32238
32181
  currency: Currency$b;
@@ -32251,7 +32194,6 @@ interface Customer$2 {
32251
32194
  scv_customer_id?: string;
32252
32195
  addresses?: Address$3[];
32253
32196
  default_shipping_address?: Address1$3;
32254
- phone?: (string | null);
32255
32197
  email: (string | null);
32256
32198
  opt_in_email?: boolean;
32257
32199
  opt_in_phone?: boolean;
@@ -32320,7 +32262,7 @@ interface Address1$3 {
32320
32262
  created_at?: string;
32321
32263
  last_modified_at?: string;
32322
32264
  }
32323
- interface Total$b {
32265
+ interface Total$a {
32324
32266
  amount_net: AmountNet$a;
32325
32267
  amount_gross: AmountGross$a;
32326
32268
  discount_amount_net: DiscountAmountNet$a;
@@ -32427,7 +32369,7 @@ type OrderShipmentShippedOutbound$1 = (Shipment$7 & {
32427
32369
  items?: OrderShipmentItem$9[];
32428
32370
  [k: string]: unknown;
32429
32371
  });
32430
- type Shipment$7 = (Total$a & {
32372
+ type Shipment$7 = (Total$9 & {
32431
32373
  erp_id?: string;
32432
32374
  type?: ("SHIPPED-OUTBOUND" | "SHIPPED-RETURN" | "POS-OUTBOUND" | "POS-RETURN");
32433
32375
  shipped_at?: string;
@@ -32465,12 +32407,11 @@ type OrderShipmentPOSReturn$1 = (OrderShipmentOutbound$3 & {
32465
32407
  type?: "POS-RETURN";
32466
32408
  items?: OrderShipmentItemReturned$8[];
32467
32409
  });
32468
- type Item$1 = (Total$a & {
32410
+ type Item$1 = (Total$9 & {
32469
32411
  sku: string;
32470
32412
  linked_style_id?: (string | null);
32471
- colour_id: (string | null);
32472
- style_id: (string | null);
32473
- product_id?: (string | null);
32413
+ colour_id: string;
32414
+ style_id: string;
32474
32415
  colour_name?: string;
32475
32416
  size_name?: string;
32476
32417
  preorder_date?: (string | null);
@@ -32488,7 +32429,7 @@ interface Order {
32488
32429
  erp_order_id: string;
32489
32430
  centra_order_id?: (number | null);
32490
32431
  sfcc_order_id?: (string | null);
32491
- globale_order_id?: (string | null);
32432
+ globalee_order_id?: (string | null);
32492
32433
  sitoo_order_id?: (string | null);
32493
32434
  system_created_by?: ("POS" | "ECOMMERCE" | "SYSTEM");
32494
32435
  ordered_at: string;
@@ -32529,11 +32470,11 @@ interface Payment$1 {
32529
32470
  psp_reference: string;
32530
32471
  card_brand?: (string | null);
32531
32472
  status: ("CAPTURED" | "FAILED" | "FAILED-3DS" | "CANCELLED");
32532
- amount: Money$4;
32473
+ amount: Money$3;
32533
32474
  created_by: (("CUSTOMER" | "SYSTEM") | string);
32534
32475
  [k: string]: unknown;
32535
32476
  }
32536
- interface Money$4 {
32477
+ interface Money$3 {
32537
32478
  value: number;
32538
32479
  decimal_places: number;
32539
32480
  currency: Currency$a;
@@ -32552,7 +32493,6 @@ interface Customer$1 {
32552
32493
  scv_customer_id?: string;
32553
32494
  addresses?: Address$2[];
32554
32495
  default_shipping_address?: Address1$2;
32555
- phone?: (string | null);
32556
32496
  email: (string | null);
32557
32497
  opt_in_email?: boolean;
32558
32498
  opt_in_phone?: boolean;
@@ -32621,7 +32561,7 @@ interface Address1$2 {
32621
32561
  created_at?: string;
32622
32562
  last_modified_at?: string;
32623
32563
  }
32624
- interface Total$a {
32564
+ interface Total$9 {
32625
32565
  amount_net: AmountNet$9;
32626
32566
  amount_gross: AmountGross$9;
32627
32567
  discount_amount_net: DiscountAmountNet$9;
@@ -32762,7 +32702,6 @@ interface __MainSchema$c {
32762
32702
  scv_customer_id?: string;
32763
32703
  addresses?: Address$1[];
32764
32704
  default_shipping_address?: Address1$1;
32765
- phone?: (string | null);
32766
32705
  email: (string | null);
32767
32706
  opt_in_email?: boolean;
32768
32707
  opt_in_phone?: boolean;
@@ -32832,19 +32771,18 @@ interface Address1$1 {
32832
32771
  last_modified_at?: string;
32833
32772
  }
32834
32773
 
32835
- type __MainSchema$b = (Total$9 & {
32774
+ type __MainSchema$b = (Total$8 & {
32836
32775
  sku: string;
32837
32776
  linked_style_id?: (string | null);
32838
- colour_id: (string | null);
32839
- style_id: (string | null);
32840
- product_id?: (string | null);
32777
+ colour_id: string;
32778
+ style_id: string;
32841
32779
  colour_name?: string;
32842
32780
  size_name?: string;
32843
32781
  preorder_date?: (string | null);
32844
32782
  quantity: number;
32845
32783
  unit_price_status: ("FD" | "MD" | "POS");
32846
32784
  returned_quantity?: number;
32847
- unit_price_net: Money$3;
32785
+ unit_price_net: Money$2;
32848
32786
  unit_price_gross: Money1$1;
32849
32787
  discount_code?: (string | null);
32850
32788
  cost_net?: Money2$1;
@@ -32853,7 +32791,7 @@ type __MainSchema$b = (Total$9 & {
32853
32791
  type Currency$9 = ("AFN" | "ALL" | "DZD" | "USD" | "EUR" | "AOA" | "XCD" | "ARS" | "AMD" | "AWG" | "AUD" | "AZN" | "BSD" | "BHD" | "BDT" | "BBD" | "BYN" | "BZD" | "XOF" | "BMD" | "BTN" | "INR" | "BOB" | "BOV" | "BAM" | "BWP" | "NOK" | "BRL" | "BND" | "BGN" | "BIF" | "CVE" | "KHR" | "XAF" | "CAD" | "KYD" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "KMF" | "CDF" | "NZD" | "CRC" | "CUC" | "CUP" | "ANG" | "CZK" | "DKK" | "DJF" | "DOP" | "EGP" | "SVC" | "ERN" | "ETB" | "FKP" | "FJD" | "XPF" | "GMD" | "GEL" | "GHS" | "GIP" | "GTQ" | "GBP" | "GNF" | "GYD" | "HTG" | "HNL" | "HKD" | "HUF" | "ISK" | "IDR" | "XDR" | "IRR" | "IQD" | "ILS" | "JMD" | "JPY" | "JOD" | "KZT" | "KES" | "KPW" | "KRW" | "KWD" | "KGS" | "LAK" | "LBP" | "LSL" | "ZAR" | "LRD" | "LYD" | "CHF" | "MOP" | "MGA" | "MWK" | "MYR" | "MVR" | "MRU" | "MUR" | "XUA" | "MXN" | "MXV" | "MDL" | "MNT" | "MAD" | "MZN" | "MMK" | "NAD" | "NPR" | "NIO" | "NGN" | "OMR" | "PKR" | "PAB" | "PGK" | "PYG" | "PEN" | "PHP" | "PLN" | "QAR" | "MKD" | "RON" | "RUB" | "RWF" | "SHP" | "WST" | "STN" | "SAR" | "RSD" | "SCR" | "SLE" | "SGD" | "XSU" | "SBD" | "SOS" | "SSP" | "LKR" | "SDG" | "SRD" | "SZL" | "SEK" | "CHE" | "CHW" | "SYP" | "TWD" | "TJS" | "TZS" | "THB" | "TOP" | "TTD" | "TND" | "TRY" | "TMT" | "UGX" | "UAH" | "AED" | "USN" | "UYI" | "UYU" | "UZS" | "VUV" | "VEF" | "VED" | "VND" | "YER" | "ZMW" | "ZWL");
32854
32792
  type LCYCurrency$9 = ("AFN" | "ALL" | "DZD" | "USD" | "EUR" | "AOA" | "XCD" | "ARS" | "AMD" | "AWG" | "AUD" | "AZN" | "BSD" | "BHD" | "BDT" | "BBD" | "BYN" | "BZD" | "XOF" | "BMD" | "BTN" | "INR" | "BOB" | "BOV" | "BAM" | "BWP" | "NOK" | "BRL" | "BND" | "BGN" | "BIF" | "CVE" | "KHR" | "XAF" | "CAD" | "KYD" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "KMF" | "CDF" | "NZD" | "CRC" | "CUC" | "CUP" | "ANG" | "CZK" | "DKK" | "DJF" | "DOP" | "EGP" | "SVC" | "ERN" | "ETB" | "FKP" | "FJD" | "XPF" | "GMD" | "GEL" | "GHS" | "GIP" | "GTQ" | "GBP" | "GNF" | "GYD" | "HTG" | "HNL" | "HKD" | "HUF" | "ISK" | "IDR" | "XDR" | "IRR" | "IQD" | "ILS" | "JMD" | "JPY" | "JOD" | "KZT" | "KES" | "KPW" | "KRW" | "KWD" | "KGS" | "LAK" | "LBP" | "LSL" | "ZAR" | "LRD" | "LYD" | "CHF" | "MOP" | "MGA" | "MWK" | "MYR" | "MVR" | "MRU" | "MUR" | "XUA" | "MXN" | "MXV" | "MDL" | "MNT" | "MAD" | "MZN" | "MMK" | "NAD" | "NPR" | "NIO" | "NGN" | "OMR" | "PKR" | "PAB" | "PGK" | "PYG" | "PEN" | "PHP" | "PLN" | "QAR" | "MKD" | "RON" | "RUB" | "RWF" | "SHP" | "WST" | "STN" | "SAR" | "RSD" | "SCR" | "SLE" | "SGD" | "XSU" | "SBD" | "SOS" | "SSP" | "LKR" | "SDG" | "SRD" | "SZL" | "SEK" | "CHE" | "CHW" | "SYP" | "TWD" | "TJS" | "TZS" | "THB" | "TOP" | "TTD" | "TND" | "TRY" | "TMT" | "UGX" | "UAH" | "AED" | "USN" | "UYI" | "UYU" | "UZS" | "VUV" | "VEF" | "VED" | "VND" | "YER" | "ZMW" | "ZWL");
32855
32793
  type DiscountAmountPercent$8 = number;
32856
- interface Total$9 {
32794
+ interface Total$8 {
32857
32795
  amount_net: AmountNet$8;
32858
32796
  amount_gross: AmountGross$8;
32859
32797
  discount_amount_net: DiscountAmountNet$8;
@@ -32893,7 +32831,7 @@ interface DiscountAmountGross$8 {
32893
32831
  lcy_currency: LCYCurrency$9;
32894
32832
  lcy_decimal_places: number;
32895
32833
  }
32896
- interface Money$3 {
32834
+ interface Money$2 {
32897
32835
  value: number;
32898
32836
  decimal_places: number;
32899
32837
  currency: Currency$9;
@@ -32935,11 +32873,11 @@ interface __MainSchema$a {
32935
32873
  psp_reference: string;
32936
32874
  card_brand?: (string | null);
32937
32875
  status: ("CAPTURED" | "FAILED" | "FAILED-3DS" | "CANCELLED");
32938
- amount: Money$2;
32876
+ amount: Money$1;
32939
32877
  created_by: (("CUSTOMER" | "SYSTEM") | string);
32940
32878
  [k: string]: unknown;
32941
32879
  }
32942
- interface Money$2 {
32880
+ interface Money$1 {
32943
32881
  value: number;
32944
32882
  decimal_places: number;
32945
32883
  currency: Currency$8;
@@ -32985,7 +32923,7 @@ type OrderShipmentOutbound$2 = (Shipment$6 & {
32985
32923
  associate_name: (string | null);
32986
32924
  [k: string]: unknown;
32987
32925
  });
32988
- type Shipment$6 = (Total$8 & {
32926
+ type Shipment$6 = (Total$7 & {
32989
32927
  erp_id?: string;
32990
32928
  type?: ("SHIPPED-OUTBOUND" | "SHIPPED-RETURN" | "POS-OUTBOUND" | "POS-RETURN");
32991
32929
  shipped_at?: string;
@@ -33001,7 +32939,7 @@ type OrderShipmentItemReturned$7 = (OrderShipmentItem$7 & {
33001
32939
  returnReason: (string | null);
33002
32940
  [k: string]: unknown;
33003
32941
  });
33004
- interface Total$8 {
32942
+ interface Total$7 {
33005
32943
  amount_net: AmountNet$7;
33006
32944
  amount_gross: AmountGross$7;
33007
32945
  discount_amount_net: DiscountAmountNet$7;
@@ -33060,7 +32998,7 @@ type OrderShipmentOutbound$1 = (Shipment$5 & {
33060
32998
  associate_name: (string | null);
33061
32999
  [k: string]: unknown;
33062
33000
  });
33063
- type Shipment$5 = (Total$7 & {
33001
+ type Shipment$5 = (Total$6 & {
33064
33002
  erp_id?: string;
33065
33003
  type?: ("SHIPPED-OUTBOUND" | "SHIPPED-RETURN" | "POS-OUTBOUND" | "POS-RETURN");
33066
33004
  shipped_at?: string;
@@ -33076,7 +33014,7 @@ type OrderShipmentItemReturned$6 = (OrderShipmentItem$6 & {
33076
33014
  returnReason: (string | null);
33077
33015
  [k: string]: unknown;
33078
33016
  });
33079
- interface Total$7 {
33017
+ interface Total$6 {
33080
33018
  amount_net: AmountNet$6;
33081
33019
  amount_gross: AmountGross$6;
33082
33020
  discount_amount_net: DiscountAmountNet$6;
@@ -33131,7 +33069,7 @@ type __MainSchema$5 = (Shipment$4 & {
33131
33069
  associate_name: (string | null);
33132
33070
  [k: string]: unknown;
33133
33071
  });
33134
- type Shipment$4 = (Total$6 & {
33072
+ type Shipment$4 = (Total$5 & {
33135
33073
  erp_id?: string;
33136
33074
  type?: ("SHIPPED-OUTBOUND" | "SHIPPED-RETURN" | "POS-OUTBOUND" | "POS-RETURN");
33137
33075
  shipped_at?: string;
@@ -33147,7 +33085,7 @@ type OrderShipmentItemReturned$5 = (OrderShipmentItem$5 & {
33147
33085
  returnReason: (string | null);
33148
33086
  [k: string]: unknown;
33149
33087
  });
33150
- interface Total$6 {
33088
+ interface Total$5 {
33151
33089
  amount_net: AmountNet$5;
33152
33090
  amount_gross: AmountGross$5;
33153
33091
  discount_amount_net: DiscountAmountNet$5;
@@ -33205,7 +33143,7 @@ type __MainSchema$4 = (Shipment$3 & {
33205
33143
  items?: OrderShipmentItem$4[];
33206
33144
  [k: string]: unknown;
33207
33145
  });
33208
- type Shipment$3 = (Total$5 & {
33146
+ type Shipment$3 = (Total$4 & {
33209
33147
  erp_id?: string;
33210
33148
  type?: ("SHIPPED-OUTBOUND" | "SHIPPED-RETURN" | "POS-OUTBOUND" | "POS-RETURN");
33211
33149
  shipped_at?: string;
@@ -33221,7 +33159,7 @@ type OrderShipmentItemReturned$4 = (OrderShipmentItem$4 & {
33221
33159
  returnReason: (string | null);
33222
33160
  [k: string]: unknown;
33223
33161
  });
33224
- interface Total$5 {
33162
+ interface Total$4 {
33225
33163
  amount_net: AmountNet$4;
33226
33164
  amount_gross: AmountGross$4;
33227
33165
  discount_amount_net: DiscountAmountNet$4;
@@ -33273,7 +33211,7 @@ type __MainSchema$3 = (Shipment$2 & {
33273
33211
  items: OrderShipmentItem$3[];
33274
33212
  [k: string]: unknown;
33275
33213
  });
33276
- type Shipment$2 = (Total$4 & {
33214
+ type Shipment$2 = (Total$3 & {
33277
33215
  erp_id?: string;
33278
33216
  type?: ("SHIPPED-OUTBOUND" | "SHIPPED-RETURN" | "POS-OUTBOUND" | "POS-RETURN");
33279
33217
  shipped_at?: string;
@@ -33289,7 +33227,7 @@ type OrderShipmentItemReturned$3 = (OrderShipmentItem$3 & {
33289
33227
  returnReason: (string | null);
33290
33228
  [k: string]: unknown;
33291
33229
  });
33292
- interface Total$4 {
33230
+ interface Total$3 {
33293
33231
  amount_net: AmountNet$3;
33294
33232
  amount_gross: AmountGross$3;
33295
33233
  discount_amount_net: DiscountAmountNet$3;
@@ -33342,7 +33280,7 @@ type __MainSchema$2 = (Shipment$1 & {
33342
33280
  tracking_code: (string | null);
33343
33281
  class_name: ("STANDARD" | "PRIORITY");
33344
33282
  });
33345
- type Shipment$1 = (Total$3 & {
33283
+ type Shipment$1 = (Total$2 & {
33346
33284
  erp_id?: string;
33347
33285
  type?: ("SHIPPED-OUTBOUND" | "SHIPPED-RETURN" | "POS-OUTBOUND" | "POS-RETURN");
33348
33286
  shipped_at?: string;
@@ -33358,7 +33296,7 @@ type OrderShipmentItemReturned$2 = (OrderShipmentItem$2 & {
33358
33296
  returnReason: (string | null);
33359
33297
  [k: string]: unknown;
33360
33298
  });
33361
- interface Total$3 {
33299
+ interface Total$2 {
33362
33300
  amount_net: AmountNet$2;
33363
33301
  amount_gross: AmountGross$2;
33364
33302
  discount_amount_net: DiscountAmountNet$2;
@@ -33410,7 +33348,7 @@ declare namespace index$4 {
33410
33348
  export type { __MainSchema$4 as Outbound, __MainSchema$3 as Return, MainType$2 as default };
33411
33349
  }
33412
33350
 
33413
- type __MainSchema$1 = (Total$2 & {
33351
+ type __MainSchema$1 = (Total$1 & {
33414
33352
  erp_id?: string;
33415
33353
  type?: ("SHIPPED-OUTBOUND" | "SHIPPED-RETURN" | "POS-OUTBOUND" | "POS-RETURN");
33416
33354
  shipped_at?: string;
@@ -33426,7 +33364,7 @@ type OrderShipmentItemReturned$1 = (OrderShipmentItem$1 & {
33426
33364
  returnReason: (string | null);
33427
33365
  [k: string]: unknown;
33428
33366
  });
33429
- interface Total$2 {
33367
+ interface Total$1 {
33430
33368
  amount_net: AmountNet$1;
33431
33369
  amount_gross: AmountGross$1;
33432
33370
  discount_amount_net: DiscountAmountNet$1;
@@ -33487,7 +33425,7 @@ type OrderShipmentShippedOutbound = (Shipment & {
33487
33425
  items?: OrderShipmentItem[];
33488
33426
  [k: string]: unknown;
33489
33427
  });
33490
- type Shipment = (Total$1 & {
33428
+ type Shipment = (Total & {
33491
33429
  erp_id?: string;
33492
33430
  type?: ("SHIPPED-OUTBOUND" | "SHIPPED-RETURN" | "POS-OUTBOUND" | "POS-RETURN");
33493
33431
  shipped_at?: string;
@@ -33525,12 +33463,11 @@ type OrderShipmentPOSReturn = (OrderShipmentOutbound & {
33525
33463
  type?: "POS-RETURN";
33526
33464
  items?: OrderShipmentItemReturned[];
33527
33465
  });
33528
- type Item = (Total$1 & {
33466
+ type Item = (Total & {
33529
33467
  sku: string;
33530
33468
  linked_style_id?: (string | null);
33531
- colour_id: (string | null);
33532
- style_id: (string | null);
33533
- product_id?: (string | null);
33469
+ colour_id: string;
33470
+ style_id: string;
33534
33471
  colour_name?: string;
33535
33472
  size_name?: string;
33536
33473
  preorder_date?: (string | null);
@@ -33548,7 +33485,7 @@ interface __MainSchema {
33548
33485
  erp_order_id: string;
33549
33486
  centra_order_id?: (number | null);
33550
33487
  sfcc_order_id?: (string | null);
33551
- globale_order_id?: (string | null);
33488
+ globalee_order_id?: (string | null);
33552
33489
  sitoo_order_id?: (string | null);
33553
33490
  system_created_by?: ("POS" | "ECOMMERCE" | "SYSTEM");
33554
33491
  ordered_at: string;
@@ -33589,11 +33526,11 @@ interface Payment {
33589
33526
  psp_reference: string;
33590
33527
  card_brand?: (string | null);
33591
33528
  status: ("CAPTURED" | "FAILED" | "FAILED-3DS" | "CANCELLED");
33592
- amount: Money$1;
33529
+ amount: Money;
33593
33530
  created_by: (("CUSTOMER" | "SYSTEM") | string);
33594
33531
  [k: string]: unknown;
33595
33532
  }
33596
- interface Money$1 {
33533
+ interface Money {
33597
33534
  value: number;
33598
33535
  decimal_places: number;
33599
33536
  currency: Currency;
@@ -33612,7 +33549,6 @@ interface Customer {
33612
33549
  scv_customer_id?: string;
33613
33550
  addresses?: Address[];
33614
33551
  default_shipping_address?: Address1;
33615
- phone?: (string | null);
33616
33552
  email: (string | null);
33617
33553
  opt_in_email?: boolean;
33618
33554
  opt_in_phone?: boolean;
@@ -33681,7 +33617,7 @@ interface Address1 {
33681
33617
  created_at?: string;
33682
33618
  last_modified_at?: string;
33683
33619
  }
33684
- interface Total$1 {
33620
+ interface Total {
33685
33621
  amount_net: AmountNet;
33686
33622
  amount_gross: AmountGross;
33687
33623
  discount_amount_net: DiscountAmountNet;
@@ -34356,6 +34292,12 @@ interface DatoHelperOptions {
34356
34292
  apiToken: string;
34357
34293
  baseUrl?: string;
34358
34294
  environment?: string;
34295
+ req?: {
34296
+ set: (headerKey: string, headerValue: string) => void;
34297
+ response: {
34298
+ get: (headerKey: string) => string | undefined;
34299
+ };
34300
+ };
34359
34301
  }
34360
34302
  interface UploadResult {
34361
34303
  success: boolean;
@@ -34376,7 +34318,9 @@ declare class DatoHelper extends Runtime {
34376
34318
  private apiToken;
34377
34319
  private baseUrl;
34378
34320
  private environment;
34321
+ private req?;
34379
34322
  constructor(opts: Opts, datoOpts: DatoHelperOptions);
34323
+ private handle429;
34380
34324
  private requestUploadParameters;
34381
34325
  private uploadToStorageBucket;
34382
34326
  private createAssetFromUpload;
@@ -34439,68 +34383,6 @@ declare class DatoHelper extends Runtime {
34439
34383
  updateProductSwatch(productId: string, uploadId: string): Promise<any>;
34440
34384
  }
34441
34385
 
34442
- type Money = {
34443
- value: number;
34444
- currency: string;
34445
- decimal_places: number;
34446
- lcy_value: number;
34447
- lcy_currency: string;
34448
- lcy_decimal_places: number;
34449
- };
34450
- type Total = {
34451
- amount_net: Money;
34452
- amount_gross: Money;
34453
- discount_amount_net: Money;
34454
- discount_amount_gross: Money;
34455
- discount_amount_percent: number;
34456
- };
34457
- type OrderItem = Total & {
34458
- sku: string;
34459
- linked_style_id: string | null;
34460
- colour_id: string | null;
34461
- style_id: string | null;
34462
- colour_name?: string | null;
34463
- size_name?: string | null;
34464
- preorder_date?: string | null;
34465
- quantity: number;
34466
- unit_price_status: "FD" | "MD" | "POS";
34467
- returned_quantity?: number;
34468
- unit_price_net: Money;
34469
- unit_price_gross: Money;
34470
- discount_code?: string | null;
34471
- cost_net?: Money;
34472
- order_line_no?: number | null;
34473
- product_id?: string | null;
34474
- };
34475
- type TransformedOrder = {
34476
- status: string;
34477
- erp_order_id: string;
34478
- centra_order_id?: string | null;
34479
- sfcc_order_id?: string | null;
34480
- globale_order_id?: string | null;
34481
- sitoo_order_id?: string | null;
34482
- system_created_by?: string | null;
34483
- ordered_at: string;
34484
- is_anonymous?: boolean;
34485
- is_gift?: boolean;
34486
- is_pos?: boolean;
34487
- billing_address?: any | null;
34488
- shipping_address?: any | null;
34489
- shipments?: any[];
34490
- items: OrderItem[];
34491
- total: Total;
34492
- return_total?: Total;
34493
- net_total?: Total;
34494
- shipping_method?: string | null;
34495
- customer?: any;
34496
- payments?: any[];
34497
- };
34498
- declare class BCOrderHelper extends Runtime {
34499
- constructor(opts: Opts);
34500
- transformMasterOrder(payload: any): TransformedOrder;
34501
- validateOrder(order: any): void;
34502
- }
34503
-
34504
34386
  declare const _default: ({ headerKey, headerValue, req }: {
34505
34387
  headerKey: string;
34506
34388
  headerValue: string;
@@ -34910,8 +34792,6 @@ declare const index_ActionHelper: typeof ActionHelper;
34910
34792
  type index_ActionHelperOptions = ActionHelperOptions;
34911
34793
  type index_AirtableHelper<T extends Record<string, string>, K extends keyof T> = AirtableHelper<T, K>;
34912
34794
  declare const index_AirtableHelper: typeof AirtableHelper;
34913
- type index_BCOrderHelper = BCOrderHelper;
34914
- declare const index_BCOrderHelper: typeof BCOrderHelper;
34915
34795
  type index_BigQueryHelper = BigQueryHelper;
34916
34796
  declare const index_BigQueryHelper: typeof BigQueryHelper;
34917
34797
  type index_CloudTasksHelper = CloudTasksHelper;
@@ -34964,7 +34844,7 @@ declare const index_slugify: typeof slugify;
34964
34844
  declare const index_validate: typeof validate;
34965
34845
  declare const index_validateGoogleAuth: typeof validateGoogleAuth;
34966
34846
  declare namespace index {
34967
- export { index_ActionHelper as ActionHelper, type index_ActionHelperOptions as ActionHelperOptions, index_AirtableHelper as AirtableHelper, index_BCOrderHelper as BCOrderHelper, index_BigQueryHelper as BigQueryHelper, index_CloudTasksHelper as CloudTasksHelper, index_DatoHelper as DatoHelper, index_EnvEngine as EnvEngine, type index_ILogging as ILogging, index_JWKSHelper as JWKSHelper, index_Logging as Logging, type index_Message as Message, type index_NodeOptions as NodeOptions, type index_OnExecuteBasicTriggerOpts as OnExecuteBasicTriggerOpts, type index_PromisifiedFn as PromisifiedFn, index_PubSubHelper as PubSubHelper, index_RateLimit as RateLimit, type index_ReceivedMessage as ReceivedMessage, index_RedisConnectionError as RedisConnectionError, index_Runtime as Runtime, index_SchedulerHelper as SchedulerHelper, index_Secrets as Secrets, index_TriggerHelper as TriggerHelper, type index_TriggerOnCreateOptions as TriggerOnCreateOptions, type index_TriggerOnExecuteOptions as TriggerOnExecuteOptions, index_createHandlerDecorator as createHandlerDecorator, index_getAccessToken as getAccessToken, index_getEventTime as getEventTime, index_getFirestore as getFirestore, index_getIdentityToken as getIdentityToken, index_getSecret as getSecret, index_isCloudTask as isCloudTask, index_isCronMessage as isCronMessage, index_isPubSubRequest as isPubSubRequest, index_isRespectfulNudge as isRespectfulNudge, index_parseDateOrDefault as parseDateOrDefault, index_sanitize as sanitize, index_sanitizeToString as sanitizeToString, _default as setHeaders, index_shortHash as shortHash, index_slugify as slugify, index_validate as validate, index_validateGoogleAuth as validateGoogleAuth };
34847
+ export { index_ActionHelper as ActionHelper, type index_ActionHelperOptions as ActionHelperOptions, index_AirtableHelper as AirtableHelper, index_BigQueryHelper as BigQueryHelper, index_CloudTasksHelper as CloudTasksHelper, index_DatoHelper as DatoHelper, index_EnvEngine as EnvEngine, type index_ILogging as ILogging, index_JWKSHelper as JWKSHelper, index_Logging as Logging, type index_Message as Message, type index_NodeOptions as NodeOptions, type index_OnExecuteBasicTriggerOpts as OnExecuteBasicTriggerOpts, type index_PromisifiedFn as PromisifiedFn, index_PubSubHelper as PubSubHelper, index_RateLimit as RateLimit, type index_ReceivedMessage as ReceivedMessage, index_RedisConnectionError as RedisConnectionError, index_Runtime as Runtime, index_SchedulerHelper as SchedulerHelper, index_Secrets as Secrets, index_TriggerHelper as TriggerHelper, type index_TriggerOnCreateOptions as TriggerOnCreateOptions, type index_TriggerOnExecuteOptions as TriggerOnExecuteOptions, index_createHandlerDecorator as createHandlerDecorator, index_getAccessToken as getAccessToken, index_getEventTime as getEventTime, index_getFirestore as getFirestore, index_getIdentityToken as getIdentityToken, index_getSecret as getSecret, index_isCloudTask as isCloudTask, index_isCronMessage as isCronMessage, index_isPubSubRequest as isPubSubRequest, index_isRespectfulNudge as isRespectfulNudge, index_parseDateOrDefault as parseDateOrDefault, index_sanitize as sanitize, index_sanitizeToString as sanitizeToString, _default as setHeaders, index_shortHash as shortHash, index_slugify as slugify, index_validate as validate, index_validateGoogleAuth as validateGoogleAuth };
34968
34848
  }
34969
34849
 
34970
34850
  export { index as lib, index$9 as schema, index$1 as types };