@nautical-commerce/graphql-schema 1.78.0-4-g9b1507684 → 1.78.0-41-g26792ec44

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.
@@ -480,19 +480,6 @@ type Query {
480
480
  """Return the last n elements from the list."""
481
481
  last: Int
482
482
  ): AgreementCountableConnection @deprecated(reason: "This will be removed on April 29, 2025.")
483
- sellerListCards(period: ReportingPeriod!, identifier: ID): SellerCards @deprecated(reason: "This will be removed on April 16, 2025")
484
- sellerDetailCards(period: ReportingPeriod!, identifier: ID!): SellerDetailCards @deprecated(reason: "This will be removed on April 16, 2025")
485
-
486
- """Number of new sellers created in given period."""
487
- newSellers(period: ReportingPeriod!): Int @deprecated(reason: "This will be removed on April 16, 2025")
488
-
489
- """Number of orders placed by sellers in given period."""
490
- sellerOrders(period: ReportingPeriod!, identifier: ID): Int @deprecated(reason: "This will be removed on April 16, 2025")
491
-
492
- """
493
- Return the total commissions earned across all sellers for the given period.
494
- """
495
- sellerCommissions(period: ReportingPeriod!, identifier: ID): Money @deprecated(reason: "This will be removed on April 16, 2025")
496
483
 
497
484
  """Look up an refund by ID."""
498
485
  refund(
@@ -1576,61 +1563,6 @@ type Query {
1576
1563
  """Return the last n elements from the list."""
1577
1564
  last: Int
1578
1565
  ): EmailEventCountableConnection
1579
- insightsOrdersCustomerSummary(
1580
- """Beginning of the period to filter results"""
1581
- startDate: Date!
1582
-
1583
- """End of the period to filter results"""
1584
- endDate: Date!
1585
- ): InReportOrderCustomerSummaryType @deprecated(reason: "This will be removed on April 13, 2025.")
1586
- insightsOrdersSellerSummary(
1587
- """Beginning of the period to filter results"""
1588
- startDate: Date!
1589
-
1590
- """End of the period to filter results"""
1591
- endDate: Date!
1592
- ): InReportOrderSellerSummaryType @deprecated(reason: "This will be removed on April 13, 2025.")
1593
- insightsOrdersMarketplaceSummary(
1594
- """Beginning of the period to filter results"""
1595
- startDate: Date!
1596
-
1597
- """End of the period to filter results"""
1598
- endDate: Date!
1599
-
1600
- """Period dimension such as DAY, WEEK, MONTH, QUARTER, YEAR"""
1601
- dimension: InsightDimensionEnum = MONTH
1602
- ): InReportOrderMarketplaceSummaryType @deprecated(reason: "This will be removed on April 13, 2025.")
1603
- insightsMarketplacePayoutsSummary(
1604
- """Beginning of the period to filter results"""
1605
- startDate: Date!
1606
-
1607
- """End of the period to filter results"""
1608
- endDate: Date!
1609
- ): InReportMarketplacePayoutsSummaryType @deprecated(reason: "This will be removed on April 13, 2025.")
1610
- insightsMarketplaceTaxSummary(
1611
- """Beginning of the period to filter results"""
1612
- startDate: Date!
1613
-
1614
- """End of the period to filter results"""
1615
- endDate: Date!
1616
-
1617
- """Period dimension such as DAY, WEEK, MONTH, QUARTER, YEAR"""
1618
- dimension: InsightDimensionEnum = YEAR
1619
- ): InReportMarketplaceTaxSummaryType @deprecated(reason: "This will be removed on April 13, 2025.")
1620
- insightsMarketplaceTaxesByCountry(
1621
- """Beginning of the period to filter results"""
1622
- startDate: Date!
1623
-
1624
- """End of the period to filter results"""
1625
- endDate: Date!
1626
- ): InReportMarketplaceTaxesByCountryType @deprecated(reason: "This will be removed on April 13, 2025.")
1627
- insightsMarketplaceTaxesByCountryArea(
1628
- """Beginning of the period to filter results"""
1629
- startDate: Date!
1630
-
1631
- """End of the period to filter results"""
1632
- endDate: Date!
1633
- ): InReportMarketplaceTaxesByCountryType @deprecated(reason: "This will be removed on April 13, 2025.")
1634
1566
  insightsTopPerformingProducts(
1635
1567
  """Beginning of the period to filter results"""
1636
1568
  startDate: Date!
@@ -1663,19 +1595,6 @@ type Query {
1663
1595
  """Top or worst performing"""
1664
1596
  perspective: PerformancePerspective!
1665
1597
  ): InReportTopPerformingCategoriesType
1666
- insightsMarketplacePaymentsSummary(
1667
- """Beginning of the period to filter results"""
1668
- startDate: Date!
1669
-
1670
- """End of the period to filter results"""
1671
- endDate: Date!
1672
-
1673
- """Total number of products to list"""
1674
- limit: Int = 25
1675
-
1676
- """Period dimension such as DAY, WEEK, MONTH, QUARTER, YEAR"""
1677
- dimension: InsightDimensionEnum = DAY
1678
- ): InReportMarketplacePaymentsSummaryType @deprecated(reason: "This will be removed on April 13, 2025.")
1679
1598
  dashboardOrdersSummary(
1680
1599
  """ID of seller for filtering"""
1681
1600
  identifier: ID
@@ -3211,6 +3130,9 @@ type Product implements Node & ObjectWithMetadata {
3211
3130
  """List of sales associated with the product."""
3212
3131
  sales: [Sale!]!
3213
3132
 
3133
+ """List of sale messages for the storefront."""
3134
+ saleMessages: [String!]
3135
+
3214
3136
  """List of vouchers associated with the product."""
3215
3137
  vouchers: [Voucher!]!
3216
3138
 
@@ -3325,7 +3247,6 @@ type Seller implements Node & ObjectWithMetadata {
3325
3247
  if no order has been created
3326
3248
  """
3327
3249
  firstOrderPlacedDate: DateTime
3328
- fullfilledByMarketplace: Boolean!
3329
3250
  created: DateTime!
3330
3251
  updated: DateTime!
3331
3252
  accountSetupTasksAreDone: Boolean
@@ -3696,7 +3617,9 @@ type Payout implements Node & ObjectWithMetadata {
3696
3617
  updated: DateTime!
3697
3618
  startDate: Date
3698
3619
  endDate: String!
3699
- status: PayoutStatus!
3620
+
3621
+ """Status of the payout"""
3622
+ status: PayoutStatusEnum!
3700
3623
  name: String
3701
3624
  currency: String!
3702
3625
  vendorPayouts(offset: Int, before: String, after: String, first: Int, last: Int): VendorPayoutCountableConnection!
@@ -3711,8 +3634,7 @@ type Payout implements Node & ObjectWithMetadata {
3711
3634
  payout: Money!
3712
3635
  }
3713
3636
 
3714
- """An enumeration."""
3715
- enum PayoutStatus {
3637
+ enum PayoutStatusEnum {
3716
3638
  """Draft"""
3717
3639
  DRAFT
3718
3640
 
@@ -3727,6 +3649,12 @@ enum PayoutStatus {
3727
3649
 
3728
3650
  """Error"""
3729
3651
  ERROR
3652
+
3653
+ """Creating"""
3654
+ CREATING
3655
+
3656
+ """Processing"""
3657
+ PROCESSING
3730
3658
  }
3731
3659
 
3732
3660
  """An enumeration."""
@@ -3778,7 +3706,7 @@ enum VendorPayoutEventsEnum {
3778
3706
  """Vendor payout status was updated."""
3779
3707
  VENDOR_PAYOUT_STATUS_UPDATED
3780
3708
 
3781
- """A note was added to the vendor payout"""
3709
+ """A note was added to the vendor payout."""
3782
3710
  NOTE_ADDED
3783
3711
 
3784
3712
  """The vendor payout email was sent."""
@@ -7098,9 +7026,6 @@ enum OrderPayoutStatusEnum {
7098
7026
  """Ready for payout"""
7099
7027
  READY_FOR_PAYOUT
7100
7028
 
7101
- """Pending final payout"""
7102
- PENDING_FINAL_PAYOUT @deprecated(reason: "This will be removed on February 26, 2025")
7103
-
7104
7029
  """Paid out"""
7105
7030
  PAID_OUT
7106
7031
 
@@ -7140,23 +7065,6 @@ type OrderPayoutSummary {
7140
7065
  vendorPayout: VendorPayout!
7141
7066
  }
7142
7067
 
7143
- enum PayoutStatusEnum {
7144
- """Draft"""
7145
- DRAFT
7146
-
7147
- """Paid"""
7148
- PAID
7149
-
7150
- """Archived"""
7151
- ARCHIVED
7152
-
7153
- """Locked"""
7154
- LOCKED
7155
-
7156
- """Error"""
7157
- ERROR
7158
- }
7159
-
7160
7068
  type AgreementSellersCountableConnection {
7161
7069
  """Pagination data for this connection."""
7162
7070
  pageInfo: PageInfo!
@@ -8621,11 +8529,6 @@ type Shop {
8621
8529
  """Gets active plugins."""
8622
8530
  activePlugins: [Plugin!]!
8623
8531
 
8624
- """
8625
- None if shop does not use Crisp, otherwise this contains Crisp Website ID.
8626
- """
8627
- crispWebsiteId: String @deprecated(reason: "This will be removed on April 7, 2025.")
8628
-
8629
8532
  """Storefront integrations for the given contexts"""
8630
8533
  storefrontUiIntegrations(
8631
8534
  """
@@ -9027,23 +8930,6 @@ type AgreementCountableEdge {
9027
8930
  cursor: String!
9028
8931
  }
9029
8932
 
9030
- type SellerCards {
9031
- newSellers: Int
9032
- sellerOrders: Int
9033
- sellerCommissions: Money
9034
- }
9035
-
9036
- enum ReportingPeriod {
9037
- TODAY
9038
- THIS_MONTH
9039
- }
9040
-
9041
- type SellerDetailCards {
9042
- sellerOrders: Int
9043
- sellerCommissions: Money
9044
- sellerSales: TaxedMoney
9045
- }
9046
-
9047
8933
  type RefundCountableConnection {
9048
8934
  """Pagination data for this connection."""
9049
8935
  pageInfo: PageInfo!
@@ -9333,6 +9219,11 @@ enum ProductTypeSortField {
9333
9219
  EXTERNAL_SOURCE
9334
9220
  }
9335
9221
 
9222
+ enum ReportingPeriod {
9223
+ TODAY
9224
+ THIS_MONTH
9225
+ }
9226
+
9336
9227
  type PriceBookCountableConnection {
9337
9228
  """Pagination data for this connection."""
9338
9229
  pageInfo: PageInfo!
@@ -10940,9 +10831,6 @@ type MarketplaceConfiguration {
10940
10831
  marketplaceName: String!
10941
10832
  requireProductApproval: Boolean!
10942
10833
 
10943
- """True if products require product types to be created"""
10944
- requireProductTypes: Boolean @deprecated(reason: "This will be removed on April 15, 2025.")
10945
-
10946
10834
  """Determines payout status transformation strategy"""
10947
10835
  payoutAutomationStrategy: MarketplaceConfigurationPayoutAutomationStrategyEnum
10948
10836
 
@@ -11875,307 +11763,36 @@ enum NotifyEventTypeEnum {
11875
11763
  """Import Catalog Success"""
11876
11764
  IMPORT_CATALOG_SUCCESS
11877
11765
 
11878
- """Account Activate Request"""
11879
- ACCOUNT_ACTIVATE_REQUEST
11880
-
11881
- """Account Activated"""
11882
- ACCOUNT_ACTIVATED
11883
-
11884
- """Account Deactivated"""
11885
- ACCOUNT_DEACTIVATED
11886
-
11887
- """Pending Order"""
11888
- PENDING_ORDER
11889
-
11890
- """Pending Customer"""
11891
- PENDING_CUSTOMER
11892
-
11893
- """Quote Requested"""
11894
- QUOTE_REQUESTED
11895
- }
11896
-
11897
- input EmailEventSortingInput {
11898
- """Specifies the direction in which to sort products."""
11899
- direction: OrderDirection!
11900
-
11901
- """Sort email_logs by the selected field."""
11902
- field: EmailEventSortField!
11903
- }
11904
-
11905
- enum EmailEventSortField {
11906
- """Sort return email_logs by date."""
11907
- DATE
11908
- }
11909
-
11910
- type InReportOrderCustomerSummaryType {
11911
- """Category of the metric."""
11912
- category: String!
11913
-
11914
- """Title of the metric."""
11915
- title: String!
11916
-
11917
- """
11918
- Description of main columns in report and summary. Note: report and summary can contain additional columns.
11919
- """
11920
- columns: [ColumnObjectType!]
11921
-
11922
- """Info about applied filters."""
11923
- filters: [FilterObjectType!]
11924
-
11925
- """Total summary for selected period."""
11926
- summary: OrderSellerSummaryType!
11927
-
11928
- """
11929
- Report where each row represent aggregated, by selected (in filters) dimension, summary.
11930
- """
11931
- report: [OrderCustomerReportType!]
11932
- }
11933
-
11934
- type OrderSellerSummaryType {
11935
- gross: Float
11936
- orders: Int
11937
- net: Float
11938
- shipping: Float
11939
- average: Float
11940
- taxes: Float
11941
- discounts: Float
11942
- revenue: Float
11943
- totals: Int
11944
- commission: Float
11945
- payout: Float
11946
- sellers: Float
11947
- }
11948
-
11949
- type OrderCustomerReportType {
11950
- gross: Float
11951
- orders: Int
11952
- net: Float
11953
- shipping: Float
11954
- average: Float
11955
- taxes: Float
11956
- discounts: Float
11957
- revenue: Float
11958
- totals: Int
11959
- commission: Float
11960
- payout: Float
11961
- userId: Int
11962
- user: User
11963
- }
11964
-
11965
- type InReportOrderSellerSummaryType {
11966
- """Category of the metric."""
11967
- category: String!
11968
-
11969
- """Title of the metric."""
11970
- title: String!
11971
-
11972
- """
11973
- Description of main columns in report and summary. Note: report and summary can contain additional columns.
11974
- """
11975
- columns: [ColumnObjectType!]
11976
-
11977
- """Info about applied filters."""
11978
- filters: [FilterObjectType!]
11979
-
11980
- """Total summary for selected period."""
11981
- summary: OrderSellerSummaryType!
11982
-
11983
- """
11984
- Report where each row represent aggregated, by selected (in filters) dimension, summary.
11985
- """
11986
- report: [OrderSellerReportType!]
11987
- }
11988
-
11989
- type OrderSellerReportType {
11990
- gross: Float
11991
- orders: Int
11992
- net: Float
11993
- shipping: Float
11994
- average: Float
11995
- taxes: Float
11996
- discounts: Float
11997
- revenue: Float
11998
- totals: Int
11999
- commission: Float
12000
- payout: Float
12001
- sellerId: Int
12002
- seller: Seller
12003
- }
12004
-
12005
- type InReportOrderMarketplaceSummaryType {
12006
- """Category of the metric."""
12007
- category: String!
12008
-
12009
- """Title of the metric."""
12010
- title: String!
12011
-
12012
- """
12013
- Description of main columns in report and summary. Note: report and summary can contain additional columns.
12014
- """
12015
- columns: [ColumnObjectType!]
12016
-
12017
- """Info about applied filters."""
12018
- filters: [FilterObjectType!]
12019
-
12020
- """Total summary for selected period."""
12021
- summary: OrderSellerSummaryType!
12022
-
12023
- """
12024
- Report where each row represent aggregated, by selected (in filters) dimension, summary.
12025
- """
12026
- report: [OrderMarketplaceReportType!]
12027
- }
12028
-
12029
- type OrderMarketplaceReportType {
12030
- gross: Float
12031
- orders: Int
12032
- net: Float
12033
- shipping: Float
12034
- average: Float
12035
- taxes: Float
12036
- discounts: Float
12037
- revenue: Float
12038
- totals: Int
12039
- commission: Float
12040
- payout: Float
12041
- dimension: Date
12042
- }
12043
-
12044
- enum InsightDimensionEnum {
12045
- DAY
12046
- WEEK
12047
- MONTH
12048
- QUARTER
12049
- YEAR
12050
- }
12051
-
12052
- type InReportMarketplacePayoutsSummaryType {
12053
- """Category of the metric."""
12054
- category: String!
12055
-
12056
- """Title of the metric."""
12057
- title: String!
12058
-
12059
- """
12060
- Description of main columns in report and summary. Note: report and summary can contain additional columns.
12061
- """
12062
- columns: [ColumnObjectType!]
12063
-
12064
- """Info about applied filters."""
12065
- filters: [FilterObjectType!]
12066
-
12067
- """Total summary for selected period."""
12068
- summary: OrderSellerSummaryType!
12069
-
12070
- """
12071
- Report where each row represent aggregated, by selected (in filters) dimension, summary.
12072
- """
12073
- report: [OrderSellerReportType!]
12074
- }
12075
-
12076
- type InReportMarketplaceTaxSummaryType {
12077
- """Category of the metric."""
12078
- category: String!
12079
-
12080
- """Title of the metric."""
12081
- title: String!
12082
-
12083
- """
12084
- Description of main columns in report and summary. Note: report and summary can contain additional columns.
12085
- """
12086
- columns: [ColumnObjectType!]
12087
-
12088
- """Info about applied filters."""
12089
- filters: [FilterObjectType!]
12090
-
12091
- """Total summary for selected period."""
12092
- summary: AbstractOrderSellerReportType!
12093
-
12094
- """
12095
- Report where each row represent aggregated, by selected (in filters) dimension, summary.
12096
- """
12097
- report: [MarketplaceTaxReportType!]
12098
- }
12099
-
12100
- type AbstractOrderSellerReportType {
12101
- gross: Float
12102
- orders: Int
12103
- net: Float
12104
- shipping: Float
12105
- average: Float
12106
- taxes: Float
12107
- discounts: Float
12108
- revenue: Float
12109
- totals: Int
12110
- commission: Float
12111
- payout: Float
12112
- }
12113
-
12114
- type MarketplaceTaxReportType {
12115
- gross: Float
12116
- orders: Int
12117
- net: Float
12118
- shipping: Float
12119
- average: Float
12120
- taxes: Float
12121
- discounts: Float
12122
- revenue: Float
12123
- totals: Int
12124
- commission: Float
12125
- payout: Float
12126
- dimension: Date
12127
- }
12128
-
12129
- type InReportMarketplaceTaxesByCountryType {
12130
- """Category of the metric."""
12131
- category: String!
12132
-
12133
- """Title of the metric."""
12134
- title: String!
11766
+ """Account Activate Request"""
11767
+ ACCOUNT_ACTIVATE_REQUEST
12135
11768
 
12136
- """
12137
- Description of main columns in report and summary. Note: report and summary can contain additional columns.
12138
- """
12139
- columns: [ColumnObjectType!]
11769
+ """Account Activated"""
11770
+ ACCOUNT_ACTIVATED
12140
11771
 
12141
- """Info about applied filters."""
12142
- filters: [FilterObjectType!]
11772
+ """Account Deactivated"""
11773
+ ACCOUNT_DEACTIVATED
12143
11774
 
12144
- """Total summary for selected period."""
12145
- summary: AbstractOrderSellerReportType!
11775
+ """Pending Order"""
11776
+ PENDING_ORDER
12146
11777
 
12147
- """
12148
- Report where each row represent aggregated, by selected (in filters) dimension, summary.
12149
- """
12150
- report: [MarketplaceTaxReportByLocaleType!]
11778
+ """Pending Customer"""
11779
+ PENDING_CUSTOMER
11780
+
11781
+ """Quote Requested"""
11782
+ QUOTE_REQUESTED
12151
11783
  }
12152
11784
 
12153
- type MarketplaceTaxReportByLocaleType {
12154
- gross: Float
12155
- orders: Int
12156
- net: Float
12157
- shipping: Float
12158
- average: Float
12159
- taxes: Float
12160
- discounts: Float
12161
- revenue: Float
12162
- totals: Int
12163
- commission: Float
12164
- payout: Float
12165
- billingAddress_Country: String
12166
- billingAddress_CountryArea: String
12167
- countryArea: String
12168
- country: String
12169
- countryName: String
12170
- countryAreaName: String
12171
- countryState: CountryState
11785
+ input EmailEventSortingInput {
11786
+ """Specifies the direction in which to sort products."""
11787
+ direction: OrderDirection!
11788
+
11789
+ """Sort email_logs by the selected field."""
11790
+ field: EmailEventSortField!
12172
11791
  }
12173
11792
 
12174
- type CountryState {
12175
- area: String
12176
- areaName: String
12177
- country: String
12178
- countryName: String
11793
+ enum EmailEventSortField {
11794
+ """Sort return email_logs by date."""
11795
+ DATE
12179
11796
  }
12180
11797
 
12181
11798
  type InReportTopPerformingProductsType {
@@ -12284,46 +11901,6 @@ type ProductCategoryReportType {
12284
11901
  category: Category
12285
11902
  }
12286
11903
 
12287
- type InReportMarketplacePaymentsSummaryType {
12288
- """Category of the metric."""
12289
- category: String!
12290
-
12291
- """Title of the metric."""
12292
- title: String!
12293
-
12294
- """
12295
- Description of main columns in report and summary. Note: report and summary can contain additional columns.
12296
- """
12297
- columns: [ColumnObjectType!]
12298
-
12299
- """Info about applied filters."""
12300
- filters: [FilterObjectType!]
12301
-
12302
- """Total summary for selected period."""
12303
- summary: AbstractPaymentsType!
12304
-
12305
- """
12306
- Report where each row represent aggregated, by selected (in filters) dimension, summary.
12307
- """
12308
- report: [PaymentsDayReportType!]
12309
- }
12310
-
12311
- type AbstractPaymentsType {
12312
- payments: Int
12313
- totalAuthorized: Float
12314
- captured: Float
12315
- average: Float
12316
- }
12317
-
12318
- type PaymentsDayReportType {
12319
- payments: Int
12320
- totalAuthorized: Float
12321
- captured: Float
12322
- average: Float
12323
- dimension: Date
12324
- chargeStatus: String
12325
- }
12326
-
12327
11904
  type DashboardOrdersSummaryType {
12328
11905
  filters: [FilterObjectType!]
12329
11906
  current: AbstractOrderSellerReportType
@@ -12336,6 +11913,20 @@ type DashboardOrdersSummaryType {
12336
11913
  pendingPayouts: Int
12337
11914
  }
12338
11915
 
11916
+ type AbstractOrderSellerReportType {
11917
+ gross: Float
11918
+ orders: Int
11919
+ net: Float
11920
+ shipping: Float
11921
+ average: Float
11922
+ taxes: Float
11923
+ discounts: Float
11924
+ revenue: Float
11925
+ totals: Int
11926
+ commission: Float
11927
+ payout: Float
11928
+ }
11929
+
12339
11930
  type OrderSummaryDeltaDataType {
12340
11931
  percent: AbstractPercentReportType
12341
11932
  values: AbstractOrderSellerReportType
@@ -13161,7 +12752,7 @@ type Mutation {
13161
12752
  description: String
13162
12753
 
13163
12754
  """
13164
- Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: image/gif, text/pdf, text/x-pdf, image/tiff, application/vnd.oasis.opendocument.text, image/heif, application/x-acad, image/dxf, application/x-csv, application/gzip-compressed, application/x-eps, application/dxf, application/x-rar, application/csv, application/x-autocad, application/x-tar, application/vnd.oasis.opendocument.presentation, application/msword, application/tiff, text/rtf, application/vnd.oasis.opendocument.spreadsheet, text/csv, application/tif, image/png, application/eps, application/pdf, application/gzipped, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/vnd.ms-powerpoint, image/x-dxf, image/tif, image/x-tif, application/jpg, application/rtf, text/plain, application/zip, application/gzip, application/vnd.pdf, application/excel, application/vnd.openxmlformats-officedocument.wordprocessingml.document, image/eps, application/dwg, application/acrobat, application/acad, application/x-tiff, text/x-csv, application/x-dwg, image/x-bmp, application/x-zip-compressed, application/x-jpg, image/heif-sequence, application/x-dxf, image/x-tiff, drawing/dwg, image/svg+xml, text/comma-separated-values, image/heic, image/svg, image/jpeg, image/x-eps, text/x-comma-separated-values, application/postscript, image/bmp, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/x-gzip, pplication/vnd.rar, application/vnd.ms-excel, text/svg-xml, application/svg+xml, image/heic-sequence, application/x-rar-compressed, image/jpg, image/vnd.dwg, image/webp, image/x-ms-bmp, application/x-rtf, drawing/x-dwf, application/x-pdf, image/x-dwg, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/vnd.ms-word, application/x-tif, text/svg, drawing/x-dwg.
12755
+ Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: application/acrobat, application/gzipped, image/eps, application/tif, drawing/x-dwf, application/pdf, application/dxf, image/webp, application/vnd.pdf, application/x-rar, text/comma-separated-values, application/vnd.ms-powerpoint, application/x-tif, application/x-rtf, application/jpg, image/gif, image/tiff, application/msword, application/x-acad, application/tiff, application/x-dxf, application/x-gzip, image/x-dxf, application/x-dwg, image/svg+xml, application/excel, image/jpg, image/x-ms-bmp, application/vnd.oasis.opendocument.text, drawing/x-dwg, image/heif, application/eps, pplication/vnd.rar, text/csv, application/postscript, image/heic-sequence, text/plain, application/vnd.oasis.opendocument.spreadsheet, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/x-jpg, text/pdf, image/vnd.dwg, application/x-csv, application/vnd.oasis.opendocument.presentation, text/rtf, drawing/dwg, image/x-dwg, image/heic, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/gzip-compressed, image/bmp, application/vnd.ms-excel, application/vnd.ms-word, application/x-tar, application/x-pdf, application/acad, image/tif, image/x-tif, image/x-tiff, text/x-csv, text/svg-xml, text/svg, image/x-bmp, image/svg, image/jpeg, application/dwg, application/x-rar-compressed, image/png, application/vnd.openxmlformats-officedocument.wordprocessingml.document, image/x-eps, application/x-eps, text/x-comma-separated-values, application/rtf, application/csv, text/x-pdf, image/heif-sequence, image/dxf, application/x-tiff, application/x-zip-compressed, application/zip, application/x-autocad, application/svg+xml, application/gzip.
13165
12756
  """
13166
12757
  file: Upload!
13167
12758
 
@@ -13224,7 +12815,15 @@ type Mutation {
13224
12815
  payoutCreate(
13225
12816
  """Fields required to create a payout."""
13226
12817
  input: PayoutCreateInput!
13227
- ): PayoutCreate
12818
+ ): PayoutCreate @deprecated(reason: "This will be removed on July 15, 2024. Use payoutCreateAsync instead.")
12819
+
12820
+ """
12821
+ Creates a new payout asynchronously. The payout will be created in CREATING state and then transition to DRAFT once the vendor payouts are created.
12822
+ """
12823
+ payoutCreateAsync(
12824
+ """Fields required to create a payout."""
12825
+ input: PayoutCreateInput!
12826
+ ): PayoutCreateAsync
13228
12827
 
13229
12828
  """
13230
12829
  Update vendor payouts connected to the given payout with adjustments and penalties
@@ -13258,6 +12857,9 @@ type Mutation {
13258
12857
  input: PayoutDatesInput!
13259
12858
  ): PayoutDatesUpdate @deprecated(reason: "This will be removed on April 29, 2025.")
13260
12859
 
12860
+ """Process a payout asynchronously."""
12861
+ payoutProcess(input: PayoutProcessInput!): PayoutProcess
12862
+
13261
12863
  """Archive payouts."""
13262
12864
  payoutBulkArchive(
13263
12865
  """List of payout IDs to archive."""
@@ -13303,7 +12905,7 @@ type Mutation {
13303
12905
 
13304
12906
  """List of vendor payout IDs to process."""
13305
12907
  ids: [ID]!
13306
- ): VendorPayoutsBulkProcess
12908
+ ): VendorPayoutsBulkProcess @deprecated(reason: "This will be removed on July 15, 2024. Use payoutProcess instead.")
13307
12909
 
13308
12910
  """Adds note to the vendor payout."""
13309
12911
  vendorPayoutNoteAdd(
@@ -14305,6 +13907,17 @@ type Mutation {
14305
13907
  input: ProductImageCreateInput!
14306
13908
  ): ProductImageCreate
14307
13909
 
13910
+ """
13911
+ Create one or more product images. For each image, if URL is present, image will be taken from provided URL. If any image has no URL provided, then this mutation must be sent as a `multipart` request. More detailed specs of the upload format can be found here: https://github.com/jaydenseric/graphql-multipart-request-spec
13912
+ """
13913
+ productImageBulkCreate(
13914
+ """Fields required to create one or more product images"""
13915
+ input: [ProductImageBulkCreateInput!]!
13916
+
13917
+ """ID of a product."""
13918
+ product: ID!
13919
+ ): ProductImageBulkCreate
13920
+
14308
13921
  """
14309
13922
  Reorder the variants of a product. Mutation updates updated_at on product and triggers PRODUCT_UPDATED webhook.
14310
13923
  """
@@ -14689,12 +14302,6 @@ type Mutation {
14689
14302
  input: NauticalDraftOrderCreateInput!
14690
14303
  ): NauticalDraftOrderCreate
14691
14304
 
14692
- """Creates a new Nautical historical order."""
14693
- nauticalHistoricalOrderCreate(
14694
- """Fields required to create an historical order."""
14695
- input: NauticalHistoricalOrderInput!
14696
- ): NauticalHistoricalOrderCreate @deprecated(reason: "This mutation will be removed on February 18, 2025")
14697
-
14698
14305
  """Deletes a draft order."""
14699
14306
  draftOrderDelete(
14700
14307
  """ID of a draft or quote order to delete."""
@@ -15040,13 +14647,6 @@ type Mutation {
15040
14647
  input: NauticalOrderUpdateInput!
15041
14648
  ): NauticalOrderUpdate
15042
14649
 
15043
- """Modifies the payout status of an order"""
15044
- orderPayoutStatusUpdate(
15045
- """Target order id."""
15046
- id: ID!
15047
- input: OrderPayoutStatusUpdateInput!
15048
- ): OrderPayoutStatusUpdate @deprecated(reason: "This will be removed on February 26, 2025.")
15049
-
15050
14650
  """Updates a shipping method of the order."""
15051
14651
  orderUpdateShipping(
15052
14652
  """ID of the order to update a shipping method."""
@@ -15114,22 +14714,18 @@ type Mutation {
15114
14714
 
15115
14715
  """Sends a quote order to a customer."""
15116
14716
  nauticalQuoteOrderSendToCustomer(
15117
- """
15118
- ID of the order (nautical or seller order, with Quote status) to send to the customer.
15119
- """
14717
+ """ID of the nautical order (with Quote status) to send to the customer."""
15120
14718
  id: ID!
15121
14719
 
15122
14720
  """
15123
14721
  URL to send customer to for quote confirmation. Whatever URL is sent will have `token` added to the search parameters of the URL, e.g. if you send http://localhost/quote, the generated URL will be http://localhost/quote?token=...
15124
14722
  """
15125
14723
  storefrontUrl: String!
15126
- ): NauticalQuoteOrderSendToCustomer @deprecated(reason: "The ability to send Order IDs will be removed on February 26, 2025. This will be removed on June 11, 2025.")
14724
+ ): NauticalQuoteOrderSendToCustomer @deprecated(reason: "This will be removed on June 11, 2025.")
15127
14725
 
15128
14726
  """Sends a quote order to a customer."""
15129
14727
  nauticalDraftOrderSendToCustomer(
15130
- """
15131
- ID of the order (nautical or seller order, with Quote status) to send to the customer.
15132
- """
14728
+ """ID of the nautical order (with Quote status) to send to the customer."""
15133
14729
  id: ID!
15134
14730
 
15135
14731
  """
@@ -16295,12 +15891,6 @@ type Mutation {
16295
15891
  isActive: Boolean!
16296
15892
  ): UserBulkSetActive
16297
15893
 
16298
- """Create new permission group."""
16299
- permissionGroupCreate(
16300
- """Input fields to create permission group."""
16301
- input: PermissionGroupCreateInput!
16302
- ): PermissionGroupCreate @deprecated(reason: "This will be removed on April 14, 2025")
16303
-
16304
15894
  """Update permission group."""
16305
15895
  permissionGroupUpdate(
16306
15896
  """ID of the group to update."""
@@ -16309,12 +15899,6 @@ type Mutation {
16309
15899
  """Input fields to create permission group."""
16310
15900
  input: PermissionGroupUpdateInput!
16311
15901
  ): PermissionGroupUpdate
16312
-
16313
- """Delete permission group."""
16314
- permissionGroupDelete(
16315
- """ID of the group to delete."""
16316
- id: ID!
16317
- ): PermissionGroupDelete @deprecated(reason: "This will be removed on April 14, 2025")
16318
15902
  }
16319
15903
 
16320
15904
  """EmailTemplate update mutation."""
@@ -16549,9 +16133,6 @@ input MarketplaceConfigurationInput {
16549
16133
  """True if seller products require approval"""
16550
16134
  requireProductApproval: Boolean
16551
16135
 
16552
- """True if products require product types to be created"""
16553
- requireProductTypes: Boolean @deprecated(reason: "This will be removed on April 15, 2025.")
16554
-
16555
16136
  """Updates status transformation strategy for payout."""
16556
16137
  payoutAutomationStrategy: MarketplaceConfigurationPayoutAutomationStrategyEnum = null
16557
16138
 
@@ -16701,6 +16282,14 @@ input PayoutCreateInput {
16701
16282
  endDate: Date!
16702
16283
  }
16703
16284
 
16285
+ """
16286
+ Creates a new payout asynchronously. The payout will be created in CREATING state and then transition to DRAFT once the vendor payouts are created.
16287
+ """
16288
+ type PayoutCreateAsync {
16289
+ payoutErrors: [PayoutError!]!
16290
+ payout: Payout
16291
+ }
16292
+
16704
16293
  """
16705
16294
  Update vendor payouts connected to the given payout with adjustments and penalties
16706
16295
  """
@@ -16763,6 +16352,22 @@ input PayoutDatesInput {
16763
16352
  endDate: Date!
16764
16353
  }
16765
16354
 
16355
+ """Process a payout asynchronously."""
16356
+ type PayoutProcess {
16357
+ payout: Payout
16358
+ payoutErrors: [PayoutError!]!
16359
+ }
16360
+
16361
+ input PayoutProcessInput {
16362
+ """ID of the payout to process."""
16363
+ id: ID!
16364
+
16365
+ """
16366
+ If true, the payout will be processed manually without using a gateway.
16367
+ """
16368
+ isManual: Boolean!
16369
+ }
16370
+
16766
16371
  """Archive payouts."""
16767
16372
  type PayoutBulkArchive {
16768
16373
  """Returns how many objects were affected."""
@@ -19497,10 +19102,12 @@ input ProductImageCreateInput {
19497
19102
  """Alt text for an image."""
19498
19103
  alt: String
19499
19104
 
19500
- """Represents an image file in a multipart request."""
19105
+ """
19106
+ Represents an image file in a multipart request. Either an image or a url must be provided.
19107
+ """
19501
19108
  image: Upload
19502
19109
 
19503
- """URL of image to upload"""
19110
+ """URL of image to upload. Either an image or a url must be provided."""
19504
19111
  url: String
19505
19112
 
19506
19113
  """ID of an product."""
@@ -19522,6 +19129,64 @@ input ProductImageCreateInput {
19522
19129
  externalSource: String
19523
19130
  }
19524
19131
 
19132
+ """
19133
+ Create one or more product images. For each image, if URL is present, image will be taken from provided URL. If any image has no URL provided, then this mutation must be sent as a `multipart` request. More detailed specs of the upload format can be found here: https://github.com/jaydenseric/graphql-multipart-request-spec
19134
+ """
19135
+ type ProductImageBulkCreate {
19136
+ product: Product
19137
+
19138
+ """List of the created images."""
19139
+ images: [ProductImage!]!
19140
+ bulkProductImageErrors: [BulkProductImageError!]!
19141
+ }
19142
+
19143
+ type BulkProductImageError {
19144
+ """
19145
+ Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field.
19146
+ """
19147
+ field: String
19148
+
19149
+ """The error message."""
19150
+ message: String!
19151
+
19152
+ """The error code."""
19153
+ code: ProductErrorCode!
19154
+
19155
+ """List of attributes IDs which causes the error."""
19156
+ attributes: [ID!]
19157
+
19158
+ """Index of an input list item that caused the error."""
19159
+ index: Int
19160
+ }
19161
+
19162
+ input ProductImageBulkCreateInput {
19163
+ """Alt text for an image."""
19164
+ alt: String
19165
+
19166
+ """
19167
+ Represents an image file in a multipart request. Either an image or a url must be provided.
19168
+ """
19169
+ image: Upload
19170
+
19171
+ """URL of image to upload. Either an image or a url must be provided."""
19172
+ url: String
19173
+
19174
+ """
19175
+ Only for use by Marketplace Operator, if true then the image ownership will transfer to the seller that owns the product it is being assigned to, if false or not provided then image ownership will not transfer.
19176
+ """
19177
+ transferImageOwnership: Boolean = false
19178
+
19179
+ """
19180
+ External ID of the product image if originating from outside the system.
19181
+ """
19182
+ externalId: String
19183
+
19184
+ """
19185
+ External source of the product image if originating from outside the system.
19186
+ """
19187
+ externalSource: String
19188
+ }
19189
+
19525
19190
  """
19526
19191
  Reorder the variants of a product. Mutation updates updated_at on product and triggers PRODUCT_UPDATED webhook.
19527
19192
  """
@@ -20613,78 +20278,6 @@ input NauticalDraftOrderCreateInput {
20613
20278
  transactionCurrency: String
20614
20279
  }
20615
20280
 
20616
- """Creates a new Nautical historical order."""
20617
- type NauticalHistoricalOrderCreate {
20618
- orderErrors: [OrderError!]!
20619
- nauticalOrder: NauticalOrder
20620
- }
20621
-
20622
- input NauticalHistoricalOrderInput {
20623
- """Billing address of the customer."""
20624
- billingAddress: AddressInput
20625
-
20626
- """Shipping address of the customer."""
20627
- shippingAddress: AddressInput
20628
-
20629
- """Customer associated with the draft order."""
20630
- user: ID
20631
-
20632
- """Email address of the customer."""
20633
- userEmail: String
20634
-
20635
- """Discount amount for the order."""
20636
- discount: PositiveDecimal
20637
-
20638
- """Shipping price without taxes."""
20639
- shippingPriceNetAmount: PositiveDecimal
20640
-
20641
- """Shipping price with taxes."""
20642
- shippingPriceGrossAmount: PositiveDecimal
20643
-
20644
- """Total price without taxes."""
20645
- totalNetAmount: PositiveDecimal
20646
-
20647
- """Total price with taxes."""
20648
- totalGrossAmount: PositiveDecimal
20649
-
20650
- """Currency code."""
20651
- currency: String
20652
-
20653
- """A note from a customer. Visible by customers in the order summary."""
20654
- customerNote: String
20655
-
20656
- """Variant line input consisting of variant ID and quantity of products."""
20657
- lines: [HistoricalOrderLineInput!]
20658
- seller: ID
20659
-
20660
- """Created date time of historical order in ISO 8601 format."""
20661
- created: DateTime
20662
-
20663
- """Order ID in the external source."""
20664
- externalId: String
20665
- externalInventoryId: String
20666
-
20667
- """External source name."""
20668
- externalSource: String
20669
- }
20670
-
20671
- input HistoricalOrderLineInput {
20672
- """Number of variant items ordered."""
20673
- quantity: Int!
20674
-
20675
- """Product variant ID."""
20676
- variantId: ID!
20677
-
20678
- """Total price without taxes."""
20679
- unitPriceNetAmount: PositiveDecimal
20680
-
20681
- """Total price with taxes."""
20682
- unitPriceGrossAmount: PositiveDecimal
20683
-
20684
- """Order ID in the external source."""
20685
- externalId: String
20686
- }
20687
-
20688
20281
  """Deletes a draft order."""
20689
20282
  type DraftOrderDelete {
20690
20283
  orderErrors: [OrderError!]!
@@ -21273,17 +20866,6 @@ input NauticalOrderUpdateInput {
21273
20866
  poNumbers: [String!]
21274
20867
  }
21275
20868
 
21276
- """Modifies the payout status of an order"""
21277
- type OrderPayoutStatusUpdate {
21278
- """Order that was updated."""
21279
- order: Order
21280
- orderErrors: [OrderError!]!
21281
- }
21282
-
21283
- input OrderPayoutStatusUpdateInput {
21284
- payoutStatus: OrderPayoutStatusEnum!
21285
- }
21286
-
21287
20869
  """Updates a shipping method of the order."""
21288
20870
  type OrderUpdateShipping {
21289
20871
  """Order with updated shipping method."""
@@ -23732,8 +23314,8 @@ type UserBulkSetActive {
23732
23314
  accountErrors: [AccountError!]!
23733
23315
  }
23734
23316
 
23735
- """Create new permission group."""
23736
- type PermissionGroupCreate {
23317
+ """Update permission group."""
23318
+ type PermissionGroupUpdate {
23737
23319
  permissionGroupErrors: [PermissionGroupError!]!
23738
23320
  group: Group
23739
23321
  }
@@ -23769,46 +23351,17 @@ enum PermissionGroupErrorCode {
23769
23351
  UNIQUE
23770
23352
  }
23771
23353
 
23772
- input PermissionGroupCreateInput {
23773
- """List of permission code names to assign to this group."""
23774
- addPermissions: [PermissionEnum!] @deprecated(reason: "This will be removed on April 14, 2025")
23775
-
23776
- """List of users to assign to this group."""
23777
- addUsers: [ID!]
23778
-
23779
- """Group name."""
23780
- name: String!
23781
- }
23782
-
23783
- """Update permission group."""
23784
- type PermissionGroupUpdate {
23785
- permissionGroupErrors: [PermissionGroupError!]!
23786
- group: Group
23787
- }
23788
-
23789
23354
  input PermissionGroupUpdateInput {
23790
- """List of permission code names to assign to this group."""
23791
- addPermissions: [PermissionEnum!] @deprecated(reason: "This will be removed on April 14, 2025")
23792
-
23793
23355
  """List of users to assign to this group."""
23794
23356
  addUsers: [ID!]
23795
23357
 
23796
23358
  """Group name."""
23797
23359
  name: String
23798
23360
 
23799
- """List of permission code names to unassign from this group."""
23800
- removePermissions: [PermissionEnum!] @deprecated(reason: "This will be removed on April 14, 2025")
23801
-
23802
23361
  """List of users to unassign from this group."""
23803
23362
  removeUsers: [ID!]
23804
23363
  }
23805
23364
 
23806
- """Delete permission group."""
23807
- type PermissionGroupDelete {
23808
- permissionGroupErrors: [PermissionGroupError!]!
23809
- group: Group
23810
- }
23811
-
23812
23365
  """
23813
23366
  A string-serialized scalar represents a set of fields that's passed to a federated directive, such as @key, @requires, or @provides
23814
23367
  """
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nautical-commerce/graphql-schema",
3
- "version": "v1.78.0-4-g9b1507684",
3
+ "version": "v1.78.0-41-g26792ec44",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {