@arrowsphere/api-client 3.178.0-rc-bdj-1 → 3.178.0-rc-bdj-3

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,9 +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.177.1] - 2025.03.04
7
+
8
+ ### Added
9
+ - [graphql-api] add field quantityCount to GraphqlApiReportType
10
+
6
11
  ## [3.177.0] - 2025.02.25
7
12
 
8
- ### Addes
13
+ ### Added
9
14
  - [customers] add endpoint to delete customer
10
15
  - [customers] add endpoint to reconciliate customers
11
16
  - [graphql-api] add fields ordersCount, organizationUnit, reportsCount to EndCustomerType
@@ -12,7 +12,7 @@ export declare type CompanyTypeType = {
12
12
  id?: number;
13
13
  type?: string;
14
14
  };
15
- declare type BaseCompanyType = {
15
+ export declare type BaseCompanyType = {
16
16
  acronym?: string;
17
17
  address1?: string;
18
18
  address2?: string;
@@ -64,6 +64,7 @@ export declare type PartnerType = BaseCompanyType & {
64
64
  ordersCount?: CountableType;
65
65
  ordersNeedCount?: CountableType;
66
66
  ordersSaasCount?: CountableType;
67
+ organizationUnits?: OrganizationUnitsType[];
67
68
  reportsCount?: CountableType;
68
69
  subscribedPrograms?: SubscribedProgramType[];
69
70
  subscriptions?: SubscriptionType[];
@@ -73,4 +74,3 @@ export declare type PartnerType = BaseCompanyType & {
73
74
  export declare type ArrowCompanyType = Omit<BaseCompanyType, 'partnerTags'> & {
74
75
  subscriptions?: SubscriptionType[];
75
76
  };
76
- export {};
@@ -1,4 +1,10 @@
1
+ import { EndCustomerType } from './company';
2
+ import { ContactsType } from './contact';
1
3
  export declare type OrganizationUnitsType = {
2
4
  id?: number;
5
+ contacts?: ContactsType[];
6
+ endCustomer?: EndCustomerType;
7
+ endCustomersCount?: number;
3
8
  name?: string;
9
+ usersCounts?: number;
4
10
  };
@@ -12,6 +12,7 @@ export declare type GraphqlApiReportType = {
12
12
  subscription?: SubscriptionType;
13
13
  totalAmount?: number;
14
14
  userNote?: string;
15
+ quantityCount?: number;
15
16
  quantitySum?: CountableType;
16
17
  order?: GraphqlApiOrderSoftwareType;
17
18
  status?: GraphqlApiReportStatusType;
@@ -1,5 +1,5 @@
1
1
  import { Merge, Schema } from 'type-fest';
2
- import { ArrowCompanyType, CompanyExtraInformation, EndCustomerType, PartnerType } from './entities/company';
2
+ import { ArrowCompanyType, BaseCompanyType, CompanyExtraInformation, EndCustomerType, PartnerType } from './entities/company';
3
3
  import { PartnertagType } from './entities/partnertag';
4
4
  import { ContinentType, CountryType } from './entities/country';
5
5
  import { WorkgroupType } from './entities/workgroup';
@@ -23,6 +23,7 @@ declare type MissingFieldsOfCompanySchema = {
23
23
  currency?: CurrencySchema;
24
24
  extraInformations?: CompanyExtraInformationSchema;
25
25
  orders?: OrdersSchema;
26
+ organizationUnits?: OrganizationUnitSchema;
26
27
  partnerTags?: PartnertagSchema;
27
28
  subscribedPrograms?: SubscribedProgramSchema;
28
29
  subscriptions?: SubscriptionSchema;
@@ -47,6 +48,7 @@ declare type MissingFieldsOfOrdersSchema = {
47
48
  items?: OrderItemsSchema;
48
49
  };
49
50
  declare type MissingFieldsOfContactSchema = {
51
+ companies?: BaseCompanySchema;
50
52
  organizationUnits?: OrganizationUnitSchema;
51
53
  };
52
54
  declare type MissingFieldsOfUserSchema = {
@@ -100,6 +102,7 @@ export declare type CountrySchema = Merge<Schema<CountryType, boolean>, MissingF
100
102
  export declare type CurrencySchema = Schema<CurrencyType, boolean>;
101
103
  export declare type ErrorsSchema = Schema<ErrorsType, boolean>;
102
104
  export declare type LicenseBudgetNotificationSchema = Schema<LicenseBudgetNotificationType, boolean>;
105
+ export declare type BaseCompanySchema = Schema<BaseCompanyType, boolean>;
103
106
  export declare type OrganizationUnitSchema = Schema<OrganizationUnitsType, boolean>;
104
107
  export declare type PageSchema = Schema<PageType, boolean>;
105
108
  export declare type ProgramBenefitSchema = Schema<ProgramBenefitType, boolean>;
@@ -134,6 +137,7 @@ export declare type SelectAllResultSchema = {
134
137
  };
135
138
  export declare type SelectAllResponseDataSchema = {
136
139
  [SelectDataField.ARROW_COMPANY]?: ArrowCompanySchema;
140
+ [SelectDataField.CONTACT]?: ContactsSchema;
137
141
  [SelectDataField.CONTINENT]?: ContinentSchema;
138
142
  [SelectDataField.COUNTRY]?: CountrySchema;
139
143
  [SelectDataField.END_CUSTOMER]?: EndCustomerSchema;
@@ -155,24 +159,7 @@ export declare type SelectOneResultSchema = {
155
159
  [SelectableField.DATA]?: SelectOneResponseDataSchema;
156
160
  [SelectableField.ERRORS]?: ErrorsSchema;
157
161
  };
158
- export declare type SelectOneResponseDataSchema = {
159
- [SelectDataField.ARROW_COMPANY]?: ArrowCompanySchema;
160
- [SelectDataField.CONTINENT]?: ContinentSchema;
161
- [SelectDataField.COUNTRY]?: CountrySchema;
162
- [SelectDataField.END_CUSTOMER]?: EndCustomerSchema;
163
- [SelectDataField.LICENSE_BUDGET]?: LicenseBudgetSchema;
164
- [SelectDataField.PARTNER]?: PartnerSchema;
165
- [SelectDataField.PARTNERTAG]?: PartnertagSchema;
166
- [SelectDataField.PROGRAM]?: GraphqlApiProgramSchema;
167
- [SelectDataField.QUOTE]?: QuoteSchema;
168
- [SelectDataField.REPORT]?: ReportSchema;
169
- [SelectDataField.REPORT_STATUS]?: ReportStatusSchema;
170
- [SelectDataField.SUBSCRIBED_PROGRAM]?: SubscribedProgramSchema;
171
- [SelectDataField.SUBSCRIPTION]?: SubscriptionSchema;
172
- [SelectDataField.USER]?: UserSchema;
173
- [SelectDataField.USER_HISTORY]?: UserHistorySchema;
174
- [SelectDataField.WORKGROUP]?: WorkgroupSchema;
175
- };
162
+ export declare type SelectOneResponseDataSchema = SelectAllResponseDataSchema;
176
163
  export declare type SelectAllQuerySchema = {
177
164
  [Queries.SELECT_ALL]?: SelectAllResultSchema;
178
165
  };
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.178.0-rc-bdj-1",
7
+ "version": "3.178.0-rc-bdj-3",
8
8
  "description": "Node.js client for ArrowSphere's public API",
9
9
  "main": "build/index.js",
10
10
  "types": "build/index.d.ts",