@arrowsphere/api-client 3.396.0 → 3.397.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,13 @@
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.397.0] - 2026.09.02
7
+ ### Added
8
+ - [graphql-api] Add `GraphqlApiOrderSoftwareType` with full fields: `totalAmountEnded`, `totalAmountUnit`, `createdDate`, `customName`, `dateBegin`, `dateEnd`, `dateLastModified`, `dateSent`, `dateValidation`, `totalQuantity`, `totalUnit`, `sumTotalUnit`, `discountRatio`, `comments`, `aggregatorErpNo`, `customerPo`, `endUserCompany`, `status`, `taxes`, `report`, and `subscription`
9
+ - [graphql-api] Add `GraphqlApiOrderSoftwareStatusType` entity
10
+ - [graphql-api] Add `GraphqlApiTaxType` entity with `id`, `name`, `rate`, `amount`, `stateReg`, `since`, `until`, `country`, and `currency` fields
11
+ - [graphql-api] Add `orderIdText` and `partnerIdText` fields to `SubscriptionType`
12
+
6
13
  ## [3.396.0] - 2026.09.01
7
14
  ### Added
8
15
  - [graphql-api] Add `orderSoftwareHistory` type support for independent querying
@@ -30,3 +30,4 @@ export * from './types/entities/supportLevel';
30
30
  export * from './types/entities/customFieldKey';
31
31
  export * from './types/entities/customFieldValue';
32
32
  export * from './types/entities/partnerCatalogItem';
33
+ export * from './types/entities/tax';
@@ -46,4 +46,5 @@ __exportStar(require("./types/entities/supportLevel"), exports);
46
46
  __exportStar(require("./types/entities/customFieldKey"), exports);
47
47
  __exportStar(require("./types/entities/customFieldValue"), exports);
48
48
  __exportStar(require("./types/entities/partnerCatalogItem"), exports);
49
+ __exportStar(require("./types/entities/tax"), exports);
49
50
  //# sourceMappingURL=index.js.map
@@ -18,6 +18,7 @@ export declare type BaseCompanyType = {
18
18
  address2?: string;
19
19
  billingId?: string;
20
20
  city?: string;
21
+ country?: CountryType;
21
22
  contacts?: ContactsType[];
22
23
  createdAt?: string;
23
24
  deletedAt?: string;
@@ -1,10 +1,15 @@
1
+ import { Comment } from './comment';
1
2
  import { ArrowCompanyType, EndCustomerType, PartnerType } from './company';
2
3
  import { ContactsType } from './contact';
3
4
  import { GraphqlApiContributorType } from './contributor';
5
+ import { CurrencyType } from './currency';
4
6
  import { GraphqlApiEavType } from './eav';
5
7
  import { GraphqlApiProgramType } from './program';
6
8
  import { ItemData, QuoteType } from './quote';
9
+ import { GraphqlApiReportType } from './report';
7
10
  import { SpecialPriceRateType } from './specialPriceRate';
11
+ import { SubscriptionType } from './subscription';
12
+ import { GraphqlApiTaxType } from './tax';
8
13
  import { GraphqlApiUnitType } from './unit';
9
14
  import { UserType } from './user';
10
15
  export declare type OrdersType = {
@@ -50,7 +55,32 @@ export declare type GraphqlApiOrderSoftwareType = {
50
55
  id?: number;
51
56
  customerId?: number;
52
57
  totalAmount?: number;
58
+ totalAmountEnded?: number;
59
+ totalAmountUnit?: CurrencyType;
53
60
  unit?: GraphqlApiUnitType;
61
+ createdDate?: string;
62
+ customName?: string;
63
+ dateBegin?: string;
64
+ dateEnd?: string;
65
+ dateLastModified?: string;
66
+ dateSent?: string;
67
+ dateValidation?: string;
68
+ totalQuantity?: number;
69
+ totalUnit?: CurrencyType;
70
+ sumTotalUnit?: CurrencyType;
71
+ discountRatio?: number;
72
+ comments?: Comment[];
73
+ aggregatorErpNo?: string;
74
+ customerPo?: string;
75
+ endUserCompany?: PartnerType;
76
+ status?: GraphqlApiOrderSoftwareStatusType;
77
+ taxes?: GraphqlApiTaxType[];
78
+ report?: GraphqlApiReportType;
79
+ subscription?: SubscriptionType;
80
+ };
81
+ export declare type GraphqlApiOrderSoftwareStatusType = {
82
+ id?: number;
83
+ name?: string;
54
84
  };
55
85
  export declare type GraphqlApiOrderStatusType = {
56
86
  id?: number;
@@ -14,8 +14,10 @@ export declare type SubscriptionType = {
14
14
  level?: GraphqlApiProgramLevelType;
15
15
  localContact?: ContactsType;
16
16
  orderId?: string;
17
+ orderIdText?: string;
17
18
  partnerContact?: ContactsType;
18
19
  partnerId?: string;
20
+ partnerIdText?: string;
19
21
  program?: GraphqlApiProgramType;
20
22
  startedAt?: string;
21
23
  userNote?: string;
@@ -0,0 +1,13 @@
1
+ import { CountryType } from './country';
2
+ import { CurrencyType } from './currency';
3
+ export declare type GraphqlApiTaxType = {
4
+ id?: number;
5
+ name?: string;
6
+ rate?: number;
7
+ amount?: number;
8
+ stateReg?: string;
9
+ since?: string;
10
+ until?: string;
11
+ country?: CountryType;
12
+ currency?: CurrencyType;
13
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=tax.js.map
@@ -3,7 +3,7 @@ import { ContactsType } from './entities/contact';
3
3
  import { GraphqlApiStaffType } from './entities/contributor';
4
4
  import { ContinentType, CountryType } from './entities/country';
5
5
  import { LicenseBudgetType } from './entities/licenseBudget';
6
- import { GraphqlApiOrderHistoryType, GraphqlApiOrderListType, GraphqlApiOrderSoftwareHistoryType, OrdersType } from './entities/order';
6
+ import { GraphqlApiOrderHistoryType, GraphqlApiOrderListType, GraphqlApiOrderSoftwareHistoryType, GraphqlApiOrderSoftwareType, OrdersType } from './entities/order';
7
7
  import { OrganizationUnitsType } from './entities/organizationUnit';
8
8
  import { PartnertagType } from './entities/partnertag';
9
9
  import { GraphqlApiProgramType, ProgramLevelOptionGroupType, ProgramLevelType, SubscribedProgramType } from './entities/program';
@@ -139,6 +139,7 @@ export declare enum SelectDataField {
139
139
  ORDER_HISTORY = "orderHistory",
140
140
  ORDER_LIST = "orderList",
141
141
  ORDER_SOFTWARE_HISTORY = "orderSoftwareHistory",
142
+ ORDER_SOFTWARE = "orderSoftware",
142
143
  PARTNER = "partner",
143
144
  PARTNERTAG = "partnertag",
144
145
  PROGRAM = "program",
@@ -186,6 +187,7 @@ export declare type SelectAllResponseDataType = {
186
187
  [SelectDataField.ORDER_HISTORY]?: GraphqlApiOrderHistoryType[];
187
188
  [SelectDataField.ORDER_LIST]?: GraphqlApiOrderListType[];
188
189
  [SelectDataField.ORDER_SOFTWARE_HISTORY]?: GraphqlApiOrderSoftwareHistoryType[];
190
+ [SelectDataField.ORDER_SOFTWARE]?: GraphqlApiOrderSoftwareType[];
189
191
  [SelectDataField.PARTNER]?: PartnerType[];
190
192
  [SelectDataField.PARTNERTAG]?: PartnertagType[];
191
193
  [SelectDataField.PROGRAM]?: GraphqlApiProgramType[];
@@ -275,6 +277,7 @@ export declare type SelectOneResponseDataType = {
275
277
  [SelectDataField.ORDER]?: OrdersType;
276
278
  [SelectDataField.ORDER_HISTORY]?: GraphqlApiOrderHistoryType;
277
279
  [SelectDataField.ORDER_SOFTWARE_HISTORY]?: GraphqlApiOrderSoftwareHistoryType;
280
+ [SelectDataField.ORDER_SOFTWARE]?: GraphqlApiOrderSoftwareType;
278
281
  [SelectDataField.PARTNER]?: PartnerType;
279
282
  [SelectDataField.PARTNERTAG]?: PartnertagType;
280
283
  [SelectDataField.PROGRAM]?: GraphqlApiProgramType;
@@ -105,6 +105,7 @@ var SelectDataField;
105
105
  SelectDataField["ORDER_HISTORY"] = "orderHistory";
106
106
  SelectDataField["ORDER_LIST"] = "orderList";
107
107
  SelectDataField["ORDER_SOFTWARE_HISTORY"] = "orderSoftwareHistory";
108
+ SelectDataField["ORDER_SOFTWARE"] = "orderSoftware";
108
109
  SelectDataField["PARTNER"] = "partner";
109
110
  SelectDataField["PARTNERTAG"] = "partnertag";
110
111
  SelectDataField["PROGRAM"] = "program";
@@ -7,7 +7,7 @@ import { ErrorsType, PageType, Queries, SelectDataField, SelectableField } from
7
7
  import { ContactsType } from './entities/contact';
8
8
  import { SubscriptionType } from './entities/subscription';
9
9
  import { SpecialPriceRateType } from './entities/specialPriceRate';
10
- import { GraphqlApiOrderHistoryType, GraphqlApiOrderLinkType, GraphqlApiOrderListType, GraphqlApiOrderSoftwareHistoryType, OrderItemsType, OrdersType } from './entities/order';
10
+ import { GraphqlApiOrderHistoryType, GraphqlApiOrderLinkType, GraphqlApiOrderListType, GraphqlApiOrderSoftwareHistoryType, GraphqlApiOrderSoftwareType, GraphqlApiOrderSoftwareStatusType, OrderItemsType, OrdersType } from './entities/order';
11
11
  import { GraphqlApiProgramType, ProgramBenefitType, ProgramLevelType, ProgramRequirementType, ProgramLevelOptionGroupType, ProgramLevelOptionType, SubscribedProgramType, SubscriptionExtraFieldType } from './entities/program';
12
12
  import { LicenseBudgetNotificationType, LicenseBudgetType } from './entities/licenseBudget';
13
13
  import { UserHistoryType, UserType } from './entities/user';
@@ -26,6 +26,8 @@ import { GraphqlApiContributorRoleType, GraphqlApiStaffType } from './entities/c
26
26
  import { AttributesParameters } from '../../catalog';
27
27
  import { CustomFieldValueType } from './entities/customFieldValue';
28
28
  import { CustomFieldKeyType } from './entities/customFieldKey';
29
+ import { GraphqlApiTaxType } from './entities/tax';
30
+ import { GraphqlApiUnitType } from './entities/unit';
29
31
  export declare type PartnertagSchema = Schema<PartnertagType, boolean>;
30
32
  declare type MissingFieldsOfCompanySchema = {
31
33
  contacts?: ContactsSchema;
@@ -169,6 +171,22 @@ declare type MissingFieldsOfPartnerCatalogItemSchema = {
169
171
  export declare type PartnerCatalogItemSchema = Merge<Schema<PartnerCatalogItemType, boolean>, MissingFieldsOfPartnerCatalogItemSchema>;
170
172
  export declare type CustomFieldValueSchema = Schema<CustomFieldValueType, boolean>;
171
173
  export declare type CustomFieldKeySchema = Schema<CustomFieldKeyType, boolean>;
174
+ export declare type GraphqlApiTaxSchema = Schema<GraphqlApiTaxType, boolean>;
175
+ declare type MissingFieldsOfOrderSoftwareSchema = {
176
+ endUserCompany?: PartnerSchema;
177
+ report?: ReportSchema;
178
+ status?: OrderSoftwareStatusSchema;
179
+ subscription?: SubscriptionSchema;
180
+ taxes?: GraphqlApiTaxSchema;
181
+ totalAmountUnit?: CurrencySchema;
182
+ totalUnit?: CurrencySchema;
183
+ sumTotalUnit?: CurrencySchema;
184
+ unit?: UnitSchema;
185
+ comments?: CommentSchema;
186
+ };
187
+ export declare type OrderSoftwareSchema = Merge<Schema<GraphqlApiOrderSoftwareType, boolean>, MissingFieldsOfOrderSoftwareSchema>;
188
+ export declare type OrderSoftwareStatusSchema = Schema<GraphqlApiOrderSoftwareStatusType, boolean>;
189
+ export declare type UnitSchema = Schema<GraphqlApiUnitType, boolean>;
172
190
  export declare type ExportResultSchema = {
173
191
  [SelectableField.DATA]?: SelectAllResponseDataSchema;
174
192
  [SelectableField.ERRORS]?: ErrorsSchema;
@@ -191,6 +209,7 @@ export declare type SelectAllResponseDataSchema = {
191
209
  [SelectDataField.ORDER]?: OrdersSchema;
192
210
  [SelectDataField.ORDER_HISTORY]?: GraphqlApiOrderHistoryType;
193
211
  [SelectDataField.ORDER_SOFTWARE_HISTORY]?: GraphqlApiOrderSoftwareHistorySchema;
212
+ [SelectDataField.ORDER_SOFTWARE]?: OrderSoftwareSchema;
194
213
  [SelectDataField.PARTNER]?: PartnerSchema;
195
214
  [SelectDataField.PARTNERTAG]?: PartnertagSchema;
196
215
  [SelectDataField.PROGRAM]?: GraphqlApiProgramSchema;
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.396.0",
7
+ "version": "3.397.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",