@soppiya/app-bridge 1.2.0 → 1.2.2

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.
Files changed (53) hide show
  1. package/dist/components/articles-picker/model/useArticles.js +5 -2
  2. package/dist/components/blogs-picker/model/useBlogs.js +5 -2
  3. package/dist/components/collections-pciker/model/useCollections.js +5 -2
  4. package/dist/components/country-picker/model/{useContry.d.ts → useCountries.d.ts} +2 -2
  5. package/dist/components/country-picker/model/{useContry.js → useCountries.js} +8 -7
  6. package/dist/components/country-picker/ui/CountryPicker.d.ts +1 -1
  7. package/dist/components/country-picker/ui/CountryPicker.js +5 -5
  8. package/dist/components/country-picker/ui/CountryPicker.stories.d.ts +1 -1
  9. package/dist/components/customers-picker/model/useCustomers.d.ts +1 -1
  10. package/dist/components/customers-picker/model/useCustomers.js +6 -5
  11. package/dist/components/customers-picker/ui/CustomersPicker.d.ts +1 -1
  12. package/dist/components/customers-picker/ui/CustomersPicker.js +3 -3
  13. package/dist/components/customers-picker/ui/CustomersPicker.stories.d.ts +1 -1
  14. package/dist/components/link-list-picker/model/useLinkList.js +5 -2
  15. package/dist/components/link-list-picker/ui/LinkListPicker.d.ts +1 -1
  16. package/dist/components/link-list-picker/ui/LinkListPicker.js +2 -2
  17. package/dist/components/link-list-picker/ui/LinkListPicker.stories.d.ts +1 -1
  18. package/dist/components/meta-data/ui/VariantRefMetaField.d.ts +1 -1
  19. package/dist/components/metaobjects-entries-picker/model/useMetaobjectEntries.js +5 -2
  20. package/dist/components/metaobjects-entries-picker/ui/MetaobjectEntriesPicker.d.ts +1 -1
  21. package/dist/components/metaobjects-entries-picker/ui/MetaobjectEntriesPicker.js +2 -2
  22. package/dist/components/metaobjects-entries-picker/ui/MetaobjectEntriesPicker.stories.d.ts +1 -1
  23. package/dist/components/metaobjects-picker/model/useMetaobjects.js +5 -2
  24. package/dist/components/pages-picker/model/usePages.js +5 -2
  25. package/dist/components/pages-picker/ui/PagesPicker.js +2 -2
  26. package/dist/components/products-picker/model/useProducts.js +5 -2
  27. package/dist/components/products-picker/ui/ProductPicker.d.ts +1 -1
  28. package/dist/components/products-picker/ui/ProductPicker.js +2 -2
  29. package/dist/components/products-picker/ui/ProductsPicker.stories.d.ts +1 -1
  30. package/dist/components/region-picker/api/query.d.ts +8 -0
  31. package/dist/components/region-picker/api/query.js +18 -0
  32. package/dist/components/region-picker/index.d.ts +0 -0
  33. package/dist/components/region-picker/index.js +0 -0
  34. package/dist/components/region-picker/model/useRegion.d.ts +25 -0
  35. package/dist/components/region-picker/model/useRegion.js +50 -0
  36. package/dist/components/region-picker/ui/RegionPicker.d.ts +11 -0
  37. package/dist/components/region-picker/ui/RegionPicker.js +110 -0
  38. package/dist/components/region-picker/ui/RegionPicker.stories.d.ts +19 -0
  39. package/dist/components/region-picker/ui/RegionPicker.stories.js +13 -0
  40. package/dist/components/segments-picker/api/query.js +29 -13
  41. package/dist/components/segments-picker/model/useSegments.d.ts +1 -1
  42. package/dist/components/segments-picker/model/useSegments.js +6 -5
  43. package/dist/components/segments-picker/ui/SegmentsPicker.d.ts +1 -1
  44. package/dist/components/segments-picker/ui/SegmentsPicker.js +3 -3
  45. package/dist/components/segments-picker/ui/SegmentsPicker.stories.d.ts +1 -1
  46. package/dist/components/variants-picker/model/useVariants.d.ts +1 -1
  47. package/dist/components/variants-picker/model/useVariants.js +6 -5
  48. package/dist/components/variants-picker/ui/VariantsPicker.js +1 -1
  49. package/dist/shared/graphql/gql.d.ts +7 -2
  50. package/dist/shared/graphql/gql.js +3 -2
  51. package/dist/shared/graphql/graphql.d.ts +790 -67
  52. package/dist/shared/graphql/graphql.js +482 -27
  53. package/package.json +1 -1
@@ -94,10 +94,13 @@ export type AddCart = {
94
94
  billing_address?: InputMaybe<CartAddressInput>;
95
95
  coupon?: InputMaybe<Scalars['String']['input']>;
96
96
  customer?: InputMaybe<Scalars['ID']['input']>;
97
+ fulfillment_method?: InputMaybe<CartFulfillmentMethod>;
98
+ fulfillment_option?: InputMaybe<Scalars['ID']['input']>;
97
99
  ip?: InputMaybe<Scalars['String']['input']>;
98
100
  line_items?: InputMaybe<Array<CartLineItemInput>>;
99
101
  market: Scalars['ID']['input'];
100
102
  note?: InputMaybe<Scalars['String']['input']>;
103
+ payment_option?: InputMaybe<Scalars['ID']['input']>;
101
104
  shipping_address?: InputMaybe<CartAddressInput>;
102
105
  user_agent?: InputMaybe<Scalars['String']['input']>;
103
106
  };
@@ -111,7 +114,7 @@ export type AddCollection = {
111
114
  metafields?: InputMaybe<Array<InputMaybe<MetafieldInput>>>;
112
115
  products: Array<Scalars['ID']['input']>;
113
116
  template?: InputMaybe<Scalars['String']['input']>;
114
- title?: InputMaybe<Scalars['String']['input']>;
117
+ title: Scalars['String']['input'];
115
118
  };
