@deenruv/replicate-plugin 1.0.17-dev.20 → 1.0.17-dev.24
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/plugin-server/graphql/generated-admin-types.d.ts +411 -61
- package/dist/plugin-server/graphql/generated-admin-types.js +29 -11
- package/dist/plugin-server/zeus/const.js +802 -634
- package/dist/plugin-server/zeus/index.d.ts +5727 -3479
- package/dist/plugin-server/zeus/index.js +123 -82
- package/dist/plugin-server/zeus/typedDocumentNode.d.ts +2 -2
- package/dist/plugin-ui/graphql/queries.d.ts +2 -2
- package/dist/plugin-ui/graphql/selectors.d.ts +3 -2
- package/dist/plugin-ui/zeus/const.js +802 -634
- package/dist/plugin-ui/zeus/index.d.ts +5727 -3479
- package/dist/plugin-ui/zeus/index.js +123 -82
- package/dist/plugin-ui/zeus/typedDocumentNode.d.ts +2 -2
- package/dist/plugin-ui/zeus/typedDocumentNode.js +2 -2
- package/package.json +6 -6
|
@@ -1,24 +1,5 @@
|
|
|
1
1
|
export type Maybe<T> = T | null;
|
|
2
2
|
export type InputMaybe<T> = Maybe<T>;
|
|
3
|
-
export type Exact<T extends {
|
|
4
|
-
[key: string]: unknown;
|
|
5
|
-
}> = {
|
|
6
|
-
[K in keyof T]: T[K];
|
|
7
|
-
};
|
|
8
|
-
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
|
|
9
|
-
[SubKey in K]?: Maybe<T[SubKey]>;
|
|
10
|
-
};
|
|
11
|
-
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
|
|
12
|
-
[SubKey in K]: Maybe<T[SubKey]>;
|
|
13
|
-
};
|
|
14
|
-
export type MakeEmpty<T extends {
|
|
15
|
-
[key: string]: unknown;
|
|
16
|
-
}, K extends keyof T> = {
|
|
17
|
-
[_ in K]?: never;
|
|
18
|
-
};
|
|
19
|
-
export type Incremental<T> = T | {
|
|
20
|
-
[P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
|
|
21
|
-
};
|
|
22
3
|
/** All built-in and custom scalars, mapped to their actual values */
|
|
23
4
|
export type Scalars = {
|
|
24
5
|
ID: {
|
|
@@ -43,13 +24,13 @@ export type Scalars = {
|
|
|
43
24
|
};
|
|
44
25
|
/** A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the `date-time` format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar. */
|
|
45
26
|
DateTime: {
|
|
46
|
-
input:
|
|
47
|
-
output:
|
|
27
|
+
input: string;
|
|
28
|
+
output: string;
|
|
48
29
|
};
|
|
49
30
|
/** The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). */
|
|
50
31
|
JSON: {
|
|
51
|
-
input:
|
|
52
|
-
output:
|
|
32
|
+
input: unknown;
|
|
33
|
+
output: unknown;
|
|
53
34
|
};
|
|
54
35
|
/** The `Money` scalar type represents monetary values and supports signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point). */
|
|
55
36
|
Money: {
|
|
@@ -58,8 +39,8 @@ export type Scalars = {
|
|
|
58
39
|
};
|
|
59
40
|
/** The `Upload` scalar type represents a file upload. */
|
|
60
41
|
Upload: {
|
|
61
|
-
input:
|
|
62
|
-
output:
|
|
42
|
+
input: unknown;
|
|
43
|
+
output: unknown;
|
|
63
44
|
};
|
|
64
45
|
};
|
|
65
46
|
export type AddFulfillmentToOrderResult = CreateFulfillmentError | EmptyOrderLineSelectionError | Fulfillment | FulfillmentStateTransitionError | InsufficientStockOnHandError | InvalidFulfillmentHandlerError | ItemsAlreadyFulfilledError;
|
|
@@ -82,6 +63,11 @@ export type AddNoteToOrderInput = {
|
|
|
82
63
|
isPublic: Scalars['Boolean']['input'];
|
|
83
64
|
note: Scalars['String']['input'];
|
|
84
65
|
};
|
|
66
|
+
export type AdditionalOrderState = {
|
|
67
|
+
__typename?: 'AdditionalOrderState';
|
|
68
|
+
selectedByDefault: Scalars['Boolean']['output'];
|
|
69
|
+
state: Scalars['String']['output'];
|
|
70
|
+
};
|
|
85
71
|
export type Address = Node & {
|
|
86
72
|
__typename?: 'Address';
|
|
87
73
|
city?: Maybe<Scalars['String']['output']>;
|
|
@@ -312,6 +298,10 @@ export type AuthenticationMethod = Node & {
|
|
|
312
298
|
updatedAt: Scalars['DateTime']['output'];
|
|
313
299
|
};
|
|
314
300
|
export type AuthenticationResult = CurrentUser | InvalidCredentialsError;
|
|
301
|
+
export type BetterMetricRangeInput = {
|
|
302
|
+
end?: InputMaybe<Scalars['DateTime']['input']>;
|
|
303
|
+
start: Scalars['DateTime']['input'];
|
|
304
|
+
};
|
|
315
305
|
export type BooleanCustomFieldConfig = CustomField & {
|
|
316
306
|
__typename?: 'BooleanCustomFieldConfig';
|
|
317
307
|
description?: Maybe<Array<LocalizedString>>;
|
|
@@ -443,6 +433,42 @@ export type ChannelSortParameter = {
|
|
|
443
433
|
token?: InputMaybe<SortOrder>;
|
|
444
434
|
updatedAt?: InputMaybe<SortOrder>;
|
|
445
435
|
};
|
|
436
|
+
export type ChartDataType = {
|
|
437
|
+
__typename?: 'ChartDataType';
|
|
438
|
+
entries: Array<ChartEntry>;
|
|
439
|
+
title: Scalars['String']['output'];
|
|
440
|
+
type: ChartMetricType;
|
|
441
|
+
};
|
|
442
|
+
export type ChartEntry = {
|
|
443
|
+
__typename?: 'ChartEntry';
|
|
444
|
+
additionalData?: Maybe<Array<ChartEntryAdditionalData>>;
|
|
445
|
+
intervalTick: Scalars['Int']['output'];
|
|
446
|
+
value: Scalars['Float']['output'];
|
|
447
|
+
};
|
|
448
|
+
export type ChartEntryAdditionalData = {
|
|
449
|
+
__typename?: 'ChartEntryAdditionalData';
|
|
450
|
+
id: Scalars['String']['output'];
|
|
451
|
+
name: Scalars['String']['output'];
|
|
452
|
+
quantity: Scalars['Float']['output'];
|
|
453
|
+
};
|
|
454
|
+
export type ChartMetricInput = {
|
|
455
|
+
interval: MetricIntervalType;
|
|
456
|
+
net?: InputMaybe<Scalars['Boolean']['input']>;
|
|
457
|
+
orderStates: Array<Scalars['String']['input']>;
|
|
458
|
+
productIDs?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
459
|
+
range: BetterMetricRangeInput;
|
|
460
|
+
types: Array<ChartMetricType>;
|
|
461
|
+
};
|
|
462
|
+
export declare enum ChartMetricType {
|
|
463
|
+
AverageOrderValue = "AverageOrderValue",
|
|
464
|
+
OrderCount = "OrderCount",
|
|
465
|
+
OrderTotal = "OrderTotal",
|
|
466
|
+
OrderTotalProductsCount = "OrderTotalProductsCount"
|
|
467
|
+
}
|
|
468
|
+
export type ChartMetrics = {
|
|
469
|
+
__typename?: 'ChartMetrics';
|
|
470
|
+
data: Array<ChartDataType>;
|
|
471
|
+
};
|
|
446
472
|
export type Collection = Node & {
|
|
447
473
|
__typename?: 'Collection';
|
|
448
474
|
assets: Array<Asset>;
|
|
@@ -582,6 +608,11 @@ export type CoordinateInput = {
|
|
|
582
608
|
x: Scalars['Float']['input'];
|
|
583
609
|
y: Scalars['Float']['input'];
|
|
584
610
|
};
|
|
611
|
+
export type CopyOrderErrorResponse = {
|
|
612
|
+
__typename?: 'CopyOrderErrorResponse';
|
|
613
|
+
message: Scalars['String']['output'];
|
|
614
|
+
};
|
|
615
|
+
export type CopyOrderResult = CopyOrderErrorResponse | Order;
|
|
585
616
|
/**
|
|
586
617
|
* A Country of the world which your shop operates in.
|
|
587
618
|
*
|
|
@@ -760,16 +791,27 @@ export type CreateCustomerInput = {
|
|
|
760
791
|
title?: InputMaybe<Scalars['String']['input']>;
|
|
761
792
|
};
|
|
762
793
|
export type CreateCustomerResult = Customer | EmailAddressConflictError;
|
|
794
|
+
export type CreateFacetCustomFieldsInput = {
|
|
795
|
+
colorsCollection?: InputMaybe<Scalars['Boolean']['input']>;
|
|
796
|
+
usedForColors?: InputMaybe<Scalars['Boolean']['input']>;
|
|
797
|
+
usedForProductCreations?: InputMaybe<Scalars['Boolean']['input']>;
|
|
798
|
+
};
|
|
763
799
|
export type CreateFacetInput = {
|
|
764
800
|
code: Scalars['String']['input'];
|
|
765
|
-
customFields?: InputMaybe<
|
|
801
|
+
customFields?: InputMaybe<CreateFacetCustomFieldsInput>;
|
|
766
802
|
isPrivate: Scalars['Boolean']['input'];
|
|
767
803
|
translations: Array<FacetTranslationInput>;
|
|
768
804
|
values?: InputMaybe<Array<CreateFacetValueWithFacetInput>>;
|
|
769
805
|
};
|
|
806
|
+
export type CreateFacetValueCustomFieldsInput = {
|
|
807
|
+
hexColor?: InputMaybe<Scalars['String']['input']>;
|
|
808
|
+
imageId?: InputMaybe<Scalars['ID']['input']>;
|
|
809
|
+
isHidden?: InputMaybe<Scalars['Boolean']['input']>;
|
|
810
|
+
isNew?: InputMaybe<Scalars['Boolean']['input']>;
|
|
811
|
+
};
|
|
770
812
|
export type CreateFacetValueInput = {
|
|
771
813
|
code: Scalars['String']['input'];
|
|
772
|
-
customFields?: InputMaybe<
|
|
814
|
+
customFields?: InputMaybe<CreateFacetValueCustomFieldsInput>;
|
|
773
815
|
facetId: Scalars['ID']['input'];
|
|
774
816
|
translations: Array<FacetValueTranslationInput>;
|
|
775
817
|
};
|
|
@@ -902,6 +944,43 @@ export type CreateZoneInput = {
|
|
|
902
944
|
memberIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
903
945
|
name: Scalars['String']['input'];
|
|
904
946
|
};
|
|
947
|
+
export type CronJob = {
|
|
948
|
+
__typename?: 'CronJob';
|
|
949
|
+
channelToken: Scalars['String']['output'];
|
|
950
|
+
lastScheduleTime: Scalars['String']['output'];
|
|
951
|
+
lastSuccessfulTime: Scalars['String']['output'];
|
|
952
|
+
name: Scalars['String']['output'];
|
|
953
|
+
schedule: Scalars['String']['output'];
|
|
954
|
+
};
|
|
955
|
+
export type CronJobCreateInput = {
|
|
956
|
+
jobQueueName: Scalars['String']['input'];
|
|
957
|
+
schedule: Scalars['String']['input'];
|
|
958
|
+
};
|
|
959
|
+
export type CronJobInput = {
|
|
960
|
+
name: Scalars['String']['input'];
|
|
961
|
+
schedule: Scalars['String']['input'];
|
|
962
|
+
};
|
|
963
|
+
export type CronJobsConfig = {
|
|
964
|
+
__typename?: 'CronJobsConfig';
|
|
965
|
+
presets: Array<CronJobsPreset>;
|
|
966
|
+
suggestedJobs: Array<Scalars['String']['output']>;
|
|
967
|
+
};
|
|
968
|
+
export type CronJobsList = {
|
|
969
|
+
__typename?: 'CronJobsList';
|
|
970
|
+
items: Array<CronJob>;
|
|
971
|
+
totalItems: Scalars['Int']['output'];
|
|
972
|
+
};
|
|
973
|
+
export type CronJobsListInput = {
|
|
974
|
+
channelToken?: InputMaybe<Scalars['String']['input']>;
|
|
975
|
+
jobQueueName?: InputMaybe<Scalars['String']['input']>;
|
|
976
|
+
take?: InputMaybe<Scalars['Int']['input']>;
|
|
977
|
+
};
|
|
978
|
+
export type CronJobsPreset = {
|
|
979
|
+
__typename?: 'CronJobsPreset';
|
|
980
|
+
default: Scalars['Boolean']['output'];
|
|
981
|
+
label: Scalars['String']['output'];
|
|
982
|
+
value: Scalars['String']['output'];
|
|
983
|
+
};
|
|
905
984
|
/**
|
|
906
985
|
* @description
|
|
907
986
|
* ISO 4217 currency code
|
|
@@ -1557,7 +1636,7 @@ export type Facet = Node & {
|
|
|
1557
1636
|
__typename?: 'Facet';
|
|
1558
1637
|
code: Scalars['String']['output'];
|
|
1559
1638
|
createdAt: Scalars['DateTime']['output'];
|
|
1560
|
-
customFields?: Maybe<
|
|
1639
|
+
customFields?: Maybe<FacetCustomFields>;
|
|
1561
1640
|
id: Scalars['ID']['output'];
|
|
1562
1641
|
isPrivate: Scalars['Boolean']['output'];
|
|
1563
1642
|
languageCode: LanguageCode;
|
|
@@ -1571,16 +1650,25 @@ export type Facet = Node & {
|
|
|
1571
1650
|
export type FacetValueListArgs = {
|
|
1572
1651
|
options?: InputMaybe<FacetValueListOptions>;
|
|
1573
1652
|
};
|
|
1653
|
+
export type FacetCustomFields = {
|
|
1654
|
+
__typename?: 'FacetCustomFields';
|
|
1655
|
+
colorsCollection?: Maybe<Scalars['Boolean']['output']>;
|
|
1656
|
+
usedForColors?: Maybe<Scalars['Boolean']['output']>;
|
|
1657
|
+
usedForProductCreations?: Maybe<Scalars['Boolean']['output']>;
|
|
1658
|
+
};
|
|
1574
1659
|
export type FacetFilterParameter = {
|
|
1575
1660
|
_and?: InputMaybe<Array<FacetFilterParameter>>;
|
|
1576
1661
|
_or?: InputMaybe<Array<FacetFilterParameter>>;
|
|
1577
1662
|
code?: InputMaybe<StringOperators>;
|
|
1663
|
+
colorsCollection?: InputMaybe<BooleanOperators>;
|
|
1578
1664
|
createdAt?: InputMaybe<DateOperators>;
|
|
1579
1665
|
id?: InputMaybe<IdOperators>;
|
|
1580
1666
|
isPrivate?: InputMaybe<BooleanOperators>;
|
|
1581
1667
|
languageCode?: InputMaybe<StringOperators>;
|
|
1582
1668
|
name?: InputMaybe<StringOperators>;
|
|
1583
1669
|
updatedAt?: InputMaybe<DateOperators>;
|
|
1670
|
+
usedForColors?: InputMaybe<BooleanOperators>;
|
|
1671
|
+
usedForProductCreations?: InputMaybe<BooleanOperators>;
|
|
1584
1672
|
};
|
|
1585
1673
|
export type FacetInUseError = ErrorResult & {
|
|
1586
1674
|
__typename?: 'FacetInUseError';
|
|
@@ -1609,10 +1697,13 @@ export type FacetListOptions = {
|
|
|
1609
1697
|
};
|
|
1610
1698
|
export type FacetSortParameter = {
|
|
1611
1699
|
code?: InputMaybe<SortOrder>;
|
|
1700
|
+
colorsCollection?: InputMaybe<SortOrder>;
|
|
1612
1701
|
createdAt?: InputMaybe<SortOrder>;
|
|
1613
1702
|
id?: InputMaybe<SortOrder>;
|
|
1614
1703
|
name?: InputMaybe<SortOrder>;
|
|
1615
1704
|
updatedAt?: InputMaybe<SortOrder>;
|
|
1705
|
+
usedForColors?: InputMaybe<SortOrder>;
|
|
1706
|
+
usedForProductCreations?: InputMaybe<SortOrder>;
|
|
1616
1707
|
};
|
|
1617
1708
|
export type FacetTranslation = {
|
|
1618
1709
|
__typename?: 'FacetTranslation';
|
|
@@ -1632,7 +1723,7 @@ export type FacetValue = Node & {
|
|
|
1632
1723
|
__typename?: 'FacetValue';
|
|
1633
1724
|
code: Scalars['String']['output'];
|
|
1634
1725
|
createdAt: Scalars['DateTime']['output'];
|
|
1635
|
-
customFields?: Maybe<
|
|
1726
|
+
customFields?: Maybe<FacetValueCustomFields>;
|
|
1636
1727
|
facet: Facet;
|
|
1637
1728
|
facetId: Scalars['ID']['output'];
|
|
1638
1729
|
id: Scalars['ID']['output'];
|
|
@@ -1641,6 +1732,13 @@ export type FacetValue = Node & {
|
|
|
1641
1732
|
translations: Array<FacetValueTranslation>;
|
|
1642
1733
|
updatedAt: Scalars['DateTime']['output'];
|
|
1643
1734
|
};
|
|
1735
|
+
export type FacetValueCustomFields = {
|
|
1736
|
+
__typename?: 'FacetValueCustomFields';
|
|
1737
|
+
hexColor?: Maybe<Scalars['String']['output']>;
|
|
1738
|
+
image?: Maybe<Asset>;
|
|
1739
|
+
isHidden?: Maybe<Scalars['Boolean']['output']>;
|
|
1740
|
+
isNew?: Maybe<Scalars['Boolean']['output']>;
|
|
1741
|
+
};
|
|
1644
1742
|
/**
|
|
1645
1743
|
* Used to construct boolean expressions for filtering search results
|
|
1646
1744
|
* by FacetValue ID. Examples:
|
|
@@ -1659,7 +1757,10 @@ export type FacetValueFilterParameter = {
|
|
|
1659
1757
|
code?: InputMaybe<StringOperators>;
|
|
1660
1758
|
createdAt?: InputMaybe<DateOperators>;
|
|
1661
1759
|
facetId?: InputMaybe<IdOperators>;
|
|
1760
|
+
hexColor?: InputMaybe<StringOperators>;
|
|
1662
1761
|
id?: InputMaybe<IdOperators>;
|
|
1762
|
+
isHidden?: InputMaybe<BooleanOperators>;
|
|
1763
|
+
isNew?: InputMaybe<BooleanOperators>;
|
|
1663
1764
|
languageCode?: InputMaybe<StringOperators>;
|
|
1664
1765
|
name?: InputMaybe<StringOperators>;
|
|
1665
1766
|
updatedAt?: InputMaybe<DateOperators>;
|
|
@@ -1694,7 +1795,11 @@ export type FacetValueSortParameter = {
|
|
|
1694
1795
|
code?: InputMaybe<SortOrder>;
|
|
1695
1796
|
createdAt?: InputMaybe<SortOrder>;
|
|
1696
1797
|
facetId?: InputMaybe<SortOrder>;
|
|
1798
|
+
hexColor?: InputMaybe<SortOrder>;
|
|
1697
1799
|
id?: InputMaybe<SortOrder>;
|
|
1800
|
+
image?: InputMaybe<SortOrder>;
|
|
1801
|
+
isHidden?: InputMaybe<SortOrder>;
|
|
1802
|
+
isNew?: InputMaybe<SortOrder>;
|
|
1698
1803
|
name?: InputMaybe<SortOrder>;
|
|
1699
1804
|
updatedAt?: InputMaybe<SortOrder>;
|
|
1700
1805
|
};
|
|
@@ -1735,7 +1840,7 @@ export type FulfillOrderInput = {
|
|
|
1735
1840
|
export type Fulfillment = Node & {
|
|
1736
1841
|
__typename?: 'Fulfillment';
|
|
1737
1842
|
createdAt: Scalars['DateTime']['output'];
|
|
1738
|
-
customFields?: Maybe<
|
|
1843
|
+
customFields?: Maybe<FulfillmentCustomFields>;
|
|
1739
1844
|
id: Scalars['ID']['output'];
|
|
1740
1845
|
lines: Array<FulfillmentLine>;
|
|
1741
1846
|
method: Scalars['String']['output'];
|
|
@@ -1746,6 +1851,10 @@ export type Fulfillment = Node & {
|
|
|
1746
1851
|
trackingCode?: Maybe<Scalars['String']['output']>;
|
|
1747
1852
|
updatedAt: Scalars['DateTime']['output'];
|
|
1748
1853
|
};
|
|
1854
|
+
export type FulfillmentCustomFields = {
|
|
1855
|
+
__typename?: 'FulfillmentCustomFields';
|
|
1856
|
+
inpostLabel?: Maybe<Asset>;
|
|
1857
|
+
};
|
|
1749
1858
|
export type FulfillmentLine = {
|
|
1750
1859
|
__typename?: 'FulfillmentLine';
|
|
1751
1860
|
fulfillment: Fulfillment;
|
|
@@ -1763,6 +1872,10 @@ export type FulfillmentStateTransitionError = ErrorResult & {
|
|
|
1763
1872
|
toState: Scalars['String']['output'];
|
|
1764
1873
|
transitionError: Scalars['String']['output'];
|
|
1765
1874
|
};
|
|
1875
|
+
export type GetInpostOrganizationsInput = {
|
|
1876
|
+
apiKey: Scalars['String']['input'];
|
|
1877
|
+
host: Scalars['String']['input'];
|
|
1878
|
+
};
|
|
1766
1879
|
export type GetPredictionEntityInput = {
|
|
1767
1880
|
prediction_entity_id: Scalars['String']['input'];
|
|
1768
1881
|
};
|
|
@@ -1884,6 +1997,25 @@ export type IneligibleShippingMethodError = ErrorResult & {
|
|
|
1884
1997
|
errorCode: ErrorCode;
|
|
1885
1998
|
message: Scalars['String']['output'];
|
|
1886
1999
|
};
|
|
2000
|
+
export type InpostConfig = {
|
|
2001
|
+
__typename?: 'InpostConfig';
|
|
2002
|
+
apiKey: Scalars['String']['output'];
|
|
2003
|
+
geowidgetKey?: Maybe<Scalars['String']['output']>;
|
|
2004
|
+
host: Scalars['String']['output'];
|
|
2005
|
+
inpostOrganization: Scalars['Int']['output'];
|
|
2006
|
+
service: Scalars['String']['output'];
|
|
2007
|
+
shippingMethodId: Scalars['ID']['output'];
|
|
2008
|
+
};
|
|
2009
|
+
export type InpostOrganization = {
|
|
2010
|
+
__typename?: 'InpostOrganization';
|
|
2011
|
+
id: Scalars['Int']['output'];
|
|
2012
|
+
name: Scalars['String']['output'];
|
|
2013
|
+
services: Array<Scalars['String']['output']>;
|
|
2014
|
+
};
|
|
2015
|
+
export type InpostOrganizationResponse = {
|
|
2016
|
+
__typename?: 'InpostOrganizationResponse';
|
|
2017
|
+
items: Array<InpostOrganization>;
|
|
2018
|
+
};
|
|
1887
2019
|
/** Returned when attempting to add more items to the Order than are available */
|
|
1888
2020
|
export type InsufficientStockError = ErrorResult & {
|
|
1889
2021
|
__typename?: 'InsufficientStockError';
|
|
@@ -2407,30 +2539,91 @@ export type ManualPaymentStateError = ErrorResult & {
|
|
|
2407
2539
|
errorCode: ErrorCode;
|
|
2408
2540
|
message: Scalars['String']['output'];
|
|
2409
2541
|
};
|
|
2410
|
-
export
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2542
|
+
export type MerchantPlatformError = {
|
|
2543
|
+
__typename?: 'MerchantPlatformError';
|
|
2544
|
+
code: Scalars['String']['output'];
|
|
2545
|
+
message: Scalars['String']['output'];
|
|
2546
|
+
retryable: Scalars['Boolean']['output'];
|
|
2547
|
+
};
|
|
2548
|
+
export type MerchantPlatformInfo = {
|
|
2549
|
+
__typename?: 'MerchantPlatformInfo';
|
|
2550
|
+
checkedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
2551
|
+
connectionStatus?: Maybe<Scalars['String']['output']>;
|
|
2552
|
+
dataSourceVerified?: Maybe<Scalars['Boolean']['output']>;
|
|
2553
|
+
disapprovedProductsCount?: Maybe<Scalars['Int']['output']>;
|
|
2554
|
+
isValidConnection: Scalars['Boolean']['output'];
|
|
2555
|
+
issues?: Maybe<Array<MerchantProductIssue>>;
|
|
2556
|
+
issuesCount?: Maybe<Scalars['Int']['output']>;
|
|
2557
|
+
lastError?: Maybe<MerchantPlatformError>;
|
|
2558
|
+
latencyMs?: Maybe<Scalars['Int']['output']>;
|
|
2559
|
+
productsCount: Scalars['Int']['output'];
|
|
2560
|
+
};
|
|
2561
|
+
export type MerchantPlatformSetting = {
|
|
2562
|
+
__typename?: 'MerchantPlatformSetting';
|
|
2563
|
+
key: Scalars['String']['output'];
|
|
2564
|
+
value: Scalars['String']['output'];
|
|
2419
2565
|
};
|
|
2420
|
-
export type
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
value: Scalars['Float']['output'];
|
|
2566
|
+
export type MerchantPlatformSettingInput = {
|
|
2567
|
+
key: Scalars['String']['input'];
|
|
2568
|
+
value: Scalars['String']['input'];
|
|
2424
2569
|
};
|
|
2425
|
-
export type
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2570
|
+
export type MerchantPlatformSettingsEntity = Node & {
|
|
2571
|
+
__typename?: 'MerchantPlatformSettingsEntity';
|
|
2572
|
+
entries: Array<MerchantPlatformSetting>;
|
|
2573
|
+
id: Scalars['ID']['output'];
|
|
2574
|
+
platform: Scalars['String']['output'];
|
|
2429
2575
|
};
|
|
2430
|
-
export
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2576
|
+
export type MerchantProductIssue = {
|
|
2577
|
+
__typename?: 'MerchantProductIssue';
|
|
2578
|
+
code: Scalars['String']['output'];
|
|
2579
|
+
description: Scalars['String']['output'];
|
|
2580
|
+
offerId: Scalars['String']['output'];
|
|
2581
|
+
severity: Scalars['String']['output'];
|
|
2582
|
+
};
|
|
2583
|
+
export type MerchantSyncItem = {
|
|
2584
|
+
__typename?: 'MerchantSyncItem';
|
|
2585
|
+
attempts: Scalars['Int']['output'];
|
|
2586
|
+
errorCode?: Maybe<Scalars['String']['output']>;
|
|
2587
|
+
errorMessage?: Maybe<Scalars['String']['output']>;
|
|
2588
|
+
id: Scalars['ID']['output'];
|
|
2589
|
+
offerId: Scalars['String']['output'];
|
|
2590
|
+
operation: Scalars['String']['output'];
|
|
2591
|
+
status: Scalars['String']['output'];
|
|
2592
|
+
};
|
|
2593
|
+
export type MerchantSyncRun = {
|
|
2594
|
+
__typename?: 'MerchantSyncRun';
|
|
2595
|
+
createdAt: Scalars['DateTime']['output'];
|
|
2596
|
+
errorSummary?: Maybe<Scalars['String']['output']>;
|
|
2597
|
+
failed: Scalars['Int']['output'];
|
|
2598
|
+
finishedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
2599
|
+
id: Scalars['ID']['output'];
|
|
2600
|
+
items: Array<MerchantSyncItem>;
|
|
2601
|
+
jobId?: Maybe<Scalars['String']['output']>;
|
|
2602
|
+
platform: Scalars['String']['output'];
|
|
2603
|
+
startedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
2604
|
+
status: Scalars['String']['output'];
|
|
2605
|
+
succeeded: Scalars['Int']['output'];
|
|
2606
|
+
total: Scalars['Int']['output'];
|
|
2607
|
+
trigger: Scalars['String']['output'];
|
|
2608
|
+
};
|
|
2609
|
+
export declare enum MetricIntervalType {
|
|
2610
|
+
Day = "Day",
|
|
2611
|
+
Hour = "Hour"
|
|
2612
|
+
}
|
|
2613
|
+
export declare enum MetricRangeType {
|
|
2614
|
+
Custom = "Custom",
|
|
2615
|
+
FirstQuarter = "FirstQuarter",
|
|
2616
|
+
FourthQuarter = "FourthQuarter",
|
|
2617
|
+
LastMonth = "LastMonth",
|
|
2618
|
+
LastWeek = "LastWeek",
|
|
2619
|
+
LastYear = "LastYear",
|
|
2620
|
+
SecondQuarter = "SecondQuarter",
|
|
2621
|
+
ThirdQuarter = "ThirdQuarter",
|
|
2622
|
+
ThisMonth = "ThisMonth",
|
|
2623
|
+
ThisWeek = "ThisWeek",
|
|
2624
|
+
ThisYear = "ThisYear",
|
|
2625
|
+
Today = "Today",
|
|
2626
|
+
Yesterday = "Yesterday"
|
|
2434
2627
|
}
|
|
2435
2628
|
export type MimeTypeError = ErrorResult & {
|
|
2436
2629
|
__typename?: 'MimeTypeError';
|
|
@@ -2449,6 +2642,7 @@ export type ModifyOrderInput = {
|
|
|
2449
2642
|
addItems?: InputMaybe<Array<AddItemInput>>;
|
|
2450
2643
|
adjustOrderLines?: InputMaybe<Array<OrderLineInput>>;
|
|
2451
2644
|
couponCodes?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
2645
|
+
customFields?: InputMaybe<UpdateOrderCustomFieldsInput>;
|
|
2452
2646
|
dryRun: Scalars['Boolean']['input'];
|
|
2453
2647
|
note?: InputMaybe<Scalars['String']['input']>;
|
|
2454
2648
|
options?: InputMaybe<ModifyOrderOptions>;
|
|
@@ -2533,6 +2727,7 @@ export type Mutation = {
|
|
|
2533
2727
|
cancelJob: Job;
|
|
2534
2728
|
cancelOrder: CancelOrderResult;
|
|
2535
2729
|
cancelPayment: CancelPaymentResult;
|
|
2730
|
+
copyOrder: CopyOrderResult;
|
|
2536
2731
|
/** Create a new Administrator */
|
|
2537
2732
|
createAdministrator: Administrator;
|
|
2538
2733
|
/** Create a new Asset */
|
|
@@ -2543,6 +2738,7 @@ export type Mutation = {
|
|
|
2543
2738
|
createCollection: Collection;
|
|
2544
2739
|
/** Create a new Country */
|
|
2545
2740
|
createCountry: Country;
|
|
2741
|
+
createCronJob?: Maybe<Scalars['Boolean']['output']>;
|
|
2546
2742
|
/** Create a new Customer. If a password is provided, a new User will also be created an linked to the Customer. */
|
|
2547
2743
|
createCustomer: CreateCustomerResult;
|
|
2548
2744
|
/** Create a new Address and associate it with the Customer specified by customerId */
|
|
@@ -2692,11 +2888,13 @@ export type Mutation = {
|
|
|
2692
2888
|
/** Move a Collection to a different parent or index */
|
|
2693
2889
|
moveCollection: Collection;
|
|
2694
2890
|
refundOrder: RefundOrderResult;
|
|
2891
|
+
registerRealization?: Maybe<OrderRealization>;
|
|
2695
2892
|
reindex: Job;
|
|
2696
2893
|
/** Removes Collections from the specified Channel */
|
|
2697
2894
|
removeCollectionsFromChannel: Array<Collection>;
|
|
2698
2895
|
/** Removes the given coupon code from the draft Order */
|
|
2699
2896
|
removeCouponCodeFromDraftOrder?: Maybe<Order>;
|
|
2897
|
+
removeCronJob?: Maybe<Scalars['Boolean']['output']>;
|
|
2700
2898
|
/** Remove Customers from a CustomerGroup */
|
|
2701
2899
|
removeCustomersFromGroup: CustomerGroup;
|
|
2702
2900
|
/** Remove an OrderLine from the draft Order */
|
|
@@ -2712,6 +2910,7 @@ export type Mutation = {
|
|
|
2712
2910
|
* as well as removing any of the group's options from the Product's ProductVariants.
|
|
2713
2911
|
*/
|
|
2714
2912
|
removeOptionGroupFromProduct: RemoveOptionGroupFromProductResult;
|
|
2913
|
+
removeOrphanItems?: Maybe<Scalars['Boolean']['output']>;
|
|
2715
2914
|
/** Removes PaymentMethods from the specified Channel */
|
|
2716
2915
|
removePaymentMethodsFromChannel: Array<PaymentMethod>;
|
|
2717
2916
|
/** Removes ProductVariants from the specified Channel */
|
|
@@ -2727,6 +2926,8 @@ export type Mutation = {
|
|
|
2727
2926
|
/** Removes StockLocations from the specified Channel */
|
|
2728
2927
|
removeStockLocationsFromChannel: Array<StockLocation>;
|
|
2729
2928
|
runPendingSearchIndexUpdates: Success;
|
|
2929
|
+
saveMerchantPlatformSettings: MerchantPlatformSettingsEntity;
|
|
2930
|
+
sendAllProductsToMerchantPlatform?: Maybe<Scalars['Boolean']['output']>;
|
|
2730
2931
|
setCustomerForDraftOrder: SetCustomerForDraftOrderResult;
|
|
2731
2932
|
/** Sets the billing address for a draft Order */
|
|
2732
2933
|
setDraftOrderBillingAddress: Order;
|
|
@@ -2736,6 +2937,7 @@ export type Mutation = {
|
|
|
2736
2937
|
setDraftOrderShippingAddress: Order;
|
|
2737
2938
|
/** Sets the shipping method by id, which can be obtained with the `eligibleShippingMethodsForDraftOrder` query */
|
|
2738
2939
|
setDraftOrderShippingMethod: SetOrderShippingMethodResult;
|
|
2940
|
+
setInpostShippingMethodConfig: Scalars['Boolean']['output'];
|
|
2739
2941
|
setOrderCustomFields?: Maybe<Order>;
|
|
2740
2942
|
/** Allows a different Customer to be assigned to an Order. Added in v2.2.0. */
|
|
2741
2943
|
setOrderCustomer?: Maybe<Order>;
|
|
@@ -2760,6 +2962,7 @@ export type Mutation = {
|
|
|
2760
2962
|
updateCollection: Collection;
|
|
2761
2963
|
/** Update an existing Country */
|
|
2762
2964
|
updateCountry: Country;
|
|
2965
|
+
updateCronJob?: Maybe<Scalars['Boolean']['output']>;
|
|
2763
2966
|
/** Update an existing Customer */
|
|
2764
2967
|
updateCustomer: UpdateCustomerResult;
|
|
2765
2968
|
/** Update an existing Address */
|
|
@@ -2884,6 +3087,9 @@ export type MutationCancelOrderArgs = {
|
|
|
2884
3087
|
export type MutationCancelPaymentArgs = {
|
|
2885
3088
|
id: Scalars['ID']['input'];
|
|
2886
3089
|
};
|
|
3090
|
+
export type MutationCopyOrderArgs = {
|
|
3091
|
+
id: Scalars['ID']['input'];
|
|
3092
|
+
};
|
|
2887
3093
|
export type MutationCreateAdministratorArgs = {
|
|
2888
3094
|
input: CreateAdministratorInput;
|
|
2889
3095
|
};
|
|
@@ -2899,6 +3105,9 @@ export type MutationCreateCollectionArgs = {
|
|
|
2899
3105
|
export type MutationCreateCountryArgs = {
|
|
2900
3106
|
input: CreateCountryInput;
|
|
2901
3107
|
};
|
|
3108
|
+
export type MutationCreateCronJobArgs = {
|
|
3109
|
+
input: CronJobCreateInput;
|
|
3110
|
+
};
|
|
2902
3111
|
export type MutationCreateCustomerArgs = {
|
|
2903
3112
|
input: CreateCustomerInput;
|
|
2904
3113
|
password?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -3127,6 +3336,9 @@ export type MutationMoveCollectionArgs = {
|
|
|
3127
3336
|
export type MutationRefundOrderArgs = {
|
|
3128
3337
|
input: RefundOrderInput;
|
|
3129
3338
|
};
|
|
3339
|
+
export type MutationRegisterRealizationArgs = {
|
|
3340
|
+
input: OrderRealizationInput;
|
|
3341
|
+
};
|
|
3130
3342
|
export type MutationRemoveCollectionsFromChannelArgs = {
|
|
3131
3343
|
input: RemoveCollectionsFromChannelInput;
|
|
3132
3344
|
};
|
|
@@ -3134,6 +3346,9 @@ export type MutationRemoveCouponCodeFromDraftOrderArgs = {
|
|
|
3134
3346
|
couponCode: Scalars['String']['input'];
|
|
3135
3347
|
orderId: Scalars['ID']['input'];
|
|
3136
3348
|
};
|
|
3349
|
+
export type MutationRemoveCronJobArgs = {
|
|
3350
|
+
jobs: Array<CronJobInput>;
|
|
3351
|
+
};
|
|
3137
3352
|
export type MutationRemoveCustomersFromGroupArgs = {
|
|
3138
3353
|
customerGroupId: Scalars['ID']['input'];
|
|
3139
3354
|
customerIds: Array<Scalars['ID']['input']>;
|
|
@@ -3154,6 +3369,9 @@ export type MutationRemoveOptionGroupFromProductArgs = {
|
|
|
3154
3369
|
optionGroupId: Scalars['ID']['input'];
|
|
3155
3370
|
productId: Scalars['ID']['input'];
|
|
3156
3371
|
};
|
|
3372
|
+
export type MutationRemoveOrphanItemsArgs = {
|
|
3373
|
+
platform: Scalars['String']['input'];
|
|
3374
|
+
};
|
|
3157
3375
|
export type MutationRemovePaymentMethodsFromChannelArgs = {
|
|
3158
3376
|
input: RemovePaymentMethodsFromChannelInput;
|
|
3159
3377
|
};
|
|
@@ -3176,6 +3394,12 @@ export type MutationRemoveShippingMethodsFromChannelArgs = {
|
|
|
3176
3394
|
export type MutationRemoveStockLocationsFromChannelArgs = {
|
|
3177
3395
|
input: RemoveStockLocationsFromChannelInput;
|
|
3178
3396
|
};
|
|
3397
|
+
export type MutationSaveMerchantPlatformSettingsArgs = {
|
|
3398
|
+
input: SaveMerchantPlatformSettingInput;
|
|
3399
|
+
};
|
|
3400
|
+
export type MutationSendAllProductsToMerchantPlatformArgs = {
|
|
3401
|
+
platform: Scalars['String']['input'];
|
|
3402
|
+
};
|
|
3179
3403
|
export type MutationSetCustomerForDraftOrderArgs = {
|
|
3180
3404
|
customerId?: InputMaybe<Scalars['ID']['input']>;
|
|
3181
3405
|
input?: InputMaybe<CreateCustomerInput>;
|
|
@@ -3197,6 +3421,9 @@ export type MutationSetDraftOrderShippingMethodArgs = {
|
|
|
3197
3421
|
orderId: Scalars['ID']['input'];
|
|
3198
3422
|
shippingMethodId: Scalars['ID']['input'];
|
|
3199
3423
|
};
|
|
3424
|
+
export type MutationSetInpostShippingMethodConfigArgs = {
|
|
3425
|
+
input: SetInpostShippingMethodConfigInput;
|
|
3426
|
+
};
|
|
3200
3427
|
export type MutationSetOrderCustomFieldsArgs = {
|
|
3201
3428
|
input: UpdateOrderInput;
|
|
3202
3429
|
};
|
|
@@ -3249,6 +3476,9 @@ export type MutationUpdateCollectionArgs = {
|
|
|
3249
3476
|
export type MutationUpdateCountryArgs = {
|
|
3250
3477
|
input: UpdateCountryInput;
|
|
3251
3478
|
};
|
|
3479
|
+
export type MutationUpdateCronJobArgs = {
|
|
3480
|
+
job: CronJobInput;
|
|
3481
|
+
};
|
|
3252
3482
|
export type MutationUpdateCustomerArgs = {
|
|
3253
3483
|
input: UpdateCustomerInput;
|
|
3254
3484
|
};
|
|
@@ -3394,12 +3624,13 @@ export type Order = Node & {
|
|
|
3394
3624
|
couponCodes: Array<Scalars['String']['output']>;
|
|
3395
3625
|
createdAt: Scalars['DateTime']['output'];
|
|
3396
3626
|
currencyCode: CurrencyCode;
|
|
3397
|
-
customFields?: Maybe<
|
|
3627
|
+
customFields?: Maybe<OrderCustomFields>;
|
|
3398
3628
|
customer?: Maybe<Customer>;
|
|
3399
3629
|
discounts: Array<Discount>;
|
|
3400
3630
|
/** An array of all promotions excluded from the Order */
|
|
3401
3631
|
excludedPromotionIds?: Maybe<Array<Scalars['String']['output']>>;
|
|
3402
3632
|
fulfillments?: Maybe<Array<Fulfillment>>;
|
|
3633
|
+
getRealization?: Maybe<OrderRealization>;
|
|
3403
3634
|
history: HistoryEntryList;
|
|
3404
3635
|
id: Scalars['ID']['output'];
|
|
3405
3636
|
lines: Array<OrderLine>;
|
|
@@ -3462,6 +3693,10 @@ export type OrderAddress = {
|
|
|
3462
3693
|
streetLine1?: Maybe<Scalars['String']['output']>;
|
|
3463
3694
|
streetLine2?: Maybe<Scalars['String']['output']>;
|
|
3464
3695
|
};
|
|
3696
|
+
export type OrderCustomFields = {
|
|
3697
|
+
__typename?: 'OrderCustomFields';
|
|
3698
|
+
pickupPointId?: Maybe<Scalars['String']['output']>;
|
|
3699
|
+
};
|
|
3465
3700
|
export type OrderFilterParameter = {
|
|
3466
3701
|
_and?: InputMaybe<Array<OrderFilterParameter>>;
|
|
3467
3702
|
_or?: InputMaybe<Array<OrderFilterParameter>>;
|
|
@@ -3473,6 +3708,7 @@ export type OrderFilterParameter = {
|
|
|
3473
3708
|
customerLastName?: InputMaybe<StringOperators>;
|
|
3474
3709
|
id?: InputMaybe<IdOperators>;
|
|
3475
3710
|
orderPlacedAt?: InputMaybe<DateOperators>;
|
|
3711
|
+
pickupPointId?: InputMaybe<StringOperators>;
|
|
3476
3712
|
shipping?: InputMaybe<NumberOperators>;
|
|
3477
3713
|
shippingWithTax?: InputMaybe<NumberOperators>;
|
|
3478
3714
|
state?: InputMaybe<StringOperators>;
|
|
@@ -3621,6 +3857,25 @@ export type OrderProcessState = {
|
|
|
3621
3857
|
name: Scalars['String']['output'];
|
|
3622
3858
|
to: Array<Scalars['String']['output']>;
|
|
3623
3859
|
};
|
|
3860
|
+
export type OrderRealization = {
|
|
3861
|
+
__typename?: 'OrderRealization';
|
|
3862
|
+
assetID: Scalars['ID']['output'];
|
|
3863
|
+
color: Scalars['String']['output'];
|
|
3864
|
+
finalPlannedAt?: Maybe<Scalars['String']['output']>;
|
|
3865
|
+
key?: Maybe<Scalars['String']['output']>;
|
|
3866
|
+
note?: Maybe<Scalars['String']['output']>;
|
|
3867
|
+
orderID: Scalars['ID']['output'];
|
|
3868
|
+
plannedAt: Scalars['String']['output'];
|
|
3869
|
+
url?: Maybe<Scalars['String']['output']>;
|
|
3870
|
+
};
|
|
3871
|
+
export type OrderRealizationInput = {
|
|
3872
|
+
assets: Array<RealizationAssetInput>;
|
|
3873
|
+
color: Scalars['String']['input'];
|
|
3874
|
+
finalPlannedAt: Scalars['String']['input'];
|
|
3875
|
+
note: Scalars['String']['input'];
|
|
3876
|
+
orderID: Scalars['String']['input'];
|
|
3877
|
+
plannedAt: Scalars['String']['input'];
|
|
3878
|
+
};
|
|
3624
3879
|
export type OrderSortParameter = {
|
|
3625
3880
|
aggregateOrderId?: InputMaybe<SortOrder>;
|
|
3626
3881
|
code?: InputMaybe<SortOrder>;
|
|
@@ -3628,6 +3883,7 @@ export type OrderSortParameter = {
|
|
|
3628
3883
|
customerLastName?: InputMaybe<SortOrder>;
|
|
3629
3884
|
id?: InputMaybe<SortOrder>;
|
|
3630
3885
|
orderPlacedAt?: InputMaybe<SortOrder>;
|
|
3886
|
+
pickupPointId?: InputMaybe<SortOrder>;
|
|
3631
3887
|
shipping?: InputMaybe<SortOrder>;
|
|
3632
3888
|
shippingWithTax?: InputMaybe<SortOrder>;
|
|
3633
3889
|
state?: InputMaybe<SortOrder>;
|
|
@@ -3648,6 +3904,24 @@ export type OrderStateTransitionError = ErrorResult & {
|
|
|
3648
3904
|
toState: Scalars['String']['output'];
|
|
3649
3905
|
transitionError: Scalars['String']['output'];
|
|
3650
3906
|
};
|
|
3907
|
+
export type OrderSummaryDataMetric = {
|
|
3908
|
+
__typename?: 'OrderSummaryDataMetric';
|
|
3909
|
+
averageOrderValue: Scalars['Float']['output'];
|
|
3910
|
+
averageOrderValueWithTax: Scalars['Float']['output'];
|
|
3911
|
+
currencyCode: CurrencyCode;
|
|
3912
|
+
orderCount: Scalars['Float']['output'];
|
|
3913
|
+
productCount: Scalars['Float']['output'];
|
|
3914
|
+
total: Scalars['Float']['output'];
|
|
3915
|
+
totalWithTax: Scalars['Float']['output'];
|
|
3916
|
+
};
|
|
3917
|
+
export type OrderSummaryMetricInput = {
|
|
3918
|
+
orderStates: Array<Scalars['String']['input']>;
|
|
3919
|
+
range: BetterMetricRangeInput;
|
|
3920
|
+
};
|
|
3921
|
+
export type OrderSummaryMetrics = {
|
|
3922
|
+
__typename?: 'OrderSummaryMetrics';
|
|
3923
|
+
data: OrderSummaryDataMetric;
|
|
3924
|
+
};
|
|
3651
3925
|
/**
|
|
3652
3926
|
* A summary of the taxes being applied to this order, grouped
|
|
3653
3927
|
* by taxRate.
|
|
@@ -4093,6 +4367,7 @@ export type ProductListOptions = {
|
|
|
4093
4367
|
filter?: InputMaybe<ProductFilterParameter>;
|
|
4094
4368
|
/** Specifies whether multiple top-level "filter" fields should be combined with a logical AND or OR operation. Defaults to AND. */
|
|
4095
4369
|
filterOperator?: InputMaybe<LogicalOperator>;
|
|
4370
|
+
searchTerm?: InputMaybe<Scalars['String']['input']>;
|
|
4096
4371
|
/** Skips the first n results, for use in pagination */
|
|
4097
4372
|
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
4098
4373
|
/** Specifies which properties to sort the results by */
|
|
@@ -4192,7 +4467,7 @@ export type ProductVariant = Node & {
|
|
|
4192
4467
|
channels: Array<Channel>;
|
|
4193
4468
|
createdAt: Scalars['DateTime']['output'];
|
|
4194
4469
|
currencyCode: CurrencyCode;
|
|
4195
|
-
customFields?: Maybe<
|
|
4470
|
+
customFields?: Maybe<ProductVariantCustomFields>;
|
|
4196
4471
|
enabled: Scalars['Boolean']['output'];
|
|
4197
4472
|
facetValues: Array<FacetValue>;
|
|
4198
4473
|
featuredAsset?: Maybe<Asset>;
|
|
@@ -4224,9 +4499,14 @@ export type ProductVariant = Node & {
|
|
|
4224
4499
|
export type ProductVariantStockMovementsArgs = {
|
|
4225
4500
|
options?: InputMaybe<StockMovementListOptions>;
|
|
4226
4501
|
};
|
|
4502
|
+
export type ProductVariantCustomFields = {
|
|
4503
|
+
__typename?: 'ProductVariantCustomFields';
|
|
4504
|
+
communicateID?: Maybe<Scalars['String']['output']>;
|
|
4505
|
+
};
|
|
4227
4506
|
export type ProductVariantFilterParameter = {
|
|
4228
4507
|
_and?: InputMaybe<Array<ProductVariantFilterParameter>>;
|
|
4229
4508
|
_or?: InputMaybe<Array<ProductVariantFilterParameter>>;
|
|
4509
|
+
communicateID?: InputMaybe<StringOperators>;
|
|
4230
4510
|
createdAt?: InputMaybe<DateOperators>;
|
|
4231
4511
|
currencyCode?: InputMaybe<StringOperators>;
|
|
4232
4512
|
enabled?: InputMaybe<BooleanOperators>;
|
|
@@ -4256,6 +4536,7 @@ export type ProductVariantListOptions = {
|
|
|
4256
4536
|
filter?: InputMaybe<ProductVariantFilterParameter>;
|
|
4257
4537
|
/** Specifies whether multiple top-level "filter" fields should be combined with a logical AND or OR operation. Defaults to AND. */
|
|
4258
4538
|
filterOperator?: InputMaybe<LogicalOperator>;
|
|
4539
|
+
searchTerm?: InputMaybe<Scalars['String']['input']>;
|
|
4259
4540
|
/** Skips the first n results, for use in pagination */
|
|
4260
4541
|
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
4261
4542
|
/** Specifies which properties to sort the results by */
|
|
@@ -4279,6 +4560,7 @@ export type ProductVariantPriceInput = {
|
|
|
4279
4560
|
price: Scalars['Money']['input'];
|
|
4280
4561
|
};
|
|
4281
4562
|
export type ProductVariantSortParameter = {
|
|
4563
|
+
communicateID?: InputMaybe<SortOrder>;
|
|
4282
4564
|
createdAt?: InputMaybe<SortOrder>;
|
|
4283
4565
|
id?: InputMaybe<SortOrder>;
|
|
4284
4566
|
name?: InputMaybe<SortOrder>;
|
|
@@ -4454,6 +4736,7 @@ export type Query = {
|
|
|
4454
4736
|
__typename?: 'Query';
|
|
4455
4737
|
activeAdministrator?: Maybe<Administrator>;
|
|
4456
4738
|
activeChannel: Channel;
|
|
4739
|
+
additionalOrderStates: Array<AdditionalOrderState>;
|
|
4457
4740
|
administrator?: Maybe<Administrator>;
|
|
4458
4741
|
administrators: AdministratorList;
|
|
4459
4742
|
/** Get a single Asset by id */
|
|
@@ -4462,12 +4745,15 @@ export type Query = {
|
|
|
4462
4745
|
assets: AssetList;
|
|
4463
4746
|
channel?: Maybe<Channel>;
|
|
4464
4747
|
channels: ChannelList;
|
|
4748
|
+
chartMetric: ChartMetrics;
|
|
4465
4749
|
/** Get a Collection either by id or slug. If neither id nor slug is specified, an error will result. */
|
|
4466
4750
|
collection?: Maybe<Collection>;
|
|
4467
4751
|
collectionFilters: Array<ConfigurableOperationDefinition>;
|
|
4468
4752
|
collections: CollectionList;
|
|
4469
4753
|
countries: CountryList;
|
|
4470
4754
|
country?: Maybe<Country>;
|
|
4755
|
+
cronJobs: CronJobsList;
|
|
4756
|
+
cronJobsConfig: CronJobsConfig;
|
|
4471
4757
|
customer?: Maybe<Customer>;
|
|
4472
4758
|
customerGroup?: Maybe<CustomerGroup>;
|
|
4473
4759
|
customerGroups: CustomerGroupList;
|
|
@@ -4480,8 +4766,14 @@ export type Query = {
|
|
|
4480
4766
|
facetValues: FacetValueList;
|
|
4481
4767
|
facets: FacetList;
|
|
4482
4768
|
fulfillmentHandlers: Array<ConfigurableOperationDefinition>;
|
|
4769
|
+
getInpostConfig?: Maybe<InpostConfig>;
|
|
4770
|
+
getInpostOrganizations: InpostOrganizationResponse;
|
|
4771
|
+
getMerchantPlatformInfo?: Maybe<Array<MerchantPlatformInfo>>;
|
|
4772
|
+
getMerchantPlatformSettings?: Maybe<MerchantPlatformSettingsEntity>;
|
|
4773
|
+
getMerchantSyncHistory: Array<MerchantSyncRun>;
|
|
4483
4774
|
getPredictionID?: Maybe<Scalars['String']['output']>;
|
|
4484
4775
|
getPredictionItem: PredictionResult;
|
|
4776
|
+
getRealizationURL?: Maybe<Scalars['String']['output']>;
|
|
4485
4777
|
getReplicatePredictions: ReplicateEntityList;
|
|
4486
4778
|
globalSettings: GlobalSettings;
|
|
4487
4779
|
job?: Maybe<Job>;
|
|
@@ -4490,9 +4782,8 @@ export type Query = {
|
|
|
4490
4782
|
jobs: JobList;
|
|
4491
4783
|
jobsById: Array<Job>;
|
|
4492
4784
|
me?: Maybe<CurrentUser>;
|
|
4493
|
-
/** Get metrics for the given interval and metric types. */
|
|
4494
|
-
metricSummary: Array<MetricSummary>;
|
|
4495
4785
|
order?: Maybe<Order>;
|
|
4786
|
+
orderSummaryMetric: OrderSummaryMetrics;
|
|
4496
4787
|
orders: OrderList;
|
|
4497
4788
|
paymentMethod?: Maybe<PaymentMethod>;
|
|
4498
4789
|
paymentMethodEligibilityCheckers: Array<ConfigurableOperationDefinition>;
|
|
@@ -4557,6 +4848,9 @@ export type QueryChannelArgs = {
|
|
|
4557
4848
|
export type QueryChannelsArgs = {
|
|
4558
4849
|
options?: InputMaybe<ChannelListOptions>;
|
|
4559
4850
|
};
|
|
4851
|
+
export type QueryChartMetricArgs = {
|
|
4852
|
+
input: ChartMetricInput;
|
|
4853
|
+
};
|
|
4560
4854
|
export type QueryCollectionArgs = {
|
|
4561
4855
|
id?: InputMaybe<Scalars['ID']['input']>;
|
|
4562
4856
|
slug?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -4570,6 +4864,9 @@ export type QueryCountriesArgs = {
|
|
|
4570
4864
|
export type QueryCountryArgs = {
|
|
4571
4865
|
id: Scalars['ID']['input'];
|
|
4572
4866
|
};
|
|
4867
|
+
export type QueryCronJobsArgs = {
|
|
4868
|
+
input: CronJobsListInput;
|
|
4869
|
+
};
|
|
4573
4870
|
export type QueryCustomerArgs = {
|
|
4574
4871
|
id: Scalars['ID']['input'];
|
|
4575
4872
|
};
|
|
@@ -4594,12 +4891,28 @@ export type QueryFacetValuesArgs = {
|
|
|
4594
4891
|
export type QueryFacetsArgs = {
|
|
4595
4892
|
options?: InputMaybe<FacetListOptions>;
|
|
4596
4893
|
};
|
|
4894
|
+
export type QueryGetInpostOrganizationsArgs = {
|
|
4895
|
+
input?: InputMaybe<GetInpostOrganizationsInput>;
|
|
4896
|
+
};
|
|
4897
|
+
export type QueryGetMerchantPlatformInfoArgs = {
|
|
4898
|
+
platform: Scalars['String']['input'];
|
|
4899
|
+
};
|
|
4900
|
+
export type QueryGetMerchantPlatformSettingsArgs = {
|
|
4901
|
+
platform: Scalars['String']['input'];
|
|
4902
|
+
};
|
|
4903
|
+
export type QueryGetMerchantSyncHistoryArgs = {
|
|
4904
|
+
platform: Scalars['String']['input'];
|
|
4905
|
+
take?: InputMaybe<Scalars['Int']['input']>;
|
|
4906
|
+
};
|
|
4597
4907
|
export type QueryGetPredictionIdArgs = {
|
|
4598
4908
|
input: GetPredictionEntityInput;
|
|
4599
4909
|
};
|
|
4600
4910
|
export type QueryGetPredictionItemArgs = {
|
|
4601
4911
|
id: Scalars['String']['input'];
|
|
4602
4912
|
};
|
|
4913
|
+
export type QueryGetRealizationUrlArgs = {
|
|
4914
|
+
orderID: Scalars['ID']['input'];
|
|
4915
|
+
};
|
|
4603
4916
|
export type QueryGetReplicatePredictionsArgs = {
|
|
4604
4917
|
options?: InputMaybe<ReplicateEntityListOptions>;
|
|
4605
4918
|
};
|
|
@@ -4615,12 +4928,12 @@ export type QueryJobsArgs = {
|
|
|
4615
4928
|
export type QueryJobsByIdArgs = {
|
|
4616
4929
|
jobIds: Array<Scalars['ID']['input']>;
|
|
4617
4930
|
};
|
|
4618
|
-
export type QueryMetricSummaryArgs = {
|
|
4619
|
-
input?: InputMaybe<MetricSummaryInput>;
|
|
4620
|
-
};
|
|
4621
4931
|
export type QueryOrderArgs = {
|
|
4622
4932
|
id: Scalars['ID']['input'];
|
|
4623
4933
|
};
|
|
4934
|
+
export type QueryOrderSummaryMetricArgs = {
|
|
4935
|
+
input: OrderSummaryMetricInput;
|
|
4936
|
+
};
|
|
4624
4937
|
export type QueryOrdersArgs = {
|
|
4625
4938
|
options?: InputMaybe<OrderListOptions>;
|
|
4626
4939
|
};
|
|
@@ -4723,6 +5036,11 @@ export type QueryZoneArgs = {
|
|
|
4723
5036
|
export type QueryZonesArgs = {
|
|
4724
5037
|
options?: InputMaybe<ZoneListOptions>;
|
|
4725
5038
|
};
|
|
5039
|
+
export type RealizationAssetInput = {
|
|
5040
|
+
id: Scalars['String']['input'];
|
|
5041
|
+
orderLineID: Scalars['String']['input'];
|
|
5042
|
+
preview: Scalars['String']['input'];
|
|
5043
|
+
};
|
|
4726
5044
|
export type Refund = Node & {
|
|
4727
5045
|
__typename?: 'Refund';
|
|
4728
5046
|
adjustment: Scalars['Money']['output'];
|
|
@@ -4949,6 +5267,10 @@ export type Sale = Node & StockMovement & {
|
|
|
4949
5267
|
type: StockMovementType;
|
|
4950
5268
|
updatedAt: Scalars['DateTime']['output'];
|
|
4951
5269
|
};
|
|
5270
|
+
export type SaveMerchantPlatformSettingInput = {
|
|
5271
|
+
entries: Array<MerchantPlatformSettingInput>;
|
|
5272
|
+
platform: Scalars['String']['input'];
|
|
5273
|
+
};
|
|
4952
5274
|
export type SearchInput = {
|
|
4953
5275
|
collectionId?: InputMaybe<Scalars['ID']['input']>;
|
|
4954
5276
|
collectionSlug?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -5063,6 +5385,14 @@ export type ServerConfig = {
|
|
|
5063
5385
|
permittedAssetTypes: Array<Scalars['String']['output']>;
|
|
5064
5386
|
};
|
|
5065
5387
|
export type SetCustomerForDraftOrderResult = EmailAddressConflictError | Order;
|
|
5388
|
+
export type SetInpostShippingMethodConfigInput = {
|
|
5389
|
+
apiKey: Scalars['String']['input'];
|
|
5390
|
+
geowidgetKey?: InputMaybe<Scalars['String']['input']>;
|
|
5391
|
+
host: Scalars['String']['input'];
|
|
5392
|
+
inpostOrganization: Scalars['Int']['input'];
|
|
5393
|
+
service: Scalars['String']['input'];
|
|
5394
|
+
shippingMethodId: Scalars['ID']['input'];
|
|
5395
|
+
};
|
|
5066
5396
|
export type SetOrderCustomerInput = {
|
|
5067
5397
|
customerId: Scalars['ID']['input'];
|
|
5068
5398
|
note?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -5173,6 +5503,12 @@ export type ShippingMethodTranslationInput = {
|
|
|
5173
5503
|
languageCode: LanguageCode;
|
|
5174
5504
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
5175
5505
|
};
|
|
5506
|
+
export type ShopOrderRealization = {
|
|
5507
|
+
__typename?: 'ShopOrderRealization';
|
|
5508
|
+
finalPlannedAt?: Maybe<Scalars['String']['output']>;
|
|
5509
|
+
note?: Maybe<Scalars['String']['output']>;
|
|
5510
|
+
plannedAt?: Maybe<Scalars['String']['output']>;
|
|
5511
|
+
};
|
|
5176
5512
|
/** The price value where the result has a single price */
|
|
5177
5513
|
export type SinglePrice = {
|
|
5178
5514
|
__typename?: 'SinglePrice';
|
|
@@ -5623,16 +5959,27 @@ export type UpdateCustomerNoteInput = {
|
|
|
5623
5959
|
noteId: Scalars['ID']['input'];
|
|
5624
5960
|
};
|
|
5625
5961
|
export type UpdateCustomerResult = Customer | EmailAddressConflictError;
|
|
5962
|
+
export type UpdateFacetCustomFieldsInput = {
|
|
5963
|
+
colorsCollection?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5964
|
+
usedForColors?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5965
|
+
usedForProductCreations?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5966
|
+
};
|
|
5626
5967
|
export type UpdateFacetInput = {
|
|
5627
5968
|
code?: InputMaybe<Scalars['String']['input']>;
|
|
5628
|
-
customFields?: InputMaybe<
|
|
5969
|
+
customFields?: InputMaybe<UpdateFacetCustomFieldsInput>;
|
|
5629
5970
|
id: Scalars['ID']['input'];
|
|
5630
5971
|
isPrivate?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5631
5972
|
translations?: InputMaybe<Array<FacetTranslationInput>>;
|
|
5632
5973
|
};
|
|
5974
|
+
export type UpdateFacetValueCustomFieldsInput = {
|
|
5975
|
+
hexColor?: InputMaybe<Scalars['String']['input']>;
|
|
5976
|
+
imageId?: InputMaybe<Scalars['ID']['input']>;
|
|
5977
|
+
isHidden?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5978
|
+
isNew?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5979
|
+
};
|
|
5633
5980
|
export type UpdateFacetValueInput = {
|
|
5634
5981
|
code?: InputMaybe<Scalars['String']['input']>;
|
|
5635
|
-
customFields?: InputMaybe<
|
|
5982
|
+
customFields?: InputMaybe<UpdateFacetValueCustomFieldsInput>;
|
|
5636
5983
|
id: Scalars['ID']['input'];
|
|
5637
5984
|
translations?: InputMaybe<Array<FacetValueTranslationInput>>;
|
|
5638
5985
|
};
|
|
@@ -5654,8 +6001,11 @@ export type UpdateOrderAddressInput = {
|
|
|
5654
6001
|
streetLine1?: InputMaybe<Scalars['String']['input']>;
|
|
5655
6002
|
streetLine2?: InputMaybe<Scalars['String']['input']>;
|
|
5656
6003
|
};
|
|
6004
|
+
export type UpdateOrderCustomFieldsInput = {
|
|
6005
|
+
pickupPointId?: InputMaybe<Scalars['String']['input']>;
|
|
6006
|
+
};
|
|
5657
6007
|
export type UpdateOrderInput = {
|
|
5658
|
-
customFields?: InputMaybe<
|
|
6008
|
+
customFields?: InputMaybe<UpdateOrderCustomFieldsInput>;
|
|
5659
6009
|
id: Scalars['ID']['input'];
|
|
5660
6010
|
};
|
|
5661
6011
|
export type UpdateOrderItemsResult = InsufficientStockError | NegativeQuantityError | Order | OrderLimitError | OrderMiddlewareError | OrderModificationError;
|