@nautical-commerce/graphql-schema 1.53.0 → 1.53.1-2-ga7b9f0ee5
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/nautical/schema.graphql +188 -17
- package/package.json +1 -1
package/nautical/schema.graphql
CHANGED
|
@@ -8,6 +8,30 @@ parses float to the Decimal on the way back
|
|
|
8
8
|
scalar Decimal
|
|
9
9
|
|
|
10
10
|
type Query {
|
|
11
|
+
"""Look up an email template by ID."""
|
|
12
|
+
emailTemplate(
|
|
13
|
+
"""ID of an email template"""
|
|
14
|
+
id: ID!
|
|
15
|
+
): EmailTemplate
|
|
16
|
+
|
|
17
|
+
"""List of email templates."""
|
|
18
|
+
emailTemplates(
|
|
19
|
+
"""Filtering options for email templates."""
|
|
20
|
+
filter: EmailTemplateFilterInput
|
|
21
|
+
|
|
22
|
+
"""Return the elements in the list that come before the specified cursor."""
|
|
23
|
+
before: String
|
|
24
|
+
|
|
25
|
+
"""Return the elements in the list that come after the specified cursor."""
|
|
26
|
+
after: String
|
|
27
|
+
|
|
28
|
+
"""Return the first n elements from the list."""
|
|
29
|
+
first: Int
|
|
30
|
+
|
|
31
|
+
"""Return the last n elements from the list."""
|
|
32
|
+
last: Int
|
|
33
|
+
): EmailTemplateCountableConnection
|
|
34
|
+
|
|
11
35
|
"""List of the wishlist items by name."""
|
|
12
36
|
wishlistItemsByName(
|
|
13
37
|
"""Filtering options for wishlist items."""
|
|
@@ -2136,10 +2160,93 @@ type Query {
|
|
|
2136
2160
|
_service: _Service!
|
|
2137
2161
|
}
|
|
2138
2162
|
|
|
2139
|
-
|
|
2163
|
+
"""Represents an email template."""
|
|
2164
|
+
type EmailTemplate implements Node {
|
|
2165
|
+
"""The ID of the object"""
|
|
2166
|
+
id: ID!
|
|
2167
|
+
title: String!
|
|
2168
|
+
subject: String!
|
|
2169
|
+
content: String
|
|
2170
|
+
renderedContent: String
|
|
2171
|
+
isCustom: Boolean!
|
|
2172
|
+
isActive: Boolean!
|
|
2173
|
+
isEditable: Boolean!
|
|
2174
|
+
createdAt: DateTime!
|
|
2175
|
+
updatedAt: DateTime!
|
|
2176
|
+
|
|
2177
|
+
"""The recipient type of the email template"""
|
|
2178
|
+
recipientType: RecipientTypeEnum!
|
|
2179
|
+
|
|
2180
|
+
"""The event type associated with the email template"""
|
|
2181
|
+
eventType: EventTypeEnum!
|
|
2182
|
+
}
|
|
2183
|
+
|
|
2184
|
+
"""An object with an ID"""
|
|
2185
|
+
interface Node {
|
|
2186
|
+
"""The ID of the object"""
|
|
2187
|
+
id: ID!
|
|
2188
|
+
}
|
|
2189
|
+
|
|
2190
|
+
"""
|
|
2191
|
+
The `DateTime` scalar type represents a DateTime
|
|
2192
|
+
value as specified by
|
|
2193
|
+
[iso8601](https://en.wikipedia.org/wiki/ISO_8601).
|
|
2194
|
+
"""
|
|
2195
|
+
scalar DateTime
|
|
2196
|
+
|
|
2197
|
+
"""Represents the recipient type for an email template."""
|
|
2198
|
+
enum RecipientTypeEnum {
|
|
2199
|
+
CUSTOMER
|
|
2200
|
+
SELLER_PRIMARY_CONTACT
|
|
2201
|
+
STAFF_MEMBER_MARKETPLACE
|
|
2202
|
+
STAFF_MEMBER_SELLER
|
|
2203
|
+
STAFF_MEMBER_MARKETPLACE_OR_SELLER
|
|
2204
|
+
}
|
|
2205
|
+
|
|
2206
|
+
"""An enumeration."""
|
|
2207
|
+
enum EventTypeEnum {
|
|
2208
|
+
account_confirmation
|
|
2209
|
+
account_password_reset
|
|
2210
|
+
account_change_email_request
|
|
2211
|
+
account_change_email_confirm
|
|
2212
|
+
account_delete
|
|
2213
|
+
account_set_customer_password
|
|
2214
|
+
invoice_ready
|
|
2215
|
+
order_confirmation
|
|
2216
|
+
order_fulfillment_confirmation
|
|
2217
|
+
order_fulfillment_denied
|
|
2218
|
+
order_fulfillment_update
|
|
2219
|
+
order_payment_confirmation
|
|
2220
|
+
order_canceled
|
|
2221
|
+
partial_order_cancel
|
|
2222
|
+
order_refund_confirmation
|
|
2223
|
+
seller_bid_action
|
|
2224
|
+
pending_quote
|
|
2225
|
+
account_set_staff_password
|
|
2226
|
+
csv_export_products_success
|
|
2227
|
+
csv_export_failed
|
|
2228
|
+
staff_order_confirmation
|
|
2229
|
+
account_staff_reset_password
|
|
2230
|
+
vendor_payout_confirmation
|
|
2231
|
+
pending_seller
|
|
2232
|
+
updated_status
|
|
2233
|
+
vin_decode_success
|
|
2234
|
+
vin_decode_failed
|
|
2235
|
+
import_catalog_failed
|
|
2236
|
+
import_catalog_success
|
|
2237
|
+
account_activate_request
|
|
2238
|
+
account_activated
|
|
2239
|
+
account_deactivated
|
|
2240
|
+
pending_order
|
|
2241
|
+
pending_customer
|
|
2242
|
+
buyer_bid_action
|
|
2243
|
+
quote_requested
|
|
2244
|
+
}
|
|
2245
|
+
|
|
2246
|
+
type EmailTemplateCountableConnection {
|
|
2140
2247
|
"""Pagination data for this connection."""
|
|
2141
2248
|
pageInfo: PageInfo!
|
|
2142
|
-
edges: [
|
|
2249
|
+
edges: [EmailTemplateCountableEdge!]!
|
|
2143
2250
|
|
|
2144
2251
|
"""A total count of items in the collection."""
|
|
2145
2252
|
totalCount: Int
|
|
@@ -2162,6 +2269,30 @@ type PageInfo {
|
|
|
2162
2269
|
endCursor: String
|
|
2163
2270
|
}
|
|
2164
2271
|
|
|
2272
|
+
type EmailTemplateCountableEdge {
|
|
2273
|
+
"""The item at the end of the edge."""
|
|
2274
|
+
node: EmailTemplate!
|
|
2275
|
+
|
|
2276
|
+
"""A cursor for use in pagination."""
|
|
2277
|
+
cursor: String!
|
|
2278
|
+
}
|
|
2279
|
+
|
|
2280
|
+
"""Filter input class for email templates."""
|
|
2281
|
+
input EmailTemplateFilterInput {
|
|
2282
|
+
title: String
|
|
2283
|
+
recipientType: RecipientTypeEnum
|
|
2284
|
+
eventType: EventTypeEnum
|
|
2285
|
+
}
|
|
2286
|
+
|
|
2287
|
+
type WishlistItemCountableConnection {
|
|
2288
|
+
"""Pagination data for this connection."""
|
|
2289
|
+
pageInfo: PageInfo!
|
|
2290
|
+
edges: [WishlistItemCountableEdge!]!
|
|
2291
|
+
|
|
2292
|
+
"""A total count of items in the collection."""
|
|
2293
|
+
totalCount: Int
|
|
2294
|
+
}
|
|
2295
|
+
|
|
2165
2296
|
type WishlistItemCountableEdge {
|
|
2166
2297
|
"""The item at the end of the edge."""
|
|
2167
2298
|
node: WishlistItem!
|
|
@@ -2185,12 +2316,6 @@ type WishlistItem implements Node {
|
|
|
2185
2316
|
requestedPrice: Money
|
|
2186
2317
|
}
|
|
2187
2318
|
|
|
2188
|
-
"""An object with an ID"""
|
|
2189
|
-
interface Node {
|
|
2190
|
-
"""The ID of the object"""
|
|
2191
|
-
id: ID!
|
|
2192
|
-
}
|
|
2193
|
-
|
|
2194
2319
|
"""Wishlist item."""
|
|
2195
2320
|
type Wishlist implements Node {
|
|
2196
2321
|
"""The ID of the object"""
|
|
@@ -2216,13 +2341,6 @@ type Wishlist implements Node {
|
|
|
2216
2341
|
): WishlistItemCountableConnection
|
|
2217
2342
|
}
|
|
2218
2343
|
|
|
2219
|
-
"""
|
|
2220
|
-
The `DateTime` scalar type represents a DateTime
|
|
2221
|
-
value as specified by
|
|
2222
|
-
[iso8601](https://en.wikipedia.org/wiki/ISO_8601).
|
|
2223
|
-
"""
|
|
2224
|
-
scalar DateTime
|
|
2225
|
-
|
|
2226
2344
|
"""Represents user data."""
|
|
2227
2345
|
type User implements Node & ObjectWithMetadata {
|
|
2228
2346
|
"""The ID of the object"""
|
|
@@ -9340,8 +9458,9 @@ type CheckoutTheme implements Node {
|
|
|
9340
9458
|
secondaryColor: String
|
|
9341
9459
|
logo: Image
|
|
9342
9460
|
|
|
9343
|
-
"""URL of
|
|
9461
|
+
"""URL of favicon"""
|
|
9344
9462
|
faviconUrl: String
|
|
9463
|
+
faviconImage: Image
|
|
9345
9464
|
|
|
9346
9465
|
"""URL of the confirmation page."""
|
|
9347
9466
|
confirmationUrl: String!
|
|
@@ -9361,6 +9480,7 @@ type StorefrontTheme implements Node {
|
|
|
9361
9480
|
"""Accent color in hex."""
|
|
9362
9481
|
accentColor: String
|
|
9363
9482
|
logo: Image
|
|
9483
|
+
faviconImage: Image
|
|
9364
9484
|
|
|
9365
9485
|
"""URL of the favicon."""
|
|
9366
9486
|
faviconUrl: String
|
|
@@ -13821,6 +13941,15 @@ type _Service {
|
|
|
13821
13941
|
}
|
|
13822
13942
|
|
|
13823
13943
|
type Mutation {
|
|
13944
|
+
"""EmailTemplate update mutation."""
|
|
13945
|
+
emailTemplateUpdate(
|
|
13946
|
+
"""ID of the email template to update."""
|
|
13947
|
+
id: ID!
|
|
13948
|
+
|
|
13949
|
+
"""Fields to update on the email template."""
|
|
13950
|
+
input: EmailTemplateUpdateInput!
|
|
13951
|
+
): EmailTemplateUpdate
|
|
13952
|
+
|
|
13824
13953
|
"""Create a tenant"""
|
|
13825
13954
|
tenantCreate(
|
|
13826
13955
|
"""Fields required to create Tenant"""
|
|
@@ -13843,7 +13972,7 @@ type Mutation {
|
|
|
13843
13972
|
description: String
|
|
13844
13973
|
|
|
13845
13974
|
"""
|
|
13846
|
-
Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types:
|
|
13975
|
+
Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: application/pdf, application/x-tiff, image/jpeg, application/dxf, image/tiff, application/jpg, application/vnd.ms-excel, application/vnd.oasis.opendocument.presentation, application/x-acad, application/postscript, application/x-zip-compressed, drawing/x-dwf, application/tiff, application/excel, application/csv, image/heic-sequence, application/gzip, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/msword, application/x-rar, application/x-rtf, image/dxf, image/x-dxf, image/heif, application/rtf, application/x-pdf, application/x-dwg, image/svg+xml, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/x-rar-compressed, application/acrobat, application/gzip-compressed, application/x-autocad, application/zip, application/x-csv, application/x-eps, text/x-pdf, image/x-tiff, application/vnd.oasis.opendocument.spreadsheet, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/acad, text/x-csv, drawing/dwg, image/webp, image/x-dwg, image/heic, application/dwg, image/heif-sequence, text/rtf, image/png, text/svg, application/eps, image/eps, text/x-comma-separated-values, image/bmp, image/x-ms-bmp, image/svg, application/vnd.ms-word, image/tif, application/tif, text/pdf, application/vnd.ms-powerpoint, image/jpg, application/x-dxf, text/csv, application/x-jpg, image/x-eps, application/x-tif, image/x-tif, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/vnd.oasis.opendocument.text, application/x-tar, image/gif, application/gzipped, text/svg-xml, drawing/x-dwg, image/x-bmp, text/plain, application/x-gzip, text/comma-separated-values, image/vnd.dwg, pplication/vnd.rar, application/svg+xml, application/vnd.pdf.
|
|
13847
13976
|
"""
|
|
13848
13977
|
file: Upload!
|
|
13849
13978
|
|
|
@@ -17250,6 +17379,39 @@ type Mutation {
|
|
|
17250
17379
|
): PermissionGroupDelete
|
|
17251
17380
|
}
|
|
17252
17381
|
|
|
17382
|
+
"""EmailTemplate update mutation."""
|
|
17383
|
+
type EmailTemplateUpdate {
|
|
17384
|
+
emailTemplate: EmailTemplate
|
|
17385
|
+
notificationErrors: [NotificationError!]!
|
|
17386
|
+
}
|
|
17387
|
+
|
|
17388
|
+
type NotificationError {
|
|
17389
|
+
"""
|
|
17390
|
+
Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field.
|
|
17391
|
+
"""
|
|
17392
|
+
field: String
|
|
17393
|
+
|
|
17394
|
+
"""The error message."""
|
|
17395
|
+
message: String!
|
|
17396
|
+
|
|
17397
|
+
"""The error code."""
|
|
17398
|
+
code: NotificationErrorCode!
|
|
17399
|
+
}
|
|
17400
|
+
|
|
17401
|
+
"""An enumeration."""
|
|
17402
|
+
enum NotificationErrorCode {
|
|
17403
|
+
GRAPHQL_ERROR
|
|
17404
|
+
NOT_FOUND
|
|
17405
|
+
REQUIRED
|
|
17406
|
+
INVALID
|
|
17407
|
+
}
|
|
17408
|
+
|
|
17409
|
+
"""Input type for email template update."""
|
|
17410
|
+
input EmailTemplateUpdateInput {
|
|
17411
|
+
"""The content of the email template."""
|
|
17412
|
+
content: String
|
|
17413
|
+
}
|
|
17414
|
+
|
|
17253
17415
|
"""Create a tenant"""
|
|
17254
17416
|
type TenantCreate {
|
|
17255
17417
|
tenant: Tenant
|
|
@@ -19630,6 +19792,9 @@ input CheckoutThemeCreateInput {
|
|
|
19630
19792
|
"""Logo file."""
|
|
19631
19793
|
logo: Upload
|
|
19632
19794
|
|
|
19795
|
+
"""Favicon file."""
|
|
19796
|
+
faviconImage: Upload
|
|
19797
|
+
|
|
19633
19798
|
"""URL of the favicon."""
|
|
19634
19799
|
faviconUrl: String
|
|
19635
19800
|
|
|
@@ -19654,6 +19819,9 @@ input CheckoutThemeInput {
|
|
|
19654
19819
|
"""Logo file."""
|
|
19655
19820
|
logo: Upload
|
|
19656
19821
|
|
|
19822
|
+
"""Favicon file."""
|
|
19823
|
+
faviconImage: Upload
|
|
19824
|
+
|
|
19657
19825
|
"""URL of the favicon."""
|
|
19658
19826
|
faviconUrl: String
|
|
19659
19827
|
|
|
@@ -19681,6 +19849,9 @@ input StorefrontThemeInput {
|
|
|
19681
19849
|
"""Logo file."""
|
|
19682
19850
|
logo: Upload
|
|
19683
19851
|
|
|
19852
|
+
"""Favicon file"""
|
|
19853
|
+
faviconImage: Upload
|
|
19854
|
+
|
|
19684
19855
|
"""URL of the favicon."""
|
|
19685
19856
|
faviconUrl: String
|
|
19686
19857
|
|