@nautical-commerce/graphql-schema 1.78.0-3-gb9459cf63 → 1.78.0-31-gcf76bf1d7

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
@@ -3325,7 +3244,6 @@ type Seller implements Node & ObjectWithMetadata {
3325
3244
  if no order has been created
3326
3245
  """
3327
3246
  firstOrderPlacedDate: DateTime
3328
- fullfilledByMarketplace: Boolean!
3329
3247
  created: DateTime!
3330
3248
  updated: DateTime!
3331
3249
  accountSetupTasksAreDone: Boolean
@@ -3696,7 +3614,9 @@ type Payout implements Node & ObjectWithMetadata {
3696
3614
  updated: DateTime!
3697
3615
  startDate: Date
3698
3616
  endDate: String!
3699
- status: PayoutStatus!
3617
+
3618
+ """Status of the payout"""
3619
+ status: PayoutStatusEnum!
3700
3620
  name: String
3701
3621
  currency: String!
3702
3622
  vendorPayouts(offset: Int, before: String, after: String, first: Int, last: Int): VendorPayoutCountableConnection!
@@ -3711,8 +3631,7 @@ type Payout implements Node & ObjectWithMetadata {
3711
3631
  payout: Money!
3712
3632
  }
3713
3633
 
3714
- """An enumeration."""
3715
- enum PayoutStatus {
3634
+ enum PayoutStatusEnum {
3716
3635
  """Draft"""
3717
3636
  DRAFT
3718
3637
 
@@ -3727,6 +3646,12 @@ enum PayoutStatus {
3727
3646
 
3728
3647
  """Error"""
3729
3648
  ERROR
3649
+
3650
+ """Creating"""
3651
+ CREATING
3652
+
3653
+ """Processing"""
3654
+ PROCESSING
3730
3655
  }
3731
3656
 
3732
3657
  """An enumeration."""
@@ -3778,7 +3703,7 @@ enum VendorPayoutEventsEnum {
3778
3703
  """Vendor payout status was updated."""
3779
3704
  VENDOR_PAYOUT_STATUS_UPDATED
3780
3705
 
3781
- """A note was added to the vendor payout"""
3706
+ """A note was added to the vendor payout."""
3782
3707
  NOTE_ADDED
3783
3708
 
3784
3709
  """The vendor payout email was sent."""
@@ -7098,9 +7023,6 @@ enum OrderPayoutStatusEnum {
7098
7023
  """Ready for payout"""
7099
7024
  READY_FOR_PAYOUT
7100
7025
 
7101
- """Pending final payout"""
7102
- PENDING_FINAL_PAYOUT @deprecated(reason: "This will be removed on February 26, 2025")
7103
-
7104
7026
  """Paid out"""
7105
7027
  PAID_OUT
7106
7028
 
@@ -7140,23 +7062,6 @@ type OrderPayoutSummary {
7140
7062
  vendorPayout: VendorPayout!
7141
7063
  }
7142
7064
 
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
7065
  type AgreementSellersCountableConnection {
7161
7066
  """Pagination data for this connection."""
7162
7067
  pageInfo: PageInfo!
@@ -8621,11 +8526,6 @@ type Shop {
8621
8526
  """Gets active plugins."""
8622
8527
  activePlugins: [Plugin!]!
8623
8528
 
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
8529
  """Storefront integrations for the given contexts"""
8630
8530
  storefrontUiIntegrations(
8631
8531
  """
@@ -9027,23 +8927,6 @@ type AgreementCountableEdge {
9027
8927
  cursor: String!
9028
8928
  }
9029
8929
 
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
8930
  type RefundCountableConnection {
9048
8931
  """Pagination data for this connection."""
9049
8932
  pageInfo: PageInfo!
@@ -9333,6 +9216,11 @@ enum ProductTypeSortField {
9333
9216
  EXTERNAL_SOURCE
9334
9217
  }
9335
9218
 
9219
+ enum ReportingPeriod {
9220
+ TODAY
9221
+ THIS_MONTH
9222
+ }
9223
+
9336
9224
  type PriceBookCountableConnection {
9337
9225
  """Pagination data for this connection."""
9338
9226
  pageInfo: PageInfo!
@@ -10940,9 +10828,6 @@ type MarketplaceConfiguration {
10940
10828
  marketplaceName: String!
10941
10829
  requireProductApproval: Boolean!
10942
10830
 
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
10831
  """Determines payout status transformation strategy"""
10947
10832
  payoutAutomationStrategy: MarketplaceConfigurationPayoutAutomationStrategyEnum
10948
10833
 
@@ -11864,318 +11749,47 @@ enum NotifyEventTypeEnum {
11864
11749
  SELLER_STATUS_PAUSED
11865
11750
 
11866
11751
  """Seller Agreement Accepted"""
11867
- SELLER_AGREEMENT_ACCEPTED
11868
-
11869
- """Seller Agreement Not Accepted"""
11870
- SELLER_AGREEMENT_NOT_ACCEPTED
11871
-
11872
- """Import Catalog Failed"""
11873
- IMPORT_CATALOG_FAILED
11874
-
11875
- """Import Catalog Success"""
11876
- IMPORT_CATALOG_SUCCESS
11877
-
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
- }
11752
+ SELLER_AGREEMENT_ACCEPTED
12128
11753
 
12129
- type InReportMarketplaceTaxesByCountryType {
12130
- """Category of the metric."""
12131
- category: String!
11754
+ """Seller Agreement Not Accepted"""
11755
+ SELLER_AGREEMENT_NOT_ACCEPTED
12132
11756
 
12133
- """Title of the metric."""
12134
- title: String!
11757
+ """Import Catalog Failed"""
11758
+ IMPORT_CATALOG_FAILED
12135
11759
 
12136
- """
12137
- Description of main columns in report and summary. Note: report and summary can contain additional columns.
12138
- """
12139
- columns: [ColumnObjectType!]
11760
+ """Import Catalog Success"""
11761
+ IMPORT_CATALOG_SUCCESS
12140
11762
 
12141
- """Info about applied filters."""
12142
- filters: [FilterObjectType!]
11763
+ """Account Activate Request"""
11764
+ ACCOUNT_ACTIVATE_REQUEST
12143
11765
 
12144
- """Total summary for selected period."""
12145
- summary: AbstractOrderSellerReportType!
11766
+ """Account Activated"""
11767
+ ACCOUNT_ACTIVATED
12146
11768
 
12147
- """
12148
- Report where each row represent aggregated, by selected (in filters) dimension, summary.
12149
- """
12150
- report: [MarketplaceTaxReportByLocaleType!]
11769
+ """Account Deactivated"""
11770
+ ACCOUNT_DEACTIVATED
11771
+
11772
+ """Pending Order"""
11773
+ PENDING_ORDER
11774
+
11775
+ """Pending Customer"""
11776
+ PENDING_CUSTOMER
11777
+
11778
+ """Quote Requested"""
11779
+ QUOTE_REQUESTED
12151
11780
  }
12152
11781
 
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
11782
+ input EmailEventSortingInput {
11783
+ """Specifies the direction in which to sort products."""
11784
+ direction: OrderDirection!
11785
+
11786
+ """Sort email_logs by the selected field."""
11787
+ field: EmailEventSortField!
12172
11788
  }
12173
11789
 
12174
- type CountryState {
12175
- area: String
12176
- areaName: String
12177
- country: String
12178
- countryName: String
11790
+ enum EmailEventSortField {
11791
+ """Sort return email_logs by date."""
11792
+ DATE
12179
11793
  }
12180
11794
 
12181
11795
  type InReportTopPerformingProductsType {
@@ -12284,46 +11898,6 @@ type ProductCategoryReportType {
12284
11898
  category: Category
12285
11899
  }
12286
11900
 
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
11901
  type DashboardOrdersSummaryType {
12328
11902
  filters: [FilterObjectType!]
12329
11903
  current: AbstractOrderSellerReportType
@@ -12336,6 +11910,20 @@ type DashboardOrdersSummaryType {
12336
11910
  pendingPayouts: Int
12337
11911
  }
12338
11912
 
11913
+ type AbstractOrderSellerReportType {
11914
+ gross: Float
11915
+ orders: Int
11916
+ net: Float
11917
+ shipping: Float
11918
+ average: Float
11919
+ taxes: Float
11920
+ discounts: Float
11921
+ revenue: Float
11922
+ totals: Int
11923
+ commission: Float
11924
+ payout: Float
11925
+ }
11926
+
12339
11927
  type OrderSummaryDeltaDataType {
12340
11928
  percent: AbstractPercentReportType
12341
11929
  values: AbstractOrderSellerReportType
@@ -13161,7 +12749,7 @@ type Mutation {
13161
12749
  description: String
13162
12750
 
13163
12751
  """
13164
- 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-csv, image/x-bmp, application/x-rtf, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, image/bmp, application/zip, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/x-gzip, text/x-comma-separated-values, application/x-pdf, image/x-tiff, application/vnd.pdf, application/x-jpg, image/webp, application/tif, image/x-dwg, application/postscript, application/x-acad, application/pdf, image/heic-sequence, application/excel, drawing/dwg, application/vnd.ms-excel, image/eps, text/x-csv, application/x-dwg, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/jpg, application/x-rar-compressed, application/vnd.oasis.opendocument.text, image/tif, application/dxf, image/heic, application/svg+xml, application/vnd.openxmlformats-officedocument.wordprocessingml.document, image/png, application/gzipped, application/x-zip-compressed, image/vnd.dwg, image/heif-sequence, text/svg-xml, application/tiff, drawing/x-dwf, text/svg, application/dwg, application/x-tar, application/x-autocad, text/pdf, pplication/vnd.rar, application/gzip, application/vnd.ms-powerpoint, text/x-pdf, text/rtf, image/x-eps, application/msword, application/vnd.oasis.opendocument.spreadsheet, drawing/x-dwg, image/x-dxf, image/svg, application/gzip-compressed, image/tiff, application/x-dxf, image/x-tif, text/csv, application/x-rar, application/x-tiff, application/csv, text/plain, text/comma-separated-values, application/acrobat, image/dxf, image/jpg, application/vnd.ms-word, image/gif, application/x-tif, application/vnd.oasis.opendocument.presentation, application/rtf, application/x-eps, application/acad, application/eps, image/x-ms-bmp, image/svg+xml, image/jpeg, image/heif.
12752
+ 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, drawing/dwg, application/x-rar, image/jpeg, application/tif, image/x-tif, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/csv, application/svg+xml, application/x-tiff, application/acrobat, application/x-acad, application/x-dwg, text/svg-xml, image/x-tiff, application/zip, image/heif-sequence, application/x-pdf, image/png, application/gzip, application/postscript, text/rtf, application/gzip-compressed, application/x-rar-compressed, application/x-jpg, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/vnd.pdf, text/pdf, image/webp, pplication/vnd.rar, application/vnd.ms-excel, drawing/x-dwg, drawing/x-dwf, image/svg, image/vnd.dwg, application/vnd.oasis.opendocument.text, image/x-dwg, application/x-autocad, application/vnd.oasis.opendocument.presentation, application/dwg, application/x-tar, application/x-eps, image/x-bmp, image/heif, text/svg, image/bmp, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/vnd.ms-powerpoint, image/x-ms-bmp, application/tiff, application/x-csv, application/jpg, application/pdf, image/heic-sequence, application/dxf, image/dxf, text/comma-separated-values, application/msword, application/acad, image/eps, application/gzipped, application/excel, application/eps, image/tiff, application/x-dxf, text/x-csv, application/x-zip-compressed, application/x-tif, image/x-eps, application/x-rtf, application/vnd.oasis.opendocument.spreadsheet, application/vnd.ms-word, text/plain, image/jpg, image/heic, application/x-gzip, image/tif, text/csv, text/x-comma-separated-values, image/x-dxf, image/svg+xml, text/x-pdf, application/rtf.
13165
12753
  """
13166
12754
  file: Upload!
13167
12755
 
@@ -13226,6 +12814,14 @@ type Mutation {
13226
12814
  input: PayoutCreateInput!
13227
12815
  ): PayoutCreate
13228
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
+
13229
12825
  """
13230
12826
  Update vendor payouts connected to the given payout with adjustments and penalties
13231
12827
  """
@@ -14305,6 +13901,17 @@ type Mutation {
14305
13901
  input: ProductImageCreateInput!
14306
13902
  ): ProductImageCreate
14307
13903
 
13904
+ """
13905
+ 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
13906
+ """
13907
+ productImageBulkCreate(
13908
+ """Fields required to create one or more product images"""
13909
+ input: [ProductImageBulkCreateInput!]!
13910
+
13911
+ """ID of a product."""
13912
+ product: ID!
13913
+ ): ProductImageBulkCreate
13914
+
14308
13915
  """
14309
13916
  Reorder the variants of a product. Mutation updates updated_at on product and triggers PRODUCT_UPDATED webhook.
14310
13917
  """
@@ -14689,12 +14296,6 @@ type Mutation {
14689
14296
  input: NauticalDraftOrderCreateInput!
14690
14297
  ): NauticalDraftOrderCreate
14691
14298
 
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
14299
  """Deletes a draft order."""
14699
14300
  draftOrderDelete(
14700
14301
  """ID of a draft or quote order to delete."""
@@ -15040,13 +14641,6 @@ type Mutation {
15040
14641
  input: NauticalOrderUpdateInput!
15041
14642
  ): NauticalOrderUpdate
15042
14643
 
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
14644
  """Updates a shipping method of the order."""
15051
14645
  orderUpdateShipping(
15052
14646
  """ID of the order to update a shipping method."""
@@ -15114,22 +14708,18 @@ type Mutation {
15114
14708
 
15115
14709
  """Sends a quote order to a customer."""
15116
14710
  nauticalQuoteOrderSendToCustomer(
15117
- """
15118
- ID of the order (nautical or seller order, with Quote status) to send to the customer.
15119
- """
14711
+ """ID of the nautical order (with Quote status) to send to the customer."""
15120
14712
  id: ID!
15121
14713
 
15122
14714
  """
15123
14715
  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
14716
  """
15125
14717
  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.")
14718
+ ): NauticalQuoteOrderSendToCustomer @deprecated(reason: "This will be removed on June 11, 2025.")
15127
14719
 
15128
14720
  """Sends a quote order to a customer."""
15129
14721
  nauticalDraftOrderSendToCustomer(
15130
- """
15131
- ID of the order (nautical or seller order, with Quote status) to send to the customer.
15132
- """
14722
+ """ID of the nautical order (with Quote status) to send to the customer."""
15133
14723
  id: ID!
15134
14724
 
15135
14725
  """
@@ -16295,12 +15885,6 @@ type Mutation {
16295
15885
  isActive: Boolean!
16296
15886
  ): UserBulkSetActive
16297
15887
 
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
15888
  """Update permission group."""
16305
15889
  permissionGroupUpdate(
16306
15890
  """ID of the group to update."""
@@ -16309,12 +15893,6 @@ type Mutation {
16309
15893
  """Input fields to create permission group."""
16310
15894
  input: PermissionGroupUpdateInput!
16311
15895
  ): 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
15896
  }
16319
15897
 
16320
15898
  """EmailTemplate update mutation."""
@@ -16549,9 +16127,6 @@ input MarketplaceConfigurationInput {
16549
16127
  """True if seller products require approval"""
16550
16128
  requireProductApproval: Boolean
16551
16129
 
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
16130
  """Updates status transformation strategy for payout."""
16556
16131
  payoutAutomationStrategy: MarketplaceConfigurationPayoutAutomationStrategyEnum = null
16557
16132
 
@@ -16701,6 +16276,14 @@ input PayoutCreateInput {
16701
16276
  endDate: Date!
16702
16277
  }
16703
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
+
16704
16287
  """
16705
16288
  Update vendor payouts connected to the given payout with adjustments and penalties
16706
16289
  """
@@ -19497,10 +19080,12 @@ input ProductImageCreateInput {
19497
19080
  """Alt text for an image."""
19498
19081
  alt: String
19499
19082
 
19500
- """Represents an image file in a multipart request."""
19083
+ """
19084
+ Represents an image file in a multipart request. Either an image or a url must be provided.
19085
+ """
19501
19086
  image: Upload
19502
19087
 
19503
- """URL of image to upload"""
19088
+ """URL of image to upload. Either an image or a url must be provided."""
19504
19089
  url: String
19505
19090
 
19506
19091
  """ID of an product."""
@@ -19522,6 +19107,64 @@ input ProductImageCreateInput {
19522
19107
  externalSource: String
19523
19108
  }
19524
19109
 
19110
+ """
19111
+ 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
19112
+ """
19113
+ type ProductImageBulkCreate {
19114
+ product: Product
19115
+
19116
+ """List of the created images."""
19117
+ images: [ProductImage!]!
19118
+ bulkProductImageErrors: [BulkProductImageError!]!
19119
+ }
19120
+
19121
+ type BulkProductImageError {
19122
+ """
19123
+ Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field.
19124
+ """
19125
+ field: String
19126
+
19127
+ """The error message."""
19128
+ message: String!
19129
+
19130
+ """The error code."""
19131
+ code: ProductErrorCode!
19132
+
19133
+ """List of attributes IDs which causes the error."""
19134
+ attributes: [ID!]
19135
+
19136
+ """Index of an input list item that caused the error."""
19137
+ index: Int
19138
+ }
19139
+
19140
+ input ProductImageBulkCreateInput {
19141
+ """Alt text for an image."""
19142
+ alt: String
19143
+
19144
+ """
19145
+ Represents an image file in a multipart request. Either an image or a url must be provided.
19146
+ """
19147
+ image: Upload
19148
+
19149
+ """URL of image to upload. Either an image or a url must be provided."""
19150
+ url: String
19151
+
19152
+ """
19153
+ 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.
19154
+ """
19155
+ transferImageOwnership: Boolean = false
19156
+
19157
+ """
19158
+ External ID of the product image if originating from outside the system.
19159
+ """
19160
+ externalId: String
19161
+
19162
+ """
19163
+ External source of the product image if originating from outside the system.
19164
+ """
19165
+ externalSource: String
19166
+ }
19167
+
19525
19168
  """
19526
19169
  Reorder the variants of a product. Mutation updates updated_at on product and triggers PRODUCT_UPDATED webhook.
19527
19170
  """
@@ -20613,78 +20256,6 @@ input NauticalDraftOrderCreateInput {
20613
20256
  transactionCurrency: String
20614
20257
  }
20615
20258
 
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
20259
  """Deletes a draft order."""
20689
20260
  type DraftOrderDelete {
20690
20261
  orderErrors: [OrderError!]!
@@ -21273,17 +20844,6 @@ input NauticalOrderUpdateInput {
21273
20844
  poNumbers: [String!]
21274
20845
  }
21275
20846
 
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
20847
  """Updates a shipping method of the order."""
21288
20848
  type OrderUpdateShipping {
21289
20849
  """Order with updated shipping method."""
@@ -23732,8 +23292,8 @@ type UserBulkSetActive {
23732
23292
  accountErrors: [AccountError!]!
23733
23293
  }
23734
23294
 
23735
- """Create new permission group."""
23736
- type PermissionGroupCreate {
23295
+ """Update permission group."""
23296
+ type PermissionGroupUpdate {
23737
23297
  permissionGroupErrors: [PermissionGroupError!]!
23738
23298
  group: Group
23739
23299
  }
@@ -23769,46 +23329,17 @@ enum PermissionGroupErrorCode {
23769
23329
  UNIQUE
23770
23330
  }
23771
23331
 
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
23332
  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
23333
  """List of users to assign to this group."""
23794
23334
  addUsers: [ID!]
23795
23335
 
23796
23336
  """Group name."""
23797
23337
  name: String
23798
23338
 
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
23339
  """List of users to unassign from this group."""
23803
23340
  removeUsers: [ID!]
23804
23341
  }
23805
23342
 
23806
- """Delete permission group."""
23807
- type PermissionGroupDelete {
23808
- permissionGroupErrors: [PermissionGroupError!]!
23809
- group: Group
23810
- }
23811
-
23812
23343
  """
23813
23344
  A string-serialized scalar represents a set of fields that's passed to a federated directive, such as @key, @requires, or @provides
23814
23345
  """
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nautical-commerce/graphql-schema",
3
- "version": "v1.78.0-3-gb9459cf63",
3
+ "version": "v1.78.0-31-gcf76bf1d7",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {