@arrowsphere/api-client 3.129.0 → 3.130.0-rc.sba.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.130.0] - 2024.08.06
|
|
7
|
+
|
|
8
|
+
### Added
|
|
9
|
+
- [quotes] Add buyPrice and sellPrice in ItemData
|
|
10
|
+
|
|
6
11
|
## [3.129.0] - 2024.08.05
|
|
7
12
|
|
|
8
13
|
### Added
|
|
@@ -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,11 +12,13 @@ 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;
|
|
@@ -30,6 +33,8 @@ export declare type ItemData = {
|
|
|
30
33
|
id?: string;
|
|
31
34
|
offerName?: string;
|
|
32
35
|
publicPrice?: number;
|
|
36
|
+
buyPrice?: number;
|
|
37
|
+
sellPrice?: number;
|
|
33
38
|
currency?: string;
|
|
34
39
|
arrowRateType?: string;
|
|
35
40
|
partnerRateType?: 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;
|
|
@@ -59,12 +60,18 @@ declare type MissingFieldsOfQuoteSchema = {
|
|
|
59
60
|
endCustomer?: EndCustomerSchema;
|
|
60
61
|
items?: QuoteItemSchema;
|
|
61
62
|
partner?: PartnerSchema;
|
|
63
|
+
versions?: QuoteVersionSchema;
|
|
64
|
+
lastVersion?: QuoteVersionSchema;
|
|
62
65
|
};
|
|
63
66
|
declare type MissingFieldsOfQuoteItemSchema = {
|
|
64
67
|
program?: LicenseBudgetNotificationSchema;
|
|
65
68
|
itemData?: ItemDataSchema;
|
|
66
69
|
};
|
|
67
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;
|
|
74
|
+
};
|
|
68
75
|
export declare type ItemDataSchema = Schema<ItemData, boolean>;
|
|
69
76
|
export declare type QuoteSchema = Merge<Schema<QuoteType, boolean>, MissingFieldsOfQuoteSchema>;
|
|
70
77
|
export declare type ContactsSchema = Merge<Schema<ContactsType, boolean>, MissingFieldsOfContactSchema>;
|
package/package.json
CHANGED