@forgecart/sdk 1.202609211807.0 → 1.202609212307.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/admin-types.generated.d.ts +10 -8
- package/dist/documents.generated.d.ts +6 -6
- package/dist/documents.generated.js +6 -0
- package/dist/shop-types.generated.d.ts +3 -1
- package/package.json +1 -1
- package/src/admin-types.generated.ts +14 -1
- package/src/documents.generated.ts +6 -0
- package/src/shop-types.generated.ts +7 -1
|
@@ -1149,6 +1149,7 @@ export type Channel = {
|
|
|
1149
1149
|
token: Scalars['String']['output'];
|
|
1150
1150
|
trackInventory: Scalars['Boolean']['output'];
|
|
1151
1151
|
updatedAt: Scalars['DateTime']['output'];
|
|
1152
|
+
workspaceMode: ChannelWorkspaceMode;
|
|
1152
1153
|
};
|
|
1153
1154
|
export type ChannelDeploymentInfo = {
|
|
1154
1155
|
channelId: Scalars['ID']['output'];
|
|
@@ -1224,6 +1225,7 @@ export type ChannelSubscriptionSettings = {
|
|
|
1224
1225
|
couponInteraction: SubscriptionCouponInteraction;
|
|
1225
1226
|
id: Scalars['ID']['output'];
|
|
1226
1227
|
};
|
|
1228
|
+
export type ChannelWorkspaceMode = 'always' | 'auto' | 'never';
|
|
1227
1229
|
export type ChatAttachment = {
|
|
1228
1230
|
asset?: Maybe<Asset>;
|
|
1229
1231
|
assetId: Scalars['ID']['output'];
|
|
@@ -5199,8 +5201,8 @@ export type ProvisionChannelInput = {
|
|
|
5199
5201
|
defaultCurrencyCode?: InputMaybe<Scalars['String']['input']>;
|
|
5200
5202
|
defaultLanguageCode?: InputMaybe<Scalars['String']['input']>;
|
|
5201
5203
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
5202
|
-
provisionWorkspace?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5203
5204
|
userId: Scalars['ID']['input'];
|
|
5205
|
+
workspaceMode?: InputMaybe<ChannelWorkspaceMode>;
|
|
5204
5206
|
};
|
|
5205
5207
|
export type ProvisionChannelResult = {
|
|
5206
5208
|
channel: Channel;
|
|
@@ -11147,19 +11149,19 @@ export type AdminDisableAutomationMutation = {
|
|
|
11147
11149
|
triggerFilters: Array<Pick<AutomationTriggerFilter, 'id' | 'propertyPath' | 'operator' | 'position' | 'stringValue' | 'intValue' | 'intValueEnd' | 'floatValue' | 'dateValue' | 'stringArrayValue'>>;
|
|
11148
11150
|
});
|
|
11149
11151
|
};
|
|
11150
|
-
export type ChannelFieldFragment = Pick<Channel, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'token' | 'secret' | 'previewUrl' | 'defaultLanguageCode' | 'defaultCurrencyCode' | 'availableLanguageCodes' | 'availableCurrencyCodes' | 'description' | 'pricesIncludeTax' | 'taxProviderCode' | 'trackInventory' | 'outOfStockThreshold' | 'sellerId' | 'defaultTaxZoneId'>;
|
|
11152
|
+
export type ChannelFieldFragment = Pick<Channel, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'token' | 'secret' | 'previewUrl' | 'defaultLanguageCode' | 'defaultCurrencyCode' | 'availableLanguageCodes' | 'availableCurrencyCodes' | 'description' | 'pricesIncludeTax' | 'taxProviderCode' | 'trackInventory' | 'outOfStockThreshold' | 'workspaceMode' | 'sellerId' | 'defaultTaxZoneId'>;
|
|
11151
11153
|
export type ChannelQueryVariables = Exact<{
|
|
11152
11154
|
id: Scalars['ID']['input'];
|
|
11153
11155
|
}>;
|
|
11154
11156
|
export type ChannelQuery = {
|
|
11155
|
-
channel?: Maybe<Pick<Channel, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'token' | 'secret' | 'previewUrl' | 'defaultLanguageCode' | 'defaultCurrencyCode' | 'availableLanguageCodes' | 'availableCurrencyCodes' | 'description' | 'pricesIncludeTax' | 'taxProviderCode' | 'trackInventory' | 'outOfStockThreshold' | 'sellerId' | 'defaultTaxZoneId'>>;
|
|
11157
|
+
channel?: Maybe<Pick<Channel, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'token' | 'secret' | 'previewUrl' | 'defaultLanguageCode' | 'defaultCurrencyCode' | 'availableLanguageCodes' | 'availableCurrencyCodes' | 'description' | 'pricesIncludeTax' | 'taxProviderCode' | 'trackInventory' | 'outOfStockThreshold' | 'workspaceMode' | 'sellerId' | 'defaultTaxZoneId'>>;
|
|
11156
11158
|
};
|
|
11157
11159
|
export type ChannelsQueryVariables = Exact<{
|
|
11158
11160
|
options?: InputMaybe<ListQueryOptions>;
|
|
11159
11161
|
}>;
|
|
11160
11162
|
export type ChannelsQuery = {
|
|
11161
11163
|
channels: (Pick<ChannelList, 'totalItems'> & {
|
|
11162
|
-
items: Array<Pick<Channel, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'token' | 'secret' | 'previewUrl' | 'defaultLanguageCode' | 'defaultCurrencyCode' | 'availableLanguageCodes' | 'availableCurrencyCodes' | 'description' | 'pricesIncludeTax' | 'taxProviderCode' | 'trackInventory' | 'outOfStockThreshold' | 'sellerId' | 'defaultTaxZoneId'>>;
|
|
11164
|
+
items: Array<Pick<Channel, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'token' | 'secret' | 'previewUrl' | 'defaultLanguageCode' | 'defaultCurrencyCode' | 'availableLanguageCodes' | 'availableCurrencyCodes' | 'description' | 'pricesIncludeTax' | 'taxProviderCode' | 'trackInventory' | 'outOfStockThreshold' | 'workspaceMode' | 'sellerId' | 'defaultTaxZoneId'>>;
|
|
11163
11165
|
});
|
|
11164
11166
|
};
|
|
11165
11167
|
export type ChannelCodeAvailableQueryVariables = Exact<{
|
|
@@ -11170,13 +11172,13 @@ export type UpdateChannelMutationVariables = Exact<{
|
|
|
11170
11172
|
input: UpdateChannelInput;
|
|
11171
11173
|
}>;
|
|
11172
11174
|
export type UpdateChannelMutation = {
|
|
11173
|
-
updateChannel: Pick<Channel, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'token' | 'secret' | 'previewUrl' | 'defaultLanguageCode' | 'defaultCurrencyCode' | 'availableLanguageCodes' | 'availableCurrencyCodes' | 'description' | 'pricesIncludeTax' | 'taxProviderCode' | 'trackInventory' | 'outOfStockThreshold' | 'sellerId' | 'defaultTaxZoneId'>;
|
|
11175
|
+
updateChannel: Pick<Channel, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'token' | 'secret' | 'previewUrl' | 'defaultLanguageCode' | 'defaultCurrencyCode' | 'availableLanguageCodes' | 'availableCurrencyCodes' | 'description' | 'pricesIncludeTax' | 'taxProviderCode' | 'trackInventory' | 'outOfStockThreshold' | 'workspaceMode' | 'sellerId' | 'defaultTaxZoneId'>;
|
|
11174
11176
|
};
|
|
11175
11177
|
export type DeleteChannelMutationVariables = Exact<{
|
|
11176
11178
|
input: DeleteChannelInput;
|
|
11177
11179
|
}>;
|
|
11178
11180
|
export type DeleteChannelMutation = {
|
|
11179
|
-
deleteChannel: Pick<Channel, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'token' | 'secret' | 'previewUrl' | 'defaultLanguageCode' | 'defaultCurrencyCode' | 'availableLanguageCodes' | 'availableCurrencyCodes' | 'description' | 'pricesIncludeTax' | 'taxProviderCode' | 'trackInventory' | 'outOfStockThreshold' | 'sellerId' | 'defaultTaxZoneId'>;
|
|
11181
|
+
deleteChannel: Pick<Channel, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'token' | 'secret' | 'previewUrl' | 'defaultLanguageCode' | 'defaultCurrencyCode' | 'availableLanguageCodes' | 'availableCurrencyCodes' | 'description' | 'pricesIncludeTax' | 'taxProviderCode' | 'trackInventory' | 'outOfStockThreshold' | 'workspaceMode' | 'sellerId' | 'defaultTaxZoneId'>;
|
|
11180
11182
|
};
|
|
11181
11183
|
export type UpdateChannelSettingsMutationVariables = Exact<{
|
|
11182
11184
|
input: UpdateChannelSettingsInput;
|
|
@@ -11191,7 +11193,7 @@ export type ProvisionChannelMutationVariables = Exact<{
|
|
|
11191
11193
|
}>;
|
|
11192
11194
|
export type ProvisionChannelMutation = {
|
|
11193
11195
|
provisionChannel: {
|
|
11194
|
-
channel: Pick<Channel, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'token' | 'secret' | 'previewUrl' | 'defaultLanguageCode' | 'defaultCurrencyCode' | 'availableLanguageCodes' | 'availableCurrencyCodes' | 'description' | 'pricesIncludeTax' | 'taxProviderCode' | 'trackInventory' | 'outOfStockThreshold' | 'sellerId' | 'defaultTaxZoneId'>;
|
|
11196
|
+
channel: Pick<Channel, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'token' | 'secret' | 'previewUrl' | 'defaultLanguageCode' | 'defaultCurrencyCode' | 'availableLanguageCodes' | 'availableCurrencyCodes' | 'description' | 'pricesIncludeTax' | 'taxProviderCode' | 'trackInventory' | 'outOfStockThreshold' | 'workspaceMode' | 'sellerId' | 'defaultTaxZoneId'>;
|
|
11195
11197
|
channelSettings: (Pick<ChannelSettings, 'id' | 'channelId' | 'shopName' | 'emailAddress' | 'storefrontUrl' | 'requiresShippingAddressValidation' | 'requireCustomerForCheckout' | 'requireShippingPhone' | 'defaultFulfillmentHandlerCode' | 'defaultPaymentProviderCode' | 'defaultShippingProviderCode' | 'defaultDeploymentProviderCode' | 'defaultWeightUnit' | 'defaultDimensionUnit' | 'taxOriginScope' | 'chargeTaxOnShipping' | 'defaultTaxCategoryId' | 'autoCurrencyExchange' | 'fxRoundingRule' | 'fxMarkupPercent' | 'adsConsentPolicy'> & {
|
|
11196
11198
|
companyAddress?: Maybe<Pick<CompanyAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'countryCode' | 'phoneNumber'>>;
|
|
11197
11199
|
});
|
|
@@ -11203,7 +11205,7 @@ export type ProvisionActiveUserChannelMutationVariables = Exact<{
|
|
|
11203
11205
|
}>;
|
|
11204
11206
|
export type ProvisionActiveUserChannelMutation = {
|
|
11205
11207
|
provisionActiveUserChannel: {
|
|
11206
|
-
channel: Pick<Channel, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'token' | 'secret' | 'previewUrl' | 'defaultLanguageCode' | 'defaultCurrencyCode' | 'availableLanguageCodes' | 'availableCurrencyCodes' | 'description' | 'pricesIncludeTax' | 'taxProviderCode' | 'trackInventory' | 'outOfStockThreshold' | 'sellerId' | 'defaultTaxZoneId'>;
|
|
11208
|
+
channel: Pick<Channel, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'token' | 'secret' | 'previewUrl' | 'defaultLanguageCode' | 'defaultCurrencyCode' | 'availableLanguageCodes' | 'availableCurrencyCodes' | 'description' | 'pricesIncludeTax' | 'taxProviderCode' | 'trackInventory' | 'outOfStockThreshold' | 'workspaceMode' | 'sellerId' | 'defaultTaxZoneId'>;
|
|
11207
11209
|
channelSettings: (Pick<ChannelSettings, 'id' | 'channelId' | 'shopName' | 'emailAddress' | 'storefrontUrl' | 'requiresShippingAddressValidation' | 'requireCustomerForCheckout' | 'requireShippingPhone' | 'defaultFulfillmentHandlerCode' | 'defaultPaymentProviderCode' | 'defaultShippingProviderCode' | 'defaultDeploymentProviderCode' | 'defaultWeightUnit' | 'defaultDimensionUnit' | 'taxOriginScope' | 'chargeTaxOnShipping' | 'defaultTaxCategoryId' | 'autoCurrencyExchange' | 'fxRoundingRule' | 'fxMarkupPercent' | 'adsConsentPolicy'> & {
|
|
11208
11210
|
companyAddress?: Maybe<Pick<CompanyAddress, 'company' | 'streetLine1' | 'streetLine2' | 'city' | 'province' | 'postalCode' | 'countryCode' | 'phoneNumber'>>;
|
|
11209
11211
|
});
|
|
@@ -113,14 +113,14 @@ export declare const adminChannelSettingsDocument = "query ChannelSettings {\n
|
|
|
113
113
|
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 emailAddress\n storefrontUrl\n requiresShippingAddressValidation\n requireCustomerForCheckout\n requireShippingPhone\n defaultFulfillmentHandlerCode\n defaultPaymentProviderCode\n defaultShippingProviderCode\n defaultDeploymentProviderCode\n defaultWeightUnit\n defaultDimensionUnit\n taxOriginScope\n chargeTaxOnShipping\n defaultTaxCategoryId\n companyAddress {\n company\n streetLine1\n streetLine2\n city\n province\n postalCode\n countryCode\n phoneNumber\n }\n autoCurrencyExchange\n fxRoundingRule\n fxMarkupPercent\n adsConsentPolicy\n}";
|
|
114
114
|
export declare const adminChannelSubscriptionSettingsDocument = "query ChannelSubscriptionSettings {\n channelSubscriptionSettings {\n ...ChannelSubscriptionSettingsField\n }\n}\n\nfragment ChannelSubscriptionSettingsField on ChannelSubscriptionSettings {\n id\n channelId\n couponInteraction\n}";
|
|
115
115
|
export declare const adminChannelUpdateSubscriptionSettingsDocument = "mutation ChannelUpdateSubscriptionSettings($input: UpdateChannelSubscriptionSettingsInput!) {\n updateChannelSubscriptionSettings(input: $input) {\n ...ChannelSubscriptionSettingsField\n }\n}\n\nfragment ChannelSubscriptionSettingsField on ChannelSubscriptionSettings {\n id\n channelId\n couponInteraction\n}";
|
|
116
|
-
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}";
|
|
117
|
-
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}";
|
|
116
|
+
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 workspaceMode\n sellerId\n defaultTaxZoneId\n}";
|
|
117
|
+
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 workspaceMode\n sellerId\n defaultTaxZoneId\n}";
|
|
118
118
|
export declare const adminChannelCodeAvailableDocument = "query ChannelCodeAvailable($code: String!) {\n channelCodeAvailable(code: $code)\n}";
|
|
119
|
-
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}";
|
|
120
|
-
export declare const adminDeleteChannelDocument = "mutation DeleteChannel($input: DeleteChannelInput!) {\n deleteChannel(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}";
|
|
119
|
+
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 workspaceMode\n sellerId\n defaultTaxZoneId\n}";
|
|
120
|
+
export declare const adminDeleteChannelDocument = "mutation DeleteChannel($input: DeleteChannelInput!) {\n deleteChannel(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 workspaceMode\n sellerId\n defaultTaxZoneId\n}";
|
|
121
121
|
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 emailAddress\n storefrontUrl\n requiresShippingAddressValidation\n requireCustomerForCheckout\n requireShippingPhone\n defaultFulfillmentHandlerCode\n defaultPaymentProviderCode\n defaultShippingProviderCode\n defaultDeploymentProviderCode\n defaultWeightUnit\n defaultDimensionUnit\n taxOriginScope\n chargeTaxOnShipping\n defaultTaxCategoryId\n companyAddress {\n company\n streetLine1\n streetLine2\n city\n province\n postalCode\n countryCode\n phoneNumber\n }\n autoCurrencyExchange\n fxRoundingRule\n fxMarkupPercent\n adsConsentPolicy\n}";
|
|
122
|
-
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 emailAddress\n storefrontUrl\n requiresShippingAddressValidation\n requireCustomerForCheckout\n requireShippingPhone\n defaultFulfillmentHandlerCode\n defaultPaymentProviderCode\n defaultShippingProviderCode\n defaultDeploymentProviderCode\n defaultWeightUnit\n defaultDimensionUnit\n taxOriginScope\n chargeTaxOnShipping\n defaultTaxCategoryId\n companyAddress {\n company\n streetLine1\n streetLine2\n city\n province\n postalCode\n countryCode\n phoneNumber\n }\n autoCurrencyExchange\n fxRoundingRule\n fxMarkupPercent\n adsConsentPolicy\n}";
|
|
123
|
-
export declare const adminProvisionActiveUserChannelDocument = "mutation ProvisionActiveUserChannel($input: ProvisionActiveUserChannelInput!) {\n provisionActiveUserChannel(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 emailAddress\n storefrontUrl\n requiresShippingAddressValidation\n requireCustomerForCheckout\n requireShippingPhone\n defaultFulfillmentHandlerCode\n defaultPaymentProviderCode\n defaultShippingProviderCode\n defaultDeploymentProviderCode\n defaultWeightUnit\n defaultDimensionUnit\n taxOriginScope\n chargeTaxOnShipping\n defaultTaxCategoryId\n companyAddress {\n company\n streetLine1\n streetLine2\n city\n province\n postalCode\n countryCode\n phoneNumber\n }\n autoCurrencyExchange\n fxRoundingRule\n fxMarkupPercent\n adsConsentPolicy\n}";
|
|
122
|
+
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 workspaceMode\n sellerId\n defaultTaxZoneId\n}\n\nfragment ChannelSettingsField on ChannelSettings {\n id\n channelId\n shopName\n emailAddress\n storefrontUrl\n requiresShippingAddressValidation\n requireCustomerForCheckout\n requireShippingPhone\n defaultFulfillmentHandlerCode\n defaultPaymentProviderCode\n defaultShippingProviderCode\n defaultDeploymentProviderCode\n defaultWeightUnit\n defaultDimensionUnit\n taxOriginScope\n chargeTaxOnShipping\n defaultTaxCategoryId\n companyAddress {\n company\n streetLine1\n streetLine2\n city\n province\n postalCode\n countryCode\n phoneNumber\n }\n autoCurrencyExchange\n fxRoundingRule\n fxMarkupPercent\n adsConsentPolicy\n}";
|
|
123
|
+
export declare const adminProvisionActiveUserChannelDocument = "mutation ProvisionActiveUserChannel($input: ProvisionActiveUserChannelInput!) {\n provisionActiveUserChannel(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 workspaceMode\n sellerId\n defaultTaxZoneId\n}\n\nfragment ChannelSettingsField on ChannelSettings {\n id\n channelId\n shopName\n emailAddress\n storefrontUrl\n requiresShippingAddressValidation\n requireCustomerForCheckout\n requireShippingPhone\n defaultFulfillmentHandlerCode\n defaultPaymentProviderCode\n defaultShippingProviderCode\n defaultDeploymentProviderCode\n defaultWeightUnit\n defaultDimensionUnit\n taxOriginScope\n chargeTaxOnShipping\n defaultTaxCategoryId\n companyAddress {\n company\n streetLine1\n streetLine2\n city\n province\n postalCode\n countryCode\n phoneNumber\n }\n autoCurrencyExchange\n fxRoundingRule\n fxMarkupPercent\n adsConsentPolicy\n}";
|
|
124
124
|
export declare const adminAdminExchangeRatesDocument = "query AdminExchangeRates {\n exchangeRates {\n id\n baseCurrencyCode\n targetCurrencyCode\n rate\n rateUpdatedAt\n }\n}";
|
|
125
125
|
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}";
|
|
126
126
|
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 backend\n runId\n parentToolUseId\n runLabel\n}";
|
|
@@ -5178,6 +5178,7 @@ fragment ChannelField on Channel {
|
|
|
5178
5178
|
taxProviderCode
|
|
5179
5179
|
trackInventory
|
|
5180
5180
|
outOfStockThreshold
|
|
5181
|
+
workspaceMode
|
|
5181
5182
|
sellerId
|
|
5182
5183
|
defaultTaxZoneId
|
|
5183
5184
|
}`;
|
|
@@ -5207,6 +5208,7 @@ fragment ChannelField on Channel {
|
|
|
5207
5208
|
taxProviderCode
|
|
5208
5209
|
trackInventory
|
|
5209
5210
|
outOfStockThreshold
|
|
5211
|
+
workspaceMode
|
|
5210
5212
|
sellerId
|
|
5211
5213
|
defaultTaxZoneId
|
|
5212
5214
|
}`;
|
|
@@ -5236,6 +5238,7 @@ fragment ChannelField on Channel {
|
|
|
5236
5238
|
taxProviderCode
|
|
5237
5239
|
trackInventory
|
|
5238
5240
|
outOfStockThreshold
|
|
5241
|
+
workspaceMode
|
|
5239
5242
|
sellerId
|
|
5240
5243
|
defaultTaxZoneId
|
|
5241
5244
|
}`;
|
|
@@ -5262,6 +5265,7 @@ fragment ChannelField on Channel {
|
|
|
5262
5265
|
taxProviderCode
|
|
5263
5266
|
trackInventory
|
|
5264
5267
|
outOfStockThreshold
|
|
5268
|
+
workspaceMode
|
|
5265
5269
|
sellerId
|
|
5266
5270
|
defaultTaxZoneId
|
|
5267
5271
|
}`;
|
|
@@ -5339,6 +5343,7 @@ fragment ChannelField on Channel {
|
|
|
5339
5343
|
taxProviderCode
|
|
5340
5344
|
trackInventory
|
|
5341
5345
|
outOfStockThreshold
|
|
5346
|
+
workspaceMode
|
|
5342
5347
|
sellerId
|
|
5343
5348
|
defaultTaxZoneId
|
|
5344
5349
|
}
|
|
@@ -5411,6 +5416,7 @@ fragment ChannelField on Channel {
|
|
|
5411
5416
|
taxProviderCode
|
|
5412
5417
|
trackInventory
|
|
5413
5418
|
outOfStockThreshold
|
|
5419
|
+
workspaceMode
|
|
5414
5420
|
sellerId
|
|
5415
5421
|
defaultTaxZoneId
|
|
5416
5422
|
}
|
|
@@ -1039,6 +1039,7 @@ export type Channel = {
|
|
|
1039
1039
|
token: Scalars['String']['output'];
|
|
1040
1040
|
trackInventory: Scalars['Boolean']['output'];
|
|
1041
1041
|
updatedAt: Scalars['DateTime']['output'];
|
|
1042
|
+
workspaceMode: ChannelWorkspaceMode;
|
|
1042
1043
|
};
|
|
1043
1044
|
export type ChannelDeploymentInfo = {
|
|
1044
1045
|
channelId: Scalars['ID']['output'];
|
|
@@ -1114,6 +1115,7 @@ export type ChannelSubscriptionSettings = {
|
|
|
1114
1115
|
couponInteraction: SubscriptionCouponInteraction;
|
|
1115
1116
|
id: Scalars['ID']['output'];
|
|
1116
1117
|
};
|
|
1118
|
+
export type ChannelWorkspaceMode = 'always' | 'auto' | 'never';
|
|
1117
1119
|
export type ChatAttachmentInput = {
|
|
1118
1120
|
assetId: Scalars['ID']['input'];
|
|
1119
1121
|
};
|
|
@@ -3488,8 +3490,8 @@ export type ProvisionChannelInput = {
|
|
|
3488
3490
|
defaultCurrencyCode?: InputMaybe<Scalars['String']['input']>;
|
|
3489
3491
|
defaultLanguageCode?: InputMaybe<Scalars['String']['input']>;
|
|
3490
3492
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
3491
|
-
provisionWorkspace?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3492
3493
|
userId: Scalars['ID']['input'];
|
|
3494
|
+
workspaceMode?: InputMaybe<ChannelWorkspaceMode>;
|
|
3493
3495
|
};
|
|
3494
3496
|
export type ProvisionChannelResult = {
|
|
3495
3497
|
channel: Channel;
|
package/package.json
CHANGED
|
@@ -1399,6 +1399,7 @@ export type Channel = {
|
|
|
1399
1399
|
token: Scalars['String']['output'];
|
|
1400
1400
|
trackInventory: Scalars['Boolean']['output'];
|
|
1401
1401
|
updatedAt: Scalars['DateTime']['output'];
|
|
1402
|
+
workspaceMode: ChannelWorkspaceMode;
|
|
1402
1403
|
};
|
|
1403
1404
|
|
|
1404
1405
|
export type ChannelDeploymentInfo = {
|
|
@@ -1481,6 +1482,11 @@ export type ChannelSubscriptionSettings = {
|
|
|
1481
1482
|
id: Scalars['ID']['output'];
|
|
1482
1483
|
};
|
|
1483
1484
|
|
|
1485
|
+
export type ChannelWorkspaceMode =
|
|
1486
|
+
| 'always'
|
|
1487
|
+
| 'auto'
|
|
1488
|
+
| 'never';
|
|
1489
|
+
|
|
1484
1490
|
export type ChatAttachment = {
|
|
1485
1491
|
asset?: Maybe<Asset>;
|
|
1486
1492
|
assetId: Scalars['ID']['output'];
|
|
@@ -6639,8 +6645,8 @@ export type ProvisionChannelInput = {
|
|
|
6639
6645
|
defaultCurrencyCode?: InputMaybe<Scalars['String']['input']>;
|
|
6640
6646
|
defaultLanguageCode?: InputMaybe<Scalars['String']['input']>;
|
|
6641
6647
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
6642
|
-
provisionWorkspace?: InputMaybe<Scalars['Boolean']['input']>;
|
|
6643
6648
|
userId: Scalars['ID']['input'];
|
|
6649
|
+
workspaceMode?: InputMaybe<ChannelWorkspaceMode>;
|
|
6644
6650
|
};
|
|
6645
6651
|
|
|
6646
6652
|
export type ProvisionChannelResult = {
|
|
@@ -20967,6 +20973,7 @@ export type ChannelFieldFragment = Pick<
|
|
|
20967
20973
|
| 'taxProviderCode'
|
|
20968
20974
|
| 'trackInventory'
|
|
20969
20975
|
| 'outOfStockThreshold'
|
|
20976
|
+
| 'workspaceMode'
|
|
20970
20977
|
| 'sellerId'
|
|
20971
20978
|
| 'defaultTaxZoneId'
|
|
20972
20979
|
>;
|
|
@@ -20994,6 +21001,7 @@ export type ChannelQuery = { channel?: Maybe<Pick<
|
|
|
20994
21001
|
| 'taxProviderCode'
|
|
20995
21002
|
| 'trackInventory'
|
|
20996
21003
|
| 'outOfStockThreshold'
|
|
21004
|
+
| 'workspaceMode'
|
|
20997
21005
|
| 'sellerId'
|
|
20998
21006
|
| 'defaultTaxZoneId'
|
|
20999
21007
|
>> };
|
|
@@ -21023,6 +21031,7 @@ export type ChannelsQuery = { channels: (
|
|
|
21023
21031
|
| 'taxProviderCode'
|
|
21024
21032
|
| 'trackInventory'
|
|
21025
21033
|
| 'outOfStockThreshold'
|
|
21034
|
+
| 'workspaceMode'
|
|
21026
21035
|
| 'sellerId'
|
|
21027
21036
|
| 'defaultTaxZoneId'
|
|
21028
21037
|
>> }
|
|
@@ -21058,6 +21067,7 @@ export type UpdateChannelMutation = { updateChannel: Pick<
|
|
|
21058
21067
|
| 'taxProviderCode'
|
|
21059
21068
|
| 'trackInventory'
|
|
21060
21069
|
| 'outOfStockThreshold'
|
|
21070
|
+
| 'workspaceMode'
|
|
21061
21071
|
| 'sellerId'
|
|
21062
21072
|
| 'defaultTaxZoneId'
|
|
21063
21073
|
> };
|
|
@@ -21085,6 +21095,7 @@ export type DeleteChannelMutation = { deleteChannel: Pick<
|
|
|
21085
21095
|
| 'taxProviderCode'
|
|
21086
21096
|
| 'trackInventory'
|
|
21087
21097
|
| 'outOfStockThreshold'
|
|
21098
|
+
| 'workspaceMode'
|
|
21088
21099
|
| 'sellerId'
|
|
21089
21100
|
| 'defaultTaxZoneId'
|
|
21090
21101
|
> };
|
|
@@ -21156,6 +21167,7 @@ export type ProvisionChannelMutation = { provisionChannel: {
|
|
|
21156
21167
|
| 'taxProviderCode'
|
|
21157
21168
|
| 'trackInventory'
|
|
21158
21169
|
| 'outOfStockThreshold'
|
|
21170
|
+
| 'workspaceMode'
|
|
21159
21171
|
| 'sellerId'
|
|
21160
21172
|
| 'defaultTaxZoneId'
|
|
21161
21173
|
>,
|
|
@@ -21230,6 +21242,7 @@ export type ProvisionActiveUserChannelMutation = { provisionActiveUserChannel: {
|
|
|
21230
21242
|
| 'taxProviderCode'
|
|
21231
21243
|
| 'trackInventory'
|
|
21232
21244
|
| 'outOfStockThreshold'
|
|
21245
|
+
| 'workspaceMode'
|
|
21233
21246
|
| 'sellerId'
|
|
21234
21247
|
| 'defaultTaxZoneId'
|
|
21235
21248
|
>,
|
|
@@ -5272,6 +5272,7 @@ fragment ChannelField on Channel {
|
|
|
5272
5272
|
taxProviderCode
|
|
5273
5273
|
trackInventory
|
|
5274
5274
|
outOfStockThreshold
|
|
5275
|
+
workspaceMode
|
|
5275
5276
|
sellerId
|
|
5276
5277
|
defaultTaxZoneId
|
|
5277
5278
|
}`;
|
|
@@ -5302,6 +5303,7 @@ fragment ChannelField on Channel {
|
|
|
5302
5303
|
taxProviderCode
|
|
5303
5304
|
trackInventory
|
|
5304
5305
|
outOfStockThreshold
|
|
5306
|
+
workspaceMode
|
|
5305
5307
|
sellerId
|
|
5306
5308
|
defaultTaxZoneId
|
|
5307
5309
|
}`;
|
|
@@ -5333,6 +5335,7 @@ fragment ChannelField on Channel {
|
|
|
5333
5335
|
taxProviderCode
|
|
5334
5336
|
trackInventory
|
|
5335
5337
|
outOfStockThreshold
|
|
5338
|
+
workspaceMode
|
|
5336
5339
|
sellerId
|
|
5337
5340
|
defaultTaxZoneId
|
|
5338
5341
|
}`;
|
|
@@ -5360,6 +5363,7 @@ fragment ChannelField on Channel {
|
|
|
5360
5363
|
taxProviderCode
|
|
5361
5364
|
trackInventory
|
|
5362
5365
|
outOfStockThreshold
|
|
5366
|
+
workspaceMode
|
|
5363
5367
|
sellerId
|
|
5364
5368
|
defaultTaxZoneId
|
|
5365
5369
|
}`;
|
|
@@ -5439,6 +5443,7 @@ fragment ChannelField on Channel {
|
|
|
5439
5443
|
taxProviderCode
|
|
5440
5444
|
trackInventory
|
|
5441
5445
|
outOfStockThreshold
|
|
5446
|
+
workspaceMode
|
|
5442
5447
|
sellerId
|
|
5443
5448
|
defaultTaxZoneId
|
|
5444
5449
|
}
|
|
@@ -5512,6 +5517,7 @@ fragment ChannelField on Channel {
|
|
|
5512
5517
|
taxProviderCode
|
|
5513
5518
|
trackInventory
|
|
5514
5519
|
outOfStockThreshold
|
|
5520
|
+
workspaceMode
|
|
5515
5521
|
sellerId
|
|
5516
5522
|
defaultTaxZoneId
|
|
5517
5523
|
}
|
|
@@ -1247,6 +1247,7 @@ export type Channel = {
|
|
|
1247
1247
|
token: Scalars['String']['output'];
|
|
1248
1248
|
trackInventory: Scalars['Boolean']['output'];
|
|
1249
1249
|
updatedAt: Scalars['DateTime']['output'];
|
|
1250
|
+
workspaceMode: ChannelWorkspaceMode;
|
|
1250
1251
|
};
|
|
1251
1252
|
|
|
1252
1253
|
export type ChannelDeploymentInfo = {
|
|
@@ -1329,6 +1330,11 @@ export type ChannelSubscriptionSettings = {
|
|
|
1329
1330
|
id: Scalars['ID']['output'];
|
|
1330
1331
|
};
|
|
1331
1332
|
|
|
1333
|
+
export type ChannelWorkspaceMode =
|
|
1334
|
+
| 'always'
|
|
1335
|
+
| 'auto'
|
|
1336
|
+
| 'never';
|
|
1337
|
+
|
|
1332
1338
|
export type ChatAttachmentInput = {
|
|
1333
1339
|
assetId: Scalars['ID']['input'];
|
|
1334
1340
|
};
|
|
@@ -4185,8 +4191,8 @@ export type ProvisionChannelInput = {
|
|
|
4185
4191
|
defaultCurrencyCode?: InputMaybe<Scalars['String']['input']>;
|
|
4186
4192
|
defaultLanguageCode?: InputMaybe<Scalars['String']['input']>;
|
|
4187
4193
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
4188
|
-
provisionWorkspace?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4189
4194
|
userId: Scalars['ID']['input'];
|
|
4195
|
+
workspaceMode?: InputMaybe<ChannelWorkspaceMode>;
|
|
4190
4196
|
};
|
|
4191
4197
|
|
|
4192
4198
|
export type ProvisionChannelResult = {
|