commerce-kit 0.53.0 → 0.55.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 +279 -458
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/api-types.d.ts
CHANGED
|
@@ -4641,6 +4641,7 @@ type APIOrdersBrowseResult = {
|
|
|
4641
4641
|
status: "completed" | "cancelled" | "created" | "paid" | "processing" | "shipped" | "refunded" | "partially_refunded";
|
|
4642
4642
|
environment: "live" | "test";
|
|
4643
4643
|
storeId: string;
|
|
4644
|
+
source: string | null;
|
|
4644
4645
|
customerId: string | null;
|
|
4645
4646
|
lookup: number;
|
|
4646
4647
|
cartId: string | null;
|
|
@@ -4672,6 +4673,14 @@ type APIOrdersBrowseResult = {
|
|
|
4672
4673
|
id: number;
|
|
4673
4674
|
name: string;
|
|
4674
4675
|
service: "dpd" | "fedex" | "ups" | "gls" | "poczta" | "inpost" | "orlen" | "dhl";
|
|
4676
|
+
} | {
|
|
4677
|
+
carrier: "inpost";
|
|
4678
|
+
name: string;
|
|
4679
|
+
service: "inpost";
|
|
4680
|
+
} | {
|
|
4681
|
+
carrier: "gls";
|
|
4682
|
+
name: string;
|
|
4683
|
+
service: "gls";
|
|
4675
4684
|
} | null;
|
|
4676
4685
|
deliverySlots: unknown;
|
|
4677
4686
|
shippingTaxRate: {
|
|
@@ -4707,7 +4716,6 @@ type APIOrdersBrowseResult = {
|
|
|
4707
4716
|
barcode: string | null;
|
|
4708
4717
|
description: string | null;
|
|
4709
4718
|
price: string;
|
|
4710
|
-
originalPrice: string;
|
|
4711
4719
|
calculatedPrice: string | null;
|
|
4712
4720
|
prePromotionPrice: string | null;
|
|
4713
4721
|
preVolumePricingPrice: string | null;
|
|
@@ -4763,6 +4771,14 @@ type APIOrdersBrowseResult = {
|
|
|
4763
4771
|
guestLabel?: string | null | undefined;
|
|
4764
4772
|
guest?: string | null | undefined;
|
|
4765
4773
|
} | null | undefined;
|
|
4774
|
+
gpsr?: {
|
|
4775
|
+
safetyInformation?: {
|
|
4776
|
+
type: "NO_SAFETY_INFORMATION";
|
|
4777
|
+
} | {
|
|
4778
|
+
type: "TEXT";
|
|
4779
|
+
description: string;
|
|
4780
|
+
} | null | undefined;
|
|
4781
|
+
} | null | undefined;
|
|
4766
4782
|
} | null;
|
|
4767
4783
|
type: "set" | "product" | "bundle";
|
|
4768
4784
|
bundleDiscountPercentage: string | null;
|
|
@@ -4821,7 +4837,6 @@ type APIOrdersBrowseResult = {
|
|
|
4821
4837
|
description: string | null;
|
|
4822
4838
|
price: string;
|
|
4823
4839
|
shippable: boolean;
|
|
4824
|
-
originalPrice: string;
|
|
4825
4840
|
calculatedPrice: string | null;
|
|
4826
4841
|
stock: number | null;
|
|
4827
4842
|
depth: number | null;
|
|
@@ -4852,6 +4867,9 @@ type APIOrdersBrowseResult = {
|
|
|
4852
4867
|
value: string;
|
|
4853
4868
|
}[] | null;
|
|
4854
4869
|
storeId: string;
|
|
4870
|
+
originalPrice?: string | null | undefined;
|
|
4871
|
+
} & {
|
|
4872
|
+
originalPrice: string;
|
|
4855
4873
|
};
|
|
4856
4874
|
}[];
|
|
4857
4875
|
setProduct: {
|
|
@@ -4894,6 +4912,9 @@ type APIOrdersBrowseResult = {
|
|
|
4894
4912
|
value: string;
|
|
4895
4913
|
}[] | null;
|
|
4896
4914
|
storeId: string;
|
|
4915
|
+
originalPrice?: string | null | undefined;
|
|
4916
|
+
} & {
|
|
4917
|
+
originalPrice: string;
|
|
4897
4918
|
};
|
|
4898
4919
|
productVariantId: string;
|
|
4899
4920
|
preVolumePricingPrice: string | null;
|
|
@@ -5049,6 +5070,13 @@ type APIOrdersBrowseResult = {
|
|
|
5049
5070
|
externalReference?: string | undefined;
|
|
5050
5071
|
idempotencyKey?: string | undefined;
|
|
5051
5072
|
} | null;
|
|
5073
|
+
inventory: {
|
|
5074
|
+
committedAt: string;
|
|
5075
|
+
lines: {
|
|
5076
|
+
variantId: string;
|
|
5077
|
+
quantity: number;
|
|
5078
|
+
}[];
|
|
5079
|
+
} | null;
|
|
5052
5080
|
freeShippingThreshold: number | null;
|
|
5053
5081
|
totalNet: number | null;
|
|
5054
5082
|
subtotalNet: number | null;
|
|
@@ -5090,7 +5118,6 @@ type APIOrdersBrowseResult = {
|
|
|
5090
5118
|
}[] | null;
|
|
5091
5119
|
};
|
|
5092
5120
|
externalShipmentId: string | null;
|
|
5093
|
-
source: string | null;
|
|
5094
5121
|
paymentDeduplicationId: string | null;
|
|
5095
5122
|
ticketCode: string | null;
|
|
5096
5123
|
activeSubscriptionId: string | null;
|
|
@@ -5125,6 +5152,14 @@ type APIOrdersBrowseResult = {
|
|
|
5125
5152
|
id: number;
|
|
5126
5153
|
name: string;
|
|
5127
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";
|
|
5128
5163
|
} | null;
|
|
5129
5164
|
deliverySlots: unknown;
|
|
5130
5165
|
shippingTaxRate: {
|
|
@@ -5160,7 +5195,6 @@ type APIOrdersBrowseResult = {
|
|
|
5160
5195
|
barcode: string | null;
|
|
5161
5196
|
description: string | null;
|
|
5162
5197
|
price: string;
|
|
5163
|
-
originalPrice: string;
|
|
5164
5198
|
calculatedPrice: string | null;
|
|
5165
5199
|
prePromotionPrice: string | null;
|
|
5166
5200
|
preVolumePricingPrice: string | null;
|
|
@@ -5216,6 +5250,14 @@ type APIOrdersBrowseResult = {
|
|
|
5216
5250
|
guestLabel?: string | null | undefined;
|
|
5217
5251
|
guest?: string | null | undefined;
|
|
5218
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;
|
|
5219
5261
|
} | null;
|
|
5220
5262
|
type: "set" | "product" | "bundle";
|
|
5221
5263
|
bundleDiscountPercentage: string | null;
|
|
@@ -5274,7 +5316,6 @@ type APIOrdersBrowseResult = {
|
|
|
5274
5316
|
description: string | null;
|
|
5275
5317
|
price: string;
|
|
5276
5318
|
shippable: boolean;
|
|
5277
|
-
originalPrice: string;
|
|
5278
5319
|
calculatedPrice: string | null;
|
|
5279
5320
|
stock: number | null;
|
|
5280
5321
|
depth: number | null;
|
|
@@ -5305,6 +5346,9 @@ type APIOrdersBrowseResult = {
|
|
|
5305
5346
|
value: string;
|
|
5306
5347
|
}[] | null;
|
|
5307
5348
|
storeId: string;
|
|
5349
|
+
originalPrice?: string | null | undefined;
|
|
5350
|
+
} & {
|
|
5351
|
+
originalPrice: string;
|
|
5308
5352
|
};
|
|
5309
5353
|
}[];
|
|
5310
5354
|
setProduct: {
|
|
@@ -5347,6 +5391,9 @@ type APIOrdersBrowseResult = {
|
|
|
5347
5391
|
value: string;
|
|
5348
5392
|
}[] | null;
|
|
5349
5393
|
storeId: string;
|
|
5394
|
+
originalPrice?: string | null | undefined;
|
|
5395
|
+
} & {
|
|
5396
|
+
originalPrice: string;
|
|
5350
5397
|
};
|
|
5351
5398
|
productVariantId: string;
|
|
5352
5399
|
preVolumePricingPrice: string | null;
|
|
@@ -5502,6 +5549,13 @@ type APIOrdersBrowseResult = {
|
|
|
5502
5549
|
externalReference?: string | undefined;
|
|
5503
5550
|
idempotencyKey?: string | undefined;
|
|
5504
5551
|
} | null;
|
|
5552
|
+
inventory: {
|
|
5553
|
+
committedAt: string;
|
|
5554
|
+
lines: {
|
|
5555
|
+
variantId: string;
|
|
5556
|
+
quantity: number;
|
|
5557
|
+
}[];
|
|
5558
|
+
} | null;
|
|
5505
5559
|
freeShippingThreshold: number | null;
|
|
5506
5560
|
totalNet: number | null;
|
|
5507
5561
|
subtotalNet: number | null;
|
|
@@ -5558,6 +5612,7 @@ type APIOrderGetByIdResult = {
|
|
|
5558
5612
|
status: "completed" | "cancelled" | "created" | "paid" | "processing" | "shipped" | "refunded" | "partially_refunded";
|
|
5559
5613
|
environment: "live" | "test";
|
|
5560
5614
|
storeId: string;
|
|
5615
|
+
source: string | null;
|
|
5561
5616
|
customerId: string | null;
|
|
5562
5617
|
lookup: number;
|
|
5563
5618
|
cartId: string | null;
|
|
@@ -5589,6 +5644,14 @@ type APIOrderGetByIdResult = {
|
|
|
5589
5644
|
id: number;
|
|
5590
5645
|
name: string;
|
|
5591
5646
|
service: "dpd" | "fedex" | "ups" | "gls" | "poczta" | "inpost" | "orlen" | "dhl";
|
|
5647
|
+
} | {
|
|
5648
|
+
carrier: "inpost";
|
|
5649
|
+
name: string;
|
|
5650
|
+
service: "inpost";
|
|
5651
|
+
} | {
|
|
5652
|
+
carrier: "gls";
|
|
5653
|
+
name: string;
|
|
5654
|
+
service: "gls";
|
|
5592
5655
|
} | null;
|
|
5593
5656
|
deliverySlots: unknown;
|
|
5594
5657
|
shippingTaxRate: {
|
|
@@ -5624,7 +5687,6 @@ type APIOrderGetByIdResult = {
|
|
|
5624
5687
|
barcode: string | null;
|
|
5625
5688
|
description: string | null;
|
|
5626
5689
|
price: string;
|
|
5627
|
-
originalPrice: string;
|
|
5628
5690
|
calculatedPrice: string | null;
|
|
5629
5691
|
prePromotionPrice: string | null;
|
|
5630
5692
|
preVolumePricingPrice: string | null;
|
|
@@ -5680,6 +5742,14 @@ type APIOrderGetByIdResult = {
|
|
|
5680
5742
|
guestLabel?: string | null | undefined;
|
|
5681
5743
|
guest?: string | null | undefined;
|
|
5682
5744
|
} | null | undefined;
|
|
5745
|
+
gpsr?: {
|
|
5746
|
+
safetyInformation?: {
|
|
5747
|
+
type: "NO_SAFETY_INFORMATION";
|
|
5748
|
+
} | {
|
|
5749
|
+
type: "TEXT";
|
|
5750
|
+
description: string;
|
|
5751
|
+
} | null | undefined;
|
|
5752
|
+
} | null | undefined;
|
|
5683
5753
|
} | null;
|
|
5684
5754
|
type: "set" | "product" | "bundle";
|
|
5685
5755
|
bundleDiscountPercentage: string | null;
|
|
@@ -5738,7 +5808,6 @@ type APIOrderGetByIdResult = {
|
|
|
5738
5808
|
description: string | null;
|
|
5739
5809
|
price: string;
|
|
5740
5810
|
shippable: boolean;
|
|
5741
|
-
originalPrice: string;
|
|
5742
5811
|
calculatedPrice: string | null;
|
|
5743
5812
|
stock: number | null;
|
|
5744
5813
|
depth: number | null;
|
|
@@ -5769,6 +5838,9 @@ type APIOrderGetByIdResult = {
|
|
|
5769
5838
|
value: string;
|
|
5770
5839
|
}[] | null;
|
|
5771
5840
|
storeId: string;
|
|
5841
|
+
originalPrice?: string | null | undefined;
|
|
5842
|
+
} & {
|
|
5843
|
+
originalPrice: string;
|
|
5772
5844
|
};
|
|
5773
5845
|
}[];
|
|
5774
5846
|
setProduct: {
|
|
@@ -5811,6 +5883,9 @@ type APIOrderGetByIdResult = {
|
|
|
5811
5883
|
value: string;
|
|
5812
5884
|
}[] | null;
|
|
5813
5885
|
storeId: string;
|
|
5886
|
+
originalPrice?: string | null | undefined;
|
|
5887
|
+
} & {
|
|
5888
|
+
originalPrice: string;
|
|
5814
5889
|
};
|
|
5815
5890
|
productVariantId: string;
|
|
5816
5891
|
preVolumePricingPrice: string | null;
|
|
@@ -5966,6 +6041,13 @@ type APIOrderGetByIdResult = {
|
|
|
5966
6041
|
externalReference?: string | undefined;
|
|
5967
6042
|
idempotencyKey?: string | undefined;
|
|
5968
6043
|
} | null;
|
|
6044
|
+
inventory: {
|
|
6045
|
+
committedAt: string;
|
|
6046
|
+
lines: {
|
|
6047
|
+
variantId: string;
|
|
6048
|
+
quantity: number;
|
|
6049
|
+
}[];
|
|
6050
|
+
} | null;
|
|
5969
6051
|
freeShippingThreshold: number | null;
|
|
5970
6052
|
totalNet: number | null;
|
|
5971
6053
|
subtotalNet: number | null;
|
|
@@ -6007,7 +6089,6 @@ type APIOrderGetByIdResult = {
|
|
|
6007
6089
|
}[] | null;
|
|
6008
6090
|
};
|
|
6009
6091
|
externalShipmentId: string | null;
|
|
6010
|
-
source: string | null;
|
|
6011
6092
|
paymentDeduplicationId: string | null;
|
|
6012
6093
|
ticketCode: string | null;
|
|
6013
6094
|
activeSubscriptionId: string | null;
|
|
@@ -6075,6 +6156,14 @@ type APIOrderGetByIdResult = {
|
|
|
6075
6156
|
id: number;
|
|
6076
6157
|
name: string;
|
|
6077
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";
|
|
6078
6167
|
} | null;
|
|
6079
6168
|
deliverySlots: unknown;
|
|
6080
6169
|
shippingTaxRate: {
|
|
@@ -6110,7 +6199,6 @@ type APIOrderGetByIdResult = {
|
|
|
6110
6199
|
barcode: string | null;
|
|
6111
6200
|
description: string | null;
|
|
6112
6201
|
price: string;
|
|
6113
|
-
originalPrice: string;
|
|
6114
6202
|
calculatedPrice: string | null;
|
|
6115
6203
|
prePromotionPrice: string | null;
|
|
6116
6204
|
preVolumePricingPrice: string | null;
|
|
@@ -6166,6 +6254,14 @@ type APIOrderGetByIdResult = {
|
|
|
6166
6254
|
guestLabel?: string | null | undefined;
|
|
6167
6255
|
guest?: string | null | undefined;
|
|
6168
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;
|
|
6169
6265
|
} | null;
|
|
6170
6266
|
type: "set" | "product" | "bundle";
|
|
6171
6267
|
bundleDiscountPercentage: string | null;
|
|
@@ -6224,7 +6320,6 @@ type APIOrderGetByIdResult = {
|
|
|
6224
6320
|
description: string | null;
|
|
6225
6321
|
price: string;
|
|
6226
6322
|
shippable: boolean;
|
|
6227
|
-
originalPrice: string;
|
|
6228
6323
|
calculatedPrice: string | null;
|
|
6229
6324
|
stock: number | null;
|
|
6230
6325
|
depth: number | null;
|
|
@@ -6255,6 +6350,9 @@ type APIOrderGetByIdResult = {
|
|
|
6255
6350
|
value: string;
|
|
6256
6351
|
}[] | null;
|
|
6257
6352
|
storeId: string;
|
|
6353
|
+
originalPrice?: string | null | undefined;
|
|
6354
|
+
} & {
|
|
6355
|
+
originalPrice: string;
|
|
6258
6356
|
};
|
|
6259
6357
|
}[];
|
|
6260
6358
|
setProduct: {
|
|
@@ -6297,6 +6395,9 @@ type APIOrderGetByIdResult = {
|
|
|
6297
6395
|
value: string;
|
|
6298
6396
|
}[] | null;
|
|
6299
6397
|
storeId: string;
|
|
6398
|
+
originalPrice?: string | null | undefined;
|
|
6399
|
+
} & {
|
|
6400
|
+
originalPrice: string;
|
|
6300
6401
|
};
|
|
6301
6402
|
productVariantId: string;
|
|
6302
6403
|
preVolumePricingPrice: string | null;
|
|
@@ -6452,6 +6553,13 @@ type APIOrderGetByIdResult = {
|
|
|
6452
6553
|
externalReference?: string | undefined;
|
|
6453
6554
|
idempotencyKey?: string | undefined;
|
|
6454
6555
|
} | null;
|
|
6556
|
+
inventory: {
|
|
6557
|
+
committedAt: string;
|
|
6558
|
+
lines: {
|
|
6559
|
+
variantId: string;
|
|
6560
|
+
quantity: number;
|
|
6561
|
+
}[];
|
|
6562
|
+
} | null;
|
|
6455
6563
|
freeShippingThreshold: number | null;
|
|
6456
6564
|
totalNet: number | null;
|
|
6457
6565
|
subtotalNet: number | null;
|
|
@@ -6561,29 +6669,10 @@ type APICategoryGetByIdResult = ({
|
|
|
6561
6669
|
products: {
|
|
6562
6670
|
id: string;
|
|
6563
6671
|
name: string;
|
|
6564
|
-
createdAt: string;
|
|
6565
|
-
updatedAt: string;
|
|
6566
|
-
type: "set" | "product" | "bundle";
|
|
6567
6672
|
slug: string;
|
|
6568
6673
|
status: "published" | "draft" | "hidden" | null;
|
|
6569
|
-
flags: unknown;
|
|
6570
|
-
storeId: string;
|
|
6571
6674
|
summary: string | null;
|
|
6572
|
-
content: JSONContent | null;
|
|
6573
6675
|
images: string[];
|
|
6574
|
-
badge: unknown;
|
|
6575
|
-
bundleDiscountPercentage: string | null;
|
|
6576
|
-
bundlePriceMode: "fixed" | "percent" | "amount";
|
|
6577
|
-
bundleFixedPriceAmount: string | null;
|
|
6578
|
-
bundleAmountOffAmount: string | null;
|
|
6579
|
-
seo: {
|
|
6580
|
-
title?: string | null | undefined;
|
|
6581
|
-
description?: string | null | undefined;
|
|
6582
|
-
canonical?: string | null | undefined;
|
|
6583
|
-
} | null;
|
|
6584
|
-
stripeTaxCode: string | null;
|
|
6585
|
-
categoryId: string | null;
|
|
6586
|
-
brandId: string | null;
|
|
6587
6676
|
}[];
|
|
6588
6677
|
parent: {
|
|
6589
6678
|
id: string;
|
|
@@ -6606,29 +6695,10 @@ type APICategoryGetByIdResult = ({
|
|
|
6606
6695
|
products: {
|
|
6607
6696
|
id: string;
|
|
6608
6697
|
name: string;
|
|
6609
|
-
createdAt: string;
|
|
6610
|
-
updatedAt: string;
|
|
6611
|
-
type: "set" | "product" | "bundle";
|
|
6612
6698
|
slug: string;
|
|
6613
6699
|
status: "published" | "draft" | "hidden" | null;
|
|
6614
|
-
flags: unknown;
|
|
6615
|
-
storeId: string;
|
|
6616
6700
|
summary: string | null;
|
|
6617
|
-
content: JSONContent | null;
|
|
6618
6701
|
images: string[];
|
|
6619
|
-
badge: unknown;
|
|
6620
|
-
bundleDiscountPercentage: string | null;
|
|
6621
|
-
bundlePriceMode: "fixed" | "percent" | "amount";
|
|
6622
|
-
bundleFixedPriceAmount: string | null;
|
|
6623
|
-
bundleAmountOffAmount: string | null;
|
|
6624
|
-
seo: {
|
|
6625
|
-
title?: string | null | undefined;
|
|
6626
|
-
description?: string | null | undefined;
|
|
6627
|
-
canonical?: string | null | undefined;
|
|
6628
|
-
} | null;
|
|
6629
|
-
stripeTaxCode: string | null;
|
|
6630
|
-
categoryId: string | null;
|
|
6631
|
-
brandId: string | null;
|
|
6632
6702
|
}[];
|
|
6633
6703
|
parent: {
|
|
6634
6704
|
id: string;
|
|
@@ -6651,29 +6721,10 @@ type APICategoryGetByIdResult = ({
|
|
|
6651
6721
|
products: {
|
|
6652
6722
|
id: string;
|
|
6653
6723
|
name: string;
|
|
6654
|
-
createdAt: string;
|
|
6655
|
-
updatedAt: string;
|
|
6656
|
-
type: "set" | "product" | "bundle";
|
|
6657
6724
|
slug: string;
|
|
6658
6725
|
status: "published" | "draft" | "hidden" | null;
|
|
6659
|
-
flags: unknown;
|
|
6660
|
-
storeId: string;
|
|
6661
6726
|
summary: string | null;
|
|
6662
|
-
content: JSONContent | null;
|
|
6663
6727
|
images: string[];
|
|
6664
|
-
badge: unknown;
|
|
6665
|
-
bundleDiscountPercentage: string | null;
|
|
6666
|
-
bundlePriceMode: "fixed" | "percent" | "amount";
|
|
6667
|
-
bundleFixedPriceAmount: string | null;
|
|
6668
|
-
bundleAmountOffAmount: string | null;
|
|
6669
|
-
seo: {
|
|
6670
|
-
title?: string | null | undefined;
|
|
6671
|
-
description?: string | null | undefined;
|
|
6672
|
-
canonical?: string | null | undefined;
|
|
6673
|
-
} | null;
|
|
6674
|
-
stripeTaxCode: string | null;
|
|
6675
|
-
categoryId: string | null;
|
|
6676
|
-
brandId: string | null;
|
|
6677
6728
|
}[];
|
|
6678
6729
|
} | null;
|
|
6679
6730
|
} | null;
|
|
@@ -6698,29 +6749,10 @@ type APICategoryGetByIdResult = ({
|
|
|
6698
6749
|
products: {
|
|
6699
6750
|
id: string;
|
|
6700
6751
|
name: string;
|
|
6701
|
-
createdAt: string;
|
|
6702
|
-
updatedAt: string;
|
|
6703
|
-
type: "set" | "product" | "bundle";
|
|
6704
6752
|
slug: string;
|
|
6705
6753
|
status: "published" | "draft" | "hidden" | null;
|
|
6706
|
-
flags: unknown;
|
|
6707
|
-
storeId: string;
|
|
6708
6754
|
summary: string | null;
|
|
6709
|
-
content: JSONContent | null;
|
|
6710
6755
|
images: string[];
|
|
6711
|
-
badge: unknown;
|
|
6712
|
-
bundleDiscountPercentage: string | null;
|
|
6713
|
-
bundlePriceMode: "fixed" | "percent" | "amount";
|
|
6714
|
-
bundleFixedPriceAmount: string | null;
|
|
6715
|
-
bundleAmountOffAmount: string | null;
|
|
6716
|
-
seo: {
|
|
6717
|
-
title?: string | null | undefined;
|
|
6718
|
-
description?: string | null | undefined;
|
|
6719
|
-
canonical?: string | null | undefined;
|
|
6720
|
-
} | null;
|
|
6721
|
-
stripeTaxCode: string | null;
|
|
6722
|
-
categoryId: string | null;
|
|
6723
|
-
brandId: string | null;
|
|
6724
6756
|
}[];
|
|
6725
6757
|
children: {
|
|
6726
6758
|
id: string;
|
|
@@ -6743,29 +6775,10 @@ type APICategoryGetByIdResult = ({
|
|
|
6743
6775
|
products: {
|
|
6744
6776
|
id: string;
|
|
6745
6777
|
name: string;
|
|
6746
|
-
createdAt: string;
|
|
6747
|
-
updatedAt: string;
|
|
6748
|
-
type: "set" | "product" | "bundle";
|
|
6749
6778
|
slug: string;
|
|
6750
6779
|
status: "published" | "draft" | "hidden" | null;
|
|
6751
|
-
flags: unknown;
|
|
6752
|
-
storeId: string;
|
|
6753
6780
|
summary: string | null;
|
|
6754
|
-
content: JSONContent | null;
|
|
6755
6781
|
images: string[];
|
|
6756
|
-
badge: unknown;
|
|
6757
|
-
bundleDiscountPercentage: string | null;
|
|
6758
|
-
bundlePriceMode: "fixed" | "percent" | "amount";
|
|
6759
|
-
bundleFixedPriceAmount: string | null;
|
|
6760
|
-
bundleAmountOffAmount: string | null;
|
|
6761
|
-
seo: {
|
|
6762
|
-
title?: string | null | undefined;
|
|
6763
|
-
description?: string | null | undefined;
|
|
6764
|
-
canonical?: string | null | undefined;
|
|
6765
|
-
} | null;
|
|
6766
|
-
stripeTaxCode: string | null;
|
|
6767
|
-
categoryId: string | null;
|
|
6768
|
-
brandId: string | null;
|
|
6769
6782
|
}[];
|
|
6770
6783
|
}[];
|
|
6771
6784
|
}[];
|
|
@@ -6984,366 +6997,167 @@ type APICollectionGetByIdParams = {
|
|
|
6984
6997
|
type APICollectionGetByIdQueryParams = {
|
|
6985
6998
|
lang?: string;
|
|
6986
6999
|
};
|
|
6987
|
-
type
|
|
6988
|
-
|
|
6989
|
-
|
|
6990
|
-
|
|
6991
|
-
|
|
6992
|
-
|
|
6993
|
-
|
|
6994
|
-
|
|
6995
|
-
|
|
6996
|
-
|
|
6997
|
-
|
|
6998
|
-
|
|
6999
|
-
|
|
7000
|
-
|
|
7001
|
-
|
|
7002
|
-
|
|
7003
|
-
|
|
7004
|
-
|
|
7005
|
-
|
|
7006
|
-
|
|
7007
|
-
|
|
7008
|
-
|
|
7009
|
-
|
|
7010
|
-
|
|
7011
|
-
|
|
7012
|
-
|
|
7013
|
-
|
|
7014
|
-
|
|
7015
|
-
|
|
7016
|
-
|
|
7017
|
-
|
|
7018
|
-
|
|
7019
|
-
|
|
7020
|
-
|
|
7021
|
-
|
|
7022
|
-
|
|
7023
|
-
|
|
7024
|
-
|
|
7025
|
-
|
|
7026
|
-
|
|
7027
|
-
|
|
7000
|
+
type APIMeStore = {
|
|
7001
|
+
id: string;
|
|
7002
|
+
name: string;
|
|
7003
|
+
subdomain: string;
|
|
7004
|
+
domain: string | null;
|
|
7005
|
+
domainVerified: boolean;
|
|
7006
|
+
currency: string;
|
|
7007
|
+
locale: string;
|
|
7008
|
+
published: boolean;
|
|
7009
|
+
environment: "live" | "test";
|
|
7010
|
+
settings: {
|
|
7011
|
+
storeName: string | null | undefined;
|
|
7012
|
+
storeDescription: string | null | undefined;
|
|
7013
|
+
socials: {
|
|
7014
|
+
email?: string | null | undefined;
|
|
7015
|
+
instagram?: string | null | undefined;
|
|
7016
|
+
linkedin?: string | null | undefined;
|
|
7017
|
+
x?: string | null | undefined;
|
|
7018
|
+
facebook?: string | null | undefined;
|
|
7019
|
+
youtube?: string | null | undefined;
|
|
7020
|
+
tiktok?: string | null | undefined;
|
|
7021
|
+
} | null | undefined;
|
|
7022
|
+
freeShippingThreshold: string | number | bigint | null | undefined;
|
|
7023
|
+
freeShippingThresholds: Record<string, string> | null | undefined;
|
|
7024
|
+
pageWidth: "default" | "full" | "narrow" | "wider" | "widest" | null | undefined;
|
|
7025
|
+
fontFamily: "default" | "roboto" | "poppins" | "inter" | "merriweather" | "montserrat" | "nunito" | "inconsolata" | "ibmPlexSans" | "cardo" | "spaceMono" | "buenard" | "titanOne" | "bartok" | "robotoSlab" | "playwritePl" | "jetBrainsMono" | null | undefined;
|
|
7026
|
+
fontFamilyHeadings: "default" | "roboto" | "poppins" | "inter" | "merriweather" | "montserrat" | "nunito" | "inconsolata" | "ibmPlexSans" | "cardo" | "spaceMono" | "buenard" | "titanOne" | "bartok" | "robotoSlab" | "playwritePl" | "jetBrainsMono" | null | undefined;
|
|
7027
|
+
fontSizes: {
|
|
7028
|
+
h2?: number | null | undefined;
|
|
7029
|
+
h3?: number | null | undefined;
|
|
7030
|
+
h4?: number | null | undefined;
|
|
7031
|
+
h5?: number | null | undefined;
|
|
7032
|
+
text?: number | null | undefined;
|
|
7033
|
+
} | null | undefined;
|
|
7034
|
+
logo: string | {
|
|
7035
|
+
imageUrl: string;
|
|
7036
|
+
width?: number | null | undefined;
|
|
7037
|
+
height?: number | null | undefined;
|
|
7038
|
+
} | null | undefined;
|
|
7039
|
+
ogimage: string | null | undefined;
|
|
7040
|
+
favicon: {
|
|
7041
|
+
imageUrl: string;
|
|
7042
|
+
width?: number | null | undefined;
|
|
7043
|
+
height?: number | null | undefined;
|
|
7044
|
+
} | null | undefined;
|
|
7045
|
+
colors: {
|
|
7046
|
+
paletteName?: string | null | undefined;
|
|
7047
|
+
palette?: {
|
|
7048
|
+
theme?: {
|
|
7049
|
+
background?: string | undefined;
|
|
7050
|
+
} | undefined;
|
|
7051
|
+
"theme-primary"?: {
|
|
7052
|
+
DEFAULT?: string | undefined;
|
|
7053
|
+
background?: string | undefined;
|
|
7054
|
+
} | undefined;
|
|
7055
|
+
"theme-button"?: {
|
|
7056
|
+
DEFAULT?: string | undefined;
|
|
7057
|
+
background?: string | undefined;
|
|
7058
|
+
} | undefined;
|
|
7059
|
+
} | undefined;
|
|
7060
|
+
} | null | undefined;
|
|
7061
|
+
buttons: {
|
|
7062
|
+
borderWidth?: number | null | undefined;
|
|
7063
|
+
borderRadius?: "none" | "sm" | "md" | "lg" | "full" | null | undefined;
|
|
7064
|
+
shadow?: "none" | "sm" | "md" | "lg" | null | undefined;
|
|
7065
|
+
colors?: {
|
|
7066
|
+
background?: string | null | undefined;
|
|
7067
|
+
text?: string | null | undefined;
|
|
7068
|
+
backgroundHover?: string | null | undefined;
|
|
7069
|
+
textHover?: string | null | undefined;
|
|
7070
|
+
border?: string | null | undefined;
|
|
7028
7071
|
} | null | undefined;
|
|
7029
|
-
|
|
7030
|
-
|
|
7072
|
+
} | null | undefined;
|
|
7073
|
+
cartIcon: "shopping-bag" | "shopping-cart" | "shopping-basket" | null | undefined;
|
|
7074
|
+
checkoutAppearance: {
|
|
7075
|
+
summaryPosition?: "left" | "right" | null | undefined;
|
|
7076
|
+
summaryBackground?: "custom" | "tint" | "plain" | null | undefined;
|
|
7077
|
+
summaryBackgroundColor?: string | null | undefined;
|
|
7078
|
+
cornerRadius?: "small" | "none" | "medium" | "large" | null | undefined;
|
|
7079
|
+
payButtonLabel?: "pay" | "completeOrder" | "placeOrder" | null | undefined;
|
|
7080
|
+
showHeader?: boolean | null | undefined;
|
|
7081
|
+
showPolicyLinks?: boolean | null | undefined;
|
|
7082
|
+
hideExpressWallets?: boolean | null | undefined;
|
|
7031
7083
|
fontFamily?: "default" | "roboto" | "poppins" | "inter" | "merriweather" | "montserrat" | "nunito" | "inconsolata" | "ibmPlexSans" | "cardo" | "spaceMono" | "buenard" | "titanOne" | "bartok" | "robotoSlab" | "playwritePl" | "jetBrainsMono" | null | undefined;
|
|
7032
|
-
fontFamilyHeadings?: "default" | "roboto" | "poppins" | "inter" | "merriweather" | "montserrat" | "nunito" | "inconsolata" | "ibmPlexSans" | "cardo" | "spaceMono" | "buenard" | "titanOne" | "bartok" | "robotoSlab" | "playwritePl" | "jetBrainsMono" | null | undefined;
|
|
7033
|
-
fontSizes?: {
|
|
7034
|
-
h2?: number | null | undefined;
|
|
7035
|
-
h3?: number | null | undefined;
|
|
7036
|
-
h4?: number | null | undefined;
|
|
7037
|
-
h5?: number | null | undefined;
|
|
7038
|
-
text?: number | null | undefined;
|
|
7039
|
-
} | null | undefined;
|
|
7040
|
-
logo?: string | {
|
|
7041
|
-
imageUrl: string;
|
|
7042
|
-
width?: number | null | undefined;
|
|
7043
|
-
height?: number | null | undefined;
|
|
7044
|
-
} | null | undefined;
|
|
7045
|
-
ogimage?: string | null | undefined;
|
|
7046
|
-
favicon?: {
|
|
7047
|
-
imageUrl: string;
|
|
7048
|
-
width?: number | null | undefined;
|
|
7049
|
-
height?: number | null | undefined;
|
|
7050
|
-
} | null | undefined;
|
|
7051
7084
|
colors?: {
|
|
7052
|
-
|
|
7053
|
-
|
|
7054
|
-
theme?: {
|
|
7055
|
-
background?: string | undefined;
|
|
7056
|
-
} | undefined;
|
|
7057
|
-
"theme-primary"?: {
|
|
7058
|
-
DEFAULT?: string | undefined;
|
|
7059
|
-
background?: string | undefined;
|
|
7060
|
-
} | undefined;
|
|
7061
|
-
"theme-button"?: {
|
|
7062
|
-
DEFAULT?: string | undefined;
|
|
7063
|
-
background?: string | undefined;
|
|
7064
|
-
} | undefined;
|
|
7065
|
-
} | undefined;
|
|
7066
|
-
} | null | undefined;
|
|
7067
|
-
invoiceSettings?: {
|
|
7068
|
-
template: string;
|
|
7069
|
-
cadence: "monthly" | "yearly";
|
|
7070
|
-
enabled?: boolean | null | undefined;
|
|
7071
|
-
notes?: string | null | undefined;
|
|
7072
|
-
} | null | undefined;
|
|
7073
|
-
outboundEmail?: string | null | undefined;
|
|
7074
|
-
notificationEmail?: string | null | undefined;
|
|
7075
|
-
notifications?: {
|
|
7076
|
-
newOrderNotifications: boolean | null;
|
|
7077
|
-
lowStockNotifications: boolean | null;
|
|
7078
|
-
trackingEmails: boolean | null;
|
|
7079
|
-
} | null | undefined;
|
|
7080
|
-
buttons?: {
|
|
7081
|
-
borderWidth?: number | null | undefined;
|
|
7082
|
-
borderRadius?: "none" | "sm" | "md" | "lg" | "full" | null | undefined;
|
|
7083
|
-
shadow?: "none" | "sm" | "md" | "lg" | null | undefined;
|
|
7084
|
-
colors?: {
|
|
7085
|
-
background?: string | null | undefined;
|
|
7086
|
-
text?: string | null | undefined;
|
|
7087
|
-
backgroundHover?: string | null | undefined;
|
|
7088
|
-
textHover?: string | null | undefined;
|
|
7089
|
-
border?: string | null | undefined;
|
|
7090
|
-
} | null | undefined;
|
|
7091
|
-
} | null | undefined;
|
|
7092
|
-
cartIcon?: "shopping-bag" | "shopping-cart" | "shopping-basket" | null | undefined;
|
|
7093
|
-
productCards?: {
|
|
7094
|
-
borderRadius?: "none" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
7085
|
+
buttonBackground?: string | null | undefined;
|
|
7086
|
+
buttonText?: string | null | undefined;
|
|
7095
7087
|
} | null | undefined;
|
|
7096
|
-
|
|
7097
|
-
|
|
7098
|
-
|
|
7099
|
-
|
|
7100
|
-
|
|
7101
|
-
|
|
7102
|
-
|
|
7103
|
-
value: string;
|
|
7104
|
-
label: string;
|
|
7105
|
-
}[];
|
|
7106
|
-
}[];
|
|
7107
|
-
} | null | undefined;
|
|
7108
|
-
omnibus?: boolean | null | undefined;
|
|
7109
|
-
detectedCountry?: string | null | undefined;
|
|
7110
|
-
apiKeys?: {
|
|
7088
|
+
} | null | undefined;
|
|
7089
|
+
productCards: {
|
|
7090
|
+
borderRadius?: "none" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
7091
|
+
} | null | undefined;
|
|
7092
|
+
blogFilterConfig: {
|
|
7093
|
+
mode: "simple" | "faceted";
|
|
7094
|
+
facets: {
|
|
7111
7095
|
id: string;
|
|
7112
|
-
|
|
7113
|
-
|
|
7114
|
-
|
|
7115
|
-
|
|
7116
|
-
|
|
7117
|
-
}[] | null | undefined;
|
|
7118
|
-
loyalty?: {
|
|
7119
|
-
pointsPerUnit: number;
|
|
7120
|
-
redemptionRate: number;
|
|
7121
|
-
minRedemption: number;
|
|
7122
|
-
maxRedeemPercent: number;
|
|
7123
|
-
pointsExpiryMonths: number | null;
|
|
7124
|
-
} | null | undefined;
|
|
7125
|
-
bookings?: {
|
|
7126
|
-
timezone: string;
|
|
7127
|
-
defaultSlotDuration: number;
|
|
7128
|
-
bufferTime: number;
|
|
7129
|
-
advanceBookingDays: number;
|
|
7130
|
-
cancellationHours: number;
|
|
7131
|
-
autoConfirm: boolean;
|
|
7132
|
-
requireApproval: boolean;
|
|
7133
|
-
sendReminders: boolean;
|
|
7134
|
-
reminderHours: number;
|
|
7135
|
-
} | null | undefined;
|
|
7136
|
-
subscriptions?: Record<string, never> | null | undefined;
|
|
7137
|
-
dashboard?: {
|
|
7138
|
-
widgets: {
|
|
7139
|
-
id: string;
|
|
7140
|
-
type: "revenue-summary" | "orders-summary" | "aov-summary" | "customers-summary" | "revenue-chart" | "order-status" | "customer-retention" | "top-products";
|
|
7141
|
-
position: number;
|
|
7142
|
-
size: {
|
|
7143
|
-
width: 1 | 2 | 3 | 4;
|
|
7144
|
-
height: 1 | 2 | 3 | 4;
|
|
7145
|
-
};
|
|
7146
|
-
visible: boolean;
|
|
7147
|
-
settings?: Record<string, unknown> | undefined;
|
|
7096
|
+
label: string;
|
|
7097
|
+
type: "single" | "multiple";
|
|
7098
|
+
options: {
|
|
7099
|
+
value: string;
|
|
7100
|
+
label: string;
|
|
7148
7101
|
}[];
|
|
7149
|
-
}
|
|
7150
|
-
emailTracking?: {
|
|
7151
|
-
trackClicks: boolean;
|
|
7152
|
-
trackOpens: boolean;
|
|
7153
|
-
} | null | undefined;
|
|
7154
|
-
defaultLanguage?: "en-US" | "pl-PL" | "es-ES" | "de-DE" | null | undefined;
|
|
7155
|
-
newsletterPopup?: {
|
|
7156
|
-
delaySeconds: number;
|
|
7157
|
-
heading?: string | undefined;
|
|
7158
|
-
subheading?: string | undefined;
|
|
7159
|
-
ctaText?: string | undefined;
|
|
7160
|
-
teaserText?: string | undefined;
|
|
7161
|
-
imageUrl?: string | undefined;
|
|
7162
|
-
discountCode?: string | undefined;
|
|
7163
|
-
} | null | undefined;
|
|
7164
|
-
cartRecommendations?: {
|
|
7165
|
-
layout: "inline" | "sidebar";
|
|
7166
|
-
} | null | undefined;
|
|
7167
|
-
stockHold?: {
|
|
7168
|
-
enabled: boolean;
|
|
7169
|
-
holdMinutes: number;
|
|
7170
|
-
} | null | undefined;
|
|
7171
|
-
aiInstructions?: string | null | undefined;
|
|
7172
|
-
blogSettings?: {
|
|
7173
|
-
modelTier: "extra" | "max" | "regular";
|
|
7174
|
-
systemPrompt?: string | null | undefined;
|
|
7175
|
-
} | null | undefined;
|
|
7176
|
-
enabledCurrencies?: string[] | null | undefined;
|
|
7177
|
-
freeShippingThresholds?: Record<string, string> | null | undefined;
|
|
7102
|
+
}[];
|
|
7178
7103
|
} | null | undefined;
|
|
7179
|
-
|
|
7180
|
-
|
|
7181
|
-
|
|
7182
|
-
|
|
7183
|
-
|
|
7184
|
-
|
|
7185
|
-
|
|
7186
|
-
|
|
7187
|
-
|
|
7188
|
-
|
|
7189
|
-
|
|
7190
|
-
|
|
7191
|
-
|
|
7192
|
-
|
|
7193
|
-
|
|
7194
|
-
|
|
7195
|
-
|
|
7196
|
-
|
|
7197
|
-
|
|
7198
|
-
|
|
7199
|
-
|
|
7200
|
-
|
|
7201
|
-
stripeCustomerId: string | null;
|
|
7202
|
-
environment: "live" | "test";
|
|
7203
|
-
subscribed: boolean;
|
|
7204
|
-
stripeSubscriptionId: string | null;
|
|
7205
|
-
stripeSubscriptionName: "free_monthly" | "free_yearly" | "starter_monthly" | "starter_yearly" | "growth_monthly" | "growth_yearly" | "pro_monthly" | "pro_yearly" | null;
|
|
7206
|
-
storeStatus: "active" | "suspended" | "maintenance";
|
|
7207
|
-
legacyFreeGracePeriodEnd: string | null;
|
|
7208
|
-
customTransactionFee: string | null;
|
|
7209
|
-
lastAppliedStoreThemeId: string | null;
|
|
7210
|
-
builderType: "aibuilder" | "storebuilder";
|
|
7211
|
-
published: boolean;
|
|
7212
|
-
builderConfig: {
|
|
7213
|
-
method: "internal";
|
|
7214
|
-
sandboxId: string;
|
|
7215
|
-
sandboxUrl: string;
|
|
7216
|
-
wsUrl?: string | undefined;
|
|
7217
|
-
vercelProjectId: string;
|
|
7218
|
-
gitHubDeployKey: string;
|
|
7219
|
-
styles?: {
|
|
7220
|
-
colorPalette: {
|
|
7221
|
-
id: string;
|
|
7222
|
-
name: string;
|
|
7223
|
-
colors: {
|
|
7224
|
-
background: string;
|
|
7225
|
-
accent1: string;
|
|
7226
|
-
accent2: string;
|
|
7227
|
-
text: string;
|
|
7228
|
-
};
|
|
7229
|
-
};
|
|
7230
|
-
typography: {
|
|
7231
|
-
id: string;
|
|
7232
|
-
name: string;
|
|
7233
|
-
fontFamily: string;
|
|
7234
|
-
};
|
|
7235
|
-
corners: {
|
|
7236
|
-
id: string;
|
|
7237
|
-
name: string;
|
|
7238
|
-
radius: string;
|
|
7239
|
-
};
|
|
7240
|
-
theme?: {
|
|
7241
|
-
background: string;
|
|
7242
|
-
foreground: string;
|
|
7243
|
-
primary: string;
|
|
7244
|
-
primaryForeground: string;
|
|
7245
|
-
secondary: string;
|
|
7246
|
-
secondaryForeground: string;
|
|
7247
|
-
muted: string;
|
|
7248
|
-
mutedForeground: string;
|
|
7249
|
-
accent: string;
|
|
7250
|
-
accentForeground: string;
|
|
7251
|
-
border: string;
|
|
7252
|
-
radius: string;
|
|
7253
|
-
} | undefined;
|
|
7254
|
-
} | undefined;
|
|
7255
|
-
maxMode?: boolean | undefined;
|
|
7256
|
-
template?: {
|
|
7257
|
-
id: string;
|
|
7258
|
-
name: string;
|
|
7259
|
-
branch: string;
|
|
7260
|
-
} | null | undefined;
|
|
7261
|
-
activeDeployment?: {
|
|
7262
|
-
id: string;
|
|
7263
|
-
url: string;
|
|
7264
|
-
createdAt: string;
|
|
7265
|
-
} | null | undefined;
|
|
7104
|
+
omnibus: boolean | null | undefined;
|
|
7105
|
+
enabledTools: {
|
|
7106
|
+
blog: boolean;
|
|
7107
|
+
newsletter: boolean;
|
|
7108
|
+
loyalty: boolean;
|
|
7109
|
+
reviews: boolean;
|
|
7110
|
+
productSubscriptions: boolean;
|
|
7111
|
+
contactForm: boolean;
|
|
7112
|
+
wishlist: boolean;
|
|
7113
|
+
cookieConsent: boolean;
|
|
7114
|
+
auctions: boolean;
|
|
7115
|
+
surveys: boolean;
|
|
7116
|
+
bookings: boolean;
|
|
7117
|
+
productSets: boolean;
|
|
7118
|
+
restockNotifications: boolean;
|
|
7119
|
+
abandonedCarts: boolean;
|
|
7120
|
+
newsletterPopup: boolean;
|
|
7121
|
+
stripeTaxes: boolean;
|
|
7122
|
+
translations: boolean;
|
|
7123
|
+
cartRecommendations: boolean;
|
|
7124
|
+
withdrawalButton: boolean;
|
|
7125
|
+
events: boolean;
|
|
7266
7126
|
} | null;
|
|
7267
|
-
|
|
7268
|
-
|
|
7269
|
-
|
|
7270
|
-
|
|
7271
|
-
|
|
7272
|
-
|
|
7273
|
-
colors?: {
|
|
7274
|
-
name: string;
|
|
7275
|
-
hex: string;
|
|
7276
|
-
role?: "primary" | "secondary" | "accent" | "background" | "foreground" | "muted" | "border" | "other" | undefined;
|
|
7277
|
-
notes?: string | undefined;
|
|
7278
|
-
}[] | undefined;
|
|
7279
|
-
typography?: {
|
|
7280
|
-
headingFont?: string | undefined;
|
|
7281
|
-
bodyFont?: string | undefined;
|
|
7282
|
-
monoFont?: string | undefined;
|
|
7283
|
-
fontUrls?: string[] | undefined;
|
|
7284
|
-
scale?: "compact" | "normal" | "spacious" | undefined;
|
|
7285
|
-
notes?: string | undefined;
|
|
7286
|
-
} | undefined;
|
|
7287
|
-
logos?: {
|
|
7288
|
-
variant: "primary" | "wordmark" | "mark" | "light" | "dark" | "monochrome";
|
|
7289
|
-
url: string;
|
|
7290
|
-
background?: "any" | "light" | "dark" | undefined;
|
|
7291
|
-
}[] | undefined;
|
|
7292
|
-
voice?: {
|
|
7293
|
-
tone?: string[] | undefined;
|
|
7294
|
-
personality?: string | undefined;
|
|
7295
|
-
dos?: string[] | undefined;
|
|
7296
|
-
donts?: string[] | undefined;
|
|
7297
|
-
vocabulary?: {
|
|
7298
|
-
preferred?: string[] | undefined;
|
|
7299
|
-
avoid?: string[] | undefined;
|
|
7300
|
-
} | undefined;
|
|
7301
|
-
} | undefined;
|
|
7302
|
-
imagery?: {
|
|
7303
|
-
style?: string | undefined;
|
|
7304
|
-
subjects?: string[] | undefined;
|
|
7305
|
-
avoid?: string[] | undefined;
|
|
7306
|
-
referenceUrls?: string[] | undefined;
|
|
7307
|
-
} | undefined;
|
|
7308
|
-
borderRadius?: "none" | "sm" | "md" | "lg" | "full" | undefined;
|
|
7309
|
-
links?: {
|
|
7310
|
-
website?: string | undefined;
|
|
7311
|
-
instagram?: string | undefined;
|
|
7312
|
-
twitter?: string | undefined;
|
|
7313
|
-
linkedin?: string | undefined;
|
|
7314
|
-
} | undefined;
|
|
7315
|
-
} | undefined;
|
|
7316
|
-
guidelines?: string | undefined;
|
|
7317
|
-
pdfUrl?: string | undefined;
|
|
7318
|
-
updatedAt?: string | undefined;
|
|
7319
|
-
} | null;
|
|
7320
|
-
appSumoLicenseKey: string | null;
|
|
7321
|
-
appSumoLicense: {
|
|
7322
|
-
createdAt: string;
|
|
7323
|
-
updatedAt: string;
|
|
7324
|
-
userId: string | null;
|
|
7325
|
-
licenseKey: string;
|
|
7326
|
-
licenseStatus: "active" | "inactive";
|
|
7327
|
-
tier: number | null;
|
|
7328
|
-
extra: unknown;
|
|
7329
|
-
} | null;
|
|
7330
|
-
address: {
|
|
7331
|
-
id: string;
|
|
7332
|
-
name: string | null;
|
|
7333
|
-
createdAt: string;
|
|
7334
|
-
updatedAt: string;
|
|
7335
|
-
type: "shipping" | "billing" | "merchant";
|
|
7336
|
-
company: string | null;
|
|
7337
|
-
city: string | null;
|
|
7338
|
-
country: string | null;
|
|
7339
|
-
line1: string | null;
|
|
7340
|
-
line2: string | null;
|
|
7341
|
-
postalCode: string | null;
|
|
7342
|
-
state: string | null;
|
|
7343
|
-
phone: string | null;
|
|
7344
|
-
taxId: string | null;
|
|
7127
|
+
defaultLanguage: "en-US" | "pl-PL" | "es-ES" | "de-DE" | null | undefined;
|
|
7128
|
+
enabledLanguages: {
|
|
7129
|
+
"en-US": boolean;
|
|
7130
|
+
"pl-PL": boolean;
|
|
7131
|
+
"es-ES": boolean;
|
|
7132
|
+
"de-DE": boolean;
|
|
7345
7133
|
} | null;
|
|
7346
|
-
|
|
7134
|
+
enabledCurrencies: string[] | null | undefined;
|
|
7135
|
+
newsletterPopup: {
|
|
7136
|
+
delaySeconds: number;
|
|
7137
|
+
heading?: string | undefined;
|
|
7138
|
+
subheading?: string | undefined;
|
|
7139
|
+
ctaText?: string | undefined;
|
|
7140
|
+
teaserText?: string | undefined;
|
|
7141
|
+
imageUrl?: string | undefined;
|
|
7142
|
+
discountCode?: string | undefined;
|
|
7143
|
+
} | null | undefined;
|
|
7144
|
+
welcomeOffer: {
|
|
7145
|
+
enabled: boolean;
|
|
7146
|
+
mode: "shared" | "unique";
|
|
7147
|
+
discountType: "fixed" | "percentage";
|
|
7148
|
+
expiryDays: number;
|
|
7149
|
+
sharedCouponId?: string | null | undefined;
|
|
7150
|
+
sharedCouponCode?: string | null | undefined;
|
|
7151
|
+
uniquePrefix?: string | null | undefined;
|
|
7152
|
+
discountValue?: number | null | undefined;
|
|
7153
|
+
} | null | undefined;
|
|
7154
|
+
cartRecommendations: {
|
|
7155
|
+
layout: "inline" | "sidebar";
|
|
7156
|
+
} | null | undefined;
|
|
7157
|
+
} | null;
|
|
7158
|
+
};
|
|
7159
|
+
type APIMeGetResult = {
|
|
7160
|
+
store: APIMeStore;
|
|
7347
7161
|
storeBaseUrl: string;
|
|
7348
7162
|
publicUrl: string;
|
|
7349
7163
|
};
|
|
@@ -7796,6 +7610,7 @@ type APIVariantCreateResult = {
|
|
|
7796
7610
|
type APISubscriberCreateBody = {
|
|
7797
7611
|
email: string;
|
|
7798
7612
|
name?: string;
|
|
7613
|
+
placement?: string;
|
|
7799
7614
|
};
|
|
7800
7615
|
type APISubscriberCreateResult = {
|
|
7801
7616
|
id: string;
|
|
@@ -7806,10 +7621,15 @@ type APISubscriberCreateResult = {
|
|
|
7806
7621
|
storeId: string;
|
|
7807
7622
|
location: string | null;
|
|
7808
7623
|
source: string;
|
|
7624
|
+
placement: string | null;
|
|
7809
7625
|
unsubscribed: boolean;
|
|
7810
7626
|
unsubscribedAt: string | null;
|
|
7811
7627
|
unsubscribeToken: string | null;
|
|
7812
|
-
}
|
|
7628
|
+
} & {
|
|
7629
|
+
welcomeOffer: {
|
|
7630
|
+
status: "queued" | "off";
|
|
7631
|
+
};
|
|
7632
|
+
};
|
|
7813
7633
|
type APISubscriberDeleteResult = {
|
|
7814
7634
|
status: "unsubscribed";
|
|
7815
7635
|
};
|
|
@@ -7824,6 +7644,7 @@ type APIContactMessageCreateResult = {
|
|
|
7824
7644
|
updatedAt: string;
|
|
7825
7645
|
message: string;
|
|
7826
7646
|
storeId: string;
|
|
7647
|
+
routingKey: string | null;
|
|
7827
7648
|
readAt: string | null;
|
|
7828
7649
|
} | undefined;
|
|
7829
7650
|
type APIProductCreateBody = {
|
|
@@ -8798,4 +8619,4 @@ type APICartDeleteResult = {
|
|
|
8798
8619
|
success: boolean;
|
|
8799
8620
|
};
|
|
8800
8621
|
|
|
8801
|
-
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 };
|
|
8622
|
+
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, APIMeStore, 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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { APIMeGetResult, APISocialsGetResult, APIBrandsBrowseQueryParams, APIBrandsBrowseResult, APIBrandGetByIdParams, APIBrandGetByIdResult, APIBrandCreateBody, APIBrandCreateResult, APIBrandUpdateBody, APIBrandUpdateResult, APIBrandDeleteResult, APIBrandAssignProductsBody, APIBrandAssignProductsResult, APIOrderRefundsParams, APIOrderRefundsBrowseQueryParams, APIOrderRefundsBrowseResult, APIOrderRefundGetParams, APIOrderRefundGetResult, APIProductBatchBody, APIProductBatchResult, APICartDeleteResult, APIProductsBrowseQueryParams, APIProductsBrowseResult, APIProductFiltersResult, APIProductGetByIdParams, APIProductGetByIdResult, APIOrdersBrowseQueryParams, APIOrdersBrowseResult, APIOrderGetByIdParams, APIOrderGetByIdResult, APICartCreateBody, APICartCreateResult, APICartGetResult, APICouponsBrowseQueryParams, APICouponsBrowseResult, APICouponGetByIdParams, APICouponGetByIdResult, APICouponCreateBody, APICouponCreateResult, APICouponUpdateBody, APICouponUpdateResult, APICouponDeleteResult, APISupportCasesBrowseQueryParams, APISupportCasesBrowseResult, APISupportCaseGetParams, APISupportCaseGetResult, APISupportCaseCreateBody, APISupportCaseCreateResult, APISupportCaseUpdateBody, APISupportCaseUpdateResult, APISupportCaseMessageCreateBody, APISupportCaseMessageCreateResult, APICollectionGetByIdParams, APICollectionGetByIdResult, APICollectionsBrowseQueryParams, APICollectionsBrowseResult, APICollectionCreateBody, APICollectionCreateResult, APICollectionUpdateBody, APICollectionUpdateResult, APICollectionDeleteResult, APICategoryGetByIdParams, APICategoryGetByIdResult, APICategoriesBrowseQueryParams, APICategoriesBrowseResult, APIPostsBrowseQueryParams, APIPostsBrowseResult, APIPostGetByIdParams, APIPostGetByIdResult, APIPostCreateBody, APIPostCreateResult, APIPostUpdateBody, APIPostUpdateResult, APIPostDeleteResult, APIPostCommentsBrowseQueryParams, APIPostCommentsBrowseResult, APIPostCommentCreateBody, APIPostCommentCreateResult, APIBlogCategoriesBrowseQueryParams, APIBlogCategoriesBrowseResult, APIBlogCategoryGetByIdParams, APIBlogCategoryGetByIdResult, APIBlogCategoryCreateBody, APIBlogCategoryCreateResult, APIBlogCategoryUpdateBody, APIBlogCategoryUpdateResult, APIBlogCategoryDeleteResult, APICustomersBrowseQueryParams, APICustomersBrowseResult, APICustomerGetByIdParams, APICustomerGetByIdResult, APICustomerUpdateBody, APICustomerUpdateResult, APICustomerAddressCreateBody, APICustomerAddressCreateResult, APICustomerOrdersBrowseQueryParams, APICustomerOrdersBrowseResult, APIInventoryBrowseQueryParams, APIInventoryBrowseResult, APIInventoryAdjustBody, APIInventoryAdjustResult, APIVariantGetByIdParams, APIVariantGetByIdResult, APIVariantUpdateBody, APIVariantUpdateResult, APIVariantCreateBody, APIVariantCreateResult, APISubscriberCreateBody, APISubscriberCreateResult, APISubscriberDeleteResult, APIContactMessageCreateBody, APIContactMessageCreateResult, APIProductCreateBody, APIProductCreateResult, APIProductUpdateBody, APIProductUpdateResult, APIProductDeleteResult, APIProductReviewsBrowseQueryParams, APIProductReviewsBrowseResult, APIProductReviewCreateBody, APIProductReviewCreateResult, APIEventsBrowseQueryParams, APIEventsBrowseResult, APIEventGetByIdParams, APIEventGetByIdResult, APIEventCreateBody, APIEventCreateResult, APIEventUpdateBody, APIEventUpdateResult, APIEventAttendeesBrowseResult, APITicketsGetResult, APITicketsUpdateBody, APITicketsUpdateResult, APITicketAttendeeGetResult, APICategoryCreateBody, APICategoryCreateResult, APICategoryUpdateBody, APICategoryUpdateResult, APICategoryDeleteResult, APIOrderUpdateBody, APIOrderUpdateResult, APILegalPagesBrowseQueryParams, APILegalPagesBrowseResult, APILegalPageGetByPathQueryParams, APILegalPageGetByPathResult, APILegalPageCreateBody, APILegalPageCreateQueryParams, APILegalPageCreateResult, APILegalPageUpdateBody, APILegalPageUpdateQueryParams, APILegalPageUpdateResult, APISearchQueryParams, APISearchResult, APIInstaviewImagesBrowseParams, APIInstaviewImagesBrowseQueryParams, APIInstaviewImagesBrowseResult } from './api-types.js';
|
|
2
|
-
export { APICartAddBody, APICartAddResult, APICartRemoveItemQueryParams, APICartRemoveItemResult, APICategoryGetByIdQueryParams, APICategoryUpdateQueryParams, APICollectionGetByIdQueryParams, APILegalPageGetByPathParams, APIProductDeleteQueryParams, APIProductGetByIdQueryParams, APIProductUpdateQueryParams, APISupportCase, APISupportCaseMessage, APITicketAttendeeGetParams, APITicketsGetParams, APITicketsGetQueryParams, APIVariantGetByIdQueryParams, JSONContent } from './api-types.js';
|
|
2
|
+
export { APICartAddBody, APICartAddResult, APICartRemoveItemQueryParams, APICartRemoveItemResult, APICategoryGetByIdQueryParams, APICategoryUpdateQueryParams, APICollectionGetByIdQueryParams, APILegalPageGetByPathParams, APIMeStore, APIProductDeleteQueryParams, APIProductGetByIdQueryParams, APIProductUpdateQueryParams, APISupportCase, APISupportCaseMessage, APITicketAttendeeGetParams, APITicketsGetParams, APITicketsGetQueryParams, APIVariantGetByIdQueryParams, JSONContent } from './api-types.js';
|
|
3
3
|
|
|
4
4
|
interface CommerceConfig {
|
|
5
5
|
/** API key. Defaults to process.env.YNS_API_KEY */
|