@arrowsphere/api-client 3.377.0 → 3.378.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,10 @@
3
3
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
4
4
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
5
5
 
6
+ ## [3.378.0] - 2026.06.22
7
+ ### Added
8
+ - [catalog] Add `bundleBaseProducts` field to `ProductType` GraphQL type
9
+
6
10
  ## [3.377.0] - 2026.06.19
7
11
  ### Added
8
12
  - [whoami] Add the preferredCurrency field to the whoami endpoint response
@@ -14,15 +14,20 @@ declare type MissingFieldsOfProductSchema = {
14
14
  addonPrimaries?: IdentifiersSchema;
15
15
  attributesParameters?: AttributesParametersSchema;
16
16
  baseOfferPrimaries?: IdentifiersSchema;
17
- bundleBillingRules?: BundleBillingRuleSchema;
18
- bundledOfferPrimaries?: IdentifiersSchema;
19
17
  conversionOfferPrimaries?: IdentifiersSchema;
20
18
  defaultPriceBand?: PriceBandSchema;
21
19
  relatedOffers?: RelatedOfferSchema;
22
- priceBand?: PriceBandSchema;
23
20
  promotions?: PromotionSchema;
24
21
  };
25
- export declare type ProductSchema = Merge<Schema<ProductType, boolean>, MissingFieldsOfProductSchema>;
22
+ export declare type MissingFieldsOfBundleProductSchema = {
23
+ bundleBaseProducts?: ProductSchemaBundleItem;
24
+ bundleBillingRules?: BundleBillingRuleSchema;
25
+ bundledOfferPrimaries?: IdentifiersSchema;
26
+ };
27
+ export declare type ProductSchemaBundleItem = Merge<Schema<ProductType, boolean>, MissingFieldsOfProductSchema>;
28
+ export declare type ProductSchema = Merge<Schema<ProductType, boolean>, MissingFieldsOfProductSchema & MissingFieldsOfBundleProductSchema & {
29
+ priceBand?: PriceBandSchema;
30
+ }>;
26
31
  declare type AttributeSchema = Schema<AttributeType, boolean>;
27
32
  declare type PromotionPricesFullSchema = Merge<Schema<PromotionPricesFull, boolean>, {
28
33
  attributes?: AttributeSchema;
@@ -96,6 +96,7 @@ export declare type ProductType = {
96
96
  weightTopSales?: number;
97
97
  xspUrl?: string;
98
98
  isBundleOrderQuantityLinked?: boolean;
99
+ bundleBaseProducts?: Array<ProductType>;
99
100
  };
100
101
  export declare type IdentifiersType = {
101
102
  arrowsphere?: ArrowsphereIdentifierType;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "https://github.com/ArrowSphere/nodejs-api-client.git"
6
6
  },
7
- "version": "3.377.0",
7
+ "version": "3.378.0",
8
8
  "description": "Node.js client for ArrowSphere's public API",
9
9
  "main": "build/index.js",
10
10
  "types": "build/index.d.ts",