@gethydra/sdk 0.1.13 → 0.1.15

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/index.d.ts CHANGED
@@ -339,12 +339,50 @@ interface components {
339
339
  */
340
340
  created_at: string;
341
341
  };
342
+ Channel: {
343
+ /** @example chan_abc123def456ghi789 */
344
+ id: string;
345
+ /** @example wholesale */
346
+ slug: string;
347
+ /** @example Wholesale Portal */
348
+ label: string;
349
+ /** @example false */
350
+ is_default: boolean;
351
+ /**
352
+ * @example active
353
+ * @enum {string}
354
+ */
355
+ status: "active" | "paused" | "archived";
356
+ /** @example [] */
357
+ location_ids: string[];
358
+ /**
359
+ * @example priority
360
+ * @enum {string}
361
+ */
362
+ allocation_strategy: "priority" | "highest_stock";
363
+ /** @example {} */
364
+ checkout_config: {
365
+ payment_terms?: string;
366
+ min_order?: number;
367
+ po_required?: boolean;
368
+ };
369
+ /**
370
+ * Format: date-time
371
+ * @example 2026-08-28T12:00:00.000Z
372
+ */
373
+ created_at: string;
374
+ /**
375
+ * Format: date-time
376
+ * @example 2026-08-28T12:00:00.000Z
377
+ */
378
+ updated_at: string;
379
+ };
342
380
  ApiKey: {
343
381
  /** @example key_abc123 */
344
382
  id: string;
345
383
  /** @example CI Pipeline */
346
384
  name: string | null;
347
- /** @example sk_live_ */
385
+ /** @example sk_ */
348
386
  key_prefix: string;
349
387
  /** @example abc12345 */
350
388
  key_hint: string;
@@ -353,8 +391,6 @@ interface components {
353
391
  * @enum {string}
354
392
  */
355
393
  type: "secret" | "publishable";
356
- /** @example false */
357
- is_test: boolean;
358
394
  /** @example true */
359
395
  is_active: boolean;
360
396
  permissions: components["schemas"]["KeyPermissions"];
@@ -407,9 +443,9 @@ interface components {
407
443
  id: string;
408
444
  /** @example CI Pipeline */
409
445
  name: string | null;
410
- /** @example sk_live_example */
446
+ /** @example sk_example */
411
447
  key: string;
412
- /** @example sk_live_ */
448
+ /** @example sk_ */
413
449
  key_prefix: string;
414
450
  /** @example abc12345 */
415
451
  key_hint: string;
@@ -418,8 +454,6 @@ interface components {
418
454
  * @enum {string}
419
455
  */
420
456
  type: "secret" | "publishable";
421
- /** @example false */
422
- is_test: boolean;
423
457
  /** @example true */
424
458
  is_active: boolean;
425
459
  permissions: components["schemas"]["KeyPermissions"];
@@ -1296,7 +1330,7 @@ interface components {
1296
1330
  * @example total_spent
1297
1331
  * @enum {string}
1298
1332
  */
1299
- field: "tag" | "total_spent" | "order_count" | "status" | "company" | "first_order_date" | "last_order_date" | "customer_added_date" | "city" | "country";
1333
+ field: "tag" | "total_spent" | "order_count" | "status" | "company" | "first_order_date" | "last_order_date" | "customer_added_date" | "city" | "country" | "price_tier";
1300
1334
  /**
1301
1335
  * @example more_than
1302
1336
  * @enum {string}
@@ -3884,14 +3918,10 @@ interface components {
3884
3918
  slug: string;
3885
3919
  };
3886
3920
  api_keys: {
3887
- /** @example sk_test_example */
3888
- sk_test: string;
3889
- /** @example sk_live_example */
3890
- sk_live: string;
3891
- /** @example pk_test_example */
3892
- pk_test: string;
3893
- /** @example pk_live_example */
3894
- pk_live: string;
3921
+ /** @example sk_example */
3922
+ sk: string;
3923
+ /** @example pk_example */
3924
+ pk: string;
3895
3925
  };
3896
3926
  };
3897
3927
  };
@@ -4772,16 +4802,204 @@ interface operations {
4772
4802
  };
4773
4803
  };
4774
4804
  };
