@arrowsphere/api-client 3.185.0-rc-bdj-2 → 3.185.0-rc-cpe-1

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.
@@ -12,7 +12,9 @@ export declare enum ActionsGetFields {
12
12
  COLUMN_CANCEL = "cancel",
13
13
  COLUMN_CONVERSION = "conversion",
14
14
  COLUMN_PAUSE = "pause",
15
- COLUMN_UPGRADE = "upgrade"
15
+ COLUMN_UPGRADE = "upgrade",
16
+ COLUMN_UPDATE_FRIENDLY_NAME = "updateFriendlyName",
17
+ COLUMN_SCHEDULED_TASK = "scheduledTask"
16
18
  }
17
19
  export declare type ActionsGetData = {
18
20
  [ActionsGetFields.COLUMN_HISTORY]: string;
@@ -28,6 +30,8 @@ export declare type ActionsGetData = {
28
30
  [ActionsGetFields.COLUMN_CONVERSION]?: string;
29
31
  [ActionsGetFields.COLUMN_PAUSE]?: string;
30
32
  [ActionsGetFields.COLUMN_UPGRADE]?: string;
33
+ [ActionsGetFields.COLUMN_UPDATE_FRIENDLY_NAME]?: string;
34
+ [ActionsGetFields.COLUMN_SCHEDULED_TASK]?: string;
31
35
  };
32
36
  export declare class ActionsGetResult extends AbstractEntity<ActionsGetData> {
33
37
  #private;
@@ -45,5 +49,7 @@ export declare class ActionsGetResult extends AbstractEntity<ActionsGetData> {
45
49
  get conversion(): string | undefined;
46
50
  get pause(): string | undefined;
47
51
  get upgrade(): string | undefined;
52
+ get updateFriendlyName(): string | undefined;
53
+ get scheduledTask(): string | undefined;
48
54
  toJSON(): ActionsGetData;
49
55
  }
@@ -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;
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;
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.ActionsGetResult = exports.ActionsGetFields = void 0;
16
16
  const abstractEntity_1 = require("../../../abstractEntity");
@@ -29,6 +29,8 @@ 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";
32
34
  })(ActionsGetFields = exports.ActionsGetFields || (exports.ActionsGetFields = {}));
33
35
  class ActionsGetResult extends abstractEntity_1.AbstractEntity {
34
36
  constructor(data) {
@@ -46,6 +48,8 @@ class ActionsGetResult extends abstractEntity_1.AbstractEntity {
46
48
  _ActionsGetResult_conversion.set(this, void 0);
47
49
  _ActionsGetResult_pause.set(this, void 0);
48
50
  _ActionsGetResult_upgrade.set(this, void 0);
51
+ _ActionsGetResult_updateFriendlyName.set(this, void 0);
52
+ _ActionsGetResult_scheduledTask.set(this, void 0);
49
53
  __classPrivateFieldSet(this, _ActionsGetResult_history, data[ActionsGetFields.COLUMN_HISTORY], "f");
50
54
  __classPrivateFieldSet(this, _ActionsGetResult_update, data[ActionsGetFields.COLUMN_UPDATE], "f");
51
55
  __classPrivateFieldSet(this, _ActionsGetResult_increaseSeats, data[ActionsGetFields.COLUMN_INCREASE_SEATS], "f");
@@ -59,6 +63,8 @@ class ActionsGetResult extends abstractEntity_1.AbstractEntity {
59
63
  __classPrivateFieldSet(this, _ActionsGetResult_conversion, data[ActionsGetFields.COLUMN_CONVERSION], "f");
60
64
  __classPrivateFieldSet(this, _ActionsGetResult_pause, data[ActionsGetFields.COLUMN_PAUSE], "f");
61
65
  __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");
62
68
  }
63
69
  get history() {
64
70
  return __classPrivateFieldGet(this, _ActionsGetResult_history, "f");
@@ -99,6 +105,12 @@ class ActionsGetResult extends abstractEntity_1.AbstractEntity {
99
105
  get upgrade() {
100
106
  return __classPrivateFieldGet(this, _ActionsGetResult_upgrade, "f");
101
107
  }
108
+ get updateFriendlyName() {
109
+ return __classPrivateFieldGet(this, _ActionsGetResult_updateFriendlyName, "f");
110
+ }
111
+ get scheduledTask() {
112
+ return __classPrivateFieldGet(this, _ActionsGetResult_scheduledTask, "f");
113
+ }
102
114
  toJSON() {
103
115
  return {
104
116
  [ActionsGetFields.COLUMN_HISTORY]: this.history,
@@ -114,9 +126,11 @@ class ActionsGetResult extends abstractEntity_1.AbstractEntity {
114
126
  [ActionsGetFields.COLUMN_CONVERSION]: this.conversion,
115
127
  [ActionsGetFields.COLUMN_PAUSE]: this.pause,
116
128
  [ActionsGetFields.COLUMN_UPGRADE]: this.upgrade,
129
+ [ActionsGetFields.COLUMN_UPDATE_FRIENDLY_NAME]: this.updateFriendlyName,
130
+ [ActionsGetFields.COLUMN_SCHEDULED_TASK]: this.scheduledTask,
117
131
  };
118
132
  }
119
133
  }
120
134
  exports.ActionsGetResult = ActionsGetResult;
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();
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();
122
136
  //# sourceMappingURL=actionsGetResult.js.map
@@ -106,12 +106,6 @@ export declare type PostPartnerPayload = {
106
106
  [PartnerFields.COLUMN_COMPANY]?: PartnerCompanyPayload;
107
107
  [PartnerFields.COLUMN_RECAPTCHA_TOKEN]: string;
108
108
  };
109
- export declare enum PartnerAnonymizeContactsPayloadFields {
110
- COLUMN_USERS = "users"
111
- }
112
- export declare type PartnerAnonymizeContactsPayload = {
113
- [PartnerAnonymizeContactsPayloadFields.COLUMN_USERS]: number[];
114
- };
115
109
  export declare class PartnerClient extends AbstractRestfulClient {
116
110
  protected basePath: string;
117
111
  deletePartner(partnerReference: string, parameters?: Parameters): Promise<void>;
@@ -127,5 +121,4 @@ export declare class PartnerClient extends AbstractRestfulClient {
127
121
  updateScopeUser(partnerReference: string, userReference: string, payload: UpdateScopeUserPayload, parameters?: Parameters): Promise<void>;
128
122
  getUserImpersonations(partnerReference: string, userReference: string, parameters?: Parameters): Promise<GetResult<GetUserImpersonationsResult>>;
129
123
  postPartner(payload: PostPartnerPayload, parameters?: Parameters): Promise<GetResult<DataPartner>>;
130
- anonymizeContacts(partnerReference: string, payload: PartnerAnonymizeContactsPayload, parameters?: Parameters): Promise<void>;
131
124
  }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PartnerClient = exports.PartnerAnonymizeContactsPayloadFields = exports.PartnerCompanyPayloadFields = exports.PartnerAddressFields = exports.PartnerContactPayloadFields = exports.PartnerUserPayloadFields = exports.PartnerFields = exports.PatchUserPayloadFields = void 0;
3
+ exports.PartnerClient = exports.PartnerCompanyPayloadFields = exports.PartnerAddressFields = exports.PartnerContactPayloadFields = exports.PartnerUserPayloadFields = exports.PartnerFields = exports.PatchUserPayloadFields = void 0;
4
4
  const abstractRestfulClient_1 = require("../abstractRestfulClient");
5
5
  const getResult_1 = require("../getResult");
6
6
  const getUserImpersonationsResult_1 = require("./types/getUserImpersonationsResult");
@@ -64,10 +64,6 @@ var PartnerCompanyPayloadFields;
64
64
  PartnerCompanyPayloadFields["COLUMN_REGISTRATION_NUMBER"] = "registrationNumber";
65
65
  PartnerCompanyPayloadFields["COLUMN_VAT_NUMBER"] = "vatNumber";
66
66
  })(PartnerCompanyPayloadFields = exports.PartnerCompanyPayloadFields || (exports.PartnerCompanyPayloadFields = {}));
67
- var PartnerAnonymizeContactsPayloadFields;
68
- (function (PartnerAnonymizeContactsPayloadFields) {
69
- PartnerAnonymizeContactsPayloadFields["COLUMN_USERS"] = "users";
70
- })(PartnerAnonymizeContactsPayloadFields = exports.PartnerAnonymizeContactsPayloadFields || (exports.PartnerAnonymizeContactsPayloadFields = {}));
71
67
  class PartnerClient extends abstractRestfulClient_1.AbstractRestfulClient {
72
68
  constructor() {
73
69
  super(...arguments);
@@ -120,10 +116,6 @@ class PartnerClient extends abstractRestfulClient_1.AbstractRestfulClient {
120
116
  this.path = `/v1/register`;
121
117
  return new getResult_1.GetResult(dataPartner_1.DataPartner, await this.post(payload, parameters));
122
118
  }
123
- async anonymizeContacts(partnerReference, payload, parameters = {}) {
124
- this.path = `/${partnerReference}/contact/anonymize`;
125
- await this.patch(payload, parameters);
126
- }
127
119
  }
128
120
  exports.PartnerClient = PartnerClient;
129
121
  //# sourceMappingURL=partnerClient.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-bdj-2",
7
+ "version": "3.185.0-rc-cpe-1",
8
8
  "description": "Node.js client for ArrowSphere's public API",
9
9
  "main": "build/index.js",
10
10
  "types": "build/index.d.ts",