@arrowsphere/api-client 3.355.0-rc.fdi.3 → 3.355.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,11 +3,6 @@
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.355.0] - 2026.03.30
7
-
8
- ### Added
9
- - [Customer] Add endpoint to active invitation
10
-
11
6
  ## [3.354.0] - 2026.03.30
12
7
 
13
8
  ### Added
@@ -104,9 +104,7 @@ class AxiosSingleton {
104
104
  if (seen.has(obj))
105
105
  return seen.get(obj);
106
106
  // Crée une copie de l'objet pour éviter de le modifier directement
107
- const sanitizedCopy = Array.isArray(obj)
108
- ? []
109
- : {};
107
+ const sanitizedCopy = Array.isArray(obj) ? [] : {};
110
108
  // Stocke l'objet dans WeakMap avant la récursion
111
109
  seen.set(obj, sanitizedCopy);
112
110
  for (const [key, value] of Object.entries(obj)) {
@@ -130,20 +128,6 @@ class AxiosSingleton {
130
128
  else if (typeof value === 'object' && value !== null) {
131
129
  sanitizedCopy[key] = AxiosSingleton.sanitizeObject(value, fieldsToObfuscate, seen); // 🔄 Récursion avec WeakMap
132
130
  }
133
- else if (typeof value === 'string') {
134
- try {
135
- const parsed = JSON.parse(value);
136
- if (parsed && typeof parsed === 'object') {
137
- sanitizedCopy[key] = JSON.stringify(AxiosSingleton.sanitizeObject(parsed, fieldsToObfuscate, seen));
138
- }
139
- else {
140
- sanitizedCopy[key] = value;
141
- }
142
- }
143
- catch (_a) {
144
- sanitizedCopy[key] = value;
145
- }
146
- }
147
131
  else {
148
132
  sanitizedCopy[key] = value;
149
133
  }
@@ -11,7 +11,6 @@ import { ContactFields } from './entities/customers/contact/contact';
11
11
  import { CustomerProvision } from './entities/customerProvision';
12
12
  import { CustomerCredentials } from './entities/customerCredentials';
13
13
  import { CustomerAgreements } from './entities/customers/agreements/customerAgreements';
14
- import { DataInvitationActivate } from './entities/dataInvitationActivate';
15
14
  export declare enum CustomerMigrationAttributeFields {
16
15
  NAME = "name",
17
16
  VALUE = "value"
@@ -107,12 +106,6 @@ export declare type PostCustomerInvitation = {
107
106
  [PostCustomerInvitationFields.COLUMN_CONTACT_ID]: number;
108
107
  [PostCustomerInvitationFields.COLUMN_POLICY]: string;
109
108
  };
110
- export declare enum PostCustomerInvitationActivateFields {
111
- COLUMN_PASSWORD = "password"
112
- }
113
- export declare type PostCustomerInvitationActivate = {
114
- [PostCustomerInvitationActivateFields.COLUMN_PASSWORD]: string;
115
- };
116
109
  export declare type APIResponseResourceCreated = {
117
110
  status: number;
118
111
  data: {
@@ -188,5 +181,4 @@ export declare class CustomersClient extends AbstractRestfulClient {
188
181
  getCheckMicrosoftCustomerAgreement(parameters?: {
189
182
  customerReference?: string;
190
183
  } & Parameters): Promise<GetResult<CustomerAgreements>>;
191
- postCustomerInvitationActivate(code: string, payload: PostCustomerInvitationActivate, parameters?: Parameters): Promise<GetResult<DataInvitationActivate>>;
192
184
  }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CustomersClient = exports.UploadAttachmentInputFields = exports.PostCustomerInvitationActivateFields = exports.PostCustomerInvitationFields = exports.CustomersFilterInputFields = exports.ExportCustomersInputFields = exports.CustomerContactPayloadFields = exports.CustomerMigrationPayloadFields = exports.CustomerMigrationAttributeFields = void 0;
3
+ exports.CustomersClient = exports.UploadAttachmentInputFields = exports.PostCustomerInvitationFields = exports.CustomersFilterInputFields = exports.ExportCustomersInputFields = exports.CustomerContactPayloadFields = exports.CustomerMigrationPayloadFields = exports.CustomerMigrationAttributeFields = void 0;
4
4
  const abstractRestfulClient_1 = require("../abstractRestfulClient");
5
5
  const getResult_1 = require("../getResult");
6
6
  const dataCustomers_1 = require("./entities/dataCustomers");
@@ -14,7 +14,6 @@ const contact_1 = require("./entities/customers/contact/contact");
14
14
  const customerProvision_1 = require("./entities/customerProvision");
15
15
  const customerCredentials_1 = require("./entities/customerCredentials");
16
16
  const customerAgreements_1 = require("./entities/customers/agreements/customerAgreements");
17
- const dataInvitationActivate_1 = require("./entities/dataInvitationActivate");
18
17
  var CustomerMigrationAttributeFields;
19
18
  (function (CustomerMigrationAttributeFields) {
20
19
  CustomerMigrationAttributeFields["NAME"] = "name";
@@ -59,10 +58,6 @@ var PostCustomerInvitationFields;
59
58
  PostCustomerInvitationFields["COLUMN_CONTACT_ID"] = "contactId";
60
59
  PostCustomerInvitationFields["COLUMN_POLICY"] = "policy";
61
60
  })(PostCustomerInvitationFields = exports.PostCustomerInvitationFields || (exports.PostCustomerInvitationFields = {}));
62
- var PostCustomerInvitationActivateFields;
63
- (function (PostCustomerInvitationActivateFields) {
64
- PostCustomerInvitationActivateFields["COLUMN_PASSWORD"] = "password";
65
- })(PostCustomerInvitationActivateFields = exports.PostCustomerInvitationActivateFields || (exports.PostCustomerInvitationActivateFields = {}));
66
61
  var UploadAttachmentInputFields;
67
62
  (function (UploadAttachmentInputFields) {
68
63
  UploadAttachmentInputFields["COLUMN_FILE_ENCODED"] = "fileEncoded";
@@ -172,10 +167,6 @@ class CustomersClient extends abstractRestfulClient_1.AbstractRestfulClient {
172
167
  this.path = '/checkMicrosoftCustomerAgreement';
173
168
  return new getResult_1.GetResult(customerAgreements_1.CustomerAgreements, await this.get(parameters));
174
169
  }
175
- async postCustomerInvitationActivate(code, payload, parameters = {}) {
176
- this.path = `/invitations/${code}/activate`;
177
- return new getResult_1.GetResult(dataInvitationActivate_1.DataInvitationActivate, await this.post(payload, parameters));
178
- }
179
170
  }
180
171
  exports.CustomersClient = CustomersClient;
181
172
  //# sourceMappingURL=customersClient.js.map
@@ -12,4 +12,3 @@ export * from './entities/invitations/contact/invitationContact';
12
12
  export * from './entities/unknownLicenses/relation';
13
13
  export * from './entities/unknownLicenses/unknownLicense';
14
14
  export * from './entities/customerCredentials';
15
- export * from './entities/dataInvitationActivate';
@@ -28,5 +28,4 @@ __exportStar(require("./entities/invitations/contact/invitationContact"), export
28
28
  __exportStar(require("./entities/unknownLicenses/relation"), exports);
29
29
  __exportStar(require("./entities/unknownLicenses/unknownLicense"), exports);
30
30
  __exportStar(require("./entities/customerCredentials"), exports);
31
- __exportStar(require("./entities/dataInvitationActivate"), exports);
32
31
  //# sourceMappingURL=index.js.map
@@ -22,6 +22,7 @@ export declare enum ActionsGetFields {
22
22
  COLUMN_AUTO_RENEW_ON = "autoRenewOn",
23
23
  COLUMN_CANCEL = "cancel",
24
24
  COLUMN_CONVERSION = "conversion",
25
+ COLUMN_LATE_RENEWAL = "lateRenewal",
25
26
  COLUMN_PAUSE = "pause",
26
27
  COLUMN_UPGRADE = "upgrade",
27
28
  COLUMN_UPDATE_FRIENDLY_NAME = "updateFriendlyName",
@@ -41,6 +42,7 @@ export declare type ActionsGetData = {
41
42
  [ActionsGetFields.COLUMN_AUTO_RENEW_ON]?: string;
42
43
  [ActionsGetFields.COLUMN_CANCEL]?: string;
43
44
  [ActionsGetFields.COLUMN_CONVERSION]?: string;
45
+ [ActionsGetFields.COLUMN_LATE_RENEWAL]?: string;
44
46
  [ActionsGetFields.COLUMN_PAUSE]?: string;
45
47
  [ActionsGetFields.COLUMN_UPGRADE]?: string;
46
48
  [ActionsGetFields.COLUMN_UPDATE_FRIENDLY_NAME]?: string;
@@ -62,6 +64,7 @@ export declare class ActionsGetResult extends AbstractEntity<ActionsGetData> {
62
64
  get autoRenewToEst(): string | undefined;
63
65
  get cancel(): string | undefined;
64
66
  get conversion(): string | undefined;
67
+ get lateRenewal(): string | undefined;
65
68
  get pause(): string | undefined;
66
69
  get upgrade(): string | undefined;
67
70
  get updateFriendlyName(): string | undefined;
@@ -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_autoRenewToEst, _ActionsGetResult_cancel, _ActionsGetResult_conversion, _ActionsGetResult_pause, _ActionsGetResult_upgrade, _ActionsGetResult_updateFriendlyName, _ActionsGetResult_scheduledTask, _ActionsGetResult_scheduledTaskDetails;
13
+ var _ActionsGetResult_history, _ActionsGetResult_update, _ActionsGetResult_increaseSeats, _ActionsGetResult_decreaseSeats, _ActionsGetResult_addons_catalog, _ActionsGetResult_suspend, _ActionsGetResult_reactivate, _ActionsGetResult_autoRenewOff, _ActionsGetResult_autoRenewOn, _ActionsGetResult_autoRenewToEst, _ActionsGetResult_cancel, _ActionsGetResult_conversion, _ActionsGetResult_lateRenewal, _ActionsGetResult_pause, _ActionsGetResult_upgrade, _ActionsGetResult_updateFriendlyName, _ActionsGetResult_scheduledTask, _ActionsGetResult_scheduledTaskDetails;
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.ActionsGetResult = exports.ActionsGetFields = exports.ScheduledTaskDetailsFields = void 0;
16
16
  const abstractEntity_1 = require("../../../abstractEntity");
@@ -34,6 +34,7 @@ var ActionsGetFields;
34
34
  ActionsGetFields["COLUMN_AUTO_RENEW_ON"] = "autoRenewOn";
35
35
  ActionsGetFields["COLUMN_CANCEL"] = "cancel";
36
36
  ActionsGetFields["COLUMN_CONVERSION"] = "conversion";
37
+ ActionsGetFields["COLUMN_LATE_RENEWAL"] = "lateRenewal";
37
38
  ActionsGetFields["COLUMN_PAUSE"] = "pause";
38
39
  ActionsGetFields["COLUMN_UPGRADE"] = "upgrade";
39
40
  ActionsGetFields["COLUMN_UPDATE_FRIENDLY_NAME"] = "updateFriendlyName";
@@ -55,6 +56,7 @@ class ActionsGetResult extends abstractEntity_1.AbstractEntity {
55
56
  _ActionsGetResult_autoRenewToEst.set(this, void 0);
56
57
  _ActionsGetResult_cancel.set(this, void 0);
57
58
  _ActionsGetResult_conversion.set(this, void 0);
59
+ _ActionsGetResult_lateRenewal.set(this, void 0);
58
60
  _ActionsGetResult_pause.set(this, void 0);
59
61
  _ActionsGetResult_upgrade.set(this, void 0);
60
62
  _ActionsGetResult_updateFriendlyName.set(this, void 0);
@@ -72,6 +74,7 @@ class ActionsGetResult extends abstractEntity_1.AbstractEntity {
72
74
  __classPrivateFieldSet(this, _ActionsGetResult_autoRenewToEst, data[ActionsGetFields.COLUMN_AUTO_RENEW_TO_EST], "f");
73
75
  __classPrivateFieldSet(this, _ActionsGetResult_cancel, data[ActionsGetFields.COLUMN_CANCEL], "f");
74
76
  __classPrivateFieldSet(this, _ActionsGetResult_conversion, data[ActionsGetFields.COLUMN_CONVERSION], "f");
77
+ __classPrivateFieldSet(this, _ActionsGetResult_lateRenewal, data[ActionsGetFields.COLUMN_LATE_RENEWAL], "f");
75
78
  __classPrivateFieldSet(this, _ActionsGetResult_pause, data[ActionsGetFields.COLUMN_PAUSE], "f");
76
79
  __classPrivateFieldSet(this, _ActionsGetResult_upgrade, data[ActionsGetFields.COLUMN_UPGRADE], "f");
77
80
  __classPrivateFieldSet(this, _ActionsGetResult_updateFriendlyName, data[ActionsGetFields.COLUMN_UPDATE_FRIENDLY_NAME], "f");
@@ -114,6 +117,9 @@ class ActionsGetResult extends abstractEntity_1.AbstractEntity {
114
117
  get conversion() {
115
118
  return __classPrivateFieldGet(this, _ActionsGetResult_conversion, "f");
116
119
  }
120
+ get lateRenewal() {
121
+ return __classPrivateFieldGet(this, _ActionsGetResult_lateRenewal, "f");
122
+ }
117
123
  get pause() {
118
124
  return __classPrivateFieldGet(this, _ActionsGetResult_pause, "f");
119
125
  }
@@ -143,6 +149,7 @@ class ActionsGetResult extends abstractEntity_1.AbstractEntity {
143
149
  [ActionsGetFields.COLUMN_AUTO_RENEW_TO_EST]: this.autoRenewToEst,
144
150
  [ActionsGetFields.COLUMN_CANCEL]: this.cancel,
145
151
  [ActionsGetFields.COLUMN_CONVERSION]: this.conversion,
152
+ [ActionsGetFields.COLUMN_LATE_RENEWAL]: this.lateRenewal,
146
153
  [ActionsGetFields.COLUMN_PAUSE]: this.pause,
147
154
  [ActionsGetFields.COLUMN_UPGRADE]: this.upgrade,
148
155
  [ActionsGetFields.COLUMN_UPDATE_FRIENDLY_NAME]: this.updateFriendlyName,
@@ -153,5 +160,5 @@ class ActionsGetResult extends abstractEntity_1.AbstractEntity {
153
160
  }
154
161
  }
155
162
  exports.ActionsGetResult = ActionsGetResult;
156
- _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_autoRenewToEst = 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(), _ActionsGetResult_scheduledTaskDetails = new WeakMap();
163
+ _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_autoRenewToEst = new WeakMap(), _ActionsGetResult_cancel = new WeakMap(), _ActionsGetResult_conversion = new WeakMap(), _ActionsGetResult_lateRenewal = new WeakMap(), _ActionsGetResult_pause = new WeakMap(), _ActionsGetResult_upgrade = new WeakMap(), _ActionsGetResult_updateFriendlyName = new WeakMap(), _ActionsGetResult_scheduledTask = new WeakMap(), _ActionsGetResult_scheduledTaskDetails = new WeakMap();
157
164
  //# sourceMappingURL=actionsGetResult.js.map
@@ -0,0 +1,6 @@
1
+ export declare type GetLateRenewableLicenseData = {
2
+ vendorSku: string;
3
+ quantity: number;
4
+ licenseRef?: string;
5
+ offerName?: string;
6
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=LicenseRenewableLicenseData.js.map
@@ -0,0 +1,8 @@
1
+ export declare type ExecuteLateRenewLicense = {
2
+ numberOfSeats: number;
3
+ licenseRef: string;
4
+ };
5
+ export declare type ExecuteLateRenewPayload = {
6
+ licenses: ExecuteLateRenewLicense[];
7
+ billingComments: Record<string, string>;
8
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=executeLateRenewPayload.js.map
@@ -0,0 +1,11 @@
1
+ import { AbstractEntity } from '../../../abstractEntity';
2
+ import { GetLateRenewableLicenseData } from './LicenseRenewableLicenseData';
3
+ export declare class GetLateRenewableLicenseResult extends AbstractEntity<GetLateRenewableLicenseData> {
4
+ #private;
5
+ constructor(data: GetLateRenewableLicenseData);
6
+ get vendorSku(): string;
7
+ get quantity(): number;
8
+ get licenseRef(): string | undefined;
9
+ get offerName(): string | undefined;
10
+ toJSON(): GetLateRenewableLicenseData;
11
+ }
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
+ if (kind === "m") throw new TypeError("Private method is not writable");
4
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
7
+ };
8
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
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
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
+ };
13
+ var _GetLateRenewableLicenseResult_vendorSku, _GetLateRenewableLicenseResult_quantity, _GetLateRenewableLicenseResult_licenseRef, _GetLateRenewableLicenseResult_offerName;
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.GetLateRenewableLicenseResult = void 0;
16
+ const abstractEntity_1 = require("../../../abstractEntity");
17
+ class GetLateRenewableLicenseResult extends abstractEntity_1.AbstractEntity {
18
+ constructor(data) {
19
+ super(data);
20
+ _GetLateRenewableLicenseResult_vendorSku.set(this, void 0);
21
+ _GetLateRenewableLicenseResult_quantity.set(this, void 0);
22
+ _GetLateRenewableLicenseResult_licenseRef.set(this, void 0);
23
+ _GetLateRenewableLicenseResult_offerName.set(this, void 0);
24
+ __classPrivateFieldSet(this, _GetLateRenewableLicenseResult_vendorSku, data.vendorSku, "f");
25
+ __classPrivateFieldSet(this, _GetLateRenewableLicenseResult_quantity, data.quantity, "f");
26
+ __classPrivateFieldSet(this, _GetLateRenewableLicenseResult_licenseRef, data === null || data === void 0 ? void 0 : data.licenseRef, "f");
27
+ __classPrivateFieldSet(this, _GetLateRenewableLicenseResult_offerName, data === null || data === void 0 ? void 0 : data.offerName, "f");
28
+ }
29
+ get vendorSku() {
30
+ return __classPrivateFieldGet(this, _GetLateRenewableLicenseResult_vendorSku, "f");
31
+ }
32
+ get quantity() {
33
+ return __classPrivateFieldGet(this, _GetLateRenewableLicenseResult_quantity, "f");
34
+ }
35
+ get licenseRef() {
36
+ return __classPrivateFieldGet(this, _GetLateRenewableLicenseResult_licenseRef, "f");
37
+ }
38
+ get offerName() {
39
+ return __classPrivateFieldGet(this, _GetLateRenewableLicenseResult_offerName, "f");
40
+ }
41
+ toJSON() {
42
+ return {
43
+ vendorSku: this.vendorSku,
44
+ quantity: this.quantity,
45
+ ...(this.licenseRef ? { licenseRef: this.licenseRef } : {}),
46
+ ...(this.offerName ? { offerName: this.offerName } : {}),
47
+ };
48
+ }
49
+ }
50
+ exports.GetLateRenewableLicenseResult = GetLateRenewableLicenseResult;
51
+ _GetLateRenewableLicenseResult_vendorSku = new WeakMap(), _GetLateRenewableLicenseResult_quantity = new WeakMap(), _GetLateRenewableLicenseResult_licenseRef = new WeakMap(), _GetLateRenewableLicenseResult_offerName = new WeakMap();
52
+ //# sourceMappingURL=getLateRenewableLicenseResult.js.map
@@ -0,0 +1,9 @@
1
+ import { AbstractEntity } from '../../../abstractEntity';
2
+ import { GetLateRenewableLicenseData } from './LicenseRenewableLicenseData';
3
+ import { GetLateRenewableLicenseResult } from './getLateRenewableLicenseResult';
4
+ export declare class GetLateRenewableLicensesResult extends AbstractEntity<GetLateRenewableLicenseData[]> {
5
+ #private;
6
+ constructor(input: GetLateRenewableLicenseData[]);
7
+ get lateRenewableLicenses(): GetLateRenewableLicenseResult[];
8
+ toJSON(): GetLateRenewableLicenseData[];
9
+ }
@@ -10,29 +10,24 @@ 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 _DataInvitationActivate_username;
13
+ var _GetLateRenewableLicensesResult_lateRenewableLicenses;
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.DataInvitationActivate = exports.DataInvitationActivateFields = void 0;
16
- const abstractEntity_1 = require("../../abstractEntity");
17
- var DataInvitationActivateFields;
18
- (function (DataInvitationActivateFields) {
19
- DataInvitationActivateFields["COLUMN_USERNAME"] = "username";
20
- })(DataInvitationActivateFields = exports.DataInvitationActivateFields || (exports.DataInvitationActivateFields = {}));
21
- class DataInvitationActivate extends abstractEntity_1.AbstractEntity {
22
- constructor(getDataInvitationActivateInput) {
23
- super(getDataInvitationActivateInput);
24
- _DataInvitationActivate_username.set(this, void 0);
25
- __classPrivateFieldSet(this, _DataInvitationActivate_username, getDataInvitationActivateInput[DataInvitationActivateFields.COLUMN_USERNAME], "f");
15
+ exports.GetLateRenewableLicensesResult = void 0;
16
+ const abstractEntity_1 = require("../../../abstractEntity");
17
+ const getLateRenewableLicenseResult_1 = require("./getLateRenewableLicenseResult");
18
+ class GetLateRenewableLicensesResult extends abstractEntity_1.AbstractEntity {
19
+ constructor(input) {
20
+ super(input);
21
+ _GetLateRenewableLicensesResult_lateRenewableLicenses.set(this, void 0);
22
+ __classPrivateFieldSet(this, _GetLateRenewableLicensesResult_lateRenewableLicenses, input.map((result) => new getLateRenewableLicenseResult_1.GetLateRenewableLicenseResult(result)), "f");
26
23
  }
27
- get username() {
28
- return __classPrivateFieldGet(this, _DataInvitationActivate_username, "f");
24
+ get lateRenewableLicenses() {
25
+ return __classPrivateFieldGet(this, _GetLateRenewableLicensesResult_lateRenewableLicenses, "f");
29
26
  }
30
27
  toJSON() {
31
- return {
32
- [DataInvitationActivateFields.COLUMN_USERNAME]: this.username,
33
- };
28
+ return this.lateRenewableLicenses.map((result) => result.toJSON());
34
29
  }
35
30
  }
36
- exports.DataInvitationActivate = DataInvitationActivate;
37
- _DataInvitationActivate_username = new WeakMap();
38
- //# sourceMappingURL=dataInvitationActivate.js.map
31
+ exports.GetLateRenewableLicensesResult = GetLateRenewableLicensesResult;
32
+ _GetLateRenewableLicensesResult_lateRenewableLicenses = new WeakMap();
33
+ //# sourceMappingURL=getLateRenewableLicensesResult.js.map
@@ -31,6 +31,8 @@ import { LicenceCouponCodeHistoryResult } from './entities/history/licenceCoupon
31
31
  import { GetLicenseAttachmentsResult } from './entities/attachment/GetLicenseAttachmentsResult';
32
32
  import { PostLicenseAttachmentResult } from './entities/attachment/PostLicenseAttachmentResult';
33
33
  import { DynamicAttributesMappingResult } from './entities/license/dynamicMappingResult';
34
+ import { GetLateRenewableLicensesResult } from './entities/lateRenewalLicense/getLateRenewableLicensesResult';
35
+ import { ExecuteLateRenewPayload } from './entities/lateRenewalLicense/executeLateRenewPayload';
34
36
  /**
35
37
  * Parameters passable to the request for refining search.
36
38
  */
@@ -422,6 +424,8 @@ export declare class LicensesClient extends AbstractRestfulClient {
422
424
  bulkAction(bulkData: BulkBodyArgument): Promise<void>;
423
425
  updateConfig(reference: string, config: ConfigFindResult): Promise<GetResult<ConfigFindResult>>;
424
426
  getLicense(licenseReference: string, parameters?: Parameters): Promise<GetResult<GetLicenseResult>>;
427
+ executeLateRenew(payload: ExecuteLateRenewPayload): Promise<void>;
428
+ getLateRenewableLicenses(parameters?: Parameters): Promise<GetResult<GetLateRenewableLicensesResult>>;
425
429
  updateLicense(licenseReference: string, payload: UpdateLicenseData, parameters?: Parameters): Promise<void | PartialResponse>;
426
430
  updateSeats(licenseReference: string, putData: UpdateSeatsData, parameters?: Parameters): Promise<void>;
427
431
  suspendLicense(licenseReference: string, payload?: PutSuspend, parameters?: Parameters): Promise<void>;
@@ -25,6 +25,7 @@ const licenceCouponCodeHistoryResult_1 = require("./entities/history/licenceCoup
25
25
  const GetLicenseAttachmentsResult_1 = require("./entities/attachment/GetLicenseAttachmentsResult");
26
26
  const PostLicenseAttachmentResult_1 = require("./entities/attachment/PostLicenseAttachmentResult");
27
27
  const dynamicMappingResult_1 = require("./entities/license/dynamicMappingResult");
28
+ const getLateRenewableLicensesResult_1 = require("./entities/lateRenewalLicense/getLateRenewableLicensesResult");
28
29
  /**
29
30
  * Parameters passable to the request for refining search.
30
31
  */
@@ -409,6 +410,14 @@ class LicensesClient extends abstractRestfulClient_1.AbstractRestfulClient {
409
410
  this.path = `/${licenseReference}`;
410
411
  return new getResult_1.GetResult(getLicenseResult_1.GetLicenseResult, await this.get(parameters));
411
412
  }
413
+ async executeLateRenew(payload) {
414
+ this.path = '/requestLateRenew';
415
+ await this.post(payload);
416
+ }
417
+ async getLateRenewableLicenses(parameters = {}) {
418
+ this.path = `/listEligibleAdobeLateRenew`;
419
+ return new getResult_1.GetResult(getLateRenewableLicensesResult_1.GetLateRenewableLicensesResult, await this.get(parameters));
420
+ }
412
421
  async updateLicense(licenseReference, payload, parameters = {}) {
413
422
  this.path = `/${licenseReference}`;
414
423
  const response = await this.patch(payload, parameters);
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.355.0-rc.fdi.3",
7
+ "version": "3.355.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",
@@ -34,6 +34,7 @@
34
34
  "@types/validatorjs": "3.15.0",
35
35
  "@types/chai": "4.2.15",
36
36
  "@types/chai-as-promised": "7.1.3",
37
+ "@types/lodash": "4.14.191",
37
38
  "@types/mocha": "8.2.0",
38
39
  "@types/node": "18.19.9",
39
40
  "@types/sinon": "9.0.10",
@@ -79,10 +80,11 @@
79
80
  "test": "tests"
80
81
  },
81
82
  "dependencies": {
82
- "axios": "1.13.5",
83
+ "axios": "1.13.2",
83
84
  "graphql": "16.8.1",
84
85
  "graphql-request": "7.3.5",
85
86
  "json-to-graphql-query": "2.3.0",
87
+ "lodash": "4.17.21",
86
88
  "type-fest": "2.19.0",
87
89
  "validatorjs": "3.22.1"
88
90
  }
@@ -1,13 +0,0 @@
1
- import { AbstractEntity } from '../../abstractEntity';
2
- export declare enum DataInvitationActivateFields {
3
- COLUMN_USERNAME = "username"
4
- }
5
- export declare type DataInvitationActivateType = {
6
- [DataInvitationActivateFields.COLUMN_USERNAME]: string;
7
- };
8
- export declare class DataInvitationActivate extends AbstractEntity<DataInvitationActivateType> {
9
- #private;
10
- constructor(getDataInvitationActivateInput: DataInvitationActivateType);
11
- get username(): string;
12
- toJSON(): DataInvitationActivateType;
13
- }