@nautical-commerce/graphql-schema 1.81.5 → 1.82.0-10-g0633e9fe4

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
  }
@@ -4918,6 +4914,7 @@ type Attribute implements Node & ObjectWithMetadata {
4918
4914
  externalSource: String
4919
4915
  productTypes(offset: Int, before: String, after: String, first: Int, last: Int): ProductTypeCountableConnection!
4920
4916
  productVariantTypes(offset: Int, before: String, after: String, first: Int, last: Int): ProductTypeCountableConnection!
4917
+ isLocked: Boolean!
4921
4918
 
4922
4919
  """
4923
4920
  List of private metadata items.Requires proper staff permissions to access.
@@ -5537,6 +5534,9 @@ type AttributeValue implements Node {
5537
5534
  sortOrder: Int
5538
5535
  tenant: Tenant!
5539
5536
 
5537
+ """The seller that owns this attribute value"""
5538
+ seller: Seller!
5539
+
5540
5540
  """Name of a value displayed in the interface."""
5541
5541
  name: String!
5542
5542
 
@@ -5997,6 +5997,9 @@ type NauticalOrder implements Node & ObjectWithMetadata {
5997
5997
  vatIdentificationNumber: String
5998
5998
  mpVatIdentificationNumber: String
5999
5999
  token: String!
6000
+
6001
+ """Token of the checkout instance that this order was created from."""
6002
+ checkoutToken: String
6000
6003
  voucher: Voucher
6001
6004
  shippingDiscount: Money
6002
6005
  discount: Money
@@ -7502,6 +7505,50 @@ type OrderPayoutSummary {
7502
7505
  vendorPayout: VendorPayout!
7503
7506
  }
7504
7507
 
7508
+ """History log of the vendor payout."""
7509
+ type VendorPayoutEvent implements Node {
7510
+ """The ID of the object"""
7511
+ id: ID!
7512
+ parameters: JSONString!
7513
+
7514
+ """Date when event happened at in ISO 8601 format."""
7515
+ date: DateTime!
7516
+
7517
+ """Date when event happened at in ISO 8601 format."""
7518
+ createdAt: DateTime!
7519
+
7520
+ """
7521
+ Date when event was update at in ISO 8601 format(in case, if event supports updates, for example, NOTE_ADDED).
7522
+ """
7523
+ updatedAt: DateTime!
7524
+
7525
+ """Vendor payout event type."""
7526
+ type: VendorPayoutEventsEnum!
7527
+
7528
+ """User who performed the action."""
7529
+ user: User
7530
+
7531
+ """Content of the event."""
7532
+ message: String
7533
+ }
7534
+
7535
+ enum VendorPayoutEventsEnum {
7536
+ """The vendor payout was created."""
7537
+ VENDOR_PAYOUT_CREATED
7538
+
7539
+ """The vendor payout was updated."""
7540
+ VENDOR_PAYOUT_UPDATED
7541
+
7542
+ """Vendor payout status was updated."""
7543
+ VENDOR_PAYOUT_STATUS_UPDATED
7544
+
7545
+ """A note was added to the vendor payout."""
7546
+ NOTE_ADDED
7547
+
7548
+ """The vendor payout email was sent."""
7549
+ VENDOR_PAYOUT_EMAIL_SENT
7550
+ }
7551
+
7505
7552
  type AgreementSellersCountableConnection {
7506
7553
  """Pagination data for this connection."""
7507
7554
  pageInfo: PageInfo!
@@ -7815,6 +7862,14 @@ Should be used in places where value must be positive.
7815
7862
  """
7816
7863
  scalar PositiveDecimal
7817
7864
 
7865
+ type WarningMessageItem {
7866
+ """Code of the warning message."""
7867
+ code: String!
7868
+
7869
+ """Warning Message."""
7870
+ message: String!
7871
+ }
7872
+
7818
7873
  """Represents availability of a variant in the storefront."""
7819
7874
  type VariantPricingInfo {
7820
7875
  """Whether it is in sale or not."""
@@ -8884,9 +8939,6 @@ type Shop {
8884
8939
  """List of possible phone prefixes."""
8885
8940
  phonePrefixes: [String!]!
8886
8941
 
8887
- """Include taxes in prices."""
8888
- includeTaxesInPrices: Boolean! @deprecated(reason: "This will be removed on April 29, 2025.")
8889
-
8890
8942
  """Charge taxes on shipping."""
8891
8943
  chargeTaxesOnShipping: Boolean!
8892
8944
 
@@ -11904,6 +11956,42 @@ enum CustomFieldTemplateEnum {
11904
11956
  FULFILLMENT
11905
11957
  }
11906
11958
 
11959
+ type AttributeValueCountableConnection {
11960
+ """Pagination data for this connection."""
11961
+ pageInfo: PageInfo!
11962
+ edges: [AttributeValueCountableEdge!]!
11963
+
11964
+ """A total count of items in the collection."""
11965
+ totalCount: Int
11966
+ }
11967
+
11968
+ type AttributeValueCountableEdge {
11969
+ """The item at the end of the edge."""
11970
+ node: AttributeValue!
11971
+
11972
+ """A cursor for use in pagination."""
11973
+ cursor: String!
11974
+ }
11975
+
11976
+ input AttributeValueFilterInput {
11977
+ attributeIds: [ID]
11978
+ search: String
11979
+ }
11980
+
11981
+ input AttributeValueSortingInput {
11982
+ """Specifies the direction in which to sort products."""
11983
+ direction: OrderDirection!
11984
+
11985
+ """Sort attribute_values by the selected field."""
11986
+ field: AttributeValueSortField!
11987
+ }
11988
+
11989
+ enum AttributeValueSortField {
11990
+ SORT_ORDER
11991
+ NAME
11992
+ SLUG
11993
+ }
11994
+
11907
11995
  type AppCountableConnection {
11908
11996
  """Pagination data for this connection."""
11909
11997
  pageInfo: PageInfo!
@@ -12044,6 +12132,29 @@ enum StaffMemberStatus {
12044
12132
  DEACTIVATED
12045
12133
  }
12046
12134
 
12135
+ """Represents a SSO integration."""
12136
+ type SSOIntegration implements Node {
12137
+ """The ID of the SSO integration."""
12138
+ id: ID!
12139
+
12140
+ """The name of the SSO integration."""
12141
+ name: SSOProviderEnum!
12142
+
12143
+ """Whether the SSO integration is enabled."""
12144
+ isActive: Boolean!
12145
+
12146
+ """The URL to authorize the SSO integration."""
12147
+ oauthAuthorizationUrl: String!
12148
+ }
12149
+
12150
+ enum SSOProviderEnum {
12151
+ """Google"""
12152
+ GOOGLE
12153
+
12154
+ """Keycloak"""
12155
+ KEYCLOAK
12156
+ }
12157
+
12047
12158
  union _Entity = WishlistItem | Wishlist | User | Address | ProductVariant | Product | Category | ProductType | App | Collection | ProductImage | ProductStatusLog | Group
12048
12159
 
12049
12160
  scalar _Any
@@ -12084,7 +12195,7 @@ type Mutation {
12084
12195
  description: String
12085
12196
 
12086
12197
  """
12087
- Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: application/x-rar-compressed, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, image/bmp, image/x-bmp, text/x-csv, application/x-jpg, text/svg, application/x-gzip, application/acrobat, application/vnd.pdf, application/vnd.oasis.opendocument.presentation, image/eps, application/x-acad, application/x-autocad, image/x-tif, image/tif, application/x-dwg, drawing/dwg, application/x-rtf, text/pdf, text/x-pdf, image/heif, image/svg, text/svg-xml, application/gzip, application/gzipped, application/pdf, application/vnd.ms-word, application/x-tiff, image/jpg, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/x-csv, image/svg+xml, image/x-dxf, image/heif-sequence, image/x-dwg, application/jpg, image/vnd.dwg, application/zip, drawing/x-dwf, application/vnd.oasis.opendocument.text, application/vnd.ms-excel, application/dwg, text/plain, application/msword, application/x-rar, image/heic, image/tiff, application/x-tar, application/gzip-compressed, image/jpeg, application/dxf, application/vnd.openxmlformats-officedocument.presentationml.presentation, image/x-ms-bmp, application/tiff, application/x-tif, drawing/x-dwg, image/heic-sequence, application/x-dxf, text/rtf, application/x-eps, application/tif, text/x-comma-separated-values, application/x-pdf, application/acad, text/csv, application/vnd.openxmlformats-officedocument.presentationml.slideshow, image/png, application/eps, application/rtf, image/webp, pplication/vnd.rar, image/x-tiff, application/svg+xml, image/x-eps, text/comma-separated-values, application/excel, application/postscript, application/x-zip-compressed, image/gif, application/vnd.oasis.opendocument.spreadsheet, application/csv, application/vnd.ms-powerpoint, image/dxf.
12198
+ Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: application/postscript, application/x-rar-compressed, image/vnd.dwg, application/dxf, application/zip, application/x-tif, image/x-dxf, drawing/dwg, image/heif-sequence, pplication/vnd.rar, application/vnd.ms-powerpoint, application/x-tar, text/x-comma-separated-values, image/webp, image/heif, image/x-dwg, text/csv, image/jpg, application/vnd.oasis.opendocument.presentation, image/x-eps, application/x-dwg, application/gzipped, application/x-autocad, application/gzip-compressed, application/svg+xml, image/jpeg, application/x-acad, application/dwg, image/tiff, image/svg, application/x-tiff, application/x-jpg, image/x-ms-bmp, application/x-eps, image/x-tiff, application/csv, image/x-tif, image/png, image/heic-sequence, application/x-zip-compressed, application/vnd.openxmlformats-officedocument.presentationml.presentation, image/heic, application/x-rar, image/svg+xml, text/rtf, application/x-gzip, application/pdf, drawing/x-dwg, application/jpg, application/vnd.oasis.opendocument.spreadsheet, application/vnd.oasis.opendocument.text, application/gzip, application/vnd.pdf, application/msword, application/acad, text/x-pdf, image/gif, application/x-pdf, image/tif, text/x-csv, text/plain, application/x-rtf, application/tif, application/vnd.ms-excel, application/excel, image/eps, text/svg-xml, text/comma-separated-values, drawing/x-dwf, text/svg, application/x-csv, application/tiff, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, text/pdf, application/vnd.openxmlformats-officedocument.presentationml.slideshow, image/dxf, application/acrobat, application/eps, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/rtf, image/x-bmp, image/bmp, application/x-dxf, application/vnd.ms-word.
12088
12199
  """
12089
12200
  file: Upload!
12090
12201
 
@@ -14305,7 +14416,7 @@ type Mutation {
14305
14416
  exchangeRatesRefresh(
14306
14417
  """ID of the plugin to use to refresh exchange rates."""
14307
14418
  plugin: String!
14308
- ): ExchangeRatesRefresh
14419
+ ): ExchangeRatesRefresh @deprecated(reason: "This will be removed on Aug 2, 2025")
14309
14420
 
14310
14421
  """Create a checkout event."""
14311
14422
  checkoutEventTriggered(
@@ -14978,6 +15089,18 @@ type Mutation {
14978
15089
  token: String!
14979
15090
  ): EmailChangeConfirm
14980
15091
 
15092
+ """Login via SSO."""
15093
+ ssoLogin(
15094
+ """The oauth code"""
15095
+ code: String!
15096
+
15097
+ """Whether the user is logging in to the dashboard"""
15098
+ isDashboard: Boolean!
15099
+
15100
+ """The oauth state"""
15101
+ state: String!
15102
+ ): SSOLogin
15103
+
14981
15104
  """Create a new address for the customer."""
14982
15105
  accountAddressCreate(
14983
15106
  """Fields required to create address."""
@@ -15486,9 +15609,6 @@ input MarketplaceConfigurationInput {
15486
15609
  """URL of a view where customers can set their password."""
15487
15610
  customerSetPasswordUrl: String
15488
15611
 
15489
- """Include taxes in prices."""
15490
- includeTaxesInPrices: Boolean @deprecated(reason: "This will be removed on April 29, 2025.")
15491
-
15492
15612
  """Charge taxes on shipping."""
15493
15613
  chargeTaxesOnShipping: Boolean
15494
15614
  }
@@ -21338,6 +21458,9 @@ input AttributeCreateInput {
21338
21458
  ID of the Seller that created the Attribute, or null if Marketplace Operator
21339
21459
  """
21340
21460
  createdBy: String
21461
+
21462
+ """Determines if sellers can create values for this attribute."""
21463
+ isLocked: Boolean
21341
21464
  }
21342
21465
 
21343
21466
  input AttributeValueCreateInput {
@@ -21467,6 +21590,9 @@ input AttributeUpdateInput {
21467
21590
  ID of the Seller that created the Attribute, or null if Marketplace Operator
21468
21591
  """
21469
21592
  createdBy: String
21593
+
21594
+ """Determines if sellers can create values for this attribute."""
21595
+ isLocked: Boolean
21470
21596
  }
21471
21597
 
21472
21598
  """Assign attributes to a given custom field template."""
@@ -21920,6 +22046,19 @@ type EmailChangeConfirm {
21920
22046
  accountErrors: [AccountError!]!
21921
22047
  }
21922
22048
 
22049
+ """Login via SSO."""
22050
+ type SSOLogin {
22051
+ """JWT token, required to authenticate."""
22052
+ token: String
22053
+
22054
+ """JWT refresh token, required to re-generate access token."""
22055
+ refreshToken: String
22056
+
22057
+ """A user instance."""
22058
+ user: User
22059
+ accountErrors: [AccountError!]!
22060
+ }
22061
+
21923
22062
  """Create a new address for the customer."""
21924
22063
  type AccountAddressCreate {
21925
22064
  """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.5",
3
+ "version": "v1.82.0-10-g0633e9fe4",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {