@arrowsphere/api-client 3.15.0-rc.1 → 3.15.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,18 @@
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.15.1] - 2022-10-28
7
+
8
+ ### Changed
9
+
10
+ - Update key "note" for license history
11
+
12
+ ## [3.15.0] - 2022-10-24
13
+
14
+ ### Changed
15
+
16
+ - Add setHeaders function for axios call
17
+
6
18
  ## [3.14.0] - 2022-10-20
7
19
 
8
20
  ### Changed
@@ -1,23 +1,23 @@
1
1
  import { AbstractEntity } from '../../../abstractEntity';
2
- export declare enum HistoryNotesFields {
2
+ export declare enum HistoryNoteFields {
3
3
  COLUMN_BEFORE = "before",
4
4
  COLUMN_AFTER = "after",
5
5
  COLUMN_EXTRA_INFORMATION = "extra_information"
6
6
  }
7
- export declare type HistoryNotesGetData = {
8
- [HistoryNotesFields.COLUMN_BEFORE]: Record<string, unknown>;
9
- [HistoryNotesFields.COLUMN_AFTER]: Record<string, unknown>;
10
- [HistoryNotesFields.COLUMN_EXTRA_INFORMATION]: Record<string, unknown>;
7
+ export declare type HistoryNoteGetData = {
8
+ [HistoryNoteFields.COLUMN_BEFORE]: Record<string, unknown>;
9
+ [HistoryNoteFields.COLUMN_AFTER]: Record<string, unknown>;
10
+ [HistoryNoteFields.COLUMN_EXTRA_INFORMATION]: Record<string, unknown>;
11
11
  };
12
12
  export declare enum ActionHistoryResultFields {
13
13
  COLUMN_ACTION = "action",
14
- COLUMN_NOTES = "notes",
14
+ COLUMN_NOTE = "note",
15
15
  COLUMN_CREATED_AT = "created_at",
16
16
  COLUMN_UPDATED_AT = "updated_at"
17
17
  }
18
18
  export declare type ActionHistoryResultData = {
19
19
  [ActionHistoryResultFields.COLUMN_ACTION]: string;
20
- [ActionHistoryResultFields.COLUMN_NOTES]: HistoryNotesGetData;
20
+ [ActionHistoryResultFields.COLUMN_NOTE]: HistoryNoteGetData;
21
21
  [ActionHistoryResultFields.COLUMN_CREATED_AT]: string;
22
22
  [ActionHistoryResultFields.COLUMN_UPDATED_AT]: string;
23
23
  };
@@ -25,7 +25,7 @@ export declare class ActionHistoryResult extends AbstractEntity<ActionHistoryRes
25
25
  #private;
26
26
  constructor(licenseHistoryGetDataInput: ActionHistoryResultData);
27
27
  get action(): string;
28
- get notes(): HistoryNotesGetData;
28
+ get note(): HistoryNoteGetData;
29
29
  get createdAt(): string;
30
30
  get updatedAt(): string;
31
31
  toJSON(): ActionHistoryResultData;
@@ -12,20 +12,20 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
12
12
  }
13
13
  return privateMap.get(receiver);
14
14
  };
15
- var _action, _notes, _created_at, _updated_at;
15
+ var _action, _note, _created_at, _updated_at;
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.ActionHistoryResult = exports.ActionHistoryResultFields = exports.HistoryNotesFields = void 0;
17
+ exports.ActionHistoryResult = exports.ActionHistoryResultFields = exports.HistoryNoteFields = void 0;
18
18
  const abstractEntity_1 = require("../../../abstractEntity");
19
- var HistoryNotesFields;
20
- (function (HistoryNotesFields) {
21
- HistoryNotesFields["COLUMN_BEFORE"] = "before";
22
- HistoryNotesFields["COLUMN_AFTER"] = "after";
23
- HistoryNotesFields["COLUMN_EXTRA_INFORMATION"] = "extra_information";
24
- })(HistoryNotesFields = exports.HistoryNotesFields || (exports.HistoryNotesFields = {}));
19
+ var HistoryNoteFields;
20
+ (function (HistoryNoteFields) {
21
+ HistoryNoteFields["COLUMN_BEFORE"] = "before";
22
+ HistoryNoteFields["COLUMN_AFTER"] = "after";
23
+ HistoryNoteFields["COLUMN_EXTRA_INFORMATION"] = "extra_information";
24
+ })(HistoryNoteFields = exports.HistoryNoteFields || (exports.HistoryNoteFields = {}));
25
25
  var ActionHistoryResultFields;
26
26
  (function (ActionHistoryResultFields) {
27
27
  ActionHistoryResultFields["COLUMN_ACTION"] = "action";
28
- ActionHistoryResultFields["COLUMN_NOTES"] = "notes";
28
+ ActionHistoryResultFields["COLUMN_NOTE"] = "note";
29
29
  ActionHistoryResultFields["COLUMN_CREATED_AT"] = "created_at";
30
30
  ActionHistoryResultFields["COLUMN_UPDATED_AT"] = "updated_at";
31
31
  })(ActionHistoryResultFields = exports.ActionHistoryResultFields || (exports.ActionHistoryResultFields = {}));
@@ -33,19 +33,19 @@ class ActionHistoryResult extends abstractEntity_1.AbstractEntity {
33
33
  constructor(licenseHistoryGetDataInput) {
34
34
  super(licenseHistoryGetDataInput);
35
35
  _action.set(this, void 0);
36
- _notes.set(this, void 0);
36
+ _note.set(this, void 0);
37
37
  _created_at.set(this, void 0);
38
38
  _updated_at.set(this, void 0);
39
39
  __classPrivateFieldSet(this, _action, licenseHistoryGetDataInput[ActionHistoryResultFields.COLUMN_ACTION]);
40
- __classPrivateFieldSet(this, _notes, licenseHistoryGetDataInput[ActionHistoryResultFields.COLUMN_NOTES]);
40
+ __classPrivateFieldSet(this, _note, licenseHistoryGetDataInput[ActionHistoryResultFields.COLUMN_NOTE]);
41
41
  __classPrivateFieldSet(this, _created_at, licenseHistoryGetDataInput[ActionHistoryResultFields.COLUMN_CREATED_AT]);
42
42
  __classPrivateFieldSet(this, _updated_at, licenseHistoryGetDataInput[ActionHistoryResultFields.COLUMN_UPDATED_AT]);
43
43
  }
44
44
  get action() {
45
45
  return __classPrivateFieldGet(this, _action);
46
46
  }
47
- get notes() {
48
- return __classPrivateFieldGet(this, _notes);
47
+ get note() {
48
+ return __classPrivateFieldGet(this, _note);
49
49
  }
50
50
  get createdAt() {
51
51
  return __classPrivateFieldGet(this, _created_at);
@@ -56,12 +56,12 @@ class ActionHistoryResult extends abstractEntity_1.AbstractEntity {
56
56
  toJSON() {
57
57
  return {
58
58
  [ActionHistoryResultFields.COLUMN_ACTION]: this.action,
59
- [ActionHistoryResultFields.COLUMN_NOTES]: this.notes,
59
+ [ActionHistoryResultFields.COLUMN_NOTE]: this.note,
60
60
  [ActionHistoryResultFields.COLUMN_CREATED_AT]: this.createdAt,
61
61
  [ActionHistoryResultFields.COLUMN_UPDATED_AT]: this.updatedAt,
62
62
  };
63
63
  }
64
64
  }
65
65
  exports.ActionHistoryResult = ActionHistoryResult;
66
- _action = new WeakMap(), _notes = new WeakMap(), _created_at = new WeakMap(), _updated_at = new WeakMap();
66
+ _action = new WeakMap(), _note = new WeakMap(), _created_at = new WeakMap(), _updated_at = new WeakMap();
67
67
  //# sourceMappingURL=actionHistoryResult.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.15.0-rc.1",
7
+ "version": "3.15.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",