@arrowsphere/api-client 3.424.0 → 3.425.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,10 @@
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.425.0] - 2026.11.16
7
+ ### Added
8
+ - [licenses] Add `updateSeatSync` action type and `seatSync` field to the `bulkAction` endpoint (`BulkUpdateSeatSyncBody`)
9
+
6
10
  ## [3.424.0] - 2026.11.13
7
11
  ### Added
8
12
  - [quotes] Add `getQuote` (`GET /quotes/{reference}`) and `listQuotes` (`GET /quotes`) endpoints to `QuotesClient`
@@ -409,6 +409,13 @@ class LicensesClient extends abstractRestfulClient_1.AbstractRestfulClient {
409
409
  [bulkArguments_1.BulkBodyFields.FILE_NAME]: bulkData[bulkArguments_1.BulkBodyFields.FILE_NAME],
410
410
  };
411
411
  }
412
+ else if (bulkData.actionType == bulkArguments_1.ActionTypes.UPDATE_SEAT_SYNC) {
413
+ postData = {
414
+ [bulkArguments_1.BulkBodyFields.ACTION_TYPE]: bulkData[bulkArguments_1.BulkBodyFields.ACTION_TYPE],
415
+ [bulkArguments_1.BulkBodyFields.LICENSES]: bulkData[bulkArguments_1.BulkBodyFields.LICENSES],
416
+ [bulkArguments_1.BulkBodyFields.SEAT_SYNC]: bulkData[bulkArguments_1.BulkBodyFields.SEAT_SYNC],
417
+ };
418
+ }
412
419
  else {
413
420
  throw new Error('actionType does not exist');
414
421
  }
@@ -2,7 +2,8 @@ import type { Except } from 'type-fest';
2
2
  export declare enum ActionTypes {
3
3
  SET_RATE = "setRate",
4
4
  AUTO_RENEW = "autoRenew",
5
- UPLOAD_CHANGES = "uploadChanges"
5
+ UPLOAD_CHANGES = "uploadChanges",
6
+ UPDATE_SEAT_SYNC = "updateSeatSync"
6
7
  }
7
8
  export declare enum AutoRenewStatuses {
8
9
  EST = "est",
@@ -25,7 +26,8 @@ export declare enum BulkBodyFields {
25
26
  SPECIAL_PRICE_RATE_VALUE = "specialPriceRateValue",
26
27
  SPECIAL_RATE_EFFECTIVE_APPLICATION_DATE = "specialRateEffectiveApplicationDate",
27
28
  FILE_BASE64 = "fileBase64",
28
- FILE_NAME = "fileName"
29
+ FILE_NAME = "fileName",
30
+ SEAT_SYNC = "seatSync"
29
31
  }
30
32
  export declare enum SpecialPriceRateActive {
31
33
  ACTIVE_CURRENTLY = 1,
@@ -41,7 +43,13 @@ export declare type BulkBodyArgument = {
41
43
  [BulkBodyFields.SPECIAL_RATE_EFFECTIVE_APPLICATION_DATE]?: SpecialRateEffectiveApplicationDate;
42
44
  [BulkBodyFields.FILE_BASE64]?: string;
43
45
  [BulkBodyFields.FILE_NAME]?: string;
46
+ [BulkBodyFields.SEAT_SYNC]?: boolean;
44
47
  };
45
48
  export declare type BulkAutoRenewBody = Except<BulkBodyArgument, BulkBodyFields.LICENSES & BulkBodyFields.SPECIAL_PRICE_RATE_TYPE & BulkBodyFields.SPECIAL_PRICE_RATE_VALUE & BulkBodyFields.SPECIAL_RATE_EFFECTIVE_APPLICATION_DATE>;
46
49
  export declare type BulkSetRateBody = Except<BulkBodyArgument, BulkBodyFields.LICENSES & BulkBodyFields.AUTO_RENEW_STATUS>;
47
50
  export declare type BulkUploadChangesBody = Except<BulkBodyArgument, BulkBodyFields.FILE_BASE64 & BulkBodyFields.FILE_NAME>;
51
+ export declare type BulkUpdateSeatSyncBody = {
52
+ [BulkBodyFields.ACTION_TYPE]: ActionTypes.UPDATE_SEAT_SYNC;
53
+ [BulkBodyFields.LICENSES]: string[];
54
+ [BulkBodyFields.SEAT_SYNC]: boolean;
55
+ };
@@ -6,6 +6,7 @@ var ActionTypes;
6
6
  ActionTypes["SET_RATE"] = "setRate";
7
7
  ActionTypes["AUTO_RENEW"] = "autoRenew";
8
8
  ActionTypes["UPLOAD_CHANGES"] = "uploadChanges";
9
+ ActionTypes["UPDATE_SEAT_SYNC"] = "updateSeatSync";
9
10
  })(ActionTypes = exports.ActionTypes || (exports.ActionTypes = {}));
10
11
  var AutoRenewStatuses;
11
12
  (function (AutoRenewStatuses) {
@@ -33,6 +34,7 @@ var BulkBodyFields;
33
34
  BulkBodyFields["SPECIAL_RATE_EFFECTIVE_APPLICATION_DATE"] = "specialRateEffectiveApplicationDate";
34
35
  BulkBodyFields["FILE_BASE64"] = "fileBase64";
35
36
  BulkBodyFields["FILE_NAME"] = "fileName";
37
+ BulkBodyFields["SEAT_SYNC"] = "seatSync";
36
38
  })(BulkBodyFields = exports.BulkBodyFields || (exports.BulkBodyFields = {}));
37
39
  var SpecialPriceRateActive;
38
40
  (function (SpecialPriceRateActive) {
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.424.0",
7
+ "version": "3.425.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",