|
|
@@ -1052,6 +1052,7 @@ export type CreateAdministratorInput = {
|
|
|
emailAddress: Scalars['String'];
|
|
|
password: Scalars['String'];
|
|
|
roleIds: Array<Scalars['ID']>;
|
|
|
+ customFields?: Maybe<Scalars['JSON']>;
|
|
|
};
|
|
|
|
|
|
export type UpdateAdministratorInput = {
|
|
|
@@ -1061,6 +1062,7 @@ export type UpdateAdministratorInput = {
|
|
|
emailAddress?: Maybe<Scalars['String']>;
|
|
|
password?: Maybe<Scalars['String']>;
|
|
|
roleIds?: Maybe<Array<Scalars['ID']>>;
|
|
|
+ customFields?: Maybe<Scalars['JSON']>;
|
|
|
};
|
|
|
|
|
|
export type UpdateActiveAdministratorInput = {
|
|
|
@@ -1068,6 +1070,7 @@ export type UpdateActiveAdministratorInput = {
|
|
|
lastName?: Maybe<Scalars['String']>;
|
|
|
emailAddress?: Maybe<Scalars['String']>;
|
|
|
password?: Maybe<Scalars['String']>;
|
|
|
+ customFields?: Maybe<Scalars['JSON']>;
|
|
|
};
|
|
|
|
|
|
export type Administrator = Node & {
|
|
|
@@ -1079,6 +1082,7 @@ export type Administrator = Node & {
|
|
|
lastName: Scalars['String'];
|
|
|
emailAddress: Scalars['String'];
|
|
|
user: User;
|
|
|
+ customFields?: Maybe<Scalars['JSON']>;
|
|
|
};
|
|
|
|
|
|
export type AdministratorList = PaginatedList & {
|
|
|
@@ -1476,7 +1480,7 @@ export type ImportInfo = {
|
|
|
/**
|
|
|
* @description
|
|
|
* The state of a Job in the JobQueue
|
|
|
- *
|
|
|
+ *
|
|
|
* @docsCategory common
|
|
|
*/
|
|
|
export enum JobState {
|
|
|
@@ -2569,7 +2573,7 @@ export enum DeletionResult {
|
|
|
* @description
|
|
|
* Permissions for administrators and customers. Used to control access to
|
|
|
* GraphQL resolvers via the {@link Allow} decorator.
|
|
|
- *
|
|
|
+ *
|
|
|
* @docsCategory common
|
|
|
*/
|
|
|
export enum Permission {
|
|
|
@@ -2966,7 +2970,7 @@ export type CountryList = PaginatedList & {
|
|
|
/**
|
|
|
* @description
|
|
|
* ISO 4217 currency code
|
|
|
- *
|
|
|
+ *
|
|
|
* @docsCategory common
|
|
|
*/
|
|
|
export enum CurrencyCode {
|
|
|
@@ -3503,7 +3507,7 @@ export type HistoryEntryList = PaginatedList & {
|
|
|
* region or script modifier (e.g. de_AT). The selection available is based
|
|
|
* on the [Unicode CLDR summary list](https://unicode-org.github.io/cldr-staging/charts/37/summary/root.html)
|
|
|
* and includes the major spoken languages of the world and any widely-used variants.
|
|
|
- *
|
|
|
+ *
|
|
|
* @docsCategory common
|
|
|
*/
|
|
|
export enum LanguageCode {
|
|
|
@@ -3882,7 +3886,7 @@ export type OrderItem = Node & {
|
|
|
unitPriceWithTax: Scalars['Int'];
|
|
|
/**
|
|
|
* The price of a single unit including discounts, excluding tax.
|
|
|
- *
|
|
|
+ *
|
|
|
* If Order-level discounts have been applied, this will not be the
|
|
|
* actual taxable unit price (see `proratedUnitPrice`), but is generally the
|
|
|
* correct price to display to customers to avoid confusion
|
|
|
@@ -3922,7 +3926,7 @@ export type OrderLine = Node & {
|
|
|
unitPriceWithTax: Scalars['Int'];
|
|
|
/**
|
|
|
* The price of a single unit including discounts, excluding tax.
|
|
|
- *
|
|
|
+ *
|
|
|
* If Order-level discounts have been applied, this will not be the
|
|
|
* actual taxable unit price (see `proratedUnitPrice`), but is generally the
|
|
|
* correct price to display to customers to avoid confusion
|
|
|
@@ -4755,6 +4759,7 @@ export type NativeAuthInput = {
|
|
|
export type CustomFields = {
|
|
|
__typename?: 'CustomFields';
|
|
|
Address: Array<CustomFieldConfig>;
|
|
|
+ Administrator: Array<CustomFieldConfig>;
|
|
|
Channel: Array<CustomFieldConfig>;
|
|
|
Collection: Array<CustomFieldConfig>;
|
|
|
Customer: Array<CustomFieldConfig>;
|
|
|
@@ -7427,6 +7432,27 @@ export type GetServerConfigQuery = { globalSettings: (
|
|
|
) | (
|
|
|
{ __typename?: 'RelationCustomFieldConfig' }
|
|
|
& CustomFields_RelationCustomFieldConfig_Fragment
|
|
|
+ )>, Administrator: Array<(
|
|
|
+ { __typename?: 'StringCustomFieldConfig' }
|
|
|
+ & CustomFields_StringCustomFieldConfig_Fragment
|
|
|
+ ) | (
|
|
|
+ { __typename?: 'LocaleStringCustomFieldConfig' }
|
|
|
+ & CustomFields_LocaleStringCustomFieldConfig_Fragment
|
|
|
+ ) | (
|
|
|
+ { __typename?: 'IntCustomFieldConfig' }
|
|
|
+ & CustomFields_IntCustomFieldConfig_Fragment
|
|
|
+ ) | (
|
|
|
+ { __typename?: 'FloatCustomFieldConfig' }
|
|
|
+ & CustomFields_FloatCustomFieldConfig_Fragment
|
|
|
+ ) | (
|
|
|
+ { __typename?: 'BooleanCustomFieldConfig' }
|
|
|
+ & CustomFields_BooleanCustomFieldConfig_Fragment
|
|
|
+ ) | (
|
|
|
+ { __typename?: 'DateTimeCustomFieldConfig' }
|
|
|
+ & CustomFields_DateTimeCustomFieldConfig_Fragment
|
|
|
+ ) | (
|
|
|
+ { __typename?: 'RelationCustomFieldConfig' }
|
|
|
+ & CustomFields_RelationCustomFieldConfig_Fragment
|
|
|
)>, Channel: Array<(
|
|
|
{ __typename?: 'StringCustomFieldConfig' }
|
|
|
& CustomFields_StringCustomFieldConfig_Fragment
|
|
|
@@ -9392,6 +9418,7 @@ export namespace GetServerConfig {
|
|
|
export type Permissions = NonNullable<(NonNullable<(NonNullable<(NonNullable<GetServerConfigQuery['globalSettings']>)['serverConfig']>)['permissions']>)[number]>;
|
|
|
export type CustomFieldConfig = (NonNullable<(NonNullable<(NonNullable<GetServerConfigQuery['globalSettings']>)['serverConfig']>)['customFieldConfig']>);
|
|
|
export type Address = NonNullable<(NonNullable<(NonNullable<(NonNullable<(NonNullable<GetServerConfigQuery['globalSettings']>)['serverConfig']>)['customFieldConfig']>)['Address']>)[number]>;
|
|
|
+ export type Administrator = NonNullable<(NonNullable<(NonNullable<(NonNullable<(NonNullable<GetServerConfigQuery['globalSettings']>)['serverConfig']>)['customFieldConfig']>)['Administrator']>)[number]>;
|
|
|
export type Channel = NonNullable<(NonNullable<(NonNullable<(NonNullable<(NonNullable<GetServerConfigQuery['globalSettings']>)['serverConfig']>)['customFieldConfig']>)['Channel']>)[number]>;
|
|
|
export type Collection = NonNullable<(NonNullable<(NonNullable<(NonNullable<(NonNullable<GetServerConfigQuery['globalSettings']>)['serverConfig']>)['customFieldConfig']>)['Collection']>)[number]>;
|
|
|
export type Customer = NonNullable<(NonNullable<(NonNullable<(NonNullable<(NonNullable<GetServerConfigQuery['globalSettings']>)['serverConfig']>)['customFieldConfig']>)['Customer']>)[number]>;
|