commerce-kit 0.45.0 → 0.46.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 +159 -5
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/api-types.d.ts
CHANGED
|
@@ -3041,6 +3041,7 @@ type APIProductGetByIdResult = ({
|
|
|
3041
3041
|
})[];
|
|
3042
3042
|
}) & {
|
|
3043
3043
|
lang?: string;
|
|
3044
|
+
omnibusPrices: Record<string, string>;
|
|
3044
3045
|
});
|
|
3045
3046
|
type APIProductGetByIdParams = {
|
|
3046
3047
|
idOrSlug: string;
|
|
@@ -3243,6 +3244,10 @@ type APICartGetResult = {
|
|
|
3243
3244
|
quantity: number;
|
|
3244
3245
|
productVariantId: string;
|
|
3245
3246
|
subscriptionPlanId: string | null;
|
|
3247
|
+
attendees: {
|
|
3248
|
+
name: string;
|
|
3249
|
+
email: string | null;
|
|
3250
|
+
}[] | null;
|
|
3246
3251
|
subscriptionPlan: {
|
|
3247
3252
|
id: string;
|
|
3248
3253
|
name: string;
|
|
@@ -3664,6 +3669,10 @@ type APICartCreateResult = {
|
|
|
3664
3669
|
quantity: number;
|
|
3665
3670
|
productVariantId: string;
|
|
3666
3671
|
subscriptionPlanId: string | null;
|
|
3672
|
+
attendees: {
|
|
3673
|
+
name: string;
|
|
3674
|
+
email: string | null;
|
|
3675
|
+
}[] | null;
|
|
3667
3676
|
subscriptionPlan: {
|
|
3668
3677
|
id: string;
|
|
3669
3678
|
name: string;
|
|
@@ -4075,6 +4084,10 @@ type APICartRemoveItemResult = {
|
|
|
4075
4084
|
quantity: number;
|
|
4076
4085
|
productVariantId: string;
|
|
4077
4086
|
subscriptionPlanId: string | null;
|
|
4087
|
+
attendees: {
|
|
4088
|
+
name: string;
|
|
4089
|
+
email: string | null;
|
|
4090
|
+
}[] | null;
|
|
4078
4091
|
subscriptionPlan: {
|
|
4079
4092
|
id: string;
|
|
4080
4093
|
name: string;
|
|
@@ -4419,6 +4432,8 @@ type APIOrdersBrowseResult = {
|
|
|
4419
4432
|
startsAt?: string | null | undefined;
|
|
4420
4433
|
location?: string | null | undefined;
|
|
4421
4434
|
capacity?: number | null | undefined;
|
|
4435
|
+
guestLabel?: string | null | undefined;
|
|
4436
|
+
guest?: string | null | undefined;
|
|
4422
4437
|
} | null | undefined;
|
|
4423
4438
|
} | null;
|
|
4424
4439
|
type: "set" | "product" | "bundle";
|
|
@@ -4557,7 +4572,7 @@ type APIOrdersBrowseResult = {
|
|
|
4557
4572
|
slotId: string | null;
|
|
4558
4573
|
attendees: {
|
|
4559
4574
|
name: string;
|
|
4560
|
-
email: string;
|
|
4575
|
+
email: string | null;
|
|
4561
4576
|
phone: string | null;
|
|
4562
4577
|
dietary: string | null;
|
|
4563
4578
|
notes: string | null;
|
|
@@ -4734,6 +4749,7 @@ type APIOrdersBrowseResult = {
|
|
|
4734
4749
|
externalShipmentId: string | null;
|
|
4735
4750
|
source: string | null;
|
|
4736
4751
|
stripeDeduplicationId: string | null;
|
|
4752
|
+
ticketCode: string | null;
|
|
4737
4753
|
activeSubscriptionId: string | null;
|
|
4738
4754
|
} & {
|
|
4739
4755
|
orderData: {
|
|
@@ -4848,6 +4864,8 @@ type APIOrdersBrowseResult = {
|
|
|
4848
4864
|
startsAt?: string | null | undefined;
|
|
4849
4865
|
location?: string | null | undefined;
|
|
4850
4866
|
capacity?: number | null | undefined;
|
|
4867
|
+
guestLabel?: string | null | undefined;
|
|
4868
|
+
guest?: string | null | undefined;
|
|
4851
4869
|
} | null | undefined;
|
|
4852
4870
|
} | null;
|
|
4853
4871
|
type: "set" | "product" | "bundle";
|
|
@@ -4986,7 +5004,7 @@ type APIOrdersBrowseResult = {
|
|
|
4986
5004
|
slotId: string | null;
|
|
4987
5005
|
attendees: {
|
|
4988
5006
|
name: string;
|
|
4989
|
-
email: string;
|
|
5007
|
+
email: string | null;
|
|
4990
5008
|
phone: string | null;
|
|
4991
5009
|
dietary: string | null;
|
|
4992
5010
|
notes: string | null;
|
|
@@ -5292,6 +5310,8 @@ type APIOrderGetByIdResult = {
|
|
|
5292
5310
|
startsAt?: string | null | undefined;
|
|
5293
5311
|
location?: string | null | undefined;
|
|
5294
5312
|
capacity?: number | null | undefined;
|
|
5313
|
+
guestLabel?: string | null | undefined;
|
|
5314
|
+
guest?: string | null | undefined;
|
|
5295
5315
|
} | null | undefined;
|
|
5296
5316
|
} | null;
|
|
5297
5317
|
type: "set" | "product" | "bundle";
|
|
@@ -5430,7 +5450,7 @@ type APIOrderGetByIdResult = {
|
|
|
5430
5450
|
slotId: string | null;
|
|
5431
5451
|
attendees: {
|
|
5432
5452
|
name: string;
|
|
5433
|
-
email: string;
|
|
5453
|
+
email: string | null;
|
|
5434
5454
|
phone: string | null;
|
|
5435
5455
|
dietary: string | null;
|
|
5436
5456
|
notes: string | null;
|
|
@@ -5607,6 +5627,7 @@ type APIOrderGetByIdResult = {
|
|
|
5607
5627
|
externalShipmentId: string | null;
|
|
5608
5628
|
source: string | null;
|
|
5609
5629
|
stripeDeduplicationId: string | null;
|
|
5630
|
+
ticketCode: string | null;
|
|
5610
5631
|
activeSubscriptionId: string | null;
|
|
5611
5632
|
activeSubscription: {
|
|
5612
5633
|
id: string;
|
|
@@ -5754,6 +5775,8 @@ type APIOrderGetByIdResult = {
|
|
|
5754
5775
|
startsAt?: string | null | undefined;
|
|
5755
5776
|
location?: string | null | undefined;
|
|
5756
5777
|
capacity?: number | null | undefined;
|
|
5778
|
+
guestLabel?: string | null | undefined;
|
|
5779
|
+
guest?: string | null | undefined;
|
|
5757
5780
|
} | null | undefined;
|
|
5758
5781
|
} | null;
|
|
5759
5782
|
type: "set" | "product" | "bundle";
|
|
@@ -5892,7 +5915,7 @@ type APIOrderGetByIdResult = {
|
|
|
5892
5915
|
slotId: string | null;
|
|
5893
5916
|
attendees: {
|
|
5894
5917
|
name: string;
|
|
5895
|
-
email: string;
|
|
5918
|
+
email: string | null;
|
|
5896
5919
|
phone: string | null;
|
|
5897
5920
|
dietary: string | null;
|
|
5898
5921
|
notes: string | null;
|
|
@@ -6364,6 +6387,7 @@ type APICollectionsBrowseResult = Omit<{
|
|
|
6364
6387
|
slug: string;
|
|
6365
6388
|
active: boolean;
|
|
6366
6389
|
description: JSONContent | null;
|
|
6390
|
+
group: string | null;
|
|
6367
6391
|
productCollections: {
|
|
6368
6392
|
productId: string;
|
|
6369
6393
|
}[];
|
|
@@ -6384,6 +6408,7 @@ type APICollectionsBrowseResult = Omit<{
|
|
|
6384
6408
|
slug: string;
|
|
6385
6409
|
active: boolean;
|
|
6386
6410
|
description: JSONContent | null;
|
|
6411
|
+
group: string | null;
|
|
6387
6412
|
productCollections: {
|
|
6388
6413
|
productId: string;
|
|
6389
6414
|
}[];
|
|
@@ -6403,6 +6428,7 @@ type APICollectionsBrowseQueryParams = {
|
|
|
6403
6428
|
limit?: number | undefined;
|
|
6404
6429
|
query?: string | undefined;
|
|
6405
6430
|
active?: boolean | undefined;
|
|
6431
|
+
group?: string | undefined;
|
|
6406
6432
|
lang?: string | undefined;
|
|
6407
6433
|
};
|
|
6408
6434
|
type APICollectionGetByIdResult = ({
|
|
@@ -6429,6 +6455,7 @@ type APICollectionGetByIdResult = ({
|
|
|
6429
6455
|
} | null;
|
|
6430
6456
|
longDescription: JSONContent | null;
|
|
6431
6457
|
kind: "product" | "event";
|
|
6458
|
+
group: string | null;
|
|
6432
6459
|
productCollections: {
|
|
6433
6460
|
position: string | null;
|
|
6434
6461
|
productId: string;
|
|
@@ -6482,6 +6509,7 @@ type APICollectionGetByIdResult = ({
|
|
|
6482
6509
|
} | null;
|
|
6483
6510
|
longDescription: JSONContent | null;
|
|
6484
6511
|
kind: "product" | "event";
|
|
6512
|
+
group: string | null;
|
|
6485
6513
|
productCollections: {
|
|
6486
6514
|
position: string | null;
|
|
6487
6515
|
productId: string;
|
|
@@ -7494,6 +7522,7 @@ type APICollectionCreateBody = {
|
|
|
7494
7522
|
slug?: string | undefined;
|
|
7495
7523
|
description?: string | undefined;
|
|
7496
7524
|
image?: string | undefined;
|
|
7525
|
+
group?: string | undefined;
|
|
7497
7526
|
};
|
|
7498
7527
|
type APICollectionCreateResult = {
|
|
7499
7528
|
data: {
|
|
@@ -7504,6 +7533,7 @@ type APICollectionCreateResult = {
|
|
|
7504
7533
|
slug: string;
|
|
7505
7534
|
active: boolean;
|
|
7506
7535
|
description: JSONContent | null;
|
|
7536
|
+
group: string | null;
|
|
7507
7537
|
productCollections: {
|
|
7508
7538
|
productId: string;
|
|
7509
7539
|
}[];
|
|
@@ -7528,6 +7558,7 @@ type APICollectionUpdateBody = {
|
|
|
7528
7558
|
max?: number | null | undefined;
|
|
7529
7559
|
} | undefined;
|
|
7530
7560
|
active?: boolean | undefined;
|
|
7561
|
+
group?: string | null | undefined;
|
|
7531
7562
|
};
|
|
7532
7563
|
type APICollectionUpdateResult = {
|
|
7533
7564
|
id: string;
|
|
@@ -7553,6 +7584,7 @@ type APICollectionUpdateResult = {
|
|
|
7553
7584
|
} | null;
|
|
7554
7585
|
longDescription: JSONContent | null;
|
|
7555
7586
|
kind: "product" | "event";
|
|
7587
|
+
group: string | null;
|
|
7556
7588
|
productCollections: {
|
|
7557
7589
|
position: string | null;
|
|
7558
7590
|
productId: string;
|
|
@@ -7672,13 +7704,21 @@ type APIEventsBrowseResult = {
|
|
|
7672
7704
|
id: string;
|
|
7673
7705
|
name: string;
|
|
7674
7706
|
slug: string;
|
|
7707
|
+
summary: string | null;
|
|
7708
|
+
status: "draft" | "published" | "hidden";
|
|
7675
7709
|
images: string[];
|
|
7676
7710
|
event: {
|
|
7677
7711
|
enabled: boolean;
|
|
7678
7712
|
startsAt?: string | null | undefined;
|
|
7679
7713
|
location?: string | null | undefined;
|
|
7680
7714
|
capacity?: number | null | undefined;
|
|
7715
|
+
guestLabel?: string | null | undefined;
|
|
7716
|
+
guest?: string | null | undefined;
|
|
7681
7717
|
};
|
|
7718
|
+
ticket: {
|
|
7719
|
+
variantId: string;
|
|
7720
|
+
price: string;
|
|
7721
|
+
} | null;
|
|
7682
7722
|
ticketsSold: number;
|
|
7683
7723
|
groups: {
|
|
7684
7724
|
id: string;
|
|
@@ -7697,6 +7737,7 @@ type APIEventGetByIdResult = {
|
|
|
7697
7737
|
name: string;
|
|
7698
7738
|
slug: string;
|
|
7699
7739
|
summary: string | null;
|
|
7740
|
+
content: JSONContent | null;
|
|
7700
7741
|
status: "draft" | "published" | "hidden";
|
|
7701
7742
|
images: string[];
|
|
7702
7743
|
event: {
|
|
@@ -7704,7 +7745,13 @@ type APIEventGetByIdResult = {
|
|
|
7704
7745
|
startsAt?: string | null | undefined;
|
|
7705
7746
|
location?: string | null | undefined;
|
|
7706
7747
|
capacity?: number | null | undefined;
|
|
7748
|
+
guestLabel?: string | null | undefined;
|
|
7749
|
+
guest?: string | null | undefined;
|
|
7707
7750
|
};
|
|
7751
|
+
ticket: {
|
|
7752
|
+
variantId: string;
|
|
7753
|
+
price: string;
|
|
7754
|
+
} | null;
|
|
7708
7755
|
groups: {
|
|
7709
7756
|
id: string;
|
|
7710
7757
|
name: string;
|
|
@@ -7721,7 +7768,10 @@ type APIEventCreateBody = {
|
|
|
7721
7768
|
startsAt?: string | null | undefined;
|
|
7722
7769
|
location?: string | null | undefined;
|
|
7723
7770
|
capacity?: number | null | undefined;
|
|
7771
|
+
guestLabel?: string | null | undefined;
|
|
7772
|
+
guest?: string | null | undefined;
|
|
7724
7773
|
description?: string | null | undefined;
|
|
7774
|
+
content?: any;
|
|
7725
7775
|
collectionIds?: string[] | undefined;
|
|
7726
7776
|
collectionNames?: string[] | undefined;
|
|
7727
7777
|
};
|
|
@@ -7744,7 +7794,10 @@ type APIEventUpdateBody = {
|
|
|
7744
7794
|
startsAt?: string | null | undefined;
|
|
7745
7795
|
location?: string | null | undefined;
|
|
7746
7796
|
capacity?: number | null | undefined;
|
|
7797
|
+
guestLabel?: string | null | undefined;
|
|
7798
|
+
guest?: string | null | undefined;
|
|
7747
7799
|
description?: string | null | undefined;
|
|
7800
|
+
content?: any;
|
|
7748
7801
|
status?: "published" | "draft" | undefined;
|
|
7749
7802
|
images?: string[] | undefined;
|
|
7750
7803
|
collectionIds?: string[] | undefined;
|
|
@@ -7761,9 +7814,110 @@ type APIEventAttendeesBrowseResult = {
|
|
|
7761
7814
|
name: string | null;
|
|
7762
7815
|
email: string | null;
|
|
7763
7816
|
quantity: number;
|
|
7817
|
+
source: "ticket" | "buyer";
|
|
7764
7818
|
}[];
|
|
7765
7819
|
totalTickets: number;
|
|
7766
7820
|
};
|
|
7821
|
+
type APITicketsGetParams = {
|
|
7822
|
+
code: string;
|
|
7823
|
+
};
|
|
7824
|
+
type APITicketsGetQueryParams = {
|
|
7825
|
+
email: string;
|
|
7826
|
+
};
|
|
7827
|
+
type APITicketsGetResult = {
|
|
7828
|
+
code: string;
|
|
7829
|
+
order: {
|
|
7830
|
+
id: string;
|
|
7831
|
+
lookup: number;
|
|
7832
|
+
createdAt: string;
|
|
7833
|
+
status: string;
|
|
7834
|
+
currency: string;
|
|
7835
|
+
totalGross: number | null;
|
|
7836
|
+
};
|
|
7837
|
+
buyerEmail: string;
|
|
7838
|
+
lines: {
|
|
7839
|
+
lineItemId: string;
|
|
7840
|
+
product: {
|
|
7841
|
+
id: string;
|
|
7842
|
+
name: string;
|
|
7843
|
+
slug: string;
|
|
7844
|
+
image: string | null;
|
|
7845
|
+
};
|
|
7846
|
+
event: {
|
|
7847
|
+
startsAt: string | null;
|
|
7848
|
+
location: string | null;
|
|
7849
|
+
guestLabel: string | null;
|
|
7850
|
+
guest: string | null;
|
|
7851
|
+
};
|
|
7852
|
+
seats: {
|
|
7853
|
+
token: string;
|
|
7854
|
+
name: string | null;
|
|
7855
|
+
email: string | null;
|
|
7856
|
+
}[];
|
|
7857
|
+
}[];
|
|
7858
|
+
};
|
|
7859
|
+
type APITicketsUpdateBody = {
|
|
7860
|
+
email: string;
|
|
7861
|
+
seats: {
|
|
7862
|
+
token: string;
|
|
7863
|
+
name: string;
|
|
7864
|
+
email: string | null;
|
|
7865
|
+
}[];
|
|
7866
|
+
};
|
|
7867
|
+
type APITicketsUpdateResult = {
|
|
7868
|
+
code: string;
|
|
7869
|
+
order: {
|
|
7870
|
+
id: string;
|
|
7871
|
+
lookup: number;
|
|
7872
|
+
createdAt: string;
|
|
7873
|
+
status: string;
|
|
7874
|
+
currency: string;
|
|
7875
|
+
totalGross: number | null;
|
|
7876
|
+
};
|
|
7877
|
+
buyerEmail: string;
|
|
7878
|
+
lines: {
|
|
7879
|
+
lineItemId: string;
|
|
7880
|
+
product: {
|
|
7881
|
+
id: string;
|
|
7882
|
+
name: string;
|
|
7883
|
+
slug: string;
|
|
7884
|
+
image: string | null;
|
|
7885
|
+
};
|
|
7886
|
+
event: {
|
|
7887
|
+
startsAt: string | null;
|
|
7888
|
+
location: string | null;
|
|
7889
|
+
guestLabel: string | null;
|
|
7890
|
+
guest: string | null;
|
|
7891
|
+
};
|
|
7892
|
+
seats: {
|
|
7893
|
+
token: string;
|
|
7894
|
+
name: string | null;
|
|
7895
|
+
email: string | null;
|
|
7896
|
+
}[];
|
|
7897
|
+
}[];
|
|
7898
|
+
};
|
|
7899
|
+
type APITicketAttendeeGetParams = {
|
|
7900
|
+
token: string;
|
|
7901
|
+
};
|
|
7902
|
+
type APITicketAttendeeGetResult = {
|
|
7903
|
+
token: string;
|
|
7904
|
+
attendee: {
|
|
7905
|
+
name: string | null;
|
|
7906
|
+
email: string | null;
|
|
7907
|
+
};
|
|
7908
|
+
product: {
|
|
7909
|
+
name: string;
|
|
7910
|
+
slug: string;
|
|
7911
|
+
image: string | null;
|
|
7912
|
+
};
|
|
7913
|
+
event: {
|
|
7914
|
+
startsAt: string | null;
|
|
7915
|
+
location: string | null;
|
|
7916
|
+
guestLabel: string | null;
|
|
7917
|
+
guest: string | null;
|
|
7918
|
+
};
|
|
7919
|
+
orderStatus: string;
|
|
7920
|
+
};
|
|
7767
7921
|
type APIBrandsBrowseResult = Omit<{
|
|
7768
7922
|
data: {
|
|
7769
7923
|
id: string;
|
|
@@ -8078,4 +8232,4 @@ type APICartDeleteResult = {
|
|
|
8078
8232
|
success: boolean;
|
|
8079
8233
|
};
|
|
8080
8234
|
|
|
8081
|
-
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, 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, APILegalPageGetByPathResult, 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, APIVariantCreateBody, APIVariantCreateResult, APIVariantGetByIdParams, APIVariantGetByIdQueryParams, APIVariantGetByIdResult, APIVariantUpdateBody, APIVariantUpdateResult, JSONContent };
|
|
8235
|
+
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, 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, APILegalPageGetByPathResult, APILegalPagesBrowseResult, APIMeGetResult, APIOrderGetByIdParams, APIOrderGetByIdResult, APIOrderRefundGetParams, APIOrderRefundGetResult, APIOrderRefundsBrowseQueryParams, APIOrderRefundsBrowseResult, APIOrderRefundsParams, APIOrderUpdateBody, APIOrderUpdateResult, APIOrdersBrowseQueryParams, APIOrdersBrowseResult, APIPostCommentCreateBody, APIPostCommentCreateResult, APIPostCommentsBrowseQueryParams, APIPostCommentsBrowseResult, APIPostCreateBody, APIPostCreateResult, APIPostDeleteResult, APIPostGetByIdParams, APIPostGetByIdResult, APIPostUpdateBody, APIPostUpdateResult, APIPostsBrowseQueryParams, APIPostsBrowseResult, APIProductBatchBody, APIProductBatchResult, APIProductCreateBody, APIProductCreateResult, APIProductDeleteQueryParams, APIProductDeleteResult, APIProductFiltersResult, APIProductGetByIdParams, APIProductGetByIdQueryParams, APIProductGetByIdResult, APIProductReviewCreateBody, APIProductReviewCreateResult, APIProductReviewsBrowseQueryParams, APIProductReviewsBrowseResult, APIProductUpdateBody, APIProductUpdateQueryParams, APIProductUpdateResult, APIProductsBrowseQueryParams, APIProductsBrowseResult, APISearchQueryParams, APISearchResult, APISocialsGetResult, APISubscriberCreateBody, APISubscriberCreateResult, APISubscriberDeleteResult, APITicketAttendeeGetParams, APITicketAttendeeGetResult, APITicketsGetParams, APITicketsGetQueryParams, APITicketsGetResult, APITicketsUpdateBody, APITicketsUpdateResult, APIVariantCreateBody, APIVariantCreateResult, APIVariantGetByIdParams, APIVariantGetByIdQueryParams, APIVariantGetByIdResult, APIVariantUpdateBody, APIVariantUpdateResult, JSONContent };
|
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, 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, APICategoryCreateBody, APICategoryCreateResult, APICategoryUpdateBody, APICategoryUpdateResult, APICategoryDeleteResult, APIOrderUpdateBody, APIOrderUpdateResult, APILegalPagesBrowseResult, APILegalPageGetByPathResult, APISearchQueryParams, APISearchResult, APIInstaviewImagesBrowseParams, APIInstaviewImagesBrowseQueryParams, APIInstaviewImagesBrowseResult } from './api-types.js';
|
|
2
|
-
export { APICartAddBody, APICartAddResult, APICartRemoveItemQueryParams, APICartRemoveItemResult, APICategoryGetByIdQueryParams, APICategoryUpdateQueryParams, APICollectionGetByIdQueryParams, APIProductDeleteQueryParams, APIProductGetByIdQueryParams, APIProductUpdateQueryParams, APIVariantGetByIdQueryParams, JSONContent } from './api-types.js';
|
|
2
|
+
export { APICartAddBody, APICartAddResult, APICartRemoveItemQueryParams, APICartRemoveItemResult, APICategoryGetByIdQueryParams, APICategoryUpdateQueryParams, APICollectionGetByIdQueryParams, APIProductDeleteQueryParams, APIProductGetByIdQueryParams, APIProductUpdateQueryParams, APITicketAttendeeGetParams, APITicketAttendeeGetResult, APITicketsGetParams, APITicketsGetQueryParams, APITicketsGetResult, APITicketsUpdateBody, APITicketsUpdateResult, APIVariantGetByIdQueryParams, JSONContent } from './api-types.js';
|
|
3
3
|
|
|
4
4
|
interface CommerceConfig {
|
|
5
5
|
/** API key. Defaults to process.env.YNS_API_KEY */
|