backlog-js 0.12.5 → 0.13.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/dist/backlog.js CHANGED
@@ -74,7 +74,7 @@ var Backlog = /** @class */ (function (_super) {
74
74
  * https://developer.nulab.com/docs/backlog/api/2/get-user/
75
75
  */
76
76
  Backlog.prototype.getUser = function (userId) {
77
- return this.get("users/" + userId);
77
+ return this.get("users/".concat(userId));
78
78
  };
79
79
  /**
80
80
  * https://developer.nulab.com/docs/backlog/api/2/add-user/
@@ -86,13 +86,13 @@ var Backlog = /** @class */ (function (_super) {
86
86
  * https://developer.nulab.com/docs/backlog/api/2/update-user/
87
87
  */
88
88
  Backlog.prototype.patchUser = function (userId, params) {
89
- return this.patch("users/" + userId, params);
89
+ return this.patch("users/".concat(userId), params);
90
90
  };
91
91
  /**
92
92
  * https://developer.nulab.com/docs/backlog/api/2/delete-user/
93
93
  */
94
94
  Backlog.prototype.deleteUser = function (userId) {
95
- return this.delete("users/" + userId);
95
+ return this.delete("users/".concat(userId));
96
96
  };
97
97
  /**
98
98
  * https://developer.nulab.com/docs/backlog/api/2/get-own-user/
@@ -104,25 +104,25 @@ var Backlog = /** @class */ (function (_super) {
104
104
  * https://developer.nulab.com/docs/backlog/api/2/get-user-icon/
105
105
  */
106
106
  Backlog.prototype.getUserIcon = function (userId) {
107
- return this.download("users/" + userId + "/icon");
107
+ return this.download("users/".concat(userId, "/icon"));
108
108
  };
109
109
  /**
110
110
  * https://developer.nulab.com/docs/backlog/api/2/get-user-recent-updates/
111
111
  */
112
112
  Backlog.prototype.getUserActivities = function (userId, params) {
113
- return this.get("users/" + userId + "/activities", params);
113
+ return this.get("users/".concat(userId, "/activities"), params);
114
114
  };
115
115
  /**
116
116
  * https://developer.nulab.com/docs/backlog/api/2/get-received-star-list/
117
117
  */
118
118
  Backlog.prototype.getUserStars = function (userId, params) {
119
- return this.get("users/" + userId + "/stars", params);
119
+ return this.get("users/".concat(userId, "/stars"), params);
120
120
  };
121
121
  /**
122
122
  * https://developer.nulab.com/docs/backlog/api/2/count-user-received-stars/
123
123
  */
124
124
  Backlog.prototype.getUserStarsCount = function (userId, params) {
125
- return this.get("users/" + userId + "/stars/count", params);
125
+ return this.get("users/".concat(userId, "/stars/count"), params);
126
126
  };
127
127
  /**
128
128
  * https://developer.nulab.com/docs/backlog/api/2/get-list-of-recently-viewed-issues/
@@ -164,7 +164,7 @@ var Backlog = /** @class */ (function (_super) {
164
164
  */
165
165
  Backlog.prototype.getGroup = function (groupId) {
166
166
  console.warn("Deprecated: Use getTeam instead.");
167
- return this.get("groups/" + groupId);
167
+ return this.get("groups/".concat(groupId));
168
168
  };
169
169
  /**
170
170
  * https://developer.nulab.com/docs/backlog/api/2/update-group/
@@ -172,7 +172,7 @@ var Backlog = /** @class */ (function (_super) {
172
172
  */
173
173
  Backlog.prototype.patchGroup = function (groupId, params) {
174
174
  console.warn("Deprecated: Use patchTeam instead.");
175
- return this.patch("groups/" + groupId, params);
175
+ return this.patch("groups/".concat(groupId), params);
176
176
  };
177
177
  /**
178
178
  * https://developer.nulab.com/docs/backlog/api/2/delete-group/
@@ -180,7 +180,7 @@ var Backlog = /** @class */ (function (_super) {
180
180
  */
181
181
  Backlog.prototype.deleteGroup = function (groupId) {
182
182
  console.warn("Deprecated: Use deleteTeam instead.");
183
- return this.delete("groups/" + groupId);
183
+ return this.delete("groups/".concat(groupId));
184
184
  };
185
185
  /**
186
186
  * https://developer.nulab.com/docs/backlog/api/2/get-status-list/
@@ -194,7 +194,7 @@ var Backlog = /** @class */ (function (_super) {
194
194
  * https://developer.nulab.com/docs/backlog/api/2/get-status-list-of-project/
195
195
  */
196
196
  Backlog.prototype.getProjectStatuses = function (projectIdOrKey) {
197
- return this.get("projects/" + projectIdOrKey + "/statuses");
197
+ return this.get("projects/".concat(projectIdOrKey, "/statuses"));
198
198
  };
199
199
  /**
200
200
  * https://developer.nulab.com/docs/backlog/api/2/get-resolution-list/
@@ -224,253 +224,253 @@ var Backlog = /** @class */ (function (_super) {
224
224
  * https://developer.nulab.com/docs/backlog/api/2/get-project/
225
225
  */
226
226
  Backlog.prototype.getProject = function (projectIdOrKey) {
227
- return this.get("projects/" + projectIdOrKey);
227
+ return this.get("projects/".concat(projectIdOrKey));
228
228
  };
229
229
  /**
230
230
  * https://developer.nulab.com/docs/backlog/api/2/update-project/
231
231
  */
232
232
  Backlog.prototype.patchProject = function (projectIdOrKey, params) {
233
- return this.patch("projects/" + projectIdOrKey, params);
233
+ return this.patch("projects/".concat(projectIdOrKey), params);
234
234
  };
235
235
  /**
236
236
  * https://developer.nulab.com/docs/backlog/api/2/delete-project/
237
237
  */
238
238
  Backlog.prototype.deleteProject = function (projectIdOrKey) {
239
- return this.delete("projects/" + projectIdOrKey);
239
+ return this.delete("projects/".concat(projectIdOrKey));
240
240
  };
241
241
  /**
242
242
  * https://developer.nulab.com/docs/backlog/api/2/get-project-icon/
243
243
  */
244
244
  Backlog.prototype.getProjectIcon = function (projectIdOrKey) {
245
- return this.download("projects/" + projectIdOrKey + "/image");
245
+ return this.download("projects/".concat(projectIdOrKey, "/image"));
246
246
  };
247
247
  /**
248
248
  * https://developer.nulab.com/docs/backlog/api/2/get-project-recent-updates/
249
249
  */
250
250
  Backlog.prototype.getProjectActivities = function (projectIdOrKey, params) {
251
- return this.get("projects/" + projectIdOrKey + "/activities", params);
251
+ return this.get("projects/".concat(projectIdOrKey, "/activities"), params);
252
252
  };
253
253
  /**
254
254
  * https://developer.nulab.com/docs/backlog/api/2/add-project-user/
255
255
  */
256
256
  Backlog.prototype.postProjectUser = function (projectIdOrKey, userId) {
257
- return this.post("projects/" + projectIdOrKey + "/users", { userId: userId });
257
+ return this.post("projects/".concat(projectIdOrKey, "/users"), { userId: userId });
258
258
  };
259
259
  /**
260
260
  * https://developer.nulab.com/docs/backlog/api/2/get-project-user-list/
261
261
  */
262
262
  Backlog.prototype.getProjectUsers = function (projectIdOrKey) {
263
- return this.get("projects/" + projectIdOrKey + "/users");
263
+ return this.get("projects/".concat(projectIdOrKey, "/users"));
264
264
  };
265
265
  /**
266
266
  * https://developer.nulab.com/docs/backlog/api/2/delete-project-user/
267
267
  */
268
268
  Backlog.prototype.deleteProjectUsers = function (projectIdOrKey, params) {
269
- return this.delete("projects/" + projectIdOrKey + "/users", params);
269
+ return this.delete("projects/".concat(projectIdOrKey, "/users"), params);
270
270
  };
271
271
  /**
272
272
  * https://developer.nulab.com/docs/backlog/api/2/add-project-administrator/
273
273
  */
274
274
  Backlog.prototype.postProjectAdministrators = function (projectIdOrKey, params) {
275
- return this.post("projects/" + projectIdOrKey + "/administrators", params);
275
+ return this.post("projects/".concat(projectIdOrKey, "/administrators"), params);
276
276
  };
277
277
  /**
278
278
  * https://developer.nulab.com/docs/backlog/api/2/get-list-of-project-administrators/
279
279
  */
280
280
  Backlog.prototype.getProjectAdministrators = function (projectIdOrKey) {
281
- return this.get("projects/" + projectIdOrKey + "/administrators");
281
+ return this.get("projects/".concat(projectIdOrKey, "/administrators"));
282
282
  };
283
283
  /**
284
284
  * https://developer.nulab.com/docs/backlog/api/2/delete-project-administrator/
285
285
  */
286
286
  Backlog.prototype.deleteProjectAdministrators = function (projectIdOrKey, params) {
287
- return this.delete("projects/" + projectIdOrKey + "/administrators", params);
287
+ return this.delete("projects/".concat(projectIdOrKey, "/administrators"), params);
288
288
  };
289
289
  /**
290
290
  * https://developer.nulab.com/docs/backlog/api/2/add-status/
291
291
  */
292
292
  Backlog.prototype.postProjectStatus = function (projectIdOrKey, params) {
293
- return this.post("projects/" + projectIdOrKey + "/statuses", params);
293
+ return this.post("projects/".concat(projectIdOrKey, "/statuses"), params);
294
294
  };
295
295
  /**
296
296
  * https://developer.nulab.com/docs/backlog/api/2/update-status/
297
297
  */
298
298
  Backlog.prototype.patchProjectStatus = function (projectIdOrKey, id, params) {
299
- return this.patch("projects/" + projectIdOrKey + "/statuses/" + id, params);
299
+ return this.patch("projects/".concat(projectIdOrKey, "/statuses/").concat(id), params);
300
300
  };
301
301
  /**
302
302
  * https://developer.nulab.com/docs/backlog/api/2/delete-status/
303
303
  */
304
304
  Backlog.prototype.deleteProjectStatus = function (projectIdOrKey, id, substituteStatusId) {
305
- return this.delete("projects/" + projectIdOrKey + "/statuses/" + id, { substituteStatusId: substituteStatusId });
305
+ return this.delete("projects/".concat(projectIdOrKey, "/statuses/").concat(id), { substituteStatusId: substituteStatusId });
306
306
  };
307
307
  /**
308
308
  * https://developer.nulab.com/docs/backlog/api/2/update-order-of-status/
309
309
  */
310
310
  Backlog.prototype.patchProjectStatusOrder = function (projectIdOrKey, statusId) {
311
- return this.patch("projects/" + projectIdOrKey + "/statuses/updateDisplayOrder", { statusId: statusId });
311
+ return this.patch("projects/".concat(projectIdOrKey, "/statuses/updateDisplayOrder"), { statusId: statusId });
312
312
  };
313
313
  /**
314
314
  * https://developer.nulab.com/docs/backlog/api/2/get-issue-type-list/
315
315
  */
316
316
  Backlog.prototype.getIssueTypes = function (projectIdOrKey) {
317
- return this.get("projects/" + projectIdOrKey + "/issueTypes");
317
+ return this.get("projects/".concat(projectIdOrKey, "/issueTypes"));
318
318
  };
319
319
  /**
320
320
  * https://developer.nulab.com/docs/backlog/api/2/add-issue-type/
321
321
  */
322
322
  Backlog.prototype.postIssueType = function (projectIdOrKey, params) {
323
- return this.post("projects/" + projectIdOrKey + "/issueTypes", params);
323
+ return this.post("projects/".concat(projectIdOrKey, "/issueTypes"), params);
324
324
  };
325
325
  /**
326
326
  * https://developer.nulab.com/docs/backlog/api/2/update-issue-type/
327
327
  */
328
328
  Backlog.prototype.patchIssueType = function (projectIdOrKey, id, params) {
329
- return this.patch("projects/" + projectIdOrKey + "/issueTypes/" + id, params);
329
+ return this.patch("projects/".concat(projectIdOrKey, "/issueTypes/").concat(id), params);
330
330
  };
331
331
  /**
332
332
  * https://developer.nulab.com/docs/backlog/api/2/delete-issue-type/
333
333
  */
334
334
  Backlog.prototype.deleteIssueType = function (projectIdOrKey, id, params) {
335
- return this.delete("projects/" + projectIdOrKey + "/issueTypes/" + id, params);
335
+ return this.delete("projects/".concat(projectIdOrKey, "/issueTypes/").concat(id), params);
336
336
  };
337
337
  /**
338
338
  * https://developer.nulab.com/docs/backlog/api/2/get-category-list/
339
339
  */
340
340
  Backlog.prototype.getCategories = function (projectIdOrKey) {
341
- return this.get("projects/" + projectIdOrKey + "/categories");
341
+ return this.get("projects/".concat(projectIdOrKey, "/categories"));
342
342
  };
343
343
  /**
344
344
  * https://developer.nulab.com/docs/backlog/api/2/add-category/
345
345
  */
346
346
  Backlog.prototype.postCategories = function (projectIdOrKey, params) {
347
- return this.post("projects/" + projectIdOrKey + "/categories", params);
347
+ return this.post("projects/".concat(projectIdOrKey, "/categories"), params);
348
348
  };
349
349
  /**
350
350
  * https://developer.nulab.com/docs/backlog/api/2/update-category/
351
351
  */
352
352
  Backlog.prototype.patchCategories = function (projectIdOrKey, id, params) {
353
- return this.patch("projects/" + projectIdOrKey + "/categories/" + id, params);
353
+ return this.patch("projects/".concat(projectIdOrKey, "/categories/").concat(id), params);
354
354
  };
355
355
  /**
356
356
  * https://developer.nulab.com/docs/backlog/api/2/delete-category/
357
357
  */
358
358
  Backlog.prototype.deleteCategories = function (projectIdOrKey, id) {
359
- return this.delete("projects/" + projectIdOrKey + "/categories/" + id);
359
+ return this.delete("projects/".concat(projectIdOrKey, "/categories/").concat(id));
360
360
  };
361
361
  /**
362
362
  * https://developer.nulab.com/docs/backlog/api/2/get-version-milestone-list/
363
363
  */
364
364
  Backlog.prototype.getVersions = function (projectIdOrKey) {
365
- return this.get("projects/" + projectIdOrKey + "/versions");
365
+ return this.get("projects/".concat(projectIdOrKey, "/versions"));
366
366
  };
367
367
  /**
368
368
  * https://developer.nulab.com/docs/backlog/api/2/add-version-milestone/
369
369
  */
370
370
  Backlog.prototype.postVersions = function (projectIdOrKey, params) {
371
- return this.post("projects/" + projectIdOrKey + "/versions", params);
371
+ return this.post("projects/".concat(projectIdOrKey, "/versions"), params);
372
372
  };
373
373
  /**
374
374
  * https://developer.nulab.com/docs/backlog/api/2/update-version-milestone/
375
375
  */
376
376
  Backlog.prototype.patchVersions = function (projectIdOrKey, id, params) {
377
- return this.patch("projects/" + projectIdOrKey + "/versions/" + id, params);
377
+ return this.patch("projects/".concat(projectIdOrKey, "/versions/").concat(id), params);
378
378
  };
379
379
  /**
380
380
  * https://developer.nulab.com/docs/backlog/api/2/delete-version/
381
381
  */
382
382
  Backlog.prototype.deleteVersions = function (projectIdOrKey, id) {
383
- return this.delete("projects/" + projectIdOrKey + "/versions/" + id);
383
+ return this.delete("projects/".concat(projectIdOrKey, "/versions/").concat(id));
384
384
  };
385
385
  /**
386
386
  * https://developer.nulab.com/docs/backlog/api/2/get-custom-field-list/
387
387
  */
388
388
  Backlog.prototype.getCustomFields = function (projectIdOrKey) {
389
- return this.get("projects/" + projectIdOrKey + "/customFields");
389
+ return this.get("projects/".concat(projectIdOrKey, "/customFields"));
390
390
  };
391
391
  /**
392
392
  * https://developer.nulab.com/docs/backlog/api/2/add-custom-field/
393
393
  */
394
394
  Backlog.prototype.postCustomField = function (projectIdOrKey, params) {
395
- return this.post("projects/" + projectIdOrKey + "/customFields", params);
395
+ return this.post("projects/".concat(projectIdOrKey, "/customFields"), params);
396
396
  };
397
397
  /**
398
398
  * https://developer.nulab.com/docs/backlog/api/2/update-custom-field/
399
399
  */
400
400
  Backlog.prototype.patchCustomField = function (projectIdOrKey, id, params) {
401
- return this.patch("projects/" + projectIdOrKey + "/customFields/" + id, params);
401
+ return this.patch("projects/".concat(projectIdOrKey, "/customFields/").concat(id), params);
402
402
  };
403
403
  /**
404
404
  * https://developer.nulab.com/docs/backlog/api/2/delete-custom-field/
405
405
  */
406
406
  Backlog.prototype.deleteCustomField = function (projectIdOrKey, id) {
407
- return this.delete("projects/" + projectIdOrKey + "/customFields/" + id);
407
+ return this.delete("projects/".concat(projectIdOrKey, "/customFields/").concat(id));
408
408
  };
409
409
  /**
410
410
  * https://developer.nulab.com/docs/backlog/api/2/add-list-item-for-list-type-custom-field/
411
411
  */
412
412
  Backlog.prototype.postCustomFieldItem = function (projectIdOrKey, id, params) {
413
- return this.post("projects/" + projectIdOrKey + "/customFields/" + id + "/items", params);
413
+ return this.post("projects/".concat(projectIdOrKey, "/customFields/").concat(id, "/items"), params);
414
414
  };
415
415
  /**
416
416
  * https://developer.nulab.com/docs/backlog/api/2/update-list-item-for-list-type-custom-field/
417
417
  */
418
418
  Backlog.prototype.patchCustomFieldItem = function (projectIdOrKey, id, itemId, params) {
419
- return this.patch("projects/" + projectIdOrKey + "/customFields/" + id + "/items/" + itemId, params);
419
+ return this.patch("projects/".concat(projectIdOrKey, "/customFields/").concat(id, "/items/").concat(itemId), params);
420
420
  };
421
421
  /**
422
422
  * https://developer.nulab.com/docs/backlog/api/2/delete-list-item-for-list-type-custom-field/
423
423
  */
424
424
  Backlog.prototype.deleteCustomFieldItem = function (projectIdOrKey, id, itemId) {
425
- return this.delete("projects/" + projectIdOrKey + "/customFields/" + id + "/items/" + itemId);
425
+ return this.delete("projects/".concat(projectIdOrKey, "/customFields/").concat(id, "/items/").concat(itemId));
426
426
  };
427
427
  /**
428
428
  * https://developer.nulab.com/docs/backlog/api/2/get-list-of-shared-files/
429
429
  */
430
430
  Backlog.prototype.getSharedFiles = function (projectIdOrKey, path, params) {
431
- return this.get("projects/" + projectIdOrKey + "/files/metadata/" + path, params);
431
+ return this.get("projects/".concat(projectIdOrKey, "/files/metadata/").concat(path), params);
432
432
  };
433
433
  /**
434
434
  * https://developer.nulab.com/docs/backlog/api/2/get-file/
435
435
  */
436
436
  Backlog.prototype.getSharedFile = function (projectIdOrKey, sharedFileId) {
437
- return this.download("projects/" + projectIdOrKey + "/files/" + sharedFileId);
437
+ return this.download("projects/".concat(projectIdOrKey, "/files/").concat(sharedFileId));
438
438
  };
439
439
  /**
440
440
  * https://developer.nulab.com/docs/backlog/api/2/get-project-disk-usage/
441
441
  */
442
442
  Backlog.prototype.getProjectsDiskUsage = function (projectIdOrKey) {
443
- return this.get("projects/" + projectIdOrKey + "/diskUsage");
443
+ return this.get("projects/".concat(projectIdOrKey, "/diskUsage"));
444
444
  };
445
445
  /**
446
446
  * https://developer.nulab.com/docs/backlog/api/2/get-list-of-webhooks/
447
447
  */
448
448
  Backlog.prototype.getWebhooks = function (projectIdOrKey) {
449
- return this.get("projects/" + projectIdOrKey + "/webhooks");
449
+ return this.get("projects/".concat(projectIdOrKey, "/webhooks"));
450
450
  };
451
451
  /**
452
452
  * https://developer.nulab.com/docs/backlog/api/2/add-webhook/
453
453
  */
454
454
  Backlog.prototype.postWebhook = function (projectIdOrKey, params) {
455
- return this.post("projects/" + projectIdOrKey + "/webhooks", params);
455
+ return this.post("projects/".concat(projectIdOrKey, "/webhooks"), params);
456
456
  };
457
457
  /**
458
458
  * https://developer.nulab.com/docs/backlog/api/2/get-webhook/
459
459
  */
460
460
  Backlog.prototype.getWebhook = function (projectIdOrKey, webhookId) {
461
- return this.get("projects/" + projectIdOrKey + "/webhooks/" + webhookId);
461
+ return this.get("projects/".concat(projectIdOrKey, "/webhooks/").concat(webhookId));
462
462
  };
463
463
  /**
464
464
  * https://developer.nulab.com/docs/backlog/api/2/update-webhook/
465
465
  */
466
466
  Backlog.prototype.patchWebhook = function (projectIdOrKey, webhookId, params) {
467
- return this.patch("projects/" + projectIdOrKey + "/webhooks/" + webhookId, params);
467
+ return this.patch("projects/".concat(projectIdOrKey, "/webhooks/").concat(webhookId), params);
468
468
  };
469
469
  /**
470
470
  * https://developer.nulab.com/docs/backlog/api/2/delete-webhook/
471
471
  */
472
472
  Backlog.prototype.deleteWebhook = function (projectIdOrKey, webhookId) {
473
- return this.delete("projects/" + projectIdOrKey + "/webhooks/" + webhookId);
473
+ return this.delete("projects/".concat(projectIdOrKey, "/webhooks/").concat(webhookId));
474
474
  };
475
475
  /**
476
476
  * https://developer.nulab.com/docs/backlog/api/2/get-issue-list/
@@ -494,109 +494,109 @@ var Backlog = /** @class */ (function (_super) {
494
494
  * https://developer.nulab.com/docs/backlog/api/2/update-issue/
495
495
  */
496
496
  Backlog.prototype.patchIssue = function (issueIdOrKey, params) {
497
- return this.patch("issues/" + issueIdOrKey, params);
497
+ return this.patch("issues/".concat(issueIdOrKey), params);
498
498
  };
499
499
  /**
500
500
  * https://developer.nulab.com/docs/backlog/api/2/get-issue/
501
501
  */
502
502
  Backlog.prototype.getIssue = function (issueIdOrKey) {
503
- return this.get("issues/" + issueIdOrKey);
503
+ return this.get("issues/".concat(issueIdOrKey));
504
504
  };
505
505
  /**
506
506
  * https://developer.nulab.com/docs/backlog/api/2/delete-issue/
507
507
  */
508
508
  Backlog.prototype.deleteIssuesCount = function (issueIdOrKey) {
509
- return this.delete("issues/" + issueIdOrKey);
509
+ return this.delete("issues/".concat(issueIdOrKey));
510
510
  };
511
511
  /**
512
512
  * https://developer.nulab.com/docs/backlog/api/2/get-comment-list/
513
513
  */
514
514
  Backlog.prototype.getIssueComments = function (issueIdOrKey, params) {
515
- return this.get("issues/" + issueIdOrKey + "/comments", params);
515
+ return this.get("issues/".concat(issueIdOrKey, "/comments"), params);
516
516
  };
517
517
  /**
518
518
  * https://developer.nulab.com/docs/backlog/api/2/add-comment/
519
519
  */
520
520
  Backlog.prototype.postIssueComments = function (issueIdOrKey, params) {
521
- return this.post("issues/" + issueIdOrKey + "/comments", params);
521
+ return this.post("issues/".concat(issueIdOrKey, "/comments"), params);
522
522
  };
523
523
  /**
524
524
  * https://developer.nulab.com/docs/backlog/api/2/count-comment/
525
525
  */
526
526
  Backlog.prototype.getIssueCommentsCount = function (issueIdOrKey) {
527
- return this.get("issues/" + issueIdOrKey + "/comments/count");
527
+ return this.get("issues/".concat(issueIdOrKey, "/comments/count"));
528
528
  };
529
529
  /**
530
530
  * https://developer.nulab.com/docs/backlog/api/2/get-comment/
531
531
  */
532
532
  Backlog.prototype.getIssueComment = function (issueIdOrKey, commentId) {
533
- return this.get("issues/" + issueIdOrKey + "/comments/" + commentId);
533
+ return this.get("issues/".concat(issueIdOrKey, "/comments/").concat(commentId));
534
534
  };
535
535
  /**
536
536
  * https://developer.nulab.com/docs/backlog/api/2/delete-comment/
537
537
  */
538
538
  Backlog.prototype.deleteIssueComment = function (issueIdOrKey, commentId) {
539
- return this.delete("issues/" + issueIdOrKey + "/comments/" + commentId);
539
+ return this.delete("issues/".concat(issueIdOrKey, "/comments/").concat(commentId));
540
540
  };
541
541
  /**
542
542
  * https://developer.nulab.com/docs/backlog/api/2/update-comment/
543
543
  */
544
544
  Backlog.prototype.patchIssueComment = function (issueIdOrKey, commentId, params) {
545
- return this.patch("issues/" + issueIdOrKey + "/comments/" + commentId, params);
545
+ return this.patch("issues/".concat(issueIdOrKey, "/comments/").concat(commentId), params);
546
546
  };
547
547
  /**
548
548
  * https://developer.nulab.com/docs/backlog/api/2/get-list-of-comment-notifications/
549
549
  */
550
550
  Backlog.prototype.getIssueCommentNotifications = function (issueIdOrKey, commentId) {
551
- return this.get("issues/" + issueIdOrKey + "/comments/" + commentId + "/notifications");
551
+ return this.get("issues/".concat(issueIdOrKey, "/comments/").concat(commentId, "/notifications"));
552
552
  };
553
553
  /**
554
554
  * https://developer.nulab.com/docs/backlog/api/2/add-comment-notification/
555
555
  */
556
556
  Backlog.prototype.postIssueCommentNotifications = function (issueIdOrKey, commentId, prams) {
557
- return this.post("issues/" + issueIdOrKey + "/comments/" + commentId + "/notifications", prams);
557
+ return this.post("issues/".concat(issueIdOrKey, "/comments/").concat(commentId, "/notifications"), prams);
558
558
  };
559
559
  /**
560
560
  * https://developer.nulab.com/docs/backlog/api/2/get-list-of-issue-attachments/
561
561
  */
562
562
  Backlog.prototype.getIssueAttachments = function (issueIdOrKey) {
563
- return this.get("issues/" + issueIdOrKey + "/attachments");
563
+ return this.get("issues/".concat(issueIdOrKey, "/attachments"));
564
564
  };
565
565
  /**
566
566
  * https://developer.nulab.com/docs/backlog/api/2/get-issue-attachment/
567
567
  */
568
568
  Backlog.prototype.getIssueAttachment = function (issueIdOrKey, attachmentId) {
569
- return this.download("issues/" + issueIdOrKey + "/attachments/" + attachmentId);
569
+ return this.download("issues/".concat(issueIdOrKey, "/attachments/").concat(attachmentId));
570
570
  };
571
571
  /**
572
572
  * https://developer.nulab.com/docs/backlog/api/2/delete-issue-attachment/
573
573
  */
574
574
  Backlog.prototype.deleteIssueAttachment = function (issueIdOrKey, attachmentId) {
575
- return this.delete("issues/" + issueIdOrKey + "/attachments/" + attachmentId);
575
+ return this.delete("issues/".concat(issueIdOrKey, "/attachments/").concat(attachmentId));
576
576
  };
577
577
  /**
578
578
  * https://developer.nulab.com/docs/backlog/api/2/get-issue-participant-list/
579
579
  */
580
580
  Backlog.prototype.getIssueParticipants = function (issueIdOrKey) {
581
- return this.get("issues/" + issueIdOrKey + "/participants");
581
+ return this.get("issues/".concat(issueIdOrKey, "/participants"));
582
582
  };
583
583
  /**
584
584
  * https://developer.nulab.com/docs/backlog/api/2/get-list-of-linked-shared-files/
585
585
  */
586
586
  Backlog.prototype.getIssueSharedFiles = function (issueIdOrKey) {
587
- return this.get("issues/" + issueIdOrKey + "/sharedFiles");
587
+ return this.get("issues/".concat(issueIdOrKey, "/sharedFiles"));
588
588
  };
589
589
  /**
590
590
  * https://developer.nulab.com/docs/backlog/api/2/link-shared-files-to-issue/
591
591
  */
592
592
  Backlog.prototype.linkIssueSharedFiles = function (issueIdOrKey, params) {
593
- return this.post("issues/" + issueIdOrKey + "/sharedFiles", params);
593
+ return this.post("issues/".concat(issueIdOrKey, "/sharedFiles"), params);
594
594
  };
595
595
  /**
596
596
  * https://developer.nulab.com/docs/backlog/api/2/remove-link-to-shared-file-from-issue/
597
597
  */
598
598
  Backlog.prototype.unlinkIssueSharedFile = function (issueIdOrKey, id) {
599
- return this.delete("issues/" + issueIdOrKey + "/sharedFiles/" + id);
599
+ return this.delete("issues/".concat(issueIdOrKey, "/sharedFiles/").concat(id));
600
600
  };
601
601
  /**
602
602
  * https://developer.nulab.com/docs/backlog/api/2/get-wiki-page-list/
@@ -626,73 +626,73 @@ var Backlog = /** @class */ (function (_super) {
626
626
  * https://developer.nulab.com/docs/backlog/api/2/get-wiki-page/
627
627
  */
628
628
  Backlog.prototype.getWiki = function (wikiId) {
629
- return this.get("wikis/" + wikiId);
629
+ return this.get("wikis/".concat(wikiId));
630
630
  };
631
631
  /**
632
632
  * https://developer.nulab.com/docs/backlog/api/2/update-wiki-page/
633
633
  */
634
634
  Backlog.prototype.patchWiki = function (wikiId, params) {
635
- return this.patch("wikis/" + wikiId, params);
635
+ return this.patch("wikis/".concat(wikiId), params);
636
636
  };
637
637
  /**
638
638
  * https://developer.nulab.com/docs/backlog/api/2/delete-wiki-page/
639
639
  */
640
640
  Backlog.prototype.deleteWiki = function (wikiId, mailNotify) {
641
- return this.delete("wikis/" + wikiId, { mailNotify: mailNotify });
641
+ return this.delete("wikis/".concat(wikiId), { mailNotify: mailNotify });
642
642
  };
643
643
  /**
644
644
  * https://developer.nulab.com/docs/backlog/api/2/get-list-of-wiki-attachments/
645
645
  */
646
646
  Backlog.prototype.getWikisAttachments = function (wikiId) {
647
- return this.get("wikis/" + wikiId + "/attachments");
647
+ return this.get("wikis/".concat(wikiId, "/attachments"));
648
648
  };
649
649
  /**
650
650
  * https://developer.nulab.com/docs/backlog/api/2/attach-file-to-wiki/
651
651
  */
652
652
  Backlog.prototype.postWikisAttachments = function (wikiId, attachmentId) {
653
- return this.post("wikis/" + wikiId + "/attachments", { attachmentId: attachmentId });
653
+ return this.post("wikis/".concat(wikiId, "/attachments"), { attachmentId: attachmentId });
654
654
  };
655
655
  /**
656
656
  * https://developer.nulab.com/docs/backlog/api/2/get-wiki-page-attachment/
657
657
  */
658
658
  Backlog.prototype.getWikiAttachment = function (wikiId, attachmentId) {
659
- return this.download("wikis/" + wikiId + "/attachments/" + attachmentId);
659
+ return this.download("wikis/".concat(wikiId, "/attachments/").concat(attachmentId));
660
660
  };
661
661
  /**
662
662
  * https://developer.nulab.com/docs/backlog/api/2/remove-wiki-attachment/
663
663
  */
664
664
  Backlog.prototype.deleteWikisAttachments = function (wikiId, attachmentId) {
665
- return this.delete("wikis/" + wikiId + "/attachments/" + attachmentId);
665
+ return this.delete("wikis/".concat(wikiId, "/attachments/").concat(attachmentId));
666
666
  };
667
667
  /**
668
668
  * https://developer.nulab.com/docs/backlog/api/2/get-list-of-shared-files-on-wiki/
669
669
  */
670
670
  Backlog.prototype.getWikisSharedFiles = function (wikiId) {
671
- return this.get("wikis/" + wikiId + "/sharedFiles");
671
+ return this.get("wikis/".concat(wikiId, "/sharedFiles"));
672
672
  };
673
673
  /**
674
674
  * https://developer.nulab.com/docs/backlog/api/2/link-shared-files-to-wiki/
675
675
  */
676
676
  Backlog.prototype.linkWikisSharedFiles = function (wikiId, fileId) {
677
- return this.post("wikis/" + wikiId + "/sharedFiles", { fileId: fileId });
677
+ return this.post("wikis/".concat(wikiId, "/sharedFiles"), { fileId: fileId });
678
678
  };
679
679
  /**
680
680
  * https://developer.nulab.com/docs/backlog/api/2/remove-link-to-shared-file-from-wiki/
681
681
  */
682
682
  Backlog.prototype.unlinkWikisSharedFiles = function (wikiId, id) {
683
- return this.delete("wikis/" + wikiId + "/sharedFiles/" + id);
683
+ return this.delete("wikis/".concat(wikiId, "/sharedFiles/").concat(id));
684
684
  };
685
685
  /**
686
686
  * https://developer.nulab.com/docs/backlog/api/2/get-wiki-page-history/
687
687
  */
688
688
  Backlog.prototype.getWikisHistory = function (wikiId, params) {
689
- return this.get("wikis/" + wikiId + "/history", params);
689
+ return this.get("wikis/".concat(wikiId, "/history"), params);
690
690
  };
691
691
  /**
692
692
  * https://developer.nulab.com/docs/backlog/api/2/get-wiki-page-star/
693
693
  */
694
694
  Backlog.prototype.getWikisStars = function (wikiId) {
695
- return this.get("wikis/" + wikiId + "/stars");
695
+ return this.get("wikis/".concat(wikiId, "/stars"));
696
696
  };
697
697
  /**
698
698
  * https://developer.nulab.com/docs/backlog/api/2/add-star/
@@ -722,109 +722,109 @@ var Backlog = /** @class */ (function (_super) {
722
722
  * https://developer.nulab.com/docs/backlog/api/2/read-notification/
723
723
  */
724
724
  Backlog.prototype.markAsReadNotification = function (id) {
725
- return this.post("notifications/" + id + "/markAsRead");
725
+ return this.post("notifications/".concat(id, "/markAsRead"));
726
726
  };
727
727
  /**
728
728
  * https://developer.nulab.com/docs/backlog/api/2/get-list-of-git-repositories/
729
729
  */
730
730
  Backlog.prototype.getGitRepositories = function (projectIdOrKey) {
731
- return this.get("projects/" + projectIdOrKey + "/git/repositories");
731
+ return this.get("projects/".concat(projectIdOrKey, "/git/repositories"));
732
732
  };
733
733
  /**
734
734
  * https://developer.nulab.com/docs/backlog/api/2/get-git-repository/
735
735
  */
736
736
  Backlog.prototype.getGitRepository = function (projectIdOrKey, repoIdOrName) {
737
- return this.get("projects/" + projectIdOrKey + "/git/repositories/" + repoIdOrName);
737
+ return this.get("projects/".concat(projectIdOrKey, "/git/repositories/").concat(repoIdOrName));
738
738
  };
739
739
  /**
740
740
  * https://developer.nulab.com/docs/backlog/api/2/get-pull-request-list/
741
741
  */
742
742
  Backlog.prototype.getPullRequests = function (projectIdOrKey, repoIdOrName, params) {
743
- return this.get("projects/" + projectIdOrKey + "/git/repositories/" + repoIdOrName + "/pullRequests", params);
743
+ return this.get("projects/".concat(projectIdOrKey, "/git/repositories/").concat(repoIdOrName, "/pullRequests"), params);
744
744
  };
745
745
  /**
746
746
  * https://developer.nulab.com/docs/backlog/api/2/get-number-of-pull-requests/
747
747
  */
748
748
  Backlog.prototype.getPullRequestsCount = function (projectIdOrKey, repoIdOrName, params) {
749
- return this.get("projects/" + projectIdOrKey + "/git/repositories/" + repoIdOrName + "/pullRequests/count", params);
749
+ return this.get("projects/".concat(projectIdOrKey, "/git/repositories/").concat(repoIdOrName, "/pullRequests/count"), params);
750
750
  };
751
751
  /**
752
752
  * https://developer.nulab.com/docs/backlog/api/2/add-pull-request/
753
753
  */
754
754
  Backlog.prototype.postPullRequest = function (projectIdOrKey, repoIdOrName, params) {
755
- return this.post("projects/" + projectIdOrKey + "/git/repositories/" + repoIdOrName + "/pullRequests", params);
755
+ return this.post("projects/".concat(projectIdOrKey, "/git/repositories/").concat(repoIdOrName, "/pullRequests"), params);
756
756
  };
757
757
  /**
758
758
  * https://developer.nulab.com/docs/backlog/api/2/get-pull-request/
759
759
  */
760
760
  Backlog.prototype.getPullRequest = function (projectIdOrKey, repoIdOrName, number) {
761
- return this.get("projects/" + projectIdOrKey + "/git/repositories/" + repoIdOrName + "/pullRequests/" + number);
761
+ return this.get("projects/".concat(projectIdOrKey, "/git/repositories/").concat(repoIdOrName, "/pullRequests/").concat(number));
762
762
  };
763
763
  /**
764
764
  * https://developer.nulab.com/docs/backlog/api/2/update-pull-request/
765
765
  */
766
766
  Backlog.prototype.patchPullRequest = function (projectIdOrKey, repoIdOrName, number, params) {
767
- return this.patch("projects/" + projectIdOrKey + "/git/repositories/" + repoIdOrName + "/pullRequests/" + number, params);
767
+ return this.patch("projects/".concat(projectIdOrKey, "/git/repositories/").concat(repoIdOrName, "/pullRequests/").concat(number), params);
768
768
  };
769
769
  /**
770
770
  * https://developer.nulab.com/docs/backlog/api/2/get-pull-request-comment/
771
771
  */
772
772
  Backlog.prototype.getPullRequestComments = function (projectIdOrKey, repoIdOrName, number, params) {
773
- return this.get("projects/" + projectIdOrKey + "/git/repositories/" + repoIdOrName + "/pullRequests/" + number + "/comments", params);
773
+ return this.get("projects/".concat(projectIdOrKey, "/git/repositories/").concat(repoIdOrName, "/pullRequests/").concat(number, "/comments"), params);
774
774
  };
775
775
  /**
776
776
  * https://developer.nulab.com/docs/backlog/api/2/add-pull-request-comment/
777
777
  */
778
778
  Backlog.prototype.postPullRequestComments = function (projectIdOrKey, repoIdOrName, number, params) {
779
- return this.post("projects/" + projectIdOrKey + "/git/repositories/" + repoIdOrName + "/pullRequests/" + number + "/comments", params);
779
+ return this.post("projects/".concat(projectIdOrKey, "/git/repositories/").concat(repoIdOrName, "/pullRequests/").concat(number, "/comments"), params);
780
780
  };
781
781
  /**
782
782
  * https://developer.nulab.com/docs/backlog/api/2/get-number-of-pull-request-comments/
783
783
  */
784
784
  Backlog.prototype.getPullRequestCommentsCount = function (projectIdOrKey, repoIdOrName, number) {
785
- return this.get("projects/" + projectIdOrKey + "/git/repositories/" + repoIdOrName + "/pullRequests/" + number + "/comments/count");
785
+ return this.get("projects/".concat(projectIdOrKey, "/git/repositories/").concat(repoIdOrName, "/pullRequests/").concat(number, "/comments/count"));
786
786
  };
787
787
  /**
788
788
  * https://developer.nulab.com/docs/backlog/api/2/update-pull-request-comment-information/
789
789
  */
790
790
  Backlog.prototype.patchPullRequestComments = function (projectIdOrKey, repoIdOrName, number, commentId, params) {
791
- return this.patch("projects/" + projectIdOrKey + "/git/repositories/" + repoIdOrName + "/pullRequests/" + number + "/comments/" + commentId, params);
791
+ return this.patch("projects/".concat(projectIdOrKey, "/git/repositories/").concat(repoIdOrName, "/pullRequests/").concat(number, "/comments/").concat(commentId), params);
792
792
  };
793
793
  /**
794
794
  * https://developer.nulab.com/docs/backlog/api/2/get-list-of-pull-request-attachment/
795
795
  */
796
796
  Backlog.prototype.getPullRequestAttachments = function (projectIdOrKey, repoIdOrName, number) {
797
- return this.get("projects/" + projectIdOrKey + "/git/repositories/" + repoIdOrName + "/pullRequests/" + number + "/attachments");
797
+ return this.get("projects/".concat(projectIdOrKey, "/git/repositories/").concat(repoIdOrName, "/pullRequests/").concat(number, "/attachments"));
798
798
  };
799
799
  /**
800
800
  * https://developer.nulab.com/docs/backlog/api/2/download-pull-request-attachment/
801
801
  */
802
802
  Backlog.prototype.getPullRequestAttachment = function (projectIdOrKey, repoIdOrName, number, attachmentId) {
803
- return this.download("projects/" + projectIdOrKey + "/git/repositories/" + repoIdOrName + "/pullRequests/" + number + "/attachments/" + attachmentId);
803
+ return this.download("projects/".concat(projectIdOrKey, "/git/repositories/").concat(repoIdOrName, "/pullRequests/").concat(number, "/attachments/").concat(attachmentId));
804
804
  };
805
805
  /**
806
806
  * https://developer.nulab.com/docs/backlog/api/2/delete-pull-request-attachments/
807
807
  */
808
808
  Backlog.prototype.deletePullRequestAttachment = function (projectIdOrKey, repoIdOrName, number, attachmentId) {
809
- return this.get("projects/" + projectIdOrKey + "/git/repositories/" + repoIdOrName + "/pullRequests/" + number + "/attachments/" + attachmentId);
809
+ return this.get("projects/".concat(projectIdOrKey, "/git/repositories/").concat(repoIdOrName, "/pullRequests/").concat(number, "/attachments/").concat(attachmentId));
810
810
  };
811
811
  /**
812
812
  * https://developer.nulab.com/docs/backlog/api/2/get-watching-list
813
813
  */
814
814
  Backlog.prototype.getWatchingListItems = function (userId) {
815
- return this.get("users/" + userId + "/watchings");
815
+ return this.get("users/".concat(userId, "/watchings"));
816
816
  };
817
817
  /**
818
818
  * https://developer.nulab.com/docs/backlog/api/2/count-watching
819
819
  */
820
820
  Backlog.prototype.getWatchingListCount = function (userId) {
821
- return this.get("users/" + userId + "/watchings/count");
821
+ return this.get("users/".concat(userId, "/watchings/count"));
822
822
  };
823
823
  /**
824
824
  * https://developer.nulab.com/docs/backlog/api/2/get-watching
825
825
  */
826
826
  Backlog.prototype.getWatchingListItem = function (watchId) {
827
- return this.get("watchings/" + watchId);
827
+ return this.get("watchings/".concat(watchId));
828
828
  };
829
829
  /**
830
830
  * https://developer.nulab.com/docs/backlog/api/2/add-watching
@@ -836,19 +836,19 @@ var Backlog = /** @class */ (function (_super) {
836
836
  * https://developer.nulab.com/docs/backlog/api/2/update-watching
837
837
  */
838
838
  Backlog.prototype.patchWatchingListItem = function (watchId, note) {
839
- return this.patch("watchings/" + watchId, { note: note });
839
+ return this.patch("watchings/".concat(watchId), { note: note });
840
840
  };
841
841
  /**
842
842
  * https://developer.nulab.com/docs/backlog/api/2/delete-watching
843
843
  */
844
844
  Backlog.prototype.deletehWatchingListItem = function (watchId) {
845
- return this.delete("watchings/" + watchId);
845
+ return this.delete("watchings/".concat(watchId));
846
846
  };
847
847
  /**
848
848
  * https://developer.nulab.com/docs/backlog/api/2/mark-watching-as-read
849
849
  */
850
850
  Backlog.prototype.resetWatchingListItemAsRead = function (watchId) {
851
- return this.post("watchings/" + watchId + "/markAsRead");
851
+ return this.post("watchings/".concat(watchId, "/markAsRead"));
852
852
  };
853
853
  /**
854
854
  * https://developer.nulab.com/docs/backlog/api/2/get-project-group-list
@@ -856,7 +856,7 @@ var Backlog = /** @class */ (function (_super) {
856
856
  */
857
857
  Backlog.prototype.getProjectGroupList = function (projectIdOrKey) {
858
858
  console.warn("Deprecated: Use getProjectTeams instead.");
859
- return this.get("projects/" + projectIdOrKey + "/groups");
859
+ return this.get("projects/".concat(projectIdOrKey, "/groups"));
860
860
  };
861
861
  /**
862
862
  * https://developer.nulab.com/docs/backlog/api/2/add-project-group
@@ -864,7 +864,7 @@ var Backlog = /** @class */ (function (_super) {
864
864
  */
865
865
  Backlog.prototype.postProjectGroup = function (projectIdOrKey, params) {
866
866
  console.warn("Deprecated: Use postProjectTeam instead.");
867
- return this.post("projects/" + projectIdOrKey + "/groups", params);
867
+ return this.post("projects/".concat(projectIdOrKey, "/groups"), params);
868
868
  };
869
869
  /**
870
870
  * https://developer.nulab.com/docs/backlog/api/2/delete-project-group
@@ -872,7 +872,7 @@ var Backlog = /** @class */ (function (_super) {
872
872
  */
873
873
  Backlog.prototype.deleteProjectGroup = function (projectIdOrKey) {
874
874
  console.warn("Deprecated: Use deleteProjectTeam instead.");
875
- return this.delete("projects/" + projectIdOrKey + "/groups");
875
+ return this.delete("projects/".concat(projectIdOrKey, "/groups"));
876
876
  };
877
877
  /**
878
878
  * https://developer.nulab.com/docs/backlog/api/2/get-group-icon
@@ -880,7 +880,7 @@ var Backlog = /** @class */ (function (_super) {
880
880
  */
881
881
  Backlog.prototype.getGroupIcon = function (groupId) {
882
882
  console.warn("Deprecated: Use getTeamIcon instead.");
883
- return this.download("groups/" + groupId + "/icon");
883
+ return this.download("groups/".concat(groupId, "/icon"));
884
884
  };
885
885
  /**
886
886
  * https://developer.nulab.com/docs/backlog/api/2/get-licence
@@ -904,43 +904,43 @@ var Backlog = /** @class */ (function (_super) {
904
904
  * https://developer.nulab.com/docs/backlog/api/2/get-team/
905
905
  */
906
906
  Backlog.prototype.getTeam = function (teamId) {
907
- return this.get("teams/" + teamId);
907
+ return this.get("teams/".concat(teamId));
908
908
  };
909
909
  /**
910
910
  * https://developer.nulab.com/docs/backlog/api/2/update-team/
911
911
  */
912
912
  Backlog.prototype.patchTeam = function (teamId, params) {
913
- return this.patch("teams/" + teamId, params);
913
+ return this.patch("teams/".concat(teamId), params);
914
914
  };
915
915
  /**
916
916
  * https://developer.nulab.com/docs/backlog/api/2/delete-team/
917
917
  */
918
918
  Backlog.prototype.deleteTeam = function (teamId) {
919
- return this.delete("teams/" + teamId);
919
+ return this.delete("teams/".concat(teamId));
920
920
  };
921
921
  /**
922
922
  * https://developer.nulab.com/docs/backlog/api/2/get-team-icon/
923
923
  */
924
924
  Backlog.prototype.getTeamIcon = function (teamId) {
925
- return this.download("teams/" + teamId + "/icon");
925
+ return this.download("teams/".concat(teamId, "/icon"));
926
926
  };
927
927
  /**
928
928
  * https://developer.nulab.com/docs/backlog/api/2/get-project-team-list/
929
929
  */
930
930
  Backlog.prototype.getProjectTeams = function (projectIdOrKey) {
931
- return this.get("projects/" + projectIdOrKey + "/teams");
931
+ return this.get("projects/".concat(projectIdOrKey, "/teams"));
932
932
  };
933
933
  /**
934
934
  * https://developer.nulab.com/docs/backlog/api/2/add-project-team/
935
935
  */
936
936
  Backlog.prototype.postProjectTeam = function (projectIdOrKey, teamId) {
937
- return this.post("projects/" + projectIdOrKey + "/teams", { teamId: teamId });
937
+ return this.post("projects/".concat(projectIdOrKey, "/teams"), { teamId: teamId });
938
938
  };
939
939
  /**
940
940
  * https://developer.nulab.com/docs/backlog/api/2/delete-project-team/
941
941
  */
942
942
  Backlog.prototype.deleteProjectTeam = function (projectIdOrKey, teamId) {
943
- return this.delete("projects/" + projectIdOrKey + "/teams", { teamId: teamId });
943
+ return this.delete("projects/".concat(projectIdOrKey, "/teams"), { teamId: teamId });
944
944
  };
945
945
  /**
946
946
  * https://developer.nulab.com/docs/backlog/api/2/get-rate-limit/
@@ -1079,7 +1079,7 @@ exports.UnexpectedError = UnexpectedError;
1079
1079
  },{}],4:[function(require,module,exports){
1080
1080
  "use strict";
1081
1081
  Object.defineProperty(exports, "__esModule", { value: true });
1082
- exports.Error = exports.Entity = exports.Option = exports.OAuth2 = exports.Backlog = void 0;
1082
+ exports.Error = exports.Types = exports.Entity = exports.Option = exports.OAuth2 = exports.Backlog = void 0;
1083
1083
  var backlog_1 = require("./backlog");
1084
1084
  exports.Backlog = backlog_1.default;
1085
1085
  var oauth2_1 = require("./oauth2");
@@ -1088,10 +1088,12 @@ var Option = require("./option");
1088
1088
  exports.Option = Option;
1089
1089
  var Entity = require("./entity");
1090
1090
  exports.Entity = Entity;
1091
+ var Types = require("./types");
1092
+ exports.Types = Types;
1091
1093
  var Error = require("./error");
1092
1094
  exports.Error = Error;
1093
1095
 
1094
- },{"./backlog":1,"./entity":2,"./error":3,"./oauth2":5,"./option":6}],5:[function(require,module,exports){
1096
+ },{"./backlog":1,"./entity":2,"./error":3,"./oauth2":5,"./option":6,"./types":8}],5:[function(require,module,exports){
1095
1097
  "use strict";
1096
1098
  Object.defineProperty(exports, "__esModule", { value: true });
1097
1099
  var request_1 = require("./request");
@@ -1107,9 +1109,9 @@ var OAuth2 = /** @class */ (function () {
1107
1109
  redirect_uri: options.redirectUri,
1108
1110
  state: options.state
1109
1111
  };
1110
- return "https://" + options.host + "/OAuth2AccessRequest.action?" +
1112
+ return "https://".concat(options.host, "/OAuth2AccessRequest.action?") +
1111
1113
  Object.keys(params)
1112
- .map(function (key) { return params[key] ? key + "=" + params[key] : ''; })
1114
+ .map(function (key) { return params[key] ? "".concat(key, "=").concat(params[key]) : ''; })
1113
1115
  .filter(function (x) { return x.length > 0; })
1114
1116
  .join('&');
1115
1117
  };
@@ -1141,58 +1143,7 @@ exports.default = OAuth2;
1141
1143
  },{"./request":7}],6:[function(require,module,exports){
1142
1144
  "use strict";
1143
1145
  Object.defineProperty(exports, "__esModule", { value: true });
1144
- exports.Issue = exports.Project = exports.User = exports.ActivityType = void 0;
1145
- var ActivityType;
1146
- (function (ActivityType) {
1147
- ActivityType[ActivityType["Undefined"] = -1] = "Undefined";
1148
- ActivityType[ActivityType["IssueCreated"] = 1] = "IssueCreated";
1149
- ActivityType[ActivityType["IssueUpdated"] = 2] = "IssueUpdated";
1150
- ActivityType[ActivityType["IssueCommented"] = 3] = "IssueCommented";
1151
- ActivityType[ActivityType["IssueDeleted"] = 4] = "IssueDeleted";
1152
- ActivityType[ActivityType["WikiCreated"] = 5] = "WikiCreated";
1153
- ActivityType[ActivityType["WikiUpdated"] = 6] = "WikiUpdated";
1154
- ActivityType[ActivityType["WikiDeleted"] = 7] = "WikiDeleted";
1155
- ActivityType[ActivityType["FileAdded"] = 8] = "FileAdded";
1156
- ActivityType[ActivityType["FileUpdated"] = 9] = "FileUpdated";
1157
- ActivityType[ActivityType["FileDeleted"] = 10] = "FileDeleted";
1158
- ActivityType[ActivityType["SvnCommitted"] = 11] = "SvnCommitted";
1159
- ActivityType[ActivityType["GitPushed"] = 12] = "GitPushed";
1160
- ActivityType[ActivityType["GitRepositoryCreated"] = 13] = "GitRepositoryCreated";
1161
- ActivityType[ActivityType["IssueMultiUpdated"] = 14] = "IssueMultiUpdated";
1162
- ActivityType[ActivityType["ProjectUserAdded"] = 15] = "ProjectUserAdded";
1163
- ActivityType[ActivityType["ProjectUserRemoved"] = 16] = "ProjectUserRemoved";
1164
- ActivityType[ActivityType["NotifyAdded"] = 17] = "NotifyAdded";
1165
- ActivityType[ActivityType["PullRequestAdded"] = 18] = "PullRequestAdded";
1166
- ActivityType[ActivityType["PullRequestUpdated"] = 19] = "PullRequestUpdated";
1167
- ActivityType[ActivityType["PullRequestCommented"] = 20] = "PullRequestCommented";
1168
- ActivityType[ActivityType["PullRequestMerged"] = 21] = "PullRequestMerged";
1169
- })(ActivityType = exports.ActivityType || (exports.ActivityType = {}));
1170
- var User;
1171
- (function (User) {
1172
- var RoleType;
1173
- (function (RoleType) {
1174
- RoleType[RoleType["Admin"] = 1] = "Admin";
1175
- RoleType[RoleType["User"] = 2] = "User";
1176
- RoleType[RoleType["Reporter"] = 3] = "Reporter";
1177
- RoleType[RoleType["Viewer"] = 4] = "Viewer";
1178
- RoleType[RoleType["GuestReporter"] = 5] = "GuestReporter";
1179
- RoleType[RoleType["GuestViewer"] = 6] = "GuestViewer";
1180
- })(RoleType = User.RoleType || (User.RoleType = {}));
1181
- })(User = exports.User || (exports.User = {}));
1182
- var Project;
1183
- (function (Project) {
1184
- var FieldType;
1185
- (function (FieldType) {
1186
- FieldType[FieldType["Text"] = 1] = "Text";
1187
- FieldType[FieldType["TextArea"] = 2] = "TextArea";
1188
- FieldType[FieldType["Numeric"] = 3] = "Numeric";
1189
- FieldType[FieldType["Date"] = 4] = "Date";
1190
- FieldType[FieldType["SingleList"] = 5] = "SingleList";
1191
- FieldType[FieldType["MultipleList"] = 6] = "MultipleList";
1192
- FieldType[FieldType["CheckBox"] = 7] = "CheckBox";
1193
- FieldType[FieldType["Radio"] = 8] = "Radio";
1194
- })(FieldType = Project.FieldType || (Project.FieldType = {}));
1195
- })(Project = exports.Project || (exports.Project = {}));
1146
+ exports.Issue = void 0;
1196
1147
  var Issue;
1197
1148
  (function (Issue) {
1198
1149
  var ParentChildType;
@@ -1256,7 +1207,7 @@ var Request = /** @class */ (function () {
1256
1207
  Object.keys(params).forEach(function (key) { return query[key] = params[key]; });
1257
1208
  }
1258
1209
  var queryStr = this.toQueryString(query);
1259
- var url = this.restBaseURL + "/" + path + (queryStr.length > 0 ? "?" + queryStr : '');
1210
+ var url = "".concat(this.restBaseURL, "/").concat(path) + (queryStr.length > 0 ? "?".concat(queryStr) : '');
1260
1211
  return fetch(url, init).then(this.checkStatus);
1261
1212
  };
1262
1213
  Request.prototype.checkStatus = function (response) {
@@ -1284,14 +1235,14 @@ var Request = /** @class */ (function () {
1284
1235
  };
1285
1236
  Object.defineProperty(Request.prototype, "webAppBaseURL", {
1286
1237
  get: function () {
1287
- return "https://" + this.configure.host;
1238
+ return "https://".concat(this.configure.host);
1288
1239
  },
1289
1240
  enumerable: false,
1290
1241
  configurable: true
1291
1242
  });
1292
1243
  Object.defineProperty(Request.prototype, "restBaseURL", {
1293
1244
  get: function () {
1294
- return this.webAppBaseURL + "/api/v2";
1245
+ return "".concat(this.webAppBaseURL, "/api/v2");
1295
1246
  },
1296
1247
  enumerable: false,
1297
1248
  configurable: true
@@ -1300,9 +1251,71 @@ var Request = /** @class */ (function () {
1300
1251
  }());
1301
1252
  exports.default = Request;
1302
1253
 
1303
- },{"./error":3,"qs":19}],8:[function(require,module,exports){
1254
+ },{"./error":3,"qs":20}],8:[function(require,module,exports){
1255
+ "use strict";
1256
+ Object.defineProperty(exports, "__esModule", { value: true });
1257
+ exports.CustomFieldType = exports.ActivityType = exports.NormalRoleType = exports.ClassicRoleType = void 0;
1258
+ var ClassicRoleType;
1259
+ (function (ClassicRoleType) {
1260
+ ClassicRoleType[ClassicRoleType["Admin"] = 1] = "Admin";
1261
+ ClassicRoleType[ClassicRoleType["User"] = 2] = "User";
1262
+ ClassicRoleType[ClassicRoleType["Reporter"] = 3] = "Reporter";
1263
+ ClassicRoleType[ClassicRoleType["Viewer"] = 4] = "Viewer";
1264
+ ClassicRoleType[ClassicRoleType["GuestReporter"] = 5] = "GuestReporter";
1265
+ ClassicRoleType[ClassicRoleType["GuestViewer"] = 6] = "GuestViewer";
1266
+ })(ClassicRoleType = exports.ClassicRoleType || (exports.ClassicRoleType = {}));
1267
+ var NormalRoleType;
1268
+ (function (NormalRoleType) {
1269
+ NormalRoleType[NormalRoleType["Admin"] = 1] = "Admin";
1270
+ NormalRoleType[NormalRoleType["MemberOrGuest"] = 2] = "MemberOrGuest";
1271
+ NormalRoleType[NormalRoleType["MemberOrGuestForAddIssues"] = 3] = "MemberOrGuestForAddIssues";
1272
+ NormalRoleType[NormalRoleType["MemberOrGuestForViewIssues"] = 4] = "MemberOrGuestForViewIssues";
1273
+ })(NormalRoleType = exports.NormalRoleType || (exports.NormalRoleType = {}));
1274
+ var ActivityType;
1275
+ (function (ActivityType) {
1276
+ ActivityType[ActivityType["Undefined"] = -1] = "Undefined";
1277
+ ActivityType[ActivityType["IssueCreated"] = 1] = "IssueCreated";
1278
+ ActivityType[ActivityType["IssueUpdated"] = 2] = "IssueUpdated";
1279
+ ActivityType[ActivityType["IssueCommented"] = 3] = "IssueCommented";
1280
+ ActivityType[ActivityType["IssueDeleted"] = 4] = "IssueDeleted";
1281
+ ActivityType[ActivityType["WikiCreated"] = 5] = "WikiCreated";
1282
+ ActivityType[ActivityType["WikiUpdated"] = 6] = "WikiUpdated";
1283
+ ActivityType[ActivityType["WikiDeleted"] = 7] = "WikiDeleted";
1284
+ ActivityType[ActivityType["FileAdded"] = 8] = "FileAdded";
1285
+ ActivityType[ActivityType["FileUpdated"] = 9] = "FileUpdated";
1286
+ ActivityType[ActivityType["FileDeleted"] = 10] = "FileDeleted";
1287
+ ActivityType[ActivityType["SvnCommitted"] = 11] = "SvnCommitted";
1288
+ ActivityType[ActivityType["GitPushed"] = 12] = "GitPushed";
1289
+ ActivityType[ActivityType["GitRepositoryCreated"] = 13] = "GitRepositoryCreated";
1290
+ ActivityType[ActivityType["IssueMultiUpdated"] = 14] = "IssueMultiUpdated";
1291
+ ActivityType[ActivityType["ProjectUserAdded"] = 15] = "ProjectUserAdded";
1292
+ ActivityType[ActivityType["ProjectUserRemoved"] = 16] = "ProjectUserRemoved";
1293
+ ActivityType[ActivityType["NotifyAdded"] = 17] = "NotifyAdded";
1294
+ ActivityType[ActivityType["PullRequestAdded"] = 18] = "PullRequestAdded";
1295
+ ActivityType[ActivityType["PullRequestUpdated"] = 19] = "PullRequestUpdated";
1296
+ ActivityType[ActivityType["PullRequestCommented"] = 20] = "PullRequestCommented";
1297
+ ActivityType[ActivityType["PullRequestMerged"] = 21] = "PullRequestMerged";
1298
+ ActivityType[ActivityType["MilestoneCreated"] = 22] = "MilestoneCreated";
1299
+ ActivityType[ActivityType["MilestoneUpdated"] = 23] = "MilestoneUpdated";
1300
+ ActivityType[ActivityType["MilestoneDeleted"] = 24] = "MilestoneDeleted";
1301
+ ActivityType[ActivityType["ProjectGroupAdded"] = 25] = "ProjectGroupAdded";
1302
+ ActivityType[ActivityType["ProjectGroupDeleted"] = 26] = "ProjectGroupDeleted";
1303
+ })(ActivityType = exports.ActivityType || (exports.ActivityType = {}));
1304
+ var CustomFieldType;
1305
+ (function (CustomFieldType) {
1306
+ CustomFieldType[CustomFieldType["Text"] = 1] = "Text";
1307
+ CustomFieldType[CustomFieldType["TextArea"] = 2] = "TextArea";
1308
+ CustomFieldType[CustomFieldType["Numeric"] = 3] = "Numeric";
1309
+ CustomFieldType[CustomFieldType["Date"] = 4] = "Date";
1310
+ CustomFieldType[CustomFieldType["SingleList"] = 5] = "SingleList";
1311
+ CustomFieldType[CustomFieldType["MultipleList"] = 6] = "MultipleList";
1312
+ CustomFieldType[CustomFieldType["CheckBox"] = 7] = "CheckBox";
1313
+ CustomFieldType[CustomFieldType["Radio"] = 8] = "Radio";
1314
+ })(CustomFieldType = exports.CustomFieldType || (exports.CustomFieldType = {}));
1304
1315
 
1305
1316
  },{}],9:[function(require,module,exports){
1317
+
1318
+ },{}],10:[function(require,module,exports){
1306
1319
  'use strict';
1307
1320
 
1308
1321
  var GetIntrinsic = require('get-intrinsic');
@@ -1319,7 +1332,7 @@ module.exports = function callBoundIntrinsic(name, allowMissing) {
1319
1332
  return intrinsic;
1320
1333
  };
1321
1334
 
1322
- },{"./":10,"get-intrinsic":13}],10:[function(require,module,exports){
1335
+ },{"./":11,"get-intrinsic":14}],11:[function(require,module,exports){
1323
1336
  'use strict';
1324
1337
 
1325
1338
  var bind = require('function-bind');
@@ -1368,7 +1381,7 @@ if ($defineProperty) {
1368
1381
  module.exports.apply = applyBind;
1369
1382
  }
1370
1383
 
1371
- },{"function-bind":12,"get-intrinsic":13}],11:[function(require,module,exports){
1384
+ },{"function-bind":13,"get-intrinsic":14}],12:[function(require,module,exports){
1372
1385
  'use strict';
1373
1386
 
1374
1387
  /* eslint no-invalid-this: 1 */
@@ -1422,14 +1435,14 @@ module.exports = function bind(that) {
1422
1435
  return bound;
1423
1436
  };
1424
1437
 
1425
- },{}],12:[function(require,module,exports){
1438
+ },{}],13:[function(require,module,exports){
1426
1439
  'use strict';
1427
1440
 
1428
1441
  var implementation = require('./implementation');
1429
1442
 
1430
1443
  module.exports = Function.prototype.bind || implementation;
1431
1444
 
1432
- },{"./implementation":11}],13:[function(require,module,exports){
1445
+ },{"./implementation":12}],14:[function(require,module,exports){
1433
1446
  'use strict';
1434
1447
 
1435
1448
  var undefined;
@@ -1761,7 +1774,7 @@ module.exports = function GetIntrinsic(name, allowMissing) {
1761
1774
  return value;
1762
1775
  };
1763
1776
 
1764
- },{"function-bind":12,"has":16,"has-symbols":14}],14:[function(require,module,exports){
1777
+ },{"function-bind":13,"has":17,"has-symbols":15}],15:[function(require,module,exports){
1765
1778
  'use strict';
1766
1779
 
1767
1780
  var origSymbol = typeof Symbol !== 'undefined' && Symbol;
@@ -1776,7 +1789,7 @@ module.exports = function hasNativeSymbols() {
1776
1789
  return hasSymbolSham();
1777
1790
  };
1778
1791
 
1779
- },{"./shams":15}],15:[function(require,module,exports){
1792
+ },{"./shams":16}],16:[function(require,module,exports){
1780
1793
  'use strict';
1781
1794
 
1782
1795
  /* eslint complexity: [2, 18], max-statements: [2, 33] */
@@ -1820,14 +1833,14 @@ module.exports = function hasSymbols() {
1820
1833
  return true;
1821
1834
  };
1822
1835
 
1823
- },{}],16:[function(require,module,exports){
1836
+ },{}],17:[function(require,module,exports){
1824
1837
  'use strict';
1825
1838
 
1826
1839
  var bind = require('function-bind');
1827
1840
 
1828
1841
  module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty);
1829
1842
 
1830
- },{"function-bind":12}],17:[function(require,module,exports){
1843
+ },{"function-bind":13}],18:[function(require,module,exports){
1831
1844
  var hasMap = typeof Map === 'function' && Map.prototype;
1832
1845
  var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;
1833
1846
  var mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null;
@@ -2228,7 +2241,7 @@ function arrObjKeys(obj, inspect) {
2228
2241
  return xs;
2229
2242
  }
2230
2243
 
2231
- },{"./util.inspect":8}],18:[function(require,module,exports){
2244
+ },{"./util.inspect":9}],19:[function(require,module,exports){
2232
2245
  'use strict';
2233
2246
 
2234
2247
  var replace = String.prototype.replace;
@@ -2253,7 +2266,7 @@ module.exports = {
2253
2266
  RFC3986: Format.RFC3986
2254
2267
  };
2255
2268
 
2256
- },{}],19:[function(require,module,exports){
2269
+ },{}],20:[function(require,module,exports){
2257
2270
  'use strict';
2258
2271
 
2259
2272
  var stringify = require('./stringify');
@@ -2266,7 +2279,7 @@ module.exports = {
2266
2279
  stringify: stringify
2267
2280
  };
2268
2281
 
2269
- },{"./formats":18,"./parse":20,"./stringify":21}],20:[function(require,module,exports){
2282
+ },{"./formats":19,"./parse":21,"./stringify":22}],21:[function(require,module,exports){
2270
2283
  'use strict';
2271
2284
 
2272
2285
  var utils = require('./utils');
@@ -2405,7 +2418,7 @@ var parseObject = function (chain, val, options, valuesParsed) {
2405
2418
  ) {
2406
2419
  obj = [];
2407
2420
  obj[index] = leaf;
2408
- } else {
2421
+ } else if (cleanRoot !== '__proto__') {
2409
2422
  obj[cleanRoot] = leaf;
2410
2423
  }
2411
2424
  }
@@ -2531,7 +2544,7 @@ module.exports = function (str, opts) {
2531
2544
  return utils.compact(obj);
2532
2545
  };
2533
2546
 
2534
- },{"./utils":22}],21:[function(require,module,exports){
2547
+ },{"./utils":23}],22:[function(require,module,exports){
2535
2548
  'use strict';
2536
2549
 
2537
2550
  var getSideChannel = require('side-channel');
@@ -2553,6 +2566,7 @@ var arrayPrefixGenerators = {
2553
2566
  };
2554
2567
 
2555
2568
  var isArray = Array.isArray;
2569
+ var split = String.prototype.split;
2556
2570
  var push = Array.prototype.push;
2557
2571
  var pushToArray = function (arr, valueOrArray) {
2558
2572
  push.apply(arr, isArray(valueOrArray) ? valueOrArray : [valueOrArray]);
@@ -2589,6 +2603,8 @@ var isNonNullishPrimitive = function isNonNullishPrimitive(v) {
2589
2603
  || typeof v === 'bigint';
2590
2604
  };
2591
2605
 
2606
+ var sentinel = {};
2607
+
2592
2608
  var stringify = function stringify(
2593
2609
  object,
2594
2610
  prefix,
@@ -2608,8 +2624,23 @@ var stringify = function stringify(
2608
2624
  ) {
2609
2625
  var obj = object;
2610
2626
 
2611
- if (sideChannel.has(object)) {
2612
- throw new RangeError('Cyclic object value');
2627
+ var tmpSc = sideChannel;
2628
+ var step = 0;
2629
+ var findFlag = false;
2630
+ while ((tmpSc = tmpSc.get(sentinel)) !== void undefined && !findFlag) {
2631
+ // Where object last appeared in the ref tree
2632
+ var pos = tmpSc.get(object);
2633
+ step += 1;
2634
+ if (typeof pos !== 'undefined') {
2635
+ if (pos === step) {
2636
+ throw new RangeError('Cyclic object value');
2637
+ } else {
2638
+ findFlag = true; // Break while
2639
+ }
2640
+ }
2641
+ if (typeof tmpSc.get(sentinel) === 'undefined') {
2642
+ step = 0;
2643
+ }
2613
2644
  }
2614
2645
 
2615
2646
  if (typeof filter === 'function') {
@@ -2636,6 +2667,14 @@ var stringify = function stringify(
2636
2667
  if (isNonNullishPrimitive(obj) || utils.isBuffer(obj)) {
2637
2668
  if (encoder) {
2638
2669
  var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults.encoder, charset, 'key', format);
2670
+ if (generateArrayPrefix === 'comma' && encodeValuesOnly) {
2671
+ var valuesArray = split.call(String(obj), ',');
2672
+ var valuesJoined = '';
2673
+ for (var i = 0; i < valuesArray.length; ++i) {
2674
+ valuesJoined += (i === 0 ? '' : ',') + formatter(encoder(valuesArray[i], defaults.encoder, charset, 'value', format));
2675
+ }
2676
+ return [formatter(keyValue) + '=' + valuesJoined];
2677
+ }
2639
2678
  return [formatter(keyValue) + '=' + formatter(encoder(obj, defaults.encoder, charset, 'value', format))];
2640
2679
  }
2641
2680
  return [formatter(prefix) + '=' + formatter(String(obj))];
@@ -2650,7 +2689,7 @@ var stringify = function stringify(
2650
2689
  var objKeys;
2651
2690
  if (generateArrayPrefix === 'comma' && isArray(obj)) {
2652
2691
  // we need to join elements in
2653
- objKeys = [{ value: obj.length > 0 ? obj.join(',') || null : undefined }];
2692
+ objKeys = [{ value: obj.length > 0 ? obj.join(',') || null : void undefined }];
2654
2693
  } else if (isArray(filter)) {
2655
2694
  objKeys = filter;
2656
2695
  } else {
@@ -2658,9 +2697,9 @@ var stringify = function stringify(
2658
2697
  objKeys = sort ? keys.sort(sort) : keys;
2659
2698
  }
2660
2699
 
2661
- for (var i = 0; i < objKeys.length; ++i) {
2662
- var key = objKeys[i];
2663
- var value = typeof key === 'object' && key.value !== undefined ? key.value : obj[key];
2700
+ for (var j = 0; j < objKeys.length; ++j) {
2701
+ var key = objKeys[j];
2702
+ var value = typeof key === 'object' && typeof key.value !== 'undefined' ? key.value : obj[key];
2664
2703
 
2665
2704
  if (skipNulls && value === null) {
2666
2705
  continue;
@@ -2670,8 +2709,9 @@ var stringify = function stringify(
2670
2709
  ? typeof generateArrayPrefix === 'function' ? generateArrayPrefix(prefix, key) : prefix
2671
2710
  : prefix + (allowDots ? '.' + key : '[' + key + ']');
2672
2711
 
2673
- sideChannel.set(object, true);
2712
+ sideChannel.set(object, step);
2674
2713
  var valueSideChannel = getSideChannel();
2714
+ valueSideChannel.set(sentinel, sideChannel);
2675
2715
  pushToArray(values, stringify(
2676
2716
  value,
2677
2717
  keyPrefix,
@@ -2699,7 +2739,7 @@ var normalizeStringifyOptions = function normalizeStringifyOptions(opts) {
2699
2739
  return defaults;
2700
2740
  }
2701
2741
 
2702
- if (opts.encoder !== null && opts.encoder !== undefined && typeof opts.encoder !== 'function') {
2742
+ if (opts.encoder !== null && typeof opts.encoder !== 'undefined' && typeof opts.encoder !== 'function') {
2703
2743
  throw new TypeError('Encoder has to be a function.');
2704
2744
  }
2705
2745
 
@@ -2823,7 +2863,7 @@ module.exports = function (object, opts) {
2823
2863
  return joined.length > 0 ? prefix + joined : '';
2824
2864
  };
2825
2865
 
2826
- },{"./formats":18,"./utils":22,"side-channel":23}],22:[function(require,module,exports){
2866
+ },{"./formats":19,"./utils":23,"side-channel":24}],23:[function(require,module,exports){
2827
2867
  'use strict';
2828
2868
 
2829
2869
  var formats = require('./formats');
@@ -3003,6 +3043,7 @@ var encode = function encode(str, defaultEncoder, charset, kind, format) {
3003
3043
 
3004
3044
  i += 1;
3005
3045
  c = 0x10000 + (((c & 0x3FF) << 10) | (string.charCodeAt(i) & 0x3FF));
3046
+ /* eslint operator-linebreak: [2, "before"] */
3006
3047
  out += hexTable[0xF0 | (c >> 18)]
3007
3048
  + hexTable[0x80 | ((c >> 12) & 0x3F)]
3008
3049
  + hexTable[0x80 | ((c >> 6) & 0x3F)]
@@ -3076,7 +3117,7 @@ module.exports = {
3076
3117
  merge: merge
3077
3118
  };
3078
3119
 
3079
- },{"./formats":18}],23:[function(require,module,exports){
3120
+ },{"./formats":19}],24:[function(require,module,exports){
3080
3121
  'use strict';
3081
3122
 
3082
3123
  var GetIntrinsic = require('get-intrinsic');
@@ -3202,5 +3243,5 @@ module.exports = function getSideChannel() {
3202
3243
  return channel;
3203
3244
  };
3204
3245
 
3205
- },{"call-bind/callBound":9,"get-intrinsic":13,"object-inspect":17}]},{},[4])(4)
3246
+ },{"call-bind/callBound":10,"get-intrinsic":14,"object-inspect":18}]},{},[4])(4)
3206
3247
  });