@nautical-commerce/graphql-schema 1.59.0-3-g835c29e2e → 1.59.0-30-g4f109e992

Sign up to get free protection for your applications and to get access to all the features.
@@ -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(
@@ -264,6 +323,9 @@ type Query {
264
323
  """Returns analytics ID (e.g. Google Tag ID)."""
265
324
  analyticsId: String
266
325
 
326
+ """If set, the custom storefront domain"""
327
+ customStorefrontDomain: CustomDomain
328
+
267
329
  """Look up a shipping zone by ID."""
268
330
  shippingZone(
269
331
  """ID of the shipping zone."""
@@ -2191,23 +2253,6 @@ type EmailTemplateCountableConnection {
2191
2253
  totalCount: Int
2192
2254
  }
2193
2255
 
2194
- """
2195
- The Relay compliant `PageInfo` type, containing data necessary to paginate this connection.
2196
- """
2197
- type PageInfo {
2198
- """When paginating forwards, are there more items?"""
2199
- hasNextPage: Boolean!
2200
-
2201
- """When paginating backwards, are there more items?"""
2202
- hasPreviousPage: Boolean!
2203
-
2204
- """When paginating backwards, the cursor to continue."""
2205
- startCursor: String
2206
-
2207
- """When paginating forwards, the cursor to continue."""
2208
- endCursor: String
2209
- }
2210
-
2211
2256
  type EmailTemplateCountableEdge {
2212
2257
  """The item at the end of the edge."""
2213
2258
  node: EmailTemplate!
@@ -8636,6 +8681,9 @@ type Content implements Node {
8636
8681
  """
8637
8682
  draftData: JSONString!
8638
8683
 
8684
+ """Whether the content has an active draft."""
8685
+ hasActiveDraft: Boolean
8686
+
8639
8687
  """Content page data."""
8640
8688
  contentPageData: ContentPageData
8641
8689
  }
@@ -9114,6 +9162,27 @@ type SellerOnboardingSettings implements Node {
9114
9162
  isProductImportAllowed: Boolean
9115
9163
  }
9116
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
+
9117
9186
  input ShippingZoneFilterInput {
9118
9187
  seller: ID
9119
9188
  search: String
@@ -13400,7 +13469,7 @@ type Mutation {
13400
13469
  description: String
13401
13470
 
13402
13471
  """
13403
- Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: text/x-comma-separated-values, image/bmp, application/acrobat, application/jpg, application/x-eps, application/vnd.ms-excel, application/postscript, application/gzipped, image/png, application/zip, image/heif-sequence, image/x-tif, application/x-dxf, image/tiff, text/rtf, pplication/vnd.rar, image/tif, image/dxf, image/svg, application/x-rar-compressed, image/heic, image/eps, image/heic-sequence, application/vnd.openxmlformats-officedocument.presentationml.presentation, text/pdf, image/vnd.dwg, text/comma-separated-values, text/csv, application/x-pdf, text/x-pdf, application/x-tif, image/x-dwg, application/vnd.pdf, application/pdf, application/x-gzip, image/x-ms-bmp, application/vnd.oasis.opendocument.text, image/heif, text/plain, application/x-zip-compressed, application/x-autocad, application/vnd.oasis.opendocument.presentation, text/svg, application/x-acad, application/acad, application/x-rtf, application/tiff, application/vnd.openxmlformats-officedocument.wordprocessingml.document, image/jpg, application/eps, image/x-bmp, application/gzip-compressed, application/dxf, application/x-jpg, drawing/x-dwg, application/csv, drawing/x-dwf, drawing/dwg, text/x-csv, application/x-dwg, image/x-tiff, image/x-dxf, application/msword, image/gif, application/excel, image/svg+xml, application/dwg, application/vnd.ms-word, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/x-csv, image/webp, application/tif, image/x-eps, image/jpeg, application/rtf, application/vnd.ms-powerpoint, application/x-rar, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/svg+xml, application/x-tiff, text/svg-xml, application/vnd.oasis.opendocument.spreadsheet, application/x-tar, application/gzip.
13472
+ Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: image/dxf, image/eps, application/vnd.oasis.opendocument.spreadsheet, application/dwg, application/vnd.pdf, application/x-jpg, application/x-gzip, image/svg, pplication/vnd.rar, text/x-pdf, image/x-tif, text/svg, image/svg+xml, text/x-comma-separated-values, application/tiff, image/x-ms-bmp, application/x-tar, image/vnd.dwg, image/tif, application/acad, application/x-eps, application/rtf, application/csv, image/heif-sequence, application/gzip-compressed, text/svg-xml, application/gzipped, application/vnd.oasis.opendocument.text, application/x-tiff, application/gzip, image/webp, application/x-zip-compressed, image/x-eps, application/jpg, application/tif, application/msword, image/x-dwg, drawing/x-dwg, application/x-rar, application/dxf, application/vnd.ms-word, application/pdf, application/excel, image/x-tiff, drawing/dwg, image/x-bmp, text/plain, image/bmp, application/eps, application/vnd.ms-powerpoint, application/x-acad, application/acrobat, image/heic, text/csv, text/x-csv, drawing/x-dwf, application/vnd.ms-excel, image/tiff, image/x-dxf, application/x-autocad, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.openxmlformats-officedocument.presentationml.presentation, image/png, image/heif, application/x-dwg, text/pdf, image/jpeg, application/x-dxf, image/gif, application/zip, application/x-rar-compressed, application/vnd.oasis.opendocument.presentation, image/jpg, text/comma-separated-values, application/vnd.openxmlformats-officedocument.presentationml.slideshow, image/heic-sequence, application/x-rtf, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/svg+xml, application/x-csv, application/x-pdf, application/postscript, text/rtf, application/x-tif.
13404
13473
  """
13405
13474
  file: Upload!
13406
13475
 
@@ -14126,6 +14195,15 @@ type Mutation {
14126
14195
  input: CheckoutThemeInput!
14127
14196
  ): CheckoutThemeUpdate
14128
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
+
14129
14207
  """Create a new storefront theme."""
14130
14208
  storefrontThemeCreate(
14131
14209
  """Fields required to create a new storefront theme."""
@@ -16952,21 +17030,21 @@ input MarketplaceConfigurationInput {
16952
17030
  requireProductTypes: Boolean
16953
17031
 
16954
17032
  """Updates status transformation strategy for payout."""
16955
- payoutAutomationStrategy: MarketplaceConfigurationPayoutAutomationStrategyEnum
17033
+ payoutAutomationStrategy: MarketplaceConfigurationPayoutAutomationStrategyEnum = null
16956
17034
 
16957
17035
  """Update revenue accrual strategy"""
16958
- revenueAccrualStrategy: RevenueAccrualStrategyEnum
17036
+ revenueAccrualStrategy: RevenueAccrualStrategyEnum = null
16959
17037
 
16960
17038
  """Update available shipping strategy"""
16961
- availableShippingStrategy: AvailableShippingStrategyEnum
17039
+ availableShippingStrategy: AvailableShippingStrategyEnum = null
16962
17040
 
16963
17041
  """Update attribute template strategy"""
16964
- attributeTemplateStrategy: AttributeTemplateStrategyEnum
17042
+ attributeTemplateStrategy: AttributeTemplateStrategyEnum = null
16965
17043
 
16966
17044
  """
16967
17045
  Updates currency of the marketplace. Marketplace currency will be updated after the cache time (approximately 30 seconds)'
16968
17046
  """
16969
- domiciledCurrency: MarketplaceConfigurationCurrencyEnum
17047
+ domiciledCurrency: MarketplaceConfigurationCurrencyEnum = null
16970
17048
 
16971
17049
  """Supported currencies for the marketplace"""
16972
17050
  supportedCurrencies: [String!]
@@ -16981,7 +17059,7 @@ input MarketplaceConfigurationInput {
16981
17059
  sellerCanSendQuote: Boolean
16982
17060
 
16983
17061
  """Determines scope for checking duplicated variant attribute sets"""
16984
- variantUniqueness: VariantUniquenessEnum
17062
+ variantUniqueness: VariantUniquenessEnum = null
16985
17063
 
16986
17064
  """List of all default checklists for seller."""
16987
17065
  defaultSellerChecklists: [DefaultSellerChecklistInput!]
@@ -17005,10 +17083,10 @@ input MarketplaceConfigurationInput {
17005
17083
  enableBackorders: Boolean
17006
17084
 
17007
17085
  """Determines the fulfillment model for the marketplace"""
17008
- fulfillmentModel: FulfillmentModelEnum
17086
+ fulfillmentModel: FulfillmentModelEnum = null
17009
17087
 
17010
17088
  """Default weight unit."""
17011
- defaultWeightUnit: WeightUnitsEnum
17089
+ defaultWeightUnit: WeightUnitsEnum = null
17012
17090
 
17013
17091
  """Enable automatic fulfillment for all digital products."""
17014
17092
  automaticFulfillmentDigitalProducts: Boolean
@@ -18618,6 +18696,25 @@ input CheckoutThemeInput {
18618
18696
  confirmationUrl: String
18619
18697
  }
18620
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
+
18621
18718
  """Create a new storefront theme."""
18622
18719
  type StorefrontThemeCreate {
18623
18720
  """Updated shop."""
@@ -24291,3 +24388,14 @@ type PermissionGroupDelete {
24291
24388
  permissionGroupErrors: [PermissionGroupError!]!
24292
24389
  group: Group
24293
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nautical-commerce/graphql-schema",
3
- "version": "v1.59.0-3-g835c29e2e",
3
+ "version": "v1.59.0-30-g4f109e992",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {