@arrowsphere/api-client 3.374.0 → 3.375.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 +8 -0
- package/build/catalog/types/catalogGraphQLTypes.d.ts +1 -1
- package/build/catalog/types/catalogGraphQLTypes.js +1 -1
- package/build/graphqlApi/index.d.ts +2 -0
- package/build/graphqlApi/index.js +2 -0
- package/build/graphqlApi/types/entities/customFieldKey.d.ts +12 -0
- package/build/graphqlApi/types/entities/customFieldKey.js +3 -0
- package/build/graphqlApi/types/entities/customFieldValue.d.ts +10 -0
- package/build/graphqlApi/types/entities/customFieldValue.js +3 -0
- package/build/graphqlApi/types/entities/quote.d.ts +2 -0
- package/build/graphqlApi/types/graphqlApiQueries.d.ts +8 -0
- package/build/graphqlApi/types/graphqlApiQueries.js +2 -0
- package/build/graphqlApi/types/graphqlApiSchemas.d.ts +20 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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.375.0] - 2026.06.15
|
|
7
|
+
### Added
|
|
8
|
+
- [graphql-api] Add `CustomFieldKey` and `CustomFieldValue` entity types with full `selectAll`/`selectOne` support
|
|
9
|
+
- [graphql-api] Add `bundleArrowSphereSku` and `bundleUuid` fields to `ItemData` in quote entity
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
- [catalog] Fix `PricesTypeKeys.ENDCUSTOMER_KEY` value from `endCustom` to `endCustomer`
|
|
13
|
+
|
|
6
14
|
## [3.374.0] - 2026.06.05
|
|
7
15
|
### Added
|
|
8
16
|
- [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 = "
|
|
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"] = "
|
|
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 = {}));
|
|
@@ -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,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
|
+
};
|
|
@@ -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