@arrowsphere/api-client 3.140.1-rc.sba.6 → 3.141.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 +5 -0
- package/build/catalog/types/catalogGraphQLTypes.d.ts +0 -8
- package/build/catalog/types/catalogGraphQLTypes.js +0 -4
- package/build/customers/entities/customers/customer.d.ts +6 -0
- package/build/customers/entities/customers/customer.js +16 -2
- package/build/graphqlApi/index.d.ts +0 -1
- package/build/graphqlApi/index.js +0 -1
- package/build/graphqlApi/types/entities/quote.d.ts +1 -7
- package/build/graphqlApi/types/graphqlApiSchemas.d.ts +4 -8
- package/package.json +1 -1
- package/build/graphqlApi/types/entities/comment.d.ts +0 -7
- package/build/graphqlApi/types/entities/comment.js +0 -3
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.141.0] - 2024.09.11
|
|
7
|
+
|
|
8
|
+
### Added
|
|
9
|
+
- [customer] Added XacResellerId and XacEndCustomerId fields to the Customer.
|
|
10
|
+
|
|
6
11
|
## [3.140.0] - 2024.09.17
|
|
7
12
|
|
|
8
13
|
### Added
|
|
@@ -223,20 +223,12 @@ export declare enum PricesTypeKeys {
|
|
|
223
223
|
BUY_KEY = "buy",
|
|
224
224
|
SELL_KEY = "sell",
|
|
225
225
|
PUBLIC_KEY = "public",
|
|
226
|
-
ARROW_KEY = "arrow",
|
|
227
|
-
PARTNER_KEY = "partner",
|
|
228
|
-
ENDCUSTOMER_KEY = "endCustom",
|
|
229
|
-
RETAIL_KEY = "public",
|
|
230
226
|
VENDOR_PRICING_SOURCE_KEY = "vendorPricingSource"
|
|
231
227
|
}
|
|
232
228
|
export declare type PricesType = {
|
|
233
229
|
[PricesTypeKeys.BUY_KEY]?: string;
|
|
234
230
|
[PricesTypeKeys.SELL_KEY]?: string;
|
|
235
231
|
[PricesTypeKeys.PUBLIC_KEY]?: string;
|
|
236
|
-
[PricesTypeKeys.ARROW_KEY]?: string;
|
|
237
|
-
[PricesTypeKeys.PARTNER_KEY]?: string;
|
|
238
|
-
[PricesTypeKeys.ENDCUSTOMER_KEY]?: string;
|
|
239
|
-
[PricesTypeKeys.RETAIL_KEY]?: string;
|
|
240
232
|
[PricesTypeKeys.VENDOR_PRICING_SOURCE_KEY]?: VendorPricingSourceType;
|
|
241
233
|
};
|
|
242
234
|
export declare type PriceBandSaleConstraintsType = {
|
|
@@ -7,10 +7,6 @@ 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";
|
|
14
10
|
PricesTypeKeys["VENDOR_PRICING_SOURCE_KEY"] = "vendorPricingSource";
|
|
15
11
|
})(PricesTypeKeys = exports.PricesTypeKeys || (exports.PricesTypeKeys = {}));
|
|
16
12
|
//# sourceMappingURL=catalogGraphQLTypes.js.map
|
|
@@ -36,6 +36,8 @@ export declare enum CustomerFields {
|
|
|
36
36
|
COLUMN_INTERNAL_REFERENCE = "InternalReference",
|
|
37
37
|
COLUMN_CONTACT = "Contact",
|
|
38
38
|
COLUMN_DELETED_AT = "DeletedAt",
|
|
39
|
+
COLUMN_XAC_RESELLER_ID = "XacResellerId",
|
|
40
|
+
COLUMN_XAC_END_CUSTOMER_ID = "XacEndCustomerId",
|
|
39
41
|
COLUMN_DETAILS = "Details",
|
|
40
42
|
COLUMN_EXTRA_INFORMATION = "extraInformation",
|
|
41
43
|
COLUMN_ORGANISATION_UNIT = "OrganisationUnit",
|
|
@@ -83,6 +85,8 @@ export declare type CustomerType = {
|
|
|
83
85
|
[CustomerFields.COLUMN_INTERNAL_REFERENCE]: string;
|
|
84
86
|
[CustomerFields.COLUMN_CONTACT]: ContactType;
|
|
85
87
|
[CustomerFields.COLUMN_DELETED_AT]?: string | null;
|
|
88
|
+
[CustomerFields.COLUMN_XAC_RESELLER_ID]?: number;
|
|
89
|
+
[CustomerFields.COLUMN_XAC_END_CUSTOMER_ID]?: number;
|
|
86
90
|
[CustomerFields.COLUMN_DETAILS]: DetailsType;
|
|
87
91
|
[CustomerFields.COLUMN_EXTRA_INFORMATION]?: AdditionalExtraInformationType;
|
|
88
92
|
[CustomerFields.COLUMN_ORGANISATION_UNIT]?: OrganizationUnitType;
|
|
@@ -125,6 +129,8 @@ export declare class Customer extends AbstractEntity<CustomerType> {
|
|
|
125
129
|
get Contact(): Contact;
|
|
126
130
|
get Details(): Details;
|
|
127
131
|
get DeletedAt(): string | null | undefined;
|
|
132
|
+
get XacResellerId(): number | undefined;
|
|
133
|
+
get XacEndCustomerId(): number | undefined;
|
|
128
134
|
get ExtraInformation(): AdditionalExtraInformation | undefined;
|
|
129
135
|
get OrganisationUnit(): OrganizationUnit | undefined;
|
|
130
136
|
get Reseller(): CompanyReseller | 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 _Customer_reference, _Customer_workgroupCode, _Customer_companyName, _Customer_partnerCompanyId, _Customer_addressLine1, _Customer_addressLine2, _Customer_zip, _Customer_city, _Customer_countryCode, _Customer_state, _Customer_receptionPhone, _Customer_websiteUrl, _Customer_emailContact, _Customer_headcount, _Customer_taxNumber, _Customer_ref, _Customer_registrationNumber, _Customer_billingId, _Customer_billingAddress1, _Customer_billingAddress2, _Customer_billingCity, _Customer_billingState, _Customer_billingZipCode, _Customer_billingCountryCode, _Customer_adminNote, _Customer_isr, _Customer_fsr, _Customer_poNumberMandatory, _Customer_type, _Customer_internalReference, _Customer_contact, _Customer_deletedAt, _Customer_details, _Customer_extraInformation, _Customer_organisationUnit, _Customer_reseller, _Customer_partnerTags;
|
|
13
|
+
var _Customer_reference, _Customer_workgroupCode, _Customer_companyName, _Customer_partnerCompanyId, _Customer_addressLine1, _Customer_addressLine2, _Customer_zip, _Customer_city, _Customer_countryCode, _Customer_state, _Customer_receptionPhone, _Customer_websiteUrl, _Customer_emailContact, _Customer_headcount, _Customer_taxNumber, _Customer_ref, _Customer_registrationNumber, _Customer_billingId, _Customer_billingAddress1, _Customer_billingAddress2, _Customer_billingCity, _Customer_billingState, _Customer_billingZipCode, _Customer_billingCountryCode, _Customer_adminNote, _Customer_isr, _Customer_fsr, _Customer_poNumberMandatory, _Customer_type, _Customer_internalReference, _Customer_contact, _Customer_deletedAt, _Customer_xacResellerId, _Customer_xacEndCustomerId, _Customer_details, _Customer_extraInformation, _Customer_organisationUnit, _Customer_reseller, _Customer_partnerTags;
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.Customer = exports.CustomerFields = void 0;
|
|
16
16
|
const abstractEntity_1 = require("../../../abstractEntity");
|
|
@@ -52,6 +52,8 @@ var CustomerFields;
|
|
|
52
52
|
CustomerFields["COLUMN_INTERNAL_REFERENCE"] = "InternalReference";
|
|
53
53
|
CustomerFields["COLUMN_CONTACT"] = "Contact";
|
|
54
54
|
CustomerFields["COLUMN_DELETED_AT"] = "DeletedAt";
|
|
55
|
+
CustomerFields["COLUMN_XAC_RESELLER_ID"] = "XacResellerId";
|
|
56
|
+
CustomerFields["COLUMN_XAC_END_CUSTOMER_ID"] = "XacEndCustomerId";
|
|
55
57
|
CustomerFields["COLUMN_DETAILS"] = "Details";
|
|
56
58
|
CustomerFields["COLUMN_EXTRA_INFORMATION"] = "extraInformation";
|
|
57
59
|
CustomerFields["COLUMN_ORGANISATION_UNIT"] = "OrganisationUnit";
|
|
@@ -94,6 +96,8 @@ class Customer extends abstractEntity_1.AbstractEntity {
|
|
|
94
96
|
_Customer_internalReference.set(this, void 0);
|
|
95
97
|
_Customer_contact.set(this, void 0);
|
|
96
98
|
_Customer_deletedAt.set(this, void 0);
|
|
99
|
+
_Customer_xacResellerId.set(this, void 0);
|
|
100
|
+
_Customer_xacEndCustomerId.set(this, void 0);
|
|
97
101
|
_Customer_details.set(this, void 0);
|
|
98
102
|
_Customer_extraInformation.set(this, void 0);
|
|
99
103
|
_Customer_organisationUnit.set(this, void 0);
|
|
@@ -131,6 +135,8 @@ class Customer extends abstractEntity_1.AbstractEntity {
|
|
|
131
135
|
__classPrivateFieldSet(this, _Customer_internalReference, getCustomersDataInput[CustomerFields.COLUMN_INTERNAL_REFERENCE], "f");
|
|
132
136
|
__classPrivateFieldSet(this, _Customer_contact, new contact_1.Contact(getCustomersDataInput[CustomerFields.COLUMN_CONTACT]), "f");
|
|
133
137
|
__classPrivateFieldSet(this, _Customer_deletedAt, getCustomersDataInput[CustomerFields.COLUMN_DELETED_AT], "f");
|
|
138
|
+
__classPrivateFieldSet(this, _Customer_xacResellerId, getCustomersDataInput[CustomerFields.COLUMN_XAC_RESELLER_ID], "f");
|
|
139
|
+
__classPrivateFieldSet(this, _Customer_xacEndCustomerId, getCustomersDataInput[CustomerFields.COLUMN_XAC_END_CUSTOMER_ID], "f");
|
|
134
140
|
__classPrivateFieldSet(this, _Customer_details, new details_1.Details(getCustomersDataInput[CustomerFields.COLUMN_DETAILS]), "f");
|
|
135
141
|
__classPrivateFieldSet(this, _Customer_extraInformation, getCustomersDataInput[CustomerFields.COLUMN_EXTRA_INFORMATION]
|
|
136
142
|
? new shared_1.AdditionalExtraInformation(getCustomersDataInput[CustomerFields.COLUMN_EXTRA_INFORMATION])
|
|
@@ -240,6 +246,12 @@ class Customer extends abstractEntity_1.AbstractEntity {
|
|
|
240
246
|
get DeletedAt() {
|
|
241
247
|
return __classPrivateFieldGet(this, _Customer_deletedAt, "f");
|
|
242
248
|
}
|
|
249
|
+
get XacResellerId() {
|
|
250
|
+
return __classPrivateFieldGet(this, _Customer_xacResellerId, "f");
|
|
251
|
+
}
|
|
252
|
+
get XacEndCustomerId() {
|
|
253
|
+
return __classPrivateFieldGet(this, _Customer_xacEndCustomerId, "f");
|
|
254
|
+
}
|
|
243
255
|
get ExtraInformation() {
|
|
244
256
|
return __classPrivateFieldGet(this, _Customer_extraInformation, "f");
|
|
245
257
|
}
|
|
@@ -288,6 +300,8 @@ class Customer extends abstractEntity_1.AbstractEntity {
|
|
|
288
300
|
[CustomerFields.COLUMN_CONTACT]: this.Contact.toJSON(),
|
|
289
301
|
[CustomerFields.COLUMN_DETAILS]: this.Details.toJSON(),
|
|
290
302
|
[CustomerFields.COLUMN_DELETED_AT]: this.DeletedAt,
|
|
303
|
+
[CustomerFields.COLUMN_XAC_RESELLER_ID]: this.XacResellerId,
|
|
304
|
+
[CustomerFields.COLUMN_XAC_END_CUSTOMER_ID]: this.XacEndCustomerId,
|
|
291
305
|
[CustomerFields.COLUMN_EXTRA_INFORMATION]: (_a = this.ExtraInformation) === null || _a === void 0 ? void 0 : _a.toJSON(),
|
|
292
306
|
[CustomerFields.COLUMN_ORGANISATION_UNIT]: (_b = this.OrganisationUnit) === null || _b === void 0 ? void 0 : _b.toJSON(),
|
|
293
307
|
[CustomerFields.COLUMN_RESELLER]: this.Reseller,
|
|
@@ -296,5 +310,5 @@ class Customer extends abstractEntity_1.AbstractEntity {
|
|
|
296
310
|
}
|
|
297
311
|
}
|
|
298
312
|
exports.Customer = Customer;
|
|
299
|
-
_Customer_reference = new WeakMap(), _Customer_workgroupCode = new WeakMap(), _Customer_companyName = new WeakMap(), _Customer_partnerCompanyId = new WeakMap(), _Customer_addressLine1 = new WeakMap(), _Customer_addressLine2 = new WeakMap(), _Customer_zip = new WeakMap(), _Customer_city = new WeakMap(), _Customer_countryCode = new WeakMap(), _Customer_state = new WeakMap(), _Customer_receptionPhone = new WeakMap(), _Customer_websiteUrl = new WeakMap(), _Customer_emailContact = new WeakMap(), _Customer_headcount = new WeakMap(), _Customer_taxNumber = new WeakMap(), _Customer_ref = new WeakMap(), _Customer_registrationNumber = new WeakMap(), _Customer_billingId = new WeakMap(), _Customer_billingAddress1 = new WeakMap(), _Customer_billingAddress2 = new WeakMap(), _Customer_billingCity = new WeakMap(), _Customer_billingState = new WeakMap(), _Customer_billingZipCode = new WeakMap(), _Customer_billingCountryCode = new WeakMap(), _Customer_adminNote = new WeakMap(), _Customer_isr = new WeakMap(), _Customer_fsr = new WeakMap(), _Customer_poNumberMandatory = new WeakMap(), _Customer_type = new WeakMap(), _Customer_internalReference = new WeakMap(), _Customer_contact = new WeakMap(), _Customer_deletedAt = new WeakMap(), _Customer_details = new WeakMap(), _Customer_extraInformation = new WeakMap(), _Customer_organisationUnit = new WeakMap(), _Customer_reseller = new WeakMap(), _Customer_partnerTags = new WeakMap();
|
|
313
|
+
_Customer_reference = new WeakMap(), _Customer_workgroupCode = new WeakMap(), _Customer_companyName = new WeakMap(), _Customer_partnerCompanyId = new WeakMap(), _Customer_addressLine1 = new WeakMap(), _Customer_addressLine2 = new WeakMap(), _Customer_zip = new WeakMap(), _Customer_city = new WeakMap(), _Customer_countryCode = new WeakMap(), _Customer_state = new WeakMap(), _Customer_receptionPhone = new WeakMap(), _Customer_websiteUrl = new WeakMap(), _Customer_emailContact = new WeakMap(), _Customer_headcount = new WeakMap(), _Customer_taxNumber = new WeakMap(), _Customer_ref = new WeakMap(), _Customer_registrationNumber = new WeakMap(), _Customer_billingId = new WeakMap(), _Customer_billingAddress1 = new WeakMap(), _Customer_billingAddress2 = new WeakMap(), _Customer_billingCity = new WeakMap(), _Customer_billingState = new WeakMap(), _Customer_billingZipCode = new WeakMap(), _Customer_billingCountryCode = new WeakMap(), _Customer_adminNote = new WeakMap(), _Customer_isr = new WeakMap(), _Customer_fsr = new WeakMap(), _Customer_poNumberMandatory = new WeakMap(), _Customer_type = new WeakMap(), _Customer_internalReference = new WeakMap(), _Customer_contact = new WeakMap(), _Customer_deletedAt = new WeakMap(), _Customer_xacResellerId = new WeakMap(), _Customer_xacEndCustomerId = new WeakMap(), _Customer_details = new WeakMap(), _Customer_extraInformation = new WeakMap(), _Customer_organisationUnit = new WeakMap(), _Customer_reseller = new WeakMap(), _Customer_partnerTags = new WeakMap();
|
|
300
314
|
//# sourceMappingURL=customer.js.map
|
|
@@ -33,5 +33,4 @@ __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);
|
|
37
36
|
//# sourceMappingURL=index.js.map
|
|
@@ -2,7 +2,6 @@ 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';
|
|
6
5
|
export declare type EavType = {
|
|
7
6
|
value?: string;
|
|
8
7
|
};
|
|
@@ -11,13 +10,9 @@ export declare type QuoteType = {
|
|
|
11
10
|
arrowCompany?: ArrowCompanyType;
|
|
12
11
|
commitmentAmountTotal?: number;
|
|
13
12
|
createdAt?: string;
|
|
14
|
-
comments?: Comment;
|
|
15
|
-
dateBegin?: string;
|
|
16
|
-
dateEnd?: string;
|
|
17
13
|
endCustomer?: EndCustomerType;
|
|
18
14
|
endCustomerContact?: ContactsType;
|
|
19
15
|
items?: QuoteItemType[];
|
|
20
|
-
name?: string;
|
|
21
16
|
partner?: PartnerType;
|
|
22
17
|
versions?: QuoteVersion[];
|
|
23
18
|
promotionCode?: string;
|
|
@@ -35,7 +30,6 @@ export declare type QuoteItemType = {
|
|
|
35
30
|
reference?: string;
|
|
36
31
|
vendorName?: string;
|
|
37
32
|
vendorNamesSerialized?: string;
|
|
38
|
-
version?: QuoteVersion;
|
|
39
33
|
};
|
|
40
34
|
export declare type ItemData = {
|
|
41
35
|
id?: string;
|
|
@@ -56,7 +50,7 @@ export declare type ItemData = {
|
|
|
56
50
|
billingCycle?: number;
|
|
57
51
|
arrowRateValue?: number;
|
|
58
52
|
partnerRateValue?: number;
|
|
59
|
-
arrowSpherePriceBandSku?:
|
|
53
|
+
arrowSpherePriceBandSku?: number;
|
|
60
54
|
licenseAgreementType?: string;
|
|
61
55
|
classification?: string;
|
|
62
56
|
mainLogoUrl?: string;
|
|
@@ -16,7 +16,6 @@ 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';
|
|
20
19
|
export declare type PartnertagSchema = Schema<PartnertagType, boolean>;
|
|
21
20
|
declare type MissingFieldsOfCompanySchema = {
|
|
22
21
|
contacts?: ContactsSchema;
|
|
@@ -59,7 +58,6 @@ declare type MissingFieldsOfLicenseBudgetSchema = {
|
|
|
59
58
|
declare type MissingFieldsOfQuoteSchema = {
|
|
60
59
|
arrowCompany?: ArrowCompanySchema;
|
|
61
60
|
endCustomer?: EndCustomerSchema;
|
|
62
|
-
comments?: CommentSchema;
|
|
63
61
|
items?: QuoteItemSchema;
|
|
64
62
|
partner?: PartnerSchema;
|
|
65
63
|
versions?: QuoteVersionSchema;
|
|
@@ -68,14 +66,12 @@ declare type MissingFieldsOfQuoteSchema = {
|
|
|
68
66
|
declare type MissingFieldsOfQuoteItemSchema = {
|
|
69
67
|
program?: GraphqlApiProgramSchema;
|
|
70
68
|
itemData?: ItemDataSchema;
|
|
71
|
-
version?: QuoteVersionSchema;
|
|
72
|
-
};
|
|
73
|
-
declare type MissingFieldsOfCommentSchema = {
|
|
74
|
-
user?: UserSchema;
|
|
75
69
|
};
|
|
76
70
|
export declare type QuoteItemSchema = Merge<Schema<QuoteItemType, boolean>, MissingFieldsOfQuoteItemSchema>;
|
|
77
|
-
export declare type
|
|
78
|
-
|
|
71
|
+
export declare type QuoteVersionSchema = Merge<Schema<QuoteVersion, boolean>, MissingFieldsOfQuoteVersionSchema>;
|
|
72
|
+
declare type MissingFieldsOfQuoteVersionSchema = {
|
|
73
|
+
items?: QuoteItemSchema;
|
|
74
|
+
};
|
|
79
75
|
declare type MissingFieldsOfCountrySchema = {
|
|
80
76
|
continent?: ContinentSchema;
|
|
81
77
|
};
|
package/package.json
CHANGED