@gethydra/sdk 0.1.14 → 0.1.16

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,11 +4802,199 @@ 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";
4814
+ };
4815
+ header?: never;
4816
+ path?: never;
4817
+ cookie?: never;
4818
+ };
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
+ };
4779
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;
4780
4998
  header?: never;
4781
4999
  path?: never;
4782
5000
  cookie?: never;
@@ -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";
@@ -11736,6 +12105,24 @@ interface operations {
11736
12105
  };
11737
12106
  };
11738
12107
  };
12108
+ bootstrapSearchIndex: {
12109
+ parameters: {
12110
+ query?: never;
12111
+ header?: never;
12112
+ path?: never;
12113
+ cookie?: never;
12114
+ };
12115
+ requestBody?: never;
12116
+ responses: {
12117
+ /** @description Bootstrap complete */
12118
+ 200: {
12119
+ headers: {
12120
+ [name: string]: unknown;
12121
+ };
12122
+ content?: never;
12123
+ };
12124
+ };
12125
+ };
11739
12126
  listInventory: {
11740
12127
  parameters: {
11741
12128
  query?: {
@@ -12329,7 +12716,7 @@ interface operations {
12329
12716
  * "order.paid"
12330
12717
  * ]
12331
12718
  */
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")[];
12719
+ 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
12720
  /**
12334
12721
  * @default active
12335
12722
  * @example active
@@ -12423,7 +12810,7 @@ interface operations {
12423
12810
  * "product.updated"
12424
12811
  * ]
12425
12812
  */
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")[];
12813
+ 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
12814
  /**
12428
12815
  * @example active
12429
12816
  * @enum {string}
@@ -15638,7 +16025,7 @@ interface operations {
15638
16025
  /** @example engineering */
15639
16026
  handle?: string;
15640
16027
  /** @example Technical articles and product updates. */
15641
- description?: string;
16028
+ description?: string | null;
15642
16029
  seo?: {
15643
16030
  title?: string;
15644
16031
  description?: string;
@@ -15660,6 +16047,119 @@ interface operations {
15660
16047
  };
15661
16048
  };
15662
16049
  };
16050
+ listCategoryPosts: {
16051
+ parameters: {
16052
+ query?: {
16053
+ limit?: number;
16054
+ cursor?: string;
16055
+ fields?: string;
16056
+ type?: "post" | "page";
16057
+ };
16058
+ header?: never;
16059
+ path: {
16060
+ id: string;
16061
+ };
16062
+ cookie?: never;
16063
+ };
16064
+ requestBody?: never;
16065
+ responses: {
16066
+ /** @description Paginated post list sorted by position */
16067
+ 200: {
16068
+ headers: {
16069
+ [name: string]: unknown;
16070
+ };
16071
+ content?: never;
16072
+ };
16073
+ };
16074
+ };
16075
+ addCategoryPosts: {
16076
+ parameters: {
16077
+ query?: never;
16078
+ header?: never;
16079
+ path: {
16080
+ id: string;
16081
+ };
16082
+ cookie?: never;
16083
+ };
16084
+ requestBody?: {
16085
+ content: {
16086
+ "application/json": {
16087
+ /**
16088
+ * @example [
16089
+ * "post_abc123",
16090
+ * "post_def456"
16091
+ * ]
16092
+ */
16093
+ post_ids: string[];
16094
+ };
16095
+ };
16096
+ };
16097
+ responses: {
16098
+ /** @description Category with updated post count */
16099
+ 200: {
16100
+ headers: {
16101
+ [name: string]: unknown;
16102
+ };
16103
+ content: {
16104
+ "application/json": {
16105
+ data: components["schemas"]["ContentCategory"];
16106
+ };
16107
+ };
16108
+ };
16109
+ };
16110
+ };
16111
+ removeCategoryPost: {
16112
+ parameters: {
16113
+ query?: never;
16114
+ header?: never;
16115
+ path: {
16116
+ id: string;
16117
+ post_id: string;
16118
+ };
16119
+ cookie?: never;
16120
+ };
16121
+ requestBody?: never;
16122
+ responses: {
16123
+ /** @description Post removed from category */
16124
+ 204: {
16125
+ headers: {
16126
+ [name: string]: unknown;
16127
+ };
16128
+ content?: never;
16129
+ };
16130
+ };
16131
+ };
16132
+ reorderCategoryPosts: {
16133
+ parameters: {
16134
+ query?: never;
16135
+ header?: never;
16136
+ path: {
16137
+ id: string;
16138
+ };
16139
+ cookie?: never;
16140
+ };
16141
+ requestBody?: {
16142
+ content: {
16143
+ "application/json": {
16144
+ posts: {
16145
+ /** @example post_abc123 */
16146
+ id: string;
16147
+ /** @example 0 */
16148
+ position: number;
16149
+ }[];
16150
+ };
16151
+ };
16152
+ };
16153
+ responses: {
16154
+ /** @description Posts reordered */
16155
+ 204: {
16156
+ headers: {
16157
+ [name: string]: unknown;
16158
+ };
16159
+ content?: never;
16160
+ };
16161
+ };
16162
+ };
15663
16163
  listNavigationMenus: {
15664
16164
  parameters: {
15665
16165
  query?: {
@@ -17381,6 +17881,7 @@ type Store$1 = components['schemas']['Store'];
17381
17881
  type Webhook$1 = components['schemas']['Webhook'];
17382
17882
  type Tag$1 = components['schemas']['Tag'];
17383
17883
  type Redirect$1 = components['schemas']['Redirect'];
17884
+ type Channel$1 = components['schemas']['Channel'];
17384
17885
  type Location$1 = components['schemas']['Location'];
17385
17886
  type ExchangeRate$1 = components['schemas']['ExchangeRate'];
17386
17887
  type NotificationLog$1 = components['schemas']['NotificationLog'];
@@ -17437,9 +17938,9 @@ type ProductStats = components['schemas']['ProductStats'];
17437
17938
  type Variant$1 = components['schemas']['Variant'];
17438
17939
  type Image$1 = components['schemas']['Image'];
17439
17940
  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'];
17941
+ type ListParams$t = NonNullable<operations['listProducts']['parameters']['query']>;
17942
+ type CreateBody$o = NonNullable<operations['createProduct']['requestBody']>['content']['application/json'];
17943
+ type UpdateBody$p = NonNullable<operations['updateProduct']['requestBody']>['content']['application/json'];
17443
17944
  type DuplicateBody = NonNullable<operations['duplicateProduct']['requestBody']>['content']['application/json'];
17444
17945
  type CreateVariantBody = NonNullable<operations['createProductVariant']['requestBody']>['content']['application/json'];
17445
17946
  type GenerateVariantsBody = NonNullable<operations['generateProductVariants']['requestBody']>['content']['application/json'];
@@ -17449,17 +17950,17 @@ type CreateProductLinkBody = NonNullable<operations['createProductLink']['reques
17449
17950
  declare class ProductsResource {
17450
17951
  private client;
17451
17952
  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 & {
17953
+ list(params?: ListParams$t): Promise<ListResponse<Product>>;
17954
+ iterate(params?: Omit<ListParams$t, 'cursor'>, options?: PaginateOptions): AsyncGenerator<Product, void, undefined>;
17955
+ toArray(params?: Omit<ListParams$t, 'cursor'>, options?: PaginateOptions & {
17455
17956
  limit?: number;
17456
17957
  }): 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>>;
17958
+ get(id: string, params?: Pick<ListParams$t, 'expand' | 'currency' | 'fields'>): Promise<DataResponse<Product>>;
17959
+ create(body: CreateBody$o, options?: ResourceRequestOptions): Promise<DataResponse<Product>>;
17960
+ update(id: string, body: UpdateBody$p): Promise<DataResponse<Product>>;
17460
17961
  delete(id: string): Promise<void>;
17461
17962
  batchCreate(body: {
17462
- products: CreateBody$n[];
17963
+ products: CreateBody$o[];
17463
17964
  }, options?: ResourceRequestOptions): Promise<DataResponse<Product[]>>;
17464
17965
  duplicate(id: string, body: DuplicateBody): Promise<DataResponse<Product>>;
17465
17966
  getStats(id: string): Promise<DataResponse<ProductStats>>;
@@ -17480,7 +17981,7 @@ declare class ProductsResource {
17480
17981
 
17481
17982
  type Variant = components['schemas']['Variant'];
17482
17983
  type VariantPrice = components['schemas']['VariantPrice'];
17483
- type UpdateBody$n = NonNullable<operations['updateVariant']['requestBody']>['content']['application/json'];
17984
+ type UpdateBody$o = NonNullable<operations['updateVariant']['requestBody']>['content']['application/json'];
17484
17985
  type UpsertPriceBody = NonNullable<operations['upsertVariantPrice']['requestBody']>['content']['application/json'];
17485
17986
  declare class VariantsResource {
17486
17987
  private client;
@@ -17490,7 +17991,7 @@ declare class VariantsResource {
17490
17991
  currency?: string;
17491
17992
  fields?: string;
17492
17993
  }): Promise<DataResponse<Variant>>;
17493
- update(id: string, body: UpdateBody$n): Promise<DataResponse<Variant>>;
17994
+ update(id: string, body: UpdateBody$o): Promise<DataResponse<Variant>>;
17494
17995
  delete(id: string): Promise<void>;
17495
17996
  listPrices(variantId: string): Promise<DataResponse<Record<string, VariantPrice>>>;
17496
17997
  upsertPrice(variantId: string, priceKeySlug: string, body: UpsertPriceBody): Promise<DataResponse<VariantPrice>>;
@@ -17502,23 +18003,23 @@ declare class VariantsResource {
17502
18003
  }
17503
18004
 
17504
18005
  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'];
18006
+ type ListParams$s = NonNullable<operations['listCollections']['parameters']['query']>;
18007
+ type CreateBody$n = NonNullable<operations['createCollection']['requestBody']>['content']['application/json'];
18008
+ type UpdateBody$n = NonNullable<operations['updateCollection']['requestBody']>['content']['application/json'];
17508
18009
  type AddProductsBody = NonNullable<operations['addCollectionProducts']['requestBody']>['content']['application/json'];
17509
18010
  type ReorderProductsBody = NonNullable<operations['reorderCollectionProducts']['requestBody']>['content']['application/json'];
17510
18011
  type ReorderCollectionsBody = NonNullable<operations['reorderCollections']['requestBody']>['content']['application/json'];
17511
18012
  declare class CollectionsResource {
17512
18013
  private client;
17513
18014
  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 & {
18015
+ list(params?: ListParams$s): Promise<ListResponse<Collection>>;
18016
+ iterate(params?: Omit<ListParams$s, 'cursor'>, options?: PaginateOptions): AsyncGenerator<Collection, void, undefined>;
18017
+ toArray(params?: Omit<ListParams$s, 'cursor'>, options?: PaginateOptions & {
17517
18018
  limit?: number;
17518
18019
  }): 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>>;
18020
+ get(id: string, params?: Pick<ListParams$s, 'expand' | 'fields'>): Promise<DataResponse<Collection>>;
18021
+ create(body: CreateBody$n, options?: ResourceRequestOptions): Promise<DataResponse<Collection>>;
18022
+ update(id: string, body: UpdateBody$n): Promise<DataResponse<Collection>>;
17522
18023
  delete(id: string): Promise<void>;
17523
18024
  tree(): Promise<DataResponse<unknown>>;
17524
18025
  reorder(body: ReorderCollectionsBody): Promise<void>;
@@ -17548,13 +18049,13 @@ declare class CartResource {
17548
18049
 
17549
18050
  type CheckoutCreate = components['schemas']['CheckoutCreate'];
17550
18051
  type CheckoutGet = components['schemas']['CheckoutGet'];
17551
- type CreateBody$l = NonNullable<operations['createCheckout']['requestBody']>['content']['application/json'];
18052
+ type CreateBody$m = NonNullable<operations['createCheckout']['requestBody']>['content']['application/json'];
17552
18053
  type ApplyDiscountBody = NonNullable<operations['applyCheckoutDiscount']['requestBody']>['content']['application/json'];
17553
18054
  type ApplyCreditBody = NonNullable<operations['applyCheckoutCredit']['requestBody']>['content']['application/json'];
17554
18055
  declare class CheckoutResource {
17555
18056
  private client;
17556
18057
  constructor(client: Hydra);
17557
- create(body: CreateBody$l, options?: ResourceRequestOptions): Promise<DataResponse<CheckoutCreate>>;
18058
+ create(body: CreateBody$m, options?: ResourceRequestOptions): Promise<DataResponse<CheckoutCreate>>;
17558
18059
  get(id: string): Promise<DataResponse<CheckoutGet>>;
17559
18060
  applyDiscount(checkoutId: string, body: ApplyDiscountBody): Promise<DataResponse<CheckoutGet>>;
17560
18061
  removeDiscount(checkoutId: string): Promise<DataResponse<CheckoutGet>>;
@@ -17565,15 +18066,15 @@ declare class CheckoutResource {
17565
18066
 
17566
18067
  type Order$1 = components['schemas']['Order'];
17567
18068
  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'];
18069
+ type ListParams$r = NonNullable<operations['listOrders']['parameters']['query']>;
18070
+ type CreateBody$l = NonNullable<operations['createOrder']['requestBody']>['content']['application/json'];
18071
+ type UpdateBody$m = NonNullable<operations['updateOrder']['requestBody']>['content']['application/json'];
17571
18072
  declare class OrdersResource {
17572
18073
  private client;
17573
18074
  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 & {
18075
+ list(params?: ListParams$r): Promise<ListResponse<Order$1>>;
18076
+ iterate(params?: Omit<ListParams$r, 'cursor'>, options?: PaginateOptions): AsyncGenerator<Order$1, void, undefined>;
18077
+ toArray(params?: Omit<ListParams$r, 'cursor'>, options?: PaginateOptions & {
17577
18078
  limit?: number;
17578
18079
  }): Promise<Order$1[]>;
17579
18080
  get(id: string, params?: {
@@ -17581,8 +18082,8 @@ declare class OrdersResource {
17581
18082
  currency?: string;
17582
18083
  fields?: string;
17583
18084
  }): 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>>;
18085
+ create(body: CreateBody$l, options?: ResourceRequestOptions): Promise<DataResponse<Order$1>>;
18086
+ update(id: string, body: UpdateBody$m): Promise<DataResponse<Order$1>>;
17586
18087
  listFulfillmentOrders(orderId: string): Promise<DataResponse<FulfillmentOrder$1[]>>;
17587
18088
  /**
17588
18089
  * Returns the API path for downloading the invoice PDF for an order.
@@ -17596,34 +18097,34 @@ declare class OrdersResource {
17596
18097
  }
17597
18098
 
17598
18099
  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'];
18100
+ type CreateBody$k = NonNullable<operations['createFulfillment']['requestBody']>['content']['application/json'];
18101
+ type UpdateBody$l = NonNullable<operations['updateFulfillment']['requestBody']>['content']['application/json'];
17601
18102
  type CancelBody = NonNullable<operations['cancelFulfillment']['requestBody']>['content']['application/json'];
17602
18103
  declare class FulfillmentsResource {
17603
18104
  private client;
17604
18105
  constructor(client: Hydra);
17605
18106
  /** 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>>;
18107
+ create(fulfillmentOrderId: string, body: CreateBody$k, options?: ResourceRequestOptions): Promise<DataResponse<Fulfillment>>;
18108
+ update(id: string, body: UpdateBody$l): Promise<DataResponse<Fulfillment>>;
17608
18109
  cancel(id: string, body?: CancelBody): Promise<DataResponse<Fulfillment>>;
17609
18110
  }
17610
18111
 
17611
18112
  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'];
18113
+ type ListParams$q = NonNullable<operations['listRefunds']['parameters']['query']>;
18114
+ type CreateBody$j = NonNullable<operations['createOrderRefund']['requestBody']>['content']['application/json'];
17614
18115
  declare class RefundsResource {
17615
18116
  private client;
17616
18117
  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 & {
18118
+ list(params?: ListParams$q): Promise<ListResponse<Refund>>;
18119
+ iterate(params?: Omit<ListParams$q, 'cursor'>, options?: PaginateOptions): AsyncGenerator<Refund, void, undefined>;
18120
+ toArray(params?: Omit<ListParams$q, 'cursor'>, options?: PaginateOptions & {
17620
18121
  limit?: number;
17621
18122
  }): Promise<Refund[]>;
17622
18123
  get(id: string, params?: {
17623
18124
  expand?: string;
17624
18125
  fields?: string;
17625
18126
  }): Promise<DataResponse<Refund>>;
17626
- create(orderId: string, body: CreateBody$i, options?: ResourceRequestOptions): Promise<DataResponse<Refund>>;
18127
+ create(orderId: string, body: CreateBody$j, options?: ResourceRequestOptions): Promise<DataResponse<Refund>>;
17627
18128
  listByOrder(orderId: string): Promise<DataResponse<Refund[]>>;
17628
18129
  retry(id: string): Promise<DataResponse<Refund>>;
17629
18130
  /**
@@ -17634,24 +18135,24 @@ declare class RefundsResource {
17634
18135
  }
17635
18136
 
17636
18137
  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'];
18138
+ type ListParams$p = NonNullable<operations['listReturns']['parameters']['query']>;
18139
+ type CreateBody$i = NonNullable<operations['createOrderReturn']['requestBody']>['content']['application/json'];
17639
18140
  type ApproveBody = NonNullable<operations['approveReturn']['requestBody']>['content']['application/json'];
17640
18141
  type ReceiveBody$1 = NonNullable<operations['receiveReturn']['requestBody']>['content']['application/json'];
17641
18142
  type RejectBody$1 = NonNullable<operations['rejectReturn']['requestBody']>['content']['application/json'];
17642
18143
  declare class ReturnsResource {
17643
18144
  private client;
17644
18145
  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 & {
18146
+ list(params?: ListParams$p): Promise<ListResponse<Return>>;
18147
+ iterate(params?: Omit<ListParams$p, 'cursor'>, options?: PaginateOptions): AsyncGenerator<Return, void, undefined>;
18148
+ toArray(params?: Omit<ListParams$p, 'cursor'>, options?: PaginateOptions & {
17648
18149
  limit?: number;
17649
18150
  }): Promise<Return[]>;
17650
18151
  get(id: string, params?: {
17651
18152
  expand?: string;
17652
18153
  fields?: string;
17653
18154
  }): Promise<DataResponse<Return>>;
17654
- create(orderId: string, body: CreateBody$h, options?: ResourceRequestOptions): Promise<DataResponse<Return>>;
18155
+ create(orderId: string, body: CreateBody$i, options?: ResourceRequestOptions): Promise<DataResponse<Return>>;
17655
18156
  listByOrder(orderId: string): Promise<DataResponse<Return[]>>;
17656
18157
  approve(id: string, body?: ApproveBody): Promise<DataResponse<Return>>;
17657
18158
  receive(id: string, body?: ReceiveBody$1): Promise<DataResponse<Return>>;
@@ -17663,17 +18164,17 @@ declare class ReturnsResource {
17663
18164
  type DraftOrder = components['schemas']['DraftOrder'];
17664
18165
  type DraftOrderLineItem = components['schemas']['DraftOrderLineItem'];
17665
18166
  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'];
18167
+ type ListParams$o = NonNullable<operations['listDraftOrders']['parameters']['query']>;
18168
+ type CreateBody$h = NonNullable<operations['createDraftOrder']['requestBody']>['content']['application/json'];
18169
+ type UpdateBody$k = NonNullable<operations['updateDraftOrder']['requestBody']>['content']['application/json'];
17669
18170
  type AddItemsBody = NonNullable<operations['addDraftOrderItems']['requestBody']>['content']['application/json'];
17670
18171
  type UpdateItemBody$2 = NonNullable<operations['updateDraftOrderItem']['requestBody']>['content']['application/json'];
17671
18172
  declare class DraftOrdersResource {
17672
18173
  private client;
17673
18174
  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 & {
18175
+ list(params?: ListParams$o): Promise<ListResponse<DraftOrder>>;
18176
+ iterate(params?: Omit<ListParams$o, 'cursor'>, options?: PaginateOptions): AsyncGenerator<DraftOrder, void, undefined>;
18177
+ toArray(params?: Omit<ListParams$o, 'cursor'>, options?: PaginateOptions & {
17677
18178
  limit?: number;
17678
18179
  }): Promise<DraftOrder[]>;
17679
18180
  get(id: string, params?: {
@@ -17681,8 +18182,8 @@ declare class DraftOrdersResource {
17681
18182
  currency?: string;
17682
18183
  fields?: string;
17683
18184
  }): Promise<DataResponse<DraftOrder>>;
17684
- create(body: CreateBody$g, options?: ResourceRequestOptions): Promise<DataResponse<DraftOrder>>;
17685
- update(id: string, body: UpdateBody$j): Promise<DataResponse<DraftOrder>>;
18185
+ create(body: CreateBody$h, options?: ResourceRequestOptions): Promise<DataResponse<DraftOrder>>;
18186
+ update(id: string, body: UpdateBody$k): Promise<DataResponse<DraftOrder>>;
17686
18187
  delete(id: string): Promise<void>;
17687
18188
  addItems(draftOrderId: string, body: AddItemsBody): Promise<DataResponse<DraftOrderLineItem[]>>;
17688
18189
  updateItem(draftOrderId: string, itemId: string, body: UpdateItemBody$2): Promise<DataResponse<DraftOrderLineItem>>;
@@ -17697,22 +18198,22 @@ declare class DraftOrdersResource {
17697
18198
  }
17698
18199
 
17699
18200
  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'];
18201
+ type ListParams$n = NonNullable<operations['listCustomers']['parameters']['query']>;
18202
+ type CreateBody$g = NonNullable<operations['createCustomer']['requestBody']>['content']['application/json'];
18203
+ type UpdateBody$j = NonNullable<operations['updateCustomer']['requestBody']>['content']['application/json'];
17703
18204
  type CreateAddressBody$1 = NonNullable<operations['createCustomerAddress']['requestBody']>['content']['application/json'];
17704
18205
  type CreateNoteBody$1 = NonNullable<operations['createCustomerNote']['requestBody']>['content']['application/json'];
17705
18206
  declare class CustomersResource {
17706
18207
  private client;
17707
18208
  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 & {
18209
+ list(params?: ListParams$n): Promise<ListResponse<Customer>>;
18210
+ iterate(params?: Omit<ListParams$n, 'cursor'>, options?: PaginateOptions): AsyncGenerator<Customer, void, undefined>;
18211
+ toArray(params?: Omit<ListParams$n, 'cursor'>, options?: PaginateOptions & {
17711
18212
  limit?: number;
17712
18213
  }): 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>>;
18214
+ get(id: string, params?: Pick<ListParams$n, 'expand' | 'fields'>): Promise<DataResponse<Customer>>;
18215
+ create(body: CreateBody$g, options?: ResourceRequestOptions): Promise<DataResponse<Customer>>;
18216
+ update(id: string, body: UpdateBody$j): Promise<DataResponse<Customer>>;
17716
18217
  delete(id: string): Promise<void>;
17717
18218
  listAddresses(customerId: string): Promise<DataResponse<unknown[]>>;
17718
18219
  createAddress(customerId: string, body: CreateAddressBody$1): Promise<DataResponse<unknown>>;
@@ -17726,29 +18227,29 @@ declare class CustomersResource {
17726
18227
  }
17727
18228
 
17728
18229
  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'];
18230
+ type ListParams$m = NonNullable<operations['listCustomerGroups']['parameters']['query']>;
18231
+ type CreateBody$f = NonNullable<operations['createCustomerGroup']['requestBody']>['content']['application/json'];
18232
+ type UpdateBody$i = NonNullable<operations['updateCustomerGroup']['requestBody']>['content']['application/json'];
17732
18233
  type AddMembersBody = NonNullable<operations['addCustomerGroupMembers']['requestBody']>['content']['application/json'];
17733
18234
  declare class CustomerGroupsResource {
17734
18235
  private client;
17735
18236
  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 & {
18237
+ list(params?: ListParams$m): Promise<ListResponse<CustomerGroup>>;
18238
+ iterate(params?: Omit<ListParams$m, 'cursor'>, options?: PaginateOptions): AsyncGenerator<CustomerGroup, void, undefined>;
18239
+ toArray(params?: Omit<ListParams$m, 'cursor'>, options?: PaginateOptions & {
17739
18240
  limit?: number;
17740
18241
  }): Promise<CustomerGroup[]>;
17741
18242
  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>>;
18243
+ create(body: CreateBody$f, options?: ResourceRequestOptions): Promise<DataResponse<CustomerGroup>>;
18244
+ update(id: string, body: UpdateBody$i): Promise<DataResponse<CustomerGroup>>;
17744
18245
  delete(id: string): Promise<void>;
17745
18246
  addMembers(groupId: string, body: AddMembersBody): Promise<void>;
17746
18247
  removeMember(groupId: string, customerId: string): Promise<void>;
17747
18248
  }
17748
18249
 
17749
18250
  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'];
18251
+ type ListParams$l = NonNullable<operations['listCustomerPhotos']['parameters']['query']>;
18252
+ type UpdateBody$h = NonNullable<operations['updateCustomerPhoto']['requestBody']>['content']['application/json'];
17752
18253
  type RejectBody = NonNullable<operations['rejectCustomerPhoto']['requestBody']>['content']['application/json'];
17753
18254
  declare class CustomerPhotosResource {
17754
18255
  private client;
@@ -17757,15 +18258,15 @@ declare class CustomerPhotosResource {
17757
18258
  * List customer photos (secret key only).
17758
18259
  * Filter by product, status, etc.
17759
18260
  */
17760
- list(params?: ListParams$k): Promise<ListResponse<CustomerPhoto>>;
18261
+ list(params?: ListParams$l): Promise<ListResponse<CustomerPhoto>>;
17761
18262
  /**
17762
18263
  * Iterate through all customer photos with automatic pagination.
17763
18264
  */
17764
- iterate(params?: Omit<ListParams$k, 'cursor'>, options?: PaginateOptions): AsyncGenerator<CustomerPhoto, void, undefined>;
18265
+ iterate(params?: Omit<ListParams$l, 'cursor'>, options?: PaginateOptions): AsyncGenerator<CustomerPhoto, void, undefined>;
17765
18266
  /**
17766
18267
  * Fetch all customer photos as an array (use with caution on large datasets).
17767
18268
  */
17768
- toArray(params?: Omit<ListParams$k, 'cursor'>, options?: PaginateOptions & {
18269
+ toArray(params?: Omit<ListParams$l, 'cursor'>, options?: PaginateOptions & {
17769
18270
  limit?: number;
17770
18271
  }): Promise<CustomerPhoto[]>;
17771
18272
  /**
@@ -17781,7 +18282,7 @@ declare class CustomerPhotosResource {
17781
18282
  * Update customer photo metadata (secret key only).
17782
18283
  * Fields: credit, link_url, link_text, alt_text, show_in_gallery.
17783
18284
  */
17784
- update(id: string, body: UpdateBody$g): Promise<DataResponse<CustomerPhoto>>;
18285
+ update(id: string, body: UpdateBody$h): Promise<DataResponse<CustomerPhoto>>;
17785
18286
  /**
17786
18287
  * Approve a customer photo (secret key only).
17787
18288
  * Sets status to 'approved' and makes it visible on storefront.
@@ -17808,18 +18309,18 @@ declare class CustomerPhotosResource {
17808
18309
  getForProduct(productId: string): Promise<DataResponse<CustomerPhoto[]>>;
17809
18310
  }
17810
18311
 
17811
- type UpdateBody$f = NonNullable<operations['updateAddress']['requestBody']>['content']['application/json'];
18312
+ type UpdateBody$g = NonNullable<operations['updateAddress']['requestBody']>['content']['application/json'];
17812
18313
  declare class AddressesResource {
17813
18314
  private client;
17814
18315
  constructor(client: Hydra);
17815
- update(id: string, body: UpdateBody$f): Promise<DataResponse<unknown>>;
18316
+ update(id: string, body: UpdateBody$g): Promise<DataResponse<unknown>>;
17816
18317
  delete(id: string): Promise<void>;
17817
18318
  }
17818
18319
 
17819
18320
  type InventoryLevel = components['schemas']['InventoryLevel'];
17820
18321
  type InventoryAdjustment = components['schemas']['InventoryAdjustment'];
17821
18322
  type ProductAdjustment = components['schemas']['ProductAdjustment'];
17822
- type ListParams$j = NonNullable<operations['listInventory']['parameters']['query']>;
18323
+ type ListParams$k = NonNullable<operations['listInventory']['parameters']['query']>;
17823
18324
  type SetBody = NonNullable<operations['setInventory']['requestBody']>['content']['application/json'];
17824
18325
  type AdjustBody = NonNullable<operations['adjustInventory']['requestBody']>['content']['application/json'];
17825
18326
  type InventoryResult = InventoryLevel & {
@@ -17828,9 +18329,9 @@ type InventoryResult = InventoryLevel & {
17828
18329
  declare class InventoryResource {
17829
18330
  private client;
17830
18331
  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 & {
18332
+ list(params?: ListParams$k): Promise<ListResponse<InventoryLevel>>;
18333
+ iterate(params?: Omit<ListParams$k, 'cursor'>, options?: PaginateOptions): AsyncGenerator<InventoryLevel, void, undefined>;
18334
+ toArray(params?: Omit<ListParams$k, 'cursor'>, options?: PaginateOptions & {
17834
18335
  limit?: number;
17835
18336
  }): Promise<InventoryLevel[]>;
17836
18337
  listAdjustments(params: {
@@ -17902,56 +18403,56 @@ declare class ShippingResource {
17902
18403
  }
17903
18404
 
17904
18405
  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'];
18406
+ type ListParams$j = NonNullable<operations['listPromotions']['parameters']['query']>;
18407
+ type CreateBody$e = NonNullable<operations['createPromotion']['requestBody']>['content']['application/json'];
18408
+ type UpdateBody$f = NonNullable<operations['updatePromotion']['requestBody']>['content']['application/json'];
17908
18409
  declare class PromotionsResource {
17909
18410
  private client;
17910
18411
  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 & {
18412
+ list(params?: ListParams$j): Promise<ListResponse<Promotion>>;
18413
+ iterate(params?: Omit<ListParams$j, 'cursor'>, options?: PaginateOptions): AsyncGenerator<Promotion, void, undefined>;
18414
+ toArray(params?: Omit<ListParams$j, 'cursor'>, options?: PaginateOptions & {
17914
18415
  limit?: number;
17915
18416
  }): Promise<Promotion[]>;
17916
18417
  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>>;
18418
+ create(body: CreateBody$e, options?: ResourceRequestOptions): Promise<DataResponse<Promotion>>;
18419
+ update(id: string, body: UpdateBody$f): Promise<DataResponse<Promotion>>;
17919
18420
  delete(id: string): Promise<void>;
17920
18421
  }
17921
18422
 
17922
18423
  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'];
18424
+ type ListParams$i = NonNullable<operations['listDiscounts']['parameters']['query']>;
18425
+ type CreateBody$d = NonNullable<operations['createDiscount']['requestBody']>['content']['application/json'];
18426
+ type UpdateBody$e = NonNullable<operations['updateDiscount']['requestBody']>['content']['application/json'];
17926
18427
  declare class DiscountsResource {
17927
18428
  private client;
17928
18429
  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 & {
18430
+ list(params?: ListParams$i): Promise<ListResponse<Discount>>;
18431
+ iterate(params?: Omit<ListParams$i, 'cursor'>, options?: PaginateOptions): AsyncGenerator<Discount, void, undefined>;
18432
+ toArray(params?: Omit<ListParams$i, 'cursor'>, options?: PaginateOptions & {
17932
18433
  limit?: number;
17933
18434
  }): Promise<Discount[]>;
17934
18435
  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>>;
18436
+ create(body: CreateBody$d, options?: ResourceRequestOptions): Promise<DataResponse<Discount>>;
18437
+ update(id: string, body: UpdateBody$e): Promise<DataResponse<Discount>>;
17937
18438
  delete(id: string): Promise<void>;
17938
18439
  }
17939
18440
 
17940
18441
  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'];
18442
+ type ListParams$h = NonNullable<operations['listImages']['parameters']['query']>;
18443
+ type UpdateBody$d = NonNullable<operations['updateImage']['requestBody']>['content']['application/json'];
17943
18444
  type ReorderBody$2 = NonNullable<operations['reorderImages']['requestBody']>['content']['application/json'];
17944
18445
  declare class ImagesResource {
17945
18446
  private client;
17946
18447
  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 & {
18448
+ list(params?: ListParams$h): Promise<ListResponse<Image>>;
18449
+ iterate(params?: Omit<ListParams$h, 'cursor'>, options?: PaginateOptions): AsyncGenerator<Image, void, undefined>;
18450
+ toArray(params?: Omit<ListParams$h, 'cursor'>, options?: PaginateOptions & {
17950
18451
  limit?: number;
17951
18452
  }): Promise<Image[]>;
17952
18453
  /** Upload an image to the store library */
17953
18454
  upload(formData: FormData): Promise<DataResponse<Image>>;
17954
- update(id: string, body: UpdateBody$c): Promise<DataResponse<Image>>;
18455
+ update(id: string, body: UpdateBody$d): Promise<DataResponse<Image>>;
17955
18456
  delete(id: string): Promise<void>;
17956
18457
  detach(id: string): Promise<void>;
17957
18458
  batchDelete(imageIds: string[]): Promise<void>;
@@ -17960,32 +18461,32 @@ declare class ImagesResource {
17960
18461
  }
17961
18462
 
17962
18463
  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'];
18464
+ type ListParams$g = NonNullable<operations['listWebhooks']['parameters']['query']>;
18465
+ type CreateBody$c = NonNullable<operations['createWebhook']['requestBody']>['content']['application/json'];
18466
+ type UpdateBody$c = NonNullable<operations['updateWebhook']['requestBody']>['content']['application/json'];
17966
18467
  declare class WebhooksResource {
17967
18468
  private client;
17968
18469
  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 & {
18470
+ list(params?: ListParams$g): Promise<ListResponse<Webhook>>;
18471
+ iterate(params?: Omit<ListParams$g, 'cursor'>, options?: PaginateOptions): AsyncGenerator<Webhook, void, undefined>;
18472
+ toArray(params?: Omit<ListParams$g, 'cursor'>, options?: PaginateOptions & {
17972
18473
  limit?: number;
17973
18474
  }): Promise<Webhook[]>;
17974
18475
  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>>;
18476
+ create(body: CreateBody$c, options?: ResourceRequestOptions): Promise<DataResponse<Webhook>>;
18477
+ update(id: string, body: UpdateBody$c): Promise<DataResponse<Webhook>>;
17977
18478
  delete(id: string): Promise<void>;
17978
18479
  }
17979
18480
 
17980
18481
  type Store = components['schemas']['Store'];
17981
- type UpdateBody$a = NonNullable<operations['updateStore']['requestBody']>['content']['application/json'];
18482
+ type UpdateBody$b = NonNullable<operations['updateStore']['requestBody']>['content']['application/json'];
17982
18483
  declare class StoreResource {
17983
18484
  private client;
17984
18485
  constructor(client: Hydra);
17985
18486
  get(params?: {
17986
18487
  fields?: string;
17987
18488
  }): Promise<DataResponse<Store>>;
17988
- update(body: UpdateBody$a): Promise<DataResponse<Store>>;
18489
+ update(body: UpdateBody$b): Promise<DataResponse<Store>>;
17989
18490
  getDomainRecord(): Promise<DataResponse<unknown>>;
17990
18491
  verifyDomain(): Promise<DataResponse<unknown>>;
17991
18492
  publish(): Promise<DataResponse<{
@@ -17997,42 +18498,42 @@ declare class StoreResource {
17997
18498
  }
17998
18499
 
17999
18500
  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'];
18501
+ type ListParams$f = NonNullable<operations['listTags']['parameters']['query']>;
18502
+ type CreateBody$b = NonNullable<operations['createTag']['requestBody']>['content']['application/json'];
18503
+ type UpdateBody$a = NonNullable<operations['updateTag']['requestBody']>['content']['application/json'];
18003
18504
  declare class TagsResource {
18004
18505
  private client;
18005
18506
  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 & {
18507
+ list(params?: ListParams$f): Promise<ListResponse<Tag>>;
18508
+ iterate(params?: Omit<ListParams$f, 'cursor'>, options?: PaginateOptions): AsyncGenerator<Tag, void, undefined>;
18509
+ toArray(params?: Omit<ListParams$f, 'cursor'>, options?: PaginateOptions & {
18009
18510
  limit?: number;
18010
18511
  }): Promise<Tag[]>;
18011
- create(body: CreateBody$a, options?: ResourceRequestOptions): Promise<DataResponse<Tag>>;
18012
- update(id: string, body: UpdateBody$9): Promise<DataResponse<Tag>>;
18512
+ create(body: CreateBody$b, options?: ResourceRequestOptions): Promise<DataResponse<Tag>>;
18513
+ update(id: string, body: UpdateBody$a): Promise<DataResponse<Tag>>;
18013
18514
  delete(id: string): Promise<void>;
18014
18515
  }
18015
18516
 
18016
18517
  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'];
18518
+ type ListParams$e = NonNullable<operations['listRedirects']['parameters']['query']>;
18519
+ type CreateBody$a = NonNullable<operations['createRedirect']['requestBody']>['content']['application/json'];
18019
18520
  declare class RedirectsResource {
18020
18521
  private client;
18021
18522
  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 & {
18523
+ list(params?: ListParams$e): Promise<ListResponse<Redirect>>;
18524
+ iterate(params?: Omit<ListParams$e, 'cursor'>, options?: PaginateOptions): AsyncGenerator<Redirect, void, undefined>;
18525
+ toArray(params?: Omit<ListParams$e, 'cursor'>, options?: PaginateOptions & {
18025
18526
  limit?: number;
18026
18527
  }): Promise<Redirect[]>;
18027
- create(body: CreateBody$9, options?: ResourceRequestOptions): Promise<DataResponse<Redirect>>;
18528
+ create(body: CreateBody$a, options?: ResourceRequestOptions): Promise<DataResponse<Redirect>>;
18028
18529
  lookup(path: string): Promise<DataResponse<Redirect>>;
18029
18530
  delete(id: string): Promise<void>;
18030
18531
  }
18031
18532
 
18032
18533
  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'];
18534
+ type ListParams$d = NonNullable<operations['listCompanies']['parameters']['query']>;
18535
+ type CreateBody$9 = NonNullable<operations['createCompany']['requestBody']>['content']['application/json'];
18536
+ type UpdateBody$9 = NonNullable<operations['updateCompany']['requestBody']>['content']['application/json'];
18036
18537
  type CreateAddressBody = NonNullable<operations['createCompanyAddress']['requestBody']>['content']['application/json'];
18037
18538
  type UpdateAddressBody = NonNullable<operations['updateCompanyAddress']['requestBody']>['content']['application/json'];
18038
18539
  type CreateContactBody = NonNullable<operations['createCompanyContact']['requestBody']>['content']['application/json'];
@@ -18041,14 +18542,14 @@ type CreateNoteBody = NonNullable<operations['createCompanyNote']['requestBody']
18041
18542
  declare class CompaniesResource {
18042
18543
  private client;
18043
18544
  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 & {
18545
+ list(params?: ListParams$d): Promise<ListResponse<Company>>;
18546
+ iterate(params?: Omit<ListParams$d, 'cursor'>, options?: PaginateOptions): AsyncGenerator<Company, void, undefined>;
18547
+ toArray(params?: Omit<ListParams$d, 'cursor'>, options?: PaginateOptions & {
18047
18548
  limit?: number;
18048
18549
  }): 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>>;
18550
+ get(id: string, params?: Pick<ListParams$d, 'expand' | 'fields'>): Promise<DataResponse<Company>>;
18551
+ create(body: CreateBody$9, options?: ResourceRequestOptions): Promise<DataResponse<Company>>;
18552
+ update(id: string, body: UpdateBody$9): Promise<DataResponse<Company>>;
18052
18553
  delete(id: string): Promise<void>;
18053
18554
  listAddresses(companyId: string): Promise<DataResponse<unknown[]>>;
18054
18555
  createAddress(companyId: string, body: CreateAddressBody): Promise<DataResponse<unknown>>;
@@ -18064,23 +18565,23 @@ declare class CompaniesResource {
18064
18565
  }
18065
18566
 
18066
18567
  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'];
18568
+ type ListParams$c = NonNullable<operations['listPurchaseOrders']['parameters']['query']>;
18569
+ type CreateBody$8 = NonNullable<operations['createPurchaseOrder']['requestBody']>['content']['application/json'];
18570
+ type UpdateBody$8 = NonNullable<operations['updatePurchaseOrder']['requestBody']>['content']['application/json'];
18070
18571
  type AddItemBody = NonNullable<operations['addPurchaseOrderItems']['requestBody']>['content']['application/json'];
18071
18572
  type UpdateItemBody$1 = NonNullable<operations['updatePurchaseOrderItem']['requestBody']>['content']['application/json'];
18072
18573
  type ReceiveBody = NonNullable<operations['receivePurchaseOrderItems']['requestBody']>['content']['application/json'];
18073
18574
  declare class PurchaseOrdersResource {
18074
18575
  private client;
18075
18576
  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 & {
18577
+ list(params?: ListParams$c): Promise<ListResponse<PurchaseOrder>>;
18578
+ iterate(params?: Omit<ListParams$c, 'cursor'>, options?: PaginateOptions): AsyncGenerator<PurchaseOrder, void, undefined>;
18579
+ toArray(params?: Omit<ListParams$c, 'cursor'>, options?: PaginateOptions & {
18079
18580
  limit?: number;
18080
18581
  }): 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>>;
18582
+ get(id: string, params?: Pick<ListParams$c, 'expand' | 'fields'>): Promise<DataResponse<PurchaseOrder>>;
18583
+ create(body: CreateBody$8, options?: ResourceRequestOptions): Promise<DataResponse<PurchaseOrder>>;
18584
+ update(id: string, body: UpdateBody$8): Promise<DataResponse<PurchaseOrder>>;
18084
18585
  delete(id: string): Promise<void>;
18085
18586
  addItem(purchaseOrderId: string, body: AddItemBody): Promise<DataResponse<unknown>>;
18086
18587
  updateItem(purchaseOrderId: string, itemId: string, body: UpdateItemBody$1): Promise<DataResponse<unknown>>;
@@ -18103,17 +18604,17 @@ declare class FulfillmentOrdersResource {
18103
18604
  listForOrder(orderId: string): Promise<DataResponse<FulfillmentOrder[]>>;
18104
18605
  }
18105
18606
 
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'];
18607
+ type ListParams$b = NonNullable<operations['listMetafieldDefinitions']['parameters']['query']>;
18608
+ type CreateBody$7 = NonNullable<operations['createMetafieldDefinition']['requestBody']>['content']['application/json'];
18609
+ type UpdateBody$7 = NonNullable<operations['updateMetafieldDefinition']['requestBody']>['content']['application/json'];
18109
18610
  type ReorderBody$1 = NonNullable<operations['reorderMetafieldDefinitions']['requestBody']>['content']['application/json'];
18110
18611
  declare class MetafieldsResource {
18111
18612
  private client;
18112
18613
  constructor(client: Hydra);
18113
18614
  /** 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>>;
18615
+ listDefinitions(params?: ListParams$b): Promise<DataResponse<unknown[]>>;
18616
+ createDefinition(body: CreateBody$7): Promise<DataResponse<unknown>>;
18617
+ updateDefinition(ownerType: string, slug: string, body: UpdateBody$7): Promise<DataResponse<unknown>>;
18117
18618
  archiveDefinition(ownerType: string, slug: string): Promise<void>;
18118
18619
  reorderDefinitions(ownerType: string, body: ReorderBody$1): Promise<void>;
18119
18620
  }
@@ -18159,30 +18660,30 @@ declare class TaxResource {
18159
18660
  }
18160
18661
 
18161
18662
  type ExchangeRate = components['schemas']['ExchangeRate'];
18162
- type ListParams$9 = NonNullable<operations['listExchangeRates']['parameters']['query']>;
18663
+ type ListParams$a = NonNullable<operations['listExchangeRates']['parameters']['query']>;
18163
18664
  declare class ExchangeRatesResource {
18164
18665
  private client;
18165
18666
  constructor(client: Hydra);
18166
- list(params?: ListParams$9): Promise<DataResponse<ExchangeRate[]>>;
18667
+ list(params?: ListParams$a): Promise<DataResponse<ExchangeRate[]>>;
18167
18668
  refresh(): Promise<DataResponse<unknown>>;
18168
18669
  }
18169
18670
 
18170
18671
  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'];
18672
+ type ListParams$9 = NonNullable<operations['listFilterAttributes']['parameters']['query']>;
18673
+ type CreateBody$6 = NonNullable<operations['createFilterAttribute']['requestBody']>['content']['application/json'];
18674
+ type UpdateBody$6 = NonNullable<operations['updateFilterAttribute']['requestBody']>['content']['application/json'];
18174
18675
  type ReorderBody = NonNullable<operations['reorderFilterAttributes']['requestBody']>['content']['application/json'];
18175
18676
  declare class FilterAttributesResource {
18176
18677
  private client;
18177
18678
  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 & {
18679
+ list(params?: ListParams$9): Promise<ListResponse<FilterAttribute>>;
18680
+ iterate(params?: Omit<ListParams$9, 'cursor'>, options?: PaginateOptions): AsyncGenerator<FilterAttribute, void, undefined>;
18681
+ toArray(params?: Omit<ListParams$9, 'cursor'>, options?: PaginateOptions & {
18181
18682
  limit?: number;
18182
18683
  }): Promise<FilterAttribute[]>;
18183
18684
  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>>;
18685
+ create(body: CreateBody$6, options?: ResourceRequestOptions): Promise<DataResponse<FilterAttribute>>;
18686
+ update(id: string, body: UpdateBody$6): Promise<DataResponse<FilterAttribute>>;
18186
18687
  delete(id: string): Promise<void>;
18187
18688
  reorder(body: ReorderBody): Promise<ListResponse<FilterAttribute>>;
18188
18689
  discover(): Promise<DataResponse<unknown[]>>;
@@ -18190,23 +18691,23 @@ declare class FilterAttributesResource {
18190
18691
 
18191
18692
  type NavigationMenu = components['schemas']['NavigationMenu'];
18192
18693
  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'];
18694
+ type ListParams$8 = NonNullable<operations['listNavigationMenus']['parameters']['query']>;
18695
+ type CreateBody$5 = NonNullable<operations['createNavigationMenu']['requestBody']>['content']['application/json'];
18696
+ type UpdateBody$5 = NonNullable<operations['updateNavigationMenu']['requestBody']>['content']['application/json'];
18196
18697
  type CreateItemBody = NonNullable<operations['addNavigationItem']['requestBody']>['content']['application/json'];
18197
18698
  type UpdateItemBody = NonNullable<operations['updateNavigationItem']['requestBody']>['content']['application/json'];
18198
18699
  type ReorderItemsBody = NonNullable<operations['reorderNavigationItems']['requestBody']>['content']['application/json'];
18199
18700
  declare class NavigationResource {
18200
18701
  private client;
18201
18702
  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 & {
18703
+ list(params?: ListParams$8): Promise<ListResponse<NavigationMenu>>;
18704
+ iterate(params?: Omit<ListParams$8, 'cursor'>, options?: PaginateOptions): AsyncGenerator<NavigationMenu, void, undefined>;
18705
+ toArray(params?: Omit<ListParams$8, 'cursor'>, options?: PaginateOptions & {
18205
18706
  limit?: number;
18206
18707
  }): Promise<NavigationMenu[]>;
18207
18708
  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>>;
18709
+ create(body: CreateBody$5, options?: ResourceRequestOptions): Promise<DataResponse<NavigationMenu>>;
18710
+ update(id: string, body: UpdateBody$5): Promise<DataResponse<NavigationMenu>>;
18210
18711
  delete(id: string): Promise<void>;
18211
18712
  addItem(menuId: string, body: CreateItemBody): Promise<DataResponse<NavigationItem>>;
18212
18713
  updateItem(menuId: string, itemId: string, body: UpdateItemBody): Promise<DataResponse<NavigationItem>>;
@@ -18215,26 +18716,26 @@ declare class NavigationResource {
18215
18716
  }
18216
18717
 
18217
18718
  type NotificationLog = components['schemas']['NotificationLog'];
18218
- type ListParams$6 = NonNullable<operations['listNotifications']['parameters']['query']>;
18719
+ type ListParams$7 = NonNullable<operations['listNotifications']['parameters']['query']>;
18219
18720
  declare class NotificationsResource {
18220
18721
  private client;
18221
18722
  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 & {
18723
+ list(params?: ListParams$7): Promise<ListResponse<NotificationLog>>;
18724
+ iterate(params?: Omit<ListParams$7, 'cursor'>, options?: PaginateOptions): AsyncGenerator<NotificationLog, void, undefined>;
18725
+ toArray(params?: Omit<ListParams$7, 'cursor'>, options?: PaginateOptions & {
18225
18726
  limit?: number;
18226
18727
  }): Promise<NotificationLog[]>;
18227
18728
  get(id: string): Promise<DataResponse<NotificationLog>>;
18228
18729
  }
18229
18730
 
18230
18731
  type CheckoutListItem = components['schemas']['CheckoutListItem'];
18231
- type ListParams$5 = NonNullable<operations['listCheckouts']['parameters']['query']>;
18732
+ type ListParams$6 = NonNullable<operations['listCheckouts']['parameters']['query']>;
18232
18733
  declare class CheckoutsResource {
18233
18734
  private client;
18234
18735
  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 & {
18736
+ list(params?: ListParams$6): Promise<ListResponse<CheckoutListItem>>;
18737
+ iterate(params?: Omit<ListParams$6, 'cursor'>, options?: PaginateOptions): AsyncGenerator<CheckoutListItem, void, undefined>;
18738
+ toArray(params?: Omit<ListParams$6, 'cursor'>, options?: PaginateOptions & {
18238
18739
  limit?: number;
18239
18740
  }): Promise<CheckoutListItem[]>;
18240
18741
  }
@@ -18260,16 +18761,16 @@ declare class AnalyticsResource {
18260
18761
 
18261
18762
  type CreditTransaction = NonNullable<operations['issueCustomerCredit']['responses']['201']['content']['application/json']['data']>;
18262
18763
  type CreditBalance = NonNullable<operations['getCustomerCredit']['responses']['200']['content']['application/json']['data']>;
18263
- type ListParams$4 = NonNullable<operations['listCustomerCreditTransactions']['parameters']['query']>;
18764
+ type ListParams$5 = NonNullable<operations['listCustomerCreditTransactions']['parameters']['query']>;
18264
18765
  type IssueCreditBody = NonNullable<operations['issueCustomerCredit']['requestBody']>['content']['application/json'];
18265
18766
  declare class StoreCreditResource {
18266
18767
  private client;
18267
18768
  constructor(client: Hydra);
18268
18769
  getBalance(customerId: string): Promise<DataResponse<CreditBalance>>;
18269
18770
  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 & {
18771
+ listTransactions(customerId: string, params?: ListParams$5): Promise<ListResponse<CreditTransaction>>;
18772
+ iterateTransactions(customerId: string, params?: Omit<ListParams$5, 'cursor'>, options?: PaginateOptions): AsyncGenerator<CreditTransaction, void, undefined>;
18773
+ transactionsToArray(customerId: string, params?: Omit<ListParams$5, 'cursor'>, options?: PaginateOptions & {
18273
18774
  limit?: number;
18274
18775
  }): Promise<CreditTransaction[]>;
18275
18776
  }
@@ -18283,6 +18784,28 @@ declare class SearchResource {
18283
18784
  constructor(client: Hydra);
18284
18785
  search(params: SearchParams): Promise<SearchResult>;
18285
18786
  suggest(params: SuggestParams): Promise<SearchSuggestions>;
18787
+ bootstrap(): Promise<{
18788
+ indexed: number;
18789
+ }>;
18790
+ }
18791
+
18792
+ type Channel = components['schemas']['Channel'];
18793
+ type ListParams$4 = NonNullable<operations['listChannels']['parameters']['query']>;
18794
+ type CreateBody$4 = NonNullable<operations['createChannel']['requestBody']>['content']['application/json'];
18795
+ type UpdateBody$4 = NonNullable<operations['updateChannel']['requestBody']>['content']['application/json'];
18796
+ declare class ChannelsResource {
18797
+ private client;
18798
+ constructor(client: Hydra);
18799
+ list(params?: ListParams$4): Promise<ListResponse<Channel>>;
18800
+ iterate(params?: Omit<ListParams$4, 'cursor'>, options?: PaginateOptions): AsyncGenerator<Channel, void, undefined>;
18801
+ toArray(params?: Omit<ListParams$4, 'cursor'>, options?: PaginateOptions & {
18802
+ limit?: number;
18803
+ }): Promise<Channel[]>;
18804
+ get(slug: string, params?: Pick<ListParams$4, 'fields'>): Promise<DataResponse<Channel>>;
18805
+ create(body: CreateBody$4, options?: ResourceRequestOptions): Promise<DataResponse<Channel>>;
18806
+ update(slug: string, body: UpdateBody$4): Promise<DataResponse<Channel>>;
18807
+ archive(slug: string): Promise<void>;
18808
+ setDefault(slug: string): Promise<DataResponse<Channel>>;
18286
18809
  }
18287
18810
 
18288
18811
  type Location = components['schemas']['Location'];
@@ -18465,7 +18988,7 @@ interface AppInfo {
18465
18988
  url?: string;
18466
18989
  }
18467
18990
  interface HydraConfig {
18468
- /** API key (sk_live_*, sk_test_*, pk_live_*, pk_test_*) */
18991
+ /** API key (sk_*, pk_*) */
18469
18992
  apiKey: string;
18470
18993
  /** API base URL. Default: https://api.hydrajs.dev */
18471
18994
  baseUrl?: string;
@@ -18521,6 +19044,7 @@ declare class Hydra {
18521
19044
  readonly store: StoreResource;
18522
19045
  readonly tags: TagsResource;
18523
19046
  readonly redirects: RedirectsResource;
19047
+ readonly channels: ChannelsResource;
18524
19048
  readonly locations: LocationsResource;
18525
19049
  readonly companies: CompaniesResource;
18526
19050
  readonly purchaseOrders: PurchaseOrdersResource;
@@ -18617,4 +19141,4 @@ declare class HydraIdempotencyError extends HydraError {
18617
19141
  constructor(body: HydraErrorBody, headers: Headers);
18618
19142
  }
18619
19143
 
18620
- 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 };
19144
+ 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 };