@forgecart/sdk 1.202607150804.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 +965 -281
- package/dist/admin.generated.d.ts +29 -0
- package/dist/admin.generated.js +63 -0
- package/dist/documents.generated.d.ts +146 -125
- package/dist/documents.generated.js +4306 -2409
- package/dist/shop-types.generated.d.ts +260 -77
- package/package.json +1 -1
- package/src/admin-types.generated.ts +6136 -3187
- package/src/admin.generated.ts +72 -1
- package/src/documents.generated.ts +4430 -2512
- package/src/shop-types.generated.ts +241 -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'];
|
|
@@ -771,7 +771,6 @@ export type CreateAddressInput = {
|
|
|
771
771
|
countryId?: InputMaybe<Scalars['ID']['input']>;
|
|
772
772
|
defaultBillingAddress?: InputMaybe<Scalars['Boolean']['input']>;
|
|
773
773
|
defaultShippingAddress?: InputMaybe<Scalars['Boolean']['input']>;
|
|
774
|
-
fullName?: InputMaybe<Scalars['String']['input']>;
|
|
775
774
|
phoneNumber?: InputMaybe<Scalars['String']['input']>;
|
|
776
775
|
postalCode?: InputMaybe<Scalars['String']['input']>;
|
|
777
776
|
province?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -968,6 +967,7 @@ export type CreateProductVariantInput = {
|
|
|
968
967
|
dimensions?: InputMaybe<DimensionsInput>;
|
|
969
968
|
featuredAssetId?: InputMaybe<Scalars['ID']['input']>;
|
|
970
969
|
optionIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
970
|
+
packagePresetId?: InputMaybe<Scalars['ID']['input']>;
|
|
971
971
|
price: Scalars['Int']['input'];
|
|
972
972
|
productId: Scalars['ID']['input'];
|
|
973
973
|
sku?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -1046,14 +1046,24 @@ export type CreateSessionInput = {
|
|
|
1046
1046
|
tokenId?: InputMaybe<Scalars['ID']['input']>;
|
|
1047
1047
|
};
|
|
1048
1048
|
export type CreateShippingGatewayRoutingRuleInput = {
|
|
1049
|
+
allProviders?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1050
|
+
cities?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1049
1051
|
countryCodes?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1050
1052
|
enabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1051
|
-
flatRates?: InputMaybe<Array<ShippingRoutingFlatRateInput>>;
|
|
1052
|
-
fulfillmentType: ShippingRoutingFulfillmentType;
|
|
1053
1053
|
priority?: InputMaybe<Scalars['Int']['input']>;
|
|
1054
|
-
|
|
1054
|
+
providerCodes?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1055
1055
|
scopeType: ShippingRoutingScopeType;
|
|
1056
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']>;
|
|
1057
1067
|
};
|
|
1058
1068
|
export type CreateShopSubscriptionInput = {
|
|
1059
1069
|
defaultTokenId?: InputMaybe<Scalars['ID']['input']>;
|
|
@@ -1063,7 +1073,6 @@ export type CreateStockLocationAddressInput = {
|
|
|
1063
1073
|
city: Scalars['String']['input'];
|
|
1064
1074
|
company?: InputMaybe<Scalars['String']['input']>;
|
|
1065
1075
|
countryCode: Scalars['String']['input'];
|
|
1066
|
-
fullName?: InputMaybe<Scalars['String']['input']>;
|
|
1067
1076
|
phoneNumber?: InputMaybe<Scalars['String']['input']>;
|
|
1068
1077
|
postalCode: Scalars['String']['input'];
|
|
1069
1078
|
province?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -1515,6 +1524,12 @@ export type FulfillmentRequestLine = {
|
|
|
1515
1524
|
quantity: Scalars['Int']['output'];
|
|
1516
1525
|
updatedAt: Scalars['DateTime']['output'];
|
|
1517
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
|
+
};
|
|
1518
1533
|
export type GenerateDeviceCodeInput = {
|
|
1519
1534
|
apiUrl: Scalars['String']['input'];
|
|
1520
1535
|
};
|
|
@@ -1636,6 +1651,8 @@ export type ManageablePlugin = {
|
|
|
1636
1651
|
tags: Array<Scalars['String']['output']>;
|
|
1637
1652
|
toggable: Scalars['Boolean']['output'];
|
|
1638
1653
|
updatedAt: Scalars['DateTime']['output'];
|
|
1654
|
+
webhookPath?: Maybe<Scalars['String']['output']>;
|
|
1655
|
+
webhookSigned: Scalars['Boolean']['output'];
|
|
1639
1656
|
};
|
|
1640
1657
|
export type ManageablePluginConfigItem = {
|
|
1641
1658
|
code: Scalars['String']['output'];
|
|
@@ -1880,6 +1897,7 @@ export type Mutation = {
|
|
|
1880
1897
|
cancelMission: Mission;
|
|
1881
1898
|
cancelOrder: Order;
|
|
1882
1899
|
cancelPaymentSession: PaymentGatewaySession;
|
|
1900
|
+
cancelPickup: ShippingGatewayPickup;
|
|
1883
1901
|
cancelSubscription: BillingSubscription;
|
|
1884
1902
|
changeFulfillmentRequestDeliveryMethod: FulfillmentRequest;
|
|
1885
1903
|
changeSubscriptionPlan: BillingSubscription;
|
|
@@ -1890,6 +1908,8 @@ export type Mutation = {
|
|
|
1890
1908
|
completeDraft: Order;
|
|
1891
1909
|
completeOnboardingShop: CompleteOnboardingShopResult;
|
|
1892
1910
|
confirmPaymentSession: PaymentGatewaySession;
|
|
1911
|
+
correctBillingAddress: Order;
|
|
1912
|
+
correctShippingAddress: Order;
|
|
1893
1913
|
createAdministrator: Administrator;
|
|
1894
1914
|
createAsset: Asset;
|
|
1895
1915
|
createAssetFromUrl: Asset;
|
|
@@ -1925,6 +1945,7 @@ export type Mutation = {
|
|
|
1925
1945
|
createSellingPlanGroup: SellingPlanGroup;
|
|
1926
1946
|
createShippingGatewayRoutingRule: ShippingGatewayRoutingRule;
|
|
1927
1947
|
createShippingLabel: ShippingGatewayLabel;
|
|
1948
|
+
createShippingPackagePreset: ShippingPackagePreset;
|
|
1928
1949
|
createStockLocation: StockLocation;
|
|
1929
1950
|
createSubscription: BillingSubscription;
|
|
1930
1951
|
createSubscriptionVariantConfig: SubscriptionVariantConfig;
|
|
@@ -1964,6 +1985,7 @@ export type Mutation = {
|
|
|
1964
1985
|
deleteSellingPlan: SellingPlan;
|
|
1965
1986
|
deleteSellingPlanGroup: SellingPlanGroup;
|
|
1966
1987
|
deleteShippingGatewayRoutingRule: Scalars['Boolean']['output'];
|
|
1988
|
+
deleteShippingPackagePreset: Scalars['Boolean']['output'];
|
|
1967
1989
|
deleteStockLocation: DeletionResponse;
|
|
1968
1990
|
deleteSubscriptionVariantConfig: SubscriptionVariantConfig;
|
|
1969
1991
|
deleteTaxCategory: DeletionResponse;
|
|
@@ -1979,6 +2001,7 @@ export type Mutation = {
|
|
|
1979
2001
|
enqueueChatMessage: Scalars['Int']['output'];
|
|
1980
2002
|
evaluateAudienceSegment: AudienceSegmentEvaluationResult;
|
|
1981
2003
|
generateDeviceCode: DeviceCodeResponse;
|
|
2004
|
+
hideShippingPackagePreset: ShippingPackagePreset;
|
|
1982
2005
|
holdForQualityControl: StockMovement;
|
|
1983
2006
|
ingestMarketingEvent: IngestMarketingEventResult;
|
|
1984
2007
|
inviteTeamMember: Administrator;
|
|
@@ -1989,15 +2012,18 @@ export type Mutation = {
|
|
|
1989
2012
|
moveCollection: Collection;
|
|
1990
2013
|
moveFulfillmentRequest: FulfillmentRequest;
|
|
1991
2014
|
pauseSubscription: BillingSubscription;
|
|
2015
|
+
pinOrderLineStockLocation: Order;
|
|
1992
2016
|
pollDeviceToken?: Maybe<DeviceTokenResponse>;
|
|
1993
2017
|
provisionChannel: ProvisionChannelResult;
|
|
1994
2018
|
publish: PublishLog;
|
|
1995
2019
|
publishDeployment: Deployment;
|
|
1996
2020
|
reactivateSubscription: BillingSubscription;
|
|
1997
2021
|
receiveIncomingStock: StockMovement;
|
|
2022
|
+
rechargeShippingCostDelta: ModifyOrderResult;
|
|
1998
2023
|
recomputeAttribution: MarketingAttribution;
|
|
1999
2024
|
recordIncomingStock: StockMovement;
|
|
2000
2025
|
refreshDeploymentStatus: Deployment;
|
|
2026
|
+
refreshRatesForShipment: Array<ShipmentRate>;
|
|
2001
2027
|
refreshShippingRateGroups: Array<ShippingGatewayRateGroup>;
|
|
2002
2028
|
refundOrder: Refund;
|
|
2003
2029
|
refundPayment: Refund;
|
|
@@ -2016,8 +2042,11 @@ export type Mutation = {
|
|
|
2016
2042
|
removeProductsFromChannel: Array<Product>;
|
|
2017
2043
|
removePromotionFromChannel: Promotion;
|
|
2018
2044
|
removeStockLocationFromChannel: StockLocation;
|
|
2045
|
+
renewShipmentRates: Array<ShipmentRate>;
|
|
2019
2046
|
reorderShippingGatewayRoutingRules: Array<ShippingGatewayRoutingRule>;
|
|
2047
|
+
replaceStockLocationFlatRates: Array<StockLocationFlatRate>;
|
|
2020
2048
|
reportDamagedStock: StockMovement;
|
|
2049
|
+
requestPickup: ShippingGatewayPickup;
|
|
2021
2050
|
resendAdministratorVerification: Scalars['Boolean']['output'];
|
|
2022
2051
|
reserveStock: StockMovement;
|
|
2023
2052
|
respondToHookDispatch: Scalars['Boolean']['output'];
|
|
@@ -2025,6 +2054,7 @@ export type Mutation = {
|
|
|
2025
2054
|
rollbackTransaction: DeletionResponse;
|
|
2026
2055
|
saveToken: PaymentGatewayToken;
|
|
2027
2056
|
scaleDeployment: Deployment;
|
|
2057
|
+
selectRateForShipment: ShippingGatewayRateGroup;
|
|
2028
2058
|
selectShippingRate: Order;
|
|
2029
2059
|
sendChatMessage: Array<ChatMessage>;
|
|
2030
2060
|
sendMissionMessage: Mission;
|
|
@@ -2032,6 +2062,7 @@ export type Mutation = {
|
|
|
2032
2062
|
setConfigurationItemValue?: Maybe<Scalars['Boolean']['output']>;
|
|
2033
2063
|
setCustomerForDraftOrder: Order;
|
|
2034
2064
|
setCustomerForOrder: Order;
|
|
2065
|
+
setDefaultShippingPackagePreset: ShippingPackagePreset;
|
|
2035
2066
|
setDefaultTaxCategory: TaxCategory;
|
|
2036
2067
|
setDefaultToken: PaymentGatewayToken;
|
|
2037
2068
|
setDeploymentEnv: Deployment;
|
|
@@ -2045,6 +2076,7 @@ export type Mutation = {
|
|
|
2045
2076
|
transitionFulfillmentToState: Fulfillment;
|
|
2046
2077
|
transitionOrderToState: Order;
|
|
2047
2078
|
triggerScheduledJob: ScheduledJobRun;
|
|
2079
|
+
unhideShippingPackagePreset: ShippingPackagePreset;
|
|
2048
2080
|
unreserveStock: StockMovement;
|
|
2049
2081
|
unsetBillingAddress: Order;
|
|
2050
2082
|
unsetDeploymentEnv: Deployment;
|
|
@@ -2082,6 +2114,7 @@ export type Mutation = {
|
|
|
2082
2114
|
updateSellingPlanGroup: SellingPlanGroup;
|
|
2083
2115
|
updateShippingGatewayRoutingRule: ShippingGatewayRoutingRule;
|
|
2084
2116
|
updateShippingLabel: ShippingGatewayLabel;
|
|
2117
|
+
updateShippingPackagePreset: ShippingPackagePreset;
|
|
2085
2118
|
updateStockLocation: StockLocation;
|
|
2086
2119
|
updateSubscriptionVariantConfig: SubscriptionVariantConfig;
|
|
2087
2120
|
updateTaxCategory: TaxCategory;
|
|
@@ -2167,6 +2200,9 @@ export type MutationcancelOrderArgs = {
|
|
|
2167
2200
|
export type MutationcancelPaymentSessionArgs = {
|
|
2168
2201
|
paymentId: Scalars['ID']['input'];
|
|
2169
2202
|
};
|
|
2203
|
+
export type MutationcancelPickupArgs = {
|
|
2204
|
+
pickupId: Scalars['ID']['input'];
|
|
2205
|
+
};
|
|
2170
2206
|
export type MutationcancelSubscriptionArgs = {
|
|
2171
2207
|
input: CancelSubscriptionInput;
|
|
2172
2208
|
};
|
|
@@ -2197,6 +2233,12 @@ export type MutationcompleteOnboardingShopArgs = {
|
|
|
2197
2233
|
export type MutationconfirmPaymentSessionArgs = {
|
|
2198
2234
|
sessionId: Scalars['ID']['input'];
|
|
2199
2235
|
};
|
|
2236
|
+
export type MutationcorrectBillingAddressArgs = {
|
|
2237
|
+
input: SetBillingAddressInput;
|
|
2238
|
+
};
|
|
2239
|
+
export type MutationcorrectShippingAddressArgs = {
|
|
2240
|
+
input: SetShippingAddressInput;
|
|
2241
|
+
};
|
|
2200
2242
|
export type MutationcreateAdministratorArgs = {
|
|
2201
2243
|
input: CreateAdministratorInput;
|
|
2202
2244
|
};
|
|
@@ -2300,6 +2342,9 @@ export type MutationcreateShippingGatewayRoutingRuleArgs = {
|
|
|
2300
2342
|
export type MutationcreateShippingLabelArgs = {
|
|
2301
2343
|
input: CreateLabelServiceInput;
|
|
2302
2344
|
};
|
|
2345
|
+
export type MutationcreateShippingPackagePresetArgs = {
|
|
2346
|
+
input: CreateShippingPackagePresetInput;
|
|
2347
|
+
};
|
|
2303
2348
|
export type MutationcreateStockLocationArgs = {
|
|
2304
2349
|
input: CreateStockLocationInput;
|
|
2305
2350
|
};
|
|
@@ -2418,6 +2463,9 @@ export type MutationdeleteSellingPlanGroupArgs = {
|
|
|
2418
2463
|
export type MutationdeleteShippingGatewayRoutingRuleArgs = {
|
|
2419
2464
|
id: Scalars['ID']['input'];
|
|
2420
2465
|
};
|
|
2466
|
+
export type MutationdeleteShippingPackagePresetArgs = {
|
|
2467
|
+
id: Scalars['ID']['input'];
|
|
2468
|
+
};
|
|
2421
2469
|
export type MutationdeleteStockLocationArgs = {
|
|
2422
2470
|
id: Scalars['ID']['input'];
|
|
2423
2471
|
};
|
|
@@ -2463,6 +2511,9 @@ export type MutationevaluateAudienceSegmentArgs = {
|
|
|
2463
2511
|
export type MutationgenerateDeviceCodeArgs = {
|
|
2464
2512
|
input: GenerateDeviceCodeInput;
|
|
2465
2513
|
};
|
|
2514
|
+
export type MutationhideShippingPackagePresetArgs = {
|
|
2515
|
+
id: Scalars['ID']['input'];
|
|
2516
|
+
};
|
|
2466
2517
|
export type MutationholdForQualityControlArgs = {
|
|
2467
2518
|
input: HoldForQualityControlInput;
|
|
2468
2519
|
};
|
|
@@ -2490,6 +2541,9 @@ export type MutationmoveFulfillmentRequestArgs = {
|
|
|
2490
2541
|
export type MutationpauseSubscriptionArgs = {
|
|
2491
2542
|
id: Scalars['ID']['input'];
|
|
2492
2543
|
};
|
|
2544
|
+
export type MutationpinOrderLineStockLocationArgs = {
|
|
2545
|
+
input: PinOrderLineStockLocationInput;
|
|
2546
|
+
};
|
|
2493
2547
|
export type MutationpollDeviceTokenArgs = {
|
|
2494
2548
|
deviceCode: Scalars['String']['input'];
|
|
2495
2549
|
};
|
|
@@ -2508,6 +2562,9 @@ export type MutationreactivateSubscriptionArgs = {
|
|
|
2508
2562
|
export type MutationreceiveIncomingStockArgs = {
|
|
2509
2563
|
input: ReceiveIncomingStockInput;
|
|
2510
2564
|
};
|
|
2565
|
+
export type MutationrechargeShippingCostDeltaArgs = {
|
|
2566
|
+
input: RechargeShippingCostDeltaInput;
|
|
2567
|
+
};
|
|
2511
2568
|
export type MutationrecomputeAttributionArgs = {
|
|
2512
2569
|
orderId: Scalars['ID']['input'];
|
|
2513
2570
|
};
|
|
@@ -2517,6 +2574,9 @@ export type MutationrecordIncomingStockArgs = {
|
|
|
2517
2574
|
export type MutationrefreshDeploymentStatusArgs = {
|
|
2518
2575
|
type: DeploymentType;
|
|
2519
2576
|
};
|
|
2577
|
+
export type MutationrefreshRatesForShipmentArgs = {
|
|
2578
|
+
fulfillmentRequestId: Scalars['ID']['input'];
|
|
2579
|
+
};
|
|
2520
2580
|
export type MutationrefreshShippingRateGroupsArgs = {
|
|
2521
2581
|
input: RefreshShippingRateGroupsInput;
|
|
2522
2582
|
};
|
|
@@ -2568,12 +2628,21 @@ export type MutationremovePromotionFromChannelArgs = {
|
|
|
2568
2628
|
export type MutationremoveStockLocationFromChannelArgs = {
|
|
2569
2629
|
input: RemoveStockLocationFromChannelInput;
|
|
2570
2630
|
};
|
|
2631
|
+
export type MutationrenewShipmentRatesArgs = {
|
|
2632
|
+
fulfillmentRequestId: Scalars['ID']['input'];
|
|
2633
|
+
};
|
|
2571
2634
|
export type MutationreorderShippingGatewayRoutingRulesArgs = {
|
|
2572
2635
|
input: ReorderShippingGatewayRoutingRulesInput;
|
|
2573
2636
|
};
|
|
2637
|
+
export type MutationreplaceStockLocationFlatRatesArgs = {
|
|
2638
|
+
input: ReplaceStockLocationFlatRatesInput;
|
|
2639
|
+
};
|
|
2574
2640
|
export type MutationreportDamagedStockArgs = {
|
|
2575
2641
|
input: ReportDamagedStockInput;
|
|
2576
2642
|
};
|
|
2643
|
+
export type MutationrequestPickupArgs = {
|
|
2644
|
+
input: RequestPickupInput;
|
|
2645
|
+
};
|
|
2577
2646
|
export type MutationresendAdministratorVerificationArgs = {
|
|
2578
2647
|
input: ResendAdministratorVerificationInput;
|
|
2579
2648
|
};
|
|
@@ -2595,6 +2664,9 @@ export type MutationsaveTokenArgs = {
|
|
|
2595
2664
|
export type MutationscaleDeploymentArgs = {
|
|
2596
2665
|
input: ScaleDeploymentInput;
|
|
2597
2666
|
};
|
|
2667
|
+
export type MutationselectRateForShipmentArgs = {
|
|
2668
|
+
input: SelectRateForShipmentInput;
|
|
2669
|
+
};
|
|
2598
2670
|
export type MutationselectShippingRateArgs = {
|
|
2599
2671
|
input: SelectShippingRateInput;
|
|
2600
2672
|
};
|
|
@@ -2616,6 +2688,9 @@ export type MutationsetCustomerForDraftOrderArgs = {
|
|
|
2616
2688
|
export type MutationsetCustomerForOrderArgs = {
|
|
2617
2689
|
input: SetCustomerForOrderInput;
|
|
2618
2690
|
};
|
|
2691
|
+
export type MutationsetDefaultShippingPackagePresetArgs = {
|
|
2692
|
+
id: Scalars['ID']['input'];
|
|
2693
|
+
};
|
|
2619
2694
|
export type MutationsetDefaultTaxCategoryArgs = {
|
|
2620
2695
|
id: Scalars['ID']['input'];
|
|
2621
2696
|
};
|
|
@@ -2655,6 +2730,9 @@ export type MutationtransitionOrderToStateArgs = {
|
|
|
2655
2730
|
export type MutationtriggerScheduledJobArgs = {
|
|
2656
2731
|
id: Scalars['ID']['input'];
|
|
2657
2732
|
};
|
|
2733
|
+
export type MutationunhideShippingPackagePresetArgs = {
|
|
2734
|
+
id: Scalars['ID']['input'];
|
|
2735
|
+
};
|
|
2658
2736
|
export type MutationunreserveStockArgs = {
|
|
2659
2737
|
input: UnreserveStockInput;
|
|
2660
2738
|
};
|
|
@@ -2768,6 +2846,9 @@ export type MutationupdateShippingGatewayRoutingRuleArgs = {
|
|
|
2768
2846
|
export type MutationupdateShippingLabelArgs = {
|
|
2769
2847
|
input: UpdateShippingLabelInput;
|
|
2770
2848
|
};
|
|
2849
|
+
export type MutationupdateShippingPackagePresetArgs = {
|
|
2850
|
+
input: UpdateShippingPackagePresetInput;
|
|
2851
|
+
};
|
|
2771
2852
|
export type MutationupdateStockLocationArgs = {
|
|
2772
2853
|
input: UpdateStockLocationInput;
|
|
2773
2854
|
};
|
|
@@ -2849,6 +2930,7 @@ export type Order = {
|
|
|
2849
2930
|
promotions: Array<Promotion>;
|
|
2850
2931
|
recentShippingMethod?: Maybe<ShippingGatewayRate>;
|
|
2851
2932
|
recentToken?: Maybe<PaymentGatewayToken>;
|
|
2933
|
+
refundableTotal: Scalars['Int']['output'];
|
|
2852
2934
|
sellingPlanId?: Maybe<Scalars['ID']['output']>;
|
|
2853
2935
|
shipping: Scalars['Int']['output'];
|
|
2854
2936
|
shippingAddress?: Maybe<OrderAddress>;
|
|
@@ -2874,7 +2956,6 @@ export type OrderAddress = {
|
|
|
2874
2956
|
city?: Maybe<Scalars['String']['output']>;
|
|
2875
2957
|
company?: Maybe<Scalars['String']['output']>;
|
|
2876
2958
|
country?: Maybe<Country>;
|
|
2877
|
-
fullName?: Maybe<Scalars['String']['output']>;
|
|
2878
2959
|
phoneNumber?: Maybe<Scalars['String']['output']>;
|
|
2879
2960
|
postalCode?: Maybe<Scalars['String']['output']>;
|
|
2880
2961
|
province?: Maybe<Scalars['String']['output']>;
|
|
@@ -2914,6 +2995,7 @@ export type OrderLine = {
|
|
|
2914
2995
|
listPrice: Scalars['Int']['output'];
|
|
2915
2996
|
listPriceIncludesTax: Scalars['Boolean']['output'];
|
|
2916
2997
|
orderPlacedQuantity: Scalars['Int']['output'];
|
|
2998
|
+
pinnedStockLocationId?: Maybe<Scalars['ID']['output']>;
|
|
2917
2999
|
productVariant: ProductVariant;
|
|
2918
3000
|
productVariantId: Scalars['ID']['output'];
|
|
2919
3001
|
quantity: Scalars['Int']['output'];
|
|
@@ -2960,6 +3042,39 @@ export type OrderRevenuePoint = {
|
|
|
2960
3042
|
orderCount: Scalars['Int']['output'];
|
|
2961
3043
|
revenueMinor: Scalars['Int']['output'];
|
|
2962
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
|
+
};
|
|
2963
3078
|
export type OrderTaxLine = {
|
|
2964
3079
|
description: Scalars['String']['output'];
|
|
2965
3080
|
provider?: Maybe<Scalars['String']['output']>;
|
|
@@ -3039,6 +3154,16 @@ export type PaymentProviderQuote = {
|
|
|
3039
3154
|
providerCode: Scalars['String']['output'];
|
|
3040
3155
|
providerName: Scalars['String']['output'];
|
|
3041
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
|
+
};
|
|
3042
3167
|
export type PluginStatus = 'DISABLED' | 'ENABLED' | 'INPROGRESS';
|
|
3043
3168
|
export type PricingPolicy = 'fixed_amount' | 'none' | 'percentage';
|
|
3044
3169
|
export type Product = {
|
|
@@ -3107,6 +3232,7 @@ export type ProductVariant = {
|
|
|
3107
3232
|
name: Scalars['String']['output'];
|
|
3108
3233
|
options: Array<ProductOption>;
|
|
3109
3234
|
outOfStockThreshold: Scalars['Int']['output'];
|
|
3235
|
+
packagePresetId?: Maybe<Scalars['ID']['output']>;
|
|
3110
3236
|
price: Scalars['Int']['output'];
|
|
3111
3237
|
priceWithTax: Scalars['Int']['output'];
|
|
3112
3238
|
prices: Array<ProductVariantPrice>;
|
|
@@ -3227,6 +3353,7 @@ export type Query = {
|
|
|
3227
3353
|
audienceSegment?: Maybe<AudienceSegment>;
|
|
3228
3354
|
audienceSegmentByCode?: Maybe<AudienceSegment>;
|
|
3229
3355
|
audienceSegments: AudienceSegmentList;
|
|
3356
|
+
availablePackageTemplates: Array<ShippingPackageTemplate>;
|
|
3230
3357
|
availableShippingProviders: Array<ShippingProvider>;
|
|
3231
3358
|
availableStock: Scalars['Int']['output'];
|
|
3232
3359
|
availableTaxProviders: Array<TaxProviderOption>;
|
|
@@ -3296,6 +3423,7 @@ export type Query = {
|
|
|
3296
3423
|
orderHistory: HistoryEntryList;
|
|
3297
3424
|
orderModifications: Array<OrderModification>;
|
|
3298
3425
|
orderNotes: HistoryEntryList;
|
|
3426
|
+
orderShipments: OrderShipmentsView;
|
|
3299
3427
|
orders: OrderList;
|
|
3300
3428
|
paymentGatewayRefunds: Array<PaymentGatewayRefund>;
|
|
3301
3429
|
paymentSession?: Maybe<PaymentGatewaySession>;
|
|
@@ -3325,8 +3453,10 @@ export type Query = {
|
|
|
3325
3453
|
sellingPlanGroups: SellingPlanGroupList;
|
|
3326
3454
|
shippingGatewayRoutingRules: Array<ShippingGatewayRoutingRule>;
|
|
3327
3455
|
shippingLabels: Array<ShippingGatewayLabel>;
|
|
3456
|
+
shippingPackagePresets: Array<ShippingPackagePreset>;
|
|
3328
3457
|
shippingRateGroups: Array<ShippingGatewayRateGroup>;
|
|
3329
3458
|
stockLocation?: Maybe<StockLocation>;
|
|
3459
|
+
stockLocationFlatRates: Array<StockLocationFlatRate>;
|
|
3330
3460
|
stockLocations: StockLocationList;
|
|
3331
3461
|
stockMovements: StockMovementList;
|
|
3332
3462
|
subscription?: Maybe<BillingSubscription>;
|
|
@@ -3554,6 +3684,9 @@ export type QueryorderModificationsArgs = {
|
|
|
3554
3684
|
export type QueryorderNotesArgs = {
|
|
3555
3685
|
input: OrderNotesInput;
|
|
3556
3686
|
};
|
|
3687
|
+
export type QueryorderShipmentsArgs = {
|
|
3688
|
+
orderId: Scalars['ID']['input'];
|
|
3689
|
+
};
|
|
3557
3690
|
export type QueryordersArgs = {
|
|
3558
3691
|
options?: InputMaybe<ListQueryOptions>;
|
|
3559
3692
|
};
|
|
@@ -3638,6 +3771,9 @@ export type QueryshippingRateGroupsArgs = {
|
|
|
3638
3771
|
export type QuerystockLocationArgs = {
|
|
3639
3772
|
id: Scalars['ID']['input'];
|
|
3640
3773
|
};
|
|
3774
|
+
export type QuerystockLocationFlatRatesArgs = {
|
|
3775
|
+
stockLocationId: Scalars['ID']['input'];
|
|
3776
|
+
};
|
|
3641
3777
|
export type QuerystockLocationsArgs = {
|
|
3642
3778
|
options?: InputMaybe<ListQueryOptions>;
|
|
3643
3779
|
};
|
|
@@ -3687,12 +3823,24 @@ export type QueryzoneArgs = {
|
|
|
3687
3823
|
export type QueryzonesArgs = {
|
|
3688
3824
|
options?: InputMaybe<ListQueryOptions>;
|
|
3689
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
|
+
};
|
|
3690
3832
|
export type ReceiveIncomingStockInput = {
|
|
3691
3833
|
note?: InputMaybe<Scalars['String']['input']>;
|
|
3692
3834
|
quantity: Scalars['Int']['input'];
|
|
3693
3835
|
stockLocationId: Scalars['ID']['input'];
|
|
3694
3836
|
variantId: Scalars['ID']['input'];
|
|
3695
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
|
+
};
|
|
3696
3844
|
export type RecordIncomingStockInput = {
|
|
3697
3845
|
note?: InputMaybe<Scalars['String']['input']>;
|
|
3698
3846
|
quantity: Scalars['Int']['input'];
|
|
@@ -3813,6 +3961,10 @@ export type ReorderShippingGatewayRoutingRulesInput = {
|
|
|
3813
3961
|
ruleIds: Array<Scalars['ID']['input']>;
|
|
3814
3962
|
stockLocationId: Scalars['ID']['input'];
|
|
3815
3963
|
};
|
|
3964
|
+
export type ReplaceStockLocationFlatRatesInput = {
|
|
3965
|
+
flatRates: Array<StockLocationFlatRateInput>;
|
|
3966
|
+
stockLocationId: Scalars['ID']['input'];
|
|
3967
|
+
};
|
|
3816
3968
|
export type ReportDamagedStockInput = {
|
|
3817
3969
|
note?: InputMaybe<Scalars['String']['input']>;
|
|
3818
3970
|
quantity: Scalars['Int']['input'];
|
|
@@ -3826,6 +3978,13 @@ export type ReportUsageInput = {
|
|
|
3826
3978
|
subscriptionId: Scalars['ID']['input'];
|
|
3827
3979
|
timestamp?: InputMaybe<Scalars['DateTime']['input']>;
|
|
3828
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
|
+
};
|
|
3829
3988
|
export type RequestUpdateCustomerEmailInput = {
|
|
3830
3989
|
newEmailAddress: Scalars['String']['input'];
|
|
3831
3990
|
password: Scalars['String']['input'];
|
|
@@ -3993,6 +4152,10 @@ export type SearchSuggestResult = {
|
|
|
3993
4152
|
items: Array<SearchSuggestItem>;
|
|
3994
4153
|
totalItems: Scalars['Int']['output'];
|
|
3995
4154
|
};
|
|
4155
|
+
export type SelectRateForShipmentInput = {
|
|
4156
|
+
fulfillmentRequestId: Scalars['ID']['input'];
|
|
4157
|
+
rateId: Scalars['ID']['input'];
|
|
4158
|
+
};
|
|
3996
4159
|
export type SelectRateInput = {
|
|
3997
4160
|
rateGroupId: Scalars['ID']['input'];
|
|
3998
4161
|
rateId: Scalars['ID']['input'];
|
|
@@ -4122,6 +4285,20 @@ export type SettleRefundInput = {
|
|
|
4122
4285
|
id: Scalars['ID']['input'];
|
|
4123
4286
|
transactionId: Scalars['String']['input'];
|
|
4124
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
|
+
};
|
|
4125
4302
|
export type ShippingGatewayCarrier = {
|
|
4126
4303
|
code: Scalars['String']['output'];
|
|
4127
4304
|
enabled: Scalars['Boolean']['output'];
|
|
@@ -4131,20 +4308,46 @@ export type ShippingGatewayCarrier = {
|
|
|
4131
4308
|
};
|
|
4132
4309
|
export type ShippingGatewayLabel = {
|
|
4133
4310
|
carrier: Scalars['String']['output'];
|
|
4311
|
+
costAmount?: Maybe<Scalars['Int']['output']>;
|
|
4312
|
+
costCurrencyCode?: Maybe<Scalars['String']['output']>;
|
|
4134
4313
|
fulfillmentId?: Maybe<Scalars['ID']['output']>;
|
|
4135
4314
|
id: Scalars['ID']['output'];
|
|
4136
4315
|
isReturnLabel: Scalars['Boolean']['output'];
|
|
4137
4316
|
labelUrl: Scalars['String']['output'];
|
|
4317
|
+
lastErrorCode?: Maybe<Scalars['String']['output']>;
|
|
4318
|
+
lastErrorDetail?: Maybe<Scalars['String']['output']>;
|
|
4138
4319
|
orderId: Scalars['ID']['output'];
|
|
4139
4320
|
providerCode: Scalars['String']['output'];
|
|
4321
|
+
rateGroupId?: Maybe<Scalars['ID']['output']>;
|
|
4140
4322
|
service: Scalars['String']['output'];
|
|
4141
4323
|
status: Scalars['String']['output'];
|
|
4142
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'];
|
|
4143
4344
|
};
|
|
4144
4345
|
export type ShippingGatewayRate = {
|
|
4145
4346
|
amount: Scalars['Int']['output'];
|
|
4146
4347
|
carrier: Scalars['String']['output'];
|
|
4348
|
+
consumedByLabelId?: Maybe<Scalars['ID']['output']>;
|
|
4147
4349
|
currency: Scalars['String']['output'];
|
|
4350
|
+
estimated: Scalars['Boolean']['output'];
|
|
4148
4351
|
estimatedDays?: Maybe<Scalars['Int']['output']>;
|
|
4149
4352
|
extRateId: Scalars['String']['output'];
|
|
4150
4353
|
id: Scalars['ID']['output'];
|
|
@@ -4153,12 +4356,17 @@ export type ShippingGatewayRate = {
|
|
|
4153
4356
|
service: Scalars['String']['output'];
|
|
4154
4357
|
};
|
|
4155
4358
|
export type ShippingGatewayRateGroup = {
|
|
4359
|
+
fulfillmentRequestId?: Maybe<Scalars['ID']['output']>;
|
|
4156
4360
|
id: Scalars['ID']['output'];
|
|
4361
|
+
lastRateErrors: Array<RateFetchFailure>;
|
|
4157
4362
|
orderId: Scalars['ID']['output'];
|
|
4158
4363
|
orderLines: Array<ShippingGatewayRateGroupLine>;
|
|
4159
4364
|
rates: Array<ShippingGatewayRate>;
|
|
4365
|
+
rechargeModificationId?: Maybe<Scalars['ID']['output']>;
|
|
4366
|
+
requiresRerate: Scalars['Boolean']['output'];
|
|
4160
4367
|
stockLocationId?: Maybe<Scalars['ID']['output']>;
|
|
4161
4368
|
stockLocationName?: Maybe<Scalars['String']['output']>;
|
|
4369
|
+
supersededAt?: Maybe<Scalars['DateTime']['output']>;
|
|
4162
4370
|
};
|
|
4163
4371
|
export type ShippingGatewayRateGroupLine = {
|
|
4164
4372
|
dimensionUnit?: Maybe<Scalars['String']['output']>;
|
|
@@ -4172,28 +4380,27 @@ export type ShippingGatewayRateGroupLine = {
|
|
|
4172
4380
|
weightUnit?: Maybe<Scalars['String']['output']>;
|
|
4173
4381
|
width?: Maybe<Scalars['Float']['output']>;
|
|
4174
4382
|
};
|
|
4175
|
-
export type ShippingGatewayRoutingFlatRate = {
|
|
4176
|
-
amount: Scalars['Int']['output'];
|
|
4177
|
-
code: Scalars['String']['output'];
|
|
4178
|
-
createdAt: Scalars['DateTime']['output'];
|
|
4179
|
-
currencyCode: Scalars['String']['output'];
|
|
4180
|
-
estimatedDays?: Maybe<Scalars['Int']['output']>;
|
|
4181
|
-
id: Scalars['ID']['output'];
|
|
4182
|
-
name: Scalars['String']['output'];
|
|
4183
|
-
updatedAt: Scalars['DateTime']['output'];
|
|
4184
|
-
};
|
|
4185
4383
|
export type ShippingGatewayRoutingRule = {
|
|
4384
|
+
allProviders: Scalars['Boolean']['output'];
|
|
4385
|
+
cities: Array<Scalars['String']['output']>;
|
|
4186
4386
|
countries: Array<Country>;
|
|
4187
4387
|
createdAt: Scalars['DateTime']['output'];
|
|
4188
4388
|
enabled: Scalars['Boolean']['output'];
|
|
4189
|
-
flatRates: Array<ShippingGatewayRoutingFlatRate>;
|
|
4190
|
-
fulfillmentType: ShippingRoutingFulfillmentType;
|
|
4191
4389
|
id: Scalars['ID']['output'];
|
|
4192
4390
|
priority: Scalars['Int']['output'];
|
|
4193
|
-
|
|
4391
|
+
providerCodes: Array<Scalars['String']['output']>;
|
|
4194
4392
|
scopeType: ShippingRoutingScopeType;
|
|
4195
4393
|
stockLocationId: Scalars['ID']['output'];
|
|
4196
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'];
|
|
4197
4404
|
};
|
|
4198
4405
|
export type ShippingLine = {
|
|
4199
4406
|
adjustments: Array<Adjustment>;
|
|
@@ -4205,19 +4412,41 @@ export type ShippingLine = {
|
|
|
4205
4412
|
taxLines: Array<OrderTaxLine>;
|
|
4206
4413
|
updatedAt: Scalars['DateTime']['output'];
|
|
4207
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
|
+
};
|
|
4208
4445
|
export type ShippingProvider = {
|
|
4209
4446
|
code: Scalars['String']['output'];
|
|
4210
4447
|
name: Scalars['String']['output'];
|
|
4211
4448
|
pluginBacked: Scalars['Boolean']['output'];
|
|
4212
4449
|
};
|
|
4213
|
-
export type ShippingRoutingFlatRateInput = {
|
|
4214
|
-
amount: Scalars['Int']['input'];
|
|
4215
|
-
code: Scalars['String']['input'];
|
|
4216
|
-
currencyCode: Scalars['String']['input'];
|
|
4217
|
-
estimatedDays?: InputMaybe<Scalars['Int']['input']>;
|
|
4218
|
-
name: Scalars['String']['input'];
|
|
4219
|
-
};
|
|
4220
|
-
export type ShippingRoutingFulfillmentType = 'MANUAL' | 'PROVIDER';
|
|
4221
4450
|
export type ShippingRoutingScopeType = 'COUNTRIES' | 'DOMESTIC' | 'INTERNATIONAL';
|
|
4222
4451
|
export type ShopAddItemToOrderInput = {
|
|
4223
4452
|
quantity: Scalars['Int']['input'];
|
|
@@ -4272,7 +4501,6 @@ export type StockLocationAddress = {
|
|
|
4272
4501
|
company?: Maybe<Scalars['String']['output']>;
|
|
4273
4502
|
countryCode: Scalars['String']['output'];
|
|
4274
4503
|
createdAt: Scalars['DateTime']['output'];
|
|
4275
|
-
fullName?: Maybe<Scalars['String']['output']>;
|
|
4276
4504
|
id: Scalars['ID']['output'];
|
|
4277
4505
|
phoneNumber?: Maybe<Scalars['String']['output']>;
|
|
4278
4506
|
postalCode: Scalars['String']['output'];
|
|
@@ -4281,6 +4509,24 @@ export type StockLocationAddress = {
|
|
|
4281
4509
|
streetLine2?: Maybe<Scalars['String']['output']>;
|
|
4282
4510
|
updatedAt: Scalars['DateTime']['output'];
|
|
4283
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
|
+
};
|
|
4284
4530
|
export type StockLocationList = {
|
|
4285
4531
|
items: Array<StockLocation>;
|
|
4286
4532
|
totalItems: Scalars['Int']['output'];
|
|
@@ -4315,6 +4561,7 @@ export type Subscription = {
|
|
|
4315
4561
|
chatMessageStream: ChatMessage;
|
|
4316
4562
|
deploymentLogs: DeploymentLogEntry;
|
|
4317
4563
|
deploymentStatusChanged: Deployment;
|
|
4564
|
+
fulfillmentStateChanged: FulfillmentStateTransition;
|
|
4318
4565
|
hookDispatched: HookDispatchEvent;
|
|
4319
4566
|
resumeChatSession: ChatMessage;
|
|
4320
4567
|
workspaceReadiness: WorkspaceReadiness;
|
|
@@ -4328,6 +4575,9 @@ export type SubscriptiondeploymentLogsArgs = {
|
|
|
4328
4575
|
export type SubscriptiondeploymentStatusChangedArgs = {
|
|
4329
4576
|
type: DeploymentType;
|
|
4330
4577
|
};
|
|
4578
|
+
export type SubscriptionfulfillmentStateChangedArgs = {
|
|
4579
|
+
orderId: Scalars['ID']['input'];
|
|
4580
|
+
};
|
|
4331
4581
|
export type SubscriptionhookDispatchedArgs = {
|
|
4332
4582
|
hookPoints: Array<Scalars['String']['input']>;
|
|
4333
4583
|
};
|
|
@@ -4441,6 +4691,7 @@ export type TaxCategory = {
|
|
|
4441
4691
|
externalCodes: Array<TaxCategoryExternalCode>;
|
|
4442
4692
|
id: Scalars['ID']['output'];
|
|
4443
4693
|
isDefault: Scalars['Boolean']['output'];
|
|
4694
|
+
isProtected: Scalars['Boolean']['output'];
|
|
4444
4695
|
name: Scalars['String']['output'];
|
|
4445
4696
|
updatedAt: Scalars['DateTime']['output'];
|
|
4446
4697
|
};
|
|
@@ -4549,7 +4800,6 @@ export type UpdateAddressInput = {
|
|
|
4549
4800
|
countryId?: InputMaybe<Scalars['ID']['input']>;
|
|
4550
4801
|
defaultBillingAddress?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4551
4802
|
defaultShippingAddress?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4552
|
-
fullName?: InputMaybe<Scalars['String']['input']>;
|
|
4553
4803
|
id: Scalars['ID']['input'];
|
|
4554
4804
|
phoneNumber?: InputMaybe<Scalars['String']['input']>;
|
|
4555
4805
|
postalCode?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -4609,6 +4859,7 @@ export type UpdateChannelSettingsInput = {
|
|
|
4609
4859
|
defaultFulfillmentHandlerCode?: InputMaybe<Scalars['String']['input']>;
|
|
4610
4860
|
defaultPaymentProviderCode?: InputMaybe<Scalars['String']['input']>;
|
|
4611
4861
|
defaultWeightUnit?: InputMaybe<WeightUnit>;
|
|
4862
|
+
emailAddress?: InputMaybe<Scalars['String']['input']>;
|
|
4612
4863
|
fxMarkupPercent?: InputMaybe<Scalars['Float']['input']>;
|
|
4613
4864
|
fxRoundingRule?: InputMaybe<Scalars['String']['input']>;
|
|
4614
4865
|
requireCustomerForCheckout?: InputMaybe<Scalars['Boolean']['input']>;
|
|
@@ -4779,6 +5030,7 @@ export type UpdateProductVariantInput = {
|
|
|
4779
5030
|
featuredAssetId?: InputMaybe<Scalars['ID']['input']>;
|
|
4780
5031
|
id: Scalars['ID']['input'];
|
|
4781
5032
|
optionIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
5033
|
+
packagePresetId?: InputMaybe<Scalars['ID']['input']>;
|
|
4782
5034
|
price?: InputMaybe<Scalars['Int']['input']>;
|
|
4783
5035
|
sku?: InputMaybe<Scalars['String']['input']>;
|
|
4784
5036
|
stockLevels?: InputMaybe<Array<StockLevelInput>>;
|
|
@@ -4844,14 +5096,15 @@ export type UpdateSellingPlanInput = {
|
|
|
4844
5096
|
trialDays?: InputMaybe<Scalars['Int']['input']>;
|
|
4845
5097
|
};
|
|
4846
5098
|
export type UpdateShippingGatewayRoutingRuleInput = {
|
|
5099
|
+
allProviders?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5100
|
+
cities?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
4847
5101
|
countryCodes?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
4848
5102
|
enabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4849
|
-
flatRates?: InputMaybe<Array<ShippingRoutingFlatRateInput>>;
|
|
4850
|
-
fulfillmentType?: InputMaybe<ShippingRoutingFulfillmentType>;
|
|
4851
5103
|
id: Scalars['ID']['input'];
|
|
4852
5104
|
priority?: InputMaybe<Scalars['Int']['input']>;
|
|
4853
|
-
|
|
5105
|
+
providerCodes?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
4854
5106
|
scopeType?: InputMaybe<ShippingRoutingScopeType>;
|
|
5107
|
+
useFlatRates?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4855
5108
|
};
|
|
4856
5109
|
export type UpdateShippingLabelInput = {
|
|
4857
5110
|
carrier?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -4859,11 +5112,19 @@ export type UpdateShippingLabelInput = {
|
|
|
4859
5112
|
service?: InputMaybe<Scalars['String']['input']>;
|
|
4860
5113
|
trackingNumber?: InputMaybe<Scalars['String']['input']>;
|
|
4861
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
|
+
};
|
|
4862
5124
|
export type UpdateStockLocationAddressInput = {
|
|
4863
5125
|
city?: InputMaybe<Scalars['String']['input']>;
|
|
4864
5126
|
company?: InputMaybe<Scalars['String']['input']>;
|
|
4865
5127
|
countryCode?: InputMaybe<Scalars['String']['input']>;
|
|
4866
|
-
fullName?: InputMaybe<Scalars['String']['input']>;
|
|
4867
5128
|
phoneNumber?: InputMaybe<Scalars['String']['input']>;
|
|
4868
5129
|
postalCode?: InputMaybe<Scalars['String']['input']>;
|
|
4869
5130
|
province?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -5860,7 +6121,7 @@ export type UpdateChannelSettingsMutationVariables = Exact<{
|
|
|
5860
6121
|
input: UpdateChannelSettingsInput;
|
|
5861
6122
|
}>;
|
|
5862
6123
|
export type UpdateChannelSettingsMutation = {
|
|
5863
|
-
updateChannelSettings: (Pick<ChannelSettings, 'id' | 'channelId' | 'shopName' | 'requiresShippingAddressValidation' | 'requireCustomerForCheckout' | 'defaultFulfillmentHandlerCode' | 'defaultPaymentProviderCode' | 'defaultDeploymentProviderCode' | 'defaultWeightUnit' | 'defaultDimensionUnit' | 'taxOriginScope' | 'autoCurrencyExchange' | 'fxRoundingRule' | 'fxMarkupPercent'> & {
|
|
6124
|
+
updateChannelSettings: (Pick<ChannelSettings, 'id' | 'channelId' | 'shopName' | 'emailAddress' | 'requiresShippingAddressValidation' | 'requireCustomerForCheckout' | 'defaultFulfillmentHandlerCode' | 'defaultPaymentProviderCode' | 'defaultDeploymentProviderCode' | 'defaultWeightUnit' | 'defaultDimensionUnit' | 'taxOriginScope' | 'autoCurrencyExchange' | 'fxRoundingRule' | 'fxMarkupPercent'> & {
|
|
5864
6125
|
companyAddress?: Maybe<Pick<CompanyAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'countryCode' | 'phoneNumber'>>;
|
|
5865
6126
|
});
|
|
5866
6127
|
};
|
|
@@ -5870,7 +6131,7 @@ export type ProvisionChannelMutationVariables = Exact<{
|
|
|
5870
6131
|
export type ProvisionChannelMutation = {
|
|
5871
6132
|
provisionChannel: {
|
|
5872
6133
|
channel: Pick<Channel, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'token' | 'secret' | 'previewUrl' | 'defaultLanguageCode' | 'defaultCurrencyCode' | 'availableLanguageCodes' | 'availableCurrencyCodes' | 'description' | 'pricesIncludeTax' | 'taxProviderCode' | 'trackInventory' | 'outOfStockThreshold' | 'sellerId' | 'defaultTaxZoneId'>;
|
|
5873
|
-
channelSettings: (Pick<ChannelSettings, 'id' | 'channelId' | 'shopName' | 'requiresShippingAddressValidation' | 'requireCustomerForCheckout' | 'defaultFulfillmentHandlerCode' | 'defaultPaymentProviderCode' | 'defaultDeploymentProviderCode' | 'defaultWeightUnit' | 'defaultDimensionUnit' | 'taxOriginScope' | 'autoCurrencyExchange' | 'fxRoundingRule' | 'fxMarkupPercent'> & {
|
|
6134
|
+
channelSettings: (Pick<ChannelSettings, 'id' | 'channelId' | 'shopName' | 'emailAddress' | 'requiresShippingAddressValidation' | 'requireCustomerForCheckout' | 'defaultFulfillmentHandlerCode' | 'defaultPaymentProviderCode' | 'defaultDeploymentProviderCode' | 'defaultWeightUnit' | 'defaultDimensionUnit' | 'taxOriginScope' | 'autoCurrencyExchange' | 'fxRoundingRule' | 'fxMarkupPercent'> & {
|
|
5874
6135
|
companyAddress?: Maybe<Pick<CompanyAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'countryCode' | 'phoneNumber'>>;
|
|
5875
6136
|
});
|
|
5876
6137
|
role: Pick<Role, 'id' | 'name' | 'code' | 'description' | 'permissions'>;
|
|
@@ -5882,14 +6143,14 @@ export type AdminExchangeRatesQueryVariables = Exact<{
|
|
|
5882
6143
|
export type AdminExchangeRatesQuery = {
|
|
5883
6144
|
exchangeRates: Array<Pick<ExchangeRate, 'id' | 'baseCurrencyCode' | 'targetCurrencyCode' | 'rate' | 'rateUpdatedAt'>>;
|
|
5884
6145
|
};
|
|
5885
|
-
export type ChannelSettingsFieldFragment = (Pick<ChannelSettings, 'id' | 'channelId' | 'shopName' | 'requiresShippingAddressValidation' | 'requireCustomerForCheckout' | 'defaultFulfillmentHandlerCode' | 'defaultPaymentProviderCode' | 'defaultDeploymentProviderCode' | 'defaultWeightUnit' | 'defaultDimensionUnit' | 'taxOriginScope' | 'autoCurrencyExchange' | 'fxRoundingRule' | 'fxMarkupPercent'> & {
|
|
6146
|
+
export type ChannelSettingsFieldFragment = (Pick<ChannelSettings, 'id' | 'channelId' | 'shopName' | 'emailAddress' | 'requiresShippingAddressValidation' | 'requireCustomerForCheckout' | 'defaultFulfillmentHandlerCode' | 'defaultPaymentProviderCode' | 'defaultDeploymentProviderCode' | 'defaultWeightUnit' | 'defaultDimensionUnit' | 'taxOriginScope' | 'autoCurrencyExchange' | 'fxRoundingRule' | 'fxMarkupPercent'> & {
|
|
5886
6147
|
companyAddress?: Maybe<Pick<CompanyAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'countryCode' | 'phoneNumber'>>;
|
|
5887
6148
|
});
|
|
5888
6149
|
export type ChannelSettingsQueryVariables = Exact<{
|
|
5889
6150
|
[key: string]: never;
|
|
5890
6151
|
}>;
|
|
5891
6152
|
export type ChannelSettingsQuery = {
|
|
5892
|
-
channelSettings: (Pick<ChannelSettings, 'id' | 'channelId' | 'shopName' | 'requiresShippingAddressValidation' | 'requireCustomerForCheckout' | 'defaultFulfillmentHandlerCode' | 'defaultPaymentProviderCode' | 'defaultDeploymentProviderCode' | 'defaultWeightUnit' | 'defaultDimensionUnit' | 'taxOriginScope' | 'autoCurrencyExchange' | 'fxRoundingRule' | 'fxMarkupPercent'> & {
|
|
6153
|
+
channelSettings: (Pick<ChannelSettings, 'id' | 'channelId' | 'shopName' | 'emailAddress' | 'requiresShippingAddressValidation' | 'requireCustomerForCheckout' | 'defaultFulfillmentHandlerCode' | 'defaultPaymentProviderCode' | 'defaultDeploymentProviderCode' | 'defaultWeightUnit' | 'defaultDimensionUnit' | 'taxOriginScope' | 'autoCurrencyExchange' | 'fxRoundingRule' | 'fxMarkupPercent'> & {
|
|
5893
6154
|
companyAddress?: Maybe<Pick<CompanyAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'countryCode' | 'phoneNumber'>>;
|
|
5894
6155
|
});
|
|
5895
6156
|
};
|
|
@@ -5897,7 +6158,7 @@ export type ChannelUpdateSettingsMutationVariables = Exact<{
|
|
|
5897
6158
|
input: UpdateChannelSettingsInput;
|
|
5898
6159
|
}>;
|
|
5899
6160
|
export type ChannelUpdateSettingsMutation = {
|
|
5900
|
-
updateChannelSettings: (Pick<ChannelSettings, 'id' | 'channelId' | 'shopName' | 'requiresShippingAddressValidation' | 'requireCustomerForCheckout' | 'defaultFulfillmentHandlerCode' | 'defaultPaymentProviderCode' | 'defaultDeploymentProviderCode' | 'defaultWeightUnit' | 'defaultDimensionUnit' | 'taxOriginScope' | 'autoCurrencyExchange' | 'fxRoundingRule' | 'fxMarkupPercent'> & {
|
|
6161
|
+
updateChannelSettings: (Pick<ChannelSettings, 'id' | 'channelId' | 'shopName' | 'emailAddress' | 'requiresShippingAddressValidation' | 'requireCustomerForCheckout' | 'defaultFulfillmentHandlerCode' | 'defaultPaymentProviderCode' | 'defaultDeploymentProviderCode' | 'defaultWeightUnit' | 'defaultDimensionUnit' | 'taxOriginScope' | 'autoCurrencyExchange' | 'fxRoundingRule' | 'fxMarkupPercent'> & {
|
|
5901
6162
|
companyAddress?: Maybe<Pick<CompanyAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'countryCode' | 'phoneNumber'>>;
|
|
5902
6163
|
});
|
|
5903
6164
|
};
|
|
@@ -6137,7 +6398,7 @@ export type RemoveCustomersFromGroupMutation = {
|
|
|
6137
6398
|
removeCustomersFromGroup: Pick<CustomerGroup, 'id' | 'createdAt' | 'updatedAt' | 'name'>;
|
|
6138
6399
|
};
|
|
6139
6400
|
export type CustomerFieldFragment = (Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'> & {
|
|
6140
|
-
addresses: Array<(Pick<Address, 'id' | '
|
|
6401
|
+
addresses: Array<(Pick<Address, 'id' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber' | 'defaultShippingAddress' | 'defaultBillingAddress'> & {
|
|
6141
6402
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
6142
6403
|
})>;
|
|
6143
6404
|
});
|
|
@@ -6146,7 +6407,7 @@ export type AdminCustomerQueryVariables = Exact<{
|
|
|
6146
6407
|
}>;
|
|
6147
6408
|
export type AdminCustomerQuery = {
|
|
6148
6409
|
customer?: Maybe<(Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'> & {
|
|
6149
|
-
addresses: Array<(Pick<Address, 'id' | '
|
|
6410
|
+
addresses: Array<(Pick<Address, 'id' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber' | 'defaultShippingAddress' | 'defaultBillingAddress'> & {
|
|
6150
6411
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
6151
6412
|
})>;
|
|
6152
6413
|
})>;
|
|
@@ -6157,7 +6418,7 @@ export type AdminCustomersQueryVariables = Exact<{
|
|
|
6157
6418
|
export type AdminCustomersQuery = {
|
|
6158
6419
|
customers: (Pick<CustomerList, 'totalItems'> & {
|
|
6159
6420
|
items: Array<(Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'> & {
|
|
6160
|
-
addresses: Array<(Pick<Address, 'id' | '
|
|
6421
|
+
addresses: Array<(Pick<Address, 'id' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber' | 'defaultShippingAddress' | 'defaultBillingAddress'> & {
|
|
6161
6422
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
6162
6423
|
})>;
|
|
6163
6424
|
})>;
|
|
@@ -6168,7 +6429,7 @@ export type CreateCustomerMutationVariables = Exact<{
|
|
|
6168
6429
|
}>;
|
|
6169
6430
|
export type CreateCustomerMutation = {
|
|
6170
6431
|
createCustomer: (Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'> & {
|
|
6171
|
-
addresses: Array<(Pick<Address, 'id' | '
|
|
6432
|
+
addresses: Array<(Pick<Address, 'id' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber' | 'defaultShippingAddress' | 'defaultBillingAddress'> & {
|
|
6172
6433
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
6173
6434
|
})>;
|
|
6174
6435
|
});
|
|
@@ -6178,7 +6439,7 @@ export type UpdateCustomerMutationVariables = Exact<{
|
|
|
6178
6439
|
}>;
|
|
6179
6440
|
export type UpdateCustomerMutation = {
|
|
6180
6441
|
updateCustomer: (Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'> & {
|
|
6181
|
-
addresses: Array<(Pick<Address, 'id' | '
|
|
6442
|
+
addresses: Array<(Pick<Address, 'id' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber' | 'defaultShippingAddress' | 'defaultBillingAddress'> & {
|
|
6182
6443
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
6183
6444
|
})>;
|
|
6184
6445
|
});
|
|
@@ -6193,7 +6454,7 @@ export type CreateCustomerAddressMutationVariables = Exact<{
|
|
|
6193
6454
|
input: CreateCustomerAddressInput;
|
|
6194
6455
|
}>;
|
|
6195
6456
|
export type CreateCustomerAddressMutation = {
|
|
6196
|
-
createCustomerAddress: (Pick<Address, 'id' | '
|
|
6457
|
+
createCustomerAddress: (Pick<Address, 'id' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber' | 'defaultShippingAddress' | 'defaultBillingAddress'> & {
|
|
6197
6458
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
6198
6459
|
});
|
|
6199
6460
|
};
|
|
@@ -6201,7 +6462,7 @@ export type UpdateCustomerAddressMutationVariables = Exact<{
|
|
|
6201
6462
|
input: UpdateAddressInput;
|
|
6202
6463
|
}>;
|
|
6203
6464
|
export type UpdateCustomerAddressMutation = {
|
|
6204
|
-
updateCustomerAddress: (Pick<Address, 'id' | '
|
|
6465
|
+
updateCustomerAddress: (Pick<Address, 'id' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber' | 'defaultShippingAddress' | 'defaultBillingAddress'> & {
|
|
6205
6466
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
6206
6467
|
});
|
|
6207
6468
|
};
|
|
@@ -6215,7 +6476,7 @@ export type CustomerCreateAddressMutationVariables = Exact<{
|
|
|
6215
6476
|
input: CreateCustomerAddressInput;
|
|
6216
6477
|
}>;
|
|
6217
6478
|
export type CustomerCreateAddressMutation = {
|
|
6218
|
-
createCustomerAddress: (Pick<Address, 'id' | '
|
|
6479
|
+
createCustomerAddress: (Pick<Address, 'id' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber' | 'defaultShippingAddress' | 'defaultBillingAddress'> & {
|
|
6219
6480
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
6220
6481
|
});
|
|
6221
6482
|
};
|
|
@@ -6223,7 +6484,7 @@ export type CustomerUpdateAddressMutationVariables = Exact<{
|
|
|
6223
6484
|
input: UpdateAddressInput;
|
|
6224
6485
|
}>;
|
|
6225
6486
|
export type CustomerUpdateAddressMutation = {
|
|
6226
|
-
updateCustomerAddress: (Pick<Address, 'id' | '
|
|
6487
|
+
updateCustomerAddress: (Pick<Address, 'id' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber' | 'defaultShippingAddress' | 'defaultBillingAddress'> & {
|
|
6227
6488
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
6228
6489
|
});
|
|
6229
6490
|
};
|
|
@@ -6482,7 +6743,7 @@ export type FulfillmentRequestLineFieldFragment = Pick<FulfillmentRequestLine, '
|
|
|
6482
6743
|
export type HoldReasonFieldFragment = Pick<HoldReason, 'code' | 'addedAt' | 'note'>;
|
|
6483
6744
|
export type FulfillmentRequestFieldFragment = (Pick<FulfillmentRequest, 'id' | 'createdAt' | 'updatedAt' | 'state' | 'deliveryMethod' | 'handlerCode'> & {
|
|
6484
6745
|
holdReasons: Array<Pick<HoldReason, 'code' | 'addedAt' | 'note'>>;
|
|
6485
|
-
destinationAddress?: Maybe<(Pick<OrderAddress, '
|
|
6746
|
+
destinationAddress?: Maybe<(Pick<OrderAddress, 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
6486
6747
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
6487
6748
|
})>;
|
|
6488
6749
|
assignedLocation: Pick<StockLocation, 'id' | 'name'>;
|
|
@@ -6495,7 +6756,7 @@ export type FulfillmentRequestQueryVariables = Exact<{
|
|
|
6495
6756
|
export type FulfillmentRequestQuery = {
|
|
6496
6757
|
fulfillmentRequest?: Maybe<(Pick<FulfillmentRequest, 'id' | 'createdAt' | 'updatedAt' | 'state' | 'deliveryMethod' | 'handlerCode'> & {
|
|
6497
6758
|
holdReasons: Array<Pick<HoldReason, 'code' | 'addedAt' | 'note'>>;
|
|
6498
|
-
destinationAddress?: Maybe<(Pick<OrderAddress, '
|
|
6759
|
+
destinationAddress?: Maybe<(Pick<OrderAddress, 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
6499
6760
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
6500
6761
|
})>;
|
|
6501
6762
|
assignedLocation: Pick<StockLocation, 'id' | 'name'>;
|
|
@@ -6509,7 +6770,7 @@ export type FulfillmentRequestsForOrderQueryVariables = Exact<{
|
|
|
6509
6770
|
export type FulfillmentRequestsForOrderQuery = {
|
|
6510
6771
|
fulfillmentRequestsForOrder: Array<(Pick<FulfillmentRequest, 'id' | 'createdAt' | 'updatedAt' | 'state' | 'deliveryMethod' | 'handlerCode'> & {
|
|
6511
6772
|
holdReasons: Array<Pick<HoldReason, 'code' | 'addedAt' | 'note'>>;
|
|
6512
|
-
destinationAddress?: Maybe<(Pick<OrderAddress, '
|
|
6773
|
+
destinationAddress?: Maybe<(Pick<OrderAddress, 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
6513
6774
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
6514
6775
|
})>;
|
|
6515
6776
|
assignedLocation: Pick<StockLocation, 'id' | 'name'>;
|
|
@@ -6527,7 +6788,7 @@ export type AcceptFulfillmentRequestMutationVariables = Exact<{
|
|
|
6527
6788
|
export type AcceptFulfillmentRequestMutation = {
|
|
6528
6789
|
acceptFulfillmentRequest: (Pick<FulfillmentRequest, 'id' | 'createdAt' | 'updatedAt' | 'state' | 'deliveryMethod' | 'handlerCode'> & {
|
|
6529
6790
|
holdReasons: Array<Pick<HoldReason, 'code' | 'addedAt' | 'note'>>;
|
|
6530
|
-
destinationAddress?: Maybe<(Pick<OrderAddress, '
|
|
6791
|
+
destinationAddress?: Maybe<(Pick<OrderAddress, 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
6531
6792
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
6532
6793
|
})>;
|
|
6533
6794
|
assignedLocation: Pick<StockLocation, 'id' | 'name'>;
|
|
@@ -6541,7 +6802,7 @@ export type CancelFulfillmentRequestMutationVariables = Exact<{
|
|
|
6541
6802
|
export type CancelFulfillmentRequestMutation = {
|
|
6542
6803
|
cancelFulfillmentRequest: (Pick<FulfillmentRequest, 'id' | 'createdAt' | 'updatedAt' | 'state' | 'deliveryMethod' | 'handlerCode'> & {
|
|
6543
6804
|
holdReasons: Array<Pick<HoldReason, 'code' | 'addedAt' | 'note'>>;
|
|
6544
|
-
destinationAddress?: Maybe<(Pick<OrderAddress, '
|
|
6805
|
+
destinationAddress?: Maybe<(Pick<OrderAddress, 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
6545
6806
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
6546
6807
|
})>;
|
|
6547
6808
|
assignedLocation: Pick<StockLocation, 'id' | 'name'>;
|
|
@@ -6555,7 +6816,7 @@ export type MoveFulfillmentRequestMutationVariables = Exact<{
|
|
|
6555
6816
|
export type MoveFulfillmentRequestMutation = {
|
|
6556
6817
|
moveFulfillmentRequest: (Pick<FulfillmentRequest, 'id' | 'createdAt' | 'updatedAt' | 'state' | 'deliveryMethod' | 'handlerCode'> & {
|
|
6557
6818
|
holdReasons: Array<Pick<HoldReason, 'code' | 'addedAt' | 'note'>>;
|
|
6558
|
-
destinationAddress?: Maybe<(Pick<OrderAddress, '
|
|
6819
|
+
destinationAddress?: Maybe<(Pick<OrderAddress, 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
6559
6820
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
6560
6821
|
})>;
|
|
6561
6822
|
assignedLocation: Pick<StockLocation, 'id' | 'name'>;
|
|
@@ -6569,7 +6830,7 @@ export type SplitFulfillmentRequestMutationVariables = Exact<{
|
|
|
6569
6830
|
export type SplitFulfillmentRequestMutation = {
|
|
6570
6831
|
splitFulfillmentRequest: (Pick<FulfillmentRequest, 'id' | 'createdAt' | 'updatedAt' | 'state' | 'deliveryMethod' | 'handlerCode'> & {
|
|
6571
6832
|
holdReasons: Array<Pick<HoldReason, 'code' | 'addedAt' | 'note'>>;
|
|
6572
|
-
destinationAddress?: Maybe<(Pick<OrderAddress, '
|
|
6833
|
+
destinationAddress?: Maybe<(Pick<OrderAddress, 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
6573
6834
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
6574
6835
|
})>;
|
|
6575
6836
|
assignedLocation: Pick<StockLocation, 'id' | 'name'>;
|
|
@@ -6583,7 +6844,7 @@ export type MergeFulfillmentRequestsMutationVariables = Exact<{
|
|
|
6583
6844
|
export type MergeFulfillmentRequestsMutation = {
|
|
6584
6845
|
mergeFulfillmentRequests: (Pick<FulfillmentRequest, 'id' | 'createdAt' | 'updatedAt' | 'state' | 'deliveryMethod' | 'handlerCode'> & {
|
|
6585
6846
|
holdReasons: Array<Pick<HoldReason, 'code' | 'addedAt' | 'note'>>;
|
|
6586
|
-
destinationAddress?: Maybe<(Pick<OrderAddress, '
|
|
6847
|
+
destinationAddress?: Maybe<(Pick<OrderAddress, 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
6587
6848
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
6588
6849
|
})>;
|
|
6589
6850
|
assignedLocation: Pick<StockLocation, 'id' | 'name'>;
|
|
@@ -6597,7 +6858,7 @@ export type AddFulfillmentRequestHoldMutationVariables = Exact<{
|
|
|
6597
6858
|
export type AddFulfillmentRequestHoldMutation = {
|
|
6598
6859
|
addFulfillmentRequestHold: (Pick<FulfillmentRequest, 'id' | 'createdAt' | 'updatedAt' | 'state' | 'deliveryMethod' | 'handlerCode'> & {
|
|
6599
6860
|
holdReasons: Array<Pick<HoldReason, 'code' | 'addedAt' | 'note'>>;
|
|
6600
|
-
destinationAddress?: Maybe<(Pick<OrderAddress, '
|
|
6861
|
+
destinationAddress?: Maybe<(Pick<OrderAddress, 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
6601
6862
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
6602
6863
|
})>;
|
|
6603
6864
|
assignedLocation: Pick<StockLocation, 'id' | 'name'>;
|
|
@@ -6611,7 +6872,7 @@ export type RemoveFulfillmentRequestHoldMutationVariables = Exact<{
|
|
|
6611
6872
|
export type RemoveFulfillmentRequestHoldMutation = {
|
|
6612
6873
|
removeFulfillmentRequestHold: (Pick<FulfillmentRequest, 'id' | 'createdAt' | 'updatedAt' | 'state' | 'deliveryMethod' | 'handlerCode'> & {
|
|
6613
6874
|
holdReasons: Array<Pick<HoldReason, 'code' | 'addedAt' | 'note'>>;
|
|
6614
|
-
destinationAddress?: Maybe<(Pick<OrderAddress, '
|
|
6875
|
+
destinationAddress?: Maybe<(Pick<OrderAddress, 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
6615
6876
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
6616
6877
|
})>;
|
|
6617
6878
|
assignedLocation: Pick<StockLocation, 'id' | 'name'>;
|
|
@@ -6625,7 +6886,7 @@ export type ChangeFulfillmentRequestDeliveryMethodMutationVariables = Exact<{
|
|
|
6625
6886
|
export type ChangeFulfillmentRequestDeliveryMethodMutation = {
|
|
6626
6887
|
changeFulfillmentRequestDeliveryMethod: (Pick<FulfillmentRequest, 'id' | 'createdAt' | 'updatedAt' | 'state' | 'deliveryMethod' | 'handlerCode'> & {
|
|
6627
6888
|
holdReasons: Array<Pick<HoldReason, 'code' | 'addedAt' | 'note'>>;
|
|
6628
|
-
destinationAddress?: Maybe<(Pick<OrderAddress, '
|
|
6889
|
+
destinationAddress?: Maybe<(Pick<OrderAddress, 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
6629
6890
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
6630
6891
|
})>;
|
|
6631
6892
|
assignedLocation: Pick<StockLocation, 'id' | 'name'>;
|
|
@@ -6639,7 +6900,7 @@ export type CreateFulfillmentRequestsForOrderMutationVariables = Exact<{
|
|
|
6639
6900
|
export type CreateFulfillmentRequestsForOrderMutation = {
|
|
6640
6901
|
createFulfillmentRequestsForOrder: Array<(Pick<FulfillmentRequest, 'id' | 'createdAt' | 'updatedAt' | 'state' | 'deliveryMethod' | 'handlerCode'> & {
|
|
6641
6902
|
holdReasons: Array<Pick<HoldReason, 'code' | 'addedAt' | 'note'>>;
|
|
6642
|
-
destinationAddress?: Maybe<(Pick<OrderAddress, '
|
|
6903
|
+
destinationAddress?: Maybe<(Pick<OrderAddress, 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
6643
6904
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
6644
6905
|
})>;
|
|
6645
6906
|
assignedLocation: Pick<StockLocation, 'id' | 'name'>;
|
|
@@ -6695,6 +6956,12 @@ export type TransitionFulfillmentToStateMutation = {
|
|
|
6695
6956
|
lines: Array<Pick<FulfillmentLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'orderLineId'>>;
|
|
6696
6957
|
});
|
|
6697
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
|
+
};
|
|
6698
6965
|
export type AdminHookDispatchedSubscriptionVariables = Exact<{
|
|
6699
6966
|
hookPoints: Array<Scalars['String']['input']> | Scalars['String']['input'];
|
|
6700
6967
|
}>;
|
|
@@ -6938,15 +7205,15 @@ export type ModifyOrderMutationVariables = Exact<{
|
|
|
6938
7205
|
}>;
|
|
6939
7206
|
export type ModifyOrderMutation = {
|
|
6940
7207
|
modifyOrder: {
|
|
6941
|
-
order: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
6942
|
-
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'> & {
|
|
6943
7210
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
6944
7211
|
})>;
|
|
6945
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
7212
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
6946
7213
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
6947
7214
|
})>;
|
|
6948
7215
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
6949
|
-
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'> & {
|
|
6950
7217
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
6951
7218
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
6952
7219
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -6990,7 +7257,7 @@ export type ModifyOrderMutation = {
|
|
|
6990
7257
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
6991
7258
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
6992
7259
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
6993
|
-
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'>>;
|
|
6994
7261
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
6995
7262
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
6996
7263
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -7018,15 +7285,15 @@ export type CancelOrderMutationVariables = Exact<{
|
|
|
7018
7285
|
input: CancelOrderInput;
|
|
7019
7286
|
}>;
|
|
7020
7287
|
export type CancelOrderMutation = {
|
|
7021
|
-
cancelOrder: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
7022
|
-
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'> & {
|
|
7023
7290
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7024
7291
|
})>;
|
|
7025
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
7292
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
7026
7293
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7027
7294
|
})>;
|
|
7028
7295
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
7029
|
-
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'> & {
|
|
7030
7297
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
7031
7298
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
7032
7299
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -7070,7 +7337,7 @@ export type CancelOrderMutation = {
|
|
|
7070
7337
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
7071
7338
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
7072
7339
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
7073
|
-
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'>>;
|
|
7074
7341
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
7075
7342
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
7076
7343
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -7106,10 +7373,10 @@ export type ShippingLineFieldFragment = (Pick<ShippingLine, 'id' | 'createdAt' |
|
|
|
7106
7373
|
});
|
|
7107
7374
|
export type DiscountFieldFragment = Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>;
|
|
7108
7375
|
export type TaxSummaryFieldFragment = Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>;
|
|
7109
|
-
export type OrderAddressFieldFragment = (Pick<OrderAddress, '
|
|
7376
|
+
export type OrderAddressFieldFragment = (Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
7110
7377
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7111
7378
|
});
|
|
7112
|
-
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'> & {
|
|
7113
7380
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
7114
7381
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
7115
7382
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -7121,15 +7388,15 @@ export type OrderLineFieldFragment = (Pick<OrderLine, 'id' | 'createdAt' | 'upda
|
|
|
7121
7388
|
featuredAsset?: Maybe<Pick<Asset, 'id'>>;
|
|
7122
7389
|
snapshot?: Maybe<Pick<ProductVariantSnapshot, 'id' | 'createdAt' | 'updatedAt' | 'productName' | 'variantName' | 'sku' | 'imageUrl' | 'price' | 'priceWithTax'>>;
|
|
7123
7390
|
});
|
|
7124
|
-
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'> & {
|
|
7125
|
-
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'> & {
|
|
7126
7393
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7127
7394
|
})>;
|
|
7128
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
7395
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
7129
7396
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7130
7397
|
})>;
|
|
7131
7398
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
7132
|
-
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'> & {
|
|
7133
7400
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
7134
7401
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
7135
7402
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -7173,7 +7440,7 @@ export type OrderFieldFragment = (Pick<Order, 'id' | 'createdAt' | 'updatedAt' |
|
|
|
7173
7440
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
7174
7441
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
7175
7442
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
7176
|
-
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'>>;
|
|
7177
7444
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
7178
7445
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
7179
7446
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -7185,15 +7452,15 @@ export type OrderQueryVariables = Exact<{
|
|
|
7185
7452
|
id: Scalars['ID']['input'];
|
|
7186
7453
|
}>;
|
|
7187
7454
|
export type OrderQuery = {
|
|
7188
|
-
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'> & {
|
|
7189
|
-
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'> & {
|
|
7190
7457
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7191
7458
|
})>;
|
|
7192
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
7459
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
7193
7460
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7194
7461
|
})>;
|
|
7195
7462
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
7196
|
-
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'> & {
|
|
7197
7464
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
7198
7465
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
7199
7466
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -7237,7 +7504,7 @@ export type OrderQuery = {
|
|
|
7237
7504
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
7238
7505
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
7239
7506
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
7240
|
-
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'>>;
|
|
7241
7508
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
7242
7509
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
7243
7510
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -7251,15 +7518,15 @@ export type OrdersQueryVariables = Exact<{
|
|
|
7251
7518
|
}>;
|
|
7252
7519
|
export type OrdersQuery = {
|
|
7253
7520
|
orders: (Pick<OrderList, 'totalItems'> & {
|
|
7254
|
-
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'> & {
|
|
7255
|
-
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'> & {
|
|
7256
7523
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7257
7524
|
})>;
|
|
7258
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
7525
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
7259
7526
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7260
7527
|
})>;
|
|
7261
7528
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
7262
|
-
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'> & {
|
|
7263
7530
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
7264
7531
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
7265
7532
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -7303,7 +7570,7 @@ export type OrdersQuery = {
|
|
|
7303
7570
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
7304
7571
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
7305
7572
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
7306
|
-
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'>>;
|
|
7307
7574
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
7308
7575
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
7309
7576
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -7317,15 +7584,15 @@ export type OrderByCodeQueryVariables = Exact<{
|
|
|
7317
7584
|
code: Scalars['String']['input'];
|
|
7318
7585
|
}>;
|
|
7319
7586
|
export type OrderByCodeQuery = {
|
|
7320
|
-
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'> & {
|
|
7321
|
-
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'> & {
|
|
7322
7589
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7323
7590
|
})>;
|
|
7324
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
7591
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
7325
7592
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7326
7593
|
})>;
|
|
7327
7594
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
7328
|
-
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'> & {
|
|
7329
7596
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
7330
7597
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
7331
7598
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -7369,7 +7636,7 @@ export type OrderByCodeQuery = {
|
|
|
7369
7636
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
7370
7637
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
7371
7638
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
7372
|
-
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'>>;
|
|
7373
7640
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
7374
7641
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
7375
7642
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -7386,15 +7653,15 @@ export type TransitionOrderToStateMutationVariables = Exact<{
|
|
|
7386
7653
|
input: TransitionOrderInput;
|
|
7387
7654
|
}>;
|
|
7388
7655
|
export type TransitionOrderToStateMutation = {
|
|
7389
|
-
transitionOrderToState: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
7390
|
-
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'> & {
|
|
7391
7658
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7392
7659
|
})>;
|
|
7393
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
7660
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
7394
7661
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7395
7662
|
})>;
|
|
7396
7663
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
7397
|
-
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'> & {
|
|
7398
7665
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
7399
7666
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
7400
7667
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -7438,7 +7705,7 @@ export type TransitionOrderToStateMutation = {
|
|
|
7438
7705
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
7439
7706
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
7440
7707
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
7441
|
-
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'>>;
|
|
7442
7709
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
7443
7710
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
7444
7711
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -7493,15 +7760,15 @@ export type CreateDraftOrderMutationVariables = Exact<{
|
|
|
7493
7760
|
[key: string]: never;
|
|
7494
7761
|
}>;
|
|
7495
7762
|
export type CreateDraftOrderMutation = {
|
|
7496
|
-
createDraftOrder: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
7497
|
-
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'> & {
|
|
7498
7765
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7499
7766
|
})>;
|
|
7500
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
7767
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
7501
7768
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7502
7769
|
})>;
|
|
7503
7770
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
7504
|
-
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'> & {
|
|
7505
7772
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
7506
7773
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
7507
7774
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -7545,7 +7812,7 @@ export type CreateDraftOrderMutation = {
|
|
|
7545
7812
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
7546
7813
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
7547
7814
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
7548
|
-
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'>>;
|
|
7549
7816
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
7550
7817
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
7551
7818
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -7564,15 +7831,15 @@ export type CompleteDraftMutationVariables = Exact<{
|
|
|
7564
7831
|
input: CompleteDraftInput;
|
|
7565
7832
|
}>;
|
|
7566
7833
|
export type CompleteDraftMutation = {
|
|
7567
|
-
completeDraft: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
7568
|
-
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'> & {
|
|
7569
7836
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7570
7837
|
})>;
|
|
7571
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
7838
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
7572
7839
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7573
7840
|
})>;
|
|
7574
7841
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
7575
|
-
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'> & {
|
|
7576
7843
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
7577
7844
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
7578
7845
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -7616,7 +7883,7 @@ export type CompleteDraftMutation = {
|
|
|
7616
7883
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
7617
7884
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
7618
7885
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
7619
|
-
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'>>;
|
|
7620
7887
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
7621
7888
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
7622
7889
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -7630,15 +7897,15 @@ export type AddItemsToOrderMutationVariables = Exact<{
|
|
|
7630
7897
|
}>;
|
|
7631
7898
|
export type AddItemsToOrderMutation = {
|
|
7632
7899
|
addItemsToOrder: {
|
|
7633
|
-
order: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
7634
|
-
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'> & {
|
|
7635
7902
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7636
7903
|
})>;
|
|
7637
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
7904
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
7638
7905
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7639
7906
|
})>;
|
|
7640
7907
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
7641
|
-
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'> & {
|
|
7642
7909
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
7643
7910
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
7644
7911
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -7682,7 +7949,7 @@ export type AddItemsToOrderMutation = {
|
|
|
7682
7949
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
7683
7950
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
7684
7951
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
7685
|
-
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'>>;
|
|
7686
7953
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
7687
7954
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
7688
7955
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -7693,20 +7960,85 @@ export type AddItemsToOrderMutation = {
|
|
|
7693
7960
|
errors: Array<Pick<BatchOrderLineError, 'index' | 'errorCode' | 'variables'>>;
|
|
7694
7961
|
};
|
|
7695
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
|
+
};
|
|
7696
8028
|
export type AdjustOrderLinesMutationVariables = Exact<{
|
|
7697
8029
|
input: AdjustOrderLinesInput;
|
|
7698
8030
|
}>;
|
|
7699
8031
|
export type AdjustOrderLinesMutation = {
|
|
7700
8032
|
adjustOrderLines: {
|
|
7701
|
-
order: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
7702
|
-
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'> & {
|
|
7703
8035
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7704
8036
|
})>;
|
|
7705
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
8037
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
7706
8038
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7707
8039
|
})>;
|
|
7708
8040
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
7709
|
-
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'> & {
|
|
7710
8042
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
7711
8043
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
7712
8044
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -7750,7 +8082,7 @@ export type AdjustOrderLinesMutation = {
|
|
|
7750
8082
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
7751
8083
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
7752
8084
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
7753
|
-
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'>>;
|
|
7754
8086
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
7755
8087
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
7756
8088
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -7766,15 +8098,15 @@ export type RemoveItemsFromOrderMutationVariables = Exact<{
|
|
|
7766
8098
|
}>;
|
|
7767
8099
|
export type RemoveItemsFromOrderMutation = {
|
|
7768
8100
|
removeItemsFromOrder: {
|
|
7769
|
-
order: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
7770
|
-
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'> & {
|
|
7771
8103
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7772
8104
|
})>;
|
|
7773
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
8105
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
7774
8106
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7775
8107
|
})>;
|
|
7776
8108
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
7777
|
-
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'> & {
|
|
7778
8110
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
7779
8111
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
7780
8112
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -7818,7 +8150,7 @@ export type RemoveItemsFromOrderMutation = {
|
|
|
7818
8150
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
7819
8151
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
7820
8152
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
7821
|
-
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'>>;
|
|
7822
8154
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
7823
8155
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
7824
8156
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -7833,15 +8165,15 @@ export type SetCustomerForOrderMutationVariables = Exact<{
|
|
|
7833
8165
|
input: SetCustomerForOrderInput;
|
|
7834
8166
|
}>;
|
|
7835
8167
|
export type SetCustomerForOrderMutation = {
|
|
7836
|
-
setCustomerForOrder: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
7837
|
-
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'> & {
|
|
7838
8170
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7839
8171
|
})>;
|
|
7840
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
8172
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
7841
8173
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7842
8174
|
})>;
|
|
7843
8175
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
7844
|
-
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'> & {
|
|
7845
8177
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
7846
8178
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
7847
8179
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -7885,7 +8217,7 @@ export type SetCustomerForOrderMutation = {
|
|
|
7885
8217
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
7886
8218
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
7887
8219
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
7888
|
-
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'>>;
|
|
7889
8221
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
7890
8222
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
7891
8223
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -7898,15 +8230,15 @@ export type SetCustomerForDraftOrderMutationVariables = Exact<{
|
|
|
7898
8230
|
input: SetCustomerForDraftOrderInput;
|
|
7899
8231
|
}>;
|
|
7900
8232
|
export type SetCustomerForDraftOrderMutation = {
|
|
7901
|
-
setCustomerForDraftOrder: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
7902
|
-
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'> & {
|
|
7903
8235
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7904
8236
|
})>;
|
|
7905
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
8237
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
7906
8238
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7907
8239
|
})>;
|
|
7908
8240
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
7909
|
-
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'> & {
|
|
7910
8242
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
7911
8243
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
7912
8244
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -7950,7 +8282,7 @@ export type SetCustomerForDraftOrderMutation = {
|
|
|
7950
8282
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
7951
8283
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
7952
8284
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
7953
|
-
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'>>;
|
|
7954
8286
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
7955
8287
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
7956
8288
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -7963,15 +8295,15 @@ export type SetShippingAddressMutationVariables = Exact<{
|
|
|
7963
8295
|
input: SetShippingAddressInput;
|
|
7964
8296
|
}>;
|
|
7965
8297
|
export type SetShippingAddressMutation = {
|
|
7966
|
-
setShippingAddress: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
7967
|
-
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'> & {
|
|
7968
8300
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7969
8301
|
})>;
|
|
7970
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
8302
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
7971
8303
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
7972
8304
|
})>;
|
|
7973
8305
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
7974
|
-
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
8306
|
+
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
7975
8307
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
7976
8308
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
7977
8309
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -8015,7 +8347,72 @@ export type SetShippingAddressMutation = {
|
|
|
8015
8347
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
8016
8348
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
8017
8349
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
8018
|
-
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode'>>;
|
|
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'> & {
|
|
8365
|
+
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8366
|
+
})>;
|
|
8367
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
8368
|
+
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8369
|
+
})>;
|
|
8370
|
+
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
8371
|
+
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
8372
|
+
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
8373
|
+
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
8374
|
+
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
8375
|
+
shippingLine?: Maybe<(Pick<ShippingLine, 'id' | 'createdAt' | 'updatedAt' | 'listPrice' | 'listPriceWithTax' | 'listPriceIncludesTax'> & {
|
|
8376
|
+
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
8377
|
+
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
8378
|
+
})>;
|
|
8379
|
+
taxCategory?: Maybe<Pick<TaxCategory, 'id'>>;
|
|
8380
|
+
featuredAsset?: Maybe<Pick<Asset, 'id'>>;
|
|
8381
|
+
snapshot?: Maybe<Pick<ProductVariantSnapshot, 'id' | 'createdAt' | 'updatedAt' | 'productName' | 'variantName' | 'sku' | 'imageUrl' | 'price' | 'priceWithTax'>>;
|
|
8382
|
+
})>;
|
|
8383
|
+
payments: Array<(Pick<Payment, 'id' | 'createdAt' | 'updatedAt' | 'state' | 'amount' | 'providerCode' | 'transactionId' | 'errorMessage' | 'metadata' | 'orderId'> & {
|
|
8384
|
+
refunds: Array<(Pick<Refund, 'id' | 'createdAt' | 'updatedAt' | 'total' | 'reason' | 'state' | 'transactionId' | 'method' | 'metadata' | 'paymentId'> & {
|
|
8385
|
+
lines: Array<Pick<RefundLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'orderLineId'>>;
|
|
8386
|
+
})>;
|
|
8387
|
+
})>;
|
|
8388
|
+
fulfillments: Array<(Pick<Fulfillment, 'id' | 'createdAt' | 'updatedAt' | 'state' | 'method' | 'trackingCode' | 'handlerCode'> & {
|
|
8389
|
+
lines: Array<Pick<FulfillmentLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'orderLineId'>>;
|
|
8390
|
+
})>;
|
|
8391
|
+
shippingLines: Array<(Pick<ShippingLine, 'id' | 'createdAt' | 'updatedAt' | 'listPrice' | 'listPriceWithTax' | 'listPriceIncludesTax'> & {
|
|
8392
|
+
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
8393
|
+
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
8394
|
+
})>;
|
|
8395
|
+
surcharges: Array<(Pick<Surcharge, 'id' | 'createdAt' | 'updatedAt' | 'description' | 'listPrice' | 'listPriceIncludesTax' | 'sku' | 'taxRate'> & {
|
|
8396
|
+
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
8397
|
+
})>;
|
|
8398
|
+
modifications: Array<(Pick<OrderModification, 'id' | 'createdAt' | 'updatedAt' | 'priceChange' | 'note' | 'isSettled'> & {
|
|
8399
|
+
changes: Array<Pick<OrderModificationChange, 'orderLineId' | 'productVariantId' | 'type' | 'quantityBefore' | 'quantityAfter' | 'unitPriceBefore' | 'unitPriceAfter'>>;
|
|
8400
|
+
surcharges: Array<(Pick<Surcharge, 'id' | 'createdAt' | 'updatedAt' | 'description' | 'listPrice' | 'listPriceIncludesTax' | 'sku' | 'taxRate'> & {
|
|
8401
|
+
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
8402
|
+
})>;
|
|
8403
|
+
payment?: Maybe<(Pick<Payment, 'id' | 'createdAt' | 'updatedAt' | 'state' | 'amount' | 'providerCode' | 'transactionId' | 'errorMessage' | 'metadata' | 'orderId'> & {
|
|
8404
|
+
refunds: Array<(Pick<Refund, 'id' | 'createdAt' | 'updatedAt' | 'total' | 'reason' | 'state' | 'transactionId' | 'method' | 'metadata' | 'paymentId'> & {
|
|
8405
|
+
lines: Array<Pick<RefundLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'orderLineId'>>;
|
|
8406
|
+
})>;
|
|
8407
|
+
})>;
|
|
8408
|
+
refund?: Maybe<(Pick<Refund, 'id' | 'createdAt' | 'updatedAt' | 'total' | 'reason' | 'state' | 'transactionId' | 'method' | 'metadata' | 'paymentId'> & {
|
|
8409
|
+
lines: Array<Pick<RefundLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'orderLineId'>>;
|
|
8410
|
+
})>;
|
|
8411
|
+
})>;
|
|
8412
|
+
promotions: Array<Pick<Promotion, 'id'>>;
|
|
8413
|
+
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
8414
|
+
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
8415
|
+
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode' | 'estimated'>>;
|
|
8019
8416
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
8020
8417
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
8021
8418
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -8028,15 +8425,15 @@ export type UnsetShippingAddressMutationVariables = Exact<{
|
|
|
8028
8425
|
input: UnsetShippingAddressInput;
|
|
8029
8426
|
}>;
|
|
8030
8427
|
export type UnsetShippingAddressMutation = {
|
|
8031
|
-
unsetShippingAddress: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
8032
|
-
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'> & {
|
|
8033
8430
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8034
8431
|
})>;
|
|
8035
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
8432
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
8036
8433
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8037
8434
|
})>;
|
|
8038
8435
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
8039
|
-
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'> & {
|
|
8040
8437
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
8041
8438
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
8042
8439
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -8080,7 +8477,7 @@ export type UnsetShippingAddressMutation = {
|
|
|
8080
8477
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
8081
8478
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
8082
8479
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
8083
|
-
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'>>;
|
|
8084
8481
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
8085
8482
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
8086
8483
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -8093,15 +8490,80 @@ export type SetBillingAddressMutationVariables = Exact<{
|
|
|
8093
8490
|
input: SetBillingAddressInput;
|
|
8094
8491
|
}>;
|
|
8095
8492
|
export type SetBillingAddressMutation = {
|
|
8096
|
-
setBillingAddress: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
8097
|
-
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'> & {
|
|
8495
|
+
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8496
|
+
})>;
|
|
8497
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
8498
|
+
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8499
|
+
})>;
|
|
8500
|
+
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
8501
|
+
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
8502
|
+
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
8503
|
+
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
8504
|
+
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
8505
|
+
shippingLine?: Maybe<(Pick<ShippingLine, 'id' | 'createdAt' | 'updatedAt' | 'listPrice' | 'listPriceWithTax' | 'listPriceIncludesTax'> & {
|
|
8506
|
+
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
8507
|
+
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
8508
|
+
})>;
|
|
8509
|
+
taxCategory?: Maybe<Pick<TaxCategory, 'id'>>;
|
|
8510
|
+
featuredAsset?: Maybe<Pick<Asset, 'id'>>;
|
|
8511
|
+
snapshot?: Maybe<Pick<ProductVariantSnapshot, 'id' | 'createdAt' | 'updatedAt' | 'productName' | 'variantName' | 'sku' | 'imageUrl' | 'price' | 'priceWithTax'>>;
|
|
8512
|
+
})>;
|
|
8513
|
+
payments: Array<(Pick<Payment, 'id' | 'createdAt' | 'updatedAt' | 'state' | 'amount' | 'providerCode' | 'transactionId' | 'errorMessage' | 'metadata' | 'orderId'> & {
|
|
8514
|
+
refunds: Array<(Pick<Refund, 'id' | 'createdAt' | 'updatedAt' | 'total' | 'reason' | 'state' | 'transactionId' | 'method' | 'metadata' | 'paymentId'> & {
|
|
8515
|
+
lines: Array<Pick<RefundLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'orderLineId'>>;
|
|
8516
|
+
})>;
|
|
8517
|
+
})>;
|
|
8518
|
+
fulfillments: Array<(Pick<Fulfillment, 'id' | 'createdAt' | 'updatedAt' | 'state' | 'method' | 'trackingCode' | 'handlerCode'> & {
|
|
8519
|
+
lines: Array<Pick<FulfillmentLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'orderLineId'>>;
|
|
8520
|
+
})>;
|
|
8521
|
+
shippingLines: Array<(Pick<ShippingLine, 'id' | 'createdAt' | 'updatedAt' | 'listPrice' | 'listPriceWithTax' | 'listPriceIncludesTax'> & {
|
|
8522
|
+
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
8523
|
+
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
8524
|
+
})>;
|
|
8525
|
+
surcharges: Array<(Pick<Surcharge, 'id' | 'createdAt' | 'updatedAt' | 'description' | 'listPrice' | 'listPriceIncludesTax' | 'sku' | 'taxRate'> & {
|
|
8526
|
+
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
8527
|
+
})>;
|
|
8528
|
+
modifications: Array<(Pick<OrderModification, 'id' | 'createdAt' | 'updatedAt' | 'priceChange' | 'note' | 'isSettled'> & {
|
|
8529
|
+
changes: Array<Pick<OrderModificationChange, 'orderLineId' | 'productVariantId' | 'type' | 'quantityBefore' | 'quantityAfter' | 'unitPriceBefore' | 'unitPriceAfter'>>;
|
|
8530
|
+
surcharges: Array<(Pick<Surcharge, 'id' | 'createdAt' | 'updatedAt' | 'description' | 'listPrice' | 'listPriceIncludesTax' | 'sku' | 'taxRate'> & {
|
|
8531
|
+
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
8532
|
+
})>;
|
|
8533
|
+
payment?: Maybe<(Pick<Payment, 'id' | 'createdAt' | 'updatedAt' | 'state' | 'amount' | 'providerCode' | 'transactionId' | 'errorMessage' | 'metadata' | 'orderId'> & {
|
|
8534
|
+
refunds: Array<(Pick<Refund, 'id' | 'createdAt' | 'updatedAt' | 'total' | 'reason' | 'state' | 'transactionId' | 'method' | 'metadata' | 'paymentId'> & {
|
|
8535
|
+
lines: Array<Pick<RefundLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'orderLineId'>>;
|
|
8536
|
+
})>;
|
|
8537
|
+
})>;
|
|
8538
|
+
refund?: Maybe<(Pick<Refund, 'id' | 'createdAt' | 'updatedAt' | 'total' | 'reason' | 'state' | 'transactionId' | 'method' | 'metadata' | 'paymentId'> & {
|
|
8539
|
+
lines: Array<Pick<RefundLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'orderLineId'>>;
|
|
8540
|
+
})>;
|
|
8541
|
+
})>;
|
|
8542
|
+
promotions: Array<Pick<Promotion, 'id'>>;
|
|
8543
|
+
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
8544
|
+
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
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'> & {
|
|
8098
8560
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8099
8561
|
})>;
|
|
8100
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
8562
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
8101
8563
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8102
8564
|
})>;
|
|
8103
8565
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
8104
|
-
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
8566
|
+
lines: Array<(Pick<OrderLine, 'id' | 'createdAt' | 'updatedAt' | 'quantity' | 'productVariantId' | 'pinnedStockLocationId' | 'unitPrice' | 'unitPriceWithTax' | 'linePrice' | 'linePriceWithTax' | 'listPrice' | 'listPriceIncludesTax' | 'orderPlacedQuantity'> & {
|
|
8105
8567
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
8106
8568
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
8107
8569
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -8145,7 +8607,7 @@ export type SetBillingAddressMutation = {
|
|
|
8145
8607
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
8146
8608
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
8147
8609
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
8148
|
-
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode'>>;
|
|
8610
|
+
recentShippingMethod?: Maybe<Pick<ShippingGatewayRate, 'id' | 'carrier' | 'service' | 'amount' | 'currency' | 'estimatedDays' | 'selected' | 'providerCode' | 'estimated'>>;
|
|
8149
8611
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
8150
8612
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
8151
8613
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -8158,15 +8620,15 @@ export type UnsetBillingAddressMutationVariables = Exact<{
|
|
|
8158
8620
|
input: UnsetBillingAddressInput;
|
|
8159
8621
|
}>;
|
|
8160
8622
|
export type UnsetBillingAddressMutation = {
|
|
8161
|
-
unsetBillingAddress: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
8162
|
-
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'> & {
|
|
8163
8625
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8164
8626
|
})>;
|
|
8165
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
8627
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
8166
8628
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8167
8629
|
})>;
|
|
8168
8630
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
8169
|
-
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'> & {
|
|
8170
8632
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
8171
8633
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
8172
8634
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -8210,7 +8672,7 @@ export type UnsetBillingAddressMutation = {
|
|
|
8210
8672
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
8211
8673
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
8212
8674
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
8213
|
-
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'>>;
|
|
8214
8676
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
8215
8677
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
8216
8678
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -8223,15 +8685,15 @@ export type ApplyCouponCodeMutationVariables = Exact<{
|
|
|
8223
8685
|
input: OrderCouponCodeInput;
|
|
8224
8686
|
}>;
|
|
8225
8687
|
export type ApplyCouponCodeMutation = {
|
|
8226
|
-
applyCouponCode: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
8227
|
-
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'> & {
|
|
8228
8690
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8229
8691
|
})>;
|
|
8230
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
8692
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
8231
8693
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8232
8694
|
})>;
|
|
8233
8695
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
8234
|
-
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'> & {
|
|
8235
8697
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
8236
8698
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
8237
8699
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -8275,7 +8737,7 @@ export type ApplyCouponCodeMutation = {
|
|
|
8275
8737
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
8276
8738
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
8277
8739
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
8278
|
-
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'>>;
|
|
8279
8741
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
8280
8742
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
8281
8743
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -8288,15 +8750,15 @@ export type RemoveCouponCodeMutationVariables = Exact<{
|
|
|
8288
8750
|
input: OrderCouponCodeInput;
|
|
8289
8751
|
}>;
|
|
8290
8752
|
export type RemoveCouponCodeMutation = {
|
|
8291
|
-
removeCouponCode: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
8292
|
-
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'> & {
|
|
8293
8755
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8294
8756
|
})>;
|
|
8295
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
8757
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
8296
8758
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8297
8759
|
})>;
|
|
8298
8760
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
8299
|
-
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'> & {
|
|
8300
8762
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
8301
8763
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
8302
8764
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -8340,7 +8802,7 @@ export type RemoveCouponCodeMutation = {
|
|
|
8340
8802
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
8341
8803
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
8342
8804
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
8343
|
-
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'>>;
|
|
8344
8806
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
8345
8807
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
8346
8808
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -8353,15 +8815,15 @@ export type OrderDetailQueryVariables = Exact<{
|
|
|
8353
8815
|
id: Scalars['ID']['input'];
|
|
8354
8816
|
}>;
|
|
8355
8817
|
export type OrderDetailQuery = {
|
|
8356
|
-
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'> & {
|
|
8357
|
-
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'> & {
|
|
8358
8820
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8359
8821
|
})>;
|
|
8360
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
8822
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
8361
8823
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8362
8824
|
})>;
|
|
8363
8825
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
8364
|
-
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'> & {
|
|
8365
8827
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
8366
8828
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
8367
8829
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -8405,7 +8867,7 @@ export type OrderDetailQuery = {
|
|
|
8405
8867
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
8406
8868
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
8407
8869
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
8408
|
-
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'>>;
|
|
8409
8871
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
8410
8872
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
8411
8873
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -8418,15 +8880,15 @@ export type OrderApplyCodeCouponMutationVariables = Exact<{
|
|
|
8418
8880
|
input: OrderCouponCodeInput;
|
|
8419
8881
|
}>;
|
|
8420
8882
|
export type OrderApplyCodeCouponMutation = {
|
|
8421
|
-
applyCouponCode: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
8422
|
-
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'> & {
|
|
8423
8885
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8424
8886
|
})>;
|
|
8425
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
8887
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
8426
8888
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8427
8889
|
})>;
|
|
8428
8890
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
8429
|
-
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'> & {
|
|
8430
8892
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
8431
8893
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
8432
8894
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -8470,7 +8932,7 @@ export type OrderApplyCodeCouponMutation = {
|
|
|
8470
8932
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
8471
8933
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
8472
8934
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
8473
|
-
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'>>;
|
|
8474
8936
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
8475
8937
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
8476
8938
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -8483,15 +8945,15 @@ export type OrderRemoveCouponMutationVariables = Exact<{
|
|
|
8483
8945
|
input: OrderCouponCodeInput;
|
|
8484
8946
|
}>;
|
|
8485
8947
|
export type OrderRemoveCouponMutation = {
|
|
8486
|
-
removeCouponCode: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
8487
|
-
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'> & {
|
|
8488
8950
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8489
8951
|
})>;
|
|
8490
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
8952
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
8491
8953
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8492
8954
|
})>;
|
|
8493
8955
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
8494
|
-
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'> & {
|
|
8495
8957
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
8496
8958
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
8497
8959
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -8535,7 +8997,7 @@ export type OrderRemoveCouponMutation = {
|
|
|
8535
8997
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
8536
8998
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
8537
8999
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
8538
|
-
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'>>;
|
|
8539
9001
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
8540
9002
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
8541
9003
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -8548,15 +9010,15 @@ export type OrderCreateDraftMutationVariables = Exact<{
|
|
|
8548
9010
|
[key: string]: never;
|
|
8549
9011
|
}>;
|
|
8550
9012
|
export type OrderCreateDraftMutation = {
|
|
8551
|
-
createDraftOrder: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
8552
|
-
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'> & {
|
|
8553
9015
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8554
9016
|
})>;
|
|
8555
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
9017
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
8556
9018
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8557
9019
|
})>;
|
|
8558
9020
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
8559
|
-
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'> & {
|
|
8560
9022
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
8561
9023
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
8562
9024
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -8600,7 +9062,7 @@ export type OrderCreateDraftMutation = {
|
|
|
8600
9062
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
8601
9063
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
8602
9064
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
8603
|
-
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'>>;
|
|
8604
9066
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
8605
9067
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
8606
9068
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -8619,15 +9081,15 @@ export type OrderCompleteDraftMutationVariables = Exact<{
|
|
|
8619
9081
|
input: CompleteDraftInput;
|
|
8620
9082
|
}>;
|
|
8621
9083
|
export type OrderCompleteDraftMutation = {
|
|
8622
|
-
completeDraft: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
8623
|
-
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'> & {
|
|
8624
9086
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8625
9087
|
})>;
|
|
8626
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
9088
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
8627
9089
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8628
9090
|
})>;
|
|
8629
9091
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
8630
|
-
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'> & {
|
|
8631
9093
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
8632
9094
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
8633
9095
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -8671,7 +9133,7 @@ export type OrderCompleteDraftMutation = {
|
|
|
8671
9133
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
8672
9134
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
8673
9135
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
8674
|
-
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'>>;
|
|
8675
9137
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
8676
9138
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
8677
9139
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -8684,15 +9146,15 @@ export type OrderSetCustomerDraftMutationVariables = Exact<{
|
|
|
8684
9146
|
input: SetCustomerForDraftOrderInput;
|
|
8685
9147
|
}>;
|
|
8686
9148
|
export type OrderSetCustomerDraftMutation = {
|
|
8687
|
-
setCustomerForDraftOrder: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
8688
|
-
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'> & {
|
|
8689
9151
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8690
9152
|
})>;
|
|
8691
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
9153
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
8692
9154
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8693
9155
|
})>;
|
|
8694
9156
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
8695
|
-
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'> & {
|
|
8696
9158
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
8697
9159
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
8698
9160
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -8736,7 +9198,7 @@ export type OrderSetCustomerDraftMutation = {
|
|
|
8736
9198
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
8737
9199
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
8738
9200
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
8739
|
-
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'>>;
|
|
8740
9202
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
8741
9203
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
8742
9204
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -8783,15 +9245,15 @@ export type OrderModifyModificationMutationVariables = Exact<{
|
|
|
8783
9245
|
}>;
|
|
8784
9246
|
export type OrderModifyModificationMutation = {
|
|
8785
9247
|
modifyOrder: {
|
|
8786
|
-
order: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
8787
|
-
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'> & {
|
|
8788
9250
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8789
9251
|
})>;
|
|
8790
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
9252
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
8791
9253
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8792
9254
|
})>;
|
|
8793
9255
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
8794
|
-
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'> & {
|
|
8795
9257
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
8796
9258
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
8797
9259
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -8835,7 +9297,7 @@ export type OrderModifyModificationMutation = {
|
|
|
8835
9297
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
8836
9298
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
8837
9299
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
8838
|
-
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'>>;
|
|
8839
9301
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
8840
9302
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
8841
9303
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -8863,15 +9325,15 @@ export type OrderCancelModificationMutationVariables = Exact<{
|
|
|
8863
9325
|
input: CancelOrderInput;
|
|
8864
9326
|
}>;
|
|
8865
9327
|
export type OrderCancelModificationMutation = {
|
|
8866
|
-
cancelOrder: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
8867
|
-
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'> & {
|
|
8868
9330
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8869
9331
|
})>;
|
|
8870
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
9332
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
8871
9333
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
8872
9334
|
})>;
|
|
8873
9335
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
8874
|
-
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'> & {
|
|
8875
9337
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
8876
9338
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
8877
9339
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -8915,7 +9377,7 @@ export type OrderCancelModificationMutation = {
|
|
|
8915
9377
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
8916
9378
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
8917
9379
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
8918
|
-
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'>>;
|
|
8919
9381
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
8920
9382
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
8921
9383
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -9069,19 +9531,19 @@ export type GetSessionVariablesQueryVariables = Exact<{
|
|
|
9069
9531
|
export type GetSessionVariablesQuery = {
|
|
9070
9532
|
getSessionVariables: Pick<PaymentFormVariables, 'providerCode' | 'publishableKey' | 'scriptUrl' | 'amount' | 'currency' | 'config'>;
|
|
9071
9533
|
};
|
|
9072
|
-
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'> & {
|
|
9073
9535
|
configItems: Array<(Pick<ManageablePluginConfigItem, 'id' | 'code' | 'type'> & {
|
|
9074
9536
|
translations: Array<Pick<ManageablePluginConfigItemTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9075
9537
|
})>;
|
|
9076
9538
|
});
|
|
9077
9539
|
export type ChannelPluginFieldsFragment = (Pick<ChannelPlugin, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'status' | 'configuration' | 'pluginId' | 'channelId'> & {
|
|
9078
|
-
plugin: Pick<ManageablePlugin, 'id' | 'name' | 'code' | 'imageUrl' | 'description' | 'tags'>;
|
|
9540
|
+
plugin: Pick<ManageablePlugin, 'id' | 'name' | 'code' | 'imageUrl' | 'description' | 'tags' | 'webhookPath' | 'webhookSigned'>;
|
|
9079
9541
|
});
|
|
9080
9542
|
export type ManageablePluginsQueryVariables = Exact<{
|
|
9081
9543
|
[key: string]: never;
|
|
9082
9544
|
}>;
|
|
9083
9545
|
export type ManageablePluginsQuery = {
|
|
9084
|
-
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'> & {
|
|
9085
9547
|
configItems: Array<(Pick<ManageablePluginConfigItem, 'id' | 'code' | 'type'> & {
|
|
9086
9548
|
translations: Array<Pick<ManageablePluginConfigItemTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9087
9549
|
})>;
|
|
@@ -9091,7 +9553,7 @@ export type ManageablePluginQueryVariables = Exact<{
|
|
|
9091
9553
|
code: Scalars['String']['input'];
|
|
9092
9554
|
}>;
|
|
9093
9555
|
export type ManageablePluginQuery = {
|
|
9094
|
-
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'> & {
|
|
9095
9557
|
configItems: Array<(Pick<ManageablePluginConfigItem, 'id' | 'code' | 'type'> & {
|
|
9096
9558
|
translations: Array<Pick<ManageablePluginConfigItemTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9097
9559
|
})>;
|
|
@@ -9102,7 +9564,7 @@ export type ChannelPluginsQueryVariables = Exact<{
|
|
|
9102
9564
|
}>;
|
|
9103
9565
|
export type ChannelPluginsQuery = {
|
|
9104
9566
|
channelPlugins: Array<(Pick<ChannelPlugin, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'status' | 'configuration' | 'pluginId' | 'channelId'> & {
|
|
9105
|
-
plugin: Pick<ManageablePlugin, 'id' | 'name' | 'code' | 'imageUrl' | 'description' | 'tags'>;
|
|
9567
|
+
plugin: Pick<ManageablePlugin, 'id' | 'name' | 'code' | 'imageUrl' | 'description' | 'tags' | 'webhookPath' | 'webhookSigned'>;
|
|
9106
9568
|
})>;
|
|
9107
9569
|
};
|
|
9108
9570
|
export type PluginConfigurationQueryVariables = Exact<{
|
|
@@ -9125,7 +9587,7 @@ export type ManageablePluginsByTagQueryVariables = Exact<{
|
|
|
9125
9587
|
tag: Scalars['String']['input'];
|
|
9126
9588
|
}>;
|
|
9127
9589
|
export type ManageablePluginsByTagQuery = {
|
|
9128
|
-
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'> & {
|
|
9129
9591
|
configItems: Array<(Pick<ManageablePluginConfigItem, 'id' | 'code' | 'type'> & {
|
|
9130
9592
|
translations: Array<Pick<ManageablePluginConfigItemTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9131
9593
|
})>;
|
|
@@ -9135,7 +9597,7 @@ export type CreateManageablePluginMutationVariables = Exact<{
|
|
|
9135
9597
|
input: CreateManageablePluginInput;
|
|
9136
9598
|
}>;
|
|
9137
9599
|
export type CreateManageablePluginMutation = {
|
|
9138
|
-
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'> & {
|
|
9139
9601
|
configItems: Array<(Pick<ManageablePluginConfigItem, 'id' | 'code' | 'type'> & {
|
|
9140
9602
|
translations: Array<Pick<ManageablePluginConfigItemTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9141
9603
|
})>;
|
|
@@ -9145,7 +9607,7 @@ export type UpdateManageablePluginMutationVariables = Exact<{
|
|
|
9145
9607
|
input: UpdateManageablePluginInput;
|
|
9146
9608
|
}>;
|
|
9147
9609
|
export type UpdateManageablePluginMutation = {
|
|
9148
|
-
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'> & {
|
|
9149
9611
|
configItems: Array<(Pick<ManageablePluginConfigItem, 'id' | 'code' | 'type'> & {
|
|
9150
9612
|
translations: Array<Pick<ManageablePluginConfigItemTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9151
9613
|
})>;
|
|
@@ -9160,7 +9622,7 @@ export type ActivatePluginMutationVariables = Exact<{
|
|
|
9160
9622
|
}>;
|
|
9161
9623
|
export type ActivatePluginMutation = {
|
|
9162
9624
|
activatePlugin: (Pick<ChannelPlugin, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'status' | 'configuration' | 'pluginId' | 'channelId'> & {
|
|
9163
|
-
plugin: Pick<ManageablePlugin, 'id' | 'name' | 'code' | 'imageUrl' | 'description' | 'tags'>;
|
|
9625
|
+
plugin: Pick<ManageablePlugin, 'id' | 'name' | 'code' | 'imageUrl' | 'description' | 'tags' | 'webhookPath' | 'webhookSigned'>;
|
|
9164
9626
|
});
|
|
9165
9627
|
};
|
|
9166
9628
|
export type EnablePluginMutationVariables = Exact<{
|
|
@@ -9168,7 +9630,7 @@ export type EnablePluginMutationVariables = Exact<{
|
|
|
9168
9630
|
}>;
|
|
9169
9631
|
export type EnablePluginMutation = {
|
|
9170
9632
|
enablePlugin: (Pick<ChannelPlugin, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'status' | 'configuration' | 'pluginId' | 'channelId'> & {
|
|
9171
|
-
plugin: Pick<ManageablePlugin, 'id' | 'name' | 'code' | 'imageUrl' | 'description' | 'tags'>;
|
|
9633
|
+
plugin: Pick<ManageablePlugin, 'id' | 'name' | 'code' | 'imageUrl' | 'description' | 'tags' | 'webhookPath' | 'webhookSigned'>;
|
|
9172
9634
|
});
|
|
9173
9635
|
};
|
|
9174
9636
|
export type DisablePluginMutationVariables = Exact<{
|
|
@@ -9176,7 +9638,7 @@ export type DisablePluginMutationVariables = Exact<{
|
|
|
9176
9638
|
}>;
|
|
9177
9639
|
export type DisablePluginMutation = {
|
|
9178
9640
|
disablePlugin: (Pick<ChannelPlugin, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'status' | 'configuration' | 'pluginId' | 'channelId'> & {
|
|
9179
|
-
plugin: Pick<ManageablePlugin, 'id' | 'name' | 'code' | 'imageUrl' | 'description' | 'tags'>;
|
|
9641
|
+
plugin: Pick<ManageablePlugin, 'id' | 'name' | 'code' | 'imageUrl' | 'description' | 'tags' | 'webhookPath' | 'webhookSigned'>;
|
|
9180
9642
|
});
|
|
9181
9643
|
};
|
|
9182
9644
|
export type DeleteChannelPluginMutationVariables = Exact<{
|
|
@@ -9188,7 +9650,7 @@ export type UpdatePluginConfigurationMutationVariables = Exact<{
|
|
|
9188
9650
|
}>;
|
|
9189
9651
|
export type UpdatePluginConfigurationMutation = {
|
|
9190
9652
|
updatePluginConfiguration: (Pick<ChannelPlugin, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'status' | 'configuration' | 'pluginId' | 'channelId'> & {
|
|
9191
|
-
plugin: Pick<ManageablePlugin, 'id' | 'name' | 'code' | 'imageUrl' | 'description' | 'tags'>;
|
|
9653
|
+
plugin: Pick<ManageablePlugin, 'id' | 'name' | 'code' | 'imageUrl' | 'description' | 'tags' | 'webhookPath' | 'webhookSigned'>;
|
|
9192
9654
|
});
|
|
9193
9655
|
};
|
|
9194
9656
|
export type SetConfigurationItemValueMutationVariables = Exact<{
|
|
@@ -9199,7 +9661,7 @@ export type PluginManageablesQueryVariables = Exact<{
|
|
|
9199
9661
|
[key: string]: never;
|
|
9200
9662
|
}>;
|
|
9201
9663
|
export type PluginManageablesQuery = {
|
|
9202
|
-
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'> & {
|
|
9203
9665
|
configItems: Array<(Pick<ManageablePluginConfigItem, 'id' | 'code' | 'type'> & {
|
|
9204
9666
|
translations: Array<Pick<ManageablePluginConfigItemTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9205
9667
|
})>;
|
|
@@ -9209,7 +9671,7 @@ export type PluginManageableQueryVariables = Exact<{
|
|
|
9209
9671
|
code: Scalars['String']['input'];
|
|
9210
9672
|
}>;
|
|
9211
9673
|
export type PluginManageableQuery = {
|
|
9212
|
-
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'> & {
|
|
9213
9675
|
configItems: Array<(Pick<ManageablePluginConfigItem, 'id' | 'code' | 'type'> & {
|
|
9214
9676
|
translations: Array<Pick<ManageablePluginConfigItemTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9215
9677
|
})>;
|
|
@@ -9219,7 +9681,7 @@ export type PluginByTagManageableQueryVariables = Exact<{
|
|
|
9219
9681
|
tag: Scalars['String']['input'];
|
|
9220
9682
|
}>;
|
|
9221
9683
|
export type PluginByTagManageableQuery = {
|
|
9222
|
-
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'> & {
|
|
9223
9685
|
configItems: Array<(Pick<ManageablePluginConfigItem, 'id' | 'code' | 'type'> & {
|
|
9224
9686
|
translations: Array<Pick<ManageablePluginConfigItemTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9225
9687
|
})>;
|
|
@@ -9229,7 +9691,7 @@ export type PluginCreateManageableMutationVariables = Exact<{
|
|
|
9229
9691
|
input: CreateManageablePluginInput;
|
|
9230
9692
|
}>;
|
|
9231
9693
|
export type PluginCreateManageableMutation = {
|
|
9232
|
-
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'> & {
|
|
9233
9695
|
configItems: Array<(Pick<ManageablePluginConfigItem, 'id' | 'code' | 'type'> & {
|
|
9234
9696
|
translations: Array<Pick<ManageablePluginConfigItemTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9235
9697
|
})>;
|
|
@@ -9239,7 +9701,7 @@ export type PluginUpdateManageableMutationVariables = Exact<{
|
|
|
9239
9701
|
input: UpdateManageablePluginInput;
|
|
9240
9702
|
}>;
|
|
9241
9703
|
export type PluginUpdateManageableMutation = {
|
|
9242
|
-
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'> & {
|
|
9243
9705
|
configItems: Array<(Pick<ManageablePluginConfigItem, 'id' | 'code' | 'type'> & {
|
|
9244
9706
|
translations: Array<Pick<ManageablePluginConfigItemTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9245
9707
|
})>;
|
|
@@ -9345,7 +9807,7 @@ export type AddOptionGroupToProductMutation = {
|
|
|
9345
9807
|
options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
|
|
9346
9808
|
translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9347
9809
|
})>;
|
|
9348
|
-
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId'> & {
|
|
9810
|
+
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId' | 'packagePresetId'> & {
|
|
9349
9811
|
prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
|
|
9350
9812
|
taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
|
|
9351
9813
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
@@ -9384,7 +9846,7 @@ export type RemoveOptionGroupFromProductMutation = {
|
|
|
9384
9846
|
options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
|
|
9385
9847
|
translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9386
9848
|
})>;
|
|
9387
|
-
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId'> & {
|
|
9849
|
+
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId' | 'packagePresetId'> & {
|
|
9388
9850
|
prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
|
|
9389
9851
|
taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
|
|
9390
9852
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
@@ -9404,7 +9866,7 @@ export type RemoveOptionGroupFromProductMutation = {
|
|
|
9404
9866
|
});
|
|
9405
9867
|
};
|
|
9406
9868
|
export type ProductVariantTranslationFieldFragment = Pick<ProductVariantTranslation, 'id' | 'languageCode' | 'name'>;
|
|
9407
|
-
export type ProductVariantFieldFragment = (Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId'> & {
|
|
9869
|
+
export type ProductVariantFieldFragment = (Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId' | 'packagePresetId'> & {
|
|
9408
9870
|
prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
|
|
9409
9871
|
taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
|
|
9410
9872
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
@@ -9426,7 +9888,7 @@ export type AdminProductVariantQueryVariables = Exact<{
|
|
|
9426
9888
|
id: Scalars['ID']['input'];
|
|
9427
9889
|
}>;
|
|
9428
9890
|
export type AdminProductVariantQuery = {
|
|
9429
|
-
productVariant?: Maybe<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId'> & {
|
|
9891
|
+
productVariant?: Maybe<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId' | 'packagePresetId'> & {
|
|
9430
9892
|
prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
|
|
9431
9893
|
taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
|
|
9432
9894
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
@@ -9448,7 +9910,7 @@ export type AdminProductVariantsQueryVariables = Exact<{
|
|
|
9448
9910
|
productId: Scalars['ID']['input'];
|
|
9449
9911
|
}>;
|
|
9450
9912
|
export type AdminProductVariantsQuery = {
|
|
9451
|
-
productVariants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId'> & {
|
|
9913
|
+
productVariants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId' | 'packagePresetId'> & {
|
|
9452
9914
|
prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
|
|
9453
9915
|
taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
|
|
9454
9916
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
@@ -9470,7 +9932,7 @@ export type CreateProductVariantsMutationVariables = Exact<{
|
|
|
9470
9932
|
input: Array<CreateProductVariantInput> | CreateProductVariantInput;
|
|
9471
9933
|
}>;
|
|
9472
9934
|
export type CreateProductVariantsMutation = {
|
|
9473
|
-
createProductVariants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId'> & {
|
|
9935
|
+
createProductVariants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId' | 'packagePresetId'> & {
|
|
9474
9936
|
prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
|
|
9475
9937
|
taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
|
|
9476
9938
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
@@ -9492,7 +9954,7 @@ export type UpdateProductVariantsMutationVariables = Exact<{
|
|
|
9492
9954
|
input: Array<UpdateProductVariantInput> | UpdateProductVariantInput;
|
|
9493
9955
|
}>;
|
|
9494
9956
|
export type UpdateProductVariantsMutation = {
|
|
9495
|
-
updateProductVariants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId'> & {
|
|
9957
|
+
updateProductVariants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId' | 'packagePresetId'> & {
|
|
9496
9958
|
prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
|
|
9497
9959
|
taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
|
|
9498
9960
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
@@ -9545,7 +10007,7 @@ export type ProductFieldFragment = (Pick<Product, 'id' | 'createdAt' | 'updatedA
|
|
|
9545
10007
|
options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
|
|
9546
10008
|
translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9547
10009
|
})>;
|
|
9548
|
-
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId'> & {
|
|
10010
|
+
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId' | 'packagePresetId'> & {
|
|
9549
10011
|
prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
|
|
9550
10012
|
taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
|
|
9551
10013
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
@@ -9583,7 +10045,7 @@ export type AdminProductQuery = {
|
|
|
9583
10045
|
options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
|
|
9584
10046
|
translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9585
10047
|
})>;
|
|
9586
|
-
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId'> & {
|
|
10048
|
+
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId' | 'packagePresetId'> & {
|
|
9587
10049
|
prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
|
|
9588
10050
|
taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
|
|
9589
10051
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
@@ -9623,7 +10085,7 @@ export type AdminProductsQuery = {
|
|
|
9623
10085
|
options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
|
|
9624
10086
|
translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9625
10087
|
})>;
|
|
9626
|
-
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId'> & {
|
|
10088
|
+
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId' | 'packagePresetId'> & {
|
|
9627
10089
|
prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
|
|
9628
10090
|
taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
|
|
9629
10091
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
@@ -9663,7 +10125,7 @@ export type CreateProductMutation = {
|
|
|
9663
10125
|
options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
|
|
9664
10126
|
translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9665
10127
|
})>;
|
|
9666
|
-
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId'> & {
|
|
10128
|
+
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId' | 'packagePresetId'> & {
|
|
9667
10129
|
prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
|
|
9668
10130
|
taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
|
|
9669
10131
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
@@ -9702,7 +10164,7 @@ export type UpdateProductMutation = {
|
|
|
9702
10164
|
options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
|
|
9703
10165
|
translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9704
10166
|
})>;
|
|
9705
|
-
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId'> & {
|
|
10167
|
+
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId' | 'packagePresetId'> & {
|
|
9706
10168
|
prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
|
|
9707
10169
|
taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
|
|
9708
10170
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
@@ -9747,7 +10209,7 @@ export type AssignProductsToChannelMutation = {
|
|
|
9747
10209
|
options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
|
|
9748
10210
|
translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9749
10211
|
})>;
|
|
9750
|
-
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId'> & {
|
|
10212
|
+
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId' | 'packagePresetId'> & {
|
|
9751
10213
|
prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
|
|
9752
10214
|
taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
|
|
9753
10215
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
@@ -9786,7 +10248,7 @@ export type RemoveProductsFromChannelMutation = {
|
|
|
9786
10248
|
options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
|
|
9787
10249
|
translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9788
10250
|
})>;
|
|
9789
|
-
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId'> & {
|
|
10251
|
+
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId' | 'packagePresetId'> & {
|
|
9790
10252
|
prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
|
|
9791
10253
|
taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
|
|
9792
10254
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
@@ -9867,7 +10329,7 @@ export type ProductAddOptionGroupMutation = {
|
|
|
9867
10329
|
options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
|
|
9868
10330
|
translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9869
10331
|
})>;
|
|
9870
|
-
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId'> & {
|
|
10332
|
+
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId' | 'packagePresetId'> & {
|
|
9871
10333
|
prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
|
|
9872
10334
|
taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
|
|
9873
10335
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
@@ -9906,7 +10368,7 @@ export type ProductRemoveOptionGroupMutation = {
|
|
|
9906
10368
|
options: Array<Pick<ProductOption, 'id' | 'code' | 'name' | 'groupId'>>;
|
|
9907
10369
|
translations: Array<Pick<ProductOptionGroupTranslation, 'id' | 'languageCode' | 'name'>>;
|
|
9908
10370
|
})>;
|
|
9909
|
-
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId'> & {
|
|
10371
|
+
variants: Array<(Pick<ProductVariant, 'id' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'currencyCode' | 'stockOnHand' | 'stockAllocated' | 'trackInventory' | 'enabled' | 'productId' | 'taxCategoryId' | 'packagePresetId'> & {
|
|
9910
10372
|
prices: Array<Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>>;
|
|
9911
10373
|
taxCategory?: Maybe<Pick<TaxCategory, 'id' | 'name' | 'exempt'>>;
|
|
9912
10374
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
@@ -10212,21 +10674,23 @@ export type DeleteSellingPlanMutationVariables = Exact<{
|
|
|
10212
10674
|
export type DeleteSellingPlanMutation = {
|
|
10213
10675
|
deleteSellingPlan: Pick<SellingPlan, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'billingInterval' | 'intervalCount' | 'trialDays' | 'pricingPolicy' | 'adjustmentValue' | 'anchorDay' | 'enabled'>;
|
|
10214
10676
|
};
|
|
10215
|
-
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'>>;
|
|
10216
10679
|
orderLines: Array<Pick<ShippingGatewayRateGroupLine, 'orderLineId' | 'productName' | 'variantName' | 'quantity' | 'weight' | 'weightUnit' | 'length' | 'width' | 'height' | 'dimensionUnit'>>;
|
|
10217
|
-
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'>>;
|
|
10218
10681
|
});
|
|
10219
|
-
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'>;
|
|
10220
10684
|
export type ShippingCarrierFieldFragment = Pick<ShippingGatewayCarrier, 'id' | 'name' | 'code' | 'providerCode' | 'enabled'>;
|
|
10221
|
-
export type ShippingGatewayRoutingRuleFieldFragment = (Pick<ShippingGatewayRoutingRule, 'id' | 'stockLocationId' | 'scopeType' | '
|
|
10685
|
+
export type ShippingGatewayRoutingRuleFieldFragment = (Pick<ShippingGatewayRoutingRule, 'id' | 'stockLocationId' | 'scopeType' | 'cities' | 'useFlatRates' | 'allProviders' | 'providerCodes' | 'priority' | 'enabled'> & {
|
|
10222
10686
|
countries: Array<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
10223
|
-
flatRates: Array<Pick<ShippingGatewayRoutingFlatRate, 'id' | 'code' | 'name' | 'amount' | 'currencyCode' | 'estimatedDays'>>;
|
|
10224
10687
|
});
|
|
10688
|
+
export type StockLocationFlatRateFieldFragment = Pick<StockLocationFlatRate, 'id' | 'stockLocationId' | 'code' | 'name' | 'amount' | 'currencyCode' | 'estimatedDays'>;
|
|
10225
10689
|
export type ShippingLabelsQueryVariables = Exact<{
|
|
10226
10690
|
orderId: Scalars['ID']['input'];
|
|
10227
10691
|
}>;
|
|
10228
10692
|
export type ShippingLabelsQuery = {
|
|
10229
|
-
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'>>;
|
|
10230
10694
|
};
|
|
10231
10695
|
export type CarriersQueryVariables = Exact<{
|
|
10232
10696
|
[key: string]: never;
|
|
@@ -10238,19 +10702,19 @@ export type CreateShippingLabelMutationVariables = Exact<{
|
|
|
10238
10702
|
input: CreateLabelServiceInput;
|
|
10239
10703
|
}>;
|
|
10240
10704
|
export type CreateShippingLabelMutation = {
|
|
10241
|
-
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'>;
|
|
10242
10706
|
};
|
|
10243
10707
|
export type VoidShippingLabelMutationVariables = Exact<{
|
|
10244
10708
|
labelId: Scalars['ID']['input'];
|
|
10245
10709
|
}>;
|
|
10246
10710
|
export type VoidShippingLabelMutation = {
|
|
10247
|
-
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'>;
|
|
10248
10712
|
};
|
|
10249
10713
|
export type CreateReturnLabelMutationVariables = Exact<{
|
|
10250
10714
|
input: CreateReturnLabelServiceInput;
|
|
10251
10715
|
}>;
|
|
10252
10716
|
export type CreateReturnLabelMutation = {
|
|
10253
|
-
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'>;
|
|
10254
10718
|
};
|
|
10255
10719
|
export type CreateCarrierMutationVariables = Exact<{
|
|
10256
10720
|
input: CreateCarrierInput;
|
|
@@ -10272,33 +10736,35 @@ export type ShippingRateGroupsQueryVariables = Exact<{
|
|
|
10272
10736
|
orderId: Scalars['ID']['input'];
|
|
10273
10737
|
}>;
|
|
10274
10738
|
export type ShippingRateGroupsQuery = {
|
|
10275
|
-
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'>>;
|
|
10276
10741
|
orderLines: Array<Pick<ShippingGatewayRateGroupLine, 'orderLineId' | 'productName' | 'variantName' | 'quantity' | 'weight' | 'weightUnit' | 'length' | 'width' | 'height' | 'dimensionUnit'>>;
|
|
10277
|
-
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'>>;
|
|
10278
10743
|
})>;
|
|
10279
10744
|
};
|
|
10280
10745
|
export type RefreshShippingRateGroupsMutationVariables = Exact<{
|
|
10281
10746
|
input: RefreshShippingRateGroupsInput;
|
|
10282
10747
|
}>;
|
|
10283
10748
|
export type RefreshShippingRateGroupsMutation = {
|
|
10284
|
-
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'>>;
|
|
10285
10751
|
orderLines: Array<Pick<ShippingGatewayRateGroupLine, 'orderLineId' | 'productName' | 'variantName' | 'quantity' | 'weight' | 'weightUnit' | 'length' | 'width' | 'height' | 'dimensionUnit'>>;
|
|
10286
|
-
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'>>;
|
|
10287
10753
|
})>;
|
|
10288
10754
|
};
|
|
10289
10755
|
export type SelectShippingRateMutationVariables = Exact<{
|
|
10290
10756
|
input: SelectShippingRateInput;
|
|
10291
10757
|
}>;
|
|
10292
10758
|
export type SelectShippingRateMutation = {
|
|
10293
|
-
selectShippingRate: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
10294
|
-
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'> & {
|
|
10295
10761
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
10296
10762
|
})>;
|
|
10297
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
10763
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
10298
10764
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
10299
10765
|
})>;
|
|
10300
10766
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
10301
|
-
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'> & {
|
|
10302
10768
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
10303
10769
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
10304
10770
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -10342,7 +10808,7 @@ export type SelectShippingRateMutation = {
|
|
|
10342
10808
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
10343
10809
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
10344
10810
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
10345
|
-
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'>>;
|
|
10346
10812
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
10347
10813
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
10348
10814
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -10355,15 +10821,15 @@ export type SetManualShippingRateMutationVariables = Exact<{
|
|
|
10355
10821
|
input: SetManualShippingRateInput;
|
|
10356
10822
|
}>;
|
|
10357
10823
|
export type SetManualShippingRateMutation = {
|
|
10358
|
-
setManualShippingRate: (Pick<Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'active' | 'type' | 'orderPlacedAt' | 'currencyCode' | 'total' | 'totalQuantity' | 'totalWithTax' | 'subTotal' | 'subTotalWithTax' | 'shipping' | 'shippingWithTax' | 'couponCodes' | 'draftComplete' | 'preModificationState' | 'version' | 'nextStates'> & {
|
|
10359
|
-
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'> & {
|
|
10360
10826
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
10361
10827
|
})>;
|
|
10362
|
-
shippingAddress?: Maybe<(Pick<OrderAddress, '
|
|
10828
|
+
shippingAddress?: Maybe<(Pick<OrderAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'phoneNumber'> & {
|
|
10363
10829
|
country?: Maybe<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
10364
10830
|
})>;
|
|
10365
10831
|
customer?: Maybe<Pick<Customer, 'id' | 'createdAt' | 'updatedAt' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress'>>;
|
|
10366
|
-
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'> & {
|
|
10367
10833
|
adjustments: Array<Pick<Adjustment, 'amount' | 'description' | 'orderLineId' | 'shippingLineId'>>;
|
|
10368
10834
|
taxLines: Array<Pick<OrderTaxLine, 'provider' | 'taxRate' | 'description' | 'taxAmount'>>;
|
|
10369
10835
|
productVariant: Pick<ProductVariant, 'id' | 'createdAt' | 'updatedAt' | 'sku' | 'name' | 'price' | 'priceWithTax' | 'stockOnHand' | 'enabled'>;
|
|
@@ -10407,7 +10873,7 @@ export type SetManualShippingRateMutation = {
|
|
|
10407
10873
|
promotions: Array<Pick<Promotion, 'id'>>;
|
|
10408
10874
|
discounts: Array<Pick<OrderDiscount, 'description' | 'amount' | 'amountWithTax'>>;
|
|
10409
10875
|
taxSummary: Array<Pick<OrderTaxSummary, 'provider' | 'description' | 'taxRate' | 'taxBase' | 'taxTotal'>>;
|
|
10410
|
-
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'>>;
|
|
10411
10877
|
recentToken?: Maybe<Pick<PaymentGatewayToken, 'id' | 'displayName' | 'type' | 'isDefault' | 'providerCode' | 'createdAt' | 'updatedAt'>>;
|
|
10412
10878
|
history: (Pick<HistoryEntryList, 'totalItems'> & {
|
|
10413
10879
|
items: Array<(Pick<HistoryEntry, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'isPublic' | 'data'> & {
|
|
@@ -10420,7 +10886,19 @@ export type UpdateShippingLabelMutationVariables = Exact<{
|
|
|
10420
10886
|
input: UpdateShippingLabelInput;
|
|
10421
10887
|
}>;
|
|
10422
10888
|
export type UpdateShippingLabelMutation = {
|
|
10423
|
-
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'>;
|
|
10424
10902
|
};
|
|
10425
10903
|
export type AvailableShippingProvidersQueryVariables = Exact<{
|
|
10426
10904
|
[key: string]: never;
|
|
@@ -10432,42 +10910,248 @@ export type ShippingGatewayRoutingRulesQueryVariables = Exact<{
|
|
|
10432
10910
|
stockLocationId: Scalars['ID']['input'];
|
|
10433
10911
|
}>;
|
|
10434
10912
|
export type ShippingGatewayRoutingRulesQuery = {
|
|
10435
|
-
shippingGatewayRoutingRules: Array<(Pick<ShippingGatewayRoutingRule, 'id' | 'stockLocationId' | 'scopeType' | '
|
|
10913
|
+
shippingGatewayRoutingRules: Array<(Pick<ShippingGatewayRoutingRule, 'id' | 'stockLocationId' | 'scopeType' | 'cities' | 'useFlatRates' | 'allProviders' | 'providerCodes' | 'priority' | 'enabled'> & {
|
|
10436
10914
|
countries: Array<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
10437
|
-
flatRates: Array<Pick<ShippingGatewayRoutingFlatRate, 'id' | 'code' | 'name' | 'amount' | 'currencyCode' | 'estimatedDays'>>;
|
|
10438
10915
|
})>;
|
|
10439
10916
|
};
|
|
10440
10917
|
export type CreateShippingGatewayRoutingRuleMutationVariables = Exact<{
|
|
10441
10918
|
input: CreateShippingGatewayRoutingRuleInput;
|
|
10442
10919
|
}>;
|
|
10443
10920
|
export type CreateShippingGatewayRoutingRuleMutation = {
|
|
10444
|
-
createShippingGatewayRoutingRule: (Pick<ShippingGatewayRoutingRule, 'id' | 'stockLocationId' | 'scopeType' | '
|
|
10921
|
+
createShippingGatewayRoutingRule: (Pick<ShippingGatewayRoutingRule, 'id' | 'stockLocationId' | 'scopeType' | 'cities' | 'useFlatRates' | 'allProviders' | 'providerCodes' | 'priority' | 'enabled'> & {
|
|
10445
10922
|
countries: Array<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
10446
|
-
flatRates: Array<Pick<ShippingGatewayRoutingFlatRate, 'id' | 'code' | 'name' | 'amount' | 'currencyCode' | 'estimatedDays'>>;
|
|
10447
10923
|
});
|
|
10448
10924
|
};
|
|
10449
10925
|
export type UpdateShippingGatewayRoutingRuleMutationVariables = Exact<{
|
|
10450
10926
|
input: UpdateShippingGatewayRoutingRuleInput;
|
|
10451
10927
|
}>;
|
|
10452
10928
|
export type UpdateShippingGatewayRoutingRuleMutation = {
|
|
10453
|
-
updateShippingGatewayRoutingRule: (Pick<ShippingGatewayRoutingRule, 'id' | 'stockLocationId' | 'scopeType' | '
|
|
10929
|
+
updateShippingGatewayRoutingRule: (Pick<ShippingGatewayRoutingRule, 'id' | 'stockLocationId' | 'scopeType' | 'cities' | 'useFlatRates' | 'allProviders' | 'providerCodes' | 'priority' | 'enabled'> & {
|
|
10454
10930
|
countries: Array<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
10455
|
-
flatRates: Array<Pick<ShippingGatewayRoutingFlatRate, 'id' | 'code' | 'name' | 'amount' | 'currencyCode' | 'estimatedDays'>>;
|
|
10456
10931
|
});
|
|
10457
10932
|
};
|
|
10458
10933
|
export type DeleteShippingGatewayRoutingRuleMutationVariables = Exact<{
|
|
10459
10934
|
id: Scalars['ID']['input'];
|
|
10460
10935
|
}>;
|
|
10461
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
|
+
};
|
|
10462
10949
|
export type ReorderShippingGatewayRoutingRulesMutationVariables = Exact<{
|
|
10463
10950
|
input: ReorderShippingGatewayRoutingRulesInput;
|
|
10464
10951
|
}>;
|
|
10465
10952
|
export type ReorderShippingGatewayRoutingRulesMutation = {
|
|
10466
|
-
reorderShippingGatewayRoutingRules: Array<(Pick<ShippingGatewayRoutingRule, 'id' | 'stockLocationId' | 'scopeType' | '
|
|
10953
|
+
reorderShippingGatewayRoutingRules: Array<(Pick<ShippingGatewayRoutingRule, 'id' | 'stockLocationId' | 'scopeType' | 'cities' | 'useFlatRates' | 'allProviders' | 'providerCodes' | 'priority' | 'enabled'> & {
|
|
10467
10954
|
countries: Array<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
10468
|
-
flatRates: Array<Pick<ShippingGatewayRoutingFlatRate, 'id' | 'code' | 'name' | 'amount' | 'currencyCode' | 'estimatedDays'>>;
|
|
10469
10955
|
})>;
|
|
10470
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
|
+
};
|
|
10471
11155
|
export type LowStockVariantFieldFragment = Pick<LowStockVariant, 'variantId' | 'name' | 'sku' | 'available' | 'threshold'>;
|
|
10472
11156
|
export type LowStockVariantsQueryVariables = Exact<{
|
|
10473
11157
|
input: LowStockVariantsInput;
|
|
@@ -10476,7 +11160,7 @@ export type LowStockVariantsQuery = {
|
|
|
10476
11160
|
lowStockVariants: Array<Pick<LowStockVariant, 'variantId' | 'name' | 'sku' | 'available' | 'threshold'>>;
|
|
10477
11161
|
};
|
|
10478
11162
|
export type StockLocationFieldFragment = (Pick<StockLocation, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'description' | 'locationType' | 'emailAddress'> & {
|
|
10479
|
-
address?: Maybe<Pick<StockLocationAddress, 'id' | 'createdAt' | 'updatedAt' | '
|
|
11163
|
+
address?: Maybe<Pick<StockLocationAddress, 'id' | 'createdAt' | 'updatedAt' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'countryCode' | 'phoneNumber'>>;
|
|
10480
11164
|
});
|
|
10481
11165
|
export type StockMovementFieldFragment = Pick<StockMovement, 'id' | 'createdAt' | 'updatedAt' | 'type' | 'quantity' | 'variantId' | 'stockLocationId' | 'orderLineId' | 'note'>;
|
|
10482
11166
|
export type StockLocationQueryVariables = Exact<{
|
|
@@ -10484,7 +11168,7 @@ export type StockLocationQueryVariables = Exact<{
|
|
|
10484
11168
|
}>;
|
|
10485
11169
|
export type StockLocationQuery = {
|
|
10486
11170
|
stockLocation?: Maybe<(Pick<StockLocation, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'description' | 'locationType' | 'emailAddress'> & {
|
|
10487
|
-
address?: Maybe<Pick<StockLocationAddress, 'id' | 'createdAt' | 'updatedAt' | '
|
|
11171
|
+
address?: Maybe<Pick<StockLocationAddress, 'id' | 'createdAt' | 'updatedAt' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'countryCode' | 'phoneNumber'>>;
|
|
10488
11172
|
})>;
|
|
10489
11173
|
};
|
|
10490
11174
|
export type StockLocationsQueryVariables = Exact<{
|
|
@@ -10493,7 +11177,7 @@ export type StockLocationsQueryVariables = Exact<{
|
|
|
10493
11177
|
export type StockLocationsQuery = {
|
|
10494
11178
|
stockLocations: (Pick<StockLocationList, 'totalItems'> & {
|
|
10495
11179
|
items: Array<(Pick<StockLocation, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'description' | 'locationType' | 'emailAddress'> & {
|
|
10496
|
-
address?: Maybe<Pick<StockLocationAddress, 'id' | 'createdAt' | 'updatedAt' | '
|
|
11180
|
+
address?: Maybe<Pick<StockLocationAddress, 'id' | 'createdAt' | 'updatedAt' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'countryCode' | 'phoneNumber'>>;
|
|
10497
11181
|
})>;
|
|
10498
11182
|
});
|
|
10499
11183
|
};
|
|
@@ -10502,7 +11186,7 @@ export type DefaultStockLocationQueryVariables = Exact<{
|
|
|
10502
11186
|
}>;
|
|
10503
11187
|
export type DefaultStockLocationQuery = {
|
|
10504
11188
|
defaultStockLocation: (Pick<StockLocation, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'description' | 'locationType' | 'emailAddress'> & {
|
|
10505
|
-
address?: Maybe<Pick<StockLocationAddress, 'id' | 'createdAt' | 'updatedAt' | '
|
|
11189
|
+
address?: Maybe<Pick<StockLocationAddress, 'id' | 'createdAt' | 'updatedAt' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'countryCode' | 'phoneNumber'>>;
|
|
10506
11190
|
});
|
|
10507
11191
|
};
|
|
10508
11192
|
export type StockMovementsQueryVariables = Exact<{
|
|
@@ -10522,7 +11206,7 @@ export type CreateStockLocationMutationVariables = Exact<{
|
|
|
10522
11206
|
}>;
|
|
10523
11207
|
export type CreateStockLocationMutation = {
|
|
10524
11208
|
createStockLocation: (Pick<StockLocation, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'description' | 'locationType' | 'emailAddress'> & {
|
|
10525
|
-
address?: Maybe<Pick<StockLocationAddress, 'id' | 'createdAt' | 'updatedAt' | '
|
|
11209
|
+
address?: Maybe<Pick<StockLocationAddress, 'id' | 'createdAt' | 'updatedAt' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'countryCode' | 'phoneNumber'>>;
|
|
10526
11210
|
});
|
|
10527
11211
|
};
|
|
10528
11212
|
export type UpdateStockLocationMutationVariables = Exact<{
|
|
@@ -10530,7 +11214,7 @@ export type UpdateStockLocationMutationVariables = Exact<{
|
|
|
10530
11214
|
}>;
|
|
10531
11215
|
export type UpdateStockLocationMutation = {
|
|
10532
11216
|
updateStockLocation: (Pick<StockLocation, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'description' | 'locationType' | 'emailAddress'> & {
|
|
10533
|
-
address?: Maybe<Pick<StockLocationAddress, 'id' | 'createdAt' | 'updatedAt' | '
|
|
11217
|
+
address?: Maybe<Pick<StockLocationAddress, 'id' | 'createdAt' | 'updatedAt' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'countryCode' | 'phoneNumber'>>;
|
|
10534
11218
|
});
|
|
10535
11219
|
};
|
|
10536
11220
|
export type DeleteStockLocationMutationVariables = Exact<{
|
|
@@ -10544,7 +11228,7 @@ export type AssignStockLocationToChannelMutationVariables = Exact<{
|
|
|
10544
11228
|
}>;
|
|
10545
11229
|
export type AssignStockLocationToChannelMutation = {
|
|
10546
11230
|
assignStockLocationToChannel: (Pick<StockLocation, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'description' | 'locationType' | 'emailAddress'> & {
|
|
10547
|
-
address?: Maybe<Pick<StockLocationAddress, 'id' | 'createdAt' | 'updatedAt' | '
|
|
11231
|
+
address?: Maybe<Pick<StockLocationAddress, 'id' | 'createdAt' | 'updatedAt' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'countryCode' | 'phoneNumber'>>;
|
|
10548
11232
|
});
|
|
10549
11233
|
};
|
|
10550
11234
|
export type RemoveStockLocationFromChannelMutationVariables = Exact<{
|
|
@@ -10552,7 +11236,7 @@ export type RemoveStockLocationFromChannelMutationVariables = Exact<{
|
|
|
10552
11236
|
}>;
|
|
10553
11237
|
export type RemoveStockLocationFromChannelMutation = {
|
|
10554
11238
|
removeStockLocationFromChannel: (Pick<StockLocation, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'description' | 'locationType' | 'emailAddress'> & {
|
|
10555
|
-
address?: Maybe<Pick<StockLocationAddress, 'id' | 'createdAt' | 'updatedAt' | '
|
|
11239
|
+
address?: Maybe<Pick<StockLocationAddress, 'id' | 'createdAt' | 'updatedAt' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'countryCode' | 'phoneNumber'>>;
|
|
10556
11240
|
});
|
|
10557
11241
|
};
|
|
10558
11242
|
export type AdjustStockMutationVariables = Exact<{
|
|
@@ -10857,7 +11541,7 @@ export type AddSubscriptionCreditMutationVariables = Exact<{
|
|
|
10857
11541
|
export type AddSubscriptionCreditMutation = {
|
|
10858
11542
|
addSubscriptionCredit: Pick<SubscriptionCreditBalance, 'id' | 'amountCents' | 'appliedCents' | 'reason' | 'sourceOrderId'>;
|
|
10859
11543
|
};
|
|
10860
|
-
export type TaxCategoryFieldFragment = (Pick<TaxCategory, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'isDefault' | 'exempt'> & {
|
|
11544
|
+
export type TaxCategoryFieldFragment = (Pick<TaxCategory, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'isDefault' | 'exempt' | 'isProtected'> & {
|
|
10861
11545
|
externalCodes: Array<Pick<TaxCategoryExternalCode, 'providerCode' | 'taxCode'>>;
|
|
10862
11546
|
});
|
|
10863
11547
|
export type TaxRateFieldFragment = (Pick<TaxRate, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'value' | 'enabled' | 'zoneId' | 'categoryId'> & {
|
|
@@ -10868,7 +11552,7 @@ export type TaxCategoryQueryVariables = Exact<{
|
|
|
10868
11552
|
id: Scalars['ID']['input'];
|
|
10869
11553
|
}>;
|
|
10870
11554
|
export type TaxCategoryQuery = {
|
|
10871
|
-
taxCategory?: Maybe<(Pick<TaxCategory, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'isDefault' | 'exempt'> & {
|
|
11555
|
+
taxCategory?: Maybe<(Pick<TaxCategory, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'isDefault' | 'exempt' | 'isProtected'> & {
|
|
10872
11556
|
externalCodes: Array<Pick<TaxCategoryExternalCode, 'providerCode' | 'taxCode'>>;
|
|
10873
11557
|
})>;
|
|
10874
11558
|
};
|
|
@@ -10877,7 +11561,7 @@ export type TaxCategoriesQueryVariables = Exact<{
|
|
|
10877
11561
|
}>;
|
|
10878
11562
|
export type TaxCategoriesQuery = {
|
|
10879
11563
|
taxCategories: (Pick<TaxCategoryList, 'totalItems'> & {
|
|
10880
|
-
items: Array<(Pick<TaxCategory, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'isDefault' | 'exempt'> & {
|
|
11564
|
+
items: Array<(Pick<TaxCategory, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'isDefault' | 'exempt' | 'isProtected'> & {
|
|
10881
11565
|
externalCodes: Array<Pick<TaxCategoryExternalCode, 'providerCode' | 'taxCode'>>;
|
|
10882
11566
|
})>;
|
|
10883
11567
|
});
|
|
@@ -10906,7 +11590,7 @@ export type CreateTaxCategoryMutationVariables = Exact<{
|
|
|
10906
11590
|
input: CreateTaxCategoryInput;
|
|
10907
11591
|
}>;
|
|
10908
11592
|
export type CreateTaxCategoryMutation = {
|
|
10909
|
-
createTaxCategory: (Pick<TaxCategory, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'isDefault' | 'exempt'> & {
|
|
11593
|
+
createTaxCategory: (Pick<TaxCategory, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'isDefault' | 'exempt' | 'isProtected'> & {
|
|
10910
11594
|
externalCodes: Array<Pick<TaxCategoryExternalCode, 'providerCode' | 'taxCode'>>;
|
|
10911
11595
|
});
|
|
10912
11596
|
};
|
|
@@ -10914,7 +11598,7 @@ export type UpdateTaxCategoryMutationVariables = Exact<{
|
|
|
10914
11598
|
input: UpdateTaxCategoryInput;
|
|
10915
11599
|
}>;
|
|
10916
11600
|
export type UpdateTaxCategoryMutation = {
|
|
10917
|
-
updateTaxCategory: (Pick<TaxCategory, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'isDefault' | 'exempt'> & {
|
|
11601
|
+
updateTaxCategory: (Pick<TaxCategory, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'isDefault' | 'exempt' | 'isProtected'> & {
|
|
10918
11602
|
externalCodes: Array<Pick<TaxCategoryExternalCode, 'providerCode' | 'taxCode'>>;
|
|
10919
11603
|
});
|
|
10920
11604
|
};
|
|
@@ -10922,7 +11606,7 @@ export type SetDefaultTaxCategoryMutationVariables = Exact<{
|
|
|
10922
11606
|
id: Scalars['ID']['input'];
|
|
10923
11607
|
}>;
|
|
10924
11608
|
export type SetDefaultTaxCategoryMutation = {
|
|
10925
|
-
setDefaultTaxCategory: (Pick<TaxCategory, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'isDefault' | 'exempt'> & {
|
|
11609
|
+
setDefaultTaxCategory: (Pick<TaxCategory, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'isDefault' | 'exempt' | 'isProtected'> & {
|
|
10926
11610
|
externalCodes: Array<Pick<TaxCategoryExternalCode, 'providerCode' | 'taxCode'>>;
|
|
10927
11611
|
});
|
|
10928
11612
|
};
|