@arrowsphere/api-client 3.185.0-rc-cpe-1 → 3.185.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.185.0] - 2025.04.11
7
+
8
+ ### Added
9
+ - [programs] add programLevel endpoint
10
+
6
11
  ## [3.184.0] - 2025.04.01
7
12
 
8
13
  ### Added
@@ -50,6 +50,7 @@ export declare type ProgramLevelOptionType = {
50
50
  };
51
51
  export declare type ProgramLevelType = {
52
52
  internalName?: string;
53
+ level?: number;
53
54
  name?: string;
54
55
  benefits?: ProgramBenefitType[];
55
56
  requirements?: ProgramRequirementType[];
@@ -6,7 +6,7 @@ import { LicenseBudgetType } from './entities/licenseBudget';
6
6
  import { GraphqlApiOrderHistoryType, OrdersType } from './entities/order';
7
7
  import { OrganizationUnitsType } from './entities/organizationUnit';
8
8
  import { PartnertagType } from './entities/partnertag';
9
- import { GraphqlApiProgramType, ProgramLevelOptionGroupType, SubscribedProgramType } from './entities/program';
9
+ import { GraphqlApiProgramType, ProgramLevelOptionGroupType, ProgramLevelType, SubscribedProgramType } from './entities/program';
10
10
  import { QuoteType } from './entities/quote';
11
11
  import { GraphqlApiReportStatusType, GraphqlApiReportType } from './entities/report';
12
12
  import { SpecialPriceRateType } from './entities/specialPriceRate';
@@ -130,6 +130,7 @@ export declare enum SelectDataField {
130
130
  PARTNER = "partner",
131
131
  PARTNERTAG = "partnertag",
132
132
  PROGRAM = "program",
133
+ PROGRAM_LEVEL = "programLevel",
133
134
  PROGRAM_LEVEL_OPTION_GROUP = "programLevelOptionGroup",
134
135
  QUOTE = "quote",
135
136
  REPORT = "report",
@@ -162,6 +163,7 @@ export declare type SelectAllResponseDataType = {
162
163
  [SelectDataField.PARTNER]?: PartnerType[];
163
164
  [SelectDataField.PARTNERTAG]?: PartnertagType[];
164
165
  [SelectDataField.PROGRAM]?: GraphqlApiProgramType[];
166
+ [SelectDataField.PROGRAM_LEVEL]?: ProgramLevelType[];
165
167
  [SelectDataField.PROGRAM_LEVEL_OPTION_GROUP]?: ProgramLevelOptionGroupType[];
166
168
  [SelectDataField.QUOTE]?: QuoteType[];
167
169
  [SelectDataField.REPORT]?: GraphqlApiReportType[];
@@ -243,6 +245,7 @@ export declare type SelectOneResponseDataType = {
243
245
  [SelectDataField.PARTNER]?: PartnerType;
244
246
  [SelectDataField.PARTNERTAG]?: PartnertagType;
245
247
  [SelectDataField.PROGRAM]?: GraphqlApiProgramType;
248
+ [SelectDataField.PROGRAM_LEVEL]?: ProgramLevelType;
246
249
  [SelectDataField.PROGRAM_LEVEL_OPTION_GROUP]?: ProgramLevelOptionGroupType;
247
250
  [SelectDataField.QUOTE]?: QuoteType;
248
251
  [SelectDataField.REPORT]?: GraphqlApiReportType;
@@ -102,6 +102,7 @@ var SelectDataField;
102
102
  SelectDataField["PARTNER"] = "partner";
103
103
  SelectDataField["PARTNERTAG"] = "partnertag";
104
104
  SelectDataField["PROGRAM"] = "program";
105
+ SelectDataField["PROGRAM_LEVEL"] = "programLevel";
105
106
  SelectDataField["PROGRAM_LEVEL_OPTION_GROUP"] = "programLevelOptionGroup";
106
107
  SelectDataField["QUOTE"] = "quote";
107
108
  SelectDataField["REPORT"] = "report";
@@ -116,19 +116,19 @@ export declare type PageSchema = Schema<PageType, boolean>;
116
116
  export declare type ProgramBenefitSchema = Schema<ProgramBenefitType, boolean>;
117
117
  export declare type ProgramLevelOptionSchema = Schema<ProgramLevelOptionType, boolean>;
118
118
  export declare type ProgramRequirementSchema = Schema<ProgramRequirementType, boolean>;
119
- export declare type ProgramLevelSchema = Schema<ProgramLevelType, boolean>;
120
- declare type MissingFieldsOfProgramLevelOptionGroupSchema = {
121
- programLevelOptions?: ProgramLevelOptionSchema;
122
- };
123
- export declare type ProgramLevelOptionGroupSchema = Merge<Schema<ProgramLevelOptionGroupType, boolean>, MissingFieldsOfProgramLevelOptionGroupSchema>;
124
- export declare type SubscriptionExtraFieldSchema = Schema<SubscriptionExtraFieldType, boolean>;
119
+ export declare type ProgramLevelSchema = Merge<Schema<ProgramLevelType, boolean>, MissingFieldsOfLevelSchema>;
125
120
  export declare type MissingFieldsOfLevelSchema = {
126
121
  benefits?: ProgramBenefitSchema;
127
122
  programLevelOptionGroups?: ProgramLevelOptionGroupSchema;
128
123
  requirements?: ProgramRequirementSchema;
129
124
  };
125
+ declare type MissingFieldsOfProgramLevelOptionGroupSchema = {
126
+ programLevelOptions?: ProgramLevelOptionSchema;
127
+ };
128
+ export declare type ProgramLevelOptionGroupSchema = Merge<Schema<ProgramLevelOptionGroupType, boolean>, MissingFieldsOfProgramLevelOptionGroupSchema>;
129
+ export declare type SubscriptionExtraFieldSchema = Schema<SubscriptionExtraFieldType, boolean>;
130
130
  export declare type MissingFieldsOfProgramSchema = {
131
- levels?: Merge<Schema<ProgramLevelSchema, boolean>, MissingFieldsOfLevelSchema>;
131
+ levels?: ProgramLevelSchema;
132
132
  subscriptionExtraFields?: SubscriptionExtraFieldSchema;
133
133
  };
134
134
  export declare type GraphqlApiProgramSchema = Merge<Schema<GraphqlApiProgramType, boolean>, MissingFieldsOfProgramSchema>;
@@ -161,6 +161,7 @@ export declare type SelectAllResponseDataSchema = {
161
161
  [SelectDataField.PARTNER]?: PartnerSchema;
162
162
  [SelectDataField.PARTNERTAG]?: PartnertagSchema;
163
163
  [SelectDataField.PROGRAM]?: GraphqlApiProgramSchema;
164
+ [SelectDataField.PROGRAM_LEVEL]?: ProgramLevelSchema;
164
165
  [SelectDataField.PROGRAM_LEVEL_OPTION_GROUP]?: ProgramLevelOptionGroupSchema;
165
166
  [SelectDataField.QUOTE]?: QuoteSchema;
166
167
  [SelectDataField.REPORT]?: ReportSchema;
@@ -12,9 +12,7 @@ export declare enum ActionsGetFields {
12
12
  COLUMN_CANCEL = "cancel",
13
13
  COLUMN_CONVERSION = "conversion",
14
14
  COLUMN_PAUSE = "pause",
15
- COLUMN_UPGRADE = "upgrade",
16
- COLUMN_UPDATE_FRIENDLY_NAME = "updateFriendlyName",
17
- COLUMN_SCHEDULED_TASK = "scheduledTask"
15
+ COLUMN_UPGRADE = "upgrade"
18
16
  }
19
17
  export declare type ActionsGetData = {
20
18
  [ActionsGetFields.COLUMN_HISTORY]: string;
@@ -30,8 +28,6 @@ export declare type ActionsGetData = {
30
28
  [ActionsGetFields.COLUMN_CONVERSION]?: string;
31
29
  [ActionsGetFields.COLUMN_PAUSE]?: string;
32
30
  [ActionsGetFields.COLUMN_UPGRADE]?: string;
33
- [ActionsGetFields.COLUMN_UPDATE_FRIENDLY_NAME]?: string;
34
- [ActionsGetFields.COLUMN_SCHEDULED_TASK]?: string;
35
31
  };
36
32
  export declare class ActionsGetResult extends AbstractEntity<ActionsGetData> {
37
33
  #private;
@@ -49,7 +45,5 @@ export declare class ActionsGetResult extends AbstractEntity<ActionsGetData> {
49
45
  get conversion(): string | undefined;
50
46
  get pause(): string | undefined;
51
47
  get upgrade(): string | undefined;
52
- get updateFriendlyName(): string | undefined;
53
- get scheduledTask(): string | undefined;
54
48
  toJSON(): ActionsGetData;
55
49
  }
@@ -10,7 +10,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
10
10
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
11
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
12
  };
13
- var _ActionsGetResult_history, _ActionsGetResult_update, _ActionsGetResult_increaseSeats, _ActionsGetResult_decreaseSeats, _ActionsGetResult_addons_catalog, _ActionsGetResult_suspend, _ActionsGetResult_reactivate, _ActionsGetResult_autoRenewOff, _ActionsGetResult_autoRenewOn, _ActionsGetResult_cancel, _ActionsGetResult_conversion, _ActionsGetResult_pause, _ActionsGetResult_upgrade, _ActionsGetResult_updateFriendlyName, _ActionsGetResult_scheduledTask;
13
+ var _ActionsGetResult_history, _ActionsGetResult_update, _ActionsGetResult_increaseSeats, _ActionsGetResult_decreaseSeats, _ActionsGetResult_addons_catalog, _ActionsGetResult_suspend, _ActionsGetResult_reactivate, _ActionsGetResult_autoRenewOff, _ActionsGetResult_autoRenewOn, _ActionsGetResult_cancel, _ActionsGetResult_conversion, _ActionsGetResult_pause, _ActionsGetResult_upgrade;
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.ActionsGetResult = exports.ActionsGetFields = void 0;
16
16
  const abstractEntity_1 = require("../../../abstractEntity");
@@ -29,8 +29,6 @@ var ActionsGetFields;
29
29
  ActionsGetFields["COLUMN_CONVERSION"] = "conversion";
30
30
  ActionsGetFields["COLUMN_PAUSE"] = "pause";
31
31
  ActionsGetFields["COLUMN_UPGRADE"] = "upgrade";
32
- ActionsGetFields["COLUMN_UPDATE_FRIENDLY_NAME"] = "updateFriendlyName";
33
- ActionsGetFields["COLUMN_SCHEDULED_TASK"] = "scheduledTask";
34
32
  })(ActionsGetFields = exports.ActionsGetFields || (exports.ActionsGetFields = {}));
35
33
  class ActionsGetResult extends abstractEntity_1.AbstractEntity {
36
34
  constructor(data) {
@@ -48,8 +46,6 @@ class ActionsGetResult extends abstractEntity_1.AbstractEntity {
48
46
  _ActionsGetResult_conversion.set(this, void 0);
49
47
  _ActionsGetResult_pause.set(this, void 0);
50
48
  _ActionsGetResult_upgrade.set(this, void 0);
51
- _ActionsGetResult_updateFriendlyName.set(this, void 0);
52
- _ActionsGetResult_scheduledTask.set(this, void 0);
53
49
  __classPrivateFieldSet(this, _ActionsGetResult_history, data[ActionsGetFields.COLUMN_HISTORY], "f");
54
50
  __classPrivateFieldSet(this, _ActionsGetResult_update, data[ActionsGetFields.COLUMN_UPDATE], "f");
55
51
  __classPrivateFieldSet(this, _ActionsGetResult_increaseSeats, data[ActionsGetFields.COLUMN_INCREASE_SEATS], "f");
@@ -63,8 +59,6 @@ class ActionsGetResult extends abstractEntity_1.AbstractEntity {
63
59
  __classPrivateFieldSet(this, _ActionsGetResult_conversion, data[ActionsGetFields.COLUMN_CONVERSION], "f");
64
60
  __classPrivateFieldSet(this, _ActionsGetResult_pause, data[ActionsGetFields.COLUMN_PAUSE], "f");
65
61
  __classPrivateFieldSet(this, _ActionsGetResult_upgrade, data[ActionsGetFields.COLUMN_UPGRADE], "f");
66
- __classPrivateFieldSet(this, _ActionsGetResult_updateFriendlyName, data[ActionsGetFields.COLUMN_UPDATE_FRIENDLY_NAME], "f");
67
- __classPrivateFieldSet(this, _ActionsGetResult_scheduledTask, data[ActionsGetFields.COLUMN_SCHEDULED_TASK], "f");
68
62
  }
69
63
  get history() {
70
64
  return __classPrivateFieldGet(this, _ActionsGetResult_history, "f");
@@ -105,12 +99,6 @@ class ActionsGetResult extends abstractEntity_1.AbstractEntity {
105
99
  get upgrade() {
106
100
  return __classPrivateFieldGet(this, _ActionsGetResult_upgrade, "f");
107
101
  }
108
- get updateFriendlyName() {
109
- return __classPrivateFieldGet(this, _ActionsGetResult_updateFriendlyName, "f");
110
- }
111
- get scheduledTask() {
112
- return __classPrivateFieldGet(this, _ActionsGetResult_scheduledTask, "f");
113
- }
114
102
  toJSON() {
115
103
  return {
116
104
  [ActionsGetFields.COLUMN_HISTORY]: this.history,
@@ -126,11 +114,9 @@ class ActionsGetResult extends abstractEntity_1.AbstractEntity {
126
114
  [ActionsGetFields.COLUMN_CONVERSION]: this.conversion,
127
115
  [ActionsGetFields.COLUMN_PAUSE]: this.pause,
128
116
  [ActionsGetFields.COLUMN_UPGRADE]: this.upgrade,
129
- [ActionsGetFields.COLUMN_UPDATE_FRIENDLY_NAME]: this.updateFriendlyName,
130
- [ActionsGetFields.COLUMN_SCHEDULED_TASK]: this.scheduledTask,
131
117
  };
132
118
  }
133
119
  }
134
120
  exports.ActionsGetResult = ActionsGetResult;
135
- _ActionsGetResult_history = new WeakMap(), _ActionsGetResult_update = new WeakMap(), _ActionsGetResult_increaseSeats = new WeakMap(), _ActionsGetResult_decreaseSeats = new WeakMap(), _ActionsGetResult_addons_catalog = new WeakMap(), _ActionsGetResult_suspend = new WeakMap(), _ActionsGetResult_reactivate = new WeakMap(), _ActionsGetResult_autoRenewOff = new WeakMap(), _ActionsGetResult_autoRenewOn = new WeakMap(), _ActionsGetResult_cancel = new WeakMap(), _ActionsGetResult_conversion = new WeakMap(), _ActionsGetResult_pause = new WeakMap(), _ActionsGetResult_upgrade = new WeakMap(), _ActionsGetResult_updateFriendlyName = new WeakMap(), _ActionsGetResult_scheduledTask = new WeakMap();
121
+ _ActionsGetResult_history = new WeakMap(), _ActionsGetResult_update = new WeakMap(), _ActionsGetResult_increaseSeats = new WeakMap(), _ActionsGetResult_decreaseSeats = new WeakMap(), _ActionsGetResult_addons_catalog = new WeakMap(), _ActionsGetResult_suspend = new WeakMap(), _ActionsGetResult_reactivate = new WeakMap(), _ActionsGetResult_autoRenewOff = new WeakMap(), _ActionsGetResult_autoRenewOn = new WeakMap(), _ActionsGetResult_cancel = new WeakMap(), _ActionsGetResult_conversion = new WeakMap(), _ActionsGetResult_pause = new WeakMap(), _ActionsGetResult_upgrade = new WeakMap();
136
122
  //# sourceMappingURL=actionsGetResult.js.map
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.185.0-rc-cpe-1",
7
+ "version": "3.185.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",