4775
- listApiKeys: {
4805
+ listChannels: {
4776
4806
  parameters: {
4777
4807
  query?: {
4778
- is_test?: "true" | "false";
4808
+ limit?: number;
4809
+ cursor?: string;
4810
+ fields?: string;
4811
+ sort?: "created_at" | "updated_at" | "label";
4812
+ order?: "asc" | "desc";
4813
+ status?: "active" | "paused" | "archived";
4779
4814
  };
4780
4815
  header?: never;
4781
4816
  path?: never;
4782
4817
  cookie?: never;
4783
4818
  };
4784
4819
  requestBody?: never;
4820
+ responses: {
4821
+ /** @description Paginated channel list */
4822
+ 200: {
4823
+ headers: {
4824
+ [name: string]: unknown;
4825
+ };
4826
+ content: {
4827
+ "application/json": {
4828
+ data: components["schemas"]["Channel"][];
4829
+ pagination: {
4830
+ cursor: string | null;
4831
+ has_more: boolean;
4832
+ total: number;
4833
+ };
4834
+ };
4835
+ };
4836
+ };
4837
+ };
4838
+ };
4839
+ createChannel: {
4840
+ parameters: {
4841
+ query?: never;
4842
+ header?: never;
4843
+ path?: never;
4844
+ cookie?: never;
4845
+ };
4846
+ requestBody?: {
4847
+ content: {
4848
+ "application/json": {
4849
+ /** @example Wholesale Portal */
4850
+ label: string;
4851
+ /** @example wholesale */
4852
+ slug?: string;
4853
+ /** @example [] */
4854
+ location_ids?: string[];
4855
+ /**
4856
+ * @default priority
4857
+ * @example priority
4858
+ * @enum {string}
4859
+ */
4860
+ allocation_strategy?: "priority" | "highest_stock";
4861
+ /** @default {} */
4862
+ checkout_config?: {
4863
+ payment_terms?: string;
4864
+ min_order?: number;
4865
+ po_required?: boolean;
4866
+ };
4867
+ };
4868
+ };
4869
+ };
4870
+ responses: {
4871
+ /** @description Channel created */
4872
+ 201: {
4873
+ headers: {
4874
+ [name: string]: unknown;
4875
+ };
4876
+ content: {
4877
+ "application/json": {
4878
+ data: components["schemas"]["Channel"];
4879
+ };
4880
+ };
4881
+ };
4882
+ };
4883
+ };
4884
+ getChannel: {
4885
+ parameters: {
4886
+ query?: {
4887
+ fields?: string;
4888
+ };
4889
+ header?: never;
4890
+ path: {
4891
+ slug: string;
4892
+ };
4893
+ cookie?: never;
4894
+ };
4895
+ requestBody?: never;
4896
+ responses: {
4897
+ /** @description Channel details */
4898
+ 200: {
4899
+ headers: {
4900
+ [name: string]: unknown;
4901
+ };
4902
+ content: {
4903
+ "application/json": {
4904
+ data: components["schemas"]["Channel"];
4905
+ };
4906
+ };
4907
+ };
4908
+ };
4909
+ };
4910
+ archiveChannel: {
4911
+ parameters: {
4912
+ query?: never;
4913
+ header?: never;
4914
+ path: {
4915
+ slug: string;
4916
+ };
4917
+ cookie?: never;
4918
+ };
4919
+ requestBody?: never;
4920
+ responses: {
4921
+ /** @description Channel archived */
4922
+ 204: {
4923
+ headers: {
4924
+ [name: string]: unknown;
4925
+ };
4926
+ content?: never;
4927
+ };
4928
+ };
4929
+ };
4930
+ updateChannel: {
4931
+ parameters: {
4932
+ query?: never;
4933
+ header?: never;
4934
+ path: {
4935
+ slug: string;
4936
+ };
4937
+ cookie?: never;
4938
+ };
4939
+ requestBody?: {
4940
+ content: {
4941
+ "application/json": {
4942
+ label?: string;
4943
+ slug?: string;
4944
+ /** @enum {string} */
4945
+ status?: "active" | "paused";
4946
+ location_ids?: string[];
4947
+ /** @enum {string} */
4948
+ allocation_strategy?: "priority" | "highest_stock";
4949
+ checkout_config?: {
4950
+ payment_terms?: string | null;
4951
+ min_order?: number | null;
4952
+ po_required?: boolean | null;
4953
+ };
4954
+ };
4955
+ };
4956
+ };
4957
+ responses: {
4958
+ /** @description Channel updated */
4959
+ 200: {
4960
+ headers: {
4961
+ [name: string]: unknown;
4962
+ };
4963
+ content: {
4964
+ "application/json": {
4965
+ data: components["schemas"]["Channel"];
4966
+ };
4967
+ };
4968
+ };
4969
+ };
4970
+ };
4971
+ setDefaultChannel: {
4972
+ parameters: {
4973
+ query?: never;
4974
+ header?: never;
4975
+ path: {
4976
+ slug: string;
4977
+ };
4978
+ cookie?: never;
4979
+ };
4980
+ requestBody?: never;
4981
+ responses: {
4982
+ /** @description Channel set as default */
4983
+ 200: {
4984
+ headers: {
4985
+ [name: string]: unknown;
4986
+ };
4987
+ content: {
4988
+ "application/json": {
4989
+ data: components["schemas"]["Channel"];
4990
+ };
4991
+ };
4992
+ };
4993
+ };
4994
+ };
4995
+ listApiKeys: {
4996
+ parameters: {
4997
+ query?: never;
4998
+ header?: never;
4999
+ path?: never;
5000
+ cookie?: never;
5001
+ };
5002
+ requestBody?: never;
4785
5003
  responses: {
4786
5004
  /** @description API key list */
4787
5005
  200: {
@@ -5988,6 +6206,8 @@ interface operations {
5988
6206
  title?: string;
5989
6207
  /** @description Filter to products with at least one variant from this supplier */
5990
6208
  supplier_id?: string;
6209
+ /** @description Filter to products visible on this channel (by slug) */
6210
+ channel?: string;
5991
6211
  currency?: string;
5992
6212
  expand?: string;
5993
6213
  };
@@ -6400,7 +6620,7 @@ interface operations {
6400
6620
  /** @example Lightweight everyday essential */
6401
6621
  subtitle?: string | null;
6402
6622
  /** @example A premium organic cotton t-shirt built for comfort and durability. */
6403
- description?: string;
6623
+ description?: string | null;
6404
6624
  /**
6405
6625
  * @example active
6406
6626
  * @enum {string}
@@ -6824,6 +7044,58 @@ interface operations {
6824
7044
  };
6825
7045
  };
6826
7046
  };
7047
+ getProductChannels: {
7048
+ parameters: {
7049
+ query?: never;
7050
+ header?: never;
7051
+ path: {
7052
+ id: string;
7053
+ };
7054
+ cookie?: never;
7055
+ };
7056
+ requestBody?: never;
7057
+ responses: {
7058
+ /** @description Product channel visibility */
7059
+ 200: {
7060
+ headers: {
7061
+ [name: string]: unknown;
7062
+ };
7063
+ content?: never;
7064
+ };
7065
+ };
7066
+ };
7067
+ setProductChannels: {
7068
+ parameters: {
7069
+ query?: never;
7070
+ header?: never;
7071
+ path: {
7072
+ id: string;
7073
+ };
7074
+ cookie?: never;
7075
+ };
7076
+ requestBody?: {
7077
+ content: {
7078
+ "application/json": {
7079
+ /**
7080
+ * @example [
7081
+ * "retail",
7082
+ * "wholesale"
7083
+ * ]
7084
+ */
7085
+ channels: string[];
7086
+ };
7087
+ };
7088
+ };
7089
+ responses: {
7090
+ /** @description Updated channel visibility */
7091
+ 200: {
7092
+ headers: {
7093
+ [name: string]: unknown;
7094
+ };
7095
+ content?: never;
7096
+ };
7097
+ };
7098
+ };
6827
7099
  listProductLinks: {
6828
7100
  parameters: {
6829
7101
  query?: never;
@@ -7233,6 +7505,38 @@ interface operations {
7233
7505
  };
7234
7506
  };
7235
7507
  };
7508
+ replaceCustomerPhotoImage: {
7509
+ parameters: {
7510
+ query?: never;
7511
+ header?: never;
7512
+ path: {
7513
+ id: string;
7514
+ };
7515
+ cookie?: never;
7516
+ };
7517
+ requestBody?: {
7518
+ content: {
7519
+ "multipart/form-data": {
7520
+ /** Format: binary */
7521
+ image?: string;
7522
+ alt_text?: string;
7523
+ };
7524
+ };
7525
+ };
7526
+ responses: {
7527
+ /** @description Image replaced successfully */
7528
+ 200: {
7529
+ headers: {
7530
+ [name: string]: unknown;
7531
+ };
7532
+ content: {
7533
+ "application/json": {
7534
+ data: components["schemas"]["CustomerPhoto"];
7535
+ };
7536
+ };
7537
+ };
7538
+ };
7539
+ };
7236
7540
  getVariant: {
7237
7541
  parameters: {
7238
7542
  query?: {
@@ -7806,6 +8110,8 @@ interface operations {
7806
8110
  product_id?: string;
7807
8111
  /** @description Filter by parent. Use "root" for top-level collections only, or a collection ID for direct children. */
7808
8112
  parent_collection_id?: string;
8113
+ /** @description Filter to collections visible on this channel (by slug) */
8114
+ channel?: string;
7809
8115
  expand?: string;
7810
8116
  };
7811
8117
  header?: never;
@@ -8188,6 +8494,58 @@ interface operations {
8188
8494
  };
8189
8495
  };
8190
8496
  };
8497
+ getCollectionChannels: {
8498
+ parameters: {
8499
+ query?: never;
8500
+ header?: never;
8501
+ path: {
8502
+ id: string;
8503
+ };
8504
+ cookie?: never;
8505
+ };
8506
+ requestBody?: never;
8507
+ responses: {
8508
+ /** @description Collection channel visibility */
8509
+ 200: {
8510
+ headers: {
8511
+ [name: string]: unknown;
8512
+ };
8513
+ content?: never;
8514
+ };
8515
+ };
8516
+ };
8517
+ setCollectionChannels: {
8518
+ parameters: {
8519
+ query?: never;
8520
+ header?: never;
8521
+ path: {
8522
+ id: string;
8523
+ };
8524
+ cookie?: never;
8525
+ };
8526
+ requestBody?: {
8527
+ content: {
8528
+ "application/json": {
8529
+ /**
8530
+ * @example [
8531
+ * "retail",
8532
+ * "wholesale"
8533
+ * ]
8534
+ */
8535
+ channels: string[];
8536
+ };
8537
+ };
8538
+ };
8539
+ responses: {
8540
+ /** @description Updated channel visibility */
8541
+ 200: {
8542
+ headers: {
8543
+ [name: string]: unknown;
8544
+ };
8545
+ content?: never;
8546
+ };
8547
+ };
8548
+ };
8191
8549
  listCollectionMetafieldValues: {
8192
8550
  parameters: {
8193
8551
  query?: never;
@@ -9568,7 +9926,7 @@ interface operations {
9568
9926
  * @example total_spent
9569
9927
  * @enum {string}
9570
9928
  */
9571
- field: "tag" | "total_spent" | "order_count" | "status" | "company" | "first_order_date" | "last_order_date" | "customer_added_date" | "city" | "country";
9929
+ field: "tag" | "total_spent" | "order_count" | "status" | "company" | "first_order_date" | "last_order_date" | "customer_added_date" | "city" | "country" | "price_tier";
9572
9930
  /**
9573
9931
  * @example more_than
9574
9932
  * @enum {string}
@@ -9679,7 +10037,7 @@ interface operations {
9679
10037
  * @example total_spent
9680
10038
  * @enum {string}
9681
10039
  */
9682
- field: "tag" | "total_spent" | "order_count" | "status" | "company" | "first_order_date" | "last_order_date" | "customer_added_date" | "city" | "country";
10040
+ field: "tag" | "total_spent" | "order_count" | "status" | "company" | "first_order_date" | "last_order_date" | "customer_added_date" | "city" | "country" | "price_tier";
9683
10041
  /**
9684
10042
  * @example more_than
9685
10043
  * @enum {string}
@@ -10359,7 +10717,13 @@ interface operations {
10359
10717
  path?: never;
10360
10718
  cookie?: never;
10361
10719
  };
10362
- requestBody?: never;
10720
+ requestBody?: {
10721
+ content: {
10722
+ "application/json": {
10723
+ channel?: string;
10724
+ };
10725
+ };
10726
+ };
10363
10727
  responses: {
10364
10728
  /** @description Cart created */
10365
10729
  201: {
@@ -10441,6 +10805,7 @@ interface operations {
10441
10805
  /** @default 1 */
10442
10806
  quantity?: number;
10443
10807
  price_key?: string;
10808
+ channel?: string;
10444
10809
  };
10445
10810
  };
10446
10811
  };
@@ -10550,6 +10915,7 @@ interface operations {
10550
10915
  country: string;
10551
10916
  };
10552
10917
  shipping_rate_id?: string;
10918
+ po_number?: string;
10553
10919
  };
10554
10920
  };
10555
10921
  };
@@ -10780,6 +11146,8 @@ interface operations {
10780
11146
  order_number?: number;
10781
11147
  created_after?: string;
10782
11148
  created_before?: string;
11149
+ /** @description Filter orders by channel */
11150
+ channel_id?: string;
10783
11151
  expand?: string;
10784
11152
  };
10785
11153
  header?: never;
@@ -11691,6 +12059,7 @@ interface operations {
11691
12059
  collection_id?: string;
11692
12060
  tag?: string;
11693
12061
  in_stock?: "true" | "false";
12062
+ channel?: string;
11694
12063
  price_min?: number | null;
11695
12064
  price_max?: number | null;
11696
12065
  facets?: "true" | "false";
@@ -12329,7 +12698,7 @@ interface operations {
12329
12698
  * "order.paid"
12330
12699
  * ]
12331
12700
  */
12332
- events: ("product.created" | "product.updated" | "product.deleted" | "order.created" | "order.paid" | "order.fulfilled" | "order.cancelled" | "order.refunded" | "company.created" | "company.updated" | "company.deleted" | "customer.created" | "customer.updated" | "customer_photo.submitted" | "customer_photo.approved" | "customer_photo.rejected" | "discount.created" | "discount.updated" | "discount.deleted" | "draft_order.created" | "draft_order.updated" | "draft_order.completed" | "draft_order.deleted" | "filter_attribute.created" | "filter_attribute.updated" | "filter_attribute.deleted" | "fulfillment.created" | "fulfillment.updated" | "fulfillment.cancelled" | "fulfillment_order.created" | "inventory.low" | "location.created" | "location.updated" | "location.deleted" | "navigation.created" | "navigation.updated" | "navigation.deleted" | "shipping.zone.created" | "shipping.zone.updated" | "shipping.zone.deleted" | "post.created" | "post.updated" | "post.deleted" | "post.published" | "post.unpublished" | "promotion.created" | "promotion.updated" | "promotion.deleted" | "purchase_order.created" | "purchase_order.updated" | "purchase_order.received" | "purchase_order.cancelled" | "refund.created" | "refund.succeeded" | "refund.failed" | "return.requested" | "return.approved" | "return.received" | "return.rejected" | "return.cancelled" | "return.closed" | "store.published" | "store_credit.issued" | "store_credit.used" | "store_credit.expired" | "membership.created" | "membership.updated" | "membership.cancelled" | "membership.expired" | "usage.warning")[];
12701
+ events: ("product.created" | "product.updated" | "product.deleted" | "order.created" | "order.paid" | "order.fulfilled" | "order.cancelled" | "order.refunded" | "channel.created" | "channel.updated" | "channel.archived" | "collection.created" | "collection.updated" | "collection.deleted" | "company.created" | "company.updated" | "company.deleted" | "customer.created" | "customer.updated" | "customer_photo.submitted" | "customer_photo.approved" | "customer_photo.rejected" | "discount.created" | "discount.updated" | "discount.deleted" | "draft_order.created" | "draft_order.updated" | "draft_order.completed" | "draft_order.deleted" | "filter_attribute.created" | "filter_attribute.updated" | "filter_attribute.deleted" | "fulfillment.created" | "fulfillment.updated" | "fulfillment.cancelled" | "fulfillment_order.created" | "inventory.low" | "location.created" | "location.updated" | "location.deleted" | "navigation.created" | "navigation.updated" | "navigation.deleted" | "shipping.zone.created" | "shipping.zone.updated" | "shipping.zone.deleted" | "post.created" | "post.updated" | "post.deleted" | "post.published" | "post.unpublished" | "promotion.created" | "promotion.updated" | "promotion.deleted" | "purchase_order.created" | "purchase_order.updated" | "purchase_order.received" | "purchase_order.cancelled" | "refund.created" | "refund.succeeded" | "refund.failed" | "return.requested" | "return.approved" | "return.received" | "return.rejected" | "return.cancelled" | "return.closed" | "store.published" | "store_credit.issued" | "store_credit.used" | "store_credit.expired" | "membership.created" | "membership.updated" | "membership.cancelled" | "membership.expired" | "usage.warning")[];
12333
12702
  /**
12334
12703
  * @default active
12335
12704
  * @example active
@@ -12423,7 +12792,7 @@ interface operations {
12423
12792
  * "product.updated"
12424
12793
  * ]
12425
12794
  */
12426
- events?: ("product.created" | "product.updated" | "product.deleted" | "order.created" | "order.paid" | "order.fulfilled" | "order.cancelled" | "order.refunded" | "company.created" | "company.updated" | "company.deleted" | "customer.created" | "customer.updated" | "customer_photo.submitted" | "customer_photo.approved" | "customer_photo.rejected" | "discount.created" | "discount.updated" | "discount.deleted" | "draft_order.created" | "draft_order.updated" | "draft_order.completed" | "draft_order.deleted" | "filter_attribute.created" | "filter_attribute.updated" | "filter_attribute.deleted" | "fulfillment.created" | "fulfillment.updated" | "fulfillment.cancelled" | "fulfillment_order.created" | "inventory.low" | "location.created" | "location.updated" | "location.deleted" | "navigation.created" | "navigation.updated" | "navigation.deleted" | "shipping.zone.created" | "shipping.zone.updated" | "shipping.zone.deleted" | "post.created" | "post.updated" | "post.deleted" | "post.published" | "post.unpublished" | "promotion.created" | "promotion.updated" | "promotion.deleted" | "purchase_order.created" | "purchase_order.updated" | "purchase_order.received" | "purchase_order.cancelled" | "refund.created" | "refund.succeeded" | "refund.failed" | "return.requested" | "return.approved" | "return.received" | "return.rejected" | "return.cancelled" | "return.closed" | "store.published" | "store_credit.issued" | "store_credit.used" | "store_credit.expired" | "membership.created" | "membership.updated" | "membership.cancelled" | "membership.expired" | "usage.warning")[];
12795
+ events?: ("product.created" | "product.updated" | "product.deleted" | "order.created" | "order.paid" | "order.fulfilled" | "order.cancelled" | "order.refunded" | "channel.created" | "channel.updated" | "channel.archived" | "collection.created" | "collection.updated" | "collection.deleted" | "company.created" | "company.updated" | "company.deleted" | "customer.created" | "customer.updated" | "customer_photo.submitted" | "customer_photo.approved" | "customer_photo.rejected" | "discount.created" | "discount.updated" | "discount.deleted" | "draft_order.created" | "draft_order.updated" | "draft_order.completed" | "draft_order.deleted" | "filter_attribute.created" | "filter_attribute.updated" | "filter_attribute.deleted" | "fulfillment.created" | "fulfillment.updated" | "fulfillment.cancelled" | "fulfillment_order.created" | "inventory.low" | "location.created" | "location.updated" | "location.deleted" | "navigation.created" | "navigation.updated" | "navigation.deleted" | "shipping.zone.created" | "shipping.zone.updated" | "shipping.zone.deleted" | "post.created" | "post.updated" | "post.deleted" | "post.published" | "post.unpublished" | "promotion.created" | "promotion.updated" | "promotion.deleted" | "purchase_order.created" | "purchase_order.updated" | "purchase_order.received" | "purchase_order.cancelled" | "refund.created" | "refund.succeeded" | "refund.failed" | "return.requested" | "return.approved" | "return.received" | "return.rejected" | "return.cancelled" | "return.closed" | "store.published" | "store_credit.issued" | "store_credit.used" | "store_credit.expired" | "membership.created" | "membership.updated" | "membership.cancelled" | "membership.expired" | "usage.warning")[];
12427
12796
  /**
12428
12797
  * @example active
12429
12798
  * @enum {string}
@@ -15638,7 +16007,7 @@ interface operations {
15638
16007
  /** @example engineering */
15639
16008
  handle?: string;
15640
16009
  /** @example Technical articles and product updates. */
15641
- description?: string;
16010
+ description?: string | null;
15642
16011
  seo?: {
15643
16012
  title?: string;
15644
16013
  description?: string;
@@ -15660,6 +16029,119 @@ interface operations {
15660
16029
  };
15661
16030
  };
15662
16031
  };
16032
+ listCategoryPosts: {
16033
+ parameters: {
16034
+ query?: {
16035
+ limit?: number;
16036
+ cursor?: string;
16037
+ fields?: string;
16038
+ type?: "post" | "page";
16039
+ };
16040
+ header?: never;
16041
+ path: {
16042
+ id: string;
16043
+ };
16044
+ cookie?: never;
16045
+ };
16046
+ requestBody?: never;
16047
+ responses: {
16048
+ /** @description Paginated post list sorted by position */
16049
+ 200: {
16050
+ headers: {
16051
+ [name: string]: unknown;
16052
+ };
16053
+ content?: never;
16054
+ };
16055
+ };
16056
+ };
16057
+ addCategoryPosts: {
16058
+ parameters: {
16059
+ query?: never;
16060
+ header?: never;
16061
+ path: {
16062
+ id: string;
16063
+ };
16064
+ cookie?: never;
16065
+ };
16066
+ requestBody?: {
16067
+ content: {
16068
+ "application/json": {
16069
+ /**
16070
+ * @example [
16071
+ * "post_abc123",
16072
+ * "post_def456"
16073
+ * ]
16074
+ */
16075
+ post_ids: string[];
16076
+ };
16077
+ };
16078
+ };
16079
+ responses: {
16080
+ /** @description Category with updated post count */
16081
+ 200: {
16082
+ headers: {
16083
+ [name: string]: unknown;
16084
+ };
16085
+ content: {
16086
+ "application/json": {
16087
+ data: components["schemas"]["ContentCategory"];
16088
+ };
16089
+ };
16090
+ };
16091
+ };
16092
+ };
16093
+ removeCategoryPost: {
16094
+ parameters: {
16095
+ query?: never;
16096
+ header?: never;
16097
+ path: {
16098
+ id: string;
16099
+ post_id: string;
16100
+ };
16101
+ cookie?: never;
16102
+ };
16103
+ requestBody?: never;
16104
+ responses: {
16105
+ /** @description Post removed from category */
16106
+ 204: {
16107
+ headers: {
16108
+ [name: string]: unknown;
16109
+ };
16110
+ content?: never;
16111
+ };
16112
+ };
16113
+ };
16114
+ reorderCategoryPosts: {
16115
+ parameters: {
16116
+ query?: never;
16117
+ header?: never;
16118
+ path: {
16119
+ id: string;
16120
+ };
16121
+ cookie?: never;
16122
+ };
16123
+ requestBody?: {
16124
+ content: {
16125
+ "application/json": {
16126
+ posts: {
16127
+ /** @example post_abc123 */
16128
+ id: string;
16129
+ /** @example 0 */
16130
+ position: number;
16131
+ }[];
16132
+ };
16133
+ };
16134
+ };
16135
+ responses: {
16136
+ /** @description Posts reordered */
16137
+ 204: {
16138
+ headers: {
16139
+ [name: string]: unknown;
16140
+ };
16141
+ content?: never;
16142
+ };
16143
+ };
16144
+ };
15663
16145
  listNavigationMenus: {
15664
16146
  parameters: {
15665
16147
  query?: {
@@ -17381,6 +17863,7 @@ type Store$1 = components['schemas']['Store'];
17381
17863
  type Webhook$1 = components['schemas']['Webhook'];
17382
17864
  type Tag$1 = components['schemas']['Tag'];
17383
17865
  type Redirect$1 = components['schemas']['Redirect'];
17866
+ type Channel$1 = components['schemas']['Channel'];
17384
17867
  type Location$1 = components['schemas']['Location'];
17385
17868
  type ExchangeRate$1 = components['schemas']['ExchangeRate'];
17386
17869
  type NotificationLog$1 = components['schemas']['NotificationLog'];
@@ -17437,9 +17920,9 @@ type ProductStats = components['schemas']['ProductStats'];
17437
17920
  type Variant$1 = components['schemas']['Variant'];
17438
17921
  type Image$1 = components['schemas']['Image'];
17439
17922
  type GenerateVariantsResult = components['schemas']['GenerateVariantsResult'];
17440
- type ListParams$s = NonNullable<operations['listProducts']['parameters']['query']>;
17441
- type CreateBody$n = NonNullable<operations['createProduct']['requestBody']>['content']['application/json'];
17442
- type UpdateBody$o = NonNullable<operations['updateProduct']['requestBody']>['content']['application/json'];
17923
+ type ListParams$t = NonNullable<operations['listProducts']['parameters']['query']>;
17924
+ type CreateBody$o = NonNullable<operations['createProduct']['requestBody']>['content']['application/json'];
17925
+ type UpdateBody$p = NonNullable<operations['updateProduct']['requestBody']>['content']['application/json'];
17443
17926
  type DuplicateBody = NonNullable<operations['duplicateProduct']['requestBody']>['content']['application/json'];
17444
17927
  type CreateVariantBody = NonNullable<operations['createProductVariant']['requestBody']>['content']['application/json'];
17445
17928
  type GenerateVariantsBody = NonNullable<operations['generateProductVariants']['requestBody']>['content']['application/json'];
@@ -17449,17 +17932,17 @@ type CreateProductLinkBody = NonNullable<operations['createProductLink']['reques
17449
17932
  declare class ProductsResource {
17450
17933
  private client;
17451
17934
  constructor(client: Hydra);
17452
- list(params?: ListParams$s): Promise<ListResponse<Product>>;
17453
- iterate(params?: Omit<ListParams$s, 'cursor'>, options?: PaginateOptions): AsyncGenerator<Product, void, undefined>;
17454
- toArray(params?: Omit<ListParams$s, 'cursor'>, options?: PaginateOptions & {
17935
+ list(params?: ListParams$t): Promise<ListResponse<Product>>;
17936
+ iterate(params?: Omit<ListParams$t, 'cursor'>, options?: PaginateOptions): AsyncGenerator<Product, void, undefined>;
17937
+ toArray(params?: Omit<ListParams$t, 'cursor'>, options?: PaginateOptions & {
17455
17938
  limit?: number;
17456
17939
  }): Promise<Product[]>;
17457
- get(id: string, params?: Pick<ListParams$s, 'expand' | 'currency' | 'fields'>): Promise<DataResponse<Product>>;
17458
- create(body: CreateBody$n, options?: ResourceRequestOptions): Promise<DataResponse<Product>>;
17459
- update(id: string, body: UpdateBody$o): Promise<DataResponse<Product>>;
17940
+ get(id: string, params?: Pick<ListParams$t, 'expand' | 'currency' | 'fields'>): Promise<DataResponse<Product>>;
17941
+ create(body: CreateBody$o, options?: ResourceRequestOptions): Promise<DataResponse<Product>>;
17942
+ update(id: string, body: UpdateBody$p): Promise<DataResponse<Product>>;
17460
17943
  delete(id: string): Promise<void>;
17461
17944
  batchCreate(body: {
17462
- products: CreateBody$n[];
17945
+ products: CreateBody$o[];
17463
17946
  }, options?: ResourceRequestOptions): Promise<DataResponse<Product[]>>;
17464
17947
  duplicate(id: string, body: DuplicateBody): Promise<DataResponse<Product>>;
17465
17948
  getStats(id: string): Promise<DataResponse<ProductStats>>;
@@ -17480,7 +17963,7 @@ declare class ProductsResource {
17480
17963
 
17481
17964
  type Variant = components['schemas']['Variant'];
17482
17965
  type VariantPrice = components['schemas']['VariantPrice'];
17483
- type UpdateBody$n = NonNullable<operations['updateVariant']['requestBody']>['content']['application/json'];
17966
+ type UpdateBody$o = NonNullable<operations['updateVariant']['requestBody']>['content']['application/json'];
17484
17967
  type UpsertPriceBody = NonNullable<operations['upsertVariantPrice']['requestBody']>['content']['application/json'];
17485
17968
  declare class VariantsResource {
17486
17969
  private client;
@@ -17490,7 +17973,7 @@ declare class VariantsResource {
17490
17973
  currency?: string;
17491
17974
  fields?: string;
17492
17975
  }): Promise<DataResponse<Variant>>;
17493
- update(id: string, body: UpdateBody$n): Promise<DataResponse<Variant>>;
17976
+ update(id: string, body: UpdateBody$o): Promise<DataResponse<Variant>>;
17494
17977
  delete(id: string): Promise<void>;
17495
17978
  listPrices(variantId: string): Promise<DataResponse<Record<string, VariantPrice>>>;
17496
17979
  upsertPrice(variantId: string, priceKeySlug: string, body: UpsertPriceBody): Promise<DataResponse<VariantPrice>>;
@@ -17502,23 +17985,23 @@ declare class VariantsResource {
17502
17985
  }
17503
17986
 
17504
17987
  type Collection = components['schemas']['Collection'];
17505
- type ListParams$r = NonNullable<operations['listCollections']['parameters']['query']>;
17506
- type CreateBody$m = NonNullable<operations['createCollection']['requestBody']>['content']['application/json'];
17507
- type UpdateBody$m = NonNullable<operations['updateCollection']['requestBody']>['content']['application/json'];
17988
+ type ListParams$s = NonNullable<operations['listCollections']['parameters']['query']>;
17989
+ type CreateBody$n = NonNullable<operations['createCollection']['requestBody']>['content']['application/json'];
17990
+ type UpdateBody$n = NonNullable<operations['updateCollection']['requestBody']>['content']['application/json'];
17508
17991
  type AddProductsBody = NonNullable<operations['addCollectionProducts']['requestBody']>['content']['application/json'];
17509
17992
  type ReorderProductsBody = NonNullable<operations['reorderCollectionProducts']['requestBody']>['content']['application/json'];
17510
17993
  type ReorderCollectionsBody = NonNullable<operations['reorderCollections']['requestBody']>['content']['application/json'];
17511
17994
  declare class CollectionsResource {
17512
17995
  private client;
17513
17996
  constructor(client: Hydra);
17514
- list(params?: ListParams$r): Promise<ListResponse<Collection>>;
17515
- iterate(params?: Omit<ListParams$r, 'cursor'>, options?: PaginateOptions): AsyncGenerator<Collection, void, undefined>;
17516
- toArray(params?: Omit<ListParams$r, 'cursor'>, options?: PaginateOptions & {
17997
+ list(params?: ListParams$s): Promise<ListResponse<Collection>>;
17998
+ iterate(params?: Omit<ListParams$s, 'cursor'>, options?: PaginateOptions): AsyncGenerator<Collection, void, undefined>;
17999
+ toArray(params?: Omit<ListParams$s, 'cursor'>, options?: PaginateOptions & {
17517
18000
  limit?: number;
17518
18001
  }): Promise<Collection[]>;
17519
- get(id: string, params?: Pick<ListParams$r, 'expand' | 'fields'>): Promise<DataResponse<Collection>>;
17520
- create(body: CreateBody$m, options?: ResourceRequestOptions): Promise<DataResponse<Collection>>;
17521
- update(id: string, body: UpdateBody$m): Promise<DataResponse<Collection>>;
18002
+ get(id: string, params?: Pick<ListParams$s, 'expand' | 'fields'>): Promise<DataResponse<Collection>>;
18003
+ create(body: CreateBody$n, options?: ResourceRequestOptions): Promise<DataResponse<Collection>>;
18004
+ update(id: string, body: UpdateBody$n): Promise<DataResponse<Collection>>;
17522
18005
  delete(id: string): Promise<void>;
17523
18006
  tree(): Promise<DataResponse<unknown>>;
17524
18007
  reorder(body: ReorderCollectionsBody): Promise<void>;
@@ -17548,13 +18031,13 @@ declare class CartResource {
17548
18031
 
17549
18032
  type CheckoutCreate = components['schemas']['CheckoutCreate'];
17550
18033
  type CheckoutGet = components['schemas']['CheckoutGet'];
17551
- type CreateBody$l = NonNullable<operations['createCheckout']['requestBody']>['content']['application/json'];
18034
+ type CreateBody$m = NonNullable<operations['createCheckout']['requestBody']>['content']['application/json'];
17552
18035
  type ApplyDiscountBody = NonNullable<operations['applyCheckoutDiscount']['requestBody']>['content']['application/json'];
17553
18036
  type ApplyCreditBody = NonNullable<operations['applyCheckoutCredit']['requestBody']>['content']['application/json'];
17554
18037
  declare class CheckoutResource {
17555
18038
  private client;
17556
18039
  constructor(client: Hydra);
17557
- create(body: CreateBody$l, options?: ResourceRequestOptions): Promise<DataResponse<CheckoutCreate>>;
18040
+ create(body: CreateBody$m, options?: ResourceRequestOptions): Promise<DataResponse<CheckoutCreate>>;
17558
18041
  get(id: string): Promise<DataResponse<CheckoutGet>>;
17559
18042
  applyDiscount(checkoutId: string, body: ApplyDiscountBody): Promise<DataResponse<CheckoutGet>>;
17560
18043
  removeDiscount(checkoutId: string): Promise<DataResponse<CheckoutGet>>;
@@ -17565,15 +18048,15 @@ declare class CheckoutResource {
17565
18048
 
17566
18049
  type Order$1 = components['schemas']['Order'];
17567
18050
  type FulfillmentOrder$1 = components['schemas']['FulfillmentOrder'];
17568
- type ListParams$q = NonNullable<operations['listOrders']['parameters']['query']>;
17569
- type CreateBody$k = NonNullable<operations['createOrder']['requestBody']>['content']['application/json'];
17570
- type UpdateBody$l = NonNullable<operations['updateOrder']['requestBody']>['content']['application/json'];
18051
+ type ListParams$r = NonNullable<operations['listOrders']['parameters']['query']>;
18052
+ type CreateBody$l = NonNullable<operations['createOrder']['requestBody']>['content']['application/json'];
18053
+ type UpdateBody$m = NonNullable<operations['updateOrder']['requestBody']>['content']['application/json'];
17571
18054
  declare class OrdersResource {
17572
18055
  private client;
17573
18056
  constructor(client: Hydra);
17574
- list(params?: ListParams$q): Promise<ListResponse<Order$1>>;
17575
- iterate(params?: Omit<ListParams$q, 'cursor'>, options?: PaginateOptions): AsyncGenerator<Order$1, void, undefined>;
17576
- toArray(params?: Omit<ListParams$q, 'cursor'>, options?: PaginateOptions & {
18057
+ list(params?: ListParams$r): Promise<ListResponse<Order$1>>;
18058
+ iterate(params?: Omit<ListParams$r, 'cursor'>, options?: PaginateOptions): AsyncGenerator<Order$1, void, undefined>;
18059
+ toArray(params?: Omit<ListParams$r, 'cursor'>, options?: PaginateOptions & {
17577
18060
  limit?: number;
17578
18061
  }): Promise<Order$1[]>;
17579
18062
  get(id: string, params?: {
@@ -17581,8 +18064,8 @@ declare class OrdersResource {
17581
18064
  currency?: string;
17582
18065
  fields?: string;
17583
18066
  }): Promise<DataResponse<Order$1>>;
17584
- create(body: CreateBody$k, options?: ResourceRequestOptions): Promise<DataResponse<Order$1>>;
17585
- update(id: string, body: UpdateBody$l): Promise<DataResponse<Order$1>>;
18067
+ create(body: CreateBody$l, options?: ResourceRequestOptions): Promise<DataResponse<Order$1>>;
18068
+ update(id: string, body: UpdateBody$m): Promise<DataResponse<Order$1>>;
17586
18069
  listFulfillmentOrders(orderId: string): Promise<DataResponse<FulfillmentOrder$1[]>>;
17587
18070
  /**
17588
18071
  * Returns the API path for downloading the invoice PDF for an order.
@@ -17596,34 +18079,34 @@ declare class OrdersResource {
17596
18079
  }
17597
18080
 
17598
18081
  type Fulfillment = components['schemas']['Fulfillment'];
17599
- type CreateBody$j = NonNullable<operations['createFulfillment']['requestBody']>['content']['application/json'];
17600
- type UpdateBody$k = NonNullable<operations['updateFulfillment']['requestBody']>['content']['application/json'];
18082
+ type CreateBody$k = NonNullable<operations['createFulfillment']['requestBody']>['content']['application/json'];
18083
+ type UpdateBody$l = NonNullable<operations['updateFulfillment']['requestBody']>['content']['application/json'];
17601
18084
  type CancelBody = NonNullable<operations['cancelFulfillment']['requestBody']>['content']['application/json'];
17602
18085
  declare class FulfillmentsResource {
17603
18086
  private client;
17604
18087
  constructor(client: Hydra);
17605
18088
  /** Create a fulfillment for a fulfillment order */
17606
- create(fulfillmentOrderId: string, body: CreateBody$j, options?: ResourceRequestOptions): Promise<DataResponse<Fulfillment>>;
17607
- update(id: string, body: UpdateBody$k): Promise<DataResponse<Fulfillment>>;
18089
+ create(fulfillmentOrderId: string, body: CreateBody$k, options?: ResourceRequestOptions): Promise<DataResponse<Fulfillment>>;
18090
+ update(id: string, body: UpdateBody$l): Promise<DataResponse<Fulfillment>>;
17608
18091
  cancel(id: string, body?: CancelBody): Promise<DataResponse<Fulfillment>>;
17609
18092
  }
17610
18093
 
17611
18094
  type Refund = components['schemas']['Refund'];
17612
- type ListParams$p = NonNullable<operations['listRefunds']['parameters']['query']>;
17613
- type CreateBody$i = NonNullable<operations['createOrderRefund']['requestBody']>['content']['application/json'];
18095
+ type ListParams$q = NonNullable<operations['listRefunds']['parameters']['query']>;
18096
+ type CreateBody$j = NonNullable<operations['createOrderRefund']['requestBody']>['content']['application/json'];
17614
18097
  declare class RefundsResource {
17615
18098
  private client;
17616
18099
  constructor(client: Hydra);
17617
- list(params?: ListParams$p): Promise<ListResponse<Refund>>;
17618
- iterate(params?: Omit<ListParams$p, 'cursor'>, options?: PaginateOptions): AsyncGenerator<Refund, void, undefined>;
17619
- toArray(params?: Omit<ListParams$p, 'cursor'>, options?: PaginateOptions & {
18100
+ list(params?: ListParams$q): Promise<ListResponse<Refund>>;
18101
+ iterate(params?: Omit<ListParams$q, 'cursor'>, options?: PaginateOptions): AsyncGenerator<Refund, void, undefined>;
18102
+ toArray(params?: Omit<ListParams$q, 'cursor'>, options?: PaginateOptions & {
17620
18103
  limit?: number;
17621
18104
  }): Promise<Refund[]>;
17622
18105
  get(id: string, params?: {
17623
18106
  expand?: string;
17624
18107
  fields?: string;
17625
18108
  }): Promise<DataResponse<Refund>>;
17626
- create(orderId: string, body: CreateBody$i, options?: ResourceRequestOptions): Promise<DataResponse<Refund>>;
18109
+ create(orderId: string, body: CreateBody$j, options?: ResourceRequestOptions): Promise<DataResponse<Refund>>;
17627
18110
  listByOrder(orderId: string): Promise<DataResponse<Refund[]>>;
17628
18111
  retry(id: string): Promise<DataResponse<Refund>>;
17629
18112
  /**
@@ -17634,24 +18117,24 @@ declare class RefundsResource {
17634
18117
  }
17635
18118
 
17636
18119
  type Return = components['schemas']['Return'];
17637
- type ListParams$o = NonNullable<operations['listReturns']['parameters']['query']>;
17638
- type CreateBody$h = NonNullable<operations['createOrderReturn']['requestBody']>['content']['application/json'];
18120
+ type ListParams$p = NonNullable<operations['listReturns']['parameters']['query']>;
18121
+ type CreateBody$i = NonNullable<operations['createOrderReturn']['requestBody']>['content']['application/json'];
17639
18122
  type ApproveBody = NonNullable<operations['approveReturn']['requestBody']>['content']['application/json'];
17640
18123
  type ReceiveBody$1 = NonNullable<operations['receiveReturn']['requestBody']>['content']['application/json'];
17641
18124
  type RejectBody$1 = NonNullable<operations['rejectReturn']['requestBody']>['content']['application/json'];
17642
18125
  declare class ReturnsResource {
17643
18126
  private client;
17644
18127
  constructor(client: Hydra);
17645
- list(params?: ListParams$o): Promise<ListResponse<Return>>;
17646
- iterate(params?: Omit<ListParams$o, 'cursor'>, options?: PaginateOptions): AsyncGenerator<Return, void, undefined>;
17647
- toArray(params?: Omit<ListParams$o, 'cursor'>, options?: PaginateOptions & {
18128
+ list(params?: ListParams$p): Promise<ListResponse<Return>>;
18129
+ iterate(params?: Omit<ListParams$p, 'cursor'>, options?: PaginateOptions): AsyncGenerator<Return, void, undefined>;
18130
+ toArray(params?: Omit<ListParams$p, 'cursor'>, options?: PaginateOptions & {
17648
18131
  limit?: number;
17649
18132
  }): Promise<Return[]>;
17650
18133
  get(id: string, params?: {
17651
18134
  expand?: string;
17652
18135
  fields?: string;
17653
18136
  }): Promise<DataResponse<Return>>;
17654
- create(orderId: string, body: CreateBody$h, options?: ResourceRequestOptions): Promise<DataResponse<Return>>;
18137
+ create(orderId: string, body: CreateBody$i, options?: ResourceRequestOptions): Promise<DataResponse<Return>>;
17655
18138
  listByOrder(orderId: string): Promise<DataResponse<Return[]>>;
17656
18139
  approve(id: string, body?: ApproveBody): Promise<DataResponse<Return>>;
17657
18140
  receive(id: string, body?: ReceiveBody$1): Promise<DataResponse<Return>>;
@@ -17663,17 +18146,17 @@ declare class ReturnsResource {
17663
18146
  type DraftOrder = components['schemas']['DraftOrder'];
17664
18147
  type DraftOrderLineItem = components['schemas']['DraftOrderLineItem'];
17665
18148
  type Order = components['schemas']['Order'];
17666
- type ListParams$n = NonNullable<operations['listDraftOrders']['parameters']['query']>;
17667
- type CreateBody$g = NonNullable<operations['createDraftOrder']['requestBody']>['content']['application/json'];
17668
- type UpdateBody$j = NonNullable<operations['updateDraftOrder']['requestBody']>['content']['application/json'];
18149
+ type ListParams$o = NonNullable<operations['listDraftOrders']['parameters']['query']>;
18150
+ type CreateBody$h = NonNullable<operations['createDraftOrder']['requestBody']>['content']['application/json'];
18151
+ type UpdateBody$k = NonNullable<operations['updateDraftOrder']['requestBody']>['content']['application/json'];
17669
18152
  type AddItemsBody = NonNullable<operations['addDraftOrderItems']['requestBody']>['content']['application/json'];
17670
18153
  type UpdateItemBody$2 = NonNullable<operations['updateDraftOrderItem']['requestBody']>['content']['application/json'];
17671
18154
  declare class DraftOrdersResource {
17672
18155
  private client;
17673
18156
  constructor(client: Hydra);
17674
- list(params?: ListParams$n): Promise<ListResponse<DraftOrder>>;
17675
- iterate(params?: Omit<ListParams$n, 'cursor'>, options?: PaginateOptions): AsyncGenerator<DraftOrder, void, undefined>;
17676
- toArray(params?: Omit<ListParams$n, 'cursor'>, options?: PaginateOptions & {
18157
+ list(params?: ListParams$o): Promise<ListResponse<DraftOrder>>;
18158
+ iterate(params?: Omit<ListParams$o, 'cursor'>, options?: PaginateOptions): AsyncGenerator<DraftOrder, void, undefined>;
18159
+ toArray(params?: Omit<ListParams$o, 'cursor'>, options?: PaginateOptions & {
17677
18160
  limit?: number;
17678
18161
  }): Promise<DraftOrder[]>;
17679
18162
  get(id: string, params?: {
@@ -17681,8 +18164,8 @@ declare class DraftOrdersResource {
17681
18164
  currency?: string;
17682
18165
  fields?: string;
17683
18166
  }): Promise<DataResponse<DraftOrder>>;
17684
- create(body: CreateBody$g, options?: ResourceRequestOptions): Promise<DataResponse<DraftOrder>>;
17685
- update(id: string, body: UpdateBody$j): Promise<DataResponse<DraftOrder>>;
18167
+ create(body: CreateBody$h, options?: ResourceRequestOptions): Promise<DataResponse<DraftOrder>>;
18168
+ update(id: string, body: UpdateBody$k): Promise<DataResponse<DraftOrder>>;
17686
18169
  delete(id: string): Promise<void>;
17687
18170
  addItems(draftOrderId: string, body: AddItemsBody): Promise<DataResponse<DraftOrderLineItem[]>>;
17688
18171
  updateItem(draftOrderId: string, itemId: string, body: UpdateItemBody$2): Promise<DataResponse<DraftOrderLineItem>>;
@@ -17697,22 +18180,22 @@ declare class DraftOrdersResource {
17697
18180
  }
17698
18181
 
17699
18182
  type Customer = components['schemas']['Customer'];
17700
- type ListParams$m = NonNullable<operations['listCustomers']['parameters']['query']>;
17701
- type CreateBody$f = NonNullable<operations['createCustomer']['requestBody']>['content']['application/json'];
17702
- type UpdateBody$i = NonNullable<operations['updateCustomer']['requestBody']>['content']['application/json'];
18183
+ type ListParams$n = NonNullable<operations['listCustomers']['parameters']['query']>;
18184
+ type CreateBody$g = NonNullable<operations['createCustomer']['requestBody']>['content']['application/json'];
18185
+ type UpdateBody$j = NonNullable<operations['updateCustomer']['requestBody']>['content']['application/json'];
17703
18186
  type CreateAddressBody$1 = NonNullable<operations['createCustomerAddress']['requestBody']>['content']['application/json'];
17704
18187
  type CreateNoteBody$1 = NonNullable<operations['createCustomerNote']['requestBody']>['content']['application/json'];
17705
18188
  declare class CustomersResource {
17706
18189
  private client;
17707
18190
  constructor(client: Hydra);
17708
- list(params?: ListParams$m): Promise<ListResponse<Customer>>;
17709
- iterate(params?: Omit<ListParams$m, 'cursor'>, options?: PaginateOptions): AsyncGenerator<Customer, void, undefined>;
17710
- toArray(params?: Omit<ListParams$m, 'cursor'>, options?: PaginateOptions & {
18191
+ list(params?: ListParams$n): Promise<ListResponse<Customer>>;
18192
+ iterate(params?: Omit<ListParams$n, 'cursor'>, options?: PaginateOptions): AsyncGenerator<Customer, void, undefined>;
18193
+ toArray(params?: Omit<ListParams$n, 'cursor'>, options?: PaginateOptions & {
17711
18194
  limit?: number;
17712
18195
  }): Promise<Customer[]>;
17713
- get(id: string, params?: Pick<ListParams$m, 'expand' | 'fields'>): Promise<DataResponse<Customer>>;
17714
- create(body: CreateBody$f, options?: ResourceRequestOptions): Promise<DataResponse<Customer>>;
17715
- update(id: string, body: UpdateBody$i): Promise<DataResponse<Customer>>;
18196
+ get(id: string, params?: Pick<ListParams$n, 'expand' | 'fields'>): Promise<DataResponse<Customer>>;
18197
+ create(body: CreateBody$g, options?: ResourceRequestOptions): Promise<DataResponse<Customer>>;
18198
+ update(id: string, body: UpdateBody$j): Promise<DataResponse<Customer>>;
17716
18199
  delete(id: string): Promise<void>;
17717
18200
  listAddresses(customerId: string): Promise<DataResponse<unknown[]>>;
17718
18201
  createAddress(customerId: string, body: CreateAddressBody$1): Promise<DataResponse<unknown>>;
@@ -17726,29 +18209,29 @@ declare class CustomersResource {
17726
18209
  }
17727
18210
 
17728
18211
  type CustomerGroup = components['schemas']['CustomerGroup'];
17729
- type ListParams$l = NonNullable<operations['listCustomerGroups']['parameters']['query']>;
17730
- type CreateBody$e = NonNullable<operations['createCustomerGroup']['requestBody']>['content']['application/json'];
17731
- type UpdateBody$h = NonNullable<operations['updateCustomerGroup']['requestBody']>['content']['application/json'];
18212
+ type ListParams$m = NonNullable<operations['listCustomerGroups']['parameters']['query']>;
18213
+ type CreateBody$f = NonNullable<operations['createCustomerGroup']['requestBody']>['content']['application/json'];
18214
+ type UpdateBody$i = NonNullable<operations['updateCustomerGroup']['requestBody']>['content']['application/json'];
17732
18215
  type AddMembersBody = NonNullable<operations['addCustomerGroupMembers']['requestBody']>['content']['application/json'];
17733
18216
  declare class CustomerGroupsResource {
17734
18217
  private client;
17735
18218
  constructor(client: Hydra);
17736
- list(params?: ListParams$l): Promise<ListResponse<CustomerGroup>>;
17737
- iterate(params?: Omit<ListParams$l, 'cursor'>, options?: PaginateOptions): AsyncGenerator<CustomerGroup, void, undefined>;
17738
- toArray(params?: Omit<ListParams$l, 'cursor'>, options?: PaginateOptions & {
18219
+ list(params?: ListParams$m): Promise<ListResponse<CustomerGroup>>;
18220
+ iterate(params?: Omit<ListParams$m, 'cursor'>, options?: PaginateOptions): AsyncGenerator<CustomerGroup, void, undefined>;
18221
+ toArray(params?: Omit<ListParams$m, 'cursor'>, options?: PaginateOptions & {
17739
18222
  limit?: number;
17740
18223
  }): Promise<CustomerGroup[]>;
17741
18224
  get(id: string): Promise<DataResponse<CustomerGroup>>;
17742
- create(body: CreateBody$e, options?: ResourceRequestOptions): Promise<DataResponse<CustomerGroup>>;
17743
- update(id: string, body: UpdateBody$h): Promise<DataResponse<CustomerGroup>>;
18225
+ create(body: CreateBody$f, options?: ResourceRequestOptions): Promise<DataResponse<CustomerGroup>>;
18226
+ update(id: string, body: UpdateBody$i): Promise<DataResponse<CustomerGroup>>;
17744
18227
  delete(id: string): Promise<void>;
17745
18228
  addMembers(groupId: string, body: AddMembersBody): Promise<void>;
17746
18229
  removeMember(groupId: string, customerId: string): Promise<void>;
17747
18230
  }
17748
18231
 
17749
18232
  type CustomerPhoto = components['schemas']['CustomerPhoto'];
17750
- type ListParams$k = NonNullable<operations['listCustomerPhotos']['parameters']['query']>;
17751
- type UpdateBody$g = NonNullable<operations['updateCustomerPhoto']['requestBody']>['content']['application/json'];
18233
+ type ListParams$l = NonNullable<operations['listCustomerPhotos']['parameters']['query']>;
18234
+ type UpdateBody$h = NonNullable<operations['updateCustomerPhoto']['requestBody']>['content']['application/json'];
17752
18235
  type RejectBody = NonNullable<operations['rejectCustomerPhoto']['requestBody']>['content']['application/json'];
17753
18236
  declare class CustomerPhotosResource {
17754
18237
  private client;
@@ -17757,15 +18240,15 @@ declare class CustomerPhotosResource {
17757
18240
  * List customer photos (secret key only).
17758
18241
  * Filter by product, status, etc.
17759
18242
  */
17760
- list(params?: ListParams$k): Promise<ListResponse<CustomerPhoto>>;
18243
+ list(params?: ListParams$l): Promise<ListResponse<CustomerPhoto>>;
17761
18244
  /**
17762
18245
  * Iterate through all customer photos with automatic pagination.
17763
18246
  */
17764
- iterate(params?: Omit<ListParams$k, 'cursor'>, options?: PaginateOptions): AsyncGenerator<CustomerPhoto, void, undefined>;
18247
+ iterate(params?: Omit<ListParams$l, 'cursor'>, options?: PaginateOptions): AsyncGenerator<CustomerPhoto, void, undefined>;
17765
18248
  /**
17766
18249
  * Fetch all customer photos as an array (use with caution on large datasets).
17767
18250
  */
17768
- toArray(params?: Omit<ListParams$k, 'cursor'>, options?: PaginateOptions & {
18251
+ toArray(params?: Omit<ListParams$l, 'cursor'>, options?: PaginateOptions & {
17769
18252
  limit?: number;
17770
18253
  }): Promise<CustomerPhoto[]>;
17771
18254
  /**
@@ -17781,7 +18264,7 @@ declare class CustomerPhotosResource {
17781
18264
  * Update customer photo metadata (secret key only).
17782
18265
  * Fields: credit, link_url, link_text, alt_text, show_in_gallery.
17783
18266
  */
17784
- update(id: string, body: UpdateBody$g): Promise<DataResponse<CustomerPhoto>>;
18267
+ update(id: string, body: UpdateBody$h): Promise<DataResponse<CustomerPhoto>>;
17785
18268
  /**
17786
18269
  * Approve a customer photo (secret key only).
17787
18270
  * Sets status to 'approved' and makes it visible on storefront.
@@ -17808,18 +18291,18 @@ declare class CustomerPhotosResource {
17808
18291
  getForProduct(productId: string): Promise<DataResponse<CustomerPhoto[]>>;
17809
18292
  }
17810
18293
 
17811
- type UpdateBody$f = NonNullable<operations['updateAddress']['requestBody']>['content']['application/json'];
18294
+ type UpdateBody$g = NonNullable<operations['updateAddress']['requestBody']>['content']['application/json'];
17812
18295
  declare class AddressesResource {
17813
18296
  private client;
17814
18297
  constructor(client: Hydra);
17815
- update(id: string, body: UpdateBody$f): Promise<DataResponse<unknown>>;
18298
+ update(id: string, body: UpdateBody$g): Promise<DataResponse<unknown>>;
17816
18299
  delete(id: string): Promise<void>;
17817
18300
  }
17818
18301
 
17819
18302
  type InventoryLevel = components['schemas']['InventoryLevel'];
17820
18303
  type InventoryAdjustment = components['schemas']['InventoryAdjustment'];
17821
18304
  type ProductAdjustment = components['schemas']['ProductAdjustment'];
17822
- type ListParams$j = NonNullable<operations['listInventory']['parameters']['query']>;
18305
+ type ListParams$k = NonNullable<operations['listInventory']['parameters']['query']>;
17823
18306
  type SetBody = NonNullable<operations['setInventory']['requestBody']>['content']['application/json'];
17824
18307
  type AdjustBody = NonNullable<operations['adjustInventory']['requestBody']>['content']['application/json'];
17825
18308
  type InventoryResult = InventoryLevel & {
@@ -17828,9 +18311,9 @@ type InventoryResult = InventoryLevel & {
17828
18311
  declare class InventoryResource {
17829
18312
  private client;
17830
18313
  constructor(client: Hydra);
17831
- list(params?: ListParams$j): Promise<ListResponse<InventoryLevel>>;
17832
- iterate(params?: Omit<ListParams$j, 'cursor'>, options?: PaginateOptions): AsyncGenerator<InventoryLevel, void, undefined>;
17833
- toArray(params?: Omit<ListParams$j, 'cursor'>, options?: PaginateOptions & {
18314
+ list(params?: ListParams$k): Promise<ListResponse<InventoryLevel>>;
18315
+ iterate(params?: Omit<ListParams$k, 'cursor'>, options?: PaginateOptions): AsyncGenerator<InventoryLevel, void, undefined>;
18316
+ toArray(params?: Omit<ListParams$k, 'cursor'>, options?: PaginateOptions & {
17834
18317
  limit?: number;
17835
18318
  }): Promise<InventoryLevel[]>;
17836
18319
  listAdjustments(params: {
@@ -17902,56 +18385,56 @@ declare class ShippingResource {
17902
18385
  }
17903
18386
 
17904
18387
  type Promotion = components['schemas']['Promotion'];
17905
- type ListParams$i = NonNullable<operations['listPromotions']['parameters']['query']>;
17906
- type CreateBody$d = NonNullable<operations['createPromotion']['requestBody']>['content']['application/json'];
17907
- type UpdateBody$e = NonNullable<operations['updatePromotion']['requestBody']>['content']['application/json'];
18388
+ type ListParams$j = NonNullable<operations['listPromotions']['parameters']['query']>;
18389
+ type CreateBody$e = NonNullable<operations['createPromotion']['requestBody']>['content']['application/json'];
18390
+ type UpdateBody$f = NonNullable<operations['updatePromotion']['requestBody']>['content']['application/json'];
17908
18391
  declare class PromotionsResource {
17909
18392
  private client;
17910
18393
  constructor(client: Hydra);
17911
- list(params?: ListParams$i): Promise<ListResponse<Promotion>>;
17912
- iterate(params?: Omit<ListParams$i, 'cursor'>, options?: PaginateOptions): AsyncGenerator<Promotion, void, undefined>;
17913
- toArray(params?: Omit<ListParams$i, 'cursor'>, options?: PaginateOptions & {
18394
+ list(params?: ListParams$j): Promise<ListResponse<Promotion>>;
18395
+ iterate(params?: Omit<ListParams$j, 'cursor'>, options?: PaginateOptions): AsyncGenerator<Promotion, void, undefined>;
18396
+ toArray(params?: Omit<ListParams$j, 'cursor'>, options?: PaginateOptions & {
17914
18397
  limit?: number;
17915
18398
  }): Promise<Promotion[]>;
17916
18399
  get(id: string): Promise<DataResponse<Promotion>>;
17917
- create(body: CreateBody$d, options?: ResourceRequestOptions): Promise<DataResponse<Promotion>>;
17918
- update(id: string, body: UpdateBody$e): Promise<DataResponse<Promotion>>;
18400
+ create(body: CreateBody$e, options?: ResourceRequestOptions): Promise<DataResponse<Promotion>>;
18401
+ update(id: string, body: UpdateBody$f): Promise<DataResponse<Promotion>>;
17919
18402
  delete(id: string): Promise<void>;
17920
18403
  }
17921
18404
 
17922
18405
  type Discount = components['schemas']['Discount'];
17923
- type ListParams$h = NonNullable<operations['listDiscounts']['parameters']['query']>;
17924
- type CreateBody$c = NonNullable<operations['createDiscount']['requestBody']>['content']['application/json'];
17925
- type UpdateBody$d = NonNullable<operations['updateDiscount']['requestBody']>['content']['application/json'];
18406
+ type ListParams$i = NonNullable<operations['listDiscounts']['parameters']['query']>;
18407
+ type CreateBody$d = NonNullable<operations['createDiscount']['requestBody']>['content']['application/json'];
18408
+ type UpdateBody$e = NonNullable<operations['updateDiscount']['requestBody']>['content']['application/json'];
17926
18409
  declare class DiscountsResource {
17927
18410
  private client;
17928
18411
  constructor(client: Hydra);
17929
- list(params?: ListParams$h): Promise<ListResponse<Discount>>;
17930
- iterate(params?: Omit<ListParams$h, 'cursor'>, options?: PaginateOptions): AsyncGenerator<Discount, void, undefined>;
17931
- toArray(params?: Omit<ListParams$h, 'cursor'>, options?: PaginateOptions & {
18412
+ list(params?: ListParams$i): Promise<ListResponse<Discount>>;
18413
+ iterate(params?: Omit<ListParams$i, 'cursor'>, options?: PaginateOptions): AsyncGenerator<Discount, void, undefined>;
18414
+ toArray(params?: Omit<ListParams$i, 'cursor'>, options?: PaginateOptions & {
17932
18415
  limit?: number;
17933
18416
  }): Promise<Discount[]>;
17934
18417
  get(id: string): Promise<DataResponse<Discount>>;
17935
- create(body: CreateBody$c, options?: ResourceRequestOptions): Promise<DataResponse<Discount>>;
17936
- update(id: string, body: UpdateBody$d): Promise<DataResponse<Discount>>;
18418
+ create(body: CreateBody$d, options?: ResourceRequestOptions): Promise<DataResponse<Discount>>;
18419
+ update(id: string, body: UpdateBody$e): Promise<DataResponse<Discount>>;
17937
18420
  delete(id: string): Promise<void>;
17938
18421
  }
17939
18422
 
17940
18423
  type Image = components['schemas']['Image'];
17941
- type ListParams$g = NonNullable<operations['listImages']['parameters']['query']>;
17942
- type UpdateBody$c = NonNullable<operations['updateImage']['requestBody']>['content']['application/json'];
18424
+ type ListParams$h = NonNullable<operations['listImages']['parameters']['query']>;
18425
+ type UpdateBody$d = NonNullable<operations['updateImage']['requestBody']>['content']['application/json'];
17943
18426
  type ReorderBody$2 = NonNullable<operations['reorderImages']['requestBody']>['content']['application/json'];
17944
18427
  declare class ImagesResource {
17945
18428
  private client;
17946
18429
  constructor(client: Hydra);
17947
- list(params?: ListParams$g): Promise<ListResponse<Image>>;
17948
- iterate(params?: Omit<ListParams$g, 'cursor'>, options?: PaginateOptions): AsyncGenerator<Image, void, undefined>;
17949
- toArray(params?: Omit<ListParams$g, 'cursor'>, options?: PaginateOptions & {
18430
+ list(params?: ListParams$h): Promise<ListResponse<Image>>;
18431
+ iterate(params?: Omit<ListParams$h, 'cursor'>, options?: PaginateOptions): AsyncGenerator<Image, void, undefined>;
18432
+ toArray(params?: Omit<ListParams$h, 'cursor'>, options?: PaginateOptions & {
17950
18433
  limit?: number;
17951
18434
  }): Promise<Image[]>;
17952
18435
  /** Upload an image to the store library */
17953
18436
  upload(formData: FormData): Promise<DataResponse<Image>>;
17954
- update(id: string, body: UpdateBody$c): Promise<DataResponse<Image>>;
18437
+ update(id: string, body: UpdateBody$d): Promise<DataResponse<Image>>;
17955
18438
  delete(id: string): Promise<void>;
17956
18439
  detach(id: string): Promise<void>;
17957
18440
  batchDelete(imageIds: string[]): Promise<void>;
@@ -17960,32 +18443,32 @@ declare class ImagesResource {
17960
18443
  }
17961
18444
 
17962
18445
  type Webhook = components['schemas']['Webhook'];
17963
- type ListParams$f = NonNullable<operations['listWebhooks']['parameters']['query']>;
17964
- type CreateBody$b = NonNullable<operations['createWebhook']['requestBody']>['content']['application/json'];
17965
- type UpdateBody$b = NonNullable<operations['updateWebhook']['requestBody']>['content']['application/json'];
18446
+ type ListParams$g = NonNullable<operations['listWebhooks']['parameters']['query']>;
18447
+ type CreateBody$c = NonNullable<operations['createWebhook']['requestBody']>['content']['application/json'];
18448
+ type UpdateBody$c = NonNullable<operations['updateWebhook']['requestBody']>['content']['application/json'];
17966
18449
  declare class WebhooksResource {
17967
18450
  private client;
17968
18451
  constructor(client: Hydra);
17969
- list(params?: ListParams$f): Promise<ListResponse<Webhook>>;
17970
- iterate(params?: Omit<ListParams$f, 'cursor'>, options?: PaginateOptions): AsyncGenerator<Webhook, void, undefined>;
17971
- toArray(params?: Omit<ListParams$f, 'cursor'>, options?: PaginateOptions & {
18452
+ list(params?: ListParams$g): Promise<ListResponse<Webhook>>;
18453
+ iterate(params?: Omit<ListParams$g, 'cursor'>, options?: PaginateOptions): AsyncGenerator<Webhook, void, undefined>;
18454
+ toArray(params?: Omit<ListParams$g, 'cursor'>, options?: PaginateOptions & {
17972
18455
  limit?: number;
17973
18456
  }): Promise<Webhook[]>;
17974
18457
  get(id: string): Promise<DataResponse<Webhook>>;
17975
- create(body: CreateBody$b, options?: ResourceRequestOptions): Promise<DataResponse<Webhook>>;
17976
- update(id: string, body: UpdateBody$b): Promise<DataResponse<Webhook>>;
18458
+ create(body: CreateBody$c, options?: ResourceRequestOptions): Promise<DataResponse<Webhook>>;
18459
+ update(id: string, body: UpdateBody$c): Promise<DataResponse<Webhook>>;
17977
18460
  delete(id: string): Promise<void>;
17978
18461
  }
17979
18462
 
17980
18463
  type Store = components['schemas']['Store'];
17981
- type UpdateBody$a = NonNullable<operations['updateStore']['requestBody']>['content']['application/json'];
18464
+ type UpdateBody$b = NonNullable<operations['updateStore']['requestBody']>['content']['application/json'];
17982
18465
  declare class StoreResource {
17983
18466
  private client;
17984
18467
  constructor(client: Hydra);
17985
18468
  get(params?: {
17986
18469
  fields?: string;
17987
18470
  }): Promise<DataResponse<Store>>;
17988
- update(body: UpdateBody$a): Promise<DataResponse<Store>>;
18471
+ update(body: UpdateBody$b): Promise<DataResponse<Store>>;
17989
18472
  getDomainRecord(): Promise<DataResponse<unknown>>;
17990
18473
  verifyDomain(): Promise<DataResponse<unknown>>;
17991
18474
  publish(): Promise<DataResponse<{
@@ -17997,42 +18480,42 @@ declare class StoreResource {
17997
18480
  }
17998
18481
 
17999
18482
  type Tag = components['schemas']['Tag'];
18000
- type ListParams$e = NonNullable<operations['listTags']['parameters']['query']>;
18001
- type CreateBody$a = NonNullable<operations['createTag']['requestBody']>['content']['application/json'];
18002
- type UpdateBody$9 = NonNullable<operations['updateTag']['requestBody']>['content']['application/json'];
18483
+ type ListParams$f = NonNullable<operations['listTags']['parameters']['query']>;
18484
+ type CreateBody$b = NonNullable<operations['createTag']['requestBody']>['content']['application/json'];
18485
+ type UpdateBody$a = NonNullable<operations['updateTag']['requestBody']>['content']['application/json'];
18003
18486
  declare class TagsResource {
18004
18487
  private client;
18005
18488
  constructor(client: Hydra);
18006
- list(params?: ListParams$e): Promise<ListResponse<Tag>>;
18007
- iterate(params?: Omit<ListParams$e, 'cursor'>, options?: PaginateOptions): AsyncGenerator<Tag, void, undefined>;
18008
- toArray(params?: Omit<ListParams$e, 'cursor'>, options?: PaginateOptions & {
18489
+ list(params?: ListParams$f): Promise<ListResponse<Tag>>;
18490
+ iterate(params?: Omit<ListParams$f, 'cursor'>, options?: PaginateOptions): AsyncGenerator<Tag, void, undefined>;
18491
+ toArray(params?: Omit<ListParams$f, 'cursor'>, options?: PaginateOptions & {
18009
18492
  limit?: number;
18010
18493
  }): Promise<Tag[]>;
18011
- create(body: CreateBody$a, options?: ResourceRequestOptions): Promise<DataResponse<Tag>>;
18012
- update(id: string, body: UpdateBody$9): Promise<DataResponse<Tag>>;
18494
+ create(body: CreateBody$b, options?: ResourceRequestOptions): Promise<DataResponse<Tag>>;
18495
+ update(id: string, body: UpdateBody$a): Promise<DataResponse<Tag>>;
18013
18496
  delete(id: string): Promise<void>;
18014
18497
  }
18015
18498
 
18016
18499
  type Redirect = components['schemas']['Redirect'];
18017
- type ListParams$d = NonNullable<operations['listRedirects']['parameters']['query']>;
18018
- type CreateBody$9 = NonNullable<operations['createRedirect']['requestBody']>['content']['application/json'];
18500
+ type ListParams$e = NonNullable<operations['listRedirects']['parameters']['query']>;
18501
+ type CreateBody$a = NonNullable<operations['createRedirect']['requestBody']>['content']['application/json'];
18019
18502
  declare class RedirectsResource {
18020
18503
  private client;
18021
18504
  constructor(client: Hydra);
18022
- list(params?: ListParams$d): Promise<ListResponse<Redirect>>;
18023
- iterate(params?: Omit<ListParams$d, 'cursor'>, options?: PaginateOptions): AsyncGenerator<Redirect, void, undefined>;
18024
- toArray(params?: Omit<ListParams$d, 'cursor'>, options?: PaginateOptions & {
18505
+ list(params?: ListParams$e): Promise<ListResponse<Redirect>>;
18506
+ iterate(params?: Omit<ListParams$e, 'cursor'>, options?: PaginateOptions): AsyncGenerator<Redirect, void, undefined>;
18507
+ toArray(params?: Omit<ListParams$e, 'cursor'>, options?: PaginateOptions & {
18025
18508
  limit?: number;
18026
18509
  }): Promise<Redirect[]>;
18027
- create(body: CreateBody$9, options?: ResourceRequestOptions): Promise<DataResponse<Redirect>>;
18510
+ create(body: CreateBody$a, options?: ResourceRequestOptions): Promise<DataResponse<Redirect>>;
18028
18511
  lookup(path: string): Promise<DataResponse<Redirect>>;
18029
18512
  delete(id: string): Promise<void>;
18030
18513
  }
18031
18514
 
18032
18515
  type Company = components['schemas']['Company'];
18033
- type ListParams$c = NonNullable<operations['listCompanies']['parameters']['query']>;
18034
- type CreateBody$8 = NonNullable<operations['createCompany']['requestBody']>['content']['application/json'];
18035
- type UpdateBody$8 = NonNullable<operations['updateCompany']['requestBody']>['content']['application/json'];
18516
+ type ListParams$d = NonNullable<operations['listCompanies']['parameters']['query']>;
18517
+ type CreateBody$9 = NonNullable<operations['createCompany']['requestBody']>['content']['application/json'];
18518
+ type UpdateBody$9 = NonNullable<operations['updateCompany']['requestBody']>['content']['application/json'];
18036
18519
  type CreateAddressBody = NonNullable<operations['createCompanyAddress']['requestBody']>['content']['application/json'];
18037
18520
  type UpdateAddressBody = NonNullable<operations['updateCompanyAddress']['requestBody']>['content']['application/json'];
18038
18521
  type CreateContactBody = NonNullable<operations['createCompanyContact']['requestBody']>['content']['application/json'];
@@ -18041,14 +18524,14 @@ type CreateNoteBody = NonNullable<operations['createCompanyNote']['requestBody']
18041
18524
  declare class CompaniesResource {
18042
18525
  private client;
18043
18526
  constructor(client: Hydra);
18044
- list(params?: ListParams$c): Promise<ListResponse<Company>>;
18045
- iterate(params?: Omit<ListParams$c, 'cursor'>, options?: PaginateOptions): AsyncGenerator<Company, void, undefined>;
18046
- toArray(params?: Omit<ListParams$c, 'cursor'>, options?: PaginateOptions & {
18527
+ list(params?: ListParams$d): Promise<ListResponse<Company>>;
18528
+ iterate(params?: Omit<ListParams$d, 'cursor'>, options?: PaginateOptions): AsyncGenerator<Company, void, undefined>;
18529
+ toArray(params?: Omit<ListParams$d, 'cursor'>, options?: PaginateOptions & {
18047
18530
  limit?: number;
18048
18531
  }): Promise<Company[]>;
18049
- get(id: string, params?: Pick<ListParams$c, 'expand' | 'fields'>): Promise<DataResponse<Company>>;
18050
- create(body: CreateBody$8, options?: ResourceRequestOptions): Promise<DataResponse<Company>>;
18051
- update(id: string, body: UpdateBody$8): Promise<DataResponse<Company>>;
18532
+ get(id: string, params?: Pick<ListParams$d, 'expand' | 'fields'>): Promise<DataResponse<Company>>;
18533
+ create(body: CreateBody$9, options?: ResourceRequestOptions): Promise<DataResponse<Company>>;
18534
+ update(id: string, body: UpdateBody$9): Promise<DataResponse<Company>>;
18052
18535
  delete(id: string): Promise<void>;
18053
18536
  listAddresses(companyId: string): Promise<DataResponse<unknown[]>>;
18054
18537
  createAddress(companyId: string, body: CreateAddressBody): Promise<DataResponse<unknown>>;
@@ -18064,23 +18547,23 @@ declare class CompaniesResource {
18064
18547
  }
18065
18548
 
18066
18549
  type PurchaseOrder = components['schemas']['PurchaseOrder'];
18067
- type ListParams$b = NonNullable<operations['listPurchaseOrders']['parameters']['query']>;
18068
- type CreateBody$7 = NonNullable<operations['createPurchaseOrder']['requestBody']>['content']['application/json'];
18069
- type UpdateBody$7 = NonNullable<operations['updatePurchaseOrder']['requestBody']>['content']['application/json'];
18550
+ type ListParams$c = NonNullable<operations['listPurchaseOrders']['parameters']['query']>;
18551
+ type CreateBody$8 = NonNullable<operations['createPurchaseOrder']['requestBody']>['content']['application/json'];
18552
+ type UpdateBody$8 = NonNullable<operations['updatePurchaseOrder']['requestBody']>['content']['application/json'];
18070
18553
  type AddItemBody = NonNullable<operations['addPurchaseOrderItems']['requestBody']>['content']['application/json'];
18071
18554
  type UpdateItemBody$1 = NonNullable<operations['updatePurchaseOrderItem']['requestBody']>['content']['application/json'];
18072
18555
  type ReceiveBody = NonNullable<operations['receivePurchaseOrderItems']['requestBody']>['content']['application/json'];
18073
18556
  declare class PurchaseOrdersResource {
18074
18557
  private client;
18075
18558
  constructor(client: Hydra);
18076
- list(params?: ListParams$b): Promise<ListResponse<PurchaseOrder>>;
18077
- iterate(params?: Omit<ListParams$b, 'cursor'>, options?: PaginateOptions): AsyncGenerator<PurchaseOrder, void, undefined>;
18078
- toArray(params?: Omit<ListParams$b, 'cursor'>, options?: PaginateOptions & {
18559
+ list(params?: ListParams$c): Promise<ListResponse<PurchaseOrder>>;
18560
+ iterate(params?: Omit<ListParams$c, 'cursor'>, options?: PaginateOptions): AsyncGenerator<PurchaseOrder, void, undefined>;
18561
+ toArray(params?: Omit<ListParams$c, 'cursor'>, options?: PaginateOptions & {
18079
18562
  limit?: number;
18080
18563
  }): Promise<PurchaseOrder[]>;
18081
- get(id: string, params?: Pick<ListParams$b, 'expand' | 'fields'>): Promise<DataResponse<PurchaseOrder>>;
18082
- create(body: CreateBody$7, options?: ResourceRequestOptions): Promise<DataResponse<PurchaseOrder>>;
18083
- update(id: string, body: UpdateBody$7): Promise<DataResponse<PurchaseOrder>>;
18564
+ get(id: string, params?: Pick<ListParams$c, 'expand' | 'fields'>): Promise<DataResponse<PurchaseOrder>>;
18565
+ create(body: CreateBody$8, options?: ResourceRequestOptions): Promise<DataResponse<PurchaseOrder>>;
18566
+ update(id: string, body: UpdateBody$8): Promise<DataResponse<PurchaseOrder>>;
18084
18567
  delete(id: string): Promise<void>;
18085
18568
  addItem(purchaseOrderId: string, body: AddItemBody): Promise<DataResponse<unknown>>;
18086
18569
  updateItem(purchaseOrderId: string, itemId: string, body: UpdateItemBody$1): Promise<DataResponse<unknown>>;
@@ -18103,17 +18586,17 @@ declare class FulfillmentOrdersResource {
18103
18586
  listForOrder(orderId: string): Promise<DataResponse<FulfillmentOrder[]>>;
18104
18587
  }
18105
18588
 
18106
- type ListParams$a = NonNullable<operations['listMetafieldDefinitions']['parameters']['query']>;
18107
- type CreateBody$6 = NonNullable<operations['createMetafieldDefinition']['requestBody']>['content']['application/json'];
18108
- type UpdateBody$6 = NonNullable<operations['updateMetafieldDefinition']['requestBody']>['content']['application/json'];
18589
+ type ListParams$b = NonNullable<operations['listMetafieldDefinitions']['parameters']['query']>;
18590
+ type CreateBody$7 = NonNullable<operations['createMetafieldDefinition']['requestBody']>['content']['application/json'];
18591
+ type UpdateBody$7 = NonNullable<operations['updateMetafieldDefinition']['requestBody']>['content']['application/json'];
18109
18592
  type ReorderBody$1 = NonNullable<operations['reorderMetafieldDefinitions']['requestBody']>['content']['application/json'];
18110
18593
  declare class MetafieldsResource {
18111
18594
  private client;
18112
18595
  constructor(client: Hydra);
18113
18596
  /** List metafield definitions for the store */
18114
- listDefinitions(params?: ListParams$a): Promise<DataResponse<unknown[]>>;
18115
- createDefinition(body: CreateBody$6): Promise<DataResponse<unknown>>;
18116
- updateDefinition(ownerType: string, slug: string, body: UpdateBody$6): Promise<DataResponse<unknown>>;
18597
+ listDefinitions(params?: ListParams$b): Promise<DataResponse<unknown[]>>;
18598
+ createDefinition(body: CreateBody$7): Promise<DataResponse<unknown>>;
18599
+ updateDefinition(ownerType: string, slug: string, body: UpdateBody$7): Promise<DataResponse<unknown>>;
18117
18600
  archiveDefinition(ownerType: string, slug: string): Promise<void>;
18118
18601
  reorderDefinitions(ownerType: string, body: ReorderBody$1): Promise<void>;
18119
18602
  }
@@ -18159,30 +18642,30 @@ declare class TaxResource {
18159
18642
  }
18160
18643
 
18161
18644
  type ExchangeRate = components['schemas']['ExchangeRate'];
18162
- type ListParams$9 = NonNullable<operations['listExchangeRates']['parameters']['query']>;
18645
+ type ListParams$a = NonNullable<operations['listExchangeRates']['parameters']['query']>;
18163
18646
  declare class ExchangeRatesResource {
18164
18647
  private client;
18165
18648
  constructor(client: Hydra);
18166
- list(params?: ListParams$9): Promise<DataResponse<ExchangeRate[]>>;
18649
+ list(params?: ListParams$a): Promise<DataResponse<ExchangeRate[]>>;
18167
18650
  refresh(): Promise<DataResponse<unknown>>;
18168
18651
  }
18169
18652
 
18170
18653
  type FilterAttribute = components['schemas']['FilterAttribute'];
18171
- type ListParams$8 = NonNullable<operations['listFilterAttributes']['parameters']['query']>;
18172
- type CreateBody$5 = NonNullable<operations['createFilterAttribute']['requestBody']>['content']['application/json'];
18173
- type UpdateBody$5 = NonNullable<operations['updateFilterAttribute']['requestBody']>['content']['application/json'];
18654
+ type ListParams$9 = NonNullable<operations['listFilterAttributes']['parameters']['query']>;
18655
+ type CreateBody$6 = NonNullable<operations['createFilterAttribute']['requestBody']>['content']['application/json'];
18656
+ type UpdateBody$6 = NonNullable<operations['updateFilterAttribute']['requestBody']>['content']['application/json'];
18174
18657
  type ReorderBody = NonNullable<operations['reorderFilterAttributes']['requestBody']>['content']['application/json'];
18175
18658
  declare class FilterAttributesResource {
18176
18659
  private client;
18177
18660
  constructor(client: Hydra);
18178
- list(params?: ListParams$8): Promise<ListResponse<FilterAttribute>>;
18179
- iterate(params?: Omit<ListParams$8, 'cursor'>, options?: PaginateOptions): AsyncGenerator<FilterAttribute, void, undefined>;
18180
- toArray(params?: Omit<ListParams$8, 'cursor'>, options?: PaginateOptions & {
18661
+ list(params?: ListParams$9): Promise<ListResponse<FilterAttribute>>;
18662
+ iterate(params?: Omit<ListParams$9, 'cursor'>, options?: PaginateOptions): AsyncGenerator<FilterAttribute, void, undefined>;
18663
+ toArray(params?: Omit<ListParams$9, 'cursor'>, options?: PaginateOptions & {
18181
18664
  limit?: number;
18182
18665
  }): Promise<FilterAttribute[]>;
18183
18666
  get(id: string): Promise<DataResponse<FilterAttribute>>;
18184
- create(body: CreateBody$5, options?: ResourceRequestOptions): Promise<DataResponse<FilterAttribute>>;
18185
- update(id: string, body: UpdateBody$5): Promise<DataResponse<FilterAttribute>>;
18667
+ create(body: CreateBody$6, options?: ResourceRequestOptions): Promise<DataResponse<FilterAttribute>>;
18668
+ update(id: string, body: UpdateBody$6): Promise<DataResponse<FilterAttribute>>;
18186
18669
  delete(id: string): Promise<void>;
18187
18670
  reorder(body: ReorderBody): Promise<ListResponse<FilterAttribute>>;
18188
18671
  discover(): Promise<DataResponse<unknown[]>>;
@@ -18190,23 +18673,23 @@ declare class FilterAttributesResource {
18190
18673
 
18191
18674
  type NavigationMenu = components['schemas']['NavigationMenu'];
18192
18675
  type NavigationItem = components['schemas']['NavigationItem'];
18193
- type ListParams$7 = NonNullable<operations['listNavigationMenus']['parameters']['query']>;
18194
- type CreateBody$4 = NonNullable<operations['createNavigationMenu']['requestBody']>['content']['application/json'];
18195
- type UpdateBody$4 = NonNullable<operations['updateNavigationMenu']['requestBody']>['content']['application/json'];
18676
+ type ListParams$8 = NonNullable<operations['listNavigationMenus']['parameters']['query']>;
18677
+ type CreateBody$5 = NonNullable<operations['createNavigationMenu']['requestBody']>['content']['application/json'];
18678
+ type UpdateBody$5 = NonNullable<operations['updateNavigationMenu']['requestBody']>['content']['application/json'];
18196
18679
  type CreateItemBody = NonNullable<operations['addNavigationItem']['requestBody']>['content']['application/json'];
18197
18680
  type UpdateItemBody = NonNullable<operations['updateNavigationItem']['requestBody']>['content']['application/json'];
18198
18681
  type ReorderItemsBody = NonNullable<operations['reorderNavigationItems']['requestBody']>['content']['application/json'];
18199
18682
  declare class NavigationResource {
18200
18683
  private client;
18201
18684
  constructor(client: Hydra);
18202
- list(params?: ListParams$7): Promise<ListResponse<NavigationMenu>>;
18203
- iterate(params?: Omit<ListParams$7, 'cursor'>, options?: PaginateOptions): AsyncGenerator<NavigationMenu, void, undefined>;
18204
- toArray(params?: Omit<ListParams$7, 'cursor'>, options?: PaginateOptions & {
18685
+ list(params?: ListParams$8): Promise<ListResponse<NavigationMenu>>;
18686
+ iterate(params?: Omit<ListParams$8, 'cursor'>, options?: PaginateOptions): AsyncGenerator<NavigationMenu, void, undefined>;
18687
+ toArray(params?: Omit<ListParams$8, 'cursor'>, options?: PaginateOptions & {
18205
18688
  limit?: number;
18206
18689
  }): Promise<NavigationMenu[]>;
18207
18690
  get(id: string): Promise<DataResponse<NavigationMenu>>;
18208
- create(body: CreateBody$4, options?: ResourceRequestOptions): Promise<DataResponse<NavigationMenu>>;
18209
- update(id: string, body: UpdateBody$4): Promise<DataResponse<NavigationMenu>>;
18691
+ create(body: CreateBody$5, options?: ResourceRequestOptions): Promise<DataResponse<NavigationMenu>>;
18692
+ update(id: string, body: UpdateBody$5): Promise<DataResponse<NavigationMenu>>;
18210
18693
  delete(id: string): Promise<void>;
18211
18694
  addItem(menuId: string, body: CreateItemBody): Promise<DataResponse<NavigationItem>>;
18212
18695
  updateItem(menuId: string, itemId: string, body: UpdateItemBody): Promise<DataResponse<NavigationItem>>;
@@ -18215,26 +18698,26 @@ declare class NavigationResource {
18215
18698
  }
18216
18699
 
18217
18700
  type NotificationLog = components['schemas']['NotificationLog'];
18218
- type ListParams$6 = NonNullable<operations['listNotifications']['parameters']['query']>;
18701
+ type ListParams$7 = NonNullable<operations['listNotifications']['parameters']['query']>;
18219
18702
  declare class NotificationsResource {
18220
18703
  private client;
18221
18704
  constructor(client: Hydra);
18222
- list(params?: ListParams$6): Promise<ListResponse<NotificationLog>>;
18223
- iterate(params?: Omit<ListParams$6, 'cursor'>, options?: PaginateOptions): AsyncGenerator<NotificationLog, void, undefined>;
18224
- toArray(params?: Omit<ListParams$6, 'cursor'>, options?: PaginateOptions & {
18705
+ list(params?: ListParams$7): Promise<ListResponse<NotificationLog>>;
18706
+ iterate(params?: Omit<ListParams$7, 'cursor'>, options?: PaginateOptions): AsyncGenerator<NotificationLog, void, undefined>;
18707
+ toArray(params?: Omit<ListParams$7, 'cursor'>, options?: PaginateOptions & {
18225
18708
  limit?: number;
18226
18709
  }): Promise<NotificationLog[]>;
18227
18710
  get(id: string): Promise<DataResponse<NotificationLog>>;
18228
18711
  }
18229
18712
 
18230
18713
  type CheckoutListItem = components['schemas']['CheckoutListItem'];
18231
- type ListParams$5 = NonNullable<operations['listCheckouts']['parameters']['query']>;
18714
+ type ListParams$6 = NonNullable<operations['listCheckouts']['parameters']['query']>;
18232
18715
  declare class CheckoutsResource {
18233
18716
  private client;
18234
18717
  constructor(client: Hydra);
18235
- list(params?: ListParams$5): Promise<ListResponse<CheckoutListItem>>;
18236
- iterate(params?: Omit<ListParams$5, 'cursor'>, options?: PaginateOptions): AsyncGenerator<CheckoutListItem, void, undefined>;
18237
- toArray(params?: Omit<ListParams$5, 'cursor'>, options?: PaginateOptions & {
18718
+ list(params?: ListParams$6): Promise<ListResponse<CheckoutListItem>>;
18719
+ iterate(params?: Omit<ListParams$6, 'cursor'>, options?: PaginateOptions): AsyncGenerator<CheckoutListItem, void, undefined>;
18720
+ toArray(params?: Omit<ListParams$6, 'cursor'>, options?: PaginateOptions & {
18238
18721
  limit?: number;
18239
18722
  }): Promise<CheckoutListItem[]>;
18240
18723
  }
@@ -18260,16 +18743,16 @@ declare class AnalyticsResource {
18260
18743
 
18261
18744
  type CreditTransaction = NonNullable<operations['issueCustomerCredit']['responses']['201']['content']['application/json']['data']>;
18262
18745
  type CreditBalance = NonNullable<operations['getCustomerCredit']['responses']['200']['content']['application/json']['data']>;
18263
- type ListParams$4 = NonNullable<operations['listCustomerCreditTransactions']['parameters']['query']>;
18746
+ type ListParams$5 = NonNullable<operations['listCustomerCreditTransactions']['parameters']['query']>;
18264
18747
  type IssueCreditBody = NonNullable<operations['issueCustomerCredit']['requestBody']>['content']['application/json'];
18265
18748
  declare class StoreCreditResource {
18266
18749
  private client;
18267
18750
  constructor(client: Hydra);
18268
18751
  getBalance(customerId: string): Promise<DataResponse<CreditBalance>>;
18269
18752
  issue(customerId: string, body: IssueCreditBody, options?: ResourceRequestOptions): Promise<DataResponse<CreditTransaction>>;
18270
- listTransactions(customerId: string, params?: ListParams$4): Promise<ListResponse<CreditTransaction>>;
18271
- iterateTransactions(customerId: string, params?: Omit<ListParams$4, 'cursor'>, options?: PaginateOptions): AsyncGenerator<CreditTransaction, void, undefined>;
18272
- transactionsToArray(customerId: string, params?: Omit<ListParams$4, 'cursor'>, options?: PaginateOptions & {
18753
+ listTransactions(customerId: string, params?: ListParams$5): Promise<ListResponse<CreditTransaction>>;
18754
+ iterateTransactions(customerId: string, params?: Omit<ListParams$5, 'cursor'>, options?: PaginateOptions): AsyncGenerator<CreditTransaction, void, undefined>;
18755
+ transactionsToArray(customerId: string, params?: Omit<ListParams$5, 'cursor'>, options?: PaginateOptions & {
18273
18756
  limit?: number;
18274
18757
  }): Promise<CreditTransaction[]>;
18275
18758
  }
@@ -18285,6 +18768,25 @@ declare class SearchResource {
18285
18768
  suggest(params: SuggestParams): Promise<SearchSuggestions>;
18286
18769
  }
18287
18770
 
18771
+ type Channel = components['schemas']['Channel'];
18772
+ type ListParams$4 = NonNullable<operations['listChannels']['parameters']['query']>;
18773
+ type CreateBody$4 = NonNullable<operations['createChannel']['requestBody']>['content']['application/json'];
18774
+ type UpdateBody$4 = NonNullable<operations['updateChannel']['requestBody']>['content']['application/json'];
18775
+ declare class ChannelsResource {
18776
+ private client;
18777
+ constructor(client: Hydra);
18778
+ list(params?: ListParams$4): Promise<ListResponse<Channel>>;
18779
+ iterate(params?: Omit<ListParams$4, 'cursor'>, options?: PaginateOptions): AsyncGenerator<Channel, void, undefined>;
18780
+ toArray(params?: Omit<ListParams$4, 'cursor'>, options?: PaginateOptions & {
18781
+ limit?: number;
18782
+ }): Promise<Channel[]>;
18783
+ get(slug: string, params?: Pick<ListParams$4, 'fields'>): Promise<DataResponse<Channel>>;
18784
+ create(body: CreateBody$4, options?: ResourceRequestOptions): Promise<DataResponse<Channel>>;
18785
+ update(slug: string, body: UpdateBody$4): Promise<DataResponse<Channel>>;
18786
+ archive(slug: string): Promise<void>;
18787
+ setDefault(slug: string): Promise<DataResponse<Channel>>;
18788
+ }
18789
+
18288
18790
  type Location = components['schemas']['Location'];
18289
18791
  type TransferResult = components['schemas']['TransferResult'];
18290
18792
  type ListParams$3 = NonNullable<operations['listLocations']['parameters']['query']>;
@@ -18403,6 +18905,36 @@ declare class ContentCategoriesResource {
18403
18905
  create(body: CreateBody$1, options?: ResourceRequestOptions): Promise<DataResponse<ContentCategory>>;
18404
18906
  update(id: string, body: UpdateBody$1): Promise<DataResponse<ContentCategory>>;
18405
18907
  delete(id: string): Promise<void>;
18908
+ listPosts(categoryId: string, params?: {
18909
+ limit?: number;
18910
+ cursor?: string;
18911
+ type?: 'post' | 'page';
18912
+ }): Promise<ListResponse<CategoryPost>>;
18913
+ addPosts(categoryId: string, body: {
18914
+ post_ids: string[];
18915
+ }): Promise<DataResponse<ContentCategory>>;
18916
+ removePost(categoryId: string, postId: string): Promise<void>;
18917
+ reorderPosts(categoryId: string, body: {
18918
+ posts: Array<{
18919
+ id: string;
18920
+ position: number;
18921
+ }>;
18922
+ }): Promise<void>;
18923
+ }
18924
+ /** Post within a content category, sorted by position. */
18925
+ interface CategoryPost {
18926
+ id: string;
18927
+ type: string;
18928
+ title: string;
18929
+ handle: string;
18930
+ status: string;
18931
+ position: number;
18932
+ featured_image: {
18933
+ id: string;
18934
+ src: string;
18935
+ alt: string | null;
18936
+ } | null;
18937
+ created_at: string;
18406
18938
  }
18407
18939
 
18408
18940
  type MembershipPlan = components['schemas']['MembershipPlan'];
@@ -18435,7 +18967,7 @@ interface AppInfo {
18435
18967
  url?: string;
18436
18968
  }
18437
18969
  interface HydraConfig {
18438
- /** API key (sk_live_*, sk_test_*, pk_live_*, pk_test_*) */
18970
+ /** API key (sk_*, pk_*) */
18439
18971
  apiKey: string;
18440
18972
  /** API base URL. Default: https://api.hydrajs.dev */
18441
18973
  baseUrl?: string;
@@ -18491,6 +19023,7 @@ declare class Hydra {
18491
19023
  readonly store: StoreResource;
18492
19024
  readonly tags: TagsResource;
18493
19025
  readonly redirects: RedirectsResource;
19026
+ readonly channels: ChannelsResource;
18494
19027
  readonly locations: LocationsResource;
18495
19028
  readonly companies: CompaniesResource;
18496
19029
  readonly purchaseOrders: PurchaseOrdersResource;
@@ -18587,4 +19120,4 @@ declare class HydraIdempotencyError extends HydraError {
18587
19120
  constructor(body: HydraErrorBody, headers: Headers);
18588
19121
  }
18589
19122
 
18590
- export { AddressesResource, type AnalyticsActionItems$1 as AnalyticsActionItems, type AnalyticsOrdersSeries$1 as AnalyticsOrdersSeries, AnalyticsResource, type AnalyticsSummary$1 as AnalyticsSummary, type AnalyticsTimeSeries$1 as AnalyticsTimeSeries, type AnalyticsTopProduct$1 as AnalyticsTopProduct, type AppInfo, type Cart$1 as Cart, type CartItem, CartResource, type CheckoutCreate$1 as CheckoutCreate, type CheckoutGet$1 as CheckoutGet, type CheckoutListItem$1 as CheckoutListItem, CheckoutResource, CheckoutsResource, type Collection$1 as Collection, CollectionsResource, CompaniesResource, type Company$1 as Company, ContentCategoriesResource, type ContentCategory$1 as ContentCategory, type Customer$1 as Customer, type CustomerGroup$1 as CustomerGroup, CustomerGroupsResource, type CustomerMembership$1 as CustomerMembership, type CustomerPhoto$1 as CustomerPhoto, CustomerPhotosResource, CustomersResource, type DataResponse, type Discount$1 as Discount, DiscountsResource, type DraftOrder$1 as DraftOrder, DraftOrdersResource, type ExchangeRate$1 as ExchangeRate, ExchangeRatesResource, type Fulfillment$1 as Fulfillment, type FulfillmentOrder$2 as FulfillmentOrder, FulfillmentOrdersResource, FulfillmentsResource, type GenerateVariantsResult$1 as GenerateVariantsResult, Hydra, HydraAuthenticationError, type HydraConfig, HydraConnectionError, HydraError, type HydraErrorBody, HydraIdempotencyError, HydraNotFoundError, HydraPermissionError, HydraRateLimitError, HydraValidationError, type Image$2 as Image, ImagesResource, IntegrationsResource, type InventoryLevel$1 as InventoryLevel, InventoryResource, type ListResponse, type Location$1 as Location, LocationsResource, type MembershipPlan$1 as MembershipPlan, MembershipPlansResource, MetafieldsResource, type NotificationLog$1 as NotificationLog, NotificationsResource, type Order$2 as Order, OrdersResource, type PaginateOptions, type Pagination, type Post$1 as Post, PostsResource, type Product$1 as Product, type ProductStats$1 as ProductStats, ProductsResource, type Promotion$1 as Promotion, PromotionsResource, type PurchaseOrder$1 as PurchaseOrder, PurchaseOrdersResource, type Redirect$1 as Redirect, RedirectsResource, type Refund$1 as Refund, RefundsResource, type RequestOptions, type ResourceRequestOptions, type Return$1 as Return, ReturnsResource, SearchResource, type ShippingRate$1 as ShippingRate, ShippingResource, type ShippingZone$1 as ShippingZone, type Store$1 as Store, StoreCreditResource, StoreResource, type Tag$1 as Tag, TagsResource, type TaxExemption$1 as TaxExemption, type TaxGroup$1 as TaxGroup, type TaxRate$1 as TaxRate, TaxResource, type Variant$2 as Variant, type VariantPrice$1 as VariantPrice, VariantsResource, type Webhook$1 as Webhook, WebhooksResource, paginate, toArray };
19123
+ export { AddressesResource, type AnalyticsActionItems$1 as AnalyticsActionItems, type AnalyticsOrdersSeries$1 as AnalyticsOrdersSeries, AnalyticsResource, type AnalyticsSummary$1 as AnalyticsSummary, type AnalyticsTimeSeries$1 as AnalyticsTimeSeries, type AnalyticsTopProduct$1 as AnalyticsTopProduct, type AppInfo, type Cart$1 as Cart, type CartItem, CartResource, type Channel$1 as Channel, ChannelsResource, type CheckoutCreate$1 as CheckoutCreate, type CheckoutGet$1 as CheckoutGet, type CheckoutListItem$1 as CheckoutListItem, CheckoutResource, CheckoutsResource, type Collection$1 as Collection, CollectionsResource, CompaniesResource, type Company$1 as Company, ContentCategoriesResource, type ContentCategory$1 as ContentCategory, type Customer$1 as Customer, type CustomerGroup$1 as CustomerGroup, CustomerGroupsResource, type CustomerMembership$1 as CustomerMembership, type CustomerPhoto$1 as CustomerPhoto, CustomerPhotosResource, CustomersResource, type DataResponse, type Discount$1 as Discount, DiscountsResource, type DraftOrder$1 as DraftOrder, DraftOrdersResource, type ExchangeRate$1 as ExchangeRate, ExchangeRatesResource, type Fulfillment$1 as Fulfillment, type FulfillmentOrder$2 as FulfillmentOrder, FulfillmentOrdersResource, FulfillmentsResource, type GenerateVariantsResult$1 as GenerateVariantsResult, Hydra, HydraAuthenticationError, type HydraConfig, HydraConnectionError, HydraError, type HydraErrorBody, HydraIdempotencyError, HydraNotFoundError, HydraPermissionError, HydraRateLimitError, HydraValidationError, type Image$2 as Image, ImagesResource, IntegrationsResource, type InventoryLevel$1 as InventoryLevel, InventoryResource, type ListResponse, type Location$1 as Location, LocationsResource, type MembershipPlan$1 as MembershipPlan, MembershipPlansResource, MetafieldsResource, type NotificationLog$1 as NotificationLog, NotificationsResource, type Order$2 as Order, OrdersResource, type PaginateOptions, type Pagination, type Post$1 as Post, PostsResource, type Product$1 as Product, type ProductStats$1 as ProductStats, ProductsResource, type Promotion$1 as Promotion, PromotionsResource, type PurchaseOrder$1 as PurchaseOrder, PurchaseOrdersResource, type Redirect$1 as Redirect, RedirectsResource, type Refund$1 as Refund, RefundsResource, type RequestOptions, type ResourceRequestOptions, type Return$1 as Return, ReturnsResource, SearchResource, type ShippingRate$1 as ShippingRate, ShippingResource, type ShippingZone$1 as ShippingZone, type Store$1 as Store, StoreCreditResource, StoreResource, type Tag$1 as Tag, TagsResource, type TaxExemption$1 as TaxExemption, type TaxGroup$1 as TaxGroup, type TaxRate$1 as TaxRate, TaxResource, type Variant$2 as Variant, type VariantPrice$1 as VariantPrice, VariantsResource, type Webhook$1 as Webhook, WebhooksResource, paginate, toArray };