@arrowsphere/api-client 3.350.0 → 3.352.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,21 @@
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.352.1] - 2026.03.17
7
+
8
+ ### Updated
9
+ - Updated the method of deployment to use npm publish
10
+
11
+ ## [3.352.0] - 2026.03.17
12
+
13
+ ### Added
14
+ - [Partner] Add endpoint to generate GDAP links
15
+
16
+ ## [3.351.0] - 2026.03.11
17
+
18
+ ### Fixed
19
+ - Add script to check version consistency between package.json
20
+
6
21
  ## [3.350.0] - 2026.03.10
7
22
 
8
23
  ### Fixed
@@ -71,6 +71,9 @@ export declare enum GetUserApiKeysFiltersFields {
71
71
  COLUMN_CREATION_DATE = "creationDate",
72
72
  COLUMN_LAST_ACCESS = "lastAccess"
73
73
  }
74
+ export declare enum PostAttachmentFields {
75
+ COLUMN_FILE_ENCODED = "fileEncoded"
76
+ }
74
77
  export declare type PatchUserPayload = {
75
78
  [PatchUserPayloadFields.COLUMN_FIRSTNAME]?: string;
76
79
  [PatchUserPayloadFields.COLUMN_LASTNAME]?: string;
@@ -132,6 +135,9 @@ export declare type GetUserApiKeysFilters = {
132
135
  [GetUserApiKeysFiltersFields.COLUMN_CREATION_DATE]?: string;
133
136
  [GetUserApiKeysFiltersFields.COLUMN_LAST_ACCESS]?: string;
134
137
  };
138
+ export declare type CustomerListPayload = {
139
+ [PostAttachmentFields.COLUMN_FILE_ENCODED]: string;
140
+ };
135
141
  export declare class PartnerClient extends AbstractRestfulClient {
136
142
  protected basePath: string;
137
143
  deletePartner(partnerReference: string, parameters?: Parameters): Promise<void>;
@@ -154,4 +160,5 @@ export declare class PartnerClient extends AbstractRestfulClient {
154
160
  getCustomFieldList(parameters?: Parameters): Promise<GetResult<CustomFieldListResponse>>;
155
161
  patchCustomField(customFieldId: number, isActive: boolean): Promise<GetResult<CustomFieldResponse>>;
156
162
  deleteCustomField(customFieldId: number, parameters?: Parameters): Promise<void>;
163
+ generateGdapLinksFromCustomerListFile(payload: CustomerListPayload): Promise<void>;
157
164
  }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PartnerClient = exports.GetUserApiKeysFiltersFields = exports.PartnerCompanyPayloadFields = exports.PartnerAddressFields = exports.PartnerContactPayloadFields = exports.PartnerUserPayloadFields = exports.PartnerFields = exports.PatchUserPayloadFields = void 0;
3
+ exports.PartnerClient = exports.PostAttachmentFields = exports.GetUserApiKeysFiltersFields = exports.PartnerCompanyPayloadFields = exports.PartnerAddressFields = exports.PartnerContactPayloadFields = exports.PartnerUserPayloadFields = exports.PartnerFields = exports.PatchUserPayloadFields = void 0;
4
4
  const abstractRestfulClient_1 = require("../abstractRestfulClient");
5
5
  const createUserApiKeyResult_1 = require("./types/createUserApiKeyResult");
6
6
  const getResult_1 = require("../getResult");
@@ -79,6 +79,10 @@ var GetUserApiKeysFiltersFields;
79
79
  GetUserApiKeysFiltersFields["COLUMN_CREATION_DATE"] = "creationDate";
80
80
  GetUserApiKeysFiltersFields["COLUMN_LAST_ACCESS"] = "lastAccess";
81
81
  })(GetUserApiKeysFiltersFields = exports.GetUserApiKeysFiltersFields || (exports.GetUserApiKeysFiltersFields = {}));
82
+ var PostAttachmentFields;
83
+ (function (PostAttachmentFields) {
84
+ PostAttachmentFields["COLUMN_FILE_ENCODED"] = "fileEncoded";
85
+ })(PostAttachmentFields = exports.PostAttachmentFields || (exports.PostAttachmentFields = {}));
82
86
  class PartnerClient extends abstractRestfulClient_1.AbstractRestfulClient {
83
87
  constructor() {
84
88
  super(...arguments);
@@ -163,6 +167,10 @@ class PartnerClient extends abstractRestfulClient_1.AbstractRestfulClient {
163
167
  this.path = `/customField/${customFieldId}`;
164
168
  return this.delete(parameters);
165
169
  }
170
+ async generateGdapLinksFromCustomerListFile(payload) {
171
+ this.path = `/generateGdap`;
172
+ return await this.post(payload);
173
+ }
166
174
  }
167
175
  exports.PartnerClient = PartnerClient;
168
176
  //# 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.350.0",
7
+ "version": "3.352.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",