@arrowsphere/api-client 3.182.0-rc-bdj-3 → 3.182.0-rc-bdj-4

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.
@@ -5,6 +5,7 @@ export * from './types/entities/company';
5
5
  export * from './types/entities/country';
6
6
  export * from './types/entities/currency';
7
7
  export * from './types/entities/disclaimer';
8
+ export * from './types/entities/eav';
8
9
  export * from './types/entities/licenseBudget';
9
10
  export * from './types/entities/order';
10
11
  export * from './types/entities/organizationUnit';
@@ -21,6 +21,7 @@ __exportStar(require("./types/entities/company"), exports);
21
21
  __exportStar(require("./types/entities/country"), exports);
22
22
  __exportStar(require("./types/entities/currency"), exports);
23
23
  __exportStar(require("./types/entities/disclaimer"), exports);
24
+ __exportStar(require("./types/entities/eav"), exports);
24
25
  __exportStar(require("./types/entities/licenseBudget"), exports);
25
26
  __exportStar(require("./types/entities/order"), exports);
26
27
  __exportStar(require("./types/entities/organizationUnit"), exports);
@@ -0,0 +1,7 @@
1
+ export declare type GraphqlApiEavType = {
2
+ id?: number;
3
+ name?: string;
4
+ resourceId?: number;
5
+ type?: string;
6
+ value?: string;
7
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=eav.js.map
@@ -1,30 +1,42 @@
1
1
  import { ArrowCompanyType, EndCustomerType, PartnerType } from './company';
2
2
  import { ContactsType } from './contact';
3
+ import { GraphqlApiEavType } from './eav';
3
4
  import { GraphqlApiProgramType } from './program';
4
- import { ItemData } from './quote';
5
+ import { ItemData, QuoteType } from './quote';
5
6
  import { SpecialPriceRateType } from './specialPriceRate';
6
7
  import { GraphqlApiUnitType } from './unit';
8
+ import { UserType } from './user';
7
9
  export declare type OrdersType = {
8
10
  id?: number;
9
11
  arrowCompany?: ArrowCompanyType;
10
12
  arrowContact?: ContactsType;
11
13
  commitmentAmountTotal?: number;
12
14
  createdAt?: string;
15
+ eavs?: GraphqlApiEavType[];
13
16
  endCustomer?: EndCustomerType;
14
17
  endCustomerContact?: ContactsType;
18
+ endCustomerPoNumber?: string;
19
+ fulfilledAt?: string;
15
20
  items?: OrderItemsType[];
16
21
  partner?: PartnerType;
17
22
  partnerContact?: ContactsType;
23
+ partnerPoNumber?: string;
18
24
  poNumber?: string;
25
+ quote?: QuoteType;
19
26
  reference?: string;
27
+ scheduledAt?: string;
20
28
  status?: GraphqlApiOrderStatusType;
21
29
  totalRecurringPrice?: number;
22
30
  updatedAt?: string;
31
+ uuid?: number;
23
32
  };
24
33
  export declare type OrderItemsType = {
25
34
  id?: number;
26
35
  itemData?: ItemData;
36
+ migratedFrom?: GraphqlApiOrderLinkType[];
37
+ migratedTo?: GraphqlApiOrderLinkType[];
27
38
  name?: string;
39
+ order?: OrdersType;
28
40
  priceRates?: SpecialPriceRateType[];
29
41
  program?: GraphqlApiProgramType;
30
42
  reference?: string;
@@ -40,3 +52,16 @@ export declare type GraphqlApiOrderStatusType = {
40
52
  id?: number;
41
53
  name?: string;
42
54
  };
55
+ export declare type GraphqlApiOrderLinkType = {
56
+ from?: OrderItemsType;
57
+ migratedAt?: string;
58
+ to?: OrderItemsType;
59
+ };
60
+ export declare type GraphqlApiOrderHistoryType = {
61
+ id?: number;
62
+ action?: string;
63
+ createdAt?: string;
64
+ description?: string;
65
+ order?: OrdersType;
66
+ user?: UserType;
67
+ };
@@ -2,7 +2,7 @@ import { ArrowCompanyType, EndCustomerType, PartnerType } from './entities/compa
2
2
  import { ContactsType } from './entities/contact';
3
3
  import { ContinentType, CountryType } from './entities/country';
4
4
  import { LicenseBudgetType } from './entities/licenseBudget';
5
- import { OrdersType } from './entities/order';
5
+ import { GraphqlApiOrderHistoryType, OrdersType } from './entities/order';
6
6
  import { OrganizationUnitsType } from './entities/organizationUnit';
7
7
  import { PartnertagType } from './entities/partnertag';
8
8
  import { GraphqlApiProgramType, ProgramLevelOptionGroupType, SubscribedProgramType } from './entities/program';
@@ -125,6 +125,7 @@ export declare enum SelectDataField {
125
125
  LICENSE_BUDGET = "licenseBudget",
126
126
  ORGANIZATION_UNIT = "organizationUnit",
127
127
  ORDER = "order",
128
+ ORDER_HISTORY = "orderHistory",
128
129
  PARTNER = "partner",
129
130
  PARTNERTAG = "partnertag",
130
131
  PROGRAM = "program",
@@ -155,6 +156,7 @@ export declare type SelectAllResponseDataType = {
155
156
  [SelectDataField.LICENSE_BUDGET]?: LicenseBudgetType[];
156
157
  [SelectDataField.ORGANIZATION_UNIT]?: OrganizationUnitsType[];
157
158
  [SelectDataField.ORDER]?: OrdersType[];
159
+ [SelectDataField.ORDER_HISTORY]?: GraphqlApiOrderHistoryType[];
158
160
  [SelectDataField.PARTNER]?: PartnerType[];
159
161
  [SelectDataField.PARTNERTAG]?: PartnertagType[];
160
162
  [SelectDataField.PROGRAM]?: GraphqlApiProgramType[];
@@ -234,6 +236,7 @@ export declare type SelectOneResponseDataType = {
234
236
  [SelectDataField.LICENSE_BUDGET]?: LicenseBudgetType;
235
237
  [SelectDataField.ORGANIZATION_UNIT]?: OrganizationUnitsType;
236
238
  [SelectDataField.ORDER]?: OrdersType;
239
+ [SelectDataField.ORDER_HISTORY]?: GraphqlApiOrderHistoryType;
237
240
  [SelectDataField.PARTNER]?: PartnerType;
238
241
  [SelectDataField.PARTNERTAG]?: PartnertagType;
239
242
  [SelectDataField.PROGRAM]?: GraphqlApiProgramType;
@@ -98,6 +98,7 @@ var SelectDataField;
98
98
  SelectDataField["LICENSE_BUDGET"] = "licenseBudget";
99
99
  SelectDataField["ORGANIZATION_UNIT"] = "organizationUnit";
100
100
  SelectDataField["ORDER"] = "order";
101
+ SelectDataField["ORDER_HISTORY"] = "orderHistory";
101
102
  SelectDataField["PARTNER"] = "partner";
102
103
  SelectDataField["PARTNERTAG"] = "partnertag";
103
104
  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 { OrderItemsType, OrdersType } from './entities/order';
10
+ import { GraphqlApiOrderHistoryType, GraphqlApiOrderLinkType, 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';
@@ -17,6 +17,7 @@ import { ItemData, QuoteItemType, QuoteType } from './entities/quote';
17
17
  import { QuoteVersion } from './entities/quoteVersion';
18
18
  import { Comment } from './entities/comment';
19
19
  import { GraphqlApiReportItemType, GraphqlApiReportStatusType, GraphqlApiReportType } from './entities/report';
20
+ import { GraphqlApiEavType } from './entities/eav';
20
21
  export declare type PartnertagSchema = Schema<PartnertagType, boolean>;
21
22
  declare type MissingFieldsOfCompanySchema = {
22
23
  contacts?: ContactsSchema;
@@ -42,9 +43,12 @@ declare type MissingFieldsOfEndCustomerSchema = {
42
43
  country?: CountrySchema;
43
44
  };
44
45
  declare type MissingFieldsOfOrderItemSchema = {
46
+ migratedFrom?: GraphqlApiOrderLinkSchema;
47
+ migratedTo?: GraphqlApiOrderLinkSchema;
45
48
  priceRates?: SpecialPriceRateSchema;
46
49
  };
47
50
  declare type MissingFieldsOfOrdersSchema = {
51
+ eavs?: GraphqlApiEavSchema;
48
52
  items?: OrderItemsSchema;
49
53
  };
50
54
  declare type MissingFieldsOfContactSchema = {
@@ -101,6 +105,9 @@ export declare type ContinentSchema = Schema<ContinentType, boolean>;
101
105
  export declare type CountrySchema = Merge<Schema<CountryType, boolean>, MissingFieldsOfCountrySchema>;
102
106
  export declare type CurrencySchema = Schema<CurrencyType, boolean>;
103
107
  export declare type ErrorsSchema = Schema<ErrorsType, boolean>;
108
+ export declare type GraphqlApiEavSchema = Schema<GraphqlApiEavType, boolean>;
109
+ export declare type GraphqlApiOrderHistorySchema = Schema<GraphqlApiOrderHistoryType, boolean>;
110
+ export declare type GraphqlApiOrderLinkSchema = Schema<GraphqlApiOrderLinkType, boolean>;
104
111
  export declare type LicenseBudgetNotificationSchema = Schema<LicenseBudgetNotificationType, boolean>;
105
112
  export declare type BaseCompanySchema = Schema<BaseCompanyType, boolean>;
106
113
  export declare type OrganizationUnitSchema = Schema<OrganizationUnitsType, boolean>;
@@ -144,6 +151,7 @@ export declare type SelectAllResponseDataSchema = {
144
151
  [SelectDataField.LICENSE_BUDGET]?: LicenseBudgetSchema;
145
152
  [SelectDataField.ORGANIZATION_UNIT]?: OrganizationUnitSchema;
146
153
  [SelectDataField.ORDER]?: OrdersSchema;
154
+ [SelectDataField.ORDER_HISTORY]?: GraphqlApiOrderHistoryType;
147
155
  [SelectDataField.PARTNER]?: PartnerSchema;
148
156
  [SelectDataField.PARTNERTAG]?: PartnertagSchema;
149
157
  [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.182.0-rc-bdj-3",
7
+ "version": "3.182.0-rc-bdj-4",
8
8
  "description": "Node.js client for ArrowSphere's public API",
9
9
  "main": "build/index.js",
10
10
  "types": "build/index.d.ts",