@nautical-commerce/graphql-schema 1.81.0-50-g3466a4ce4 → 1.81.0-52-gaabc271af

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.
@@ -4082,41 +4082,30 @@ type VendorPayoutCountableEdge {
4082
4082
  type VendorPayout implements Node & ObjectWithMetadata {
4083
4083
  """The ID of the object"""
4084
4084
  id: ID!
4085
-
4086
- """
4087
- List of private metadata items.Requires proper staff permissions to access.
4088
- """
4089
- privateMetadata: [MetadataItem!]!
4090
-
4091
- """List of public metadata items. Can be accessed without permissions."""
4092
- metadata: [MetadataItem!]!
4093
- tenant: Tenant!
4094
4085
  created: DateTime!
4095
4086
  updated: DateTime!
4096
4087
  gateway: String!
4097
4088
  payout: Payout!
4098
4089
  seller: Seller!
4099
- currency: String!
4100
- average: Decimal! @deprecated(reason: "This will be removed on August 6, 2025.")
4101
- discounts: Decimal! @deprecated(reason: "This will be removed on August 6, 2025. Use the discountsMoney field instead.")
4102
- net: Decimal! @deprecated(reason: "This will be removed on August 6, 2025. Use the netSales field instead.")
4103
- shipping: Decimal! @deprecated(reason: "This will be removed on August 6, 2025. Use the shippingMoney field instead.")
4104
- volumeDiscounts: Decimal! @deprecated(reason: "This will be removed on August 6, 2025.")
4105
- commission: Decimal! @deprecated(reason: "This will be removed on August 6, 2025. Use the commissionMoney field instead.")
4106
- feeAmount: Decimal! @deprecated(reason: "This will be removed on August 6, 2025. Use the fees field instead.")
4107
- fees: Money!
4108
- payoutAmount: Decimal! @deprecated(reason: "This will be removed on August 6, 2025. Use the payable field instead.")
4109
- payable: Money!
4110
4090
  included: Boolean!
4111
4091
  status: VendorPayoutStatus!
4112
4092
  statusMessage: String
4113
- adjustmentAmount: Decimal! @deprecated(reason: "This will be removed on August 6, 2025. Use the adjustment field instead.")
4114
- adjustment: Money!
4115
- refundAmount: Decimal! @deprecated(reason: "This will be removed on August 6, 2025. Use the refund field instead.")
4116
- refund: Money!
4117
4093
 
4118
4094
  """"""
4119
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!
4120
4109
 
4121
4110
  """
4122
4111
  List of events associated with the vendor payout (sorted from newest to latest)
@@ -4125,14 +4114,24 @@ type VendorPayout implements Node & ObjectWithMetadata {
4125
4114
  """Optional filter by event types"""
4126
4115
  eventTypes: [VendorPayoutEventsEnum!]
4127
4116
  ): [VendorPayoutEvent!]!
4128
- orders(offset: Int, before: String, after: String, first: Int, last: Int): OrderCountableConnection!
4129
- refundLines(offset: Int, before: String, after: String, first: Int, last: Int): RefundLineCountableConnection!
4130
- commissionMoney: Money!
4131
- discountsMoney: Money!
4117
+ fees: Money!
4132
4118
  netSales: Money!
4119
+ payable: Money!
4120
+ refund: Money!
4133
4121
  shippingMoney: Money!
4134
4122
  subtotal: Money!
4135
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.")
4136
4135
  }
4137
4136
 
4138
4137
  type Payout implements Node & ObjectWithMetadata {
@@ -4203,50 +4202,6 @@ enum VendorPayoutStatus {
4203
4202
  ERROR
4204
4203
  }
4205
4204
 
4206
- """History log of the vendor payout."""
4207
- type VendorPayoutEvent implements Node {
4208
- """The ID of the object"""
4209
- id: ID!
4210
- parameters: JSONString!
4211
-
4212
- """Date when event happened at in ISO 8601 format."""
4213
- date: DateTime!
4214
-
4215
- """Date when event happened at in ISO 8601 format."""
4216
- createdAt: DateTime!
4217
-
4218
- """
4219
- Date when event was update at in ISO 8601 format(in case, if event supports updates, for example, NOTE_ADDED).
4220
- """
4221
- updatedAt: DateTime!
4222
-
4223
- """Vendor payout event type."""
4224
- type: VendorPayoutEventsEnum!
4225
-
4226
- """User who performed the action."""
4227
- user: User
4228
-
4229
- """Content of the event."""
4230
- message: String
4231
- }
4232
-
4233
- enum VendorPayoutEventsEnum {
4234
- """The vendor payout was created."""
4235
- VENDOR_PAYOUT_CREATED
4236
-
4237
- """The vendor payout was updated."""
4238
- VENDOR_PAYOUT_UPDATED
4239
-
4240
- """Vendor payout status was updated."""
4241
- VENDOR_PAYOUT_STATUS_UPDATED
4242
-
4243
- """A note was added to the vendor payout."""
4244
- NOTE_ADDED
4245
-
4246
- """The vendor payout email was sent."""
4247
- VENDOR_PAYOUT_EMAIL_SENT
4248
- }
4249
-
4250
4205
  type OrderCountableConnection {
4251
4206
  """Pagination data for this connection."""
4252
4207
  pageInfo: PageInfo!
@@ -7549,6 +7504,50 @@ type OrderPayoutSummary {
7549
7504
  vendorPayout: VendorPayout!
7550
7505
  }
7551
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
+
7552
7551
  type AgreementSellersCountableConnection {
7553
7552
  """Pagination data for this connection."""
7554
7553
  pageInfo: PageInfo!
@@ -12195,7 +12194,7 @@ type Mutation {
12195
12194
  description: String
12196
12195
 
12197
12196
  """
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/msword, application/x-rtf, application/gzip-compressed, application/csv, application/tif, text/plain, image/tif, application/vnd.ms-powerpoint, application/postscript, image/x-dxf, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/dxf, application/x-tar, text/pdf, application/pdf, application/excel, text/x-pdf, image/heic, image/heif, application/tiff, image/eps, image/x-tiff, application/dwg, application/vnd.ms-word, application/svg+xml, image/heic-sequence, text/x-comma-separated-values, application/x-csv, image/x-dwg, image/x-eps, image/webp, application/x-zip-compressed, application/eps, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.openxmlformats-officedocument.wordprocessingml.document, text/csv, image/vnd.dwg, text/svg-xml, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/vnd.pdf, text/svg, application/jpg, application/gzipped, image/jpg, pplication/vnd.rar, application/vnd.oasis.opendocument.spreadsheet, drawing/x-dwg, image/dxf, image/jpeg, image/svg+xml, drawing/dwg, application/x-acad, text/rtf, image/svg, image/x-ms-bmp, application/x-rar, application/rtf, application/x-tif, application/zip, application/x-eps, image/x-bmp, application/x-tiff, image/heif-sequence, image/bmp, application/vnd.oasis.opendocument.presentation, application/x-pdf, application/x-dxf, drawing/x-dwf, application/acad, text/x-csv, application/vnd.ms-excel, text/comma-separated-values, application/x-gzip, application/vnd.oasis.opendocument.text, application/x-dwg, application/acrobat, application/x-jpg, image/gif, image/png, application/x-rar-compressed, image/x-tif, application/x-autocad, application/gzip, image/tiff.
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/dwg, application/x-gzip, application/vnd.pdf, image/x-tiff, application/acad, text/plain, image/eps, application/x-zip-compressed, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/vnd.oasis.opendocument.text, application/vnd.ms-powerpoint, application/x-tar, application/x-pdf, application/gzip, image/webp, image/tif, text/x-pdf, image/x-tif, application/vnd.oasis.opendocument.spreadsheet, drawing/x-dwf, image/gif, application/x-rar, image/bmp, application/csv, application/excel, image/png, drawing/dwg, application/msword, application/x-dwg, application/x-tiff, application/x-autocad, image/x-dxf, image/heic-sequence, drawing/x-dwg, text/svg-xml, application/pdf, image/svg, application/zip, application/svg+xml, image/vnd.dwg, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/x-rtf, image/tiff, image/x-bmp, application/x-acad, application/x-tif, application/rtf, image/x-eps, application/vnd.oasis.opendocument.presentation, application/acrobat, application/eps, application/x-csv, image/jpg, application/vnd.ms-word, application/x-dxf, text/pdf, application/jpg, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, image/heif-sequence, text/x-comma-separated-values, application/tiff, image/x-dwg, image/jpeg, application/tif, pplication/vnd.rar, application/x-rar-compressed, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/postscript, text/x-csv, image/heif, text/csv, image/dxf, image/heic, application/gzip-compressed, application/vnd.ms-excel, text/svg, text/rtf, application/x-eps, image/x-ms-bmp, application/dxf, application/gzipped, text/comma-separated-values, image/svg+xml, application/x-jpg.
12199
12198
  """
12200
12199
  file: Upload!
12201
12200
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nautical-commerce/graphql-schema",
3
- "version": "v1.81.0-50-g3466a4ce4",
3
+ "version": "v1.81.0-52-gaabc271af",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {