commerce-kit 0.54.0 → 0.56.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 +628 -383
- package/dist/index.d.ts +17 -3
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +10 -10
package/dist/api-types.d.ts
CHANGED
|
@@ -4426,6 +4426,472 @@ type APICartRemoveItemResult = {
|
|
|
4426
4426
|
type APICartRemoveItemQueryParams = {
|
|
4427
4427
|
subscriptionPlanId?: string | undefined;
|
|
4428
4428
|
};
|
|
4429
|
+
type APICartCouponApplyBody = {
|
|
4430
|
+
code: string;
|
|
4431
|
+
};
|
|
4432
|
+
type APICartCouponApplyResult = {
|
|
4433
|
+
lineItems: {
|
|
4434
|
+
productVariant: {
|
|
4435
|
+
product: {
|
|
4436
|
+
bundleProducts: {
|
|
4437
|
+
variant: Omit<{
|
|
4438
|
+
storeId: string | null;
|
|
4439
|
+
product: {
|
|
4440
|
+
productTaxRate: {
|
|
4441
|
+
taxRate: {
|
|
4442
|
+
rate: string;
|
|
4443
|
+
label: string | null;
|
|
4444
|
+
};
|
|
4445
|
+
} | null;
|
|
4446
|
+
id: string;
|
|
4447
|
+
name: string;
|
|
4448
|
+
slug: string;
|
|
4449
|
+
images: string[];
|
|
4450
|
+
};
|
|
4451
|
+
id: string;
|
|
4452
|
+
createdAt: string;
|
|
4453
|
+
updatedAt: string;
|
|
4454
|
+
description: string | null;
|
|
4455
|
+
price: string;
|
|
4456
|
+
images: string[];
|
|
4457
|
+
sku: string | null;
|
|
4458
|
+
barcode: string | null;
|
|
4459
|
+
calculatedPrice: string | null;
|
|
4460
|
+
stock: number | null;
|
|
4461
|
+
depth: number | null;
|
|
4462
|
+
width: number | null;
|
|
4463
|
+
height: number | null;
|
|
4464
|
+
weight: number | null;
|
|
4465
|
+
digital: string[] | null;
|
|
4466
|
+
shippable: boolean;
|
|
4467
|
+
externalId: string | null;
|
|
4468
|
+
productId: string;
|
|
4469
|
+
attributes: unknown;
|
|
4470
|
+
originalPrice: string;
|
|
4471
|
+
prices: {
|
|
4472
|
+
createdAt: string;
|
|
4473
|
+
updatedAt: string;
|
|
4474
|
+
currency: string;
|
|
4475
|
+
storeId: string;
|
|
4476
|
+
price: string;
|
|
4477
|
+
calculatedPrice: string | null;
|
|
4478
|
+
variantId: string;
|
|
4479
|
+
}[];
|
|
4480
|
+
}, "prices">;
|
|
4481
|
+
createdAt: string;
|
|
4482
|
+
updatedAt: string;
|
|
4483
|
+
position: number;
|
|
4484
|
+
bundleId: string;
|
|
4485
|
+
maxQuantity: number | null;
|
|
4486
|
+
quantity: number;
|
|
4487
|
+
variantId: string;
|
|
4488
|
+
groupId: string | null;
|
|
4489
|
+
forced: boolean;
|
|
4490
|
+
defaultSelected: boolean;
|
|
4491
|
+
}[];
|
|
4492
|
+
id: string;
|
|
4493
|
+
name: string;
|
|
4494
|
+
createdAt: string;
|
|
4495
|
+
updatedAt: string;
|
|
4496
|
+
type: "set" | "product" | "bundle";
|
|
4497
|
+
slug: string;
|
|
4498
|
+
status: "published" | "draft" | "hidden" | null;
|
|
4499
|
+
flags: unknown;
|
|
4500
|
+
storeId: string;
|
|
4501
|
+
summary: string | null;
|
|
4502
|
+
content: JSONContent | null;
|
|
4503
|
+
images: string[];
|
|
4504
|
+
badge: unknown;
|
|
4505
|
+
bundleDiscountPercentage: string | null;
|
|
4506
|
+
bundlePriceMode: "fixed" | "percent" | "amount";
|
|
4507
|
+
bundleFixedPriceAmount: string | null;
|
|
4508
|
+
bundleAmountOffAmount: string | null;
|
|
4509
|
+
seo: {
|
|
4510
|
+
title?: string | null | undefined;
|
|
4511
|
+
description?: string | null | undefined;
|
|
4512
|
+
canonical?: string | null | undefined;
|
|
4513
|
+
} | null;
|
|
4514
|
+
stripeTaxCode: string | null;
|
|
4515
|
+
categoryId: string | null;
|
|
4516
|
+
brandId: string | null;
|
|
4517
|
+
productTaxRate: {
|
|
4518
|
+
createdAt: string;
|
|
4519
|
+
updatedAt: string;
|
|
4520
|
+
taxRateId: string;
|
|
4521
|
+
productId: string;
|
|
4522
|
+
taxRate: {
|
|
4523
|
+
id: string;
|
|
4524
|
+
name: string;
|
|
4525
|
+
createdAt: string;
|
|
4526
|
+
updatedAt: string;
|
|
4527
|
+
storeId: string;
|
|
4528
|
+
rate: string;
|
|
4529
|
+
label: string | null;
|
|
4530
|
+
};
|
|
4531
|
+
} | null;
|
|
4532
|
+
productCollections: {
|
|
4533
|
+
position: string | null;
|
|
4534
|
+
productId: string;
|
|
4535
|
+
collectionId: string;
|
|
4536
|
+
collection: {
|
|
4537
|
+
id: string;
|
|
4538
|
+
name: string;
|
|
4539
|
+
image: string | null;
|
|
4540
|
+
createdAt: string;
|
|
4541
|
+
updatedAt: string;
|
|
4542
|
+
slug: string;
|
|
4543
|
+
active: boolean;
|
|
4544
|
+
filter: {
|
|
4545
|
+
type: "manual";
|
|
4546
|
+
} | {
|
|
4547
|
+
type: "dynamicPrice";
|
|
4548
|
+
min?: number | null | undefined;
|
|
4549
|
+
max?: number | null | undefined;
|
|
4550
|
+
} | {
|
|
4551
|
+
type: "variantValues";
|
|
4552
|
+
values: Record<string, string[]>;
|
|
4553
|
+
} | {
|
|
4554
|
+
type: "newest";
|
|
4555
|
+
days?: number | null | undefined;
|
|
4556
|
+
};
|
|
4557
|
+
storeId: string;
|
|
4558
|
+
description: JSONContent | null;
|
|
4559
|
+
};
|
|
4560
|
+
}[];
|
|
4561
|
+
setProduct: {
|
|
4562
|
+
selectionCount: number;
|
|
4563
|
+
allowDuplicates: boolean;
|
|
4564
|
+
discountPercentage: string;
|
|
4565
|
+
} | null;
|
|
4566
|
+
};
|
|
4567
|
+
id: string;
|
|
4568
|
+
createdAt: string;
|
|
4569
|
+
updatedAt: string;
|
|
4570
|
+
storeId: string;
|
|
4571
|
+
description: string | null;
|
|
4572
|
+
price: string;
|
|
4573
|
+
images: string[];
|
|
4574
|
+
sku: string | null;
|
|
4575
|
+
barcode: string | null;
|
|
4576
|
+
originalPrice: string;
|
|
4577
|
+
calculatedPrice: string | null;
|
|
4578
|
+
prePromotionPrice: string | null;
|
|
4579
|
+
preVolumePricingPrice: string | null;
|
|
4580
|
+
stock: number | null;
|
|
4581
|
+
depth: number | null;
|
|
4582
|
+
width: number | null;
|
|
4583
|
+
height: number | null;
|
|
4584
|
+
weight: number | null;
|
|
4585
|
+
digital: string[] | null;
|
|
4586
|
+
shippable: boolean;
|
|
4587
|
+
externalId: string | null;
|
|
4588
|
+
productId: string;
|
|
4589
|
+
attributes: unknown;
|
|
4590
|
+
combinations: {
|
|
4591
|
+
createdAt: string;
|
|
4592
|
+
updatedAt: string;
|
|
4593
|
+
productVariantId: string;
|
|
4594
|
+
variantValueId: string;
|
|
4595
|
+
variantValue: {
|
|
4596
|
+
id: string;
|
|
4597
|
+
value: string;
|
|
4598
|
+
variantType: {
|
|
4599
|
+
id: string;
|
|
4600
|
+
label: string;
|
|
4601
|
+
};
|
|
4602
|
+
};
|
|
4603
|
+
}[];
|
|
4604
|
+
};
|
|
4605
|
+
preVolumePricingPrice: string | null;
|
|
4606
|
+
setSelections: {
|
|
4607
|
+
selectedVariant: {
|
|
4608
|
+
combinations: {
|
|
4609
|
+
createdAt: string;
|
|
4610
|
+
updatedAt: string;
|
|
4611
|
+
productVariantId: string;
|
|
4612
|
+
variantValueId: string;
|
|
4613
|
+
variantValue: {
|
|
4614
|
+
id: string;
|
|
4615
|
+
value: string;
|
|
4616
|
+
variantType: {
|
|
4617
|
+
id: string;
|
|
4618
|
+
label: string;
|
|
4619
|
+
};
|
|
4620
|
+
};
|
|
4621
|
+
}[];
|
|
4622
|
+
id: string;
|
|
4623
|
+
price: string;
|
|
4624
|
+
product: {
|
|
4625
|
+
id: string;
|
|
4626
|
+
name: string;
|
|
4627
|
+
};
|
|
4628
|
+
};
|
|
4629
|
+
id: string;
|
|
4630
|
+
createdAt: string;
|
|
4631
|
+
updatedAt: string;
|
|
4632
|
+
position: number;
|
|
4633
|
+
quantity: number;
|
|
4634
|
+
lineItemId: string;
|
|
4635
|
+
selectedVariantId: string;
|
|
4636
|
+
}[];
|
|
4637
|
+
id: string;
|
|
4638
|
+
createdAt: string;
|
|
4639
|
+
updatedAt: string;
|
|
4640
|
+
cartId: string;
|
|
4641
|
+
quantity: number;
|
|
4642
|
+
productVariantId: string;
|
|
4643
|
+
subscriptionPlanId: string | null;
|
|
4644
|
+
attendees: {
|
|
4645
|
+
name: string;
|
|
4646
|
+
email: string | null;
|
|
4647
|
+
}[] | null;
|
|
4648
|
+
subscriptionPlan: {
|
|
4649
|
+
id: string;
|
|
4650
|
+
name: string;
|
|
4651
|
+
createdAt: string;
|
|
4652
|
+
updatedAt: string;
|
|
4653
|
+
interval: number;
|
|
4654
|
+
active: boolean;
|
|
4655
|
+
storeId: string;
|
|
4656
|
+
description: string | null;
|
|
4657
|
+
position: number;
|
|
4658
|
+
cadence: "month" | "week";
|
|
4659
|
+
discountPercent: number;
|
|
4660
|
+
benefits: string | null;
|
|
4661
|
+
} | null;
|
|
4662
|
+
}[];
|
|
4663
|
+
shipping: Omit<{
|
|
4664
|
+
id: string;
|
|
4665
|
+
name: string;
|
|
4666
|
+
createdAt: string;
|
|
4667
|
+
updatedAt: string;
|
|
4668
|
+
type: "courier" | "parcel" | "pickup_point" | "in_store";
|
|
4669
|
+
storeId: string;
|
|
4670
|
+
description: string | null;
|
|
4671
|
+
price: string;
|
|
4672
|
+
minShippingTime: number | null;
|
|
4673
|
+
maxShippingTime: number | null;
|
|
4674
|
+
freeShippingThreshold: string | null;
|
|
4675
|
+
position: number | null;
|
|
4676
|
+
addonId: string | null;
|
|
4677
|
+
addonData: unknown;
|
|
4678
|
+
deliverySlots: unknown;
|
|
4679
|
+
countries: string[] | null;
|
|
4680
|
+
shippingAddon: {
|
|
4681
|
+
id: string;
|
|
4682
|
+
name: string;
|
|
4683
|
+
createdAt: string;
|
|
4684
|
+
updatedAt: string;
|
|
4685
|
+
type: "shipping" | "analytics" | "products" | "invoicing" | "orders";
|
|
4686
|
+
storeId: string;
|
|
4687
|
+
} | null;
|
|
4688
|
+
shippingTaxRate: {
|
|
4689
|
+
createdAt: string;
|
|
4690
|
+
updatedAt: string;
|
|
4691
|
+
shippingId: string;
|
|
4692
|
+
taxRateId: string;
|
|
4693
|
+
taxRate: {
|
|
4694
|
+
id: string;
|
|
4695
|
+
name: string;
|
|
4696
|
+
createdAt: string;
|
|
4697
|
+
updatedAt: string;
|
|
4698
|
+
storeId: string;
|
|
4699
|
+
rate: string;
|
|
4700
|
+
label: string | null;
|
|
4701
|
+
};
|
|
4702
|
+
} | null;
|
|
4703
|
+
prices: {
|
|
4704
|
+
createdAt: string;
|
|
4705
|
+
updatedAt: string;
|
|
4706
|
+
currency: string;
|
|
4707
|
+
storeId: string;
|
|
4708
|
+
price: string;
|
|
4709
|
+
freeShippingThreshold: string | null;
|
|
4710
|
+
shippingId: string;
|
|
4711
|
+
}[];
|
|
4712
|
+
}, "prices"> | null;
|
|
4713
|
+
coupon: Omit<{
|
|
4714
|
+
type: "fixed" | "percentage";
|
|
4715
|
+
value: string;
|
|
4716
|
+
code: string;
|
|
4717
|
+
startDate: string | null;
|
|
4718
|
+
endDate: string | null;
|
|
4719
|
+
minProductCount: number | null;
|
|
4720
|
+
maxProductCount: number | null;
|
|
4721
|
+
products: {
|
|
4722
|
+
id: string;
|
|
4723
|
+
}[];
|
|
4724
|
+
brands: {
|
|
4725
|
+
id: string;
|
|
4726
|
+
}[];
|
|
4727
|
+
collections: {
|
|
4728
|
+
id: string;
|
|
4729
|
+
}[];
|
|
4730
|
+
categories: {
|
|
4731
|
+
id: string;
|
|
4732
|
+
}[];
|
|
4733
|
+
prices: {
|
|
4734
|
+
createdAt: string;
|
|
4735
|
+
updatedAt: string;
|
|
4736
|
+
currency: string;
|
|
4737
|
+
value: string;
|
|
4738
|
+
storeId: string;
|
|
4739
|
+
couponId: string;
|
|
4740
|
+
}[];
|
|
4741
|
+
}, "prices"> | null;
|
|
4742
|
+
customer: {
|
|
4743
|
+
id: string;
|
|
4744
|
+
email: string | null;
|
|
4745
|
+
createdAt: string;
|
|
4746
|
+
updatedAt: string;
|
|
4747
|
+
userId: string | null;
|
|
4748
|
+
storeId: string;
|
|
4749
|
+
couponId: string | null;
|
|
4750
|
+
user: {
|
|
4751
|
+
id: string;
|
|
4752
|
+
name: string;
|
|
4753
|
+
email: string;
|
|
4754
|
+
} | null;
|
|
4755
|
+
coupon: {
|
|
4756
|
+
type: "fixed" | "percentage";
|
|
4757
|
+
value: string;
|
|
4758
|
+
code: string;
|
|
4759
|
+
startDate: string | null;
|
|
4760
|
+
endDate: string | null;
|
|
4761
|
+
minProductCount: number | null;
|
|
4762
|
+
maxProductCount: number | null;
|
|
4763
|
+
products: {
|
|
4764
|
+
id: string;
|
|
4765
|
+
}[];
|
|
4766
|
+
brands: {
|
|
4767
|
+
id: string;
|
|
4768
|
+
}[];
|
|
4769
|
+
collections: {
|
|
4770
|
+
id: string;
|
|
4771
|
+
}[];
|
|
4772
|
+
categories: {
|
|
4773
|
+
id: string;
|
|
4774
|
+
}[];
|
|
4775
|
+
prices: {
|
|
4776
|
+
createdAt: string;
|
|
4777
|
+
updatedAt: string;
|
|
4778
|
+
currency: string;
|
|
4779
|
+
value: string;
|
|
4780
|
+
storeId: string;
|
|
4781
|
+
couponId: string;
|
|
4782
|
+
}[];
|
|
4783
|
+
} | null;
|
|
4784
|
+
} | {
|
|
4785
|
+
coupon: Omit<{
|
|
4786
|
+
type: "fixed" | "percentage";
|
|
4787
|
+
value: string;
|
|
4788
|
+
code: string;
|
|
4789
|
+
startDate: string | null;
|
|
4790
|
+
endDate: string | null;
|
|
4791
|
+
minProductCount: number | null;
|
|
4792
|
+
maxProductCount: number | null;
|
|
4793
|
+
products: {
|
|
4794
|
+
id: string;
|
|
4795
|
+
}[];
|
|
4796
|
+
brands: {
|
|
4797
|
+
id: string;
|
|
4798
|
+
}[];
|
|
4799
|
+
collections: {
|
|
4800
|
+
id: string;
|
|
4801
|
+
}[];
|
|
4802
|
+
categories: {
|
|
4803
|
+
id: string;
|
|
4804
|
+
}[];
|
|
4805
|
+
prices: {
|
|
4806
|
+
createdAt: string;
|
|
4807
|
+
updatedAt: string;
|
|
4808
|
+
currency: string;
|
|
4809
|
+
value: string;
|
|
4810
|
+
storeId: string;
|
|
4811
|
+
couponId: string;
|
|
4812
|
+
}[];
|
|
4813
|
+
}, "prices">;
|
|
4814
|
+
id: string;
|
|
4815
|
+
email: string | null;
|
|
4816
|
+
createdAt: string;
|
|
4817
|
+
updatedAt: string;
|
|
4818
|
+
userId: string | null;
|
|
4819
|
+
storeId: string;
|
|
4820
|
+
couponId: string | null;
|
|
4821
|
+
user: {
|
|
4822
|
+
id: string;
|
|
4823
|
+
name: string;
|
|
4824
|
+
email: string;
|
|
4825
|
+
} | null;
|
|
4826
|
+
} | null;
|
|
4827
|
+
id: string;
|
|
4828
|
+
createdAt: string;
|
|
4829
|
+
updatedAt: string;
|
|
4830
|
+
currency: string | null;
|
|
4831
|
+
storeId: string;
|
|
4832
|
+
addonData: Record<string, unknown> | null | undefined;
|
|
4833
|
+
couponId: string | null;
|
|
4834
|
+
customerId: string | null;
|
|
4835
|
+
stripePaymentIntentId: string | null;
|
|
4836
|
+
checkoutSessionId: string | null;
|
|
4837
|
+
shippingId: string | null;
|
|
4838
|
+
shippingAddressId: string | null;
|
|
4839
|
+
billingAddressId: string | null;
|
|
4840
|
+
deliverySlot: unknown;
|
|
4841
|
+
ucpSessionStatus: "incomplete" | "ready_for_complete" | "requires_escalation" | "complete_in_progress" | "completed" | "canceled" | null;
|
|
4842
|
+
ucpMetadata: {
|
|
4843
|
+
buyerEmail?: string;
|
|
4844
|
+
buyerName?: string;
|
|
4845
|
+
buyerPhone?: string;
|
|
4846
|
+
agentId?: string;
|
|
4847
|
+
externalReference?: string;
|
|
4848
|
+
escalationReason?: string;
|
|
4849
|
+
} | null;
|
|
4850
|
+
acpSessionStatus: "completed" | "canceled" | "not_ready_for_payment" | "ready_for_payment" | null;
|
|
4851
|
+
acpMetadata: {
|
|
4852
|
+
buyerEmail?: string;
|
|
4853
|
+
buyerName?: string;
|
|
4854
|
+
buyerPhone?: string;
|
|
4855
|
+
agentId?: string;
|
|
4856
|
+
externalReference?: string;
|
|
4857
|
+
idempotencyKey?: string;
|
|
4858
|
+
} | null;
|
|
4859
|
+
billingAddress: {
|
|
4860
|
+
id: string;
|
|
4861
|
+
name: string | null;
|
|
4862
|
+
createdAt: string;
|
|
4863
|
+
updatedAt: string;
|
|
4864
|
+
type: "shipping" | "billing" | "merchant";
|
|
4865
|
+
company: string | null;
|
|
4866
|
+
city: string | null;
|
|
4867
|
+
country: string | null;
|
|
4868
|
+
line1: string | null;
|
|
4869
|
+
line2: string | null;
|
|
4870
|
+
postalCode: string | null;
|
|
4871
|
+
state: string | null;
|
|
4872
|
+
phone: string | null;
|
|
4873
|
+
taxId: string | null;
|
|
4874
|
+
} | null;
|
|
4875
|
+
shippingAddress: {
|
|
4876
|
+
id: string;
|
|
4877
|
+
name: string | null;
|
|
4878
|
+
createdAt: string;
|
|
4879
|
+
updatedAt: string;
|
|
4880
|
+
type: "shipping" | "billing" | "merchant";
|
|
4881
|
+
company: string | null;
|
|
4882
|
+
city: string | null;
|
|
4883
|
+
country: string | null;
|
|
4884
|
+
line1: string | null;
|
|
4885
|
+
line2: string | null;
|
|
4886
|
+
postalCode: string | null;
|
|
4887
|
+
state: string | null;
|
|
4888
|
+
phone: string | null;
|
|
4889
|
+
taxId: string | null;
|
|
4890
|
+
} | null;
|
|
4891
|
+
} | null | undefined;
|
|
4892
|
+
type APICartCouponRemoveResult = {
|
|
4893
|
+
ok: boolean;
|
|
4894
|
+
};
|
|
4429
4895
|
type APICouponGetByIdResult = {
|
|
4430
4896
|
id: string;
|
|
4431
4897
|
code: string;
|
|
@@ -4641,6 +5107,7 @@ type APIOrdersBrowseResult = {
|
|
|
4641
5107
|
status: "completed" | "cancelled" | "created" | "paid" | "processing" | "shipped" | "refunded" | "partially_refunded";
|
|
4642
5108
|
environment: "live" | "test";
|
|
4643
5109
|
storeId: string;
|
|
5110
|
+
source: string | null;
|
|
4644
5111
|
customerId: string | null;
|
|
4645
5112
|
lookup: number;
|
|
4646
5113
|
cartId: string | null;
|
|
@@ -5117,7 +5584,6 @@ type APIOrdersBrowseResult = {
|
|
|
5117
5584
|
}[] | null;
|
|
5118
5585
|
};
|
|
5119
5586
|
externalShipmentId: string | null;
|
|
5120
|
-
source: string | null;
|
|
5121
5587
|
paymentDeduplicationId: string | null;
|
|
5122
5588
|
ticketCode: string | null;
|
|
5123
5589
|
activeSubscriptionId: string | null;
|
|
@@ -5612,6 +6078,7 @@ type APIOrderGetByIdResult = {
|
|
|
5612
6078
|
status: "completed" | "cancelled" | "created" | "paid" | "processing" | "shipped" | "refunded" | "partially_refunded";
|
|
5613
6079
|
environment: "live" | "test";
|
|
5614
6080
|
storeId: string;
|
|
6081
|
+
source: string | null;
|
|
5615
6082
|
customerId: string | null;
|
|
5616
6083
|
lookup: number;
|
|
5617
6084
|
cartId: string | null;
|
|
@@ -6088,7 +6555,6 @@ type APIOrderGetByIdResult = {
|
|
|
6088
6555
|
}[] | null;
|
|
6089
6556
|
};
|
|
6090
6557
|
externalShipmentId: string | null;
|
|
6091
|
-
source: string | null;
|
|
6092
6558
|
paymentDeduplicationId: string | null;
|
|
6093
6559
|
ticketCode: string | null;
|
|
6094
6560
|
activeSubscriptionId: string | null;
|
|
@@ -6997,386 +7463,167 @@ type APICollectionGetByIdParams = {
|
|
|
6997
7463
|
type APICollectionGetByIdQueryParams = {
|
|
6998
7464
|
lang?: string;
|
|
6999
7465
|
};
|
|
7000
|
-
type
|
|
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
|
-
|
|
7028
|
-
|
|
7029
|
-
|
|
7030
|
-
|
|
7031
|
-
|
|
7032
|
-
|
|
7033
|
-
|
|
7034
|
-
|
|
7035
|
-
|
|
7036
|
-
|
|
7037
|
-
|
|
7038
|
-
|
|
7039
|
-
|
|
7040
|
-
|
|
7466
|
+
type APIMeStore = {
|
|
7467
|
+
id: string;
|
|
7468
|
+
name: string;
|
|
7469
|
+
subdomain: string;
|
|
7470
|
+
domain: string | null;
|
|
7471
|
+
domainVerified: boolean;
|
|
7472
|
+
currency: string;
|
|
7473
|
+
locale: string;
|
|
7474
|
+
published: boolean;
|
|
7475
|
+
environment: "live" | "test";
|
|
7476
|
+
settings: {
|
|
7477
|
+
storeName: string | null | undefined;
|
|
7478
|
+
storeDescription: string | null | undefined;
|
|
7479
|
+
socials: {
|
|
7480
|
+
email?: string | null | undefined;
|
|
7481
|
+
instagram?: string | null | undefined;
|
|
7482
|
+
linkedin?: string | null | undefined;
|
|
7483
|
+
x?: string | null | undefined;
|
|
7484
|
+
facebook?: string | null | undefined;
|
|
7485
|
+
youtube?: string | null | undefined;
|
|
7486
|
+
tiktok?: string | null | undefined;
|
|
7487
|
+
} | null | undefined;
|
|
7488
|
+
freeShippingThreshold: string | number | bigint | null | undefined;
|
|
7489
|
+
freeShippingThresholds: Record<string, string> | null | undefined;
|
|
7490
|
+
pageWidth: "default" | "full" | "narrow" | "wider" | "widest" | null | undefined;
|
|
7491
|
+
fontFamily: "default" | "roboto" | "poppins" | "inter" | "merriweather" | "montserrat" | "nunito" | "inconsolata" | "ibmPlexSans" | "cardo" | "spaceMono" | "buenard" | "titanOne" | "bartok" | "robotoSlab" | "playwritePl" | "jetBrainsMono" | null | undefined;
|
|
7492
|
+
fontFamilyHeadings: "default" | "roboto" | "poppins" | "inter" | "merriweather" | "montserrat" | "nunito" | "inconsolata" | "ibmPlexSans" | "cardo" | "spaceMono" | "buenard" | "titanOne" | "bartok" | "robotoSlab" | "playwritePl" | "jetBrainsMono" | null | undefined;
|
|
7493
|
+
fontSizes: {
|
|
7494
|
+
h2?: number | null | undefined;
|
|
7495
|
+
h3?: number | null | undefined;
|
|
7496
|
+
h4?: number | null | undefined;
|
|
7497
|
+
h5?: number | null | undefined;
|
|
7498
|
+
text?: number | null | undefined;
|
|
7499
|
+
} | null | undefined;
|
|
7500
|
+
logo: string | {
|
|
7501
|
+
imageUrl: string;
|
|
7502
|
+
width?: number | null | undefined;
|
|
7503
|
+
height?: number | null | undefined;
|
|
7504
|
+
} | null | undefined;
|
|
7505
|
+
ogimage: string | null | undefined;
|
|
7506
|
+
favicon: {
|
|
7507
|
+
imageUrl: string;
|
|
7508
|
+
width?: number | null | undefined;
|
|
7509
|
+
height?: number | null | undefined;
|
|
7510
|
+
} | null | undefined;
|
|
7511
|
+
colors: {
|
|
7512
|
+
paletteName?: string | null | undefined;
|
|
7513
|
+
palette?: {
|
|
7514
|
+
theme?: {
|
|
7515
|
+
background?: string | undefined;
|
|
7516
|
+
} | undefined;
|
|
7517
|
+
"theme-primary"?: {
|
|
7518
|
+
DEFAULT?: string | undefined;
|
|
7519
|
+
background?: string | undefined;
|
|
7520
|
+
} | undefined;
|
|
7521
|
+
"theme-button"?: {
|
|
7522
|
+
DEFAULT?: string | undefined;
|
|
7523
|
+
background?: string | undefined;
|
|
7524
|
+
} | undefined;
|
|
7525
|
+
} | undefined;
|
|
7526
|
+
} | null | undefined;
|
|
7527
|
+
buttons: {
|
|
7528
|
+
borderWidth?: number | null | undefined;
|
|
7529
|
+
borderRadius?: "none" | "sm" | "md" | "lg" | "full" | null | undefined;
|
|
7530
|
+
shadow?: "none" | "sm" | "md" | "lg" | null | undefined;
|
|
7531
|
+
colors?: {
|
|
7532
|
+
background?: string | null | undefined;
|
|
7533
|
+
text?: string | null | undefined;
|
|
7534
|
+
backgroundHover?: string | null | undefined;
|
|
7535
|
+
textHover?: string | null | undefined;
|
|
7536
|
+
border?: string | null | undefined;
|
|
7041
7537
|
} | null | undefined;
|
|
7042
|
-
|
|
7043
|
-
|
|
7538
|
+
} | null | undefined;
|
|
7539
|
+
cartIcon: "shopping-bag" | "shopping-cart" | "shopping-basket" | null | undefined;
|
|
7540
|
+
checkoutAppearance: {
|
|
7541
|
+
summaryPosition?: "left" | "right" | null | undefined;
|
|
7542
|
+
summaryBackground?: "custom" | "tint" | "plain" | null | undefined;
|
|
7543
|
+
summaryBackgroundColor?: string | null | undefined;
|
|
7544
|
+
cornerRadius?: "small" | "none" | "medium" | "large" | null | undefined;
|
|
7545
|
+
payButtonLabel?: "pay" | "completeOrder" | "placeOrder" | null | undefined;
|
|
7546
|
+
showHeader?: boolean | null | undefined;
|
|
7547
|
+
showPolicyLinks?: boolean | null | undefined;
|
|
7548
|
+
hideExpressWallets?: boolean | null | undefined;
|
|
7044
7549
|
fontFamily?: "default" | "roboto" | "poppins" | "inter" | "merriweather" | "montserrat" | "nunito" | "inconsolata" | "ibmPlexSans" | "cardo" | "spaceMono" | "buenard" | "titanOne" | "bartok" | "robotoSlab" | "playwritePl" | "jetBrainsMono" | null | undefined;
|
|
7045
|
-
fontFamilyHeadings?: "default" | "roboto" | "poppins" | "inter" | "merriweather" | "montserrat" | "nunito" | "inconsolata" | "ibmPlexSans" | "cardo" | "spaceMono" | "buenard" | "titanOne" | "bartok" | "robotoSlab" | "playwritePl" | "jetBrainsMono" | null | undefined;
|
|
7046
|
-
fontSizes?: {
|
|
7047
|
-
h2?: number | null | undefined;
|
|
7048
|
-
h3?: number | null | undefined;
|
|
7049
|
-
h4?: number | null | undefined;
|
|
7050
|
-
h5?: number | null | undefined;
|
|
7051
|
-
text?: number | null | undefined;
|
|
7052
|
-
} | null | undefined;
|
|
7053
|
-
logo?: string | {
|
|
7054
|
-
imageUrl: string;
|
|
7055
|
-
width?: number | null | undefined;
|
|
7056
|
-
height?: number | null | undefined;
|
|
7057
|
-
} | null | undefined;
|
|
7058
|
-
ogimage?: string | null | undefined;
|
|
7059
|
-
favicon?: {
|
|
7060
|
-
imageUrl: string;
|
|
7061
|
-
width?: number | null | undefined;
|
|
7062
|
-
height?: number | null | undefined;
|
|
7063
|
-
} | null | undefined;
|
|
7064
7550
|
colors?: {
|
|
7065
|
-
|
|
7066
|
-
|
|
7067
|
-
theme?: {
|
|
7068
|
-
background?: string | undefined;
|
|
7069
|
-
} | undefined;
|
|
7070
|
-
"theme-primary"?: {
|
|
7071
|
-
DEFAULT?: string | undefined;
|
|
7072
|
-
background?: string | undefined;
|
|
7073
|
-
} | undefined;
|
|
7074
|
-
"theme-button"?: {
|
|
7075
|
-
DEFAULT?: string | undefined;
|
|
7076
|
-
background?: string | undefined;
|
|
7077
|
-
} | undefined;
|
|
7078
|
-
} | undefined;
|
|
7079
|
-
} | null | undefined;
|
|
7080
|
-
invoiceSettings?: {
|
|
7081
|
-
template: string;
|
|
7082
|
-
cadence: "monthly" | "yearly";
|
|
7083
|
-
enabled?: boolean | null | undefined;
|
|
7084
|
-
notes?: string | null | undefined;
|
|
7085
|
-
} | null | undefined;
|
|
7086
|
-
outboundEmail?: string | null | undefined;
|
|
7087
|
-
notificationEmail?: string | null | undefined;
|
|
7088
|
-
contactRoutingEmails?: Record<string, string> | null | undefined;
|
|
7089
|
-
notifications?: {
|
|
7090
|
-
newOrderNotifications: boolean | null;
|
|
7091
|
-
lowStockNotifications: boolean | null;
|
|
7092
|
-
trackingEmails: boolean | null;
|
|
7093
|
-
} | null | undefined;
|
|
7094
|
-
buttons?: {
|
|
7095
|
-
borderWidth?: number | null | undefined;
|
|
7096
|
-
borderRadius?: "none" | "sm" | "md" | "lg" | "full" | null | undefined;
|
|
7097
|
-
shadow?: "none" | "sm" | "md" | "lg" | null | undefined;
|
|
7098
|
-
colors?: {
|
|
7099
|
-
background?: string | null | undefined;
|
|
7100
|
-
text?: string | null | undefined;
|
|
7101
|
-
backgroundHover?: string | null | undefined;
|
|
7102
|
-
textHover?: string | null | undefined;
|
|
7103
|
-
border?: string | null | undefined;
|
|
7104
|
-
} | null | undefined;
|
|
7105
|
-
} | null | undefined;
|
|
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;
|
|
7551
|
+
buttonBackground?: string | null | undefined;
|
|
7552
|
+
buttonText?: string | null | undefined;
|
|
7121
7553
|
} | null | undefined;
|
|
7122
|
-
|
|
7123
|
-
|
|
7124
|
-
|
|
7125
|
-
|
|
7126
|
-
|
|
7127
|
-
|
|
7128
|
-
|
|
7129
|
-
label: string;
|
|
7130
|
-
type: "single" | "multiple";
|
|
7131
|
-
options: {
|
|
7132
|
-
value: string;
|
|
7133
|
-
label: string;
|
|
7134
|
-
}[];
|
|
7135
|
-
}[];
|
|
7136
|
-
} | null | undefined;
|
|
7137
|
-
omnibus?: boolean | null | undefined;
|
|
7138
|
-
detectedCountry?: string | null | undefined;
|
|
7139
|
-
apiKeys?: {
|
|
7554
|
+
} | null | undefined;
|
|
7555
|
+
productCards: {
|
|
7556
|
+
borderRadius?: "none" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
7557
|
+
} | null | undefined;
|
|
7558
|
+
blogFilterConfig: {
|
|
7559
|
+
mode: "simple" | "faceted";
|
|
7560
|
+
facets: {
|
|
7140
7561
|
id: string;
|
|
7141
|
-
|
|
7142
|
-
|
|
7143
|
-
|
|
7144
|
-
|
|
7145
|
-
|
|
7146
|
-
system?: boolean | undefined;
|
|
7147
|
-
}[] | null | undefined;
|
|
7148
|
-
loyalty?: {
|
|
7149
|
-
pointsPerUnit: number;
|
|
7150
|
-
redemptionRate: number;
|
|
7151
|
-
minRedemption: number;
|
|
7152
|
-
maxRedeemPercent: number;
|
|
7153
|
-
pointsExpiryMonths: number | null;
|
|
7154
|
-
} | null | undefined;
|
|
7155
|
-
bookings?: {
|
|
7156
|
-
timezone: string;
|
|
7157
|
-
defaultSlotDuration: number;
|
|
7158
|
-
bufferTime: number;
|
|
7159
|
-
advanceBookingDays: number;
|
|
7160
|
-
cancellationHours: number;
|
|
7161
|
-
autoConfirm: boolean;
|
|
7162
|
-
requireApproval: boolean;
|
|
7163
|
-
sendReminders: boolean;
|
|
7164
|
-
reminderHours: number;
|
|
7165
|
-
} | null | undefined;
|
|
7166
|
-
subscriptions?: Record<string, never> | null | undefined;
|
|
7167
|
-
dashboard?: {
|
|
7168
|
-
widgets: {
|
|
7169
|
-
id: string;
|
|
7170
|
-
type: "revenue-summary" | "orders-summary" | "aov-summary" | "customers-summary" | "revenue-chart" | "order-status" | "customer-retention" | "top-products";
|
|
7171
|
-
position: number;
|
|
7172
|
-
size: {
|
|
7173
|
-
width: 1 | 2 | 3 | 4;
|
|
7174
|
-
height: 1 | 2 | 3 | 4;
|
|
7175
|
-
};
|
|
7176
|
-
visible: boolean;
|
|
7177
|
-
settings?: Record<string, unknown> | undefined;
|
|
7562
|
+
label: string;
|
|
7563
|
+
type: "single" | "multiple";
|
|
7564
|
+
options: {
|
|
7565
|
+
value: string;
|
|
7566
|
+
label: string;
|
|
7178
7567
|
}[];
|
|
7179
|
-
}
|
|
7180
|
-
emailTracking?: {
|
|
7181
|
-
trackClicks: boolean;
|
|
7182
|
-
trackOpens: boolean;
|
|
7183
|
-
} | null | undefined;
|
|
7184
|
-
defaultLanguage?: "en-US" | "pl-PL" | "es-ES" | "de-DE" | null | undefined;
|
|
7185
|
-
newsletterPopup?: {
|
|
7186
|
-
delaySeconds: number;
|
|
7187
|
-
heading?: string | undefined;
|
|
7188
|
-
subheading?: string | undefined;
|
|
7189
|
-
ctaText?: string | undefined;
|
|
7190
|
-
teaserText?: string | undefined;
|
|
7191
|
-
imageUrl?: string | undefined;
|
|
7192
|
-
discountCode?: string | undefined;
|
|
7193
|
-
} | null | undefined;
|
|
7194
|
-
cartRecommendations?: {
|
|
7195
|
-
layout: "inline" | "sidebar";
|
|
7196
|
-
} | null | undefined;
|
|
7197
|
-
stockHold?: {
|
|
7198
|
-
enabled: boolean;
|
|
7199
|
-
holdMinutes: number;
|
|
7200
|
-
} | null | undefined;
|
|
7201
|
-
aiInstructions?: string | null | undefined;
|
|
7202
|
-
blogSettings?: {
|
|
7203
|
-
modelTier: "extra" | "max" | "regular";
|
|
7204
|
-
systemPrompt?: string | null | undefined;
|
|
7205
|
-
} | null | undefined;
|
|
7206
|
-
enabledCurrencies?: string[] | null | undefined;
|
|
7207
|
-
freeShippingThresholds?: Record<string, string> | null | undefined;
|
|
7568
|
+
}[];
|
|
7208
7569
|
} | null | undefined;
|
|
7209
|
-
|
|
7210
|
-
|
|
7211
|
-
|
|
7212
|
-
|
|
7213
|
-
|
|
7214
|
-
|
|
7215
|
-
|
|
7216
|
-
|
|
7217
|
-
|
|
7218
|
-
|
|
7219
|
-
|
|
7220
|
-
|
|
7221
|
-
|
|
7222
|
-
|
|
7223
|
-
|
|
7224
|
-
|
|
7225
|
-
|
|
7226
|
-
|
|
7227
|
-
|
|
7228
|
-
|
|
7229
|
-
|
|
7230
|
-
|
|
7231
|
-
stripeCustomerId: string | null;
|
|
7232
|
-
environment: "live" | "test";
|
|
7233
|
-
subscribed: boolean;
|
|
7234
|
-
stripeSubscriptionId: string | null;
|
|
7235
|
-
stripeSubscriptionName: "free_monthly" | "free_yearly" | "starter_monthly" | "starter_yearly" | "growth_monthly" | "growth_yearly" | "pro_monthly" | "pro_yearly" | null;
|
|
7236
|
-
storeStatus: "active" | "suspended" | "maintenance";
|
|
7237
|
-
legacyFreeGracePeriodEnd: string | null;
|
|
7238
|
-
customTransactionFee: string | null;
|
|
7239
|
-
lastAppliedStoreThemeId: string | null;
|
|
7240
|
-
builderType: "aibuilder" | "storebuilder";
|
|
7241
|
-
published: boolean;
|
|
7242
|
-
builderConfig: {
|
|
7243
|
-
method: "internal";
|
|
7244
|
-
sandboxId: string;
|
|
7245
|
-
sandboxUrl: string;
|
|
7246
|
-
wsUrl?: string | undefined;
|
|
7247
|
-
vercelProjectId: string;
|
|
7248
|
-
gitHubDeployKey: string;
|
|
7249
|
-
styles?: {
|
|
7250
|
-
colorPalette: {
|
|
7251
|
-
id: string;
|
|
7252
|
-
name: string;
|
|
7253
|
-
colors: {
|
|
7254
|
-
background: string;
|
|
7255
|
-
accent1: string;
|
|
7256
|
-
accent2: string;
|
|
7257
|
-
text: string;
|
|
7258
|
-
};
|
|
7259
|
-
};
|
|
7260
|
-
typography: {
|
|
7261
|
-
id: string;
|
|
7262
|
-
name: string;
|
|
7263
|
-
fontFamily: string;
|
|
7264
|
-
};
|
|
7265
|
-
corners: {
|
|
7266
|
-
id: string;
|
|
7267
|
-
name: string;
|
|
7268
|
-
radius: string;
|
|
7269
|
-
};
|
|
7270
|
-
theme?: {
|
|
7271
|
-
background: string;
|
|
7272
|
-
foreground: string;
|
|
7273
|
-
primary: string;
|
|
7274
|
-
primaryForeground: string;
|
|
7275
|
-
secondary: string;
|
|
7276
|
-
secondaryForeground: string;
|
|
7277
|
-
muted: string;
|
|
7278
|
-
mutedForeground: string;
|
|
7279
|
-
accent: string;
|
|
7280
|
-
accentForeground: string;
|
|
7281
|
-
border: string;
|
|
7282
|
-
radius: string;
|
|
7283
|
-
} | undefined;
|
|
7284
|
-
} | undefined;
|
|
7285
|
-
maxMode?: boolean | undefined;
|
|
7286
|
-
template?: {
|
|
7287
|
-
id: string;
|
|
7288
|
-
name: string;
|
|
7289
|
-
branch: string;
|
|
7290
|
-
} | null | undefined;
|
|
7291
|
-
activeDeployment?: {
|
|
7292
|
-
id: string;
|
|
7293
|
-
url: string;
|
|
7294
|
-
createdAt: string;
|
|
7295
|
-
} | null | undefined;
|
|
7296
|
-
autoPublish?: boolean | undefined;
|
|
7297
|
-
ynsApiKeyId?: string | undefined;
|
|
7298
|
-
ynsApiKeyEncrypted?: string | undefined;
|
|
7299
|
-
} | null;
|
|
7300
|
-
brandKit: {
|
|
7301
|
-
kit?: {
|
|
7302
|
-
name?: string | undefined;
|
|
7303
|
-
tagline?: string | undefined;
|
|
7304
|
-
mission?: string | undefined;
|
|
7305
|
-
audience?: string | undefined;
|
|
7306
|
-
colors?: {
|
|
7307
|
-
name: string;
|
|
7308
|
-
hex: string;
|
|
7309
|
-
role?: "primary" | "secondary" | "accent" | "background" | "foreground" | "muted" | "border" | "other" | undefined;
|
|
7310
|
-
notes?: string | undefined;
|
|
7311
|
-
}[] | undefined;
|
|
7312
|
-
typography?: {
|
|
7313
|
-
headingFont?: string | undefined;
|
|
7314
|
-
bodyFont?: string | undefined;
|
|
7315
|
-
monoFont?: string | undefined;
|
|
7316
|
-
fontUrls?: string[] | undefined;
|
|
7317
|
-
scale?: "compact" | "normal" | "spacious" | undefined;
|
|
7318
|
-
notes?: string | undefined;
|
|
7319
|
-
} | undefined;
|
|
7320
|
-
logos?: {
|
|
7321
|
-
variant: "primary" | "wordmark" | "mark" | "light" | "dark" | "monochrome";
|
|
7322
|
-
url: string;
|
|
7323
|
-
background?: "any" | "light" | "dark" | undefined;
|
|
7324
|
-
}[] | undefined;
|
|
7325
|
-
voice?: {
|
|
7326
|
-
tone?: string[] | undefined;
|
|
7327
|
-
personality?: string | undefined;
|
|
7328
|
-
dos?: string[] | undefined;
|
|
7329
|
-
donts?: string[] | undefined;
|
|
7330
|
-
vocabulary?: {
|
|
7331
|
-
preferred?: string[] | undefined;
|
|
7332
|
-
avoid?: string[] | undefined;
|
|
7333
|
-
} | undefined;
|
|
7334
|
-
} | undefined;
|
|
7335
|
-
imagery?: {
|
|
7336
|
-
style?: string | undefined;
|
|
7337
|
-
subjects?: string[] | undefined;
|
|
7338
|
-
avoid?: string[] | undefined;
|
|
7339
|
-
referenceUrls?: string[] | undefined;
|
|
7340
|
-
} | undefined;
|
|
7341
|
-
borderRadius?: "none" | "sm" | "md" | "lg" | "full" | undefined;
|
|
7342
|
-
links?: {
|
|
7343
|
-
website?: string | undefined;
|
|
7344
|
-
instagram?: string | undefined;
|
|
7345
|
-
twitter?: string | undefined;
|
|
7346
|
-
linkedin?: string | undefined;
|
|
7347
|
-
} | undefined;
|
|
7348
|
-
} | undefined;
|
|
7349
|
-
guidelines?: string | undefined;
|
|
7350
|
-
pdfUrl?: string | undefined;
|
|
7351
|
-
updatedAt?: string | undefined;
|
|
7352
|
-
} | null;
|
|
7353
|
-
appSumoLicenseKey: string | null;
|
|
7354
|
-
appSumoLicense: {
|
|
7355
|
-
createdAt: string;
|
|
7356
|
-
updatedAt: string;
|
|
7357
|
-
userId: string | null;
|
|
7358
|
-
licenseKey: string;
|
|
7359
|
-
licenseStatus: "active" | "inactive";
|
|
7360
|
-
tier: number | null;
|
|
7361
|
-
extra: unknown;
|
|
7570
|
+
omnibus: boolean | null | undefined;
|
|
7571
|
+
enabledTools: {
|
|
7572
|
+
blog: boolean;
|
|
7573
|
+
newsletter: boolean;
|
|
7574
|
+
loyalty: boolean;
|
|
7575
|
+
reviews: boolean;
|
|
7576
|
+
productSubscriptions: boolean;
|
|
7577
|
+
contactForm: boolean;
|
|
7578
|
+
wishlist: boolean;
|
|
7579
|
+
cookieConsent: boolean;
|
|
7580
|
+
auctions: boolean;
|
|
7581
|
+
surveys: boolean;
|
|
7582
|
+
bookings: boolean;
|
|
7583
|
+
productSets: boolean;
|
|
7584
|
+
restockNotifications: boolean;
|
|
7585
|
+
abandonedCarts: boolean;
|
|
7586
|
+
newsletterPopup: boolean;
|
|
7587
|
+
stripeTaxes: boolean;
|
|
7588
|
+
translations: boolean;
|
|
7589
|
+
cartRecommendations: boolean;
|
|
7590
|
+
withdrawalButton: boolean;
|
|
7591
|
+
events: boolean;
|
|
7362
7592
|
} | null;
|
|
7363
|
-
|
|
7364
|
-
|
|
7365
|
-
|
|
7366
|
-
|
|
7367
|
-
|
|
7368
|
-
|
|
7369
|
-
company: string | null;
|
|
7370
|
-
city: string | null;
|
|
7371
|
-
country: string | null;
|
|
7372
|
-
line1: string | null;
|
|
7373
|
-
line2: string | null;
|
|
7374
|
-
postalCode: string | null;
|
|
7375
|
-
state: string | null;
|
|
7376
|
-
phone: string | null;
|
|
7377
|
-
taxId: string | null;
|
|
7593
|
+
defaultLanguage: "en-US" | "pl-PL" | "es-ES" | "de-DE" | null | undefined;
|
|
7594
|
+
enabledLanguages: {
|
|
7595
|
+
"en-US": boolean;
|
|
7596
|
+
"pl-PL": boolean;
|
|
7597
|
+
"es-ES": boolean;
|
|
7598
|
+
"de-DE": boolean;
|
|
7378
7599
|
} | null;
|
|
7379
|
-
|
|
7600
|
+
enabledCurrencies: string[] | null | undefined;
|
|
7601
|
+
newsletterPopup: {
|
|
7602
|
+
delaySeconds: number;
|
|
7603
|
+
heading?: string | undefined;
|
|
7604
|
+
subheading?: string | undefined;
|
|
7605
|
+
ctaText?: string | undefined;
|
|
7606
|
+
teaserText?: string | undefined;
|
|
7607
|
+
imageUrl?: string | undefined;
|
|
7608
|
+
discountCode?: string | undefined;
|
|
7609
|
+
} | null | undefined;
|
|
7610
|
+
welcomeOffer: {
|
|
7611
|
+
enabled: boolean;
|
|
7612
|
+
mode: "shared" | "unique";
|
|
7613
|
+
discountType: "fixed" | "percentage";
|
|
7614
|
+
expiryDays: number;
|
|
7615
|
+
sharedCouponId?: string | null | undefined;
|
|
7616
|
+
sharedCouponCode?: string | null | undefined;
|
|
7617
|
+
uniquePrefix?: string | null | undefined;
|
|
7618
|
+
discountValue?: number | null | undefined;
|
|
7619
|
+
} | null | undefined;
|
|
7620
|
+
cartRecommendations: {
|
|
7621
|
+
layout: "inline" | "sidebar";
|
|
7622
|
+
} | null | undefined;
|
|
7623
|
+
} | null;
|
|
7624
|
+
};
|
|
7625
|
+
type APIMeGetResult = {
|
|
7626
|
+
store: APIMeStore;
|
|
7380
7627
|
storeBaseUrl: string;
|
|
7381
7628
|
publicUrl: string;
|
|
7382
7629
|
};
|
|
@@ -7833,18 +8080,16 @@ type APISubscriberCreateBody = {
|
|
|
7833
8080
|
};
|
|
7834
8081
|
type APISubscriberCreateResult = {
|
|
7835
8082
|
id: string;
|
|
7836
|
-
name: string | null;
|
|
7837
8083
|
email: string;
|
|
7838
|
-
|
|
7839
|
-
updatedAt: string;
|
|
7840
|
-
storeId: string;
|
|
7841
|
-
location: string | null;
|
|
8084
|
+
name: string | null;
|
|
7842
8085
|
source: string;
|
|
7843
8086
|
placement: string | null;
|
|
7844
|
-
|
|
7845
|
-
|
|
7846
|
-
|
|
7847
|
-
|
|
8087
|
+
pending: boolean;
|
|
8088
|
+
createdAt: string;
|
|
8089
|
+
welcomeOffer: {
|
|
8090
|
+
status: "queued" | "pending_confirmation" | "off";
|
|
8091
|
+
};
|
|
8092
|
+
};
|
|
7848
8093
|
type APISubscriberDeleteResult = {
|
|
7849
8094
|
status: "unsubscribed";
|
|
7850
8095
|
};
|
|
@@ -8834,4 +9079,4 @@ type APICartDeleteResult = {
|
|
|
8834
9079
|
success: boolean;
|
|
8835
9080
|
};
|
|
8836
9081
|
|
|
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 };
|
|
9082
|
+
export type { APIBlogCategoriesBrowseQueryParams, APIBlogCategoriesBrowseResult, APIBlogCategoryCreateBody, APIBlogCategoryCreateResult, APIBlogCategoryDeleteResult, APIBlogCategoryGetByIdParams, APIBlogCategoryGetByIdResult, APIBlogCategoryUpdateBody, APIBlogCategoryUpdateResult, APIBrandAssignProductsBody, APIBrandAssignProductsResult, APIBrandCreateBody, APIBrandCreateResult, APIBrandDeleteResult, APIBrandGetByIdParams, APIBrandGetByIdResult, APIBrandUpdateBody, APIBrandUpdateResult, APIBrandsBrowseQueryParams, APIBrandsBrowseResult, APICartAddBody, APICartAddResult, APICartCouponApplyBody, APICartCouponApplyResult, APICartCouponRemoveResult, 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 };
|