@vendure/core 3.2.0 → 3.2.1
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/LICENSE.md +42 -42
- package/README.md +11 -11
- package/dist/api/config/generate-error-code-enum.js +3 -3
- package/dist/api/config/generate-permissions.js +29 -29
- package/dist/api/config/graphql-custom-fields.js +158 -158
- package/dist/api/schema/admin-api/administrator.api.graphql +47 -47
- package/dist/api/schema/admin-api/administrator.type.graphql +14 -14
- package/dist/api/schema/admin-api/asset.api.graphql +68 -68
- package/dist/api/schema/admin-api/auth.api.graphql +22 -22
- package/dist/api/schema/admin-api/channel.api.graphql +69 -69
- package/dist/api/schema/admin-api/collection-admin.type.graphql +4 -4
- package/dist/api/schema/admin-api/collection.api.graphql +94 -94
- package/dist/api/schema/admin-api/country.api.graphql +41 -41
- package/dist/api/schema/admin-api/customer-admin.type.graphql +4 -4
- package/dist/api/schema/admin-api/customer-group.api.graphql +37 -37
- package/dist/api/schema/admin-api/customer.api.graphql +63 -63
- package/dist/api/schema/admin-api/duplicate-entity.api.graphql +40 -40
- package/dist/api/schema/admin-api/facet-admin.type.graphql +3 -3
- package/dist/api/schema/admin-api/facet.api.graphql +100 -100
- package/dist/api/schema/admin-api/global-settings.api.graphql +26 -26
- package/dist/api/schema/admin-api/global-settings.type.graphql +28 -28
- package/dist/api/schema/admin-api/history-entry-admin.type.graphql +4 -4
- package/dist/api/schema/admin-api/import.api.graphql +3 -3
- package/dist/api/schema/admin-api/import.type.graphql +5 -5
- package/dist/api/schema/admin-api/job.api.graphql +63 -63
- package/dist/api/schema/admin-api/order-admin.type.graphql +37 -37
- package/dist/api/schema/admin-api/order.api.graphql +463 -463
- package/dist/api/schema/admin-api/payment-method.api.graphql +65 -65
- package/dist/api/schema/admin-api/payment.api.graphql +2 -2
- package/dist/api/schema/admin-api/product-admin.type.graphql +21 -21
- package/dist/api/schema/admin-api/product-option-group.api.graphql +58 -58
- package/dist/api/schema/admin-api/product-search-admin.type.graphql +5 -5
- package/dist/api/schema/admin-api/product-search.api.graphql +10 -10
- package/dist/api/schema/admin-api/product.api.graphql +225 -225
- package/dist/api/schema/admin-api/promotion.api.graphql +70 -70
- package/dist/api/schema/admin-api/province.api.graphql +37 -37
- package/dist/api/schema/admin-api/role.api.graphql +33 -33
- package/dist/api/schema/admin-api/seller.api.graphql +31 -31
- package/dist/api/schema/admin-api/shipping-method.api.graphql +91 -91
- package/dist/api/schema/admin-api/stock-level.type.graphql +9 -9
- package/dist/api/schema/admin-api/stock-location.api.graphql +51 -51
- package/dist/api/schema/admin-api/stock-location.type.graphql +7 -7
- package/dist/api/schema/admin-api/stock-movement.type.graphql +80 -80
- package/dist/api/schema/admin-api/tag.api.graphql +25 -25
- package/dist/api/schema/admin-api/tax-category.api.graphql +36 -36
- package/dist/api/schema/admin-api/tax-rate.api.graphql +37 -37
- package/dist/api/schema/admin-api/zone.api.graphql +42 -42
- package/dist/api/schema/common/address.type.graphql +16 -16
- package/dist/api/schema/common/asset.type.graphql +31 -31
- package/dist/api/schema/common/auth.type.graphql +12 -12
- package/dist/api/schema/common/channel.type.graphql +24 -24
- package/dist/api/schema/common/collection.type.graphql +40 -40
- package/dist/api/schema/common/common-enums.graphql +35 -35
- package/dist/api/schema/common/common-error-results.graphql +107 -107
- package/dist/api/schema/common/common-types.graphql +285 -285
- package/dist/api/schema/common/currency-code.graphql +322 -322
- package/dist/api/schema/common/custom-field-types.graphql +265 -265
- package/dist/api/schema/common/customer-group.type.graphql +10 -10
- package/dist/api/schema/common/customer.type.graphql +18 -18
- package/dist/api/schema/common/facet-value.type.graphql +19 -19
- package/dist/api/schema/common/facet.type.graphql +35 -35
- package/dist/api/schema/common/history-entry.type.graphql +43 -43
- package/dist/api/schema/common/language-code.graphql +325 -325
- package/dist/api/schema/common/order.type.graphql +257 -257
- package/dist/api/schema/common/payment-method.type.graphql +21 -21
- package/dist/api/schema/common/product-option-group.type.graphql +38 -38
- package/dist/api/schema/common/product-search.type.graphql +69 -69
- package/dist/api/schema/common/product.type.graphql +70 -70
- package/dist/api/schema/common/promotion.type.graphql +31 -31
- package/dist/api/schema/common/region.type.graphql +65 -65
- package/dist/api/schema/common/role.type.graphql +14 -14
- package/dist/api/schema/common/seller.type.graphql +6 -6
- package/dist/api/schema/common/shipping-method.type.graphql +27 -27
- package/dist/api/schema/common/tag.type.graphql +11 -11
- package/dist/api/schema/common/tax-category.type.graphql +7 -7
- package/dist/api/schema/common/tax-rate.type.graphql +16 -16
- package/dist/api/schema/common/user.type.graphql +17 -17
- package/dist/api/schema/common/zone.type.graphql +8 -8
- package/dist/api/schema/shop-api/shop-error-results.graphql +114 -114
- package/dist/api/schema/shop-api/shop.api.graphql +287 -287
- package/dist/config/auth/native-authentication-strategy.js +5 -5
- package/dist/i18n/messages/de.json +117 -117
- package/dist/i18n/messages/en.json +140 -140
- package/dist/i18n/messages/es.json +38 -38
- package/dist/i18n/messages/fr.json +138 -138
- package/dist/i18n/messages/pt_BR.json +99 -99
- package/dist/i18n/messages/pt_PT.json +118 -118
- package/dist/i18n/messages/ru.json +118 -118
- package/dist/i18n/messages/uk.json +118 -118
- package/dist/migrate.js +15 -15
- package/dist/plugin/default-search-plugin/api/api-extensions.js +8 -8
- package/dist/plugin/default-search-plugin/search-strategy/mysql-search-strategy.js +3 -3
- package/dist/plugin/default-search-plugin/search-strategy/postgres-search-strategy.js +5 -5
- package/dist/plugin/default-search-plugin/search-strategy/sqlite-search-strategy.js +4 -4
- package/package.json +4 -4
- package/cli/cli-utils.d.ts +0 -1
- package/cli/cli-utils.js +0 -8
- package/cli/cli-utils.js.map +0 -1
- package/cli/vendure-cli.d.ts +0 -2
- package/cli/vendure-cli.js +0 -119
- package/cli/vendure-cli.js.map +0 -1
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
type Query {
|
|
2
|
-
taxCategories(options: TaxCategoryListOptions): TaxCategoryList!
|
|
3
|
-
taxCategory(id: ID!): TaxCategory
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
type TaxCategoryList implements PaginatedList {
|
|
7
|
-
items: [TaxCategory!]!
|
|
8
|
-
totalItems: Int!
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
input TaxCategoryListOptions
|
|
12
|
-
|
|
13
|
-
type Mutation {
|
|
14
|
-
"Create a new TaxCategory"
|
|
15
|
-
createTaxCategory(input: CreateTaxCategoryInput!): TaxCategory!
|
|
16
|
-
|
|
17
|
-
"Update an existing TaxCategory"
|
|
18
|
-
updateTaxCategory(input: UpdateTaxCategoryInput!): TaxCategory!
|
|
19
|
-
|
|
20
|
-
"Deletes a TaxCategory"
|
|
21
|
-
deleteTaxCategory(id: ID!): DeletionResponse!
|
|
22
|
-
|
|
23
|
-
"Deletes multiple TaxCategories"
|
|
24
|
-
deleteTaxCategories(ids: [ID!]!): [DeletionResponse!]!
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
input CreateTaxCategoryInput {
|
|
28
|
-
name: String!
|
|
29
|
-
isDefault: Boolean
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
input UpdateTaxCategoryInput {
|
|
33
|
-
id: ID!
|
|
34
|
-
name: String
|
|
35
|
-
isDefault: Boolean
|
|
36
|
-
}
|
|
1
|
+
type Query {
|
|
2
|
+
taxCategories(options: TaxCategoryListOptions): TaxCategoryList!
|
|
3
|
+
taxCategory(id: ID!): TaxCategory
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
type TaxCategoryList implements PaginatedList {
|
|
7
|
+
items: [TaxCategory!]!
|
|
8
|
+
totalItems: Int!
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
input TaxCategoryListOptions
|
|
12
|
+
|
|
13
|
+
type Mutation {
|
|
14
|
+
"Create a new TaxCategory"
|
|
15
|
+
createTaxCategory(input: CreateTaxCategoryInput!): TaxCategory!
|
|
16
|
+
|
|
17
|
+
"Update an existing TaxCategory"
|
|
18
|
+
updateTaxCategory(input: UpdateTaxCategoryInput!): TaxCategory!
|
|
19
|
+
|
|
20
|
+
"Deletes a TaxCategory"
|
|
21
|
+
deleteTaxCategory(id: ID!): DeletionResponse!
|
|
22
|
+
|
|
23
|
+
"Deletes multiple TaxCategories"
|
|
24
|
+
deleteTaxCategories(ids: [ID!]!): [DeletionResponse!]!
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
input CreateTaxCategoryInput {
|
|
28
|
+
name: String!
|
|
29
|
+
isDefault: Boolean
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
input UpdateTaxCategoryInput {
|
|
33
|
+
id: ID!
|
|
34
|
+
name: String
|
|
35
|
+
isDefault: Boolean
|
|
36
|
+
}
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
type Query {
|
|
2
|
-
taxRates(options: TaxRateListOptions): TaxRateList!
|
|
3
|
-
taxRate(id: ID!): TaxRate
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
type Mutation {
|
|
7
|
-
"Create a new TaxRate"
|
|
8
|
-
createTaxRate(input: CreateTaxRateInput!): TaxRate!
|
|
9
|
-
"Update an existing TaxRate"
|
|
10
|
-
updateTaxRate(input: UpdateTaxRateInput!): TaxRate!
|
|
11
|
-
"Delete a TaxRate"
|
|
12
|
-
deleteTaxRate(id: ID!): DeletionResponse!
|
|
13
|
-
"Delete multiple TaxRates"
|
|
14
|
-
deleteTaxRates(ids: [ID!]!): [DeletionResponse!]!
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
# generated by generateListOptions function
|
|
18
|
-
input TaxRateListOptions
|
|
19
|
-
|
|
20
|
-
input CreateTaxRateInput {
|
|
21
|
-
name: String!
|
|
22
|
-
enabled: Boolean!
|
|
23
|
-
value: Float!
|
|
24
|
-
categoryId: ID!
|
|
25
|
-
zoneId: ID!
|
|
26
|
-
customerGroupId: ID
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
input UpdateTaxRateInput {
|
|
30
|
-
id: ID!
|
|
31
|
-
name: String
|
|
32
|
-
value: Float
|
|
33
|
-
enabled: Boolean
|
|
34
|
-
categoryId: ID
|
|
35
|
-
zoneId: ID
|
|
36
|
-
customerGroupId: ID
|
|
37
|
-
}
|
|
1
|
+
type Query {
|
|
2
|
+
taxRates(options: TaxRateListOptions): TaxRateList!
|
|
3
|
+
taxRate(id: ID!): TaxRate
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
type Mutation {
|
|
7
|
+
"Create a new TaxRate"
|
|
8
|
+
createTaxRate(input: CreateTaxRateInput!): TaxRate!
|
|
9
|
+
"Update an existing TaxRate"
|
|
10
|
+
updateTaxRate(input: UpdateTaxRateInput!): TaxRate!
|
|
11
|
+
"Delete a TaxRate"
|
|
12
|
+
deleteTaxRate(id: ID!): DeletionResponse!
|
|
13
|
+
"Delete multiple TaxRates"
|
|
14
|
+
deleteTaxRates(ids: [ID!]!): [DeletionResponse!]!
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
# generated by generateListOptions function
|
|
18
|
+
input TaxRateListOptions
|
|
19
|
+
|
|
20
|
+
input CreateTaxRateInput {
|
|
21
|
+
name: String!
|
|
22
|
+
enabled: Boolean!
|
|
23
|
+
value: Float!
|
|
24
|
+
categoryId: ID!
|
|
25
|
+
zoneId: ID!
|
|
26
|
+
customerGroupId: ID
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
input UpdateTaxRateInput {
|
|
30
|
+
id: ID!
|
|
31
|
+
name: String
|
|
32
|
+
value: Float
|
|
33
|
+
enabled: Boolean
|
|
34
|
+
categoryId: ID
|
|
35
|
+
zoneId: ID
|
|
36
|
+
customerGroupId: ID
|
|
37
|
+
}
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
type Query {
|
|
2
|
-
zones(options: ZoneListOptions): ZoneList!
|
|
3
|
-
zone(id: ID!): Zone
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
type ZoneList implements PaginatedList {
|
|
7
|
-
items: [Zone!]!
|
|
8
|
-
totalItems: Int!
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
input ZoneListOptions
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
type Mutation {
|
|
15
|
-
"Create a new Zone"
|
|
16
|
-
createZone(input: CreateZoneInput!): Zone!
|
|
17
|
-
|
|
18
|
-
"Update an existing Zone"
|
|
19
|
-
updateZone(input: UpdateZoneInput!): Zone!
|
|
20
|
-
|
|
21
|
-
"Delete a Zone"
|
|
22
|
-
deleteZone(id: ID!): DeletionResponse!
|
|
23
|
-
|
|
24
|
-
"Delete a Zone"
|
|
25
|
-
deleteZones(ids: [ID!]!): [DeletionResponse!]!
|
|
26
|
-
|
|
27
|
-
"Add members to a Zone"
|
|
28
|
-
addMembersToZone(zoneId: ID!, memberIds: [ID!]!): Zone!
|
|
29
|
-
|
|
30
|
-
"Remove members from a Zone"
|
|
31
|
-
removeMembersFromZone(zoneId: ID!, memberIds: [ID!]!): Zone!
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
input CreateZoneInput {
|
|
35
|
-
name: String!
|
|
36
|
-
memberIds: [ID!]
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
input UpdateZoneInput {
|
|
40
|
-
id: ID!
|
|
41
|
-
name: String
|
|
42
|
-
}
|
|
1
|
+
type Query {
|
|
2
|
+
zones(options: ZoneListOptions): ZoneList!
|
|
3
|
+
zone(id: ID!): Zone
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
type ZoneList implements PaginatedList {
|
|
7
|
+
items: [Zone!]!
|
|
8
|
+
totalItems: Int!
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
input ZoneListOptions
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
type Mutation {
|
|
15
|
+
"Create a new Zone"
|
|
16
|
+
createZone(input: CreateZoneInput!): Zone!
|
|
17
|
+
|
|
18
|
+
"Update an existing Zone"
|
|
19
|
+
updateZone(input: UpdateZoneInput!): Zone!
|
|
20
|
+
|
|
21
|
+
"Delete a Zone"
|
|
22
|
+
deleteZone(id: ID!): DeletionResponse!
|
|
23
|
+
|
|
24
|
+
"Delete a Zone"
|
|
25
|
+
deleteZones(ids: [ID!]!): [DeletionResponse!]!
|
|
26
|
+
|
|
27
|
+
"Add members to a Zone"
|
|
28
|
+
addMembersToZone(zoneId: ID!, memberIds: [ID!]!): Zone!
|
|
29
|
+
|
|
30
|
+
"Remove members from a Zone"
|
|
31
|
+
removeMembersFromZone(zoneId: ID!, memberIds: [ID!]!): Zone!
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
input CreateZoneInput {
|
|
35
|
+
name: String!
|
|
36
|
+
memberIds: [ID!]
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
input UpdateZoneInput {
|
|
40
|
+
id: ID!
|
|
41
|
+
name: String
|
|
42
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
type Address implements Node {
|
|
2
|
-
id: ID!
|
|
3
|
-
createdAt: DateTime!
|
|
4
|
-
updatedAt: DateTime!
|
|
5
|
-
fullName: String
|
|
6
|
-
company: String
|
|
7
|
-
streetLine1: String!
|
|
8
|
-
streetLine2: String
|
|
9
|
-
city: String
|
|
10
|
-
province: String
|
|
11
|
-
postalCode: String
|
|
12
|
-
country: Country!
|
|
13
|
-
phoneNumber: String
|
|
14
|
-
defaultShippingAddress: Boolean
|
|
15
|
-
defaultBillingAddress: Boolean
|
|
16
|
-
}
|
|
1
|
+
type Address implements Node {
|
|
2
|
+
id: ID!
|
|
3
|
+
createdAt: DateTime!
|
|
4
|
+
updatedAt: DateTime!
|
|
5
|
+
fullName: String
|
|
6
|
+
company: String
|
|
7
|
+
streetLine1: String!
|
|
8
|
+
streetLine2: String
|
|
9
|
+
city: String
|
|
10
|
+
province: String
|
|
11
|
+
postalCode: String
|
|
12
|
+
country: Country!
|
|
13
|
+
phoneNumber: String
|
|
14
|
+
defaultShippingAddress: Boolean
|
|
15
|
+
defaultBillingAddress: Boolean
|
|
16
|
+
}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
type Asset implements Node {
|
|
2
|
-
id: ID!
|
|
3
|
-
createdAt: DateTime!
|
|
4
|
-
updatedAt: DateTime!
|
|
5
|
-
name: String!
|
|
6
|
-
type: AssetType!
|
|
7
|
-
fileSize: Int!
|
|
8
|
-
mimeType: String!
|
|
9
|
-
width: Int!
|
|
10
|
-
height: Int!
|
|
11
|
-
source: String!
|
|
12
|
-
preview: String!
|
|
13
|
-
focalPoint: Coordinate
|
|
14
|
-
tags: [Tag!]!
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
type Coordinate {
|
|
18
|
-
x: Float!
|
|
19
|
-
y: Float!
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
type AssetList implements PaginatedList {
|
|
23
|
-
items: [Asset!]!
|
|
24
|
-
totalItems: Int!
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
enum AssetType {
|
|
28
|
-
IMAGE,
|
|
29
|
-
VIDEO,
|
|
30
|
-
BINARY
|
|
31
|
-
}
|
|
1
|
+
type Asset implements Node {
|
|
2
|
+
id: ID!
|
|
3
|
+
createdAt: DateTime!
|
|
4
|
+
updatedAt: DateTime!
|
|
5
|
+
name: String!
|
|
6
|
+
type: AssetType!
|
|
7
|
+
fileSize: Int!
|
|
8
|
+
mimeType: String!
|
|
9
|
+
width: Int!
|
|
10
|
+
height: Int!
|
|
11
|
+
source: String!
|
|
12
|
+
preview: String!
|
|
13
|
+
focalPoint: Coordinate
|
|
14
|
+
tags: [Tag!]!
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
type Coordinate {
|
|
18
|
+
x: Float!
|
|
19
|
+
y: Float!
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
type AssetList implements PaginatedList {
|
|
23
|
+
items: [Asset!]!
|
|
24
|
+
totalItems: Int!
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
enum AssetType {
|
|
28
|
+
IMAGE,
|
|
29
|
+
VIDEO,
|
|
30
|
+
BINARY
|
|
31
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
type CurrentUser {
|
|
2
|
-
id: ID!
|
|
3
|
-
identifier: String!
|
|
4
|
-
channels: [CurrentUserChannel!]!
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
type CurrentUserChannel {
|
|
8
|
-
id: ID!
|
|
9
|
-
token: String!
|
|
10
|
-
code: String!
|
|
11
|
-
permissions: [Permission!]!
|
|
12
|
-
}
|
|
1
|
+
type CurrentUser {
|
|
2
|
+
id: ID!
|
|
3
|
+
identifier: String!
|
|
4
|
+
channels: [CurrentUserChannel!]!
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
type CurrentUserChannel {
|
|
8
|
+
id: ID!
|
|
9
|
+
token: String!
|
|
10
|
+
code: String!
|
|
11
|
+
permissions: [Permission!]!
|
|
12
|
+
}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
type Channel implements Node {
|
|
2
|
-
id: ID!
|
|
3
|
-
createdAt: DateTime!
|
|
4
|
-
updatedAt: DateTime!
|
|
5
|
-
code: String!
|
|
6
|
-
token: String!
|
|
7
|
-
defaultTaxZone: Zone
|
|
8
|
-
defaultShippingZone: Zone
|
|
9
|
-
defaultLanguageCode: LanguageCode!
|
|
10
|
-
availableLanguageCodes: [LanguageCode!]
|
|
11
|
-
currencyCode: CurrencyCode! @deprecated(reason: "Use defaultCurrencyCode instead")
|
|
12
|
-
defaultCurrencyCode: CurrencyCode!
|
|
13
|
-
availableCurrencyCodes: [CurrencyCode!]!
|
|
14
|
-
"""
|
|
15
|
-
Not yet used - will be implemented in a future release.
|
|
16
|
-
"""
|
|
17
|
-
trackInventory: Boolean
|
|
18
|
-
"""
|
|
19
|
-
Not yet used - will be implemented in a future release.
|
|
20
|
-
"""
|
|
21
|
-
outOfStockThreshold: Int
|
|
22
|
-
pricesIncludeTax: Boolean!
|
|
23
|
-
seller: Seller
|
|
24
|
-
}
|
|
1
|
+
type Channel implements Node {
|
|
2
|
+
id: ID!
|
|
3
|
+
createdAt: DateTime!
|
|
4
|
+
updatedAt: DateTime!
|
|
5
|
+
code: String!
|
|
6
|
+
token: String!
|
|
7
|
+
defaultTaxZone: Zone
|
|
8
|
+
defaultShippingZone: Zone
|
|
9
|
+
defaultLanguageCode: LanguageCode!
|
|
10
|
+
availableLanguageCodes: [LanguageCode!]
|
|
11
|
+
currencyCode: CurrencyCode! @deprecated(reason: "Use defaultCurrencyCode instead")
|
|
12
|
+
defaultCurrencyCode: CurrencyCode!
|
|
13
|
+
availableCurrencyCodes: [CurrencyCode!]!
|
|
14
|
+
"""
|
|
15
|
+
Not yet used - will be implemented in a future release.
|
|
16
|
+
"""
|
|
17
|
+
trackInventory: Boolean
|
|
18
|
+
"""
|
|
19
|
+
Not yet used - will be implemented in a future release.
|
|
20
|
+
"""
|
|
21
|
+
outOfStockThreshold: Int
|
|
22
|
+
pricesIncludeTax: Boolean!
|
|
23
|
+
seller: Seller
|
|
24
|
+
}
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
type Collection implements Node {
|
|
2
|
-
id: ID!
|
|
3
|
-
createdAt: DateTime!
|
|
4
|
-
updatedAt: DateTime!
|
|
5
|
-
languageCode: LanguageCode
|
|
6
|
-
name: String!
|
|
7
|
-
slug: String!
|
|
8
|
-
breadcrumbs: [CollectionBreadcrumb!]!
|
|
9
|
-
position: Int!
|
|
10
|
-
description: String!
|
|
11
|
-
featuredAsset: Asset
|
|
12
|
-
assets: [Asset!]!
|
|
13
|
-
parent: Collection
|
|
14
|
-
parentId: ID!
|
|
15
|
-
children: [Collection!]
|
|
16
|
-
filters: [ConfigurableOperation!]!
|
|
17
|
-
translations: [CollectionTranslation!]!
|
|
18
|
-
productVariants(options: ProductVariantListOptions): ProductVariantList!
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
type CollectionBreadcrumb {
|
|
22
|
-
id: ID!
|
|
23
|
-
name: String!
|
|
24
|
-
slug: String!
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
type CollectionTranslation {
|
|
28
|
-
id: ID!
|
|
29
|
-
createdAt: DateTime!
|
|
30
|
-
updatedAt: DateTime!
|
|
31
|
-
languageCode: LanguageCode!
|
|
32
|
-
name: String!
|
|
33
|
-
slug: String!
|
|
34
|
-
description: String!
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
type CollectionList implements PaginatedList {
|
|
38
|
-
items: [Collection!]!
|
|
39
|
-
totalItems: Int!
|
|
40
|
-
}
|
|
1
|
+
type Collection implements Node {
|
|
2
|
+
id: ID!
|
|
3
|
+
createdAt: DateTime!
|
|
4
|
+
updatedAt: DateTime!
|
|
5
|
+
languageCode: LanguageCode
|
|
6
|
+
name: String!
|
|
7
|
+
slug: String!
|
|
8
|
+
breadcrumbs: [CollectionBreadcrumb!]!
|
|
9
|
+
position: Int!
|
|
10
|
+
description: String!
|
|
11
|
+
featuredAsset: Asset
|
|
12
|
+
assets: [Asset!]!
|
|
13
|
+
parent: Collection
|
|
14
|
+
parentId: ID!
|
|
15
|
+
children: [Collection!]
|
|
16
|
+
filters: [ConfigurableOperation!]!
|
|
17
|
+
translations: [CollectionTranslation!]!
|
|
18
|
+
productVariants(options: ProductVariantListOptions): ProductVariantList!
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
type CollectionBreadcrumb {
|
|
22
|
+
id: ID!
|
|
23
|
+
name: String!
|
|
24
|
+
slug: String!
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
type CollectionTranslation {
|
|
28
|
+
id: ID!
|
|
29
|
+
createdAt: DateTime!
|
|
30
|
+
updatedAt: DateTime!
|
|
31
|
+
languageCode: LanguageCode!
|
|
32
|
+
name: String!
|
|
33
|
+
slug: String!
|
|
34
|
+
description: String!
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
type CollectionList implements PaginatedList {
|
|
38
|
+
items: [Collection!]!
|
|
39
|
+
totalItems: Int!
|
|
40
|
+
}
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
enum GlobalFlag {
|
|
2
|
-
TRUE
|
|
3
|
-
FALSE
|
|
4
|
-
INHERIT
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
enum AdjustmentType {
|
|
8
|
-
PROMOTION
|
|
9
|
-
DISTRIBUTED_ORDER_PROMOTION
|
|
10
|
-
OTHER
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
enum DeletionResult {
|
|
14
|
-
"The entity was successfully deleted"
|
|
15
|
-
DELETED
|
|
16
|
-
"Deletion did not take place, reason given in message"
|
|
17
|
-
NOT_DELETED
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
# Populated at run-time
|
|
21
|
-
enum Permission
|
|
22
|
-
|
|
23
|
-
enum SortOrder {
|
|
24
|
-
ASC
|
|
25
|
-
DESC
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
enum ErrorCode {
|
|
29
|
-
UNKNOWN_ERROR
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
enum LogicalOperator {
|
|
33
|
-
AND
|
|
34
|
-
OR
|
|
35
|
-
}
|
|
1
|
+
enum GlobalFlag {
|
|
2
|
+
TRUE
|
|
3
|
+
FALSE
|
|
4
|
+
INHERIT
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
enum AdjustmentType {
|
|
8
|
+
PROMOTION
|
|
9
|
+
DISTRIBUTED_ORDER_PROMOTION
|
|
10
|
+
OTHER
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
enum DeletionResult {
|
|
14
|
+
"The entity was successfully deleted"
|
|
15
|
+
DELETED
|
|
16
|
+
"Deletion did not take place, reason given in message"
|
|
17
|
+
NOT_DELETED
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
# Populated at run-time
|
|
21
|
+
enum Permission
|
|
22
|
+
|
|
23
|
+
enum SortOrder {
|
|
24
|
+
ASC
|
|
25
|
+
DESC
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
enum ErrorCode {
|
|
29
|
+
UNKNOWN_ERROR
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
enum LogicalOperator {
|
|
33
|
+
AND
|
|
34
|
+
OR
|
|
35
|
+
}
|