@arrowsphere/api-client 3.374.0 → 3.376.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,18 @@
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.376.0] - 2026.06.16
7
+ ### Added
8
+ - [contact] Add optional `xapInfo` field in Contact entity
9
+
10
+ ## [3.375.0] - 2026.06.15
11
+ ### Added
12
+ - [graphql-api] Add `CustomFieldKey` and `CustomFieldValue` entity types with full `selectAll`/`selectOne` support
13
+ - [graphql-api] Add `bundleArrowSphereSku` and `bundleUuid` fields to `ItemData` in quote entity
14
+
15
+ ### Fixed
16
+ - [catalog] Fix `PricesTypeKeys.ENDCUSTOMER_KEY` value from `endCustom` to `endCustomer`
17
+
6
18
  ## [3.374.0] - 2026.06.05
7
19
  ### Added
8
20
  - [billing] Add PricingPlan client with support for CRUD operations, business rules, scopes, and history
@@ -241,7 +241,7 @@ export declare enum PricesTypeKeys {
241
241
  PUBLIC_KEY = "public",
242
242
  ARROW_KEY = "arrow",
243
243
  PARTNER_KEY = "partner",
244
- ENDCUSTOMER_KEY = "endCustom",
244
+ ENDCUSTOMER_KEY = "endCustomer",
245
245
  RETAIL_KEY = "public",
246
246
  VENDOR_PRICING_SOURCE_KEY = "vendorPricingSource"
247
247
  }
@@ -9,7 +9,7 @@ var PricesTypeKeys;
9
9
  PricesTypeKeys["PUBLIC_KEY"] = "public";
10
10
  PricesTypeKeys["ARROW_KEY"] = "arrow";
11
11
  PricesTypeKeys["PARTNER_KEY"] = "partner";
12
- PricesTypeKeys["ENDCUSTOMER_KEY"] = "endCustom";
12
+ PricesTypeKeys["ENDCUSTOMER_KEY"] = "endCustomer";
13
13
  PricesTypeKeys["RETAIL_KEY"] = "public";
14
14
  PricesTypeKeys["VENDOR_PRICING_SOURCE_KEY"] = "vendorPricingSource";
15
15
  })(PricesTypeKeys = exports.PricesTypeKeys || (exports.PricesTypeKeys = {}));
@@ -1,6 +1,7 @@
1
1
  import { AbstractEntity } from '../../abstractEntity';
2
2
  import { XcpInvitation, XcpInvitationType } from './xcpInvitation';
3
3
  import { OrganizationUnits, OrganizationUnitsType } from './organizationUnits';
4
+ import { ContactXapInfo } from '../types/ContactXapInfo';
4
5
  export declare enum ContactFields {
5
6
  COLUMN_ID = "id",
6
7
  COLUMN_COMPANY_ID = "companyId",
@@ -13,6 +14,7 @@ export declare enum ContactFields {
13
14
  COLUMN_TYPE = "type",
14
15
  COLUMN_ROLE = "role",
15
16
  COLUMN_STATUS = "status",
17
+ COLUMN_XAP_INFO = "xapInfo",
16
18
  COLUMN_XAP_USERNAME = "xapUsername",
17
19
  COLUMN_IS_ACTIVE = "isActive",
18
20
  COLUMN_XCP_INVITATION = "xcpInvitation",
@@ -31,6 +33,7 @@ export declare type ContactType = {
31
33
  [ContactFields.COLUMN_ROLE]: string;
32
34
  [ContactFields.COLUMN_STATUS]: string;
33
35
  [ContactFields.COLUMN_XAP_USERNAME]?: string;
36
+ [ContactFields.COLUMN_XAP_INFO]?: ContactXapInfo;
34
37
  [ContactFields.COLUMN_IS_ACTIVE]: boolean;
35
38
  [ContactFields.COLUMN_XCP_INVITATION]?: XcpInvitationType;
36
39
  [ContactFields.COLUMN_ORGANIZATION_UNITS]?: OrganizationUnitsType[];
@@ -49,6 +52,7 @@ export declare class Contact extends AbstractEntity<ContactType> {
49
52
  get type(): string;
50
53
  get role(): string;
51
54
  get status(): string;
55
+ get xapInfo(): ContactXapInfo | undefined;
52
56
  get xapUsername(): string | undefined;
53
57
  get isActive(): boolean;
54
58
  get xcpInvitation(): XcpInvitation | undefined;
@@ -10,7 +10,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
10
10
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
11
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
12
  };
13
- var _Contact_id, _Contact_companyId, _Contact_reseller, _Contact_firstname, _Contact_lastname, _Contact_email, _Contact_phone, _Contact_erpId, _Contact_type, _Contact_role, _Contact_status, _Contact_xapUsername, _Contact_isActive, _Contact_xcpInvitation, _Contact_organizationUnits;
13
+ var _Contact_id, _Contact_companyId, _Contact_reseller, _Contact_firstname, _Contact_lastname, _Contact_email, _Contact_phone, _Contact_erpId, _Contact_type, _Contact_role, _Contact_status, _Contact_xapInfo, _Contact_xapUsername, _Contact_isActive, _Contact_xcpInvitation, _Contact_organizationUnits;
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.Contact = exports.ContactFields = void 0;
16
16
  const abstractEntity_1 = require("../../abstractEntity");
@@ -29,6 +29,7 @@ var ContactFields;
29
29
  ContactFields["COLUMN_TYPE"] = "type";
30
30
  ContactFields["COLUMN_ROLE"] = "role";
31
31
  ContactFields["COLUMN_STATUS"] = "status";
32
+ ContactFields["COLUMN_XAP_INFO"] = "xapInfo";
32
33
  ContactFields["COLUMN_XAP_USERNAME"] = "xapUsername";
33
34
  ContactFields["COLUMN_IS_ACTIVE"] = "isActive";
34
35
  ContactFields["COLUMN_XCP_INVITATION"] = "xcpInvitation";
@@ -48,6 +49,7 @@ class Contact extends abstractEntity_1.AbstractEntity {
48
49
  _Contact_type.set(this, void 0);
49
50
  _Contact_role.set(this, void 0);
50
51
  _Contact_status.set(this, void 0);
52
+ _Contact_xapInfo.set(this, void 0);
51
53
  _Contact_xapUsername.set(this, void 0);
52
54
  _Contact_isActive.set(this, void 0);
53
55
  _Contact_xcpInvitation.set(this, void 0);
@@ -63,6 +65,7 @@ class Contact extends abstractEntity_1.AbstractEntity {
63
65
  __classPrivateFieldSet(this, _Contact_type, contactDataInput[ContactFields.COLUMN_TYPE], "f");
64
66
  __classPrivateFieldSet(this, _Contact_role, contactDataInput[ContactFields.COLUMN_ROLE], "f");
65
67
  __classPrivateFieldSet(this, _Contact_status, contactDataInput[ContactFields.COLUMN_STATUS], "f");
68
+ __classPrivateFieldSet(this, _Contact_xapInfo, contactDataInput[ContactFields.COLUMN_XAP_INFO], "f");
66
69
  __classPrivateFieldSet(this, _Contact_xapUsername, contactDataInput[ContactFields.COLUMN_XAP_USERNAME], "f");
67
70
  __classPrivateFieldSet(this, _Contact_isActive, contactDataInput[ContactFields.COLUMN_IS_ACTIVE], "f");
68
71
  __classPrivateFieldSet(this, _Contact_xcpInvitation, contactDataInput[ContactFields.COLUMN_XCP_INVITATION]
@@ -105,6 +108,9 @@ class Contact extends abstractEntity_1.AbstractEntity {
105
108
  get status() {
106
109
  return __classPrivateFieldGet(this, _Contact_status, "f");
107
110
  }
111
+ get xapInfo() {
112
+ return __classPrivateFieldGet(this, _Contact_xapInfo, "f");
113
+ }
108
114
  get xapUsername() {
109
115
  return __classPrivateFieldGet(this, _Contact_xapUsername, "f");
110
116
  }
@@ -131,6 +137,7 @@ class Contact extends abstractEntity_1.AbstractEntity {
131
137
  [ContactFields.COLUMN_TYPE]: this.type,
132
138
  [ContactFields.COLUMN_ROLE]: this.role,
133
139
  [ContactFields.COLUMN_STATUS]: this.status,
140
+ [ContactFields.COLUMN_XAP_INFO]: this.xapInfo,
134
141
  [ContactFields.COLUMN_XAP_USERNAME]: this.xapUsername,
135
142
  [ContactFields.COLUMN_IS_ACTIVE]: this.isActive,
136
143
  [ContactFields.COLUMN_XCP_INVITATION]: (_a = this.xcpInvitation) === null || _a === void 0 ? void 0 : _a.toJSON(),
@@ -139,5 +146,5 @@ class Contact extends abstractEntity_1.AbstractEntity {
139
146
  }
140
147
  }
141
148
  exports.Contact = Contact;
142
- _Contact_id = new WeakMap(), _Contact_companyId = new WeakMap(), _Contact_reseller = new WeakMap(), _Contact_firstname = new WeakMap(), _Contact_lastname = new WeakMap(), _Contact_email = new WeakMap(), _Contact_phone = new WeakMap(), _Contact_erpId = new WeakMap(), _Contact_type = new WeakMap(), _Contact_role = new WeakMap(), _Contact_status = new WeakMap(), _Contact_xapUsername = new WeakMap(), _Contact_isActive = new WeakMap(), _Contact_xcpInvitation = new WeakMap(), _Contact_organizationUnits = new WeakMap();
149
+ _Contact_id = new WeakMap(), _Contact_companyId = new WeakMap(), _Contact_reseller = new WeakMap(), _Contact_firstname = new WeakMap(), _Contact_lastname = new WeakMap(), _Contact_email = new WeakMap(), _Contact_phone = new WeakMap(), _Contact_erpId = new WeakMap(), _Contact_type = new WeakMap(), _Contact_role = new WeakMap(), _Contact_status = new WeakMap(), _Contact_xapInfo = new WeakMap(), _Contact_xapUsername = new WeakMap(), _Contact_isActive = new WeakMap(), _Contact_xcpInvitation = new WeakMap(), _Contact_organizationUnits = new WeakMap();
143
150
  //# sourceMappingURL=contact.js.map
@@ -0,0 +1,26 @@
1
+ export declare type AliasInfo = {
2
+ username?: string;
3
+ providerName?: string;
4
+ email?: string;
5
+ };
6
+ export declare type ExtraData = {
7
+ name?: string;
8
+ value?: string;
9
+ application?: string;
10
+ };
11
+ export declare type ContactXapInfo = {
12
+ aliases?: AliasInfo[];
13
+ authMethods?: string[];
14
+ canSecureAccountUntil?: string;
15
+ cognitoUsername?: string;
16
+ extraData?: ExtraData[];
17
+ isEnabled?: boolean;
18
+ lastLogin?: {
19
+ date?: string;
20
+ };
21
+ policies?: string[];
22
+ rights?: string[];
23
+ scopes?: string[];
24
+ updatedAt?: string;
25
+ updatedBy?: string;
26
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ContactXapInfo.js.map
@@ -27,3 +27,5 @@ export * from './types/entities/programAgreement';
27
27
  export * from './types/entities/providerAgreementHistory';
28
28
  export * from './types/entities/softwareProduct';
29
29
  export * from './types/entities/supportLevel';
30
+ export * from './types/entities/customFieldKey';
31
+ export * from './types/entities/customFieldValue';
@@ -43,4 +43,6 @@ __exportStar(require("./types/entities/programAgreement"), exports);
43
43
  __exportStar(require("./types/entities/providerAgreementHistory"), exports);
44
44
  __exportStar(require("./types/entities/softwareProduct"), exports);
45
45
  __exportStar(require("./types/entities/supportLevel"), exports);
46
+ __exportStar(require("./types/entities/customFieldKey"), exports);
47
+ __exportStar(require("./types/entities/customFieldValue"), exports);
46
48
  //# sourceMappingURL=index.js.map
@@ -0,0 +1,12 @@
1
+ import { BaseCompanyType } from './company';
2
+ import type { CustomFieldValueType } from './customFieldValue';
3
+ export declare type CustomFieldKeyType = {
4
+ id?: number;
5
+ label?: string;
6
+ company?: BaseCompanyType;
7
+ entity?: string;
8
+ customerFieldValue?: CustomFieldValueType[];
9
+ isActive?: boolean;
10
+ createdAt?: string;
11
+ createdBy?: string;
12
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=customFieldKey.js.map
@@ -0,0 +1,10 @@
1
+ import type { CustomFieldKeyType } from './customFieldKey';
2
+ export declare type CustomFieldValueType = {
3
+ id?: number;
4
+ value?: string;
5
+ entity?: string;
6
+ entityId?: number;
7
+ customerFieldKey?: CustomFieldKeyType;
8
+ createdAt?: string;
9
+ createdBy?: string;
10
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=customFieldValue.js.map
@@ -100,6 +100,8 @@ export declare type ItemData = {
100
100
  vendorPriceBandSku?: string;
101
101
  identifiersVendorName?: string;
102
102
  identifiersVendorNamesSerialized?: string;
103
+ bundleArrowSphereSku?: string;
104
+ bundleUuid?: string;
103
105
  };
104
106
  export declare type NameValueType = {
105
107
  name?: string;
@@ -16,6 +16,8 @@ import { WorkgroupType } from './entities/workgroup';
16
16
  import { GraphqlApiSupportLevel } from './entities/supportLevel';
17
17
  import { GraphqlApiProgramAgreementType } from './entities/programAgreement';
18
18
  import { SoftwareProductType } from './entities/softwareProduct';
19
+ import { CustomFieldKeyType } from './entities/customFieldKey';
20
+ import { CustomFieldValueType } from './entities/customFieldValue';
19
21
  import { ContactsSchema, ErrorsSchema, PageSchema, SelectAllResponseDataSchema, SelectOneResponseDataSchema, SpecialPriceRateSchema } from './graphqlApiSchemas';
20
22
  /**
21
23
  * For field __args
@@ -125,6 +127,8 @@ export declare enum SelectableField {
125
127
  export declare enum SelectDataField {
126
128
  ARROW_COMPANY = "arrowCompany",
127
129
  CONTACT = "contact",
130
+ CUSTOM_FIELD_KEY = "customFieldKey",
131
+ CUSTOM_FIELD_VALUE = "customFieldValue",
128
132
  CONTINENT = "continent",
129
133
  COUNTRY = "country",
130
134
  END_CUSTOMER = "endCustomer",
@@ -168,6 +172,8 @@ export declare type ExportResultType = {
168
172
  export declare type SelectAllResponseDataType = {
169
173
  [SelectDataField.ARROW_COMPANY]?: ArrowCompanyType[];
170
174
  [SelectDataField.CONTACT]?: ContactsType[];
175
+ [SelectDataField.CUSTOM_FIELD_KEY]?: CustomFieldKeyType[];
176
+ [SelectDataField.CUSTOM_FIELD_VALUE]?: CustomFieldValueType[];
171
177
  [SelectDataField.CONTINENT]?: ContinentType[];
172
178
  [SelectDataField.COUNTRY]?: CountryType[];
173
179
  [SelectDataField.END_CUSTOMER]?: EndCustomerType[];
@@ -254,6 +260,8 @@ export declare type GetSpecialPriceRatesHistoryResultType = {
254
260
  export declare type SelectOneResponseDataType = {
255
261
  [SelectDataField.ARROW_COMPANY]?: ArrowCompanyType;
256
262
  [SelectDataField.CONTACT]?: ContactsType;
263
+ [SelectDataField.CUSTOM_FIELD_KEY]?: CustomFieldKeyType;
264
+ [SelectDataField.CUSTOM_FIELD_VALUE]?: CustomFieldValueType;
257
265
  [SelectDataField.CONTINENT]?: ContinentType;
258
266
  [SelectDataField.COUNTRY]?: CountryType;
259
267
  [SelectDataField.END_CUSTOMER]?: EndCustomerType;
@@ -94,6 +94,8 @@ var SelectDataField;
94
94
  (function (SelectDataField) {
95
95
  SelectDataField["ARROW_COMPANY"] = "arrowCompany";
96
96
  SelectDataField["CONTACT"] = "contact";
97
+ SelectDataField["CUSTOM_FIELD_KEY"] = "customFieldKey";
98
+ SelectDataField["CUSTOM_FIELD_VALUE"] = "customFieldValue";
97
99
  SelectDataField["CONTINENT"] = "continent";
98
100
  SelectDataField["COUNTRY"] = "country";
99
101
  SelectDataField["END_CUSTOMER"] = "endCustomer";
@@ -156,6 +156,24 @@ export declare type WorkgroupSchema = Schema<WorkgroupType, boolean>;
156
156
  export declare type SupportLevelSchema = Schema<GraphqlApiSupportLevel, boolean>;
157
157
  export declare type ProgramAgreementSchema = Schema<GraphqlApiProgramAgreementType, boolean>;
158
158
  export declare type SoftwareProductSchema = Schema<SoftwareProductType, boolean>;
159
+ declare type CustomFieldValueSchema = {
160
+ id?: boolean;
161
+ customerFieldKey?: CustomFieldKeySchema;
162
+ value?: boolean;
163
+ entity?: boolean;
164
+ entityId?: boolean;
165
+ createdAt?: boolean;
166
+ createdBy?: boolean;
167
+ };
168
+ declare type CustomFieldKeySchema = {
169
+ id?: boolean;
170
+ label?: boolean;
171
+ company?: BaseCompanySchema;
172
+ entity?: boolean;
173
+ isActive?: boolean;
174
+ createdAt?: boolean;
175
+ createdBy?: boolean;
176
+ };
159
177
  export declare type ExportResultSchema = {
160
178
  [SelectableField.DATA]?: SelectAllResponseDataSchema;
161
179
  [SelectableField.ERRORS]?: ErrorsSchema;
@@ -168,6 +186,8 @@ export declare type SelectAllResultSchema = {
168
186
  export declare type SelectAllResponseDataSchema = {
169
187
  [SelectDataField.ARROW_COMPANY]?: ArrowCompanySchema;
170
188
  [SelectDataField.CONTACT]?: ContactsSchema;
189
+ [SelectDataField.CUSTOM_FIELD_KEY]?: CustomFieldKeySchema;
190
+ [SelectDataField.CUSTOM_FIELD_VALUE]?: CustomFieldValueSchema;
171
191
  [SelectDataField.CONTINENT]?: ContinentSchema;
172
192
  [SelectDataField.COUNTRY]?: CountrySchema;
173
193
  [SelectDataField.END_CUSTOMER]?: EndCustomerSchema;
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.374.0",
7
+ "version": "3.376.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",