@forgecart/sdk 1.2.7 → 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.
Files changed (39) hide show
  1. package/README.md +2 -2
  2. package/dist/admin-types.generated.d.ts +460 -29
  3. package/dist/admin.d.ts +2 -0
  4. package/dist/admin.generated.d.ts +67 -27
  5. package/dist/admin.generated.js +88 -4
  6. package/dist/admin.js +35 -31
  7. package/dist/client.generated.d.ts +36 -1
  8. package/dist/client.generated.js +149 -5
  9. package/dist/documents.generated.d.ts +27 -5
  10. package/dist/documents.generated.js +492 -39
  11. package/dist/index.d.ts +1 -0
  12. package/dist/shop-types.generated.d.ts +190 -13
  13. package/dist/shop.d.ts +1 -0
  14. package/dist/shop.generated.d.ts +13 -4
  15. package/dist/shop.generated.js +19 -1
  16. package/dist/shop.js +17 -15
  17. package/package.json +8 -4
  18. package/src/admin-types.generated.d.ts +10013 -0
  19. package/src/admin-types.generated.ts +979 -92
  20. package/src/admin.generated.d.ts +806 -0
  21. package/src/admin.generated.ts +117 -29
  22. package/src/admin.ts +2 -0
  23. package/src/client.generated.d.ts +249 -0
  24. package/src/client.generated.ts +173 -4
  25. package/src/documents.generated.d.ts +473 -0
  26. package/src/documents.generated.ts +505 -30
  27. package/src/error-utils.d.ts +25 -0
  28. package/src/hook-event-map.generated.d.ts +243 -0
  29. package/src/index.d.ts +22 -0
  30. package/src/index.ts +1 -0
  31. package/src/sdk-hook-subscription.generated.d.ts +29 -0
  32. package/src/sdk-plugin.generated.d.ts +38 -0
  33. package/src/sdk-types.generated.d.ts +56 -0
  34. package/src/shop-types.generated.d.ts +4786 -0
  35. package/src/shop-types.generated.ts +259 -13
  36. package/src/shop.generated.d.ts +213 -0
  37. package/src/shop.generated.ts +22 -5
  38. package/src/shop.ts +1 -0
  39. package/src/upload.d.ts +14 -0
@@ -64,16 +64,16 @@ export declare const adminAuthenticateWithExternalStrategyDocument = "mutation A
64
64
  export declare const adminVerifyAdministratorEmailDocument = "mutation VerifyAdministratorEmail($input: VerifyAdministratorEmailInput!) {\n verifyAdministratorEmail(input: $input) {\n session {\n id\n token\n }\n administrator {\n id\n firstName\n lastName\n emailAddress\n avatarUrl\n }\n requiresOnboarding\n }\n}";
65
65
  export declare const adminResendAdministratorVerificationDocument = "mutation ResendAdministratorVerification($input: ResendAdministratorVerificationInput!) {\n resendAdministratorVerification(input: $input)\n}";
66
66
  export declare const adminLogoutDocument = "mutation Logout {\n logout\n}";
67
- export declare const adminChannelSettingsDocument = "query ChannelSettings {\n channelSettings {\n ...ChannelSettingsField\n }\n}\n\nfragment ChannelSettingsField on ChannelSettings {\n id\n channelId\n shopName\n requiresShippingAddressValidation\n requireCustomerForCheckout\n defaultFulfillmentHandlerCode\n defaultPaymentProviderCode\n defaultWeightUnit\n defaultDimensionUnit\n manualShippingRates {\n code\n name\n amount\n currency\n estimatedDays\n }\n}";
68
- export declare const adminChannelUpdateSettingsDocument = "mutation ChannelUpdateSettings($input: UpdateChannelSettingsInput!) {\n updateChannelSettings(input: $input) {\n ...ChannelSettingsField\n }\n}\n\nfragment ChannelSettingsField on ChannelSettings {\n id\n channelId\n shopName\n requiresShippingAddressValidation\n requireCustomerForCheckout\n defaultFulfillmentHandlerCode\n defaultPaymentProviderCode\n defaultWeightUnit\n defaultDimensionUnit\n manualShippingRates {\n code\n name\n amount\n currency\n estimatedDays\n }\n}";
67
+ export declare const adminChannelSettingsDocument = "query ChannelSettings {\n channelSettings {\n ...ChannelSettingsField\n }\n}\n\nfragment ChannelSettingsField on ChannelSettings {\n id\n channelId\n shopName\n requiresShippingAddressValidation\n requireCustomerForCheckout\n defaultFulfillmentHandlerCode\n defaultPaymentProviderCode\n defaultWeightUnit\n defaultDimensionUnit\n autoCurrencyExchange\n fxRoundingRule\n fxMarkupPercent\n}";
68
+ export declare const adminChannelUpdateSettingsDocument = "mutation ChannelUpdateSettings($input: UpdateChannelSettingsInput!) {\n updateChannelSettings(input: $input) {\n ...ChannelSettingsField\n }\n}\n\nfragment ChannelSettingsField on ChannelSettings {\n id\n channelId\n shopName\n requiresShippingAddressValidation\n requireCustomerForCheckout\n defaultFulfillmentHandlerCode\n defaultPaymentProviderCode\n defaultWeightUnit\n defaultDimensionUnit\n autoCurrencyExchange\n fxRoundingRule\n fxMarkupPercent\n}";
69
69
  export declare const adminChannelDocument = "query Channel($id: ID!) {\n channel(id: $id) {\n ...ChannelField\n }\n}\n\nfragment ChannelField on Channel {\n id\n createdAt\n updatedAt\n code\n token\n secret\n previewUrl\n defaultLanguageCode\n defaultCurrencyCode\n availableLanguageCodes\n availableCurrencyCodes\n description\n pricesIncludeTax\n taxProviderCode\n trackInventory\n outOfStockThreshold\n sellerId\n defaultTaxZoneId\n}";
70
70
  export declare const adminChannelsDocument = "query Channels($options: ListQueryOptions) {\n channels(options: $options) {\n items {\n ...ChannelField\n }\n totalItems\n }\n}\n\nfragment ChannelField on Channel {\n id\n createdAt\n updatedAt\n code\n token\n secret\n previewUrl\n defaultLanguageCode\n defaultCurrencyCode\n availableLanguageCodes\n availableCurrencyCodes\n description\n pricesIncludeTax\n taxProviderCode\n trackInventory\n outOfStockThreshold\n sellerId\n defaultTaxZoneId\n}";
71
71
  export declare const adminCreateChannelDocument = "mutation CreateChannel($input: CreateChannelInput!) {\n createChannel(input: $input) {\n ...ChannelField\n }\n}\n\nfragment ChannelField on Channel {\n id\n createdAt\n updatedAt\n code\n token\n secret\n previewUrl\n defaultLanguageCode\n defaultCurrencyCode\n availableLanguageCodes\n availableCurrencyCodes\n description\n pricesIncludeTax\n taxProviderCode\n trackInventory\n outOfStockThreshold\n sellerId\n defaultTaxZoneId\n}";
72
72
  export declare const adminUpdateChannelDocument = "mutation UpdateChannel($input: UpdateChannelInput!) {\n updateChannel(input: $input) {\n ...ChannelField\n }\n}\n\nfragment ChannelField on Channel {\n id\n createdAt\n updatedAt\n code\n token\n secret\n previewUrl\n defaultLanguageCode\n defaultCurrencyCode\n availableLanguageCodes\n availableCurrencyCodes\n description\n pricesIncludeTax\n taxProviderCode\n trackInventory\n outOfStockThreshold\n sellerId\n defaultTaxZoneId\n}";
73
73
  export declare const adminDeleteChannelDocument = "mutation DeleteChannel($id: ID!) {\n deleteChannel(id: $id)\n}";
74
- export declare const adminUpdateChannelSettingsDocument = "mutation UpdateChannelSettings($input: UpdateChannelSettingsInput!) {\n updateChannelSettings(input: $input) {\n ...ChannelSettingsField\n }\n}\n\nfragment ChannelSettingsField on ChannelSettings {\n id\n channelId\n shopName\n requiresShippingAddressValidation\n requireCustomerForCheckout\n defaultFulfillmentHandlerCode\n defaultPaymentProviderCode\n defaultWeightUnit\n defaultDimensionUnit\n manualShippingRates {\n code\n name\n amount\n currency\n estimatedDays\n }\n}";
75
- export declare const adminProvisionChannelDocument = "mutation ProvisionChannel($input: ProvisionChannelInput!) {\n provisionChannel(input: $input) {\n channel {\n ...ChannelField\n }\n channelSettings {\n ...ChannelSettingsField\n }\n role {\n id\n name\n code\n description\n permissions\n }\n }\n}\n\nfragment ChannelField on Channel {\n id\n createdAt\n updatedAt\n code\n token\n secret\n previewUrl\n defaultLanguageCode\n defaultCurrencyCode\n availableLanguageCodes\n availableCurrencyCodes\n description\n pricesIncludeTax\n taxProviderCode\n trackInventory\n outOfStockThreshold\n sellerId\n defaultTaxZoneId\n}\n\nfragment ChannelSettingsField on ChannelSettings {\n id\n channelId\n shopName\n requiresShippingAddressValidation\n requireCustomerForCheckout\n defaultFulfillmentHandlerCode\n defaultPaymentProviderCode\n defaultWeightUnit\n defaultDimensionUnit\n manualShippingRates {\n code\n name\n amount\n currency\n estimatedDays\n }\n}";
76
- export declare const adminStartChatSessionDocument = "mutation StartChatSession {\n startChatSession {\n ...ChatSessionField\n }\n}\n\nfragment ChatSessionField on ChatSession {\n sessionId\n channelToken\n userId\n createdAt\n lastActivity\n messageCount\n status\n}";
74
+ export declare const adminUpdateChannelSettingsDocument = "mutation UpdateChannelSettings($input: UpdateChannelSettingsInput!) {\n updateChannelSettings(input: $input) {\n ...ChannelSettingsField\n }\n}\n\nfragment ChannelSettingsField on ChannelSettings {\n id\n channelId\n shopName\n requiresShippingAddressValidation\n requireCustomerForCheckout\n defaultFulfillmentHandlerCode\n defaultPaymentProviderCode\n defaultWeightUnit\n defaultDimensionUnit\n autoCurrencyExchange\n fxRoundingRule\n fxMarkupPercent\n}";
75
+ export declare const adminProvisionChannelDocument = "mutation ProvisionChannel($input: ProvisionChannelInput!) {\n provisionChannel(input: $input) {\n channel {\n ...ChannelField\n }\n channelSettings {\n ...ChannelSettingsField\n }\n role {\n id\n name\n code\n description\n permissions\n }\n }\n}\n\nfragment ChannelField on Channel {\n id\n createdAt\n updatedAt\n code\n token\n secret\n previewUrl\n defaultLanguageCode\n defaultCurrencyCode\n availableLanguageCodes\n availableCurrencyCodes\n description\n pricesIncludeTax\n taxProviderCode\n trackInventory\n outOfStockThreshold\n sellerId\n defaultTaxZoneId\n}\n\nfragment ChannelSettingsField on ChannelSettings {\n id\n channelId\n shopName\n requiresShippingAddressValidation\n requireCustomerForCheckout\n defaultFulfillmentHandlerCode\n defaultPaymentProviderCode\n defaultWeightUnit\n defaultDimensionUnit\n autoCurrencyExchange\n fxRoundingRule\n fxMarkupPercent\n}";
76
+ export declare const adminStartChatSessionDocument = "mutation StartChatSession($input: StartChatSessionInput) {\n startChatSession(input: $input) {\n ...ChatSessionField\n }\n}\n\nfragment ChatSessionField on ChatSession {\n sessionId\n channelToken\n userId\n createdAt\n lastActivity\n messageCount\n status\n}";
77
77
  export declare const adminSendChatMessageDocument = "mutation SendChatMessage($input: SendChatMessageInput!) {\n sendChatMessage(input: $input) {\n ...ChatMessageField\n }\n}\n\nfragment ChatMessageField on ChatMessage {\n type\n content\n toolUse {\n toolId\n toolName\n input\n }\n toolResult {\n toolId\n result\n isError\n }\n timestamp\n isFinal\n eventId\n}";
78
78
  export declare const adminChatMessageStreamDocument = "subscription ChatMessageStream($input: SendChatMessageInput!) {\n chatMessageStream(input: $input) {\n ...ChatMessageField\n }\n}\n\nfragment ChatMessageField on ChatMessage {\n type\n content\n toolUse {\n toolId\n toolName\n input\n }\n toolResult {\n toolId\n result\n isError\n }\n timestamp\n isFinal\n eventId\n}";
79
79
  export declare const adminResumeChatSessionDocument = "subscription ResumeChatSession($input: ResumeChatSessionInput!) {\n resumeChatSession(input: $input) {\n ...ChatMessageField\n }\n}\n\nfragment ChatMessageField on ChatMessage {\n type\n content\n toolUse {\n toolId\n toolName\n input\n }\n toolResult {\n toolId\n result\n isError\n }\n timestamp\n isFinal\n eventId\n}";
@@ -81,6 +81,10 @@ export declare const adminCloseChatSessionDocument = "mutation CloseChatSession(
81
81
  export declare const adminClearChatHistoryDocument = "mutation ClearChatHistory($sessionId: ID!) {\n clearChatHistory(sessionId: $sessionId)\n}";
82
82
  export declare const adminEnqueueChatMessageDocument = "mutation EnqueueChatMessage($input: EnqueueChatMessageInput!) {\n enqueueChatMessage(input: $input)\n}";
83
83
  export declare const adminChatQueueDocument = "query ChatQueue($sessionId: ID!) {\n chatQueue(sessionId: $sessionId) {\n id\n kind\n content\n }\n}";
84
+ export declare const adminChatHistoryDocument = "query ChatHistory($input: ChatHistoryInput!) {\n chatHistory(input: $input) {\n ...ChatHistoryMessageField\n }\n}\n\nfragment ChatHistoryMessageField on ChatHistoryMessage {\n id\n role\n content\n toolUse\n toolResult\n seq\n eventId\n timestamp\n}";
85
+ export declare const adminChatSessionsDocument = "query ChatSessions($input: ChatSessionsInput) {\n chatSessions(input: $input) {\n items {\n ...ChatSessionSummaryField\n }\n totalItems\n }\n}\n\nfragment ChatSessionSummaryField on ChatSessionSummary {\n id\n agentSessionId\n title\n status\n origin\n messageCount\n lastActivityAt\n createdAt\n workspaceId\n}";
86
+ export declare const adminArchiveChatSessionDocument = "mutation ArchiveChatSession($sessionId: ID!) {\n archiveChatSession(sessionId: $sessionId)\n}";
87
+ export declare const adminWorkspaceReadinessDocument = "subscription WorkspaceReadiness {\n workspaceReadiness {\n ...WorkspaceReadinessField\n }\n}\n\nfragment WorkspaceReadinessField on WorkspaceReadiness {\n workspaceId\n podState\n serverState\n chatBindingState\n endpoint\n}";
84
88
  export declare const adminAdminCollectionDocument = "query AdminCollection($id: ID!) {\n collection(id: $id) {\n ...CollectionField\n }\n}\n\nfragment CollectionField on Collection {\n id\n createdAt\n updatedAt\n name\n slug\n description\n isPrivate\n isRoot\n inheritFilters\n position\n filters\n parentId\n featuredAsset {\n id\n name\n preview\n source\n }\n translations {\n ...CollectionTranslationField\n }\n}\n\nfragment CollectionTranslationField on CollectionTranslation {\n id\n languageCode\n name\n slug\n description\n}";
85
89
  export declare const adminAdminCollectionsDocument = "query AdminCollections($options: ListQueryOptions) {\n collections(options: $options) {\n items {\n ...CollectionField\n }\n totalItems\n }\n}\n\nfragment CollectionField on Collection {\n id\n createdAt\n updatedAt\n name\n slug\n description\n isPrivate\n isRoot\n inheritFilters\n position\n filters\n parentId\n featuredAsset {\n id\n name\n preview\n source\n }\n translations {\n ...CollectionTranslationField\n }\n}\n\nfragment CollectionTranslationField on CollectionTranslation {\n id\n languageCode\n name\n slug\n description\n}";
86
90
  export declare const adminCreateCollectionDocument = "mutation CreateCollection($input: CreateCollectionInput!) {\n createCollection(input: $input) {\n ...CollectionField\n }\n}\n\nfragment CollectionField on Collection {\n id\n createdAt\n updatedAt\n name\n slug\n description\n isPrivate\n isRoot\n inheritFilters\n position\n filters\n parentId\n featuredAsset {\n id\n name\n preview\n source\n }\n translations {\n ...CollectionTranslationField\n }\n}\n\nfragment CollectionTranslationField on CollectionTranslation {\n id\n languageCode\n name\n slug\n description\n}";
@@ -163,6 +167,10 @@ export declare const adminAdminRespondToHookDispatchDocument = "mutation AdminRe
163
167
  export declare const adminHookListenDocument = "subscription HookListen($hookPoints: [String!]!) {\n hookDispatched(hookPoints: $hookPoints) {\n id\n hookPoint\n transactionToken\n args\n }\n}";
164
168
  export declare const adminHookRespondDocument = "mutation HookRespond($input: RespondToHookDispatchInput!) {\n respondToHookDispatch(input: $input)\n}";
165
169
  export declare const adminEmitDocument = "mutation Emit($input: EmitCustomEventInput!) {\n emit(input: $input)\n}";
170
+ export declare const adminMarketsDocument = "query Markets($options: ListQueryOptions) {\n markets(options: $options) {\n items {\n ...MarketField\n }\n totalItems\n }\n}\n\nfragment MarketField on Market {\n id\n createdAt\n updatedAt\n name\n enabled\n currencyCode\n languageCode\n channelId\n countries {\n id\n code\n name\n enabled\n }\n}";
171
+ export declare const adminCreateMarketDocument = "mutation CreateMarket($input: CreateMarketInput!) {\n createMarket(input: $input) {\n ...MarketField\n }\n}\n\nfragment MarketField on Market {\n id\n createdAt\n updatedAt\n name\n enabled\n currencyCode\n languageCode\n channelId\n countries {\n id\n code\n name\n enabled\n }\n}";
172
+ export declare const adminUpdateMarketDocument = "mutation UpdateMarket($input: UpdateMarketInput!) {\n updateMarket(input: $input) {\n ...MarketField\n }\n}\n\nfragment MarketField on Market {\n id\n createdAt\n updatedAt\n name\n enabled\n currencyCode\n languageCode\n channelId\n countries {\n id\n code\n name\n enabled\n }\n}";
173
+ export declare const adminDeleteMarketDocument = "mutation DeleteMarket($id: ID!) {\n deleteMarket(id: $id) {\n result\n message\n }\n}";
166
174
  export declare const adminAdminAttributionByOrderDocument = "query AdminAttributionByOrder($input: AttributionByOrderInput!) {\n attributionByOrder(input: $input) {\n id\n orderId\n customerId\n identityId\n lookbackDays\n totalRevenueMinor\n currencyCode\n firstTouchUtmSource\n firstTouchUtmMedium\n firstTouchUtmCampaign\n firstTouchOccurredAt\n lastTouchUtmSource\n lastTouchUtmMedium\n lastTouchUtmCampaign\n lastTouchOccurredAt\n computedAt\n reversedAt\n touchpoints {\n id\n eventId\n occurredAt\n utmSource\n utmMedium\n utmCampaign\n utmContent\n utmTerm\n source\n revenueMinor\n position\n dedupCount\n }\n touchpointsWithCredit {\n touchpoint {\n id\n eventId\n occurredAt\n utmSource\n utmMedium\n utmCampaign\n utmContent\n utmTerm\n source\n revenueMinor\n position\n dedupCount\n }\n creditWeight\n attributedRevenueMinor\n }\n }\n}";
167
175
  export declare const adminAdminAttributionSourceRollupDocument = "query AdminAttributionSourceRollup($input: AttributionSourceRollupInput!) {\n attributionSourceRollup(input: $input) {\n items {\n groupKey\n attributedRevenueMinor\n conversionCount\n }\n totalItems\n totalAttributedRevenueMinor\n totalConversionCount\n model\n }\n}";
168
176
  export declare const adminAdminRecomputeAttributionDocument = "mutation AdminRecomputeAttribution($orderId: ID!) {\n recomputeAttribution(orderId: $orderId) {\n id\n orderId\n lookbackDays\n totalRevenueMinor\n currencyCode\n computedAt\n lastTouchUtmSource\n lastTouchUtmMedium\n lastTouchUtmCampaign\n lastTouchOccurredAt\n }\n}";
@@ -170,6 +178,12 @@ export declare const adminAdminIngestMarketingEventDocument = "mutation AdminIng
170
178
  export declare const adminAdminQueryMarketingEventSummaryDocument = "query AdminQueryMarketingEventSummary($input: MarketingEventSummaryInput!) {\n queryMarketingEventSummary(input: $input) {\n count\n uniqueIdentities\n uniqueCustomers\n durationMs\n }\n}";
171
179
  export declare const adminAdminMarketingIdentityDocument = "query AdminMarketingIdentity($id: ID!) {\n marketingIdentity(id: $id) {\n ...AdminMarketingIdentityFields\n }\n}\n\nfragment AdminMarketingIdentityFields on MarketingIdentity {\n id\n sessionToken\n customerId\n email\n emailSha256\n phone\n phoneSha256\n ipAddress\n userAgent\n country\n region\n city\n postalCode\n deviceType\n os\n browser\n firstSeenAt\n lastSeenAt\n createdAt\n updatedAt\n identifiers {\n ...AdminMarketingIdentityIdentifierFields\n }\n}\n\nfragment AdminMarketingIdentityIdentifierFields on MarketingIdentityIdentifier {\n id\n key\n value\n capturedAt\n position\n}";
172
180
  export declare const adminAdminMarketingIdentityByCustomerDocument = "query AdminMarketingIdentityByCustomer($customerId: ID!) {\n marketingIdentityByCustomer(customerId: $customerId) {\n ...AdminMarketingIdentityFields\n }\n}\n\nfragment AdminMarketingIdentityFields on MarketingIdentity {\n id\n sessionToken\n customerId\n email\n emailSha256\n phone\n phoneSha256\n ipAddress\n userAgent\n country\n region\n city\n postalCode\n deviceType\n os\n browser\n firstSeenAt\n lastSeenAt\n createdAt\n updatedAt\n identifiers {\n ...AdminMarketingIdentityIdentifierFields\n }\n}\n\nfragment AdminMarketingIdentityIdentifierFields on MarketingIdentityIdentifier {\n id\n key\n value\n capturedAt\n position\n}";
181
+ export declare const adminAdminMissionsDocument = "query AdminMissions($options: MissionListOptions) {\n missions(options: $options) {\n items {\n ...MissionField\n }\n totalItems\n }\n}\n\nfragment MissionField on Mission {\n id\n status\n title\n model\n repos {\n ...MissionRepoRefField\n }\n branch\n prUrl\n podRef\n costCents\n channelId\n administratorId\n workspaceId\n createdAt\n updatedAt\n}\n\nfragment MissionRepoRefField on MissionRepoRef {\n owner\n name\n branch\n}";
182
+ export declare const adminAdminMissionDocument = "query AdminMission($id: ID!) {\n mission(id: $id) {\n ...MissionField\n }\n}\n\nfragment MissionField on Mission {\n id\n status\n title\n model\n repos {\n ...MissionRepoRefField\n }\n branch\n prUrl\n podRef\n costCents\n channelId\n administratorId\n workspaceId\n createdAt\n updatedAt\n}\n\nfragment MissionRepoRefField on MissionRepoRef {\n owner\n name\n branch\n}";
183
+ export declare const adminAdminCreateMissionDocument = "mutation AdminCreateMission($input: CreateMissionInput!) {\n createMission(input: $input) {\n ...MissionField\n }\n}\n\nfragment MissionField on Mission {\n id\n status\n title\n model\n repos {\n ...MissionRepoRefField\n }\n branch\n prUrl\n podRef\n costCents\n channelId\n administratorId\n workspaceId\n createdAt\n updatedAt\n}\n\nfragment MissionRepoRefField on MissionRepoRef {\n owner\n name\n branch\n}";
184
+ export declare const adminAdminCancelMissionDocument = "mutation AdminCancelMission($id: ID!) {\n cancelMission(id: $id) {\n ...MissionField\n }\n}\n\nfragment MissionField on Mission {\n id\n status\n title\n model\n repos {\n ...MissionRepoRefField\n }\n branch\n prUrl\n podRef\n costCents\n channelId\n administratorId\n workspaceId\n createdAt\n updatedAt\n}\n\nfragment MissionRepoRefField on MissionRepoRef {\n owner\n name\n branch\n}";
185
+ export declare const adminAdminDeleteMissionDocument = "mutation AdminDeleteMission($id: ID!) {\n deleteMission(id: $id) {\n ...MissionField\n }\n}\n\nfragment MissionField on Mission {\n id\n status\n title\n model\n repos {\n ...MissionRepoRefField\n }\n branch\n prUrl\n podRef\n costCents\n channelId\n administratorId\n workspaceId\n createdAt\n updatedAt\n}\n\nfragment MissionRepoRefField on MissionRepoRef {\n owner\n name\n branch\n}";
186
+ export declare const adminAdminSendMissionMessageDocument = "mutation AdminSendMissionMessage($input: SendMissionMessageInput!) {\n sendMissionMessage(input: $input) {\n ...MissionField\n }\n}\n\nfragment MissionField on Mission {\n id\n status\n title\n model\n repos {\n ...MissionRepoRefField\n }\n branch\n prUrl\n podRef\n costCents\n channelId\n administratorId\n workspaceId\n createdAt\n updatedAt\n}\n\nfragment MissionRepoRefField on MissionRepoRef {\n owner\n name\n branch\n}";
173
187
  export declare const adminActiveOnboardingDocument = "query ActiveOnboarding {\n activeOnboarding {\n onboarding {\n id\n currentStep\n completedAt\n createdAt\n updatedAt\n }\n administrator {\n ...AdministratorField\n }\n profileStep {\n id\n firstName\n lastName\n avatarUrl\n completedAt\n }\n shopStep {\n id\n shopName\n defaultLanguageCode\n defaultCurrencyCode\n completedAt\n }\n }\n}\n\nfragment AdministratorField on Administrator {\n id\n createdAt\n updatedAt\n firstName\n lastName\n emailAddress\n userId\n avatarUrl\n user {\n primaryAuthStrategy\n }\n}";
174
188
  export declare const adminUpdateProfileDocument = "mutation UpdateProfile($input: UpdateOnboardingProfileInput!) {\n updateOnboardingProfile(input: $input) {\n onboarding {\n id\n currentStep\n completedAt\n }\n administrator {\n ...AdministratorField\n }\n profileStep {\n id\n firstName\n lastName\n avatarUrl\n completedAt\n }\n shopStep {\n id\n shopName\n defaultLanguageCode\n defaultCurrencyCode\n completedAt\n }\n }\n}\n\nfragment AdministratorField on Administrator {\n id\n createdAt\n updatedAt\n firstName\n lastName\n emailAddress\n userId\n avatarUrl\n user {\n primaryAuthStrategy\n }\n}";
175
189
  export declare const adminCompleteShopDocument = "mutation CompleteShop($input: CompleteOnboardingShopInput!) {\n completeOnboardingShop(input: $input) {\n administrator {\n ...AdministratorField\n }\n channel {\n id\n code\n token\n }\n onboarding {\n id\n currentStep\n completedAt\n }\n }\n}\n\nfragment AdministratorField on Administrator {\n id\n createdAt\n updatedAt\n firstName\n lastName\n emailAddress\n userId\n avatarUrl\n user {\n primaryAuthStrategy\n }\n}";
@@ -278,6 +292,7 @@ export declare const adminAdminProductVariantsDocument = "query AdminProductVari
278
292
  export declare const adminCreateProductVariantsDocument = "mutation CreateProductVariants($input: [CreateProductVariantInput!]!) {\n createProductVariants(input: $input) {\n ...ProductVariantField\n }\n}\n\nfragment ProductVariantField on ProductVariant {\n id\n sku\n name\n price\n priceWithTax\n stockOnHand\n stockAllocated\n trackInventory\n enabled\n productId\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductVariantTranslationField\n }\n weight {\n value\n unit\n }\n dimensions {\n length\n width\n height\n unit\n }\n customs {\n hsCode\n originCountryCode\n contentsType\n }\n}\n\nfragment AssetField on Asset {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n tags {\n id\n value\n }\n focalPoint {\n x\n y\n }\n}\n\nfragment ProductVariantTranslationField on ProductVariantTranslation {\n id\n languageCode\n name\n}";
279
293
  export declare const adminUpdateProductVariantsDocument = "mutation UpdateProductVariants($input: [UpdateProductVariantInput!]!) {\n updateProductVariants(input: $input) {\n ...ProductVariantField\n }\n}\n\nfragment ProductVariantField on ProductVariant {\n id\n sku\n name\n price\n priceWithTax\n stockOnHand\n stockAllocated\n trackInventory\n enabled\n productId\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductVariantTranslationField\n }\n weight {\n value\n unit\n }\n dimensions {\n length\n width\n height\n unit\n }\n customs {\n hsCode\n originCountryCode\n contentsType\n }\n}\n\nfragment AssetField on Asset {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n tags {\n id\n value\n }\n focalPoint {\n x\n y\n }\n}\n\nfragment ProductVariantTranslationField on ProductVariantTranslation {\n id\n languageCode\n name\n}";
280
294
  export declare const adminDeleteProductVariantsDocument = "mutation DeleteProductVariants($ids: [ID!]!) {\n deleteProductVariants(ids: $ids) {\n result\n message\n }\n}";
295
+ export declare const adminSetProductVariantPriceDocument = "mutation SetProductVariantPrice($input: SetPriceInput!) {\n setProductVariantPrice(input: $input) {\n ...ProductVariantPriceField\n }\n}\n\nfragment ProductVariantPriceField on ProductVariantPrice {\n id\n createdAt\n updatedAt\n price\n currencyCode\n variantId\n}";
281
296
  export declare const adminAdminProductDocument = "query AdminProduct($id: ID!) {\n product(id: $id) {\n ...ProductField\n }\n}\n\nfragment ProductField on Product {\n id\n createdAt\n updatedAt\n enabled\n isDigital\n trackInventory\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n assets {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n }\n translations {\n ...ProductTranslationField\n }\n facetValues {\n id\n name\n code\n facetId\n }\n facetValues {\n id\n name\n code\n facetId\n }\n channels {\n id\n code\n token\n }\n optionGroups {\n ...ProductOptionGroupField\n }\n variants {\n ...ProductVariantField\n }\n}\n\nfragment AssetField on Asset {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n tags {\n id\n value\n }\n focalPoint {\n x\n y\n }\n}\n\nfragment ProductTranslationField on ProductTranslation {\n id\n languageCode\n name\n slug\n description\n}\n\nfragment ProductOptionGroupField on ProductOptionGroup {\n id\n code\n name\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductOptionGroupTranslationField\n }\n}\n\nfragment ProductOptionGroupTranslationField on ProductOptionGroupTranslation {\n id\n languageCode\n name\n}\n\nfragment ProductVariantField on ProductVariant {\n id\n sku\n name\n price\n priceWithTax\n stockOnHand\n stockAllocated\n trackInventory\n enabled\n productId\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductVariantTranslationField\n }\n weight {\n value\n unit\n }\n dimensions {\n length\n width\n height\n unit\n }\n customs {\n hsCode\n originCountryCode\n contentsType\n }\n}\n\nfragment ProductVariantTranslationField on ProductVariantTranslation {\n id\n languageCode\n name\n}";
282
297
  export declare const adminAdminProductsDocument = "query AdminProducts($options: ListQueryOptions) {\n products(options: $options) {\n items {\n ...ProductField\n }\n totalItems\n }\n}\n\nfragment ProductField on Product {\n id\n createdAt\n updatedAt\n enabled\n isDigital\n trackInventory\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n assets {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n }\n translations {\n ...ProductTranslationField\n }\n facetValues {\n id\n name\n code\n facetId\n }\n facetValues {\n id\n name\n code\n facetId\n }\n channels {\n id\n code\n token\n }\n optionGroups {\n ...ProductOptionGroupField\n }\n variants {\n ...ProductVariantField\n }\n}\n\nfragment AssetField on Asset {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n tags {\n id\n value\n }\n focalPoint {\n x\n y\n }\n}\n\nfragment ProductTranslationField on ProductTranslation {\n id\n languageCode\n name\n slug\n description\n}\n\nfragment ProductOptionGroupField on ProductOptionGroup {\n id\n code\n name\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductOptionGroupTranslationField\n }\n}\n\nfragment ProductOptionGroupTranslationField on ProductOptionGroupTranslation {\n id\n languageCode\n name\n}\n\nfragment ProductVariantField on ProductVariant {\n id\n sku\n name\n price\n priceWithTax\n stockOnHand\n stockAllocated\n trackInventory\n enabled\n productId\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductVariantTranslationField\n }\n weight {\n value\n unit\n }\n dimensions {\n length\n width\n height\n unit\n }\n customs {\n hsCode\n originCountryCode\n contentsType\n }\n}\n\nfragment ProductVariantTranslationField on ProductVariantTranslation {\n id\n languageCode\n name\n}";
283
298
  export declare const adminCreateProductDocument = "mutation CreateProduct($input: CreateProductInput!) {\n createProduct(input: $input) {\n ...ProductField\n }\n}\n\nfragment ProductField on Product {\n id\n createdAt\n updatedAt\n enabled\n isDigital\n trackInventory\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n assets {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n }\n translations {\n ...ProductTranslationField\n }\n facetValues {\n id\n name\n code\n facetId\n }\n facetValues {\n id\n name\n code\n facetId\n }\n channels {\n id\n code\n token\n }\n optionGroups {\n ...ProductOptionGroupField\n }\n variants {\n ...ProductVariantField\n }\n}\n\nfragment AssetField on Asset {\n id\n name\n type\n mimeType\n source\n preview\n fileSize\n width\n height\n tags {\n id\n value\n }\n focalPoint {\n x\n y\n }\n}\n\nfragment ProductTranslationField on ProductTranslation {\n id\n languageCode\n name\n slug\n description\n}\n\nfragment ProductOptionGroupField on ProductOptionGroup {\n id\n code\n name\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductOptionGroupTranslationField\n }\n}\n\nfragment ProductOptionGroupTranslationField on ProductOptionGroupTranslation {\n id\n languageCode\n name\n}\n\nfragment ProductVariantField on ProductVariant {\n id\n sku\n name\n price\n priceWithTax\n stockOnHand\n stockAllocated\n trackInventory\n enabled\n productId\n featuredAsset {\n ...AssetField\n }\n assets {\n ...AssetField\n }\n options {\n id\n code\n name\n groupId\n }\n translations {\n ...ProductVariantTranslationField\n }\n weight {\n value\n unit\n }\n dimensions {\n length\n width\n height\n unit\n }\n customs {\n hsCode\n originCountryCode\n contentsType\n }\n}\n\nfragment ProductVariantTranslationField on ProductVariantTranslation {\n id\n languageCode\n name\n}";
@@ -330,6 +345,11 @@ export declare const adminSelectShippingRateDocument = "mutation SelectShippingR
330
345
  export declare const adminSetManualShippingRateDocument = "mutation SetManualShippingRate($input: SetManualShippingRateInput!) {\n setManualShippingRate(input: $input) {\n ...OrderField\n }\n}\n\nfragment OrderField on Order {\n id\n createdAt\n updatedAt\n code\n state\n active\n type\n orderPlacedAt\n currencyCode\n total\n totalQuantity\n totalWithTax\n subTotal\n subTotalWithTax\n shipping\n shippingWithTax\n couponCodes\n draftComplete\n preModificationState\n version\n billingAddress {\n ...OrderAddressField\n }\n shippingAddress {\n ...OrderAddressField\n }\n customer {\n id\n createdAt\n updatedAt\n title\n firstName\n lastName\n phoneNumber\n emailAddress\n }\n lines {\n ...OrderLineField\n }\n payments {\n ...PaymentField\n }\n fulfillments {\n ...FulfillmentField\n }\n shippingLines {\n ...ShippingLineField\n }\n surcharges {\n ...SurchargeField\n }\n modifications {\n ...OrderModificationField\n }\n promotions {\n id\n }\n discounts {\n ...DiscountField\n }\n taxSummary {\n ...TaxSummaryField\n }\n nextStates\n recentShippingMethod {\n id\n carrier\n service\n amount\n currency\n estimatedDays\n selected\n providerCode\n }\n recentToken {\n ...PaymentTokenField\n }\n history {\n items {\n ...HistoryEntryField\n }\n totalItems\n }\n}\n\nfragment OrderAddressField on OrderAddress {\n fullName\n company\n streetLine1\n streetLine2\n city\n province\n postalCode\n country {\n id\n code\n name\n }\n phoneNumber\n}\n\nfragment OrderLineField on OrderLine {\n id\n createdAt\n updatedAt\n quantity\n productVariantId\n unitPrice\n unitPriceWithTax\n linePrice\n linePriceWithTax\n listPrice\n listPriceIncludesTax\n orderPlacedQuantity\n adjustments {\n ...AdjustmentField\n }\n taxLines {\n ...TaxLineField\n }\n productVariant {\n id\n createdAt\n updatedAt\n sku\n name\n price\n priceWithTax\n stockOnHand\n enabled\n }\n shippingLine {\n ...ShippingLineField\n }\n taxCategory {\n id\n }\n featuredAsset {\n id\n }\n snapshot {\n id\n createdAt\n updatedAt\n productName\n variantName\n sku\n imageUrl\n price\n priceWithTax\n }\n}\n\nfragment AdjustmentField on Adjustment {\n amount\n description\n orderLineId\n shippingLineId\n}\n\nfragment TaxLineField on OrderTaxLine {\n taxRate\n description\n taxAmount\n}\n\nfragment ShippingLineField on ShippingLine {\n id\n createdAt\n updatedAt\n listPrice\n listPriceWithTax\n listPriceIncludesTax\n adjustments {\n ...AdjustmentField\n }\n taxLines {\n ...TaxLineField\n }\n}\n\nfragment PaymentField on Payment {\n id\n createdAt\n updatedAt\n state\n amount\n providerCode\n transactionId\n errorMessage\n metadata\n orderId\n refunds {\n ...RefundField\n }\n}\n\nfragment RefundField on Refund {\n id\n createdAt\n updatedAt\n total\n reason\n state\n transactionId\n method\n metadata\n paymentId\n lines {\n ...RefundLineField\n }\n}\n\nfragment RefundLineField on RefundLine {\n id\n createdAt\n updatedAt\n quantity\n orderLineId\n}\n\nfragment FulfillmentField on Fulfillment {\n id\n createdAt\n updatedAt\n state\n method\n trackingCode\n handlerCode\n lines {\n ...FulfillmentLineField\n }\n}\n\nfragment FulfillmentLineField on FulfillmentLine {\n id\n createdAt\n updatedAt\n quantity\n orderLineId\n}\n\nfragment SurchargeField on Surcharge {\n id\n createdAt\n updatedAt\n description\n listPrice\n listPriceIncludesTax\n sku\n taxRate\n taxLines {\n ...TaxLineField\n }\n}\n\nfragment OrderModificationField on OrderModification {\n id\n createdAt\n updatedAt\n priceChange\n note\n isSettled\n changes {\n orderLineId\n productVariantId\n type\n quantityBefore\n quantityAfter\n unitPriceBefore\n unitPriceAfter\n }\n surcharges {\n ...SurchargeField\n }\n payment {\n ...PaymentField\n }\n refund {\n ...RefundField\n }\n}\n\nfragment DiscountField on OrderDiscount {\n description\n amount\n amountWithTax\n}\n\nfragment TaxSummaryField on OrderTaxSummary {\n description\n taxRate\n taxBase\n taxTotal\n}\n\nfragment PaymentTokenField on PaymentGatewayToken {\n id\n displayName\n type\n isDefault\n providerCode\n createdAt\n updatedAt\n}\n\nfragment HistoryEntryField on HistoryEntry {\n id\n createdAt\n updatedAt\n type\n isPublic\n data\n administrator {\n id\n }\n}";
331
346
  export declare const adminUpdateShippingLabelDocument = "mutation UpdateShippingLabel($input: UpdateShippingLabelInput!) {\n updateShippingLabel(input: $input) {\n ...ShippingLabelField\n }\n}\n\nfragment ShippingLabelField on ShippingGatewayLabel {\n id\n status\n trackingNumber\n carrier\n service\n providerCode\n labelUrl\n orderId\n fulfillmentId\n isReturnLabel\n}";
332
347
  export declare const adminAvailableShippingProvidersDocument = "query AvailableShippingProviders {\n availableShippingProviders {\n code\n name\n pluginBacked\n }\n}";
348
+ export declare const adminShippingGatewayRoutingRulesDocument = "query ShippingGatewayRoutingRules($stockLocationId: ID!) {\n shippingGatewayRoutingRules(stockLocationId: $stockLocationId) {\n ...ShippingGatewayRoutingRuleField\n }\n}\n\nfragment ShippingGatewayRoutingRuleField on ShippingGatewayRoutingRule {\n id\n stockLocationId\n scopeType\n fulfillmentType\n providerCode\n priority\n enabled\n countries {\n id\n code\n name\n }\n flatRates {\n id\n code\n name\n amount\n currencyCode\n estimatedDays\n }\n}";
349
+ export declare const adminCreateShippingGatewayRoutingRuleDocument = "mutation CreateShippingGatewayRoutingRule($input: CreateShippingGatewayRoutingRuleInput!) {\n createShippingGatewayRoutingRule(input: $input) {\n ...ShippingGatewayRoutingRuleField\n }\n}\n\nfragment ShippingGatewayRoutingRuleField on ShippingGatewayRoutingRule {\n id\n stockLocationId\n scopeType\n fulfillmentType\n providerCode\n priority\n enabled\n countries {\n id\n code\n name\n }\n flatRates {\n id\n code\n name\n amount\n currencyCode\n estimatedDays\n }\n}";
350
+ export declare const adminUpdateShippingGatewayRoutingRuleDocument = "mutation UpdateShippingGatewayRoutingRule($input: UpdateShippingGatewayRoutingRuleInput!) {\n updateShippingGatewayRoutingRule(input: $input) {\n ...ShippingGatewayRoutingRuleField\n }\n}\n\nfragment ShippingGatewayRoutingRuleField on ShippingGatewayRoutingRule {\n id\n stockLocationId\n scopeType\n fulfillmentType\n providerCode\n priority\n enabled\n countries {\n id\n code\n name\n }\n flatRates {\n id\n code\n name\n amount\n currencyCode\n estimatedDays\n }\n}";
351
+ export declare const adminDeleteShippingGatewayRoutingRuleDocument = "mutation DeleteShippingGatewayRoutingRule($id: ID!) {\n deleteShippingGatewayRoutingRule(id: $id)\n}";
352
+ export declare const adminReorderShippingGatewayRoutingRulesDocument = "mutation ReorderShippingGatewayRoutingRules($input: ReorderShippingGatewayRoutingRulesInput!) {\n reorderShippingGatewayRoutingRules(input: $input) {\n ...ShippingGatewayRoutingRuleField\n }\n}\n\nfragment ShippingGatewayRoutingRuleField on ShippingGatewayRoutingRule {\n id\n stockLocationId\n scopeType\n fulfillmentType\n providerCode\n priority\n enabled\n countries {\n id\n code\n name\n }\n flatRates {\n id\n code\n name\n amount\n currencyCode\n estimatedDays\n }\n}";
333
353
  export declare const adminStockLocationDocument = "query StockLocation($id: ID!) {\n stockLocation(id: $id) {\n ...StockLocationField\n }\n}\n\nfragment StockLocationField on StockLocation {\n id\n createdAt\n updatedAt\n name\n description\n locationType\n address {\n id\n createdAt\n updatedAt\n fullName\n company\n streetLine1\n streetLine2\n city\n province\n postalCode\n countryCode\n phoneNumber\n }\n}";
334
354
  export declare const adminStockLocationsDocument = "query StockLocations($options: ListQueryOptions) {\n stockLocations(options: $options) {\n items {\n ...StockLocationField\n }\n totalItems\n }\n}\n\nfragment StockLocationField on StockLocation {\n id\n createdAt\n updatedAt\n name\n description\n locationType\n address {\n id\n createdAt\n updatedAt\n fullName\n company\n streetLine1\n streetLine2\n city\n province\n postalCode\n countryCode\n phoneNumber\n }\n}";
335
355
  export declare const adminDefaultStockLocationDocument = "query DefaultStockLocation {\n defaultStockLocation {\n ...StockLocationField\n }\n}\n\nfragment StockLocationField on StockLocation {\n id\n createdAt\n updatedAt\n name\n description\n locationType\n address {\n id\n createdAt\n updatedAt\n fullName\n company\n streetLine1\n streetLine2\n city\n province\n postalCode\n countryCode\n phoneNumber\n }\n}";
@@ -409,6 +429,8 @@ export declare const shopSetCustomerForOrderDocument = "mutation SetCustomerForO
409
429
  export declare const shopAddItemsToOrderDocument = "mutation AddItemsToOrder($items: [AddItemToOrderInput!]!) {\n addItemsToOrder(items: $items) {\n order {\n ...ShopOrderField\n }\n errors {\n index\n errorCode\n variables\n }\n }\n}\n\nfragment ShopOrderField on Order {\n id\n createdAt\n updatedAt\n code\n state\n active\n type\n orderPlacedAt\n currencyCode\n total\n totalQuantity\n totalWithTax\n subTotal\n subTotalWithTax\n shipping\n shippingWithTax\n couponCodes\n version\n billingAddress {\n ...ShopOrderAddressField\n }\n shippingAddress {\n ...ShopOrderAddressField\n }\n customer {\n id\n createdAt\n updatedAt\n title\n firstName\n lastName\n phoneNumber\n emailAddress\n }\n lines {\n ...ShopOrderLineField\n }\n payments {\n id\n createdAt\n updatedAt\n state\n amount\n providerCode\n transactionId\n errorMessage\n metadata\n orderId\n refunds {\n id\n createdAt\n updatedAt\n total\n reason\n state\n transactionId\n method\n metadata\n paymentId\n }\n }\n fulfillments {\n id\n createdAt\n updatedAt\n state\n method\n trackingCode\n handlerCode\n lines {\n id\n createdAt\n updatedAt\n quantity\n orderLineId\n }\n }\n shippingLines {\n ...ShopShippingLineField\n }\n surcharges {\n ...ShopSurchargeField\n }\n modifications {\n id\n createdAt\n updatedAt\n priceChange\n note\n isSettled\n changes {\n orderLineId\n productVariantId\n type\n quantityBefore\n quantityAfter\n unitPriceBefore\n unitPriceAfter\n }\n surcharges {\n id\n description\n listPrice\n }\n payment {\n id\n state\n amount\n }\n refund {\n id\n total\n state\n }\n }\n promotions {\n id\n }\n discounts {\n ...ShopDiscountField\n }\n taxSummary {\n ...ShopTaxSummaryField\n }\n nextStates\n recentShippingMethod {\n id\n carrier\n service\n amount\n currency\n estimatedDays\n selected\n providerCode\n }\n recentToken {\n ...ShopPaymentTokenField\n }\n}\n\nfragment ShopOrderAddressField on OrderAddress {\n fullName\n company\n streetLine1\n streetLine2\n city\n province\n postalCode\n country {\n id\n code\n name\n }\n phoneNumber\n}\n\nfragment ShopOrderLineField on OrderLine {\n id\n createdAt\n updatedAt\n quantity\n productVariantId\n unitPrice\n unitPriceWithTax\n linePrice\n linePriceWithTax\n listPrice\n listPriceIncludesTax\n orderPlacedQuantity\n adjustments {\n ...ShopAdjustmentField\n }\n taxLines {\n ...ShopTaxLineField\n }\n productVariant {\n id\n createdAt\n updatedAt\n sku\n name\n price\n priceWithTax\n stockOnHand\n enabled\n }\n shippingLine {\n ...ShopShippingLineField\n }\n taxCategory {\n id\n }\n featuredAsset {\n id\n }\n}\n\nfragment ShopAdjustmentField on Adjustment {\n amount\n description\n orderLineId\n shippingLineId\n}\n\nfragment ShopTaxLineField on OrderTaxLine {\n taxRate\n description\n taxAmount\n}\n\nfragment ShopShippingLineField on ShippingLine {\n id\n createdAt\n updatedAt\n listPrice\n listPriceWithTax\n listPriceIncludesTax\n adjustments {\n ...ShopAdjustmentField\n }\n taxLines {\n ...ShopTaxLineField\n }\n}\n\nfragment ShopSurchargeField on Surcharge {\n id\n createdAt\n updatedAt\n description\n listPrice\n listPriceIncludesTax\n sku\n taxRate\n}\n\nfragment ShopDiscountField on OrderDiscount {\n description\n amount\n amountWithTax\n}\n\nfragment ShopTaxSummaryField on OrderTaxSummary {\n description\n taxRate\n taxBase\n taxTotal\n}\n\nfragment ShopPaymentTokenField on PaymentGatewayToken {\n id\n displayName\n type\n isDefault\n providerCode\n createdAt\n updatedAt\n}";
410
430
  export declare const shopAdjustOrderLinesDocument = "mutation AdjustOrderLines($adjustments: [AdjustOrderLineInput!]!) {\n adjustOrderLines(adjustments: $adjustments) {\n order {\n ...ShopOrderField\n }\n errors {\n index\n errorCode\n variables\n }\n }\n}\n\nfragment ShopOrderField on Order {\n id\n createdAt\n updatedAt\n code\n state\n active\n type\n orderPlacedAt\n currencyCode\n total\n totalQuantity\n totalWithTax\n subTotal\n subTotalWithTax\n shipping\n shippingWithTax\n couponCodes\n version\n billingAddress {\n ...ShopOrderAddressField\n }\n shippingAddress {\n ...ShopOrderAddressField\n }\n customer {\n id\n createdAt\n updatedAt\n title\n firstName\n lastName\n phoneNumber\n emailAddress\n }\n lines {\n ...ShopOrderLineField\n }\n payments {\n id\n createdAt\n updatedAt\n state\n amount\n providerCode\n transactionId\n errorMessage\n metadata\n orderId\n refunds {\n id\n createdAt\n updatedAt\n total\n reason\n state\n transactionId\n method\n metadata\n paymentId\n }\n }\n fulfillments {\n id\n createdAt\n updatedAt\n state\n method\n trackingCode\n handlerCode\n lines {\n id\n createdAt\n updatedAt\n quantity\n orderLineId\n }\n }\n shippingLines {\n ...ShopShippingLineField\n }\n surcharges {\n ...ShopSurchargeField\n }\n modifications {\n id\n createdAt\n updatedAt\n priceChange\n note\n isSettled\n changes {\n orderLineId\n productVariantId\n type\n quantityBefore\n quantityAfter\n unitPriceBefore\n unitPriceAfter\n }\n surcharges {\n id\n description\n listPrice\n }\n payment {\n id\n state\n amount\n }\n refund {\n id\n total\n state\n }\n }\n promotions {\n id\n }\n discounts {\n ...ShopDiscountField\n }\n taxSummary {\n ...ShopTaxSummaryField\n }\n nextStates\n recentShippingMethod {\n id\n carrier\n service\n amount\n currency\n estimatedDays\n selected\n providerCode\n }\n recentToken {\n ...ShopPaymentTokenField\n }\n}\n\nfragment ShopOrderAddressField on OrderAddress {\n fullName\n company\n streetLine1\n streetLine2\n city\n province\n postalCode\n country {\n id\n code\n name\n }\n phoneNumber\n}\n\nfragment ShopOrderLineField on OrderLine {\n id\n createdAt\n updatedAt\n quantity\n productVariantId\n unitPrice\n unitPriceWithTax\n linePrice\n linePriceWithTax\n listPrice\n listPriceIncludesTax\n orderPlacedQuantity\n adjustments {\n ...ShopAdjustmentField\n }\n taxLines {\n ...ShopTaxLineField\n }\n productVariant {\n id\n createdAt\n updatedAt\n sku\n name\n price\n priceWithTax\n stockOnHand\n enabled\n }\n shippingLine {\n ...ShopShippingLineField\n }\n taxCategory {\n id\n }\n featuredAsset {\n id\n }\n}\n\nfragment ShopAdjustmentField on Adjustment {\n amount\n description\n orderLineId\n shippingLineId\n}\n\nfragment ShopTaxLineField on OrderTaxLine {\n taxRate\n description\n taxAmount\n}\n\nfragment ShopShippingLineField on ShippingLine {\n id\n createdAt\n updatedAt\n listPrice\n listPriceWithTax\n listPriceIncludesTax\n adjustments {\n ...ShopAdjustmentField\n }\n taxLines {\n ...ShopTaxLineField\n }\n}\n\nfragment ShopSurchargeField on Surcharge {\n id\n createdAt\n updatedAt\n description\n listPrice\n listPriceIncludesTax\n sku\n taxRate\n}\n\nfragment ShopDiscountField on OrderDiscount {\n description\n amount\n amountWithTax\n}\n\nfragment ShopTaxSummaryField on OrderTaxSummary {\n description\n taxRate\n taxBase\n taxTotal\n}\n\nfragment ShopPaymentTokenField on PaymentGatewayToken {\n id\n displayName\n type\n isDefault\n providerCode\n createdAt\n updatedAt\n}";
411
431
  export declare const shopRemoveItemsFromOrderDocument = "mutation RemoveItemsFromOrder($orderLineIds: [ID!]!) {\n removeItemsFromOrder(orderLineIds: $orderLineIds) {\n order {\n ...ShopOrderField\n }\n errors {\n index\n errorCode\n variables\n }\n }\n}\n\nfragment ShopOrderField on Order {\n id\n createdAt\n updatedAt\n code\n state\n active\n type\n orderPlacedAt\n currencyCode\n total\n totalQuantity\n totalWithTax\n subTotal\n subTotalWithTax\n shipping\n shippingWithTax\n couponCodes\n version\n billingAddress {\n ...ShopOrderAddressField\n }\n shippingAddress {\n ...ShopOrderAddressField\n }\n customer {\n id\n createdAt\n updatedAt\n title\n firstName\n lastName\n phoneNumber\n emailAddress\n }\n lines {\n ...ShopOrderLineField\n }\n payments {\n id\n createdAt\n updatedAt\n state\n amount\n providerCode\n transactionId\n errorMessage\n metadata\n orderId\n refunds {\n id\n createdAt\n updatedAt\n total\n reason\n state\n transactionId\n method\n metadata\n paymentId\n }\n }\n fulfillments {\n id\n createdAt\n updatedAt\n state\n method\n trackingCode\n handlerCode\n lines {\n id\n createdAt\n updatedAt\n quantity\n orderLineId\n }\n }\n shippingLines {\n ...ShopShippingLineField\n }\n surcharges {\n ...ShopSurchargeField\n }\n modifications {\n id\n createdAt\n updatedAt\n priceChange\n note\n isSettled\n changes {\n orderLineId\n productVariantId\n type\n quantityBefore\n quantityAfter\n unitPriceBefore\n unitPriceAfter\n }\n surcharges {\n id\n description\n listPrice\n }\n payment {\n id\n state\n amount\n }\n refund {\n id\n total\n state\n }\n }\n promotions {\n id\n }\n discounts {\n ...ShopDiscountField\n }\n taxSummary {\n ...ShopTaxSummaryField\n }\n nextStates\n recentShippingMethod {\n id\n carrier\n service\n amount\n currency\n estimatedDays\n selected\n providerCode\n }\n recentToken {\n ...ShopPaymentTokenField\n }\n}\n\nfragment ShopOrderAddressField on OrderAddress {\n fullName\n company\n streetLine1\n streetLine2\n city\n province\n postalCode\n country {\n id\n code\n name\n }\n phoneNumber\n}\n\nfragment ShopOrderLineField on OrderLine {\n id\n createdAt\n updatedAt\n quantity\n productVariantId\n unitPrice\n unitPriceWithTax\n linePrice\n linePriceWithTax\n listPrice\n listPriceIncludesTax\n orderPlacedQuantity\n adjustments {\n ...ShopAdjustmentField\n }\n taxLines {\n ...ShopTaxLineField\n }\n productVariant {\n id\n createdAt\n updatedAt\n sku\n name\n price\n priceWithTax\n stockOnHand\n enabled\n }\n shippingLine {\n ...ShopShippingLineField\n }\n taxCategory {\n id\n }\n featuredAsset {\n id\n }\n}\n\nfragment ShopAdjustmentField on Adjustment {\n amount\n description\n orderLineId\n shippingLineId\n}\n\nfragment ShopTaxLineField on OrderTaxLine {\n taxRate\n description\n taxAmount\n}\n\nfragment ShopShippingLineField on ShippingLine {\n id\n createdAt\n updatedAt\n listPrice\n listPriceWithTax\n listPriceIncludesTax\n adjustments {\n ...ShopAdjustmentField\n }\n taxLines {\n ...ShopTaxLineField\n }\n}\n\nfragment ShopSurchargeField on Surcharge {\n id\n createdAt\n updatedAt\n description\n listPrice\n listPriceIncludesTax\n sku\n taxRate\n}\n\nfragment ShopDiscountField on OrderDiscount {\n description\n amount\n amountWithTax\n}\n\nfragment ShopTaxSummaryField on OrderTaxSummary {\n description\n taxRate\n taxBase\n taxTotal\n}\n\nfragment ShopPaymentTokenField on PaymentGatewayToken {\n id\n displayName\n type\n isDefault\n providerCode\n createdAt\n updatedAt\n}";
432
+ export declare const shopSetCurrencyDocument = "mutation SetCurrency($currencyCode: String!) {\n setCurrency(currencyCode: $currencyCode) {\n ...ShopChannelField\n }\n}\n\nfragment ShopChannelField on Channel {\n id\n code\n defaultLanguageCode\n defaultCurrencyCode\n availableLanguageCodes\n availableCurrencyCodes\n pricesIncludeTax\n}";
433
+ export declare const shopSetLanguageDocument = "mutation SetLanguage($languageCode: String!) {\n setLanguage(languageCode: $languageCode) {\n ...ShopChannelField\n }\n}\n\nfragment ShopChannelField on Channel {\n id\n code\n defaultLanguageCode\n defaultCurrencyCode\n availableLanguageCodes\n availableCurrencyCodes\n pricesIncludeTax\n}";
412
434
  export declare const shopSetOrderShippingAddressDocument = "mutation SetOrderShippingAddress($input: CreateAddressInput!) {\n setOrderShippingAddress(input: $input) {\n ...ShopOrderField\n }\n}\n\nfragment ShopOrderField on Order {\n id\n createdAt\n updatedAt\n code\n state\n active\n type\n orderPlacedAt\n currencyCode\n total\n totalQuantity\n totalWithTax\n subTotal\n subTotalWithTax\n shipping\n shippingWithTax\n couponCodes\n version\n billingAddress {\n ...ShopOrderAddressField\n }\n shippingAddress {\n ...ShopOrderAddressField\n }\n customer {\n id\n createdAt\n updatedAt\n title\n firstName\n lastName\n phoneNumber\n emailAddress\n }\n lines {\n ...ShopOrderLineField\n }\n payments {\n id\n createdAt\n updatedAt\n state\n amount\n providerCode\n transactionId\n errorMessage\n metadata\n orderId\n refunds {\n id\n createdAt\n updatedAt\n total\n reason\n state\n transactionId\n method\n metadata\n paymentId\n }\n }\n fulfillments {\n id\n createdAt\n updatedAt\n state\n method\n trackingCode\n handlerCode\n lines {\n id\n createdAt\n updatedAt\n quantity\n orderLineId\n }\n }\n shippingLines {\n ...ShopShippingLineField\n }\n surcharges {\n ...ShopSurchargeField\n }\n modifications {\n id\n createdAt\n updatedAt\n priceChange\n note\n isSettled\n changes {\n orderLineId\n productVariantId\n type\n quantityBefore\n quantityAfter\n unitPriceBefore\n unitPriceAfter\n }\n surcharges {\n id\n description\n listPrice\n }\n payment {\n id\n state\n amount\n }\n refund {\n id\n total\n state\n }\n }\n promotions {\n id\n }\n discounts {\n ...ShopDiscountField\n }\n taxSummary {\n ...ShopTaxSummaryField\n }\n nextStates\n recentShippingMethod {\n id\n carrier\n service\n amount\n currency\n estimatedDays\n selected\n providerCode\n }\n recentToken {\n ...ShopPaymentTokenField\n }\n}\n\nfragment ShopOrderAddressField on OrderAddress {\n fullName\n company\n streetLine1\n streetLine2\n city\n province\n postalCode\n country {\n id\n code\n name\n }\n phoneNumber\n}\n\nfragment ShopOrderLineField on OrderLine {\n id\n createdAt\n updatedAt\n quantity\n productVariantId\n unitPrice\n unitPriceWithTax\n linePrice\n linePriceWithTax\n listPrice\n listPriceIncludesTax\n orderPlacedQuantity\n adjustments {\n ...ShopAdjustmentField\n }\n taxLines {\n ...ShopTaxLineField\n }\n productVariant {\n id\n createdAt\n updatedAt\n sku\n name\n price\n priceWithTax\n stockOnHand\n enabled\n }\n shippingLine {\n ...ShopShippingLineField\n }\n taxCategory {\n id\n }\n featuredAsset {\n id\n }\n}\n\nfragment ShopAdjustmentField on Adjustment {\n amount\n description\n orderLineId\n shippingLineId\n}\n\nfragment ShopTaxLineField on OrderTaxLine {\n taxRate\n description\n taxAmount\n}\n\nfragment ShopShippingLineField on ShippingLine {\n id\n createdAt\n updatedAt\n listPrice\n listPriceWithTax\n listPriceIncludesTax\n adjustments {\n ...ShopAdjustmentField\n }\n taxLines {\n ...ShopTaxLineField\n }\n}\n\nfragment ShopSurchargeField on Surcharge {\n id\n createdAt\n updatedAt\n description\n listPrice\n listPriceIncludesTax\n sku\n taxRate\n}\n\nfragment ShopDiscountField on OrderDiscount {\n description\n amount\n amountWithTax\n}\n\nfragment ShopTaxSummaryField on OrderTaxSummary {\n description\n taxRate\n taxBase\n taxTotal\n}\n\nfragment ShopPaymentTokenField on PaymentGatewayToken {\n id\n displayName\n type\n isDefault\n providerCode\n createdAt\n updatedAt\n}";
413
435
  export declare const shopSetOrderBillingAddressDocument = "mutation SetOrderBillingAddress($input: CreateAddressInput!) {\n setOrderBillingAddress(input: $input) {\n ...ShopOrderField\n }\n}\n\nfragment ShopOrderField on Order {\n id\n createdAt\n updatedAt\n code\n state\n active\n type\n orderPlacedAt\n currencyCode\n total\n totalQuantity\n totalWithTax\n subTotal\n subTotalWithTax\n shipping\n shippingWithTax\n couponCodes\n version\n billingAddress {\n ...ShopOrderAddressField\n }\n shippingAddress {\n ...ShopOrderAddressField\n }\n customer {\n id\n createdAt\n updatedAt\n title\n firstName\n lastName\n phoneNumber\n emailAddress\n }\n lines {\n ...ShopOrderLineField\n }\n payments {\n id\n createdAt\n updatedAt\n state\n amount\n providerCode\n transactionId\n errorMessage\n metadata\n orderId\n refunds {\n id\n createdAt\n updatedAt\n total\n reason\n state\n transactionId\n method\n metadata\n paymentId\n }\n }\n fulfillments {\n id\n createdAt\n updatedAt\n state\n method\n trackingCode\n handlerCode\n lines {\n id\n createdAt\n updatedAt\n quantity\n orderLineId\n }\n }\n shippingLines {\n ...ShopShippingLineField\n }\n surcharges {\n ...ShopSurchargeField\n }\n modifications {\n id\n createdAt\n updatedAt\n priceChange\n note\n isSettled\n changes {\n orderLineId\n productVariantId\n type\n quantityBefore\n quantityAfter\n unitPriceBefore\n unitPriceAfter\n }\n surcharges {\n id\n description\n listPrice\n }\n payment {\n id\n state\n amount\n }\n refund {\n id\n total\n state\n }\n }\n promotions {\n id\n }\n discounts {\n ...ShopDiscountField\n }\n taxSummary {\n ...ShopTaxSummaryField\n }\n nextStates\n recentShippingMethod {\n id\n carrier\n service\n amount\n currency\n estimatedDays\n selected\n providerCode\n }\n recentToken {\n ...ShopPaymentTokenField\n }\n}\n\nfragment ShopOrderAddressField on OrderAddress {\n fullName\n company\n streetLine1\n streetLine2\n city\n province\n postalCode\n country {\n id\n code\n name\n }\n phoneNumber\n}\n\nfragment ShopOrderLineField on OrderLine {\n id\n createdAt\n updatedAt\n quantity\n productVariantId\n unitPrice\n unitPriceWithTax\n linePrice\n linePriceWithTax\n listPrice\n listPriceIncludesTax\n orderPlacedQuantity\n adjustments {\n ...ShopAdjustmentField\n }\n taxLines {\n ...ShopTaxLineField\n }\n productVariant {\n id\n createdAt\n updatedAt\n sku\n name\n price\n priceWithTax\n stockOnHand\n enabled\n }\n shippingLine {\n ...ShopShippingLineField\n }\n taxCategory {\n id\n }\n featuredAsset {\n id\n }\n}\n\nfragment ShopAdjustmentField on Adjustment {\n amount\n description\n orderLineId\n shippingLineId\n}\n\nfragment ShopTaxLineField on OrderTaxLine {\n taxRate\n description\n taxAmount\n}\n\nfragment ShopShippingLineField on ShippingLine {\n id\n createdAt\n updatedAt\n listPrice\n listPriceWithTax\n listPriceIncludesTax\n adjustments {\n ...ShopAdjustmentField\n }\n taxLines {\n ...ShopTaxLineField\n }\n}\n\nfragment ShopSurchargeField on Surcharge {\n id\n createdAt\n updatedAt\n description\n listPrice\n listPriceIncludesTax\n sku\n taxRate\n}\n\nfragment ShopDiscountField on OrderDiscount {\n description\n amount\n amountWithTax\n}\n\nfragment ShopTaxSummaryField on OrderTaxSummary {\n description\n taxRate\n taxBase\n taxTotal\n}\n\nfragment ShopPaymentTokenField on PaymentGatewayToken {\n id\n displayName\n type\n isDefault\n providerCode\n createdAt\n updatedAt\n}";
414
436
  export declare const shopTransitionOrderToStateDocument = "mutation TransitionOrderToState($input: TransitionOrderStateInput!) {\n transitionOrderToState(input: $input) {\n ...ShopOrderField\n }\n}\n\nfragment ShopOrderField on Order {\n id\n createdAt\n updatedAt\n code\n state\n active\n type\n orderPlacedAt\n currencyCode\n total\n totalQuantity\n totalWithTax\n subTotal\n subTotalWithTax\n shipping\n shippingWithTax\n couponCodes\n version\n billingAddress {\n ...ShopOrderAddressField\n }\n shippingAddress {\n ...ShopOrderAddressField\n }\n customer {\n id\n createdAt\n updatedAt\n title\n firstName\n lastName\n phoneNumber\n emailAddress\n }\n lines {\n ...ShopOrderLineField\n }\n payments {\n id\n createdAt\n updatedAt\n state\n amount\n providerCode\n transactionId\n errorMessage\n metadata\n orderId\n refunds {\n id\n createdAt\n updatedAt\n total\n reason\n state\n transactionId\n method\n metadata\n paymentId\n }\n }\n fulfillments {\n id\n createdAt\n updatedAt\n state\n method\n trackingCode\n handlerCode\n lines {\n id\n createdAt\n updatedAt\n quantity\n orderLineId\n }\n }\n shippingLines {\n ...ShopShippingLineField\n }\n surcharges {\n ...ShopSurchargeField\n }\n modifications {\n id\n createdAt\n updatedAt\n priceChange\n note\n isSettled\n changes {\n orderLineId\n productVariantId\n type\n quantityBefore\n quantityAfter\n unitPriceBefore\n unitPriceAfter\n }\n surcharges {\n id\n description\n listPrice\n }\n payment {\n id\n state\n amount\n }\n refund {\n id\n total\n state\n }\n }\n promotions {\n id\n }\n discounts {\n ...ShopDiscountField\n }\n taxSummary {\n ...ShopTaxSummaryField\n }\n nextStates\n recentShippingMethod {\n id\n carrier\n service\n amount\n currency\n estimatedDays\n selected\n providerCode\n }\n recentToken {\n ...ShopPaymentTokenField\n }\n}\n\nfragment ShopOrderAddressField on OrderAddress {\n fullName\n company\n streetLine1\n streetLine2\n city\n province\n postalCode\n country {\n id\n code\n name\n }\n phoneNumber\n}\n\nfragment ShopOrderLineField on OrderLine {\n id\n createdAt\n updatedAt\n quantity\n productVariantId\n unitPrice\n unitPriceWithTax\n linePrice\n linePriceWithTax\n listPrice\n listPriceIncludesTax\n orderPlacedQuantity\n adjustments {\n ...ShopAdjustmentField\n }\n taxLines {\n ...ShopTaxLineField\n }\n productVariant {\n id\n createdAt\n updatedAt\n sku\n name\n price\n priceWithTax\n stockOnHand\n enabled\n }\n shippingLine {\n ...ShopShippingLineField\n }\n taxCategory {\n id\n }\n featuredAsset {\n id\n }\n}\n\nfragment ShopAdjustmentField on Adjustment {\n amount\n description\n orderLineId\n shippingLineId\n}\n\nfragment ShopTaxLineField on OrderTaxLine {\n taxRate\n description\n taxAmount\n}\n\nfragment ShopShippingLineField on ShippingLine {\n id\n createdAt\n updatedAt\n listPrice\n listPriceWithTax\n listPriceIncludesTax\n adjustments {\n ...ShopAdjustmentField\n }\n taxLines {\n ...ShopTaxLineField\n }\n}\n\nfragment ShopSurchargeField on Surcharge {\n id\n createdAt\n updatedAt\n description\n listPrice\n listPriceIncludesTax\n sku\n taxRate\n}\n\nfragment ShopDiscountField on OrderDiscount {\n description\n amount\n amountWithTax\n}\n\nfragment ShopTaxSummaryField on OrderTaxSummary {\n description\n taxRate\n taxBase\n taxTotal\n}\n\nfragment ShopPaymentTokenField on PaymentGatewayToken {\n id\n displayName\n type\n isDefault\n providerCode\n createdAt\n updatedAt\n}";