@tillhub/javascript-sdk 4.99.0 → 4.101.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 +17 -0
- package/dist/types/v0/documents.d.ts +28 -3
- package/dist/v0/documents.js +117 -11
- package/dist/v0/documents.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,20 @@
|
|
|
1
|
+
# [4.101.0](https://github.com/tillhub/tillhub-sdk-javascript/compare/v4.100.0...v4.101.0) (2023-10-24)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **documents:** add bulk preview & send methods ([03e124a](https://github.com/tillhub/tillhub-sdk-javascript/commit/03e124a1855a1d9a68f2cfa77a00007bafeee3a6))
|
|
7
|
+
* **documents:** fix url for bulk send ([6505616](https://github.com/tillhub/tillhub-sdk-javascript/commit/65056169b324000280a16b1d942393f6dc2abfd1))
|
|
8
|
+
|
|
9
|
+
# [4.100.0](https://github.com/tillhub/tillhub-sdk-javascript/compare/v4.99.0...v4.100.0) (2023-10-20)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
* **documents:** add bulkDownload method ([3f220f1](https://github.com/tillhub/tillhub-sdk-javascript/commit/3f220f1e7d281ec754bfc8c598db83d940f06e8f))
|
|
15
|
+
* **documents:** fix failing unit test ([7fe0fff](https://github.com/tillhub/tillhub-sdk-javascript/commit/7fe0fffcf31c7e7cc5914d6be5435b244a2459f5))
|
|
16
|
+
* **documents:** fix linting issue ([7272ba3](https://github.com/tillhub/tillhub-sdk-javascript/commit/7272ba3382eaf5073655da13f0bae4abcb6500e9))
|
|
17
|
+
|
|
1
18
|
# [4.99.0](https://github.com/tillhub/tillhub-sdk-javascript/compare/v4.98.0...v4.99.0) (2023-10-19)
|
|
2
19
|
|
|
3
20
|
|
|
@@ -18,12 +18,12 @@ export interface Document {
|
|
|
18
18
|
id: string;
|
|
19
19
|
updatedAt?: string;
|
|
20
20
|
}
|
|
21
|
-
export interface
|
|
21
|
+
export interface DocumentsPreviewQuery {
|
|
22
22
|
partnerName: string;
|
|
23
|
-
recipients: string[];
|
|
24
23
|
}
|
|
25
|
-
export interface
|
|
24
|
+
export interface DocumentsBulkPreviewBody {
|
|
26
25
|
partnerName: string;
|
|
26
|
+
documentIds: string[];
|
|
27
27
|
}
|
|
28
28
|
export interface DocumentsPreviewResponse {
|
|
29
29
|
data: {
|
|
@@ -31,6 +31,15 @@ export interface DocumentsPreviewResponse {
|
|
|
31
31
|
body?: string;
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
|
+
export interface DocumentsSendBody {
|
|
35
|
+
partnerName: string;
|
|
36
|
+
recipients: string[];
|
|
37
|
+
}
|
|
38
|
+
export interface DocumentsBulkSendBody {
|
|
39
|
+
partnerName: string;
|
|
40
|
+
recipients: string[];
|
|
41
|
+
documentIds: string[];
|
|
42
|
+
}
|
|
34
43
|
export interface DocumentsSendResponse {
|
|
35
44
|
data: {
|
|
36
45
|
success: true;
|
|
@@ -42,6 +51,9 @@ export interface DocumentsDownloadResponse {
|
|
|
42
51
|
contentType?: string;
|
|
43
52
|
filename?: string;
|
|
44
53
|
}
|
|
54
|
+
export interface DocumentsBulkDownloadBody {
|
|
55
|
+
documentIds: string[];
|
|
56
|
+
}
|
|
45
57
|
export declare class Documents extends ThBaseHandler {
|
|
46
58
|
static baseEndpoint: string;
|
|
47
59
|
endpoint: string;
|
|
@@ -52,8 +64,11 @@ export declare class Documents extends ThBaseHandler {
|
|
|
52
64
|
getAll(query?: Record<string, unknown>): Promise<DocumentsMultipleResponse>;
|
|
53
65
|
meta(query?: Record<string, unknown>): Promise<DocumentsMultipleResponse>;
|
|
54
66
|
preview(documentId: string, query: DocumentsPreviewQuery): Promise<DocumentsPreviewResponse>;
|
|
67
|
+
bulkPreview(body: DocumentsBulkPreviewBody): Promise<DocumentsPreviewResponse>;
|
|
55
68
|
send(documentId: string, body: DocumentsSendBody): Promise<DocumentsSendResponse>;
|
|
69
|
+
bulkSend(body: DocumentsBulkSendBody): Promise<DocumentsSendResponse>;
|
|
56
70
|
download(documentId: string): Promise<DocumentsDownloadResponse>;
|
|
71
|
+
bulkDownload(body: DocumentsBulkDownloadBody): Promise<DocumentsDownloadResponse>;
|
|
57
72
|
}
|
|
58
73
|
export declare class DocumentsGetFailed extends BaseError {
|
|
59
74
|
message: string;
|
|
@@ -70,8 +85,18 @@ export declare class DocumentsSendFailed extends BaseError {
|
|
|
70
85
|
name: string;
|
|
71
86
|
constructor(message?: string, properties?: Record<string, unknown>);
|
|
72
87
|
}
|
|
88
|
+
export declare class DocumentsBulkSendFailed extends BaseError {
|
|
89
|
+
message: string;
|
|
90
|
+
name: string;
|
|
91
|
+
constructor(message?: string, properties?: Record<string, unknown>);
|
|
92
|
+
}
|
|
73
93
|
export declare class DocumentsDownloadFailed extends BaseError {
|
|
74
94
|
message: string;
|
|
75
95
|
name: string;
|
|
76
96
|
constructor(message?: string, properties?: Record<string, unknown>);
|
|
77
97
|
}
|
|
98
|
+
export declare class DocumentsBulkDownloadFailed extends BaseError {
|
|
99
|
+
message: string;
|
|
100
|
+
name: string;
|
|
101
|
+
constructor(message?: string, properties?: Record<string, unknown>);
|
|
102
|
+
}
|
package/dist/v0/documents.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DocumentsDownloadFailed = exports.DocumentsSendFailed = exports.DocumentsMetaFailed = exports.DocumentsGetFailed = exports.Documents = void 0;
|
|
3
|
+
exports.DocumentsBulkDownloadFailed = exports.DocumentsDownloadFailed = exports.DocumentsBulkSendFailed = exports.DocumentsSendFailed = exports.DocumentsMetaFailed = exports.DocumentsGetFailed = exports.Documents = void 0;
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
5
|
var errors_1 = require("../errors");
|
|
6
6
|
var uri_helper_1 = require("../uri-helper");
|
|
@@ -110,15 +110,36 @@ var Documents = (function (_super) {
|
|
|
110
110
|
});
|
|
111
111
|
});
|
|
112
112
|
};
|
|
113
|
+
Documents.prototype.bulkPreview = function (body) {
|
|
114
|
+
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
115
|
+
var uri, response, error_4;
|
|
116
|
+
return tslib_1.__generator(this, function (_a) {
|
|
117
|
+
switch (_a.label) {
|
|
118
|
+
case 0:
|
|
119
|
+
_a.trys.push([0, 2, , 3]);
|
|
120
|
+
uri = this.uriHelper.generateBaseUri('/preview');
|
|
121
|
+
return [4, this.http.getClient().post(uri, body)];
|
|
122
|
+
case 1:
|
|
123
|
+
response = _a.sent();
|
|
124
|
+
return [2, {
|
|
125
|
+
data: response.data.results[0]
|
|
126
|
+
}];
|
|
127
|
+
case 2:
|
|
128
|
+
error_4 = _a.sent();
|
|
129
|
+
throw new DocumentsBulkPreviewFailed(error_4.message);
|
|
130
|
+
case 3: return [2];
|
|
131
|
+
}
|
|
132
|
+
});
|
|
133
|
+
});
|
|
134
|
+
};
|
|
113
135
|
Documents.prototype.send = function (documentId, body) {
|
|
114
136
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
115
|
-
var
|
|
137
|
+
var uri, response, error_5;
|
|
116
138
|
return tslib_1.__generator(this, function (_a) {
|
|
117
139
|
switch (_a.label) {
|
|
118
140
|
case 0:
|
|
119
141
|
_a.trys.push([0, 2, , 3]);
|
|
120
|
-
|
|
121
|
-
uri = this.uriHelper.generateUriWithQuery(base);
|
|
142
|
+
uri = this.uriHelper.generateBaseUri("/" + documentId + "/send");
|
|
122
143
|
return [4, this.http.getClient().post(uri, body)];
|
|
123
144
|
case 1:
|
|
124
145
|
response = _a.sent();
|
|
@@ -127,8 +148,31 @@ var Documents = (function (_super) {
|
|
|
127
148
|
msg: response.data.msg
|
|
128
149
|
}];
|
|
129
150
|
case 2:
|
|
130
|
-
|
|
131
|
-
throw new DocumentsSendFailed(
|
|
151
|
+
error_5 = _a.sent();
|
|
152
|
+
throw new DocumentsSendFailed(error_5.message);
|
|
153
|
+
case 3: return [2];
|
|
154
|
+
}
|
|
155
|
+
});
|
|
156
|
+
});
|
|
157
|
+
};
|
|
158
|
+
Documents.prototype.bulkSend = function (body) {
|
|
159
|
+
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
160
|
+
var uri, response, error_6;
|
|
161
|
+
return tslib_1.__generator(this, function (_a) {
|
|
162
|
+
switch (_a.label) {
|
|
163
|
+
case 0:
|
|
164
|
+
_a.trys.push([0, 2, , 3]);
|
|
165
|
+
uri = this.uriHelper.generateBaseUri('/send');
|
|
166
|
+
return [4, this.http.getClient().post(uri, body)];
|
|
167
|
+
case 1:
|
|
168
|
+
response = _a.sent();
|
|
169
|
+
return [2, {
|
|
170
|
+
data: response.data.results[0],
|
|
171
|
+
msg: response.data.msg
|
|
172
|
+
}];
|
|
173
|
+
case 2:
|
|
174
|
+
error_6 = _a.sent();
|
|
175
|
+
throw new DocumentsBulkSendFailed(error_6.message);
|
|
132
176
|
case 3: return [2];
|
|
133
177
|
}
|
|
134
178
|
});
|
|
@@ -136,13 +180,12 @@ var Documents = (function (_super) {
|
|
|
136
180
|
};
|
|
137
181
|
Documents.prototype.download = function (documentId) {
|
|
138
182
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
139
|
-
var
|
|
183
|
+
var uri, response, pdfObj, error_7;
|
|
140
184
|
return tslib_1.__generator(this, function (_a) {
|
|
141
185
|
switch (_a.label) {
|
|
142
186
|
case 0:
|
|
143
187
|
_a.trys.push([0, 2, , 3]);
|
|
144
|
-
|
|
145
|
-
uri = this.uriHelper.generateUriWithQuery(base);
|
|
188
|
+
uri = this.uriHelper.generateBaseUri("/" + documentId + "/download");
|
|
146
189
|
return [4, this.http.getClient().get(uri)];
|
|
147
190
|
case 1:
|
|
148
191
|
response = _a.sent();
|
|
@@ -153,8 +196,33 @@ var Documents = (function (_super) {
|
|
|
153
196
|
filename: pdfObj.fileName
|
|
154
197
|
}];
|
|
155
198
|
case 2:
|
|
156
|
-
|
|
157
|
-
throw new DocumentsDownloadFailed(
|
|
199
|
+
error_7 = _a.sent();
|
|
200
|
+
throw new DocumentsDownloadFailed(error_7.message);
|
|
201
|
+
case 3: return [2];
|
|
202
|
+
}
|
|
203
|
+
});
|
|
204
|
+
});
|
|
205
|
+
};
|
|
206
|
+
Documents.prototype.bulkDownload = function (body) {
|
|
207
|
+
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
208
|
+
var uri, response, pdfObj, error_8;
|
|
209
|
+
return tslib_1.__generator(this, function (_a) {
|
|
210
|
+
switch (_a.label) {
|
|
211
|
+
case 0:
|
|
212
|
+
_a.trys.push([0, 2, , 3]);
|
|
213
|
+
uri = this.uriHelper.generateBaseUri('/download');
|
|
214
|
+
return [4, this.http.getClient().post(uri, body)];
|
|
215
|
+
case 1:
|
|
216
|
+
response = _a.sent();
|
|
217
|
+
pdfObj = response.data.results[0];
|
|
218
|
+
return [2, {
|
|
219
|
+
data: pdfObj.base64Content,
|
|
220
|
+
contentType: pdfObj.contentType,
|
|
221
|
+
filename: pdfObj.fileName
|
|
222
|
+
}];
|
|
223
|
+
case 2:
|
|
224
|
+
error_8 = _a.sent();
|
|
225
|
+
throw new DocumentsBulkDownloadFailed(error_8.message);
|
|
158
226
|
case 3: return [2];
|
|
159
227
|
}
|
|
160
228
|
});
|
|
@@ -202,6 +270,18 @@ var DocumentsPreviewFailed = (function (_super) {
|
|
|
202
270
|
}
|
|
203
271
|
return DocumentsPreviewFailed;
|
|
204
272
|
}(errors_1.BaseError));
|
|
273
|
+
var DocumentsBulkPreviewFailed = (function (_super) {
|
|
274
|
+
tslib_1.__extends(DocumentsBulkPreviewFailed, _super);
|
|
275
|
+
function DocumentsBulkPreviewFailed(message, properties) {
|
|
276
|
+
if (message === void 0) { message = 'Could not create preview'; }
|
|
277
|
+
var _this = _super.call(this, message, properties) || this;
|
|
278
|
+
_this.message = message;
|
|
279
|
+
_this.name = 'DocumentsBulkPreviewFailed';
|
|
280
|
+
Object.setPrototypeOf(_this, DocumentsBulkPreviewFailed.prototype);
|
|
281
|
+
return _this;
|
|
282
|
+
}
|
|
283
|
+
return DocumentsBulkPreviewFailed;
|
|
284
|
+
}(errors_1.BaseError));
|
|
205
285
|
var DocumentsSendFailed = (function (_super) {
|
|
206
286
|
tslib_1.__extends(DocumentsSendFailed, _super);
|
|
207
287
|
function DocumentsSendFailed(message, properties) {
|
|
@@ -215,6 +295,19 @@ var DocumentsSendFailed = (function (_super) {
|
|
|
215
295
|
return DocumentsSendFailed;
|
|
216
296
|
}(errors_1.BaseError));
|
|
217
297
|
exports.DocumentsSendFailed = DocumentsSendFailed;
|
|
298
|
+
var DocumentsBulkSendFailed = (function (_super) {
|
|
299
|
+
tslib_1.__extends(DocumentsBulkSendFailed, _super);
|
|
300
|
+
function DocumentsBulkSendFailed(message, properties) {
|
|
301
|
+
if (message === void 0) { message = 'Could not send email'; }
|
|
302
|
+
var _this = _super.call(this, message, properties) || this;
|
|
303
|
+
_this.message = message;
|
|
304
|
+
_this.name = 'DocumentsBulkSendFailed';
|
|
305
|
+
Object.setPrototypeOf(_this, DocumentsBulkSendFailed.prototype);
|
|
306
|
+
return _this;
|
|
307
|
+
}
|
|
308
|
+
return DocumentsBulkSendFailed;
|
|
309
|
+
}(errors_1.BaseError));
|
|
310
|
+
exports.DocumentsBulkSendFailed = DocumentsBulkSendFailed;
|
|
218
311
|
var DocumentsDownloadFailed = (function (_super) {
|
|
219
312
|
tslib_1.__extends(DocumentsDownloadFailed, _super);
|
|
220
313
|
function DocumentsDownloadFailed(message, properties) {
|
|
@@ -228,4 +321,17 @@ var DocumentsDownloadFailed = (function (_super) {
|
|
|
228
321
|
return DocumentsDownloadFailed;
|
|
229
322
|
}(errors_1.BaseError));
|
|
230
323
|
exports.DocumentsDownloadFailed = DocumentsDownloadFailed;
|
|
324
|
+
var DocumentsBulkDownloadFailed = (function (_super) {
|
|
325
|
+
tslib_1.__extends(DocumentsBulkDownloadFailed, _super);
|
|
326
|
+
function DocumentsBulkDownloadFailed(message, properties) {
|
|
327
|
+
if (message === void 0) { message = 'Could not download files'; }
|
|
328
|
+
var _this = _super.call(this, message, properties) || this;
|
|
329
|
+
_this.message = message;
|
|
330
|
+
_this.name = 'DocumentsBulkDownloadFailed';
|
|
331
|
+
Object.setPrototypeOf(_this, DocumentsBulkDownloadFailed.prototype);
|
|
332
|
+
return _this;
|
|
333
|
+
}
|
|
334
|
+
return DocumentsBulkDownloadFailed;
|
|
335
|
+
}(errors_1.BaseError));
|
|
336
|
+
exports.DocumentsBulkDownloadFailed = DocumentsBulkDownloadFailed;
|
|
231
337
|
//# sourceMappingURL=documents.js.map
|
package/dist/v0/documents.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"documents.js","sourceRoot":"","sources":["../../src/v0/documents.ts"],"names":[],"mappings":";;;;AACA,oCAAqC;AACrC,4CAAyC;AACzC,gCAAuC;
|
|
1
|
+
{"version":3,"file":"documents.js","sourceRoot":"","sources":["../../src/v0/documents.ts"],"names":[],"mappings":";;;;AACA,oCAAqC;AACrC,4CAAyC;AACzC,gCAAuC;AA+DvC;IAA+B,qCAAa;IAO1C,mBAAa,OAAyB,EAAE,IAAY;;QAApD,YACE,kBAAM,IAAI,EAAE;YACV,QAAQ,EAAE,SAAS,CAAC,YAAY;YAChC,IAAI,QAAE,OAAO,CAAC,IAAI,mCAAI,yBAAyB;SAChD,CAAC,SAOH;QANC,KAAI,CAAC,OAAO,GAAG,OAAO,CAAA;QACtB,KAAI,CAAC,IAAI,GAAG,IAAI,CAAA;QAEhB,KAAI,CAAC,QAAQ,GAAG,SAAS,CAAC,YAAY,CAAA;QACtC,KAAI,CAAC,OAAO,CAAC,IAAI,SAAG,KAAI,CAAC,OAAO,CAAC,IAAI,mCAAI,yBAAyB,CAAA;QAClE,KAAI,CAAC,SAAS,GAAG,IAAI,sBAAS,CAAC,K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