@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.
Files changed (43) hide show
  1. package/README.md +84 -1
  2. package/dist/admin-types.generated.d.ts +593 -33
  3. package/dist/admin.d.ts +4 -0
  4. package/dist/admin.generated.d.ts +82 -26
  5. package/dist/admin.generated.js +122 -2
  6. package/dist/admin.js +49 -43
  7. package/dist/client.generated.d.ts +40 -7
  8. package/dist/client.generated.js +162 -87
  9. package/dist/documents.generated.d.ts +38 -8
  10. package/dist/documents.generated.js +594 -36
  11. package/dist/index.d.ts +1 -1
  12. package/dist/index.js +1 -3
  13. package/dist/nest.generated.d.ts +13 -0
  14. package/dist/nest.generated.js +92 -0
  15. package/dist/shop-types.generated.d.ts +200 -13
  16. package/dist/shop.d.ts +2 -0
  17. package/dist/shop.generated.d.ts +13 -4
  18. package/dist/shop.generated.js +19 -1
  19. package/dist/shop.js +17 -15
  20. package/package.json +21 -4
  21. package/src/admin-types.generated.d.ts +10013 -0
  22. package/src/admin-types.generated.ts +1210 -88
  23. package/src/admin.generated.d.ts +806 -0
  24. package/src/admin.generated.ts +151 -27
  25. package/src/admin.ts +5 -1
  26. package/src/client.generated.d.ts +249 -0
  27. package/src/client.generated.ts +188 -39
  28. package/src/documents.generated.d.ts +473 -0
  29. package/src/documents.generated.ts +615 -27
  30. package/src/error-utils.d.ts +25 -0
  31. package/src/hook-event-map.generated.d.ts +243 -0
  32. package/src/index.d.ts +22 -0
  33. package/src/index.ts +1 -1
  34. package/src/nest.generated.ts +45 -0
  35. package/src/sdk-hook-subscription.generated.d.ts +29 -0
  36. package/src/sdk-plugin.generated.d.ts +38 -0
  37. package/src/sdk-types.generated.d.ts +56 -0
  38. package/src/shop-types.generated.d.ts +4786 -0
  39. package/src/shop-types.generated.ts +271 -13
  40. package/src/shop.generated.d.ts +213 -0
  41. package/src/shop.generated.ts +22 -5
  42. package/src/shop.ts +3 -1
  43. package/src/upload.d.ts +14 -0
