@nautical-commerce/graphql-schema 1.62.1 → 1.63.0

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.
@@ -1566,18 +1566,6 @@ type Query {
1566
1566
  """Return the last n elements from the list."""
1567
1567
  last: Int
1568
1568
  ): EmailEventCountableConnection
1569
-
1570
- """Search Locations"""
1571
- locationSearch(
1572
- """Location search query"""
1573
- searchData: String!
1574
- ): [LocationSuggestion!] @deprecated(reason: "Locations will be removed on November 28, 2024.")
1575
-
1576
- """Geocode locations"""
1577
- locationGeocode(
1578
- """Location geocode query, required=True"""
1579
- locationData: String
1580
- ): [Coordinates!] @deprecated(reason: "Locations will be removed on November 28, 2024.")
1581
1569
  insightsOrdersCustomerSummary(
1582
1570
  """Beginning of the period to filter results"""
1583
1571
  startDate: Date!
@@ -1961,7 +1949,7 @@ type Query {
1961
1949
  ): CustomFieldTemplate
1962
1950
 
1963
1951
  """List of all apps installations"""
1964
- appsInstallations: [AppInstallation!]!
1952
+ appsInstallations: [AppInstallation!]! @deprecated(reason: "This will be removed on March 2nd, 2025")
1965
1953
 
1966
1954
  """List of the apps."""
1967
1955
  apps(
@@ -3127,18 +3115,6 @@ type Product implements Node & ObjectWithMetadata {
3127
3115
  isPublished: Boolean!
3128
3116
  features: [ProductFeature!] @deprecated(reason: "Features will be removed on January 2, 2025.")
3129
3117
 
3130
- """List of all product's locations."""
3131
- locations: [Location!] @deprecated(reason: "Locations will be removed on November 28, 2024.")
3132
-
3133
- """Products origin location."""
3134
- originLocation: Location @deprecated(reason: "Locations will be removed on November 28, 2024.")
3135
-
3136
- """Products destination location."""
3137
- destinationLocation: Location @deprecated(reason: "Locations will be removed on November 28, 2024.")
3138
-
3139
- """Products primary location."""
3140
- primaryLocation: Location @deprecated(reason: "Locations will be removed on November 28, 2024.")
3141
-
3142
3118
  """
3143
3119
  Product stock stats combining all variants in all warehouses. Requires MANAGE_PRODUCTS permission.
3144
3120
  """
@@ -3563,7 +3539,7 @@ type VendorPayout implements Node & ObjectWithMetadata {
3563
3539
  updated: DateTime!
3564
3540
  gateway: String!
3565
3541
  payout: Payout!
3566
- seller: Seller
3542
+ seller: Seller!
3567
3543
  currency: String!
3568
3544
  average: Decimal!
3569
3545
  discounts: Decimal!
@@ -3874,6 +3850,9 @@ type Order implements Node & ObjectWithMetadata {
3874
3850
 
3875
3851
  """All vendor payouts that contain this order"""
3876
3852
  vendorPayouts: [VendorPayout!]
3853
+
3854
+ """Voucher discount for the order"""
3855
+ voucherDiscount: Money
3877
3856
  }
3878
3857
 
3879
3858
  """An enumeration."""
@@ -4176,7 +4155,6 @@ input ProductFilterInput {
4176
4155
  createdAt: DateTimeRangeInput
4177
4156
  updatedAt: DateTimeRangeInput
4178
4157
  publicationDate: DateRangeInput
4179
- inCircle: [RadiusSearchInput!]
4180
4158
  productTypes: [ID]
4181
4159
  advancedSearch: ProductSearchInput
4182
4160
  ids: [ID]
@@ -4297,39 +4275,6 @@ input DateTimeRangeInput {
4297
4275
  lte: DateTime
4298
4276
  }
4299
4277
 
4300
- input RadiusSearchInput {
4301
- """Location type to filter by"""
4302
- locationType: LocationTypeEnum!
4303
-
4304
- """Longitude of the center point"""
4305
- lon: Float
4306
-
4307
- """Latitude of the center point"""
4308
- lat: Float
4309
-
4310
- """Radius to search within"""
4311
- radius: Int!
4312
-
4313
- """Distance unit for radius (KM or MI)"""
4314
- unit: DistanceUnit!
4315
- }
4316
-
4317
- enum LocationTypeEnum {
4318
- """Primary"""
4319
- PRIMARY
4320
-
4321
- """Origin"""
4322
- ORIGIN
4323
-
4324
- """Destination"""
4325
- DESTINATION
4326
- }
4327
-
4328
- enum DistanceUnit {
4329
- KM
4330
- MI
4331
- }
4332
-
4333
4278
  input ProductSearchInput {
4334
4279
  """Search term."""
4335
4280
  searchTerm: String!
@@ -7392,46 +7337,6 @@ type ProductImageCountableEdge {
7392
7337
  cursor: String!
7393
7338
  }
7394
7339
 
7395
- """Represents location data."""
7396
- type Location implements Node {
7397
- """The ID of the object"""
7398
- id: ID!
7399
- lon: Float
7400
- lat: Float
7401
-
7402
- """
7403
- Type of the location for tagging primary, origin or destination type location.
7404
- """
7405
- locationType: LocationTypeEnum
7406
-
7407
- """
7408
- Kind of the location for tagging business, residential or auction kind location.
7409
- """
7410
- locationKind: LocationKindEnum
7411
- companyName: String!
7412
- streetAddress1: String!
7413
- streetAddress2: String!
7414
- city: String!
7415
- cityArea: String!
7416
- postalCode: String!
7417
-
7418
- """Shop's default country."""
7419
- country: CountryDisplay!
7420
- countryArea: String!
7421
- phone: String
7422
- }
7423
-
7424
- enum LocationKindEnum {
7425
- """Business"""
7426
- BUSINESS
7427
-
7428
- """Residential"""
7429
- RESIDENTIAL
7430
-
7431
- """Auction"""
7432
- AUCTION
7433
- }
7434
-
7435
7340
  """Product stock stats for a specific warehouse including all variants"""
7436
7341
  type WarehouseStats {
7437
7342
  """Warehouse ID"""
@@ -8764,7 +8669,6 @@ type Shop {
8764
8669
  None if shop does not use Crisp, otherwise this contains Crisp Website ID.
8765
8670
  """
8766
8671
  crispWebsiteId: String
8767
- geolocationEnabled: Boolean @deprecated(reason: "Locations will be removed on November 28, 2024.")
8768
8672
 
8769
8673
  """Determines whether seller products require approval"""
8770
8674
  requireProductApproval: Boolean
@@ -8901,9 +8805,6 @@ enum PluginConfigurationCategory {
8901
8805
  """Marketing"""
8902
8806
  MARKETING
8903
8807
 
8904
- """Locations"""
8905
- LOCATIONS
8906
-
8907
8808
  """Payments"""
8908
8809
  PAYMENTS
8909
8810
  }
@@ -11984,27 +11885,6 @@ enum EmailEventSortField {
11984
11885
  DATE
11985
11886
  }
11986
11887
 
11987
- """
11988
- Response when searching for a location using the location_search endpoint
11989
- """
11990
- type LocationSuggestion {
11991
- """label to give autocomplete suggestions when searching for locations"""
11992
- label: String!
11993
-
11994
- """Address suggested for the provided location"""
11995
- address: Address
11996
- }
11997
-
11998
- """
11999
- Latitude and longitude coordinates as returned from the geocode endpoint.
12000
- """
12001
- type Coordinates {
12002
- """label given to the response specified as part of the search string"""
12003
- label: String
12004
- latitude: Decimal
12005
- longitude: Decimal
12006
- }
12007
-
12008
11888
  type InReportOrderCustomerSummaryType {
12009
11889
  """Category of the metric."""
12010
11890
  category: String!
@@ -13250,7 +13130,7 @@ enum StaffMemberStatus {
13250
13130
  DEACTIVATED
13251
13131
  }
13252
13132
 
13253
- union _Entity = WishlistItem | Wishlist | User | Address | ProductVariant | Product | Category | ProductType | App | Collection | Microsite | ProductImage | Location | ProductStatusLog | Group | CatalogImportProcess | CatalogImportProcessLogRecord
13133
+ union _Entity = WishlistItem | Wishlist | User | Address | ProductVariant | Product | Category | ProductType | App | Collection | Microsite | ProductImage | ProductStatusLog | Group | CatalogImportProcess | CatalogImportProcessLogRecord
13254
13134
 
13255
13135
  scalar _Any
13256
13136
 
@@ -13284,7 +13164,7 @@ type Mutation {
13284
13164
  description: String
13285
13165
 
13286
13166
  """
13287
- 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/svg+xml, image/heif, application/gzip-compressed, image/tiff, drawing/x-dwg, application/x-tiff, application/x-dxf, application/vnd.oasis.opendocument.text, pplication/vnd.rar, drawing/dwg, image/heic-sequence, image/eps, application/tif, application/x-rar, application/vnd.oasis.opendocument.spreadsheet, image/gif, application/x-dwg, text/svg-xml, text/x-comma-separated-values, application/svg+xml, application/acrobat, application/x-eps, image/x-ms-bmp, application/dwg, image/x-dxf, application/jpg, image/x-dwg, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/dxf, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/postscript, application/msword, text/comma-separated-values, application/vnd.ms-powerpoint, application/x-gzip, image/vnd.dwg, application/x-pdf, application/x-acad, drawing/x-dwf, application/csv, application/vnd.ms-word, application/rtf, application/excel, text/x-csv, image/x-tiff, image/tif, application/vnd.oasis.opendocument.presentation, application/x-tif, application/acad, application/x-rtf, image/jpeg, application/eps, image/webp, application/vnd.openxmlformats-officedocument.presentationml.presentation, image/x-tif, image/bmp, image/x-bmp, text/x-pdf, text/csv, text/pdf, image/heif-sequence, image/png, application/gzipped, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/gzip, application/vnd.ms-excel, text/rtf, application/pdf, application/x-autocad, application/x-rar-compressed, image/x-eps, application/x-tar, image/dxf, application/tiff, application/x-zip-compressed, image/svg, image/jpg, text/svg, application/x-jpg, text/plain, application/zip, image/heic, application/vnd.pdf.
13167
+ 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.openxmlformats-officedocument.presentationml.presentation, application/msword, drawing/x-dwg, application/vnd.oasis.opendocument.text, text/x-csv, application/x-rtf, text/svg-xml, image/x-eps, application/acrobat, image/x-dxf, application/vnd.oasis.opendocument.spreadsheet, application/jpg, application/x-zip-compressed, application/zip, image/jpeg, pplication/vnd.rar, application/vnd.ms-powerpoint, application/vnd.oasis.opendocument.presentation, application/vnd.openxmlformats-officedocument.wordprocessingml.document, text/x-comma-separated-values, application/dxf, application/x-csv, application/csv, drawing/x-dwf, application/tif, text/pdf, image/tiff, image/heif, image/eps, application/tiff, application/vnd.pdf, application/postscript, image/x-bmp, image/dxf, text/comma-separated-values, application/x-autocad, application/x-dwg, application/x-rar-compressed, application/x-pdf, application/gzipped, application/gzip, image/vnd.dwg, application/eps, drawing/dwg, application/vnd.ms-excel, application/x-dxf, image/svg, application/dwg, image/heic, image/webp, application/excel, image/bmp, image/png, application/x-tif, application/gzip-compressed, text/x-pdf, image/x-dwg, image/svg+xml, text/plain, image/tif, application/x-eps, application/x-tar, application/x-tiff, image/x-tif, application/x-jpg, application/vnd.ms-word, image/gif, application/x-gzip, application/rtf, text/csv, text/svg, image/heif-sequence, image/jpg, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/pdf, application/vnd.openxmlformats-officedocument.presentationml.slideshow, text/rtf, image/x-tiff, image/x-ms-bmp, image/heic-sequence, application/x-rar, application/x-acad, application/acad, application/svg+xml.
13288
13168
  """
13289
13169
  file: Upload!
13290
13170
 
@@ -13954,29 +13834,9 @@ type Mutation {
13954
13834
  ids: [ID!]!
13955
13835
  ): MediaBulkDelete
13956
13836
 
13957
- """Updates site domain of the shop."""
13958
- shopDomainUpdate(
13959
- """Fields required to update site."""
13960
- input: SiteDomainInput
13961
- ): ShopDomainUpdate @deprecated(reason: "This will be removed on November 28, 2024.")
13962
-
13963
- """Updates shop settings."""
13964
- shopSettingsUpdate(
13965
- """Fields required to update shop settings."""
13966
- input: ShopSettingsInput!
13967
- ): ShopSettingsUpdate @deprecated(reason: "This will be removed on November 28, 2024. Use marketplaceConfigurationUpdate instead.")
13968
-
13969
13837
  """Fetch tax rates."""
13970
13838
  shopFetchTaxRates: ShopFetchTaxRates
13971
13839
 
13972
- """
13973
- Update the shop's address. If the `null` value is passed, the currently selected address will be deleted.
13974
- """
13975
- shopAddressUpdate(
13976
- """Fields required to update shop address."""
13977
- input: AddressInput
13978
- ): ShopAddressUpdate @deprecated(reason: "This will be removed on November 28, 2024. Use marketplaceConfigurationUpdate instead.")
13979
-
13980
13840
  """Create a new checkout theme."""
13981
13841
  checkoutThemeCreate(
13982
13842
  """Fields required to create a new checkout theme."""
@@ -14724,58 +14584,6 @@ type Mutation {
14724
14584
  id: ID!
14725
14585
  ): ProductTypeFeatureDelete @deprecated(reason: "Features will be removed on January 2, 2025.")
14726
14586
 
14727
- """Create a new location for the product."""
14728
- productLocationCreate(
14729
- """Fields required to create location."""
14730
- input: LocationInput!
14731
-
14732
- """
14733
- ID of the product to create a location against. This field is required and will be updated to ``required=True`` after 2023-07-20.
14734
- """
14735
- productId: ID
14736
- ): ProductLocationCreate @deprecated(reason: "Locations will be removed on November 28, 2024.")
14737
-
14738
- """Updates a location for a product."""
14739
- productLocationUpdate(
14740
- """Fields required to update location."""
14741
- input: LocationInput!
14742
-
14743
- """
14744
- ID of the location to update. This field is required and will be updated to ``required=True`` after 2023-07-20.
14745
- """
14746
- locationId: ID
14747
-
14748
- """
14749
- ID of the product to update a location against. This field is required and will be updated to ``required=True`` after 2023-07-20.
14750
- """
14751
- productId: ID
14752
- ): ProductLocationUpdate @deprecated(reason: "Locations will be removed on November 28, 2024.")
14753
-
14754
- """Delete a location for a product."""
14755
- productLocationDelete(
14756
- """
14757
- ID of the location to delete. This field is required and will be updated to ``required=True`` after 2023-07-20.
14758
- """
14759
- locationId: ID
14760
-
14761
- """
14762
- ID of the product to delete a location against. This field is required and will be updated to ``required=True`` after 2023-07-20.
14763
- """
14764
- productId: ID
14765
- ): ProductLocationDelete @deprecated(reason: "Locations will be removed on November 28, 2024.")
14766
-
14767
- """Sets a location type."""
14768
- productSetLocationType(
14769
- """ID of the location to update"""
14770
- locationId: ID
14771
-
14772
- """ID of the product to update a location against"""
14773
- productId: ID
14774
-
14775
- """The type of location."""
14776
- type: LocationTypeEnum!
14777
- ): ProductSetLocationType @deprecated(reason: "Locations will be removed on November 28, 2024.")
14778
-
14779
14587
  """Captures the authorized payment amount."""
14780
14588
  paymentCapture(
14781
14589
  """Transaction amount."""
@@ -16158,7 +15966,7 @@ type Mutation {
16158
15966
  appInstall(
16159
15967
  """Fields required to install a new app."""
16160
15968
  input: AppInstallInput!
16161
- ): AppInstall
15969
+ ): AppInstall @deprecated(reason: "This will be removed on March 2nd, 2025")
16162
15970
 
16163
15971
  """Retry failed installation of new app."""
16164
15972
  appRetryInstall(
@@ -16167,16 +15975,16 @@ type Mutation {
16167
15975
 
16168
15976
  """ID of failed installation."""
16169
15977
  id: ID!
16170
- ): AppRetryInstall
15978
+ ): AppRetryInstall @deprecated(reason: "This will be removed on March 2nd, 2025")
16171
15979
 
16172
15980
  """Delete failed installation."""
16173
15981
  appDeleteFailedInstallation(
16174
15982
  """ID of failed installation to delete."""
16175
15983
  id: ID!
16176
- ): AppDeleteFailedInstallation
15984
+ ): AppDeleteFailedInstallation @deprecated(reason: "This will be removed on March 2nd, 2025")
16177
15985
 
16178
15986
  """Fetch and validate manifest."""
16179
- appFetchManifest(manifestUrl: String!): AppFetchManifest
15987
+ appFetchManifest(manifestUrl: String!): AppFetchManifest @deprecated(reason: "This will be removed on March 2nd, 2025")
16180
15988
 
16181
15989
  """Activate the app."""
16182
15990
  appActivate(
@@ -18296,75 +18104,6 @@ type MediaBulkDelete {
18296
18104
  shopErrors: [ShopError!]!
18297
18105
  }
18298
18106
 
18299
- """Updates site domain of the shop."""
18300
- type ShopDomainUpdate {
18301
- """Updated shop."""
18302
- shop: Shop
18303
- shopErrors: [ShopError!]!
18304
- }
18305
-
18306
- input SiteDomainInput {
18307
- """Domain name for shop."""
18308
- domain: String
18309
-
18310
- """Shop site name."""
18311
- name: String
18312
-
18313
- """API url for shop."""
18314
- apiUrl: String
18315
-
18316
- """Dasboard url for shop."""
18317
- dashboardUrl: String
18318
- }
18319
-
18320
- """Updates shop settings."""
18321
- type ShopSettingsUpdate {
18322
- """Updated shop."""
18323
- shop: Shop
18324
- shopErrors: [ShopError!]!
18325
- }
18326
-
18327
- input ShopSettingsInput {
18328
- """Header text."""
18329
- headerText: String
18330
-
18331
- """SEO description."""
18332
- description: String
18333
-
18334
- """Include taxes in prices."""
18335
- includeTaxesInPrices: Boolean
18336
-
18337
- """Charge taxes on shipping."""
18338
- chargeTaxesOnShipping: Boolean
18339
-
18340
- """Enable inventory tracking."""
18341
- trackInventoryByDefault: Boolean
18342
-
18343
- """Default weight unit."""
18344
- defaultWeightUnit: WeightUnitsEnum
18345
-
18346
- """Enable automatic fulfillment for all digital products."""
18347
- automaticFulfillmentDigitalProducts: Boolean
18348
-
18349
- """Default number of max downloads per digital content URL."""
18350
- defaultDigitalMaxDownloads: Int
18351
-
18352
- """Default number of days which digital content URL will be valid."""
18353
- defaultDigitalUrlValidDays: Int
18354
-
18355
- """Default email sender's name."""
18356
- defaultMailSenderName: String
18357
-
18358
- """Default email sender's address."""
18359
- defaultMailSenderAddress: String
18360
-
18361
- """Default email support address."""
18362
- defaultMailSupportAddress: String
18363
-
18364
- """URL of a view where customers can set their password."""
18365
- customerSetPasswordUrl: String
18366
- }
18367
-
18368
18107
  """Fetch tax rates."""
18369
18108
  type ShopFetchTaxRates {
18370
18109
  """Updated shop."""
@@ -18372,15 +18111,6 @@ type ShopFetchTaxRates {
18372
18111
  shopErrors: [ShopError!]!
18373
18112
  }
18374
18113
 
18375
- """
18376
- Update the shop's address. If the `null` value is passed, the currently selected address will be deleted.
18377
- """
18378
- type ShopAddressUpdate {
18379
- """Updated shop."""
18380
- shop: Shop
18381
- shopErrors: [ShopError!]!
18382
- }
18383
-
18384
18114
  """Create a new checkout theme."""
18385
18115
  type CheckoutThemeCreate {
18386
18116
  """Updated shop."""
@@ -20552,81 +20282,6 @@ type ProductTypeFeatureDelete {
20552
20282
  productErrors: [ProductError!]!
20553
20283
  }
20554
20284
 
20555
- """Create a new location for the product."""
20556
- type ProductLocationCreate {
20557
- """A product instance for which the location was created."""
20558
- product: Product
20559
-
20560
- """A location instance which was created"""
20561
- location: Location
20562
- productErrors: [ProductError!]!
20563
- }
20564
-
20565
- input LocationInput {
20566
- """Company or organization."""
20567
- companyName: String
20568
-
20569
- """Address."""
20570
- streetAddress1: String
20571
-
20572
- """Address."""
20573
- streetAddress2: String
20574
-
20575
- """City."""
20576
- city: String
20577
-
20578
- """District."""
20579
- cityArea: String
20580
-
20581
- """Postal code."""
20582
- postalCode: String
20583
-
20584
- """Country."""
20585
- country: CountryCode
20586
-
20587
- """State or province."""
20588
- countryArea: String
20589
-
20590
- """Phone number."""
20591
- phone: String
20592
-
20593
- """Longitude of the location."""
20594
- lon: Float
20595
-
20596
- """Latitude of the location."""
20597
- lat: Float
20598
-
20599
- """Kind of the location."""
20600
- locationKind: LocationKindEnum
20601
- }
20602
-
20603
- """Updates a location for a product."""
20604
- type ProductLocationUpdate {
20605
- """A product instance for which the location was updated."""
20606
- product: Product
20607
-
20608
- """A location instance which was updated"""
20609
- location: Location
20610
- productErrors: [ProductError!]!
20611
- }
20612
-
20613
- """Delete a location for a product."""
20614
- type ProductLocationDelete {
20615
- """A product instance for which a location was deleted"""
20616
- product: Product
20617
- productErrors: [ProductError!]!
20618
- }
20619
-
20620
- """Sets a location type."""
20621
- type ProductSetLocationType {
20622
- """An updated product instance."""
20623
- product: Product
20624
-
20625
- """An updated location instance."""
20626
- location: Location
20627
- productErrors: [ProductError!]!
20628
- }
20629
-
20630
20285
  """Captures the authorized payment amount."""
20631
20286
  type PaymentCapture {
20632
20287
  """Updated payment."""
@@ -22421,10 +22076,10 @@ input SaleInput {
22421
22076
  """End date of the sale in ISO 8601 format."""
22422
22077
  endDate: DateTime
22423
22078
 
22424
- """Min purchase amount required to apply the voucher."""
22079
+ """Min purchase amount required to apply the sale."""
22425
22080
  minSpentAmount: PositiveDecimal
22426
22081
 
22427
- """Minimal quantity of checkout items required to apply the voucher."""
22082
+ """Minimal quantity of checkout items required to apply the sale."""
22428
22083
  minCheckoutItemsQuantity: Int
22429
22084
 
22430
22085
  """Sale type: SPECIFICT PRODUCT or SHIPPING"""
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nautical-commerce/graphql-schema",
3
- "version": "v1.62.1",
3
+ "version": "v1.63.0",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {