@nautical-commerce/graphql-schema 1.78.0-27-g58243f5b3 → 1.78.0-29-g5658b50ec

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.
@@ -3614,7 +3614,9 @@ type Payout implements Node & ObjectWithMetadata {
3614
3614
  updated: DateTime!
3615
3615
  startDate: Date
3616
3616
  endDate: String!
3617
- status: PayoutStatus!
3617
+
3618
+ """Status of the payout"""
3619
+ status: PayoutStatusEnum!
3618
3620
  name: String
3619
3621
  currency: String!
3620
3622
  vendorPayouts(offset: Int, before: String, after: String, first: Int, last: Int): VendorPayoutCountableConnection!
@@ -3629,8 +3631,7 @@ type Payout implements Node & ObjectWithMetadata {
3629
3631
  payout: Money!
3630
3632
  }
3631
3633
 
3632
- """An enumeration."""
3633
- enum PayoutStatus {
3634
+ enum PayoutStatusEnum {
3634
3635
  """Draft"""
3635
3636
  DRAFT
3636
3637
 
@@ -3645,6 +3646,12 @@ enum PayoutStatus {
3645
3646
 
3646
3647
  """Error"""
3647
3648
  ERROR
3649
+
3650
+ """Creating"""
3651
+ CREATING
3652
+
3653
+ """Processing"""
3654
+ PROCESSING
3648
3655
  }
3649
3656
 
3650
3657
  """An enumeration."""
@@ -3696,7 +3703,7 @@ enum VendorPayoutEventsEnum {
3696
3703
  """Vendor payout status was updated."""
3697
3704
  VENDOR_PAYOUT_STATUS_UPDATED
3698
3705
 
3699
- """A note was added to the vendor payout"""
3706
+ """A note was added to the vendor payout."""
3700
3707
  NOTE_ADDED
3701
3708
 
3702
3709
  """The vendor payout email was sent."""
@@ -7055,23 +7062,6 @@ type OrderPayoutSummary {
7055
7062
  vendorPayout: VendorPayout!
7056
7063
  }
7057
7064
 
7058
- enum PayoutStatusEnum {
7059
- """Draft"""
7060
- DRAFT
7061
-
7062
- """Paid"""
7063
- PAID
7064
-
7065
- """Archived"""
7066
- ARCHIVED
7067
-
7068
- """Locked"""
7069
- LOCKED
7070
-
7071
- """Error"""
7072
- ERROR
7073
- }
7074
-
7075
7065
  type AgreementSellersCountableConnection {
7076
7066
  """Pagination data for this connection."""
7077
7067
  pageInfo: PageInfo!
@@ -12759,7 +12749,7 @@ type Mutation {
12759
12749
  description: String
12760
12750
 
12761
12751
  """
12762
- Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: application/acad, image/heic-sequence, application/x-dxf, application/vnd.openxmlformats-officedocument.presentationml.presentation, drawing/x-dwg, application/zip, image/x-bmp, text/svg-xml, application/vnd.openxmlformats-officedocument.presentationml.slideshow, image/x-ms-bmp, image/webp, application/excel, application/x-tif, application/tiff, application/x-gzip, image/jpg, pplication/vnd.rar, application/dxf, application/x-eps, image/x-tiff, application/x-rar-compressed, text/x-pdf, text/x-comma-separated-values, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/csv, application/x-rar, text/rtf, image/gif, application/tif, application/gzip, application/vnd.ms-powerpoint, application/x-acad, application/rtf, application/jpg, application/x-jpg, application/x-zip-compressed, application/x-tar, text/pdf, image/dxf, application/vnd.oasis.opendocument.text, text/x-csv, image/heif, application/x-tiff, text/csv, application/vnd.ms-excel, application/dwg, image/x-tif, image/svg, image/x-eps, application/vnd.ms-word, application/x-pdf, image/eps, application/acrobat, image/bmp, text/plain, image/jpeg, application/msword, application/vnd.openxmlformats-officedocument.wordprocessingml.document, text/comma-separated-values, application/pdf, application/x-dwg, image/heic, application/gzip-compressed, application/x-csv, application/x-rtf, application/eps, drawing/dwg, image/svg+xml, text/svg, application/x-autocad, application/vnd.oasis.opendocument.presentation, drawing/x-dwf, application/vnd.oasis.opendocument.spreadsheet, image/x-dwg, application/gzipped, image/tif, image/vnd.dwg, image/tiff, application/postscript, application/vnd.pdf, application/svg+xml, image/x-dxf, image/png, image/heif-sequence.
12752
+ Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: application/vnd.oasis.opendocument.presentation, image/tiff, text/svg-xml, image/x-dxf, application/x-dwg, drawing/x-dwf, application/tiff, drawing/x-dwg, pplication/vnd.rar, application/x-tar, application/x-tif, application/dwg, text/x-pdf, image/vnd.dwg, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/x-rtf, application/postscript, image/webp, application/x-jpg, image/jpg, application/pdf, image/heif, application/rtf, application/x-dxf, application/svg+xml, image/x-bmp, application/dxf, drawing/dwg, application/x-gzip, application/x-csv, application/gzip, application/x-eps, image/tif, application/gzip-compressed, application/vnd.openxmlformats-officedocument.wordprocessingml.document, text/x-csv, application/x-rar, text/pdf, image/svg, image/eps, application/x-acad, application/vnd.openxmlformats-officedocument.presentationml.presentation, image/bmp, application/x-autocad, application/x-zip-compressed, application/gzipped, image/heic-sequence, application/vnd.ms-powerpoint, image/x-ms-bmp, application/acrobat, image/x-dwg, image/png, image/x-eps, image/heic, application/eps, application/jpg, text/csv, text/x-comma-separated-values, application/csv, application/vnd.pdf, application/vnd.ms-word, image/heif-sequence, application/x-tiff, text/svg, application/vnd.ms-excel, text/comma-separated-values, image/dxf, application/acad, image/x-tif, application/x-rar-compressed, text/rtf, application/tif, image/x-tiff, application/x-pdf, application/vnd.oasis.opendocument.text, image/svg+xml, application/excel, image/jpeg, application/zip, application/vnd.oasis.opendocument.spreadsheet, image/gif, application/msword, application/vnd.openxmlformats-officedocument.presentationml.slideshow, text/plain.
12763
12753
  """
12764
12754
  file: Upload!
12765
12755
 
@@ -12824,6 +12814,14 @@ type Mutation {
12824
12814
  input: PayoutCreateInput!
12825
12815
  ): PayoutCreate
12826
12816
 
12817
+ """
12818
+ Creates a new payout asynchronously. The payout will be created in CREATING state and then transition to DRAFT once the vendor payouts are created.
12819
+ """
12820
+ payoutCreateAsync(
12821
+ """Fields required to create a payout."""
12822
+ input: PayoutCreateInput!
12823
+ ): PayoutCreateAsync
12824
+
12827
12825
  """
12828
12826
  Update vendor payouts connected to the given payout with adjustments and penalties
12829
12827
  """
@@ -16278,6 +16276,14 @@ input PayoutCreateInput {
16278
16276
  endDate: Date!
16279
16277
  }
16280
16278
 
16279
+ """
16280
+ Creates a new payout asynchronously. The payout will be created in CREATING state and then transition to DRAFT once the vendor payouts are created.
16281
+ """
16282
+ type PayoutCreateAsync {
16283
+ payoutErrors: [PayoutError!]!
16284
+ payout: Payout
16285
+ }
16286
+
16281
16287
  """
16282
16288
  Update vendor payouts connected to the given payout with adjustments and penalties
16283
16289
  """
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nautical-commerce/graphql-schema",
3
- "version": "v1.78.0-27-g58243f5b3",
3
+ "version": "v1.78.0-29-g5658b50ec",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {