@nautical-commerce/graphql-schema 1.59.0 → 1.60.0-10-g53d6fb43a
Sign up to get free protection for your applications and to get access to all the features.
- package/nautical/schema.graphql +144 -117
- 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!
|
@@ -3850,7 +3891,10 @@ type Order implements Node & ObjectWithMetadata {
|
|
3850
3891
|
payoutStatus: OrderPayoutStatusEnum
|
3851
3892
|
|
3852
3893
|
"""Summary of all payouts of this order"""
|
3853
|
-
payoutsSummary
|
3894
|
+
payoutsSummary(
|
3895
|
+
"""Order payout status."""
|
3896
|
+
payoutStatus: OrderPayoutStatusEnum
|
3897
|
+
): [OrderPayoutSummary!]!
|
3854
3898
|
|
3855
3899
|
"""Remaining available balance to be paid out."""
|
3856
3900
|
availablePayoutBalance: Money
|
@@ -8571,76 +8615,6 @@ enum WebhookJobSortField {
|
|
8571
8615
|
CREATED_AT
|
8572
8616
|
}
|
8573
8617
|
|
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
8618
|
input WarehouseFilterInput {
|
8645
8619
|
seller: ID
|
8646
8620
|
search: String
|
@@ -8710,6 +8684,9 @@ type Content implements Node {
|
|
8710
8684
|
"""
|
8711
8685
|
draftData: JSONString!
|
8712
8686
|
|
8687
|
+
"""Whether the content has an active draft."""
|
8688
|
+
hasActiveDraft: Boolean
|
8689
|
+
|
8713
8690
|
"""Content page data."""
|
8714
8691
|
contentPageData: ContentPageData
|
8715
8692
|
}
|
@@ -9022,9 +8999,6 @@ type Domain {
|
|
9022
8999
|
"""The host name of the domain."""
|
9023
9000
|
host: String!
|
9024
9001
|
|
9025
|
-
"""Inform if SSL is enabled."""
|
9026
|
-
sslEnabled: Boolean! @deprecated(reason: "This will be removed on November 14, 2024")
|
9027
|
-
|
9028
9002
|
"""Shop's absolute URL."""
|
9029
9003
|
url: String!
|
9030
9004
|
}
|
@@ -9147,6 +9121,9 @@ type StorefrontTheme implements Node {
|
|
9147
9121
|
|
9148
9122
|
"""Font to be used on the storefront"""
|
9149
9123
|
font: Font
|
9124
|
+
|
9125
|
+
"""Font color in hex."""
|
9126
|
+
fontColor: String
|
9150
9127
|
}
|
9151
9128
|
|
9152
9129
|
"""Font for a storefront."""
|
@@ -9188,6 +9165,27 @@ type SellerOnboardingSettings implements Node {
|
|
9188
9165
|
isProductImportAllowed: Boolean
|
9189
9166
|
}
|
9190
9167
|
|
9168
|
+
type CustomDomain implements Node {
|
9169
|
+
"""The ID of the object"""
|
9170
|
+
id: ID!
|
9171
|
+
domain: String!
|
9172
|
+
status: DomainStatusEnum!
|
9173
|
+
errorDetails: String!
|
9174
|
+
sslCertName: String!
|
9175
|
+
}
|
9176
|
+
|
9177
|
+
"""An enumeration."""
|
9178
|
+
enum DomainStatusEnum {
|
9179
|
+
UNVERIFIED
|
9180
|
+
DNS_VERIFIED
|
9181
|
+
PROVISIONING
|
9182
|
+
PROVISIONED
|
9183
|
+
ERROR
|
9184
|
+
QUEUED_FOR_DELETION
|
9185
|
+
DELETING
|
9186
|
+
DELETED
|
9187
|
+
}
|
9188
|
+
|
9191
9189
|
input ShippingZoneFilterInput {
|
9192
9190
|
seller: ID
|
9193
9191
|
search: String
|
@@ -13474,7 +13472,7 @@ type Mutation {
|
|
13474
13472
|
description: String
|
13475
13473
|
|
13476
13474
|
"""
|
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/
|
13475
|
+
Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: application/acrobat, image/x-ms-bmp, drawing/dwg, application/x-jpg, image/x-eps, image/heic-sequence, image/heic, application/x-autocad, image/x-tiff, text/plain, application/x-tif, application/gzip-compressed, text/x-csv, application/vnd.oasis.opendocument.presentation, application/x-rar, application/msword, application/x-tar, text/x-comma-separated-values, application/svg+xml, application/dxf, application/jpg, application/x-dxf, application/tiff, image/svg+xml, image/jpg, application/gzipped, drawing/x-dwg, image/jpeg, application/x-rar-compressed, application/vnd.ms-excel, application/x-tiff, application/x-zip-compressed, application/x-eps, image/heif, application/x-csv, application/x-pdf, image/x-tif, application/vnd.oasis.opendocument.spreadsheet, image/vnd.dwg, application/vnd.openxmlformats-officedocument.wordprocessingml.document, pplication/vnd.rar, application/vnd.oasis.opendocument.text, image/tif, text/rtf, application/x-dwg, image/heif-sequence, image/x-bmp, image/webp, application/gzip, text/pdf, text/comma-separated-values, text/x-pdf, application/postscript, image/bmp, application/zip, application/vnd.pdf, image/tiff, application/vnd.ms-powerpoint, image/x-dwg, application/tif, application/vnd.ms-word, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/x-acad, text/csv, application/csv, image/svg, application/x-gzip, application/excel, drawing/x-dwf, text/svg, application/eps, application/x-rtf, text/svg-xml, image/png, application/acad, image/dxf, application/pdf, image/x-dxf, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/rtf, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, image/eps, application/dwg, image/gif.
|
13478
13476
|
"""
|
13479
13477
|
file: Upload!
|
13480
13478
|
|
@@ -13545,11 +13543,6 @@ type Mutation {
|
|
13545
13543
|
"""Updates nautical configuration."""
|
13546
13544
|
nauticalConfigurationUpdate(input: [NauticalConfigurationInputItem!]): NauticalConfigurationUpdate
|
13547
13545
|
|
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
13546
|
"""Updates marketplace configuration."""
|
13554
13547
|
marketplaceConfigurationUpdate(
|
13555
13548
|
"""Fields required to update marketplace configuration."""
|
@@ -14205,6 +14198,15 @@ type Mutation {
|
|
14205
14198
|
input: CheckoutThemeInput!
|
14206
14199
|
): CheckoutThemeUpdate
|
14207
14200
|
|
14201
|
+
"""Creates a custom domain"""
|
14202
|
+
customDomainCreate(input: CustomDomainCreateInput!): CustomDomainCreate
|
14203
|
+
|
14204
|
+
"""Deletes a custom domain"""
|
14205
|
+
customDomainDelete(
|
14206
|
+
"""ID of the domain to delete"""
|
14207
|
+
id: ID!
|
14208
|
+
): CustomDomainDelete
|
14209
|
+
|
14208
14210
|
"""Create a new storefront theme."""
|
14209
14211
|
storefrontThemeCreate(
|
14210
14212
|
"""Fields required to create a new storefront theme."""
|
@@ -16987,14 +16989,6 @@ input NauticalConfigurationInputItem {
|
|
16987
16989
|
configurationValueString: String
|
16988
16990
|
}
|
16989
16991
|
|
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
16992
|
"""Updates marketplace configuration."""
|
16999
16993
|
type MarketplaceConfigurationUpdate {
|
17000
16994
|
"""Updated marketplace configuration."""
|
@@ -17039,21 +17033,21 @@ input MarketplaceConfigurationInput {
|
|
17039
17033
|
requireProductTypes: Boolean
|
17040
17034
|
|
17041
17035
|
"""Updates status transformation strategy for payout."""
|
17042
|
-
payoutAutomationStrategy: MarketplaceConfigurationPayoutAutomationStrategyEnum
|
17036
|
+
payoutAutomationStrategy: MarketplaceConfigurationPayoutAutomationStrategyEnum = null
|
17043
17037
|
|
17044
17038
|
"""Update revenue accrual strategy"""
|
17045
|
-
revenueAccrualStrategy: RevenueAccrualStrategyEnum
|
17039
|
+
revenueAccrualStrategy: RevenueAccrualStrategyEnum = null
|
17046
17040
|
|
17047
17041
|
"""Update available shipping strategy"""
|
17048
|
-
availableShippingStrategy: AvailableShippingStrategyEnum
|
17042
|
+
availableShippingStrategy: AvailableShippingStrategyEnum = null
|
17049
17043
|
|
17050
17044
|
"""Update attribute template strategy"""
|
17051
|
-
attributeTemplateStrategy: AttributeTemplateStrategyEnum
|
17045
|
+
attributeTemplateStrategy: AttributeTemplateStrategyEnum = null
|
17052
17046
|
|
17053
17047
|
"""
|
17054
17048
|
Updates currency of the marketplace. Marketplace currency will be updated after the cache time (approximately 30 seconds)'
|
17055
17049
|
"""
|
17056
|
-
domiciledCurrency: MarketplaceConfigurationCurrencyEnum
|
17050
|
+
domiciledCurrency: MarketplaceConfigurationCurrencyEnum = null
|
17057
17051
|
|
17058
17052
|
"""Supported currencies for the marketplace"""
|
17059
17053
|
supportedCurrencies: [String!]
|
@@ -17068,7 +17062,7 @@ input MarketplaceConfigurationInput {
|
|
17068
17062
|
sellerCanSendQuote: Boolean
|
17069
17063
|
|
17070
17064
|
"""Determines scope for checking duplicated variant attribute sets"""
|
17071
|
-
variantUniqueness: VariantUniquenessEnum
|
17065
|
+
variantUniqueness: VariantUniquenessEnum = null
|
17072
17066
|
|
17073
17067
|
"""List of all default checklists for seller."""
|
17074
17068
|
defaultSellerChecklists: [DefaultSellerChecklistInput!]
|
@@ -17092,10 +17086,10 @@ input MarketplaceConfigurationInput {
|
|
17092
17086
|
enableBackorders: Boolean
|
17093
17087
|
|
17094
17088
|
"""Determines the fulfillment model for the marketplace"""
|
17095
|
-
fulfillmentModel: FulfillmentModelEnum
|
17089
|
+
fulfillmentModel: FulfillmentModelEnum = null
|
17096
17090
|
|
17097
17091
|
"""Default weight unit."""
|
17098
|
-
defaultWeightUnit: WeightUnitsEnum
|
17092
|
+
defaultWeightUnit: WeightUnitsEnum = null
|
17099
17093
|
|
17100
17094
|
"""Enable automatic fulfillment for all digital products."""
|
17101
17095
|
automaticFulfillmentDigitalProducts: Boolean
|
@@ -18705,6 +18699,25 @@ input CheckoutThemeInput {
|
|
18705
18699
|
confirmationUrl: String
|
18706
18700
|
}
|
18707
18701
|
|
18702
|
+
"""Creates a custom domain"""
|
18703
|
+
type CustomDomainCreate {
|
18704
|
+
domain: CustomDomain
|
18705
|
+
shopErrors: [ShopError!]!
|
18706
|
+
}
|
18707
|
+
|
18708
|
+
input CustomDomainCreateInput {
|
18709
|
+
"""
|
18710
|
+
The domain to connect to the storefront. Must not start with https:// and must have no trailing slash.
|
18711
|
+
"""
|
18712
|
+
domain: String!
|
18713
|
+
}
|
18714
|
+
|
18715
|
+
"""Deletes a custom domain"""
|
18716
|
+
type CustomDomainDelete {
|
18717
|
+
shopErrors: [ShopError!]!
|
18718
|
+
domain: CustomDomain
|
18719
|
+
}
|
18720
|
+
|
18708
18721
|
"""Create a new storefront theme."""
|
18709
18722
|
type StorefrontThemeCreate {
|
18710
18723
|
"""Updated shop."""
|
@@ -18730,6 +18743,9 @@ input StorefrontThemeInput {
|
|
18730
18743
|
|
18731
18744
|
"""ID of of the selected font."""
|
18732
18745
|
font: String
|
18746
|
+
|
18747
|
+
"""Font color in hex."""
|
18748
|
+
fontColor: String
|
18733
18749
|
}
|
18734
18750
|
|
18735
18751
|
"""Update a storefront theme."""
|
@@ -24378,3 +24394,14 @@ type PermissionGroupDelete {
|
|
24378
24394
|
permissionGroupErrors: [PermissionGroupError!]!
|
24379
24395
|
group: Group
|
24380
24396
|
}
|
24397
|
+
|
24398
|
+
"""
|
24399
|
+
A string-serialized scalar represents a set of fields that's passed to a federated directive, such as @key, @requires, or @provides
|
24400
|
+
"""
|
24401
|
+
scalar FieldSet
|
24402
|
+
|
24403
|
+
"""This string-serialized scalar represents a JWT scope"""
|
24404
|
+
scalar federation__Scope
|
24405
|
+
|
24406
|
+
"""This string-serialized scalar represents an authorization policy."""
|
24407
|
+
scalar federation__Policy
|