@arrowsphere/api-client 3.233.0 → 3.234.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,12 @@
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.234.0] - 2025.01.19
7
+
8
+ ### Updated
9
+ - Handle the bundles in the Offers
10
+
11
+
6
12
  ## [3.233.0] - 2025.01.15
7
13
 
8
14
  ### Updated
@@ -1,8 +1,9 @@
1
- import { AttributesParameters, AttributeType, ExchangeRateType, ExchangeRateValueType, FiltersType, IdentifiersType, PaginationType, PriceBandType, PricesType, ProductType, PromotionType, RelatedOfferType } from './catalogGraphQLTypes';
1
+ import { AttributesParameters, AttributeType, BundleBillingRuleType, ExchangeRateType, ExchangeRateValueType, FiltersType, IdentifiersType, PaginationType, PriceBandType, PricesType, ProductType, PromotionType, RelatedOfferType } from './catalogGraphQLTypes';
2
2
  import { Merge, Schema } from 'type-fest';
3
3
  export declare type PaginationSchema = Schema<PaginationType, boolean>;
4
4
  export declare type FiltersSchema = Schema<FiltersType, boolean>;
5
5
  declare type AttributesParametersSchema = Schema<AttributesParameters, boolean>;
6
+ declare type BundleBillingRuleSchema = Schema<BundleBillingRuleType, boolean>;
6
7
  declare type IdentifiersSchema = Schema<IdentifiersType, boolean>;
7
8
  declare type RelatedOfferSchema = Schema<RelatedOfferType, boolean>;
8
9
  declare type PromotionSchema = Schema<PromotionType, boolean>;
@@ -13,6 +14,8 @@ declare type MissingFieldsOfProductSchema = {
13
14
  addonPrimaries?: IdentifiersSchema;
14
15
  attributesParameters?: AttributesParametersSchema;
15
16
  baseOfferPrimaries?: IdentifiersSchema;
17
+ bundleBillingRules?: BundleBillingRuleSchema;
18
+ bundledOfferPrimaries?: IdentifiersSchema;
16
19
  conversionOfferPrimaries?: IdentifiersSchema;
17
20
  defaultPriceBand?: PriceBandSchema;
18
21
  relatedOffers?: RelatedOfferSchema;
@@ -35,56 +35,65 @@ export declare type FiltersValuesType = {
35
35
  count?: number;
36
36
  };
37
37
  export declare type PaginationType = {
38
- perPage?: number;
39
38
  currentPage?: number;
40
- totalPage?: number;
41
- total?: number;
42
39
  next?: string;
40
+ perPage?: number;
43
41
  previous?: string;
42
+ total?: number;
43
+ totalPage?: number;
44
+ };
45
+ export declare type BundleBillingRuleType = {
46
+ billingCycle: number;
47
+ billingTerm: number;
48
+ name: string;
49
+ orderingType: string;
44
50
  };
45
51
  export declare type ProductType = {
46
- id?: string;
47
- identifiers?: IdentifiersType;
48
- name?: string;
49
- classification?: string;
52
+ actionFlags?: ActionFlagsType;
53
+ addonPrimaries?: Array<IdentifiersType>;
50
54
  arrowCategories?: Array<string>;
51
55
  arrowSubCategories?: Array<string>;
56
+ assets?: AssetsType;
52
57
  attributesParameters?: Array<AttributesParameters>;
53
- licenseAgreementType?: string;
54
- family?: FamilyType;
55
- isAddon?: boolean;
56
- hasAddons?: boolean;
57
- actionFlags?: ActionFlagsType;
58
- addonPrimaries?: Array<IdentifiersType>;
59
- conversionOfferPrimaries?: Array<IdentifiersType>;
60
58
  baseOfferPrimaries?: Array<IdentifiersType>;
61
- assets?: AssetsType;
59
+ billingSets?: Array<string>;
60
+ bundleBillingRules?: Array<BundleBillingRuleType>;
61
+ bundledOfferPrimaries?: Array<IdentifiersType>;
62
+ classification?: string;
63
+ conversionOfferPrimaries?: Array<IdentifiersType>;
64
+ defaultPriceBand?: PriceBandType;
65
+ endCustomerEula?: string;
66
+ endCustomerFeatures?: string;
67
+ endCustomerRequirements?: string;
62
68
  environmentAvailability?: string;
63
- promotions?: Array<PromotionType>;
64
- marketplace?: string;
69
+ eula?: string;
70
+ family?: FamilyType;
71
+ hasAddons?: boolean;
72
+ id?: string;
73
+ identifiers?: IdentifiersType;
74
+ isAddon?: boolean;
75
+ isBundle?: boolean;
65
76
  isEnabled?: boolean;
66
- isTrial?: boolean;
67
77
  isIndirectBusiness?: boolean;
78
+ isTrial?: boolean;
68
79
  lastUpdate?: string;
80
+ licenseAgreementType?: string;
69
81
  marketingText?: MarketingTextType;
70
- vendorOfferUrl?: string;
71
- serviceDescription?: string;
72
- eula?: string;
73
- endCustomerEula?: string;
74
- endCustomerRequirements?: string;
75
- endCustomerFeatures?: string;
76
- xspUrl?: string;
77
- saleConstraints?: SaleConstraintsType;
78
- vendor?: VendorType;
79
- program?: GraphqlProgramType;
80
- weightTopSales?: number;
81
- weightForced?: number;
82
+ marketplace?: string;
83
+ name?: string;
82
84
  priceBand?: Array<PriceBandType>;
83
- defaultPriceBand?: PriceBandType;
85
+ program?: GraphqlProgramType;
86
+ promotions?: Array<PromotionType>;
84
87
  relatedOffers?: Array<RelatedOfferType>;
85
88
  resellers?: OfferResellersType;
89
+ saleConstraints?: SaleConstraintsType;
86
90
  scope?: string;
87
- billingSets?: Array<string>;
91
+ serviceDescription?: string;
92
+ vendor?: VendorType;
93
+ vendorOfferUrl?: string;
94
+ weightForced?: number;
95
+ weightTopSales?: number;
96
+ xspUrl?: string;
88
97
  };
89
98
  export declare type IdentifiersType = {
90
99
  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.233.0",
7
+ "version": "3.234.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",