@arrowsphere/api-client 3.369.0 → 3.370.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,9 @@
|
|
|
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.370.0] - 2026.05.21
|
|
7
|
+
### Added
|
|
8
|
+
- [customer] New endpoint for GDAP relationship export
|
|
6
9
|
|
|
7
10
|
## [3.369.0] - 2026.05.19
|
|
8
11
|
### Added
|
|
@@ -144,6 +144,12 @@ export declare enum UploadAttachmentInputFields {
|
|
|
144
144
|
export declare type BulkActionInputType = {
|
|
145
145
|
[UploadAttachmentInputFields.COLUMN_FILE_ENCODED]: string;
|
|
146
146
|
};
|
|
147
|
+
export declare enum ExportGdapRelationshipInputFields {
|
|
148
|
+
COLUMN_CUSTOMERS_REF = "customersRef"
|
|
149
|
+
}
|
|
150
|
+
export declare type PostExportGdapListType = {
|
|
151
|
+
[ExportGdapRelationshipInputFields.COLUMN_CUSTOMERS_REF]: string[];
|
|
152
|
+
};
|
|
147
153
|
export declare type CustomersFilterInputType = {
|
|
148
154
|
[CustomersFilterInputFields.COMPANY_ID]?: string;
|
|
149
155
|
[CustomersFilterInputFields.COMPANY_NAME]?: string;
|
|
@@ -184,6 +190,7 @@ export declare class CustomersClient extends AbstractRestfulClient {
|
|
|
184
190
|
postCustomerProvision(customerReference: string, payload: PostCustomerMigrationPayload): Promise<void>;
|
|
185
191
|
getCustomerProvision(customerReference: string, program: string): Promise<GetResult<CustomerProvision>>;
|
|
186
192
|
getUnknownLicenses(customerReference: string, parameters?: Parameters): Promise<GetResult<DataUnknownLicenses>>;
|
|
193
|
+
postExportGdapRelationship(customerRefs: PostExportGdapListType): Promise<void>;
|
|
187
194
|
getCustomerVendorCredentials(customerReference: string, vendorReference: string, parameters?: Parameters): Promise<GetResult<CustomerCredentials>>;
|
|
188
195
|
postBulkUploadCustomer(bulkActionInput: BulkActionInputType): Promise<void>;
|
|
189
196
|
postExportCustomers(payload: ExportCustomersInputType): Promise<void>;
|
|
@@ -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.ExportGdapRelationshipInputFields = exports.UploadAttachmentInputFields = exports.PostCustomerInvitationActivateFields = 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");
|
|
@@ -67,6 +67,10 @@ var UploadAttachmentInputFields;
|
|
|
67
67
|
(function (UploadAttachmentInputFields) {
|
|
68
68
|
UploadAttachmentInputFields["COLUMN_FILE_ENCODED"] = "fileEncoded";
|
|
69
69
|
})(UploadAttachmentInputFields = exports.UploadAttachmentInputFields || (exports.UploadAttachmentInputFields = {}));
|
|
70
|
+
var ExportGdapRelationshipInputFields;
|
|
71
|
+
(function (ExportGdapRelationshipInputFields) {
|
|
72
|
+
ExportGdapRelationshipInputFields["COLUMN_CUSTOMERS_REF"] = "customersRef";
|
|
73
|
+
})(ExportGdapRelationshipInputFields = exports.ExportGdapRelationshipInputFields || (exports.ExportGdapRelationshipInputFields = {}));
|
|
70
74
|
class CustomersClient extends abstractRestfulClient_1.AbstractRestfulClient {
|
|
71
75
|
constructor() {
|
|
72
76
|
super(...arguments);
|
|
@@ -156,6 +160,10 @@ class CustomersClient extends abstractRestfulClient_1.AbstractRestfulClient {
|
|
|
156
160
|
this.path = `/${customerReference}/unknownlicenses`;
|
|
157
161
|
return new getResult_1.GetResult(dataUnknownLicenses_1.DataUnknownLicenses, await this.get(parameters));
|
|
158
162
|
}
|
|
163
|
+
async postExportGdapRelationship(customerRefs) {
|
|
164
|
+
this.path = '/exportGdapRelationship';
|
|
165
|
+
await this.post(customerRefs);
|
|
166
|
+
}
|
|
159
167
|
async getCustomerVendorCredentials(customerReference, vendorReference, parameters = {}) {
|
|
160
168
|
this.path = `/${customerReference}/vendor/${vendorReference}/credentials`;
|
|
161
169
|
return new getResult_1.GetResult(customerCredentials_1.CustomerCredentials, await this.get(parameters));
|
package/package.json
CHANGED