@nautical-commerce/graphql-schema 1.59.0 → 1.60.0
Sign up to get free protection for your applications and to get access to all the features.
- package/nautical/schema.graphql +134 -113
- package/package.json +1 -1
package/nautical/schema.graphql
CHANGED
@@ -1,3 +1,45 @@
|
|
1
|
+
"""Federation @key directive"""
|
2
|
+
directive @key(fields: FieldSet!, resolvable: Boolean = true) repeatable on OBJECT | INTERFACE
|
3
|
+
|
4
|
+
"""Federation @requires directive"""
|
5
|
+
directive @requires(fields: FieldSet!) on FIELD_DEFINITION
|
6
|
+
|
7
|
+
"""Federation @provides directive"""
|
8
|
+
directive @provides(fields: FieldSet!) on FIELD_DEFINITION
|
9
|
+
|
10
|
+
"""Federation @external directive"""
|
11
|
+
directive @external on OBJECT | FIELD_DEFINITION
|
12
|
+
|
13
|
+
"""Federation @shareable directive"""
|
14
|
+
directive @shareable repeatable on FIELD_DEFINITION | OBJECT
|
15
|
+
|
16
|
+
"""Federation @extends directive"""
|
17
|
+
directive @extends on OBJECT | INTERFACE
|
18
|
+
|
19
|
+
"""Federation @override directive"""
|
20
|
+
directive @override(from: String!) on FIELD_DEFINITION
|
21
|
+
|
22
|
+
"""Federation @inaccessible directive"""
|
23
|
+
directive @inaccessible on FIELD_DEFINITION | OBJECT | INTERFACE | UNION | ENUM | ENUM_VALUE | SCALAR | INPUT_OBJECT | INPUT_FIELD_DEFINITION | ARGUMENT_DEFINITION
|
24
|
+
|
25
|
+
"""Federation @tag directive"""
|
26
|
+
directive @tag on FIELD_DEFINITION | INTERFACE | OBJECT | UNION | ARGUMENT_DEFINITION | SCALAR | ENUM | ENUM_VALUE | INPUT_OBJECT | INPUT_FIELD_DEFINITION
|
27
|
+
|
28
|
+
"""Federation @composeDirective directive"""
|
29
|
+
directive @composeDirective(name: String!) on SCHEMA
|
30
|
+
|
31
|
+
"""Federation @interfaceObject directive"""
|
32
|
+
directive @interfaceObject repeatable on OBJECT
|
33
|
+
|
34
|
+
"""Federation @authenticated directive"""
|
35
|
+
directive @authenticated on FIELD_DEFINITION | OBJECT | INTERFACE | SCALAR | ENUM
|
36
|
+
|
37
|
+
"""Federation @requiresScopes directive"""
|
38
|
+
directive @requiresScopes(scopes: [[federation__Scope!]!]!) on FIELD_DEFINITION | OBJECT | INTERFACE | SCALAR | ENUM
|
39
|
+
|
40
|
+
"""Federation @policy directive"""
|
41
|
+
directive @policy(policies: [[federation__Policy!]!]!) on FIELD_DEFINITION | OBJECT | INTERFACE | SCALAR | ENUM
|
42
|
+
|
1
43
|
"""
|
2
44
|
Custom Decimal implementation.
|
3
45
|
|
@@ -7,6 +49,23 @@ parses float to the Decimal on the way back
|
|
7
49
|
"""
|
8
50
|
scalar Decimal
|
9
51
|
|
52
|
+
"""
|
53
|
+
The Relay compliant `PageInfo` type, containing data necessary to paginate this connection.
|
54
|
+
"""
|
55
|
+
type PageInfo {
|
56
|
+
"""When paginating forwards, are there more items?"""
|
57
|
+
hasNextPage: Boolean!
|
58
|
+
|
59
|
+
"""When paginating backwards, are there more items?"""
|
60
|
+
hasPreviousPage: Boolean!
|
61
|
+
|
62
|
+
"""When paginating backwards, the cursor to continue."""
|
63
|
+
startCursor: String
|
64
|
+
|
65
|
+
"""When paginating forwards, the cursor to continue."""
|
66
|
+
endCursor: String
|
67
|
+
}
|
68
|
+
|
10
69
|
type Query {
|
11
70
|
"""Look up an email template by ID."""
|
12
71
|
emailTemplate(
|
@@ -123,10 +182,6 @@ type Query {
|
|
123
182
|
"""Return the last n elements from the list."""
|
124
183
|
last: Int
|
125
184
|
): WebhookJobCountableConnection
|
126
|
-
periodicTask(
|
127
|
-
"""Name of the periodic task to retrieve"""
|
128
|
-
name: String!
|
129
|
-
): WebhookPeriodicTask @deprecated(reason: "This will be removed on November 9, 2024")
|
130
185
|
|
131
186
|
"""Look up a warehouse by ID."""
|
132
187
|
warehouse(
|
@@ -268,6 +323,9 @@ type Query {
|
|
268
323
|
"""Returns analytics ID (e.g. Google Tag ID)."""
|
269
324
|
analyticsId: String
|
270
325
|
|
326
|
+
"""If set, the custom storefront domain"""
|
327
|
+
customStorefrontDomain: CustomDomain
|
328
|
+
|
271
329
|
"""Look up a shipping zone by ID."""
|
272
330
|
shippingZone(
|
273
331
|
"""ID of the shipping zone."""
|
@@ -2195,23 +2253,6 @@ type EmailTemplateCountableConnection {
|
|
2195
2253
|
totalCount: Int
|
2196
2254
|
}
|
2197
2255
|
|
2198
|
-
"""
|
2199
|
-
The Relay compliant `PageInfo` type, containing data necessary to paginate this connection.
|
2200
|
-
"""
|
2201
|
-
type PageInfo {
|
2202
|
-
"""When paginating forwards, are there more items?"""
|
2203
|
-
hasNextPage: Boolean!
|
2204
|
-
|
2205
|
-
"""When paginating backwards, are there more items?"""
|
2206
|
-
hasPreviousPage: Boolean!
|
2207
|
-
|
2208
|
-
"""When paginating backwards, the cursor to continue."""
|
2209
|
-
startCursor: String
|
2210
|
-
|
2211
|
-
"""When paginating forwards, the cursor to continue."""
|
2212
|
-
endCursor: String
|
2213
|
-
}
|
2214
|
-
|
2215
2256
|
type EmailTemplateCountableEdge {
|
2216
2257
|
"""The item at the end of the edge."""
|
2217
2258
|
node: EmailTemplate!
|
@@ -8571,76 +8612,6 @@ enum WebhookJobSortField {
|
|
8571
8612
|
CREATED_AT
|
8572
8613
|
}
|
8573
8614
|
|
8574
|
-
"""Represents a periodic task run by django celery beat"""
|
8575
|
-
type WebhookPeriodicTask implements Node {
|
8576
|
-
"""The ID of the object"""
|
8577
|
-
id: ID!
|
8578
|
-
|
8579
|
-
"""Short Description For This Task"""
|
8580
|
-
name: String!
|
8581
|
-
|
8582
|
-
"""
|
8583
|
-
The Name of the Celery Task that Should be Run. (Example: "proj.tasks.import_contacts")
|
8584
|
-
"""
|
8585
|
-
task: String!
|
8586
|
-
|
8587
|
-
"""JSON encoded positional arguments (Example: ["arg1", "arg2"])"""
|
8588
|
-
args: String!
|
8589
|
-
|
8590
|
-
"""JSON encoded keyword arguments (Example: {"argument": "value"})"""
|
8591
|
-
kwargs: String!
|
8592
|
-
|
8593
|
-
"""Queue defined in CELERY_TASK_QUEUES. Leave None for default queuing."""
|
8594
|
-
queue: String
|
8595
|
-
|
8596
|
-
"""Override Exchange for low-level AMQP routing"""
|
8597
|
-
exchange: String
|
8598
|
-
|
8599
|
-
"""Override Routing Key for low-level AMQP routing"""
|
8600
|
-
routingKey: String
|
8601
|
-
|
8602
|
-
"""JSON encoded message headers for the AMQP message."""
|
8603
|
-
headers: String!
|
8604
|
-
|
8605
|
-
"""
|
8606
|
-
Priority Number between 0 and 255. Supported by: RabbitMQ, Redis (priority reversed, 0 is highest).
|
8607
|
-
"""
|
8608
|
-
priority: Int
|
8609
|
-
|
8610
|
-
"""
|
8611
|
-
Datetime after which the schedule will no longer trigger the task to run
|
8612
|
-
"""
|
8613
|
-
expires: DateTime
|
8614
|
-
|
8615
|
-
"""
|
8616
|
-
Timedelta with seconds which the schedule will no longer trigger the task to run
|
8617
|
-
"""
|
8618
|
-
expireSeconds: Int
|
8619
|
-
|
8620
|
-
"""If True, the schedule will only run the task a single time"""
|
8621
|
-
oneOff: Boolean!
|
8622
|
-
|
8623
|
-
"""Datetime when the schedule should begin triggering the task to run"""
|
8624
|
-
startTime: DateTime
|
8625
|
-
|
8626
|
-
"""Set to False to disable the schedule"""
|
8627
|
-
enabled: Boolean!
|
8628
|
-
|
8629
|
-
"""
|
8630
|
-
Datetime that the schedule last triggered the task to run. Reset to None if enabled is set to False.
|
8631
|
-
"""
|
8632
|
-
lastRunAt: DateTime
|
8633
|
-
|
8634
|
-
"""Running count of how many times the schedule has triggered the task"""
|
8635
|
-
totalRunCount: Int!
|
8636
|
-
|
8637
|
-
"""Datetime that this PeriodicTask was last modified"""
|
8638
|
-
dateChanged: DateTime!
|
8639
|
-
|
8640
|
-
"""Detailed description about the details of this Periodic Task"""
|
8641
|
-
description: String!
|
8642
|
-
}
|
8643
|
-
|
8644
8615
|
input WarehouseFilterInput {
|
8645
8616
|
seller: ID
|
8646
8617
|
search: String
|
@@ -8710,6 +8681,9 @@ type Content implements Node {
|
|
8710
8681
|
"""
|
8711
8682
|
draftData: JSONString!
|
8712
8683
|
|
8684
|
+
"""Whether the content has an active draft."""
|
8685
|
+
hasActiveDraft: Boolean
|
8686
|
+
|
8713
8687
|
"""Content page data."""
|
8714
8688
|
contentPageData: ContentPageData
|
8715
8689
|
}
|
@@ -9188,6 +9162,27 @@ type SellerOnboardingSettings implements Node {
|
|
9188
9162
|
isProductImportAllowed: Boolean
|
9189
9163
|
}
|
9190
9164
|
|
9165
|
+
type CustomDomain implements Node {
|
9166
|
+
"""The ID of the object"""
|
9167
|
+
id: ID!
|
9168
|
+
domain: String!
|
9169
|
+
status: DomainStatusEnum!
|
9170
|
+
errorDetails: String!
|
9171
|
+
sslCertName: String!
|
9172
|
+
}
|
9173
|
+
|
9174
|
+
"""An enumeration."""
|
9175
|
+
enum DomainStatusEnum {
|
9176
|
+
UNVERIFIED
|
9177
|
+
DNS_VERIFIED
|
9178
|
+
PROVISIONING
|
9179
|
+
PROVISIONED
|
9180
|
+
ERROR
|
9181
|
+
QUEUED_FOR_DELETION
|
9182
|
+
DELETING
|
9183
|
+
DELETED
|
9184
|
+
}
|
9185
|
+
|
9191
9186
|
input ShippingZoneFilterInput {
|
9192
9187
|
seller: ID
|
9193
9188
|
search: String
|
@@ -13474,7 +13469,7 @@ type Mutation {
|
|
13474
13469
|
description: String
|
13475
13470
|
|
13476
13471
|
"""
|
13477
|
-
Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: application/
|
13472
|
+
Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: application/zip, text/plain, application/x-pdf, application/dxf, drawing/x-dwf, image/svg, application/x-tif, application/jpg, image/x-bmp, text/rtf, image/x-tif, image/x-tiff, text/x-comma-separated-values, application/msword, image/heic, application/gzip, application/vnd.oasis.opendocument.presentation, application/vnd.openxmlformats-officedocument.presentationml.presentation, image/bmp, application/x-dwg, image/x-dxf, image/png, application/rtf, application/x-autocad, pplication/vnd.rar, application/x-gzip, text/svg-xml, image/heic-sequence, image/x-eps, image/heif, application/vnd.ms-excel, drawing/dwg, application/gzip-compressed, application/x-dxf, image/x-ms-bmp, application/acad, image/eps, application/x-zip-compressed, image/vnd.dwg, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/vnd.oasis.opendocument.spreadsheet, text/csv, application/tiff, application/x-tar, image/svg+xml, application/postscript, application/x-rar, application/vnd.oasis.opendocument.text, application/dwg, application/x-rar-compressed, image/dxf, application/acrobat, application/tif, application/x-rtf, image/webp, text/svg, image/x-dwg, image/gif, application/csv, application/gzipped, application/pdf, application/vnd.ms-powerpoint, image/jpeg, text/x-pdf, image/heif-sequence, application/vnd.pdf, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/x-csv, application/x-jpg, application/vnd.openxmlformats-officedocument.wordprocessingml.document, drawing/x-dwg, application/x-eps, text/pdf, application/x-acad, application/x-tiff, application/eps, application/excel, text/comma-separated-values, text/x-csv, image/jpg, image/tif, application/vnd.ms-word, image/tiff, application/svg+xml.
|
13478
13473
|
"""
|
13479
13474
|
file: Upload!
|
13480
13475
|
|
@@ -13545,11 +13540,6 @@ type Mutation {
|
|
13545
13540
|
"""Updates nautical configuration."""
|
13546
13541
|
nauticalConfigurationUpdate(input: [NauticalConfigurationInputItem!]): NauticalConfigurationUpdate
|
13547
13542
|
|
13548
|
-
"""
|
13549
|
-
Update whether process_pending_webhook_transactions periodic django celery beat task is enabled
|
13550
|
-
"""
|
13551
|
-
updatePeriodicTaskEnabled(enabled: Boolean): PeriodicTaskEnabledUpdate @deprecated(reason: "This will be removed on November 9, 2024")
|
13552
|
-
|
13553
13543
|
"""Updates marketplace configuration."""
|
13554
13544
|
marketplaceConfigurationUpdate(
|
13555
13545
|
"""Fields required to update marketplace configuration."""
|
@@ -14205,6 +14195,15 @@ type Mutation {
|
|
14205
14195
|
input: CheckoutThemeInput!
|
14206
14196
|
): CheckoutThemeUpdate
|
14207
14197
|
|
14198
|
+
"""Creates a custom domain"""
|
14199
|
+
customDomainCreate(input: CustomDomainCreateInput!): CustomDomainCreate
|
14200
|
+
|
14201
|
+
"""Deletes a custom domain"""
|
14202
|
+
customDomainDelete(
|
14203
|
+
"""ID of the domain to delete"""
|
14204
|
+
id: ID!
|
14205
|
+
): CustomDomainDelete
|
14206
|
+
|
14208
14207
|
"""Create a new storefront theme."""
|
14209
14208
|
storefrontThemeCreate(
|
14210
14209
|
"""Fields required to create a new storefront theme."""
|
@@ -16987,14 +16986,6 @@ input NauticalConfigurationInputItem {
|
|
16987
16986
|
configurationValueString: String
|
16988
16987
|
}
|
16989
16988
|
|
16990
|
-
"""
|
16991
|
-
Update whether process_pending_webhook_transactions periodic django celery beat task is enabled
|
16992
|
-
"""
|
16993
|
-
type PeriodicTaskEnabledUpdate {
|
16994
|
-
"""An updated periodic task instance"""
|
16995
|
-
task: WebhookPeriodicTask
|
16996
|
-
}
|
16997
|
-
|
16998
16989
|
"""Updates marketplace configuration."""
|
16999
16990
|
type MarketplaceConfigurationUpdate {
|
17000
16991
|
"""Updated marketplace configuration."""
|
@@ -17039,21 +17030,21 @@ input MarketplaceConfigurationInput {
|
|
17039
17030
|
requireProductTypes: Boolean
|
17040
17031
|
|
17041
17032
|
"""Updates status transformation strategy for payout."""
|
17042
|
-
payoutAutomationStrategy: MarketplaceConfigurationPayoutAutomationStrategyEnum
|
17033
|
+
payoutAutomationStrategy: MarketplaceConfigurationPayoutAutomationStrategyEnum = null
|
17043
17034
|
|
17044
17035
|
"""Update revenue accrual strategy"""
|
17045
|
-
revenueAccrualStrategy: RevenueAccrualStrategyEnum
|
17036
|
+
revenueAccrualStrategy: RevenueAccrualStrategyEnum = null
|
17046
17037
|
|
17047
17038
|
"""Update available shipping strategy"""
|
17048
|
-
availableShippingStrategy: AvailableShippingStrategyEnum
|
17039
|
+
availableShippingStrategy: AvailableShippingStrategyEnum = null
|
17049
17040
|
|
17050
17041
|
"""Update attribute template strategy"""
|
17051
|
-
attributeTemplateStrategy: AttributeTemplateStrategyEnum
|
17042
|
+
attributeTemplateStrategy: AttributeTemplateStrategyEnum = null
|
17052
17043
|
|
17053
17044
|
"""
|
17054
17045
|
Updates currency of the marketplace. Marketplace currency will be updated after the cache time (approximately 30 seconds)'
|
17055
17046
|
"""
|
17056
|
-
domiciledCurrency: MarketplaceConfigurationCurrencyEnum
|
17047
|
+
domiciledCurrency: MarketplaceConfigurationCurrencyEnum = null
|
17057
17048
|
|
17058
17049
|
"""Supported currencies for the marketplace"""
|
17059
17050
|
supportedCurrencies: [String!]
|
@@ -17068,7 +17059,7 @@ input MarketplaceConfigurationInput {
|
|
17068
17059
|
sellerCanSendQuote: Boolean
|
17069
17060
|
|
17070
17061
|
"""Determines scope for checking duplicated variant attribute sets"""
|
17071
|
-
variantUniqueness: VariantUniquenessEnum
|
17062
|
+
variantUniqueness: VariantUniquenessEnum = null
|
17072
17063
|
|
17073
17064
|
"""List of all default checklists for seller."""
|
17074
17065
|
defaultSellerChecklists: [DefaultSellerChecklistInput!]
|
@@ -17092,10 +17083,10 @@ input MarketplaceConfigurationInput {
|
|
17092
17083
|
enableBackorders: Boolean
|
17093
17084
|
|
17094
17085
|
"""Determines the fulfillment model for the marketplace"""
|
17095
|
-
fulfillmentModel: FulfillmentModelEnum
|
17086
|
+
fulfillmentModel: FulfillmentModelEnum = null
|
17096
17087
|
|
17097
17088
|
"""Default weight unit."""
|
17098
|
-
defaultWeightUnit: WeightUnitsEnum
|
17089
|
+
defaultWeightUnit: WeightUnitsEnum = null
|
17099
17090
|
|
17100
17091
|
"""Enable automatic fulfillment for all digital products."""
|
17101
17092
|
automaticFulfillmentDigitalProducts: Boolean
|
@@ -18705,6 +18696,25 @@ input CheckoutThemeInput {
|
|
18705
18696
|
confirmationUrl: String
|
18706
18697
|
}
|
18707
18698
|
|
18699
|
+
"""Creates a custom domain"""
|
18700
|
+
type CustomDomainCreate {
|
18701
|
+
domain: CustomDomain
|
18702
|
+
shopErrors: [ShopError!]!
|
18703
|
+
}
|
18704
|
+
|
18705
|
+
input CustomDomainCreateInput {
|
18706
|
+
"""
|
18707
|
+
The domain to connect to the storefront. Must not start with https:// and must have no trailing slash.
|
18708
|
+
"""
|
18709
|
+
domain: String!
|
18710
|
+
}
|
18711
|
+
|
18712
|
+
"""Deletes a custom domain"""
|
18713
|
+
type CustomDomainDelete {
|
18714
|
+
shopErrors: [ShopError!]!
|
18715
|
+
domain: CustomDomain
|
18716
|
+
}
|
18717
|
+
|
18708
18718
|
"""Create a new storefront theme."""
|
18709
18719
|
type StorefrontThemeCreate {
|
18710
18720
|
"""Updated shop."""
|
@@ -24378,3 +24388,14 @@ type PermissionGroupDelete {
|
|
24378
24388
|
permissionGroupErrors: [PermissionGroupError!]!
|
24379
24389
|
group: Group
|
24380
24390
|
}
|
24391
|
+
|
24392
|
+
"""
|
24393
|
+
A string-serialized scalar represents a set of fields that's passed to a federated directive, such as @key, @requires, or @provides
|
24394
|
+
"""
|
24395
|
+
scalar FieldSet
|
24396
|
+
|
24397
|
+
"""This string-serialized scalar represents a JWT scope"""
|
24398
|
+
scalar federation__Scope
|
24399
|
+
|
24400
|
+
"""This string-serialized scalar represents an authorization policy."""
|
24401
|
+
scalar federation__Policy
|