@forgecart/sdk 1.2.7 → 1.202607061936.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/admin-types.generated.d.ts +481 -33
- package/dist/admin.d.ts +2 -0
- package/dist/admin.generated.d.ts +67 -27
- package/dist/admin.generated.js +88 -4
- package/dist/admin.js +35 -31
- package/dist/client.generated.d.ts +40 -1
- package/dist/client.generated.js +152 -6
- package/dist/documents.generated.d.ts +28 -6
- package/dist/documents.generated.js +517 -41
- package/dist/index.d.ts +1 -0
- package/dist/shop-types.generated.d.ts +205 -13
- package/dist/shop.d.ts +1 -0
- package/dist/shop.generated.d.ts +13 -4
- package/dist/shop.generated.js +19 -1
- package/dist/shop.js +17 -15
- package/package.json +8 -4
- package/src/admin-types.generated.d.ts +10013 -0
- package/src/admin-types.generated.ts +1019 -96
- package/src/admin.generated.d.ts +806 -0
- package/src/admin.generated.ts +117 -29
- package/src/admin.ts +2 -0
- package/src/client.generated.d.ts +249 -0
- package/src/client.generated.ts +185 -5
- package/src/documents.generated.d.ts +473 -0
- package/src/documents.generated.ts +530 -32
- package/src/error-utils.d.ts +25 -0
- package/src/hook-event-map.generated.d.ts +243 -0
- package/src/index.d.ts +22 -0
- package/src/index.ts +1 -0
- package/src/sdk-hook-subscription.generated.d.ts +29 -0
- package/src/sdk-plugin.generated.d.ts +38 -0
- package/src/sdk-types.generated.d.ts +56 -0
- package/src/shop-types.generated.d.ts +4786 -0
- package/src/shop-types.generated.ts +275 -13
- package/src/shop.generated.d.ts +213 -0
- package/src/shop.generated.ts +22 -5
- package/src/shop.ts +1 -0
- package/src/upload.d.ts +14 -0
|
@@ -631,6 +631,7 @@ export type ChannelPlugin = {
|
|
|
631
631
|
};
|
|
632
632
|
|
|
633
633
|
export type ChannelSettings = {
|
|
634
|
+
autoCurrencyExchange: Scalars['Boolean']['output'];
|
|
634
635
|
channelId: Scalars['ID']['output'];
|
|
635
636
|
chargeTaxOnShipping: Scalars['Boolean']['output'];
|
|
636
637
|
companyAddress?: Maybe<CompanyAddress>;
|
|
@@ -639,14 +640,27 @@ export type ChannelSettings = {
|
|
|
639
640
|
defaultFulfillmentHandlerCode?: Maybe<Scalars['String']['output']>;
|
|
640
641
|
defaultPaymentProviderCode?: Maybe<Scalars['String']['output']>;
|
|
641
642
|
defaultWeightUnit?: Maybe<WeightUnit>;
|
|
643
|
+
fxMarkupPercent: Scalars['Float']['output'];
|
|
644
|
+
fxRoundingRule: Scalars['String']['output'];
|
|
642
645
|
id: Scalars['ID']['output'];
|
|
643
|
-
manualShippingRates: Array<ManualShippingRate>;
|
|
644
646
|
requireCustomerForCheckout: Scalars['Boolean']['output'];
|
|
645
647
|
requiresShippingAddressValidation: Scalars['Boolean']['output'];
|
|
646
648
|
shopName?: Maybe<Scalars['String']['output']>;
|
|
647
649
|
taxOriginScope: Scalars['String']['output'];
|
|
648
650
|
};
|
|
649
651
|
|
|
652
|
+
export type ChatHistoryInput = {
|
|
653
|
+
sessionId: Scalars['String']['input'];
|
|
654
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
655
|
+
take?: InputMaybe<Scalars['Int']['input']>;
|
|
656
|
+
};
|
|
657
|
+
|
|
658
|
+
export type ChatSessionsInput = {
|
|
659
|
+
includeArchived?: InputMaybe<Scalars['Boolean']['input']>;
|
|
660
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
661
|
+
take?: InputMaybe<Scalars['Int']['input']>;
|
|
662
|
+
};
|
|
663
|
+
|
|
650
664
|
export type Collection = {
|
|
651
665
|
createdAt: Scalars['DateTime']['output'];
|
|
652
666
|
description?: Maybe<Scalars['String']['output']>;
|
|
@@ -795,6 +809,7 @@ export type CreateCarrierInput = {
|
|
|
795
809
|
};
|
|
796
810
|
|
|
797
811
|
export type CreateChannelInput = {
|
|
812
|
+
availableCurrencyCodes?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
798
813
|
availableLanguageCodes?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
799
814
|
code: Scalars['String']['input'];
|
|
800
815
|
defaultCurrencyCode: Scalars['String']['input'];
|
|
@@ -924,6 +939,22 @@ export type CreateManageablePluginInput = {
|
|
|
924
939
|
toggable?: InputMaybe<Scalars['Boolean']['input']>;
|
|
925
940
|
};
|
|
926
941
|
|
|
942
|
+
export type CreateMarketInput = {
|
|
943
|
+
countryCodes: Array<Scalars['String']['input']>;
|
|
944
|
+
currencyCode: Scalars['String']['input'];
|
|
945
|
+
enabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
946
|
+
languageCode?: InputMaybe<Scalars['String']['input']>;
|
|
947
|
+
name: Scalars['String']['input'];
|
|
948
|
+
};
|
|
949
|
+
|
|
950
|
+
export type CreateMissionInput = {
|
|
951
|
+
model: Scalars['String']['input'];
|
|
952
|
+
prompt: Scalars['String']['input'];
|
|
953
|
+
repos?: InputMaybe<Array<MissionRepoInput>>;
|
|
954
|
+
title?: InputMaybe<Scalars['String']['input']>;
|
|
955
|
+
workspaceId: Scalars['ID']['input'];
|
|
956
|
+
};
|
|
957
|
+
|
|
927
958
|
export type CreateProductInput = {
|
|
928
959
|
assetIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
929
960
|
enabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
@@ -1038,6 +1069,17 @@ export type CreateSessionInput = {
|
|
|
1038
1069
|
tokenId?: InputMaybe<Scalars['ID']['input']>;
|
|
1039
1070
|
};
|
|
1040
1071
|
|
|
1072
|
+
export type CreateShippingGatewayRoutingRuleInput = {
|
|
1073
|
+
countryCodes?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1074
|
+
enabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1075
|
+
flatRates?: InputMaybe<Array<ShippingRoutingFlatRateInput>>;
|
|
1076
|
+
fulfillmentType: ShippingRoutingFulfillmentType;
|
|
1077
|
+
priority?: InputMaybe<Scalars['Int']['input']>;
|
|
1078
|
+
providerCode?: InputMaybe<Scalars['String']['input']>;
|
|
1079
|
+
scopeType: ShippingRoutingScopeType;
|
|
1080
|
+
stockLocationId: Scalars['ID']['input'];
|
|
1081
|
+
};
|
|
1082
|
+
|
|
1041
1083
|
export type CreateShopSubscriptionInput = {
|
|
1042
1084
|
defaultTokenId?: InputMaybe<Scalars['ID']['input']>;
|
|
1043
1085
|
items: Array<CreateSubscriptionItemInput>;
|
|
@@ -1176,6 +1218,21 @@ export type DeleteAssetsInput = {
|
|
|
1176
1218
|
ids: Array<Scalars['ID']['input']>;
|
|
1177
1219
|
};
|
|
1178
1220
|
|
|
1221
|
+
export type DeleteChannelInput = {
|
|
1222
|
+
collections?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1223
|
+
customers?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1224
|
+
facets?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1225
|
+
id: Scalars['ID']['input'];
|
|
1226
|
+
orders?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1227
|
+
products?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1228
|
+
promotions?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1229
|
+
sellers?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1230
|
+
stockLocations?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1231
|
+
subscriptions?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1232
|
+
taxRates?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1233
|
+
usageMetrics?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1234
|
+
};
|
|
1235
|
+
|
|
1179
1236
|
export type DeleteFacetInput = {
|
|
1180
1237
|
force?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1181
1238
|
id: Scalars['ID']['input'];
|
|
@@ -1708,20 +1765,21 @@ export type ManageablePluginConfigItemTranslation = {
|
|
|
1708
1765
|
name: Scalars['String']['output'];
|
|
1709
1766
|
};
|
|
1710
1767
|
|
|
1711
|
-
export type
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1768
|
+
export type Market = {
|
|
1769
|
+
channelId: Scalars['ID']['output'];
|
|
1770
|
+
countries: Array<Country>;
|
|
1771
|
+
createdAt: Scalars['DateTime']['output'];
|
|
1772
|
+
currencyCode: Scalars['String']['output'];
|
|
1773
|
+
enabled: Scalars['Boolean']['output'];
|
|
1774
|
+
id: Scalars['ID']['output'];
|
|
1775
|
+
languageCode?: Maybe<Scalars['String']['output']>;
|
|
1716
1776
|
name: Scalars['String']['output'];
|
|
1777
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
1717
1778
|
};
|
|
1718
1779
|
|
|
1719
|
-
export type
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
currency: Scalars['String']['input'];
|
|
1723
|
-
estimatedDays?: InputMaybe<Scalars['Int']['input']>;
|
|
1724
|
-
name: Scalars['String']['input'];
|
|
1780
|
+
export type MarketList = {
|
|
1781
|
+
items: Array<Market>;
|
|
1782
|
+
totalItems: Scalars['Int']['output'];
|
|
1725
1783
|
};
|
|
1726
1784
|
|
|
1727
1785
|
export type MarketingAttribution = {
|
|
@@ -1823,6 +1881,59 @@ export type MergeFulfillmentRequestInput = {
|
|
|
1823
1881
|
requestIdB: Scalars['ID']['input'];
|
|
1824
1882
|
};
|
|
1825
1883
|
|
|
1884
|
+
export type Mission = {
|
|
1885
|
+
administratorId: Scalars['ID']['output'];
|
|
1886
|
+
branch?: Maybe<Scalars['String']['output']>;
|
|
1887
|
+
channelId: Scalars['ID']['output'];
|
|
1888
|
+
costCents?: Maybe<Scalars['Int']['output']>;
|
|
1889
|
+
createdAt: Scalars['DateTime']['output'];
|
|
1890
|
+
id: Scalars['ID']['output'];
|
|
1891
|
+
model: Scalars['String']['output'];
|
|
1892
|
+
podRef?: Maybe<Scalars['String']['output']>;
|
|
1893
|
+
prUrl?: Maybe<Scalars['String']['output']>;
|
|
1894
|
+
repos: Array<MissionRepoRef>;
|
|
1895
|
+
status: MissionStatus;
|
|
1896
|
+
title?: Maybe<Scalars['String']['output']>;
|
|
1897
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
1898
|
+
workspaceId: Scalars['ID']['output'];
|
|
1899
|
+
};
|
|
1900
|
+
|
|
1901
|
+
export type MissionList = {
|
|
1902
|
+
items: Array<Mission>;
|
|
1903
|
+
totalItems: Scalars['Int']['output'];
|
|
1904
|
+
};
|
|
1905
|
+
|
|
1906
|
+
export type MissionListOptions = {
|
|
1907
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
1908
|
+
sort?: InputMaybe<MissionSortParameter>;
|
|
1909
|
+
take?: InputMaybe<Scalars['Int']['input']>;
|
|
1910
|
+
};
|
|
1911
|
+
|
|
1912
|
+
export type MissionRepoInput = {
|
|
1913
|
+
branch: Scalars['String']['input'];
|
|
1914
|
+
name: Scalars['String']['input'];
|
|
1915
|
+
owner: Scalars['String']['input'];
|
|
1916
|
+
};
|
|
1917
|
+
|
|
1918
|
+
export type MissionRepoRef = {
|
|
1919
|
+
branch: Scalars['String']['output'];
|
|
1920
|
+
name: Scalars['String']['output'];
|
|
1921
|
+
owner: Scalars['String']['output'];
|
|
1922
|
+
};
|
|
1923
|
+
|
|
1924
|
+
export type MissionSortParameter = {
|
|
1925
|
+
createdAt?: InputMaybe<SortOrder>;
|
|
1926
|
+
updatedAt?: InputMaybe<SortOrder>;
|
|
1927
|
+
};
|
|
1928
|
+
|
|
1929
|
+
export type MissionStatus =
|
|
1930
|
+
| 'AWAITING_USER'
|
|
1931
|
+
| 'COMPLETED'
|
|
1932
|
+
| 'FAILED'
|
|
1933
|
+
| 'INTERRUPTED'
|
|
1934
|
+
| 'PENDING'
|
|
1935
|
+
| 'RUNNING';
|
|
1936
|
+
|
|
1826
1937
|
export type ModifyOrderAddItemInput = {
|
|
1827
1938
|
productVariantId: Scalars['ID']['input'];
|
|
1828
1939
|
quantity: Scalars['Int']['input'];
|
|
@@ -1894,8 +2005,10 @@ export type Mutation = {
|
|
|
1894
2005
|
resumeSubscription: BillingSubscription;
|
|
1895
2006
|
saveToken: PaymentGatewayToken;
|
|
1896
2007
|
selectShippingRate: Order;
|
|
2008
|
+
setCurrency: Channel;
|
|
1897
2009
|
setCustomerForOrder: Order;
|
|
1898
2010
|
setDefaultToken: PaymentGatewayToken;
|
|
2011
|
+
setLanguage: Channel;
|
|
1899
2012
|
setMarketingIdentifiers: SetMarketingIdentifiersResult;
|
|
1900
2013
|
setOrderBillingAddress: Order;
|
|
1901
2014
|
setOrderShippingAddress: Order;
|
|
@@ -2067,6 +2180,11 @@ export type MutationselectShippingRateArgs = {
|
|
|
2067
2180
|
};
|
|
2068
2181
|
|
|
2069
2182
|
|
|
2183
|
+
export type MutationsetCurrencyArgs = {
|
|
2184
|
+
currencyCode: Scalars['String']['input'];
|
|
2185
|
+
};
|
|
2186
|
+
|
|
2187
|
+
|
|
2070
2188
|
export type MutationsetCustomerForOrderArgs = {
|
|
2071
2189
|
input: SetCustomerInput;
|
|
2072
2190
|
};
|
|
@@ -2077,6 +2195,11 @@ export type MutationsetDefaultTokenArgs = {
|
|
|
2077
2195
|
};
|
|
2078
2196
|
|
|
2079
2197
|
|
|
2198
|
+
export type MutationsetLanguageArgs = {
|
|
2199
|
+
languageCode: Scalars['String']['input'];
|
|
2200
|
+
};
|
|
2201
|
+
|
|
2202
|
+
|
|
2080
2203
|
export type MutationsetMarketingIdentifiersArgs = {
|
|
2081
2204
|
input: SetMarketingIdentifiersInput;
|
|
2082
2205
|
};
|
|
@@ -2501,6 +2624,15 @@ export type ProductVariantDimensions = {
|
|
|
2501
2624
|
width?: Maybe<Scalars['Float']['output']>;
|
|
2502
2625
|
};
|
|
2503
2626
|
|
|
2627
|
+
export type ProductVariantPrice = {
|
|
2628
|
+
createdAt: Scalars['DateTime']['output'];
|
|
2629
|
+
currencyCode: Scalars['String']['output'];
|
|
2630
|
+
id: Scalars['ID']['output'];
|
|
2631
|
+
price: Scalars['Int']['output'];
|
|
2632
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
2633
|
+
variantId: Scalars['ID']['output'];
|
|
2634
|
+
};
|
|
2635
|
+
|
|
2504
2636
|
export type ProductVariantSnapshot = {
|
|
2505
2637
|
createdAt: Scalars['DateTime']['output'];
|
|
2506
2638
|
id: Scalars['ID']['output'];
|
|
@@ -2560,6 +2692,7 @@ export type ProvisionChannelInput = {
|
|
|
2560
2692
|
defaultCurrencyCode?: InputMaybe<Scalars['String']['input']>;
|
|
2561
2693
|
defaultLanguageCode?: InputMaybe<Scalars['String']['input']>;
|
|
2562
2694
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
2695
|
+
provisionWorkspace?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2563
2696
|
userId: Scalars['ID']['input'];
|
|
2564
2697
|
};
|
|
2565
2698
|
|
|
@@ -2847,6 +2980,11 @@ export type RemoveStockLocationFromChannelInput = {
|
|
|
2847
2980
|
stockLocationId: Scalars['ID']['input'];
|
|
2848
2981
|
};
|
|
2849
2982
|
|
|
2983
|
+
export type ReorderShippingGatewayRoutingRulesInput = {
|
|
2984
|
+
ruleIds: Array<Scalars['ID']['input']>;
|
|
2985
|
+
stockLocationId: Scalars['ID']['input'];
|
|
2986
|
+
};
|
|
2987
|
+
|
|
2850
2988
|
export type ReportDamagedStockInput = {
|
|
2851
2989
|
note?: InputMaybe<Scalars['String']['input']>;
|
|
2852
2990
|
quantity: Scalars['Int']['input'];
|
|
@@ -3086,6 +3224,11 @@ export type SendChatMessageInput = {
|
|
|
3086
3224
|
sessionId: Scalars['String']['input'];
|
|
3087
3225
|
};
|
|
3088
3226
|
|
|
3227
|
+
export type SendMissionMessageInput = {
|
|
3228
|
+
message: Scalars['String']['input'];
|
|
3229
|
+
missionId: Scalars['ID']['input'];
|
|
3230
|
+
};
|
|
3231
|
+
|
|
3089
3232
|
export type SetBillingAddressInput = {
|
|
3090
3233
|
address: CreateAddressInput;
|
|
3091
3234
|
orderId: Scalars['ID']['input'];
|
|
@@ -3142,6 +3285,12 @@ export type SetMarketingIdentifiersResult = {
|
|
|
3142
3285
|
rejected: Array<Scalars['String']['output']>;
|
|
3143
3286
|
};
|
|
3144
3287
|
|
|
3288
|
+
export type SetPriceInput = {
|
|
3289
|
+
currencyCode: Scalars['String']['input'];
|
|
3290
|
+
price: Scalars['Int']['input'];
|
|
3291
|
+
variantId: Scalars['ID']['input'];
|
|
3292
|
+
};
|
|
3293
|
+
|
|
3145
3294
|
export type SetSafetyStockInput = {
|
|
3146
3295
|
safetyStock: Scalars['Int']['input'];
|
|
3147
3296
|
stockLocationId: Scalars['ID']['input'];
|
|
@@ -3213,6 +3362,31 @@ export type ShippingGatewayRateGroupLine = {
|
|
|
3213
3362
|
width?: Maybe<Scalars['Float']['output']>;
|
|
3214
3363
|
};
|
|
3215
3364
|
|
|
3365
|
+
export type ShippingGatewayRoutingFlatRate = {
|
|
3366
|
+
amount: Scalars['Int']['output'];
|
|
3367
|
+
code: Scalars['String']['output'];
|
|
3368
|
+
createdAt: Scalars['DateTime']['output'];
|
|
3369
|
+
currencyCode: Scalars['String']['output'];
|
|
3370
|
+
estimatedDays?: Maybe<Scalars['Int']['output']>;
|
|
3371
|
+
id: Scalars['ID']['output'];
|
|
3372
|
+
name: Scalars['String']['output'];
|
|
3373
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
3374
|
+
};
|
|
3375
|
+
|
|
3376
|
+
export type ShippingGatewayRoutingRule = {
|
|
3377
|
+
countries: Array<Country>;
|
|
3378
|
+
createdAt: Scalars['DateTime']['output'];
|
|
3379
|
+
enabled: Scalars['Boolean']['output'];
|
|
3380
|
+
flatRates: Array<ShippingGatewayRoutingFlatRate>;
|
|
3381
|
+
fulfillmentType: ShippingRoutingFulfillmentType;
|
|
3382
|
+
id: Scalars['ID']['output'];
|
|
3383
|
+
priority: Scalars['Int']['output'];
|
|
3384
|
+
providerCode?: Maybe<Scalars['String']['output']>;
|
|
3385
|
+
scopeType: ShippingRoutingScopeType;
|
|
3386
|
+
stockLocationId: Scalars['ID']['output'];
|
|
3387
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
3388
|
+
};
|
|
3389
|
+
|
|
3216
3390
|
export type ShippingLine = {
|
|
3217
3391
|
adjustments: Array<Adjustment>;
|
|
3218
3392
|
createdAt: Scalars['DateTime']['output'];
|
|
@@ -3230,6 +3404,23 @@ export type ShippingProvider = {
|
|
|
3230
3404
|
pluginBacked: Scalars['Boolean']['output'];
|
|
3231
3405
|
};
|
|
3232
3406
|
|
|
3407
|
+
export type ShippingRoutingFlatRateInput = {
|
|
3408
|
+
amount: Scalars['Int']['input'];
|
|
3409
|
+
code: Scalars['String']['input'];
|
|
3410
|
+
currencyCode: Scalars['String']['input'];
|
|
3411
|
+
estimatedDays?: InputMaybe<Scalars['Int']['input']>;
|
|
3412
|
+
name: Scalars['String']['input'];
|
|
3413
|
+
};
|
|
3414
|
+
|
|
3415
|
+
export type ShippingRoutingFulfillmentType =
|
|
3416
|
+
| 'MANUAL'
|
|
3417
|
+
| 'PROVIDER';
|
|
3418
|
+
|
|
3419
|
+
export type ShippingRoutingScopeType =
|
|
3420
|
+
| 'COUNTRIES'
|
|
3421
|
+
| 'DOMESTIC'
|
|
3422
|
+
| 'INTERNATIONAL';
|
|
3423
|
+
|
|
3233
3424
|
export type ShopAddItemToOrderInput = {
|
|
3234
3425
|
quantity: Scalars['Int']['input'];
|
|
3235
3426
|
variantId: Scalars['ID']['input'];
|
|
@@ -3254,6 +3445,11 @@ export type SplitFulfillmentRequestLineInput = {
|
|
|
3254
3445
|
quantity: Scalars['Int']['input'];
|
|
3255
3446
|
};
|
|
3256
3447
|
|
|
3448
|
+
export type StartChatSessionInput = {
|
|
3449
|
+
origin?: InputMaybe<Scalars['String']['input']>;
|
|
3450
|
+
title?: InputMaybe<Scalars['String']['input']>;
|
|
3451
|
+
};
|
|
3452
|
+
|
|
3257
3453
|
export type StockLevel = {
|
|
3258
3454
|
id: Scalars['ID']['output'];
|
|
3259
3455
|
safetyStock: Scalars['Int']['output'];
|
|
@@ -3552,6 +3748,7 @@ export type UpdateCarrierInput = {
|
|
|
3552
3748
|
};
|
|
3553
3749
|
|
|
3554
3750
|
export type UpdateChannelInput = {
|
|
3751
|
+
availableCurrencyCodes?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
3555
3752
|
availableLanguageCodes?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
3556
3753
|
code?: InputMaybe<Scalars['String']['input']>;
|
|
3557
3754
|
defaultCurrencyCode?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -3572,6 +3769,7 @@ export type UpdateChannelPluginConfigInput = {
|
|
|
3572
3769
|
};
|
|
3573
3770
|
|
|
3574
3771
|
export type UpdateChannelSettingsInput = {
|
|
3772
|
+
autoCurrencyExchange?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3575
3773
|
chargeTaxOnShipping?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3576
3774
|
companyAddress?: InputMaybe<CompanyAddressInput>;
|
|
3577
3775
|
defaultDeploymentProviderCode?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -3579,7 +3777,8 @@ export type UpdateChannelSettingsInput = {
|
|
|
3579
3777
|
defaultFulfillmentHandlerCode?: InputMaybe<Scalars['String']['input']>;
|
|
3580
3778
|
defaultPaymentProviderCode?: InputMaybe<Scalars['String']['input']>;
|
|
3581
3779
|
defaultWeightUnit?: InputMaybe<WeightUnit>;
|
|
3582
|
-
|
|
3780
|
+
fxMarkupPercent?: InputMaybe<Scalars['Float']['input']>;
|
|
3781
|
+
fxRoundingRule?: InputMaybe<Scalars['String']['input']>;
|
|
3583
3782
|
requireCustomerForCheckout?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3584
3783
|
requiresShippingAddressValidation?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3585
3784
|
shopName?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -3691,6 +3890,15 @@ export type UpdateManageablePluginInput = {
|
|
|
3691
3890
|
toggable?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3692
3891
|
};
|
|
3693
3892
|
|
|
3893
|
+
export type UpdateMarketInput = {
|
|
3894
|
+
countryCodes?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
3895
|
+
currencyCode?: InputMaybe<Scalars['String']['input']>;
|
|
3896
|
+
enabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3897
|
+
id: Scalars['ID']['input'];
|
|
3898
|
+
languageCode?: InputMaybe<Scalars['String']['input']>;
|
|
3899
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
3900
|
+
};
|
|
3901
|
+
|
|
3694
3902
|
export type UpdateOnboardingProfileInput = {
|
|
3695
3903
|
/**
|
|
3696
3904
|
* When `true`, marks the profile step complete and advances
|
|
@@ -3811,6 +4019,17 @@ export type UpdateSellerInput = {
|
|
|
3811
4019
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
3812
4020
|
};
|
|
3813
4021
|
|
|
4022
|
+
export type UpdateShippingGatewayRoutingRuleInput = {
|
|
4023
|
+
countryCodes?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
4024
|
+
enabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4025
|
+
flatRates?: InputMaybe<Array<ShippingRoutingFlatRateInput>>;
|
|
4026
|
+
fulfillmentType?: InputMaybe<ShippingRoutingFulfillmentType>;
|
|
4027
|
+
id: Scalars['ID']['input'];
|
|
4028
|
+
priority?: InputMaybe<Scalars['Int']['input']>;
|
|
4029
|
+
providerCode?: InputMaybe<Scalars['String']['input']>;
|
|
4030
|
+
scopeType?: InputMaybe<ShippingRoutingScopeType>;
|
|
4031
|
+
};
|
|
4032
|
+
|
|
3814
4033
|
export type UpdateShippingLabelInput = {
|
|
3815
4034
|
carrier?: InputMaybe<Scalars['String']['input']>;
|
|
3816
4035
|
labelId: Scalars['ID']['input'];
|
|
@@ -7357,6 +7576,49 @@ export type RemoveItemsFromOrderMutation = { removeItemsFromOrder: {
|
|
|
7357
7576
|
errors: Array<Pick<BatchOrderLineError, 'index' | 'errorCode' | 'variables'>>,
|
|
7358
7577
|
} };
|
|
7359
7578
|
|
|
7579
|
+
export type ShopChannelFieldFragment = Pick<
|
|
7580
|
+
Channel,
|
|
7581
|
+
| 'id'
|
|
7582
|
+
| 'code'
|
|
7583
|
+
| 'defaultLanguageCode'
|
|
7584
|
+
| 'defaultCurrencyCode'
|
|
7585
|
+
| 'availableLanguageCodes'
|
|
7586
|
+
| 'availableCurrencyCodes'
|
|
7587
|
+
| 'pricesIncludeTax'
|
|
7588
|
+
>;
|
|
7589
|
+
|
|
7590
|
+
export type SetCurrencyMutationVariables = Exact<{
|
|
7591
|
+
currencyCode: Scalars['String']['input'];
|
|
7592
|
+
}>;
|
|
7593
|
+
|
|
7594
|
+
|
|
7595
|
+
export type SetCurrencyMutation = { setCurrency: Pick<
|
|
7596
|
+
Channel,
|
|
7597
|
+
| 'id'
|
|
7598
|
+
| 'code'
|
|
7599
|
+
| 'defaultLanguageCode'
|
|
7600
|
+
| 'defaultCurrencyCode'
|
|
7601
|
+
| 'availableLanguageCodes'
|
|
7602
|
+
| 'availableCurrencyCodes'
|
|
7603
|
+
| 'pricesIncludeTax'
|
|
7604
|
+
> };
|
|
7605
|
+
|
|
7606
|
+
export type SetLanguageMutationVariables = Exact<{
|
|
7607
|
+
languageCode: Scalars['String']['input'];
|
|
7608
|
+
}>;
|
|
7609
|
+
|
|
7610
|
+
|
|
7611
|
+
export type SetLanguageMutation = { setLanguage: Pick<
|
|
7612
|
+
Channel,
|
|
7613
|
+
| 'id'
|
|
7614
|
+
| 'code'
|
|
7615
|
+
| 'defaultLanguageCode'
|
|
7616
|
+
| 'defaultCurrencyCode'
|
|
7617
|
+
| 'availableLanguageCodes'
|
|
7618
|
+
| 'availableCurrencyCodes'
|
|
7619
|
+
| 'pricesIncludeTax'
|
|
7620
|
+
> };
|
|
7621
|
+
|
|
7360
7622
|
export type SetOrderShippingAddressMutationVariables = Exact<{
|
|
7361
7623
|
input: CreateAddressInput;
|
|
7362
7624
|
}>;
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AUTO-GENERATED FILE — DO NOT EDIT
|
|
3
|
+
*
|
|
4
|
+
* This file was generated by @forgecart/client-sdk-generators.
|
|
5
|
+
* Any manual changes will be overwritten on the next generation run.
|
|
6
|
+
*/
|
|
7
|
+
import type { BaseGraphQLClient } from './client.generated';
|
|
8
|
+
import * as Types from './shop-types.generated';
|
|
9
|
+
import { Observable } from 'rxjs';
|
|
10
|
+
import { QueryObservable } from './client.generated';
|
|
11
|
+
export declare class AcfCategory {
|
|
12
|
+
private readonly client;
|
|
13
|
+
constructor(client: BaseGraphQLClient);
|
|
14
|
+
shopFieldDefinition(variables: Types.ShopFieldDefinitionQueryVariables): QueryObservable<Types.ShopFieldDefinitionQuery>;
|
|
15
|
+
shopEntry(variables: Types.ShopEntryQueryVariables): QueryObservable<Types.ShopEntryQuery>;
|
|
16
|
+
shopEntries(variables: Types.ShopEntriesQueryVariables): QueryObservable<Types.ShopEntriesQuery>;
|
|
17
|
+
}
|
|
18
|
+
export declare class AuthCategory {
|
|
19
|
+
private readonly client;
|
|
20
|
+
constructor(client: BaseGraphQLClient);
|
|
21
|
+
externalAuthenticationMethods(): QueryObservable<Types.ExternalAuthenticationMethodsQuery>;
|
|
22
|
+
login(variables: Types.LoginMutationVariables): QueryObservable<Types.LoginMutation>;
|
|
23
|
+
logout(): QueryObservable<Types.LogoutMutation>;
|
|
24
|
+
authenticateWithExternalStrategy(variables: Types.AuthenticateWithExternalStrategyMutationVariables): QueryObservable<Types.AuthenticateWithExternalStrategyMutation>;
|
|
25
|
+
unlinkExternalAuthenticationMethod(variables: Types.UnlinkExternalAuthenticationMethodMutationVariables): QueryObservable<Types.UnlinkExternalAuthenticationMethodMutation>;
|
|
26
|
+
updateUserPreferences(variables: Types.UpdateUserPreferencesMutationVariables): QueryObservable<Types.UpdateUserPreferencesMutation>;
|
|
27
|
+
}
|
|
28
|
+
export declare class CartCategory {
|
|
29
|
+
private readonly client;
|
|
30
|
+
constructor(client: BaseGraphQLClient);
|
|
31
|
+
addItemToOrder(variables: Types.AddItemToOrderMutationVariables): QueryObservable<Types.AddItemToOrderMutation>;
|
|
32
|
+
adjustOrderLine(variables: Types.AdjustOrderLineMutationVariables): QueryObservable<Types.AdjustOrderLineMutation>;
|
|
33
|
+
removeOrderLine(variables: Types.RemoveOrderLineMutationVariables): QueryObservable<Types.RemoveOrderLineMutation>;
|
|
34
|
+
removeAllOrderLines(): QueryObservable<Types.RemoveAllOrderLinesMutation>;
|
|
35
|
+
applyCouponCode(variables: Types.ApplyCouponCodeMutationVariables): QueryObservable<Types.ApplyCouponCodeMutation>;
|
|
36
|
+
removeCouponCode(variables: Types.RemoveCouponCodeMutationVariables): QueryObservable<Types.RemoveCouponCodeMutation>;
|
|
37
|
+
setCustomerForOrder(variables: Types.SetCustomerForOrderMutationVariables): QueryObservable<Types.SetCustomerForOrderMutation>;
|
|
38
|
+
addItemsToOrder(variables: Types.AddItemsToOrderMutationVariables): QueryObservable<Types.AddItemsToOrderMutation>;
|
|
39
|
+
adjustOrderLines(variables: Types.AdjustOrderLinesMutationVariables): QueryObservable<Types.AdjustOrderLinesMutation>;
|
|
40
|
+
removeItemsFromOrder(variables: Types.RemoveItemsFromOrderMutationVariables): QueryObservable<Types.RemoveItemsFromOrderMutation>;
|
|
41
|
+
}
|
|
42
|
+
export declare class CheckoutCategory {
|
|
43
|
+
private readonly client;
|
|
44
|
+
constructor(client: BaseGraphQLClient);
|
|
45
|
+
setOrderShippingAddress(variables: Types.SetOrderShippingAddressMutationVariables): QueryObservable<Types.SetOrderShippingAddressMutation>;
|
|
46
|
+
setOrderBillingAddress(variables: Types.SetOrderBillingAddressMutationVariables): QueryObservable<Types.SetOrderBillingAddressMutation>;
|
|
47
|
+
transitionOrderToState(variables: Types.TransitionOrderToStateMutationVariables): QueryObservable<Types.TransitionOrderToStateMutation>;
|
|
48
|
+
}
|
|
49
|
+
export declare class CollectionCategory {
|
|
50
|
+
private readonly client;
|
|
51
|
+
constructor(client: BaseGraphQLClient);
|
|
52
|
+
shopCollection(variables: Types.ShopCollectionQueryVariables): QueryObservable<Types.ShopCollectionQuery>;
|
|
53
|
+
shopCollections(variables: Types.ShopCollectionsQueryVariables): QueryObservable<Types.ShopCollectionsQuery>;
|
|
54
|
+
}
|
|
55
|
+
export declare class CustomerCategory {
|
|
56
|
+
private readonly client;
|
|
57
|
+
constructor(client: BaseGraphQLClient);
|
|
58
|
+
activeCustomer(): QueryObservable<Types.ActiveCustomerQuery>;
|
|
59
|
+
activeCustomerAddresses(): QueryObservable<Types.ActiveCustomerAddressesQuery>;
|
|
60
|
+
shopUpdateCustomer(variables: Types.ShopUpdateCustomerMutationVariables): QueryObservable<Types.ShopUpdateCustomerMutation>;
|
|
61
|
+
registerCustomerAccount(variables: Types.RegisterCustomerAccountMutationVariables): QueryObservable<Types.RegisterCustomerAccountMutation>;
|
|
62
|
+
verifyCustomerAccount(variables: Types.VerifyCustomerAccountMutationVariables): QueryObservable<Types.VerifyCustomerAccountMutation>;
|
|
63
|
+
requestPasswordReset(variables: Types.RequestPasswordResetMutationVariables): QueryObservable<Types.RequestPasswordResetMutation>;
|
|
64
|
+
resetPassword(variables: Types.ResetPasswordMutationVariables): QueryObservable<Types.ResetPasswordMutation>;
|
|
65
|
+
createCustomerAddress(variables: Types.CreateCustomerAddressMutationVariables): QueryObservable<Types.CreateCustomerAddressMutation>;
|
|
66
|
+
updateCustomerAddress(variables: Types.UpdateCustomerAddressMutationVariables): QueryObservable<Types.UpdateCustomerAddressMutation>;
|
|
67
|
+
deleteCustomerAddress(variables: Types.DeleteCustomerAddressMutationVariables): QueryObservable<Types.DeleteCustomerAddressMutation>;
|
|
68
|
+
updateCustomerPassword(variables: Types.UpdateCustomerPasswordMutationVariables): QueryObservable<Types.UpdateCustomerPasswordMutation>;
|
|
69
|
+
requestUpdateCustomerEmailAddress(variables: Types.RequestUpdateCustomerEmailAddressMutationVariables): QueryObservable<Types.RequestUpdateCustomerEmailAddressMutation>;
|
|
70
|
+
updateCustomerEmailAddress(variables: Types.UpdateCustomerEmailAddressMutationVariables): QueryObservable<Types.UpdateCustomerEmailAddressMutation>;
|
|
71
|
+
requestCustomerReVerification(): QueryObservable<Types.RequestCustomerReVerificationMutation>;
|
|
72
|
+
verifyCustomerAccountWithPassword(variables: Types.VerifyCustomerAccountWithPasswordMutationVariables): QueryObservable<Types.VerifyCustomerAccountWithPasswordMutation>;
|
|
73
|
+
}
|
|
74
|
+
export declare class FacetCategory {
|
|
75
|
+
private readonly client;
|
|
76
|
+
constructor(client: BaseGraphQLClient);
|
|
77
|
+
shopFacet(variables: Types.ShopFacetQueryVariables): QueryObservable<Types.ShopFacetQuery>;
|
|
78
|
+
shopFacets(variables: Types.ShopFacetsQueryVariables): QueryObservable<Types.ShopFacetsQuery>;
|
|
79
|
+
}
|
|
80
|
+
export declare class HookDispatchCategory {
|
|
81
|
+
private readonly client;
|
|
82
|
+
constructor(client: BaseGraphQLClient);
|
|
83
|
+
shopHookDispatched(variables: Types.ShopHookDispatchedSubscriptionVariables): Observable<Types.ShopHookDispatchedSubscription>;
|
|
84
|
+
respondToHookDispatch(variables: Types.RespondToHookDispatchMutationVariables): QueryObservable<Types.RespondToHookDispatchMutation>;
|
|
85
|
+
}
|
|
86
|
+
export declare class HookCategory {
|
|
87
|
+
private readonly client;
|
|
88
|
+
constructor(client: BaseGraphQLClient);
|
|
89
|
+
hookListen(variables: Types.HookListenSubscriptionVariables): Observable<Types.HookListenSubscription>;
|
|
90
|
+
hookRespond(variables: Types.HookRespondMutationVariables): QueryObservable<Types.HookRespondMutation>;
|
|
91
|
+
}
|
|
92
|
+
export declare class MarketingEventCategory {
|
|
93
|
+
private readonly client;
|
|
94
|
+
constructor(client: BaseGraphQLClient);
|
|
95
|
+
shopTrackEvent(variables: Types.ShopTrackEventMutationVariables): QueryObservable<Types.ShopTrackEventMutation>;
|
|
96
|
+
}
|
|
97
|
+
export declare class MarketingIdentityCategory {
|
|
98
|
+
private readonly client;
|
|
99
|
+
constructor(client: BaseGraphQLClient);
|
|
100
|
+
shopResolveMarketingIdentity(): QueryObservable<Types.ShopResolveMarketingIdentityMutation>;
|
|
101
|
+
shopSetMarketingIdentifiers(variables: Types.ShopSetMarketingIdentifiersMutationVariables): QueryObservable<Types.ShopSetMarketingIdentifiersMutation>;
|
|
102
|
+
shopLinkMarketingEmail(variables: Types.ShopLinkMarketingEmailMutationVariables): QueryObservable<Types.ShopLinkMarketingEmailMutation>;
|
|
103
|
+
}
|
|
104
|
+
export declare class OrderCategory {
|
|
105
|
+
private readonly client;
|
|
106
|
+
constructor(client: BaseGraphQLClient);
|
|
107
|
+
activeOrder(): QueryObservable<Types.ActiveOrderQuery>;
|
|
108
|
+
shopOrderByCode(variables: Types.ShopOrderByCodeQueryVariables): QueryObservable<Types.ShopOrderByCodeQuery>;
|
|
109
|
+
nextOrderStates(): QueryObservable<Types.NextOrderStatesQuery>;
|
|
110
|
+
shopOrderNotes(variables: Types.ShopOrderNotesQueryVariables): QueryObservable<Types.ShopOrderNotesQuery>;
|
|
111
|
+
shopActiveOrderUpdated(): Observable<Types.ShopActiveOrderUpdatedSubscription>;
|
|
112
|
+
}
|
|
113
|
+
export declare class PaymentCategory {
|
|
114
|
+
private readonly client;
|
|
115
|
+
constructor(client: BaseGraphQLClient);
|
|
116
|
+
shopEligiblePaymentProviders(variables: Types.ShopEligiblePaymentProvidersQueryVariables): QueryObservable<Types.ShopEligiblePaymentProvidersQuery>;
|
|
117
|
+
getTokens(): QueryObservable<Types.GetTokensQuery>;
|
|
118
|
+
createPaymentSession(variables: Types.CreatePaymentSessionMutationVariables): QueryObservable<Types.CreatePaymentSessionMutation>;
|
|
119
|
+
confirmPaymentSession(variables: Types.ConfirmPaymentSessionMutationVariables): QueryObservable<Types.ConfirmPaymentSessionMutation>;
|
|
120
|
+
cancelPaymentSession(variables: Types.CancelPaymentSessionMutationVariables): QueryObservable<Types.CancelPaymentSessionMutation>;
|
|
121
|
+
deleteToken(variables: Types.DeleteTokenMutationVariables): QueryObservable<Types.DeleteTokenMutation>;
|
|
122
|
+
setDefaultToken(variables: Types.SetDefaultTokenMutationVariables): QueryObservable<Types.SetDefaultTokenMutation>;
|
|
123
|
+
saveToken(variables: Types.SaveTokenMutationVariables): QueryObservable<Types.SaveTokenMutation>;
|
|
124
|
+
getTokenTemplate(): QueryObservable<Types.GetTokenTemplateQuery>;
|
|
125
|
+
getSessionTemplate(variables: Types.GetSessionTemplateQueryVariables): QueryObservable<Types.GetSessionTemplateQuery>;
|
|
126
|
+
getSessionVariables(variables: Types.GetSessionVariablesQueryVariables): QueryObservable<Types.GetSessionVariablesQuery>;
|
|
127
|
+
}
|
|
128
|
+
export declare class ProductCategory {
|
|
129
|
+
private readonly client;
|
|
130
|
+
constructor(client: BaseGraphQLClient);
|
|
131
|
+
shopProduct(variables: Types.ShopProductQueryVariables): QueryObservable<Types.ShopProductQuery>;
|
|
132
|
+
shopProducts(variables: Types.ShopProductsQueryVariables): QueryObservable<Types.ShopProductsQuery>;
|
|
133
|
+
shopProductOptionGroups(variables: Types.ShopProductOptionGroupsQueryVariables): QueryObservable<Types.ShopProductOptionGroupsQuery>;
|
|
134
|
+
}
|
|
135
|
+
export declare class SearchCategory {
|
|
136
|
+
private readonly client;
|
|
137
|
+
constructor(client: BaseGraphQLClient);
|
|
138
|
+
shopSearch(variables: Types.ShopSearchQueryVariables): QueryObservable<Types.ShopSearchQuery>;
|
|
139
|
+
suggest(variables: Types.SuggestQueryVariables): QueryObservable<Types.SuggestQuery>;
|
|
140
|
+
}
|
|
141
|
+
export declare class ShippingCategory {
|
|
142
|
+
private readonly client;
|
|
143
|
+
constructor(client: BaseGraphQLClient);
|
|
144
|
+
shippingRateGroups(): QueryObservable<Types.ShippingRateGroupsQuery>;
|
|
145
|
+
selectShippingRate(variables: Types.SelectShippingRateMutationVariables): QueryObservable<Types.SelectShippingRateMutation>;
|
|
146
|
+
}
|
|
147
|
+
export declare class SubscriptionCategory {
|
|
148
|
+
private readonly client;
|
|
149
|
+
constructor(client: BaseGraphQLClient);
|
|
150
|
+
mySubscriptions(): QueryObservable<Types.MySubscriptionsQuery>;
|
|
151
|
+
mySubscription(variables: Types.MySubscriptionQueryVariables): QueryObservable<Types.MySubscriptionQuery>;
|
|
152
|
+
shopCreateSubscription(variables: Types.ShopCreateSubscriptionMutationVariables): QueryObservable<Types.ShopCreateSubscriptionMutation>;
|
|
153
|
+
shopCancelSubscription(variables: Types.ShopCancelSubscriptionMutationVariables): QueryObservable<Types.ShopCancelSubscriptionMutation>;
|
|
154
|
+
shopPauseSubscription(variables: Types.ShopPauseSubscriptionMutationVariables): QueryObservable<Types.ShopPauseSubscriptionMutation>;
|
|
155
|
+
shopResumeSubscription(variables: Types.ShopResumeSubscriptionMutationVariables): QueryObservable<Types.ShopResumeSubscriptionMutation>;
|
|
156
|
+
shopChangeSubscriptionPlan(variables: Types.ShopChangeSubscriptionPlanMutationVariables): QueryObservable<Types.ShopChangeSubscriptionPlanMutation>;
|
|
157
|
+
shopChangeSubscriptionQuantity(variables: Types.ShopChangeSubscriptionQuantityMutationVariables): QueryObservable<Types.ShopChangeSubscriptionQuantityMutation>;
|
|
158
|
+
reportUsage(variables: Types.ReportUsageMutationVariables): QueryObservable<Types.ReportUsageMutation>;
|
|
159
|
+
}
|
|
160
|
+
export declare class ShopNamespace {
|
|
161
|
+
private readonly client;
|
|
162
|
+
private readonly _acf;
|
|
163
|
+
private readonly _auth;
|
|
164
|
+
private readonly _cart;
|
|
165
|
+
private readonly _checkout;
|
|
166
|
+
private readonly _collection;
|
|
167
|
+
private readonly _customer;
|
|
168
|
+
private readonly _facet;
|
|
169
|
+
private readonly _hookDispatch;
|
|
170
|
+
private readonly _hook;
|
|
171
|
+
private readonly _marketingEvent;
|
|
172
|
+
private readonly _marketingIdentity;
|
|
173
|
+
private readonly _order;
|
|
174
|
+
private readonly _payment;
|
|
175
|
+
private readonly _product;
|
|
176
|
+
private readonly _search;
|
|
177
|
+
private readonly _shipping;
|
|
178
|
+
private readonly _subscription;
|
|
179
|
+
constructor(client: BaseGraphQLClient);
|
|
180
|
+
get acf(): AcfCategory;
|
|
181
|
+
get auth(): AuthCategory;
|
|
182
|
+
get cart(): CartCategory;
|
|
183
|
+
get checkout(): CheckoutCategory;
|
|
184
|
+
get collection(): CollectionCategory;
|
|
185
|
+
get customer(): CustomerCategory;
|
|
186
|
+
get facet(): FacetCategory;
|
|
187
|
+
get hookDispatch(): HookDispatchCategory;
|
|
188
|
+
get hook(): HookCategory;
|
|
189
|
+
get marketingEvent(): MarketingEventCategory;
|
|
190
|
+
get marketingIdentity(): MarketingIdentityCategory;
|
|
191
|
+
get order(): OrderCategory;
|
|
192
|
+
get payment(): PaymentCategory;
|
|
193
|
+
get product(): ProductCategory;
|
|
194
|
+
get search(): SearchCategory;
|
|
195
|
+
get shipping(): ShippingCategory;
|
|
196
|
+
get subscription(): SubscriptionCategory;
|
|
197
|
+
}
|
|
198
|
+
export type Address = Types.ShopCustomerAddressFieldFragment;
|
|
199
|
+
export type Adjustment = Types.ShopAdjustmentFieldFragment;
|
|
200
|
+
export type BillingSubscription = Types.ShopBillingSubscriptionFieldsFragment;
|
|
201
|
+
export type Collection = Types.ShopCollectionFieldsFragment;
|
|
202
|
+
export type Customer = Types.ShopCustomerFieldFragment;
|
|
203
|
+
export type Facet = Types.ShopFacetFieldsFragment;
|
|
204
|
+
export type Order = Types.ShopOrderFieldFragment;
|
|
205
|
+
export type OrderAddress = Types.ShopOrderAddressFieldFragment;
|
|
206
|
+
export type OrderDiscount = Types.ShopDiscountFieldFragment;
|
|
207
|
+
export type OrderLine = Types.ShopOrderLineFieldFragment;
|
|
208
|
+
export type OrderTaxLine = Types.ShopTaxLineFieldFragment;
|
|
209
|
+
export type OrderTaxSummary = Types.ShopTaxSummaryFieldFragment;
|
|
210
|
+
export type PaymentGatewaySession = Types.ShopPaymentSessionFieldFragment;
|
|
211
|
+
export type PaymentGatewayToken = Types.ShopPaymentTokenFieldFragment;
|
|
212
|
+
export type ShippingLine = Types.ShopShippingLineFieldFragment;
|
|
213
|
+
export type Surcharge = Types.ShopSurchargeFieldFragment;
|