@arrowsphere/api-client 3.142.0 → 3.144.0-rc.fdi.1

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,11 @@
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.143.0] - 2024.10.2
7
+
8
+ ### Added
9
+ - [quotes] add comment in graphql api and 4 new data in catalog
10
+
6
11
  ## [3.142.0] - 2024.10.02
7
12
 
8
13
  ### Added
@@ -10,6 +10,8 @@ export declare type GetPriceBandType = {
10
10
  export declare type GetPriceBandsType = {
11
11
  getPriceBands: {
12
12
  priceBands: PriceBandType[];
13
+ filters?: Array<FiltersType>;
14
+ pagination?: PaginationType;
13
15
  };
14
16
  };
15
17
  export declare type GetExchangeRatesType = {
@@ -223,12 +225,20 @@ export declare enum PricesTypeKeys {
223
225
  BUY_KEY = "buy",
224
226
  SELL_KEY = "sell",
225
227
  PUBLIC_KEY = "public",
228
+ ARROW_KEY = "arrow",
229
+ PARTNER_KEY = "partner",
230
+ ENDCUSTOMER_KEY = "endCustom",
231
+ RETAIL_KEY = "public",
226
232
  VENDOR_PRICING_SOURCE_KEY = "vendorPricingSource"
227
233
  }
228
234
  export declare type PricesType = {
229
235
  [PricesTypeKeys.BUY_KEY]?: string;
230
236
  [PricesTypeKeys.SELL_KEY]?: string;
231
237
  [PricesTypeKeys.PUBLIC_KEY]?: string;
238
+ [PricesTypeKeys.ARROW_KEY]?: string;
239
+ [PricesTypeKeys.PARTNER_KEY]?: string;
240
+ [PricesTypeKeys.ENDCUSTOMER_KEY]?: string;
241
+ [PricesTypeKeys.RETAIL_KEY]?: string;
232
242
  [PricesTypeKeys.VENDOR_PRICING_SOURCE_KEY]?: VendorPricingSourceType;
233
243
  };
234
244
  export declare type PriceBandSaleConstraintsType = {
@@ -7,6 +7,10 @@ var PricesTypeKeys;
7
7
  PricesTypeKeys["BUY_KEY"] = "buy";
8
8
  PricesTypeKeys["SELL_KEY"] = "sell";
9
9
  PricesTypeKeys["PUBLIC_KEY"] = "public";
10
+ PricesTypeKeys["ARROW_KEY"] = "arrow";
11
+ PricesTypeKeys["PARTNER_KEY"] = "partner";
12
+ PricesTypeKeys["ENDCUSTOMER_KEY"] = "endCustom";
13
+ PricesTypeKeys["RETAIL_KEY"] = "public";
10
14
  PricesTypeKeys["VENDOR_PRICING_SOURCE_KEY"] = "vendorPricingSource";
11
15
  })(PricesTypeKeys = exports.PricesTypeKeys || (exports.PricesTypeKeys = {}));
12
16
  //# sourceMappingURL=catalogGraphQLTypes.js.map
@@ -17,3 +17,4 @@ export * from './types/entities/vendor';
17
17
  export * from './types/entities/workgroup';
18
18
  export * from './graphqlApiClient';
19
19
  export * from './types/entities/quoteVersion';
20
+ export * from './types/entities/comment';
@@ -33,4 +33,5 @@ __exportStar(require("./types/entities/vendor"), exports);
33
33
  __exportStar(require("./types/entities/workgroup"), exports);
34
34
  __exportStar(require("./graphqlApiClient"), exports);
35
35
  __exportStar(require("./types/entities/quoteVersion"), exports);
36
+ __exportStar(require("./types/entities/comment"), exports);
36
37
  //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ import { UserType } from './user';
2
+ export declare type Comment = {
3
+ id?: number;
4
+ body?: string;
5
+ createdAt?: string;
6
+ user?: UserType;
7
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=comment.js.map
@@ -2,6 +2,7 @@ import { ArrowCompanyType, EndCustomerType, PartnerType } from './company';
2
2
  import { ContactsType } from './contact';
3
3
  import { GraphqlApiProgramType } from './program';
4
4
  import { QuoteVersion } from './quoteVersion';
5
+ import { Comment } from './comment';
5
6
  export declare type EavType = {
6
7
  value?: string;
7
8
  };
@@ -10,9 +11,13 @@ export declare type QuoteType = {
10
11
  arrowCompany?: ArrowCompanyType;
11
12
  commitmentAmountTotal?: number;
12
13
  createdAt?: string;
14
+ comments?: Comment[];
15
+ dateBegin?: string;
16
+ dateEnd?: string;
13
17
  endCustomer?: EndCustomerType;
14
18
  endCustomerContact?: ContactsType;
15
19
  items?: QuoteItemType[];
20
+ name?: string;
16
21
  partner?: PartnerType;
17
22
  versions?: QuoteVersion[];
18
23
  promotionCode?: string;
@@ -30,6 +35,7 @@ export declare type QuoteItemType = {
30
35
  reference?: string;
31
36
  vendorName?: string;
32
37
  vendorNamesSerialized?: string;
38
+ version?: QuoteVersion;
33
39
  };
34
40
  export declare type ItemData = {
35
41
  id?: string;
@@ -50,7 +56,7 @@ export declare type ItemData = {
50
56
  billingCycle?: number;
51
57
  arrowRateValue?: number;
52
58
  partnerRateValue?: number;
53
- arrowSpherePriceBandSku?: number;
59
+ arrowSpherePriceBandSku?: string;
54
60
  licenseAgreementType?: string;
55
61
  classification?: string;
56
62
  mainLogoUrl?: string;
@@ -16,6 +16,7 @@ import { OrganizationUnitsType } from './entities/organizationUnit';
16
16
  import { CurrencyType } from './entities/currency';
17
17
  import { ItemData, QuoteItemType, QuoteType } from './entities/quote';
18
18
  import { QuoteVersion } from './entities/quoteVersion';
19
+ import { Comment } from './entities/comment';
19
20
  export declare type PartnertagSchema = Schema<PartnertagType, boolean>;
20
21
  declare type MissingFieldsOfCompanySchema = {
21
22
  contacts?: ContactsSchema;
@@ -58,6 +59,7 @@ declare type MissingFieldsOfLicenseBudgetSchema = {
58
59
  declare type MissingFieldsOfQuoteSchema = {
59
60
  arrowCompany?: ArrowCompanySchema;
60
61
  endCustomer?: EndCustomerSchema;
62
+ comments?: CommentSchema;
61
63
  items?: QuoteItemSchema;
62
64
  partner?: PartnerSchema;
63
65
  versions?: QuoteVersionSchema;
@@ -66,12 +68,14 @@ declare type MissingFieldsOfQuoteSchema = {
66
68
  declare type MissingFieldsOfQuoteItemSchema = {
67
69
  program?: GraphqlApiProgramSchema;
68
70
  itemData?: ItemDataSchema;
71
+ version?: QuoteVersionSchema;
69
72
  };
70
- export declare type QuoteItemSchema = Merge<Schema<QuoteItemType, boolean>, MissingFieldsOfQuoteItemSchema>;
71
- export declare type QuoteVersionSchema = Merge<Schema<QuoteVersion, boolean>, MissingFieldsOfQuoteVersionSchema>;
72
- declare type MissingFieldsOfQuoteVersionSchema = {
73
- items?: QuoteItemSchema;
73
+ declare type MissingFieldsOfCommentSchema = {
74
+ user?: UserSchema;
74
75
  };
76
+ export declare type QuoteItemSchema = Merge<Schema<QuoteItemType, boolean>, MissingFieldsOfQuoteItemSchema>;
77
+ export declare type CommentSchema = Merge<Schema<Comment, boolean>, MissingFieldsOfCommentSchema>;
78
+ export declare type QuoteVersionSchema = Schema<QuoteVersion, boolean>;
75
79
  declare type MissingFieldsOfCountrySchema = {
76
80
  continent?: ContinentSchema;
77
81
  };
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.142.0",
7
+ "version": "3.144.0-rc.fdi.1",
8
8
  "description": "Node.js client for ArrowSphere's public API",
9
9
  "main": "build/index.js",
10
10
  "types": "build/index.d.ts",