@arrowsphere/api-client 3.130.0 → 3.131.0-rc.sba.2
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/graphqlApi/index.d.ts +1 -0
- package/build/graphqlApi/index.js +1 -0
- package/build/graphqlApi/types/entities/company.d.ts +1 -0
- package/build/graphqlApi/types/entities/quote.d.ts +4 -1
- package/build/graphqlApi/types/entities/quoteVersion.d.ts +8 -0
- package/build/graphqlApi/types/entities/quoteVersion.js +3 -0
- package/build/graphqlApi/types/graphqlApiSchemas.d.ts +12 -1
- package/build/licenses/entities/findResult.d.ts +6 -5
- package/package.json +1 -1
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.131.0] - 2024.08.06
|
|
7
|
+
|
|
8
|
+
### Added
|
|
9
|
+
- [licences] Add FindResultItem type
|
|
10
|
+
|
|
6
11
|
## [3.130.0] - 2024.08.06
|
|
7
12
|
|
|
8
13
|
### Added
|
|
@@ -32,4 +32,5 @@ __exportStar(require("./types/entities/user"), exports);
|
|
|
32
32
|
__exportStar(require("./types/entities/vendor"), exports);
|
|
33
33
|
__exportStar(require("./types/entities/workgroup"), exports);
|
|
34
34
|
__exportStar(require("./graphqlApiClient"), exports);
|
|
35
|
+
__exportStar(require("./types/entities/quoteVersion"), exports);
|
|
35
36
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ArrowCompanyType, EndCustomerType, PartnerType } from './company';
|
|
2
2
|
import { GraphqlApiProgramType } from './program';
|
|
3
|
+
import { QuoteVersion } from './quoteVersion';
|
|
3
4
|
export declare type EavType = {
|
|
4
5
|
value?: string;
|
|
5
6
|
};
|
|
@@ -11,20 +12,22 @@ export declare type QuoteType = {
|
|
|
11
12
|
endCustomer?: EndCustomerType;
|
|
12
13
|
items?: QuoteItemType[];
|
|
13
14
|
partner?: PartnerType;
|
|
15
|
+
versions?: QuoteVersion[];
|
|
14
16
|
promotionCode?: string;
|
|
15
17
|
reference?: string;
|
|
16
18
|
status?: string;
|
|
17
19
|
totalRecurringPrice?: number;
|
|
18
20
|
updatedAt?: string;
|
|
21
|
+
lastVersion?: QuoteVersion;
|
|
19
22
|
};
|
|
20
23
|
export declare type QuoteItemType = {
|
|
21
24
|
id?: number;
|
|
25
|
+
itemData?: ItemData;
|
|
22
26
|
name?: string;
|
|
23
27
|
program?: GraphqlApiProgramType;
|
|
24
28
|
reference?: string;
|
|
25
29
|
vendorName?: string;
|
|
26
30
|
vendorNamesSerialized?: string;
|
|
27
|
-
itemData?: ItemData;
|
|
28
31
|
};
|
|
29
32
|
export declare type ItemData = {
|
|
30
33
|
id?: string;
|
|
@@ -16,6 +16,7 @@ import { UserHistoryType, UserType } from './entities/user';
|
|
|
16
16
|
import { OrganizationUnitsType } from './entities/organizationUnit';
|
|
17
17
|
import { CurrencyType } from './entities/currency';
|
|
18
18
|
import { ItemData, QuoteItemType, QuoteType } from './entities/quote';
|
|
19
|
+
import { QuoteVersion } from './entities/quoteVersion';
|
|
19
20
|
export declare type PartnertagSchema = Schema<PartnertagType, boolean>;
|
|
20
21
|
declare type MissingFieldsOfCompanySchema = {
|
|
21
22
|
contacts?: ContactsSchema;
|
|
@@ -37,6 +38,7 @@ declare type MissingFieldsOfEndCustomerSchema = {
|
|
|
37
38
|
orders?: OrdersSchema;
|
|
38
39
|
partnerTags?: PartnertagSchema;
|
|
39
40
|
partner?: PartnerSchema;
|
|
41
|
+
country?: CountrySchema;
|
|
40
42
|
};
|
|
41
43
|
declare type MissingFieldsOfOrderItemSchema = {
|
|
42
44
|
priceRates?: SpecialPriceRateSchema;
|
|
@@ -59,12 +61,21 @@ declare type MissingFieldsOfQuoteSchema = {
|
|
|
59
61
|
endCustomer?: EndCustomerSchema;
|
|
60
62
|
items?: QuoteItemSchema;
|
|
61
63
|
partner?: PartnerSchema;
|
|
64
|
+
versions?: QuoteVersionSchema;
|
|
65
|
+
lastVersion?: QuoteVersionSchema;
|
|
62
66
|
};
|
|
63
67
|
declare type MissingFieldsOfQuoteItemSchema = {
|
|
64
68
|
program?: LicenseBudgetNotificationSchema;
|
|
65
69
|
itemData?: ItemDataSchema;
|
|
66
70
|
};
|
|
67
71
|
export declare type QuoteItemSchema = Merge<Schema<QuoteItemType, boolean>, MissingFieldsOfQuoteItemSchema>;
|
|
72
|
+
export declare type QuoteVersionSchema = Merge<Schema<QuoteVersion, boolean>, MissingFieldsOfQuoteVersionSchema>;
|
|
73
|
+
declare type MissingFieldsOfQuoteVersionSchema = {
|
|
74
|
+
items?: QuoteItemSchema;
|
|
75
|
+
};
|
|
76
|
+
declare type MissingFieldsOfCountrySchema = {
|
|
77
|
+
continent?: ContinentSchema;
|
|
78
|
+
};
|
|
68
79
|
export declare type ItemDataSchema = Schema<ItemData, boolean>;
|
|
69
80
|
export declare type QuoteSchema = Merge<Schema<QuoteType, boolean>, MissingFieldsOfQuoteSchema>;
|
|
70
81
|
export declare type ContactsSchema = Merge<Schema<ContactsType, boolean>, MissingFieldsOfContactSchema>;
|
|
@@ -77,7 +88,7 @@ export declare type PartnerSchema = Merge<Schema<PartnerType, boolean>, MissingF
|
|
|
77
88
|
export declare type ArrowCompanySchema = Merge<Schema<ArrowCompanyType, boolean>, MissingFieldsOfArrowCompanySchema>;
|
|
78
89
|
export declare type CompanyExtraInformationSchema = Schema<CompanyExtraInformation, boolean>;
|
|
79
90
|
export declare type ContinentSchema = Schema<ContinentType, boolean>;
|
|
80
|
-
export declare type CountrySchema = Schema<CountryType, boolean>;
|
|
91
|
+
export declare type CountrySchema = Merge<Schema<CountryType, boolean>, MissingFieldsOfCountrySchema>;
|
|
81
92
|
export declare type CurrencySchema = Schema<CurrencyType, boolean>;
|
|
82
93
|
export declare type ErrorsSchema = Schema<ErrorsType, boolean>;
|
|
83
94
|
export declare type LicenseBudgetNotificationSchema = Schema<LicenseBudgetNotificationType, boolean>;
|
|
@@ -5,17 +5,18 @@ import { LicensesClient, LicenseFindRawPayload } from '../licensesClient';
|
|
|
5
5
|
import { OfferFindResultData } from './offer/offerFindResult';
|
|
6
6
|
import { Parameters } from '../../abstractRestfulClient';
|
|
7
7
|
import { EndCustomerOrganizationUnitFindResultType } from './endCustomerOrganizationUnit/endCustomerOrganizationUnitFindResult';
|
|
8
|
+
export declare type FindResultItem = {
|
|
9
|
+
license: LicenseFindResultData;
|
|
10
|
+
offer?: OfferFindResultData;
|
|
11
|
+
endCustomerOrganizationUnit?: EndCustomerOrganizationUnitFindResultType;
|
|
12
|
+
};
|
|
8
13
|
export declare type FindData = {
|
|
9
14
|
pagination: {
|
|
10
15
|
currentPage: number;
|
|
11
16
|
totalPage: number;
|
|
12
17
|
total: number;
|
|
13
18
|
};
|
|
14
|
-
results: Array<
|
|
15
|
-
license: LicenseFindResultData;
|
|
16
|
-
offer?: OfferFindResultData;
|
|
17
|
-
endCustomerOrganizationUnit?: EndCustomerOrganizationUnitFindResultType;
|
|
18
|
-
}>;
|
|
19
|
+
results: Array<FindResultItem>;
|
|
19
20
|
filters: Array<FilterFindResultData>;
|
|
20
21
|
};
|
|
21
22
|
export declare type FindResultData = {
|
package/package.json
CHANGED