@companieshouse/api-sdk-node 2.0.307 → 2.0.309
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.
|
@@ -20,7 +20,7 @@ export default class AssociationsService {
|
|
|
20
20
|
* @param itemsPerPage - a number of items to be returned per page. Default value: 15.
|
|
21
21
|
* @returns a promise that resolves to the HTTP response from the server that includes the associations or errors object.
|
|
22
22
|
*/
|
|
23
|
-
getCompanyAssociations(companyNumber: string, includeRemoved?: boolean, pageIndex?: number, itemsPerPage?: number): Promise<Resource<AssociationList | Errors>>;
|
|
23
|
+
getCompanyAssociations(companyNumber: string, includeRemoved?: boolean, pageIndex?: number, itemsPerPage?: number, requestId?: string): Promise<Resource<AssociationList | Errors>>;
|
|
24
24
|
/**
|
|
25
25
|
* Searches for an association between a user and a company using either the user's email or user ID.
|
|
26
26
|
* Only one of userEmail or userId should be provided.
|
|
@@ -34,7 +34,7 @@ export default class AssociationsService {
|
|
|
34
34
|
* Default: confirmed.
|
|
35
35
|
* @returns Promise resolving to the association or errors object.
|
|
36
36
|
*/
|
|
37
|
-
searchForCompanyAssociation(companyNumber: string, userEmail?: string, userId?: string, associationStatus?: AssociationStatus[]): Promise<Resource<Association | Errors>>;
|
|
37
|
+
searchForCompanyAssociation(companyNumber: string, userEmail?: string, userId?: string, associationStatus?: AssociationStatus[], requestId?: string): Promise<Resource<Association | Errors>>;
|
|
38
38
|
/**
|
|
39
39
|
* Initiates an HTTP GET request to retrieve the associations searched based on association status.
|
|
40
40
|
* @param associationStatus - an association status used to filter associations. This parameter is required. Available values: confirmed, awaiting-approval, removed. Default value: confirmed.
|
|
@@ -43,34 +43,34 @@ export default class AssociationsService {
|
|
|
43
43
|
* @param companyNumber - a filter based on company number.
|
|
44
44
|
* @returns a promise that resolves to the HTTP response from the server that includes the associations or errors object.
|
|
45
45
|
*/
|
|
46
|
-
searchAssociations(associationStatus: AssociationStatus[], pageIndex?: number, itemsPerPage?: number, companyNumber?: string): Promise<Resource<AssociationList | Errors>>;
|
|
46
|
+
searchAssociations(associationStatus: AssociationStatus[], pageIndex?: number, itemsPerPage?: number, companyNumber?: string, requestId?: string): Promise<Resource<AssociationList | Errors>>;
|
|
47
47
|
/**
|
|
48
48
|
* Creates a new association for a user with provided userId.
|
|
49
49
|
* @param companyNumber - The company number for the new association.
|
|
50
50
|
* @param userId - The user's unique identifier.
|
|
51
51
|
* @returns A promise resolving to the new association's link or errors object.
|
|
52
52
|
*/
|
|
53
|
-
createAssociation(companyNumber: string, userId: string): Promise<Resource<NewAssociationResponse | Errors>>;
|
|
53
|
+
createAssociation(companyNumber: string, userId: string, requestId?: string): Promise<Resource<NewAssociationResponse | Errors>>;
|
|
54
54
|
/**
|
|
55
55
|
* Invites a user with the provided email address to a company.
|
|
56
56
|
* @param companyNumber - The company number.
|
|
57
57
|
* @param inviteeEmailAddress - The email address of the user to invite.
|
|
58
58
|
* @returns A promise resolving to the new association's link or errors object.
|
|
59
59
|
*/
|
|
60
|
-
inviteUser(companyNumber: string, inviteeEmailAddress: string): Promise<Resource<NewAssociationResponse | Errors>>;
|
|
60
|
+
inviteUser(companyNumber: string, inviteeEmailAddress: string, requestId?: string): Promise<Resource<NewAssociationResponse | Errors>>;
|
|
61
61
|
/**
|
|
62
62
|
* Returns an association data for the association with the provided association identifier.
|
|
63
63
|
* @param associationId - an identifier of the association for which data has to be returned.
|
|
64
64
|
* @returns a promise that resolves to the HTTP response from the server that includes the association data or errors object.
|
|
65
65
|
*/
|
|
66
|
-
getAssociation(associationId: string): Promise<Resource<Association | Errors>>;
|
|
66
|
+
getAssociation(associationId: string, requestId?: string): Promise<Resource<Association | Errors>>;
|
|
67
67
|
/**
|
|
68
68
|
* Changes the status of an association with the provided identifier to the provided status.
|
|
69
69
|
* @param associationId - an identifier of the association to modify.
|
|
70
70
|
* @param status - a new status for the association.
|
|
71
71
|
* @returns a promise that resolves to the HTTP response from the server that has no resource data or includes errors object.
|
|
72
72
|
*/
|
|
73
|
-
updateAssociationStatus(associationId: string, status: AssociationStatus): Promise<Resource<undefined | Errors>>;
|
|
73
|
+
updateAssociationStatus(associationId: string, status: AssociationStatus, requestId?: string): Promise<Resource<undefined | Errors>>;
|
|
74
74
|
/**
|
|
75
75
|
* Initiates an HTTP GET fetch active invitations for a user in session from all associations.
|
|
76
76
|
* This request return only the invitations which are active (status = awaiting_approval)
|
|
@@ -79,14 +79,14 @@ export default class AssociationsService {
|
|
|
79
79
|
* @param itemsPerPage - a number of items to be returned per page. Default value: 15.
|
|
80
80
|
* @returns a promise that resolves to the invitations list for this user or errors object.
|
|
81
81
|
*/
|
|
82
|
-
getInvitations(pageIndex?: number, itemsPerPage?: number): Promise<Resource<InvitationList | Errors>>;
|
|
82
|
+
getInvitations(pageIndex?: number, itemsPerPage?: number, requestId?: string): Promise<Resource<InvitationList | Errors>>;
|
|
83
83
|
/**
|
|
84
84
|
* Creates a new invitation (association) for the supplied email and company number.
|
|
85
85
|
* @param companyNumber - the company number.
|
|
86
86
|
* @param inviteeEmailAddress - email address of the user invited to have an association.
|
|
87
87
|
* @returns a promise that resolves to the HTTP response from the server that includes the new association's identifier or errors object.
|
|
88
88
|
*/
|
|
89
|
-
postInvitation(companyNumber: string, inviteeEmailAddress: string): Promise<Resource<NewAssociationResponse | Errors>>;
|
|
89
|
+
postInvitation(companyNumber: string, inviteeEmailAddress: string, requestId?: string): Promise<Resource<NewAssociationResponse | Errors>>;
|
|
90
90
|
/**
|
|
91
91
|
* Initiates an HTTP GET request to return all previous states for an association. This will not return the active state.
|
|
92
92
|
* @param associationID - an identifier of the association for which the previous states are being returned.
|
|
@@ -94,7 +94,7 @@ export default class AssociationsService {
|
|
|
94
94
|
* @param itemsPerPage - a number of items to be returned per page. Default value: 15.
|
|
95
95
|
* @returns a promise that resolves to the HTTP response from the server that includes the PreviousStateList or an Errors object.
|
|
96
96
|
*/
|
|
97
|
-
getPreviousStates(associationID: string, pageIndex?: number, itemsPerPage?: number): Promise<Resource<PreviousStateList | Errors>>;
|
|
97
|
+
getPreviousStates(associationID: string, pageIndex?: number, itemsPerPage?: number, requestId?: string): Promise<Resource<PreviousStateList | Errors>>;
|
|
98
98
|
/**
|
|
99
99
|
* Creates a query string based on the properties provided in queryParameters object.
|
|
100
100
|
* @param queryParameters - an object of which properties are used as key-value entries to a query string to be added to URL.
|
|
@@ -13,6 +13,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
13
13
|
};
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
const mapping_1 = __importDefault(require("../../mapping/mapping"));
|
|
16
|
+
const util_1 = require("../../util");
|
|
16
17
|
/**
|
|
17
18
|
* A service class for managing communications with the associations API.
|
|
18
19
|
*/
|
|
@@ -32,7 +33,7 @@ class AssociationsService {
|
|
|
32
33
|
* @param itemsPerPage - a number of items to be returned per page. Default value: 15.
|
|
33
34
|
* @returns a promise that resolves to the HTTP response from the server that includes the associations or errors object.
|
|
34
35
|
*/
|
|
35
|
-
getCompanyAssociations(companyNumber, includeRemoved, pageIndex, itemsPerPage) {
|
|
36
|
+
getCompanyAssociations(companyNumber, includeRemoved, pageIndex, itemsPerPage, requestId) {
|
|
36
37
|
return __awaiter(this, void 0, void 0, function* () {
|
|
37
38
|
let queryString = "";
|
|
38
39
|
if (includeRemoved || pageIndex || itemsPerPage) {
|
|
@@ -44,7 +45,8 @@ class AssociationsService {
|
|
|
44
45
|
queryString = this.getQueryString(queryParameters);
|
|
45
46
|
}
|
|
46
47
|
const url = `/associations/companies/${companyNumber}${queryString}`;
|
|
47
|
-
const
|
|
48
|
+
const headers = util_1.addRequestIdHeader(requestId);
|
|
49
|
+
const response = yield this.client.httpGet(url, headers);
|
|
48
50
|
return this.getResource(response);
|
|
49
51
|
});
|
|
50
52
|
}
|
|
@@ -61,7 +63,7 @@ class AssociationsService {
|
|
|
61
63
|
* Default: confirmed.
|
|
62
64
|
* @returns Promise resolving to the association or errors object.
|
|
63
65
|
*/
|
|
64
|
-
searchForCompanyAssociation(companyNumber, userEmail, userId, associationStatus) {
|
|
66
|
+
searchForCompanyAssociation(companyNumber, userEmail, userId, associationStatus, requestId) {
|
|
65
67
|
return __awaiter(this, void 0, void 0, function* () {
|
|
66
68
|
const url = `/associations/companies/${companyNumber}/search`;
|
|
67
69
|
const body = {};
|
|
@@ -71,7 +73,8 @@ class AssociationsService {
|
|
|
71
73
|
body.user_id = userId;
|
|
72
74
|
if (associationStatus)
|
|
73
75
|
body.status = associationStatus;
|
|
74
|
-
const
|
|
76
|
+
const headers = util_1.addRequestIdHeader(requestId);
|
|
77
|
+
const response = yield this.client.httpPost(url, body, headers);
|
|
75
78
|
return this.getResource(response);
|
|
76
79
|
});
|
|
77
80
|
}
|
|
@@ -83,7 +86,7 @@ class AssociationsService {
|
|
|
83
86
|
* @param companyNumber - a filter based on company number.
|
|
84
87
|
* @returns a promise that resolves to the HTTP response from the server that includes the associations or errors object.
|
|
85
88
|
*/
|
|
86
|
-
searchAssociations(associationStatus, pageIndex, itemsPerPage, companyNumber) {
|
|
89
|
+
searchAssociations(associationStatus, pageIndex, itemsPerPage, companyNumber, requestId) {
|
|
87
90
|
return __awaiter(this, void 0, void 0, function* () {
|
|
88
91
|
const queryParameters = {
|
|
89
92
|
page_index: pageIndex || undefined,
|
|
@@ -93,7 +96,8 @@ class AssociationsService {
|
|
|
93
96
|
};
|
|
94
97
|
const queryString = this.getQueryString(queryParameters);
|
|
95
98
|
const url = `/associations${queryString}`;
|
|
96
|
-
const
|
|
99
|
+
const headers = util_1.addRequestIdHeader(requestId);
|
|
100
|
+
const response = yield this.client.httpGet(url, headers);
|
|
97
101
|
return this.getResource(response);
|
|
98
102
|
});
|
|
99
103
|
}
|
|
@@ -103,11 +107,12 @@ class AssociationsService {
|
|
|
103
107
|
* @param userId - The user's unique identifier.
|
|
104
108
|
* @returns A promise resolving to the new association's link or errors object.
|
|
105
109
|
*/
|
|
106
|
-
createAssociation(companyNumber, userId) {
|
|
110
|
+
createAssociation(companyNumber, userId, requestId) {
|
|
107
111
|
return __awaiter(this, void 0, void 0, function* () {
|
|
108
112
|
const url = "/associations";
|
|
109
113
|
const body = { company_number: companyNumber, user_id: userId };
|
|
110
|
-
const
|
|
114
|
+
const headers = util_1.addRequestIdHeader(requestId);
|
|
115
|
+
const response = yield this.client.httpPost(url, body, headers);
|
|
111
116
|
return this.getResource(response);
|
|
112
117
|
});
|
|
113
118
|
}
|
|
@@ -117,11 +122,12 @@ class AssociationsService {
|
|
|
117
122
|
* @param inviteeEmailAddress - The email address of the user to invite.
|
|
118
123
|
* @returns A promise resolving to the new association's link or errors object.
|
|
119
124
|
*/
|
|
120
|
-
inviteUser(companyNumber, inviteeEmailAddress) {
|
|
125
|
+
inviteUser(companyNumber, inviteeEmailAddress, requestId) {
|
|
121
126
|
return __awaiter(this, void 0, void 0, function* () {
|
|
122
127
|
const url = "/associations/invitations";
|
|
123
128
|
const body = { company_number: companyNumber, invitee_email_id: inviteeEmailAddress };
|
|
124
|
-
const
|
|
129
|
+
const headers = util_1.addRequestIdHeader(requestId);
|
|
130
|
+
const response = yield this.client.httpPost(url, body, headers);
|
|
125
131
|
return this.getResource(response);
|
|
126
132
|
});
|
|
127
133
|
}
|
|
@@ -130,10 +136,11 @@ class AssociationsService {
|
|
|
130
136
|
* @param associationId - an identifier of the association for which data has to be returned.
|
|
131
137
|
* @returns a promise that resolves to the HTTP response from the server that includes the association data or errors object.
|
|
132
138
|
*/
|
|
133
|
-
getAssociation(associationId) {
|
|
139
|
+
getAssociation(associationId, requestId) {
|
|
134
140
|
return __awaiter(this, void 0, void 0, function* () {
|
|
135
141
|
const url = `/associations/${associationId}`;
|
|
136
|
-
const
|
|
142
|
+
const headers = util_1.addRequestIdHeader(requestId);
|
|
143
|
+
const response = yield this.client.httpGet(url, headers);
|
|
137
144
|
return this.getResource(response);
|
|
138
145
|
});
|
|
139
146
|
}
|
|
@@ -143,11 +150,12 @@ class AssociationsService {
|
|
|
143
150
|
* @param status - a new status for the association.
|
|
144
151
|
* @returns a promise that resolves to the HTTP response from the server that has no resource data or includes errors object.
|
|
145
152
|
*/
|
|
146
|
-
updateAssociationStatus(associationId, status) {
|
|
153
|
+
updateAssociationStatus(associationId, status, requestId) {
|
|
147
154
|
return __awaiter(this, void 0, void 0, function* () {
|
|
148
155
|
const url = `/associations/${associationId}`;
|
|
149
156
|
const body = { status: status };
|
|
150
|
-
const
|
|
157
|
+
const headers = util_1.addRequestIdHeader(requestId);
|
|
158
|
+
const response = yield this.client.httpPatch(url, body, headers);
|
|
151
159
|
return this.getResource(response);
|
|
152
160
|
});
|
|
153
161
|
}
|
|
@@ -159,7 +167,7 @@ class AssociationsService {
|
|
|
159
167
|
* @param itemsPerPage - a number of items to be returned per page. Default value: 15.
|
|
160
168
|
* @returns a promise that resolves to the invitations list for this user or errors object.
|
|
161
169
|
*/
|
|
162
|
-
getInvitations(pageIndex, itemsPerPage) {
|
|
170
|
+
getInvitations(pageIndex, itemsPerPage, requestId) {
|
|
163
171
|
return __awaiter(this, void 0, void 0, function* () {
|
|
164
172
|
const queryParameters = {
|
|
165
173
|
page_index: pageIndex || undefined,
|
|
@@ -167,7 +175,8 @@ class AssociationsService {
|
|
|
167
175
|
};
|
|
168
176
|
const queryString = this.getQueryString(queryParameters);
|
|
169
177
|
const url = `/associations/invitations${queryString}`;
|
|
170
|
-
const
|
|
178
|
+
const headers = util_1.addRequestIdHeader(requestId);
|
|
179
|
+
const response = yield this.client.httpGet(url, headers);
|
|
171
180
|
return this.getResource(response);
|
|
172
181
|
});
|
|
173
182
|
}
|
|
@@ -177,14 +186,15 @@ class AssociationsService {
|
|
|
177
186
|
* @param inviteeEmailAddress - email address of the user invited to have an association.
|
|
178
187
|
* @returns a promise that resolves to the HTTP response from the server that includes the new association's identifier or errors object.
|
|
179
188
|
*/
|
|
180
|
-
postInvitation(companyNumber, inviteeEmailAddress) {
|
|
189
|
+
postInvitation(companyNumber, inviteeEmailAddress, requestId) {
|
|
181
190
|
return __awaiter(this, void 0, void 0, function* () {
|
|
182
191
|
const body = {
|
|
183
192
|
company_number: companyNumber,
|
|
184
193
|
invitee_email_id: inviteeEmailAddress
|
|
185
194
|
};
|
|
186
195
|
const url = `/associations/invitations`;
|
|
187
|
-
const
|
|
196
|
+
const headers = util_1.addRequestIdHeader(requestId);
|
|
197
|
+
const response = yield this.client.httpPost(url, body, headers);
|
|
188
198
|
return this.getResource(response);
|
|
189
199
|
});
|
|
190
200
|
}
|
|
@@ -195,7 +205,7 @@ class AssociationsService {
|
|
|
195
205
|
* @param itemsPerPage - a number of items to be returned per page. Default value: 15.
|
|
196
206
|
* @returns a promise that resolves to the HTTP response from the server that includes the PreviousStateList or an Errors object.
|
|
197
207
|
*/
|
|
198
|
-
getPreviousStates(associationID, pageIndex, itemsPerPage) {
|
|
208
|
+
getPreviousStates(associationID, pageIndex, itemsPerPage, requestId) {
|
|
199
209
|
return __awaiter(this, void 0, void 0, function* () {
|
|
200
210
|
let queryString = "";
|
|
201
211
|
if (pageIndex || itemsPerPage) {
|
|
@@ -206,7 +216,8 @@ class AssociationsService {
|
|
|
206
216
|
queryString = this.getQueryString(queryParameters);
|
|
207
217
|
}
|
|
208
218
|
const url = `/associations/${associationID}/previous-states${queryString}`;
|
|
209
|
-
const
|
|
219
|
+
const headers = util_1.addRequestIdHeader(requestId);
|
|
220
|
+
const response = yield this.client.httpGet(url, headers);
|
|
210
221
|
return this.getResource(response);
|
|
211
222
|
});
|
|
212
223
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../src/services/associations/service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAcA,oEAA4C;
|
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../src/services/associations/service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAcA,oEAA4C;AAC5C,qCAAgD;AAEhD;;GAEG;AACH,MAAqB,mBAAmB;IAGpC;;;OAGG;IACH,YAA8B,MAAmB;QAAnB,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