commerce-kit 0.39.2 → 0.41.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.
@@ -5,7 +5,7 @@ type APIProductsBrowseResult = Omit<{
5
5
  name: string;
6
6
  createdAt: string;
7
7
  updatedAt: string;
8
- type: "product" | "bundle" | "set";
8
+ type: "set" | "product" | "bundle";
9
9
  slug: string;
10
10
  status: "published" | "draft" | "hidden" | null;
11
11
  flags: unknown;
@@ -22,6 +22,7 @@ type APIProductsBrowseResult = Omit<{
22
22
  } | null;
23
23
  stripeTaxCode: string | null;
24
24
  categoryId: string | null;
25
+ brandId: string | null;
25
26
  category: {
26
27
  id: string;
27
28
  name: string;
@@ -248,7 +249,7 @@ type APIProductsBrowseResult = Omit<{
248
249
  name: string;
249
250
  createdAt: string;
250
251
  updatedAt: string;
251
- type: "product" | "bundle" | "set";
252
+ type: "set" | "product" | "bundle";
252
253
  slug: string;
253
254
  status: "published" | "draft" | "hidden" | null;
254
255
  flags: unknown;
@@ -265,6 +266,7 @@ type APIProductsBrowseResult = Omit<{
265
266
  } | null;
266
267
  stripeTaxCode: string | null;
267
268
  categoryId: string | null;
269
+ brandId: string | null;
268
270
  category: {
269
271
  id: string;
270
272
  name: string;
@@ -491,7 +493,7 @@ type APIProductsBrowseResult = Omit<{
491
493
  name: string;
492
494
  createdAt: string;
493
495
  updatedAt: string;
494
- type: "product" | "bundle" | "set";
496
+ type: "set" | "product" | "bundle";
495
497
  slug: string;
496
498
  status: "published" | "draft" | "hidden" | null;
497
499
  flags: unknown;
@@ -508,6 +510,7 @@ type APIProductsBrowseResult = Omit<{
508
510
  } | null;
509
511
  stripeTaxCode: string | null;
510
512
  categoryId: string | null;
513
+ brandId: string | null;
511
514
  category: {
512
515
  id: string;
513
516
  name: string;
@@ -734,7 +737,7 @@ type APIProductsBrowseResult = Omit<{
734
737
  name: string;
735
738
  createdAt: string;
736
739
  updatedAt: string;
737
- type: "product" | "bundle" | "set";
740
+ type: "set" | "product" | "bundle";
738
741
  slug: string;
739
742
  status: "published" | "draft" | "hidden" | null;
740
743
  flags: unknown;
@@ -751,6 +754,7 @@ type APIProductsBrowseResult = Omit<{
751
754
  } | null;
752
755
  stripeTaxCode: string | null;
753
756
  categoryId: string | null;
757
+ brandId: string | null;
754
758
  category: {
755
759
  id: string;
756
760
  name: string;
@@ -978,7 +982,7 @@ type APIProductsBrowseResult = Omit<{
978
982
  name: string;
979
983
  createdAt: string;
980
984
  updatedAt: string;
981
- type: "product" | "bundle" | "set";
985
+ type: "set" | "product" | "bundle";
982
986
  slug: string;
983
987
  status: "published" | "draft" | "hidden" | null;
984
988
  flags: unknown;
@@ -995,6 +999,7 @@ type APIProductsBrowseResult = Omit<{
995
999
  } | null;
996
1000
  stripeTaxCode: string | null;
997
1001
  categoryId: string | null;
1002
+ brandId: string | null;
998
1003
  category: {
999
1004
  id: string;
1000
1005
  name: string;
@@ -1231,7 +1236,7 @@ type APIProductsBrowseResult = Omit<{
1231
1236
  name: string;
1232
1237
  createdAt: string;
1233
1238
  updatedAt: string;
1234
- type: "product" | "bundle" | "set";
1239
+ type: "set" | "product" | "bundle";
1235
1240
  slug: string;
1236
1241
  status: "published" | "draft" | "hidden" | null;
1237
1242
  flags: unknown;
@@ -1248,6 +1253,7 @@ type APIProductsBrowseResult = Omit<{
1248
1253
  } | null;
1249
1254
  stripeTaxCode: string | null;
1250
1255
  categoryId: string | null;
1256
+ brandId: string | null;
1251
1257
  category: {
1252
1258
  id: string;
1253
1259
  name: string;
@@ -1474,7 +1480,7 @@ type APIProductsBrowseResult = Omit<{
1474
1480
  name: string;
1475
1481
  createdAt: string;
1476
1482
  updatedAt: string;
1477
- type: "product" | "bundle" | "set";
1483
+ type: "set" | "product" | "bundle";
1478
1484
  slug: string;
1479
1485
  status: "published" | "draft" | "hidden" | null;
1480
1486
  flags: unknown;
@@ -1491,6 +1497,7 @@ type APIProductsBrowseResult = Omit<{
1491
1497
  } | null;
1492
1498
  stripeTaxCode: string | null;
1493
1499
  categoryId: string | null;
1500
+ brandId: string | null;
1494
1501
  category: {
1495
1502
  id: string;
1496
1503
  name: string;
@@ -1717,7 +1724,7 @@ type APIProductsBrowseResult = Omit<{
1717
1724
  name: string;
1718
1725
  createdAt: string;
1719
1726
  updatedAt: string;
1720
- type: "product" | "bundle" | "set";
1727
+ type: "set" | "product" | "bundle";
1721
1728
  slug: string;
1722
1729
  status: "published" | "draft" | "hidden" | null;
1723
1730
  flags: unknown;
@@ -1734,6 +1741,7 @@ type APIProductsBrowseResult = Omit<{
1734
1741
  } | null;
1735
1742
  stripeTaxCode: string | null;
1736
1743
  categoryId: string | null;
1744
+ brandId: string | null;
1737
1745
  category: {
1738
1746
  id: string;
1739
1747
  name: string;
@@ -1960,7 +1968,7 @@ type APIProductsBrowseResult = Omit<{
1960
1968
  name: string;
1961
1969
  createdAt: string;
1962
1970
  updatedAt: string;
1963
- type: "product" | "bundle" | "set";
1971
+ type: "set" | "product" | "bundle";
1964
1972
  slug: string;
1965
1973
  status: "published" | "draft" | "hidden" | null;
1966
1974
  flags: unknown;
@@ -1977,6 +1985,7 @@ type APIProductsBrowseResult = Omit<{
1977
1985
  } | null;
1978
1986
  stripeTaxCode: string | null;
1979
1987
  categoryId: string | null;
1988
+ brandId: string | null;
1980
1989
  category: {
1981
1990
  id: string;
1982
1991
  name: string;
@@ -2204,7 +2213,7 @@ type APIProductsBrowseResult = Omit<{
2204
2213
  name: string;
2205
2214
  createdAt: string;
2206
2215
  updatedAt: string;
2207
- type: "product" | "bundle" | "set";
2216
+ type: "set" | "product" | "bundle";
2208
2217
  slug: string;
2209
2218
  status: "published" | "draft" | "hidden" | null;
2210
2219
  flags: unknown;
@@ -2221,6 +2230,7 @@ type APIProductsBrowseResult = Omit<{
2221
2230
  } | null;
2222
2231
  stripeTaxCode: string | null;
2223
2232
  categoryId: string | null;
2233
+ brandId: string | null;
2224
2234
  category: {
2225
2235
  id: string;
2226
2236
  name: string;
@@ -2459,20 +2469,48 @@ type APIProductsBrowseQueryParams = {
2459
2469
  limit?: number | undefined;
2460
2470
  cursor?: string | undefined;
2461
2471
  category?: string | undefined;
2472
+ collection?: string | undefined;
2473
+ brand?: string | undefined;
2474
+ priceMin?: number | undefined;
2475
+ priceMax?: number | undefined;
2476
+ vts?: string | undefined;
2462
2477
  query?: string | undefined;
2463
2478
  active?: boolean | undefined;
2464
2479
  excludeBundles?: boolean | undefined;
2480
+ includeEvents?: boolean | undefined;
2465
2481
  orderBy?: "name" | "createdAt" | "price" | undefined;
2466
2482
  orderDirection?: "asc" | "desc" | undefined;
2467
2483
  currency?: string | undefined;
2468
2484
  lang?: string | undefined;
2469
2485
  };
2486
+ type APIProductFiltersResult = {
2487
+ priceBounds: {
2488
+ min: number;
2489
+ max: number;
2490
+ };
2491
+ variantTypes: {
2492
+ label: string;
2493
+ values: string[];
2494
+ }[];
2495
+ categories: {
2496
+ name: string;
2497
+ slug: string;
2498
+ }[];
2499
+ collections: {
2500
+ name: string;
2501
+ slug: string;
2502
+ }[];
2503
+ brands: {
2504
+ name: string;
2505
+ slug: string;
2506
+ }[];
2507
+ };
2470
2508
  type APIProductGetByIdResult = ({
2471
2509
  id: string;
2472
2510
  name: string;
2473
2511
  createdAt: string;
2474
2512
  updatedAt: string;
2475
- type: "product" | "bundle" | "set";
2513
+ type: "set" | "product" | "bundle";
2476
2514
  slug: string;
2477
2515
  status: "published" | "draft" | "hidden" | null;
2478
2516
  flags: unknown;
@@ -2489,6 +2527,7 @@ type APIProductGetByIdResult = ({
2489
2527
  } | null;
2490
2528
  stripeTaxCode: string | null;
2491
2529
  categoryId: string | null;
2530
+ brandId: string | null;
2492
2531
  category: {
2493
2532
  id: string;
2494
2533
  name: string;
@@ -2738,7 +2777,7 @@ type APIProductGetByIdResult = ({
2738
2777
  name: string;
2739
2778
  createdAt: string;
2740
2779
  updatedAt: string;
2741
- type: "product" | "bundle" | "set";
2780
+ type: "set" | "product" | "bundle";
2742
2781
  slug: string;
2743
2782
  status: "published" | "draft" | "hidden" | null;
2744
2783
  flags: unknown;
@@ -2755,6 +2794,7 @@ type APIProductGetByIdResult = ({
2755
2794
  } | null;
2756
2795
  stripeTaxCode: string | null;
2757
2796
  categoryId: string | null;
2797
+ brandId: string | null;
2758
2798
  category: {
2759
2799
  id: string;
2760
2800
  name: string;
@@ -3067,7 +3107,7 @@ type APICartGetResult = {
3067
3107
  name: string;
3068
3108
  createdAt: string;
3069
3109
  updatedAt: string;
3070
- type: "product" | "bundle" | "set";
3110
+ type: "set" | "product" | "bundle";
3071
3111
  slug: string;
3072
3112
  status: "published" | "draft" | "hidden" | null;
3073
3113
  flags: unknown;
@@ -3487,7 +3527,7 @@ type APICartCreateResult = {
3487
3527
  name: string;
3488
3528
  createdAt: string;
3489
3529
  updatedAt: string;
3490
- type: "product" | "bundle" | "set";
3530
+ type: "set" | "product" | "bundle";
3491
3531
  slug: string;
3492
3532
  status: "published" | "draft" | "hidden" | null;
3493
3533
  flags: unknown;
@@ -3898,7 +3938,7 @@ type APICartRemoveItemResult = {
3898
3938
  name: string;
3899
3939
  createdAt: string;
3900
3940
  updatedAt: string;
3901
- type: "product" | "bundle" | "set";
3941
+ type: "set" | "product" | "bundle";
3902
3942
  slug: string;
3903
3943
  status: "published" | "draft" | "hidden" | null;
3904
3944
  flags: unknown;
@@ -4372,8 +4412,14 @@ type APIOrdersBrowseResult = {
4372
4412
  } | null;
4373
4413
  flags: {
4374
4414
  gold?: boolean | null | undefined;
4415
+ event?: {
4416
+ enabled: boolean;
4417
+ startsAt?: string | null | undefined;
4418
+ location?: string | null | undefined;
4419
+ capacity?: number | null | undefined;
4420
+ } | null | undefined;
4375
4421
  } | null;
4376
- type: "product" | "bundle" | "set";
4422
+ type: "set" | "product" | "bundle";
4377
4423
  bundleDiscountPercentage: string | null;
4378
4424
  productCollections: {
4379
4425
  collection: {
@@ -4794,8 +4840,14 @@ type APIOrdersBrowseResult = {
4794
4840
  } | null;
4795
4841
  flags: {
4796
4842
  gold?: boolean | null | undefined;
4843
+ event?: {
4844
+ enabled: boolean;
4845
+ startsAt?: string | null | undefined;
4846
+ location?: string | null | undefined;
4847
+ capacity?: number | null | undefined;
4848
+ } | null | undefined;
4797
4849
  } | null;
4798
- type: "product" | "bundle" | "set";
4850
+ type: "set" | "product" | "bundle";
4799
4851
  bundleDiscountPercentage: string | null;
4800
4852
  productCollections: {
4801
4853
  collection: {
@@ -5231,8 +5283,14 @@ type APIOrderGetByIdResult = {
5231
5283
  } | null;
5232
5284
  flags: {
5233
5285
  gold?: boolean | null | undefined;
5286
+ event?: {
5287
+ enabled: boolean;
5288
+ startsAt?: string | null | undefined;
5289
+ location?: string | null | undefined;
5290
+ capacity?: number | null | undefined;
5291
+ } | null | undefined;
5234
5292
  } | null;
5235
- type: "product" | "bundle" | "set";
5293
+ type: "set" | "product" | "bundle";
5236
5294
  bundleDiscountPercentage: string | null;
5237
5295
  productCollections: {
5238
5296
  collection: {
@@ -5686,8 +5744,14 @@ type APIOrderGetByIdResult = {
5686
5744
  } | null;
5687
5745
  flags: {
5688
5746
  gold?: boolean | null | undefined;
5747
+ event?: {
5748
+ enabled: boolean;
5749
+ startsAt?: string | null | undefined;
5750
+ location?: string | null | undefined;
5751
+ capacity?: number | null | undefined;
5752
+ } | null | undefined;
5689
5753
  } | null;
5690
- type: "product" | "bundle" | "set";
5754
+ type: "set" | "product" | "bundle";
5691
5755
  bundleDiscountPercentage: string | null;
5692
5756
  productCollections: {
5693
5757
  collection: {
@@ -6068,7 +6132,7 @@ type APICategoryGetByIdResult = ({
6068
6132
  name: string;
6069
6133
  createdAt: string;
6070
6134
  updatedAt: string;
6071
- type: "product" | "bundle" | "set";
6135
+ type: "set" | "product" | "bundle";
6072
6136
  slug: string;
6073
6137
  status: "published" | "draft" | "hidden" | null;
6074
6138
  flags: unknown;
@@ -6085,6 +6149,7 @@ type APICategoryGetByIdResult = ({
6085
6149
  } | null;
6086
6150
  stripeTaxCode: string | null;
6087
6151
  categoryId: string | null;
6152
+ brandId: string | null;
6088
6153
  }[];
6089
6154
  parent: {
6090
6155
  id: string;
@@ -6109,7 +6174,7 @@ type APICategoryGetByIdResult = ({
6109
6174
  name: string;
6110
6175
  createdAt: string;
6111
6176
  updatedAt: string;
6112
- type: "product" | "bundle" | "set";
6177
+ type: "set" | "product" | "bundle";
6113
6178
  slug: string;
6114
6179
  status: "published" | "draft" | "hidden" | null;
6115
6180
  flags: unknown;
@@ -6126,6 +6191,7 @@ type APICategoryGetByIdResult = ({
6126
6191
  } | null;
6127
6192
  stripeTaxCode: string | null;
6128
6193
  categoryId: string | null;
6194
+ brandId: string | null;
6129
6195
  }[];
6130
6196
  parent: {
6131
6197
  id: string;
@@ -6150,7 +6216,7 @@ type APICategoryGetByIdResult = ({
6150
6216
  name: string;
6151
6217
  createdAt: string;
6152
6218
  updatedAt: string;
6153
- type: "product" | "bundle" | "set";
6219
+ type: "set" | "product" | "bundle";
6154
6220
  slug: string;
6155
6221
  status: "published" | "draft" | "hidden" | null;
6156
6222
  flags: unknown;
@@ -6167,6 +6233,7 @@ type APICategoryGetByIdResult = ({
6167
6233
  } | null;
6168
6234
  stripeTaxCode: string | null;
6169
6235
  categoryId: string | null;
6236
+ brandId: string | null;
6170
6237
  }[];
6171
6238
  } | null;
6172
6239
  } | null;
@@ -6193,7 +6260,7 @@ type APICategoryGetByIdResult = ({
6193
6260
  name: string;
6194
6261
  createdAt: string;
6195
6262
  updatedAt: string;
6196
- type: "product" | "bundle" | "set";
6263
+ type: "set" | "product" | "bundle";
6197
6264
  slug: string;
6198
6265
  status: "published" | "draft" | "hidden" | null;
6199
6266
  flags: unknown;
@@ -6210,6 +6277,7 @@ type APICategoryGetByIdResult = ({
6210
6277
  } | null;
6211
6278
  stripeTaxCode: string | null;
6212
6279
  categoryId: string | null;
6280
+ brandId: string | null;
6213
6281
  }[];
6214
6282
  children: {
6215
6283
  id: string;
@@ -6234,7 +6302,7 @@ type APICategoryGetByIdResult = ({
6234
6302
  name: string;
6235
6303
  createdAt: string;
6236
6304
  updatedAt: string;
6237
- type: "product" | "bundle" | "set";
6305
+ type: "set" | "product" | "bundle";
6238
6306
  slug: string;
6239
6307
  status: "published" | "draft" | "hidden" | null;
6240
6308
  flags: unknown;
@@ -6251,6 +6319,7 @@ type APICategoryGetByIdResult = ({
6251
6319
  } | null;
6252
6320
  stripeTaxCode: string | null;
6253
6321
  categoryId: string | null;
6322
+ brandId: string | null;
6254
6323
  }[];
6255
6324
  }[];
6256
6325
  }[];
@@ -6354,6 +6423,7 @@ type APICollectionGetByIdResult = ({
6354
6423
  canonical?: string | null | undefined;
6355
6424
  } | null;
6356
6425
  longDescription: JSONContent | null;
6426
+ kind: "product" | "event";
6357
6427
  productCollections: {
6358
6428
  position: string | null;
6359
6429
  productId: string;
@@ -6363,7 +6433,7 @@ type APICollectionGetByIdResult = ({
6363
6433
  name: string;
6364
6434
  createdAt: string;
6365
6435
  updatedAt: string;
6366
- type: "product" | "bundle" | "set";
6436
+ type: "set" | "product" | "bundle";
6367
6437
  slug: string;
6368
6438
  status: "published" | "draft" | "hidden" | null;
6369
6439
  flags: unknown;
@@ -6380,6 +6450,7 @@ type APICollectionGetByIdResult = ({
6380
6450
  } | null;
6381
6451
  stripeTaxCode: string | null;
6382
6452
  categoryId: string | null;
6453
+ brandId: string | null;
6383
6454
  };
6384
6455
  }[];
6385
6456
  } | {
@@ -6405,6 +6476,7 @@ type APICollectionGetByIdResult = ({
6405
6476
  canonical?: string | null | undefined;
6406
6477
  } | null;
6407
6478
  longDescription: JSONContent | null;
6479
+ kind: "product" | "event";
6408
6480
  productCollections: {
6409
6481
  position: string | null;
6410
6482
  productId: string;
@@ -6414,7 +6486,7 @@ type APICollectionGetByIdResult = ({
6414
6486
  name: string;
6415
6487
  createdAt: string;
6416
6488
  updatedAt: string;
6417
- type: "product" | "bundle" | "set";
6489
+ type: "set" | "product" | "bundle";
6418
6490
  slug: string;
6419
6491
  status: "published" | "draft" | "hidden" | null;
6420
6492
  flags: unknown;
@@ -6431,6 +6503,7 @@ type APICollectionGetByIdResult = ({
6431
6503
  } | null;
6432
6504
  stripeTaxCode: string | null;
6433
6505
  categoryId: string | null;
6506
+ brandId: string | null;
6434
6507
  };
6435
6508
  }[];
6436
6509
  }) & {
@@ -6465,6 +6538,7 @@ type APIMeGetResult = {
6465
6538
  translations: boolean;
6466
6539
  cartRecommendations: boolean;
6467
6540
  withdrawalButton: boolean;
6541
+ events: boolean;
6468
6542
  } | null;
6469
6543
  defaultLanguage: "en-US" | "pl-PL" | "es-ES" | "de-DE" | null;
6470
6544
  enabledLanguages: {
@@ -6475,6 +6549,15 @@ type APIMeGetResult = {
6475
6549
  } | null;
6476
6550
  storeName?: string | null | undefined;
6477
6551
  storeDescription?: string | null | undefined;
6552
+ socials?: {
6553
+ email?: string | null | undefined;
6554
+ instagram?: string | null | undefined;
6555
+ linkedin?: string | null | undefined;
6556
+ x?: string | null | undefined;
6557
+ facebook?: string | null | undefined;
6558
+ youtube?: string | null | undefined;
6559
+ tiktok?: string | null | undefined;
6560
+ } | null | undefined;
6478
6561
  freeShippingThreshold?: string | number | bigint | null | undefined;
6479
6562
  pageWidth?: "default" | "full" | "narrow" | "wider" | "widest" | null | undefined;
6480
6563
  fontFamily?: "default" | "roboto" | "poppins" | "inter" | "merriweather" | "montserrat" | "nunito" | "inconsolata" | "ibmPlexSans" | "cardo" | "spaceMono" | "buenard" | "titanOne" | "bartok" | "robotoSlab" | "playwritePl" | "jetBrainsMono" | null | undefined;
@@ -6527,7 +6610,7 @@ type APIMeGetResult = {
6527
6610
  } | null | undefined;
6528
6611
  buttons?: {
6529
6612
  borderWidth?: number | null | undefined;
6530
- borderRadius?: "full" | "none" | "sm" | "md" | "lg" | null | undefined;
6613
+ borderRadius?: "none" | "sm" | "md" | "lg" | "full" | null | undefined;
6531
6614
  shadow?: "none" | "sm" | "md" | "lg" | null | undefined;
6532
6615
  colors?: {
6533
6616
  background?: string | null | undefined;
@@ -6612,6 +6695,10 @@ type APIMeGetResult = {
6612
6695
  layout: "inline" | "sidebar";
6613
6696
  } | null | undefined;
6614
6697
  aiInstructions?: string | null | undefined;
6698
+ blogSettings?: {
6699
+ modelTier: "extra" | "max" | "regular";
6700
+ systemPrompt?: string | null | undefined;
6701
+ } | null | undefined;
6615
6702
  enabledCurrencies?: string[] | null | undefined;
6616
6703
  freeShippingThresholds?: Record<string, string> | null | undefined;
6617
6704
  } | null | undefined;
@@ -6691,6 +6778,69 @@ type APIMeGetResult = {
6691
6778
  } | undefined;
6692
6779
  } | undefined;
6693
6780
  maxMode?: boolean | undefined;
6781
+ template?: {
6782
+ id: string;
6783
+ name: string;
6784
+ branch: string;
6785
+ } | null | undefined;
6786
+ activeDeployment?: {
6787
+ id: string;
6788
+ url: string;
6789
+ createdAt: string;
6790
+ } | null | undefined;
6791
+ } | null;
6792
+ brandKit: {
6793
+ kit?: {
6794
+ name?: string | undefined;
6795
+ tagline?: string | undefined;
6796
+ mission?: string | undefined;
6797
+ audience?: string | undefined;
6798
+ colors?: {
6799
+ name: string;
6800
+ hex: string;
6801
+ role?: "primary" | "secondary" | "accent" | "background" | "foreground" | "muted" | "border" | "other" | undefined;
6802
+ notes?: string | undefined;
6803
+ }[] | undefined;
6804
+ typography?: {
6805
+ headingFont?: string | undefined;
6806
+ bodyFont?: string | undefined;
6807
+ monoFont?: string | undefined;
6808
+ fontUrls?: string[] | undefined;
6809
+ scale?: "compact" | "normal" | "spacious" | undefined;
6810
+ notes?: string | undefined;
6811
+ } | undefined;
6812
+ logos?: {
6813
+ variant: "primary" | "wordmark" | "mark" | "light" | "dark" | "monochrome";
6814
+ url: string;
6815
+ background?: "any" | "light" | "dark" | undefined;
6816
+ }[] | undefined;
6817
+ voice?: {
6818
+ tone?: string[] | undefined;
6819
+ personality?: string | undefined;
6820
+ dos?: string[] | undefined;
6821
+ donts?: string[] | undefined;
6822
+ vocabulary?: {
6823
+ preferred?: string[] | undefined;
6824
+ avoid?: string[] | undefined;
6825
+ } | undefined;
6826
+ } | undefined;
6827
+ imagery?: {
6828
+ style?: string | undefined;
6829
+ subjects?: string[] | undefined;
6830
+ avoid?: string[] | undefined;
6831
+ referenceUrls?: string[] | undefined;
6832
+ } | undefined;
6833
+ borderRadius?: "none" | "sm" | "md" | "lg" | "full" | undefined;
6834
+ links?: {
6835
+ website?: string | undefined;
6836
+ instagram?: string | undefined;
6837
+ twitter?: string | undefined;
6838
+ linkedin?: string | undefined;
6839
+ } | undefined;
6840
+ } | undefined;
6841
+ guidelines?: string | undefined;
6842
+ pdfUrl?: string | undefined;
6843
+ updatedAt?: string | undefined;
6694
6844
  } | null;
6695
6845
  appSumoLicenseKey: string | null;
6696
6846
  appSumoLicense: {
@@ -6722,6 +6872,9 @@ type APIMeGetResult = {
6722
6872
  storeBaseUrl: string;
6723
6873
  publicUrl: string;
6724
6874
  };
6875
+ type APISocialsGetResult = {
6876
+ socials: Record<"email" | "instagram" | "linkedin" | "x" | "facebook" | "youtube" | "tiktok", string | null>;
6877
+ };
6725
6878
  type APIPostsBrowseResult = {
6726
6879
  data: {
6727
6880
  id: string;
@@ -7125,8 +7278,8 @@ type APIContactMessageCreateResult = {
7125
7278
  email: string;
7126
7279
  createdAt: string;
7127
7280
  updatedAt: string;
7128
- storeId: string;
7129
7281
  message: string;
7282
+ storeId: string;
7130
7283
  readAt: string | null;
7131
7284
  } | undefined;
7132
7285
  type APIProductCreateBody = {
@@ -7374,5 +7527,419 @@ type APIInstaviewImagesBrowseQueryParams = {
7374
7527
  limit?: number;
7375
7528
  cursor?: string;
7376
7529
  };
7530
+ type APIEventsBrowseQueryParams = {
7531
+ offset?: number | undefined;
7532
+ limit?: number | undefined;
7533
+ };
7534
+ type APIEventsBrowseResult = {
7535
+ data: {
7536
+ id: string;
7537
+ name: string;
7538
+ slug: string;
7539
+ images: string[];
7540
+ event: {
7541
+ enabled: boolean;
7542
+ startsAt?: string | null | undefined;
7543
+ location?: string | null | undefined;
7544
+ capacity?: number | null | undefined;
7545
+ };
7546
+ ticketsSold: number;
7547
+ groups: {
7548
+ id: string;
7549
+ name: string;
7550
+ slug: string;
7551
+ }[];
7552
+ }[];
7553
+ total: number;
7554
+ };
7555
+ type APIEventGetByIdParams = {
7556
+ idOrSlug: string;
7557
+ };
7558
+ type APIEventGetByIdResult = {
7559
+ event: {
7560
+ id: string;
7561
+ name: string;
7562
+ slug: string;
7563
+ summary: string | null;
7564
+ status: "draft" | "published" | "hidden";
7565
+ images: string[];
7566
+ event: {
7567
+ enabled: boolean;
7568
+ startsAt?: string | null | undefined;
7569
+ location?: string | null | undefined;
7570
+ capacity?: number | null | undefined;
7571
+ };
7572
+ groups: {
7573
+ id: string;
7574
+ name: string;
7575
+ slug: string;
7576
+ }[];
7577
+ };
7578
+ };
7579
+ type APIEventCreateBody = {
7580
+ name: string;
7581
+ price: string;
7582
+ status: "published" | "draft";
7583
+ images: string[];
7584
+ slug?: string | undefined;
7585
+ startsAt?: string | null | undefined;
7586
+ location?: string | null | undefined;
7587
+ capacity?: number | null | undefined;
7588
+ description?: string | null | undefined;
7589
+ collectionIds?: string[] | undefined;
7590
+ collectionNames?: string[] | undefined;
7591
+ };
7592
+ type APIEventCreateResult = {
7593
+ message: string;
7594
+ event: {
7595
+ id: string;
7596
+ slug: string;
7597
+ name: string;
7598
+ status: "draft" | "published";
7599
+ startsAt: string | null;
7600
+ location: string | null;
7601
+ capacity: number | null;
7602
+ images: string[];
7603
+ collectionIds: string[];
7604
+ };
7605
+ };
7606
+ type APIEventUpdateBody = {
7607
+ name?: string | undefined;
7608
+ startsAt?: string | null | undefined;
7609
+ location?: string | null | undefined;
7610
+ capacity?: number | null | undefined;
7611
+ description?: string | null | undefined;
7612
+ status?: "published" | "draft" | undefined;
7613
+ images?: string[] | undefined;
7614
+ collectionIds?: string[] | undefined;
7615
+ collectionNames?: string[] | undefined;
7616
+ };
7617
+ type APIEventUpdateResult = {
7618
+ message: string;
7619
+ event: {
7620
+ id: string;
7621
+ };
7622
+ };
7623
+ type APIEventAttendeesBrowseResult = {
7624
+ attendees: {
7625
+ name: string | null;
7626
+ email: string | null;
7627
+ quantity: number;
7628
+ }[];
7629
+ totalTickets: number;
7630
+ };
7631
+ type APIBrandsBrowseResult = Omit<{
7632
+ data: {
7633
+ id: string;
7634
+ name: string;
7635
+ image: string | null;
7636
+ createdAt: string;
7637
+ updatedAt: string;
7638
+ slug: string;
7639
+ active: boolean;
7640
+ website: string | null;
7641
+ storeId: string;
7642
+ description: JSONContent | null;
7643
+ seo: {
7644
+ title?: string | null | undefined;
7645
+ description?: string | null | undefined;
7646
+ canonical?: string | null | undefined;
7647
+ } | null;
7648
+ longDescription: JSONContent | null;
7649
+ tr: {
7650
+ locale: string;
7651
+ }[];
7652
+ }[];
7653
+ meta: {
7654
+ count: number;
7655
+ };
7656
+ }, "data"> & {
7657
+ data: Array<{
7658
+ data: {
7659
+ id: string;
7660
+ name: string;
7661
+ image: string | null;
7662
+ createdAt: string;
7663
+ updatedAt: string;
7664
+ slug: string;
7665
+ active: boolean;
7666
+ website: string | null;
7667
+ storeId: string;
7668
+ description: JSONContent | null;
7669
+ seo: {
7670
+ title?: string | null | undefined;
7671
+ description?: string | null | undefined;
7672
+ canonical?: string | null | undefined;
7673
+ } | null;
7674
+ longDescription: JSONContent | null;
7675
+ tr: {
7676
+ locale: string;
7677
+ }[];
7678
+ }[];
7679
+ meta: {
7680
+ count: number;
7681
+ };
7682
+ }["data"][number] & {
7683
+ lang?: string;
7684
+ }>;
7685
+ };
7686
+ type APIBrandsBrowseQueryParams = {
7687
+ offset?: number | undefined;
7688
+ limit?: number | undefined;
7689
+ query?: string | undefined;
7690
+ active?: boolean | undefined;
7691
+ lang?: string | undefined;
7692
+ };
7693
+ type APIBrandGetByIdParams = {
7694
+ idOrSlug: string;
7695
+ };
7696
+ type APIBrandGetByIdResult = {
7697
+ id: string;
7698
+ name: string;
7699
+ image: string | null;
7700
+ createdAt: string;
7701
+ updatedAt: string;
7702
+ slug: string;
7703
+ active: boolean;
7704
+ website: string | null;
7705
+ storeId: string;
7706
+ description: JSONContent | null;
7707
+ seo: {
7708
+ title?: string | null | undefined;
7709
+ description?: string | null | undefined;
7710
+ canonical?: string | null | undefined;
7711
+ } | null;
7712
+ longDescription: JSONContent | null;
7713
+ tr: {
7714
+ name: string | null;
7715
+ createdAt: string;
7716
+ updatedAt: string;
7717
+ slug: string | null;
7718
+ locale: string;
7719
+ storeId: string;
7720
+ description: JSONContent | null;
7721
+ longDescription: JSONContent | null;
7722
+ seoTitle: string | null;
7723
+ seoDescription: string | null;
7724
+ entityId: string;
7725
+ }[];
7726
+ } & {
7727
+ productCount: number;
7728
+ };
7729
+ type APIBrandCreateBody = {
7730
+ name: string;
7731
+ active: boolean;
7732
+ slug?: string | undefined;
7733
+ description?: string | undefined;
7734
+ image?: string | undefined;
7735
+ website?: string | undefined;
7736
+ } | {
7737
+ name: string;
7738
+ active: boolean;
7739
+ slug?: string | undefined;
7740
+ description?: string | undefined;
7741
+ image?: string | undefined;
7742
+ website?: string | undefined;
7743
+ }[];
7744
+ type APIBrandCreateResult = {
7745
+ brand: {
7746
+ id: string;
7747
+ name: string;
7748
+ image: string | null;
7749
+ createdAt: string;
7750
+ updatedAt: string;
7751
+ slug: string;
7752
+ active: boolean;
7753
+ website: string | null;
7754
+ storeId: string;
7755
+ description: JSONContent | null;
7756
+ seo: {
7757
+ title?: string | null | undefined;
7758
+ description?: string | null | undefined;
7759
+ canonical?: string | null | undefined;
7760
+ } | null;
7761
+ longDescription: JSONContent | null;
7762
+ tr: {
7763
+ name: string | null;
7764
+ createdAt: string;
7765
+ updatedAt: string;
7766
+ slug: string | null;
7767
+ locale: string;
7768
+ storeId: string;
7769
+ description: JSONContent | null;
7770
+ longDescription: JSONContent | null;
7771
+ seoTitle: string | null;
7772
+ seoDescription: string | null;
7773
+ entityId: string;
7774
+ }[];
7775
+ };
7776
+ } | {
7777
+ ok: true;
7778
+ created: {
7779
+ id: string;
7780
+ name: string;
7781
+ image: string | null;
7782
+ createdAt: string;
7783
+ updatedAt: string;
7784
+ slug: string;
7785
+ active: boolean;
7786
+ website: string | null;
7787
+ storeId: string;
7788
+ description: JSONContent | null;
7789
+ seo: {
7790
+ title?: string | null | undefined;
7791
+ description?: string | null | undefined;
7792
+ canonical?: string | null | undefined;
7793
+ } | null;
7794
+ longDescription: JSONContent | null;
7795
+ tr: {
7796
+ name: string | null;
7797
+ createdAt: string;
7798
+ updatedAt: string;
7799
+ slug: string | null;
7800
+ locale: string;
7801
+ storeId: string;
7802
+ description: JSONContent | null;
7803
+ longDescription: JSONContent | null;
7804
+ seoTitle: string | null;
7805
+ seoDescription: string | null;
7806
+ entityId: string;
7807
+ }[];
7808
+ }[];
7809
+ errors: Array<{
7810
+ index: number;
7811
+ name: string;
7812
+ error: string;
7813
+ }>;
7814
+ };
7815
+ type APIBrandUpdateBody = {
7816
+ name?: string | undefined;
7817
+ slug?: string | undefined;
7818
+ image?: string | null | undefined;
7819
+ website?: string | null | undefined;
7820
+ active?: boolean | undefined;
7821
+ };
7822
+ type APIBrandUpdateResult = {
7823
+ createdAt: string;
7824
+ updatedAt: string;
7825
+ name: string;
7826
+ slug: string;
7827
+ description: JSONContent | null;
7828
+ longDescription: JSONContent | null;
7829
+ image: string | null;
7830
+ website: string | null;
7831
+ storeId: string;
7832
+ active: boolean;
7833
+ seo: {
7834
+ title?: string | null | undefined;
7835
+ description?: string | null | undefined;
7836
+ canonical?: string | null | undefined;
7837
+ } | null;
7838
+ id: string;
7839
+ };
7840
+ type APIBrandDeleteResult = {
7841
+ ok: boolean;
7842
+ deleted: number;
7843
+ };
7844
+ type APIBrandAssignProductsBody = {
7845
+ productIds: string[];
7846
+ };
7847
+ type APIBrandAssignProductsResult = {
7848
+ ok: boolean;
7849
+ brandId: string;
7850
+ assigned: number;
7851
+ notFound: string[];
7852
+ };
7853
+ type APIOrderRefundsParams = {
7854
+ id: string;
7855
+ };
7856
+ type APIOrderRefundsBrowseResult = {
7857
+ data: {
7858
+ createdAt: string;
7859
+ updatedAt: string;
7860
+ storeId: string;
7861
+ orderId: string;
7862
+ stripeRefundId: string | null;
7863
+ amount: string;
7864
+ currency: string;
7865
+ reason: "other" | "requested_by_customer" | "damaged_or_defective" | "duplicate" | "fraudulent" | "order_error";
7866
+ reasonNote: string | null;
7867
+ status: "pending" | "cancelled" | "failed" | "succeeded";
7868
+ refundType: "full" | "partial";
7869
+ refundApplicationFee: boolean;
7870
+ restockItems: boolean;
7871
+ lineItems: {
7872
+ lineItemIndex: number;
7873
+ productVariantId: string;
7874
+ quantity: number;
7875
+ amount: string;
7876
+ }[] | null;
7877
+ initiatedBy: string | null;
7878
+ metadata: unknown;
7879
+ id: string;
7880
+ }[];
7881
+ meta: {
7882
+ count: number;
7883
+ offset: number;
7884
+ limit: number;
7885
+ };
7886
+ };
7887
+ type APIOrderRefundsBrowseQueryParams = {
7888
+ offset?: number | undefined;
7889
+ limit?: number | undefined;
7890
+ };
7891
+ type APIOrderRefundGetParams = {
7892
+ id: string;
7893
+ refundId: string;
7894
+ };
7895
+ type APIOrderRefundGetResult = {
7896
+ id: string;
7897
+ createdAt: string;
7898
+ updatedAt: string;
7899
+ metadata: unknown;
7900
+ status: "pending" | "cancelled" | "failed" | "succeeded";
7901
+ currency: string;
7902
+ storeId: string;
7903
+ lineItems: {
7904
+ lineItemIndex: number;
7905
+ productVariantId: string;
7906
+ quantity: number;
7907
+ amount: string;
7908
+ }[] | null;
7909
+ amount: string;
7910
+ orderId: string;
7911
+ stripeRefundId: string | null;
7912
+ reason: "other" | "requested_by_customer" | "damaged_or_defective" | "duplicate" | "fraudulent" | "order_error";
7913
+ reasonNote: string | null;
7914
+ refundType: "full" | "partial";
7915
+ refundApplicationFee: boolean;
7916
+ restockItems: boolean;
7917
+ initiatedBy: string | null;
7918
+ };
7919
+ type APIProductBatchBody = {
7920
+ name: string;
7921
+ price: number;
7922
+ images: string[];
7923
+ status: "published" | "draft" | "hidden";
7924
+ collection_names: string[];
7925
+ shippable: boolean;
7926
+ slug?: string | undefined;
7927
+ summary?: string | undefined;
7928
+ category_name?: string | undefined;
7929
+ sku?: string | undefined;
7930
+ stock?: number | undefined;
7931
+ }[];
7932
+ type APIProductBatchResult = {
7933
+ message: string;
7934
+ totalProducts: number;
7935
+ imported: number;
7936
+ errors: Array<{
7937
+ productName: string;
7938
+ error: string;
7939
+ }>;
7940
+ };
7941
+ type APICartDeleteResult = {
7942
+ success: boolean;
7943
+ };
7377
7944
 
7378
- export type { APIBlogCategoriesBrowseQueryParams, APIBlogCategoriesBrowseResult, APIBlogCategoryGetByIdParams, APIBlogCategoryGetByIdResult, APICartAddBody, APICartAddResult, APICartCreateBody, APICartCreateResult, APICartGetResult, APICartRemoveItemQueryParams, APICartRemoveItemResult, APICategoriesBrowseQueryParams, APICategoriesBrowseResult, APICategoryCreateBody, APICategoryCreateResult, APICategoryGetByIdParams, APICategoryGetByIdQueryParams, APICategoryGetByIdResult, APICategoryUpdateBody, APICategoryUpdateQueryParams, APICategoryUpdateResult, APICollectionCreateBody, APICollectionCreateResult, APICollectionGetByIdParams, APICollectionGetByIdQueryParams, APICollectionGetByIdResult, APICollectionsBrowseQueryParams, APICollectionsBrowseResult, APIContactMessageCreateBody, APIContactMessageCreateResult, APICustomerAddressCreateBody, APICustomerAddressCreateResult, APICustomerGetByIdParams, APICustomerGetByIdResult, APICustomerOrdersBrowseQueryParams, APICustomerOrdersBrowseResult, APICustomerUpdateBody, APICustomerUpdateResult, APICustomersBrowseQueryParams, APICustomersBrowseResult, APIInstaviewImagesBrowseParams, APIInstaviewImagesBrowseQueryParams, APIInstaviewImagesBrowseResult, APIInventoryAdjustBody, APIInventoryAdjustResult, APIInventoryBrowseQueryParams, APIInventoryBrowseResult, APILegalPageGetByPathResult, APILegalPagesBrowseResult, APIMeGetResult, APIOrderGetByIdParams, APIOrderGetByIdResult, APIOrderUpdateBody, APIOrderUpdateResult, APIOrdersBrowseQueryParams, APIOrdersBrowseResult, APIPostCommentCreateBody, APIPostCommentCreateResult, APIPostCommentsBrowseQueryParams, APIPostCommentsBrowseResult, APIPostCreateBody, APIPostCreateResult, APIPostDeleteResult, APIPostGetByIdParams, APIPostGetByIdResult, APIPostUpdateBody, APIPostUpdateResult, APIPostsBrowseQueryParams, APIPostsBrowseResult, APIProductCreateBody, APIProductCreateResult, APIProductDeleteQueryParams, APIProductDeleteResult, APIProductGetByIdParams, APIProductGetByIdQueryParams, APIProductGetByIdResult, APIProductReviewCreateBody, APIProductReviewCreateResult, APIProductReviewsBrowseQueryParams, APIProductReviewsBrowseResult, APIProductUpdateBody, APIProductUpdateQueryParams, APIProductUpdateResult, APIProductsBrowseQueryParams, APIProductsBrowseResult, APISearchQueryParams, APISearchResult, APISubscriberCreateBody, APISubscriberCreateResult, APISubscriberDeleteResult, APIVariantCreateBody, APIVariantCreateResult, APIVariantGetByIdParams, APIVariantGetByIdQueryParams, APIVariantGetByIdResult, APIVariantUpdateBody, APIVariantUpdateResult, JSONContent };
7945
+ export type { APIBlogCategoriesBrowseQueryParams, APIBlogCategoriesBrowseResult, APIBlogCategoryGetByIdParams, APIBlogCategoryGetByIdResult, APIBrandAssignProductsBody, APIBrandAssignProductsResult, APIBrandCreateBody, APIBrandCreateResult, APIBrandDeleteResult, APIBrandGetByIdParams, APIBrandGetByIdResult, APIBrandUpdateBody, APIBrandUpdateResult, APIBrandsBrowseQueryParams, APIBrandsBrowseResult, APICartAddBody, APICartAddResult, APICartCreateBody, APICartCreateResult, APICartDeleteResult, APICartGetResult, APICartRemoveItemQueryParams, APICartRemoveItemResult, APICategoriesBrowseQueryParams, APICategoriesBrowseResult, APICategoryCreateBody, APICategoryCreateResult, APICategoryGetByIdParams, APICategoryGetByIdQueryParams, APICategoryGetByIdResult, APICategoryUpdateBody, APICategoryUpdateQueryParams, APICategoryUpdateResult, APICollectionCreateBody, APICollectionCreateResult, APICollectionGetByIdParams, APICollectionGetByIdQueryParams, APICollectionGetByIdResult, 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 };