|
|
@@ -933,6 +933,28 @@ export type CustomerSortParameter = {
|
|
|
emailAddress?: Maybe<SortOrder>,
|
|
|
};
|
|
|
|
|
|
+export type CustomFieldConfig = {
|
|
|
+ __typename?: 'CustomFieldConfig',
|
|
|
+ name: Scalars['String'],
|
|
|
+ type: Scalars['String'],
|
|
|
+};
|
|
|
+
|
|
|
+export type CustomFields = {
|
|
|
+ __typename?: 'CustomFields',
|
|
|
+ Address: Array<CustomFieldConfig>,
|
|
|
+ Collection: Array<CustomFieldConfig>,
|
|
|
+ Customer: Array<CustomFieldConfig>,
|
|
|
+ Facet: Array<CustomFieldConfig>,
|
|
|
+ FacetValue: Array<CustomFieldConfig>,
|
|
|
+ GlobalSettings: Array<CustomFieldConfig>,
|
|
|
+ OrderLine: Array<CustomFieldConfig>,
|
|
|
+ Product: Array<CustomFieldConfig>,
|
|
|
+ ProductOption: Array<CustomFieldConfig>,
|
|
|
+ ProductOptionGroup: Array<CustomFieldConfig>,
|
|
|
+ ProductVariant: Array<CustomFieldConfig>,
|
|
|
+ User: Array<CustomFieldConfig>,
|
|
|
+};
|
|
|
+
|
|
|
export type DateOperators = {
|
|
|
eq?: Maybe<Scalars['DateTime']>,
|
|
|
before?: Maybe<Scalars['DateTime']>,
|
|
|
@@ -1545,10 +1567,20 @@ export type MoveCollectionInput = {
|
|
|
|
|
|
export type Mutation = {
|
|
|
__typename?: 'Mutation',
|
|
|
+ /** Create a new Administrator */
|
|
|
+ createAdministrator: Administrator,
|
|
|
+ /** Update an existing Administrator */
|
|
|
+ updateAdministrator: Administrator,
|
|
|
+ /** Assign a Role to an Administrator */
|
|
|
+ assignRoleToAdministrator: Administrator,
|
|
|
/** Create a new Asset */
|
|
|
createAssets: Array<Asset>,
|
|
|
login: LoginResult,
|
|
|
logout: Scalars['Boolean'],
|
|
|
+ /** Create a new Channel */
|
|
|
+ createChannel: Channel,
|
|
|
+ /** Update an existing Channel */
|
|
|
+ updateChannel: Channel,
|
|
|
/** Create a new Collection */
|
|
|
createCollection: Collection,
|
|
|
/** Update an existing Collection */
|
|
|
@@ -1557,16 +1589,12 @@ export type Mutation = {
|
|
|
deleteCollection: DeletionResponse,
|
|
|
/** Move a Collection to a different parent or index */
|
|
|
moveCollection: Collection,
|
|
|
- /** Create a new Channel */
|
|
|
- createChannel: Channel,
|
|
|
- /** Update an existing Channel */
|
|
|
- updateChannel: Channel,
|
|
|
- /** Create a new Administrator */
|
|
|
- createAdministrator: Administrator,
|
|
|
- /** Update an existing Administrator */
|
|
|
- updateAdministrator: Administrator,
|
|
|
- /** Assign a Role to an Administrator */
|
|
|
- assignRoleToAdministrator: Administrator,
|
|
|
+ /** Create a new Country */
|
|
|
+ createCountry: Country,
|
|
|
+ /** Update an existing Country */
|
|
|
+ updateCountry: Country,
|
|
|
+ /** Delete a Country */
|
|
|
+ deleteCountry: DeletionResponse,
|
|
|
/** Create a new CustomerGroup */
|
|
|
createCustomerGroup: CustomerGroup,
|
|
|
/** Update an existing CustomerGroup */
|
|
|
@@ -1575,14 +1603,8 @@ export type Mutation = {
|
|
|
addCustomersToGroup: CustomerGroup,
|
|
|
/** Remove Customers from a CustomerGroup */
|
|
|
removeCustomersFromGroup: CustomerGroup,
|
|
|
- /** Create a new Country */
|
|
|
- createCountry: Country,
|
|
|
- /** Update an existing Country */
|
|
|
- updateCountry: Country,
|
|
|
- /** Delete a Country */
|
|
|
- deleteCountry: DeletionResponse,
|
|
|
- importProducts?: Maybe<ImportInfo>,
|
|
|
updateGlobalSettings: GlobalSettings,
|
|
|
+ importProducts?: Maybe<ImportInfo>,
|
|
|
/** Create a new Customer. If a password is provided, a new User will also be created an linked to the Customer. */
|
|
|
createCustomer: Customer,
|
|
|
/** Update an existing Customer */
|
|
|
@@ -1613,7 +1635,6 @@ export type Mutation = {
|
|
|
refundOrder: Refund,
|
|
|
settleRefund: Refund,
|
|
|
addNoteToOrder: Order,
|
|
|
- reindex: JobInfo,
|
|
|
/** Update an existing PaymentMethod */
|
|
|
updatePaymentMethod: PaymentMethod,
|
|
|
/** Create a new ProductOptionGroup */
|
|
|
@@ -1624,6 +1645,7 @@ export type Mutation = {
|
|
|
createProductOption: ProductOption,
|
|
|
/** Create a new ProductOption within a ProductOptionGroup */
|
|
|
updateProductOption: ProductOption,
|
|
|
+ reindex: JobInfo,
|
|
|
/** Create a new Product */
|
|
|
createProduct: Product,
|
|
|
/** Update an existing Product */
|
|
|
@@ -1640,6 +1662,9 @@ export type Mutation = {
|
|
|
updateProductVariants: Array<Maybe<ProductVariant>>,
|
|
|
/** Delete a ProductVariant */
|
|
|
deleteProductVariant: DeletionResponse,
|
|
|
+ createPromotion: Promotion,
|
|
|
+ updatePromotion: Promotion,
|
|
|
+ deletePromotion: DeletionResponse,
|
|
|
/** Create a new Role */
|
|
|
createRole: Role,
|
|
|
/** Update an existing Role */
|
|
|
@@ -1648,13 +1673,14 @@ export type Mutation = {
|
|
|
createShippingMethod: ShippingMethod,
|
|
|
/** Update an existing ShippingMethod */
|
|
|
updateShippingMethod: ShippingMethod,
|
|
|
- createPromotion: Promotion,
|
|
|
- updatePromotion: Promotion,
|
|
|
- deletePromotion: DeletionResponse,
|
|
|
/** Create a new TaxCategory */
|
|
|
createTaxCategory: TaxCategory,
|
|
|
/** Update an existing TaxCategory */
|
|
|
updateTaxCategory: TaxCategory,
|
|
|
+ /** Create a new TaxRate */
|
|
|
+ createTaxRate: TaxRate,
|
|
|
+ /** Update an existing TaxRate */
|
|
|
+ updateTaxRate: TaxRate,
|
|
|
/** Create a new Zone */
|
|
|
createZone: Zone,
|
|
|
/** Update an existing Zone */
|
|
|
@@ -1665,10 +1691,6 @@ export type Mutation = {
|
|
|
addMembersToZone: Zone,
|
|
|
/** Remove members from a Zone */
|
|
|
removeMembersFromZone: Zone,
|
|
|
- /** Create a new TaxRate */
|
|
|
- createTaxRate: TaxRate,
|
|
|
- /** Update an existing TaxRate */
|
|
|
- updateTaxRate: TaxRate,
|
|
|
requestStarted: Scalars['Int'],
|
|
|
requestCompleted: Scalars['Int'],
|
|
|
setAsLoggedIn: UserStatus,
|
|
|
@@ -1677,6 +1699,22 @@ export type Mutation = {
|
|
|
};
|
|
|
|
|
|
|
|
|
+export type MutationCreateAdministratorArgs = {
|
|
|
+ input: CreateAdministratorInput
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
+export type MutationUpdateAdministratorArgs = {
|
|
|
+ input: UpdateAdministratorInput
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
+export type MutationAssignRoleToAdministratorArgs = {
|
|
|
+ administratorId: Scalars['ID'],
|
|
|
+ roleId: Scalars['ID']
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
export type MutationCreateAssetsArgs = {
|
|
|
input: Array<CreateAssetInput>
|
|
|
};
|
|
|
@@ -1689,6 +1727,16 @@ export type MutationLoginArgs = {
|
|
|
};
|
|
|
|
|
|
|
|
|
+export type MutationCreateChannelArgs = {
|
|
|
+ input: CreateChannelInput
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
+export type MutationUpdateChannelArgs = {
|
|
|
+ input: UpdateChannelInput
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
export type MutationCreateCollectionArgs = {
|
|
|
input: CreateCollectionInput
|
|
|
};
|
|
|
@@ -1709,29 +1757,18 @@ export type MutationMoveCollectionArgs = {
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type MutationCreateChannelArgs = {
|
|
|
- input: CreateChannelInput
|
|
|
-};
|
|
|
-
|
|
|
-
|
|
|
-export type MutationUpdateChannelArgs = {
|
|
|
- input: UpdateChannelInput
|
|
|
-};
|
|
|
-
|
|
|
-
|
|
|
-export type MutationCreateAdministratorArgs = {
|
|
|
- input: CreateAdministratorInput
|
|
|
+export type MutationCreateCountryArgs = {
|
|
|
+ input: CreateCountryInput
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type MutationUpdateAdministratorArgs = {
|
|
|
- input: UpdateAdministratorInput
|
|
|
+export type MutationUpdateCountryArgs = {
|
|
|
+ input: UpdateCountryInput
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type MutationAssignRoleToAdministratorArgs = {
|
|
|
- administratorId: Scalars['ID'],
|
|
|
- roleId: Scalars['ID']
|
|
|
+export type MutationDeleteCountryArgs = {
|
|
|
+ id: Scalars['ID']
|
|
|
};
|
|
|
|
|
|
|
|
|
@@ -1757,18 +1794,8 @@ export type MutationRemoveCustomersFromGroupArgs = {
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type MutationCreateCountryArgs = {
|
|
|
- input: CreateCountryInput
|
|
|
-};
|
|
|
-
|
|
|
-
|
|
|
-export type MutationUpdateCountryArgs = {
|
|
|
- input: UpdateCountryInput
|
|
|
-};
|
|
|
-
|
|
|
-
|
|
|
-export type MutationDeleteCountryArgs = {
|
|
|
- id: Scalars['ID']
|
|
|
+export type MutationUpdateGlobalSettingsArgs = {
|
|
|
+ input: UpdateGlobalSettingsInput
|
|
|
};
|
|
|
|
|
|
|
|
|
@@ -1777,11 +1804,6 @@ export type MutationImportProductsArgs = {
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type MutationUpdateGlobalSettingsArgs = {
|
|
|
- input: UpdateGlobalSettingsInput
|
|
|
-};
|
|
|
-
|
|
|
-
|
|
|
export type MutationCreateCustomerArgs = {
|
|
|
input: CreateCustomerInput,
|
|
|
password?: Maybe<Scalars['String']>
|
|
|
@@ -1943,6 +1965,21 @@ export type MutationDeleteProductVariantArgs = {
|
|
|
};
|
|
|
|
|
|
|
|
|
+export type MutationCreatePromotionArgs = {
|
|
|
+ input: CreatePromotionInput
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
+export type MutationUpdatePromotionArgs = {
|
|
|
+ input: UpdatePromotionInput
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
+export type MutationDeletePromotionArgs = {
|
|
|
+ id: Scalars['ID']
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
export type MutationCreateRoleArgs = {
|
|
|
input: CreateRoleInput
|
|
|
};
|
|
|
@@ -1963,28 +2000,23 @@ export type MutationUpdateShippingMethodArgs = {
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type MutationCreatePromotionArgs = {
|
|
|
- input: CreatePromotionInput
|
|
|
-};
|
|
|
-
|
|
|
-
|
|
|
-export type MutationUpdatePromotionArgs = {
|
|
|
- input: UpdatePromotionInput
|
|
|
+export type MutationCreateTaxCategoryArgs = {
|
|
|
+ input: CreateTaxCategoryInput
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type MutationDeletePromotionArgs = {
|
|
|
- id: Scalars['ID']
|
|
|
+export type MutationUpdateTaxCategoryArgs = {
|
|
|
+ input: UpdateTaxCategoryInput
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type MutationCreateTaxCategoryArgs = {
|
|
|
- input: CreateTaxCategoryInput
|
|
|
+export type MutationCreateTaxRateArgs = {
|
|
|
+ input: CreateTaxRateInput
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type MutationUpdateTaxCategoryArgs = {
|
|
|
- input: UpdateTaxCategoryInput
|
|
|
+export type MutationUpdateTaxRateArgs = {
|
|
|
+ input: UpdateTaxRateInput
|
|
|
};
|
|
|
|
|
|
|
|
|
@@ -2015,16 +2047,6 @@ export type MutationRemoveMembersFromZoneArgs = {
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type MutationCreateTaxRateArgs = {
|
|
|
- input: CreateTaxRateInput
|
|
|
-};
|
|
|
-
|
|
|
-
|
|
|
-export type MutationUpdateTaxRateArgs = {
|
|
|
- input: UpdateTaxRateInput
|
|
|
-};
|
|
|
-
|
|
|
-
|
|
|
export type MutationSetAsLoggedInArgs = {
|
|
|
username: Scalars['String'],
|
|
|
loginTime: Scalars['String']
|
|
|
@@ -2536,21 +2558,21 @@ export type PromotionSortParameter = {
|
|
|
|
|
|
export type Query = {
|
|
|
__typename?: 'Query',
|
|
|
+ administrators: AdministratorList,
|
|
|
+ administrator?: Maybe<Administrator>,
|
|
|
assets: AssetList,
|
|
|
asset?: Maybe<Asset>,
|
|
|
me?: Maybe<CurrentUser>,
|
|
|
- collections: CollectionList,
|
|
|
- collection?: Maybe<Collection>,
|
|
|
- collectionFilters: Array<ConfigurableOperation>,
|
|
|
channels: Array<Channel>,
|
|
|
channel?: Maybe<Channel>,
|
|
|
activeChannel: Channel,
|
|
|
- administrators: AdministratorList,
|
|
|
- administrator?: Maybe<Administrator>,
|
|
|
- customerGroups: Array<CustomerGroup>,
|
|
|
- customerGroup?: Maybe<CustomerGroup>,
|
|
|
+ collections: CollectionList,
|
|
|
+ collection?: Maybe<Collection>,
|
|
|
+ collectionFilters: Array<ConfigurableOperation>,
|
|
|
countries: CountryList,
|
|
|
country?: Maybe<Country>,
|
|
|
+ customerGroups: Array<CustomerGroup>,
|
|
|
+ customerGroup?: Maybe<CustomerGroup>,
|
|
|
globalSettings: GlobalSettings,
|
|
|
customers: CustomerList,
|
|
|
customer?: Maybe<Customer>,
|
|
|
@@ -2560,54 +2582,52 @@ export type Query = {
|
|
|
jobs: Array<JobInfo>,
|
|
|
order?: Maybe<Order>,
|
|
|
orders: OrderList,
|
|
|
- search: SearchResponse,
|
|
|
paymentMethods: PaymentMethodList,
|
|
|
paymentMethod?: Maybe<PaymentMethod>,
|
|
|
productOptionGroups: Array<ProductOptionGroup>,
|
|
|
productOptionGroup?: Maybe<ProductOptionGroup>,
|
|
|
+ search: SearchResponse,
|
|
|
products: ProductList,
|
|
|
/** Get a Product either by id or slug. If neither id nor slug is speicified, an error will result. */
|
|
|
product?: Maybe<Product>,
|
|
|
+ promotion?: Maybe<Promotion>,
|
|
|
+ promotions: PromotionList,
|
|
|
+ adjustmentOperations: AdjustmentOperations,
|
|
|
roles: RoleList,
|
|
|
role?: Maybe<Role>,
|
|
|
shippingMethods: ShippingMethodList,
|
|
|
shippingMethod?: Maybe<ShippingMethod>,
|
|
|
shippingEligibilityCheckers: Array<ConfigurableOperation>,
|
|
|
shippingCalculators: Array<ConfigurableOperation>,
|
|
|
- promotion?: Maybe<Promotion>,
|
|
|
- promotions: PromotionList,
|
|
|
- adjustmentOperations: AdjustmentOperations,
|
|
|
taxCategories: Array<TaxCategory>,
|
|
|
taxCategory?: Maybe<TaxCategory>,
|
|
|
- zones: Array<Zone>,
|
|
|
- zone?: Maybe<Zone>,
|
|
|
taxRates: TaxRateList,
|
|
|
taxRate?: Maybe<TaxRate>,
|
|
|
+ zones: Array<Zone>,
|
|
|
+ zone?: Maybe<Zone>,
|
|
|
networkStatus: NetworkStatus,
|
|
|
userStatus: UserStatus,
|
|
|
uiState: UiState,
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type QueryAssetsArgs = {
|
|
|
- options?: Maybe<AssetListOptions>
|
|
|
+export type QueryAdministratorsArgs = {
|
|
|
+ options?: Maybe<AdministratorListOptions>
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type QueryAssetArgs = {
|
|
|
+export type QueryAdministratorArgs = {
|
|
|
id: Scalars['ID']
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type QueryCollectionsArgs = {
|
|
|
- languageCode?: Maybe<LanguageCode>,
|
|
|
- options?: Maybe<CollectionListOptions>
|
|
|
+export type QueryAssetsArgs = {
|
|
|
+ options?: Maybe<AssetListOptions>
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type QueryCollectionArgs = {
|
|
|
- id: Scalars['ID'],
|
|
|
- languageCode?: Maybe<LanguageCode>
|
|
|
+export type QueryAssetArgs = {
|
|
|
+ id: Scalars['ID']
|
|
|
};
|
|
|
|
|
|
|
|
|
@@ -2616,18 +2636,15 @@ export type QueryChannelArgs = {
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type QueryAdministratorsArgs = {
|
|
|
- options?: Maybe<AdministratorListOptions>
|
|
|
-};
|
|
|
-
|
|
|
-
|
|
|
-export type QueryAdministratorArgs = {
|
|
|
- id: Scalars['ID']
|
|
|
+export type QueryCollectionsArgs = {
|
|
|
+ languageCode?: Maybe<LanguageCode>,
|
|
|
+ options?: Maybe<CollectionListOptions>
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type QueryCustomerGroupArgs = {
|
|
|
- id: Scalars['ID']
|
|
|
+export type QueryCollectionArgs = {
|
|
|
+ id: Scalars['ID'],
|
|
|
+ languageCode?: Maybe<LanguageCode>
|
|
|
};
|
|
|
|
|
|
|
|
|
@@ -2641,6 +2658,11 @@ export type QueryCountryArgs = {
|
|
|
};
|
|
|
|
|
|
|
|
|
+export type QueryCustomerGroupArgs = {
|
|
|
+ id: Scalars['ID']
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
export type QueryCustomersArgs = {
|
|
|
options?: Maybe<CustomerListOptions>
|
|
|
};
|
|
|
@@ -2683,11 +2705,6 @@ export type QueryOrdersArgs = {
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type QuerySearchArgs = {
|
|
|
- input: SearchInput
|
|
|
-};
|
|
|
-
|
|
|
-
|
|
|
export type QueryPaymentMethodsArgs = {
|
|
|
options?: Maybe<PaymentMethodListOptions>
|
|
|
};
|
|
|
@@ -2710,6 +2727,11 @@ export type QueryProductOptionGroupArgs = {
|
|
|
};
|
|
|
|
|
|
|
|
|
+export type QuerySearchArgs = {
|
|
|
+ input: SearchInput
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
export type QueryProductsArgs = {
|
|
|
languageCode?: Maybe<LanguageCode>,
|
|
|
options?: Maybe<ProductListOptions>
|
|
|
@@ -2723,6 +2745,16 @@ export type QueryProductArgs = {
|
|
|
};
|
|
|
|
|
|
|
|
|
+export type QueryPromotionArgs = {
|
|
|
+ id: Scalars['ID']
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
+export type QueryPromotionsArgs = {
|
|
|
+ options?: Maybe<PromotionListOptions>
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
export type QueryRolesArgs = {
|
|
|
options?: Maybe<RoleListOptions>
|
|
|
};
|
|
|
@@ -2743,17 +2775,17 @@ export type QueryShippingMethodArgs = {
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type QueryPromotionArgs = {
|
|
|
+export type QueryTaxCategoryArgs = {
|
|
|
id: Scalars['ID']
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type QueryPromotionsArgs = {
|
|
|
- options?: Maybe<PromotionListOptions>
|
|
|
+export type QueryTaxRatesArgs = {
|
|
|
+ options?: Maybe<TaxRateListOptions>
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type QueryTaxCategoryArgs = {
|
|
|
+export type QueryTaxRateArgs = {
|
|
|
id: Scalars['ID']
|
|
|
};
|
|
|
|
|
|
@@ -2762,16 +2794,6 @@ export type QueryZoneArgs = {
|
|
|
id: Scalars['ID']
|
|
|
};
|
|
|
|
|
|
-
|
|
|
-export type QueryTaxRatesArgs = {
|
|
|
- options?: Maybe<TaxRateListOptions>
|
|
|
-};
|
|
|
-
|
|
|
-
|
|
|
-export type QueryTaxRateArgs = {
|
|
|
- id: Scalars['ID']
|
|
|
-};
|
|
|
-
|
|
|
export type Refund = Node & {
|
|
|
__typename?: 'Refund',
|
|
|
id: Scalars['ID'],
|
|
|
@@ -2916,7 +2938,7 @@ export type SearchResultSortParameter = {
|
|
|
|
|
|
export type ServerConfig = {
|
|
|
__typename?: 'ServerConfig',
|
|
|
- customFields?: Maybe<Scalars['JSON']>,
|
|
|
+ customFieldConfig: CustomFields,
|
|
|
};
|
|
|
|
|
|
export type SettleRefundInput = {
|
|
|
@@ -4048,10 +4070,12 @@ export type UpdateGlobalSettingsMutationVariables = {
|
|
|
|
|
|
export type UpdateGlobalSettingsMutation = ({ __typename?: 'Mutation' } & { updateGlobalSettings: ({ __typename?: 'GlobalSettings' } & GlobalSettingsFragment) });
|
|
|
|
|
|
+export type CustomFieldConfigFragment = ({ __typename?: 'CustomFieldConfig' } & Pick<CustomFieldConfig, 'name' | 'type'>);
|
|
|
+
|
|
|
export type GetServerConfigQueryVariables = {};
|
|
|
|
|
|
|
|
|
-export type GetServerConfigQuery = ({ __typename?: 'Query' } & { globalSettings: ({ __typename?: 'GlobalSettings' } & { serverConfig: ({ __typename?: 'ServerConfig' } & Pick<ServerConfig, 'customFields'>) }) });
|
|
|
+export type GetServerConfigQuery = ({ __typename?: 'Query' } & { globalSettings: ({ __typename?: 'GlobalSettings' } & { serverConfig: ({ __typename?: 'ServerConfig' } & { customFieldConfig: ({ __typename?: 'CustomFields' } & { Address: Array<({ __typename?: 'CustomFieldConfig' } & CustomFieldConfigFragment)>, Collection: Array<({ __typename?: 'CustomFieldConfig' } & CustomFieldConfigFragment)>, Customer: Array<({ __typename?: 'CustomFieldConfig' } & CustomFieldConfigFragment)>, Facet: Array<({ __typename?: 'CustomFieldConfig' } & CustomFieldConfigFragment)>, FacetValue: Array<({ __typename?: 'CustomFieldConfig' } & CustomFieldConfigFragment)>, GlobalSettings: Array<({ __typename?: 'CustomFieldConfig' } & CustomFieldConfigFragment)>, OrderLine: Array<({ __typename?: 'CustomFieldConfig' } & CustomFieldConfigFragment)>, Product: Array<({ __typename?: 'CustomFieldConfig' } & CustomFieldConfigFragment)>, ProductOption: Array<({ __typename?: 'CustomFieldConfig' } & CustomFieldConfigFragment)>, ProductOptionGroup: Array<({ __typename?: 'CustomFieldConfig' } & CustomFieldConfigFragment)>, ProductVariant: Array<({ __typename?: 'CustomFieldConfig' } & CustomFieldConfigFragment)>, User: Array<({ __typename?: 'CustomFieldConfig' } & CustomFieldConfigFragment)> }) }) }) });
|
|
|
|
|
|
export type JobInfoFragment = ({ __typename?: 'JobInfo' } & Pick<JobInfo, 'id' | 'name' | 'state' | 'progress' | 'duration' | 'result'>);
|
|
|
|
|
|
@@ -4921,11 +4945,28 @@ export namespace UpdateGlobalSettings {
|
|
|
export type UpdateGlobalSettings = GlobalSettingsFragment;
|
|
|
}
|
|
|
|
|
|
+export namespace CustomFieldConfig {
|
|
|
+ export type Fragment = CustomFieldConfigFragment;
|
|
|
+}
|
|
|
+
|
|
|
export namespace GetServerConfig {
|
|
|
export type Variables = GetServerConfigQueryVariables;
|
|
|
export type Query = GetServerConfigQuery;
|
|
|
export type GlobalSettings = GetServerConfigQuery['globalSettings'];
|
|
|
export type ServerConfig = GetServerConfigQuery['globalSettings']['serverConfig'];
|
|
|
+ export type CustomFieldConfig = GetServerConfigQuery['globalSettings']['serverConfig']['customFieldConfig'];
|
|
|
+ export type Address = CustomFieldConfigFragment;
|
|
|
+ export type Collection = CustomFieldConfigFragment;
|
|
|
+ export type Customer = CustomFieldConfigFragment;
|
|
|
+ export type Facet = CustomFieldConfigFragment;
|
|
|
+ export type FacetValue = CustomFieldConfigFragment;
|
|
|
+ export type _GlobalSettings = CustomFieldConfigFragment;
|
|
|
+ export type OrderLine = CustomFieldConfigFragment;
|
|
|
+ export type Product = CustomFieldConfigFragment;
|
|
|
+ export type ProductOption = CustomFieldConfigFragment;
|
|
|
+ export type ProductOptionGroup = CustomFieldConfigFragment;
|
|
|
+ export type ProductVariant = CustomFieldConfigFragment;
|
|
|
+ export type User = CustomFieldConfigFragment;
|
|
|
}
|
|
|
|
|
|
export namespace JobInfo {
|