@shushed/helpers 0.0.200-dato-rate-limit-20251125155216 → 0.0.200-main-20251128100424

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