@forgecart/sdk 1.202607132106.0 → 1.202607161748.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/dist/admin-types.generated.d.ts +1049 -294
- package/dist/admin.generated.d.ts +31 -0
- package/dist/admin.generated.js +69 -0
- package/dist/documents.generated.d.ts +151 -128
- package/dist/documents.generated.js +4434 -2393
- package/dist/shop-types.generated.d.ts +281 -77
- package/package.json +1 -1
- package/src/admin-types.generated.ts +6490 -3407
- package/src/admin.generated.ts +78 -1
- package/src/documents.generated.ts +4591 -2527
- package/src/shop-types.generated.ts +265 -82
|
@@ -196,7 +196,6 @@ export type Address = {
|
|
|
196
196
|
createdAt: Scalars['DateTime']['output'];
|
|
197
197
|
defaultBillingAddress: Scalars['Boolean']['output'];
|
|
198
198
|
defaultShippingAddress: Scalars['Boolean']['output'];
|
|
199
|
-
fullName: Scalars['String']['output'];
|
|
200
199
|
id: Scalars['ID']['output'];
|
|
201
200
|
phoneNumber?: Maybe<Scalars['String']['output']>;
|
|
202
201
|
postalCode: Scalars['String']['output'];
|
|
@@ -595,6 +594,7 @@ export type ChannelSettings = {
|
|
|
595
594
|
defaultFulfillmentHandlerCode?: Maybe<Scalars['String']['output']>;
|
|
596
595
|
defaultPaymentProviderCode?: Maybe<Scalars['String']['output']>;
|
|
597
596
|
defaultWeightUnit?: Maybe<WeightUnit>;
|
|
597
|
+
emailAddress?: Maybe<Scalars['String']['output']>;
|
|
598
598
|
fxMarkupPercent: Scalars['Float']['output'];
|
|
599
599
|
fxRoundingRule: Scalars['String']['output'];
|
|
600
600
|
id: Scalars['ID']['output'];
|
|
@@ -624,6 +624,7 @@ export type ChatHistoryMessage = {
|
|
|
624
624
|
toolUse?: Maybe<Scalars['JSON']['output']>;
|
|
625
625
|
};
|
|
626
626
|
export type ChatMessage = {
|
|
627
|
+
backend?: Maybe<Scalars['String']['output']>;
|
|
627
628
|
content: Scalars['String']['output'];
|
|
628
629
|
eventId: Scalars['Int']['output'];
|
|
629
630
|
isFinal: Scalars['Boolean']['output'];
|
|
@@ -655,6 +656,7 @@ export type ChatSessionSummary = {
|
|
|
655
656
|
createdAt: Scalars['String']['output'];
|
|
656
657
|
id: Scalars['ID']['output'];
|
|
657
658
|
lastActivityAt: Scalars['String']['output'];
|
|
659
|
+
lastBackend?: Maybe<Scalars['String']['output']>;
|
|
658
660
|
messageCount: Scalars['Int']['output'];
|
|
659
661
|
origin?: Maybe<Scalars['String']['output']>;
|
|
660
662
|
status: Scalars['String']['output'];
|
|
@@ -667,6 +669,7 @@ export type ChatSessionSummaryList = {
|
|
|
667
669
|
};
|
|
668
670
|
export type ChatSessionsInput = {
|
|
669
671
|
includeArchived?: InputMaybe<Scalars['Boolean']['input']>;
|
|
672
|
+
origins?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
670
673
|
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
671
674
|
take?: InputMaybe<Scalars['Int']['input']>;
|
|
672
675
|
};
|
|
@@ -768,7 +771,6 @@ export type CreateAddressInput = {
|
|
|
768
771
|
countryId?: InputMaybe<Scalars['ID']['input']>;
|
|
769
772
|
defaultBillingAddress?: InputMaybe<Scalars['Boolean']['input']>;
|
|
770
773
|
defaultShippingAddress?: InputMaybe<Scalars['Boolean']['input']>;
|
|
771
|
-
fullName?: InputMaybe<Scalars['String']['input']>;
|
|
772
774
|
phoneNumber?: InputMaybe<Scalars['String']['input']>;
|
|
773
775
|
postalCode?: InputMaybe<Scalars['String']['input']>;
|
|
774
776
|
province?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -965,6 +967,7 @@ export type CreateProductVariantInput = {
|
|
|
965
967
|
dimensions?: InputMaybe<DimensionsInput>;
|
|
966
968
|
featuredAssetId?: InputMaybe<Scalars['ID']['input']>;
|
|
967
969
|
optionIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
970
|
+
packagePresetId?: InputMaybe<Scalars['ID']['input']>;
|
|
968
971
|
price: Scalars['Int']['input'];
|
|
969
972
|
productId: Scalars['ID']['input'];
|
|
970
973
|
sku?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -1043,14 +1046,24 @@ export type CreateSessionInput = {
|
|
|
1043
1046
|
tokenId?: InputMaybe<Scalars['ID']['input']>;
|
|
1044
1047
|
};
|
|
1045
1048
|
export type CreateShippingGatewayRoutingRuleInput = {
|
|
1049
|
+
allProviders?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1050
|
+
cities?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1046
1051
|
countryCodes?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1047
1052
|
enabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1048
|
-
flatRates?: InputMaybe<Array<ShippingRoutingFlatRateInput>>;
|
|
1049
|
-
fulfillmentType: ShippingRoutingFulfillmentType;
|
|
1050
1053
|
priority?: InputMaybe<Scalars['Int']['input']>;
|
|
1051
|
-
|
|
1054
|
+
providerCodes?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1052
1055
|
scopeType: ShippingRoutingScopeType;
|
|
1053
1056
|
stockLocationId: Scalars['ID']['input'];
|
|
1057
|
+
useFlatRates?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1058
|
+
};
|
|
1059
|
+
export type CreateShippingPackagePresetInput = {
|
|
1060
|
+
dimensions?: InputMaybe<ShippingPackagePresetDimensionsInput>;
|
|
1061
|
+
easypostPredefinedPackage?: InputMaybe<Scalars['String']['input']>;
|
|
1062
|
+
isDefault?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1063
|
+
kind: ShippingPackagePresetKind;
|
|
1064
|
+
name: Scalars['String']['input'];
|
|
1065
|
+
shippoTemplate?: InputMaybe<Scalars['String']['input']>;
|
|
1066
|
+
tareWeightGrams?: InputMaybe<Scalars['Int']['input']>;
|
|
1054
1067
|
};
|
|
1055
1068
|
export type CreateShopSubscriptionInput = {
|
|
1056
1069
|
defaultTokenId?: InputMaybe<Scalars['ID']['input']>;
|
|
@@ -1060,7 +1073,6 @@ export type CreateStockLocationAddressInput = {
|
|
|
1060
1073
|
city: Scalars['String']['input'];
|
|
1061
1074
|
company?: InputMaybe<Scalars['String']['input']>;
|
|
1062
1075
|
countryCode: Scalars['String']['input'];
|
|
1063
|
-
fullName?: InputMaybe<Scalars['String']['input']>;
|
|
1064
1076
|
phoneNumber?: InputMaybe<Scalars['String']['input']>;
|
|
1065
1077
|
postalCode: Scalars['String']['input'];
|
|
1066
1078
|
province?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -1093,6 +1105,8 @@ export type CreateSubscriptionVariantConfigInput = {
|
|
|
1093
1105
|
variantId: Scalars['ID']['input'];
|
|
1094
1106
|
};
|
|
1095
1107
|
export type CreateTaxCategoryInput = {
|
|
1108
|
+
exempt?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1109
|
+
externalCodes?: InputMaybe<Array<TaxCategoryExternalCodeInput>>;
|
|
1096
1110
|
isDefault?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1097
1111
|
name: Scalars['String']['input'];
|
|
1098
1112
|
};
|
|
@@ -1510,6 +1524,12 @@ export type FulfillmentRequestLine = {
|
|
|
1510
1524
|
quantity: Scalars['Int']['output'];
|
|
1511
1525
|
updatedAt: Scalars['DateTime']['output'];
|
|
1512
1526
|
};
|
|
1527
|
+
export type FulfillmentStateTransition = {
|
|
1528
|
+
fromState: Scalars['String']['output'];
|
|
1529
|
+
fulfillmentId: Scalars['ID']['output'];
|
|
1530
|
+
orderId: Scalars['ID']['output'];
|
|
1531
|
+
toState: Scalars['String']['output'];
|
|
1532
|
+
};
|
|
1513
1533
|
export type GenerateDeviceCodeInput = {
|
|
1514
1534
|
apiUrl: Scalars['String']['input'];
|
|
1515
1535
|
};
|
|
@@ -1631,6 +1651,8 @@ export type ManageablePlugin = {
|
|
|
1631
1651
|
tags: Array<Scalars['String']['output']>;
|
|
1632
1652
|
toggable: Scalars['Boolean']['output'];
|
|
1633
1653
|
updatedAt: Scalars['DateTime']['output'];
|
|
1654
|
+
webhookPath?: Maybe<Scalars['String']['output']>;
|
|
1655
|
+
webhookSigned: Scalars['Boolean']['output'];
|
|
1634
1656
|
};
|
|
1635
1657
|
export type ManageablePluginConfigItem = {
|
|
1636
1658
|
code: Scalars['String']['output'];
|
|
@@ -1875,6 +1897,7 @@ export type Mutation = {
|
|
|
1875
1897
|
cancelMission: Mission;
|
|
1876
1898
|
cancelOrder: Order;
|
|
1877
1899
|
cancelPaymentSession: PaymentGatewaySession;
|
|
1900
|
+
cancelPickup: ShippingGatewayPickup;
|
|
1878
1901
|
cancelSubscription: BillingSubscription;
|
|
1879
1902
|
changeFulfillmentRequestDeliveryMethod: FulfillmentRequest;
|
|
1880
1903
|
changeSubscriptionPlan: BillingSubscription;
|
|
@@ -1885,6 +1908,8 @@ export type Mutation = {
|
|
|
1885
1908
|
completeDraft: Order;
|
|
1886
1909
|
completeOnboardingShop: CompleteOnboardingShopResult;
|
|
1887
1910
|
confirmPaymentSession: PaymentGatewaySession;
|
|
1911
|
+
correctBillingAddress: Order;
|
|
1912
|
+
correctShippingAddress: Order;
|
|
1888
1913
|
createAdministrator: Administrator;
|
|
1889
1914
|
createAsset: Asset;
|
|
1890
1915
|
createAssetFromUrl: Asset;
|
|
@@ -1920,6 +1945,7 @@ export type Mutation = {
|
|
|
1920
1945
|
createSellingPlanGroup: SellingPlanGroup;
|
|
1921
1946
|
createShippingGatewayRoutingRule: ShippingGatewayRoutingRule;
|
|
1922
1947
|
createShippingLabel: ShippingGatewayLabel;
|
|
1948
|
+
createShippingPackagePreset: ShippingPackagePreset;
|
|
1923
1949
|
createStockLocation: StockLocation;
|
|
1924
1950
|
createSubscription: BillingSubscription;
|
|
1925
1951
|
createSubscriptionVariantConfig: SubscriptionVariantConfig;
|
|
@@ -1959,6 +1985,7 @@ export type Mutation = {
|
|
|
1959
1985
|
deleteSellingPlan: SellingPlan;
|
|
1960
1986
|
deleteSellingPlanGroup: SellingPlanGroup;
|
|
1961
1987
|
deleteShippingGatewayRoutingRule: Scalars['Boolean']['output'];
|
|
1988
|
+
deleteShippingPackagePreset: Scalars['Boolean']['output'];
|
|
1962
1989
|
deleteStockLocation: DeletionResponse;
|
|
1963
1990
|
deleteSubscriptionVariantConfig: SubscriptionVariantConfig;
|
|
1964
1991
|
deleteTaxCategory: DeletionResponse;
|
|
@@ -1974,6 +2001,7 @@ export type Mutation = {
|
|
|
1974
2001
|
enqueueChatMessage: Scalars['Int']['output'];
|
|
1975
2002
|
evaluateAudienceSegment: AudienceSegmentEvaluationResult;
|
|
1976
2003
|
generateDeviceCode: DeviceCodeResponse;
|
|
2004
|
+
hideShippingPackagePreset: ShippingPackagePreset;
|
|
1977
2005
|
holdForQualityControl: StockMovement;
|
|
1978
2006
|
ingestMarketingEvent: IngestMarketingEventResult;
|
|
1979
2007
|
inviteTeamMember: Administrator;
|
|
@@ -1984,15 +2012,18 @@ export type Mutation = {
|
|
|
1984
2012
|
moveCollection: Collection;
|
|
1985
2013
|
moveFulfillmentRequest: FulfillmentRequest;
|
|
1986
2014
|
pauseSubscription: BillingSubscription;
|
|
2015
|
+
pinOrderLineStockLocation: Order;
|
|
1987
2016
|
pollDeviceToken?: Maybe<DeviceTokenResponse>;
|
|
1988
2017
|
provisionChannel: ProvisionChannelResult;
|
|
1989
2018
|
publish: PublishLog;
|
|
1990
2019
|
publishDeployment: Deployment;
|
|
1991
2020
|
reactivateSubscription: BillingSubscription;
|
|
1992
2021
|
receiveIncomingStock: StockMovement;
|
|
2022
|
+
rechargeShippingCostDelta: ModifyOrderResult;
|
|
1993
2023
|
recomputeAttribution: MarketingAttribution;
|
|
1994
2024
|
recordIncomingStock: StockMovement;
|
|
1995
2025
|
refreshDeploymentStatus: Deployment;
|
|
2026
|
+
refreshRatesForShipment: Array<ShipmentRate>;
|
|
1996
2027
|
refreshShippingRateGroups: Array<ShippingGatewayRateGroup>;
|
|
1997
2028
|
refundOrder: Refund;
|
|
1998
2029
|
refundPayment: Refund;
|
|
@@ -2011,8 +2042,11 @@ export type Mutation = {
|
|
|
2011
2042
|
removeProductsFromChannel: Array<Product>;
|
|
2012
2043
|
removePromotionFromChannel: Promotion;
|
|
2013
2044
|
removeStockLocationFromChannel: StockLocation;
|
|
2045
|
+
renewShipmentRates: Array<ShipmentRate>;
|
|
2014
2046
|
reorderShippingGatewayRoutingRules: Array<ShippingGatewayRoutingRule>;
|
|
2047
|
+
replaceStockLocationFlatRates: Array<StockLocationFlatRate>;
|
|
2015
2048
|
reportDamagedStock: StockMovement;
|
|
2049
|
+
requestPickup: ShippingGatewayPickup;
|
|
2016
2050
|
resendAdministratorVerification: Scalars['Boolean']['output'];
|
|
2017
2051
|
reserveStock: StockMovement;
|
|
2018
2052
|
respondToHookDispatch: Scalars['Boolean']['output'];
|
|
@@ -2020,6 +2054,7 @@ export type Mutation = {
|
|
|
2020
2054
|
rollbackTransaction: DeletionResponse;
|
|
2021
2055
|
saveToken: PaymentGatewayToken;
|
|
2022
2056
|
scaleDeployment: Deployment;
|
|
2057
|
+
selectRateForShipment: ShippingGatewayRateGroup;
|
|
2023
2058
|
selectShippingRate: Order;
|
|
2024
2059
|
sendChatMessage: Array<ChatMessage>;
|
|
2025
2060
|
sendMissionMessage: Mission;
|
|
@@ -2027,6 +2062,8 @@ export type Mutation = {
|
|
|
2027
2062
|
setConfigurationItemValue?: Maybe<Scalars['Boolean']['output']>;
|
|
2028
2063
|
setCustomerForDraftOrder: Order;
|
|
2029
2064
|
setCustomerForOrder: Order;
|
|
2065
|
+
setDefaultShippingPackagePreset: ShippingPackagePreset;
|
|
2066
|
+
setDefaultTaxCategory: TaxCategory;
|
|
2030
2067
|
setDefaultToken: PaymentGatewayToken;
|
|
2031
2068
|
setDeploymentEnv: Deployment;
|
|
2032
2069
|
setManualShippingRate: Order;
|
|
@@ -2039,6 +2076,7 @@ export type Mutation = {
|
|
|
2039
2076
|
transitionFulfillmentToState: Fulfillment;
|
|
2040
2077
|
transitionOrderToState: Order;
|
|
2041
2078
|
triggerScheduledJob: ScheduledJobRun;
|
|
2079
|
+
unhideShippingPackagePreset: ShippingPackagePreset;
|
|
2042
2080
|
unreserveStock: StockMovement;
|
|
2043
2081
|
unsetBillingAddress: Order;
|
|
2044
2082
|
unsetDeploymentEnv: Deployment;
|
|
@@ -2076,6 +2114,7 @@ export type Mutation = {
|
|
|
2076
2114
|
updateSellingPlanGroup: SellingPlanGroup;
|
|
2077
2115
|
updateShippingGatewayRoutingRule: ShippingGatewayRoutingRule;
|
|
2078
2116
|
updateShippingLabel: ShippingGatewayLabel;
|
|
2117
|
+
updateShippingPackagePreset: ShippingPackagePreset;
|
|
2079
2118
|
updateStockLocation: StockLocation;
|
|
2080
2119
|
updateSubscriptionVariantConfig: SubscriptionVariantConfig;
|
|
2081
2120
|
updateTaxCategory: TaxCategory;
|
|
@@ -2161,6 +2200,9 @@ export type MutationcancelOrderArgs = {
|
|
|
2161
2200
|
export type MutationcancelPaymentSessionArgs = {
|
|
2162
2201
|
paymentId: Scalars['ID']['input'];
|
|
2163
2202
|
};
|
|
2203
|
+
export type MutationcancelPickupArgs = {
|
|
2204
|
+
pickupId: Scalars['ID']['input'];
|
|
2205
|
+
};
|
|
2164
2206
|
export type MutationcancelSubscriptionArgs = {
|
|
2165
2207
|
input: CancelSubscriptionInput;
|
|
2166
2208
|
};
|
|
@@ -2191,6 +2233,12 @@ export type MutationcompleteOnboardingShopArgs = {
|
|
|
2191
2233
|
export type MutationconfirmPaymentSessionArgs = {
|
|
2192
2234
|
sessionId: Scalars['ID']['input'];
|
|
2193
2235
|
};
|
|
2236
|
+
export type MutationcorrectBillingAddressArgs = {
|
|
2237
|
+
input: SetBillingAddressInput;
|
|
2238
|
+
};
|
|
2239
|
+
export type MutationcorrectShippingAddressArgs = {
|
|
2240
|
+
input: SetShippingAddressInput;
|
|
2241
|
+
};
|
|
2194
2242
|
export type MutationcreateAdministratorArgs = {
|
|
2195
2243
|
input: CreateAdministratorInput;
|
|
2196
2244
|
};
|
|
@@ -2294,6 +2342,9 @@ export type MutationcreateShippingGatewayRoutingRuleArgs = {
|
|
|
2294
2342
|
export type MutationcreateShippingLabelArgs = {
|
|
2295
2343
|
input: CreateLabelServiceInput;
|
|
2296
2344
|
};
|
|
2345
|
+
export type MutationcreateShippingPackagePresetArgs = {
|
|
2346
|
+
input: CreateShippingPackagePresetInput;
|
|
2347
|
+
};
|
|
2297
2348
|
export type MutationcreateStockLocationArgs = {
|
|
2298
2349
|
input: CreateStockLocationInput;
|
|
2299
2350
|
};
|
|
@@ -2412,6 +2463,9 @@ export type MutationdeleteSellingPlanGroupArgs = {
|
|
|
2412
2463
|
export type MutationdeleteShippingGatewayRoutingRuleArgs = {
|
|
2413
2464
|
id: Scalars['ID']['input'];
|
|
2414
2465
|
};
|
|
2466
|
+
export type MutationdeleteShippingPackagePresetArgs = {
|
|
2467
|
+
id: Scalars['ID']['input'];
|
|
2468
|
+
};
|
|
2415
2469
|
export type MutationdeleteStockLocationArgs = {
|
|
2416
2470
|
id: Scalars['ID']['input'];
|
|
2417
2471
|
};
|
|
@@ -2457,6 +2511,9 @@ export type MutationevaluateAudienceSegmentArgs = {
|
|
|
2457
2511
|
export type MutationgenerateDeviceCodeArgs = {
|
|
2458
2512
|
input: GenerateDeviceCodeInput;
|
|
2459
2513
|
};
|
|
2514
|
+
export type MutationhideShippingPackagePresetArgs = {
|
|
2515
|
+
id: Scalars['ID']['input'];
|
|
2516
|
+
};
|
|
2460
2517
|
export type MutationholdForQualityControlArgs = {
|
|
2461
2518
|
input: HoldForQualityControlInput;
|
|
2462
2519
|
};
|
|
@@ -2484,6 +2541,9 @@ export type MutationmoveFulfillmentRequestArgs = {
|
|
|
2484
2541
|
export type MutationpauseSubscriptionArgs = {
|
|
2485
2542
|
id: Scalars['ID']['input'];
|
|
2486
2543
|
};
|
|
2544
|
+
export type MutationpinOrderLineStockLocationArgs = {
|
|
2545
|
+
input: PinOrderLineStockLocationInput;
|
|
2546
|
+
};
|
|
2487
2547
|
export type MutationpollDeviceTokenArgs = {
|
|
2488
2548
|
deviceCode: Scalars['String']['input'];
|
|
2489
2549
|
};
|
|
@@ -2502,6 +2562,9 @@ export type MutationreactivateSubscriptionArgs = {
|
|
|
2502
2562
|
export type MutationreceiveIncomingStockArgs = {
|
|
2503
2563
|
input: ReceiveIncomingStockInput;
|
|
2504
2564
|
};
|
|
2565
|
+
export type MutationrechargeShippingCostDeltaArgs = {
|
|
2566
|
+
input: RechargeShippingCostDeltaInput;
|
|
2567
|
+
};
|
|
2505
2568
|
export type MutationrecomputeAttributionArgs = {
|
|
2506
2569
|
orderId: Scalars['ID']['input'];
|
|
2507
2570
|
};
|
|
@@ -2511,6 +2574,9 @@ export type MutationrecordIncomingStockArgs = {
|
|
|
2511
2574
|
export type MutationrefreshDeploymentStatusArgs = {
|
|
2512
2575
|
type: DeploymentType;
|
|
2513
2576
|
};
|
|
2577
|
+
export type MutationrefreshRatesForShipmentArgs = {
|
|
2578
|
+
fulfillmentRequestId: Scalars['ID']['input'];
|
|
2579
|
+
};
|
|
2514
2580
|
export type MutationrefreshShippingRateGroupsArgs = {
|
|
2515
2581
|
input: RefreshShippingRateGroupsInput;
|
|
2516
2582
|
};
|
|
@@ -2562,12 +2628,21 @@ export type MutationremovePromotionFromChannelArgs = {
|
|
|
2562
2628
|
export type MutationremoveStockLocationFromChannelArgs = {
|
|
2563
2629
|
input: RemoveStockLocationFromChannelInput;
|
|
2564
2630
|
};
|
|
2631
|
+
export type MutationrenewShipmentRatesArgs = {
|
|
2632
|
+
fulfillmentRequestId: Scalars['ID']['input'];
|
|
2633
|
+
};
|
|
2565
2634
|
export type MutationreorderShippingGatewayRoutingRulesArgs = {
|
|
2566
2635
|
input: ReorderShippingGatewayRoutingRulesInput;
|
|
2567
2636
|
};
|
|
2637
|
+
export type MutationreplaceStockLocationFlatRatesArgs = {
|
|
2638
|
+
input: ReplaceStockLocationFlatRatesInput;
|
|
2639
|
+
};
|
|
2568
2640
|
export type MutationreportDamagedStockArgs = {
|
|
2569
2641
|
input: ReportDamagedStockInput;
|
|
2570
2642
|
};
|
|
2643
|
+
export type MutationrequestPickupArgs = {
|
|
2644
|
+
input: RequestPickupInput;
|
|
2645
|
+
};
|
|
2571
2646
|
export type MutationresendAdministratorVerificationArgs = {
|
|
2572
2647
|
input: ResendAdministratorVerificationInput;
|
|
2573
2648
|
};
|
|
@@ -2589,6 +2664,9 @@ export type MutationsaveTokenArgs = {
|
|
|
2589
2664
|
export type MutationscaleDeploymentArgs = {
|
|
2590
2665
|
input: ScaleDeploymentInput;
|
|
2591
2666
|
};
|
|
2667
|
+
export type MutationselectRateForShipmentArgs = {
|
|
2668
|
+
input: SelectRateForShipmentInput;
|
|
2669
|
+
};
|
|
2592
2670
|
export type MutationselectShippingRateArgs = {
|
|
2593
2671
|
input: SelectShippingRateInput;
|
|
2594
2672
|
};
|
|
@@ -2610,6 +2688,12 @@ export type MutationsetCustomerForDraftOrderArgs = {
|
|
|
2610
2688
|
export type MutationsetCustomerForOrderArgs = {
|
|
2611
2689
|
input: SetCustomerForOrderInput;
|
|
2612
2690
|
};
|
|
2691
|
+
export type MutationsetDefaultShippingPackagePresetArgs = {
|
|
2692
|
+
id: Scalars['ID']['input'];
|
|
2693
|
+
};
|
|
2694
|
+
export type MutationsetDefaultTaxCategoryArgs = {
|
|
2695
|
+
id: Scalars['ID']['input'];
|
|
2696
|
+
};
|
|
2613
2697
|
export type MutationsetDefaultTokenArgs = {
|
|
2614
2698
|
tokenId: Scalars['ID']['input'];
|
|
2615
2699
|
};
|
|
@@ -2646,6 +2730,9 @@ export type MutationtransitionOrderToStateArgs = {
|
|
|
2646
2730
|
export type MutationtriggerScheduledJobArgs = {
|
|
2647
2731
|
id: Scalars['ID']['input'];
|
|
2648
2732
|
};
|
|
2733
|
+
export type MutationunhideShippingPackagePresetArgs = {
|
|
2734
|
+
id: Scalars['ID']['input'];
|
|
2735
|
+
};
|
|
2649
2736
|
export type MutationunreserveStockArgs = {
|
|
2650
2737
|
input: UnreserveStockInput;
|
|
2651
2738
|
};
|
|
@@ -2759,6 +2846,9 @@ export type MutationupdateShippingGatewayRoutingRuleArgs = {
|
|
|
2759
2846
|
export type MutationupdateShippingLabelArgs = {
|
|
2760
2847
|
input: UpdateShippingLabelInput;
|
|
2761
2848
|
};
|
|
2849
|
+
export type MutationupdateShippingPackagePresetArgs = {
|
|
2850
|
+
input: UpdateShippingPackagePresetInput;
|
|
2851
|
+
};
|
|
2762
2852
|
export type MutationupdateStockLocationArgs = {
|
|
2763
2853
|
input: UpdateStockLocationInput;
|
|
2764
2854
|
};
|
|
@@ -2840,6 +2930,7 @@ export type Order = {
|
|
|
2840
2930
|
promotions: Array<Promotion>;
|
|
2841
2931
|
recentShippingMethod?: Maybe<ShippingGatewayRate>;
|
|
2842
2932
|
recentToken?: Maybe<PaymentGatewayToken>;
|
|
2933
|
+
refundableTotal: Scalars['Int']['output'];
|
|
2843
2934
|
sellingPlanId?: Maybe<Scalars['ID']['output']>;
|
|
2844
2935
|
shipping: Scalars['Int']['output'];
|
|
2845
2936
|
shippingAddress?: Maybe<OrderAddress>;
|
|
@@ -2865,7 +2956,6 @@ export type OrderAddress = {
|
|
|
2865
2956
|
city?: Maybe<Scalars['String']['output']>;
|
|
2866
2957
|
company?: Maybe<Scalars['String']['output']>;
|
|
2867
2958
|
country?: Maybe<Country>;
|
|
2868
|
-
fullName?: Maybe<Scalars['String']['output']>;
|
|
2869
2959
|
phoneNumber?: Maybe<Scalars['String']['output']>;
|
|
2870
2960
|
postalCode?: Maybe<Scalars['String']['output']>;
|
|
2871
2961
|
province?: Maybe<Scalars['String']['output']>;
|
|
@@ -2905,6 +2995,7 @@ export type OrderLine = {
|
|
|
2905
2995
|
listPrice: Scalars['Int']['output'];
|
|
2906
2996
|
listPriceIncludesTax: Scalars['Boolean']['output'];
|
|
2907
2997
|
orderPlacedQuantity: Scalars['Int']['output'];
|
|
2998
|
+
pinnedStockLocationId?: Maybe<Scalars['ID']['output']>;
|
|
2908
2999
|
productVariant: ProductVariant;
|
|
2909
3000
|
productVariantId: Scalars['ID']['output'];
|
|
2910
3001
|
quantity: Scalars['Int']['output'];
|
|
@@ -2951,6 +3042,39 @@ export type OrderRevenuePoint = {
|
|
|
2951
3042
|
orderCount: Scalars['Int']['output'];
|
|
2952
3043
|
revenueMinor: Scalars['Int']['output'];
|
|
2953
3044
|
};
|
|
3045
|
+
export type OrderShipment = {
|
|
3046
|
+
activePickup?: Maybe<ShippingGatewayPickup>;
|
|
3047
|
+
cost: OrderShipmentCost;
|
|
3048
|
+
fulfillment?: Maybe<Fulfillment>;
|
|
3049
|
+
fulfillmentRequest?: Maybe<FulfillmentRequest>;
|
|
3050
|
+
labels: Array<ShippingGatewayLabel>;
|
|
3051
|
+
rateGroup: ShippingGatewayRateGroup;
|
|
3052
|
+
requiresRerate: Scalars['Boolean']['output'];
|
|
3053
|
+
selectedRate?: Maybe<ShippingGatewayRate>;
|
|
3054
|
+
tracking?: Maybe<ShippingGatewayTracking>;
|
|
3055
|
+
};
|
|
3056
|
+
export type OrderShipmentCost = {
|
|
3057
|
+
collectedAmount: Scalars['Int']['output'];
|
|
3058
|
+
costDelta: Scalars['Int']['output'];
|
|
3059
|
+
currencyCode: Scalars['String']['output'];
|
|
3060
|
+
labelCostAmount: Scalars['Int']['output'];
|
|
3061
|
+
refundPendingTotal: Scalars['Int']['output'];
|
|
3062
|
+
refundedTotal: Scalars['Int']['output'];
|
|
3063
|
+
};
|
|
3064
|
+
export type OrderShipmentsView = {
|
|
3065
|
+
labelHistory: Array<ShippingGatewayLabel>;
|
|
3066
|
+
shipments: Array<OrderShipment>;
|
|
3067
|
+
strandedLabels: Array<ShippingGatewayLabel>;
|
|
3068
|
+
summary: OrderShippingCostSummary;
|
|
3069
|
+
};
|
|
3070
|
+
export type OrderShippingCostSummary = {
|
|
3071
|
+
collectedTotal: Scalars['Int']['output'];
|
|
3072
|
+
currencyCode: Scalars['String']['output'];
|
|
3073
|
+
delta: Scalars['Int']['output'];
|
|
3074
|
+
labelCostTotal: Scalars['Int']['output'];
|
|
3075
|
+
refundPendingTotal: Scalars['Int']['output'];
|
|
3076
|
+
refundedTotal: Scalars['Int']['output'];
|
|
3077
|
+
};
|
|
2954
3078
|
export type OrderTaxLine = {
|
|
2955
3079
|
description: Scalars['String']['output'];
|
|
2956
3080
|
provider?: Maybe<Scalars['String']['output']>;
|
|
@@ -3030,6 +3154,16 @@ export type PaymentProviderQuote = {
|
|
|
3030
3154
|
providerCode: Scalars['String']['output'];
|
|
3031
3155
|
providerName: Scalars['String']['output'];
|
|
3032
3156
|
};
|
|
3157
|
+
export type PinOrderLineStockLocationInput = {
|
|
3158
|
+
orderId: Scalars['ID']['input'];
|
|
3159
|
+
orderLineId: Scalars['ID']['input'];
|
|
3160
|
+
/**
|
|
3161
|
+
* The stock location this line must ship from — must stock the line's
|
|
3162
|
+
* variant. Null clears the pin, returning the line to automatic planning
|
|
3163
|
+
* (destination-country preference, then availability).
|
|
3164
|
+
*/
|
|
3165
|
+
stockLocationId?: InputMaybe<Scalars['ID']['input']>;
|
|
3166
|
+
};
|
|
3033
3167
|
export type PluginStatus = 'DISABLED' | 'ENABLED' | 'INPROGRESS';
|
|
3034
3168
|
export type PricingPolicy = 'fixed_amount' | 'none' | 'percentage';
|
|
3035
3169
|
export type Product = {
|
|
@@ -3098,6 +3232,7 @@ export type ProductVariant = {
|
|
|
3098
3232
|
name: Scalars['String']['output'];
|
|
3099
3233
|
options: Array<ProductOption>;
|
|
3100
3234
|
outOfStockThreshold: Scalars['Int']['output'];
|
|
3235
|
+
packagePresetId?: Maybe<Scalars['ID']['output']>;
|
|
3101
3236
|
price: Scalars['Int']['output'];
|
|
3102
3237
|
priceWithTax: Scalars['Int']['output'];
|
|
3103
3238
|
prices: Array<ProductVariantPrice>;
|
|
@@ -3218,6 +3353,7 @@ export type Query = {
|
|
|
3218
3353
|
audienceSegment?: Maybe<AudienceSegment>;
|
|
3219
3354
|
audienceSegmentByCode?: Maybe<AudienceSegment>;
|
|
3220
3355
|
audienceSegments: AudienceSegmentList;
|
|
3356
|
+
availablePackageTemplates: Array<ShippingPackageTemplate>;
|
|
3221
3357
|
availableShippingProviders: Array<ShippingProvider>;
|
|
3222
3358
|
availableStock: Scalars['Int']['output'];
|
|
3223
3359
|
availableTaxProviders: Array<TaxProviderOption>;
|
|
@@ -3287,6 +3423,7 @@ export type Query = {
|
|
|
3287
3423
|
orderHistory: HistoryEntryList;
|
|
3288
3424
|
orderModifications: Array<OrderModification>;
|
|
3289
3425
|
orderNotes: HistoryEntryList;
|
|
3426
|
+
orderShipments: OrderShipmentsView;
|
|
3290
3427
|
orders: OrderList;
|
|
3291
3428
|
paymentGatewayRefunds: Array<PaymentGatewayRefund>;
|
|
3292
3429
|
paymentSession?: Maybe<PaymentGatewaySession>;
|
|
@@ -3316,8 +3453,10 @@ export type Query = {
|
|
|
3316
3453
|
sellingPlanGroups: SellingPlanGroupList;
|
|
3317
3454
|
shippingGatewayRoutingRules: Array<ShippingGatewayRoutingRule>;
|
|
3318
3455
|
shippingLabels: Array<ShippingGatewayLabel>;
|
|
3456
|
+
shippingPackagePresets: Array<ShippingPackagePreset>;
|
|
3319
3457
|
shippingRateGroups: Array<ShippingGatewayRateGroup>;
|
|
3320
3458
|
stockLocation?: Maybe<StockLocation>;
|
|
3459
|
+
stockLocationFlatRates: Array<StockLocationFlatRate>;
|
|
3321
3460
|
stockLocations: StockLocationList;
|
|
3322
3461
|
stockMovements: StockMovementList;
|
|
3323
3462
|
subscription?: Maybe<BillingSubscription>;
|
|
@@ -3326,6 +3465,7 @@ export type Query = {
|
|
|
3326
3465
|
subscriptions: BillingSubscriptionList;
|
|
3327
3466
|
taxCategories: TaxCategoryList;
|
|
3328
3467
|
taxCategory?: Maybe<TaxCategory>;
|
|
3468
|
+
taxProviderTaxCodes: Array<TaxProviderTaxCode>;
|
|
3329
3469
|
taxRate?: Maybe<TaxRate>;
|
|
3330
3470
|
taxRates: TaxRateList;
|
|
3331
3471
|
topProducts: Array<TopProduct>;
|
|
@@ -3544,6 +3684,9 @@ export type QueryorderModificationsArgs = {
|
|
|
3544
3684
|
export type QueryorderNotesArgs = {
|
|
3545
3685
|
input: OrderNotesInput;
|
|
3546
3686
|
};
|
|
3687
|
+
export type QueryorderShipmentsArgs = {
|
|
3688
|
+
orderId: Scalars['ID']['input'];
|
|
3689
|
+
};
|
|
3547
3690
|
export type QueryordersArgs = {
|
|
3548
3691
|
options?: InputMaybe<ListQueryOptions>;
|
|
3549
3692
|
};
|
|
@@ -3628,6 +3771,9 @@ export type QueryshippingRateGroupsArgs = {
|
|
|
3628
3771
|
export type QuerystockLocationArgs = {
|
|
3629
3772
|
id: Scalars['ID']['input'];
|
|
3630
3773
|
};
|
|
3774
|
+
export type QuerystockLocationFlatRatesArgs = {
|
|
3775
|
+
stockLocationId: Scalars['ID']['input'];
|
|
3776
|
+
};
|
|
3631
3777
|
export type QuerystockLocationsArgs = {
|
|
3632
3778
|
options?: InputMaybe<ListQueryOptions>;
|
|
3633
3779
|
};
|
|
@@ -3649,6 +3795,9 @@ export type QuerytaxCategoriesArgs = {
|
|
|
3649
3795
|
export type QuerytaxCategoryArgs = {
|
|
3650
3796
|
id: Scalars['ID']['input'];
|
|
3651
3797
|
};
|
|
3798
|
+
export type QuerytaxProviderTaxCodesArgs = {
|
|
3799
|
+
providerCode: Scalars['String']['input'];
|
|
3800
|
+
};
|
|
3652
3801
|
export type QuerytaxRateArgs = {
|
|
3653
3802
|
id: Scalars['ID']['input'];
|
|
3654
3803
|
};
|
|
@@ -3674,12 +3823,24 @@ export type QueryzoneArgs = {
|
|
|
3674
3823
|
export type QueryzonesArgs = {
|
|
3675
3824
|
options?: InputMaybe<ListQueryOptions>;
|
|
3676
3825
|
};
|
|
3826
|
+
export type RateFetchFailure = {
|
|
3827
|
+
errorCode: Scalars['String']['output'];
|
|
3828
|
+
providerCode: Scalars['String']['output'];
|
|
3829
|
+
providerName: Scalars['String']['output'];
|
|
3830
|
+
variables: Scalars['JSON']['output'];
|
|
3831
|
+
};
|
|
3677
3832
|
export type ReceiveIncomingStockInput = {
|
|
3678
3833
|
note?: InputMaybe<Scalars['String']['input']>;
|
|
3679
3834
|
quantity: Scalars['Int']['input'];
|
|
3680
3835
|
stockLocationId: Scalars['ID']['input'];
|
|
3681
3836
|
variantId: Scalars['ID']['input'];
|
|
3682
3837
|
};
|
|
3838
|
+
export type RechargeShippingCostDeltaInput = {
|
|
3839
|
+
amount: Scalars['Int']['input'];
|
|
3840
|
+
fulfillmentRequestId?: InputMaybe<Scalars['ID']['input']>;
|
|
3841
|
+
note?: InputMaybe<Scalars['String']['input']>;
|
|
3842
|
+
orderId: Scalars['ID']['input'];
|
|
3843
|
+
};
|
|
3683
3844
|
export type RecordIncomingStockInput = {
|
|
3684
3845
|
note?: InputMaybe<Scalars['String']['input']>;
|
|
3685
3846
|
quantity: Scalars['Int']['input'];
|
|
@@ -3800,6 +3961,10 @@ export type ReorderShippingGatewayRoutingRulesInput = {
|
|
|
3800
3961
|
ruleIds: Array<Scalars['ID']['input']>;
|
|
3801
3962
|
stockLocationId: Scalars['ID']['input'];
|
|
3802
3963
|
};
|
|
3964
|
+
export type ReplaceStockLocationFlatRatesInput = {
|
|
3965
|
+
flatRates: Array<StockLocationFlatRateInput>;
|
|
3966
|
+
stockLocationId: Scalars['ID']['input'];
|
|
3967
|
+
};
|
|
3803
3968
|
export type ReportDamagedStockInput = {
|
|
3804
3969
|
note?: InputMaybe<Scalars['String']['input']>;
|
|
3805
3970
|
quantity: Scalars['Int']['input'];
|
|
@@ -3813,6 +3978,13 @@ export type ReportUsageInput = {
|
|
|
3813
3978
|
subscriptionId: Scalars['ID']['input'];
|
|
3814
3979
|
timestamp?: InputMaybe<Scalars['DateTime']['input']>;
|
|
3815
3980
|
};
|
|
3981
|
+
export type RequestPickupInput = {
|
|
3982
|
+
fulfillmentId: Scalars['ID']['input'];
|
|
3983
|
+
instructions?: InputMaybe<Scalars['String']['input']>;
|
|
3984
|
+
orderId: Scalars['ID']['input'];
|
|
3985
|
+
requestedEndAt?: InputMaybe<Scalars['DateTime']['input']>;
|
|
3986
|
+
requestedStartAt?: InputMaybe<Scalars['DateTime']['input']>;
|
|
3987
|
+
};
|
|
3816
3988
|
export type RequestUpdateCustomerEmailInput = {
|
|
3817
3989
|
newEmailAddress: Scalars['String']['input'];
|
|
3818
3990
|
password: Scalars['String']['input'];
|
|
@@ -3980,6 +4152,10 @@ export type SearchSuggestResult = {
|
|
|
3980
4152
|
items: Array<SearchSuggestItem>;
|
|
3981
4153
|
totalItems: Scalars['Int']['output'];
|
|
3982
4154
|
};
|
|
4155
|
+
export type SelectRateForShipmentInput = {
|
|
4156
|
+
fulfillmentRequestId: Scalars['ID']['input'];
|
|
4157
|
+
rateId: Scalars['ID']['input'];
|
|
4158
|
+
};
|
|
3983
4159
|
export type SelectRateInput = {
|
|
3984
4160
|
rateGroupId: Scalars['ID']['input'];
|
|
3985
4161
|
rateId: Scalars['ID']['input'];
|
|
@@ -4109,6 +4285,20 @@ export type SettleRefundInput = {
|
|
|
4109
4285
|
id: Scalars['ID']['input'];
|
|
4110
4286
|
transactionId: Scalars['String']['input'];
|
|
4111
4287
|
};
|
|
4288
|
+
export type ShipmentRate = {
|
|
4289
|
+
amount: Scalars['Int']['output'];
|
|
4290
|
+
carrier: Scalars['String']['output'];
|
|
4291
|
+
consumedByLabelId?: Maybe<Scalars['ID']['output']>;
|
|
4292
|
+
currency: Scalars['String']['output'];
|
|
4293
|
+
estimated: Scalars['Boolean']['output'];
|
|
4294
|
+
estimatedDays?: Maybe<Scalars['Int']['output']>;
|
|
4295
|
+
extRateId: Scalars['String']['output'];
|
|
4296
|
+
id: Scalars['ID']['output'];
|
|
4297
|
+
providerCode: Scalars['String']['output'];
|
|
4298
|
+
selected: Scalars['Boolean']['output'];
|
|
4299
|
+
service: Scalars['String']['output'];
|
|
4300
|
+
suggested: Scalars['Boolean']['output'];
|
|
4301
|
+
};
|
|
4112
4302
|
export type ShippingGatewayCarrier = {
|
|
4113
4303
|
code: Scalars['String']['output'];
|
|
4114
4304
|
enabled: Scalars['Boolean']['output'];
|
|
@@ -4118,20 +4308,46 @@ export type ShippingGatewayCarrier = {
|
|
|
4118
4308
|
};
|
|
4119
4309
|
export type ShippingGatewayLabel = {
|
|
4120
4310
|
carrier: Scalars['String']['output'];
|
|
4311
|
+
costAmount?: Maybe<Scalars['Int']['output']>;
|
|
4312
|
+
costCurrencyCode?: Maybe<Scalars['String']['output']>;
|
|
4121
4313
|
fulfillmentId?: Maybe<Scalars['ID']['output']>;
|
|
4122
4314
|
id: Scalars['ID']['output'];
|
|
4123
4315
|
isReturnLabel: Scalars['Boolean']['output'];
|
|
4124
4316
|
labelUrl: Scalars['String']['output'];
|
|
4317
|
+
lastErrorCode?: Maybe<Scalars['String']['output']>;
|
|
4318
|
+
lastErrorDetail?: Maybe<Scalars['String']['output']>;
|
|
4125
4319
|
orderId: Scalars['ID']['output'];
|
|
4126
4320
|
providerCode: Scalars['String']['output'];
|
|
4321
|
+
rateGroupId?: Maybe<Scalars['ID']['output']>;
|
|
4127
4322
|
service: Scalars['String']['output'];
|
|
4128
4323
|
status: Scalars['String']['output'];
|
|
4129
4324
|
trackingNumber: Scalars['String']['output'];
|
|
4325
|
+
voidedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
4326
|
+
};
|
|
4327
|
+
export type ShippingGatewayPickup = {
|
|
4328
|
+
carrier: Scalars['String']['output'];
|
|
4329
|
+
confirmationCode?: Maybe<Scalars['String']['output']>;
|
|
4330
|
+
confirmedEndAt?: Maybe<Scalars['DateTime']['output']>;
|
|
4331
|
+
confirmedStartAt?: Maybe<Scalars['DateTime']['output']>;
|
|
4332
|
+
createdAt: Scalars['DateTime']['output'];
|
|
4333
|
+
extPickupId?: Maybe<Scalars['String']['output']>;
|
|
4334
|
+
fulfillmentId?: Maybe<Scalars['ID']['output']>;
|
|
4335
|
+
id: Scalars['ID']['output'];
|
|
4336
|
+
lastErrorCode?: Maybe<Scalars['String']['output']>;
|
|
4337
|
+
orderId: Scalars['ID']['output'];
|
|
4338
|
+
providerCode: Scalars['String']['output'];
|
|
4339
|
+
rateGroupId?: Maybe<Scalars['ID']['output']>;
|
|
4340
|
+
requestedEndAt: Scalars['DateTime']['output'];
|
|
4341
|
+
requestedStartAt: Scalars['DateTime']['output'];
|
|
4342
|
+
status: Scalars['String']['output'];
|
|
4343
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
4130
4344
|
};
|
|
4131
4345
|
export type ShippingGatewayRate = {
|
|
4132
4346
|
amount: Scalars['Int']['output'];
|
|
4133
4347
|
carrier: Scalars['String']['output'];
|
|
4348
|
+
consumedByLabelId?: Maybe<Scalars['ID']['output']>;
|
|
4134
4349
|
currency: Scalars['String']['output'];
|
|
4350
|
+
estimated: Scalars['Boolean']['output'];
|
|
4135
4351
|
estimatedDays?: Maybe<Scalars['Int']['output']>;
|
|
4136
4352
|
extRateId: Scalars['String']['output'];
|
|
4137
4353
|
id: Scalars['ID']['output'];
|
|
@@ -4140,12 +4356,17 @@ export type ShippingGatewayRate = {
|
|
|
4140
4356
|
service: Scalars['String']['output'];
|
|
4141
4357
|
};
|
|
4142
4358
|
export type ShippingGatewayRateGroup = {
|
|
4359
|
+
fulfillmentRequestId?: Maybe<Scalars['ID']['output']>;
|
|
4143
4360
|
id: Scalars['ID']['output'];
|
|
4361
|
+
lastRateErrors: Array<RateFetchFailure>;
|
|
4144
4362
|
orderId: Scalars['ID']['output'];
|
|
4145
4363
|
orderLines: Array<ShippingGatewayRateGroupLine>;
|
|
4146
4364
|
rates: Array<ShippingGatewayRate>;
|
|
4365
|
+
rechargeModificationId?: Maybe<Scalars['ID']['output']>;
|
|
4366
|
+
requiresRerate: Scalars['Boolean']['output'];
|
|
4147
4367
|
stockLocationId?: Maybe<Scalars['ID']['output']>;
|
|
4148
4368
|
stockLocationName?: Maybe<Scalars['String']['output']>;
|
|
4369
|
+
supersededAt?: Maybe<Scalars['DateTime']['output']>;
|
|
4149
4370
|
};
|
|
4150
4371
|
export type ShippingGatewayRateGroupLine = {
|
|
4151
4372
|
dimensionUnit?: Maybe<Scalars['String']['output']>;
|
|
@@ -4159,28 +4380,27 @@ export type ShippingGatewayRateGroupLine = {
|
|
|
4159
4380
|
weightUnit?: Maybe<Scalars['String']['output']>;
|
|
4160
4381
|
width?: Maybe<Scalars['Float']['output']>;
|
|
4161
4382
|
};
|
|
4162
|
-
export type ShippingGatewayRoutingFlatRate = {
|
|
4163
|
-
amount: Scalars['Int']['output'];
|
|
4164
|
-
code: Scalars['String']['output'];
|
|
4165
|
-
createdAt: Scalars['DateTime']['output'];
|
|
4166
|
-
currencyCode: Scalars['String']['output'];
|
|
4167
|
-
estimatedDays?: Maybe<Scalars['Int']['output']>;
|
|
4168
|
-
id: Scalars['ID']['output'];
|
|
4169
|
-
name: Scalars['String']['output'];
|
|
4170
|
-
updatedAt: Scalars['DateTime']['output'];
|
|
4171
|
-
};
|
|
4172
4383
|
export type ShippingGatewayRoutingRule = {
|
|
4384
|
+
allProviders: Scalars['Boolean']['output'];
|
|
4385
|
+
cities: Array<Scalars['String']['output']>;
|
|
4173
4386
|
countries: Array<Country>;
|
|
4174
4387
|
createdAt: Scalars['DateTime']['output'];
|
|
4175
4388
|
enabled: Scalars['Boolean']['output'];
|
|
4176
|
-
flatRates: Array<ShippingGatewayRoutingFlatRate>;
|
|
4177
|
-
fulfillmentType: ShippingRoutingFulfillmentType;
|
|
4178
4389
|
id: Scalars['ID']['output'];
|
|
4179
4390
|
priority: Scalars['Int']['output'];
|
|
4180
|
-
|
|
4391
|
+
providerCodes: Array<Scalars['String']['output']>;
|
|
4181
4392
|
scopeType: ShippingRoutingScopeType;
|
|
4182
4393
|
stockLocationId: Scalars['ID']['output'];
|
|
4183
4394
|
updatedAt: Scalars['DateTime']['output'];
|
|
4395
|
+
useFlatRates: Scalars['Boolean']['output'];
|
|
4396
|
+
};
|
|
4397
|
+
export type ShippingGatewayTracking = {
|
|
4398
|
+
createdAt: Scalars['DateTime']['output'];
|
|
4399
|
+
events: Scalars['JSON']['output'];
|
|
4400
|
+
id: Scalars['ID']['output'];
|
|
4401
|
+
labelId: Scalars['ID']['output'];
|
|
4402
|
+
status: Scalars['String']['output'];
|
|
4403
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
4184
4404
|
};
|
|
4185
4405
|
export type ShippingLine = {
|
|
4186
4406
|
adjustments: Array<Adjustment>;
|
|
@@ -4192,19 +4412,41 @@ export type ShippingLine = {
|
|
|
4192
4412
|
taxLines: Array<OrderTaxLine>;
|
|
4193
4413
|
updatedAt: Scalars['DateTime']['output'];
|
|
4194
4414
|
};
|
|
4415
|
+
export type ShippingPackagePreset = {
|
|
4416
|
+
channelId: Scalars['ID']['output'];
|
|
4417
|
+
dimensionUnit?: Maybe<Scalars['String']['output']>;
|
|
4418
|
+
easypostPredefinedPackage?: Maybe<Scalars['String']['output']>;
|
|
4419
|
+
height?: Maybe<Scalars['Float']['output']>;
|
|
4420
|
+
hidden: Scalars['Boolean']['output'];
|
|
4421
|
+
id: Scalars['ID']['output'];
|
|
4422
|
+
isDefault: Scalars['Boolean']['output'];
|
|
4423
|
+
isProtected: Scalars['Boolean']['output'];
|
|
4424
|
+
kind: ShippingPackagePresetKind;
|
|
4425
|
+
length?: Maybe<Scalars['Float']['output']>;
|
|
4426
|
+
name: Scalars['String']['output'];
|
|
4427
|
+
shippoTemplate?: Maybe<Scalars['String']['output']>;
|
|
4428
|
+
tareWeightGrams?: Maybe<Scalars['Int']['output']>;
|
|
4429
|
+
width?: Maybe<Scalars['Float']['output']>;
|
|
4430
|
+
};
|
|
4431
|
+
export type ShippingPackagePresetDimensionsInput = {
|
|
4432
|
+
height: Scalars['Float']['input'];
|
|
4433
|
+
length: Scalars['Float']['input'];
|
|
4434
|
+
unit: Scalars['String']['input'];
|
|
4435
|
+
width: Scalars['Float']['input'];
|
|
4436
|
+
};
|
|
4437
|
+
export type ShippingPackagePresetKind = 'CARRIER_TEMPLATE' | 'CUSTOM_BOX';
|
|
4438
|
+
export type ShippingPackageTemplate = {
|
|
4439
|
+
carrier: Scalars['String']['output'];
|
|
4440
|
+
label: Scalars['String']['output'];
|
|
4441
|
+
providerCode: Scalars['String']['output'];
|
|
4442
|
+
providerName: Scalars['String']['output'];
|
|
4443
|
+
token: Scalars['String']['output'];
|
|
4444
|
+
};
|
|
4195
4445
|
export type ShippingProvider = {
|
|
4196
4446
|
code: Scalars['String']['output'];
|
|
4197
4447
|
name: Scalars['String']['output'];
|
|
4198
4448
|
pluginBacked: Scalars['Boolean']['output'];
|
|
4199
4449
|
};
|
|
4200
|
-
export type ShippingRoutingFlatRateInput = {
|
|
4201
|
-
amount: Scalars['Int']['input'];
|
|
4202
|
-
code: Scalars['String']['input'];
|
|
4203
|
-
currencyCode: Scalars['String']['input'];
|
|
4204
|
-
estimatedDays?: InputMaybe<Scalars['Int']['input']>;
|
|
4205
|
-
name: Scalars['String']['input'];
|
|
4206
|
-
};
|
|
4207
|
-
export type ShippingRoutingFulfillmentType = 'MANUAL' | 'PROVIDER';
|
|
4208
4450
|
export type ShippingRoutingScopeType = 'COUNTRIES' | 'DOMESTIC' | 'INTERNATIONAL';
|
|
4209
4451
|
export type ShopAddItemToOrderInput = {
|
|
4210
4452
|
quantity: Scalars['Int']['input'];
|
|
@@ -4259,7 +4501,6 @@ export type StockLocationAddress = {
|
|
|
4259
4501
|
company?: Maybe<Scalars['String']['output']>;
|
|
4260
4502
|
countryCode: Scalars['String']['output'];
|
|
4261
4503
|
createdAt: Scalars['DateTime']['output'];
|
|
4262
|
-
fullName?: Maybe<Scalars['String']['output']>;
|
|
4263
4504
|
id: Scalars['ID']['output'];
|
|
4264
4505
|
phoneNumber?: Maybe<Scalars['String']['output']>;
|
|
4265
4506
|
postalCode: Scalars['String']['output'];
|
|
@@ -4268,6 +4509,24 @@ export type StockLocationAddress = {
|
|
|
4268
4509
|
streetLine2?: Maybe<Scalars['String']['output']>;
|
|
4269
4510
|
updatedAt: Scalars['DateTime']['output'];
|
|
4270
4511
|
};
|
|
4512
|
+
export type StockLocationFlatRate = {
|
|
4513
|
+
amount: Scalars['Int']['output'];
|
|
4514
|
+
code: Scalars['String']['output'];
|
|
4515
|
+
createdAt: Scalars['DateTime']['output'];
|
|
4516
|
+
currencyCode: Scalars['String']['output'];
|
|
4517
|
+
estimatedDays?: Maybe<Scalars['Int']['output']>;
|
|
4518
|
+
id: Scalars['ID']['output'];
|
|
4519
|
+
name: Scalars['String']['output'];
|
|
4520
|
+
stockLocationId: Scalars['ID']['output'];
|
|
4521
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
4522
|
+
};
|
|
4523
|
+
export type StockLocationFlatRateInput = {
|
|
4524
|
+
amount: Scalars['Int']['input'];
|
|
4525
|
+
code: Scalars['String']['input'];
|
|
4526
|
+
currencyCode: Scalars['String']['input'];
|
|
4527
|
+
estimatedDays?: InputMaybe<Scalars['Int']['input']>;
|
|
4528
|
+
name: Scalars['String']['input'];
|
|
4529
|
+
};
|
|
4271
4530
|
export type StockLocationList = {
|
|
4272
4531
|
items: Array<StockLocation>;
|
|
4273
4532
|
totalItems: Scalars['Int']['output'];
|
|
@@ -4302,6 +4561,7 @@ export type Subscription = {
|
|
|
4302
4561
|
chatMessageStream: ChatMessage;
|
|
4303
4562
|
deploymentLogs: DeploymentLogEntry;
|
|
4304
4563
|
deploymentStatusChanged: Deployment;
|
|
4564
|
+
fulfillmentStateChanged: FulfillmentStateTransition;
|
|
4305
4565
|
hookDispatched: HookDispatchEvent;
|
|
4306
4566
|
resumeChatSession: ChatMessage;
|
|
4307
4567
|
workspaceReadiness: WorkspaceReadiness;
|
|
@@ -4315,6 +4575,9 @@ export type SubscriptiondeploymentLogsArgs = {
|
|
|
4315
4575
|
export type SubscriptiondeploymentStatusChangedArgs = {
|
|
4316
4576
|
type: DeploymentType;
|
|
4317
4577
|
};
|
|
4578
|
+
export type SubscriptionfulfillmentStateChangedArgs = {
|
|
4579
|
+
orderId: Scalars['ID']['input'];
|
|
4580
|
+
};
|
|
4318
4581
|
export type SubscriptionhookDispatchedArgs = {
|
|
4319
4582
|
hookPoints: Array<Scalars['String']['input']>;
|
|
4320
4583
|
};
|
|
@@ -4424,11 +4687,22 @@ export type Tag = {
|
|
|
4424
4687
|
};
|
|
4425
4688
|
export type TaxCategory = {
|
|
4426
4689
|
createdAt: Scalars['DateTime']['output'];
|
|
4690
|
+
exempt: Scalars['Boolean']['output'];
|
|
4691
|
+
externalCodes: Array<TaxCategoryExternalCode>;
|
|
4427
4692
|
id: Scalars['ID']['output'];
|
|
4428
4693
|
isDefault: Scalars['Boolean']['output'];
|
|
4694
|
+
isProtected: Scalars['Boolean']['output'];
|
|
4429
4695
|
name: Scalars['String']['output'];
|
|
4430
4696
|
updatedAt: Scalars['DateTime']['output'];
|
|
4431
4697
|
};
|
|
4698
|
+
export type TaxCategoryExternalCode = {
|
|
4699
|
+
providerCode: Scalars['String']['output'];
|
|
4700
|
+
taxCode: Scalars['String']['output'];
|
|
4701
|
+
};
|
|
4702
|
+
export type TaxCategoryExternalCodeInput = {
|
|
4703
|
+
providerCode: Scalars['String']['input'];
|
|
4704
|
+
taxCode: Scalars['String']['input'];
|
|
4705
|
+
};
|
|
4432
4706
|
export type TaxCategoryList = {
|
|
4433
4707
|
items: Array<TaxCategory>;
|
|
4434
4708
|
totalItems: Scalars['Int']['output'];
|
|
@@ -4437,6 +4711,11 @@ export type TaxProviderOption = {
|
|
|
4437
4711
|
code: Scalars['String']['output'];
|
|
4438
4712
|
name: Scalars['String']['output'];
|
|
4439
4713
|
};
|
|
4714
|
+
export type TaxProviderTaxCode = {
|
|
4715
|
+
code: Scalars['String']['output'];
|
|
4716
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
4717
|
+
name: Scalars['String']['output'];
|
|
4718
|
+
};
|
|
4440
4719
|
export type TaxRate = {
|
|
4441
4720
|
category: TaxCategory;
|
|
4442
4721
|
categoryId: Scalars['ID']['output'];
|
|
@@ -4521,7 +4800,6 @@ export type UpdateAddressInput = {
|
|
|
4521
4800
|
countryId?: InputMaybe<Scalars['ID']['input']>;
|
|
4522
4801
|
defaultBillingAddress?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4523
4802
|
defaultShippingAddress?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4524
|
-
fullName?: InputMaybe<Scalars['String']['input']>;
|
|
4525
4803
|
id: Scalars['ID']['input'];
|
|
4526
4804
|
phoneNumber?: InputMaybe<Scalars['String']['input']>;
|
|
4527
4805
|
postalCode?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -4581,6 +4859,7 @@ export type UpdateChannelSettingsInput = {
|
|
|
4581
4859
|
defaultFulfillmentHandlerCode?: InputMaybe<Scalars['String']['input']>;
|
|
4582
4860
|
defaultPaymentProviderCode?: InputMaybe<Scalars['String']['input']>;
|
|
4583
4861
|
defaultWeightUnit?: InputMaybe<WeightUnit>;
|
|
4862
|
+
emailAddress?: InputMaybe<Scalars['String']['input']>;
|
|
4584
4863
|
fxMarkupPercent?: InputMaybe<Scalars['Float']['input']>;
|
|
4585
4864
|
fxRoundingRule?: InputMaybe<Scalars['String']['input']>;
|
|
4586
4865
|
requireCustomerForCheckout?: InputMaybe<Scalars['Boolean']['input']>;
|
|
@@ -4751,9 +5030,11 @@ export type UpdateProductVariantInput = {
|
|
|
4751
5030
|
featuredAssetId?: InputMaybe<Scalars['ID']['input']>;
|
|
4752
5031
|
id: Scalars['ID']['input'];
|
|
4753
5032
|
optionIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
5033
|
+
packagePresetId?: InputMaybe<Scalars['ID']['input']>;
|
|
4754
5034
|
price?: InputMaybe<Scalars['Int']['input']>;
|
|
4755
5035
|
sku?: InputMaybe<Scalars['String']['input']>;
|
|
4756
5036
|
stockLevels?: InputMaybe<Array<StockLevelInput>>;
|
|
5037
|
+
taxCategoryId?: InputMaybe<Scalars['ID']['input']>;
|
|
4757
5038
|
trackInventory?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4758
5039
|
translations?: InputMaybe<Array<UpdateProductVariantTranslationInput>>;
|
|
4759
5040
|
weight?: InputMaybe<WeightInput>;
|
|
@@ -4815,14 +5096,15 @@ export type UpdateSellingPlanInput = {
|
|
|
4815
5096
|
trialDays?: InputMaybe<Scalars['Int']['input']>;
|
|
4816
5097
|
};
|
|
4817
5098
|
export type UpdateShippingGatewayRoutingRuleInput = {
|
|
5099
|
+
allProviders?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5100
|
+
cities?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
4818
5101
|
countryCodes?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
4819
5102
|
enabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4820
|
-
flatRates?: InputMaybe<Array<ShippingRoutingFlatRateInput>>;
|
|
4821
|
-
fulfillmentType?: InputMaybe<ShippingRoutingFulfillmentType>;
|
|
4822
5103
|
id: Scalars['ID']['input'];
|
|
4823
5104
|
priority?: InputMaybe<Scalars['Int']['input']>;
|
|
4824
|
-
|
|
5105
|
+
providerCodes?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
4825
5106
|
scopeType?: InputMaybe<ShippingRoutingScopeType>;
|
|
5107
|
+
useFlatRates?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4826
5108
|
};
|
|
4827
5109
|
export type UpdateShippingLabelInput = {
|
|
4828
5110
|
carrier?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -4830,11 +5112,19 @@ export type UpdateShippingLabelInput = {
|
|
|
4830
5112
|
service?: InputMaybe<Scalars['String']['input']>;
|
|
4831
5113
|
trackingNumber?: InputMaybe<Scalars['String']['input']>;
|
|
4832
5114
|
};
|
|
5115
|
+
export type UpdateShippingPackagePresetInput = {
|
|
5116
|
+
dimensions?: InputMaybe<ShippingPackagePresetDimensionsInput>;
|
|
5117
|
+
easypostPredefinedPackage?: InputMaybe<Scalars['String']['input']>;
|
|
5118
|
+
id: Scalars['ID']['input'];
|
|
5119
|
+
isDefault?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5120
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
5121
|
+
shippoTemplate?: InputMaybe<Scalars['String']['input']>;
|
|
5122
|
+
tareWeightGrams?: InputMaybe<Scalars['Int']['input']>;
|
|
5123
|
+
};
|
|
4833
5124
|
export type UpdateStockLocationAddressInput = {
|
|
4834
5125
|
city?: InputMaybe<Scalars['String']['input']>;
|
|
4835
5126
|
company?: InputMaybe<Scalars['String']['input']>;
|
|
4836
5127
|
countryCode?: InputMaybe<Scalars['String']['input']>;
|
|
4837
|
-
fullName?: InputMaybe<Scalars['String']['input']>;
|
|
4838
5128
|
phoneNumber?: InputMaybe<Scalars['String']['input']>;
|
|
4839
5129
|
postalCode?: InputMaybe<Scalars['String']['input']>;
|
|
4840
5130
|
province?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -4859,6 +5149,8 @@ export type UpdateSubscriptionVariantConfigInput = {
|
|
|
4859
5149
|
trialPeriodDays?: InputMaybe<Scalars['Int']['input']>;
|
|
4860
5150
|
};
|
|
4861
5151
|
export type UpdateTaxCategoryInput = {
|
|
5152
|
+
exempt?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5153
|
+
externalCodes?: InputMaybe<Array<TaxCategoryExternalCodeInput>>;
|
|
4862
5154
|
id: Scalars['ID']['input'];
|
|
4863
5155
|
isDefault?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4864
5156
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -5829,7 +6121,7 @@ export type UpdateChannelSettingsMutationVariables = Exact<{
|
|
|
5829
6121
|
input: UpdateChannelSettingsInput;
|
|
5830
6122
|
}>;
|
|
5831
6123
|
export type UpdateChannelSettingsMutation = {
|
|
5832
|
-
updateChannelSettings: (Pick<ChannelSettings, 'id' | 'channelId' | 'shopName' | 'requiresShippingAddressValidation' | 'requireCustomerForCheckout' | 'defaultFulfillmentHandlerCode' | 'defaultPaymentProviderCode' | 'defaultDeploymentProviderCode' | 'defaultWeightUnit' | 'defaultDimensionUnit' | 'autoCurrencyExchange' | 'fxRoundingRule' | 'fxMarkupPercent'> & {
|
|
6124
|
+
updateChannelSettings: (Pick<ChannelSettings, 'id' | 'channelId' | 'shopName' | 'emailAddress' | 'requiresShippingAddressValidation' | 'requireCustomerForCheckout' | 'defaultFulfillmentHandlerCode' | 'defaultPaymentProviderCode' | 'defaultDeploymentProviderCode' | 'defaultWeightUnit' | 'defaultDimensionUnit' | 'taxOriginScope' | 'autoCurrencyExchange' | 'fxRoundingRule' | 'fxMarkupPercent'> & {
|
|
5833
6125
|
companyAddress?: Maybe<Pick<CompanyAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'countryCode' | 'phoneNumber'>>;
|
|
5834
6126
|
});
|
|
5835
6127
|
};
|
|
@@ -5839,7 +6131,7 @@ export type ProvisionChannelMutationVariables = Exact<{
|
|
|
5839
6131
|
export type ProvisionChannelMutation = {
|
|
5840
6132
|
provisionChannel: {
|
|
5841
6133
|
channel: Pick<Channel, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'token' | 'secret' | 'previewUrl' | 'defaultLanguageCode' | 'defaultCurrencyCode' | 'availableLanguageCodes' | 'availableCurrencyCodes' | 'description' | 'pricesIncludeTax' | 'taxProviderCode' | 'trackInventory' | 'outOfStockThreshold' | 'sellerId' | 'defaultTaxZoneId'>;
|
|
5842
|
-
channelSettings: (Pick<ChannelSettings, 'id' | 'channelId' | 'shopName' | 'requiresShippingAddressValidation' | 'requireCustomerForCheckout' | 'defaultFulfillmentHandlerCode' | 'defaultPaymentProviderCode' | 'defaultDeploymentProviderCode' | 'defaultWeightUnit' | 'defaultDimensionUnit' | 'autoCurrencyExchange' | 'fxRoundingRule' | 'fxMarkupPercent'> & {
|
|
6134
|
+
channelSettings: (Pick<ChannelSettings, 'id' | 'channelId' | 'shopName' | 'emailAddress' | 'requiresShippingAddressValidation' | 'requireCustomerForCheckout' | 'defaultFulfillmentHandlerCode' | 'defaultPaymentProviderCode' | 'defaultDeploymentProviderCode' | 'defaultWeightUnit' | 'defaultDimensionUnit' | 'taxOriginScope' | 'autoCurrencyExchange' | 'fxRoundingRule' | 'fxMarkupPercent'> & {
|
|
5843
6135
|
companyAddress?: Maybe<Pick<CompanyAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'countryCode' | 'phoneNumber'>>;
|
|
5844
6136
|
});
|
|
5845
6137
|
role: Pick<Role, 'id' | 'name' | 'code' | 'description' | 'permissions'>;
|
|
@@ -5851,14 +6143,14 @@ export type AdminExchangeRatesQueryVariables = Exact<{
|
|
|
5851
6143
|
export type AdminExchangeRatesQuery = {
|
|
5852
6144
|
exchangeRates: Array<Pick<ExchangeRate, 'id' | 'baseCurrencyCode' | 'targetCurrencyCode' | 'rate' | 'rateUpdatedAt'>>;
|
|
5853
6145
|
};
|
|
5854
|
-
export type ChannelSettingsFieldFragment = (Pick<ChannelSettings, 'id' | 'channelId' | 'shopName' | 'requiresShippingAddressValidation' | 'requireCustomerForCheckout' | 'defaultFulfillmentHandlerCode' | 'defaultPaymentProviderCode' | 'defaultDeploymentProviderCode' | 'defaultWeightUnit' | 'defaultDimensionUnit' | 'autoCurrencyExchange' | 'fxRoundingRule' | 'fxMarkupPercent'> & {
|
|
6146
|
+
export type ChannelSettingsFieldFragment = (Pick<ChannelSettings, 'id' | 'channelId' | 'shopName' | 'emailAddress' | 'requiresShippingAddressValidation' | 'requireCustomerForCheckout' | 'defaultFulfillmentHandlerCode' | 'defaultPaymentProviderCode' | 'defaultDeploymentProviderCode' | 'defaultWeightUnit' | 'defaultDimensionUnit' | 'taxOriginScope' | 'autoCurrencyExchange' | 'fxRoundingRule' | 'fxMarkupPercent'> & {
|
|
5855
6147
|
companyAddress?: Maybe<Pick<CompanyAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'countryCode' | 'phoneNumber'>>;
|
|
5856
6148
|
});
|
|
5857
6149
|
export type ChannelSettingsQueryVariables = Exact<{
|
|
5858
6150
|
[key: string]: never;
|
|
5859
6151
|
}>;
|
|
5860
6152
|
export type ChannelSettingsQuery = {
|
|
5861
|
-
channelSettings: (Pick<ChannelSettings, 'id' | 'channelId' | 'shopName' | 'requiresShippingAddressValidation' | 'requireCustomerForCheckout' | 'defaultFulfillmentHandlerCode' | 'defaultPaymentProviderCode' | 'defaultDeploymentProviderCode' | 'defaultWeightUnit' | 'defaultDimensionUnit' | 'autoCurrencyExchange' | 'fxRoundingRule' | 'fxMarkupPercent'> & {
|
|
6153
|
+
channelSettings: (Pick<ChannelSettings, 'id' | 'channelId' | 'shopName' | 'emailAddress' | 'requiresShippingAddressValidation' | 'requireCustomerForCheckout' | 'defaultFulfillmentHandlerCode' | 'defaultPaymentProviderCode' | 'defaultDeploymentProviderCode' | 'defaultWeightUnit' | 'defaultDimensionUnit' | 'taxOriginScope' | 'autoCurrencyExchange' | 'fxRoundingRule' | 'fxMarkupPercent'> & {
|
|
5862
6154
|
companyAddress?: Maybe<Pick<CompanyAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'countryCode' | 'phoneNumber'>>;
|
|
5863
6155
|
});
|
|
5864
6156
|
};
|
|
@@ -5866,7 +6158,7 @@ export type ChannelUpdateSettingsMutationVariables = Exact<{
|
|
|
5866
6158
|
input: UpdateChannelSettingsInput;
|
|
5867
6159
|
}>;
|
|
5868
6160
|
export type ChannelUpdateSettingsMutation = {
|
|
5869
|
-
updateChannelSettings: (Pick<ChannelSettings, 'id' | 'channelId' | 'shopName' | 'requiresShippingAddressValidation' | 'requireCustomerForCheckout' | 'defaultFulfillmentHandlerCode' | 'defaultPaymentProviderCode' | 'defaultDeploymentProviderCode' | 'defaultWeightUnit' | 'defaultDimensionUnit' | 'autoCurrencyExchange' | 'fxRoundingRule' | 'fxMarkupPercent'> & {
|
|
6161
|
+
updateChannelSettings: (Pick<ChannelSettings, 'id' | 'channelId' | 'shopName' | 'emailAddress' | 'requiresShippingAddressValidation' | 'requireCustomerForCheckout' | 'defaultFulfillmentHandlerCode' | 'defaultPaymentProviderCode' | 'defaultDeploymentProviderCode' | 'defaultWeightUnit' | 'defaultDimensionUnit' | 'taxOriginScope' | 'autoCurrencyExchange' | 'fxRoundingRule' | 'fxMarkupPercent'> & {
|
|
5870
6162
|
companyAddress?: Maybe<Pick<CompanyAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'countryCode' | 'phoneNumber'>>;
|
|
5871
6163
|
});
|
|
5872
6164
|
};
|
|
@@ -5884,12 +6176,12 @@ export type ChannelUpdateSubscriptionSettingsMutation = {
|
|
|
5884
6176
|
updateChannelSubscriptionSettings: Pick<ChannelSubscriptionSettings, 'id' | 'channelId' | 'couponInteraction'>;
|
|
5885
6177
|
};
|
|
5886
6178
|
export type ChatSessionFieldFragment = Pick<ChatSession, 'sessionId' | 'channelToken' | 'userId' | 'createdAt' | 'lastActivity' | 'messageCount' | 'status'>;
|
|
5887
|
-
export type ChatMessageFieldFragment = (Pick<ChatMessage, 'type' | 'content' | 'timestamp' | 'isFinal' | 'eventId'> & {
|
|
6179
|
+
export type ChatMessageFieldFragment = (Pick<ChatMessage, 'type' | 'content' | 'timestamp' | 'isFinal' | 'eventId' | 'backend'> & {
|
|
5888
6180
|
toolUse?: Maybe<Pick<ToolUseDetail, 'toolId' | 'toolName' | 'input'>>;
|
|
5889
6181
|
toolResult?: Maybe<Pick<ToolResultDetail, 'toolId' | 'result' | 'isError'>>;
|
|
5890
6182
|
});
|
|
5891
6183
|
export type ChatHistoryMessageFieldFragment = Pick<ChatHistoryMessage, 'id' | 'role' | 'content' | 'toolUse' | 'toolResult' | 'seq' | 'eventId' | 'timestamp'>;
|
|
5892
|
-
export type ChatSessionSummaryFieldFragment = Pick<ChatSessionSummary, 'id' | 'agentSessionId' | 'title' | 'status' | 'origin' | 'messageCount' | 'lastActivityAt' | 'createdAt' | 'workspaceId'>;
|
|
6184
|
+
export type ChatSessionSummaryFieldFragment = Pick<ChatSessionSummary, 'id' | 'agentSessionId' | 'title' | 'status' | 'origin' | 'lastBackend' | 'messageCount' | 'lastActivityAt' | 'createdAt' | 'workspaceId'>;
|
|
5893
6185
|
export type WorkspaceReadinessFieldFragment = Pick<WorkspaceReadiness, 'workspaceId' | 'podState' | 'serverState' | 'chatBindingState' | 'endpoint'>;
|
|
5894
6186
|
export type StartChatSessionMutationVariables = Exact<{
|
|
5895
6187
|
input?: InputMaybe<StartChatSessionInput>;
|
|
@@ -5901,7 +6193,7 @@ export type SendChatMessageMutationVariables = Exact<{
|
|
|
5901
6193
|
input: SendChatMessageInput;
|
|
5902
6194
|
}>;
|
|
5903
6195
|
export type SendChatMessageMutation = {
|
|
5904
|
-
sendChatMessage: Array<(Pick<ChatMessage, 'type' | 'content' | 'timestamp' | 'isFinal' | 'eventId'> & {
|
|
6196
|
+
sendChatMessage: Array<(Pick<ChatMessage, 'type' | 'content' | 'timestamp' | 'isFinal' | 'eventId' | 'backend'> & {
|
|
5905
6197
|
toolUse?: Maybe<Pick<ToolUseDetail, 'toolId' | 'toolName' | 'input'>>;
|
|
5906
6198
|
toolResult?: Maybe<Pick<ToolResultDetail, 'toolId' | 'result' | 'isError'>>;
|
|
5907
6199
|
})>;
|
|
@@ -5910,7 +6202,7 @@ export type ChatMessageStreamSubscriptionVariables = Exact<{
|
|
|
5910
6202
|
input: SendChatMessageInput;
|
|
5911
6203
|
}>;
|
|
5912
6204
|
export type ChatMessageStreamSubscription = {
|
|
5913
|
-
chatMessageStream: (Pick<ChatMessage, 'type' | 'content' | 'timestamp' | 'isFinal' | 'eventId'> & {
|
|
6205
|
+
chatMessageStream: (Pick<ChatMessage, 'type' | 'content' | 'timestamp' | 'isFinal' | 'eventId' | 'backend'> & {
|
|
5914
6206
|
toolUse?: Maybe<Pick<ToolUseDetail, 'toolId' | 'toolName' | 'input'>>;
|
|
5915
6207
|
toolResult?: Maybe<Pick<ToolResultDetail, 'toolId' | 'result' | 'isError'>>;
|
|
5916
6208
|
});
|
|
@@ -5919,7 +6211,7 @@ export type ResumeChatSessionSubscriptionVariables = Exact<{
|
|
|
5919
6211
|
input: ResumeChatSessionInput;
|
|
5920
6212
|
}>;
|
|
5921
6213
|
export type ResumeChatSessionSubscription = {
|
|
5922
|
-
resumeChatSession: (Pick<ChatMessage, 'type' | 'content' | 'timestamp' | 'isFinal' | 'eventId'> & {
|
|
6214
|
+
resumeChatSession: (Pick<ChatMessage, 'type' | 'content' | 'timestamp' | 'isFinal' | 'eventId' | 'backend'> & {
|
|
5923
6215
|
toolUse?: Maybe<Pick<ToolUseDetail, 'toolId' | 'toolName' | 'input'>>;
|
|
5924
6216
|
toolResult?: Maybe<Pick<ToolResultDetail, 'toolId' | 'result' | 'isError'>>;
|
|
5925
6217
|
});
|
|
@@ -5953,7 +6245,7 @@ export type ChatSessionsQueryVariables = Exact<{
|
|
|
5953
6245
|
}>;
|
|
5954
6246
|
export type ChatSessionsQuery = {
|
|
5955
6247
|
chatSessions: (Pick<ChatSessionSummaryList, 'totalItems'> & {
|
|
5956
|
-
items: Array<Pick<ChatSessionSummary, 'id' | 'agentSessionId' | 'title' | 'status' | 'origin' | 'messageCount' | 'lastActivityAt' | 'createdAt' | 'workspaceId'>>;
|
|
6248
|
+
items: Array<Pick<ChatSessionSummary, 'id' | 'agentSessionId' | 'title' | 'status' | 'origin' | 'lastBackend' | 'messageCount' | 'lastActivityAt' | 'createdAt' | 'workspaceId'>>;
|
|
5957
6249
|
});
|
|
5958
6250
|
};
|
|
5959
6251
|
export type ArchiveChatSessionMutationVariables = Exact<{
|
|
@@ -6106,7 +6398,7 @@ export type RemoveCustomersFromGroupMutation = {
|
|
|
6106
6398
|
removeCustomersFromGroup: Pick<CustomerGroup, 'id' | 'createdAt' | 'updatedAt' | 'name'>;
|
|
6107
6399
|
};
|
|
6108
6400
|
export type CustomerFieldFragment = (Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'> & {
|
|
6109
|
-
addresses: Array<(Pick<Address, 'id' | '
|
|
6401
|
+
addresses: Array<(Pick<Address, 'id' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber' | 'defaultShippingAddress' | 'defaultBillingAddress'> & {
|
|
6110
6402
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
6111
6403
|
})>;
|
|
6112
6404
|
});
|
|
@@ -6115,7 +6407,7 @@ export type AdminCustomerQueryVariables = Exact<{
|
|
|
6115
6407
|
}>;
|
|
6116
6408
|
export type AdminCustomerQuery = {
|
|
6117
6409
|
customer?: Maybe<(Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'> & {
|
|
6118
|
-
addresses: Array<(Pick<Address, 'id' | '
|
|
6410
|
+
addresses: Array<(Pick<Address, 'id' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber' | 'defaultShippingAddress' | 'defaultBillingAddress'> & {
|
|
6119
6411
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
6120
6412
|
})>;
|
|
6121
6413
|
})>;
|
|
@@ -6126,7 +6418,7 @@ export type AdminCustomersQueryVariables = Exact<{
|
|
|
6126
6418
|
export type AdminCustomersQuery = {
|
|
6127
6419
|
customers: (Pick<CustomerList, 'totalItems'> & {
|
|
6128
6420
|
items: Array<(Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'> & {
|
|
6129
|
-
addresses: Array<(Pick<Address, 'id' | '
|
|
6421
|
+
addresses: Array<(Pick<Address, 'id' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber' | 'defaultShippingAddress' | 'defaultBillingAddress'> & {
|
|
6130
6422
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
6131
6423
|
})>;
|
|
6132
6424
|
})>;
|
|
@@ -6137,7 +6429,7 @@ export type CreateCustomerMutationVariables = Exact<{
|
|
|
6137
6429
|
}>;
|
|
6138
6430
|
export type CreateCustomerMutation = {
|
|
6139
6431
|
createCustomer: (Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'> & {
|
|
6140
|
-
addresses: Array<(Pick<Address, 'id' | '
|
|
6432
|
+
addresses: Array<(Pick<Address, 'id' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber' | 'defaultShippingAddress' | 'defaultBillingAddress'> & {
|
|
6141
6433
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
6142
6434
|
})>;
|
|
6143
6435
|
});
|
|
@@ -6147,7 +6439,7 @@ export type UpdateCustomerMutationVariables = Exact<{
|
|
|
6147
6439
|
}>;
|
|
6148
6440
|
export type UpdateCustomerMutation = {
|
|
6149
6441
|
updateCustomer: (Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'> & {
|
|
6150
|
-
addresses: Array<(Pick<Address, 'id' | '
|
|
6442
|
+
addresses: Array<(Pick<Address, 'id' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber' | 'defaultShippingAddress' | 'defaultBillingAddress'> & {
|
|
6151
6443
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
6152
6444
|
})>;
|
|
6153
6445
|
});
|
|
@@ -6162,7 +6454,7 @@ export type CreateCustomerAddressMutationVariables = Exact<{
|
|
|
6162
6454
|
input: CreateCustomerAddressInput;
|
|
6163
6455
|
}>;
|
|
6164
6456
|
export type CreateCustomerAddressMutation = {
|
|
6165
|
-
createCustomerAddress: (Pick<Address, 'id' | '
|
|
6457
|
+
createCustomerAddress: (Pick<Address, 'id' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber' | 'defaultShippingAddress' | 'defaultBillingAddress'> & {
|
|
6166
6458
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
6167
6459
|
});
|
|
6168
6460
|
};
|
|
@@ -6170,7 +6462,7 @@ export type UpdateCustomerAddressMutationVariables = Exact<{
|
|
|
6170
6462
|
input: UpdateAddressInput;
|
|
6171
6463
|
}>;
|
|
6172
6464
|
export type UpdateCustomerAddressMutation = {
|
|
6173
|
-
updateCustomerAddress: (Pick<Address, 'id' | '
|
|
6465
|
+
updateCustomerAddress: (Pick<Address, 'id' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber' | 'defaultShippingAddress' | 'defaultBillingAddress'> & {
|
|
6174
6466
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
6175
6467
|
});
|
|
6176
6468
|
};
|
|
@@ -6184,7 +6476,7 @@ export type CustomerCreateAddressMutationVariables = Exact<{
|
|
|
6184
6476
|
input: CreateCustomerAddressInput;
|
|
6185
6477
|
}>;
|
|
6186
6478
|
export type CustomerCreateAddressMutation = {
|
|
6187
|
-
createCustomerAddress: (Pick<Address, 'id' | '
|
|
6479
|
+
createCustomerAddress: (Pick<Address, 'id' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber' | 'defaultShippingAddress' | 'defaultBillingAddress'> & {
|
|
6188
6480
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
6189
6481
|
});
|
|
6190
6482
|
};
|
|
@@ -6192,7 +6484,7 @@ export type CustomerUpdateAddressMutationVariables = Exact<{
|
|
|
6192
6484
|
input: UpdateAddressInput;
|
|
6193
6485
|
}>;
|
|
6194
6486
|
export type CustomerUpdateAddressMutation = {
|
|
6195
|
-
updateCustomerAddress: (Pick<Address, 'id' | '
|
|
6487
|
+
updateCustomerAddress: (Pick<Address, 'id' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber' | 'defaultShippingAddress' | 'defaultBillingAddress'> & {
|
|
6196
6488
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
6197
6489
|
});
|
|
6198
6490
|
};
|
|
@@ -6451,7 +6743,7 @@ export type FulfillmentRequestLineFieldFragment = Pick<FulfillmentRequestLine, '
|
|
|
6451
6743
|
export type HoldReasonFieldFragment = Pick<HoldReason, 'code' | 'addedAt' | 'note'>;
|
|
6452
6744
|
export type FulfillmentRequestFieldFragment = (Pick<FulfillmentRequest, 'id' | 'createdAt' | 'updatedAt' | 'state' | 'deliveryMethod' | 'handlerCode'> & {
|
|
6453
6745
|
holdReasons: Array<Pick<HoldReason, 'code' | 'addedAt' | 'note'>>;
|
|
6454
|
-
destinationAddress?: Maybe<(Pick<OrderAddress, '
|
|
6746
|
+
destinationAddress?: Maybe<(Pick<OrderAddress, 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
6455
6747
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
6456
6748
|
})>;
|
|
6457
6749
|
assignedLocation: Pick<StockLocation, 'id' | 'name'>;
|
|
@@ -6464,7 +6756,7 @@ export type FulfillmentRequestQueryVariables = Exact<{
|
|
|
6464
6756
|
export type FulfillmentRequestQuery = {
|
|
6465
6757
|
fulfillmentRequest?: Maybe<(Pick<FulfillmentRequest, 'id' | 'createdAt' | 'updatedAt' | 'state' | 'deliveryMethod' | 'handlerCode'> & {
|
|
6466
6758
|
holdReasons: Array<Pick<HoldReason, 'code' | 'addedAt' | 'note'>>;
|
|
6467
|
-
destinationAddress?: Maybe<(Pick<OrderAddress, '
|
|
6759
|
+
destinationAddress?: Maybe<(Pick<OrderAddress, 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
6468
6760
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
6469
6761
|
})>;
|
|
6470
6762
|
assignedLocation: Pick<StockLocation, 'id' | 'name'>;
|
|
@@ -6478,7 +6770,7 @@ export type FulfillmentRequestsForOrderQueryVariables = Exact<{
|
|
|
6478
6770
|
export type FulfillmentRequestsForOrderQuery = {
|
|
6479
6771
|
fulfillmentRequestsForOrder: Array<(Pick<FulfillmentRequest, 'id' | 'createdAt' | 'updatedAt' | 'state' | 'deliveryMethod' | 'handlerCode'> & {
|
|
6480
6772
|
holdReasons: Array<Pick<HoldReason, 'code' | 'addedAt' | 'note'>>;
|
|
6481
|
-
destinationAddress?: Maybe<(Pick<OrderAddress, '
|
|
6773
|
+
destinationAddress?: Maybe<(Pick<OrderAddress, 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
6482
6774
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
6483
6775
|
})>;
|
|
6484
6776
|
assignedLocation: Pick<StockLocation, 'id' | 'name'>;
|
|
@@ -6496,7 +6788,7 @@ export type AcceptFulfillmentRequestMutationVariables = Exact<{
|
|
|
6496
6788
|
export type AcceptFulfillmentRequestMutation = {
|
|
6497
6789
|
acceptFulfillmentRequest: (Pick<FulfillmentRequest, 'id' | 'createdAt' | 'updatedAt' | 'state' | 'deliveryMethod' | 'handlerCode'> & {
|
|
6498
6790
|
holdReasons: Array<Pick<HoldReason, 'code' | 'addedAt' | 'note'>>;
|
|
6499
|
-
destinationAddress?: Maybe<(Pick<OrderAddress, '
|
|
6791
|
+
destinationAddress?: Maybe<(Pick<OrderAddress, 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
6500
6792
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
6501
6793
|
})>;
|
|
6502
6794
|
assignedLocation: Pick<StockLocation, 'id' | 'name'>;
|
|
@@ -6510,7 +6802,7 @@ export type CancelFulfillmentRequestMutationVariables = Exact<{
|
|
|
6510
6802
|
export type CancelFulfillmentRequestMutation = {
|
|
6511
6803
|
cancelFulfillmentRequest: (Pick<FulfillmentRequest, 'id' | 'createdAt' | 'updatedAt' | 'state' | 'deliveryMethod' | 'handlerCode'> & {
|
|
6512
6804
|
holdReasons: Array<Pick<HoldReason, 'code' | 'addedAt' | 'note'>>;
|
|
6513
|
-
destinationAddress?: Maybe<(Pick<OrderAddress, '
|
|
6805
|
+
destinationAddress?: Maybe<(Pick<OrderAddress, 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
6514
6806
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
6515
6807
|
})>;
|
|
6516
6808
|
assignedLocation: Pick<StockLocation, 'id' | 'name'>;
|
|
@@ -6524,7 +6816,7 @@ export type MoveFulfillmentRequestMutationVariables = Exact<{
|
|
|
6524
6816
|
export type MoveFulfillmentRequestMutation = {
|
|
6525
6817
|
moveFulfillmentRequest: (Pick<FulfillmentRequest, 'id' | 'createdAt' | 'updatedAt' | 'state' | 'deliveryMethod' | 'handlerCode'> & {
|
|
6526
6818
|
holdReasons: Array<Pick<HoldReason, 'code' | 'addedAt' | 'note'>>;
|
|
6527
|
-
destinationAddress?: Maybe<(Pick<OrderAddress, '
|
|
6819
|
+
destinationAddress?: Maybe<(Pick<OrderAddress, 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
6528
6820
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
6529
6821
|
})>;
|
|
6530
6822
|
assignedLocation: Pick<StockLocation, 'id' | 'name'>;
|
|
@@ -6538,7 +6830,7 @@ export type SplitFulfillmentRequestMutationVariables = Exact<{
|
|
|
6538
6830
|
export type SplitFulfillmentRequestMutation = {
|
|
6539
6831
|
splitFulfillmentRequest: (Pick<FulfillmentRequest, 'id' | 'createdAt' | 'updatedAt' | 'state' | 'deliveryMethod' | 'handlerCode'> & {
|
|
6540
6832
|
holdReasons: Array<Pick<HoldReason, 'code' | 'addedAt' | 'note'>>;
|
|
6541
|
-
destinationAddress?: Maybe<(Pick<OrderAddress, '
|
|
6833
|
+
destinationAddress?: Maybe<(Pick<OrderAddress, 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
6542
6834
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
6543
6835
|
})>;
|
|
6544
6836
|
assignedLocation: Pick<StockLocation, 'id' | 'name'>;
|
|
@@ -6552,7 +6844,7 @@ export type MergeFulfillmentRequestsMutationVariables = Exact<{
|
|
|
6552
6844
|
export type MergeFulfillmentRequestsMutation = {
|
|
6553
6845
|
mergeFulfillmentRequests: (Pick<FulfillmentRequest, 'id' | 'createdAt' | 'updatedAt' | 'state' | 'deliveryMethod' | 'handlerCode'> & {
|
|
6554
6846
|
holdReasons: Array<Pick<HoldReason, 'code' | 'addedAt' | 'note'>>;
|
|
6555
|
-
destinationAddress?: Maybe<(Pick<OrderAddress, '
|
|
6847
|
+
destinationAddress?: Maybe<(Pick<OrderAddress, 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
6556
6848
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
6557
6849
|
})>;
|
|
6558
6850
|
assignedLocation: Pick<StockLocation, 'id' | 'name'>;
|
|
@@ -6566,7 +6858,7 @@ export type AddFulfillmentRequestHoldMutationVariables = Exact<{
|
|
|
6566
6858
|
export type AddFulfillmentRequestHoldMutation = {
|
|
6567
6859
|
addFulfillmentRequestHold: (Pick<FulfillmentRequest, 'id' | 'createdAt' | 'updatedAt' | 'state' | 'deliveryMethod' | 'handlerCode'> & {
|
|
6568
6860
|
holdReasons: Array<Pick<HoldReason, 'code' | 'addedAt' | 'note'>>;
|
|
6569
|
-
destinationAddress?: Maybe<(Pick<OrderAddress, '
|
|
6861
|
+
destinationAddress?: Maybe<(Pick<OrderAddress, 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
6570
6862
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
6571
6863
|
})>;
|
|
6572
6864
|
assignedLocation: Pick<StockLocation, 'id' | 'name'>;
|
|
@@ -6580,7 +6872,7 @@ export type RemoveFulfillmentRequestHoldMutationVariables = Exact<{
|
|
|
6580
6872
|
export type RemoveFulfillmentRequestHoldMutation = {
|
|
6581
6873
|
removeFulfillmentRequestHold: (Pick<FulfillmentRequest, 'id' | 'createdAt' | 'updatedAt' | 'state' | 'deliveryMethod' | 'handlerCode'> & {
|
|
6582
6874
|
holdReasons: Array<Pick<HoldReason, 'code' | 'addedAt' | 'note'>>;
|
|
6583
|
-
destinationAddress?: Maybe<(Pick<OrderAddress, '
|
|
6875
|
+
destinationAddress?: Maybe<(Pick<OrderAddress, 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
6584
6876
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
6585
6877
|
})>;
|
|
6586
6878
|
assignedLocation: Pick<StockLocation, 'id' | 'name'>;
|
|
@@ -6594,7 +6886,7 @@ export type ChangeFulfillmentRequestDeliveryMethodMutationVariables = Exact<{
|
|
|
6594
6886
|
export type ChangeFulfillmentRequestDeliveryMethodMutation = {
|
|
6595
6887
|
changeFulfillmentRequestDeliveryMethod: (Pick<FulfillmentRequest, 'id' | 'createdAt' | 'updatedAt' | 'state' | 'deliveryMethod' | 'handlerCode'> & {
|
|
6596
6888
|
holdReasons: Array<Pick<HoldReason, 'code' | 'addedAt' | 'note'>>;
|
|
6597
|
-
destinationAddress?: Maybe<(Pick<OrderAddress, '
|
|
6889
|
+
destinationAddress?: Maybe<(Pick<OrderAddress, 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
6598
6890
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
6599
6891
|
})>;
|
|
6600
6892
|
assignedLocation: Pick<StockLocation, 'id' | 'name'>;
|
|
@@ -6608,7 +6900,7 @@ export type CreateFulfillmentRequestsForOrderMutationVariables = Exact<{
|
|
|
6608
6900
|
export type CreateFulfillmentRequestsForOrderMutation = {
|
|
6609
6901
|
createFulfillmentRequestsForOrder: Array<(Pick<FulfillmentRequest, 'id' | 'createdAt' | 'updatedAt' | 'state' | 'deliveryMethod' | 'handlerCode'> & {
|
|
6610
6902
|
holdReasons: Array<Pick<HoldReason, 'code' | 'addedAt' | 'note'>>;
|
|
6611
|
-
destinationAddress?: Maybe<(Pick<OrderAddress, '
|
|
6903
|
+
destinationAddress?: Maybe<(Pick<OrderAddress, 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
6612
6904
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
6613
6905
|
})>;
|
|
6614
6906
|
assignedLocation: Pick<StockLocation, 'id' | 'name'>;
|
|
@@ -6664,6 +6956,12 @@ export type TransitionFulfillmentToStateMutation = {
|
|
|
6664
6956
|
lines: Array<Pick<FulfillmentLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'orderLineId'>>;
|
|
6665
6957
|
});
|
|
6666
6958
|
};
|
|
6959
|
+
export type AdminFulfillmentStateChangedSubscriptionVariables = Exact<{
|
|
6960
|
+
orderId: Scalars['ID']['input'];
|
|
6961
|
+
}>;
|
|
6962
|
+
export type AdminFulfillmentStateChangedSubscription = {
|
|
6963
|
+
fulfillmentStateChanged: Pick<FulfillmentStateTransition, 'fulfillmentId' | 'orderId' | 'fromState' | 'toState'>;
|
|
6964
|
+
};
|
|
6667
6965
|
export type AdminHookDispatchedSubscriptionVariables = Exact<{
|
|
6668
6966
|
hookPoints: Array<Scalars['String']['input']> | Scalars['String']['input'];
|
|
6669
6967
|
}>;
|
|
@@ -6907,15 +7205,15 @@ export type ModifyOrderMutationVariables = Exact<{
|
|
|
6907
7205
|
}>;
|
|
6908
7206
|
export type ModifyOrderMutation = {
|
|
6909
7207
|
modifyOrder: {
|
|
6910
|
-
order: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
6911
|
-
billingAddress?: Maybe<(Pick<OrderAddress, '
|
|
7208
|
+
order: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'refundableTotal' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
7209
|
+
billingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
6912
7210
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
6913
7211
|
})>;
|
|
6914
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
7212
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
6915
7213
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
6916
7214
|
})>;
|
|
6917
7215
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
6918
|
-
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
7216
|
+
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
6919
7217
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
6920
7218
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
6921
7219
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -6959,7 +7257,7 @@ export type ModifyOrderMutation = {
|
|
|
6959
7257
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
6960
7258
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
6961
7259
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
6962
|
-
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode'>>;
|
|
7260
|
+
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode' | 'estimated'>>;
|
|
6963
7261
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
6964
7262
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
6965
7263
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -6987,15 +7285,15 @@ export type CancelOrderMutationVariables = Exact<{
|
|
|
6987
7285
|
input: CancelOrderInput;
|
|
6988
7286
|
}>;
|
|
6989
7287
|
export type CancelOrderMutation = {
|
|
6990
|
-
cancelOrder: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
6991
|
-
billingAddress?: Maybe<(Pick<OrderAddress, '
|
|
7288
|
+
cancelOrder: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'refundableTotal' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
7289
|
+
billingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
6992
7290
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
6993
7291
|
})>;
|
|
6994
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
7292
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
6995
7293
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
6996
7294
|
})>;
|
|
6997
7295
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
6998
|
-
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
7296
|
+
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
6999
7297
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
7000
7298
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
7001
7299
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -7039,7 +7337,7 @@ export type CancelOrderMutation = {
|
|
|
7039
7337
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
7040
7338
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
7041
7339
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
7042
|
-
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode'>>;
|
|
7340
|
+
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode' | 'estimated'>>;
|
|
7043
7341
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
7044
7342
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
7045
7343
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -7075,10 +7373,10 @@ export type ShippingLineFieldFragment = (Pick<ShippingLine, 'id' | 'createdAt' |
|
|
|
7075
7373
|
});
|
|
7076
7374
|
export type DiscountFieldFragment = Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>;
|
|
7077
7375
|
export type TaxSummaryFieldFragment = Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>;
|
|
7078
|
-
export type OrderAddressFieldFragment = (Pick<OrderAddress, '
|
|
7376
|
+
export type OrderAddressFieldFragment = (Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
7079
7377
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7080
7378
|
});
|
|
7081
|
-
export type OrderLineFieldFragment = (Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
7379
|
+
export type OrderLineFieldFragment = (Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
7082
7380
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
7083
7381
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
7084
7382
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -7090,15 +7388,15 @@ export type OrderLineFieldFragment = (Pick<OrderLine, 'id' | 'createdAt' | 'upda
|
|
|
7090
7388
|
featuredAsset?: Maybe<Pick<Asset, 'id'>>;
|
|
7091
7389
|
snapshot?: Maybe<Pick<ProductVariantSnapshot, 'id' | 'createdAt' | 'updatedAt' | 'productName' | 'variantName' | 'sku' | 'imageUrl' | 'price' | 'priceWithTax'>>;
|
|
7092
7390
|
});
|
|
7093
|
-
export type OrderFieldFragment = (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
7094
|
-
billingAddress?: Maybe<(Pick<OrderAddress, '
|
|
7391
|
+
export type OrderFieldFragment = (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'refundableTotal' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
7392
|
+
billingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
7095
7393
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7096
7394
|
})>;
|
|
7097
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
7395
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
7098
7396
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7099
7397
|
})>;
|
|
7100
7398
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
7101
|
-
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
7399
|
+
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
7102
7400
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
7103
7401
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
7104
7402
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -7142,7 +7440,7 @@ export type OrderFieldFragment = (Pick<Order, 'id' | 'createdAt' | 'updatedAt' |
|
|
|
7142
7440
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
7143
7441
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
7144
7442
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
7145
|
-
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode'>>;
|
|
7443
|
+
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode' | 'estimated'>>;
|
|
7146
7444
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
7147
7445
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
7148
7446
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -7154,15 +7452,15 @@ export type OrderQueryVariables = Exact<{
|
|
|
7154
7452
|
id: Scalars['ID']['input'];
|
|
7155
7453
|
}>;
|
|
7156
7454
|
export type OrderQuery = {
|
|
7157
|
-
order?: Maybe<(Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
7158
|
-
billingAddress?: Maybe<(Pick<OrderAddress, '
|
|
7455
|
+
order?: Maybe<(Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'refundableTotal' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
7456
|
+
billingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
7159
7457
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7160
7458
|
})>;
|
|
7161
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
7459
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
7162
7460
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7163
7461
|
})>;
|
|
7164
7462
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
7165
|
-
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
7463
|
+
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
7166
7464
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
7167
7465
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
7168
7466
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -7206,7 +7504,7 @@ export type OrderQuery = {
|
|
|
7206
7504
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
7207
7505
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
7208
7506
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
7209
|
-
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode'>>;
|
|
7507
|
+
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode' | 'estimated'>>;
|
|
7210
7508
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
7211
7509
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
7212
7510
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -7220,15 +7518,15 @@ export type OrdersQueryVariables = Exact<{
|
|
|
7220
7518
|
}>;
|
|
7221
7519
|
export type OrdersQuery = {
|
|
7222
7520
|
orders: (Pick<OrderList, 'totalItems'> & {
|
|
7223
|
-
items: Array<(Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
7224
|
-
billingAddress?: Maybe<(Pick<OrderAddress, '
|
|
7521
|
+
items: Array<(Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'refundableTotal' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
7522
|
+
billingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
7225
7523
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7226
7524
|
})>;
|
|
7227
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
7525
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
7228
7526
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7229
7527
|
})>;
|
|
7230
7528
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
7231
|
-
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
7529
|
+
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
7232
7530
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
7233
7531
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
7234
7532
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -7272,7 +7570,7 @@ export type OrdersQuery = {
|
|
|
7272
7570
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
7273
7571
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
7274
7572
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
7275
|
-
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode'>>;
|
|
7573
|
+
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode' | 'estimated'>>;
|
|
7276
7574
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
7277
7575
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
7278
7576
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -7286,15 +7584,15 @@ export type OrderByCodeQueryVariables = Exact<{
|
|
|
7286
7584
|
code: Scalars['String']['input'];
|
|
7287
7585
|
}>;
|
|
7288
7586
|
export type OrderByCodeQuery = {
|
|
7289
|
-
orderByCode?: Maybe<(Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
7290
|
-
billingAddress?: Maybe<(Pick<OrderAddress, '
|
|
7587
|
+
orderByCode?: Maybe<(Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'refundableTotal' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
7588
|
+
billingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
7291
7589
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7292
7590
|
})>;
|
|
7293
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
7591
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
7294
7592
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7295
7593
|
})>;
|
|
7296
7594
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
7297
|
-
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
7595
|
+
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
7298
7596
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
7299
7597
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
7300
7598
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -7338,7 +7636,7 @@ export type OrderByCodeQuery = {
|
|
|
7338
7636
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
7339
7637
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
7340
7638
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
7341
|
-
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode'>>;
|
|
7639
|
+
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode' | 'estimated'>>;
|
|
7342
7640
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
7343
7641
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
7344
7642
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -7355,15 +7653,15 @@ export type TransitionOrderToStateMutationVariables = Exact<{
|
|
|
7355
7653
|
input: TransitionOrderInput;
|
|
7356
7654
|
}>;
|
|
7357
7655
|
export type TransitionOrderToStateMutation = {
|
|
7358
|
-
transitionOrderToState: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
7359
|
-
billingAddress?: Maybe<(Pick<OrderAddress, '
|
|
7656
|
+
transitionOrderToState: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'refundableTotal' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
7657
|
+
billingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
7360
7658
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7361
7659
|
})>;
|
|
7362
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
7660
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
7363
7661
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7364
7662
|
})>;
|
|
7365
7663
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
7366
|
-
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
7664
|
+
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
7367
7665
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
7368
7666
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
7369
7667
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -7407,7 +7705,7 @@ export type TransitionOrderToStateMutation = {
|
|
|
7407
7705
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
7408
7706
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
7409
7707
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
7410
|
-
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode'>>;
|
|
7708
|
+
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode' | 'estimated'>>;
|
|
7411
7709
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
7412
7710
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
7413
7711
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -7462,15 +7760,15 @@ export type CreateDraftOrderMutationVariables = Exact<{
|
|
|
7462
7760
|
[key: string]: never;
|
|
7463
7761
|
}>;
|
|
7464
7762
|
export type CreateDraftOrderMutation = {
|
|
7465
|
-
createDraftOrder: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
7466
|
-
billingAddress?: Maybe<(Pick<OrderAddress, '
|
|
7763
|
+
createDraftOrder: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'refundableTotal' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
7764
|
+
billingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
7467
7765
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7468
7766
|
})>;
|
|
7469
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
7767
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
7470
7768
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7471
7769
|
})>;
|
|
7472
7770
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
7473
|
-
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
7771
|
+
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
7474
7772
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
7475
7773
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
7476
7774
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -7514,7 +7812,7 @@ export type CreateDraftOrderMutation = {
|
|
|
7514
7812
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
7515
7813
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
7516
7814
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
7517
|
-
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode'>>;
|
|
7815
|
+
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode' | 'estimated'>>;
|
|
7518
7816
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
7519
7817
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
7520
7818
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -7533,15 +7831,15 @@ export type CompleteDraftMutationVariables = Exact<{
|
|
|
7533
7831
|
input: CompleteDraftInput;
|
|
7534
7832
|
}>;
|
|
7535
7833
|
export type CompleteDraftMutation = {
|
|
7536
|
-
completeDraft: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
7537
|
-
billingAddress?: Maybe<(Pick<OrderAddress, '
|
|
7834
|
+
completeDraft: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'refundableTotal' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
7835
|
+
billingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
7538
7836
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7539
7837
|
})>;
|
|
7540
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
7838
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
7541
7839
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7542
7840
|
})>;
|
|
7543
7841
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
7544
|
-
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
7842
|
+
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
7545
7843
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
7546
7844
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
7547
7845
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -7585,7 +7883,7 @@ export type CompleteDraftMutation = {
|
|
|
7585
7883
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
7586
7884
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
7587
7885
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
7588
|
-
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode'>>;
|
|
7886
|
+
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode' | 'estimated'>>;
|
|
7589
7887
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
7590
7888
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
7591
7889
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -7599,15 +7897,15 @@ export type AddItemsToOrderMutationVariables = Exact<{
|
|
|
7599
7897
|
}>;
|
|
7600
7898
|
export type AddItemsToOrderMutation = {
|
|
7601
7899
|
addItemsToOrder: {
|
|
7602
|
-
order: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
7603
|
-
billingAddress?: Maybe<(Pick<OrderAddress, '
|
|
7900
|
+
order: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'refundableTotal' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
7901
|
+
billingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
7604
7902
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7605
7903
|
})>;
|
|
7606
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
7904
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
7607
7905
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7608
7906
|
})>;
|
|
7609
7907
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
7610
|
-
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
7908
|
+
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
7611
7909
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
7612
7910
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
7613
7911
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -7651,7 +7949,7 @@ export type AddItemsToOrderMutation = {
|
|
|
7651
7949
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
7652
7950
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
7653
7951
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
7654
|
-
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode'>>;
|
|
7952
|
+
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode' | 'estimated'>>;
|
|
7655
7953
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
7656
7954
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
7657
7955
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -7662,20 +7960,85 @@ export type AddItemsToOrderMutation = {
|
|
|
7662
7960
|
errors: Array<Pick<BatchOrderLineError, 'index' | 'errorCode' | 'variables'>>;
|
|
7663
7961
|
};
|
|
7664
7962
|
};
|
|
7963
|
+
export type PinOrderLineStockLocationMutationVariables = Exact<{
|
|
7964
|
+
input: PinOrderLineStockLocationInput;
|
|
7965
|
+
}>;
|
|
7966
|
+
export type PinOrderLineStockLocationMutation = {
|
|
7967
|
+
pinOrderLineStockLocation: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'refundableTotal' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
7968
|
+
billingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
7969
|
+
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7970
|
+
})>;
|
|
7971
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
7972
|
+
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7973
|
+
})>;
|
|
7974
|
+
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
7975
|
+
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
7976
|
+
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
7977
|
+
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
7978
|
+
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
7979
|
+
shippingLine?: Maybe<(Pick<ShippingLine, 'id' | 'createdAt' | 'updatedAt' | 'listPrice' | 'listPriceWithTax' | 'listPriceIncludesTax'> & {
|
|
7980
|
+
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
7981
|
+
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
7982
|
+
})>;
|
|
7983
|
+
taxCategory?: Maybe<Pick<TaxCategory, 'id'>>;
|
|
7984
|
+
featuredAsset?: Maybe<Pick<Asset, 'id'>>;
|
|
7985
|
+
snapshot?: Maybe<Pick<ProductVariantSnapshot, 'id' | 'createdAt' | 'updatedAt' | 'productName' | 'variantName' | 'sku' | 'imageUrl' | 'price' | 'priceWithTax'>>;
|
|
7986
|
+
})>;
|
|
7987
|
+
payments: Array<(Pick<Payment, 'id' | 'createdAt' | 'updatedAt' | 'state' | 'amount' | 'providerCode' | 'transactionId' | 'errorMessage' | 'metadata' | 'orderId'> & {
|
|
7988
|
+
refunds: Array<(Pick<Refund, 'id' | 'createdAt' | 'updatedAt' | 'total' | 'reason' | 'state' | 'transactionId' | 'method' | 'metadata' | 'paymentId'> & {
|
|
7989
|
+
lines: Array<Pick<RefundLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'orderLineId'>>;
|
|
7990
|
+
})>;
|
|
7991
|
+
})>;
|
|
7992
|
+
fulfillments: Array<(Pick<Fulfillment, 'id' | 'createdAt' | 'updatedAt' | 'state' | 'method' | 'trackingCode' | 'handlerCode'> & {
|
|
7993
|
+
lines: Array<Pick<FulfillmentLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'orderLineId'>>;
|
|
7994
|
+
})>;
|
|
7995
|
+
shippingLines: Array<(Pick<ShippingLine, 'id' | 'createdAt' | 'updatedAt' | 'listPrice' | 'listPriceWithTax' | 'listPriceIncludesTax'> & {
|
|
7996
|
+
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
7997
|
+
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
7998
|
+
})>;
|
|
7999
|
+
surcharges: Array<(Pick<Surcharge, 'id' | 'createdAt' | 'updatedAt' | 'description' | 'listPrice' | 'listPriceIncludesTax' | 'sku' | 'taxRate'> & {
|
|
8000
|
+
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
8001
|
+
})>;
|
|
8002
|
+
modifications: Array<(Pick<OrderModification, 'id' | 'createdAt' | 'updatedAt' | 'priceChange' | 'note' | 'isSettled'> & {
|
|
8003
|
+
changes: Array<Pick<OrderModificationChange, 'orderLineId' | 'productVariantId' | 'type' | 'quantityBefore' | 'quantityAfter' | 'unitPriceBefore' | 'unitPriceAfter'>>;
|
|
8004
|
+
surcharges: Array<(Pick<Surcharge, 'id' | 'createdAt' | 'updatedAt' | 'description' | 'listPrice' | 'listPriceIncludesTax' | 'sku' | 'taxRate'> & {
|
|
8005
|
+
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
8006
|
+
})>;
|
|
8007
|
+
payment?: Maybe<(Pick<Payment, 'id' | 'createdAt' | 'updatedAt' | 'state' | 'amount' | 'providerCode' | 'transactionId' | 'errorMessage' | 'metadata' | 'orderId'> & {
|
|
8008
|
+
refunds: Array<(Pick<Refund, 'id' | 'createdAt' | 'updatedAt' | 'total' | 'reason' | 'state' | 'transactionId' | 'method' | 'metadata' | 'paymentId'> & {
|
|
8009
|
+
lines: Array<Pick<RefundLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'orderLineId'>>;
|
|
8010
|
+
})>;
|
|
8011
|
+
})>;
|
|
8012
|
+
refund?: Maybe<(Pick<Refund, 'id' | 'createdAt' | 'updatedAt' | 'total' | 'reason' | 'state' | 'transactionId' | 'method' | 'metadata' | 'paymentId'> & {
|
|
8013
|
+
lines: Array<Pick<RefundLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'orderLineId'>>;
|
|
8014
|
+
})>;
|
|
8015
|
+
})>;
|
|
8016
|
+
promotions: Array<Pick<Promotion, 'id'>>;
|
|
8017
|
+
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
8018
|
+
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
8019
|
+
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode' | 'estimated'>>;
|
|
8020
|
+
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
8021
|
+
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
8022
|
+
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
8023
|
+
administrator?: Maybe<Pick<Administrator, 'id'>>;
|
|
8024
|
+
})>;
|
|
8025
|
+
});
|
|
8026
|
+
});
|
|
8027
|
+
};
|
|
7665
8028
|
export type AdjustOrderLinesMutationVariables = Exact<{
|
|
7666
8029
|
input: AdjustOrderLinesInput;
|
|
7667
8030
|
}>;
|
|
7668
8031
|
export type AdjustOrderLinesMutation = {
|
|
7669
8032
|
adjustOrderLines: {
|
|
7670
|
-
order: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
7671
|
-
billingAddress?: Maybe<(Pick<OrderAddress, '
|
|
8033
|
+
order: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'refundableTotal' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
8034
|
+
billingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
7672
8035
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7673
8036
|
})>;
|
|
7674
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
8037
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
7675
8038
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7676
8039
|
})>;
|
|
7677
8040
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
7678
|
-
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
8041
|
+
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
7679
8042
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
7680
8043
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
7681
8044
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -7719,7 +8082,7 @@ export type AdjustOrderLinesMutation = {
|
|
|
7719
8082
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
7720
8083
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
7721
8084
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
7722
|
-
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode'>>;
|
|
8085
|
+
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode' | 'estimated'>>;
|
|
7723
8086
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
7724
8087
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
7725
8088
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -7735,15 +8098,15 @@ export type RemoveItemsFromOrderMutationVariables = Exact<{
|
|
|
7735
8098
|
}>;
|
|
7736
8099
|
export type RemoveItemsFromOrderMutation = {
|
|
7737
8100
|
removeItemsFromOrder: {
|
|
7738
|
-
order: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
7739
|
-
billingAddress?: Maybe<(Pick<OrderAddress, '
|
|
8101
|
+
order: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'refundableTotal' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
8102
|
+
billingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
7740
8103
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7741
8104
|
})>;
|
|
7742
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
8105
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
7743
8106
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7744
8107
|
})>;
|
|
7745
8108
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
7746
|
-
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
8109
|
+
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
7747
8110
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
7748
8111
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
7749
8112
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -7787,7 +8150,7 @@ export type RemoveItemsFromOrderMutation = {
|
|
|
7787
8150
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
7788
8151
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
7789
8152
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
7790
|
-
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode'>>;
|
|
8153
|
+
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode' | 'estimated'>>;
|
|
7791
8154
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
7792
8155
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
7793
8156
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -7802,15 +8165,15 @@ export type SetCustomerForOrderMutationVariables = Exact<{
|
|
|
7802
8165
|
input: SetCustomerForOrderInput;
|
|
7803
8166
|
}>;
|
|
7804
8167
|
export type SetCustomerForOrderMutation = {
|
|
7805
|
-
setCustomerForOrder: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
7806
|
-
billingAddress?: Maybe<(Pick<OrderAddress, '
|
|
8168
|
+
setCustomerForOrder: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'refundableTotal' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
8169
|
+
billingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
7807
8170
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7808
8171
|
})>;
|
|
7809
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
8172
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
7810
8173
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7811
8174
|
})>;
|
|
7812
8175
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
7813
|
-
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
8176
|
+
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
7814
8177
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
7815
8178
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
7816
8179
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -7854,7 +8217,7 @@ export type SetCustomerForOrderMutation = {
|
|
|
7854
8217
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
7855
8218
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
7856
8219
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
7857
|
-
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode'>>;
|
|
8220
|
+
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode' | 'estimated'>>;
|
|
7858
8221
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
7859
8222
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
7860
8223
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -7867,15 +8230,15 @@ export type SetCustomerForDraftOrderMutationVariables = Exact<{
|
|
|
7867
8230
|
input: SetCustomerForDraftOrderInput;
|
|
7868
8231
|
}>;
|
|
7869
8232
|
export type SetCustomerForDraftOrderMutation = {
|
|
7870
|
-
setCustomerForDraftOrder: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
7871
|
-
billingAddress?: Maybe<(Pick<OrderAddress, '
|
|
8233
|
+
setCustomerForDraftOrder: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'refundableTotal' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
8234
|
+
billingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
7872
8235
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7873
8236
|
})>;
|
|
7874
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
8237
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
7875
8238
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7876
8239
|
})>;
|
|
7877
8240
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
7878
|
-
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
8241
|
+
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
7879
8242
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
7880
8243
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
7881
8244
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -7919,7 +8282,7 @@ export type SetCustomerForDraftOrderMutation = {
|
|
|
7919
8282
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
7920
8283
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
7921
8284
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
7922
|
-
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode'>>;
|
|
8285
|
+
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode' | 'estimated'>>;
|
|
7923
8286
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
7924
8287
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
7925
8288
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -7932,15 +8295,80 @@ export type SetShippingAddressMutationVariables = Exact<{
|
|
|
7932
8295
|
input: SetShippingAddressInput;
|
|
7933
8296
|
}>;
|
|
7934
8297
|
export type SetShippingAddressMutation = {
|
|
7935
|
-
setShippingAddress: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
7936
|
-
billingAddress?: Maybe<(Pick<OrderAddress, '
|
|
8298
|
+
setShippingAddress: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'refundableTotal' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
8299
|
+
billingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
8300
|
+
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8301
|
+
})>;
|
|
8302
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
8303
|
+
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8304
|
+
})>;
|
|
8305
|
+
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
8306
|
+
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
8307
|
+
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
8308
|
+
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
8309
|
+
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
8310
|
+
shippingLine?: Maybe<(Pick<ShippingLine, 'id' | 'createdAt' | 'updatedAt' | 'listPrice' | 'listPriceWithTax' | 'listPriceIncludesTax'> & {
|
|
8311
|
+
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
8312
|
+
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
8313
|
+
})>;
|
|
8314
|
+
taxCategory?: Maybe<Pick<TaxCategory, 'id'>>;
|
|
8315
|
+
featuredAsset?: Maybe<Pick<Asset, 'id'>>;
|
|
8316
|
+
snapshot?: Maybe<Pick<ProductVariantSnapshot, 'id' | 'createdAt' | 'updatedAt' | 'productName' | 'variantName' | 'sku' | 'imageUrl' | 'price' | 'priceWithTax'>>;
|
|
8317
|
+
})>;
|
|
8318
|
+
payments: Array<(Pick<Payment, 'id' | 'createdAt' | 'updatedAt' | 'state' | 'amount' | 'providerCode' | 'transactionId' | 'errorMessage' | 'metadata' | 'orderId'> & {
|
|
8319
|
+
refunds: Array<(Pick<Refund, 'id' | 'createdAt' | 'updatedAt' | 'total' | 'reason' | 'state' | 'transactionId' | 'method' | 'metadata' | 'paymentId'> & {
|
|
8320
|
+
lines: Array<Pick<RefundLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'orderLineId'>>;
|
|
8321
|
+
})>;
|
|
8322
|
+
})>;
|
|
8323
|
+
fulfillments: Array<(Pick<Fulfillment, 'id' | 'createdAt' | 'updatedAt' | 'state' | 'method' | 'trackingCode' | 'handlerCode'> & {
|
|
8324
|
+
lines: Array<Pick<FulfillmentLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'orderLineId'>>;
|
|
8325
|
+
})>;
|
|
8326
|
+
shippingLines: Array<(Pick<ShippingLine, 'id' | 'createdAt' | 'updatedAt' | 'listPrice' | 'listPriceWithTax' | 'listPriceIncludesTax'> & {
|
|
8327
|
+
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
8328
|
+
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
8329
|
+
})>;
|
|
8330
|
+
surcharges: Array<(Pick<Surcharge, 'id' | 'createdAt' | 'updatedAt' | 'description' | 'listPrice' | 'listPriceIncludesTax' | 'sku' | 'taxRate'> & {
|
|
8331
|
+
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
8332
|
+
})>;
|
|
8333
|
+
modifications: Array<(Pick<OrderModification, 'id' | 'createdAt' | 'updatedAt' | 'priceChange' | 'note' | 'isSettled'> & {
|
|
8334
|
+
changes: Array<Pick<OrderModificationChange, 'orderLineId' | 'productVariantId' | 'type' | 'quantityBefore' | 'quantityAfter' | 'unitPriceBefore' | 'unitPriceAfter'>>;
|
|
8335
|
+
surcharges: Array<(Pick<Surcharge, 'id' | 'createdAt' | 'updatedAt' | 'description' | 'listPrice' | 'listPriceIncludesTax' | 'sku' | 'taxRate'> & {
|
|
8336
|
+
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
8337
|
+
})>;
|
|
8338
|
+
payment?: Maybe<(Pick<Payment, 'id' | 'createdAt' | 'updatedAt' | 'state' | 'amount' | 'providerCode' | 'transactionId' | 'errorMessage' | 'metadata' | 'orderId'> & {
|
|
8339
|
+
refunds: Array<(Pick<Refund, 'id' | 'createdAt' | 'updatedAt' | 'total' | 'reason' | 'state' | 'transactionId' | 'method' | 'metadata' | 'paymentId'> & {
|
|
8340
|
+
lines: Array<Pick<RefundLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'orderLineId'>>;
|
|
8341
|
+
})>;
|
|
8342
|
+
})>;
|
|
8343
|
+
refund?: Maybe<(Pick<Refund, 'id' | 'createdAt' | 'updatedAt' | 'total' | 'reason' | 'state' | 'transactionId' | 'method' | 'metadata' | 'paymentId'> & {
|
|
8344
|
+
lines: Array<Pick<RefundLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'orderLineId'>>;
|
|
8345
|
+
})>;
|
|
8346
|
+
})>;
|
|
8347
|
+
promotions: Array<Pick<Promotion, 'id'>>;
|
|
8348
|
+
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
8349
|
+
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
8350
|
+
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode' | 'estimated'>>;
|
|
8351
|
+
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
8352
|
+
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
8353
|
+
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
8354
|
+
administrator?: Maybe<Pick<Administrator, 'id'>>;
|
|
8355
|
+
})>;
|
|
8356
|
+
});
|
|
8357
|
+
});
|
|
8358
|
+
};
|
|
8359
|
+
export type CorrectShippingAddressMutationVariables = Exact<{
|
|
8360
|
+
input: SetShippingAddressInput;
|
|
8361
|
+
}>;
|
|
8362
|
+
export type CorrectShippingAddressMutation = {
|
|
8363
|
+
correctShippingAddress: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'refundableTotal' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
8364
|
+
billingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
7937
8365
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7938
8366
|
})>;
|
|
7939
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
8367
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
7940
8368
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7941
8369
|
})>;
|
|
7942
8370
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
7943
|
-
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
8371
|
+
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
7944
8372
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
7945
8373
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
7946
8374
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -7984,7 +8412,7 @@ export type SetShippingAddressMutation = {
|
|
|
7984
8412
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
7985
8413
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
7986
8414
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
7987
|
-
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode'>>;
|
|
8415
|
+
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode' | 'estimated'>>;
|
|
7988
8416
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
7989
8417
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
7990
8418
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -7997,15 +8425,15 @@ export type UnsetShippingAddressMutationVariables = Exact<{
|
|
|
7997
8425
|
input: UnsetShippingAddressInput;
|
|
7998
8426
|
}>;
|
|
7999
8427
|
export type UnsetShippingAddressMutation = {
|
|
8000
|
-
unsetShippingAddress: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
8001
|
-
billingAddress?: Maybe<(Pick<OrderAddress, '
|
|
8428
|
+
unsetShippingAddress: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'refundableTotal' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
8429
|
+
billingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
8002
8430
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8003
8431
|
})>;
|
|
8004
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
8432
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
8005
8433
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8006
8434
|
})>;
|
|
8007
8435
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
8008
|
-
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
8436
|
+
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
8009
8437
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
8010
8438
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
8011
8439
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -8049,7 +8477,7 @@ export type UnsetShippingAddressMutation = {
|
|
|
8049
8477
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
8050
8478
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
8051
8479
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
8052
|
-
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode'>>;
|
|
8480
|
+
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode' | 'estimated'>>;
|
|
8053
8481
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
8054
8482
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
8055
8483
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -8062,15 +8490,15 @@ export type SetBillingAddressMutationVariables = Exact<{
|
|
|
8062
8490
|
input: SetBillingAddressInput;
|
|
8063
8491
|
}>;
|
|
8064
8492
|
export type SetBillingAddressMutation = {
|
|
8065
|
-
setBillingAddress: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
8066
|
-
billingAddress?: Maybe<(Pick<OrderAddress, '
|
|
8493
|
+
setBillingAddress: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'refundableTotal' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
8494
|
+
billingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
8067
8495
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8068
8496
|
})>;
|
|
8069
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
8497
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
8070
8498
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8071
8499
|
})>;
|
|
8072
8500
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
8073
|
-
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
8501
|
+
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
8074
8502
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
8075
8503
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
8076
8504
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -8114,7 +8542,72 @@ export type SetBillingAddressMutation = {
|
|
|
8114
8542
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
8115
8543
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
8116
8544
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
8117
|
-
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode'>>;
|
|
8545
|
+
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode' | 'estimated'>>;
|
|
8546
|
+
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
8547
|
+
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
8548
|
+
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
8549
|
+
administrator?: Maybe<Pick<Administrator, 'id'>>;
|
|
8550
|
+
})>;
|
|
8551
|
+
});
|
|
8552
|
+
});
|
|
8553
|
+
};
|
|
8554
|
+
export type CorrectBillingAddressMutationVariables = Exact<{
|
|
8555
|
+
input: SetBillingAddressInput;
|
|
8556
|
+
}>;
|
|
8557
|
+
export type CorrectBillingAddressMutation = {
|
|
8558
|
+
correctBillingAddress: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'refundableTotal' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
8559
|
+
billingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
8560
|
+
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8561
|
+
})>;
|
|
8562
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
8563
|
+
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8564
|
+
})>;
|
|
8565
|
+
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
8566
|
+
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
8567
|
+
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
8568
|
+
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
8569
|
+
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
8570
|
+
shippingLine?: Maybe<(Pick<ShippingLine, 'id' | 'createdAt' | 'updatedAt' | 'listPrice' | 'listPriceWithTax' | 'listPriceIncludesTax'> & {
|
|
8571
|
+
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
8572
|
+
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
8573
|
+
})>;
|
|
8574
|
+
taxCategory?: Maybe<Pick<TaxCategory, 'id'>>;
|
|
8575
|
+
featuredAsset?: Maybe<Pick<Asset, 'id'>>;
|
|
8576
|
+
snapshot?: Maybe<Pick<ProductVariantSnapshot, 'id' | 'createdAt' | 'updatedAt' | 'productName' | 'variantName' | 'sku' | 'imageUrl' | 'price' | 'priceWithTax'>>;
|
|
8577
|
+
})>;
|
|
8578
|
+
payments: Array<(Pick<Payment, 'id' | 'createdAt' | 'updatedAt' | 'state' | 'amount' | 'providerCode' | 'transactionId' | 'errorMessage' | 'metadata' | 'orderId'> & {
|
|
8579
|
+
refunds: Array<(Pick<Refund, 'id' | 'createdAt' | 'updatedAt' | 'total' | 'reason' | 'state' | 'transactionId' | 'method' | 'metadata' | 'paymentId'> & {
|
|
8580
|
+
lines: Array<Pick<RefundLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'orderLineId'>>;
|
|
8581
|
+
})>;
|
|
8582
|
+
})>;
|
|
8583
|
+
fulfillments: Array<(Pick<Fulfillment, 'id' | 'createdAt' | 'updatedAt' | 'state' | 'method' | 'trackingCode' | 'handlerCode'> & {
|
|
8584
|
+
lines: Array<Pick<FulfillmentLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'orderLineId'>>;
|
|
8585
|
+
})>;
|
|
8586
|
+
shippingLines: Array<(Pick<ShippingLine, 'id' | 'createdAt' | 'updatedAt' | 'listPrice' | 'listPriceWithTax' | 'listPriceIncludesTax'> & {
|
|
8587
|
+
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
8588
|
+
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
8589
|
+
})>;
|
|
8590
|
+
surcharges: Array<(Pick<Surcharge, 'id' | 'createdAt' | 'updatedAt' | 'description' | 'listPrice' | 'listPriceIncludesTax' | 'sku' | 'taxRate'> & {
|
|
8591
|
+
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
8592
|
+
})>;
|
|
8593
|
+
modifications: Array<(Pick<OrderModification, 'id' | 'createdAt' | 'updatedAt' | 'priceChange' | 'note' | 'isSettled'> & {
|
|
8594
|
+
changes: Array<Pick<OrderModificationChange, 'orderLineId' | 'productVariantId' | 'type' | 'quantityBefore' | 'quantityAfter' | 'unitPriceBefore' | 'unitPriceAfter'>>;
|
|
8595
|
+
surcharges: Array<(Pick<Surcharge, 'id' | 'createdAt' | 'updatedAt' | 'description' | 'listPrice' | 'listPriceIncludesTax' | 'sku' | 'taxRate'> & {
|
|
8596
|
+
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
8597
|
+
})>;
|
|
8598
|
+
payment?: Maybe<(Pick<Payment, 'id' | 'createdAt' | 'updatedAt' | 'state' | 'amount' | 'providerCode' | 'transactionId' | 'errorMessage' | 'metadata' | 'orderId'> & {
|
|
8599
|
+
refunds: Array<(Pick<Refund, 'id' | 'createdAt' | 'updatedAt' | 'total' | 'reason' | 'state' | 'transactionId' | 'method' | 'metadata' | 'paymentId'> & {
|
|
8600
|
+
lines: Array<Pick<RefundLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'orderLineId'>>;
|
|
8601
|
+
})>;
|
|
8602
|
+
})>;
|
|
8603
|
+
refund?: Maybe<(Pick<Refund, 'id' | 'createdAt' | 'updatedAt' | 'total' | 'reason' | 'state' | 'transactionId' | 'method' | 'metadata' | 'paymentId'> & {
|
|
8604
|
+
lines: Array<Pick<RefundLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'orderLineId'>>;
|
|
8605
|
+
})>;
|
|
8606
|
+
})>;
|
|
8607
|
+
promotions: Array<Pick<Promotion, 'id'>>;
|
|
8608
|
+
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
8609
|
+
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
8610
|
+
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode' | 'estimated'>>;
|
|
8118
8611
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
8119
8612
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
8120
8613
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -8127,15 +8620,15 @@ export type UnsetBillingAddressMutationVariables = Exact<{
|
|
|
8127
8620
|
input: UnsetBillingAddressInput;
|
|
8128
8621
|
}>;
|
|
8129
8622
|
export type UnsetBillingAddressMutation = {
|
|
8130
|
-
unsetBillingAddress: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
8131
|
-
billingAddress?: Maybe<(Pick<OrderAddress, '
|
|
8623
|
+
unsetBillingAddress: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'refundableTotal' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
8624
|
+
billingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
8132
8625
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8133
8626
|
})>;
|
|
8134
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
8627
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
8135
8628
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8136
8629
|
})>;
|
|
8137
8630
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
8138
|
-
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
8631
|
+
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
8139
8632
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
8140
8633
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
8141
8634
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -8179,7 +8672,7 @@ export type UnsetBillingAddressMutation = {
|
|
|
8179
8672
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
8180
8673
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
8181
8674
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
8182
|
-
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode'>>;
|
|
8675
|
+
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode' | 'estimated'>>;
|
|
8183
8676
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
8184
8677
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
8185
8678
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -8192,15 +8685,15 @@ export type ApplyCouponCodeMutationVariables = Exact<{
|
|
|
8192
8685
|
input: OrderCouponCodeInput;
|
|
8193
8686
|
}>;
|
|
8194
8687
|
export type ApplyCouponCodeMutation = {
|
|
8195
|
-
applyCouponCode: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
8196
|
-
billingAddress?: Maybe<(Pick<OrderAddress, '
|
|
8688
|
+
applyCouponCode: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'refundableTotal' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
8689
|
+
billingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
8197
8690
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8198
8691
|
})>;
|
|
8199
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
8692
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
8200
8693
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8201
8694
|
})>;
|
|
8202
8695
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
8203
|
-
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
8696
|
+
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
8204
8697
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
8205
8698
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
8206
8699
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -8244,7 +8737,7 @@ export type ApplyCouponCodeMutation = {
|
|
|
8244
8737
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
8245
8738
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
8246
8739
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
8247
|
-
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode'>>;
|
|
8740
|
+
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode' | 'estimated'>>;
|
|
8248
8741
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
8249
8742
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
8250
8743
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -8257,15 +8750,15 @@ export type RemoveCouponCodeMutationVariables = Exact<{
|
|
|
8257
8750
|
input: OrderCouponCodeInput;
|
|
8258
8751
|
}>;
|
|
8259
8752
|
export type RemoveCouponCodeMutation = {
|
|
8260
|
-
removeCouponCode: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
8261
|
-
billingAddress?: Maybe<(Pick<OrderAddress, '
|
|
8753
|
+
removeCouponCode: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'refundableTotal' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
8754
|
+
billingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
8262
8755
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8263
8756
|
})>;
|
|
8264
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
8757
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
8265
8758
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8266
8759
|
})>;
|
|
8267
8760
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
8268
|
-
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
8761
|
+
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
8269
8762
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
8270
8763
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
8271
8764
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -8309,7 +8802,7 @@ export type RemoveCouponCodeMutation = {
|
|
|
8309
8802
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
8310
8803
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
8311
8804
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
8312
|
-
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode'>>;
|
|
8805
|
+
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode' | 'estimated'>>;
|
|
8313
8806
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
8314
8807
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
8315
8808
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -8322,15 +8815,15 @@ export type OrderDetailQueryVariables = Exact<{
|
|
|
8322
8815
|
id: Scalars['ID']['input'];
|
|
8323
8816
|
}>;
|
|
8324
8817
|
export type OrderDetailQuery = {
|
|
8325
|
-
order?: Maybe<(Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
8326
|
-
billingAddress?: Maybe<(Pick<OrderAddress, '
|
|
8818
|
+
order?: Maybe<(Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'refundableTotal' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
8819
|
+
billingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
8327
8820
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8328
8821
|
})>;
|
|
8329
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
8822
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
8330
8823
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8331
8824
|
})>;
|
|
8332
8825
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
8333
|
-
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
8826
|
+
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
8334
8827
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
8335
8828
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
8336
8829
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -8374,7 +8867,7 @@ export type OrderDetailQuery = {
|
|
|
8374
8867
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
8375
8868
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
8376
8869
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
8377
|
-
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode'>>;
|
|
8870
|
+
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode' | 'estimated'>>;
|
|
8378
8871
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
8379
8872
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
8380
8873
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -8387,15 +8880,15 @@ export type OrderApplyCodeCouponMutationVariables = Exact<{
|
|
|
8387
8880
|
input: OrderCouponCodeInput;
|
|
8388
8881
|
}>;
|
|
8389
8882
|
export type OrderApplyCodeCouponMutation = {
|
|
8390
|
-
applyCouponCode: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
8391
|
-
billingAddress?: Maybe<(Pick<OrderAddress, '
|
|
8883
|
+
applyCouponCode: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'refundableTotal' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
8884
|
+
billingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
8392
8885
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8393
8886
|
})>;
|
|
8394
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
8887
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
8395
8888
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8396
8889
|
})>;
|
|
8397
8890
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
8398
|
-
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
8891
|
+
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
8399
8892
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
8400
8893
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
8401
8894
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -8439,7 +8932,7 @@ export type OrderApplyCodeCouponMutation = {
|
|
|
8439
8932
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
8440
8933
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
8441
8934
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
8442
|
-
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode'>>;
|
|
8935
|
+
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode' | 'estimated'>>;
|
|
8443
8936
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
8444
8937
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
8445
8938
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -8452,15 +8945,15 @@ export type OrderRemoveCouponMutationVariables = Exact<{
|
|
|
8452
8945
|
input: OrderCouponCodeInput;
|
|
8453
8946
|
}>;
|
|
8454
8947
|
export type OrderRemoveCouponMutation = {
|
|
8455
|
-
removeCouponCode: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
8456
|
-
billingAddress?: Maybe<(Pick<OrderAddress, '
|
|
8948
|
+
removeCouponCode: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'refundableTotal' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
8949
|
+
billingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
8457
8950
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8458
8951
|
})>;
|
|
8459
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
8952
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
8460
8953
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8461
8954
|
})>;
|
|
8462
8955
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
8463
|
-
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
8956
|
+
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
8464
8957
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
8465
8958
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
8466
8959
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -8504,7 +8997,7 @@ export type OrderRemoveCouponMutation = {
|
|
|
8504
8997
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
8505
8998
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
8506
8999
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
8507
|
-
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode'>>;
|
|
9000
|
+
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode' | 'estimated'>>;
|
|
8508
9001
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
8509
9002
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
8510
9003
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -8517,15 +9010,15 @@ export type OrderCreateDraftMutationVariables = Exact<{
|
|
|
8517
9010
|
[key: string]: never;
|
|
8518
9011
|
}>;
|
|
8519
9012
|
export type OrderCreateDraftMutation = {
|
|
8520
|
-
createDraftOrder: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
8521
|
-
billingAddress?: Maybe<(Pick<OrderAddress, '
|
|
9013
|
+
createDraftOrder: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'refundableTotal' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
9014
|
+
billingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
8522
9015
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8523
9016
|
})>;
|
|
8524
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
9017
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
8525
9018
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8526
9019
|
})>;
|
|
8527
9020
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
8528
|
-
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
9021
|
+
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
8529
9022
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
8530
9023
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
8531
9024
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -8569,7 +9062,7 @@ export type OrderCreateDraftMutation = {
|
|
|
8569
9062
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
8570
9063
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
8571
9064
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
8572
|
-
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode'>>;
|
|
9065
|
+
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode' | 'estimated'>>;
|
|
8573
9066
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
8574
9067
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
8575
9068
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -8588,15 +9081,15 @@ export type OrderCompleteDraftMutationVariables = Exact<{
|
|
|
8588
9081
|
input: CompleteDraftInput;
|
|
8589
9082
|
}>;
|
|
8590
9083
|
export type OrderCompleteDraftMutation = {
|
|
8591
|
-
completeDraft: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
8592
|
-
billingAddress?: Maybe<(Pick<OrderAddress, '
|
|
9084
|
+
completeDraft: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'refundableTotal' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
9085
|
+
billingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
8593
9086
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8594
9087
|
})>;
|
|
8595
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
9088
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
8596
9089
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8597
9090
|
})>;
|
|
8598
9091
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
8599
|
-
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
9092
|
+
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
8600
9093
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
8601
9094
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
8602
9095
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -8640,7 +9133,7 @@ export type OrderCompleteDraftMutation = {
|
|
|
8640
9133
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
8641
9134
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
8642
9135
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
8643
|
-
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode'>>;
|
|
9136
|
+
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode' | 'estimated'>>;
|
|
8644
9137
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
8645
9138
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
8646
9139
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -8653,15 +9146,15 @@ export type OrderSetCustomerDraftMutationVariables = Exact<{
|
|
|
8653
9146
|
input: SetCustomerForDraftOrderInput;
|
|
8654
9147
|
}>;
|
|
8655
9148
|
export type OrderSetCustomerDraftMutation = {
|
|
8656
|
-
setCustomerForDraftOrder: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
8657
|
-
billingAddress?: Maybe<(Pick<OrderAddress, '
|
|
9149
|
+
setCustomerForDraftOrder: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'refundableTotal' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
9150
|
+
billingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
8658
9151
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8659
9152
|
})>;
|
|
8660
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
9153
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
8661
9154
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8662
9155
|
})>;
|
|
8663
9156
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
8664
|
-
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
9157
|
+
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
8665
9158
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
8666
9159
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
8667
9160
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -8705,7 +9198,7 @@ export type OrderSetCustomerDraftMutation = {
|
|
|
8705
9198
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
8706
9199
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
8707
9200
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
8708
|
-
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode'>>;
|
|
9201
|
+
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode' | 'estimated'>>;
|
|
8709
9202
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
8710
9203
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
8711
9204
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -8752,15 +9245,15 @@ export type OrderModifyModificationMutationVariables = Exact<{
|
|
|
8752
9245
|
}>;
|
|
8753
9246
|
export type OrderModifyModificationMutation = {
|
|
8754
9247
|
modifyOrder: {
|
|
8755
|
-
order: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
8756
|
-
billingAddress?: Maybe<(Pick<OrderAddress, '
|
|
9248
|
+
order: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'refundableTotal' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
9249
|
+
billingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
8757
9250
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8758
9251
|
})>;
|
|
8759
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
9252
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
8760
9253
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8761
9254
|
})>;
|
|
8762
9255
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
8763
|
-
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
9256
|
+
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
8764
9257
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
8765
9258
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
8766
9259
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -8804,7 +9297,7 @@ export type OrderModifyModificationMutation = {
|
|
|
8804
9297
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
8805
9298
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
8806
9299
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
8807
|
-
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode'>>;
|
|
9300
|
+
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode' | 'estimated'>>;
|
|
8808
9301
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
8809
9302
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
8810
9303
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -8832,15 +9325,15 @@ export type OrderCancelModificationMutationVariables = Exact<{
|
|
|
8832
9325
|
input: CancelOrderInput;
|
|
8833
9326
|
}>;
|
|
8834
9327
|
export type OrderCancelModificationMutation = {
|
|
8835
|
-
cancelOrder: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
8836
|
-
billingAddress?: Maybe<(Pick<OrderAddress, '
|
|
9328
|
+
cancelOrder: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'refundableTotal' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
9329
|
+
billingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
8837
9330
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8838
9331
|
})>;
|
|
8839
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
9332
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
8840
9333
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8841
9334
|
})>;
|
|
8842
9335
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
8843
|
-
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
9336
|
+
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
8844
9337
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
8845
9338
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
8846
9339
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -8884,7 +9377,7 @@ export type OrderCancelModificationMutation = {
|
|
|
8884
9377
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
8885
9378
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
8886
9379
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
8887
|
-
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode'>>;
|
|
9380
|
+
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode' | 'estimated'>>;
|
|
8888
9381
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
8889
9382
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
8890
9383
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -9038,19 +9531,19 @@ export type GetSessionVariablesQueryVariables = Exact<{
|
|
|
9038
9531
|
export type GetSessionVariablesQuery = {
|
|
9039
9532
|
getSessionVariables: Pick<PaymentFormVariables, 'providerCode' | 'publishableKey' | 'scriptUrl' | 'amount' | 'currency' | 'config'>;
|
|
9040
9533
|
};
|
|
9041
|
-
export type ManageablePluginFieldsFragment = (Pick<ManageablePlugin, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'code' | 'description' | 'imageUrl' | 'toggable' | 'tags'> & {
|
|
9534
|
+
export type ManageablePluginFieldsFragment = (Pick<ManageablePlugin, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'code' | 'description' | 'imageUrl' | 'toggable' | 'webhookPath' | 'webhookSigned' | 'tags'> & {
|
|
9042
9535
|
configItems: Array<(Pick<ManageablePluginConfigItem, 'id' | 'code' | 'type'> & {
|
|
9043
9536
|
translations: Array<Pick<ManageablePluginConfigItemTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9044
9537
|
})>;
|
|
9045
9538
|
});
|
|
9046
9539
|
export type ChannelPluginFieldsFragment = (Pick<ChannelPlugin, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'status' | 'configuration' | 'pluginId' | 'channelId'> & {
|
|
9047
|
-
plugin: Pick<ManageablePlugin, 'id' | 'name' | 'code' | 'imageUrl' | 'description' | 'tags'>;
|
|
9540
|
+
plugin: Pick<ManageablePlugin, 'id' | 'name' | 'code' | 'imageUrl' | 'description' | 'tags' | 'webhookPath' | 'webhookSigned'>;
|
|
9048
9541
|
});
|
|
9049
9542
|
export type ManageablePluginsQueryVariables = Exact<{
|
|
9050
9543
|
[key: string]: never;
|
|
9051
9544
|
}>;
|
|
9052
9545
|
export type ManageablePluginsQuery = {
|
|
9053
|
-
manageablePlugins: Array<(Pick<ManageablePlugin, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'code' | 'description' | 'imageUrl' | 'toggable' | 'tags'> & {
|
|
9546
|
+
manageablePlugins: Array<(Pick<ManageablePlugin, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'code' | 'description' | 'imageUrl' | 'toggable' | 'webhookPath' | 'webhookSigned' | 'tags'> & {
|
|
9054
9547
|
configItems: Array<(Pick<ManageablePluginConfigItem, 'id' | 'code' | 'type'> & {
|
|
9055
9548
|
translations: Array<Pick<ManageablePluginConfigItemTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9056
9549
|
})>;
|
|
@@ -9060,7 +9553,7 @@ export type ManageablePluginQueryVariables = Exact<{
|
|
|
9060
9553
|
code: Scalars['String']['input'];
|
|
9061
9554
|
}>;
|
|
9062
9555
|
export type ManageablePluginQuery = {
|
|
9063
|
-
manageablePlugin?: Maybe<(Pick<ManageablePlugin, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'code' | 'description' | 'imageUrl' | 'toggable' | 'tags'> & {
|
|
9556
|
+
manageablePlugin?: Maybe<(Pick<ManageablePlugin, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'code' | 'description' | 'imageUrl' | 'toggable' | 'webhookPath' | 'webhookSigned' | 'tags'> & {
|
|
9064
9557
|
configItems: Array<(Pick<ManageablePluginConfigItem, 'id' | 'code' | 'type'> & {
|
|
9065
9558
|
translations: Array<Pick<ManageablePluginConfigItemTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9066
9559
|
})>;
|
|
@@ -9071,7 +9564,7 @@ export type ChannelPluginsQueryVariables = Exact<{
|
|
|
9071
9564
|
}>;
|
|
9072
9565
|
export type ChannelPluginsQuery = {
|
|
9073
9566
|
channelPlugins: Array<(Pick<ChannelPlugin, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'status' | 'configuration' | 'pluginId' | 'channelId'> & {
|
|
9074
|
-
plugin: Pick<ManageablePlugin, 'id' | 'name' | 'code' | 'imageUrl' | 'description' | 'tags'>;
|
|
9567
|
+
plugin: Pick<ManageablePlugin, 'id' | 'name' | 'code' | 'imageUrl' | 'description' | 'tags' | 'webhookPath' | 'webhookSigned'>;
|
|
9075
9568
|
})>;
|
|
9076
9569
|
};
|
|
9077
9570
|
export type PluginConfigurationQueryVariables = Exact<{
|
|
@@ -9094,7 +9587,7 @@ export type ManageablePluginsByTagQueryVariables = Exact<{
|
|
|
9094
9587
|
tag: Scalars['String']['input'];
|
|
9095
9588
|
}>;
|
|
9096
9589
|
export type ManageablePluginsByTagQuery = {
|
|
9097
|
-
manageablePluginsByTag: Array<(Pick<ManageablePlugin, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'code' | 'description' | 'imageUrl' | 'toggable' | 'tags'> & {
|
|
9590
|
+
manageablePluginsByTag: Array<(Pick<ManageablePlugin, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'code' | 'description' | 'imageUrl' | 'toggable' | 'webhookPath' | 'webhookSigned' | 'tags'> & {
|
|
9098
9591
|
configItems: Array<(Pick<ManageablePluginConfigItem, 'id' | 'code' | 'type'> & {
|
|
9099
9592
|
translations: Array<Pick<ManageablePluginConfigItemTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9100
9593
|
})>;
|
|
@@ -9104,7 +9597,7 @@ export type CreateManageablePluginMutationVariables = Exact<{
|
|
|
9104
9597
|
input: CreateManageablePluginInput;
|
|
9105
9598
|
}>;
|
|
9106
9599
|
export type CreateManageablePluginMutation = {
|
|
9107
|
-
createManageablePlugin: (Pick<ManageablePlugin, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'code' | 'description' | 'imageUrl' | 'toggable' | 'tags'> & {
|
|
9600
|
+
createManageablePlugin: (Pick<ManageablePlugin, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'code' | 'description' | 'imageUrl' | 'toggable' | 'webhookPath' | 'webhookSigned' | 'tags'> & {
|
|
9108
9601
|
configItems: Array<(Pick<ManageablePluginConfigItem, 'id' | 'code' | 'type'> & {
|
|
9109
9602
|
translations: Array<Pick<ManageablePluginConfigItemTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9110
9603
|
})>;
|
|
@@ -9114,7 +9607,7 @@ export type UpdateManageablePluginMutationVariables = Exact<{
|
|
|
9114
9607
|
input: UpdateManageablePluginInput;
|
|
9115
9608
|
}>;
|
|
9116
9609
|
export type UpdateManageablePluginMutation = {
|
|
9117
|
-
updateManageablePlugin: (Pick<ManageablePlugin, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'code' | 'description' | 'imageUrl' | 'toggable' | 'tags'> & {
|
|
9610
|
+
updateManageablePlugin: (Pick<ManageablePlugin, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'code' | 'description' | 'imageUrl' | 'toggable' | 'webhookPath' | 'webhookSigned' | 'tags'> & {
|
|
9118
9611
|
configItems: Array<(Pick<ManageablePluginConfigItem, 'id' | 'code' | 'type'> & {
|
|
9119
9612
|
translations: Array<Pick<ManageablePluginConfigItemTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9120
9613
|
})>;
|
|
@@ -9129,7 +9622,7 @@ export type ActivatePluginMutationVariables = Exact<{
|
|
|
9129
9622
|
}>;
|
|
9130
9623
|
export type ActivatePluginMutation = {
|
|
9131
9624
|
activatePlugin: (Pick<ChannelPlugin, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'status' | 'configuration' | 'pluginId' | 'channelId'> & {
|
|
9132
|
-
plugin: Pick<ManageablePlugin, 'id' | 'name' | 'code' | 'imageUrl' | 'description' | 'tags'>;
|
|
9625
|
+
plugin: Pick<ManageablePlugin, 'id' | 'name' | 'code' | 'imageUrl' | 'description' | 'tags' | 'webhookPath' | 'webhookSigned'>;
|
|
9133
9626
|
});
|
|
9134
9627
|
};
|
|
9135
9628
|
export type EnablePluginMutationVariables = Exact<{
|
|
@@ -9137,7 +9630,7 @@ export type EnablePluginMutationVariables = Exact<{
|
|
|
9137
9630
|
}>;
|
|
9138
9631
|
export type EnablePluginMutation = {
|
|
9139
9632
|
enablePlugin: (Pick<ChannelPlugin, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'status' | 'configuration' | 'pluginId' | 'channelId'> & {
|
|
9140
|
-
plugin: Pick<ManageablePlugin, 'id' | 'name' | 'code' | 'imageUrl' | 'description' | 'tags'>;
|
|
9633
|
+
plugin: Pick<ManageablePlugin, 'id' | 'name' | 'code' | 'imageUrl' | 'description' | 'tags' | 'webhookPath' | 'webhookSigned'>;
|
|
9141
9634
|
});
|
|
9142
9635
|
};
|
|
9143
9636
|
export type DisablePluginMutationVariables = Exact<{
|
|
@@ -9145,7 +9638,7 @@ export type DisablePluginMutationVariables = Exact<{
|
|
|
9145
9638
|
}>;
|
|
9146
9639
|
export type DisablePluginMutation = {
|
|
9147
9640
|
disablePlugin: (Pick<ChannelPlugin, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'status' | 'configuration' | 'pluginId' | 'channelId'> & {
|
|
9148
|
-
plugin: Pick<ManageablePlugin, 'id' | 'name' | 'code' | 'imageUrl' | 'description' | 'tags'>;
|
|
9641
|
+
plugin: Pick<ManageablePlugin, 'id' | 'name' | 'code' | 'imageUrl' | 'description' | 'tags' | 'webhookPath' | 'webhookSigned'>;
|
|
9149
9642
|
});
|
|
9150
9643
|
};
|
|
9151
9644
|
export type DeleteChannelPluginMutationVariables = Exact<{
|
|
@@ -9157,7 +9650,7 @@ export type UpdatePluginConfigurationMutationVariables = Exact<{
|
|
|
9157
9650
|
}>;
|
|
9158
9651
|
export type UpdatePluginConfigurationMutation = {
|
|
9159
9652
|
updatePluginConfiguration: (Pick<ChannelPlugin, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'status' | 'configuration' | 'pluginId' | 'channelId'> & {
|
|
9160
|
-
plugin: Pick<ManageablePlugin, 'id' | 'name' | 'code' | 'imageUrl' | 'description' | 'tags'>;
|
|
9653
|
+
plugin: Pick<ManageablePlugin, 'id' | 'name' | 'code' | 'imageUrl' | 'description' | 'tags' | 'webhookPath' | 'webhookSigned'>;
|
|
9161
9654
|
});
|
|
9162
9655
|
};
|
|
9163
9656
|
export type SetConfigurationItemValueMutationVariables = Exact<{
|
|
@@ -9168,7 +9661,7 @@ export type PluginManageablesQueryVariables = Exact<{
|
|
|
9168
9661
|
[key: string]: never;
|
|
9169
9662
|
}>;
|
|
9170
9663
|
export type PluginManageablesQuery = {
|
|
9171
|
-
manageablePlugins: Array<(Pick<ManageablePlugin, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'code' | 'description' | 'imageUrl' | 'toggable' | 'tags'> & {
|
|
9664
|
+
manageablePlugins: Array<(Pick<ManageablePlugin, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'code' | 'description' | 'imageUrl' | 'toggable' | 'webhookPath' | 'webhookSigned' | 'tags'> & {
|
|
9172
9665
|
configItems: Array<(Pick<ManageablePluginConfigItem, 'id' | 'code' | 'type'> & {
|
|
9173
9666
|
translations: Array<Pick<ManageablePluginConfigItemTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9174
9667
|
})>;
|
|
@@ -9178,7 +9671,7 @@ export type PluginManageableQueryVariables = Exact<{
|
|
|
9178
9671
|
code: Scalars['String']['input'];
|
|
9179
9672
|
}>;
|
|
9180
9673
|
export type PluginManageableQuery = {
|
|
9181
|
-
manageablePlugin?: Maybe<(Pick<ManageablePlugin, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'code' | 'description' | 'imageUrl' | 'toggable' | 'tags'> & {
|
|
9674
|
+
manageablePlugin?: Maybe<(Pick<ManageablePlugin, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'code' | 'description' | 'imageUrl' | 'toggable' | 'webhookPath' | 'webhookSigned' | 'tags'> & {
|
|
9182
9675
|
configItems: Array<(Pick<ManageablePluginConfigItem, 'id' | 'code' | 'type'> & {
|
|
9183
9676
|
translations: Array<Pick<ManageablePluginConfigItemTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9184
9677
|
})>;
|
|
@@ -9188,7 +9681,7 @@ export type PluginByTagManageableQueryVariables = Exact<{
|
|
|
9188
9681
|
tag: Scalars['String']['input'];
|
|
9189
9682
|
}>;
|
|
9190
9683
|
export type PluginByTagManageableQuery = {
|
|
9191
|
-
manageablePluginsByTag: Array<(Pick<ManageablePlugin, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'code' | 'description' | 'imageUrl' | 'toggable' | 'tags'> & {
|
|
9684
|
+
manageablePluginsByTag: Array<(Pick<ManageablePlugin, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'code' | 'description' | 'imageUrl' | 'toggable' | 'webhookPath' | 'webhookSigned' | 'tags'> & {
|
|
9192
9685
|
configItems: Array<(Pick<ManageablePluginConfigItem, 'id' | 'code' | 'type'> & {
|
|
9193
9686
|
translations: Array<Pick<ManageablePluginConfigItemTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9194
9687
|
})>;
|
|
@@ -9198,7 +9691,7 @@ export type PluginCreateManageableMutationVariables = Exact<{
|
|
|
9198
9691
|
input: CreateManageablePluginInput;
|
|
9199
9692
|
}>;
|
|
9200
9693
|
export type PluginCreateManageableMutation = {
|
|
9201
|
-
createManageablePlugin: (Pick<ManageablePlugin, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'code' | 'description' | 'imageUrl' | 'toggable' | 'tags'> & {
|
|
9694
|
+
createManageablePlugin: (Pick<ManageablePlugin, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'code' | 'description' | 'imageUrl' | 'toggable' | 'webhookPath' | 'webhookSigned' | 'tags'> & {
|
|
9202
9695
|
configItems: Array<(Pick<ManageablePluginConfigItem, 'id' | 'code' | 'type'> & {
|
|
9203
9696
|
translations: Array<Pick<ManageablePluginConfigItemTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9204
9697
|
})>;
|
|
@@ -9208,7 +9701,7 @@ export type PluginUpdateManageableMutationVariables = Exact<{
|
|
|
9208
9701
|
input: UpdateManageablePluginInput;
|
|
9209
9702
|
}>;
|
|
9210
9703
|
export type PluginUpdateManageableMutation = {
|
|
9211
|
-
updateManageablePlugin: (Pick<ManageablePlugin, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'code' | 'description' | 'imageUrl' | 'toggable' | 'tags'> & {
|
|
9704
|
+
updateManageablePlugin: (Pick<ManageablePlugin, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'code' | 'description' | 'imageUrl' | 'toggable' | 'webhookPath' | 'webhookSigned' | 'tags'> & {
|
|
9212
9705
|
configItems: Array<(Pick<ManageablePluginConfigItem, 'id' | 'code' | 'type'> & {
|
|
9213
9706
|
translations: Array<Pick<ManageablePluginConfigItemTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9214
9707
|
})>;
|
|
@@ -9314,8 +9807,9 @@ export type AddOptionGroupToProductMutation = {
|
|
|
9314
9807
|
options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
|
|
9315
9808
|
translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9316
9809
|
})>;
|
|
9317
|
-
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9810
|
+
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId' | 'packagePresetId'> & {
|
|
9318
9811
|
prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
|
|
9812
|
+
taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
|
|
9319
9813
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
9320
9814
|
tags: Array<Pick<Tag, 'id' | 'value'>>;
|
|
9321
9815
|
focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
|
|
@@ -9352,8 +9846,9 @@ export type RemoveOptionGroupFromProductMutation = {
|
|
|
9352
9846
|
options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
|
|
9353
9847
|
translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9354
9848
|
})>;
|
|
9355
|
-
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9849
|
+
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId' | 'packagePresetId'> & {
|
|
9356
9850
|
prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
|
|
9851
|
+
taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
|
|
9357
9852
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
9358
9853
|
tags: Array<Pick<Tag, 'id' | 'value'>>;
|
|
9359
9854
|
focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
|
|
@@ -9371,8 +9866,9 @@ export type RemoveOptionGroupFromProductMutation = {
|
|
|
9371
9866
|
});
|
|
9372
9867
|
};
|
|
9373
9868
|
export type ProductVariantTranslationFieldFragment = Pick<ProductVariantTranslation, 'id' | 'languageCode' | 'name'>;
|
|
9374
|
-
export type ProductVariantFieldFragment = (Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9869
|
+
export type ProductVariantFieldFragment = (Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId' | 'packagePresetId'> & {
|
|
9375
9870
|
prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
|
|
9871
|
+
taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
|
|
9376
9872
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
9377
9873
|
tags: Array<Pick<Tag, 'id' | 'value'>>;
|
|
9378
9874
|
focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
|
|
@@ -9392,8 +9888,9 @@ export type AdminProductVariantQueryVariables = Exact<{
|
|
|
9392
9888
|
id: Scalars['ID']['input'];
|
|
9393
9889
|
}>;
|
|
9394
9890
|
export type AdminProductVariantQuery = {
|
|
9395
|
-
productVariant?: Maybe<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9891
|
+
productVariant?: Maybe<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId' | 'packagePresetId'> & {
|
|
9396
9892
|
prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
|
|
9893
|
+
taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
|
|
9397
9894
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
9398
9895
|
tags: Array<Pick<Tag, 'id' | 'value'>>;
|
|
9399
9896
|
focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
|
|
@@ -9413,8 +9910,9 @@ export type AdminProductVariantsQueryVariables = Exact<{
|
|
|
9413
9910
|
productId: Scalars['ID']['input'];
|
|
9414
9911
|
}>;
|
|
9415
9912
|
export type AdminProductVariantsQuery = {
|
|
9416
|
-
productVariants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9913
|
+
productVariants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId' | 'packagePresetId'> & {
|
|
9417
9914
|
prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
|
|
9915
|
+
taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
|
|
9418
9916
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
9419
9917
|
tags: Array<Pick<Tag, 'id' | 'value'>>;
|
|
9420
9918
|
focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
|
|
@@ -9434,8 +9932,9 @@ export type CreateProductVariantsMutationVariables = Exact<{
|
|
|
9434
9932
|
input: Array<CreateProductVariantInput> | CreateProductVariantInput;
|
|
9435
9933
|
}>;
|
|
9436
9934
|
export type CreateProductVariantsMutation = {
|
|
9437
|
-
createProductVariants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9935
|
+
createProductVariants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId' | 'packagePresetId'> & {
|
|
9438
9936
|
prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
|
|
9937
|
+
taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
|
|
9439
9938
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
9440
9939
|
tags: Array<Pick<Tag, 'id' | 'value'>>;
|
|
9441
9940
|
focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
|
|
@@ -9455,8 +9954,9 @@ export type UpdateProductVariantsMutationVariables = Exact<{
|
|
|
9455
9954
|
input: Array<UpdateProductVariantInput> | UpdateProductVariantInput;
|
|
9456
9955
|
}>;
|
|
9457
9956
|
export type UpdateProductVariantsMutation = {
|
|
9458
|
-
updateProductVariants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
9957
|
+
updateProductVariants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId' | 'packagePresetId'> & {
|
|
9459
9958
|
prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
|
|
9959
|
+
taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
|
|
9460
9960
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
9461
9961
|
tags: Array<Pick<Tag, 'id' | 'value'>>;
|
|
9462
9962
|
focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
|
|
@@ -9507,8 +10007,9 @@ export type ProductFieldFragment = (Pick<Product, 'id' | 'createdAt' | 'updatedA
|
|
|
9507
10007
|
options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
|
|
9508
10008
|
translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9509
10009
|
})>;
|
|
9510
|
-
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
10010
|
+
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId' | 'packagePresetId'> & {
|
|
9511
10011
|
prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
|
|
10012
|
+
taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
|
|
9512
10013
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
9513
10014
|
tags: Array<Pick<Tag, 'id' | 'value'>>;
|
|
9514
10015
|
focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
|
|
@@ -9544,8 +10045,9 @@ export type AdminProductQuery = {
|
|
|
9544
10045
|
options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
|
|
9545
10046
|
translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9546
10047
|
})>;
|
|
9547
|
-
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
10048
|
+
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId' | 'packagePresetId'> & {
|
|
9548
10049
|
prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
|
|
10050
|
+
taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
|
|
9549
10051
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
9550
10052
|
tags: Array<Pick<Tag, 'id' | 'value'>>;
|
|
9551
10053
|
focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
|
|
@@ -9583,8 +10085,9 @@ export type AdminProductsQuery = {
|
|
|
9583
10085
|
options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
|
|
9584
10086
|
translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9585
10087
|
})>;
|
|
9586
|
-
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
10088
|
+
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId' | 'packagePresetId'> & {
|
|
9587
10089
|
prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
|
|
10090
|
+
taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
|
|
9588
10091
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
9589
10092
|
tags: Array<Pick<Tag, 'id' | 'value'>>;
|
|
9590
10093
|
focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
|
|
@@ -9622,8 +10125,9 @@ export type CreateProductMutation = {
|
|
|
9622
10125
|
options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
|
|
9623
10126
|
translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9624
10127
|
})>;
|
|
9625
|
-
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
10128
|
+
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId' | 'packagePresetId'> & {
|
|
9626
10129
|
prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
|
|
10130
|
+
taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
|
|
9627
10131
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
9628
10132
|
tags: Array<Pick<Tag, 'id' | 'value'>>;
|
|
9629
10133
|
focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
|
|
@@ -9660,8 +10164,9 @@ export type UpdateProductMutation = {
|
|
|
9660
10164
|
options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
|
|
9661
10165
|
translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9662
10166
|
})>;
|
|
9663
|
-
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
10167
|
+
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId' | 'packagePresetId'> & {
|
|
9664
10168
|
prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
|
|
10169
|
+
taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
|
|
9665
10170
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
9666
10171
|
tags: Array<Pick<Tag, 'id' | 'value'>>;
|
|
9667
10172
|
focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
|
|
@@ -9704,8 +10209,9 @@ export type AssignProductsToChannelMutation = {
|
|
|
9704
10209
|
options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
|
|
9705
10210
|
translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9706
10211
|
})>;
|
|
9707
|
-
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
10212
|
+
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId' | 'packagePresetId'> & {
|
|
9708
10213
|
prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
|
|
10214
|
+
taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
|
|
9709
10215
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
9710
10216
|
tags: Array<Pick<Tag, 'id' | 'value'>>;
|
|
9711
10217
|
focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
|
|
@@ -9742,8 +10248,9 @@ export type RemoveProductsFromChannelMutation = {
|
|
|
9742
10248
|
options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
|
|
9743
10249
|
translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9744
10250
|
})>;
|
|
9745
|
-
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
10251
|
+
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId' | 'packagePresetId'> & {
|
|
9746
10252
|
prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
|
|
10253
|
+
taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
|
|
9747
10254
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
9748
10255
|
tags: Array<Pick<Tag, 'id' | 'value'>>;
|
|
9749
10256
|
focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
|
|
@@ -9822,8 +10329,9 @@ export type ProductAddOptionGroupMutation = {
|
|
|
9822
10329
|
options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
|
|
9823
10330
|
translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9824
10331
|
})>;
|
|
9825
|
-
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
10332
|
+
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId' | 'packagePresetId'> & {
|
|
9826
10333
|
prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
|
|
10334
|
+
taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
|
|
9827
10335
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
9828
10336
|
tags: Array<Pick<Tag, 'id' | 'value'>>;
|
|
9829
10337
|
focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
|
|
@@ -9860,8 +10368,9 @@ export type ProductRemoveOptionGroupMutation = {
|
|
|
9860
10368
|
options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
|
|
9861
10369
|
translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9862
10370
|
})>;
|
|
9863
|
-
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId'> & {
|
|
10371
|
+
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId' | 'packagePresetId'> & {
|
|
9864
10372
|
prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
|
|
10373
|
+
taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
|
|
9865
10374
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
9866
10375
|
tags: Array<Pick<Tag, 'id' | 'value'>>;
|
|
9867
10376
|
focalPoint?: Maybe<Pick<FocalPoint, 'x' | 'y'>>;
|
|
@@ -10165,21 +10674,23 @@ export type DeleteSellingPlanMutationVariables = Exact<{
|
|
|
10165
10674
|
export type DeleteSellingPlanMutation = {
|
|
10166
10675
|
deleteSellingPlan: Pick<SellingPlan, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'billingInterval' | 'intervalCount' | 'trialDays' | 'pricingPolicy' | 'adjustmentValue' | 'anchorDay' | 'enabled'>;
|
|
10167
10676
|
};
|
|
10168
|
-
export type ShippingRateGroupFieldFragment = (Pick<ShippingGatewayRateGroup, 'id' | 'orderId' | 'stockLocationId' | 'stockLocationName'> & {
|
|
10677
|
+
export type ShippingRateGroupFieldFragment = (Pick<ShippingGatewayRateGroup, 'id' | 'orderId' | 'stockLocationId' | 'stockLocationName' | 'fulfillmentRequestId' | 'requiresRerate' | 'supersededAt' | 'rechargeModificationId'> & {
|
|
10678
|
+
lastRateErrors: Array<Pick<RateFetchFailure, 'providerCode' | 'providerName' | 'errorCode' | 'variables'>>;
|
|
10169
10679
|
orderLines: Array<Pick<ShippingGatewayRateGroupLine, 'orderLineId' | 'productName' | 'variantName' | 'quantity' | 'weight' | 'weightUnit' | 'length' | 'width' | 'height' | 'dimensionUnit'>>;
|
|
10170
|
-
rates: Array<Pick<ShippingGatewayRate, 'id' | 'extRateId' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode'>>;
|
|
10680
|
+
rates: Array<Pick<ShippingGatewayRate, 'id' | 'extRateId' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode' | 'consumedByLabelId' | 'estimated'>>;
|
|
10171
10681
|
});
|
|
10172
|
-
export type ShippingLabelFieldFragment = Pick<ShippingGatewayLabel, 'id' | 'status' | 'trackingNumber' | 'carrier' | 'service' | 'providerCode' | 'labelUrl' | 'orderId' | 'fulfillmentId' | 'isReturnLabel'>;
|
|
10682
|
+
export type ShippingLabelFieldFragment = Pick<ShippingGatewayLabel, 'id' | 'status' | 'trackingNumber' | 'carrier' | 'service' | 'providerCode' | 'labelUrl' | 'orderId' | 'fulfillmentId' | 'isReturnLabel' | 'rateGroupId' | 'costAmount' | 'costCurrencyCode' | 'lastErrorCode' | 'lastErrorDetail' | 'voidedAt'>;
|
|
10683
|
+
export type ShippingPickupFieldFragment = Pick<ShippingGatewayPickup, 'id' | 'orderId' | 'fulfillmentId' | 'rateGroupId' | 'providerCode' | 'carrier' | 'extPickupId' | 'status' | 'confirmationCode' | 'requestedStartAt' | 'requestedEndAt' | 'confirmedStartAt' | 'confirmedEndAt' | 'lastErrorCode'>;
|
|
10173
10684
|
export type ShippingCarrierFieldFragment = Pick<ShippingGatewayCarrier, 'id' | 'name' | 'code' | 'providerCode' | 'enabled'>;
|
|
10174
|
-
export type ShippingGatewayRoutingRuleFieldFragment = (Pick<ShippingGatewayRoutingRule, 'id' | 'stockLocationId' | 'scopeType' | '
|
|
10685
|
+
export type ShippingGatewayRoutingRuleFieldFragment = (Pick<ShippingGatewayRoutingRule, 'id' | 'stockLocationId' | 'scopeType' | 'cities' | 'useFlatRates' | 'allProviders' | 'providerCodes' | 'priority' | 'enabled'> & {
|
|
10175
10686
|
countries: Array<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
10176
|
-
flatRates: Array<Pick<ShippingGatewayRoutingFlatRate, 'id' | 'code' | 'name' | 'amount' | 'currencyCode' | 'estimatedDays'>>;
|
|
10177
10687
|
});
|
|
10688
|
+
export type StockLocationFlatRateFieldFragment = Pick<StockLocationFlatRate, 'id' | 'stockLocationId' | 'code' | 'name' | 'amount' | 'currencyCode' | 'estimatedDays'>;
|
|
10178
10689
|
export type ShippingLabelsQueryVariables = Exact<{
|
|
10179
10690
|
orderId: Scalars['ID']['input'];
|
|
10180
10691
|
}>;
|
|
10181
10692
|
export type ShippingLabelsQuery = {
|
|
10182
|
-
shippingLabels: Array<Pick<ShippingGatewayLabel, 'id' | 'status' | 'trackingNumber' | 'carrier' | 'service' | 'providerCode' | 'labelUrl' | 'orderId' | 'fulfillmentId' | 'isReturnLabel'>>;
|
|
10693
|
+
shippingLabels: Array<Pick<ShippingGatewayLabel, 'id' | 'status' | 'trackingNumber' | 'carrier' | 'service' | 'providerCode' | 'labelUrl' | 'orderId' | 'fulfillmentId' | 'isReturnLabel' | 'rateGroupId' | 'costAmount' | 'costCurrencyCode' | 'lastErrorCode' | 'lastErrorDetail' | 'voidedAt'>>;
|
|
10183
10694
|
};
|
|
10184
10695
|
export type CarriersQueryVariables = Exact<{
|
|
10185
10696
|
[key: string]: never;
|
|
@@ -10191,19 +10702,19 @@ export type CreateShippingLabelMutationVariables = Exact<{
|
|
|
10191
10702
|
input: CreateLabelServiceInput;
|
|
10192
10703
|
}>;
|
|
10193
10704
|
export type CreateShippingLabelMutation = {
|
|
10194
|
-
createShippingLabel: Pick<ShippingGatewayLabel, 'id' | 'status' | 'trackingNumber' | 'carrier' | 'service' | 'providerCode' | 'labelUrl' | 'orderId' | 'fulfillmentId' | 'isReturnLabel'>;
|
|
10705
|
+
createShippingLabel: Pick<ShippingGatewayLabel, 'id' | 'status' | 'trackingNumber' | 'carrier' | 'service' | 'providerCode' | 'labelUrl' | 'orderId' | 'fulfillmentId' | 'isReturnLabel' | 'rateGroupId' | 'costAmount' | 'costCurrencyCode' | 'lastErrorCode' | 'lastErrorDetail' | 'voidedAt'>;
|
|
10195
10706
|
};
|
|
10196
10707
|
export type VoidShippingLabelMutationVariables = Exact<{
|
|
10197
10708
|
labelId: Scalars['ID']['input'];
|
|
10198
10709
|
}>;
|
|
10199
10710
|
export type VoidShippingLabelMutation = {
|
|
10200
|
-
voidShippingLabel: Pick<ShippingGatewayLabel, 'id' | 'status' | 'trackingNumber' | 'carrier' | 'service' | 'providerCode' | 'labelUrl' | 'orderId' | 'fulfillmentId' | 'isReturnLabel'>;
|
|
10711
|
+
voidShippingLabel: Pick<ShippingGatewayLabel, 'id' | 'status' | 'trackingNumber' | 'carrier' | 'service' | 'providerCode' | 'labelUrl' | 'orderId' | 'fulfillmentId' | 'isReturnLabel' | 'rateGroupId' | 'costAmount' | 'costCurrencyCode' | 'lastErrorCode' | 'lastErrorDetail' | 'voidedAt'>;
|
|
10201
10712
|
};
|
|
10202
10713
|
export type CreateReturnLabelMutationVariables = Exact<{
|
|
10203
10714
|
input: CreateReturnLabelServiceInput;
|
|
10204
10715
|
}>;
|
|
10205
10716
|
export type CreateReturnLabelMutation = {
|
|
10206
|
-
createReturnLabel: Pick<ShippingGatewayLabel, 'id' | 'status' | 'trackingNumber' | 'carrier' | 'service' | 'providerCode' | 'labelUrl' | 'orderId' | 'fulfillmentId' | 'isReturnLabel'>;
|
|
10717
|
+
createReturnLabel: Pick<ShippingGatewayLabel, 'id' | 'status' | 'trackingNumber' | 'carrier' | 'service' | 'providerCode' | 'labelUrl' | 'orderId' | 'fulfillmentId' | 'isReturnLabel' | 'rateGroupId' | 'costAmount' | 'costCurrencyCode' | 'lastErrorCode' | 'lastErrorDetail' | 'voidedAt'>;
|
|
10207
10718
|
};
|
|
10208
10719
|
export type CreateCarrierMutationVariables = Exact<{
|
|
10209
10720
|
input: CreateCarrierInput;
|
|
@@ -10225,33 +10736,35 @@ export type ShippingRateGroupsQueryVariables = Exact<{
|
|
|
10225
10736
|
orderId: Scalars['ID']['input'];
|
|
10226
10737
|
}>;
|
|
10227
10738
|
export type ShippingRateGroupsQuery = {
|
|
10228
|
-
shippingRateGroups: Array<(Pick<ShippingGatewayRateGroup, 'id' | 'orderId' | 'stockLocationId' | 'stockLocationName'> & {
|
|
10739
|
+
shippingRateGroups: Array<(Pick<ShippingGatewayRateGroup, 'id' | 'orderId' | 'stockLocationId' | 'stockLocationName' | 'fulfillmentRequestId' | 'requiresRerate' | 'supersededAt' | 'rechargeModificationId'> & {
|
|
10740
|
+
lastRateErrors: Array<Pick<RateFetchFailure, 'providerCode' | 'providerName' | 'errorCode' | 'variables'>>;
|
|
10229
10741
|
orderLines: Array<Pick<ShippingGatewayRateGroupLine, 'orderLineId' | 'productName' | 'variantName' | 'quantity' | 'weight' | 'weightUnit' | 'length' | 'width' | 'height' | 'dimensionUnit'>>;
|
|
10230
|
-
rates: Array<Pick<ShippingGatewayRate, 'id' | 'extRateId' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode'>>;
|
|
10742
|
+
rates: Array<Pick<ShippingGatewayRate, 'id' | 'extRateId' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode' | 'consumedByLabelId' | 'estimated'>>;
|
|
10231
10743
|
})>;
|
|
10232
10744
|
};
|
|
10233
10745
|
export type RefreshShippingRateGroupsMutationVariables = Exact<{
|
|
10234
10746
|
input: RefreshShippingRateGroupsInput;
|
|
10235
10747
|
}>;
|
|
10236
10748
|
export type RefreshShippingRateGroupsMutation = {
|
|
10237
|
-
refreshShippingRateGroups: Array<(Pick<ShippingGatewayRateGroup, 'id' | 'orderId' | 'stockLocationId' | 'stockLocationName'> & {
|
|
10749
|
+
refreshShippingRateGroups: Array<(Pick<ShippingGatewayRateGroup, 'id' | 'orderId' | 'stockLocationId' | 'stockLocationName' | 'fulfillmentRequestId' | 'requiresRerate' | 'supersededAt' | 'rechargeModificationId'> & {
|
|
10750
|
+
lastRateErrors: Array<Pick<RateFetchFailure, 'providerCode' | 'providerName' | 'errorCode' | 'variables'>>;
|
|
10238
10751
|
orderLines: Array<Pick<ShippingGatewayRateGroupLine, 'orderLineId' | 'productName' | 'variantName' | 'quantity' | 'weight' | 'weightUnit' | 'length' | 'width' | 'height' | 'dimensionUnit'>>;
|
|
10239
|
-
rates: Array<Pick<ShippingGatewayRate, 'id' | 'extRateId' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode'>>;
|
|
10752
|
+
rates: Array<Pick<ShippingGatewayRate, 'id' | 'extRateId' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode' | 'consumedByLabelId' | 'estimated'>>;
|
|
10240
10753
|
})>;
|
|
10241
10754
|
};
|
|
10242
10755
|
export type SelectShippingRateMutationVariables = Exact<{
|
|
10243
10756
|
input: SelectShippingRateInput;
|
|
10244
10757
|
}>;
|
|
10245
10758
|
export type SelectShippingRateMutation = {
|
|
10246
|
-
selectShippingRate: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
10247
|
-
billingAddress?: Maybe<(Pick<OrderAddress, '
|
|
10759
|
+
selectShippingRate: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'refundableTotal' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
10760
|
+
billingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
10248
10761
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
10249
10762
|
})>;
|
|
10250
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
10763
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
10251
10764
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
10252
10765
|
})>;
|
|
10253
10766
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
10254
|
-
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
10767
|
+
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
10255
10768
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
10256
10769
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
10257
10770
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -10295,7 +10808,7 @@ export type SelectShippingRateMutation = {
|
|
|
10295
10808
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
10296
10809
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
10297
10810
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
10298
|
-
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode'>>;
|
|
10811
|
+
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode' | 'estimated'>>;
|
|
10299
10812
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
10300
10813
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
10301
10814
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -10308,15 +10821,15 @@ export type SetManualShippingRateMutationVariables = Exact<{
|
|
|
10308
10821
|
input: SetManualShippingRateInput;
|
|
10309
10822
|
}>;
|
|
10310
10823
|
export type SetManualShippingRateMutation = {
|
|
10311
|
-
setManualShippingRate: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
10312
|
-
billingAddress?: Maybe<(Pick<OrderAddress, '
|
|
10824
|
+
setManualShippingRate: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'refundableTotal' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
10825
|
+
billingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
10313
10826
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
10314
10827
|
})>;
|
|
10315
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
10828
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
10316
10829
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
10317
10830
|
})>;
|
|
10318
10831
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
10319
|
-
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
10832
|
+
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
10320
10833
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
10321
10834
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
10322
10835
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -10360,7 +10873,7 @@ export type SetManualShippingRateMutation = {
|
|
|
10360
10873
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
10361
10874
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
10362
10875
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
10363
|
-
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode'>>;
|
|
10876
|
+
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode' | 'estimated'>>;
|
|
10364
10877
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
10365
10878
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
10366
10879
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -10373,7 +10886,19 @@ export type UpdateShippingLabelMutationVariables = Exact<{
|
|
|
10373
10886
|
input: UpdateShippingLabelInput;
|
|
10374
10887
|
}>;
|
|
10375
10888
|
export type UpdateShippingLabelMutation = {
|
|
10376
|
-
updateShippingLabel: Pick<ShippingGatewayLabel, 'id' | 'status' | 'trackingNumber' | 'carrier' | 'service' | 'providerCode' | 'labelUrl' | 'orderId' | 'fulfillmentId' | 'isReturnLabel'>;
|
|
10889
|
+
updateShippingLabel: Pick<ShippingGatewayLabel, 'id' | 'status' | 'trackingNumber' | 'carrier' | 'service' | 'providerCode' | 'labelUrl' | 'orderId' | 'fulfillmentId' | 'isReturnLabel' | 'rateGroupId' | 'costAmount' | 'costCurrencyCode' | 'lastErrorCode' | 'lastErrorDetail' | 'voidedAt'>;
|
|
10890
|
+
};
|
|
10891
|
+
export type RequestPickupMutationVariables = Exact<{
|
|
10892
|
+
input: RequestPickupInput;
|
|
10893
|
+
}>;
|
|
10894
|
+
export type RequestPickupMutation = {
|
|
10895
|
+
requestPickup: Pick<ShippingGatewayPickup, 'id' | 'orderId' | 'fulfillmentId' | 'rateGroupId' | 'providerCode' | 'carrier' | 'extPickupId' | 'status' | 'confirmationCode' | 'requestedStartAt' | 'requestedEndAt' | 'confirmedStartAt' | 'confirmedEndAt' | 'lastErrorCode'>;
|
|
10896
|
+
};
|
|
10897
|
+
export type CancelPickupMutationVariables = Exact<{
|
|
10898
|
+
pickupId: Scalars['ID']['input'];
|
|
10899
|
+
}>;
|
|
10900
|
+
export type CancelPickupMutation = {
|
|
10901
|
+
cancelPickup: Pick<ShippingGatewayPickup, 'id' | 'orderId' | 'fulfillmentId' | 'rateGroupId' | 'providerCode' | 'carrier' | 'extPickupId' | 'status' | 'confirmationCode' | 'requestedStartAt' | 'requestedEndAt' | 'confirmedStartAt' | 'confirmedEndAt' | 'lastErrorCode'>;
|
|
10377
10902
|
};
|
|
10378
10903
|
export type AvailableShippingProvidersQueryVariables = Exact<{
|
|
10379
10904
|
[key: string]: never;
|
|
@@ -10385,42 +10910,248 @@ export type ShippingGatewayRoutingRulesQueryVariables = Exact<{
|
|
|
10385
10910
|
stockLocationId: Scalars['ID']['input'];
|
|
10386
10911
|
}>;
|
|
10387
10912
|
export type ShippingGatewayRoutingRulesQuery = {
|
|
10388
|
-
shippingGatewayRoutingRules: Array<(Pick<ShippingGatewayRoutingRule, 'id' | 'stockLocationId' | 'scopeType' | '
|
|
10913
|
+
shippingGatewayRoutingRules: Array<(Pick<ShippingGatewayRoutingRule, 'id' | 'stockLocationId' | 'scopeType' | 'cities' | 'useFlatRates' | 'allProviders' | 'providerCodes' | 'priority' | 'enabled'> & {
|
|
10389
10914
|
countries: Array<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
10390
|
-
flatRates: Array<Pick<ShippingGatewayRoutingFlatRate, 'id' | 'code' | 'name' | 'amount' | 'currencyCode' | 'estimatedDays'>>;
|
|
10391
10915
|
})>;
|
|
10392
10916
|
};
|
|
10393
10917
|
export type CreateShippingGatewayRoutingRuleMutationVariables = Exact<{
|
|
10394
10918
|
input: CreateShippingGatewayRoutingRuleInput;
|
|
10395
10919
|
}>;
|
|
10396
10920
|
export type CreateShippingGatewayRoutingRuleMutation = {
|
|
10397
|
-
createShippingGatewayRoutingRule: (Pick<ShippingGatewayRoutingRule, 'id' | 'stockLocationId' | 'scopeType' | '
|
|
10921
|
+
createShippingGatewayRoutingRule: (Pick<ShippingGatewayRoutingRule, 'id' | 'stockLocationId' | 'scopeType' | 'cities' | 'useFlatRates' | 'allProviders' | 'providerCodes' | 'priority' | 'enabled'> & {
|
|
10398
10922
|
countries: Array<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
10399
|
-
flatRates: Array<Pick<ShippingGatewayRoutingFlatRate, 'id' | 'code' | 'name' | 'amount' | 'currencyCode' | 'estimatedDays'>>;
|
|
10400
10923
|
});
|
|
10401
10924
|
};
|
|
10402
10925
|
export type UpdateShippingGatewayRoutingRuleMutationVariables = Exact<{
|
|
10403
10926
|
input: UpdateShippingGatewayRoutingRuleInput;
|
|
10404
10927
|
}>;
|
|
10405
10928
|
export type UpdateShippingGatewayRoutingRuleMutation = {
|
|
10406
|
-
updateShippingGatewayRoutingRule: (Pick<ShippingGatewayRoutingRule, 'id' | 'stockLocationId' | 'scopeType' | '
|
|
10929
|
+
updateShippingGatewayRoutingRule: (Pick<ShippingGatewayRoutingRule, 'id' | 'stockLocationId' | 'scopeType' | 'cities' | 'useFlatRates' | 'allProviders' | 'providerCodes' | 'priority' | 'enabled'> & {
|
|
10407
10930
|
countries: Array<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
10408
|
-
flatRates: Array<Pick<ShippingGatewayRoutingFlatRate, 'id' | 'code' | 'name' | 'amount' | 'currencyCode' | 'estimatedDays'>>;
|
|
10409
10931
|
});
|
|
10410
10932
|
};
|
|
10411
10933
|
export type DeleteShippingGatewayRoutingRuleMutationVariables = Exact<{
|
|
10412
10934
|
id: Scalars['ID']['input'];
|
|
10413
10935
|
}>;
|
|
10414
10936
|
export type DeleteShippingGatewayRoutingRuleMutation = Pick<Mutation, 'deleteShippingGatewayRoutingRule'>;
|
|
10937
|
+
export type StockLocationFlatRatesQueryVariables = Exact<{
|
|
10938
|
+
stockLocationId: Scalars['ID']['input'];
|
|
10939
|
+
}>;
|
|
10940
|
+
export type StockLocationFlatRatesQuery = {
|
|
10941
|
+
stockLocationFlatRates: Array<Pick<StockLocationFlatRate, 'id' | 'stockLocationId' | 'code' | 'name' | 'amount' | 'currencyCode' | 'estimatedDays'>>;
|
|
10942
|
+
};
|
|
10943
|
+
export type ReplaceStockLocationFlatRatesMutationVariables = Exact<{
|
|
10944
|
+
input: ReplaceStockLocationFlatRatesInput;
|
|
10945
|
+
}>;
|
|
10946
|
+
export type ReplaceStockLocationFlatRatesMutation = {
|
|
10947
|
+
replaceStockLocationFlatRates: Array<Pick<StockLocationFlatRate, 'id' | 'stockLocationId' | 'code' | 'name' | 'amount' | 'currencyCode' | 'estimatedDays'>>;
|
|
10948
|
+
};
|
|
10415
10949
|
export type ReorderShippingGatewayRoutingRulesMutationVariables = Exact<{
|
|
10416
10950
|
input: ReorderShippingGatewayRoutingRulesInput;
|
|
10417
10951
|
}>;
|
|
10418
10952
|
export type ReorderShippingGatewayRoutingRulesMutation = {
|
|
10419
|
-
reorderShippingGatewayRoutingRules: Array<(Pick<ShippingGatewayRoutingRule, 'id' | 'stockLocationId' | 'scopeType' | '
|
|
10953
|
+
reorderShippingGatewayRoutingRules: Array<(Pick<ShippingGatewayRoutingRule, 'id' | 'stockLocationId' | 'scopeType' | 'cities' | 'useFlatRates' | 'allProviders' | 'providerCodes' | 'priority' | 'enabled'> & {
|
|
10420
10954
|
countries: Array<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
10421
|
-
flatRates: Array<Pick<ShippingGatewayRoutingFlatRate, 'id' | 'code' | 'name' | 'amount' | 'currencyCode' | 'estimatedDays'>>;
|
|
10422
10955
|
})>;
|
|
10423
10956
|
};
|
|
10957
|
+
export type ShipmentRateFieldFragment = Pick<ShipmentRate, 'id' | 'extRateId' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode' | 'consumedByLabelId' | 'suggested' | 'estimated'>;
|
|
10958
|
+
export type OrderShipmentCostFieldFragment = Pick<OrderShipmentCost, 'collectedAmount' | 'labelCostAmount' | 'costDelta' | 'refundPendingTotal' | 'refundedTotal' | 'currencyCode'>;
|
|
10959
|
+
export type OrderShippingCostSummaryFieldFragment = Pick<OrderShippingCostSummary, 'collectedTotal' | 'labelCostTotal' | 'delta' | 'refundPendingTotal' | 'refundedTotal' | 'currencyCode'>;
|
|
10960
|
+
export type OrderShipmentFieldFragment = (Pick<OrderShipment, 'requiresRerate'> & {
|
|
10961
|
+
rateGroup: (Pick<ShippingGatewayRateGroup, 'id' | 'orderId' | 'stockLocationId' | 'stockLocationName' | 'fulfillmentRequestId' | 'requiresRerate' | 'supersededAt' | 'rechargeModificationId'> & {
|
|
10962
|
+
lastRateErrors: Array<Pick<RateFetchFailure, 'providerCode' | 'providerName' | 'errorCode' | 'variables'>>;
|
|
10963
|
+
orderLines: Array<Pick<ShippingGatewayRateGroupLine, 'orderLineId' | 'productName' | 'variantName' | 'quantity' | 'weight' | 'weightUnit' | 'length' | 'width' | 'height' | 'dimensionUnit'>>;
|
|
10964
|
+
rates: Array<Pick<ShippingGatewayRate, 'id' | 'extRateId' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode' | 'consumedByLabelId' | 'estimated'>>;
|
|
10965
|
+
});
|
|
10966
|
+
fulfillmentRequest?: Maybe<(Pick<FulfillmentRequest, 'id' | 'state' | 'deliveryMethod' | 'handlerCode'> & {
|
|
10967
|
+
holdReasons: Array<Pick<HoldReason, 'code' | 'addedAt' | 'note'>>;
|
|
10968
|
+
lines: Array<Pick<FulfillmentRequestLine, 'id' | 'quantity' | 'orderLineId'>>;
|
|
10969
|
+
})>;
|
|
10970
|
+
fulfillment?: Maybe<Pick<Fulfillment, 'id' | 'state' | 'method' | 'trackingCode' | 'handlerCode'>>;
|
|
10971
|
+
selectedRate?: Maybe<Pick<ShippingGatewayRate, 'id' | 'extRateId' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode' | 'consumedByLabelId' | 'estimated'>>;
|
|
10972
|
+
labels: Array<Pick<ShippingGatewayLabel, 'id' | 'status' | 'trackingNumber' | 'carrier' | 'service' | 'providerCode' | 'labelUrl' | 'orderId' | 'fulfillmentId' | 'isReturnLabel' | 'rateGroupId' | 'costAmount' | 'costCurrencyCode' | 'lastErrorCode' | 'lastErrorDetail' | 'voidedAt'>>;
|
|
10973
|
+
tracking?: Maybe<Pick<ShippingGatewayTracking, 'id' | 'status' | 'labelId' | 'events'>>;
|
|
10974
|
+
activePickup?: Maybe<Pick<ShippingGatewayPickup, 'id' | 'orderId' | 'fulfillmentId' | 'rateGroupId' | 'providerCode' | 'carrier' | 'extPickupId' | 'status' | 'confirmationCode' | 'requestedStartAt' | 'requestedEndAt' | 'confirmedStartAt' | 'confirmedEndAt' | 'lastErrorCode'>>;
|
|
10975
|
+
cost: Pick<OrderShipmentCost, 'collectedAmount' | 'labelCostAmount' | 'costDelta' | 'refundPendingTotal' | 'refundedTotal' | 'currencyCode'>;
|
|
10976
|
+
});
|
|
10977
|
+
export type OrderShipmentsQueryVariables = Exact<{
|
|
10978
|
+
orderId: Scalars['ID']['input'];
|
|
10979
|
+
}>;
|
|
10980
|
+
export type OrderShipmentsQuery = {
|
|
10981
|
+
orderShipments: {
|
|
10982
|
+
shipments: Array<(Pick<OrderShipment, 'requiresRerate'> & {
|
|
10983
|
+
rateGroup: (Pick<ShippingGatewayRateGroup, 'id' | 'orderId' | 'stockLocationId' | 'stockLocationName' | 'fulfillmentRequestId' | 'requiresRerate' | 'supersededAt' | 'rechargeModificationId'> & {
|
|
10984
|
+
lastRateErrors: Array<Pick<RateFetchFailure, 'providerCode' | 'providerName' | 'errorCode' | 'variables'>>;
|
|
10985
|
+
orderLines: Array<Pick<ShippingGatewayRateGroupLine, 'orderLineId' | 'productName' | 'variantName' | 'quantity' | 'weight' | 'weightUnit' | 'length' | 'width' | 'height' | 'dimensionUnit'>>;
|
|
10986
|
+
rates: Array<Pick<ShippingGatewayRate, 'id' | 'extRateId' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode' | 'consumedByLabelId' | 'estimated'>>;
|
|
10987
|
+
});
|
|
10988
|
+
fulfillmentRequest?: Maybe<(Pick<FulfillmentRequest, 'id' | 'state' | 'deliveryMethod' | 'handlerCode'> & {
|
|
10989
|
+
holdReasons: Array<Pick<HoldReason, 'code' | 'addedAt' | 'note'>>;
|
|
10990
|
+
lines: Array<Pick<FulfillmentRequestLine, 'id' | 'quantity' | 'orderLineId'>>;
|
|
10991
|
+
})>;
|
|
10992
|
+
fulfillment?: Maybe<Pick<Fulfillment, 'id' | 'state' | 'method' | 'trackingCode' | 'handlerCode'>>;
|
|
10993
|
+
selectedRate?: Maybe<Pick<ShippingGatewayRate, 'id' | 'extRateId' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode' | 'consumedByLabelId' | 'estimated'>>;
|
|
10994
|
+
labels: Array<Pick<ShippingGatewayLabel, 'id' | 'status' | 'trackingNumber' | 'carrier' | 'service' | 'providerCode' | 'labelUrl' | 'orderId' | 'fulfillmentId' | 'isReturnLabel' | 'rateGroupId' | 'costAmount' | 'costCurrencyCode' | 'lastErrorCode' | 'lastErrorDetail' | 'voidedAt'>>;
|
|
10995
|
+
tracking?: Maybe<Pick<ShippingGatewayTracking, 'id' | 'status' | 'labelId' | 'events'>>;
|
|
10996
|
+
activePickup?: Maybe<Pick<ShippingGatewayPickup, 'id' | 'orderId' | 'fulfillmentId' | 'rateGroupId' | 'providerCode' | 'carrier' | 'extPickupId' | 'status' | 'confirmationCode' | 'requestedStartAt' | 'requestedEndAt' | 'confirmedStartAt' | 'confirmedEndAt' | 'lastErrorCode'>>;
|
|
10997
|
+
cost: Pick<OrderShipmentCost, 'collectedAmount' | 'labelCostAmount' | 'costDelta' | 'refundPendingTotal' | 'refundedTotal' | 'currencyCode'>;
|
|
10998
|
+
})>;
|
|
10999
|
+
summary: Pick<OrderShippingCostSummary, 'collectedTotal' | 'labelCostTotal' | 'delta' | 'refundPendingTotal' | 'refundedTotal' | 'currencyCode'>;
|
|
11000
|
+
strandedLabels: Array<Pick<ShippingGatewayLabel, 'id' | 'status' | 'trackingNumber' | 'carrier' | 'service' | 'providerCode' | 'labelUrl' | 'orderId' | 'fulfillmentId' | 'isReturnLabel' | 'rateGroupId' | 'costAmount' | 'costCurrencyCode' | 'lastErrorCode' | 'lastErrorDetail' | 'voidedAt'>>;
|
|
11001
|
+
labelHistory: Array<Pick<ShippingGatewayLabel, 'id' | 'status' | 'trackingNumber' | 'carrier' | 'service' | 'providerCode' | 'labelUrl' | 'orderId' | 'fulfillmentId' | 'isReturnLabel' | 'rateGroupId' | 'costAmount' | 'costCurrencyCode' | 'lastErrorCode' | 'lastErrorDetail' | 'voidedAt'>>;
|
|
11002
|
+
};
|
|
11003
|
+
};
|
|
11004
|
+
export type RefreshRatesForShipmentMutationVariables = Exact<{
|
|
11005
|
+
fulfillmentRequestId: Scalars['ID']['input'];
|
|
11006
|
+
}>;
|
|
11007
|
+
export type RefreshRatesForShipmentMutation = {
|
|
11008
|
+
refreshRatesForShipment: Array<Pick<ShipmentRate, 'id' | 'extRateId' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode' | 'consumedByLabelId' | 'suggested' | 'estimated'>>;
|
|
11009
|
+
};
|
|
11010
|
+
export type RenewShipmentRatesMutationVariables = Exact<{
|
|
11011
|
+
fulfillmentRequestId: Scalars['ID']['input'];
|
|
11012
|
+
}>;
|
|
11013
|
+
export type RenewShipmentRatesMutation = {
|
|
11014
|
+
renewShipmentRates: Array<Pick<ShipmentRate, 'id' | 'extRateId' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode' | 'consumedByLabelId' | 'suggested' | 'estimated'>>;
|
|
11015
|
+
};
|
|
11016
|
+
export type SelectRateForShipmentMutationVariables = Exact<{
|
|
11017
|
+
input: SelectRateForShipmentInput;
|
|
11018
|
+
}>;
|
|
11019
|
+
export type SelectRateForShipmentMutation = {
|
|
11020
|
+
selectRateForShipment: (Pick<ShippingGatewayRateGroup, 'id' | 'orderId' | 'stockLocationId' | 'stockLocationName' | 'fulfillmentRequestId' | 'requiresRerate' | 'supersededAt' | 'rechargeModificationId'> & {
|
|
11021
|
+
lastRateErrors: Array<Pick<RateFetchFailure, 'providerCode' | 'providerName' | 'errorCode' | 'variables'>>;
|
|
11022
|
+
orderLines: Array<Pick<ShippingGatewayRateGroupLine, 'orderLineId' | 'productName' | 'variantName' | 'quantity' | 'weight' | 'weightUnit' | 'length' | 'width' | 'height' | 'dimensionUnit'>>;
|
|
11023
|
+
rates: Array<Pick<ShippingGatewayRate, 'id' | 'extRateId' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode' | 'consumedByLabelId' | 'estimated'>>;
|
|
11024
|
+
});
|
|
11025
|
+
};
|
|
11026
|
+
export type RechargeShippingCostDeltaMutationVariables = Exact<{
|
|
11027
|
+
input: RechargeShippingCostDeltaInput;
|
|
11028
|
+
}>;
|
|
11029
|
+
export type RechargeShippingCostDeltaMutation = {
|
|
11030
|
+
rechargeShippingCostDelta: {
|
|
11031
|
+
order: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'refundableTotal' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
11032
|
+
billingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
11033
|
+
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
11034
|
+
})>;
|
|
11035
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
11036
|
+
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
11037
|
+
})>;
|
|
11038
|
+
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
11039
|
+
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
11040
|
+
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
11041
|
+
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
11042
|
+
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
11043
|
+
shippingLine?: Maybe<(Pick<ShippingLine, 'id' | 'createdAt' | 'updatedAt' | 'listPrice' | 'listPriceWithTax' | 'listPriceIncludesTax'> & {
|
|
11044
|
+
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
11045
|
+
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
11046
|
+
})>;
|
|
11047
|
+
taxCategory?: Maybe<Pick<TaxCategory, 'id'>>;
|
|
11048
|
+
featuredAsset?: Maybe<Pick<Asset, 'id'>>;
|
|
11049
|
+
snapshot?: Maybe<Pick<ProductVariantSnapshot, 'id' | 'createdAt' | 'updatedAt' | 'productName' | 'variantName' | 'sku' | 'imageUrl' | 'price' | 'priceWithTax'>>;
|
|
11050
|
+
})>;
|
|
11051
|
+
payments: Array<(Pick<Payment, 'id' | 'createdAt' | 'updatedAt' | 'state' | 'amount' | 'providerCode' | 'transactionId' | 'errorMessage' | 'metadata' | 'orderId'> & {
|
|
11052
|
+
refunds: Array<(Pick<Refund, 'id' | 'createdAt' | 'updatedAt' | 'total' | 'reason' | 'state' | 'transactionId' | 'method' | 'metadata' | 'paymentId'> & {
|
|
11053
|
+
lines: Array<Pick<RefundLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'orderLineId'>>;
|
|
11054
|
+
})>;
|
|
11055
|
+
})>;
|
|
11056
|
+
fulfillments: Array<(Pick<Fulfillment, 'id' | 'createdAt' | 'updatedAt' | 'state' | 'method' | 'trackingCode' | 'handlerCode'> & {
|
|
11057
|
+
lines: Array<Pick<FulfillmentLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'orderLineId'>>;
|
|
11058
|
+
})>;
|
|
11059
|
+
shippingLines: Array<(Pick<ShippingLine, 'id' | 'createdAt' | 'updatedAt' | 'listPrice' | 'listPriceWithTax' | 'listPriceIncludesTax'> & {
|
|
11060
|
+
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
11061
|
+
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
11062
|
+
})>;
|
|
11063
|
+
surcharges: Array<(Pick<Surcharge, 'id' | 'createdAt' | 'updatedAt' | 'description' | 'listPrice' | 'listPriceIncludesTax' | 'sku' | 'taxRate'> & {
|
|
11064
|
+
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
11065
|
+
})>;
|
|
11066
|
+
modifications: Array<(Pick<OrderModification, 'id' | 'createdAt' | 'updatedAt' | 'priceChange' | 'note' | 'isSettled'> & {
|
|
11067
|
+
changes: Array<Pick<OrderModificationChange, 'orderLineId' | 'productVariantId' | 'type' | 'quantityBefore' | 'quantityAfter' | 'unitPriceBefore' | 'unitPriceAfter'>>;
|
|
11068
|
+
surcharges: Array<(Pick<Surcharge, 'id' | 'createdAt' | 'updatedAt' | 'description' | 'listPrice' | 'listPriceIncludesTax' | 'sku' | 'taxRate'> & {
|
|
11069
|
+
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
11070
|
+
})>;
|
|
11071
|
+
payment?: Maybe<(Pick<Payment, 'id' | 'createdAt' | 'updatedAt' | 'state' | 'amount' | 'providerCode' | 'transactionId' | 'errorMessage' | 'metadata' | 'orderId'> & {
|
|
11072
|
+
refunds: Array<(Pick<Refund, 'id' | 'createdAt' | 'updatedAt' | 'total' | 'reason' | 'state' | 'transactionId' | 'method' | 'metadata' | 'paymentId'> & {
|
|
11073
|
+
lines: Array<Pick<RefundLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'orderLineId'>>;
|
|
11074
|
+
})>;
|
|
11075
|
+
})>;
|
|
11076
|
+
refund?: Maybe<(Pick<Refund, 'id' | 'createdAt' | 'updatedAt' | 'total' | 'reason' | 'state' | 'transactionId' | 'method' | 'metadata' | 'paymentId'> & {
|
|
11077
|
+
lines: Array<Pick<RefundLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'orderLineId'>>;
|
|
11078
|
+
})>;
|
|
11079
|
+
})>;
|
|
11080
|
+
promotions: Array<Pick<Promotion, 'id'>>;
|
|
11081
|
+
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
11082
|
+
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
11083
|
+
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode' | 'estimated'>>;
|
|
11084
|
+
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
11085
|
+
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
11086
|
+
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
11087
|
+
administrator?: Maybe<Pick<Administrator, 'id'>>;
|
|
11088
|
+
})>;
|
|
11089
|
+
});
|
|
11090
|
+
});
|
|
11091
|
+
modification: (Pick<OrderModification, 'id' | 'createdAt' | 'updatedAt' | 'priceChange' | 'note' | 'isSettled'> & {
|
|
11092
|
+
changes: Array<Pick<OrderModificationChange, 'orderLineId' | 'productVariantId' | 'type' | 'quantityBefore' | 'quantityAfter' | 'unitPriceBefore' | 'unitPriceAfter'>>;
|
|
11093
|
+
surcharges: Array<(Pick<Surcharge, 'id' | 'createdAt' | 'updatedAt' | 'description' | 'listPrice' | 'listPriceIncludesTax' | 'sku' | 'taxRate'> & {
|
|
11094
|
+
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
11095
|
+
})>;
|
|
11096
|
+
payment?: Maybe<(Pick<Payment, 'id' | 'createdAt' | 'updatedAt' | 'state' | 'amount' | 'providerCode' | 'transactionId' | 'errorMessage' | 'metadata' | 'orderId'> & {
|
|
11097
|
+
refunds: Array<(Pick<Refund, 'id' | 'createdAt' | 'updatedAt' | 'total' | 'reason' | 'state' | 'transactionId' | 'method' | 'metadata' | 'paymentId'> & {
|
|
11098
|
+
lines: Array<Pick<RefundLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'orderLineId'>>;
|
|
11099
|
+
})>;
|
|
11100
|
+
})>;
|
|
11101
|
+
refund?: Maybe<(Pick<Refund, 'id' | 'createdAt' | 'updatedAt' | 'total' | 'reason' | 'state' | 'transactionId' | 'method' | 'metadata' | 'paymentId'> & {
|
|
11102
|
+
lines: Array<Pick<RefundLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'orderLineId'>>;
|
|
11103
|
+
})>;
|
|
11104
|
+
});
|
|
11105
|
+
};
|
|
11106
|
+
};
|
|
11107
|
+
export type ShippingPackagePresetFieldFragment = Pick<ShippingPackagePreset, 'id' | 'channelId' | 'name' | 'kind' | 'easypostPredefinedPackage' | 'shippoTemplate' | 'length' | 'width' | 'height' | 'dimensionUnit' | 'tareWeightGrams' | 'isDefault' | 'isProtected' | 'hidden'>;
|
|
11108
|
+
export type ShippingPackageTemplateFieldFragment = Pick<ShippingPackageTemplate, 'providerCode' | 'providerName' | 'carrier' | 'token' | 'label'>;
|
|
11109
|
+
export type ShippingPackagePresetsQueryVariables = Exact<{
|
|
11110
|
+
[key: string]: never;
|
|
11111
|
+
}>;
|
|
11112
|
+
export type ShippingPackagePresetsQuery = {
|
|
11113
|
+
shippingPackagePresets: Array<Pick<ShippingPackagePreset, 'id' | 'channelId' | 'name' | 'kind' | 'easypostPredefinedPackage' | 'shippoTemplate' | 'length' | 'width' | 'height' | 'dimensionUnit' | 'tareWeightGrams' | 'isDefault' | 'isProtected' | 'hidden'>>;
|
|
11114
|
+
};
|
|
11115
|
+
export type AvailablePackageTemplatesQueryVariables = Exact<{
|
|
11116
|
+
[key: string]: never;
|
|
11117
|
+
}>;
|
|
11118
|
+
export type AvailablePackageTemplatesQuery = {
|
|
11119
|
+
availablePackageTemplates: Array<Pick<ShippingPackageTemplate, 'providerCode' | 'providerName' | 'carrier' | 'token' | 'label'>>;
|
|
11120
|
+
};
|
|
11121
|
+
export type CreateShippingPackagePresetMutationVariables = Exact<{
|
|
11122
|
+
input: CreateShippingPackagePresetInput;
|
|
11123
|
+
}>;
|
|
11124
|
+
export type CreateShippingPackagePresetMutation = {
|
|
11125
|
+
createShippingPackagePreset: Pick<ShippingPackagePreset, 'id' | 'channelId' | 'name' | 'kind' | 'easypostPredefinedPackage' | 'shippoTemplate' | 'length' | 'width' | 'height' | 'dimensionUnit' | 'tareWeightGrams' | 'isDefault' | 'isProtected' | 'hidden'>;
|
|
11126
|
+
};
|
|
11127
|
+
export type UpdateShippingPackagePresetMutationVariables = Exact<{
|
|
11128
|
+
input: UpdateShippingPackagePresetInput;
|
|
11129
|
+
}>;
|
|
11130
|
+
export type UpdateShippingPackagePresetMutation = {
|
|
11131
|
+
updateShippingPackagePreset: Pick<ShippingPackagePreset, 'id' | 'channelId' | 'name' | 'kind' | 'easypostPredefinedPackage' | 'shippoTemplate' | 'length' | 'width' | 'height' | 'dimensionUnit' | 'tareWeightGrams' | 'isDefault' | 'isProtected' | 'hidden'>;
|
|
11132
|
+
};
|
|
11133
|
+
export type DeleteShippingPackagePresetMutationVariables = Exact<{
|
|
11134
|
+
id: Scalars['ID']['input'];
|
|
11135
|
+
}>;
|
|
11136
|
+
export type DeleteShippingPackagePresetMutation = Pick<Mutation, 'deleteShippingPackagePreset'>;
|
|
11137
|
+
export type SetDefaultShippingPackagePresetMutationVariables = Exact<{
|
|
11138
|
+
id: Scalars['ID']['input'];
|
|
11139
|
+
}>;
|
|
11140
|
+
export type SetDefaultShippingPackagePresetMutation = {
|
|
11141
|
+
setDefaultShippingPackagePreset: Pick<ShippingPackagePreset, 'id' | 'channelId' | 'name' | 'kind' | 'easypostPredefinedPackage' | 'shippoTemplate' | 'length' | 'width' | 'height' | 'dimensionUnit' | 'tareWeightGrams' | 'isDefault' | 'isProtected' | 'hidden'>;
|
|
11142
|
+
};
|
|
11143
|
+
export type HideShippingPackagePresetMutationVariables = Exact<{
|
|
11144
|
+
id: Scalars['ID']['input'];
|
|
11145
|
+
}>;
|
|
11146
|
+
export type HideShippingPackagePresetMutation = {
|
|
11147
|
+
hideShippingPackagePreset: Pick<ShippingPackagePreset, 'id' | 'channelId' | 'name' | 'kind' | 'easypostPredefinedPackage' | 'shippoTemplate' | 'length' | 'width' | 'height' | 'dimensionUnit' | 'tareWeightGrams' | 'isDefault' | 'isProtected' | 'hidden'>;
|
|
11148
|
+
};
|
|
11149
|
+
export type UnhideShippingPackagePresetMutationVariables = Exact<{
|
|
11150
|
+
id: Scalars['ID']['input'];
|
|
11151
|
+
}>;
|
|
11152
|
+
export type UnhideShippingPackagePresetMutation = {
|
|
11153
|
+
unhideShippingPackagePreset: Pick<ShippingPackagePreset, 'id' | 'channelId' | 'name' | 'kind' | 'easypostPredefinedPackage' | 'shippoTemplate' | 'length' | 'width' | 'height' | 'dimensionUnit' | 'tareWeightGrams' | 'isDefault' | 'isProtected' | 'hidden'>;
|
|
11154
|
+
};
|
|
10424
11155
|
export type LowStockVariantFieldFragment = Pick<LowStockVariant, 'variantId' | 'name' | 'sku' | 'available' | 'threshold'>;
|
|
10425
11156
|
export type LowStockVariantsQueryVariables = Exact<{
|
|
10426
11157
|
input: LowStockVariantsInput;
|
|
@@ -10428,16 +11159,16 @@ export type LowStockVariantsQueryVariables = Exact<{
|
|
|
10428
11159
|
export type LowStockVariantsQuery = {
|
|
10429
11160
|
lowStockVariants: Array<Pick<LowStockVariant, 'variantId' | 'name' | 'sku' | 'available' | 'threshold'>>;
|
|
10430
11161
|
};
|
|
10431
|
-
export type StockLocationFieldFragment = (Pick<StockLocation, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'description' | 'locationType'> & {
|
|
10432
|
-
address?: Maybe<Pick<StockLocationAddress, 'id' | 'createdAt' | 'updatedAt' | '
|
|
11162
|
+
export type StockLocationFieldFragment = (Pick<StockLocation, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'description' | 'locationType' | 'emailAddress'> & {
|
|
11163
|
+
address?: Maybe<Pick<StockLocationAddress, 'id' | 'createdAt' | 'updatedAt' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'countryCode' | 'phoneNumber'>>;
|
|
10433
11164
|
});
|
|
10434
11165
|
export type StockMovementFieldFragment = Pick<StockMovement, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'quantity' | 'variantId' | 'stockLocationId' | 'orderLineId' | 'note'>;
|
|
10435
11166
|
export type StockLocationQueryVariables = Exact<{
|
|
10436
11167
|
id: Scalars['ID']['input'];
|
|
10437
11168
|
}>;
|
|
10438
11169
|
export type StockLocationQuery = {
|
|
10439
|
-
stockLocation?: Maybe<(Pick<StockLocation, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'description' | 'locationType'> & {
|
|
10440
|
-
address?: Maybe<Pick<StockLocationAddress, 'id' | 'createdAt' | 'updatedAt' | '
|
|
11170
|
+
stockLocation?: Maybe<(Pick<StockLocation, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'description' | 'locationType' | 'emailAddress'> & {
|
|
11171
|
+
address?: Maybe<Pick<StockLocationAddress, 'id' | 'createdAt' | 'updatedAt' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'countryCode' | 'phoneNumber'>>;
|
|
10441
11172
|
})>;
|
|
10442
11173
|
};
|
|
10443
11174
|
export type StockLocationsQueryVariables = Exact<{
|
|
@@ -10445,8 +11176,8 @@ export type StockLocationsQueryVariables = Exact<{
|
|
|
10445
11176
|
}>;
|
|
10446
11177
|
export type StockLocationsQuery = {
|
|
10447
11178
|
stockLocations: (Pick<StockLocationList, 'totalItems'> & {
|
|
10448
|
-
items: Array<(Pick<StockLocation, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'description' | 'locationType'> & {
|
|
10449
|
-
address?: Maybe<Pick<StockLocationAddress, 'id' | 'createdAt' | 'updatedAt' | '
|
|
11179
|
+
items: Array<(Pick<StockLocation, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'description' | 'locationType' | 'emailAddress'> & {
|
|
11180
|
+
address?: Maybe<Pick<StockLocationAddress, 'id' | 'createdAt' | 'updatedAt' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'countryCode' | 'phoneNumber'>>;
|
|
10450
11181
|
})>;
|
|
10451
11182
|
});
|
|
10452
11183
|
};
|
|
@@ -10454,8 +11185,8 @@ export type DefaultStockLocationQueryVariables = Exact<{
|
|
|
10454
11185
|
[key: string]: never;
|
|
10455
11186
|
}>;
|
|
10456
11187
|
export type DefaultStockLocationQuery = {
|
|
10457
|
-
defaultStockLocation: (Pick<StockLocation, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'description' | 'locationType'> & {
|
|
10458
|
-
address?: Maybe<Pick<StockLocationAddress, 'id' | 'createdAt' | 'updatedAt' | '
|
|
11188
|
+
defaultStockLocation: (Pick<StockLocation, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'description' | 'locationType' | 'emailAddress'> & {
|
|
11189
|
+
address?: Maybe<Pick<StockLocationAddress, 'id' | 'createdAt' | 'updatedAt' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'countryCode' | 'phoneNumber'>>;
|
|
10459
11190
|
});
|
|
10460
11191
|
};
|
|
10461
11192
|
export type StockMovementsQueryVariables = Exact<{
|
|
@@ -10474,16 +11205,16 @@ export type CreateStockLocationMutationVariables = Exact<{
|
|
|
10474
11205
|
input: CreateStockLocationInput;
|
|
10475
11206
|
}>;
|
|
10476
11207
|
export type CreateStockLocationMutation = {
|
|
10477
|
-
createStockLocation: (Pick<StockLocation, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'description' | 'locationType'> & {
|
|
10478
|
-
address?: Maybe<Pick<StockLocationAddress, 'id' | 'createdAt' | 'updatedAt' | '
|
|
11208
|
+
createStockLocation: (Pick<StockLocation, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'description' | 'locationType' | 'emailAddress'> & {
|
|
11209
|
+
address?: Maybe<Pick<StockLocationAddress, 'id' | 'createdAt' | 'updatedAt' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'countryCode' | 'phoneNumber'>>;
|
|
10479
11210
|
});
|
|
10480
11211
|
};
|
|
10481
11212
|
export type UpdateStockLocationMutationVariables = Exact<{
|
|
10482
11213
|
input: UpdateStockLocationInput;
|
|
10483
11214
|
}>;
|
|
10484
11215
|
export type UpdateStockLocationMutation = {
|
|
10485
|
-
updateStockLocation: (Pick<StockLocation, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'description' | 'locationType'> & {
|
|
10486
|
-
address?: Maybe<Pick<StockLocationAddress, 'id' | 'createdAt' | 'updatedAt' | '
|
|
11216
|
+
updateStockLocation: (Pick<StockLocation, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'description' | 'locationType' | 'emailAddress'> & {
|
|
11217
|
+
address?: Maybe<Pick<StockLocationAddress, 'id' | 'createdAt' | 'updatedAt' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'countryCode' | 'phoneNumber'>>;
|
|
10487
11218
|
});
|
|
10488
11219
|
};
|
|
10489
11220
|
export type DeleteStockLocationMutationVariables = Exact<{
|
|
@@ -10496,16 +11227,16 @@ export type AssignStockLocationToChannelMutationVariables = Exact<{
|
|
|
10496
11227
|
input: AssignStockLocationToChannelInput;
|
|
10497
11228
|
}>;
|
|
10498
11229
|
export type AssignStockLocationToChannelMutation = {
|
|
10499
|
-
assignStockLocationToChannel: (Pick<StockLocation, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'description' | 'locationType'> & {
|
|
10500
|
-
address?: Maybe<Pick<StockLocationAddress, 'id' | 'createdAt' | 'updatedAt' | '
|
|
11230
|
+
assignStockLocationToChannel: (Pick<StockLocation, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'description' | 'locationType' | 'emailAddress'> & {
|
|
11231
|
+
address?: Maybe<Pick<StockLocationAddress, 'id' | 'createdAt' | 'updatedAt' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'countryCode' | 'phoneNumber'>>;
|
|
10501
11232
|
});
|
|
10502
11233
|
};
|
|
10503
11234
|
export type RemoveStockLocationFromChannelMutationVariables = Exact<{
|
|
10504
11235
|
input: RemoveStockLocationFromChannelInput;
|
|
10505
11236
|
}>;
|
|
10506
11237
|
export type RemoveStockLocationFromChannelMutation = {
|
|
10507
|
-
removeStockLocationFromChannel: (Pick<StockLocation, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'description' | 'locationType'> & {
|
|
10508
|
-
address?: Maybe<Pick<StockLocationAddress, 'id' | 'createdAt' | 'updatedAt' | '
|
|
11238
|
+
removeStockLocationFromChannel: (Pick<StockLocation, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'description' | 'locationType' | 'emailAddress'> & {
|
|
11239
|
+
address?: Maybe<Pick<StockLocationAddress, 'id' | 'createdAt' | 'updatedAt' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'countryCode' | 'phoneNumber'>>;
|
|
10509
11240
|
});
|
|
10510
11241
|
};
|
|
10511
11242
|
export type AdjustStockMutationVariables = Exact<{
|
|
@@ -10810,7 +11541,9 @@ export type AddSubscriptionCreditMutationVariables = Exact<{
|
|
|
10810
11541
|
export type AddSubscriptionCreditMutation = {
|
|
10811
11542
|
addSubscriptionCredit: Pick<SubscriptionCreditBalance, 'id' | 'amountCents' | 'appliedCents' | 'reason' | 'sourceOrderId'>;
|
|
10812
11543
|
};
|
|
10813
|
-
export type TaxCategoryFieldFragment = Pick<TaxCategory, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'isDefault'
|
|
11544
|
+
export type TaxCategoryFieldFragment = (Pick<TaxCategory, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'isDefault' | 'exempt' | 'isProtected'> & {
|
|
11545
|
+
externalCodes: Array<Pick<TaxCategoryExternalCode, 'providerCode' | 'taxCode'>>;
|
|
11546
|
+
});
|
|
10814
11547
|
export type TaxRateFieldFragment = (Pick<TaxRate, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'value' | 'enabled' | 'zoneId' | 'categoryId'> & {
|
|
10815
11548
|
zone: Pick<Zone, 'id' | 'name'>;
|
|
10816
11549
|
category: Pick<TaxCategory, 'id' | 'name'>;
|
|
@@ -10819,14 +11552,18 @@ export type TaxCategoryQueryVariables = Exact<{
|
|
|
10819
11552
|
id: Scalars['ID']['input'];
|
|
10820
11553
|
}>;
|
|
10821
11554
|
export type TaxCategoryQuery = {
|
|
10822
|
-
taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'isDefault'
|
|
11555
|
+
taxCategory?: Maybe<(Pick<TaxCategory, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'isDefault' | 'exempt' | 'isProtected'> & {
|
|
11556
|
+
externalCodes: Array<Pick<TaxCategoryExternalCode, 'providerCode' | 'taxCode'>>;
|
|
11557
|
+
})>;
|
|
10823
11558
|
};
|
|
10824
11559
|
export type TaxCategoriesQueryVariables = Exact<{
|
|
10825
11560
|
options?: InputMaybe<ListQueryOptions>;
|
|
10826
11561
|
}>;
|
|
10827
11562
|
export type TaxCategoriesQuery = {
|
|
10828
11563
|
taxCategories: (Pick<TaxCategoryList, 'totalItems'> & {
|
|
10829
|
-
items: Array<Pick<TaxCategory, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'isDefault'
|
|
11564
|
+
items: Array<(Pick<TaxCategory, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'isDefault' | 'exempt' | 'isProtected'> & {
|
|
11565
|
+
externalCodes: Array<Pick<TaxCategoryExternalCode, 'providerCode' | 'taxCode'>>;
|
|
11566
|
+
})>;
|
|
10830
11567
|
});
|
|
10831
11568
|
};
|
|
10832
11569
|
export type TaxRateQueryVariables = Exact<{
|
|
@@ -10853,13 +11590,25 @@ export type CreateTaxCategoryMutationVariables = Exact<{
|
|
|
10853
11590
|
input: CreateTaxCategoryInput;
|
|
10854
11591
|
}>;
|
|
10855
11592
|
export type CreateTaxCategoryMutation = {
|
|
10856
|
-
createTaxCategory: Pick<TaxCategory, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'isDefault'
|
|
11593
|
+
createTaxCategory: (Pick<TaxCategory, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'isDefault' | 'exempt' | 'isProtected'> & {
|
|
11594
|
+
externalCodes: Array<Pick<TaxCategoryExternalCode, 'providerCode' | 'taxCode'>>;
|
|
11595
|
+
});
|
|
10857
11596
|
};
|
|
10858
11597
|
export type UpdateTaxCategoryMutationVariables = Exact<{
|
|
10859
11598
|
input: UpdateTaxCategoryInput;
|
|
10860
11599
|
}>;
|
|
10861
11600
|
export type UpdateTaxCategoryMutation = {
|
|
10862
|
-
updateTaxCategory: Pick<TaxCategory, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'isDefault'
|
|
11601
|
+
updateTaxCategory: (Pick<TaxCategory, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'isDefault' | 'exempt' | 'isProtected'> & {
|
|
11602
|
+
externalCodes: Array<Pick<TaxCategoryExternalCode, 'providerCode' | 'taxCode'>>;
|
|
11603
|
+
});
|
|
11604
|
+
};
|
|
11605
|
+
export type SetDefaultTaxCategoryMutationVariables = Exact<{
|
|
11606
|
+
id: Scalars['ID']['input'];
|
|
11607
|
+
}>;
|
|
11608
|
+
export type SetDefaultTaxCategoryMutation = {
|
|
11609
|
+
setDefaultTaxCategory: (Pick<TaxCategory, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'isDefault' | 'exempt' | 'isProtected'> & {
|
|
11610
|
+
externalCodes: Array<Pick<TaxCategoryExternalCode, 'providerCode' | 'taxCode'>>;
|
|
11611
|
+
});
|
|
10863
11612
|
};
|
|
10864
11613
|
export type DeleteTaxCategoryMutationVariables = Exact<{
|
|
10865
11614
|
id: Scalars['ID']['input'];
|
|
@@ -10897,6 +11646,12 @@ export type AvailableTaxProvidersQueryVariables = Exact<{
|
|
|
10897
11646
|
export type AvailableTaxProvidersQuery = {
|
|
10898
11647
|
availableTaxProviders: Array<Pick<TaxProviderOption, 'code' | 'name'>>;
|
|
10899
11648
|
};
|
|
11649
|
+
export type TaxProviderTaxCodesQueryVariables = Exact<{
|
|
11650
|
+
providerCode: Scalars['String']['input'];
|
|
11651
|
+
}>;
|
|
11652
|
+
export type TaxProviderTaxCodesQuery = {
|
|
11653
|
+
taxProviderTaxCodes: Array<Pick<TaxProviderTaxCode, 'code' | 'name' | 'description'>>;
|
|
11654
|
+
};
|
|
10900
11655
|
export type BeginTransactionMutationVariables = Exact<{
|
|
10901
11656
|
[key: string]: never;
|
|
10902
11657
|
}>;
|