116
119
  export type AddCollectionProduct = {
117
120
  collection: Scalars['ID']['input'];
@@ -123,6 +126,7 @@ export type AddCustomer = {
123
126
  is_tax_collectable?: InputMaybe<Scalars['Boolean']['input']>;
124
127
  language?: InputMaybe<Scalars['ID']['input']>;
125
128
  last_name: Scalars['String']['input'];
129
+ metafields?: InputMaybe<Array<InputMaybe<MetafieldInput>>>;
126
130
  note?: InputMaybe<Scalars['String']['input']>;
127
131
  phone?: InputMaybe<CustomerPhoneInput>;
128
132
  tags?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
@@ -149,9 +153,14 @@ export type AddDeliveryProfile = {
149
153
  name: Scalars['String']['input'];
150
154
  origin: Scalars['ID']['input'];
151
155
  };
156
+ export type AddDeliveryRate = {
157
+ description?: InputMaybe<Scalars['String']['input']>;
158
+ name: Scalars['String']['input'];
159
+ };
152
160
  export type AddDeliveryZone = {
153
- locations: Array<DeliveryZoneLocationInput>;
161
+ instructions?: InputMaybe<Scalars['String']['input']>;
154
162
  name: Scalars['String']['input'];
163
+ postal_codes: Array<Scalars['String']['input']>;
155
164
  profile: Scalars['ID']['input'];
156
165
  rates: Array<DeliveryZoneRateInput>;
157
166
  };
@@ -248,6 +257,14 @@ export type AddMetaobjectEntry = {
248
257
  metaobject: Scalars['ID']['input'];
249
258
  title: Scalars['String']['input'];
250
259
  };
260
+ export type AddOrder = {
261
+ cart: Scalars['ID']['input'];
262
+ contact?: InputMaybe<Scalars['String']['input']>;
263
+ };
264
+ export type AddOrderPayment = {
265
+ amount: Scalars['Float']['input'];
266
+ order: Scalars['ID']['input'];
267
+ };
251
268
  export type AddPage = {
252
269
  content?: InputMaybe<Scalars['String']['input']>;
253
270
  excerpt?: InputMaybe<Scalars['String']['input']>;
@@ -326,6 +343,10 @@ export type AddShippingProfile = {
326
343
  name: Scalars['String']['input'];
327
344
  origins: Array<Scalars['ID']['input']>;
328
345
  };
346
+ export type AddShippingRate = {
347
+ description?: InputMaybe<Scalars['String']['input']>;
348
+ name: Scalars['String']['input'];
349
+ };
329
350
  export type AddShippingZone = {
330
351
  locations: Array<ShippingZoneLocationInput>;
331
352
  name: Scalars['String']['input'];
@@ -423,8 +444,10 @@ export type App = {
423
444
  __typename: 'App';
424
445
  _id?: Maybe<Scalars['ID']['output']>;
425
446
  app?: Maybe<_App>;
447
+ createdAt?: Maybe<Scalars['String']['output']>;
426
448
  is_pinned?: Maybe<Scalars['Boolean']['output']>;
427
449
  store?: Maybe<Store>;
450
+ updatedAt?: Maybe<Scalars['String']['output']>;
428
451
  };
429
452
  export type AppConnection = {
430
453
  __typename: 'AppConnection';
@@ -566,25 +589,38 @@ export type Brand = {
566
589
  store?: Maybe<Store>;
567
590
  tiktok?: Maybe<Scalars['String']['output']>;
568
591
  tumblr?: Maybe<Scalars['String']['output']>;
569
- twitter?: Maybe<Scalars['String']['output']>;
570
592
  vimeo?: Maybe<Scalars['String']['output']>;
571
593
  whatsapp?: Maybe<Scalars['String']['output']>;
594
+ x?: Maybe<Scalars['String']['output']>;
572
595
  youtube?: Maybe<Scalars['String']['output']>;
573
596
  };
574
597
  export type Cart = {
575
598
  __typename: 'Cart';
576
599
  _id?: Maybe<Scalars['ID']['output']>;
577
600
  billing_address?: Maybe<CartAddress>;
601
+ createdAt?: Maybe<Scalars['String']['output']>;
602
+ currency?: Maybe<_Currency>;
578
603
  customer?: Maybe<Customer>;
604
+ discount?: Maybe<Scalars['Float']['output']>;
579
605
  discounts?: Maybe<Array<Maybe<CartDiscount>>>;
580
606
  errors?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
607
+ fulfillment?: Maybe<CartFulfillment>;
608
+ fulfillment_options?: Maybe<CartFulfillmentOptions>;
581
609
  ip?: Maybe<Scalars['String']['output']>;
582
610
  line_items?: Maybe<Array<Maybe<CartLineItem>>>;
583
611
  market?: Maybe<Market>;
584
612
  note?: Maybe<Scalars['String']['output']>;
585
- pricing?: Maybe<CartPricing>;
613
+ payment?: Maybe<Scalars['Float']['output']>;
614
+ payment_method?: Maybe<CartPaymentMethod>;
615
+ payment_options?: Maybe<Array<Maybe<CartPaymentOption>>>;
616
+ shipping?: Maybe<Scalars['Float']['output']>;
586
617
  shipping_address?: Maybe<CartAddress>;
587
618
  store?: Maybe<Store>;
619
+ subtotal?: Maybe<Scalars['Float']['output']>;
620
+ tax?: Maybe<Scalars['Float']['output']>;
621
+ taxes?: Maybe<Array<Maybe<CartTax>>>;
622
+ total?: Maybe<Scalars['Float']['output']>;
623
+ updatedAt?: Maybe<Scalars['String']['output']>;
588
624
  user_agent?: Maybe<Scalars['String']['output']>;
589
625
  };
590
626
  export type CartAddress = {
@@ -605,7 +641,7 @@ export type CartAddressInput = {
605
641
  address2?: InputMaybe<Scalars['String']['input']>;
606
642
  city?: InputMaybe<Scalars['String']['input']>;
607
643
  company?: InputMaybe<Scalars['String']['input']>;
608
- country?: InputMaybe<Scalars['ID']['input']>;
644
+ country: Scalars['ID']['input'];
609
645
  first_name?: InputMaybe<Scalars['String']['input']>;
610
646
  last_name?: InputMaybe<Scalars['String']['input']>;
611
647
  phone?: InputMaybe<Scalars['String']['input']>;
@@ -649,7 +685,7 @@ export declare enum CartDiscountStatus {
649
685
  }
650
686
  export declare enum CartDiscountType {
651
687
  amount = "amount",
652
- free_item = "free_item",
688
+ free = "free",
653
689
  percentage = "percentage"
654
690
  }
655
691
  export type CartEdge = {
@@ -658,9 +694,43 @@ export type CartEdge = {
658
694
  node?: Maybe<Cart>;
659
695
  };
660
696
  export type CartFilterKeys = {
697
+ billing_cities?: InputMaybe<Array<Scalars['String']['input']>>;
698
+ billing_countries?: InputMaybe<Array<Scalars['ID']['input']>>;
699
+ billing_postal_codes?: InputMaybe<Array<Scalars['String']['input']>>;
700
+ billing_regions?: InputMaybe<Array<Scalars['ID']['input']>>;
701
+ coupons?: InputMaybe<Array<Scalars['String']['input']>>;
702
+ currencies?: InputMaybe<Array<Scalars['ID']['input']>>;
661
703
  cursors?: InputMaybe<Array<Scalars['ID']['input']>>;
662
- is_tax_collectable?: InputMaybe<Array<Scalars['Boolean']['input']>>;
663
- languages?: InputMaybe<Array<Scalars['ID']['input']>>;
704
+ customers?: InputMaybe<Array<Scalars['ID']['input']>>;
705
+ ips?: InputMaybe<Array<Scalars['String']['input']>>;
706
+ markets?: InputMaybe<Array<Scalars['ID']['input']>>;
707
+ products?: InputMaybe<Array<Scalars['ID']['input']>>;
708
+ shipping_cities?: InputMaybe<Array<Scalars['String']['input']>>;
709
+ shipping_countries?: InputMaybe<Array<Scalars['ID']['input']>>;
710
+ shipping_postal_codes?: InputMaybe<Array<Scalars['String']['input']>>;
711
+ shipping_regions?: InputMaybe<Array<Scalars['ID']['input']>>;
712
+ user_agents?: InputMaybe<Array<Scalars['String']['input']>>;
713
+ variants?: InputMaybe<Array<Scalars['ID']['input']>>;
714
+ };
715
+ export type CartFulfillment = {
716
+ __typename: 'CartFulfillment';
717
+ description?: Maybe<Scalars['String']['output']>;
718
+ info?: Maybe<Scalars['JSON']['output']>;
719
+ method?: Maybe<CartFulfillmentMethod>;
720
+ name?: Maybe<Scalars['String']['output']>;
721
+ price?: Maybe<Scalars['Float']['output']>;
722
+ rate?: Maybe<Scalars['ID']['output']>;
723
+ };
724
+ export declare enum CartFulfillmentMethod {
725
+ delivery = "delivery",
726
+ pickup = "pickup",
727
+ shipping = "shipping"
728
+ }
729
+ export type CartFulfillmentOptions = {
730
+ __typename: 'CartFulfillmentOptions';
731
+ deliveries?: Maybe<Array<Maybe<FfillmentRate>>>;
732
+ pickups?: Maybe<Array<Maybe<FfillmentRate>>>;
733
+ shippings?: Maybe<Array<Maybe<FfillmentRate>>>;
664
734
  };
665
735
  export type CartLineItem = {
666
736
  __typename: 'CartLineItem';
@@ -698,31 +768,65 @@ export declare enum CartLineItemSource {
698
768
  app = "app",
699
769
  store = "store"
700
770
  }
701
- export type CartPricing = {
702
- __typename: 'CartPricing';
703
- currency?: Maybe<_Currency>;
704
- discount_total?: Maybe<Scalars['Float']['output']>;
705
- line_items?: Maybe<Array<Maybe<CartPricingLineItem>>>;
706
- shipping?: Maybe<Scalars['Float']['output']>;
707
- subtotal?: Maybe<Scalars['Float']['output']>;
708
- tax?: Maybe<Scalars['Float']['output']>;
709
- total?: Maybe<Scalars['Float']['output']>;
771
+ export type CartPaymentMethod = {
772
+ __typename: 'CartPaymentMethod';
773
+ charge_type?: Maybe<CartPaymentOptionChargeType>;
774
+ charge_value?: Maybe<Scalars['Float']['output']>;
775
+ computed_amount?: Maybe<Scalars['Float']['output']>;
776
+ icon?: Maybe<Scalars['String']['output']>;
777
+ instructions?: Maybe<Scalars['String']['output']>;
778
+ note?: Maybe<Scalars['String']['output']>;
779
+ payment?: Maybe<Scalars['ID']['output']>;
780
+ title?: Maybe<Scalars['String']['output']>;
781
+ type?: Maybe<CartPaymentOptionType>;
710
782
  };
711
- export type CartPricingLineItem = {
712
- __typename: 'CartPricingLineItem';
713
- base_total?: Maybe<Scalars['Float']['output']>;
714
- discount_total?: Maybe<Scalars['Float']['output']>;
715
- final_total?: Maybe<Scalars['Float']['output']>;
716
- line_item?: Maybe<Scalars['ID']['output']>;
783
+ export type CartPaymentOption = {
784
+ __typename: 'CartPaymentOption';
785
+ charge_type?: Maybe<CartPaymentOptionChargeType>;
786
+ charge_value?: Maybe<Scalars['Float']['output']>;
787
+ computed_amount?: Maybe<Scalars['Float']['output']>;
788
+ icon?: Maybe<Scalars['String']['output']>;
789
+ instructions?: Maybe<Scalars['String']['output']>;
790
+ note?: Maybe<Scalars['String']['output']>;
791
+ payment?: Maybe<Scalars['ID']['output']>;
792
+ title?: Maybe<Scalars['String']['output']>;
793
+ type?: Maybe<CartPaymentOptionType>;
717
794
  };
795
+ export declare enum CartPaymentOptionChargeType {
796
+ fixed = "fixed",
797
+ percentage = "percentage"
798
+ }
799
+ export declare enum CartPaymentOptionType {
800
+ digital = "digital",
801
+ manual = "manual"
802
+ }
718
803
  export declare enum CartSortkeys {
719
804
  _id = "_id",
720
805
  createdAt = "createdAt",
721
- first_name = "first_name",
722
- is_tax_collectable = "is_tax_collectable",
723
- language = "language",
724
- last_name = "last_name",
725
- updatedAt = "updatedAt"
806
+ customer = "customer",
807
+ discount = "discount",
808
+ ip = "ip",
809
+ market = "market",
810
+ note = "note",
811
+ payment = "payment",
812
+ shipping = "shipping",
813
+ subtotal = "subtotal",
814
+ tax = "tax",
815
+ total = "total",
816
+ updatedAt = "updatedAt",
817
+ user_agent = "user_agent"
818
+ }
819
+ export type CartTax = {
820
+ __typename: 'CartTax';
821
+ computed_amount?: Maybe<Scalars['Float']['output']>;
822
+ rate?: Maybe<Scalars['Float']['output']>;
823
+ scope?: Maybe<CartTaxScope>;
824
+ target_line_item?: Maybe<CartLineItem>;
825
+ title?: Maybe<Scalars['String']['output']>;
826
+ };
827
+ export declare enum CartTaxScope {
828
+ line_item = "line_item",
829
+ shipping = "shipping"
726
830
  }
727
831
  export type Checkout = {
728
832
  __typename: 'Checkout';
@@ -861,6 +965,7 @@ export type CreateThemeFile = {
861
965
  export type Customer = {
862
966
  __typename: 'Customer';
863
967
  _id?: Maybe<Scalars['ID']['output']>;
968
+ addresses?: Maybe<CustomerAddressConnection>;
864
969
  createdAt?: Maybe<Scalars['String']['output']>;
865
970
  email?: Maybe<CustomerEmail>;
866
971
  first_name?: Maybe<Scalars['String']['output']>;
@@ -874,6 +979,16 @@ export type Customer = {
874
979
  tags?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
875
980
  updatedAt?: Maybe<Scalars['String']['output']>;
876
981
  };
982
+ export type CustomerAddressesArgs = {
983
+ after?: InputMaybe<Scalars['ID']['input']>;
984
+ before?: InputMaybe<Scalars['ID']['input']>;
985
+ filterKeys?: InputMaybe<CustomerAddressFilterKeys>;
986
+ first?: InputMaybe<Scalars['Int']['input']>;
987
+ last?: InputMaybe<Scalars['Int']['input']>;
988
+ query?: InputMaybe<Scalars['String']['input']>;
989
+ reverse?: InputMaybe<Scalars['Boolean']['input']>;
990
+ sortKey?: InputMaybe<CustomerAddressSortkeys>;
991
+ };
877
992
  export type CustomerAddress = {
878
993
  __typename: 'CustomerAddress';
879
994
  _id?: Maybe<Scalars['ID']['output']>;
@@ -947,6 +1062,7 @@ export type CustomerEmail = {
947
1062
  };
948
1063
  export type CustomerEmailInput = {
949
1064
  address: Scalars['String']['input'];
1065
+ has_subscribed?: InputMaybe<Scalars['Boolean']['input']>;
950
1066
  };
951
1067
  export type CustomerFilterKeys = {
952
1068
  cursors?: InputMaybe<Array<Scalars['ID']['input']>>;
@@ -963,6 +1079,7 @@ export type CustomerPhone = {
963
1079
  };
964
1080
  export type CustomerPhoneInput = {
965
1081
  country: Scalars['ID']['input'];
1082
+ has_subscribed?: InputMaybe<Scalars['Boolean']['input']>;
966
1083
  number: Scalars['String']['input'];
967
1084
  };
968
1085
  export type CustomerSegment = {
@@ -1032,13 +1149,13 @@ export type CustomerSegmentEdge = {
1032
1149
  node?: Maybe<CustomerSegment>;
1033
1150
  };
1034
1151
  export type CustomerSegmentFilterKeys = {
1152
+ combines?: InputMaybe<Array<CustomerSegmentCombine>>;
1035
1153
  cursors?: InputMaybe<Array<Scalars['ID']['input']>>;
1036
- is_primary?: InputMaybe<Scalars['Boolean']['input']>;
1037
- is_tld?: InputMaybe<Scalars['Boolean']['input']>;
1038
- names?: InputMaybe<Array<Scalars['String']['input']>>;
1154
+ titles?: InputMaybe<Array<Scalars['String']['input']>>;
1039
1155
  };
1040
1156
  export declare enum CustomerSegmentSortkeys {
1041
1157
  _id = "_id",
1158
+ combine = "combine",
1042
1159
  createdAt = "createdAt",
1043
1160
  title = "title",
1044
1161
  updatedAt = "updatedAt"
@@ -1109,6 +1226,37 @@ export declare enum DeliveryProfileSortKeys {
1109
1226
  name = "name",
1110
1227
  updatedAt = "updatedAt"
1111
1228
  }
1229
+ export type DeliveryRate = {
1230
+ __typename: 'DeliveryRate';
1231
+ _id?: Maybe<Scalars['ID']['output']>;
1232
+ createdAt?: Maybe<Scalars['String']['output']>;
1233
+ description?: Maybe<Scalars['String']['output']>;
1234
+ name?: Maybe<Scalars['String']['output']>;
1235
+ store?: Maybe<Store>;
1236
+ updatedAt?: Maybe<Scalars['String']['output']>;
1237
+ };
1238
+ export type DeliveryRateConnection = {
1239
+ __typename: 'DeliveryRateConnection';
1240
+ edges?: Maybe<Array<Maybe<DeliveryRateEdge>>>;
1241
+ pageInfo?: Maybe<PageInfo>;
1242
+ totalCount?: Maybe<Scalars['Int']['output']>;
1243
+ };
1244
+ export type DeliveryRateEdge = {
1245
+ __typename: 'DeliveryRateEdge';
1246
+ cursor?: Maybe<Scalars['ID']['output']>;
1247
+ node?: Maybe<DeliveryRate>;
1248
+ };
1249
+ export type DeliveryRateFilterKeys = {
1250
+ cursors?: InputMaybe<Array<Scalars['ID']['input']>>;
1251
+ names?: InputMaybe<Array<Scalars['String']['input']>>;
1252
+ };
1253
+ export declare enum DeliveryRateSortKeys {
1254
+ _id = "_id",
1255
+ createdAt = "createdAt",
1256
+ name = "name",
1257
+ profile = "profile",
1258
+ updatedAt = "updatedAt"
1259
+ }
1112
1260
  export type DeliveryZone = {
1113
1261
  __typename: 'DeliveryZone';
1114
1262
  _id?: Maybe<Scalars['ID']['output']>;
@@ -1150,12 +1298,10 @@ export type DeliveryZoneRate = {
1150
1298
  __typename: 'DeliveryZoneRate';
1151
1299
  _id?: Maybe<Scalars['ID']['output']>;
1152
1300
  condition_type?: Maybe<DeliveryZoneRateConditionType>;
1153
- description?: Maybe<Scalars['String']['output']>;
1154
1301
  is_conditional?: Maybe<Scalars['Boolean']['output']>;
1155
- max_unit?: Maybe<Scalars['Float']['output']>;
1156
1302
  min_unit?: Maybe<Scalars['Float']['output']>;
1157
- name?: Maybe<Scalars['String']['output']>;
1158
1303
  price?: Maybe<Scalars['Float']['output']>;
1304
+ rate?: Maybe<DeliveryRate>;
1159
1305
  };
1160
1306
  export declare enum DeliveryZoneRateConditionType {
1161
1307
  price = "price",
@@ -1163,12 +1309,10 @@ export declare enum DeliveryZoneRateConditionType {
1163
1309
  }
1164
1310
  export type DeliveryZoneRateInput = {
1165
1311
  condition_type?: InputMaybe<DeliveryZoneRateConditionType>;
1166
- description?: InputMaybe<Scalars['String']['input']>;
1167
1312
  is_conditional: Scalars['Boolean']['input'];
1168
- max_unit?: InputMaybe<Scalars['Float']['input']>;
1169
1313
  min_unit?: InputMaybe<Scalars['Float']['input']>;
1170
- name: Scalars['String']['input'];
1171
1314
  price: Scalars['Float']['input'];
1315
+ rate: Scalars['ID']['input'];
1172
1316
  };
1173
1317
  export declare enum DeliveryZoneSortKeys {
1174
1318
  _id = "_id",
@@ -1207,6 +1351,7 @@ export type Discount = {
1207
1351
  combines_with_order_discounts?: Maybe<Scalars['Boolean']['output']>;
1208
1352
  combines_with_product_discounts?: Maybe<Scalars['Boolean']['output']>;
1209
1353
  combines_with_shipping_discounts?: Maybe<Scalars['Boolean']['output']>;
1354
+ createdAt?: Maybe<Scalars['String']['output']>;
1210
1355
  customer_usage_limit?: Maybe<Scalars['Int']['output']>;
1211
1356
  description?: Maybe<Scalars['String']['output']>;
1212
1357
  eligible_customers?: Maybe<Array<Maybe<Customer>>>;
@@ -1217,6 +1362,7 @@ export type Discount = {
1217
1362
  store?: Maybe<Store>;
1218
1363
  total_usage_limit?: Maybe<Scalars['Int']['output']>;
1219
1364
  type?: Maybe<DiscountType>;
1365
+ updatedAt?: Maybe<Scalars['String']['output']>;
1220
1366
  };
1221
1367
  export type DiscountAoo = {
1222
1368
  __typename: 'DiscountAOO';
@@ -1289,14 +1435,13 @@ export type DiscountBxgy = {
1289
1435
  offer_products?: Maybe<Array<Maybe<Product>>>;
1290
1436
  products?: Maybe<Array<Maybe<Product>>>;
1291
1437
  type?: Maybe<DiscountBxgyType>;
1292
- usage_per_order?: Maybe<Scalars['Int']['output']>;
1293
1438
  };
1294
1439
  export declare enum DiscountBxgyApplication {
1295
1440
  collections = "collections",
1296
1441
  products = "products"
1297
1442
  }
1298
1443
  export type DiscountBxgyInput = {
1299
- amount: Scalars['Float']['input'];
1444
+ amount?: InputMaybe<Scalars['Float']['input']>;
1300
1445
  application: DiscountBxgyApplication;
1301
1446
  collections?: InputMaybe<Array<Scalars['ID']['input']>>;
1302
1447
  max_offer_quantity?: InputMaybe<Scalars['Int']['input']>;
@@ -1307,7 +1452,6 @@ export type DiscountBxgyInput = {
1307
1452
  offer_products?: InputMaybe<Array<Scalars['ID']['input']>>;
1308
1453
  products?: InputMaybe<Array<Scalars['ID']['input']>>;
1309
1454
  type: DiscountBxgyType;
1310
- usage_per_order?: InputMaybe<Scalars['Int']['input']>;
1311
1455
  };
1312
1456
  export declare enum DiscountBxgyMinimumPurchaseType {
1313
1457
  amount = "amount",
@@ -1365,15 +1509,13 @@ export type DiscountFilterKeys = {
1365
1509
  };
1366
1510
  export declare enum DiscountSortKeys {
1367
1511
  _id = "_id",
1368
- available = "available",
1369
- committed = "committed",
1512
+ application = "application",
1513
+ code = "code",
1370
1514
  createdAt = "createdAt",
1371
- damaged = "damaged",
1372
- incoming = "incoming",
1373
- on_hand = "on_hand",
1374
- quality_control = "quality_control",
1375
- reserved = "reserved",
1376
- safety_stock = "safety_stock",
1515
+ customer_usage_limit = "customer_usage_limit",
1516
+ ends_at = "ends_at",
1517
+ starts_at = "starts_at",
1518
+ total_usage_limit = "total_usage_limit",
1377
1519
  updatedAt = "updatedAt"
1378
1520
  }
1379
1521
  export declare enum DiscountType {
@@ -1513,9 +1655,9 @@ export type EditBrand = {
1513
1655
  square_logo?: InputMaybe<Scalars['ID']['input']>;
1514
1656
  tiktok?: InputMaybe<Scalars['String']['input']>;
1515
1657
  tumblr?: InputMaybe<Scalars['String']['input']>;
1516
- twitter?: InputMaybe<Scalars['String']['input']>;
1517
1658
  vimeo?: InputMaybe<Scalars['String']['input']>;
1518
1659
  whatsapp?: InputMaybe<Scalars['String']['input']>;
1660
+ x?: InputMaybe<Scalars['String']['input']>;
1519
1661
  youtube?: InputMaybe<Scalars['String']['input']>;
1520
1662
  };
1521
1663
  export type EditCart = {
@@ -1523,9 +1665,12 @@ export type EditCart = {
1523
1665
  coupon?: InputMaybe<Scalars['String']['input']>;
1524
1666
  cursor: Scalars['ID']['input'];
1525
1667
  customer?: InputMaybe<Scalars['ID']['input']>;
1668
+ fulfillment_method?: InputMaybe<CartFulfillmentMethod>;
1669
+ fulfillment_option?: InputMaybe<Scalars['ID']['input']>;
1526
1670
  ip?: InputMaybe<Scalars['String']['input']>;
1527
1671
  line_items?: InputMaybe<Array<CartLineItemInput>>;
1528
1672
  note?: InputMaybe<Scalars['String']['input']>;
1673
+ payment_option?: InputMaybe<Scalars['ID']['input']>;
1529
1674
  shipping_address?: InputMaybe<CartAddressInput>;
1530
1675
  user_agent?: InputMaybe<Scalars['String']['input']>;
1531
1676
  };
@@ -1562,7 +1707,7 @@ export type EditCustomerAddress = {
1562
1707
  address2?: InputMaybe<Scalars['String']['input']>;
1563
1708
  city?: InputMaybe<Scalars['String']['input']>;
1564
1709
  company?: InputMaybe<Scalars['String']['input']>;
1565
- country: Scalars['ID']['input'];
1710
+ country?: InputMaybe<Scalars['ID']['input']>;
1566
1711
  cursor: Scalars['ID']['input'];
1567
1712
  first_name?: InputMaybe<Scalars['String']['input']>;
1568
1713
  is_default?: InputMaybe<Scalars['Boolean']['input']>;
@@ -1582,10 +1727,16 @@ export type EditDeliveryProfile = {
1582
1727
  name?: InputMaybe<Scalars['String']['input']>;
1583
1728
  origin?: InputMaybe<Scalars['ID']['input']>;
1584
1729
  };
1730
+ export type EditDeliveryRate = {
1731
+ cursor: Scalars['ID']['input'];
1732
+ description?: InputMaybe<Scalars['String']['input']>;
1733
+ name?: InputMaybe<Scalars['String']['input']>;
1734
+ };
1585
1735
  export type EditDeliveryZone = {
1586
1736
  cursor: Scalars['ID']['input'];
1587
- locations?: InputMaybe<Array<DeliveryZoneLocationInput>>;
1737
+ instructions?: InputMaybe<Scalars['String']['input']>;
1588
1738
  name?: InputMaybe<Scalars['String']['input']>;
1739
+ postal_codes?: InputMaybe<Array<Scalars['String']['input']>>;
1589
1740
  rates?: InputMaybe<Array<DeliveryZoneRateInput>>;
1590
1741
  };
1591
1742
  export type EditDiscount = {
@@ -1682,6 +1833,15 @@ export type EditMetaobjectEntry = {
1682
1833
  fields: Array<MetaobjectEntryFieldInput>;
1683
1834
  title?: InputMaybe<Scalars['String']['input']>;
1684
1835
  };
1836
+ export type EditOrder = {
1837
+ cursor: Scalars['ID']['input'];
1838
+ status?: InputMaybe<OrderStatus>;
1839
+ tags?: InputMaybe<Array<Scalars['String']['input']>>;
1840
+ };
1841
+ export type EditOrderPayment = {
1842
+ cursor: Scalars['ID']['input'];
1843
+ payment: Scalars['ID']['input'];
1844
+ };
1685
1845
  export type EditPage = {
1686
1846
  content?: InputMaybe<Scalars['String']['input']>;
1687
1847
  cursor: Scalars['ID']['input'];
@@ -1789,6 +1949,11 @@ export type EditShippingProfile = {
1789
1949
  name?: InputMaybe<Scalars['String']['input']>;
1790
1950
  origins?: InputMaybe<Array<Scalars['ID']['input']>>;
1791
1951
  };
1952
+ export type EditShippingRate = {
1953
+ cursor: Scalars['ID']['input'];
1954
+ description?: InputMaybe<Scalars['String']['input']>;
1955
+ name?: InputMaybe<Scalars['String']['input']>;
1956
+ };
1792
1957
  export type EditShippingZone = {
1793
1958
  cursor: Scalars['ID']['input'];
1794
1959
  locations?: InputMaybe<Array<ShippingZoneLocationInput>>;
@@ -1889,6 +2054,20 @@ export type EmailInput = {
1889
2054
  address: Scalars['String']['input'];
1890
2055
  has_subscribed?: InputMaybe<Scalars['Boolean']['input']>;
1891
2056
  };
2057
+ export type FfillmentRate = {
2058
+ __typename: 'FfillmentRate';
2059
+ description?: Maybe<Scalars['String']['output']>;
2060
+ instructions?: Maybe<Scalars['String']['output']>;
2061
+ name?: Maybe<Scalars['String']['output']>;
2062
+ price?: Maybe<Scalars['Float']['output']>;
2063
+ rate?: Maybe<Scalars['ID']['output']>;
2064
+ };
2065
+ export type IncomingData = {
2066
+ __typename: 'IncomingData';
2067
+ purchase?: Maybe<Purchase>;
2068
+ quantity?: Maybe<Scalars['Int']['output']>;
2069
+ transfer?: Maybe<Transfer>;
2070
+ };
1892
2071
  export type InstallTheme = {
1893
2072
  _theme: Scalars['ID']['input'];
1894
2073
  _themeVersion: Scalars['ID']['input'];
@@ -1899,7 +2078,7 @@ export type Inventory = {
1899
2078
  available?: Maybe<Scalars['Int']['output']>;
1900
2079
  committed?: Maybe<Scalars['Int']['output']>;
1901
2080
  damaged?: Maybe<Scalars['Int']['output']>;
1902
- incoming?: Maybe<Scalars['Int']['output']>;
2081
+ incoming?: Maybe<Array<Maybe<IncomingData>>>;
1903
2082
  location?: Maybe<Location>;
1904
2083
  product?: Maybe<Product>;
1905
2084
  quality_control?: Maybe<Scalars['Int']['output']>;
@@ -2494,6 +2673,10 @@ export declare enum MetaobjectSortKeys {
2494
2673
  name = "name",
2495
2674
  updatedAt = "updatedAt"
2496
2675
  }
2676
+ export type ModifyCart = {
2677
+ cursor: Scalars['ID']['input'];
2678
+ data: Scalars['JSON']['input'];
2679
+ };
2497
2680
  export type Module = {
2498
2681
  __typename: 'Module';
2499
2682
  basename?: Maybe<Scalars['String']['output']>;
@@ -2517,6 +2700,7 @@ export type Mutation = {
2517
2700
  addBlog?: Maybe<Blog>;
2518
2701
  addBlogs?: Maybe<Array<Maybe<Blog>>>;
2519
2702
  addCart?: Maybe<Cart>;
2703
+ addCarts?: Maybe<Array<Maybe<Cart>>>;
2520
2704
  addCollection?: Maybe<Collection>;
2521
2705
  addCollectionProduct?: Maybe<CollectionProduct>;
2522
2706
  addCollectionProducts?: Maybe<Array<Maybe<CollectionProduct>>>;
@@ -2529,6 +2713,8 @@ export type Mutation = {
2529
2713
  addCustomers?: Maybe<Array<Maybe<Customer>>>;
2530
2714
  addDeliveryProfile?: Maybe<DeliveryProfile>;
2531
2715
  addDeliveryProfiles?: Maybe<Array<Maybe<DeliveryProfile>>>;
2716
+ addDeliveryRate?: Maybe<DeliveryRate>;
2717
+ addDeliveryRates?: Maybe<Array<Maybe<DeliveryRate>>>;
2532
2718
  addDeliveryZone?: Maybe<DeliveryZone>;
2533
2719
  addDeliveryZones?: Maybe<Array<Maybe<DeliveryZone>>>;
2534
2720
  addDiscount?: Maybe<Discount>;
@@ -2553,6 +2739,8 @@ export type Mutation = {
2553
2739
  addMetaobjectEntries?: Maybe<Array<Maybe<MetaobjectEntry>>>;
2554
2740
  addMetaobjectEntry?: Maybe<MetaobjectEntry>;
2555
2741
  addMetaobjects?: Maybe<Array<Maybe<Metaobject>>>;
2742
+ addOrder?: Maybe<Order>;
2743
+ addOrderPayment?: Maybe<OrderPayment>;
2556
2744
  addPage?: Maybe<Page>;
2557
2745
  addPages?: Maybe<Array<Maybe<Page>>>;
2558
2746
  addPayment?: Maybe<Payment>;
@@ -2569,6 +2757,8 @@ export type Mutation = {
2569
2757
  addRedirects?: Maybe<Array<Maybe<Redirect>>>;
2570
2758
  addShippingProfile?: Maybe<ShippingProfile>;
2571
2759
  addShippingProfiles?: Maybe<Array<Maybe<ShippingProfile>>>;
2760
+ addShippingRate?: Maybe<ShippingRate>;
2761
+ addShippingRates?: Maybe<Array<Maybe<ShippingRate>>>;
2572
2762
  addShippingZone?: Maybe<ShippingZone>;
2573
2763
  addShippingZones?: Maybe<Array<Maybe<ShippingZone>>>;
2574
2764
  addStaff?: Maybe<Staff>;
@@ -2592,7 +2782,8 @@ export type Mutation = {
2592
2782
  deleteArticle?: Maybe<SingleDelete>;
2593
2783
  deleteBlog?: Maybe<SingleDelete>;
2594
2784
  deleteBlogs?: Maybe<MultipleDeletes>;
2595
- deleteCart?: Maybe<Cart>;
2785
+ deleteCart?: Maybe<SingleDelete>;
2786
+ deleteCarts?: Maybe<MultipleDeletes>;
2596
2787
  deleteCollection?: Maybe<SingleDelete>;
2597
2788
  deleteCollectionProduct?: Maybe<SingleDelete>;
2598
2789
  deleteCollectionProducts?: Maybe<MultipleDeletes>;
@@ -2605,6 +2796,8 @@ export type Mutation = {
2605
2796
  deleteCustomers?: Maybe<MultipleDeletes>;
2606
2797
  deleteDeliveryProfile?: Maybe<SingleDelete>;
2607
2798
  deleteDeliveryProfiles?: Maybe<MultipleDeletes>;
2799
+ deleteDeliveryRate?: Maybe<SingleDelete>;
2800
+ deleteDeliveryRates?: Maybe<MultipleDeletes>;
2608
2801
  deleteDeliveryZone?: Maybe<SingleDelete>;
2609
2802
  deleteDeliveryZones?: Maybe<MultipleDeletes>;
2610
2803
  deleteDiscount?: Maybe<SingleDelete>;
@@ -2629,6 +2822,7 @@ export type Mutation = {
2629
2822
  deleteMetaobjectEntries?: Maybe<MultipleDeletes>;
2630
2823
  deleteMetaobjectEntry?: Maybe<SingleDelete>;
2631
2824
  deleteMetaobjects?: Maybe<MultipleDeletes>;
2825
+ deleteOrderPayment?: Maybe<SingleDelete>;
2632
2826
  deletePage?: Maybe<SingleDelete>;
2633
2827
  deletePages?: Maybe<MultipleDeletes>;
2634
2828
  deletePayment?: Maybe<SingleDelete>;
@@ -2643,6 +2837,8 @@ export type Mutation = {
2643
2837
  deleteRedirects?: Maybe<MultipleDeletes>;
2644
2838
  deleteShippingProfile?: Maybe<SingleDelete>;
2645
2839
  deleteShippingProfiles?: Maybe<MultipleDeletes>;
2840
+ deleteShippingRate?: Maybe<SingleDelete>;
2841
+ deleteShippingRates?: Maybe<MultipleDeletes>;
2646
2842
  deleteShippingZone?: Maybe<SingleDelete>;
2647
2843
  deleteShippingZones?: Maybe<MultipleDeletes>;
2648
2844
  deleteStaff?: Maybe<SingleDelete>;
@@ -2667,6 +2863,8 @@ export type Mutation = {
2667
2863
  editBlog?: Maybe<Blog>;
2668
2864
  editBlogs?: Maybe<Array<Maybe<Blog>>>;
2669
2865
  editBrand?: Maybe<Brand>;
2866
+ editCart?: Maybe<Cart>;
2867
+ editCarts?: Maybe<Array<Maybe<Cart>>>;
2670
2868
  editCheckout?: Maybe<Checkout>;
2671
2869
  editCollection?: Maybe<Collection>;
2672
2870
  editCollectionProduct?: Maybe<CollectionProduct>;
@@ -2680,6 +2878,8 @@ export type Mutation = {
2680
2878
  editCustomers?: Maybe<Array<Maybe<Customer>>>;
2681
2879
  editDeliveryProfile?: Maybe<DeliveryProfile>;
2682
2880
  editDeliveryProfiles?: Maybe<DeliveryProfile>;
2881
+ editDeliveryRate?: Maybe<DeliveryRate>;
2882
+ editDeliveryRates?: Maybe<DeliveryRate>;
2683
2883
  editDeliveryZone?: Maybe<DeliveryZone>;
2684
2884
  editDeliveryZones?: Maybe<DeliveryZone>;
2685
2885
  editDiscount?: Maybe<Discount>;
@@ -2702,6 +2902,8 @@ export type Mutation = {
2702
2902
  editMetaobjectEntries?: Maybe<Array<Maybe<MetaobjectEntry>>>;
2703
2903
  editMetaobjectEntry?: Maybe<MetaobjectEntry>;
2704
2904
  editMetaobjects?: Maybe<Array<Maybe<Metaobject>>>;
2905
+ editOrder?: Maybe<Order>;
2906
+ editOrderPayment?: Maybe<OrderPayment>;
2705
2907
  editPage?: Maybe<Page>;
2706
2908
  editPages?: Maybe<Array<Maybe<Page>>>;
2707
2909
  editPayment?: Maybe<Payment>;
@@ -2721,6 +2923,8 @@ export type Mutation = {
2721
2923
  editRedirects?: Maybe<Array<Maybe<Redirect>>>;
2722
2924
  editShippingProfile?: Maybe<ShippingProfile>;
2723
2925
  editShippingProfiles?: Maybe<ShippingProfile>;
2926
+ editShippingRate?: Maybe<ShippingRate>;
2927
+ editShippingRates?: Maybe<ShippingRate>;
2724
2928
  editShippingZone?: Maybe<ShippingZone>;
2725
2929
  editShippingZones?: Maybe<ShippingZone>;
2726
2930
  editShop?: Maybe<Shop>;
@@ -2737,11 +2941,13 @@ export type Mutation = {
2737
2941
  editTransfers?: Maybe<Array<Maybe<Transfer>>>;
2738
2942
  editVariant?: Maybe<Variant>;
2739
2943
  editVariants?: Maybe<Array<Maybe<Variant>>>;
2740
- editcart?: Maybe<Cart>;
2741
2944
  enableAccountSecurity?: Maybe<Scalars['String']['output']>;
2742
2945
  installTheme?: Maybe<Theme>;
2743
2946
  mergeCustomers?: Maybe<Customer>;
2947
+ modifyCart?: Maybe<Cart>;
2948
+ payOrderPayment?: Maybe<PayOrderPaymentResponse>;
2744
2949
  payStoreInvoice?: Maybe<PayStoreInvoiceResponse>;
2950
+ refundOrderPayment?: Maybe<OrderPayment>;
2745
2951
  requestStoreInvoiceRefund?: Maybe<StoreInvoice>;
2746
2952
  resetAccountPassword?: Maybe<Scalars['String']['output']>;
2747
2953
  sendAccountEmailVerification?: Maybe<Scalars['String']['output']>;
@@ -2793,6 +2999,9 @@ export type MutationAddBlogsArgs = {
2793
2999
  export type MutationAddCartArgs = {
2794
3000
  input: AddCart;
2795
3001
  };
3002
+ export type MutationAddCartsArgs = {
3003
+ input: Array<AddCart>;
3004
+ };
2796
3005
  export type MutationAddCollectionArgs = {
2797
3006
  input: AddCollection;
2798
3007
  };
@@ -2829,6 +3038,12 @@ export type MutationAddDeliveryProfileArgs = {
2829
3038
  export type MutationAddDeliveryProfilesArgs = {
2830
3039
  input: Array<AddDeliveryProfile>;
2831
3040
  };
3041
+ export type MutationAddDeliveryRateArgs = {
3042
+ input: AddDeliveryRate;
3043
+ };
3044
+ export type MutationAddDeliveryRatesArgs = {
3045
+ input: Array<AddDeliveryRate>;
3046
+ };
2832
3047
  export type MutationAddDeliveryZoneArgs = {
2833
3048
  input: AddDeliveryZone;
2834
3049
  };
@@ -2901,6 +3116,12 @@ export type MutationAddMetaobjectEntryArgs = {
2901
3116
  export type MutationAddMetaobjectsArgs = {
2902
3117
  input: Array<AddMetaobject>;
2903
3118
  };
3119
+ export type MutationAddOrderArgs = {
3120
+ input: AddOrder;
3121
+ };
3122
+ export type MutationAddOrderPaymentArgs = {
3123
+ input: AddOrderPayment;
3124
+ };
2904
3125
  export type MutationAddPageArgs = {
2905
3126
  input: AddPage;
2906
3127
  };
@@ -2949,6 +3170,12 @@ export type MutationAddShippingProfileArgs = {
2949
3170
  export type MutationAddShippingProfilesArgs = {
2950
3171
  input: Array<AddShippingProfile>;
2951
3172
  };
3173
+ export type MutationAddShippingRateArgs = {
3174
+ input: AddShippingRate;
3175
+ };
3176
+ export type MutationAddShippingRatesArgs = {
3177
+ input: Array<AddShippingRate>;
3178
+ };
2952
3179
  export type MutationAddShippingZoneArgs = {
2953
3180
  input: AddShippingZone;
2954
3181
  };
@@ -3025,6 +3252,9 @@ export type MutationDeleteBlogsArgs = {
3025
3252
  export type MutationDeleteCartArgs = {
3026
3253
  cursor: Scalars['ID']['input'];
3027
3254
  };
3255
+ export type MutationDeleteCartsArgs = {
3256
+ cursors: Array<Scalars['ID']['input']>;
3257
+ };
3028
3258
  export type MutationDeleteCollectionArgs = {
3029
3259
  cursor: Scalars['ID']['input'];
3030
3260
  };
@@ -3061,6 +3291,12 @@ export type MutationDeleteDeliveryProfileArgs = {
3061
3291
  export type MutationDeleteDeliveryProfilesArgs = {
3062
3292
  cursors: Array<Scalars['ID']['input']>;
3063
3293
  };
3294
+ export type MutationDeleteDeliveryRateArgs = {
3295
+ cursor: Scalars['ID']['input'];
3296
+ };
3297
+ export type MutationDeleteDeliveryRatesArgs = {
3298
+ cursors: Array<Scalars['ID']['input']>;
3299
+ };
3064
3300
  export type MutationDeleteDeliveryZoneArgs = {
3065
3301
  cursor: Scalars['ID']['input'];
3066
3302
  };
@@ -3133,6 +3369,9 @@ export type MutationDeleteMetaobjectEntryArgs = {
3133
3369
  export type MutationDeleteMetaobjectsArgs = {
3134
3370
  cursors: Array<Scalars['ID']['input']>;
3135
3371
  };
3372
+ export type MutationDeleteOrderPaymentArgs = {
3373
+ cursor: Scalars['ID']['input'];
3374
+ };
3136
3375
  export type MutationDeletePageArgs = {
3137
3376
  cursor: Scalars['ID']['input'];
3138
3377
  };
@@ -3175,6 +3414,12 @@ export type MutationDeleteShippingProfileArgs = {
3175
3414
  export type MutationDeleteShippingProfilesArgs = {
3176
3415
  cursors: Array<Scalars['ID']['input']>;
3177
3416
  };
3417
+ export type MutationDeleteShippingRateArgs = {
3418
+ cursor: Scalars['ID']['input'];
3419
+ };
3420
+ export type MutationDeleteShippingRatesArgs = {
3421
+ cursors: Array<Scalars['ID']['input']>;
3422
+ };
3178
3423
  export type MutationDeleteShippingZoneArgs = {
3179
3424
  cursor: Scalars['ID']['input'];
3180
3425
  };
@@ -3247,6 +3492,12 @@ export type MutationEditBlogsArgs = {
3247
3492
  export type MutationEditBrandArgs = {
3248
3493
  input: EditBrand;
3249
3494
  };
3495
+ export type MutationEditCartArgs = {
3496
+ input: EditCart;
3497
+ };
3498
+ export type MutationEditCartsArgs = {
3499
+ input: Array<EditCart>;
3500
+ };
3250
3501
  export type MutationEditCheckoutArgs = {
3251
3502
  address2_requirement?: InputMaybe<CheckoutExcludeRequiredOptional>;
3252
3503
  auto_archive_order?: InputMaybe<Scalars['Boolean']['input']>;
@@ -3308,6 +3559,12 @@ export type MutationEditDeliveryProfileArgs = {
3308
3559
  export type MutationEditDeliveryProfilesArgs = {
3309
3560
  input: Array<EditDeliveryProfile>;
3310
3561
  };
3562
+ export type MutationEditDeliveryRateArgs = {
3563
+ input: EditDeliveryRate;
3564
+ };
3565
+ export type MutationEditDeliveryRatesArgs = {
3566
+ input: Array<EditDeliveryRate>;
3567
+ };
3311
3568
  export type MutationEditDeliveryZoneArgs = {
3312
3569
  input: EditDeliveryZone;
3313
3570
  };
@@ -3374,6 +3631,12 @@ export type MutationEditMetaobjectEntryArgs = {
3374
3631
  export type MutationEditMetaobjectsArgs = {
3375
3632
  input: Array<EditMetaobject>;
3376
3633
  };
3634
+ export type MutationEditOrderArgs = {
3635
+ input: EditOrder;
3636
+ };
3637
+ export type MutationEditOrderPaymentArgs = {
3638
+ input: EditOrderPayment;
3639
+ };
3377
3640
  export type MutationEditPageArgs = {
3378
3641
  input: EditPage;
3379
3642
  };
@@ -3431,6 +3694,12 @@ export type MutationEditShippingProfileArgs = {
3431
3694
  export type MutationEditShippingProfilesArgs = {
3432
3695
  input: Array<EditShippingProfile>;
3433
3696
  };
3697
+ export type MutationEditShippingRateArgs = {
3698
+ input: EditShippingRate;
3699
+ };
3700
+ export type MutationEditShippingRatesArgs = {
3701
+ input: Array<EditShippingRate>;
3702
+ };
3434
3703
  export type MutationEditShippingZoneArgs = {
3435
3704
  input: EditShippingZone;
3436
3705
  };
@@ -3484,9 +3753,6 @@ export type MutationEditVariantArgs = {
3484
3753
  export type MutationEditVariantsArgs = {
3485
3754
  input?: InputMaybe<Array<EditVariant>>;
3486
3755
  };
3487
- export type MutationEditcartArgs = {
3488
- input: EditCart;
3489
- };
3490
3756
  export type MutationEnableAccountSecurityArgs = {
3491
3757
  security_code: Scalars['String']['input'];
3492
3758
  };
@@ -3496,9 +3762,18 @@ export type MutationInstallThemeArgs = {
3496
3762
  export type MutationMergeCustomersArgs = {
3497
3763
  input: MergeCustomers;
3498
3764
  };
3765
+ export type MutationModifyCartArgs = {
3766
+ input: ModifyCart;
3767
+ };
3768
+ export type MutationPayOrderPaymentArgs = {
3769
+ input: PayOrderPayment;
3770
+ };
3499
3771
  export type MutationPayStoreInvoiceArgs = {
3500
3772
  cursor: Scalars['ID']['input'];
3501
3773
  };
3774
+ export type MutationRefundOrderPaymentArgs = {
3775
+ input: RefundOrderPayment;
3776
+ };
3502
3777
  export type MutationRequestStoreInvoiceRefundArgs = {
3503
3778
  input: RequestStoreInvoiceRefund;
3504
3779
  };
@@ -3560,6 +3835,287 @@ export type MutationUploadThemeFileArgs = {
3560
3835
  export type MutationVerifyAccountEmailArgs = {
3561
3836
  token: Scalars['String']['input'];
3562
3837
  };
3838
+ export type Order = {
3839
+ __typename: 'Order';
3840
+ _id?: Maybe<Scalars['ID']['output']>;
3841
+ app?: Maybe<_App>;
3842
+ billing_address?: Maybe<OrderAddress>;
3843
+ channel?: Maybe<OrderChannel>;
3844
+ coupon?: Maybe<Scalars['String']['output']>;
3845
+ createdAt?: Maybe<Scalars['String']['output']>;
3846
+ currency?: Maybe<_Currency>;
3847
+ customer?: Maybe<Customer>;
3848
+ discount?: Maybe<Scalars['Float']['output']>;
3849
+ discounts?: Maybe<Array<Maybe<OrderDiscount>>>;
3850
+ fulfillment?: Maybe<OrderFulfillment>;
3851
+ fulfillment_status?: Maybe<OrderFulfillmentStatus>;
3852
+ ip?: Maybe<Scalars['String']['output']>;
3853
+ line_items?: Maybe<Array<Maybe<OrderLineItem>>>;
3854
+ market?: Maybe<Market>;
3855
+ note?: Maybe<Scalars['String']['output']>;
3856
+ payment_method?: Maybe<OrderPaymentMethod>;
3857
+ payment_status?: Maybe<OrderPaymentStatus>;
3858
+ serial_id?: Maybe<Scalars['String']['output']>;
3859
+ shipping?: Maybe<Scalars['Float']['output']>;
3860
+ shipping_address?: Maybe<OrderAddress>;
3861
+ status?: Maybe<OrderStatus>;
3862
+ store?: Maybe<Store>;
3863
+ subtotal?: Maybe<Scalars['Float']['output']>;
3864
+ tags?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
3865
+ tax?: Maybe<Scalars['Float']['output']>;
3866
+ taxes?: Maybe<Array<Maybe<OrderTax>>>;
3867
+ total?: Maybe<Scalars['Float']['output']>;
3868
+ updatedAt?: Maybe<Scalars['String']['output']>;
3869
+ user_agent?: Maybe<Scalars['String']['output']>;
3870
+ };
3871
+ export type OrderAddress = {
3872
+ __typename: 'OrderAddress';
3873
+ address1?: Maybe<Scalars['String']['output']>;
3874
+ address2?: Maybe<Scalars['String']['output']>;
3875
+ city?: Maybe<Scalars['String']['output']>;
3876
+ company?: Maybe<Scalars['String']['output']>;
3877
+ country?: Maybe<_Country>;
3878
+ first_name?: Maybe<Scalars['String']['output']>;
3879
+ last_name?: Maybe<Scalars['String']['output']>;
3880
+ phone?: Maybe<Scalars['String']['output']>;
3881
+ postal_code?: Maybe<Scalars['String']['output']>;
3882
+ region?: Maybe<_Region>;
3883
+ };
3884
+ export declare enum OrderChannel {
3885
+ app = "app",
3886
+ system = "system"
3887
+ }
3888
+ export type OrderConnection = {
3889
+ __typename: 'OrderConnection';
3890
+ edges?: Maybe<Array<Maybe<OrderEdge>>>;
3891
+ pageInfo?: Maybe<PageInfo>;
3892
+ totalCount?: Maybe<Scalars['Int']['output']>;
3893
+ };
3894
+ export type OrderDiscount = {
3895
+ __typename: 'OrderDiscount';
3896
+ app?: Maybe<_App>;
3897
+ computed_amount?: Maybe<Scalars['Float']['output']>;
3898
+ priority?: Maybe<Scalars['Int']['output']>;
3899
+ reason?: Maybe<Scalars['String']['output']>;
3900
+ scope?: Maybe<OrderDiscountScope>;
3901
+ source?: Maybe<OrderDiscountSource>;
3902
+ stackable?: Maybe<Scalars['Boolean']['output']>;
3903
+ status?: Maybe<OrderDiscountStatus>;
3904
+ target_line_items?: Maybe<Array<Maybe<OrderLineItem>>>;
3905
+ title?: Maybe<Scalars['String']['output']>;
3906
+ type?: Maybe<OrderDiscountType>;
3907
+ value?: Maybe<Scalars['Float']['output']>;
3908
+ };
3909
+ export declare enum OrderDiscountScope {
3910
+ cart = "cart",
3911
+ line_item = "line_item",
3912
+ shipping = "shipping"
3913
+ }
3914
+ export declare enum OrderDiscountSource {
3915
+ app = "app",
3916
+ store = "store"
3917
+ }
3918
+ export declare enum OrderDiscountStatus {
3919
+ applied = "applied",
3920
+ invalid = "invalid",
3921
+ pending = "pending"
3922
+ }
3923
+ export declare enum OrderDiscountType {
3924
+ amount = "amount",
3925
+ free = "free",
3926
+ percentage = "percentage"
3927
+ }
3928
+ export type OrderEdge = {
3929
+ __typename: 'OrderEdge';
3930
+ cursor?: Maybe<Scalars['ID']['output']>;
3931
+ node?: Maybe<Order>;
3932
+ };
3933
+ export type OrderFilterKeys = {
3934
+ billing_cities?: InputMaybe<Array<Scalars['String']['input']>>;
3935
+ billing_countries?: InputMaybe<Array<Scalars['ID']['input']>>;
3936
+ billing_postal_codes?: InputMaybe<Array<Scalars['String']['input']>>;
3937
+ billing_regions?: InputMaybe<Array<Scalars['ID']['input']>>;
3938
+ coupons?: InputMaybe<Array<Scalars['String']['input']>>;
3939
+ currencies?: InputMaybe<Array<Scalars['ID']['input']>>;
3940
+ cursors?: InputMaybe<Array<Scalars['ID']['input']>>;
3941
+ customers?: InputMaybe<Array<Scalars['ID']['input']>>;
3942
+ ips?: InputMaybe<Array<Scalars['String']['input']>>;
3943
+ markets?: InputMaybe<Array<Scalars['ID']['input']>>;
3944
+ products?: InputMaybe<Array<Scalars['ID']['input']>>;
3945
+ shipping_cities?: InputMaybe<Array<Scalars['String']['input']>>;
3946
+ shipping_countries?: InputMaybe<Array<Scalars['ID']['input']>>;
3947
+ shipping_postal_codes?: InputMaybe<Array<Scalars['String']['input']>>;
3948
+ shipping_regions?: InputMaybe<Array<Scalars['ID']['input']>>;
3949
+ user_agents?: InputMaybe<Array<Scalars['String']['input']>>;
3950
+ variants?: InputMaybe<Array<Scalars['ID']['input']>>;
3951
+ };
3952
+ export type OrderFulfillment = {
3953
+ __typename: 'OrderFulfillment';
3954
+ description?: Maybe<Scalars['String']['output']>;
3955
+ info?: Maybe<Scalars['JSON']['output']>;
3956
+ method?: Maybe<OrderFulfillmentMethod>;
3957
+ name?: Maybe<Scalars['String']['output']>;
3958
+ price?: Maybe<Scalars['Float']['output']>;
3959
+ rate?: Maybe<Scalars['ID']['output']>;
3960
+ };
3961
+ export declare enum OrderFulfillmentMethod {
3962
+ delivery = "delivery",
3963
+ pickup = "pickup",
3964
+ shipping = "shipping"
3965
+ }
3966
+ export declare enum OrderFulfillmentStatus {
3967
+ cancelled = "cancelled",
3968
+ fulfilled = "fulfilled",
3969
+ in_progress = "in_progress",
3970
+ partially_fulfilled = "partially_fulfilled",
3971
+ pending = "pending"
3972
+ }
3973
+ export type OrderLineItem = {
3974
+ __typename: 'OrderLineItem';
3975
+ _id?: Maybe<Scalars['ID']['output']>;
3976
+ app?: Maybe<_App>;
3977
+ base_unit_price?: Maybe<Scalars['Float']['output']>;
3978
+ collections?: Maybe<Array<Maybe<Collection>>>;
3979
+ final_unit_price?: Maybe<Scalars['Float']['output']>;
3980
+ handle?: Maybe<Scalars['String']['output']>;
3981
+ height?: Maybe<Scalars['Float']['output']>;
3982
+ image?: Maybe<Scalars['String']['output']>;
3983
+ is_shipping_applicable?: Maybe<Scalars['Boolean']['output']>;
3984
+ is_tax_applicable?: Maybe<Scalars['Boolean']['output']>;
3985
+ length?: Maybe<Scalars['Float']['output']>;
3986
+ line_total?: Maybe<Scalars['Float']['output']>;
3987
+ metadata?: Maybe<Scalars['JSON']['output']>;
3988
+ product?: Maybe<Product>;
3989
+ product_title?: Maybe<Scalars['String']['output']>;
3990
+ quantity?: Maybe<Scalars['Int']['output']>;
3991
+ shipping_profile?: Maybe<ShippingProfile>;
3992
+ sku?: Maybe<Scalars['String']['output']>;
3993
+ source?: Maybe<OrderLineItemSource>;
3994
+ url?: Maybe<Scalars['String']['output']>;
3995
+ variant?: Maybe<Variant>;
3996
+ variant_title?: Maybe<Scalars['String']['output']>;
3997
+ vendor?: Maybe<Scalars['String']['output']>;
3998
+ weight?: Maybe<Scalars['Float']['output']>;
3999
+ width?: Maybe<Scalars['Float']['output']>;
4000
+ };
4001
+ export declare enum OrderLineItemSource {
4002
+ app = "app",
4003
+ store = "store"
4004
+ }
4005
+ export type OrderPayment = {
4006
+ __typename: 'OrderPayment';
4007
+ _id?: Maybe<Scalars['ID']['output']>;
4008
+ amount?: Maybe<Scalars['Float']['output']>;
4009
+ balance?: Maybe<Scalars['Float']['output']>;
4010
+ completed_at?: Maybe<Scalars['String']['output']>;
4011
+ currency?: Maybe<_Currency>;
4012
+ order?: Maybe<Order>;
4013
+ payment?: Maybe<Payment>;
4014
+ ref_id?: Maybe<Scalars['String']['output']>;
4015
+ refunds?: Maybe<Array<Maybe<OrderPaymentRefund>>>;
4016
+ status?: Maybe<OrderPaymentStatus>;
4017
+ store?: Maybe<Store>;
4018
+ transaction_id?: Maybe<Scalars['String']['output']>;
4019
+ };
4020
+ export type OrderPaymentConnection = {
4021
+ __typename: 'OrderPaymentConnection';
4022
+ edges?: Maybe<Array<Maybe<OrderPaymentEdge>>>;
4023
+ pageInfo?: Maybe<PageInfo>;
4024
+ totalCount?: Maybe<Scalars['Int']['output']>;
4025
+ };
4026
+ export type OrderPaymentEdge = {
4027
+ __typename: 'OrderPaymentEdge';
4028
+ cursor?: Maybe<Scalars['ID']['output']>;
4029
+ node?: Maybe<OrderPayment>;
4030
+ };
4031
+ export type OrderPaymentFilterKeys = {
4032
+ cursors?: InputMaybe<Array<Scalars['ID']['input']>>;
4033
+ orders?: InputMaybe<Array<Scalars['ID']['input']>>;
4034
+ statuses?: InputMaybe<Array<OrderPaymentStatus>>;
4035
+ };
4036
+ export type OrderPaymentMethod = {
4037
+ __typename: 'OrderPaymentMethod';
4038
+ charge_type?: Maybe<OrderPaymentOptionChargeType>;
4039
+ charge_value?: Maybe<Scalars['Float']['output']>;
4040
+ computed_amount?: Maybe<Scalars['Float']['output']>;
4041
+ icon?: Maybe<Scalars['String']['output']>;
4042
+ instructions?: Maybe<Scalars['String']['output']>;
4043
+ note?: Maybe<Scalars['String']['output']>;
4044
+ payment?: Maybe<Scalars['ID']['output']>;
4045
+ title?: Maybe<Scalars['String']['output']>;
4046
+ type?: Maybe<OrderPaymentOptionType>;
4047
+ };
4048
+ export declare enum OrderPaymentOptionChargeType {
4049
+ fixed = "fixed",
4050
+ percentage = "percentage"
4051
+ }
4052
+ export declare enum OrderPaymentOptionType {
4053
+ digital = "digital",
4054
+ manual = "manual"
4055
+ }
4056
+ export type OrderPaymentRefund = {
4057
+ __typename: 'OrderPaymentRefund';
4058
+ _id?: Maybe<Scalars['ID']['output']>;
4059
+ amount?: Maybe<Scalars['Float']['output']>;
4060
+ completed_at?: Maybe<Scalars['String']['output']>;
4061
+ ref_id?: Maybe<Scalars['String']['output']>;
4062
+ transaction_id?: Maybe<Scalars['String']['output']>;
4063
+ };
4064
+ export declare enum OrderPaymentSortkey {
4065
+ _id = "_id",
4066
+ amount = "amount",
4067
+ completed_at = "completed_at",
4068
+ currency = "currency",
4069
+ order = "order",
4070
+ reatedAt = "reatedAt",
4071
+ ref_id = "ref_id",
4072
+ status = "status",
4073
+ transaction_id = "transaction_id",
4074
+ updatedAt = "updatedAt"
4075
+ }
4076
+ export declare enum OrderPaymentStatus {
4077
+ overdue = "overdue",
4078
+ paid = "paid",
4079
+ partially_paid = "partially_paid",
4080
+ partially_refunded = "partially_refunded",
4081
+ pending = "pending",
4082
+ refunded = "refunded",
4083
+ unpaid = "unpaid"
4084
+ }
4085
+ export declare enum OrderSortkey {
4086
+ _id = "_id",
4087
+ createdAt = "createdAt",
4088
+ customer = "customer",
4089
+ discount = "discount",
4090
+ ip = "ip",
4091
+ market = "market",
4092
+ note = "note",
4093
+ payment = "payment",
4094
+ shipping = "shipping",
4095
+ subtotal = "subtotal",
4096
+ tax = "tax",
4097
+ total = "total",
4098
+ updatedAt = "updatedAt",
4099
+ user_agent = "user_agent"
4100
+ }
4101
+ export declare enum OrderStatus {
4102
+ cancelled = "cancelled",
4103
+ completed = "completed",
4104
+ confirmed = "confirmed",
4105
+ pending = "pending"
4106
+ }
4107
+ export type OrderTax = {
4108
+ __typename: 'OrderTax';
4109
+ computed_amount?: Maybe<Scalars['Float']['output']>;
4110
+ rate?: Maybe<Scalars['Float']['output']>;
4111
+ scope?: Maybe<OrderTaxScope>;
4112
+ target_line_item?: Maybe<OrderLineItem>;
4113
+ title?: Maybe<Scalars['String']['output']>;
4114
+ };
4115
+ export declare enum OrderTaxScope {
4116
+ line_item = "line_item",
4117
+ shipping = "shipping"
4118
+ }
3563
4119
  export type Page = {
3564
4120
  __typename: 'Page';
3565
4121
  _id?: Maybe<Scalars['ID']['output']>;
@@ -3622,6 +4178,21 @@ export type Passkey = {
3622
4178
  transports?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
3623
4179
  updatedAt?: Maybe<Scalars['String']['output']>;
3624
4180
  };
4181
+ export type PayOrderPayment = {
4182
+ cursor: Scalars['ID']['input'];
4183
+ ref_id?: InputMaybe<Scalars['String']['input']>;
4184
+ transaction_id?: InputMaybe<Scalars['String']['input']>;
4185
+ };
4186
+ export type PayOrderPaymentResponse = {
4187
+ __typename: 'PayOrderPaymentResponse';
4188
+ orderPayment?: Maybe<OrderPayment>;
4189
+ type?: Maybe<PayOrderPaymentResponseType>;
4190
+ url?: Maybe<Scalars['String']['output']>;
4191
+ };
4192
+ export declare enum PayOrderPaymentResponseType {
4193
+ digital = "digital",
4194
+ manual = "manual"
4195
+ }
3625
4196
  export type PayStoreInvoiceResponse = {
3626
4197
  __typename: 'PayStoreInvoiceResponse';
3627
4198
  status?: Maybe<PayStoreInvoiceStatus>;
@@ -3913,7 +4484,7 @@ export type ProductFilterKeys = {
3913
4484
  types?: InputMaybe<Array<Scalars['String']['input']>>;
3914
4485
  vendors?: InputMaybe<Array<Scalars['String']['input']>>;
3915
4486
  };
3916
- export declare enum ProductSortKeys {
4487
+ export declare enum ProductSortKey {
3917
4488
  _id = "_id",
3918
4489
  meta_tags = "meta_tags",
3919
4490
  meta_title = "meta_title",
@@ -4133,6 +4704,8 @@ export type Query = {
4133
4704
  defaultThemeTemplates?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
4134
4705
  deliveryProfile?: Maybe<DeliveryProfile>;
4135
4706
  deliveryProfiles?: Maybe<DeliveryProfileConnection>;
4707
+ deliveryRate?: Maybe<DeliveryRate>;
4708
+ deliveryRates?: Maybe<DeliveryRateConnection>;
4136
4709
  deliveryZone?: Maybe<DeliveryZone>;
4137
4710
  deliveryZones?: Maybe<DeliveryZoneConnection>;
4138
4711
  discount?: Maybe<Discount>;
@@ -4162,6 +4735,10 @@ export type Query = {
4162
4735
  metaobjectEntry?: Maybe<MetaobjectEntry>;
4163
4736
  metaobjects?: Maybe<MetaobjectConnection>;
4164
4737
  modules?: Maybe<StoreModules>;
4738
+ order?: Maybe<Order>;
4739
+ orderPayment?: Maybe<OrderPayment>;
4740
+ orderPayments?: Maybe<OrderPaymentConnection>;
4741
+ orders?: Maybe<OrderConnection>;
4165
4742
  page?: Maybe<Page>;
4166
4743
  pages?: Maybe<PageConnection>;
4167
4744
  payment?: Maybe<Payment>;
@@ -4186,6 +4763,8 @@ export type Query = {
4186
4763
  redirects?: Maybe<RedirectConnection>;
4187
4764
  shippingProfile?: Maybe<ShippingProfile>;
4188
4765
  shippingProfiles?: Maybe<ShippingProfileConnection>;
4766
+ shippingRate?: Maybe<ShippingRate>;
4767
+ shippingRates?: Maybe<ShippingRateConnection>;
4189
4768
  shippingZone?: Maybe<ShippingZone>;
4190
4769
  shippingZones?: Maybe<ShippingZoneConnection>;
4191
4770
  shop?: Maybe<Shop>;
@@ -4509,7 +5088,7 @@ export type QueryCollectionsArgs = {
4509
5088
  sortKey?: InputMaybe<CollectionSortKey>;
4510
5089
  };
4511
5090
  export type QueryCustomerArgs = {
4512
- customer: Scalars['ID']['input'];
5091
+ cursor: Scalars['ID']['input'];
4513
5092
  };
4514
5093
  export type QueryCustomerAddressArgs = {
4515
5094
  cursor: Scalars['ID']['input'];
@@ -4563,6 +5142,19 @@ export type QueryDeliveryProfilesArgs = {
4563
5142
  reverse?: InputMaybe<Scalars['Boolean']['input']>;
4564
5143
  sortKey?: InputMaybe<DeliveryProfileSortKeys>;
4565
5144
  };
5145
+ export type QueryDeliveryRateArgs = {
5146
+ cursor: Scalars['ID']['input'];
5147
+ };
5148
+ export type QueryDeliveryRatesArgs = {
5149
+ after?: InputMaybe<Scalars['ID']['input']>;
5150
+ before?: InputMaybe<Scalars['ID']['input']>;
5151
+ filterKeys?: InputMaybe<DeliveryRateFilterKeys>;
5152
+ first?: InputMaybe<Scalars['Int']['input']>;
5153
+ last?: InputMaybe<Scalars['Int']['input']>;
5154
+ query?: InputMaybe<Scalars['String']['input']>;
5155
+ reverse?: InputMaybe<Scalars['Boolean']['input']>;
5156
+ sortKey?: InputMaybe<DeliveryRateSortKeys>;
5157
+ };
4566
5158
  export type QueryDeliveryZoneArgs = {
4567
5159
  cursor: Scalars['ID']['input'];
4568
5160
  };
@@ -4732,6 +5324,32 @@ export type QueryMetaobjectsArgs = {
4732
5324
  reverse?: InputMaybe<Scalars['Boolean']['input']>;
4733
5325
  sortKey?: InputMaybe<MetaobjectSortKeys>;
4734
5326
  };
5327
+ export type QueryOrderArgs = {
5328
+ cursor: Scalars['ID']['input'];
5329
+ };
5330
+ export type QueryOrderPaymentArgs = {
5331
+ cursor: Scalars['ID']['input'];
5332
+ };
5333
+ export type QueryOrderPaymentsArgs = {
5334
+ after?: InputMaybe<Scalars['ID']['input']>;
5335
+ before?: InputMaybe<Scalars['ID']['input']>;
5336
+ filterKeys?: InputMaybe<OrderPaymentFilterKeys>;
5337
+ first?: InputMaybe<Scalars['Int']['input']>;
5338
+ last?: InputMaybe<Scalars['Int']['input']>;
5339
+ query?: InputMaybe<Scalars['String']['input']>;
5340
+ reverse?: InputMaybe<Scalars['Boolean']['input']>;
5341
+ sortKey?: InputMaybe<OrderPaymentSortkey>;
5342
+ };
5343
+ export type QueryOrdersArgs = {
5344
+ after?: InputMaybe<Scalars['ID']['input']>;
5345
+ before?: InputMaybe<Scalars['ID']['input']>;
5346
+ filterKeys?: InputMaybe<OrderFilterKeys>;
5347
+ first?: InputMaybe<Scalars['Int']['input']>;
5348
+ last?: InputMaybe<Scalars['Int']['input']>;
5349
+ query?: InputMaybe<Scalars['String']['input']>;
5350
+ reverse?: InputMaybe<Scalars['Boolean']['input']>;
5351
+ sortKey?: InputMaybe<OrderSortkey>;
5352
+ };
4735
5353
  export type QueryPageArgs = {
4736
5354
  cursor: Scalars['ID']['input'];
4737
5355
  };
@@ -4795,7 +5413,7 @@ export type QueryProductsArgs = {
4795
5413
  last?: InputMaybe<Scalars['Int']['input']>;
4796
5414
  query?: InputMaybe<Scalars['String']['input']>;
4797
5415
  reverse?: InputMaybe<Scalars['Boolean']['input']>;
4798
- sortKey?: InputMaybe<ProductSortKeys>;
5416
+ sortKey?: InputMaybe<ProductSortKey>;
4799
5417
  };
4800
5418
  export type QueryPublisherArgs = {
4801
5419
  cursor: Scalars['ID']['input'];
@@ -4839,6 +5457,19 @@ export type QueryShippingProfilesArgs = {
4839
5457
  reverse?: InputMaybe<Scalars['Boolean']['input']>;
4840
5458
  sortKey?: InputMaybe<ShippingProfileSortKeys>;
4841
5459
  };
5460
+ export type QueryShippingRateArgs = {
5461
+ cursor: Scalars['ID']['input'];
5462
+ };
5463
+ export type QueryShippingRatesArgs = {
5464
+ after?: InputMaybe<Scalars['ID']['input']>;
5465
+ before?: InputMaybe<Scalars['ID']['input']>;
5466
+ filterKeys?: InputMaybe<ShippingRateFilterKeys>;
5467
+ first?: InputMaybe<Scalars['Int']['input']>;
5468
+ last?: InputMaybe<Scalars['Int']['input']>;
5469
+ query?: InputMaybe<Scalars['String']['input']>;
5470
+ reverse?: InputMaybe<Scalars['Boolean']['input']>;
5471
+ sortKey?: InputMaybe<ShippingRateSortKeys>;
5472
+ };
4842
5473
  export type QueryShippingZoneArgs = {
4843
5474
  cursor: Scalars['ID']['input'];
4844
5475
  };
@@ -5033,6 +5664,12 @@ export declare enum RedirectSortKeys {
5033
5664
  to = "to",
5034
5665
  updatedAt = "updatedAt"
5035
5666
  }
5667
+ export type RefundOrderPayment = {
5668
+ amount: Scalars['Float']['input'];
5669
+ cursor: Scalars['ID']['input'];
5670
+ ref_id?: InputMaybe<Scalars['String']['input']>;
5671
+ transaction_id?: InputMaybe<Scalars['String']['input']>;
5672
+ };
5036
5673
  export type RegionalTax = {
5037
5674
  __typename: 'RegionalTax';
5038
5675
  _id?: Maybe<Scalars['ID']['output']>;
@@ -5071,6 +5708,28 @@ export type ShippingProfile = {
5071
5708
  origins?: Maybe<Array<Maybe<Location>>>;
5072
5709
  store?: Maybe<Store>;
5073
5710
  updatedAt?: Maybe<Scalars['String']['output']>;
5711
+ variants?: Maybe<VariantConnection>;
5712
+ zones?: Maybe<ShippingZoneConnection>;
5713
+ };
5714
+ export type ShippingProfileVariantsArgs = {
5715
+ after?: InputMaybe<Scalars['ID']['input']>;
5716
+ before?: InputMaybe<Scalars['ID']['input']>;
5717
+ filterKeys?: InputMaybe<VariantFilterKeys>;
5718
+ first?: InputMaybe<Scalars['Int']['input']>;
5719
+ last?: InputMaybe<Scalars['Int']['input']>;
5720
+ query?: InputMaybe<Scalars['String']['input']>;
5721
+ reverse?: InputMaybe<Scalars['Boolean']['input']>;
5722
+ sortKey?: InputMaybe<VariantSortKeys>;
5723
+ };
5724
+ export type ShippingProfileZonesArgs = {
5725
+ after?: InputMaybe<Scalars['ID']['input']>;
5726
+ before?: InputMaybe<Scalars['ID']['input']>;
5727
+ filterKeys?: InputMaybe<ShippingZoneFilterKeys>;
5728
+ first?: InputMaybe<Scalars['Int']['input']>;
5729
+ last?: InputMaybe<Scalars['Int']['input']>;
5730
+ query?: InputMaybe<Scalars['String']['input']>;
5731
+ reverse?: InputMaybe<Scalars['Boolean']['input']>;
5732
+ sortKey?: InputMaybe<ShippingZoneSortKeys>;
5074
5733
  };
5075
5734
  export type ShippingProfileConnection = {
5076
5735
  __typename: 'ShippingProfileConnection';
@@ -5096,6 +5755,37 @@ export declare enum ShippingProfileSortKeys {
5096
5755
  name = "name",
5097
5756
  updatedAt = "updatedAt"
5098
5757
  }
5758
+ export type ShippingRate = {
5759
+ __typename: 'ShippingRate';
5760
+ _id?: Maybe<Scalars['ID']['output']>;
5761
+ createdAt?: Maybe<Scalars['String']['output']>;
5762
+ description?: Maybe<Scalars['String']['output']>;
5763
+ name?: Maybe<Scalars['String']['output']>;
5764
+ store?: Maybe<Store>;
5765
+ updatedAt?: Maybe<Scalars['String']['output']>;
5766
+ };
5767
+ export type ShippingRateConnection = {
5768
+ __typename: 'ShippingRateConnection';
5769
+ edges?: Maybe<Array<Maybe<ShippingRateEdge>>>;
5770
+ pageInfo?: Maybe<PageInfo>;
5771
+ totalCount?: Maybe<Scalars['Int']['output']>;
5772
+ };
5773
+ export type ShippingRateEdge = {
5774
+ __typename: 'ShippingRateEdge';
5775
+ cursor?: Maybe<Scalars['ID']['output']>;
5776
+ node?: Maybe<ShippingRate>;
5777
+ };
5778
+ export type ShippingRateFilterKeys = {
5779
+ cursors?: InputMaybe<Array<Scalars['ID']['input']>>;
5780
+ names?: InputMaybe<Array<Scalars['String']['input']>>;
5781
+ };
5782
+ export declare enum ShippingRateSortKeys {
5783
+ _id = "_id",
5784
+ createdAt = "createdAt",
5785
+ name = "name",
5786
+ profile = "profile",
5787
+ updatedAt = "updatedAt"
5788
+ }
5099
5789
  export type ShippingZone = {
5100
5790
  __typename: 'ShippingZone';
5101
5791
  _id?: Maybe<Scalars['ID']['output']>;
@@ -5136,12 +5826,10 @@ export type ShippingZoneRate = {
5136
5826
  __typename: 'ShippingZoneRate';
5137
5827
  _id?: Maybe<Scalars['ID']['output']>;
5138
5828
  condition_type?: Maybe<ShippingZoneRateConditionType>;
5139
- description?: Maybe<Scalars['String']['output']>;
5140
5829
  is_conditional?: Maybe<Scalars['Boolean']['output']>;
5141
- max_unit?: Maybe<Scalars['Float']['output']>;
5142
5830
  min_unit?: Maybe<Scalars['Float']['output']>;
5143
- name?: Maybe<Scalars['String']['output']>;
5144
5831
  price?: Maybe<Scalars['Float']['output']>;
5832
+ rate?: Maybe<ShippingRate>;
5145
5833
  };
5146
5834
  export declare enum ShippingZoneRateConditionType {
5147
5835
  price = "price",
@@ -5149,12 +5837,10 @@ export declare enum ShippingZoneRateConditionType {
5149
5837
  }
5150
5838
  export type ShippingZoneRateInput = {
5151
5839
  condition_type?: InputMaybe<ShippingZoneRateConditionType>;
5152
- description?: InputMaybe<Scalars['String']['input']>;
5153
5840
  is_conditional: Scalars['Boolean']['input'];
5154
- max_unit?: InputMaybe<Scalars['Float']['input']>;
5155
5841
  min_unit?: InputMaybe<Scalars['Float']['input']>;
5156
- name: Scalars['String']['input'];
5157
5842
  price: Scalars['Float']['input'];
5843
+ rate: Scalars['ID']['input'];
5158
5844
  };
5159
5845
  export declare enum ShippingZoneSortKeys {
5160
5846
  _id = "_id",
@@ -5510,7 +6196,7 @@ export type ThemeEdge = {
5510
6196
  };
5511
6197
  export type ThemeFilterKeys = {
5512
6198
  cursors?: InputMaybe<Array<Scalars['ID']['input']>>;
5513
- is_published?: InputMaybe<Scalars['Boolean']['input']>;
6199
+ is_published?: InputMaybe<Array<InputMaybe<Scalars['Boolean']['input']>>>;
5514
6200
  titles?: InputMaybe<Array<Scalars['String']['input']>>;
5515
6201
  };
5516
6202
  export declare enum ThemeSortKeys {
@@ -5852,14 +6538,22 @@ export type _App = {
5852
6538
  _id?: Maybe<Scalars['ID']['output']>;
5853
6539
  categories?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
5854
6540
  createdAt?: Maybe<Scalars['String']['output']>;
6541
+ description?: Maybe<Scalars['String']['output']>;
5855
6542
  distribution?: Maybe<Scalars['String']['output']>;
6543
+ documentation_url?: Maybe<Scalars['String']['output']>;
5856
6544
  events?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
6545
+ excerpt?: Maybe<Scalars['String']['output']>;
5857
6546
  handle?: Maybe<Scalars['String']['output']>;
6547
+ home_url?: Maybe<Scalars['String']['output']>;
5858
6548
  icon?: Maybe<Scalars['String']['output']>;
5859
6549
  installs?: Maybe<Scalars['Int']['output']>;
5860
6550
  permissions?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
6551
+ policy_url?: Maybe<Scalars['String']['output']>;
5861
6552
  publisher?: Maybe<Publisher>;
5862
6553
  related?: Maybe<_AppConnection>;
6554
+ support_url?: Maybe<Scalars['String']['output']>;
6555
+ tags?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
6556
+ terms_and_conditions_url?: Maybe<Scalars['String']['output']>;
5863
6557
  thumbnail?: Maybe<Scalars['String']['output']>;
5864
6558
  title?: Maybe<Scalars['String']['output']>;
5865
6559
  updatedAt?: Maybe<Scalars['String']['output']>;
@@ -6957,6 +7651,34 @@ export type ProductsQuery = {
6957
7651
  } | null> | null;
6958
7652
  } | null;
6959
7653
  };
7654
+ export type _RegionsQueryVariables = Exact<{
7655
+ filterKeys?: InputMaybe<_RegionFilterKeys>;
7656
+ query?: InputMaybe<Scalars['String']['input']>;
7657
+ after?: InputMaybe<Scalars['ID']['input']>;
7658
+ before?: InputMaybe<Scalars['ID']['input']>;
7659
+ first?: InputMaybe<Scalars['Int']['input']>;
7660
+ last?: InputMaybe<Scalars['Int']['input']>;
7661
+ }>;
7662
+ export type _RegionsQuery = {
7663
+ _regions?: {
7664
+ __typename: '_RegionConnection';
7665
+ pageInfo?: {
7666
+ __typename: 'PageInfo';
7667
+ endCursor?: string | null;
7668
+ hasNextPage?: boolean | null;
7669
+ hasPreviousPage?: boolean | null;
7670
+ startCursor?: string | null;
7671
+ } | null;
7672
+ edges?: Array<{
7673
+ __typename: '_RegionEdge';
7674
+ node?: {
7675
+ __typename: '_Region';
7676
+ _id?: string | null;
7677
+ name?: string | null;
7678
+ } | null;
7679
+ } | null> | null;
7680
+ } | null;
7681
+ };
6960
7682
  export type CustomerSegmentsQueryVariables = Exact<{
6961
7683
  after?: InputMaybe<Scalars['ID']['input']>;
6962
7684
  before?: InputMaybe<Scalars['ID']['input']>;
@@ -7041,5 +7763,6 @@ export declare const MetaobjectEntriesDocument: DocumentNode<MetaobjectEntriesQu
7041
7763
  export declare const MetaobjectsDocument: DocumentNode<MetaobjectsQuery, MetaobjectsQueryVariables>;
7042
7764
  export declare const PagesDocument: DocumentNode<PagesQuery, PagesQueryVariables>;
7043
7765
  export declare const ProductsDocument: DocumentNode<ProductsQuery, ProductsQueryVariables>;
7766
+ export declare const _RegionsDocument: DocumentNode<_RegionsQuery, _RegionsQueryVariables>;
7044
7767
  export declare const CustomerSegmentsDocument: DocumentNode<CustomerSegmentsQuery, CustomerSegmentsQueryVariables>;
7045
7768
  export declare const VariantsDocument: DocumentNode<VariantsQuery, VariantsQueryVariables>;