@nautical-commerce/graphql-schema 1.62.0-2-g5ae3b2f2f → 1.62.0-20-gf7b90c058

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!
@@ -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!
@@ -4176,7 +4152,6 @@ input ProductFilterInput {
4176
4152
  createdAt: DateTimeRangeInput
4177
4153
  updatedAt: DateTimeRangeInput
4178
4154
  publicationDate: DateRangeInput
4179
- inCircle: [RadiusSearchInput!]
4180
4155
  productTypes: [ID]
4181
4156
  advancedSearch: ProductSearchInput
4182
4157
  ids: [ID]
@@ -4297,39 +4272,6 @@ input DateTimeRangeInput {
4297
4272
  lte: DateTime
4298
4273
  }
4299
4274
 
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
4275
  input ProductSearchInput {
4334
4276
  """Search term."""
4335
4277
  searchTerm: String!
@@ -7392,46 +7334,6 @@ type ProductImageCountableEdge {
7392
7334
  cursor: String!
7393
7335
  }
7394
7336
 
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
7337
  """Product stock stats for a specific warehouse including all variants"""
7436
7338
  type WarehouseStats {
7437
7339
  """Warehouse ID"""
@@ -8764,7 +8666,6 @@ type Shop {
8764
8666
  None if shop does not use Crisp, otherwise this contains Crisp Website ID.
8765
8667
  """
8766
8668
  crispWebsiteId: String
8767
- geolocationEnabled: Boolean @deprecated(reason: "Locations will be removed on November 28, 2024.")
8768
8669
 
8769
8670
  """Determines whether seller products require approval"""
8770
8671
  requireProductApproval: Boolean
@@ -8901,9 +8802,6 @@ enum PluginConfigurationCategory {
8901
8802
  """Marketing"""
8902
8803
  MARKETING
8903
8804
 
8904
- """Locations"""
8905
- LOCATIONS
8906
-
8907
8805
  """Payments"""
8908
8806
  PAYMENTS
8909
8807
  }
@@ -11984,27 +11882,6 @@ enum EmailEventSortField {
11984
11882
  DATE
11985
11883
  }
11986
11884
 
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
11885
  type InReportOrderCustomerSummaryType {
12009
11886
  """Category of the metric."""
12010
11887
  category: String!
@@ -13250,7 +13127,7 @@ enum StaffMemberStatus {
13250
13127
  DEACTIVATED
13251
13128
  }
13252
13129
 
13253
- union _Entity = WishlistItem | Wishlist | User | Address | ProductVariant | Product | Category | ProductType | App | Collection | Microsite | ProductImage | Location | ProductStatusLog | Group | CatalogImportProcess | CatalogImportProcessLogRecord
13130
+ union _Entity = WishlistItem | Wishlist | User | Address | ProductVariant | Product | Category | ProductType | App | Collection | Microsite | ProductImage | ProductStatusLog | Group | CatalogImportProcess | CatalogImportProcessLogRecord
13254
13131
 
13255
13132
  scalar _Any
13256
13133
 
@@ -13284,7 +13161,7 @@ type Mutation {
13284
13161
  description: String
13285
13162
 
13286
13163
  """
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-zip-compressed, application/pdf, text/pdf, application/vnd.ms-word, application/x-dwg, application/x-acad, text/x-pdf, application/tiff, image/png, drawing/x-dwf, image/x-eps, application/x-tiff, application/dwg, image/heic, application/x-rtf, application/jpg, application/x-jpg, application/vnd.ms-excel, application/eps, image/tif, application/vnd.oasis.opendocument.text, text/svg-xml, image/gif, image/tiff, application/gzipped, image/x-dxf, image/x-tiff, pplication/vnd.rar, application/tif, application/x-tar, image/svg+xml, application/vnd.oasis.opendocument.presentation, drawing/dwg, application/x-tif, image/heif, application/vnd.oasis.opendocument.spreadsheet, image/webp, image/jpeg, image/x-bmp, application/vnd.openxmlformats-officedocument.presentationml.presentation, text/comma-separated-values, application/excel, application/x-autocad, application/csv, application/zip, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/acrobat, text/svg, image/dxf, image/heif-sequence, text/x-csv, application/postscript, application/x-gzip, application/x-rar, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/gzip, text/plain, image/eps, text/csv, application/gzip-compressed, application/x-dxf, application/x-rar-compressed, application/vnd.pdf, image/svg, application/rtf, image/x-tif, drawing/x-dwg, application/msword, application/x-csv, text/x-comma-separated-values, application/x-eps, image/x-dwg, text/rtf, application/vnd.ms-powerpoint, application/dxf, image/vnd.dwg, image/x-ms-bmp, image/jpg, image/bmp, application/vnd.openxmlformats-officedocument.presentationml.slideshow, image/heic-sequence, application/svg+xml, application/x-pdf, application/acad.
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/x-bmp, image/x-tif, image/vnd.dwg, application/vnd.oasis.opendocument.spreadsheet, application/vnd.oasis.opendocument.presentation, drawing/x-dwg, application/zip, application/vnd.ms-word, application/x-eps, image/dxf, text/x-pdf, application/excel, application/vnd.pdf, image/tif, application/msword, application/x-acad, application/acrobat, pplication/vnd.rar, text/comma-separated-values, image/heic-sequence, image/tiff, application/vnd.ms-powerpoint, application/dwg, application/vnd.oasis.opendocument.text, application/eps, drawing/dwg, image/x-ms-bmp, application/gzip, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/x-dxf, image/heic, application/x-pdf, application/jpg, application/postscript, image/eps, image/svg, text/x-csv, application/acad, application/x-gzip, image/bmp, application/x-tiff, text/rtf, text/plain, image/heif, application/x-dwg, image/png, application/x-tar, application/csv, application/dxf, application/rtf, application/x-autocad, text/pdf, image/webp, text/x-comma-separated-values, image/x-eps, application/x-rar, image/jpg, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/pdf, image/heif-sequence, application/tiff, image/x-tiff, application/x-zip-compressed, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, image/gif, image/svg+xml, text/csv, application/x-rar-compressed, application/x-jpg, application/tif, text/svg-xml, application/gzipped, application/x-csv, image/x-dwg, application/svg+xml, application/x-rtf, drawing/x-dwf, image/jpeg, application/x-tif, application/vnd.ms-excel, image/x-dxf, application/gzip-compressed, application/vnd.openxmlformats-officedocument.presentationml.slideshow, text/svg.
13288
13165
  """
13289
13166
  file: Upload!
13290
13167
 
@@ -13954,29 +13831,9 @@ type Mutation {
13954
13831
  ids: [ID!]!
13955
13832
  ): MediaBulkDelete
13956
13833
 
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
13834
  """Fetch tax rates."""
13970
13835
  shopFetchTaxRates: ShopFetchTaxRates
13971
13836
 
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
13837
  """Create a new checkout theme."""
13981
13838
  checkoutThemeCreate(
13982
13839
  """Fields required to create a new checkout theme."""
@@ -14724,58 +14581,6 @@ type Mutation {
14724
14581
  id: ID!
14725
14582
  ): ProductTypeFeatureDelete @deprecated(reason: "Features will be removed on January 2, 2025.")
14726
14583
 
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
14584
  """Captures the authorized payment amount."""
14780
14585
  paymentCapture(
14781
14586
  """Transaction amount."""
@@ -18296,75 +18101,6 @@ type MediaBulkDelete {
18296
18101
  shopErrors: [ShopError!]!
18297
18102
  }
18298
18103
 
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
18104
  """Fetch tax rates."""
18369
18105
  type ShopFetchTaxRates {
18370
18106
  """Updated shop."""
@@ -18372,15 +18108,6 @@ type ShopFetchTaxRates {
18372
18108
  shopErrors: [ShopError!]!
18373
18109
  }
18374
18110
 
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
18111
  """Create a new checkout theme."""
18385
18112
  type CheckoutThemeCreate {
18386
18113
  """Updated shop."""
@@ -20552,81 +20279,6 @@ type ProductTypeFeatureDelete {
20552
20279
  productErrors: [ProductError!]!
20553
20280
  }
20554
20281
 
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
20282
  """Captures the authorized payment amount."""
20631
20283
  type PaymentCapture {
20632
20284
  """Updated payment."""
@@ -22421,10 +22073,10 @@ input SaleInput {
22421
22073
  """End date of the sale in ISO 8601 format."""
22422
22074
  endDate: DateTime
22423
22075
 
22424
- """Min purchase amount required to apply the voucher."""
22076
+ """Min purchase amount required to apply the sale."""
22425
22077
  minSpentAmount: PositiveDecimal
22426
22078
 
22427
- """Minimal quantity of checkout items required to apply the voucher."""
22079
+ """Minimal quantity of checkout items required to apply the sale."""
22428
22080
  minCheckoutItemsQuantity: Int
22429
22081
 
22430
22082
  """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.0-2-g5ae3b2f2f",
3
+ "version": "v1.62.0-20-gf7b90c058",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {