@forgecart/sdk 1.2.6 → 1.202606151453.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +84 -1
- package/dist/admin-types.generated.d.ts +593 -33
- package/dist/admin.d.ts +4 -0
- package/dist/admin.generated.d.ts +82 -26
- package/dist/admin.generated.js +122 -2
- package/dist/admin.js +49 -43
- package/dist/client.generated.d.ts +40 -7
- package/dist/client.generated.js +162 -87
- package/dist/documents.generated.d.ts +38 -8
- package/dist/documents.generated.js +594 -36
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -3
- package/dist/nest.generated.d.ts +13 -0
- package/dist/nest.generated.js +92 -0
- package/dist/shop-types.generated.d.ts +200 -13
- package/dist/shop.d.ts +2 -0
- package/dist/shop.generated.d.ts +13 -4
- package/dist/shop.generated.js +19 -1
- package/dist/shop.js +17 -15
- package/package.json +21 -4
- package/src/admin-types.generated.d.ts +10013 -0
- package/src/admin-types.generated.ts +1210 -88
- package/src/admin.generated.d.ts +806 -0
- package/src/admin.generated.ts +151 -27
- package/src/admin.ts +5 -1
- package/src/client.generated.d.ts +249 -0
- package/src/client.generated.ts +188 -39
- package/src/documents.generated.d.ts +473 -0
- package/src/documents.generated.ts +615 -27
- package/src/error-utils.d.ts +25 -0
- package/src/hook-event-map.generated.d.ts +243 -0
- package/src/index.d.ts +22 -0
- package/src/index.ts +1 -1
- package/src/nest.generated.ts +45 -0
- package/src/sdk-hook-subscription.generated.d.ts +29 -0
- package/src/sdk-plugin.generated.d.ts +38 -0
- package/src/sdk-types.generated.d.ts +56 -0
- package/src/shop-types.generated.d.ts +4786 -0
- package/src/shop-types.generated.ts +271 -13
- package/src/shop.generated.d.ts +213 -0
- package/src/shop.generated.ts +22 -5
- package/src/shop.ts +3 -1
- package/src/upload.d.ts +14 -0
|
@@ -538,6 +538,7 @@ export type Channel = {
|
|
|
538
538
|
description: Scalars['String']['output'];
|
|
539
539
|
id: Scalars['ID']['output'];
|
|
540
540
|
outOfStockThreshold: Scalars['Int']['output'];
|
|
541
|
+
previewUrl: Scalars['String']['output'];
|
|
541
542
|
pricesIncludeTax: Scalars['Boolean']['output'];
|
|
542
543
|
secret?: Maybe<Scalars['String']['output']>;
|
|
543
544
|
seller?: Maybe<Seller>;
|
|
@@ -569,6 +570,7 @@ export type ChannelPlugin = {
|
|
|
569
570
|
updatedAt: Scalars['DateTime']['output'];
|
|
570
571
|
};
|
|
571
572
|
export type ChannelSettings = {
|
|
573
|
+
autoCurrencyExchange: Scalars['Boolean']['output'];
|
|
572
574
|
channelId: Scalars['ID']['output'];
|
|
573
575
|
chargeTaxOnShipping: Scalars['Boolean']['output'];
|
|
574
576
|
companyAddress?: Maybe<CompanyAddress>;
|
|
@@ -577,13 +579,76 @@ export type ChannelSettings = {
|
|
|
577
579
|
defaultFulfillmentHandlerCode?: Maybe<Scalars['String']['output']>;
|
|
578
580
|
defaultPaymentProviderCode?: Maybe<Scalars['String']['output']>;
|
|
579
581
|
defaultWeightUnit?: Maybe<WeightUnit>;
|
|
582
|
+
fxMarkupPercent: Scalars['Float']['output'];
|
|
583
|
+
fxRoundingRule: Scalars['String']['output'];
|
|
580
584
|
id: Scalars['ID']['output'];
|
|
581
|
-
manualShippingRates: Array<ManualShippingRate>;
|
|
582
585
|
requireCustomerForCheckout: Scalars['Boolean']['output'];
|
|
583
586
|
requiresShippingAddressValidation: Scalars['Boolean']['output'];
|
|
584
587
|
shopName?: Maybe<Scalars['String']['output']>;
|
|
585
588
|
taxOriginScope: Scalars['String']['output'];
|
|
586
589
|
};
|
|
590
|
+
export type ChatHistoryInput = {
|
|
591
|
+
sessionId: Scalars['String']['input'];
|
|
592
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
593
|
+
take?: InputMaybe<Scalars['Int']['input']>;
|
|
594
|
+
};
|
|
595
|
+
export type ChatHistoryMessage = {
|
|
596
|
+
content: Scalars['String']['output'];
|
|
597
|
+
eventId?: Maybe<Scalars['Int']['output']>;
|
|
598
|
+
id: Scalars['ID']['output'];
|
|
599
|
+
role: Scalars['String']['output'];
|
|
600
|
+
seq: Scalars['Int']['output'];
|
|
601
|
+
timestamp: Scalars['String']['output'];
|
|
602
|
+
toolResult?: Maybe<Scalars['JSON']['output']>;
|
|
603
|
+
toolUse?: Maybe<Scalars['JSON']['output']>;
|
|
604
|
+
};
|
|
605
|
+
export type ChatMessage = {
|
|
606
|
+
content: Scalars['String']['output'];
|
|
607
|
+
eventId: Scalars['Int']['output'];
|
|
608
|
+
isFinal: Scalars['Boolean']['output'];
|
|
609
|
+
timestamp: Scalars['Int']['output'];
|
|
610
|
+
toolResult?: Maybe<ToolResultDetail>;
|
|
611
|
+
toolUse?: Maybe<ToolUseDetail>;
|
|
612
|
+
type: ChatMessageType;
|
|
613
|
+
};
|
|
614
|
+
export type ChatMessageType = 'COMPLETE' | 'ERROR' | 'TEXT' | 'THINKING' | 'TOOL_RESULT' | 'TOOL_USE';
|
|
615
|
+
export type ChatQueueItem = {
|
|
616
|
+
content: Scalars['String']['output'];
|
|
617
|
+
id: Scalars['ID']['output'];
|
|
618
|
+
kind: Scalars['String']['output'];
|
|
619
|
+
};
|
|
620
|
+
export type ChatSession = {
|
|
621
|
+
channelToken: Scalars['String']['output'];
|
|
622
|
+
createdAt: Scalars['String']['output'];
|
|
623
|
+
endpoint?: Maybe<Scalars['String']['output']>;
|
|
624
|
+
lastActivity: Scalars['String']['output'];
|
|
625
|
+
messageCount: Scalars['Int']['output'];
|
|
626
|
+
sessionId: Scalars['String']['output'];
|
|
627
|
+
status: Scalars['String']['output'];
|
|
628
|
+
userId: Scalars['String']['output'];
|
|
629
|
+
workspaceId?: Maybe<Scalars['String']['output']>;
|
|
630
|
+
workspaceStatus: WorkspaceBindingStatus;
|
|
631
|
+
};
|
|
632
|
+
export type ChatSessionSummary = {
|
|
633
|
+
agentSessionId: Scalars['String']['output'];
|
|
634
|
+
createdAt: Scalars['String']['output'];
|
|
635
|
+
id: Scalars['ID']['output'];
|
|
636
|
+
lastActivityAt: Scalars['String']['output'];
|
|
637
|
+
messageCount: Scalars['Int']['output'];
|
|
638
|
+
origin?: Maybe<Scalars['String']['output']>;
|
|
639
|
+
status: Scalars['String']['output'];
|
|
640
|
+
title?: Maybe<Scalars['String']['output']>;
|
|
641
|
+
workspaceId?: Maybe<Scalars['ID']['output']>;
|
|
642
|
+
};
|
|
643
|
+
export type ChatSessionSummaryList = {
|
|
644
|
+
items: Array<ChatSessionSummary>;
|
|
645
|
+
totalItems: Scalars['Int']['output'];
|
|
646
|
+
};
|
|
647
|
+
export type ChatSessionsInput = {
|
|
648
|
+
includeArchived?: InputMaybe<Scalars['Boolean']['input']>;
|
|
649
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
650
|
+
take?: InputMaybe<Scalars['Int']['input']>;
|
|
651
|
+
};
|
|
587
652
|
export type Collection = {
|
|
588
653
|
createdAt: Scalars['DateTime']['output'];
|
|
589
654
|
description?: Maybe<Scalars['String']['output']>;
|
|
@@ -713,6 +778,7 @@ export type CreateCarrierInput = {
|
|
|
713
778
|
providerCode: Scalars['String']['input'];
|
|
714
779
|
};
|
|
715
780
|
export type CreateChannelInput = {
|
|
781
|
+
availableCurrencyCodes?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
716
782
|
availableLanguageCodes?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
717
783
|
code: Scalars['String']['input'];
|
|
718
784
|
defaultCurrencyCode: Scalars['String']['input'];
|
|
@@ -823,6 +889,20 @@ export type CreateManageablePluginInput = {
|
|
|
823
889
|
tags?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
824
890
|
toggable?: InputMaybe<Scalars['Boolean']['input']>;
|
|
825
891
|
};
|
|
892
|
+
export type CreateMarketInput = {
|
|
893
|
+
countryCodes: Array<Scalars['String']['input']>;
|
|
894
|
+
currencyCode: Scalars['String']['input'];
|
|
895
|
+
enabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
896
|
+
languageCode?: InputMaybe<Scalars['String']['input']>;
|
|
897
|
+
name: Scalars['String']['input'];
|
|
898
|
+
};
|
|
899
|
+
export type CreateMissionInput = {
|
|
900
|
+
model: Scalars['String']['input'];
|
|
901
|
+
prompt: Scalars['String']['input'];
|
|
902
|
+
repos?: InputMaybe<Array<MissionRepoInput>>;
|
|
903
|
+
title?: InputMaybe<Scalars['String']['input']>;
|
|
904
|
+
workspaceId: Scalars['ID']['input'];
|
|
905
|
+
};
|
|
826
906
|
export type CreateProductInput = {
|
|
827
907
|
assetIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
828
908
|
enabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
@@ -922,6 +1002,16 @@ export type CreateSessionInput = {
|
|
|
922
1002
|
providerCode?: InputMaybe<Scalars['String']['input']>;
|
|
923
1003
|
tokenId?: InputMaybe<Scalars['ID']['input']>;
|
|
924
1004
|
};
|
|
1005
|
+
export type CreateShippingGatewayRoutingRuleInput = {
|
|
1006
|
+
countryCodes?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1007
|
+
enabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1008
|
+
flatRates?: InputMaybe<Array<ShippingRoutingFlatRateInput>>;
|
|
1009
|
+
fulfillmentType: ShippingRoutingFulfillmentType;
|
|
1010
|
+
priority?: InputMaybe<Scalars['Int']['input']>;
|
|
1011
|
+
providerCode?: InputMaybe<Scalars['String']['input']>;
|
|
1012
|
+
scopeType: ShippingRoutingScopeType;
|
|
1013
|
+
stockLocationId: Scalars['ID']['input'];
|
|
1014
|
+
};
|
|
925
1015
|
export type CreateShopSubscriptionInput = {
|
|
926
1016
|
defaultTokenId?: InputMaybe<Scalars['ID']['input']>;
|
|
927
1017
|
items: Array<CreateSubscriptionItemInput>;
|
|
@@ -1146,6 +1236,11 @@ export type EmitCustomEventInput = {
|
|
|
1146
1236
|
hookPoint: Scalars['String']['input'];
|
|
1147
1237
|
payload?: InputMaybe<Scalars['JSON']['input']>;
|
|
1148
1238
|
};
|
|
1239
|
+
export type EnqueueChatMessageInput = {
|
|
1240
|
+
interrupt: Scalars['Boolean']['input'];
|
|
1241
|
+
message: Scalars['String']['input'];
|
|
1242
|
+
sessionId: Scalars['String']['input'];
|
|
1243
|
+
};
|
|
1149
1244
|
export type Entry = {
|
|
1150
1245
|
createdAt: Scalars['DateTime']['output'];
|
|
1151
1246
|
fields: Array<AcfFieldValueUnion>;
|
|
@@ -1468,19 +1563,20 @@ export type ManageablePluginConfigItemTranslation = {
|
|
|
1468
1563
|
languageCode: Scalars['String']['output'];
|
|
1469
1564
|
name: Scalars['String']['output'];
|
|
1470
1565
|
};
|
|
1471
|
-
export type
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1566
|
+
export type Market = {
|
|
1567
|
+
channelId: Scalars['ID']['output'];
|
|
1568
|
+
countries: Array<Country>;
|
|
1569
|
+
createdAt: Scalars['DateTime']['output'];
|
|
1570
|
+
currencyCode: Scalars['String']['output'];
|
|
1571
|
+
enabled: Scalars['Boolean']['output'];
|
|
1572
|
+
id: Scalars['ID']['output'];
|
|
1573
|
+
languageCode?: Maybe<Scalars['String']['output']>;
|
|
1476
1574
|
name: Scalars['String']['output'];
|
|
1575
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
1477
1576
|
};
|
|
1478
|
-
export type
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
currency: Scalars['String']['input'];
|
|
1482
|
-
estimatedDays?: InputMaybe<Scalars['Int']['input']>;
|
|
1483
|
-
name: Scalars['String']['input'];
|
|
1577
|
+
export type MarketList = {
|
|
1578
|
+
items: Array<Market>;
|
|
1579
|
+
totalItems: Scalars['Int']['output'];
|
|
1484
1580
|
};
|
|
1485
1581
|
export type MarketingAttribution = {
|
|
1486
1582
|
computedAt: Scalars['DateTime']['output'];
|
|
@@ -1572,6 +1668,46 @@ export type MergeFulfillmentRequestInput = {
|
|
|
1572
1668
|
requestIdA: Scalars['ID']['input'];
|
|
1573
1669
|
requestIdB: Scalars['ID']['input'];
|
|
1574
1670
|
};
|
|
1671
|
+
export type Mission = {
|
|
1672
|
+
administratorId: Scalars['ID']['output'];
|
|
1673
|
+
branch?: Maybe<Scalars['String']['output']>;
|
|
1674
|
+
channelId: Scalars['ID']['output'];
|
|
1675
|
+
costCents?: Maybe<Scalars['Int']['output']>;
|
|
1676
|
+
createdAt: Scalars['DateTime']['output'];
|
|
1677
|
+
id: Scalars['ID']['output'];
|
|
1678
|
+
model: Scalars['String']['output'];
|
|
1679
|
+
podRef?: Maybe<Scalars['String']['output']>;
|
|
1680
|
+
prUrl?: Maybe<Scalars['String']['output']>;
|
|
1681
|
+
repos: Array<MissionRepoRef>;
|
|
1682
|
+
status: MissionStatus;
|
|
1683
|
+
title?: Maybe<Scalars['String']['output']>;
|
|
1684
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
1685
|
+
workspaceId: Scalars['ID']['output'];
|
|
1686
|
+
};
|
|
1687
|
+
export type MissionList = {
|
|
1688
|
+
items: Array<Mission>;
|
|
1689
|
+
totalItems: Scalars['Int']['output'];
|
|
1690
|
+
};
|
|
1691
|
+
export type MissionListOptions = {
|
|
1692
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
1693
|
+
sort?: InputMaybe<MissionSortParameter>;
|
|
1694
|
+
take?: InputMaybe<Scalars['Int']['input']>;
|
|
1695
|
+
};
|
|
1696
|
+
export type MissionRepoInput = {
|
|
1697
|
+
branch: Scalars['String']['input'];
|
|
1698
|
+
name: Scalars['String']['input'];
|
|
1699
|
+
owner: Scalars['String']['input'];
|
|
1700
|
+
};
|
|
1701
|
+
export type MissionRepoRef = {
|
|
1702
|
+
branch: Scalars['String']['output'];
|
|
1703
|
+
name: Scalars['String']['output'];
|
|
1704
|
+
owner: Scalars['String']['output'];
|
|
1705
|
+
};
|
|
1706
|
+
export type MissionSortParameter = {
|
|
1707
|
+
createdAt?: InputMaybe<SortOrder>;
|
|
1708
|
+
updatedAt?: InputMaybe<SortOrder>;
|
|
1709
|
+
};
|
|
1710
|
+
export type MissionStatus = 'AWAITING_USER' | 'COMPLETED' | 'FAILED' | 'INTERRUPTED' | 'PENDING' | 'RUNNING';
|
|
1575
1711
|
export type ModifyOrderAddItemInput = {
|
|
1576
1712
|
productVariantId: Scalars['ID']['input'];
|
|
1577
1713
|
quantity: Scalars['Int']['input'];
|
|
@@ -1616,6 +1752,7 @@ export type Mutation = {
|
|
|
1616
1752
|
adjustStock: StockMovement;
|
|
1617
1753
|
applyCouponCode: Order;
|
|
1618
1754
|
approveDeviceCode: DeviceCodeInfo;
|
|
1755
|
+
archiveChatSession: Scalars['Boolean']['output'];
|
|
1619
1756
|
assignAssetsToChannel: Array<Asset>;
|
|
1620
1757
|
assignProductsToChannel: Array<Product>;
|
|
1621
1758
|
assignPromotionToChannel: Promotion;
|
|
@@ -1624,12 +1761,15 @@ export type Mutation = {
|
|
|
1624
1761
|
authenticateWithExternalStrategy: AdminExternalAuthResult;
|
|
1625
1762
|
beginTransaction: TransactionTokenResult;
|
|
1626
1763
|
cancelFulfillmentRequest: FulfillmentRequest;
|
|
1764
|
+
cancelMission: Mission;
|
|
1627
1765
|
cancelOrder: Order;
|
|
1628
1766
|
cancelPaymentSession: PaymentGatewaySession;
|
|
1629
1767
|
cancelSubscription: BillingSubscription;
|
|
1630
1768
|
changeFulfillmentRequestDeliveryMethod: FulfillmentRequest;
|
|
1631
1769
|
changeSubscriptionPlan: BillingSubscription;
|
|
1632
1770
|
changeSubscriptionQuantity: BillingSubscription;
|
|
1771
|
+
clearChatHistory: Scalars['Boolean']['output'];
|
|
1772
|
+
closeChatSession: Scalars['Boolean']['output'];
|
|
1633
1773
|
commitTransaction: DeletionResponse;
|
|
1634
1774
|
completeDraft: Order;
|
|
1635
1775
|
completeOnboardingShop: CompleteOnboardingShopResult;
|
|
@@ -1653,6 +1793,8 @@ export type Mutation = {
|
|
|
1653
1793
|
createFulfillment: Fulfillment;
|
|
1654
1794
|
createFulfillmentRequestsForOrder: Array<FulfillmentRequest>;
|
|
1655
1795
|
createManageablePlugin: ManageablePlugin;
|
|
1796
|
+
createMarket: Market;
|
|
1797
|
+
createMission: Mission;
|
|
1656
1798
|
createPaymentSession: PaymentGatewaySession;
|
|
1657
1799
|
createProduct: Product;
|
|
1658
1800
|
createProductOption: ProductOption;
|
|
@@ -1663,6 +1805,7 @@ export type Mutation = {
|
|
|
1663
1805
|
createRole: Role;
|
|
1664
1806
|
createScheduledJob: ScheduledJob;
|
|
1665
1807
|
createSeller: Seller;
|
|
1808
|
+
createShippingGatewayRoutingRule: ShippingGatewayRoutingRule;
|
|
1666
1809
|
createShippingLabel: ShippingGatewayLabel;
|
|
1667
1810
|
createStockLocation: StockLocation;
|
|
1668
1811
|
createSubscription: BillingSubscription;
|
|
@@ -1688,6 +1831,8 @@ export type Mutation = {
|
|
|
1688
1831
|
deleteFacetValues: DeletionResponse;
|
|
1689
1832
|
deleteFieldDefinition: FieldDefinitionGroup;
|
|
1690
1833
|
deleteManageablePlugin?: Maybe<Scalars['Boolean']['output']>;
|
|
1834
|
+
deleteMarket: DeletionResponse;
|
|
1835
|
+
deleteMission: Mission;
|
|
1691
1836
|
deleteOrderNote: DeletionResponse;
|
|
1692
1837
|
deleteProduct: DeletionResponse;
|
|
1693
1838
|
deleteProductOption: DeletionResponse;
|
|
@@ -1697,6 +1842,7 @@ export type Mutation = {
|
|
|
1697
1842
|
deleteRole: DeletionResponse;
|
|
1698
1843
|
deleteScheduledJob: ScheduledJob;
|
|
1699
1844
|
deleteSeller: Seller;
|
|
1845
|
+
deleteShippingGatewayRoutingRule: Scalars['Boolean']['output'];
|
|
1700
1846
|
deleteStockLocation: DeletionResponse;
|
|
1701
1847
|
deleteSubscriptionVariantConfig: SubscriptionVariantConfig;
|
|
1702
1848
|
deleteTaxCategory: DeletionResponse;
|
|
@@ -1709,6 +1855,7 @@ export type Mutation = {
|
|
|
1709
1855
|
emit: Scalars['Boolean']['output'];
|
|
1710
1856
|
enablePlugin: ChannelPlugin;
|
|
1711
1857
|
enableScheduledJob: ScheduledJob;
|
|
1858
|
+
enqueueChatMessage: Scalars['Int']['output'];
|
|
1712
1859
|
evaluateAudienceSegment: AudienceSegmentEvaluationResult;
|
|
1713
1860
|
generateDeviceCode: DeviceCodeResponse;
|
|
1714
1861
|
holdForQualityControl: StockMovement;
|
|
@@ -1747,6 +1894,7 @@ export type Mutation = {
|
|
|
1747
1894
|
removeProductsFromChannel: Array<Product>;
|
|
1748
1895
|
removePromotionFromChannel: Promotion;
|
|
1749
1896
|
removeStockLocationFromChannel: StockLocation;
|
|
1897
|
+
reorderShippingGatewayRoutingRules: Array<ShippingGatewayRoutingRule>;
|
|
1750
1898
|
reportDamagedStock: StockMovement;
|
|
1751
1899
|
resendAdministratorVerification: Scalars['Boolean']['output'];
|
|
1752
1900
|
reserveStock: StockMovement;
|
|
@@ -1756,6 +1904,8 @@ export type Mutation = {
|
|
|
1756
1904
|
saveToken: PaymentGatewayToken;
|
|
1757
1905
|
scaleDeployment: Deployment;
|
|
1758
1906
|
selectShippingRate: Order;
|
|
1907
|
+
sendChatMessage: Array<ChatMessage>;
|
|
1908
|
+
sendMissionMessage: Mission;
|
|
1759
1909
|
setBillingAddress: Order;
|
|
1760
1910
|
setConfigurationItemValue?: Maybe<Scalars['Boolean']['output']>;
|
|
1761
1911
|
setCustomerForDraftOrder: Order;
|
|
@@ -1763,10 +1913,12 @@ export type Mutation = {
|
|
|
1763
1913
|
setDefaultToken: PaymentGatewayToken;
|
|
1764
1914
|
setDeploymentEnv: Deployment;
|
|
1765
1915
|
setManualShippingRate: Order;
|
|
1916
|
+
setProductVariantPrice: ProductVariantPrice;
|
|
1766
1917
|
setSafetyStock: StockLevel;
|
|
1767
1918
|
setShippingAddress: Order;
|
|
1768
1919
|
settleRefund: Refund;
|
|
1769
1920
|
splitFulfillmentRequest: FulfillmentRequest;
|
|
1921
|
+
startChatSession: ChatSession;
|
|
1770
1922
|
transitionFulfillmentToState: Fulfillment;
|
|
1771
1923
|
transitionOrderToState: Order;
|
|
1772
1924
|
triggerScheduledJob: ScheduledJobRun;
|
|
@@ -1790,6 +1942,7 @@ export type Mutation = {
|
|
|
1790
1942
|
updateFacetValues: FacetValue;
|
|
1791
1943
|
updateFieldDefinition: FieldDefinitionGroup;
|
|
1792
1944
|
updateManageablePlugin: ManageablePlugin;
|
|
1945
|
+
updateMarket: Market;
|
|
1793
1946
|
updateOnboardingProfile: OnboardingState;
|
|
1794
1947
|
updateOrderNote: HistoryEntry;
|
|
1795
1948
|
updatePluginConfiguration: ChannelPlugin;
|
|
@@ -1801,6 +1954,7 @@ export type Mutation = {
|
|
|
1801
1954
|
updateRole: Role;
|
|
1802
1955
|
updateScheduledJob: ScheduledJob;
|
|
1803
1956
|
updateSeller: Seller;
|
|
1957
|
+
updateShippingGatewayRoutingRule: ShippingGatewayRoutingRule;
|
|
1804
1958
|
updateShippingLabel: ShippingGatewayLabel;
|
|
1805
1959
|
updateStockLocation: StockLocation;
|
|
1806
1960
|
updateSubscriptionVariantConfig: SubscriptionVariantConfig;
|
|
@@ -1854,6 +2008,9 @@ export type MutationapplyCouponCodeArgs = {
|
|
|
1854
2008
|
export type MutationapproveDeviceCodeArgs = {
|
|
1855
2009
|
userCode: Scalars['String']['input'];
|
|
1856
2010
|
};
|
|
2011
|
+
export type MutationarchiveChatSessionArgs = {
|
|
2012
|
+
sessionId: Scalars['ID']['input'];
|
|
2013
|
+
};
|
|
1857
2014
|
export type MutationassignAssetsToChannelArgs = {
|
|
1858
2015
|
input: AssignAssetsToChannelInput;
|
|
1859
2016
|
};
|
|
@@ -1875,6 +2032,9 @@ export type MutationauthenticateWithExternalStrategyArgs = {
|
|
|
1875
2032
|
export type MutationcancelFulfillmentRequestArgs = {
|
|
1876
2033
|
input: CancelFulfillmentRequestInput;
|
|
1877
2034
|
};
|
|
2035
|
+
export type MutationcancelMissionArgs = {
|
|
2036
|
+
id: Scalars['ID']['input'];
|
|
2037
|
+
};
|
|
1878
2038
|
export type MutationcancelOrderArgs = {
|
|
1879
2039
|
input: CancelOrderInput;
|
|
1880
2040
|
};
|
|
@@ -1893,6 +2053,12 @@ export type MutationchangeSubscriptionPlanArgs = {
|
|
|
1893
2053
|
export type MutationchangeSubscriptionQuantityArgs = {
|
|
1894
2054
|
input: ChangeSubscriptionQuantityInput;
|
|
1895
2055
|
};
|
|
2056
|
+
export type MutationclearChatHistoryArgs = {
|
|
2057
|
+
sessionId: Scalars['ID']['input'];
|
|
2058
|
+
};
|
|
2059
|
+
export type MutationcloseChatSessionArgs = {
|
|
2060
|
+
sessionId: Scalars['ID']['input'];
|
|
2061
|
+
};
|
|
1896
2062
|
export type MutationcommitTransactionArgs = {
|
|
1897
2063
|
token: Scalars['String']['input'];
|
|
1898
2064
|
};
|
|
@@ -1960,6 +2126,12 @@ export type MutationcreateFulfillmentRequestsForOrderArgs = {
|
|
|
1960
2126
|
export type MutationcreateManageablePluginArgs = {
|
|
1961
2127
|
input: CreateManageablePluginInput;
|
|
1962
2128
|
};
|
|
2129
|
+
export type MutationcreateMarketArgs = {
|
|
2130
|
+
input: CreateMarketInput;
|
|
2131
|
+
};
|
|
2132
|
+
export type MutationcreateMissionArgs = {
|
|
2133
|
+
input: CreateMissionInput;
|
|
2134
|
+
};
|
|
1963
2135
|
export type MutationcreatePaymentSessionArgs = {
|
|
1964
2136
|
input: CreateSessionInput;
|
|
1965
2137
|
};
|
|
@@ -1990,6 +2162,9 @@ export type MutationcreateScheduledJobArgs = {
|
|
|
1990
2162
|
export type MutationcreateSellerArgs = {
|
|
1991
2163
|
input: CreateSellerInput;
|
|
1992
2164
|
};
|
|
2165
|
+
export type MutationcreateShippingGatewayRoutingRuleArgs = {
|
|
2166
|
+
input: CreateShippingGatewayRoutingRuleInput;
|
|
2167
|
+
};
|
|
1993
2168
|
export type MutationcreateShippingLabelArgs = {
|
|
1994
2169
|
input: CreateLabelServiceInput;
|
|
1995
2170
|
};
|
|
@@ -2066,6 +2241,12 @@ export type MutationdeleteFieldDefinitionArgs = {
|
|
|
2066
2241
|
export type MutationdeleteManageablePluginArgs = {
|
|
2067
2242
|
id: Scalars['ID']['input'];
|
|
2068
2243
|
};
|
|
2244
|
+
export type MutationdeleteMarketArgs = {
|
|
2245
|
+
id: Scalars['ID']['input'];
|
|
2246
|
+
};
|
|
2247
|
+
export type MutationdeleteMissionArgs = {
|
|
2248
|
+
id: Scalars['ID']['input'];
|
|
2249
|
+
};
|
|
2069
2250
|
export type MutationdeleteOrderNoteArgs = {
|
|
2070
2251
|
id: Scalars['ID']['input'];
|
|
2071
2252
|
};
|
|
@@ -2093,6 +2274,9 @@ export type MutationdeleteScheduledJobArgs = {
|
|
|
2093
2274
|
export type MutationdeleteSellerArgs = {
|
|
2094
2275
|
id: Scalars['ID']['input'];
|
|
2095
2276
|
};
|
|
2277
|
+
export type MutationdeleteShippingGatewayRoutingRuleArgs = {
|
|
2278
|
+
id: Scalars['ID']['input'];
|
|
2279
|
+
};
|
|
2096
2280
|
export type MutationdeleteStockLocationArgs = {
|
|
2097
2281
|
id: Scalars['ID']['input'];
|
|
2098
2282
|
};
|
|
@@ -2129,6 +2313,9 @@ export type MutationenablePluginArgs = {
|
|
|
2129
2313
|
export type MutationenableScheduledJobArgs = {
|
|
2130
2314
|
id: Scalars['ID']['input'];
|
|
2131
2315
|
};
|
|
2316
|
+
export type MutationenqueueChatMessageArgs = {
|
|
2317
|
+
input: EnqueueChatMessageInput;
|
|
2318
|
+
};
|
|
2132
2319
|
export type MutationevaluateAudienceSegmentArgs = {
|
|
2133
2320
|
id: Scalars['ID']['input'];
|
|
2134
2321
|
};
|
|
@@ -2237,6 +2424,9 @@ export type MutationremovePromotionFromChannelArgs = {
|
|
|
2237
2424
|
export type MutationremoveStockLocationFromChannelArgs = {
|
|
2238
2425
|
input: RemoveStockLocationFromChannelInput;
|
|
2239
2426
|
};
|
|
2427
|
+
export type MutationreorderShippingGatewayRoutingRulesArgs = {
|
|
2428
|
+
input: ReorderShippingGatewayRoutingRulesInput;
|
|
2429
|
+
};
|
|
2240
2430
|
export type MutationreportDamagedStockArgs = {
|
|
2241
2431
|
input: ReportDamagedStockInput;
|
|
2242
2432
|
};
|
|
@@ -2264,6 +2454,12 @@ export type MutationscaleDeploymentArgs = {
|
|
|
2264
2454
|
export type MutationselectShippingRateArgs = {
|
|
2265
2455
|
input: SelectShippingRateInput;
|
|
2266
2456
|
};
|
|
2457
|
+
export type MutationsendChatMessageArgs = {
|
|
2458
|
+
input: SendChatMessageInput;
|
|
2459
|
+
};
|
|
2460
|
+
export type MutationsendMissionMessageArgs = {
|
|
2461
|
+
input: SendMissionMessageInput;
|
|
2462
|
+
};
|
|
2267
2463
|
export type MutationsetBillingAddressArgs = {
|
|
2268
2464
|
input: SetBillingAddressInput;
|
|
2269
2465
|
};
|
|
@@ -2285,6 +2481,9 @@ export type MutationsetDeploymentEnvArgs = {
|
|
|
2285
2481
|
export type MutationsetManualShippingRateArgs = {
|
|
2286
2482
|
input: SetManualShippingRateInput;
|
|
2287
2483
|
};
|
|
2484
|
+
export type MutationsetProductVariantPriceArgs = {
|
|
2485
|
+
input: SetPriceInput;
|
|
2486
|
+
};
|
|
2288
2487
|
export type MutationsetSafetyStockArgs = {
|
|
2289
2488
|
input: SetSafetyStockInput;
|
|
2290
2489
|
};
|
|
@@ -2297,6 +2496,9 @@ export type MutationsettleRefundArgs = {
|
|
|
2297
2496
|
export type MutationsplitFulfillmentRequestArgs = {
|
|
2298
2497
|
input: SplitFulfillmentRequestInput;
|
|
2299
2498
|
};
|
|
2499
|
+
export type MutationstartChatSessionArgs = {
|
|
2500
|
+
input?: InputMaybe<StartChatSessionInput>;
|
|
2501
|
+
};
|
|
2300
2502
|
export type MutationtransitionFulfillmentToStateArgs = {
|
|
2301
2503
|
input: TransitionFulfillmentToStateInput;
|
|
2302
2504
|
};
|
|
@@ -2368,6 +2570,9 @@ export type MutationupdateFieldDefinitionArgs = {
|
|
|
2368
2570
|
export type MutationupdateManageablePluginArgs = {
|
|
2369
2571
|
input: UpdateManageablePluginInput;
|
|
2370
2572
|
};
|
|
2573
|
+
export type MutationupdateMarketArgs = {
|
|
2574
|
+
input: UpdateMarketInput;
|
|
2575
|
+
};
|
|
2371
2576
|
export type MutationupdateOnboardingProfileArgs = {
|
|
2372
2577
|
input: UpdateOnboardingProfileInput;
|
|
2373
2578
|
};
|
|
@@ -2401,6 +2606,9 @@ export type MutationupdateScheduledJobArgs = {
|
|
|
2401
2606
|
export type MutationupdateSellerArgs = {
|
|
2402
2607
|
input: UpdateSellerInput;
|
|
2403
2608
|
};
|
|
2609
|
+
export type MutationupdateShippingGatewayRoutingRuleArgs = {
|
|
2610
|
+
input: UpdateShippingGatewayRoutingRuleInput;
|
|
2611
|
+
};
|
|
2404
2612
|
export type MutationupdateShippingLabelArgs = {
|
|
2405
2613
|
input: UpdateShippingLabelInput;
|
|
2406
2614
|
};
|
|
@@ -2747,6 +2955,14 @@ export type ProductVariantDimensions = {
|
|
|
2747
2955
|
unit: DimensionUnit;
|
|
2748
2956
|
width?: Maybe<Scalars['Float']['output']>;
|
|
2749
2957
|
};
|
|
2958
|
+
export type ProductVariantPrice = {
|
|
2959
|
+
createdAt: Scalars['DateTime']['output'];
|
|
2960
|
+
currencyCode: Scalars['String']['output'];
|
|
2961
|
+
id: Scalars['ID']['output'];
|
|
2962
|
+
price: Scalars['Int']['output'];
|
|
2963
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
2964
|
+
variantId: Scalars['ID']['output'];
|
|
2965
|
+
};
|
|
2750
2966
|
export type ProductVariantSnapshot = {
|
|
2751
2967
|
createdAt: Scalars['DateTime']['output'];
|
|
2752
2968
|
id: Scalars['ID']['output'];
|
|
@@ -2839,6 +3055,9 @@ export type Query = {
|
|
|
2839
3055
|
channelPlugins: Array<ChannelPlugin>;
|
|
2840
3056
|
channelSettings: ChannelSettings;
|
|
2841
3057
|
channels: ChannelList;
|
|
3058
|
+
chatHistory: Array<ChatHistoryMessage>;
|
|
3059
|
+
chatQueue: Array<ChatQueueItem>;
|
|
3060
|
+
chatSessions: ChatSessionSummaryList;
|
|
2842
3061
|
collection?: Maybe<Collection>;
|
|
2843
3062
|
collections: CollectionList;
|
|
2844
3063
|
configurationItemValue?: Maybe<Scalars['JSON']['output']>;
|
|
@@ -2881,6 +3100,9 @@ export type Query = {
|
|
|
2881
3100
|
manageablePluginsByTag: Array<ManageablePlugin>;
|
|
2882
3101
|
marketingIdentity?: Maybe<MarketingIdentity>;
|
|
2883
3102
|
marketingIdentityByCustomer?: Maybe<MarketingIdentity>;
|
|
3103
|
+
markets: MarketList;
|
|
3104
|
+
mission?: Maybe<Mission>;
|
|
3105
|
+
missions: MissionList;
|
|
2884
3106
|
order?: Maybe<Order>;
|
|
2885
3107
|
orderByCode?: Maybe<Order>;
|
|
2886
3108
|
orderHistory: HistoryEntryList;
|
|
@@ -2911,6 +3133,7 @@ export type Query = {
|
|
|
2911
3133
|
search: SearchResult;
|
|
2912
3134
|
seller?: Maybe<Seller>;
|
|
2913
3135
|
sellers: SellerList;
|
|
3136
|
+
shippingGatewayRoutingRules: Array<ShippingGatewayRoutingRule>;
|
|
2914
3137
|
shippingLabels: Array<ShippingGatewayLabel>;
|
|
2915
3138
|
shippingRateGroups: Array<ShippingGatewayRateGroup>;
|
|
2916
3139
|
stockLocation?: Maybe<StockLocation>;
|
|
@@ -2975,6 +3198,15 @@ export type QuerychannelArgs = {
|
|
|
2975
3198
|
export type QuerychannelsArgs = {
|
|
2976
3199
|
options?: InputMaybe<ListQueryOptions>;
|
|
2977
3200
|
};
|
|
3201
|
+
export type QuerychatHistoryArgs = {
|
|
3202
|
+
input: ChatHistoryInput;
|
|
3203
|
+
};
|
|
3204
|
+
export type QuerychatQueueArgs = {
|
|
3205
|
+
sessionId: Scalars['ID']['input'];
|
|
3206
|
+
};
|
|
3207
|
+
export type QuerychatSessionsArgs = {
|
|
3208
|
+
input?: InputMaybe<ChatSessionsInput>;
|
|
3209
|
+
};
|
|
2978
3210
|
export type QuerycollectionArgs = {
|
|
2979
3211
|
id: Scalars['ID']['input'];
|
|
2980
3212
|
};
|
|
@@ -3090,6 +3322,15 @@ export type QuerymarketingIdentityArgs = {
|
|
|
3090
3322
|
export type QuerymarketingIdentityByCustomerArgs = {
|
|
3091
3323
|
customerId: Scalars['ID']['input'];
|
|
3092
3324
|
};
|
|
3325
|
+
export type QuerymarketsArgs = {
|
|
3326
|
+
options?: InputMaybe<ListQueryOptions>;
|
|
3327
|
+
};
|
|
3328
|
+
export type QuerymissionArgs = {
|
|
3329
|
+
id: Scalars['ID']['input'];
|
|
3330
|
+
};
|
|
3331
|
+
export type QuerymissionsArgs = {
|
|
3332
|
+
options?: InputMaybe<MissionListOptions>;
|
|
3333
|
+
};
|
|
3093
3334
|
export type QueryorderArgs = {
|
|
3094
3335
|
id: Scalars['ID']['input'];
|
|
3095
3336
|
};
|
|
@@ -3171,6 +3412,9 @@ export type QuerysellerArgs = {
|
|
|
3171
3412
|
export type QuerysellersArgs = {
|
|
3172
3413
|
options?: InputMaybe<ListQueryOptions>;
|
|
3173
3414
|
};
|
|
3415
|
+
export type QueryshippingGatewayRoutingRulesArgs = {
|
|
3416
|
+
stockLocationId: Scalars['ID']['input'];
|
|
3417
|
+
};
|
|
3174
3418
|
export type QueryshippingLabelsArgs = {
|
|
3175
3419
|
orderId: Scalars['ID']['input'];
|
|
3176
3420
|
};
|
|
@@ -3342,6 +3586,10 @@ export type RemoveStockLocationFromChannelInput = {
|
|
|
3342
3586
|
channelId: Scalars['ID']['input'];
|
|
3343
3587
|
stockLocationId: Scalars['ID']['input'];
|
|
3344
3588
|
};
|
|
3589
|
+
export type ReorderShippingGatewayRoutingRulesInput = {
|
|
3590
|
+
ruleIds: Array<Scalars['ID']['input']>;
|
|
3591
|
+
stockLocationId: Scalars['ID']['input'];
|
|
3592
|
+
};
|
|
3345
3593
|
export type ReportDamagedStockInput = {
|
|
3346
3594
|
note?: InputMaybe<Scalars['String']['input']>;
|
|
3347
3595
|
quantity: Scalars['Int']['input'];
|
|
@@ -3381,6 +3629,10 @@ export type RespondToHookDispatchInput = {
|
|
|
3381
3629
|
id: Scalars['String']['input'];
|
|
3382
3630
|
subscriberId: Scalars['String']['input'];
|
|
3383
3631
|
};
|
|
3632
|
+
export type ResumeChatSessionInput = {
|
|
3633
|
+
afterEventId: Scalars['Int']['input'];
|
|
3634
|
+
sessionId: Scalars['String']['input'];
|
|
3635
|
+
};
|
|
3384
3636
|
export type Role = {
|
|
3385
3637
|
code: Scalars['String']['output'];
|
|
3386
3638
|
createdAt: Scalars['DateTime']['output'];
|
|
@@ -3541,6 +3793,10 @@ export type SendChatMessageInput = {
|
|
|
3541
3793
|
message: Scalars['String']['input'];
|
|
3542
3794
|
sessionId: Scalars['String']['input'];
|
|
3543
3795
|
};
|
|
3796
|
+
export type SendMissionMessageInput = {
|
|
3797
|
+
message: Scalars['String']['input'];
|
|
3798
|
+
missionId: Scalars['ID']['input'];
|
|
3799
|
+
};
|
|
3544
3800
|
export type SetBillingAddressInput = {
|
|
3545
3801
|
address: CreateAddressInput;
|
|
3546
3802
|
orderId: Scalars['ID']['input'];
|
|
@@ -3588,6 +3844,11 @@ export type SetMarketingIdentifiersResult = {
|
|
|
3588
3844
|
identityId: Scalars['ID']['output'];
|
|
3589
3845
|
rejected: Array<Scalars['String']['output']>;
|
|
3590
3846
|
};
|
|
3847
|
+
export type SetPriceInput = {
|
|
3848
|
+
currencyCode: Scalars['String']['input'];
|
|
3849
|
+
price: Scalars['Int']['input'];
|
|
3850
|
+
variantId: Scalars['ID']['input'];
|
|
3851
|
+
};
|
|
3591
3852
|
export type SetSafetyStockInput = {
|
|
3592
3853
|
safetyStock: Scalars['Int']['input'];
|
|
3593
3854
|
stockLocationId: Scalars['ID']['input'];
|
|
@@ -3651,6 +3912,29 @@ export type ShippingGatewayRateGroupLine = {
|
|
|
3651
3912
|
weightUnit?: Maybe<Scalars['String']['output']>;
|
|
3652
3913
|
width?: Maybe<Scalars['Float']['output']>;
|
|
3653
3914
|
};
|
|
3915
|
+
export type ShippingGatewayRoutingFlatRate = {
|
|
3916
|
+
amount: Scalars['Int']['output'];
|
|
3917
|
+
code: Scalars['String']['output'];
|
|
3918
|
+
createdAt: Scalars['DateTime']['output'];
|
|
3919
|
+
currencyCode: Scalars['String']['output'];
|
|
3920
|
+
estimatedDays?: Maybe<Scalars['Int']['output']>;
|
|
3921
|
+
id: Scalars['ID']['output'];
|
|
3922
|
+
name: Scalars['String']['output'];
|
|
3923
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
3924
|
+
};
|
|
3925
|
+
export type ShippingGatewayRoutingRule = {
|
|
3926
|
+
countries: Array<Country>;
|
|
3927
|
+
createdAt: Scalars['DateTime']['output'];
|
|
3928
|
+
enabled: Scalars['Boolean']['output'];
|
|
3929
|
+
flatRates: Array<ShippingGatewayRoutingFlatRate>;
|
|
3930
|
+
fulfillmentType: ShippingRoutingFulfillmentType;
|
|
3931
|
+
id: Scalars['ID']['output'];
|
|
3932
|
+
priority: Scalars['Int']['output'];
|
|
3933
|
+
providerCode?: Maybe<Scalars['String']['output']>;
|
|
3934
|
+
scopeType: ShippingRoutingScopeType;
|
|
3935
|
+
stockLocationId: Scalars['ID']['output'];
|
|
3936
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
3937
|
+
};
|
|
3654
3938
|
export type ShippingLine = {
|
|
3655
3939
|
adjustments: Array<Adjustment>;
|
|
3656
3940
|
createdAt: Scalars['DateTime']['output'];
|
|
@@ -3666,6 +3950,15 @@ export type ShippingProvider = {
|
|
|
3666
3950
|
name: Scalars['String']['output'];
|
|
3667
3951
|
pluginBacked: Scalars['Boolean']['output'];
|
|
3668
3952
|
};
|
|
3953
|
+
export type ShippingRoutingFlatRateInput = {
|
|
3954
|
+
amount: Scalars['Int']['input'];
|
|
3955
|
+
code: Scalars['String']['input'];
|
|
3956
|
+
currencyCode: Scalars['String']['input'];
|
|
3957
|
+
estimatedDays?: InputMaybe<Scalars['Int']['input']>;
|
|
3958
|
+
name: Scalars['String']['input'];
|
|
3959
|
+
};
|
|
3960
|
+
export type ShippingRoutingFulfillmentType = 'MANUAL' | 'PROVIDER';
|
|
3961
|
+
export type ShippingRoutingScopeType = 'COUNTRIES' | 'DOMESTIC' | 'INTERNATIONAL';
|
|
3669
3962
|
export type ShopAddItemToOrderInput = {
|
|
3670
3963
|
quantity: Scalars['Int']['input'];
|
|
3671
3964
|
variantId: Scalars['ID']['input'];
|
|
@@ -3683,6 +3976,10 @@ export type SplitFulfillmentRequestLineInput = {
|
|
|
3683
3976
|
orderLineId: Scalars['ID']['input'];
|
|
3684
3977
|
quantity: Scalars['Int']['input'];
|
|
3685
3978
|
};
|
|
3979
|
+
export type StartChatSessionInput = {
|
|
3980
|
+
origin?: InputMaybe<Scalars['String']['input']>;
|
|
3981
|
+
title?: InputMaybe<Scalars['String']['input']>;
|
|
3982
|
+
};
|
|
3686
3983
|
export type StockLevel = {
|
|
3687
3984
|
id: Scalars['ID']['output'];
|
|
3688
3985
|
safetyStock: Scalars['Int']['output'];
|
|
@@ -3754,8 +4051,14 @@ export type StringFilter = {
|
|
|
3754
4051
|
notEq?: InputMaybe<Scalars['String']['input']>;
|
|
3755
4052
|
};
|
|
3756
4053
|
export type Subscription = {
|
|
4054
|
+
chatMessageStream: ChatMessage;
|
|
3757
4055
|
deploymentLogs: DeploymentLogEntry;
|
|
3758
4056
|
hookDispatched: HookDispatchEvent;
|
|
4057
|
+
resumeChatSession: ChatMessage;
|
|
4058
|
+
workspaceReadiness: WorkspaceReadiness;
|
|
4059
|
+
};
|
|
4060
|
+
export type SubscriptionchatMessageStreamArgs = {
|
|
4061
|
+
input: SendChatMessageInput;
|
|
3759
4062
|
};
|
|
3760
4063
|
export type SubscriptiondeploymentLogsArgs = {
|
|
3761
4064
|
type: DeploymentType;
|
|
@@ -3763,6 +4066,9 @@ export type SubscriptiondeploymentLogsArgs = {
|
|
|
3763
4066
|
export type SubscriptionhookDispatchedArgs = {
|
|
3764
4067
|
hookPoints: Array<Scalars['String']['input']>;
|
|
3765
4068
|
};
|
|
4069
|
+
export type SubscriptionresumeChatSessionArgs = {
|
|
4070
|
+
input: ResumeChatSessionInput;
|
|
4071
|
+
};
|
|
3766
4072
|
export type SubscriptionCreditBalance = {
|
|
3767
4073
|
amountCents: Scalars['Int']['output'];
|
|
3768
4074
|
appliedCents: Scalars['Int']['output'];
|
|
@@ -3857,6 +4163,16 @@ export type TaxRateList = {
|
|
|
3857
4163
|
items: Array<TaxRate>;
|
|
3858
4164
|
totalItems: Scalars['Int']['output'];
|
|
3859
4165
|
};
|
|
4166
|
+
export type ToolResultDetail = {
|
|
4167
|
+
isError: Scalars['Boolean']['output'];
|
|
4168
|
+
result: Scalars['String']['output'];
|
|
4169
|
+
toolId: Scalars['String']['output'];
|
|
4170
|
+
};
|
|
4171
|
+
export type ToolUseDetail = {
|
|
4172
|
+
input: Scalars['String']['output'];
|
|
4173
|
+
toolId: Scalars['String']['output'];
|
|
4174
|
+
toolName: Scalars['String']['output'];
|
|
4175
|
+
};
|
|
3860
4176
|
export type TrackEventInput = {
|
|
3861
4177
|
eventType: Scalars['String']['input'];
|
|
3862
4178
|
occurredAt?: InputMaybe<Scalars['DateTime']['input']>;
|
|
@@ -3936,6 +4252,7 @@ export type UpdateCarrierInput = {
|
|
|
3936
4252
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
3937
4253
|
};
|
|
3938
4254
|
export type UpdateChannelInput = {
|
|
4255
|
+
availableCurrencyCodes?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
3939
4256
|
availableLanguageCodes?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
3940
4257
|
code?: InputMaybe<Scalars['String']['input']>;
|
|
3941
4258
|
defaultCurrencyCode?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -3954,6 +4271,7 @@ export type UpdateChannelPluginConfigInput = {
|
|
|
3954
4271
|
id: Scalars['ID']['input'];
|
|
3955
4272
|
};
|
|
3956
4273
|
export type UpdateChannelSettingsInput = {
|
|
4274
|
+
autoCurrencyExchange?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3957
4275
|
chargeTaxOnShipping?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3958
4276
|
companyAddress?: InputMaybe<CompanyAddressInput>;
|
|
3959
4277
|
defaultDeploymentProviderCode?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -3961,7 +4279,8 @@ export type UpdateChannelSettingsInput = {
|
|
|
3961
4279
|
defaultFulfillmentHandlerCode?: InputMaybe<Scalars['String']['input']>;
|
|
3962
4280
|
defaultPaymentProviderCode?: InputMaybe<Scalars['String']['input']>;
|
|
3963
4281
|
defaultWeightUnit?: InputMaybe<WeightUnit>;
|
|
3964
|
-
|
|
4282
|
+
fxMarkupPercent?: InputMaybe<Scalars['Float']['input']>;
|
|
4283
|
+
fxRoundingRule?: InputMaybe<Scalars['String']['input']>;
|
|
3965
4284
|
requireCustomerForCheckout?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3966
4285
|
requiresShippingAddressValidation?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3967
4286
|
shopName?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -4057,6 +4376,14 @@ export type UpdateManageablePluginInput = {
|
|
|
4057
4376
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
4058
4377
|
toggable?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4059
4378
|
};
|
|
4379
|
+
export type UpdateMarketInput = {
|
|
4380
|
+
countryCodes?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
4381
|
+
currencyCode?: InputMaybe<Scalars['String']['input']>;
|
|
4382
|
+
enabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4383
|
+
id: Scalars['ID']['input'];
|
|
4384
|
+
languageCode?: InputMaybe<Scalars['String']['input']>;
|
|
4385
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
4386
|
+
};
|
|
4060
4387
|
export type UpdateOnboardingProfileInput = {
|
|
4061
4388
|
/**
|
|
4062
4389
|
* When `true`, marks the profile step complete and advances
|
|
@@ -4163,6 +4490,16 @@ export type UpdateSellerInput = {
|
|
|
4163
4490
|
id: Scalars['ID']['input'];
|
|
4164
4491
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
4165
4492
|
};
|
|
4493
|
+
export type UpdateShippingGatewayRoutingRuleInput = {
|
|
4494
|
+
countryCodes?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
4495
|
+
enabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4496
|
+
flatRates?: InputMaybe<Array<ShippingRoutingFlatRateInput>>;
|
|
4497
|
+
fulfillmentType?: InputMaybe<ShippingRoutingFulfillmentType>;
|
|
4498
|
+
id: Scalars['ID']['input'];
|
|
4499
|
+
priority?: InputMaybe<Scalars['Int']['input']>;
|
|
4500
|
+
providerCode?: InputMaybe<Scalars['String']['input']>;
|
|
4501
|
+
scopeType?: InputMaybe<ShippingRoutingScopeType>;
|
|
4502
|
+
};
|
|
4166
4503
|
export type UpdateShippingLabelInput = {
|
|
4167
4504
|
carrier?: InputMaybe<Scalars['String']['input']>;
|
|
4168
4505
|
labelId: Scalars['ID']['input'];
|
|
@@ -4288,6 +4625,16 @@ export type WeightInput = {
|
|
|
4288
4625
|
value: Scalars['Float']['input'];
|
|
4289
4626
|
};
|
|
4290
4627
|
export type WeightUnit = 'g' | 'kg' | 'lb' | 'oz';
|
|
4628
|
+
export type WorkspaceBindingStatus = 'none' | 'ready' | 'warming';
|
|
4629
|
+
export type WorkspacePodState = 'degraded' | 'pending' | 'permanentlyFailed' | 'provisioning' | 'retrying' | 'running';
|
|
4630
|
+
export type WorkspaceReadiness = {
|
|
4631
|
+
chatBindingState: WorkspaceBindingStatus;
|
|
4632
|
+
endpoint?: Maybe<Scalars['String']['output']>;
|
|
4633
|
+
podState?: Maybe<WorkspacePodState>;
|
|
4634
|
+
serverState?: Maybe<WorkspaceServerState>;
|
|
4635
|
+
workspaceId?: Maybe<Scalars['ID']['output']>;
|
|
4636
|
+
};
|
|
4637
|
+
export type WorkspaceServerState = 'SERVING' | 'STARTING' | 'UNRESPONSIVE';
|
|
4291
4638
|
export type WriteOffDamagedStockInput = {
|
|
4292
4639
|
note?: InputMaybe<Scalars['String']['input']>;
|
|
4293
4640
|
quantity: Scalars['Int']['input'];
|
|
@@ -5115,32 +5462,32 @@ export type LogoutMutationVariables = Exact<{
|
|
|
5115
5462
|
[key: string]: never;
|
|
5116
5463
|
}>;
|
|
5117
5464
|
export type LogoutMutation = Pick<Mutation, 'logout'>;
|
|
5118
|
-
export type ChannelFieldFragment = Pick<Channel, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'token' | 'secret' | 'defaultLanguageCode' | 'defaultCurrencyCode' | 'availableLanguageCodes' | 'availableCurrencyCodes' | 'description' | 'pricesIncludeTax' | 'taxProviderCode' | 'trackInventory' | 'outOfStockThreshold' | 'sellerId' | 'defaultTaxZoneId'>;
|
|
5465
|
+
export type ChannelFieldFragment = Pick<Channel, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'token' | 'secret' | 'previewUrl' | 'defaultLanguageCode' | 'defaultCurrencyCode' | 'availableLanguageCodes' | 'availableCurrencyCodes' | 'description' | 'pricesIncludeTax' | 'taxProviderCode' | 'trackInventory' | 'outOfStockThreshold' | 'sellerId' | 'defaultTaxZoneId'>;
|
|
5119
5466
|
export type ChannelQueryVariables = Exact<{
|
|
5120
5467
|
id: Scalars['ID']['input'];
|
|
5121
5468
|
}>;
|
|
5122
5469
|
export type ChannelQuery = {
|
|
5123
|
-
channel?: Maybe<Pick<Channel, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'token' | 'secret' | 'defaultLanguageCode' | 'defaultCurrencyCode' | 'availableLanguageCodes' | 'availableCurrencyCodes' | 'description' | 'pricesIncludeTax' | 'taxProviderCode' | 'trackInventory' | 'outOfStockThreshold' | 'sellerId' | 'defaultTaxZoneId'>>;
|
|
5470
|
+
channel?: Maybe<Pick<Channel, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'token' | 'secret' | 'previewUrl' | 'defaultLanguageCode' | 'defaultCurrencyCode' | 'availableLanguageCodes' | 'availableCurrencyCodes' | 'description' | 'pricesIncludeTax' | 'taxProviderCode' | 'trackInventory' | 'outOfStockThreshold' | 'sellerId' | 'defaultTaxZoneId'>>;
|
|
5124
5471
|
};
|
|
5125
5472
|
export type ChannelsQueryVariables = Exact<{
|
|
5126
5473
|
options?: InputMaybe<ListQueryOptions>;
|
|
5127
5474
|
}>;
|
|
5128
5475
|
export type ChannelsQuery = {
|
|
5129
5476
|
channels: (Pick<ChannelList, 'totalItems'> & {
|
|
5130
|
-
items: Array<Pick<Channel, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'token' | 'secret' | 'defaultLanguageCode' | 'defaultCurrencyCode' | 'availableLanguageCodes' | 'availableCurrencyCodes' | 'description' | 'pricesIncludeTax' | 'taxProviderCode' | 'trackInventory' | 'outOfStockThreshold' | 'sellerId' | 'defaultTaxZoneId'>>;
|
|
5477
|
+
items: Array<Pick<Channel, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'token' | 'secret' | 'previewUrl' | 'defaultLanguageCode' | 'defaultCurrencyCode' | 'availableLanguageCodes' | 'availableCurrencyCodes' | 'description' | 'pricesIncludeTax' | 'taxProviderCode' | 'trackInventory' | 'outOfStockThreshold' | 'sellerId' | 'defaultTaxZoneId'>>;
|
|
5131
5478
|
});
|
|
5132
5479
|
};
|
|
5133
5480
|
export type CreateChannelMutationVariables = Exact<{
|
|
5134
5481
|
input: CreateChannelInput;
|
|
5135
5482
|
}>;
|
|
5136
5483
|
export type CreateChannelMutation = {
|
|
5137
|
-
createChannel: Pick<Channel, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'token' | 'secret' | 'defaultLanguageCode' | 'defaultCurrencyCode' | 'availableLanguageCodes' | 'availableCurrencyCodes' | 'description' | 'pricesIncludeTax' | 'taxProviderCode' | 'trackInventory' | 'outOfStockThreshold' | 'sellerId' | 'defaultTaxZoneId'>;
|
|
5484
|
+
createChannel: Pick<Channel, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'token' | 'secret' | 'previewUrl' | 'defaultLanguageCode' | 'defaultCurrencyCode' | 'availableLanguageCodes' | 'availableCurrencyCodes' | 'description' | 'pricesIncludeTax' | 'taxProviderCode' | 'trackInventory' | 'outOfStockThreshold' | 'sellerId' | 'defaultTaxZoneId'>;
|
|
5138
5485
|
};
|
|
5139
5486
|
export type UpdateChannelMutationVariables = Exact<{
|
|
5140
5487
|
input: UpdateChannelInput;
|
|
5141
5488
|
}>;
|
|
5142
5489
|
export type UpdateChannelMutation = {
|
|
5143
|
-
updateChannel: Pick<Channel, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'token' | 'secret' | 'defaultLanguageCode' | 'defaultCurrencyCode' | 'availableLanguageCodes' | 'availableCurrencyCodes' | 'description' | 'pricesIncludeTax' | 'taxProviderCode' | 'trackInventory' | 'outOfStockThreshold' | 'sellerId' | 'defaultTaxZoneId'>;
|
|
5490
|
+
updateChannel: Pick<Channel, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'token' | 'secret' | 'previewUrl' | 'defaultLanguageCode' | 'defaultCurrencyCode' | 'availableLanguageCodes' | 'availableCurrencyCodes' | 'description' | 'pricesIncludeTax' | 'taxProviderCode' | 'trackInventory' | 'outOfStockThreshold' | 'sellerId' | 'defaultTaxZoneId'>;
|
|
5144
5491
|
};
|
|
5145
5492
|
export type DeleteChannelMutationVariables = Exact<{
|
|
5146
5493
|
id: Scalars['ID']['input'];
|
|
@@ -5150,41 +5497,114 @@ export type UpdateChannelSettingsMutationVariables = Exact<{
|
|
|
5150
5497
|
input: UpdateChannelSettingsInput;
|
|
5151
5498
|
}>;
|
|
5152
5499
|
export type UpdateChannelSettingsMutation = {
|
|
5153
|
-
updateChannelSettings:
|
|
5154
|
-
manualShippingRates: Array<Pick<ManualShippingRate, 'code' | 'name' | 'amount' | 'currency' | 'estimatedDays'>>;
|
|
5155
|
-
});
|
|
5500
|
+
updateChannelSettings: Pick<ChannelSettings, 'id' | 'channelId' | 'shopName' | 'requiresShippingAddressValidation' | 'requireCustomerForCheckout' | 'defaultFulfillmentHandlerCode' | 'defaultPaymentProviderCode' | 'defaultWeightUnit' | 'defaultDimensionUnit' | 'autoCurrencyExchange' | 'fxRoundingRule' | 'fxMarkupPercent'>;
|
|
5156
5501
|
};
|
|
5157
5502
|
export type ProvisionChannelMutationVariables = Exact<{
|
|
5158
5503
|
input: ProvisionChannelInput;
|
|
5159
5504
|
}>;
|
|
5160
5505
|
export type ProvisionChannelMutation = {
|
|
5161
5506
|
provisionChannel: {
|
|
5162
|
-
channel: Pick<Channel, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'token' | 'secret' | 'defaultLanguageCode' | 'defaultCurrencyCode' | 'availableLanguageCodes' | 'availableCurrencyCodes' | 'description' | 'pricesIncludeTax' | 'taxProviderCode' | 'trackInventory' | 'outOfStockThreshold' | 'sellerId' | 'defaultTaxZoneId'>;
|
|
5163
|
-
channelSettings:
|
|
5164
|
-
manualShippingRates: Array<Pick<ManualShippingRate, 'code' | 'name' | 'amount' | 'currency' | 'estimatedDays'>>;
|
|
5165
|
-
});
|
|
5507
|
+
channel: Pick<Channel, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'token' | 'secret' | 'previewUrl' | 'defaultLanguageCode' | 'defaultCurrencyCode' | 'availableLanguageCodes' | 'availableCurrencyCodes' | 'description' | 'pricesIncludeTax' | 'taxProviderCode' | 'trackInventory' | 'outOfStockThreshold' | 'sellerId' | 'defaultTaxZoneId'>;
|
|
5508
|
+
channelSettings: Pick<ChannelSettings, 'id' | 'channelId' | 'shopName' | 'requiresShippingAddressValidation' | 'requireCustomerForCheckout' | 'defaultFulfillmentHandlerCode' | 'defaultPaymentProviderCode' | 'defaultWeightUnit' | 'defaultDimensionUnit' | 'autoCurrencyExchange' | 'fxRoundingRule' | 'fxMarkupPercent'>;
|
|
5166
5509
|
role: Pick<Role, 'id' | 'name' | 'code' | 'description' | 'permissions'>;
|
|
5167
5510
|
};
|
|
5168
5511
|
};
|
|
5169
|
-
export type ChannelSettingsFieldFragment =
|
|
5170
|
-
manualShippingRates: Array<Pick<ManualShippingRate, 'code' | 'name' | 'amount' | 'currency' | 'estimatedDays'>>;
|
|
5171
|
-
});
|
|
5512
|
+
export type ChannelSettingsFieldFragment = Pick<ChannelSettings, 'id' | 'channelId' | 'shopName' | 'requiresShippingAddressValidation' | 'requireCustomerForCheckout' | 'defaultFulfillmentHandlerCode' | 'defaultPaymentProviderCode' | 'defaultWeightUnit' | 'defaultDimensionUnit' | 'autoCurrencyExchange' | 'fxRoundingRule' | 'fxMarkupPercent'>;
|
|
5172
5513
|
export type ChannelSettingsQueryVariables = Exact<{
|
|
5173
5514
|
[key: string]: never;
|
|
5174
5515
|
}>;
|
|
5175
5516
|
export type ChannelSettingsQuery = {
|
|
5176
|
-
channelSettings:
|
|
5177
|
-
manualShippingRates: Array<Pick<ManualShippingRate, 'code' | 'name' | 'amount' | 'currency' | 'estimatedDays'>>;
|
|
5178
|
-
});
|
|
5517
|
+
channelSettings: Pick<ChannelSettings, 'id' | 'channelId' | 'shopName' | 'requiresShippingAddressValidation' | 'requireCustomerForCheckout' | 'defaultFulfillmentHandlerCode' | 'defaultPaymentProviderCode' | 'defaultWeightUnit' | 'defaultDimensionUnit' | 'autoCurrencyExchange' | 'fxRoundingRule' | 'fxMarkupPercent'>;
|
|
5179
5518
|
};
|
|
5180
5519
|
export type ChannelUpdateSettingsMutationVariables = Exact<{
|
|
5181
5520
|
input: UpdateChannelSettingsInput;
|
|
5182
5521
|
}>;
|
|
5183
5522
|
export type ChannelUpdateSettingsMutation = {
|
|
5184
|
-
updateChannelSettings:
|
|
5185
|
-
|
|
5523
|
+
updateChannelSettings: Pick<ChannelSettings, 'id' | 'channelId' | 'shopName' | 'requiresShippingAddressValidation' | 'requireCustomerForCheckout' | 'defaultFulfillmentHandlerCode' | 'defaultPaymentProviderCode' | 'defaultWeightUnit' | 'defaultDimensionUnit' | 'autoCurrencyExchange' | 'fxRoundingRule' | 'fxMarkupPercent'>;
|
|
5524
|
+
};
|
|
5525
|
+
export type ChatSessionFieldFragment = Pick<ChatSession, 'sessionId' | 'channelToken' | 'userId' | 'createdAt' | 'lastActivity' | 'messageCount' | 'status'>;
|
|
5526
|
+
export type ChatMessageFieldFragment = (Pick<ChatMessage, 'type' | 'content' | 'timestamp' | 'isFinal' | 'eventId'> & {
|
|
5527
|
+
toolUse?: Maybe<Pick<ToolUseDetail, 'toolId' | 'toolName' | 'input'>>;
|
|
5528
|
+
toolResult?: Maybe<Pick<ToolResultDetail, 'toolId' | 'result' | 'isError'>>;
|
|
5529
|
+
});
|
|
5530
|
+
export type ChatHistoryMessageFieldFragment = Pick<ChatHistoryMessage, 'id' | 'role' | 'content' | 'toolUse' | 'toolResult' | 'seq' | 'eventId' | 'timestamp'>;
|
|
5531
|
+
export type ChatSessionSummaryFieldFragment = Pick<ChatSessionSummary, 'id' | 'agentSessionId' | 'title' | 'status' | 'origin' | 'messageCount' | 'lastActivityAt' | 'createdAt' | 'workspaceId'>;
|
|
5532
|
+
export type WorkspaceReadinessFieldFragment = Pick<WorkspaceReadiness, 'workspaceId' | 'podState' | 'serverState' | 'chatBindingState' | 'endpoint'>;
|
|
5533
|
+
export type StartChatSessionMutationVariables = Exact<{
|
|
5534
|
+
input?: InputMaybe<StartChatSessionInput>;
|
|
5535
|
+
}>;
|
|
5536
|
+
export type StartChatSessionMutation = {
|
|
5537
|
+
startChatSession: Pick<ChatSession, 'sessionId' | 'channelToken' | 'userId' | 'createdAt' | 'lastActivity' | 'messageCount' | 'status'>;
|
|
5538
|
+
};
|
|
5539
|
+
export type SendChatMessageMutationVariables = Exact<{
|
|
5540
|
+
input: SendChatMessageInput;
|
|
5541
|
+
}>;
|
|
5542
|
+
export type SendChatMessageMutation = {
|
|
5543
|
+
sendChatMessage: Array<(Pick<ChatMessage, 'type' | 'content' | 'timestamp' | 'isFinal' | 'eventId'> & {
|
|
5544
|
+
toolUse?: Maybe<Pick<ToolUseDetail, 'toolId' | 'toolName' | 'input'>>;
|
|
5545
|
+
toolResult?: Maybe<Pick<ToolResultDetail, 'toolId' | 'result' | 'isError'>>;
|
|
5546
|
+
})>;
|
|
5547
|
+
};
|
|
5548
|
+
export type ChatMessageStreamSubscriptionVariables = Exact<{
|
|
5549
|
+
input: SendChatMessageInput;
|
|
5550
|
+
}>;
|
|
5551
|
+
export type ChatMessageStreamSubscription = {
|
|
5552
|
+
chatMessageStream: (Pick<ChatMessage, 'type' | 'content' | 'timestamp' | 'isFinal' | 'eventId'> & {
|
|
5553
|
+
toolUse?: Maybe<Pick<ToolUseDetail, 'toolId' | 'toolName' | 'input'>>;
|
|
5554
|
+
toolResult?: Maybe<Pick<ToolResultDetail, 'toolId' | 'result' | 'isError'>>;
|
|
5555
|
+
});
|
|
5556
|
+
};
|
|
5557
|
+
export type ResumeChatSessionSubscriptionVariables = Exact<{
|
|
5558
|
+
input: ResumeChatSessionInput;
|
|
5559
|
+
}>;
|
|
5560
|
+
export type ResumeChatSessionSubscription = {
|
|
5561
|
+
resumeChatSession: (Pick<ChatMessage, 'type' | 'content' | 'timestamp' | 'isFinal' | 'eventId'> & {
|
|
5562
|
+
toolUse?: Maybe<Pick<ToolUseDetail, 'toolId' | 'toolName' | 'input'>>;
|
|
5563
|
+
toolResult?: Maybe<Pick<ToolResultDetail, 'toolId' | 'result' | 'isError'>>;
|
|
5564
|
+
});
|
|
5565
|
+
};
|
|
5566
|
+
export type CloseChatSessionMutationVariables = Exact<{
|
|
5567
|
+
sessionId: Scalars['ID']['input'];
|
|
5568
|
+
}>;
|
|
5569
|
+
export type CloseChatSessionMutation = Pick<Mutation, 'closeChatSession'>;
|
|
5570
|
+
export type ClearChatHistoryMutationVariables = Exact<{
|
|
5571
|
+
sessionId: Scalars['ID']['input'];
|
|
5572
|
+
}>;
|
|
5573
|
+
export type ClearChatHistoryMutation = Pick<Mutation, 'clearChatHistory'>;
|
|
5574
|
+
export type EnqueueChatMessageMutationVariables = Exact<{
|
|
5575
|
+
input: EnqueueChatMessageInput;
|
|
5576
|
+
}>;
|
|
5577
|
+
export type EnqueueChatMessageMutation = Pick<Mutation, 'enqueueChatMessage'>;
|
|
5578
|
+
export type ChatQueueQueryVariables = Exact<{
|
|
5579
|
+
sessionId: Scalars['ID']['input'];
|
|
5580
|
+
}>;
|
|
5581
|
+
export type ChatQueueQuery = {
|
|
5582
|
+
chatQueue: Array<Pick<ChatQueueItem, 'id' | 'kind' | 'content'>>;
|
|
5583
|
+
};
|
|
5584
|
+
export type ChatHistoryQueryVariables = Exact<{
|
|
5585
|
+
input: ChatHistoryInput;
|
|
5586
|
+
}>;
|
|
5587
|
+
export type ChatHistoryQuery = {
|
|
5588
|
+
chatHistory: Array<Pick<ChatHistoryMessage, 'id' | 'role' | 'content' | 'toolUse' | 'toolResult' | 'seq' | 'eventId' | 'timestamp'>>;
|
|
5589
|
+
};
|
|
5590
|
+
export type ChatSessionsQueryVariables = Exact<{
|
|
5591
|
+
input?: InputMaybe<ChatSessionsInput>;
|
|
5592
|
+
}>;
|
|
5593
|
+
export type ChatSessionsQuery = {
|
|
5594
|
+
chatSessions: (Pick<ChatSessionSummaryList, 'totalItems'> & {
|
|
5595
|
+
items: Array<Pick<ChatSessionSummary, 'id' | 'agentSessionId' | 'title' | 'status' | 'origin' | 'messageCount' | 'lastActivityAt' | 'createdAt' | 'workspaceId'>>;
|
|
5186
5596
|
});
|
|
5187
5597
|
};
|
|
5598
|
+
export type ArchiveChatSessionMutationVariables = Exact<{
|
|
5599
|
+
sessionId: Scalars['ID']['input'];
|
|
5600
|
+
}>;
|
|
5601
|
+
export type ArchiveChatSessionMutation = Pick<Mutation, 'archiveChatSession'>;
|
|
5602
|
+
export type WorkspaceReadinessSubscriptionVariables = Exact<{
|
|
5603
|
+
[key: string]: never;
|
|
5604
|
+
}>;
|
|
5605
|
+
export type WorkspaceReadinessSubscription = {
|
|
5606
|
+
workspaceReadiness: Pick<WorkspaceReadiness, 'workspaceId' | 'podState' | 'serverState' | 'chatBindingState' | 'endpoint'>;
|
|
5607
|
+
};
|
|
5188
5608
|
export type CollectionTranslationFieldFragment = Pick<CollectionTranslation, 'id' | 'languageCode' | 'name' | 'slug' | 'description'>;
|
|
5189
5609
|
export type CollectionFieldFragment = (Pick<Collection, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'slug' | 'description' | 'isPrivate' | 'isRoot' | 'inheritFilters' | 'position' | 'filters' | 'parentId'> & {
|
|
5190
5610
|
featuredAsset?: Maybe<Pick<Asset, 'id' | 'name' | 'preview' | 'source'>>;
|
|
@@ -5888,6 +6308,41 @@ export type EmitMutationVariables = Exact<{
|
|
|
5888
6308
|
input: EmitCustomEventInput;
|
|
5889
6309
|
}>;
|
|
5890
6310
|
export type EmitMutation = Pick<Mutation, 'emit'>;
|
|
6311
|
+
export type MarketFieldFragment = (Pick<Market, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'enabled' | 'currencyCode' | 'languageCode' | 'channelId'> & {
|
|
6312
|
+
countries: Array<Pick<Country, 'id' | 'code' | 'name' | 'enabled'>>;
|
|
6313
|
+
});
|
|
6314
|
+
export type MarketsQueryVariables = Exact<{
|
|
6315
|
+
options?: InputMaybe<ListQueryOptions>;
|
|
6316
|
+
}>;
|
|
6317
|
+
export type MarketsQuery = {
|
|
6318
|
+
markets: (Pick<MarketList, 'totalItems'> & {
|
|
6319
|
+
items: Array<(Pick<Market, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'enabled' | 'currencyCode' | 'languageCode' | 'channelId'> & {
|
|
6320
|
+
countries: Array<Pick<Country, 'id' | 'code' | 'name' | 'enabled'>>;
|
|
6321
|
+
})>;
|
|
6322
|
+
});
|
|
6323
|
+
};
|
|
6324
|
+
export type CreateMarketMutationVariables = Exact<{
|
|
6325
|
+
input: CreateMarketInput;
|
|
6326
|
+
}>;
|
|
6327
|
+
export type CreateMarketMutation = {
|
|
6328
|
+
createMarket: (Pick<Market, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'enabled' | 'currencyCode' | 'languageCode' | 'channelId'> & {
|
|
6329
|
+
countries: Array<Pick<Country, 'id' | 'code' | 'name' | 'enabled'>>;
|
|
6330
|
+
});
|
|
6331
|
+
};
|
|
6332
|
+
export type UpdateMarketMutationVariables = Exact<{
|
|
6333
|
+
input: UpdateMarketInput;
|
|
6334
|
+
}>;
|
|
6335
|
+
export type UpdateMarketMutation = {
|
|
6336
|
+
updateMarket: (Pick<Market, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'enabled' | 'currencyCode' | 'languageCode' | 'channelId'> & {
|
|
6337
|
+
countries: Array<Pick<Country, 'id' | 'code' | 'name' | 'enabled'>>;
|
|
6338
|
+
});
|
|
6339
|
+
};
|
|
6340
|
+
export type DeleteMarketMutationVariables = Exact<{
|
|
6341
|
+
id: Scalars['ID']['input'];
|
|
6342
|
+
}>;
|
|
6343
|
+
export type DeleteMarketMutation = {
|
|
6344
|
+
deleteMarket: Pick<DeletionResponse, 'result' | 'message'>;
|
|
6345
|
+
};
|
|
5891
6346
|
export type AdminAttributionByOrderQueryVariables = Exact<{
|
|
5892
6347
|
input: AttributionByOrderInput;
|
|
5893
6348
|
}>;
|
|
@@ -5945,6 +6400,60 @@ export type AdminMarketingIdentityByCustomerQuery = {
|
|
|
5945
6400
|
identifiers: Array<Pick<MarketingIdentityIdentifier, 'id' | 'key' | 'value' | 'capturedAt' | 'position'>>;
|
|
5946
6401
|
})>;
|
|
5947
6402
|
};
|
|
6403
|
+
export type MissionRepoRefFieldFragment = Pick<MissionRepoRef, 'owner' | 'name' | 'branch'>;
|
|
6404
|
+
export type MissionFieldFragment = (Pick<Mission, 'id' | 'status' | 'title' | 'model' | 'branch' | 'prUrl' | 'podRef' | 'costCents' | 'channelId' | 'administratorId' | 'workspaceId' | 'createdAt' | 'updatedAt'> & {
|
|
6405
|
+
repos: Array<Pick<MissionRepoRef, 'owner' | 'name' | 'branch'>>;
|
|
6406
|
+
});
|
|
6407
|
+
export type AdminMissionsQueryVariables = Exact<{
|
|
6408
|
+
options?: InputMaybe<MissionListOptions>;
|
|
6409
|
+
}>;
|
|
6410
|
+
export type AdminMissionsQuery = {
|
|
6411
|
+
missions: (Pick<MissionList, 'totalItems'> & {
|
|
6412
|
+
items: Array<(Pick<Mission, 'id' | 'status' | 'title' | 'model' | 'branch' | 'prUrl' | 'podRef' | 'costCents' | 'channelId' | 'administratorId' | 'workspaceId' | 'createdAt' | 'updatedAt'> & {
|
|
6413
|
+
repos: Array<Pick<MissionRepoRef, 'owner' | 'name' | 'branch'>>;
|
|
6414
|
+
})>;
|
|
6415
|
+
});
|
|
6416
|
+
};
|
|
6417
|
+
export type AdminMissionQueryVariables = Exact<{
|
|
6418
|
+
id: Scalars['ID']['input'];
|
|
6419
|
+
}>;
|
|
6420
|
+
export type AdminMissionQuery = {
|
|
6421
|
+
mission?: Maybe<(Pick<Mission, 'id' | 'status' | 'title' | 'model' | 'branch' | 'prUrl' | 'podRef' | 'costCents' | 'channelId' | 'administratorId' | 'workspaceId' | 'createdAt' | 'updatedAt'> & {
|
|
6422
|
+
repos: Array<Pick<MissionRepoRef, 'owner' | 'name' | 'branch'>>;
|
|
6423
|
+
})>;
|
|
6424
|
+
};
|
|
6425
|
+
export type AdminCreateMissionMutationVariables = Exact<{
|
|
6426
|
+
input: CreateMissionInput;
|
|
6427
|
+
}>;
|
|
6428
|
+
export type AdminCreateMissionMutation = {
|
|
6429
|
+
createMission: (Pick<Mission, 'id' | 'status' | 'title' | 'model' | 'branch' | 'prUrl' | 'podRef' | 'costCents' | 'channelId' | 'administratorId' | 'workspaceId' | 'createdAt' | 'updatedAt'> & {
|
|
6430
|
+
repos: Array<Pick<MissionRepoRef, 'owner' | 'name' | 'branch'>>;
|
|
6431
|
+
});
|
|
6432
|
+
};
|
|
6433
|
+
export type AdminCancelMissionMutationVariables = Exact<{
|
|
6434
|
+
id: Scalars['ID']['input'];
|
|
6435
|
+
}>;
|
|
6436
|
+
export type AdminCancelMissionMutation = {
|
|
6437
|
+
cancelMission: (Pick<Mission, 'id' | 'status' | 'title' | 'model' | 'branch' | 'prUrl' | 'podRef' | 'costCents' | 'channelId' | 'administratorId' | 'workspaceId' | 'createdAt' | 'updatedAt'> & {
|
|
6438
|
+
repos: Array<Pick<MissionRepoRef, 'owner' | 'name' | 'branch'>>;
|
|
6439
|
+
});
|
|
6440
|
+
};
|
|
6441
|
+
export type AdminDeleteMissionMutationVariables = Exact<{
|
|
6442
|
+
id: Scalars['ID']['input'];
|
|
6443
|
+
}>;
|
|
6444
|
+
export type AdminDeleteMissionMutation = {
|
|
6445
|
+
deleteMission: (Pick<Mission, 'id' | 'status' | 'title' | 'model' | 'branch' | 'prUrl' | 'podRef' | 'costCents' | 'channelId' | 'administratorId' | 'workspaceId' | 'createdAt' | 'updatedAt'> & {
|
|
6446
|
+
repos: Array<Pick<MissionRepoRef, 'owner' | 'name' | 'branch'>>;
|
|
6447
|
+
});
|
|
6448
|
+
};
|
|
6449
|
+
export type AdminSendMissionMessageMutationVariables = Exact<{
|
|
6450
|
+
input: SendMissionMessageInput;
|
|
6451
|
+
}>;
|
|
6452
|
+
export type AdminSendMissionMessageMutation = {
|
|
6453
|
+
sendMissionMessage: (Pick<Mission, 'id' | 'status' | 'title' | 'model' | 'branch' | 'prUrl' | 'podRef' | 'costCents' | 'channelId' | 'administratorId' | 'workspaceId' | 'createdAt' | 'updatedAt'> & {
|
|
6454
|
+
repos: Array<Pick<MissionRepoRef, 'owner' | 'name' | 'branch'>>;
|
|
6455
|
+
});
|
|
6456
|
+
};
|
|
5948
6457
|
export type ActiveOnboardingQueryVariables = Exact<{
|
|
5949
6458
|
[key: string]: never;
|
|
5950
6459
|
}>;
|
|
@@ -8465,6 +8974,7 @@ export type ProductVariantFieldFragment = (Pick<ProductVariant, 'id' | 'sku' | '
|
|
|
8465
8974
|
dimensions?: Maybe<Pick<ProductVariantDimensions, 'length' | 'width' | 'height' | 'unit'>>;
|
|
8466
8975
|
customs?: Maybe<Pick<ProductVariantCustoms, 'hsCode' | 'originCountryCode' | 'contentsType'>>;
|
|
8467
8976
|
});
|
|
8977
|
+
export type ProductVariantPriceFieldFragment = Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>;
|
|
8468
8978
|
export type AdminProductVariantQueryVariables = Exact<{
|
|
8469
8979
|
id: Scalars['ID']['input'];
|
|
8470
8980
|
}>;
|
|
@@ -8551,6 +9061,12 @@ export type DeleteProductVariantsMutationVariables = Exact<{
|
|
|
8551
9061
|
export type DeleteProductVariantsMutation = {
|
|
8552
9062
|
deleteProductVariants: Pick<DeletionResponse, 'result' | 'message'>;
|
|
8553
9063
|
};
|
|
9064
|
+
export type SetProductVariantPriceMutationVariables = Exact<{
|
|
9065
|
+
input: SetPriceInput;
|
|
9066
|
+
}>;
|
|
9067
|
+
export type SetProductVariantPriceMutation = {
|
|
9068
|
+
setProductVariantPrice: Pick<ProductVariantPrice, 'id' | 'createdAt' | 'updatedAt' | 'price' | 'currencyCode' | 'variantId'>;
|
|
9069
|
+
};
|
|
8554
9070
|
export type ProductTranslationFieldFragment = Pick<ProductTranslation, 'id' | 'languageCode' | 'name' | 'slug' | 'description'>;
|
|
8555
9071
|
export type ProductFieldFragment = (Pick<Product, 'id' | 'createdAt' | 'updatedAt' | 'enabled' | 'isDigital' | 'trackInventory'> & {
|
|
8556
9072
|
featuredAsset?: Maybe<(Pick<Asset, 'id' | 'name' | 'type' | 'mimeType' | 'source' | 'preview' | 'fileSize' | 'width' | 'height'> & {
|
|
@@ -9159,6 +9675,10 @@ export type ShippingRateGroupFieldFragment = (Pick<ShippingGatewayRateGroup, 'id
|
|
|
9159
9675
|
});
|
|
9160
9676
|
export type ShippingLabelFieldFragment = Pick<ShippingGatewayLabel, 'id' | 'status' | 'trackingNumber' | 'carrier' | 'service' | 'providerCode' | 'labelUrl' | 'orderId' | 'fulfillmentId' | 'isReturnLabel'>;
|
|
9161
9677
|
export type ShippingCarrierFieldFragment = Pick<ShippingGatewayCarrier, 'id' | 'name' | 'code' | 'providerCode' | 'enabled'>;
|
|
9678
|
+
export type ShippingGatewayRoutingRuleFieldFragment = (Pick<ShippingGatewayRoutingRule, 'id' | 'stockLocationId' | 'scopeType' | 'fulfillmentType' | 'providerCode' | 'priority' | 'enabled'> & {
|
|
9679
|
+
countries: Array<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
9680
|
+
flatRates: Array<Pick<ShippingGatewayRoutingFlatRate, 'id' | 'code' | 'name' | 'amount' | 'currencyCode' | 'estimatedDays'>>;
|
|
9681
|
+
});
|
|
9162
9682
|
export type ShippingLabelsQueryVariables = Exact<{
|
|
9163
9683
|
orderId: Scalars['ID']['input'];
|
|
9164
9684
|
}>;
|
|
@@ -9365,6 +9885,46 @@ export type AvailableShippingProvidersQueryVariables = Exact<{
|
|
|
9365
9885
|
export type AvailableShippingProvidersQuery = {
|
|
9366
9886
|
availableShippingProviders: Array<Pick<ShippingProvider, 'code' | 'name' | 'pluginBacked'>>;
|
|
9367
9887
|
};
|
|
9888
|
+
export type ShippingGatewayRoutingRulesQueryVariables = Exact<{
|
|
9889
|
+
stockLocationId: Scalars['ID']['input'];
|
|
9890
|
+
}>;
|
|
9891
|
+
export type ShippingGatewayRoutingRulesQuery = {
|
|
9892
|
+
shippingGatewayRoutingRules: Array<(Pick<ShippingGatewayRoutingRule, 'id' | 'stockLocationId' | 'scopeType' | 'fulfillmentType' | 'providerCode' | 'priority' | 'enabled'> & {
|
|
9893
|
+
countries: Array<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
9894
|
+
flatRates: Array<Pick<ShippingGatewayRoutingFlatRate, 'id' | 'code' | 'name' | 'amount' | 'currencyCode' | 'estimatedDays'>>;
|
|
9895
|
+
})>;
|
|
9896
|
+
};
|
|
9897
|
+
export type CreateShippingGatewayRoutingRuleMutationVariables = Exact<{
|
|
9898
|
+
input: CreateShippingGatewayRoutingRuleInput;
|
|
9899
|
+
}>;
|
|
9900
|
+
export type CreateShippingGatewayRoutingRuleMutation = {
|
|
9901
|
+
createShippingGatewayRoutingRule: (Pick<ShippingGatewayRoutingRule, 'id' | 'stockLocationId' | 'scopeType' | 'fulfillmentType' | 'providerCode' | 'priority' | 'enabled'> & {
|
|
9902
|
+
countries: Array<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
9903
|
+
flatRates: Array<Pick<ShippingGatewayRoutingFlatRate, 'id' | 'code' | 'name' | 'amount' | 'currencyCode' | 'estimatedDays'>>;
|
|
9904
|
+
});
|
|
9905
|
+
};
|
|
9906
|
+
export type UpdateShippingGatewayRoutingRuleMutationVariables = Exact<{
|
|
9907
|
+
input: UpdateShippingGatewayRoutingRuleInput;
|
|
9908
|
+
}>;
|
|
9909
|
+
export type UpdateShippingGatewayRoutingRuleMutation = {
|
|
9910
|
+
updateShippingGatewayRoutingRule: (Pick<ShippingGatewayRoutingRule, 'id' | 'stockLocationId' | 'scopeType' | 'fulfillmentType' | 'providerCode' | 'priority' | 'enabled'> & {
|
|
9911
|
+
countries: Array<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
9912
|
+
flatRates: Array<Pick<ShippingGatewayRoutingFlatRate, 'id' | 'code' | 'name' | 'amount' | 'currencyCode' | 'estimatedDays'>>;
|
|
9913
|
+
});
|
|
9914
|
+
};
|
|
9915
|
+
export type DeleteShippingGatewayRoutingRuleMutationVariables = Exact<{
|
|
9916
|
+
id: Scalars['ID']['input'];
|
|
9917
|
+
}>;
|
|
9918
|
+
export type DeleteShippingGatewayRoutingRuleMutation = Pick<Mutation, 'deleteShippingGatewayRoutingRule'>;
|
|
9919
|
+
export type ReorderShippingGatewayRoutingRulesMutationVariables = Exact<{
|
|
9920
|
+
input: ReorderShippingGatewayRoutingRulesInput;
|
|
9921
|
+
}>;
|
|
9922
|
+
export type ReorderShippingGatewayRoutingRulesMutation = {
|
|
9923
|
+
reorderShippingGatewayRoutingRules: Array<(Pick<ShippingGatewayRoutingRule, 'id' | 'stockLocationId' | 'scopeType' | 'fulfillmentType' | 'providerCode' | 'priority' | 'enabled'> & {
|
|
9924
|
+
countries: Array<Pick<Country, 'id' | 'code' | 'name'>>;
|
|
9925
|
+
flatRates: Array<Pick<ShippingGatewayRoutingFlatRate, 'id' | 'code' | 'name' | 'amount' | 'currencyCode' | 'estimatedDays'>>;
|
|
9926
|
+
})>;
|
|
9927
|
+
};
|
|
9368
9928
|
export type StockLocationFieldFragment = (Pick<StockLocation, 'id' | 'createdAt' | 'updatedAt' | 'name' | 'description' | 'locationType'> & {
|
|
9369
9929
|
address?: Maybe<Pick<StockLocationAddress, 'id' | 'createdAt' | 'updatedAt' | 'fullName' | 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'countryCode' | 'phoneNumber'>>;
|
|
9370
9930
|
});
|