@@ -1607,13 +1607,9 @@ fragment ChannelSettingsField on ChannelSettings {
1607
1607
  defaultPaymentProviderCode
1608
1608
  defaultWeightUnit
1609
1609
  defaultDimensionUnit
1610
- manualShippingRates {
1611
- code
1612
- name
1613
- amount
1614
- currency
1615
- estimatedDays
1616
- }
1610
+ autoCurrencyExchange
1611
+ fxRoundingRule
1612
+ fxMarkupPercent
1617
1613
  }`;
1618
1614
 
1619
1615
  export const adminChannelUpdateSettingsDocument = `mutation ChannelUpdateSettings($input: UpdateChannelSettingsInput!) {
@@ -1632,13 +1628,9 @@ fragment ChannelSettingsField on ChannelSettings {
1632
1628
  defaultPaymentProviderCode
1633
1629
  defaultWeightUnit
1634
1630
  defaultDimensionUnit
1635
- manualShippingRates {
1636
- code
1637
- name
1638
- amount
1639
- currency
1640
- estimatedDays
1641
- }
1631
+ autoCurrencyExchange
1632
+ fxRoundingRule
1633
+ fxMarkupPercent
1642
1634
  }`;
1643
1635
 
1644
1636
  export const adminChannelDocument = `query Channel($id: ID!) {
@@ -1654,6 +1646,7 @@ fragment ChannelField on Channel {
1654
1646
  code
1655
1647
  token
1656
1648
  secret
1649
+ previewUrl
1657
1650
  defaultLanguageCode
1658
1651
  defaultCurrencyCode
1659
1652
  availableLanguageCodes
@@ -1683,6 +1676,7 @@ fragment ChannelField on Channel {
1683
1676
  code
1684
1677
  token
1685
1678
  secret
1679
+ previewUrl
1686
1680
  defaultLanguageCode
1687
1681
  defaultCurrencyCode
1688
1682
  availableLanguageCodes
@@ -1709,6 +1703,7 @@ fragment ChannelField on Channel {
1709
1703
  code
1710
1704
  token
1711
1705
  secret
1706
+ previewUrl
1712
1707
  defaultLanguageCode
1713
1708
  defaultCurrencyCode
1714
1709
  availableLanguageCodes
@@ -1735,6 +1730,7 @@ fragment ChannelField on Channel {
1735
1730
  code
1736
1731
  token
1737
1732
  secret
1733
+ previewUrl
1738
1734
  defaultLanguageCode
1739
1735
  defaultCurrencyCode
1740
1736
  availableLanguageCodes
@@ -1768,13 +1764,9 @@ fragment ChannelSettingsField on ChannelSettings {
1768
1764
  defaultPaymentProviderCode
1769
1765
  defaultWeightUnit
1770
1766
  defaultDimensionUnit
1771
- manualShippingRates {
1772
- code
1773
- name
1774
- amount
1775
- currency
1776
- estimatedDays
1777
- }
1767
+ autoCurrencyExchange
1768
+ fxRoundingRule
1769
+ fxMarkupPercent
1778
1770
  }`;
1779
1771
 
1780
1772
  export const adminProvisionChannelDocument = `mutation ProvisionChannel($input: ProvisionChannelInput!) {
@@ -1802,6 +1794,7 @@ fragment ChannelField on Channel {
1802
1794
  code
1803
1795
  token
1804
1796
  secret
1797
+ previewUrl
1805
1798
  defaultLanguageCode
1806
1799
  defaultCurrencyCode
1807
1800
  availableLanguageCodes
@@ -1825,13 +1818,173 @@ fragment ChannelSettingsField on ChannelSettings {
1825
1818
  defaultPaymentProviderCode
1826
1819
  defaultWeightUnit
1827
1820
  defaultDimensionUnit
1828
- manualShippingRates {
1829
- code
1830
- name
1831
- amount
1832
- currency
1833
- estimatedDays
1821
+ autoCurrencyExchange
1822
+ fxRoundingRule
1823
+ fxMarkupPercent
1824
+ }`;
1825
+
1826
+ export const adminStartChatSessionDocument = `mutation StartChatSession($input: StartChatSessionInput) {
1827
+ startChatSession(input: $input) {
1828
+ ...ChatSessionField
1829
+ }
1830
+ }
1831
+
1832
+ fragment ChatSessionField on ChatSession {
1833
+ sessionId
1834
+ channelToken
1835
+ userId
1836
+ createdAt
1837
+ lastActivity
1838
+ messageCount
1839
+ status
1840
+ }`;
1841
+
1842
+ export const adminSendChatMessageDocument = `mutation SendChatMessage($input: SendChatMessageInput!) {
1843
+ sendChatMessage(input: $input) {
1844
+ ...ChatMessageField
1845
+ }
1846
+ }
1847
+
1848
+ fragment ChatMessageField on ChatMessage {
1849
+ type
1850
+ content
1851
+ toolUse {
1852
+ toolId
1853
+ toolName
1854
+ input
1855
+ }
1856
+ toolResult {
1857
+ toolId
1858
+ result
1859
+ isError
1834
1860
  }
1861
+ timestamp
1862
+ isFinal
1863
+ eventId
1864
+ }`;
1865
+
1866
+ export const adminChatMessageStreamDocument = `subscription ChatMessageStream($input: SendChatMessageInput!) {
1867
+ chatMessageStream(input: $input) {
1868
+ ...ChatMessageField
1869
+ }
1870
+ }
1871
+
1872
+ fragment ChatMessageField on ChatMessage {
1873
+ type
1874
+ content
1875
+ toolUse {
1876
+ toolId
1877
+ toolName
1878
+ input
1879
+ }
1880
+ toolResult {
1881
+ toolId
1882
+ result
1883
+ isError
1884
+ }
1885
+ timestamp
1886
+ isFinal
1887
+ eventId
1888
+ }`;
1889
+
1890
+ export const adminResumeChatSessionDocument = `subscription ResumeChatSession($input: ResumeChatSessionInput!) {
1891
+ resumeChatSession(input: $input) {
1892
+ ...ChatMessageField
1893
+ }
1894
+ }
1895
+
1896
+ fragment ChatMessageField on ChatMessage {
1897
+ type
1898
+ content
1899
+ toolUse {
1900
+ toolId
1901
+ toolName
1902
+ input
1903
+ }
1904
+ toolResult {
1905
+ toolId
1906
+ result
1907
+ isError
1908
+ }
1909
+ timestamp
1910
+ isFinal
1911
+ eventId
1912
+ }`;
1913
+
1914
+ export const adminCloseChatSessionDocument = `mutation CloseChatSession($sessionId: ID!) {
1915
+ closeChatSession(sessionId: $sessionId)
1916
+ }`;
1917
+
1918
+ export const adminClearChatHistoryDocument = `mutation ClearChatHistory($sessionId: ID!) {
1919
+ clearChatHistory(sessionId: $sessionId)
1920
+ }`;
1921
+
1922
+ export const adminEnqueueChatMessageDocument = `mutation EnqueueChatMessage($input: EnqueueChatMessageInput!) {
1923
+ enqueueChatMessage(input: $input)
1924
+ }`;
1925
+
1926
+ export const adminChatQueueDocument = `query ChatQueue($sessionId: ID!) {
1927
+ chatQueue(sessionId: $sessionId) {
1928
+ id
1929
+ kind
1930
+ content
1931
+ }
1932
+ }`;
1933
+
1934
+ export const adminChatHistoryDocument = `query ChatHistory($input: ChatHistoryInput!) {
1935
+ chatHistory(input: $input) {
1936
+ ...ChatHistoryMessageField
1937
+ }
1938
+ }
1939
+
1940
+ fragment ChatHistoryMessageField on ChatHistoryMessage {
1941
+ id
1942
+ role
1943
+ content
1944
+ toolUse
1945
+ toolResult
1946
+ seq
1947
+ eventId
1948
+ timestamp
1949
+ }`;
1950
+
1951
+ export const adminChatSessionsDocument = `query ChatSessions($input: ChatSessionsInput) {
1952
+ chatSessions(input: $input) {
1953
+ items {
1954
+ ...ChatSessionSummaryField
1955
+ }
1956
+ totalItems
1957
+ }
1958
+ }
1959
+
1960
+ fragment ChatSessionSummaryField on ChatSessionSummary {
1961
+ id
1962
+ agentSessionId
1963
+ title
1964
+ status
1965
+ origin
1966
+ messageCount
1967
+ lastActivityAt
1968
+ createdAt
1969
+ workspaceId
1970
+ }`;
1971
+
1972
+ export const adminArchiveChatSessionDocument = `mutation ArchiveChatSession($sessionId: ID!) {
1973
+ archiveChatSession(sessionId: $sessionId)
1974
+ }`;
1975
+
1976
+ export const adminWorkspaceReadinessDocument = `subscription WorkspaceReadiness {
1977
+ workspaceReadiness {
1978
+ ...WorkspaceReadinessField
1979
+ }
1980
+ }
1981
+
1982
+ fragment WorkspaceReadinessField on WorkspaceReadiness {
1983
+ workspaceId
1984
+ podState
1985
+ serverState
1986
+ chatBindingState
1987
+ endpoint
1835
1988
  }`;
1836
1989
 
1837
1990
  export const adminAdminCollectionDocument = `query AdminCollection($id: ID!) {
@@ -3836,6 +3989,85 @@ export const adminEmitDocument = `mutation Emit($input: EmitCustomEventInput!) {
3836
3989
  emit(input: $input)
3837
3990
  }`;
3838
3991
 
3992
+ export const adminMarketsDocument = `query Markets($options: ListQueryOptions) {
3993
+ markets(options: $options) {
3994
+ items {
3995
+ ...MarketField
3996
+ }
3997
+ totalItems
3998
+ }
3999
+ }
4000
+
4001
+ fragment MarketField on Market {
4002
+ id
4003
+ createdAt
4004
+ updatedAt
4005
+ name
4006
+ enabled
4007
+ currencyCode
4008
+ languageCode
4009
+ channelId
4010
+ countries {
4011
+ id
4012
+ code
4013
+ name
4014
+ enabled
4015
+ }
4016
+ }`;
4017
+
4018
+ export const adminCreateMarketDocument = `mutation CreateMarket($input: CreateMarketInput!) {
4019
+ createMarket(input: $input) {
4020
+ ...MarketField
4021
+ }
4022
+ }
4023
+
4024
+ fragment MarketField on Market {
4025
+ id
4026
+ createdAt
4027
+ updatedAt
4028
+ name
4029
+ enabled
4030
+ currencyCode
4031
+ languageCode
4032
+ channelId
4033
+ countries {
4034
+ id
4035
+ code
4036
+ name
4037
+ enabled
4038
+ }
4039
+ }`;
4040
+
4041
+ export const adminUpdateMarketDocument = `mutation UpdateMarket($input: UpdateMarketInput!) {
4042
+ updateMarket(input: $input) {
4043
+ ...MarketField
4044
+ }
4045
+ }
4046
+
4047
+ fragment MarketField on Market {
4048
+ id
4049
+ createdAt
4050
+ updatedAt
4051
+ name
4052
+ enabled
4053
+ currencyCode
4054
+ languageCode
4055
+ channelId
4056
+ countries {
4057
+ id
4058
+ code
4059
+ name
4060
+ enabled
4061
+ }
4062
+ }`;
4063
+
4064
+ export const adminDeleteMarketDocument = `mutation DeleteMarket($id: ID!) {
4065
+ deleteMarket(id: $id) {
4066
+ result
4067
+ message
4068
+ }
4069
+ }`;
4070
+
3839
4071
  export const adminAdminAttributionByOrderDocument = `query AdminAttributionByOrder($input: AttributionByOrderInput!) {
3840
4072
  attributionByOrder(input: $input) {
3841
4073
  id
@@ -4015,6 +4247,195 @@ fragment AdminMarketingIdentityIdentifierFields on MarketingIdentityIdentifier {
4015
4247
  position
4016
4248
  }`;
4017
4249
 
4250
+ export const adminAdminMissionsDocument = `query AdminMissions($options: MissionListOptions) {
4251
+ missions(options: $options) {
4252
+ items {
4253
+ ...MissionField
4254
+ }
4255
+ totalItems
4256
+ }
4257
+ }
4258
+
4259
+ fragment MissionField on Mission {
4260
+ id
4261
+ status
4262
+ title
4263
+ model
4264
+ repos {
4265
+ ...MissionRepoRefField
4266
+ }
4267
+ branch
4268
+ prUrl
4269
+ podRef
4270
+ costCents
4271
+ channelId
4272
+ administratorId
4273
+ workspaceId
4274
+ createdAt
4275
+ updatedAt
4276
+ }
4277
+
4278
+ fragment MissionRepoRefField on MissionRepoRef {
4279
+ owner
4280
+ name
4281
+ branch
4282
+ }`;
4283
+
4284
+ export const adminAdminMissionDocument = `query AdminMission($id: ID!) {
4285
+ mission(id: $id) {
4286
+ ...MissionField
4287
+ }
4288
+ }
4289
+
4290
+ fragment MissionField on Mission {
4291
+ id
4292
+ status
4293
+ title
4294
+ model
4295
+ repos {
4296
+ ...MissionRepoRefField
4297
+ }
4298
+ branch
4299
+ prUrl
4300
+ podRef
4301
+ costCents
4302
+ channelId
4303
+ administratorId
4304
+ workspaceId
4305
+ createdAt
4306
+ updatedAt
4307
+ }
4308
+
4309
+ fragment MissionRepoRefField on MissionRepoRef {
4310
+ owner
4311
+ name
4312
+ branch
4313
+ }`;
4314
+
4315
+ export const adminAdminCreateMissionDocument = `mutation AdminCreateMission($input: CreateMissionInput!) {
4316
+ createMission(input: $input) {
4317
+ ...MissionField
4318
+ }
4319
+ }
4320
+
4321
+ fragment MissionField on Mission {
4322
+ id
4323
+ status
4324
+ title
4325
+ model
4326
+ repos {
4327
+ ...MissionRepoRefField
4328
+ }
4329
+ branch
4330
+ prUrl
4331
+ podRef
4332
+ costCents
4333
+ channelId
4334
+ administratorId
4335
+ workspaceId
4336
+ createdAt
4337
+ updatedAt
4338
+ }
4339
+
4340
+ fragment MissionRepoRefField on MissionRepoRef {
4341
+ owner
4342
+ name
4343
+ branch
4344
+ }`;
4345
+
4346
+ export const adminAdminCancelMissionDocument = `mutation AdminCancelMission($id: ID!) {
4347
+ cancelMission(id: $id) {
4348
+ ...MissionField
4349
+ }
4350
+ }
4351
+
4352
+ fragment MissionField on Mission {
4353
+ id
4354
+ status
4355
+ title
4356
+ model
4357
+ repos {
4358
+ ...MissionRepoRefField
4359
+ }
4360
+ branch
4361
+ prUrl
4362
+ podRef
4363
+ costCents
4364
+ channelId
4365
+ administratorId
4366
+ workspaceId
4367
+ createdAt
4368
+ updatedAt
4369
+ }
4370
+
4371
+ fragment MissionRepoRefField on MissionRepoRef {
4372
+ owner
4373
+ name
4374
+ branch
4375
+ }`;
4376
+
4377
+ export const adminAdminDeleteMissionDocument = `mutation AdminDeleteMission($id: ID!) {
4378
+ deleteMission(id: $id) {
4379
+ ...MissionField
4380
+ }
4381
+ }
4382
+
4383
+ fragment MissionField on Mission {
4384
+ id
4385
+ status
4386
+ title
4387
+ model
4388
+ repos {
4389
+ ...MissionRepoRefField
4390
+ }
4391
+ branch
4392
+ prUrl
4393
+ podRef
4394
+ costCents
4395
+ channelId
4396
+ administratorId
4397
+ workspaceId
4398
+ createdAt
4399
+ updatedAt
4400
+ }
4401
+
4402
+ fragment MissionRepoRefField on MissionRepoRef {
4403
+ owner
4404
+ name
4405
+ branch
4406
+ }`;
4407
+
4408
+ export const adminAdminSendMissionMessageDocument = `mutation AdminSendMissionMessage($input: SendMissionMessageInput!) {
4409
+ sendMissionMessage(input: $input) {
4410
+ ...MissionField
4411
+ }
4412
+ }
4413
+
4414
+ fragment MissionField on Mission {
4415
+ id
4416
+ status
4417
+ title
4418
+ model
4419
+ repos {
4420
+ ...MissionRepoRefField
4421
+ }
4422
+ branch
4423
+ prUrl
4424
+ podRef
4425
+ costCents
4426
+ channelId
4427
+ administratorId
4428
+ workspaceId
4429
+ createdAt
4430
+ updatedAt
4431
+ }
4432
+
4433
+ fragment MissionRepoRefField on MissionRepoRef {
4434
+ owner
4435
+ name
4436
+ branch
4437
+ }`;
4438
+
4018
4439
  export const adminActiveOnboardingDocument = `query ActiveOnboarding {
4019
4440
  activeOnboarding {
4020
4441
  onboarding {
@@ -15260,6 +15681,21 @@ export const adminDeleteProductVariantsDocument = `mutation DeleteProductVariant
15260
15681
  }
15261
15682
  }`;
15262
15683
 
15684
+ export const adminSetProductVariantPriceDocument = `mutation SetProductVariantPrice($input: SetPriceInput!) {
15685
+ setProductVariantPrice(input: $input) {
15686
+ ...ProductVariantPriceField
15687
+ }
15688
+ }
15689
+
15690
+ fragment ProductVariantPriceField on ProductVariantPrice {
15691
+ id
15692
+ createdAt
15693
+ updatedAt
15694
+ price
15695
+ currencyCode
15696
+ variantId
15697
+ }`;
15698
+
15263
15699
  export const adminAdminProductDocument = `query AdminProduct($id: ID!) {
15264
15700
  product(id: $id) {
15265
15701
  ...ProductField
@@ -17591,6 +18027,126 @@ export const adminAvailableShippingProvidersDocument = `query AvailableShippingP
17591
18027
  }
17592
18028
  }`;
17593
18029
 
18030
+ export const adminShippingGatewayRoutingRulesDocument = `query ShippingGatewayRoutingRules($stockLocationId: ID!) {
18031
+ shippingGatewayRoutingRules(stockLocationId: $stockLocationId) {
18032
+ ...ShippingGatewayRoutingRuleField
18033
+ }
18034
+ }
18035
+
18036
+ fragment ShippingGatewayRoutingRuleField on ShippingGatewayRoutingRule {
18037
+ id
18038
+ stockLocationId
18039
+ scopeType
18040
+ fulfillmentType
18041
+ providerCode
18042
+ priority
18043
+ enabled
18044
+ countries {
18045
+ id
18046
+ code
18047
+ name
18048
+ }
18049
+ flatRates {
18050
+ id
18051
+ code
18052
+ name
18053
+ amount
18054
+ currencyCode
18055
+ estimatedDays
18056
+ }
18057
+ }`;
18058
+
18059
+ export const adminCreateShippingGatewayRoutingRuleDocument = `mutation CreateShippingGatewayRoutingRule($input: CreateShippingGatewayRoutingRuleInput!) {
18060
+ createShippingGatewayRoutingRule(input: $input) {
18061
+ ...ShippingGatewayRoutingRuleField
18062
+ }
18063
+ }
18064
+
18065
+ fragment ShippingGatewayRoutingRuleField on ShippingGatewayRoutingRule {
18066
+ id
18067
+ stockLocationId
18068
+ scopeType
18069
+ fulfillmentType
18070
+ providerCode
18071
+ priority
18072
+ enabled
18073
+ countries {
18074
+ id
18075
+ code
18076
+ name
18077
+ }
18078
+ flatRates {
18079
+ id
18080
+ code
18081
+ name
18082
+ amount
18083
+ currencyCode
18084
+ estimatedDays
18085
+ }
18086
+ }`;
18087
+
18088
+ export const adminUpdateShippingGatewayRoutingRuleDocument = `mutation UpdateShippingGatewayRoutingRule($input: UpdateShippingGatewayRoutingRuleInput!) {
18089
+ updateShippingGatewayRoutingRule(input: $input) {
18090
+ ...ShippingGatewayRoutingRuleField
18091
+ }
18092
+ }
18093
+
18094
+ fragment ShippingGatewayRoutingRuleField on ShippingGatewayRoutingRule {
18095
+ id
18096
+ stockLocationId
18097
+ scopeType
18098
+ fulfillmentType
18099
+ providerCode
18100
+ priority
18101
+ enabled
18102
+ countries {
18103
+ id
18104
+ code
18105
+ name
18106
+ }
18107
+ flatRates {
18108
+ id
18109
+ code
18110
+ name
18111
+ amount
18112
+ currencyCode
18113
+ estimatedDays
18114
+ }
18115
+ }`;
18116
+
18117
+ export const adminDeleteShippingGatewayRoutingRuleDocument = `mutation DeleteShippingGatewayRoutingRule($id: ID!) {
18118
+ deleteShippingGatewayRoutingRule(id: $id)
18119
+ }`;
18120
+
18121
+ export const adminReorderShippingGatewayRoutingRulesDocument = `mutation ReorderShippingGatewayRoutingRules($input: ReorderShippingGatewayRoutingRulesInput!) {
18122
+ reorderShippingGatewayRoutingRules(input: $input) {
18123
+ ...ShippingGatewayRoutingRuleField
18124
+ }
18125
+ }
18126
+
18127
+ fragment ShippingGatewayRoutingRuleField on ShippingGatewayRoutingRule {
18128
+ id
18129
+ stockLocationId
18130
+ scopeType
18131
+ fulfillmentType
18132
+ providerCode
18133
+ priority
18134
+ enabled
18135
+ countries {
18136
+ id
18137
+ code
18138
+ name
18139
+ }
18140
+ flatRates {
18141
+ id
18142
+ code
18143
+ name
18144
+ amount
18145
+ currencyCode
18146
+ estimatedDays
18147
+ }
18148
+ }`;
18149
+
17594
18150
  export const adminStockLocationDocument = `query StockLocation($id: ID!) {
17595
18151
  stockLocation(id: $id) {
17596
18152
  ...StockLocationField
@@ -21885,6 +22441,38 @@ fragment ShopPaymentTokenField on PaymentGatewayToken {
21885
22441
  updatedAt
21886
22442
  }`;
21887
22443
 
22444
+ export const shopSetCurrencyDocument = `mutation SetCurrency($currencyCode: String!) {
22445
+ setCurrency(currencyCode: $currencyCode) {
22446
+ ...ShopChannelField
22447
+ }
22448
+ }
22449
+
22450
+ fragment ShopChannelField on Channel {
22451
+ id
22452
+ code
22453
+ defaultLanguageCode
22454
+ defaultCurrencyCode
22455
+ availableLanguageCodes
22456
+ availableCurrencyCodes
22457
+ pricesIncludeTax
22458
+ }`;
22459
+
22460
+ export const shopSetLanguageDocument = `mutation SetLanguage($languageCode: String!) {
22461
+ setLanguage(languageCode: $languageCode) {
22462
+ ...ShopChannelField
22463
+ }
22464
+ }
22465
+
22466
+ fragment ShopChannelField on Channel {
22467
+ id
22468
+ code
22469
+ defaultLanguageCode
22470
+ defaultCurrencyCode
22471
+ availableLanguageCodes
22472
+ availableCurrencyCodes
22473
+ pricesIncludeTax
22474
+ }`;
22475
+
21888
22476
  export const shopSetOrderShippingAddressDocument = `mutation SetOrderShippingAddress($input: CreateAddressInput!) {
21889
22477
  setOrderShippingAddress(input: $input) {
21890
22478
  ...ShopOrderField