@nautical-commerce/graphql-schema 1.81.4 → 1.82.0-1-gf6b8a4824

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.
@@ -1701,6 +1701,33 @@ type Query {
1701
1701
  contentType: CustomFieldTemplateEnum
1702
1702
  ): CustomFieldTemplate
1703
1703
 
1704
+ """List of all attribute values"""
1705
+ attributeValues(
1706
+ """Filtering options for attribute values."""
1707
+ filter: AttributeValueFilterInput
1708
+
1709
+ """Sorting options for attribute values."""
1710
+ sortBy: AttributeValueSortingInput
1711
+
1712
+ """Return the elements in the list that come before the specified cursor."""
1713
+ before: String
1714
+
1715
+ """Return the elements in the list that come after the specified cursor."""
1716
+ after: String
1717
+
1718
+ """Return the first n elements from the list."""
1719
+ first: Int
1720
+
1721
+ """Return the last n elements from the list."""
1722
+ last: Int
1723
+ ): AttributeValueCountableConnection
1724
+
1725
+ """Look up an attribute value by ID."""
1726
+ attributeValue(
1727
+ """ID of the attribute value."""
1728
+ id: ID!
1729
+ ): AttributeValue
1730
+
1704
1731
  """List of the apps."""
1705
1732
  apps(
1706
1733
  """Filtering options for apps."""
@@ -1859,6 +1886,14 @@ type Query {
1859
1886
  last: Int
1860
1887
  ): UserCountableConnection!
1861
1888
 
1889
+ """
1890
+ List of SSO integrations that are active and can be used to authenticate users.
1891
+ """
1892
+ ssoIntegrations(
1893
+ """Whether the SSO integration is for the dashboard."""
1894
+ isDashboard: Boolean!
1895
+ ): [SSOIntegration!]!
1896
+
1862
1897
  """Look up a user by ID."""
1863
1898
  user(
1864
1899
  """ID of the user."""
@@ -2942,6 +2977,11 @@ type Product implements Node & ObjectWithMetadata {
2942
2977
 
2943
2978
  """Whether this product allows creating variants."""
2944
2979
  hasVariantOptions: Boolean!
2980
+
2981
+ """
2982
+ List of warnings for this product that needs to be resolved for publishing.
2983
+ """
2984
+ warnings: [WarningMessageItem!]!
2945
2985
  }
2946
2986
 
2947
2987
  """
@@ -3239,15 +3279,15 @@ type MarketplaceConfiguration {
3239
3279
 
3240
3280
  """URL of a view where customers can set their password."""
3241
3281
  customerSetPasswordUrl: String
3242
-
3243
- """Include taxes in prices."""
3244
- includeTaxesInPrices: Boolean! @deprecated(reason: "This will be removed on April 29, 2025.")
3245
3282
  chargeTaxesOnShipping: Boolean!
3246
3283
 
3247
3284
  """
3248
3285
  The marketplace's end trial date, or null if the marketplace is not in trial mode.
3249
3286
  """
3250
3287
  trialEndsAt: DateTime
3288
+
3289
+ """Indicates whether the marketplace is subscribed to an active pro plan."""
3290
+ hasActiveProPlanSubscription: Boolean
3251
3291
  }
3252
3292
 
3253
3293
  """
@@ -4042,41 +4082,30 @@ type VendorPayoutCountableEdge {
4042
4082
  type VendorPayout implements Node & ObjectWithMetadata {
4043
4083
  """The ID of the object"""
4044
4084
  id: ID!
4045
-
4046
- """
4047
- List of private metadata items.Requires proper staff permissions to access.
4048
- """
4049
- privateMetadata: [MetadataItem!]!
4050
-
4051
- """List of public metadata items. Can be accessed without permissions."""
4052
- metadata: [MetadataItem!]!
4053
- tenant: Tenant!
4054
4085
  created: DateTime!
4055
4086
  updated: DateTime!
4056
4087
  gateway: String!
4057
4088
  payout: Payout!
4058
4089
  seller: Seller!
4059
- currency: String!
4060
- average: Decimal!
4061
- discounts: Decimal!
4062
- net: Decimal!
4063
- shipping: Decimal!
4064
- volumeDiscounts: Decimal!
4065
- commission: Decimal!
4066
- feeAmount: Decimal!
4067
- fees: Money!
4068
- payoutAmount: Decimal!
4069
- payable: Money!
4070
4090
  included: Boolean!
4071
4091
  status: VendorPayoutStatus!
4072
4092
  statusMessage: String
4073
- adjustmentAmount: Decimal!
4074
- adjustment: Money!
4075
- refundAmount: Decimal!
4076
- refund: Money!
4077
4093
 
4078
4094
  """"""
4079
4095
  ledgerVersion: BigInt!
4096
+ orders(offset: Int, before: String, after: String, first: Int, last: Int): OrderCountableConnection!
4097
+ refundLines(offset: Int, before: String, after: String, first: Int, last: Int): RefundLineCountableConnection!
4098
+
4099
+ """
4100
+ List of private metadata items.Requires proper staff permissions to access.
4101
+ """
4102
+ privateMetadata: [MetadataItem!]!
4103
+
4104
+ """List of public metadata items. Can be accessed without permissions."""
4105
+ metadata: [MetadataItem!]!
4106
+ adjustment: Money!
4107
+ commissionMoney: Money!
4108
+ discountsMoney: Money!
4080
4109
 
4081
4110
  """
4082
4111
  List of events associated with the vendor payout (sorted from newest to latest)
@@ -4085,14 +4114,24 @@ type VendorPayout implements Node & ObjectWithMetadata {
4085
4114
  """Optional filter by event types"""
4086
4115
  eventTypes: [VendorPayoutEventsEnum!]
4087
4116
  ): [VendorPayoutEvent!]!
4088
- orders(offset: Int, before: String, after: String, first: Int, last: Int): OrderCountableConnection!
4089
- refundLines(offset: Int, before: String, after: String, first: Int, last: Int): RefundLineCountableConnection!
4090
- commissionMoney: Money!
4091
- discountsMoney: Money!
4117
+ fees: Money!
4092
4118
  netSales: Money!
4119
+ payable: Money!
4120
+ refund: Money!
4093
4121
  shippingMoney: Money!
4094
4122
  subtotal: Money!
4095
4123
  total: Money!
4124
+ adjustmentAmount: Decimal! @deprecated(reason: "This will be removed on August 6, 2025. Use the adjustment field instead.")
4125
+ average: Decimal! @deprecated(reason: "This will be removed on August 6, 2025.")
4126
+ commission: Decimal! @deprecated(reason: "This will be removed on August 6, 2025. Use the commissionMoney field instead.")
4127
+ currency: String! @deprecated(reason: "This will be removed on August 6, 2025.")
4128
+ discounts: Decimal! @deprecated(reason: "This will be removed on August 6, 2025. Use the discountsMoney field instead.")
4129
+ feeAmount: Decimal! @deprecated(reason: "This will be removed on August 6, 2025. Use the fees field instead.")
4130
+ net: Decimal! @deprecated(reason: "This will be removed on August 6, 2025. Use the netSales field instead.")
4131
+ payoutAmount: Decimal! @deprecated(reason: "This will be removed on August 6, 2025. Use the payable field instead.")
4132
+ refundAmount: Decimal! @deprecated(reason: "This will be removed on August 6, 2025. Use the refund field instead.")
4133
+ shipping: Decimal! @deprecated(reason: "This will be removed on August 6, 2025. Use the shippingMoney field instead.")
4134
+ volumeDiscounts: Decimal! @deprecated(reason: "This will be removed on August 6, 2025.")
4096
4135
  }
4097
4136
 
4098
4137
  type Payout implements Node & ObjectWithMetadata {
@@ -4163,50 +4202,6 @@ enum VendorPayoutStatus {
4163
4202
  ERROR
4164
4203
  }
4165
4204
 
4166
- """History log of the vendor payout."""
4167
- type VendorPayoutEvent implements Node {
4168
- """The ID of the object"""
4169
- id: ID!
4170
- parameters: JSONString!
4171
-
4172
- """Date when event happened at in ISO 8601 format."""
4173
- date: DateTime!
4174
-
4175
- """Date when event happened at in ISO 8601 format."""
4176
- createdAt: DateTime!
4177
-
4178
- """
4179
- Date when event was update at in ISO 8601 format(in case, if event supports updates, for example, NOTE_ADDED).
4180
- """
4181
- updatedAt: DateTime!
4182
-
4183
- """Vendor payout event type."""
4184
- type: VendorPayoutEventsEnum!
4185
-
4186
- """User who performed the action."""
4187
- user: User
4188
-
4189
- """Content of the event."""
4190
- message: String
4191
- }
4192
-
4193
- enum VendorPayoutEventsEnum {
4194
- """The vendor payout was created."""
4195
- VENDOR_PAYOUT_CREATED
4196
-
4197
- """The vendor payout was updated."""
4198
- VENDOR_PAYOUT_UPDATED
4199
-
4200
- """Vendor payout status was updated."""
4201
- VENDOR_PAYOUT_STATUS_UPDATED
4202
-
4203
- """A note was added to the vendor payout."""
4204
- NOTE_ADDED
4205
-
4206
- """The vendor payout email was sent."""
4207
- VENDOR_PAYOUT_EMAIL_SENT
4208
- }
4209
-
4210
4205
  type OrderCountableConnection {
4211
4206
  """Pagination data for this connection."""
4212
4207
  pageInfo: PageInfo!
@@ -4683,6 +4678,7 @@ input ProductFilterInput {
4683
4678
  advancedSearch: ProductSearchInput
4684
4679
  ids: [ID]
4685
4680
  isStaff: Boolean
4681
+ hasWarnings: Boolean
4686
4682
  metadata: MetadataFilterInput
4687
4683
  privateMetadata: MetadataFilterInput
4688
4684
  }
@@ -5537,6 +5533,9 @@ type AttributeValue implements Node {
5537
5533
  sortOrder: Int
5538
5534
  tenant: Tenant!
5539
5535
 
5536
+ """The seller that owns this attribute value"""
5537
+ seller: Seller!
5538
+
5540
5539
  """Name of a value displayed in the interface."""
5541
5540
  name: String!
5542
5541
 
@@ -5997,6 +5996,9 @@ type NauticalOrder implements Node & ObjectWithMetadata {
5997
5996
  vatIdentificationNumber: String
5998
5997
  mpVatIdentificationNumber: String
5999
5998
  token: String!
5999
+
6000
+ """Token of the checkout instance that this order was created from."""
6001
+ checkoutToken: String
6000
6002
  voucher: Voucher
6001
6003
  shippingDiscount: Money
6002
6004
  discount: Money
@@ -7502,6 +7504,50 @@ type OrderPayoutSummary {
7502
7504
  vendorPayout: VendorPayout!
7503
7505
  }
7504
7506
 
7507
+ """History log of the vendor payout."""
7508
+ type VendorPayoutEvent implements Node {
7509
+ """The ID of the object"""
7510
+ id: ID!
7511
+ parameters: JSONString!
7512
+
7513
+ """Date when event happened at in ISO 8601 format."""
7514
+ date: DateTime!
7515
+
7516
+ """Date when event happened at in ISO 8601 format."""
7517
+ createdAt: DateTime!
7518
+
7519
+ """
7520
+ Date when event was update at in ISO 8601 format(in case, if event supports updates, for example, NOTE_ADDED).
7521
+ """
7522
+ updatedAt: DateTime!
7523
+
7524
+ """Vendor payout event type."""
7525
+ type: VendorPayoutEventsEnum!
7526
+
7527
+ """User who performed the action."""
7528
+ user: User
7529
+
7530
+ """Content of the event."""
7531
+ message: String
7532
+ }
7533
+
7534
+ enum VendorPayoutEventsEnum {
7535
+ """The vendor payout was created."""
7536
+ VENDOR_PAYOUT_CREATED
7537
+
7538
+ """The vendor payout was updated."""
7539
+ VENDOR_PAYOUT_UPDATED
7540
+
7541
+ """Vendor payout status was updated."""
7542
+ VENDOR_PAYOUT_STATUS_UPDATED
7543
+
7544
+ """A note was added to the vendor payout."""
7545
+ NOTE_ADDED
7546
+
7547
+ """The vendor payout email was sent."""
7548
+ VENDOR_PAYOUT_EMAIL_SENT
7549
+ }
7550
+
7505
7551
  type AgreementSellersCountableConnection {
7506
7552
  """Pagination data for this connection."""
7507
7553
  pageInfo: PageInfo!
@@ -7815,6 +7861,14 @@ Should be used in places where value must be positive.
7815
7861
  """
7816
7862
  scalar PositiveDecimal
7817
7863
 
7864
+ type WarningMessageItem {
7865
+ """Code of the warning message."""
7866
+ code: String!
7867
+
7868
+ """Warning Message."""
7869
+ message: String!
7870
+ }
7871
+
7818
7872
  """Represents availability of a variant in the storefront."""
7819
7873
  type VariantPricingInfo {
7820
7874
  """Whether it is in sale or not."""
@@ -8884,9 +8938,6 @@ type Shop {
8884
8938
  """List of possible phone prefixes."""
8885
8939
  phonePrefixes: [String!]!
8886
8940
 
8887
- """Include taxes in prices."""
8888
- includeTaxesInPrices: Boolean! @deprecated(reason: "This will be removed on April 29, 2025.")
8889
-
8890
8941
  """Charge taxes on shipping."""
8891
8942
  chargeTaxesOnShipping: Boolean!
8892
8943
 
@@ -11904,6 +11955,42 @@ enum CustomFieldTemplateEnum {
11904
11955
  FULFILLMENT
11905
11956
  }
11906
11957
 
11958
+ type AttributeValueCountableConnection {
11959
+ """Pagination data for this connection."""
11960
+ pageInfo: PageInfo!
11961
+ edges: [AttributeValueCountableEdge!]!
11962
+
11963
+ """A total count of items in the collection."""
11964
+ totalCount: Int
11965
+ }
11966
+
11967
+ type AttributeValueCountableEdge {
11968
+ """The item at the end of the edge."""
11969
+ node: AttributeValue!
11970
+
11971
+ """A cursor for use in pagination."""
11972
+ cursor: String!
11973
+ }
11974
+
11975
+ input AttributeValueFilterInput {
11976
+ attributeIds: [ID]
11977
+ search: String
11978
+ }
11979
+
11980
+ input AttributeValueSortingInput {
11981
+ """Specifies the direction in which to sort products."""
11982
+ direction: OrderDirection!
11983
+
11984
+ """Sort attribute_values by the selected field."""
11985
+ field: AttributeValueSortField!
11986
+ }
11987
+
11988
+ enum AttributeValueSortField {
11989
+ SORT_ORDER
11990
+ NAME
11991
+ SLUG
11992
+ }
11993
+
11907
11994
  type AppCountableConnection {
11908
11995
  """Pagination data for this connection."""
11909
11996
  pageInfo: PageInfo!
@@ -12044,6 +12131,29 @@ enum StaffMemberStatus {
12044
12131
  DEACTIVATED
12045
12132
  }
12046
12133
 
12134
+ """Represents a SSO integration."""
12135
+ type SSOIntegration implements Node {
12136
+ """The ID of the SSO integration."""
12137
+ id: ID!
12138
+
12139
+ """The name of the SSO integration."""
12140
+ name: SSOProviderEnum!
12141
+
12142
+ """Whether the SSO integration is enabled."""
12143
+ isActive: Boolean!
12144
+
12145
+ """The URL to authorize the SSO integration."""
12146
+ oauthAuthorizationUrl: String!
12147
+ }
12148
+
12149
+ enum SSOProviderEnum {
12150
+ """Google"""
12151
+ GOOGLE
12152
+
12153
+ """Keycloak"""
12154
+ KEYCLOAK
12155
+ }
12156
+
12047
12157
  union _Entity = WishlistItem | Wishlist | User | Address | ProductVariant | Product | Category | ProductType | App | Collection | ProductImage | ProductStatusLog | Group
12048
12158
 
12049
12159
  scalar _Any
@@ -12084,7 +12194,7 @@ type Mutation {
12084
12194
  description: String
12085
12195
 
12086
12196
  """
12087
- 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-pdf, image/jpeg, application/vnd.openxmlformats-officedocument.presentationml.slideshow, image/tiff, text/plain, application/vnd.ms-powerpoint, image/x-eps, application/zip, application/jpg, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/dwg, application/csv, application/x-eps, application/gzip-compressed, application/acrobat, drawing/x-dwf, application/dxf, application/x-rtf, application/x-jpg, application/tiff, image/webp, application/x-pdf, drawing/dwg, application/vnd.oasis.opendocument.spreadsheet, pplication/vnd.rar, application/eps, text/svg-xml, application/vnd.pdf, image/png, application/pdf, text/comma-separated-values, application/vnd.oasis.opendocument.text, application/gzip, image/eps, application/svg+xml, image/svg, text/x-csv, application/x-rar-compressed, application/x-tiff, image/svg+xml, application/x-rar, application/x-gzip, image/heic-sequence, text/x-comma-separated-values, application/x-dxf, application/rtf, image/gif, application/x-zip-compressed, image/x-ms-bmp, image/dxf, application/x-tif, image/heic, text/svg, image/x-dwg, application/acad, application/excel, text/pdf, image/heif-sequence, application/vnd.oasis.opendocument.presentation, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, image/x-dxf, application/x-dwg, application/vnd.ms-excel, image/jpg, application/vnd.openxmlformats-officedocument.wordprocessingml.document, image/vnd.dwg, text/csv, application/x-acad, application/gzipped, application/x-csv, application/x-tar, application/tif, application/postscript, image/x-tiff, drawing/x-dwg, image/bmp, image/x-bmp, application/vnd.ms-word, image/heif, application/x-autocad, application/msword, image/tif, text/rtf, image/x-tif.
12197
+ Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: application/gzipped, application/vnd.oasis.opendocument.spreadsheet, image/x-tif, application/excel, application/vnd.openxmlformats-officedocument.wordprocessingml.document, text/csv, image/svg+xml, application/x-acad, application/x-rar-compressed, application/x-eps, application/zip, application/vnd.ms-excel, image/svg, application/dwg, text/svg-xml, application/acad, application/x-rar, application/x-tar, application/postscript, application/vnd.oasis.opendocument.presentation, application/x-csv, application/rtf, image/heic, image/x-tiff, image/jpg, application/gzip, drawing/dwg, image/eps, application/x-pdf, text/x-pdf, application/eps, text/x-csv, application/vnd.oasis.opendocument.text, image/jpeg, application/svg+xml, drawing/x-dwg, application/acrobat, text/svg, drawing/x-dwf, text/comma-separated-values, application/x-tiff, image/dxf, application/vnd.pdf, pplication/vnd.rar, application/x-dwg, application/dxf, text/pdf, application/tif, text/plain, application/x-jpg, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/gzip-compressed, image/x-dxf, image/x-eps, application/vnd.ms-word, image/vnd.dwg, application/csv, image/x-ms-bmp, text/rtf, image/heic-sequence, application/x-tif, application/vnd.ms-powerpoint, image/png, application/vnd.openxmlformats-officedocument.presentationml.presentation, image/heif, image/gif, application/pdf, application/tiff, image/tif, application/x-rtf, application/x-autocad, image/bmp, image/webp, text/x-comma-separated-values, application/x-dxf, image/heif-sequence, application/x-gzip, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/jpg, image/x-dwg, application/x-zip-compressed, application/msword, image/x-bmp, image/tiff.
12088
12198
  """
12089
12199
  file: Upload!
12090
12200
 
@@ -14305,7 +14415,7 @@ type Mutation {
14305
14415
  exchangeRatesRefresh(
14306
14416
  """ID of the plugin to use to refresh exchange rates."""
14307
14417
  plugin: String!
14308
- ): ExchangeRatesRefresh
14418
+ ): ExchangeRatesRefresh @deprecated(reason: "This will be removed on Aug 2, 2025")
14309
14419
 
14310
14420
  """Create a checkout event."""
14311
14421
  checkoutEventTriggered(
@@ -14978,6 +15088,18 @@ type Mutation {
14978
15088
  token: String!
14979
15089
  ): EmailChangeConfirm
14980
15090
 
15091
+ """Login via SSO."""
15092
+ ssoLogin(
15093
+ """The oauth code"""
15094
+ code: String!
15095
+
15096
+ """Whether the user is logging in to the dashboard"""
15097
+ isDashboard: Boolean!
15098
+
15099
+ """The oauth state"""
15100
+ state: String!
15101
+ ): SSOLogin
15102
+
14981
15103
  """Create a new address for the customer."""
14982
15104
  accountAddressCreate(
14983
15105
  """Fields required to create address."""
@@ -15486,9 +15608,6 @@ input MarketplaceConfigurationInput {
15486
15608
  """URL of a view where customers can set their password."""
15487
15609
  customerSetPasswordUrl: String
15488
15610
 
15489
- """Include taxes in prices."""
15490
- includeTaxesInPrices: Boolean @deprecated(reason: "This will be removed on April 29, 2025.")
15491
-
15492
15611
  """Charge taxes on shipping."""
15493
15612
  chargeTaxesOnShipping: Boolean
15494
15613
  }
@@ -21920,6 +22039,19 @@ type EmailChangeConfirm {
21920
22039
  accountErrors: [AccountError!]!
21921
22040
  }
21922
22041
 
22042
+ """Login via SSO."""
22043
+ type SSOLogin {
22044
+ """JWT token, required to authenticate."""
22045
+ token: String
22046
+
22047
+ """JWT refresh token, required to re-generate access token."""
22048
+ refreshToken: String
22049
+
22050
+ """A user instance."""
22051
+ user: User
22052
+ accountErrors: [AccountError!]!
22053
+ }
22054
+
21923
22055
  """Create a new address for the customer."""
21924
22056
  type AccountAddressCreate {
21925
22057
  """A user instance for which the address was created."""
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nautical-commerce/graphql-schema",
3
- "version": "v1.81.4",
3
+ "version": "v1.82.0-1-gf6b8a4824",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {