@arrowsphere/api-client 3.92.1-rc.bdj.1 → 3.93.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,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.93.0] - 2024.01.25
7
+
8
+ ### Added
9
+ - [Graphql-api] add subscribedProgram of a company
10
+
6
11
  ## [3.92.0] - 2024.01.23
7
12
 
8
13
  ### Added
@@ -7,5 +7,6 @@ export * from './types/entities/order';
7
7
  export * from './types/entities/partnertag';
8
8
  export * from './types/entities/subscription';
9
9
  export * from './types/entities/specialPriceRate';
10
+ export * from './types/entities/vendor';
10
11
  export * from './types/entities/workgroup';
11
12
  export * from './graphqlApiClient';
@@ -23,6 +23,7 @@ __exportStar(require("./types/entities/order"), exports);
23
23
  __exportStar(require("./types/entities/partnertag"), exports);
24
24
  __exportStar(require("./types/entities/subscription"), exports);
25
25
  __exportStar(require("./types/entities/specialPriceRate"), exports);
26
+ __exportStar(require("./types/entities/vendor"), exports);
26
27
  __exportStar(require("./types/entities/workgroup"), exports);
27
28
  __exportStar(require("./graphqlApiClient"), exports);
28
29
  //# sourceMappingURL=index.js.map
@@ -2,6 +2,7 @@ import { ContactsType } from './contact';
2
2
  import { CountryType } from './country';
3
3
  import { OrdersType } from './order';
4
4
  import { PartnertagType } from './partnertag';
5
+ import { SubscribedProgramType } from './program';
5
6
  import { SubscriptionType } from './subscription';
6
7
  import { WorkgroupType } from './workgroup';
7
8
  export declare type CompanyTypeType = {
@@ -58,6 +59,7 @@ export declare type PartnerType = BaseCompanyType & {
58
59
  ordersCount?: CountableType;
59
60
  ordersNeedCount?: CountableType;
60
61
  reportsCount?: CountableType;
62
+ subscribedPrograms?: SubscribedProgramType[];
61
63
  subscriptions?: SubscriptionType[];
62
64
  subscriptionsCount?: CountableType;
63
65
  subscriptionsPendingCount?: CountableType;
@@ -1,5 +1,23 @@
1
+ import { PartnerType } from './company';
2
+ import { SubscriptionType } from './subscription';
3
+ import { VendorsType } from './vendor';
1
4
  export declare type ProgramType = {
2
5
  id?: number;
3
6
  internalName?: string;
4
7
  name?: string;
8
+ vendor?: VendorsType;
9
+ };
10
+ export declare type SubscribedProgramType = {
11
+ id?: number;
12
+ availabilityEndedAt?: string;
13
+ availabilityStartedAt?: string;
14
+ companyId?: number;
15
+ internalName?: string;
16
+ subscriptionEndedAt?: string;
17
+ partner?: PartnerType;
18
+ program?: ProgramType;
19
+ subscription?: SubscriptionType;
20
+ vendor?: VendorsType;
21
+ vendorCode?: string;
22
+ vendorName?: string;
5
23
  };
@@ -0,0 +1,10 @@
1
+ export declare type VendorsType = {
2
+ id?: number;
3
+ identifier?: string;
4
+ licenseUrl?: string;
5
+ logoLarge?: string;
6
+ logoSmall?: string;
7
+ logoStandard?: string;
8
+ name?: string;
9
+ url?: string;
10
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=vendor.js.map
@@ -1,6 +1,7 @@
1
1
  import { ArrowCompanyType, EndCustomerType, PartnerType } from './entities/company';
2
2
  import { ContinentType, CountryType } from './entities/country';
3
3
  import { PartnertagType } from './entities/partnertag';
4
+ import { SubscribedProgramType } from './entities/program';
4
5
  import { SubscriptionType } from './entities/subscription';
5
6
  import { WorkgroupType } from './entities/workgroup';
6
7
  import { ErrorsSchema, PageSchema, SelectAllResponseDataSchema, SelectOneResponseDataSchema } from './graphqlApiSchemas';
@@ -114,7 +115,9 @@ export declare enum SelectDataField {
114
115
  END_CUSTOMER = "endCustomer",
115
116
  PARTNER = "partner",
116
117
  PARTNERTAG = "partnertag",
118
+ SUBSCRIBED_PROGRAM = "subscribedProgram",
117
119
  SUBSCRIPTION = "subscription",
120
+ VENDOR = "vendor",
118
121
  WORKGROUP = "workgroup"
119
122
  }
120
123
  export declare type SelectAllResultType = {
@@ -131,6 +134,7 @@ export declare type SelectAllResponseDataType = {
131
134
  [SelectDataField.END_CUSTOMER]?: EndCustomerType[];
132
135
  [SelectDataField.PARTNER]?: PartnerType[];
133
136
  [SelectDataField.PARTNERTAG]?: PartnertagType[];
137
+ [SelectDataField.SUBSCRIBED_PROGRAM]?: SubscribedProgramType[];
134
138
  [SelectDataField.SUBSCRIPTION]?: SubscriptionType[];
135
139
  [SelectDataField.WORKGROUP]?: WorkgroupType[];
136
140
  };
@@ -174,6 +178,7 @@ export declare type SelectOneResponseDataType = {
174
178
  [SelectDataField.END_CUSTOMER]?: EndCustomerType;
175
179
  [SelectDataField.PARTNER]?: PartnerType;
176
180
  [SelectDataField.PARTNERTAG]?: PartnertagType;
181
+ [SelectDataField.SUBSCRIBED_PROGRAM]?: SubscribedProgramType;
177
182
  [SelectDataField.SUBSCRIPTION]?: SubscriptionType;
178
183
  [SelectDataField.WORKGROUP]?: WorkgroupType;
179
184
  };
@@ -96,7 +96,9 @@ var SelectDataField;
96
96
  SelectDataField["END_CUSTOMER"] = "endCustomer";
97
97
  SelectDataField["PARTNER"] = "partner";
98
98
  SelectDataField["PARTNERTAG"] = "partnertag";
99
+ SelectDataField["SUBSCRIBED_PROGRAM"] = "subscribedProgram";
99
100
  SelectDataField["SUBSCRIPTION"] = "subscription";
101
+ SelectDataField["VENDOR"] = "vendor";
100
102
  SelectDataField["WORKGROUP"] = "workgroup";
101
103
  })(SelectDataField = exports.SelectDataField || (exports.SelectDataField = {}));
102
104
  var ErrorsField;
@@ -9,12 +9,15 @@ import { ProgramType } from '../../catalog';
9
9
  import { SubscriptionType } from './entities/subscription';
10
10
  import { SpecialPriceRateType } from './entities/specialPriceRate';
11
11
  import { OrderItemsType, OrdersType } from './entities/order';
12
+ import { VendorsType } from './entities/vendor';
13
+ import { SubscribedProgramType } from './entities/program';
12
14
  export declare type PartnertagSchema = Schema<PartnertagType, boolean>;
13
15
  declare type MissingFieldsOfCompanySchema = {
14
16
  contacts?: ContactsSchema;
15
17
  extraInformations?: CompanyExtraInformationSchema;
16
18
  orders?: OrdersSchema;
17
19
  partnerTags?: PartnertagSchema;
20
+ subscribedPrograms?: SubscribedProgramSchema;
18
21
  subscriptions?: SubscriptionSchema;
19
22
  };
20
23
  declare type MissingFieldsOfArrowCompanySchema = {
@@ -48,7 +51,9 @@ export declare type ErrorsSchema = Schema<ErrorsType, boolean>;
48
51
  export declare type PageSchema = Schema<PageType, boolean>;
49
52
  export declare type ProgramSchema = Schema<ProgramType, boolean>;
50
53
  export declare type SpecialPriceRateSchema = Schema<SpecialPriceRateType, boolean>;
54
+ export declare type SubscribedProgramSchema = Schema<SubscribedProgramType, boolean>;
51
55
  export declare type SubscriptionSchema = Schema<SubscriptionType, boolean>;
56
+ export declare type VendorSchema = Schema<VendorsType, boolean>;
52
57
  export declare type WorkgroupSchema = Schema<WorkgroupType, boolean>;
53
58
  export declare type SelectAllResultSchema = {
54
59
  [SelectableField.DATA]?: SelectAllResponseDataSchema;
@@ -62,6 +67,7 @@ export declare type SelectAllResponseDataSchema = {
62
67
  [SelectDataField.END_CUSTOMER]?: EndCustomerSchema;
63
68
  [SelectDataField.PARTNER]?: PartnerSchema;
64
69
  [SelectDataField.PARTNERTAG]?: PartnertagSchema;
70
+ [SelectDataField.SUBSCRIBED_PROGRAM]?: SubscribedProgramSchema;
65
71
  [SelectDataField.SUBSCRIPTION]?: SubscriptionSchema;
66
72
  [SelectDataField.WORKGROUP]?: WorkgroupSchema;
67
73
  };
@@ -76,6 +82,7 @@ export declare type SelectOneResponseDataSchema = {
76
82
  [SelectDataField.END_CUSTOMER]?: EndCustomerSchema;
77
83
  [SelectDataField.PARTNER]?: PartnerSchema;
78
84
  [SelectDataField.PARTNERTAG]?: PartnertagSchema;
85
+ [SelectDataField.SUBSCRIBED_PROGRAM]?: SubscribedProgramSchema;
79
86
  [SelectDataField.SUBSCRIPTION]?: SubscriptionSchema;
80
87
  [SelectDataField.WORKGROUP]?: WorkgroupSchema;
81
88
  };
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.92.1-rc.bdj.1",
7
+ "version": "3.93.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",