@soppiya/app-bridge 1.1.6 → 1.1.8
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/components/collections-pciker/api/query.d.ts +5 -2
- package/dist/components/collections-pciker/api/query.js +8 -8
- package/dist/components/collections-pciker/model/useCollections.d.ts +1 -1
- package/dist/components/collections-pciker/model/useCollections.js +3 -4
- package/dist/components/country-picker/api/query.d.ts +8 -0
- package/dist/components/country-picker/api/query.js +19 -0
- package/dist/components/country-picker/index.d.ts +1 -0
- package/dist/components/country-picker/index.js +2 -0
- package/dist/components/country-picker/model/useContry.d.ts +26 -0
- package/dist/components/country-picker/model/useContry.js +48 -0
- package/dist/components/country-picker/ui/CountryPicker.d.ts +9 -0
- package/dist/components/country-picker/ui/CountryPicker.js +114 -0
- package/dist/components/country-picker/ui/CountryPicker.stories.d.ts +12 -0
- package/dist/components/country-picker/ui/CountryPicker.stories.js +11 -0
- package/dist/components/customers-picker/api/query.d.ts +8 -0
- package/dist/components/customers-picker/api/query.js +22 -0
- package/dist/components/customers-picker/index.d.ts +1 -0
- package/dist/components/customers-picker/index.js +2 -0
- package/dist/components/customers-picker/model/useCustomers.d.ts +30 -0
- package/dist/components/customers-picker/model/useCustomers.js +48 -0
- package/dist/components/customers-picker/ui/CustomersPicker.d.ts +9 -0
- package/dist/components/customers-picker/ui/CustomersPicker.js +113 -0
- package/dist/components/customers-picker/ui/CustomersPicker.stories.d.ts +12 -0
- package/dist/components/customers-picker/ui/CustomersPicker.stories.js +11 -0
- package/dist/components/index.d.ts +3 -0
- package/dist/components/index.js +3 -0
- package/dist/components/media/Media.js +1 -1
- package/dist/components/meta-data/api/query.js +3 -0
- package/dist/components/meta-data/model/meta.types.js +3 -1
- package/dist/components/meta-data/model/useGetMetaFields.d.ts +4 -0
- package/dist/components/meta-data/ui/MetaData.stories.d.ts +1 -0
- package/dist/components/meta-data/ui/MetaData.stories.js +22 -1
- package/dist/components/meta-data/ui/MetaDataItem.js +22 -0
- package/dist/components/meta-data/ui/MetaobjectRefMetaField.d.ts +3 -0
- package/dist/components/meta-data/ui/MetaobjectRefMetaField.js +30 -0
- package/dist/components/meta-data/ui/SingleLineTextMetaField.js +10 -9
- package/dist/components/segments-picker/api/query.d.ts +8 -0
- package/dist/components/segments-picker/api/query.js +18 -0
- package/dist/components/segments-picker/index.d.ts +1 -0
- package/dist/components/segments-picker/index.js +2 -0
- package/dist/components/segments-picker/model/useSegments.d.ts +25 -0
- package/dist/components/segments-picker/model/useSegments.js +48 -0
- package/dist/components/segments-picker/ui/SegmentsPicker.d.ts +9 -0
- package/dist/components/segments-picker/ui/SegmentsPicker.js +105 -0
- package/dist/components/segments-picker/ui/SegmentsPicker.stories.d.ts +12 -0
- package/dist/components/segments-picker/ui/SegmentsPicker.stories.js +11 -0
- package/dist/shared/graphql/gql.d.ts +19 -4
- package/dist/shared/graphql/gql.js +6 -3
- package/dist/shared/graphql/graphql.d.ts +190 -55
- package/dist/shared/graphql/graphql.js +1309 -271
- package/dist/styles.css +12 -0
- package/package.json +2 -2
|
@@ -91,12 +91,14 @@ export type AddBlog = {
|
|
|
91
91
|
title: Scalars['String']['input'];
|
|
92
92
|
};
|
|
93
93
|
export type AddCart = {
|
|
94
|
+
billing_address?: InputMaybe<CartAddressInput>;
|
|
95
|
+
coupon?: InputMaybe<Scalars['String']['input']>;
|
|
94
96
|
customer?: InputMaybe<Scalars['ID']['input']>;
|
|
95
97
|
ip?: InputMaybe<Scalars['String']['input']>;
|
|
96
98
|
line_items?: InputMaybe<Array<CartLineItemInput>>;
|
|
97
99
|
market: Scalars['ID']['input'];
|
|
98
100
|
note?: InputMaybe<Scalars['String']['input']>;
|
|
99
|
-
shipping_address?: InputMaybe<
|
|
101
|
+
shipping_address?: InputMaybe<CartAddressInput>;
|
|
100
102
|
user_agent?: InputMaybe<Scalars['String']['input']>;
|
|
101
103
|
};
|
|
102
104
|
export type AddCollection = {
|
|
@@ -336,6 +338,18 @@ export type AddStaff = {
|
|
|
336
338
|
limited_apps?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
337
339
|
permissions?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
338
340
|
};
|
|
341
|
+
export type AddStoreInvoice = {
|
|
342
|
+
app_id: Scalars['ID']['input'];
|
|
343
|
+
app_secret: Scalars['String']['input'];
|
|
344
|
+
line_items: Array<AddStoreInvoiceLineitem>;
|
|
345
|
+
metadata?: InputMaybe<Scalars['JSON']['input']>;
|
|
346
|
+
redirect_url?: InputMaybe<Scalars['String']['input']>;
|
|
347
|
+
store: Scalars['ID']['input'];
|
|
348
|
+
};
|
|
349
|
+
export type AddStoreInvoiceLineitem = {
|
|
350
|
+
price: Scalars['Float']['input'];
|
|
351
|
+
title: Scalars['String']['input'];
|
|
352
|
+
};
|
|
339
353
|
export type AddSupplier = {
|
|
340
354
|
address1?: InputMaybe<Scalars['String']['input']>;
|
|
341
355
|
address2?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -560,6 +574,7 @@ export type Brand = {
|
|
|
560
574
|
export type Cart = {
|
|
561
575
|
__typename: 'Cart';
|
|
562
576
|
_id?: Maybe<Scalars['ID']['output']>;
|
|
577
|
+
billing_address?: Maybe<CartAddress>;
|
|
563
578
|
customer?: Maybe<Customer>;
|
|
564
579
|
discounts?: Maybe<Array<Maybe<CartDiscount>>>;
|
|
565
580
|
errors?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
@@ -568,11 +583,35 @@ export type Cart = {
|
|
|
568
583
|
market?: Maybe<Market>;
|
|
569
584
|
note?: Maybe<Scalars['String']['output']>;
|
|
570
585
|
pricing?: Maybe<CartPricing>;
|
|
571
|
-
shipping_address?: Maybe<
|
|
572
|
-
status?: Maybe<CartStatus>;
|
|
586
|
+
shipping_address?: Maybe<CartAddress>;
|
|
573
587
|
store?: Maybe<Store>;
|
|
574
588
|
user_agent?: Maybe<Scalars['String']['output']>;
|
|
575
589
|
};
|
|
590
|
+
export type CartAddress = {
|
|
591
|
+
__typename: 'CartAddress';
|
|
592
|
+
address1?: Maybe<Scalars['String']['output']>;
|
|
593
|
+
address2?: Maybe<Scalars['String']['output']>;
|
|
594
|
+
city?: Maybe<Scalars['String']['output']>;
|
|
595
|
+
company?: Maybe<Scalars['String']['output']>;
|
|
596
|
+
country?: Maybe<_Country>;
|
|
597
|
+
first_name?: Maybe<Scalars['String']['output']>;
|
|
598
|
+
last_name?: Maybe<Scalars['String']['output']>;
|
|
599
|
+
phone?: Maybe<Scalars['String']['output']>;
|
|
600
|
+
postal_code?: Maybe<Scalars['String']['output']>;
|
|
601
|
+
region?: Maybe<_Region>;
|
|
602
|
+
};
|
|
603
|
+
export type CartAddressInput = {
|
|
604
|
+
address1?: InputMaybe<Scalars['String']['input']>;
|
|
605
|
+
address2?: InputMaybe<Scalars['String']['input']>;
|
|
606
|
+
city?: InputMaybe<Scalars['String']['input']>;
|
|
607
|
+
company?: InputMaybe<Scalars['String']['input']>;
|
|
608
|
+
country?: InputMaybe<Scalars['ID']['input']>;
|
|
609
|
+
first_name?: InputMaybe<Scalars['String']['input']>;
|
|
610
|
+
last_name?: InputMaybe<Scalars['String']['input']>;
|
|
611
|
+
phone?: InputMaybe<Scalars['String']['input']>;
|
|
612
|
+
postal_code?: InputMaybe<Scalars['String']['input']>;
|
|
613
|
+
region?: InputMaybe<Scalars['ID']['input']>;
|
|
614
|
+
};
|
|
576
615
|
export type CartConnection = {
|
|
577
616
|
__typename: 'CartConnection';
|
|
578
617
|
edges?: Maybe<Array<Maybe<CartEdge>>>;
|
|
@@ -644,6 +683,7 @@ export type CartLineItem = {
|
|
|
644
683
|
shipping_profile?: Maybe<ShippingProfile>;
|
|
645
684
|
sku?: Maybe<Scalars['String']['output']>;
|
|
646
685
|
source?: Maybe<CartLineItemSource>;
|
|
686
|
+
url?: Maybe<Scalars['String']['output']>;
|
|
647
687
|
variant?: Maybe<Variant>;
|
|
648
688
|
variant_title?: Maybe<Scalars['String']['output']>;
|
|
649
689
|
vendor?: Maybe<Scalars['String']['output']>;
|
|
@@ -660,7 +700,7 @@ export declare enum CartLineItemSource {
|
|
|
660
700
|
}
|
|
661
701
|
export type CartPricing = {
|
|
662
702
|
__typename: 'CartPricing';
|
|
663
|
-
currency?: Maybe<
|
|
703
|
+
currency?: Maybe<_Currency>;
|
|
664
704
|
discount_total?: Maybe<Scalars['Float']['output']>;
|
|
665
705
|
line_items?: Maybe<Array<Maybe<CartPricingLineItem>>>;
|
|
666
706
|
shipping?: Maybe<Scalars['Float']['output']>;
|
|
@@ -675,17 +715,6 @@ export type CartPricingLineItem = {
|
|
|
675
715
|
final_total?: Maybe<Scalars['Float']['output']>;
|
|
676
716
|
line_item?: Maybe<Scalars['ID']['output']>;
|
|
677
717
|
};
|
|
678
|
-
export type CartShippingAddress = {
|
|
679
|
-
__typename: 'CartShippingAddress';
|
|
680
|
-
country?: Maybe<_Country>;
|
|
681
|
-
postal_code?: Maybe<Scalars['String']['output']>;
|
|
682
|
-
region?: Maybe<_Region>;
|
|
683
|
-
};
|
|
684
|
-
export type CartShippingAddressInput = {
|
|
685
|
-
country?: InputMaybe<Scalars['ID']['input']>;
|
|
686
|
-
postal_code?: InputMaybe<Scalars['ID']['input']>;
|
|
687
|
-
region?: InputMaybe<Scalars['ID']['input']>;
|
|
688
|
-
};
|
|
689
718
|
export declare enum CartSortkeys {
|
|
690
719
|
_id = "_id",
|
|
691
720
|
createdAt = "createdAt",
|
|
@@ -695,11 +724,6 @@ export declare enum CartSortkeys {
|
|
|
695
724
|
last_name = "last_name",
|
|
696
725
|
updatedAt = "updatedAt"
|
|
697
726
|
}
|
|
698
|
-
export declare enum CartStatus {
|
|
699
|
-
abandoned = "abandoned",
|
|
700
|
-
active = "active",
|
|
701
|
-
converted = "converted"
|
|
702
|
-
}
|
|
703
727
|
export type Checkout = {
|
|
704
728
|
__typename: 'Checkout';
|
|
705
729
|
address2_requirement?: Maybe<CheckoutExcludeRequiredOptional>;
|
|
@@ -748,7 +772,6 @@ export declare enum CheckoutNameRequirement {
|
|
|
748
772
|
export type Collection = {
|
|
749
773
|
__typename: 'Collection';
|
|
750
774
|
_id?: Maybe<Scalars['ID']['output']>;
|
|
751
|
-
collectionProducts?: Maybe<CollectionProductConnection>;
|
|
752
775
|
description?: Maybe<Scalars['String']['output']>;
|
|
753
776
|
handle?: Maybe<Scalars['String']['output']>;
|
|
754
777
|
image?: Maybe<Media>;
|
|
@@ -756,11 +779,12 @@ export type Collection = {
|
|
|
756
779
|
meta_tags?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
757
780
|
meta_title?: Maybe<Scalars['String']['output']>;
|
|
758
781
|
metafields?: Maybe<Array<Maybe<MetafieldData>>>;
|
|
782
|
+
products?: Maybe<CollectionProductConnection>;
|
|
759
783
|
store?: Maybe<Store>;
|
|
760
784
|
template?: Maybe<Scalars['String']['output']>;
|
|
761
785
|
title?: Maybe<Scalars['String']['output']>;
|
|
762
786
|
};
|
|
763
|
-
export type
|
|
787
|
+
export type CollectionProductsArgs = {
|
|
764
788
|
after?: InputMaybe<Scalars['ID']['input']>;
|
|
765
789
|
before?: InputMaybe<Scalars['ID']['input']>;
|
|
766
790
|
filterKeys?: InputMaybe<CollectionProductFilterKeys>;
|
|
@@ -1197,16 +1221,14 @@ export type Discount = {
|
|
|
1197
1221
|
export type DiscountAoo = {
|
|
1198
1222
|
__typename: 'DiscountAOO';
|
|
1199
1223
|
amount?: Maybe<Scalars['Float']['output']>;
|
|
1200
|
-
minimum_purchase_amount?: Maybe<Scalars['Int']['output']>;
|
|
1201
|
-
minimum_purchase_quantity?: Maybe<Scalars['Int']['output']>;
|
|
1202
1224
|
minimum_purchase_type?: Maybe<DiscountAooMinimumPurchaseType>;
|
|
1225
|
+
minimum_purchase_value?: Maybe<Scalars['Float']['output']>;
|
|
1203
1226
|
type?: Maybe<DiscountAooType>;
|
|
1204
1227
|
};
|
|
1205
1228
|
export type DiscountAooInput = {
|
|
1206
1229
|
amount: Scalars['Float']['input'];
|
|
1207
|
-
minimum_purchase_amount?: InputMaybe<Scalars['Int']['input']>;
|
|
1208
|
-
minimum_purchase_quantity?: InputMaybe<Scalars['Int']['input']>;
|
|
1209
1230
|
minimum_purchase_type: DiscountAooMinimumPurchaseType;
|
|
1231
|
+
minimum_purchase_value?: InputMaybe<Scalars['Float']['input']>;
|
|
1210
1232
|
type: DiscountAooType;
|
|
1211
1233
|
};
|
|
1212
1234
|
export declare enum DiscountAooMinimumPurchaseType {
|
|
@@ -1223,9 +1245,8 @@ export type DiscountAop = {
|
|
|
1223
1245
|
amount?: Maybe<Scalars['Float']['output']>;
|
|
1224
1246
|
application?: Maybe<DiscountAopApplication>;
|
|
1225
1247
|
collections?: Maybe<Array<Maybe<Collection>>>;
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
minimum_purchase_type?: Maybe<DiscountAopMinimunPurchaseType>;
|
|
1248
|
+
minimum_purchase_type?: Maybe<DiscountAopMinimumPurchaseType>;
|
|
1249
|
+
minimum_purchase_value?: Maybe<Scalars['Float']['output']>;
|
|
1229
1250
|
products?: Maybe<Array<Maybe<Product>>>;
|
|
1230
1251
|
type?: Maybe<DiscountAopType>;
|
|
1231
1252
|
};
|
|
@@ -1237,13 +1258,12 @@ export type DiscountAopInput = {
|
|
|
1237
1258
|
amount: Scalars['Float']['input'];
|
|
1238
1259
|
application: DiscountAopApplication;
|
|
1239
1260
|
collections?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
minimum_purchase_type: DiscountAopMinimunPurchaseType;
|
|
1261
|
+
minimum_purchase_type: DiscountAopMinimumPurchaseType;
|
|
1262
|
+
minimum_purchase_value?: InputMaybe<Scalars['Float']['input']>;
|
|
1243
1263
|
products?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
1244
1264
|
type: DiscountAopType;
|
|
1245
1265
|
};
|
|
1246
|
-
export declare enum
|
|
1266
|
+
export declare enum DiscountAopMinimumPurchaseType {
|
|
1247
1267
|
amount = "amount",
|
|
1248
1268
|
none = "none",
|
|
1249
1269
|
quantity = "quantity"
|
|
@@ -1262,9 +1282,8 @@ export type DiscountBxgy = {
|
|
|
1262
1282
|
application?: Maybe<DiscountBxgyApplication>;
|
|
1263
1283
|
collections?: Maybe<Array<Maybe<Collection>>>;
|
|
1264
1284
|
max_offer_quantity?: Maybe<Scalars['Int']['output']>;
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
minimum_purchase_type?: Maybe<DiscountBxgyMinimunPurchaseType>;
|
|
1285
|
+
minimum_purchase_type?: Maybe<DiscountBxgyMinimumPurchaseType>;
|
|
1286
|
+
minimum_purchase_value?: Maybe<Scalars['Float']['output']>;
|
|
1268
1287
|
offer_application?: Maybe<DiscountBxgyOfferApplication>;
|
|
1269
1288
|
offer_collections?: Maybe<Array<Maybe<Collection>>>;
|
|
1270
1289
|
offer_products?: Maybe<Array<Maybe<Product>>>;
|
|
@@ -1281,9 +1300,8 @@ export type DiscountBxgyInput = {
|
|
|
1281
1300
|
application: DiscountBxgyApplication;
|
|
1282
1301
|
collections?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
1283
1302
|
max_offer_quantity?: InputMaybe<Scalars['Int']['input']>;
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
minimum_purchase_type: DiscountBxgyMinimunPurchaseType;
|
|
1303
|
+
minimum_purchase_type: DiscountBxgyMinimumPurchaseType;
|
|
1304
|
+
minimum_purchase_value?: InputMaybe<Scalars['Float']['input']>;
|
|
1287
1305
|
offer_application: DiscountBxgyOfferApplication;
|
|
1288
1306
|
offer_collections?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
1289
1307
|
offer_products?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
@@ -1291,7 +1309,7 @@ export type DiscountBxgyInput = {
|
|
|
1291
1309
|
type: DiscountBxgyType;
|
|
1292
1310
|
usage_per_order?: InputMaybe<Scalars['Int']['input']>;
|
|
1293
1311
|
};
|
|
1294
|
-
export declare enum
|
|
1312
|
+
export declare enum DiscountBxgyMinimumPurchaseType {
|
|
1295
1313
|
amount = "amount",
|
|
1296
1314
|
quantity = "quantity"
|
|
1297
1315
|
}
|
|
@@ -1319,20 +1337,18 @@ export type DiscountFs = {
|
|
|
1319
1337
|
__typename: 'DiscountFS';
|
|
1320
1338
|
countries?: Maybe<Array<Maybe<_Country>>>;
|
|
1321
1339
|
exclude_after_amount?: Maybe<Scalars['Float']['output']>;
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
minimum_purchase_type?: Maybe<DiscountFsMinimunPurchaseType>;
|
|
1340
|
+
minimum_purchase_type?: Maybe<DiscountFsMinimumPurchaseType>;
|
|
1341
|
+
minimum_purchase_value?: Maybe<Scalars['Float']['output']>;
|
|
1325
1342
|
type?: Maybe<DiscountFsType>;
|
|
1326
1343
|
};
|
|
1327
1344
|
export type DiscountFsInput = {
|
|
1328
1345
|
countries?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
1329
1346
|
exclude_after_amount?: InputMaybe<Scalars['Float']['input']>;
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
minimum_purchase_type: DiscountFsMinimunPurchaseType;
|
|
1347
|
+
minimum_purchase_type: DiscountFsMinimumPurchaseType;
|
|
1348
|
+
minimum_purchase_value?: InputMaybe<Scalars['Float']['input']>;
|
|
1333
1349
|
type: DiscountFsType;
|
|
1334
1350
|
};
|
|
1335
|
-
export declare enum
|
|
1351
|
+
export declare enum DiscountFsMinimumPurchaseType {
|
|
1336
1352
|
amount = "amount",
|
|
1337
1353
|
none = "none",
|
|
1338
1354
|
quantity = "quantity"
|
|
@@ -1503,14 +1519,14 @@ export type EditBrand = {
|
|
|
1503
1519
|
youtube?: InputMaybe<Scalars['String']['input']>;
|
|
1504
1520
|
};
|
|
1505
1521
|
export type EditCart = {
|
|
1522
|
+
billing_address?: InputMaybe<CartAddressInput>;
|
|
1506
1523
|
coupon?: InputMaybe<Scalars['String']['input']>;
|
|
1507
1524
|
cursor: Scalars['ID']['input'];
|
|
1508
1525
|
customer?: InputMaybe<Scalars['ID']['input']>;
|
|
1509
1526
|
ip?: InputMaybe<Scalars['String']['input']>;
|
|
1510
1527
|
line_items?: InputMaybe<Array<CartLineItemInput>>;
|
|
1511
|
-
market?: InputMaybe<Scalars['ID']['input']>;
|
|
1512
1528
|
note?: InputMaybe<Scalars['String']['input']>;
|
|
1513
|
-
shipping_address?: InputMaybe<
|
|
1529
|
+
shipping_address?: InputMaybe<CartAddressInput>;
|
|
1514
1530
|
user_agent?: InputMaybe<Scalars['String']['input']>;
|
|
1515
1531
|
};
|
|
1516
1532
|
export type EditCollection = {
|
|
@@ -2193,6 +2209,7 @@ export type MarketVariant = {
|
|
|
2193
2209
|
__typename: 'MarketVariant';
|
|
2194
2210
|
_id?: Maybe<Scalars['ID']['output']>;
|
|
2195
2211
|
compare_at_price?: Maybe<Scalars['Float']['output']>;
|
|
2212
|
+
createdAt?: Maybe<Scalars['String']['output']>;
|
|
2196
2213
|
is_fixed_price?: Maybe<Scalars['Boolean']['output']>;
|
|
2197
2214
|
is_tax_applicable?: Maybe<Scalars['Boolean']['output']>;
|
|
2198
2215
|
market?: Maybe<Market>;
|
|
@@ -2204,6 +2221,7 @@ export type MarketVariant = {
|
|
|
2204
2221
|
sku?: Maybe<Scalars['String']['output']>;
|
|
2205
2222
|
store?: Maybe<Store>;
|
|
2206
2223
|
track_inventory?: Maybe<Scalars['Boolean']['output']>;
|
|
2224
|
+
updatedAt?: Maybe<Scalars['String']['output']>;
|
|
2207
2225
|
use_wholesale?: Maybe<Scalars['Boolean']['output']>;
|
|
2208
2226
|
variant?: Maybe<Variant>;
|
|
2209
2227
|
};
|
|
@@ -2221,6 +2239,7 @@ export type MarketVariantEdge = {
|
|
|
2221
2239
|
export type MarketVariantFilterKeys = {
|
|
2222
2240
|
cursors?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
2223
2241
|
markets?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
2242
|
+
products?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
2224
2243
|
variants?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
2225
2244
|
};
|
|
2226
2245
|
export type MarketVariantInput = {
|
|
@@ -2554,6 +2573,7 @@ export type Mutation = {
|
|
|
2554
2573
|
addShippingZones?: Maybe<Array<Maybe<ShippingZone>>>;
|
|
2555
2574
|
addStaff?: Maybe<Staff>;
|
|
2556
2575
|
addStaffs?: Maybe<Array<Maybe<Staff>>>;
|
|
2576
|
+
addStoreInvoice?: Maybe<StoreInvoice>;
|
|
2557
2577
|
addSupplier?: Maybe<Supplier>;
|
|
2558
2578
|
addSuppliers?: Maybe<Array<Maybe<Supplier>>>;
|
|
2559
2579
|
addTax?: Maybe<Tax>;
|
|
@@ -2941,6 +2961,9 @@ export type MutationAddStaffArgs = {
|
|
|
2941
2961
|
export type MutationAddStaffsArgs = {
|
|
2942
2962
|
input: Array<AddStaff>;
|
|
2943
2963
|
};
|
|
2964
|
+
export type MutationAddStoreInvoiceArgs = {
|
|
2965
|
+
input: AddStoreInvoice;
|
|
2966
|
+
};
|
|
2944
2967
|
export type MutationAddSupplierArgs = {
|
|
2945
2968
|
input: AddSupplier;
|
|
2946
2969
|
};
|
|
@@ -3968,11 +3991,11 @@ export type Purchase = {
|
|
|
3968
3991
|
export type PurchaseAdjustment = {
|
|
3969
3992
|
__typename: 'PurchaseAdjustment';
|
|
3970
3993
|
cost?: Maybe<Scalars['Float']['output']>;
|
|
3971
|
-
|
|
3994
|
+
title?: Maybe<Scalars['String']['output']>;
|
|
3972
3995
|
};
|
|
3973
3996
|
export type PurchaseAdjustmentInput = {
|
|
3974
3997
|
cost?: Scalars['Float']['input'];
|
|
3975
|
-
|
|
3998
|
+
title: Scalars['String']['input'];
|
|
3976
3999
|
};
|
|
3977
4000
|
export type PurchaseConnection = {
|
|
3978
4001
|
__typename: 'PurchaseConnection';
|
|
@@ -4476,11 +4499,13 @@ export type QueryCollectionProductsArgs = {
|
|
|
4476
4499
|
sortKey?: InputMaybe<CollectionProductSortkey>;
|
|
4477
4500
|
};
|
|
4478
4501
|
export type QueryCollectionsArgs = {
|
|
4502
|
+
after?: InputMaybe<Scalars['ID']['input']>;
|
|
4503
|
+
before?: InputMaybe<Scalars['ID']['input']>;
|
|
4479
4504
|
filterKeys?: InputMaybe<CollectionFilterKeys>;
|
|
4480
|
-
|
|
4505
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
4506
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
4481
4507
|
query?: InputMaybe<Scalars['String']['input']>;
|
|
4482
4508
|
reverse?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4483
|
-
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
4484
4509
|
sortKey?: InputMaybe<CollectionSortKey>;
|
|
4485
4510
|
};
|
|
4486
4511
|
export type QueryCustomerArgs = {
|
|
@@ -5237,21 +5262,27 @@ export type StoreInvitationDetails = {
|
|
|
5237
5262
|
export type StoreInvoice = {
|
|
5238
5263
|
__typename: 'StoreInvoice';
|
|
5239
5264
|
_id?: Maybe<Scalars['ID']['output']>;
|
|
5265
|
+
actual_gain?: Maybe<Scalars['Float']['output']>;
|
|
5240
5266
|
beneficiary?: Maybe<StoreInvoiceBeneficiary>;
|
|
5241
5267
|
createdAt?: Maybe<Scalars['String']['output']>;
|
|
5268
|
+
disbursement_locked_untill?: Maybe<Scalars['String']['output']>;
|
|
5269
|
+
disbursement_status?: Maybe<StoreInvoiceDisbursementStatus>;
|
|
5242
5270
|
line_items?: Maybe<Array<Maybe<StoreInvoiceLineitem>>>;
|
|
5271
|
+
metadata?: Maybe<Scalars['JSON']['output']>;
|
|
5243
5272
|
payable?: Maybe<Scalars['Float']['output']>;
|
|
5244
5273
|
payment_completed_at?: Maybe<Scalars['String']['output']>;
|
|
5245
5274
|
payment_ref_id?: Maybe<Scalars['String']['output']>;
|
|
5246
5275
|
payment_status?: Maybe<StoreInvoicePaymentStatus>;
|
|
5247
5276
|
payment_transaction_id?: Maybe<Scalars['String']['output']>;
|
|
5248
5277
|
publisher?: Maybe<Publisher>;
|
|
5278
|
+
redirect_url?: Maybe<Scalars['String']['output']>;
|
|
5249
5279
|
refund_completed_at?: Maybe<Scalars['String']['output']>;
|
|
5250
5280
|
refund_reason?: Maybe<Scalars['String']['output']>;
|
|
5251
5281
|
refund_ref_id?: Maybe<Scalars['String']['output']>;
|
|
5252
5282
|
refund_status?: Maybe<StoreInvoiceRefundStatus>;
|
|
5253
5283
|
refund_transaction_id?: Maybe<Scalars['String']['output']>;
|
|
5254
5284
|
store?: Maybe<Store>;
|
|
5285
|
+
total_refunded?: Maybe<Scalars['Float']['output']>;
|
|
5255
5286
|
updatedAt?: Maybe<Scalars['String']['output']>;
|
|
5256
5287
|
};
|
|
5257
5288
|
export declare enum StoreInvoiceBeneficiary {
|
|
@@ -5264,6 +5295,10 @@ export type StoreInvoiceConnection = {
|
|
|
5264
5295
|
pageInfo?: Maybe<PageInfo>;
|
|
5265
5296
|
totalCount?: Maybe<Scalars['Int']['output']>;
|
|
5266
5297
|
};
|
|
5298
|
+
export declare enum StoreInvoiceDisbursementStatus {
|
|
5299
|
+
disbursed = "disbursed",
|
|
5300
|
+
pending = "pending"
|
|
5301
|
+
}
|
|
5267
5302
|
export type StoreInvoiceEdge = {
|
|
5268
5303
|
__typename: 'StoreInvoiceEdge';
|
|
5269
5304
|
cursor?: Maybe<Scalars['ID']['output']>;
|
|
@@ -6575,13 +6610,23 @@ export type BlogsQuery = {
|
|
|
6575
6610
|
} | null;
|
|
6576
6611
|
};
|
|
6577
6612
|
export type CollectionsQueryVariables = Exact<{
|
|
6578
|
-
|
|
6579
|
-
|
|
6613
|
+
after?: InputMaybe<Scalars['ID']['input']>;
|
|
6614
|
+
before?: InputMaybe<Scalars['ID']['input']>;
|
|
6615
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
6616
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
6580
6617
|
query?: InputMaybe<Scalars['String']['input']>;
|
|
6618
|
+
filterKeys?: InputMaybe<CollectionFilterKeys>;
|
|
6581
6619
|
}>;
|
|
6582
6620
|
export type CollectionsQuery = {
|
|
6583
6621
|
collections?: {
|
|
6584
6622
|
__typename: 'CollectionConnection';
|
|
6623
|
+
pageInfo?: {
|
|
6624
|
+
__typename: 'PageInfo';
|
|
6625
|
+
endCursor?: string | null;
|
|
6626
|
+
hasNextPage?: boolean | null;
|
|
6627
|
+
hasPreviousPage?: boolean | null;
|
|
6628
|
+
startCursor?: string | null;
|
|
6629
|
+
} | null;
|
|
6585
6630
|
edges?: Array<{
|
|
6586
6631
|
__typename: 'CollectionEdge';
|
|
6587
6632
|
node?: {
|
|
@@ -6595,6 +6640,19 @@ export type CollectionsQuery = {
|
|
|
6595
6640
|
} | null;
|
|
6596
6641
|
} | null;
|
|
6597
6642
|
} | null> | null;
|
|
6643
|
+
} | null;
|
|
6644
|
+
};
|
|
6645
|
+
export type _CountriesQueryVariables = Exact<{
|
|
6646
|
+
after?: InputMaybe<Scalars['ID']['input']>;
|
|
6647
|
+
before?: InputMaybe<Scalars['ID']['input']>;
|
|
6648
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
6649
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
6650
|
+
query?: InputMaybe<Scalars['String']['input']>;
|
|
6651
|
+
filterKeys?: InputMaybe<_CountryFilterKeys>;
|
|
6652
|
+
}>;
|
|
6653
|
+
export type _CountriesQuery = {
|
|
6654
|
+
_countries?: {
|
|
6655
|
+
__typename: '_CountryConnection';
|
|
6598
6656
|
pageInfo?: {
|
|
6599
6657
|
__typename: 'PageInfo';
|
|
6600
6658
|
endCursor?: string | null;
|
|
@@ -6602,6 +6660,48 @@ export type CollectionsQuery = {
|
|
|
6602
6660
|
hasPreviousPage?: boolean | null;
|
|
6603
6661
|
startCursor?: string | null;
|
|
6604
6662
|
} | null;
|
|
6663
|
+
edges?: Array<{
|
|
6664
|
+
__typename: '_CountryEdge';
|
|
6665
|
+
node?: {
|
|
6666
|
+
__typename: '_Country';
|
|
6667
|
+
_id?: string | null;
|
|
6668
|
+
name?: string | null;
|
|
6669
|
+
flag?: string | null;
|
|
6670
|
+
} | null;
|
|
6671
|
+
} | null> | null;
|
|
6672
|
+
} | null;
|
|
6673
|
+
};
|
|
6674
|
+
export type CustomersQueryVariables = Exact<{
|
|
6675
|
+
after?: InputMaybe<Scalars['ID']['input']>;
|
|
6676
|
+
before?: InputMaybe<Scalars['ID']['input']>;
|
|
6677
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
6678
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
6679
|
+
query?: InputMaybe<Scalars['String']['input']>;
|
|
6680
|
+
filterKeys?: InputMaybe<CustomerFilterKeys>;
|
|
6681
|
+
}>;
|
|
6682
|
+
export type CustomersQuery = {
|
|
6683
|
+
customers?: {
|
|
6684
|
+
__typename: 'CustomerConnection';
|
|
6685
|
+
pageInfo?: {
|
|
6686
|
+
__typename: 'PageInfo';
|
|
6687
|
+
endCursor?: string | null;
|
|
6688
|
+
hasNextPage?: boolean | null;
|
|
6689
|
+
hasPreviousPage?: boolean | null;
|
|
6690
|
+
startCursor?: string | null;
|
|
6691
|
+
} | null;
|
|
6692
|
+
edges?: Array<{
|
|
6693
|
+
__typename: 'CustomerEdge';
|
|
6694
|
+
node?: {
|
|
6695
|
+
__typename: 'Customer';
|
|
6696
|
+
_id?: string | null;
|
|
6697
|
+
first_name?: string | null;
|
|
6698
|
+
last_name?: string | null;
|
|
6699
|
+
email?: {
|
|
6700
|
+
__typename: 'CustomerEmail';
|
|
6701
|
+
address?: string | null;
|
|
6702
|
+
} | null;
|
|
6703
|
+
} | null;
|
|
6704
|
+
} | null> | null;
|
|
6605
6705
|
} | null;
|
|
6606
6706
|
};
|
|
6607
6707
|
export type LinklistsQueryVariables = Exact<{
|
|
@@ -6727,6 +6827,10 @@ export type MetafieldsQuery = {
|
|
|
6727
6827
|
entry?: MetafieldEntryType | null;
|
|
6728
6828
|
name?: string | null;
|
|
6729
6829
|
type?: MetafieldType | null;
|
|
6830
|
+
metaobject_reference?: {
|
|
6831
|
+
__typename: 'Metaobject';
|
|
6832
|
+
_id?: string | null;
|
|
6833
|
+
} | null;
|
|
6730
6834
|
} | null;
|
|
6731
6835
|
} | null> | null;
|
|
6732
6836
|
} | null;
|
|
@@ -6853,6 +6957,34 @@ export type ProductsQuery = {
|
|
|
6853
6957
|
} | null> | null;
|
|
6854
6958
|
} | null;
|
|
6855
6959
|
};
|
|
6960
|
+
export type CustomerSegmentsQueryVariables = Exact<{
|
|
6961
|
+
after?: InputMaybe<Scalars['ID']['input']>;
|
|
6962
|
+
before?: InputMaybe<Scalars['ID']['input']>;
|
|
6963
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
6964
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
6965
|
+
query?: InputMaybe<Scalars['String']['input']>;
|
|
6966
|
+
filterKeys?: InputMaybe<CustomerSegmentFilterKeys>;
|
|
6967
|
+
}>;
|
|
6968
|
+
export type CustomerSegmentsQuery = {
|
|
6969
|
+
customerSegments?: {
|
|
6970
|
+
__typename: 'CustomerSegmentConnection';
|
|
6971
|
+
pageInfo?: {
|
|
6972
|
+
__typename: 'PageInfo';
|
|
6973
|
+
endCursor?: string | null;
|
|
6974
|
+
hasNextPage?: boolean | null;
|
|
6975
|
+
hasPreviousPage?: boolean | null;
|
|
6976
|
+
startCursor?: string | null;
|
|
6977
|
+
} | null;
|
|
6978
|
+
edges?: Array<{
|
|
6979
|
+
__typename: 'CustomerSegmentEdge';
|
|
6980
|
+
node?: {
|
|
6981
|
+
__typename: 'CustomerSegment';
|
|
6982
|
+
_id?: string | null;
|
|
6983
|
+
title?: string | null;
|
|
6984
|
+
} | null;
|
|
6985
|
+
} | null> | null;
|
|
6986
|
+
} | null;
|
|
6987
|
+
};
|
|
6856
6988
|
export type VariantsQueryVariables = Exact<{
|
|
6857
6989
|
after?: InputMaybe<Scalars['ID']['input']>;
|
|
6858
6990
|
before?: InputMaybe<Scalars['ID']['input']>;
|
|
@@ -6896,6 +7028,8 @@ export type VariantsQuery = {
|
|
|
6896
7028
|
export declare const ArticlesDocument: DocumentNode<ArticlesQuery, ArticlesQueryVariables>;
|
|
6897
7029
|
export declare const BlogsDocument: DocumentNode<BlogsQuery, BlogsQueryVariables>;
|
|
6898
7030
|
export declare const CollectionsDocument: DocumentNode<CollectionsQuery, CollectionsQueryVariables>;
|
|
7031
|
+
export declare const _CountriesDocument: DocumentNode<_CountriesQuery, _CountriesQueryVariables>;
|
|
7032
|
+
export declare const CustomersDocument: DocumentNode<CustomersQuery, CustomersQueryVariables>;
|
|
6899
7033
|
export declare const LinklistsDocument: DocumentNode<LinklistsQuery, LinklistsQueryVariables>;
|
|
6900
7034
|
export declare const MediasDocument: DocumentNode<MediasQuery, MediasQueryVariables>;
|
|
6901
7035
|
export declare const StoragePlanDocument: DocumentNode<StoragePlanQuery, StoragePlanQueryVariables>;
|
|
@@ -6907,4 +7041,5 @@ export declare const MetaobjectEntriesDocument: DocumentNode<MetaobjectEntriesQu
|
|
|
6907
7041
|
export declare const MetaobjectsDocument: DocumentNode<MetaobjectsQuery, MetaobjectsQueryVariables>;
|
|
6908
7042
|
export declare const PagesDocument: DocumentNode<PagesQuery, PagesQueryVariables>;
|
|
6909
7043
|
export declare const ProductsDocument: DocumentNode<ProductsQuery, ProductsQueryVariables>;
|
|
7044
|
+
export declare const CustomerSegmentsDocument: DocumentNode<CustomerSegmentsQuery, CustomerSegmentsQueryVariables>;
|
|
6910
7045
|
export declare const VariantsDocument: DocumentNode<VariantsQuery, VariantsQueryVariables>;
|