commerce-kit 0.52.0 → 0.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-types.d.ts +235 -105
- package/dist/browser.js +1 -1
- package/dist/browser.js.map +1 -1
- package/dist/index.d.ts +16 -3
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/sandbox-inspectors.d.ts +11 -7
- package/dist/sandbox-inspectors.js +1 -1
- package/dist/sandbox-inspectors.js.map +1 -1
- package/package.json +1 -1
package/dist/api-types.d.ts
CHANGED
|
@@ -4533,12 +4533,106 @@ type APICouponUpdateResult = {
|
|
|
4533
4533
|
updatedAt: string;
|
|
4534
4534
|
};
|
|
4535
4535
|
type APICouponGetByIdParams = {
|
|
4536
|
-
|
|
4536
|
+
idOrCode: string;
|
|
4537
4537
|
};
|
|
4538
4538
|
type APICouponDeleteResult = {
|
|
4539
4539
|
ok: boolean;
|
|
4540
4540
|
deleted: number;
|
|
4541
4541
|
};
|
|
4542
|
+
type APISupportCase = {
|
|
4543
|
+
id: string;
|
|
4544
|
+
number: number;
|
|
4545
|
+
subject: string;
|
|
4546
|
+
category: "other" | "orders_payments" | "products_catalog" | "domains_setup" | "billing_plans" | "store_builder";
|
|
4547
|
+
severity: "normal" | "high" | "low" | "critical";
|
|
4548
|
+
status: "open" | "answered" | "closed";
|
|
4549
|
+
createdAt: string;
|
|
4550
|
+
lastActivityAt: string;
|
|
4551
|
+
closedAt: string | null;
|
|
4552
|
+
};
|
|
4553
|
+
type APISupportCaseMessage = {
|
|
4554
|
+
id: string;
|
|
4555
|
+
authorKind: "merchant" | "support";
|
|
4556
|
+
authorLabel: string;
|
|
4557
|
+
body: string;
|
|
4558
|
+
attachments: {
|
|
4559
|
+
url: string;
|
|
4560
|
+
contentType: string;
|
|
4561
|
+
name?: string;
|
|
4562
|
+
}[];
|
|
4563
|
+
createdAt: string;
|
|
4564
|
+
};
|
|
4565
|
+
type APISupportCasesBrowseResult = {
|
|
4566
|
+
data: APISupportCase[];
|
|
4567
|
+
meta: {
|
|
4568
|
+
count: number;
|
|
4569
|
+
offset: number;
|
|
4570
|
+
limit: number;
|
|
4571
|
+
};
|
|
4572
|
+
};
|
|
4573
|
+
type APISupportCasesBrowseQueryParams = {
|
|
4574
|
+
offset?: number | undefined;
|
|
4575
|
+
limit?: number | undefined;
|
|
4576
|
+
query?: string | undefined;
|
|
4577
|
+
status?: "open" | "answered" | "closed" | "all" | undefined;
|
|
4578
|
+
severity?: "normal" | "high" | "low" | "critical" | "all" | undefined;
|
|
4579
|
+
};
|
|
4580
|
+
type APISupportCaseCreateBody = {
|
|
4581
|
+
body: string;
|
|
4582
|
+
subject?: string | undefined;
|
|
4583
|
+
category?: "other" | "orders_payments" | "products_catalog" | "domains_setup" | "billing_plans" | "store_builder" | undefined;
|
|
4584
|
+
severity?: "normal" | "high" | "low" | "critical" | undefined;
|
|
4585
|
+
author?: string | undefined;
|
|
4586
|
+
};
|
|
4587
|
+
type APISupportCaseCreateResult = {
|
|
4588
|
+
id: string;
|
|
4589
|
+
number: number;
|
|
4590
|
+
subject: string;
|
|
4591
|
+
category: "other" | "orders_payments" | "products_catalog" | "domains_setup" | "billing_plans" | "store_builder";
|
|
4592
|
+
severity: "normal" | "high" | "low" | "critical";
|
|
4593
|
+
status: "open" | "answered" | "closed";
|
|
4594
|
+
createdAt: string;
|
|
4595
|
+
lastActivityAt: string;
|
|
4596
|
+
closedAt: string | null;
|
|
4597
|
+
};
|
|
4598
|
+
type APISupportCaseGetResult = {
|
|
4599
|
+
id: string;
|
|
4600
|
+
number: number;
|
|
4601
|
+
subject: string;
|
|
4602
|
+
category: "other" | "orders_payments" | "products_catalog" | "domains_setup" | "billing_plans" | "store_builder";
|
|
4603
|
+
severity: "normal" | "high" | "low" | "critical";
|
|
4604
|
+
status: "open" | "answered" | "closed";
|
|
4605
|
+
createdAt: string;
|
|
4606
|
+
lastActivityAt: string;
|
|
4607
|
+
closedAt: string | null;
|
|
4608
|
+
} & {
|
|
4609
|
+
messages: APISupportCaseMessage[];
|
|
4610
|
+
};
|
|
4611
|
+
type APISupportCaseGetParams = {
|
|
4612
|
+
idOrNumber: string;
|
|
4613
|
+
};
|
|
4614
|
+
type APISupportCaseUpdateBody = {
|
|
4615
|
+
status: "open" | "closed";
|
|
4616
|
+
};
|
|
4617
|
+
type APISupportCaseUpdateResult = {
|
|
4618
|
+
id: string;
|
|
4619
|
+
number: number;
|
|
4620
|
+
subject: string;
|
|
4621
|
+
category: "other" | "orders_payments" | "products_catalog" | "domains_setup" | "billing_plans" | "store_builder";
|
|
4622
|
+
severity: "normal" | "high" | "low" | "critical";
|
|
4623
|
+
status: "open" | "answered" | "closed";
|
|
4624
|
+
createdAt: string;
|
|
4625
|
+
lastActivityAt: string;
|
|
4626
|
+
closedAt: string | null;
|
|
4627
|
+
};
|
|
4628
|
+
type APISupportCaseMessageCreateBody = {
|
|
4629
|
+
body: string;
|
|
4630
|
+
author?: string | undefined;
|
|
4631
|
+
};
|
|
4632
|
+
type APISupportCaseMessageCreateResult = {
|
|
4633
|
+
message: APISupportCaseMessage;
|
|
4634
|
+
status: APISupportCase["status"];
|
|
4635
|
+
};
|
|
4542
4636
|
type APIOrdersBrowseResult = {
|
|
4543
4637
|
data: ({
|
|
4544
4638
|
id: string;
|
|
@@ -4578,6 +4672,14 @@ type APIOrdersBrowseResult = {
|
|
|
4578
4672
|
id: number;
|
|
4579
4673
|
name: string;
|
|
4580
4674
|
service: "dpd" | "fedex" | "ups" | "gls" | "poczta" | "inpost" | "orlen" | "dhl";
|
|
4675
|
+
} | {
|
|
4676
|
+
carrier: "inpost";
|
|
4677
|
+
name: string;
|
|
4678
|
+
service: "inpost";
|
|
4679
|
+
} | {
|
|
4680
|
+
carrier: "gls";
|
|
4681
|
+
name: string;
|
|
4682
|
+
service: "gls";
|
|
4581
4683
|
} | null;
|
|
4582
4684
|
deliverySlots: unknown;
|
|
4583
4685
|
shippingTaxRate: {
|
|
@@ -4613,7 +4715,6 @@ type APIOrdersBrowseResult = {
|
|
|
4613
4715
|
barcode: string | null;
|
|
4614
4716
|
description: string | null;
|
|
4615
4717
|
price: string;
|
|
4616
|
-
originalPrice: string;
|
|
4617
4718
|
calculatedPrice: string | null;
|
|
4618
4719
|
prePromotionPrice: string | null;
|
|
4619
4720
|
preVolumePricingPrice: string | null;
|
|
@@ -4669,6 +4770,14 @@ type APIOrdersBrowseResult = {
|
|
|
4669
4770
|
guestLabel?: string | null | undefined;
|
|
4670
4771
|
guest?: string | null | undefined;
|
|
4671
4772
|
} | null | undefined;
|
|
4773
|
+
gpsr?: {
|
|
4774
|
+
safetyInformation?: {
|
|
4775
|
+
type: "NO_SAFETY_INFORMATION";
|
|
4776
|
+
} | {
|
|
4777
|
+
type: "TEXT";
|
|
4778
|
+
description: string;
|
|
4779
|
+
} | null | undefined;
|
|
4780
|
+
} | null | undefined;
|
|
4672
4781
|
} | null;
|
|
4673
4782
|
type: "set" | "product" | "bundle";
|
|
4674
4783
|
bundleDiscountPercentage: string | null;
|
|
@@ -4727,7 +4836,6 @@ type APIOrdersBrowseResult = {
|
|
|
4727
4836
|
description: string | null;
|
|
4728
4837
|
price: string;
|
|
4729
4838
|
shippable: boolean;
|
|
4730
|
-
originalPrice: string;
|
|
4731
4839
|
calculatedPrice: string | null;
|
|
4732
4840
|
stock: number | null;
|
|
4733
4841
|
depth: number | null;
|
|
@@ -4758,6 +4866,9 @@ type APIOrdersBrowseResult = {
|
|
|
4758
4866
|
value: string;
|
|
4759
4867
|
}[] | null;
|
|
4760
4868
|
storeId: string;
|
|
4869
|
+
originalPrice?: string | null | undefined;
|
|
4870
|
+
} & {
|
|
4871
|
+
originalPrice: string;
|
|
4761
4872
|
};
|
|
4762
4873
|
}[];
|
|
4763
4874
|
setProduct: {
|
|
@@ -4800,6 +4911,9 @@ type APIOrdersBrowseResult = {
|
|
|
4800
4911
|
value: string;
|
|
4801
4912
|
}[] | null;
|
|
4802
4913
|
storeId: string;
|
|
4914
|
+
originalPrice?: string | null | undefined;
|
|
4915
|
+
} & {
|
|
4916
|
+
originalPrice: string;
|
|
4803
4917
|
};
|
|
4804
4918
|
productVariantId: string;
|
|
4805
4919
|
preVolumePricingPrice: string | null;
|
|
@@ -4955,6 +5069,13 @@ type APIOrdersBrowseResult = {
|
|
|
4955
5069
|
externalReference?: string | undefined;
|
|
4956
5070
|
idempotencyKey?: string | undefined;
|
|
4957
5071
|
} | null;
|
|
5072
|
+
inventory: {
|
|
5073
|
+
committedAt: string;
|
|
5074
|
+
lines: {
|
|
5075
|
+
variantId: string;
|
|
5076
|
+
quantity: number;
|
|
5077
|
+
}[];
|
|
5078
|
+
} | null;
|
|
4958
5079
|
freeShippingThreshold: number | null;
|
|
4959
5080
|
totalNet: number | null;
|
|
4960
5081
|
subtotalNet: number | null;
|
|
@@ -5031,6 +5152,14 @@ type APIOrdersBrowseResult = {
|
|
|
5031
5152
|
id: number;
|
|
5032
5153
|
name: string;
|
|
5033
5154
|
service: "dpd" | "fedex" | "ups" | "gls" | "poczta" | "inpost" | "orlen" | "dhl";
|
|
5155
|
+
} | {
|
|
5156
|
+
carrier: "inpost";
|
|
5157
|
+
name: string;
|
|
5158
|
+
service: "inpost";
|
|
5159
|
+
} | {
|
|
5160
|
+
carrier: "gls";
|
|
5161
|
+
name: string;
|
|
5162
|
+
service: "gls";
|
|
5034
5163
|
} | null;
|
|
5035
5164
|
deliverySlots: unknown;
|
|
5036
5165
|
shippingTaxRate: {
|
|
@@ -5066,7 +5195,6 @@ type APIOrdersBrowseResult = {
|
|
|
5066
5195
|
barcode: string | null;
|
|
5067
5196
|
description: string | null;
|
|
5068
5197
|
price: string;
|
|
5069
|
-
originalPrice: string;
|
|
5070
5198
|
calculatedPrice: string | null;
|
|
5071
5199
|
prePromotionPrice: string | null;
|
|
5072
5200
|
preVolumePricingPrice: string | null;
|
|
@@ -5122,6 +5250,14 @@ type APIOrdersBrowseResult = {
|
|
|
5122
5250
|
guestLabel?: string | null | undefined;
|
|
5123
5251
|
guest?: string | null | undefined;
|
|
5124
5252
|
} | null | undefined;
|
|
5253
|
+
gpsr?: {
|
|
5254
|
+
safetyInformation?: {
|
|
5255
|
+
type: "NO_SAFETY_INFORMATION";
|
|
5256
|
+
} | {
|
|
5257
|
+
type: "TEXT";
|
|
5258
|
+
description: string;
|
|
5259
|
+
} | null | undefined;
|
|
5260
|
+
} | null | undefined;
|
|
5125
5261
|
} | null;
|
|
5126
5262
|
type: "set" | "product" | "bundle";
|
|
5127
5263
|
bundleDiscountPercentage: string | null;
|
|
@@ -5180,7 +5316,6 @@ type APIOrdersBrowseResult = {
|
|
|
5180
5316
|
description: string | null;
|
|
5181
5317
|
price: string;
|
|
5182
5318
|
shippable: boolean;
|
|
5183
|
-
originalPrice: string;
|
|
5184
5319
|
calculatedPrice: string | null;
|
|
5185
5320
|
stock: number | null;
|
|
5186
5321
|
depth: number | null;
|
|
@@ -5211,6 +5346,9 @@ type APIOrdersBrowseResult = {
|
|
|
5211
5346
|
value: string;
|
|
5212
5347
|
}[] | null;
|
|
5213
5348
|
storeId: string;
|
|
5349
|
+
originalPrice?: string | null | undefined;
|
|
5350
|
+
} & {
|
|
5351
|
+
originalPrice: string;
|
|
5214
5352
|
};
|
|
5215
5353
|
}[];
|
|
5216
5354
|
setProduct: {
|
|
@@ -5253,6 +5391,9 @@ type APIOrdersBrowseResult = {
|
|
|
5253
5391
|
value: string;
|
|
5254
5392
|
}[] | null;
|
|
5255
5393
|
storeId: string;
|
|
5394
|
+
originalPrice?: string | null | undefined;
|
|
5395
|
+
} & {
|
|
5396
|
+
originalPrice: string;
|
|
5256
5397
|
};
|
|
5257
5398
|
productVariantId: string;
|
|
5258
5399
|
preVolumePricingPrice: string | null;
|
|
@@ -5408,6 +5549,13 @@ type APIOrdersBrowseResult = {
|
|
|
5408
5549
|
externalReference?: string | undefined;
|
|
5409
5550
|
idempotencyKey?: string | undefined;
|
|
5410
5551
|
} | null;
|
|
5552
|
+
inventory: {
|
|
5553
|
+
committedAt: string;
|
|
5554
|
+
lines: {
|
|
5555
|
+
variantId: string;
|
|
5556
|
+
quantity: number;
|
|
5557
|
+
}[];
|
|
5558
|
+
} | null;
|
|
5411
5559
|
freeShippingThreshold: number | null;
|
|
5412
5560
|
totalNet: number | null;
|
|
5413
5561
|
subtotalNet: number | null;
|
|
@@ -5495,6 +5643,14 @@ type APIOrderGetByIdResult = {
|
|
|
5495
5643
|
id: number;
|
|
5496
5644
|
name: string;
|
|
5497
5645
|
service: "dpd" | "fedex" | "ups" | "gls" | "poczta" | "inpost" | "orlen" | "dhl";
|
|
5646
|
+
} | {
|
|
5647
|
+
carrier: "inpost";
|
|
5648
|
+
name: string;
|
|
5649
|
+
service: "inpost";
|
|
5650
|
+
} | {
|
|
5651
|
+
carrier: "gls";
|
|
5652
|
+
name: string;
|
|
5653
|
+
service: "gls";
|
|
5498
5654
|
} | null;
|
|
5499
5655
|
deliverySlots: unknown;
|
|
5500
5656
|
shippingTaxRate: {
|
|
@@ -5530,7 +5686,6 @@ type APIOrderGetByIdResult = {
|
|
|
5530
5686
|
barcode: string | null;
|
|
5531
5687
|
description: string | null;
|
|
5532
5688
|
price: string;
|
|
5533
|
-
originalPrice: string;
|
|
5534
5689
|
calculatedPrice: string | null;
|
|
5535
5690
|
prePromotionPrice: string | null;
|
|
5536
5691
|
preVolumePricingPrice: string | null;
|
|
@@ -5586,6 +5741,14 @@ type APIOrderGetByIdResult = {
|
|
|
5586
5741
|
guestLabel?: string | null | undefined;
|
|
5587
5742
|
guest?: string | null | undefined;
|
|
5588
5743
|
} | null | undefined;
|
|
5744
|
+
gpsr?: {
|
|
5745
|
+
safetyInformation?: {
|
|
5746
|
+
type: "NO_SAFETY_INFORMATION";
|
|
5747
|
+
} | {
|
|
5748
|
+
type: "TEXT";
|
|
5749
|
+
description: string;
|
|
5750
|
+
} | null | undefined;
|
|
5751
|
+
} | null | undefined;
|
|
5589
5752
|
} | null;
|
|
5590
5753
|
type: "set" | "product" | "bundle";
|
|
5591
5754
|
bundleDiscountPercentage: string | null;
|
|
@@ -5644,7 +5807,6 @@ type APIOrderGetByIdResult = {
|
|
|
5644
5807
|
description: string | null;
|
|
5645
5808
|
price: string;
|
|
5646
5809
|
shippable: boolean;
|
|
5647
|
-
originalPrice: string;
|
|
5648
5810
|
calculatedPrice: string | null;
|
|
5649
5811
|
stock: number | null;
|
|
5650
5812
|
depth: number | null;
|
|
@@ -5675,6 +5837,9 @@ type APIOrderGetByIdResult = {
|
|
|
5675
5837
|
value: string;
|
|
5676
5838
|
}[] | null;
|
|
5677
5839
|
storeId: string;
|
|
5840
|
+
originalPrice?: string | null | undefined;
|
|
5841
|
+
} & {
|
|
5842
|
+
originalPrice: string;
|
|
5678
5843
|
};
|
|
5679
5844
|
}[];
|
|
5680
5845
|
setProduct: {
|
|
@@ -5717,6 +5882,9 @@ type APIOrderGetByIdResult = {
|
|
|
5717
5882
|
value: string;
|
|
5718
5883
|
}[] | null;
|
|
5719
5884
|
storeId: string;
|
|
5885
|
+
originalPrice?: string | null | undefined;
|
|
5886
|
+
} & {
|
|
5887
|
+
originalPrice: string;
|
|
5720
5888
|
};
|
|
5721
5889
|
productVariantId: string;
|
|
5722
5890
|
preVolumePricingPrice: string | null;
|
|
@@ -5872,6 +6040,13 @@ type APIOrderGetByIdResult = {
|
|
|
5872
6040
|
externalReference?: string | undefined;
|
|
5873
6041
|
idempotencyKey?: string | undefined;
|
|
5874
6042
|
} | null;
|
|
6043
|
+
inventory: {
|
|
6044
|
+
committedAt: string;
|
|
6045
|
+
lines: {
|
|
6046
|
+
variantId: string;
|
|
6047
|
+
quantity: number;
|
|
6048
|
+
}[];
|
|
6049
|
+
} | null;
|
|
5875
6050
|
freeShippingThreshold: number | null;
|
|
5876
6051
|
totalNet: number | null;
|
|
5877
6052
|
subtotalNet: number | null;
|
|
@@ -5981,6 +6156,14 @@ type APIOrderGetByIdResult = {
|
|
|
5981
6156
|
id: number;
|
|
5982
6157
|
name: string;
|
|
5983
6158
|
service: "dpd" | "fedex" | "ups" | "gls" | "poczta" | "inpost" | "orlen" | "dhl";
|
|
6159
|
+
} | {
|
|
6160
|
+
carrier: "inpost";
|
|
6161
|
+
name: string;
|
|
6162
|
+
service: "inpost";
|
|
6163
|
+
} | {
|
|
6164
|
+
carrier: "gls";
|
|
6165
|
+
name: string;
|
|
6166
|
+
service: "gls";
|
|
5984
6167
|
} | null;
|
|
5985
6168
|
deliverySlots: unknown;
|
|
5986
6169
|
shippingTaxRate: {
|
|
@@ -6016,7 +6199,6 @@ type APIOrderGetByIdResult = {
|
|
|
6016
6199
|
barcode: string | null;
|
|
6017
6200
|
description: string | null;
|
|
6018
6201
|
price: string;
|
|
6019
|
-
originalPrice: string;
|
|
6020
6202
|
calculatedPrice: string | null;
|
|
6021
6203
|
prePromotionPrice: string | null;
|
|
6022
6204
|
preVolumePricingPrice: string | null;
|
|
@@ -6072,6 +6254,14 @@ type APIOrderGetByIdResult = {
|
|
|
6072
6254
|
guestLabel?: string | null | undefined;
|
|
6073
6255
|
guest?: string | null | undefined;
|
|
6074
6256
|
} | null | undefined;
|
|
6257
|
+
gpsr?: {
|
|
6258
|
+
safetyInformation?: {
|
|
6259
|
+
type: "NO_SAFETY_INFORMATION";
|
|
6260
|
+
} | {
|
|
6261
|
+
type: "TEXT";
|
|
6262
|
+
description: string;
|
|
6263
|
+
} | null | undefined;
|
|
6264
|
+
} | null | undefined;
|
|
6075
6265
|
} | null;
|
|
6076
6266
|
type: "set" | "product" | "bundle";
|
|
6077
6267
|
bundleDiscountPercentage: string | null;
|
|
@@ -6130,7 +6320,6 @@ type APIOrderGetByIdResult = {
|
|
|
6130
6320
|
description: string | null;
|
|
6131
6321
|
price: string;
|
|
6132
6322
|
shippable: boolean;
|
|
6133
|
-
originalPrice: string;
|
|
6134
6323
|
calculatedPrice: string | null;
|
|
6135
6324
|
stock: number | null;
|
|
6136
6325
|
depth: number | null;
|
|
@@ -6161,6 +6350,9 @@ type APIOrderGetByIdResult = {
|
|
|
6161
6350
|
value: string;
|
|
6162
6351
|
}[] | null;
|
|
6163
6352
|
storeId: string;
|
|
6353
|
+
originalPrice?: string | null | undefined;
|
|
6354
|
+
} & {
|
|
6355
|
+
originalPrice: string;
|
|
6164
6356
|
};
|
|
6165
6357
|
}[];
|
|
6166
6358
|
setProduct: {
|
|
@@ -6203,6 +6395,9 @@ type APIOrderGetByIdResult = {
|
|
|
6203
6395
|
value: string;
|
|
6204
6396
|
}[] | null;
|
|
6205
6397
|
storeId: string;
|
|
6398
|
+
originalPrice?: string | null | undefined;
|
|
6399
|
+
} & {
|
|
6400
|
+
originalPrice: string;
|
|
6206
6401
|
};
|
|
6207
6402
|
productVariantId: string;
|
|
6208
6403
|
preVolumePricingPrice: string | null;
|
|
@@ -6358,6 +6553,13 @@ type APIOrderGetByIdResult = {
|
|
|
6358
6553
|
externalReference?: string | undefined;
|
|
6359
6554
|
idempotencyKey?: string | undefined;
|
|
6360
6555
|
} | null;
|
|
6556
|
+
inventory: {
|
|
6557
|
+
committedAt: string;
|
|
6558
|
+
lines: {
|
|
6559
|
+
variantId: string;
|
|
6560
|
+
quantity: number;
|
|
6561
|
+
}[];
|
|
6562
|
+
} | null;
|
|
6361
6563
|
freeShippingThreshold: number | null;
|
|
6362
6564
|
totalNet: number | null;
|
|
6363
6565
|
subtotalNet: number | null;
|
|
@@ -6467,29 +6669,10 @@ type APICategoryGetByIdResult = ({
|
|
|
6467
6669
|
products: {
|
|
6468
6670
|
id: string;
|
|
6469
6671
|
name: string;
|
|
6470
|
-
createdAt: string;
|
|
6471
|
-
updatedAt: string;
|
|
6472
|
-
type: "set" | "product" | "bundle";
|
|
6473
6672
|
slug: string;
|
|
6474
6673
|
status: "published" | "draft" | "hidden" | null;
|
|
6475
|
-
flags: unknown;
|
|
6476
|
-
storeId: string;
|
|
6477
6674
|
summary: string | null;
|
|
6478
|
-
content: JSONContent | null;
|
|
6479
6675
|
images: string[];
|
|
6480
|
-
badge: unknown;
|
|
6481
|
-
bundleDiscountPercentage: string | null;
|
|
6482
|
-
bundlePriceMode: "fixed" | "percent" | "amount";
|
|
6483
|
-
bundleFixedPriceAmount: string | null;
|
|
6484
|
-
bundleAmountOffAmount: string | null;
|
|
6485
|
-
seo: {
|
|
6486
|
-
title?: string | null | undefined;
|
|
6487
|
-
description?: string | null | undefined;
|
|
6488
|
-
canonical?: string | null | undefined;
|
|
6489
|
-
} | null;
|
|
6490
|
-
stripeTaxCode: string | null;
|
|
6491
|
-
categoryId: string | null;
|
|
6492
|
-
brandId: string | null;
|
|
6493
6676
|
}[];
|
|
6494
6677
|
parent: {
|
|
6495
6678
|
id: string;
|
|
@@ -6512,29 +6695,10 @@ type APICategoryGetByIdResult = ({
|
|
|
6512
6695
|
products: {
|
|
6513
6696
|
id: string;
|
|
6514
6697
|
name: string;
|
|
6515
|
-
createdAt: string;
|
|
6516
|
-
updatedAt: string;
|
|
6517
|
-
type: "set" | "product" | "bundle";
|
|
6518
6698
|
slug: string;
|
|
6519
6699
|
status: "published" | "draft" | "hidden" | null;
|
|
6520
|
-
flags: unknown;
|
|
6521
|
-
storeId: string;
|
|
6522
6700
|
summary: string | null;
|
|
6523
|
-
content: JSONContent | null;
|
|
6524
6701
|
images: string[];
|
|
6525
|
-
badge: unknown;
|
|
6526
|
-
bundleDiscountPercentage: string | null;
|
|
6527
|
-
bundlePriceMode: "fixed" | "percent" | "amount";
|
|
6528
|
-
bundleFixedPriceAmount: string | null;
|
|
6529
|
-
bundleAmountOffAmount: string | null;
|
|
6530
|
-
seo: {
|
|
6531
|
-
title?: string | null | undefined;
|
|
6532
|
-
description?: string | null | undefined;
|
|
6533
|
-
canonical?: string | null | undefined;
|
|
6534
|
-
} | null;
|
|
6535
|
-
stripeTaxCode: string | null;
|
|
6536
|
-
categoryId: string | null;
|
|
6537
|
-
brandId: string | null;
|
|
6538
6702
|
}[];
|
|
6539
6703
|
parent: {
|
|
6540
6704
|
id: string;
|
|
@@ -6557,29 +6721,10 @@ type APICategoryGetByIdResult = ({
|
|
|
6557
6721
|
products: {
|
|
6558
6722
|
id: string;
|
|
6559
6723
|
name: string;
|
|
6560
|
-
createdAt: string;
|
|
6561
|
-
updatedAt: string;
|
|
6562
|
-
type: "set" | "product" | "bundle";
|
|
6563
6724
|
slug: string;
|
|
6564
6725
|
status: "published" | "draft" | "hidden" | null;
|
|
6565
|
-
flags: unknown;
|
|
6566
|
-
storeId: string;
|
|
6567
6726
|
summary: string | null;
|
|
6568
|
-
content: JSONContent | null;
|
|
6569
6727
|
images: string[];
|
|
6570
|
-
badge: unknown;
|
|
6571
|
-
bundleDiscountPercentage: string | null;
|
|
6572
|
-
bundlePriceMode: "fixed" | "percent" | "amount";
|
|
6573
|
-
bundleFixedPriceAmount: string | null;
|
|
6574
|
-
bundleAmountOffAmount: string | null;
|
|
6575
|
-
seo: {
|
|
6576
|
-
title?: string | null | undefined;
|
|
6577
|
-
description?: string | null | undefined;
|
|
6578
|
-
canonical?: string | null | undefined;
|
|
6579
|
-
} | null;
|
|
6580
|
-
stripeTaxCode: string | null;
|
|
6581
|
-
categoryId: string | null;
|
|
6582
|
-
brandId: string | null;
|
|
6583
6728
|
}[];
|
|
6584
6729
|
} | null;
|
|
6585
6730
|
} | null;
|
|
@@ -6604,29 +6749,10 @@ type APICategoryGetByIdResult = ({
|
|
|
6604
6749
|
products: {
|
|
6605
6750
|
id: string;
|
|
6606
6751
|
name: string;
|
|
6607
|
-
createdAt: string;
|
|
6608
|
-
updatedAt: string;
|
|
6609
|
-
type: "set" | "product" | "bundle";
|
|
6610
6752
|
slug: string;
|
|
6611
6753
|
status: "published" | "draft" | "hidden" | null;
|
|
6612
|
-
flags: unknown;
|
|
6613
|
-
storeId: string;
|
|
6614
6754
|
summary: string | null;
|
|
6615
|
-
content: JSONContent | null;
|
|
6616
6755
|
images: string[];
|
|
6617
|
-
badge: unknown;
|
|
6618
|
-
bundleDiscountPercentage: string | null;
|
|
6619
|
-
bundlePriceMode: "fixed" | "percent" | "amount";
|
|
6620
|
-
bundleFixedPriceAmount: string | null;
|
|
6621
|
-
bundleAmountOffAmount: string | null;
|
|
6622
|
-
seo: {
|
|
6623
|
-
title?: string | null | undefined;
|
|
6624
|
-
description?: string | null | undefined;
|
|
6625
|
-
canonical?: string | null | undefined;
|
|
6626
|
-
} | null;
|
|
6627
|
-
stripeTaxCode: string | null;
|
|
6628
|
-
categoryId: string | null;
|
|
6629
|
-
brandId: string | null;
|
|
6630
6756
|
}[];
|
|
6631
6757
|
children: {
|
|
6632
6758
|
id: string;
|
|
@@ -6649,29 +6775,10 @@ type APICategoryGetByIdResult = ({
|
|
|
6649
6775
|
products: {
|
|
6650
6776
|
id: string;
|
|
6651
6777
|
name: string;
|
|
6652
|
-
createdAt: string;
|
|
6653
|
-
updatedAt: string;
|
|
6654
|
-
type: "set" | "product" | "bundle";
|
|
6655
6778
|
slug: string;
|
|
6656
6779
|
status: "published" | "draft" | "hidden" | null;
|
|
6657
|
-
flags: unknown;
|
|
6658
|
-
storeId: string;
|
|
6659
6780
|
summary: string | null;
|
|
6660
|
-
content: JSONContent | null;
|
|
6661
6781
|
images: string[];
|
|
6662
|
-
badge: unknown;
|
|
6663
|
-
bundleDiscountPercentage: string | null;
|
|
6664
|
-
bundlePriceMode: "fixed" | "percent" | "amount";
|
|
6665
|
-
bundleFixedPriceAmount: string | null;
|
|
6666
|
-
bundleAmountOffAmount: string | null;
|
|
6667
|
-
seo: {
|
|
6668
|
-
title?: string | null | undefined;
|
|
6669
|
-
description?: string | null | undefined;
|
|
6670
|
-
canonical?: string | null | undefined;
|
|
6671
|
-
} | null;
|
|
6672
|
-
stripeTaxCode: string | null;
|
|
6673
|
-
categoryId: string | null;
|
|
6674
|
-
brandId: string | null;
|
|
6675
6782
|
}[];
|
|
6676
6783
|
}[];
|
|
6677
6784
|
}[];
|
|
@@ -6978,6 +7085,7 @@ type APIMeGetResult = {
|
|
|
6978
7085
|
} | null | undefined;
|
|
6979
7086
|
outboundEmail?: string | null | undefined;
|
|
6980
7087
|
notificationEmail?: string | null | undefined;
|
|
7088
|
+
contactRoutingEmails?: Record<string, string> | null | undefined;
|
|
6981
7089
|
notifications?: {
|
|
6982
7090
|
newOrderNotifications: boolean | null;
|
|
6983
7091
|
lowStockNotifications: boolean | null;
|
|
@@ -6996,6 +7104,21 @@ type APIMeGetResult = {
|
|
|
6996
7104
|
} | null | undefined;
|
|
6997
7105
|
} | null | undefined;
|
|
6998
7106
|
cartIcon?: "shopping-bag" | "shopping-cart" | "shopping-basket" | null | undefined;
|
|
7107
|
+
checkoutAppearance?: {
|
|
7108
|
+
summaryPosition?: "left" | "right" | null | undefined;
|
|
7109
|
+
summaryBackground?: "custom" | "tint" | "plain" | null | undefined;
|
|
7110
|
+
summaryBackgroundColor?: string | null | undefined;
|
|
7111
|
+
cornerRadius?: "small" | "none" | "medium" | "large" | null | undefined;
|
|
7112
|
+
payButtonLabel?: "pay" | "completeOrder" | "placeOrder" | null | undefined;
|
|
7113
|
+
showHeader?: boolean | null | undefined;
|
|
7114
|
+
showPolicyLinks?: boolean | null | undefined;
|
|
7115
|
+
hideExpressWallets?: boolean | null | undefined;
|
|
7116
|
+
fontFamily?: "default" | "roboto" | "poppins" | "inter" | "merriweather" | "montserrat" | "nunito" | "inconsolata" | "ibmPlexSans" | "cardo" | "spaceMono" | "buenard" | "titanOne" | "bartok" | "robotoSlab" | "playwritePl" | "jetBrainsMono" | null | undefined;
|
|
7117
|
+
colors?: {
|
|
7118
|
+
buttonBackground?: string | null | undefined;
|
|
7119
|
+
buttonText?: string | null | undefined;
|
|
7120
|
+
} | null | undefined;
|
|
7121
|
+
} | null | undefined;
|
|
6999
7122
|
productCards?: {
|
|
7000
7123
|
borderRadius?: "none" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
7001
7124
|
} | null | undefined;
|
|
@@ -7020,6 +7143,7 @@ type APIMeGetResult = {
|
|
|
7020
7143
|
apiKeyDisplay: string;
|
|
7021
7144
|
createdAt: string;
|
|
7022
7145
|
name?: string | undefined;
|
|
7146
|
+
system?: boolean | undefined;
|
|
7023
7147
|
}[] | null | undefined;
|
|
7024
7148
|
loyalty?: {
|
|
7025
7149
|
pointsPerUnit: number;
|
|
@@ -7169,6 +7293,9 @@ type APIMeGetResult = {
|
|
|
7169
7293
|
url: string;
|
|
7170
7294
|
createdAt: string;
|
|
7171
7295
|
} | null | undefined;
|
|
7296
|
+
autoPublish?: boolean | undefined;
|
|
7297
|
+
ynsApiKeyId?: string | undefined;
|
|
7298
|
+
ynsApiKeyEncrypted?: string | undefined;
|
|
7172
7299
|
} | null;
|
|
7173
7300
|
brandKit: {
|
|
7174
7301
|
kit?: {
|
|
@@ -7702,6 +7829,7 @@ type APIVariantCreateResult = {
|
|
|
7702
7829
|
type APISubscriberCreateBody = {
|
|
7703
7830
|
email: string;
|
|
7704
7831
|
name?: string;
|
|
7832
|
+
placement?: string;
|
|
7705
7833
|
};
|
|
7706
7834
|
type APISubscriberCreateResult = {
|
|
7707
7835
|
id: string;
|
|
@@ -7712,6 +7840,7 @@ type APISubscriberCreateResult = {
|
|
|
7712
7840
|
storeId: string;
|
|
7713
7841
|
location: string | null;
|
|
7714
7842
|
source: string;
|
|
7843
|
+
placement: string | null;
|
|
7715
7844
|
unsubscribed: boolean;
|
|
7716
7845
|
unsubscribedAt: string | null;
|
|
7717
7846
|
unsubscribeToken: string | null;
|
|
@@ -7730,6 +7859,7 @@ type APIContactMessageCreateResult = {
|
|
|
7730
7859
|
updatedAt: string;
|
|
7731
7860
|
message: string;
|
|
7732
7861
|
storeId: string;
|
|
7862
|
+
routingKey: string | null;
|
|
7733
7863
|
readAt: string | null;
|
|
7734
7864
|
} | undefined;
|
|
7735
7865
|
type APIProductCreateBody = {
|
|
@@ -8704,4 +8834,4 @@ type APICartDeleteResult = {
|
|
|
8704
8834
|
success: boolean;
|
|
8705
8835
|
};
|
|
8706
8836
|
|
|
8707
|
-
export type { APIBlogCategoriesBrowseQueryParams, APIBlogCategoriesBrowseResult, APIBlogCategoryCreateBody, APIBlogCategoryCreateResult, APIBlogCategoryDeleteResult, APIBlogCategoryGetByIdParams, APIBlogCategoryGetByIdResult, APIBlogCategoryUpdateBody, APIBlogCategoryUpdateResult, APIBrandAssignProductsBody, APIBrandAssignProductsResult, APIBrandCreateBody, APIBrandCreateResult, APIBrandDeleteResult, APIBrandGetByIdParams, APIBrandGetByIdResult, APIBrandUpdateBody, APIBrandUpdateResult, APIBrandsBrowseQueryParams, APIBrandsBrowseResult, APICartAddBody, APICartAddResult, APICartCreateBody, APICartCreateResult, APICartDeleteResult, APICartGetResult, APICartRemoveItemQueryParams, APICartRemoveItemResult, APICategoriesBrowseQueryParams, APICategoriesBrowseResult, APICategoryCreateBody, APICategoryCreateResult, APICategoryDeleteResult, APICategoryGetByIdParams, APICategoryGetByIdQueryParams, APICategoryGetByIdResult, APICategoryUpdateBody, APICategoryUpdateQueryParams, APICategoryUpdateResult, APICollectionCreateBody, APICollectionCreateResult, APICollectionDeleteResult, APICollectionGetByIdParams, APICollectionGetByIdQueryParams, APICollectionGetByIdResult, APICollectionUpdateBody, APICollectionUpdateResult, APICollectionsBrowseQueryParams, APICollectionsBrowseResult, APIContactMessageCreateBody, APIContactMessageCreateResult, APICouponCreateBody, APICouponCreateResult, APICouponDeleteResult, APICouponGetByIdParams, APICouponGetByIdResult, APICouponUpdateBody, APICouponUpdateResult, APICouponsBrowseQueryParams, APICouponsBrowseResult, APICustomerAddressCreateBody, APICustomerAddressCreateResult, APICustomerGetByIdParams, APICustomerGetByIdResult, APICustomerOrdersBrowseQueryParams, APICustomerOrdersBrowseResult, APICustomerUpdateBody, APICustomerUpdateResult, APICustomersBrowseQueryParams, APICustomersBrowseResult, APIEventAttendeesBrowseResult, APIEventCreateBody, APIEventCreateResult, APIEventGetByIdParams, APIEventGetByIdResult, APIEventUpdateBody, APIEventUpdateResult, APIEventsBrowseQueryParams, APIEventsBrowseResult, APIInstaviewImagesBrowseParams, APIInstaviewImagesBrowseQueryParams, APIInstaviewImagesBrowseResult, APIInventoryAdjustBody, APIInventoryAdjustResult, APIInventoryBrowseQueryParams, APIInventoryBrowseResult, APILegalPageCreateBody, APILegalPageCreateQueryParams, APILegalPageCreateResult, APILegalPageGetByPathParams, APILegalPageGetByPathQueryParams, APILegalPageGetByPathResult, APILegalPageUpdateBody, APILegalPageUpdateQueryParams, APILegalPageUpdateResult, APILegalPagesBrowseQueryParams, APILegalPagesBrowseResult, APIMeGetResult, APIOrderGetByIdParams, APIOrderGetByIdResult, APIOrderRefundGetParams, APIOrderRefundGetResult, APIOrderRefundsBrowseQueryParams, APIOrderRefundsBrowseResult, APIOrderRefundsParams, APIOrderUpdateBody, APIOrderUpdateResult, APIOrdersBrowseQueryParams, APIOrdersBrowseResult, APIPostCommentCreateBody, APIPostCommentCreateResult, APIPostCommentsBrowseQueryParams, APIPostCommentsBrowseResult, APIPostCreateBody, APIPostCreateResult, APIPostDeleteResult, APIPostGetByIdParams, APIPostGetByIdResult, APIPostUpdateBody, APIPostUpdateResult, APIPostsBrowseQueryParams, APIPostsBrowseResult, APIProductBatchBody, APIProductBatchResult, APIProductCreateBody, APIProductCreateResult, APIProductDeleteQueryParams, APIProductDeleteResult, APIProductFiltersResult, APIProductGetByIdParams, APIProductGetByIdQueryParams, APIProductGetByIdResult, APIProductReviewCreateBody, APIProductReviewCreateResult, APIProductReviewsBrowseQueryParams, APIProductReviewsBrowseResult, APIProductUpdateBody, APIProductUpdateQueryParams, APIProductUpdateResult, APIProductsBrowseQueryParams, APIProductsBrowseResult, APISearchQueryParams, APISearchResult, APISocialsGetResult, APISubscriberCreateBody, APISubscriberCreateResult, APISubscriberDeleteResult, APITicketAttendeeGetParams, APITicketAttendeeGetResult, APITicketsGetParams, APITicketsGetQueryParams, APITicketsGetResult, APITicketsUpdateBody, APITicketsUpdateResult, APIVariantCreateBody, APIVariantCreateResult, APIVariantGetByIdParams, APIVariantGetByIdQueryParams, APIVariantGetByIdResult, APIVariantUpdateBody, APIVariantUpdateResult, JSONContent };
|
|
8837
|
+
export type { APIBlogCategoriesBrowseQueryParams, APIBlogCategoriesBrowseResult, APIBlogCategoryCreateBody, APIBlogCategoryCreateResult, APIBlogCategoryDeleteResult, APIBlogCategoryGetByIdParams, APIBlogCategoryGetByIdResult, APIBlogCategoryUpdateBody, APIBlogCategoryUpdateResult, APIBrandAssignProductsBody, APIBrandAssignProductsResult, APIBrandCreateBody, APIBrandCreateResult, APIBrandDeleteResult, APIBrandGetByIdParams, APIBrandGetByIdResult, APIBrandUpdateBody, APIBrandUpdateResult, APIBrandsBrowseQueryParams, APIBrandsBrowseResult, APICartAddBody, APICartAddResult, APICartCreateBody, APICartCreateResult, APICartDeleteResult, APICartGetResult, APICartRemoveItemQueryParams, APICartRemoveItemResult, APICategoriesBrowseQueryParams, APICategoriesBrowseResult, APICategoryCreateBody, APICategoryCreateResult, APICategoryDeleteResult, APICategoryGetByIdParams, APICategoryGetByIdQueryParams, APICategoryGetByIdResult, APICategoryUpdateBody, APICategoryUpdateQueryParams, APICategoryUpdateResult, APICollectionCreateBody, APICollectionCreateResult, APICollectionDeleteResult, APICollectionGetByIdParams, APICollectionGetByIdQueryParams, APICollectionGetByIdResult, APICollectionUpdateBody, APICollectionUpdateResult, APICollectionsBrowseQueryParams, APICollectionsBrowseResult, APIContactMessageCreateBody, APIContactMessageCreateResult, APICouponCreateBody, APICouponCreateResult, APICouponDeleteResult, APICouponGetByIdParams, APICouponGetByIdResult, APICouponUpdateBody, APICouponUpdateResult, APICouponsBrowseQueryParams, APICouponsBrowseResult, APICustomerAddressCreateBody, APICustomerAddressCreateResult, APICustomerGetByIdParams, APICustomerGetByIdResult, APICustomerOrdersBrowseQueryParams, APICustomerOrdersBrowseResult, APICustomerUpdateBody, APICustomerUpdateResult, APICustomersBrowseQueryParams, APICustomersBrowseResult, APIEventAttendeesBrowseResult, APIEventCreateBody, APIEventCreateResult, APIEventGetByIdParams, APIEventGetByIdResult, APIEventUpdateBody, APIEventUpdateResult, APIEventsBrowseQueryParams, APIEventsBrowseResult, APIInstaviewImagesBrowseParams, APIInstaviewImagesBrowseQueryParams, APIInstaviewImagesBrowseResult, APIInventoryAdjustBody, APIInventoryAdjustResult, APIInventoryBrowseQueryParams, APIInventoryBrowseResult, APILegalPageCreateBody, APILegalPageCreateQueryParams, APILegalPageCreateResult, APILegalPageGetByPathParams, APILegalPageGetByPathQueryParams, APILegalPageGetByPathResult, APILegalPageUpdateBody, APILegalPageUpdateQueryParams, APILegalPageUpdateResult, APILegalPagesBrowseQueryParams, APILegalPagesBrowseResult, APIMeGetResult, APIOrderGetByIdParams, APIOrderGetByIdResult, APIOrderRefundGetParams, APIOrderRefundGetResult, APIOrderRefundsBrowseQueryParams, APIOrderRefundsBrowseResult, APIOrderRefundsParams, APIOrderUpdateBody, APIOrderUpdateResult, APIOrdersBrowseQueryParams, APIOrdersBrowseResult, APIPostCommentCreateBody, APIPostCommentCreateResult, APIPostCommentsBrowseQueryParams, APIPostCommentsBrowseResult, APIPostCreateBody, APIPostCreateResult, APIPostDeleteResult, APIPostGetByIdParams, APIPostGetByIdResult, APIPostUpdateBody, APIPostUpdateResult, APIPostsBrowseQueryParams, APIPostsBrowseResult, APIProductBatchBody, APIProductBatchResult, APIProductCreateBody, APIProductCreateResult, APIProductDeleteQueryParams, APIProductDeleteResult, APIProductFiltersResult, APIProductGetByIdParams, APIProductGetByIdQueryParams, APIProductGetByIdResult, APIProductReviewCreateBody, APIProductReviewCreateResult, APIProductReviewsBrowseQueryParams, APIProductReviewsBrowseResult, APIProductUpdateBody, APIProductUpdateQueryParams, APIProductUpdateResult, APIProductsBrowseQueryParams, APIProductsBrowseResult, APISearchQueryParams, APISearchResult, APISocialsGetResult, APISubscriberCreateBody, APISubscriberCreateResult, APISubscriberDeleteResult, APISupportCase, APISupportCaseCreateBody, APISupportCaseCreateResult, APISupportCaseGetParams, APISupportCaseGetResult, APISupportCaseMessage, APISupportCaseMessageCreateBody, APISupportCaseMessageCreateResult, APISupportCaseUpdateBody, APISupportCaseUpdateResult, APISupportCasesBrowseQueryParams, APISupportCasesBrowseResult, APITicketAttendeeGetParams, APITicketAttendeeGetResult, APITicketsGetParams, APITicketsGetQueryParams, APITicketsGetResult, APITicketsUpdateBody, APITicketsUpdateResult, APIVariantCreateBody, APIVariantCreateResult, APIVariantGetByIdParams, APIVariantGetByIdQueryParams, APIVariantGetByIdResult, APIVariantUpdateBody, APIVariantUpdateResult, JSONContent };
|