|
|
@@ -315,6 +315,8 @@ export type AuthenticationResult = CurrentUser | InvalidCredentialsError;
|
|
|
|
|
|
export type BooleanCustomFieldConfig = CustomField & {
|
|
|
__typename?: 'BooleanCustomFieldConfig';
|
|
|
+ deprecated?: Maybe<Scalars['Boolean']['output']>;
|
|
|
+ deprecationReason?: Maybe<Scalars['String']['output']>;
|
|
|
description?: Maybe<Array<LocalizedString>>;
|
|
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
|
label?: Maybe<Array<LocalizedString>>;
|
|
|
@@ -1344,6 +1346,8 @@ export type CurrentUserChannelInput = {
|
|
|
};
|
|
|
|
|
|
export type CustomField = {
|
|
|
+ deprecated?: Maybe<Scalars['Boolean']['output']>;
|
|
|
+ deprecationReason?: Maybe<Scalars['String']['output']>;
|
|
|
description?: Maybe<Array<LocalizedString>>;
|
|
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
|
label?: Maybe<Array<LocalizedString>>;
|
|
|
@@ -1523,6 +1527,36 @@ export type CustomerSortParameter = {
|
|
|
updatedAt?: InputMaybe<SortOrder>;
|
|
|
};
|
|
|
|
|
|
+export enum DashboardMetricInterval {
|
|
|
+ Daily = 'Daily'
|
|
|
+}
|
|
|
+
|
|
|
+export type DashboardMetricSummary = {
|
|
|
+ __typename?: 'DashboardMetricSummary';
|
|
|
+ entries: Array<DashboardMetricSummaryEntry>;
|
|
|
+ interval: DashboardMetricInterval;
|
|
|
+ title: Scalars['String']['output'];
|
|
|
+ type: DashboardMetricType;
|
|
|
+};
|
|
|
+
|
|
|
+export type DashboardMetricSummaryEntry = {
|
|
|
+ __typename?: 'DashboardMetricSummaryEntry';
|
|
|
+ label: Scalars['String']['output'];
|
|
|
+ value: Scalars['Float']['output'];
|
|
|
+};
|
|
|
+
|
|
|
+export type DashboardMetricSummaryInput = {
|
|
|
+ interval: DashboardMetricInterval;
|
|
|
+ refresh?: InputMaybe<Scalars['Boolean']['input']>;
|
|
|
+ types: Array<DashboardMetricType>;
|
|
|
+};
|
|
|
+
|
|
|
+export enum DashboardMetricType {
|
|
|
+ AverageOrderValue = 'AverageOrderValue',
|
|
|
+ OrderCount = 'OrderCount',
|
|
|
+ OrderTotal = 'OrderTotal'
|
|
|
+}
|
|
|
+
|
|
|
/** Operators for filtering on a list of Date fields */
|
|
|
export type DateListOperators = {
|
|
|
inList: Scalars['DateTime']['input'];
|
|
|
@@ -1548,6 +1582,8 @@ export type DateRange = {
|
|
|
*/
|
|
|
export type DateTimeCustomFieldConfig = CustomField & {
|
|
|
__typename?: 'DateTimeCustomFieldConfig';
|
|
|
+ deprecated?: Maybe<Scalars['Boolean']['output']>;
|
|
|
+ deprecationReason?: Maybe<Scalars['String']['output']>;
|
|
|
description?: Maybe<Array<LocalizedString>>;
|
|
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
|
label?: Maybe<Array<LocalizedString>>;
|
|
|
@@ -1902,6 +1938,8 @@ export type FacetValueTranslationInput = {
|
|
|
|
|
|
export type FloatCustomFieldConfig = CustomField & {
|
|
|
__typename?: 'FloatCustomFieldConfig';
|
|
|
+ deprecated?: Maybe<Scalars['Boolean']['output']>;
|
|
|
+ deprecationReason?: Maybe<Scalars['String']['output']>;
|
|
|
description?: Maybe<Array<LocalizedString>>;
|
|
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
|
label?: Maybe<Array<LocalizedString>>;
|
|
|
@@ -2122,6 +2160,8 @@ export type InsufficientStockOnHandError = ErrorResult & {
|
|
|
|
|
|
export type IntCustomFieldConfig = CustomField & {
|
|
|
__typename?: 'IntCustomFieldConfig';
|
|
|
+ deprecated?: Maybe<Scalars['Boolean']['output']>;
|
|
|
+ deprecationReason?: Maybe<Scalars['String']['output']>;
|
|
|
description?: Maybe<Array<LocalizedString>>;
|
|
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
|
label?: Maybe<Array<LocalizedString>>;
|
|
|
@@ -2264,11 +2304,6 @@ export enum JobState {
|
|
|
RUNNING = 'RUNNING'
|
|
|
}
|
|
|
|
|
|
-export type KeyValueInput = {
|
|
|
- key: Scalars['String']['input'];
|
|
|
- value: Scalars['JSON']['input'];
|
|
|
-};
|
|
|
-
|
|
|
/**
|
|
|
* @description
|
|
|
* Languages in the form of a ISO 639-1 language code with optional
|
|
|
@@ -2605,6 +2640,8 @@ export type LanguageNotAvailableError = ErrorResult & {
|
|
|
|
|
|
export type LocaleStringCustomFieldConfig = CustomField & {
|
|
|
__typename?: 'LocaleStringCustomFieldConfig';
|
|
|
+ deprecated?: Maybe<Scalars['Boolean']['output']>;
|
|
|
+ deprecationReason?: Maybe<Scalars['String']['output']>;
|
|
|
description?: Maybe<Array<LocalizedString>>;
|
|
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
|
label?: Maybe<Array<LocalizedString>>;
|
|
|
@@ -2621,6 +2658,8 @@ export type LocaleStringCustomFieldConfig = CustomField & {
|
|
|
|
|
|
export type LocaleTextCustomFieldConfig = CustomField & {
|
|
|
__typename?: 'LocaleTextCustomFieldConfig';
|
|
|
+ deprecated?: Maybe<Scalars['Boolean']['output']>;
|
|
|
+ deprecationReason?: Maybe<Scalars['String']['output']>;
|
|
|
description?: Maybe<Array<LocalizedString>>;
|
|
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
|
label?: Maybe<Array<LocalizedString>>;
|
|
|
@@ -2819,6 +2858,8 @@ export type Mutation = {
|
|
|
createDraftOrder: Order;
|
|
|
/** Create a new Facet */
|
|
|
createFacet: Facet;
|
|
|
+ /** Create a single FacetValue */
|
|
|
+ createFacetValue: FacetValue;
|
|
|
/** Create one or more FacetValues */
|
|
|
createFacetValues: Array<FacetValue>;
|
|
|
/** Create existing PaymentMethod */
|
|
|
@@ -3010,10 +3051,6 @@ export type Mutation = {
|
|
|
setDraftOrderShippingAddress: Order;
|
|
|
/** Sets the shipping method by id, which can be obtained with the `eligibleShippingMethodsForDraftOrder` query */
|
|
|
setDraftOrderShippingMethod: SetOrderShippingMethodResult;
|
|
|
- /** Set a single key-value pair (automatically scoped based on field configuration) */
|
|
|
- setKeyValue: SetKeyValueResult;
|
|
|
- /** Set multiple key-value pairs in a transaction (each automatically scoped) */
|
|
|
- setKeyValues: Array<SetKeyValueResult>;
|
|
|
setMainNavExpanded: Scalars['Boolean']['output'];
|
|
|
setOrderCustomFields?: Maybe<Order>;
|
|
|
/** Allows a different Customer to be assigned to an Order. Added in v2.2.0. */
|
|
|
@@ -3055,6 +3092,8 @@ export type Mutation = {
|
|
|
updateCustomerNote: HistoryEntry;
|
|
|
/** Update an existing Facet */
|
|
|
updateFacet: Facet;
|
|
|
+ /** Update a single FacetValue */
|
|
|
+ updateFacetValue: FacetValue;
|
|
|
/** Update one or more FacetValues */
|
|
|
updateFacetValues: Array<FacetValue>;
|
|
|
updateGlobalSettings: UpdateGlobalSettingsResult;
|
|
|
@@ -3271,6 +3310,11 @@ export type MutationCreateFacetArgs = {
|
|
|
};
|
|
|
|
|
|
|
|
|
+export type MutationCreateFacetValueArgs = {
|
|
|
+ input: CreateFacetValueInput;
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
export type MutationCreateFacetValuesArgs = {
|
|
|
input: Array<CreateFacetValueInput>;
|
|
|
};
|
|
|
@@ -3756,16 +3800,6 @@ export type MutationSetDraftOrderShippingMethodArgs = {
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type MutationSetKeyValueArgs = {
|
|
|
- input: KeyValueInput;
|
|
|
-};
|
|
|
-
|
|
|
-
|
|
|
-export type MutationSetKeyValuesArgs = {
|
|
|
- inputs: Array<KeyValueInput>;
|
|
|
-};
|
|
|
-
|
|
|
-
|
|
|
export type MutationSetMainNavExpandedArgs = {
|
|
|
expanded: Scalars['Boolean']['input'];
|
|
|
};
|
|
|
@@ -3899,6 +3933,11 @@ export type MutationUpdateFacetArgs = {
|
|
|
};
|
|
|
|
|
|
|
|
|
+export type MutationUpdateFacetValueArgs = {
|
|
|
+ input: UpdateFacetValueInput;
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
export type MutationUpdateFacetValuesArgs = {
|
|
|
input: Array<UpdateFacetValueInput>;
|
|
|
};
|
|
|
@@ -5223,19 +5262,18 @@ export type Query = {
|
|
|
customerGroup?: Maybe<CustomerGroup>;
|
|
|
customerGroups: CustomerGroupList;
|
|
|
customers: CustomerList;
|
|
|
+ /** Get dashboard metrics for the given interval and metric types. */
|
|
|
+ dashboardMetricSummary: Array<DashboardMetricSummary>;
|
|
|
/** Returns a list of eligible shipping methods for the draft Order */
|
|
|
eligibleShippingMethodsForDraftOrder: Array<ShippingMethodQuote>;
|
|
|
/** Returns all configured EntityDuplicators. */
|
|
|
entityDuplicators: Array<EntityDuplicatorDefinition>;
|
|
|
facet?: Maybe<Facet>;
|
|
|
+ facetValue?: Maybe<FacetValue>;
|
|
|
facetValues: FacetValueList;
|
|
|
facets: FacetList;
|
|
|
fulfillmentHandlers: Array<ConfigurableOperationDefinition>;
|
|
|
/** Get value for a specific key (automatically scoped based on field configuration) */
|
|
|
- getKeyValue?: Maybe<Scalars['JSON']['output']>;
|
|
|
- /** Get multiple key-value pairs (each automatically scoped) */
|
|
|
- getKeyValues?: Maybe<Scalars['JSON']['output']>;
|
|
|
- /** Get value for a specific key (automatically scoped based on field configuration) */
|
|
|
getSettingsStoreValue?: Maybe<Scalars['JSON']['output']>;
|
|
|
/** Get multiple key-value pairs (each automatically scoped) */
|
|
|
getSettingsStoreValues?: Maybe<Scalars['JSON']['output']>;
|
|
|
@@ -5372,6 +5410,11 @@ export type QueryCustomersArgs = {
|
|
|
};
|
|
|
|
|
|
|
|
|
+export type QueryDashboardMetricSummaryArgs = {
|
|
|
+ input?: InputMaybe<DashboardMetricSummaryInput>;
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
export type QueryEligibleShippingMethodsForDraftOrderArgs = {
|
|
|
orderId: Scalars['ID']['input'];
|
|
|
};
|
|
|
@@ -5382,6 +5425,11 @@ export type QueryFacetArgs = {
|
|
|
};
|
|
|
|
|
|
|
|
|
+export type QueryFacetValueArgs = {
|
|
|
+ id: Scalars['ID']['input'];
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
export type QueryFacetValuesArgs = {
|
|
|
options?: InputMaybe<FacetValueListOptions>;
|
|
|
};
|
|
|
@@ -5392,16 +5440,6 @@ export type QueryFacetsArgs = {
|
|
|
};
|
|
|
|
|
|
|
|
|
-export type QueryGetKeyValueArgs = {
|
|
|
- key: Scalars['String']['input'];
|
|
|
-};
|
|
|
-
|
|
|
-
|
|
|
-export type QueryGetKeyValuesArgs = {
|
|
|
- keys: Array<Scalars['String']['input']>;
|
|
|
-};
|
|
|
-
|
|
|
-
|
|
|
export type QueryGetSettingsStoreValueArgs = {
|
|
|
key: Scalars['String']['input'];
|
|
|
};
|
|
|
@@ -5716,6 +5754,8 @@ export type RegionTranslation = {
|
|
|
|
|
|
export type RelationCustomFieldConfig = CustomField & {
|
|
|
__typename?: 'RelationCustomFieldConfig';
|
|
|
+ deprecated?: Maybe<Scalars['Boolean']['output']>;
|
|
|
+ deprecationReason?: Maybe<Scalars['String']['output']>;
|
|
|
description?: Maybe<Array<LocalizedString>>;
|
|
|
entity: Scalars['String']['output'];
|
|
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
|
@@ -5999,13 +6039,6 @@ export type ServerConfig = {
|
|
|
|
|
|
export type SetCustomerForDraftOrderResult = EmailAddressConflictError | Order;
|
|
|
|
|
|
-export type SetKeyValueResult = {
|
|
|
- __typename?: 'SetKeyValueResult';
|
|
|
- error?: Maybe<Scalars['String']['output']>;
|
|
|
- key: Scalars['String']['output'];
|
|
|
- result: Scalars['Boolean']['output'];
|
|
|
-};
|
|
|
-
|
|
|
export type SetOrderCustomerInput = {
|
|
|
customerId: Scalars['ID']['input'];
|
|
|
note?: InputMaybe<Scalars['String']['input']>;
|
|
|
@@ -6264,6 +6297,8 @@ export enum StockMovementType {
|
|
|
|
|
|
export type StringCustomFieldConfig = CustomField & {
|
|
|
__typename?: 'StringCustomFieldConfig';
|
|
|
+ deprecated?: Maybe<Scalars['Boolean']['output']>;
|
|
|
+ deprecationReason?: Maybe<Scalars['String']['output']>;
|
|
|
description?: Maybe<Array<LocalizedString>>;
|
|
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
|
label?: Maybe<Array<LocalizedString>>;
|
|
|
@@ -6317,6 +6352,8 @@ export type StringStructFieldConfig = StructField & {
|
|
|
|
|
|
export type StructCustomFieldConfig = CustomField & {
|
|
|
__typename?: 'StructCustomFieldConfig';
|
|
|
+ deprecated?: Maybe<Scalars['Boolean']['output']>;
|
|
|
+ deprecationReason?: Maybe<Scalars['String']['output']>;
|
|
|
description?: Maybe<Array<LocalizedString>>;
|
|
|
fields: Array<StructFieldConfig>;
|
|
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
|
@@ -6548,6 +6585,8 @@ export type TestShippingMethodResult = {
|
|
|
|
|
|
export type TextCustomFieldConfig = CustomField & {
|
|
|
__typename?: 'TextCustomFieldConfig';
|
|
|
+ deprecated?: Maybe<Scalars['Boolean']['output']>;
|
|
|
+ deprecationReason?: Maybe<Scalars['String']['output']>;
|
|
|
description?: Maybe<Array<LocalizedString>>;
|
|
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
|
label?: Maybe<Array<LocalizedString>>;
|