@parra/parra-js-sdk 0.3.120 → 0.3.121
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/ParraAPI.d.ts +146 -143
- package/dist/ParraAPI.js +493 -780
- package/package.json +1 -1
package/dist/ParraAPI.js
CHANGED
|
@@ -1,4 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
2
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
14
|
exports.IntegrationScope = exports.IntegrationConnectionStatus = exports.IntegrationType = exports.ConnectedAppConnectionStatus = exports.ConnectedAppType = exports.ApplicationType = exports.RefreshTokenRotationType = exports.RefreshTokenExpirationType = exports.JwtAlgorithm = exports.GrantType = exports.ApnsPushType = exports.ApnsEnvironment = exports.ChannelType = exports.AppVersionStatus = exports.TicketDisplayStatus = exports.UserNoteStatus = exports.ReleaseType = exports.ReleaseStatus = exports.TicketIconType = exports.TicketPriority = exports.TicketStatus = exports.TicketType = exports.TemplateType = exports.CampaignStatus = exports.CampaignActionDisplayType = exports.CampaignActionType = exports.CardItemDisplayType = exports.CardItemType = exports.QuestionKind = exports.QuestionType = exports.FeedbackFormFieldType = exports.SubscriptionStatus = exports.Currency = exports.Interval = exports.IdentityType = void 0;
|
|
4
15
|
var IdentityType;
|
|
@@ -235,1016 +246,718 @@ var ParraAPI = /** @class */ (function () {
|
|
|
235
246
|
var _this = this;
|
|
236
247
|
this.http = http;
|
|
237
248
|
this.options = options;
|
|
238
|
-
this.checkAuthorization = function (body) {
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
body: JSON.stringify(body),
|
|
242
|
-
headers: {
|
|
249
|
+
this.checkAuthorization = function (body, options) {
|
|
250
|
+
if (options === void 0) { options = {}; }
|
|
251
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/authorization/check"), __assign({ method: "post", body: JSON.stringify(body), headers: {
|
|
243
252
|
"content-type": "application/json",
|
|
244
|
-
},
|
|
245
|
-
});
|
|
253
|
+
} }, options));
|
|
246
254
|
};
|
|
247
|
-
this.getUserInfo = function () {
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
});
|
|
255
|
+
this.getUserInfo = function (options) {
|
|
256
|
+
if (options === void 0) { options = {}; }
|
|
257
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/user-info"), __assign({ method: "get" }, options));
|
|
251
258
|
};
|
|
252
|
-
this.getParraAuthToken = function () {
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
});
|
|
259
|
+
this.getParraAuthToken = function (options) {
|
|
260
|
+
if (options === void 0) { options = {}; }
|
|
261
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/parra/auth/token"), __assign({ method: "post" }, options));
|
|
256
262
|
};
|
|
257
|
-
this.uploadImageAssetForTenantById = function (tenant_id, body) {
|
|
263
|
+
this.uploadImageAssetForTenantById = function (tenant_id, body, options) {
|
|
264
|
+
if (options === void 0) { options = {}; }
|
|
258
265
|
var formData = new FormData();
|
|
259
266
|
Object.entries(body).forEach(function (_a) {
|
|
260
267
|
var key = _a[0], value = _a[1];
|
|
261
268
|
formData.append(key, value);
|
|
262
269
|
});
|
|
263
|
-
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/assets/images"), {
|
|
264
|
-
method: "post",
|
|
265
|
-
body: formData,
|
|
266
|
-
headers: {},
|
|
267
|
-
});
|
|
270
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/assets/images"), __assign({ method: "post", body: formData, headers: {} }, options));
|
|
268
271
|
};
|
|
269
|
-
this.uploadAvatarForUser = function (body) {
|
|
272
|
+
this.uploadAvatarForUser = function (body, options) {
|
|
273
|
+
if (options === void 0) { options = {}; }
|
|
270
274
|
var formData = new FormData();
|
|
271
275
|
Object.entries(body).forEach(function (_a) {
|
|
272
276
|
var key = _a[0], value = _a[1];
|
|
273
277
|
formData.append(key, value);
|
|
274
278
|
});
|
|
275
|
-
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/users/avatar"), {
|
|
276
|
-
method: "post",
|
|
277
|
-
body: formData,
|
|
278
|
-
headers: {},
|
|
279
|
-
});
|
|
279
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/users/avatar"), __assign({ method: "post", body: formData, headers: {} }, options));
|
|
280
280
|
};
|
|
281
|
-
this.uploadAvatarForTenantUser = function (tenant_id, body) {
|
|
281
|
+
this.uploadAvatarForTenantUser = function (tenant_id, body, options) {
|
|
282
|
+
if (options === void 0) { options = {}; }
|
|
282
283
|
var formData = new FormData();
|
|
283
284
|
Object.entries(body).forEach(function (_a) {
|
|
284
285
|
var key = _a[0], value = _a[1];
|
|
285
286
|
formData.append(key, value);
|
|
286
287
|
});
|
|
287
|
-
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/users/avatar"), {
|
|
288
|
-
method: "post",
|
|
289
|
-
body: formData,
|
|
290
|
-
headers: {},
|
|
291
|
-
});
|
|
288
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/users/avatar"), __assign({ method: "post", body: formData, headers: {} }, options));
|
|
292
289
|
};
|
|
293
|
-
this.uploadIconForTenantApplication = function (tenant_id, application_id, body) {
|
|
290
|
+
this.uploadIconForTenantApplication = function (tenant_id, application_id, body, options) {
|
|
291
|
+
if (options === void 0) { options = {}; }
|
|
294
292
|
var formData = new FormData();
|
|
295
293
|
Object.entries(body).forEach(function (_a) {
|
|
296
294
|
var key = _a[0], value = _a[1];
|
|
297
295
|
formData.append(key, value);
|
|
298
296
|
});
|
|
299
|
-
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/applications/").concat(application_id, "/icon"), {
|
|
300
|
-
method: "post",
|
|
301
|
-
body: formData,
|
|
302
|
-
headers: {},
|
|
303
|
-
});
|
|
297
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/applications/").concat(application_id, "/icon"), __assign({ method: "post", body: formData, headers: {} }, options));
|
|
304
298
|
};
|
|
305
|
-
this.uploadHeaderForTenantRelease = function (tenant_id, release_id, body) {
|
|
299
|
+
this.uploadHeaderForTenantRelease = function (tenant_id, release_id, body, options) {
|
|
300
|
+
if (options === void 0) { options = {}; }
|
|
306
301
|
var formData = new FormData();
|
|
307
302
|
Object.entries(body).forEach(function (_a) {
|
|
308
303
|
var key = _a[0], value = _a[1];
|
|
309
304
|
formData.append(key, value);
|
|
310
305
|
});
|
|
311
|
-
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/releases/").concat(release_id, "/header"), {
|
|
312
|
-
method: "post",
|
|
313
|
-
body: formData,
|
|
314
|
-
headers: {},
|
|
315
|
-
});
|
|
306
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/releases/").concat(release_id, "/header"), __assign({ method: "post", body: formData, headers: {} }, options));
|
|
316
307
|
};
|
|
317
|
-
this.uploadAttachmentForTicketById = function (tenant_id, ticket_id, body) {
|
|
308
|
+
this.uploadAttachmentForTicketById = function (tenant_id, ticket_id, body, options) {
|
|
309
|
+
if (options === void 0) { options = {}; }
|
|
318
310
|
var formData = new FormData();
|
|
319
311
|
Object.entries(body).forEach(function (_a) {
|
|
320
312
|
var key = _a[0], value = _a[1];
|
|
321
313
|
formData.append(key, value);
|
|
322
314
|
});
|
|
323
|
-
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/tickets/").concat(ticket_id, "/attachments"), {
|
|
324
|
-
method: "post",
|
|
325
|
-
body: formData,
|
|
326
|
-
headers: {},
|
|
327
|
-
});
|
|
315
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/tickets/").concat(ticket_id, "/attachments"), __assign({ method: "post", body: formData, headers: {} }, options));
|
|
328
316
|
};
|
|
329
|
-
this.uploadLogoForTenantById = function (tenant_id, body) {
|
|
317
|
+
this.uploadLogoForTenantById = function (tenant_id, body, options) {
|
|
318
|
+
if (options === void 0) { options = {}; }
|
|
330
319
|
var formData = new FormData();
|
|
331
320
|
Object.entries(body).forEach(function (_a) {
|
|
332
321
|
var key = _a[0], value = _a[1];
|
|
333
322
|
formData.append(key, value);
|
|
334
323
|
});
|
|
335
|
-
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/logo"), {
|
|
336
|
-
method: "post",
|
|
337
|
-
body: formData,
|
|
338
|
-
headers: {},
|
|
339
|
-
});
|
|
324
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/logo"), __assign({ method: "post", body: formData, headers: {} }, options));
|
|
340
325
|
};
|
|
341
|
-
this.createCheckoutSession = function (body) {
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
body: JSON.stringify(body),
|
|
345
|
-
headers: {
|
|
326
|
+
this.createCheckoutSession = function (body, options) {
|
|
327
|
+
if (options === void 0) { options = {}; }
|
|
328
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/checkout/sessions"), __assign({ method: "post", body: JSON.stringify(body), headers: {
|
|
346
329
|
"content-type": "application/json",
|
|
347
|
-
},
|
|
348
|
-
});
|
|
330
|
+
} }, options));
|
|
349
331
|
};
|
|
350
|
-
this.getPlansForTenantById = function (tenant_id) {
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
});
|
|
332
|
+
this.getPlansForTenantById = function (tenant_id, options) {
|
|
333
|
+
if (options === void 0) { options = {}; }
|
|
334
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/plans"), __assign({ method: "post" }, options));
|
|
354
335
|
};
|
|
355
|
-
this.createBillingPortalSession = function (tenant_id) {
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
});
|
|
336
|
+
this.createBillingPortalSession = function (tenant_id, options) {
|
|
337
|
+
if (options === void 0) { options = {}; }
|
|
338
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/billing-portal/sessions"), __assign({ method: "post" }, options));
|
|
359
339
|
};
|
|
360
|
-
this.createSubscriberForAudienceById = function (audience_id, body) {
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
body: JSON.stringify(body),
|
|
364
|
-
headers: {
|
|
340
|
+
this.createSubscriberForAudienceById = function (audience_id, body, options) {
|
|
341
|
+
if (options === void 0) { options = {}; }
|
|
342
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/email/audiences/").concat(audience_id, "/subscribers"), __assign({ method: "post", body: JSON.stringify(body), headers: {
|
|
365
343
|
"content-type": "application/json",
|
|
366
|
-
},
|
|
367
|
-
raw: true,
|
|
368
|
-
});
|
|
344
|
+
}, raw: true }, options));
|
|
369
345
|
};
|
|
370
|
-
this.getFormById = function (feedback_form_id) {
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
});
|
|
346
|
+
this.getFormById = function (feedback_form_id, options) {
|
|
347
|
+
if (options === void 0) { options = {}; }
|
|
348
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/feedback/forms/").concat(feedback_form_id), __assign({ method: "get" }, options));
|
|
374
349
|
};
|
|
375
|
-
this.submitFormById = function (feedback_form_id, body) {
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
body: JSON.stringify(body),
|
|
379
|
-
headers: {
|
|
350
|
+
this.submitFormById = function (feedback_form_id, body, options) {
|
|
351
|
+
if (options === void 0) { options = {}; }
|
|
352
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/feedback/forms/").concat(feedback_form_id, "/submit"), __assign({ method: "post", body: JSON.stringify(body), headers: {
|
|
380
353
|
"content-type": "application/json",
|
|
381
|
-
},
|
|
382
|
-
raw: true,
|
|
383
|
-
});
|
|
354
|
+
}, raw: true }, options));
|
|
384
355
|
};
|
|
385
|
-
this.createQuestion = function (body) {
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
body: JSON.stringify(body),
|
|
389
|
-
headers: {
|
|
356
|
+
this.createQuestion = function (body, options) {
|
|
357
|
+
if (options === void 0) { options = {}; }
|
|
358
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/questions"), __assign({ method: "post", body: JSON.stringify(body), headers: {
|
|
390
359
|
"content-type": "application/json",
|
|
391
|
-
},
|
|
392
|
-
});
|
|
360
|
+
} }, options));
|
|
393
361
|
};
|
|
394
|
-
this.paginateQuestions = function (query) {
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
query: query,
|
|
398
|
-
});
|
|
362
|
+
this.paginateQuestions = function (query, options) {
|
|
363
|
+
if (options === void 0) { options = {}; }
|
|
364
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/questions"), __assign({ method: "get", query: query }, options));
|
|
399
365
|
};
|
|
400
|
-
this.getQuestionById = function (question_id, query) {
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
query: query,
|
|
404
|
-
});
|
|
366
|
+
this.getQuestionById = function (question_id, query, options) {
|
|
367
|
+
if (options === void 0) { options = {}; }
|
|
368
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/questions/").concat(question_id), __assign({ method: "get", query: query }, options));
|
|
405
369
|
};
|
|
406
|
-
this.updateQuestionById = function (question_id, body) {
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
body: JSON.stringify(body),
|
|
410
|
-
headers: {
|
|
370
|
+
this.updateQuestionById = function (question_id, body, options) {
|
|
371
|
+
if (options === void 0) { options = {}; }
|
|
372
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/questions/").concat(question_id), __assign({ method: "put", body: JSON.stringify(body), headers: {
|
|
411
373
|
"content-type": "application/json",
|
|
412
|
-
},
|
|
413
|
-
});
|
|
374
|
+
} }, options));
|
|
414
375
|
};
|
|
415
|
-
this.deleteQuestionById = function (question_id) {
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
});
|
|
376
|
+
this.deleteQuestionById = function (question_id, options) {
|
|
377
|
+
if (options === void 0) { options = {}; }
|
|
378
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/questions/").concat(question_id), __assign({ method: "delete" }, options));
|
|
419
379
|
};
|
|
420
|
-
this.paginateAnswersForQuestionById = function (question_id, query) {
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
query: query,
|
|
424
|
-
});
|
|
380
|
+
this.paginateAnswersForQuestionById = function (question_id, query, options) {
|
|
381
|
+
if (options === void 0) { options = {}; }
|
|
382
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/questions/").concat(question_id, "/answers"), __assign({ method: "get", query: query }, options));
|
|
425
383
|
};
|
|
426
|
-
this.answerQuestionById = function (question_id, body) {
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
body: JSON.stringify(body),
|
|
430
|
-
headers: {
|
|
384
|
+
this.answerQuestionById = function (question_id, body, options) {
|
|
385
|
+
if (options === void 0) { options = {}; }
|
|
386
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/questions/").concat(question_id, "/answer"), __assign({ method: "put", body: JSON.stringify(body), headers: {
|
|
431
387
|
"content-type": "application/json",
|
|
432
|
-
},
|
|
433
|
-
raw: true,
|
|
434
|
-
});
|
|
388
|
+
}, raw: true }, options));
|
|
435
389
|
};
|
|
436
|
-
this.bulkAnswerQuestions = function (body) {
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
body: JSON.stringify(body),
|
|
440
|
-
headers: {
|
|
390
|
+
this.bulkAnswerQuestions = function (body, options) {
|
|
391
|
+
if (options === void 0) { options = {}; }
|
|
392
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/bulk/questions/answer"), __assign({ method: "post", body: JSON.stringify(body), headers: {
|
|
441
393
|
"content-type": "application/json",
|
|
442
|
-
},
|
|
443
|
-
raw: true,
|
|
444
|
-
});
|
|
394
|
+
}, raw: true }, options));
|
|
445
395
|
};
|
|
446
|
-
this.getCardsForTenantById = function (tenant_id, query) {
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
query: query,
|
|
450
|
-
});
|
|
396
|
+
this.getCardsForTenantById = function (tenant_id, query, options) {
|
|
397
|
+
if (options === void 0) { options = {}; }
|
|
398
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/cards"), __assign({ method: "get", query: query }, options));
|
|
451
399
|
};
|
|
452
|
-
this.paginateFeedbackFormsForTenantById = function (tenant_id, query) {
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
query: query,
|
|
456
|
-
});
|
|
400
|
+
this.paginateFeedbackFormsForTenantById = function (tenant_id, query, options) {
|
|
401
|
+
if (options === void 0) { options = {}; }
|
|
402
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/feedback/forms"), __assign({ method: "get", query: query }, options));
|
|
457
403
|
};
|
|
458
|
-
this.createFeedbackFormForTenantById = function (tenant_id, body) {
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
body: JSON.stringify(body),
|
|
462
|
-
headers: {
|
|
404
|
+
this.createFeedbackFormForTenantById = function (tenant_id, body, options) {
|
|
405
|
+
if (options === void 0) { options = {}; }
|
|
406
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/feedback/forms"), __assign({ method: "post", body: JSON.stringify(body), headers: {
|
|
463
407
|
"content-type": "application/json",
|
|
464
|
-
},
|
|
465
|
-
});
|
|
408
|
+
} }, options));
|
|
466
409
|
};
|
|
467
|
-
this.getFeedbackFormForTenantById = function (tenant_id, feedback_form_id, query) {
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
query: query,
|
|
471
|
-
});
|
|
410
|
+
this.getFeedbackFormForTenantById = function (tenant_id, feedback_form_id, query, options) {
|
|
411
|
+
if (options === void 0) { options = {}; }
|
|
412
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/feedback/forms/").concat(feedback_form_id), __assign({ method: "get", query: query }, options));
|
|
472
413
|
};
|
|
473
|
-
this.updateFeedbackFormForTenantById = function (tenant_id, feedback_form_id, body) {
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
body: JSON.stringify(body),
|
|
477
|
-
headers: {
|
|
414
|
+
this.updateFeedbackFormForTenantById = function (tenant_id, feedback_form_id, body, options) {
|
|
415
|
+
if (options === void 0) { options = {}; }
|
|
416
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/feedback/forms/").concat(feedback_form_id), __assign({ method: "put", body: JSON.stringify(body), headers: {
|
|
478
417
|
"content-type": "application/json",
|
|
479
|
-
},
|
|
480
|
-
});
|
|
418
|
+
} }, options));
|
|
481
419
|
};
|
|
482
|
-
this.deleteFeedbackFormForTenantById = function (tenant_id, feedback_form_id) {
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
});
|
|
420
|
+
this.deleteFeedbackFormForTenantById = function (tenant_id, feedback_form_id, options) {
|
|
421
|
+
if (options === void 0) { options = {}; }
|
|
422
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/feedback/forms/").concat(feedback_form_id), __assign({ method: "delete" }, options));
|
|
486
423
|
};
|
|
487
|
-
this.paginateFeedbackFormResponsesForTenantById = function (tenant_id, feedback_form_id, query) {
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
query: query,
|
|
491
|
-
});
|
|
424
|
+
this.paginateFeedbackFormResponsesForTenantById = function (tenant_id, feedback_form_id, query, options) {
|
|
425
|
+
if (options === void 0) { options = {}; }
|
|
426
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/feedback/forms/").concat(feedback_form_id, "/responses"), __assign({ method: "get", query: query }, options));
|
|
492
427
|
};
|
|
493
|
-
this.createAnalyticEventTypeForTenantById = function (tenant_id, body) {
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
body: JSON.stringify(body),
|
|
497
|
-
headers: {
|
|
428
|
+
this.createAnalyticEventTypeForTenantById = function (tenant_id, body, options) {
|
|
429
|
+
if (options === void 0) { options = {}; }
|
|
430
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/analytics/events/types"), __assign({ method: "post", body: JSON.stringify(body), headers: {
|
|
498
431
|
"content-type": "application/json",
|
|
499
|
-
},
|
|
500
|
-
});
|
|
432
|
+
} }, options));
|
|
501
433
|
};
|
|
502
|
-
this.paginateAnalyticEventTypesForTenantById = function (tenant_id, query) {
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
query: query,
|
|
506
|
-
});
|
|
434
|
+
this.paginateAnalyticEventTypesForTenantById = function (tenant_id, query, options) {
|
|
435
|
+
if (options === void 0) { options = {}; }
|
|
436
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/analytics/events/types"), __assign({ method: "get", query: query }, options));
|
|
507
437
|
};
|
|
508
|
-
this.createAppArea = function (tenant_id, body) {
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
body: JSON.stringify(body),
|
|
512
|
-
headers: {
|
|
438
|
+
this.createAppArea = function (tenant_id, body, options) {
|
|
439
|
+
if (options === void 0) { options = {}; }
|
|
440
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/app-areas"), __assign({ method: "post", body: JSON.stringify(body), headers: {
|
|
513
441
|
"content-type": "application/json",
|
|
514
|
-
},
|
|
515
|
-
});
|
|
442
|
+
} }, options));
|
|
516
443
|
};
|
|
517
|
-
this.listAppAreas = function (tenant_id) {
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
});
|
|
444
|
+
this.listAppAreas = function (tenant_id, options) {
|
|
445
|
+
if (options === void 0) { options = {}; }
|
|
446
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/app-areas"), __assign({ method: "get" }, options));
|
|
521
447
|
};
|
|
522
|
-
this.getAppAreaById = function (tenant_id, app_area_id) {
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
});
|
|
448
|
+
this.getAppAreaById = function (tenant_id, app_area_id, options) {
|
|
449
|
+
if (options === void 0) { options = {}; }
|
|
450
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/app-areas/").concat(app_area_id), __assign({ method: "get" }, options));
|
|
526
451
|
};
|
|
527
|
-
this.updateAppAreaById = function (tenant_id, app_area_id, body) {
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
body: JSON.stringify(body),
|
|
531
|
-
headers: {
|
|
452
|
+
this.updateAppAreaById = function (tenant_id, app_area_id, body, options) {
|
|
453
|
+
if (options === void 0) { options = {}; }
|
|
454
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/app-areas/").concat(app_area_id), __assign({ method: "put", body: JSON.stringify(body), headers: {
|
|
532
455
|
"content-type": "application/json",
|
|
533
|
-
},
|
|
534
|
-
});
|
|
456
|
+
} }, options));
|
|
535
457
|
};
|
|
536
|
-
this.deleteAppAreaById = function (tenant_id, app_area_id) {
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
});
|
|
458
|
+
this.deleteAppAreaById = function (tenant_id, app_area_id, options) {
|
|
459
|
+
if (options === void 0) { options = {}; }
|
|
460
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/app-areas/").concat(app_area_id), __assign({ method: "delete" }, options));
|
|
540
461
|
};
|
|
541
|
-
this.createCampaign = function (tenant_id, body) {
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
body: JSON.stringify(body),
|
|
545
|
-
headers: {
|
|
462
|
+
this.createCampaign = function (tenant_id, body, options) {
|
|
463
|
+
if (options === void 0) { options = {}; }
|
|
464
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/campaigns"), __assign({ method: "post", body: JSON.stringify(body), headers: {
|
|
546
465
|
"content-type": "application/json",
|
|
547
|
-
},
|
|
548
|
-
});
|
|
466
|
+
} }, options));
|
|
549
467
|
};
|
|
550
|
-
this.paginateCampaignsForTenantById = function (tenant_id, query) {
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
query: query,
|
|
554
|
-
});
|
|
468
|
+
this.paginateCampaignsForTenantById = function (tenant_id, query, options) {
|
|
469
|
+
if (options === void 0) { options = {}; }
|
|
470
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/campaigns"), __assign({ method: "get", query: query }, options));
|
|
555
471
|
};
|
|
556
|
-
this.getCampaignById = function (tenant_id, campaign_id, query) {
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
query: query,
|
|
560
|
-
});
|
|
472
|
+
this.getCampaignById = function (tenant_id, campaign_id, query, options) {
|
|
473
|
+
if (options === void 0) { options = {}; }
|
|
474
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/campaigns/").concat(campaign_id), __assign({ method: "get", query: query }, options));
|
|
561
475
|
};
|
|
562
|
-
this.updateCampaignById = function (tenant_id, campaign_id, body) {
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
body: JSON.stringify(body),
|
|
566
|
-
headers: {
|
|
476
|
+
this.updateCampaignById = function (tenant_id, campaign_id, body, options) {
|
|
477
|
+
if (options === void 0) { options = {}; }
|
|
478
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/campaigns/").concat(campaign_id), __assign({ method: "put", body: JSON.stringify(body), headers: {
|
|
567
479
|
"content-type": "application/json",
|
|
568
|
-
},
|
|
569
|
-
});
|
|
480
|
+
} }, options));
|
|
570
481
|
};
|
|
571
|
-
this.deleteCampaignById = function (tenant_id, campaign_id) {
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
});
|
|
482
|
+
this.deleteCampaignById = function (tenant_id, campaign_id, options) {
|
|
483
|
+
if (options === void 0) { options = {}; }
|
|
484
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/campaigns/").concat(campaign_id), __assign({ method: "delete" }, options));
|
|
575
485
|
};
|
|
576
|
-
this.closeCampaignById = function (tenant_id, campaign_id) {
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
});
|
|
486
|
+
this.closeCampaignById = function (tenant_id, campaign_id, options) {
|
|
487
|
+
if (options === void 0) { options = {}; }
|
|
488
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/campaigns/").concat(campaign_id, "/close"), __assign({ method: "post" }, options));
|
|
580
489
|
};
|
|
581
|
-
this.publishCampaignById = function (tenant_id, campaign_id, body) {
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
body: JSON.stringify(body),
|
|
585
|
-
headers: {
|
|
490
|
+
this.publishCampaignById = function (tenant_id, campaign_id, body, options) {
|
|
491
|
+
if (options === void 0) { options = {}; }
|
|
492
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/campaigns/").concat(campaign_id, "/publish"), __assign({ method: "post", body: JSON.stringify(body), headers: {
|
|
586
493
|
"content-type": "application/json",
|
|
587
|
-
},
|
|
588
|
-
});
|
|
494
|
+
} }, options));
|
|
589
495
|
};
|
|
590
|
-
this.paginateTemplatesForTenantById = function (tenant_id, query) {
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
query: query,
|
|
594
|
-
});
|
|
496
|
+
this.paginateTemplatesForTenantById = function (tenant_id, query, options) {
|
|
497
|
+
if (options === void 0) { options = {}; }
|
|
498
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/templates"), __assign({ method: "get", query: query }, options));
|
|
595
499
|
};
|
|
596
|
-
this.cloneTemplateForTenantById = function (tenant_id, template_id) {
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
});
|
|
500
|
+
this.cloneTemplateForTenantById = function (tenant_id, template_id, options) {
|
|
501
|
+
if (options === void 0) { options = {}; }
|
|
502
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/templates/").concat(template_id, "/clone"), __assign({ method: "post" }, options));
|
|
600
503
|
};
|
|
601
|
-
this.paginateTemplateTags = function (query) {
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
query: query,
|
|
605
|
-
});
|
|
504
|
+
this.paginateTemplateTags = function (query, options) {
|
|
505
|
+
if (options === void 0) { options = {}; }
|
|
506
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/templates/tags"), __assign({ method: "get", query: query }, options));
|
|
606
507
|
};
|
|
607
|
-
this.createBoardForTenantById = function (tenant_id, body) {
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
body: JSON.stringify(body),
|
|
611
|
-
headers: {
|
|
508
|
+
this.createBoardForTenantById = function (tenant_id, body, options) {
|
|
509
|
+
if (options === void 0) { options = {}; }
|
|
510
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/boards"), __assign({ method: "post", body: JSON.stringify(body), headers: {
|
|
612
511
|
"content-type": "application/json",
|
|
613
|
-
},
|
|
614
|
-
});
|
|
512
|
+
} }, options));
|
|
615
513
|
};
|
|
616
|
-
this.listBoardsForTenantById = function (tenant_id) {
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
});
|
|
514
|
+
this.listBoardsForTenantById = function (tenant_id, options) {
|
|
515
|
+
if (options === void 0) { options = {}; }
|
|
516
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/boards"), __assign({ method: "get" }, options));
|
|
620
517
|
};
|
|
621
|
-
this.createTicketForBoard = function (tenant_id, board_id, body) {
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
body: JSON.stringify(body),
|
|
625
|
-
headers: {
|
|
518
|
+
this.createTicketForBoard = function (tenant_id, board_id, body, options) {
|
|
519
|
+
if (options === void 0) { options = {}; }
|
|
520
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/boards/").concat(board_id, "/tickets"), __assign({ method: "post", body: JSON.stringify(body), headers: {
|
|
626
521
|
"content-type": "application/json",
|
|
627
|
-
},
|
|
628
|
-
});
|
|
522
|
+
} }, options));
|
|
629
523
|
};
|
|
630
|
-
this.paginateTicketsForBoard = function (tenant_id, board_id, query) {
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
query: query,
|
|
634
|
-
});
|
|
524
|
+
this.paginateTicketsForBoard = function (tenant_id, board_id, query, options) {
|
|
525
|
+
if (options === void 0) { options = {}; }
|
|
526
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/boards/").concat(board_id, "/tickets"), __assign({ method: "get", query: query }, options));
|
|
635
527
|
};
|
|
636
|
-
this.createUserNoteForBoard = function (tenant_id, board_id, body) {
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
body: JSON.stringify(body),
|
|
640
|
-
headers: {
|
|
528
|
+
this.createUserNoteForBoard = function (tenant_id, board_id, body, options) {
|
|
529
|
+
if (options === void 0) { options = {}; }
|
|
530
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/boards/").concat(board_id, "/notes"), __assign({ method: "post", body: JSON.stringify(body), headers: {
|
|
641
531
|
"content-type": "application/json",
|
|
642
|
-
},
|
|
643
|
-
});
|
|
532
|
+
} }, options));
|
|
644
533
|
};
|
|
645
|
-
this.paginateUserNotesForBoard = function (tenant_id, board_id, query) {
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
query: query,
|
|
649
|
-
});
|
|
534
|
+
this.paginateUserNotesForBoard = function (tenant_id, board_id, query, options) {
|
|
535
|
+
if (options === void 0) { options = {}; }
|
|
536
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/boards/").concat(board_id, "/notes"), __assign({ method: "get", query: query }, options));
|
|
650
537
|
};
|
|
651
|
-
this.generateUserNoteMetricsForBoard = function (tenant_id, board_id) {
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
});
|
|
538
|
+
this.generateUserNoteMetricsForBoard = function (tenant_id, board_id, options) {
|
|
539
|
+
if (options === void 0) { options = {}; }
|
|
540
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/boards/").concat(board_id, "/notes/metrics"), __assign({ method: "post" }, options));
|
|
655
541
|
};
|
|
656
|
-
this.deleteUserNoteById = function (tenant_id, user_note_id) {
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
});
|
|
542
|
+
this.deleteUserNoteById = function (tenant_id, user_note_id, options) {
|
|
543
|
+
if (options === void 0) { options = {}; }
|
|
544
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/notes/").concat(user_note_id), __assign({ method: "delete" }, options));
|
|
660
545
|
};
|
|
661
|
-
this.linkUserNoteToTicket = function (tenant_id, user_note_id, body) {
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
body: JSON.stringify(body),
|
|
665
|
-
headers: {
|
|
546
|
+
this.linkUserNoteToTicket = function (tenant_id, user_note_id, body, options) {
|
|
547
|
+
if (options === void 0) { options = {}; }
|
|
548
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/notes/").concat(user_note_id, "/link"), __assign({ method: "post", body: JSON.stringify(body), headers: {
|
|
666
549
|
"content-type": "application/json",
|
|
667
|
-
},
|
|
668
|
-
raw: true,
|
|
669
|
-
});
|
|
550
|
+
}, raw: true }, options));
|
|
670
551
|
};
|
|
671
|
-
this.bulkUpdateTickets = function (tenant_id, body) {
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
body: JSON.stringify(body),
|
|
675
|
-
headers: {
|
|
552
|
+
this.bulkUpdateTickets = function (tenant_id, body, options) {
|
|
553
|
+
if (options === void 0) { options = {}; }
|
|
554
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/bulk/tickets"), __assign({ method: "put", body: JSON.stringify(body), headers: {
|
|
676
555
|
"content-type": "application/json",
|
|
677
|
-
},
|
|
678
|
-
raw: true,
|
|
679
|
-
});
|
|
556
|
+
}, raw: true }, options));
|
|
680
557
|
};
|
|
681
|
-
this.getTicketById = function (tenant_id, ticket_id) {
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
});
|
|
558
|
+
this.getTicketById = function (tenant_id, ticket_id, options) {
|
|
559
|
+
if (options === void 0) { options = {}; }
|
|
560
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/tickets/").concat(ticket_id), __assign({ method: "get" }, options));
|
|
685
561
|
};
|
|
686
|
-
this.updateTicketById = function (tenant_id, ticket_id, body) {
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
body: JSON.stringify(body),
|
|
690
|
-
headers: {
|
|
562
|
+
this.updateTicketById = function (tenant_id, ticket_id, body, options) {
|
|
563
|
+
if (options === void 0) { options = {}; }
|
|
564
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/tickets/").concat(ticket_id), __assign({ method: "put", body: JSON.stringify(body), headers: {
|
|
691
565
|
"content-type": "application/json",
|
|
692
|
-
},
|
|
693
|
-
});
|
|
566
|
+
} }, options));
|
|
694
567
|
};
|
|
695
|
-
this.deleteTicketById = function (tenant_id, ticket_id) {
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
});
|
|
568
|
+
this.deleteTicketById = function (tenant_id, ticket_id, options) {
|
|
569
|
+
if (options === void 0) { options = {}; }
|
|
570
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/tickets/").concat(ticket_id), __assign({ method: "delete" }, options));
|
|
699
571
|
};
|
|
700
|
-
this.deleteAttachmentForTicketById = function (tenant_id, ticket_id, ticket_attachment_id) {
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
});
|
|
572
|
+
this.deleteAttachmentForTicketById = function (tenant_id, ticket_id, ticket_attachment_id, options) {
|
|
573
|
+
if (options === void 0) { options = {}; }
|
|
574
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/tickets/").concat(ticket_id, "/attachments/").concat(ticket_attachment_id), __assign({ method: "delete" }, options));
|
|
704
575
|
};
|
|
705
|
-
this.updateReleaseForTicketById = function (tenant_id, ticket_id, body) {
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
body: JSON.stringify(body),
|
|
709
|
-
headers: {
|
|
576
|
+
this.updateReleaseForTicketById = function (tenant_id, ticket_id, body, options) {
|
|
577
|
+
if (options === void 0) { options = {}; }
|
|
578
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/tickets/").concat(ticket_id, "/release"), __assign({ method: "put", body: JSON.stringify(body), headers: {
|
|
710
579
|
"content-type": "application/json",
|
|
711
|
-
},
|
|
712
|
-
});
|
|
580
|
+
} }, options));
|
|
713
581
|
};
|
|
714
|
-
this.removeReleaseFromTicketById = function (tenant_id, ticket_id) {
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
});
|
|
582
|
+
this.removeReleaseFromTicketById = function (tenant_id, ticket_id, options) {
|
|
583
|
+
if (options === void 0) { options = {}; }
|
|
584
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/tickets/").concat(ticket_id, "/release"), __assign({ method: "delete" }, options));
|
|
718
585
|
};
|
|
719
|
-
this.voteForTicketById = function (tenant_id, ticket_id) {
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
});
|
|
586
|
+
this.voteForTicketById = function (tenant_id, ticket_id, options) {
|
|
587
|
+
if (options === void 0) { options = {}; }
|
|
588
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/tickets/").concat(ticket_id, "/vote"), __assign({ method: "post" }, options));
|
|
723
589
|
};
|
|
724
|
-
this.removeVoteForTicketById = function (tenant_id, ticket_id) {
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
});
|
|
590
|
+
this.removeVoteForTicketById = function (tenant_id, ticket_id, options) {
|
|
591
|
+
if (options === void 0) { options = {}; }
|
|
592
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/tickets/").concat(ticket_id, "/vote"), __assign({ method: "delete" }, options));
|
|
728
593
|
};
|
|
729
|
-
this.generateNextReleaseVersionInfoForTenantById = function (tenant_id, body) {
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
body: JSON.stringify(body),
|
|
733
|
-
headers: {
|
|
594
|
+
this.generateNextReleaseVersionInfoForTenantById = function (tenant_id, body, options) {
|
|
595
|
+
if (options === void 0) { options = {}; }
|
|
596
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/releases/version-info"), __assign({ method: "post", body: JSON.stringify(body), headers: {
|
|
734
597
|
"content-type": "application/json",
|
|
735
|
-
},
|
|
736
|
-
});
|
|
598
|
+
} }, options));
|
|
737
599
|
};
|
|
738
|
-
this.createReleaseForTenantById = function (tenant_id, body) {
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
body: JSON.stringify(body),
|
|
742
|
-
headers: {
|
|
600
|
+
this.createReleaseForTenantById = function (tenant_id, body, options) {
|
|
601
|
+
if (options === void 0) { options = {}; }
|
|
602
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/releases"), __assign({ method: "post", body: JSON.stringify(body), headers: {
|
|
743
603
|
"content-type": "application/json",
|
|
744
|
-
},
|
|
745
|
-
});
|
|
604
|
+
} }, options));
|
|
746
605
|
};
|
|
747
|
-
this.paginateReleasesForTenantById = function (tenant_id, query) {
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
query: query,
|
|
751
|
-
});
|
|
606
|
+
this.paginateReleasesForTenantById = function (tenant_id, query, options) {
|
|
607
|
+
if (options === void 0) { options = {}; }
|
|
608
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/releases"), __assign({ method: "get", query: query }, options));
|
|
752
609
|
};
|
|
753
|
-
this.getReleaseForTenantById = function (tenant_id, release_id) {
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
});
|
|
610
|
+
this.getReleaseForTenantById = function (tenant_id, release_id, options) {
|
|
611
|
+
if (options === void 0) { options = {}; }
|
|
612
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/releases/").concat(release_id), __assign({ method: "get" }, options));
|
|
757
613
|
};
|
|
758
|
-
this.updateReleaseForTenantById = function (tenant_id, release_id, body) {
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
body: JSON.stringify(body),
|
|
762
|
-
headers: {
|
|
614
|
+
this.updateReleaseForTenantById = function (tenant_id, release_id, body, options) {
|
|
615
|
+
if (options === void 0) { options = {}; }
|
|
616
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/releases/").concat(release_id), __assign({ method: "put", body: JSON.stringify(body), headers: {
|
|
763
617
|
"content-type": "application/json",
|
|
764
|
-
},
|
|
765
|
-
});
|
|
618
|
+
} }, options));
|
|
766
619
|
};
|
|
767
|
-
this.deleteReleaseForTenantById = function (tenant_id, release_id) {
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
});
|
|
620
|
+
this.deleteReleaseForTenantById = function (tenant_id, release_id, options) {
|
|
621
|
+
if (options === void 0) { options = {}; }
|
|
622
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/releases/").concat(release_id), __assign({ method: "delete" }, options));
|
|
771
623
|
};
|
|
772
|
-
this.cutReleaseForTenantById = function (tenant_id, release_id) {
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
});
|
|
624
|
+
this.cutReleaseForTenantById = function (tenant_id, release_id, options) {
|
|
625
|
+
if (options === void 0) { options = {}; }
|
|
626
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/releases/").concat(release_id, "/release"), __assign({ method: "post" }, options));
|
|
776
627
|
};
|
|
777
|
-
this.createReleaseItemForReleaseById = function (tenant_id, release_id, body) {
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
body: JSON.stringify(body),
|
|
781
|
-
headers: {
|
|
628
|
+
this.createReleaseItemForReleaseById = function (tenant_id, release_id, body, options) {
|
|
629
|
+
if (options === void 0) { options = {}; }
|
|
630
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/releases/").concat(release_id, "/items"), __assign({ method: "post", body: JSON.stringify(body), headers: {
|
|
782
631
|
"content-type": "application/json",
|
|
783
|
-
},
|
|
784
|
-
});
|
|
632
|
+
} }, options));
|
|
785
633
|
};
|
|
786
|
-
this.getAppInfoForTenantApplication = function (tenant_id, application_id, query) {
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
query: query,
|
|
790
|
-
});
|
|
634
|
+
this.getAppInfoForTenantApplication = function (tenant_id, application_id, query, options) {
|
|
635
|
+
if (options === void 0) { options = {}; }
|
|
636
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/applications/").concat(application_id, "/app-info"), __assign({ method: "get", query: query }, options));
|
|
791
637
|
};
|
|
792
|
-
this.paginateTicketsForApplication = function (tenant_id, application_id, query) {
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
query: query,
|
|
796
|
-
});
|
|
638
|
+
this.paginateTicketsForApplication = function (tenant_id, application_id, query, options) {
|
|
639
|
+
if (options === void 0) { options = {}; }
|
|
640
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/applications/").concat(application_id, "/tickets"), __assign({ method: "get", query: query }, options));
|
|
797
641
|
};
|
|
798
|
-
this.getRoadmapForTenantApplication = function (tenant_id, application_id) {
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
});
|
|
642
|
+
this.getRoadmapForTenantApplication = function (tenant_id, application_id, options) {
|
|
643
|
+
if (options === void 0) { options = {}; }
|
|
644
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/applications/").concat(application_id, "/roadmap"), __assign({ method: "get" }, options));
|
|
802
645
|
};
|
|
803
|
-
this.paginateReleasesForTenantApplication = function (tenant_id, application_id, query) {
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
query: query,
|
|
807
|
-
});
|
|
646
|
+
this.paginateReleasesForTenantApplication = function (tenant_id, application_id, query, options) {
|
|
647
|
+
if (options === void 0) { options = {}; }
|
|
648
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/applications/").concat(application_id, "/releases"), __assign({ method: "get", query: query }, options));
|
|
808
649
|
};
|
|
809
|
-
this.getReleaseForTenantApplication = function (tenant_id, application_id, release_id) {
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
});
|
|
650
|
+
this.getReleaseForTenantApplication = function (tenant_id, application_id, release_id, options) {
|
|
651
|
+
if (options === void 0) { options = {}; }
|
|
652
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/applications/").concat(application_id, "/releases/").concat(release_id), __assign({ method: "get" }, options));
|
|
813
653
|
};
|
|
814
|
-
this.createVersionForTenantApplication = function (tenant_id, application_id, body) {
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
body: JSON.stringify(body),
|
|
818
|
-
headers: {
|
|
654
|
+
this.createVersionForTenantApplication = function (tenant_id, application_id, body, options) {
|
|
655
|
+
if (options === void 0) { options = {}; }
|
|
656
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/applications/").concat(application_id, "/versions"), __assign({ method: "post", body: JSON.stringify(body), headers: {
|
|
819
657
|
"content-type": "application/json",
|
|
820
|
-
},
|
|
821
|
-
});
|
|
658
|
+
} }, options));
|
|
822
659
|
};
|
|
823
|
-
this.listVersionsForTenantApplication = function (tenant_id, application_id) {
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
});
|
|
660
|
+
this.listVersionsForTenantApplication = function (tenant_id, application_id, options) {
|
|
661
|
+
if (options === void 0) { options = {}; }
|
|
662
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/applications/").concat(application_id, "/versions"), __assign({ method: "get" }, options));
|
|
827
663
|
};
|
|
828
|
-
this.getTenantApplicationVersionById = function (tenant_id, application_id, app_version_id) {
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
});
|
|
664
|
+
this.getTenantApplicationVersionById = function (tenant_id, application_id, app_version_id, options) {
|
|
665
|
+
if (options === void 0) { options = {}; }
|
|
666
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/applications/").concat(application_id, "/versions/").concat(app_version_id), __assign({ method: "get" }, options));
|
|
832
667
|
};
|
|
833
|
-
this.updateTenantApplicationVersionById = function (tenant_id, application_id, app_version_id, body) {
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
body: JSON.stringify(body),
|
|
837
|
-
headers: {
|
|
668
|
+
this.updateTenantApplicationVersionById = function (tenant_id, application_id, app_version_id, body, options) {
|
|
669
|
+
if (options === void 0) { options = {}; }
|
|
670
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/applications/").concat(application_id, "/versions/").concat(app_version_id), __assign({ method: "put", body: JSON.stringify(body), headers: {
|
|
838
671
|
"content-type": "application/json",
|
|
839
|
-
},
|
|
840
|
-
});
|
|
672
|
+
} }, options));
|
|
841
673
|
};
|
|
842
|
-
this.deleteTenantApplicationVersionById = function (tenant_id, application_id, app_version_id) {
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
});
|
|
674
|
+
this.deleteTenantApplicationVersionById = function (tenant_id, application_id, app_version_id, options) {
|
|
675
|
+
if (options === void 0) { options = {}; }
|
|
676
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/applications/").concat(application_id, "/versions/").concat(app_version_id), __assign({ method: "delete" }, options));
|
|
846
677
|
};
|
|
847
|
-
this.updateApnsConfigurationForTenantApplication = function (tenant_id, application_id, body) {
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
body: JSON.stringify(body),
|
|
851
|
-
headers: {
|
|
678
|
+
this.updateApnsConfigurationForTenantApplication = function (tenant_id, application_id, body, options) {
|
|
679
|
+
if (options === void 0) { options = {}; }
|
|
680
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/applications/").concat(application_id, "/apns"), __assign({ method: "post", body: JSON.stringify(body), headers: {
|
|
852
681
|
"content-type": "application/json",
|
|
853
|
-
},
|
|
854
|
-
});
|
|
682
|
+
} }, options));
|
|
855
683
|
};
|
|
856
|
-
this.getApnsConfigurationForTenantApplication = function (tenant_id, application_id) {
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
});
|
|
684
|
+
this.getApnsConfigurationForTenantApplication = function (tenant_id, application_id, options) {
|
|
685
|
+
if (options === void 0) { options = {}; }
|
|
686
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/applications/").concat(application_id, "/apns"), __assign({ method: "get" }, options));
|
|
860
687
|
};
|
|
861
|
-
this.getInboxItemsForTenantUser = function (tenant_id, query) {
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
query: query,
|
|
865
|
-
});
|
|
688
|
+
this.getInboxItemsForTenantUser = function (tenant_id, query, options) {
|
|
689
|
+
if (options === void 0) { options = {}; }
|
|
690
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/notifications/inbox/items"), __assign({ method: "get", query: query }, options));
|
|
866
691
|
};
|
|
867
|
-
this.readInboxItemsForTenantUser = function (tenant_id, body) {
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
body: JSON.stringify(body),
|
|
871
|
-
headers: {
|
|
692
|
+
this.readInboxItemsForTenantUser = function (tenant_id, body, options) {
|
|
693
|
+
if (options === void 0) { options = {}; }
|
|
694
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/notifications/inbox/items/read"), __assign({ method: "post", body: JSON.stringify(body), headers: {
|
|
872
695
|
"content-type": "application/json",
|
|
873
|
-
},
|
|
874
|
-
raw: true,
|
|
875
|
-
});
|
|
696
|
+
}, raw: true }, options));
|
|
876
697
|
};
|
|
877
|
-
this.createNotificationTemplate = function (tenant_id, body) {
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
body: JSON.stringify(body),
|
|
881
|
-
headers: {
|
|
698
|
+
this.createNotificationTemplate = function (tenant_id, body, options) {
|
|
699
|
+
if (options === void 0) { options = {}; }
|
|
700
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/notifications/templates"), __assign({ method: "post", body: JSON.stringify(body), headers: {
|
|
882
701
|
"content-type": "application/json",
|
|
883
|
-
},
|
|
884
|
-
});
|
|
702
|
+
} }, options));
|
|
885
703
|
};
|
|
886
|
-
this.paginateNotificationTemplatesForTenantById = function (tenant_id, query) {
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
query: query,
|
|
890
|
-
});
|
|
704
|
+
this.paginateNotificationTemplatesForTenantById = function (tenant_id, query, options) {
|
|
705
|
+
if (options === void 0) { options = {}; }
|
|
706
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/notifications/templates"), __assign({ method: "get", query: query }, options));
|
|
891
707
|
};
|
|
892
|
-
this.getNotificationTemplateById = function (tenant_id, notification_template_id, query) {
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
query: query,
|
|
896
|
-
});
|
|
708
|
+
this.getNotificationTemplateById = function (tenant_id, notification_template_id, query, options) {
|
|
709
|
+
if (options === void 0) { options = {}; }
|
|
710
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/notifications/templates/").concat(notification_template_id), __assign({ method: "get", query: query }, options));
|
|
897
711
|
};
|
|
898
|
-
this.updateNotificationTemplateById = function (tenant_id, notification_template_id, body) {
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
body: JSON.stringify(body),
|
|
902
|
-
headers: {
|
|
712
|
+
this.updateNotificationTemplateById = function (tenant_id, notification_template_id, body, options) {
|
|
713
|
+
if (options === void 0) { options = {}; }
|
|
714
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/notifications/templates/").concat(notification_template_id), __assign({ method: "put", body: JSON.stringify(body), headers: {
|
|
903
715
|
"content-type": "application/json",
|
|
904
|
-
},
|
|
905
|
-
});
|
|
716
|
+
} }, options));
|
|
906
717
|
};
|
|
907
|
-
this.deleteNotificationTemplateById = function (tenant_id, notification_template_id) {
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
});
|
|
718
|
+
this.deleteNotificationTemplateById = function (tenant_id, notification_template_id, options) {
|
|
719
|
+
if (options === void 0) { options = {}; }
|
|
720
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/notifications/templates/").concat(notification_template_id), __assign({ method: "delete" }, options));
|
|
911
721
|
};
|
|
912
|
-
this.createChannelForNotificationTemplate = function (tenant_id, notification_template_id, body) {
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
body: JSON.stringify(body),
|
|
916
|
-
headers: {
|
|
722
|
+
this.createChannelForNotificationTemplate = function (tenant_id, notification_template_id, body, options) {
|
|
723
|
+
if (options === void 0) { options = {}; }
|
|
724
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/notifications/templates/").concat(notification_template_id, "/channels"), __assign({ method: "post", body: JSON.stringify(body), headers: {
|
|
917
725
|
"content-type": "application/json",
|
|
918
|
-
},
|
|
919
|
-
});
|
|
726
|
+
} }, options));
|
|
920
727
|
};
|
|
921
|
-
this.updateChannelForNotificationTemplate = function (tenant_id, notification_template_id, channel_id, body) {
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
body: JSON.stringify(body),
|
|
925
|
-
headers: {
|
|
728
|
+
this.updateChannelForNotificationTemplate = function (tenant_id, notification_template_id, channel_id, body, options) {
|
|
729
|
+
if (options === void 0) { options = {}; }
|
|
730
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/notifications/templates/").concat(notification_template_id, "/channels/").concat(channel_id), __assign({ method: "put", body: JSON.stringify(body), headers: {
|
|
926
731
|
"content-type": "application/json",
|
|
927
|
-
},
|
|
928
|
-
});
|
|
732
|
+
} }, options));
|
|
929
733
|
};
|
|
930
|
-
this.deleteChannelForNotificationTemplate = function (tenant_id, notification_template_id, channel_id) {
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
});
|
|
734
|
+
this.deleteChannelForNotificationTemplate = function (tenant_id, notification_template_id, channel_id, options) {
|
|
735
|
+
if (options === void 0) { options = {}; }
|
|
736
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/notifications/templates/").concat(notification_template_id, "/channels/").concat(channel_id), __assign({ method: "delete" }, options));
|
|
934
737
|
};
|
|
935
|
-
this.checkSubdomainAvailability = function (body) {
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
body: JSON.stringify(body),
|
|
939
|
-
headers: {
|
|
738
|
+
this.checkSubdomainAvailability = function (body, options) {
|
|
739
|
+
if (options === void 0) { options = {}; }
|
|
740
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/subdomains/availability"), __assign({ method: "post", body: JSON.stringify(body), headers: {
|
|
940
741
|
"content-type": "application/json",
|
|
941
|
-
},
|
|
942
|
-
});
|
|
742
|
+
} }, options));
|
|
943
743
|
};
|
|
944
|
-
this.loginUserForTenant = function (tenant_id) {
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
});
|
|
744
|
+
this.loginUserForTenant = function (tenant_id, options) {
|
|
745
|
+
if (options === void 0) { options = {}; }
|
|
746
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/auth/login"), __assign({ method: "post" }, options));
|
|
948
747
|
};
|
|
949
|
-
this.getTenantUserInfo = function (tenant_id) {
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
});
|
|
748
|
+
this.getTenantUserInfo = function (tenant_id, options) {
|
|
749
|
+
if (options === void 0) { options = {}; }
|
|
750
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/auth/user-info"), __assign({ method: "get" }, options));
|
|
953
751
|
};
|
|
954
|
-
this.logoutUserForTenant = function (tenant_id) {
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
});
|
|
752
|
+
this.logoutUserForTenant = function (tenant_id, options) {
|
|
753
|
+
if (options === void 0) { options = {}; }
|
|
754
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/auth/logout"), __assign({ method: "post" }, options));
|
|
958
755
|
};
|
|
959
|
-
this.getClientForTenantApplication = function (tenant_id, application_id) {
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
});
|
|
756
|
+
this.getClientForTenantApplication = function (tenant_id, application_id, options) {
|
|
757
|
+
if (options === void 0) { options = {}; }
|
|
758
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/applications/").concat(application_id, "/client"), __assign({ method: "get" }, options));
|
|
963
759
|
};
|
|
964
|
-
this.createClientForTenantApplication = function (tenant_id, application_id) {
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
});
|
|
760
|
+
this.createClientForTenantApplication = function (tenant_id, application_id, options) {
|
|
761
|
+
if (options === void 0) { options = {}; }
|
|
762
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/applications/").concat(application_id, "/client"), __assign({ method: "post" }, options));
|
|
968
763
|
};
|
|
969
|
-
this.updateClientForTenantApplication = function (tenant_id, application_id, body) {
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
body: JSON.stringify(body),
|
|
973
|
-
headers: {
|
|
764
|
+
this.updateClientForTenantApplication = function (tenant_id, application_id, body, options) {
|
|
765
|
+
if (options === void 0) { options = {}; }
|
|
766
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/applications/").concat(application_id, "/client"), __assign({ method: "put", body: JSON.stringify(body), headers: {
|
|
974
767
|
"content-type": "application/json",
|
|
975
|
-
},
|
|
976
|
-
});
|
|
768
|
+
} }, options));
|
|
977
769
|
};
|
|
978
|
-
this.deleteClientForTenantApplication = function (tenant_id, application_id) {
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
});
|
|
770
|
+
this.deleteClientForTenantApplication = function (tenant_id, application_id, options) {
|
|
771
|
+
if (options === void 0) { options = {}; }
|
|
772
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/applications/").concat(application_id, "/client"), __assign({ method: "delete" }, options));
|
|
982
773
|
};
|
|
983
|
-
this.createApplicationForTenantById = function (tenant_id, body) {
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
body: JSON.stringify(body),
|
|
987
|
-
headers: {
|
|
774
|
+
this.createApplicationForTenantById = function (tenant_id, body, options) {
|
|
775
|
+
if (options === void 0) { options = {}; }
|
|
776
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/applications"), __assign({ method: "post", body: JSON.stringify(body), headers: {
|
|
988
777
|
"content-type": "application/json",
|
|
989
|
-
},
|
|
990
|
-
});
|
|
778
|
+
} }, options));
|
|
991
779
|
};
|
|
992
|
-
this.paginateApplicationsForTenantById = function (tenant_id, query) {
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
query: query,
|
|
996
|
-
});
|
|
780
|
+
this.paginateApplicationsForTenantById = function (tenant_id, query, options) {
|
|
781
|
+
if (options === void 0) { options = {}; }
|
|
782
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/applications"), __assign({ method: "get", query: query }, options));
|
|
997
783
|
};
|
|
998
|
-
this.getApplicationByIdForTenantById = function (tenant_id, application_id) {
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
});
|
|
784
|
+
this.getApplicationByIdForTenantById = function (tenant_id, application_id, options) {
|
|
785
|
+
if (options === void 0) { options = {}; }
|
|
786
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/applications/").concat(application_id), __assign({ method: "get" }, options));
|
|
1002
787
|
};
|
|
1003
|
-
this.updateApplicationByIdForTenantById = function (tenant_id, application_id, body) {
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
body: JSON.stringify(body),
|
|
1007
|
-
headers: {
|
|
788
|
+
this.updateApplicationByIdForTenantById = function (tenant_id, application_id, body, options) {
|
|
789
|
+
if (options === void 0) { options = {}; }
|
|
790
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/applications/").concat(application_id), __assign({ method: "put", body: JSON.stringify(body), headers: {
|
|
1008
791
|
"content-type": "application/json",
|
|
1009
|
-
},
|
|
1010
|
-
});
|
|
792
|
+
} }, options));
|
|
1011
793
|
};
|
|
1012
|
-
this.deleteApplicationByIdForTenantById = function (tenant_id, application_id) {
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
});
|
|
794
|
+
this.deleteApplicationByIdForTenantById = function (tenant_id, application_id, options) {
|
|
795
|
+
if (options === void 0) { options = {}; }
|
|
796
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/applications/").concat(application_id), __assign({ method: "delete" }, options));
|
|
1016
797
|
};
|
|
1017
|
-
this.getTenantForApiKeyById = function (api_key_id) {
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
});
|
|
798
|
+
this.getTenantForApiKeyById = function (api_key_id, options) {
|
|
799
|
+
if (options === void 0) { options = {}; }
|
|
800
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/api-keys/").concat(api_key_id, "/tenant"), __assign({ method: "get" }, options));
|
|
1021
801
|
};
|
|
1022
|
-
this.acceptInvitationByCode = function (invitation_code) {
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
});
|
|
802
|
+
this.acceptInvitationByCode = function (invitation_code, options) {
|
|
803
|
+
if (options === void 0) { options = {}; }
|
|
804
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/invitations/").concat(invitation_code, "/accept"), __assign({ method: "post" }, options));
|
|
1026
805
|
};
|
|
1027
|
-
this.deleteApiKeyForTenantById = function (tenant_id, api_key_id) {
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
});
|
|
806
|
+
this.deleteApiKeyForTenantById = function (tenant_id, api_key_id, options) {
|
|
807
|
+
if (options === void 0) { options = {}; }
|
|
808
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/api-keys/").concat(api_key_id), __assign({ method: "delete" }, options));
|
|
1031
809
|
};
|
|
1032
|
-
this.createApiKeyForTenantById = function (tenant_id, body) {
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
body: JSON.stringify(body),
|
|
1036
|
-
headers: {
|
|
810
|
+
this.createApiKeyForTenantById = function (tenant_id, body, options) {
|
|
811
|
+
if (options === void 0) { options = {}; }
|
|
812
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/api-keys"), __assign({ method: "post", body: JSON.stringify(body), headers: {
|
|
1037
813
|
"content-type": "application/json",
|
|
1038
|
-
},
|
|
1039
|
-
});
|
|
814
|
+
} }, options));
|
|
1040
815
|
};
|
|
1041
|
-
this.getApiKeysForTenantById = function (tenant_id) {
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
});
|
|
816
|
+
this.getApiKeysForTenantById = function (tenant_id, options) {
|
|
817
|
+
if (options === void 0) { options = {}; }
|
|
818
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/api-keys"), __assign({ method: "get" }, options));
|
|
1045
819
|
};
|
|
1046
|
-
this.listConnectedAppsForTenantById = function (tenant_id, query) {
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
query: query,
|
|
1050
|
-
});
|
|
820
|
+
this.listConnectedAppsForTenantById = function (tenant_id, query, options) {
|
|
821
|
+
if (options === void 0) { options = {}; }
|
|
822
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/connected-apps"), __assign({ method: "get", query: query }, options));
|
|
1051
823
|
};
|
|
1052
|
-
this.updateConnectedAppConnectionById = function (tenant_id, connected_app_connection_id, body) {
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
body: JSON.stringify(body),
|
|
1056
|
-
headers: {
|
|
824
|
+
this.updateConnectedAppConnectionById = function (tenant_id, connected_app_connection_id, body, options) {
|
|
825
|
+
if (options === void 0) { options = {}; }
|
|
826
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/connected-apps/connections/").concat(connected_app_connection_id), __assign({ method: "put", body: JSON.stringify(body), headers: {
|
|
1057
827
|
"content-type": "application/json",
|
|
1058
|
-
},
|
|
1059
|
-
});
|
|
828
|
+
} }, options));
|
|
1060
829
|
};
|
|
1061
|
-
this.deleteConnectedAppConnectionById = function (tenant_id, connected_app_connection_id) {
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
});
|
|
830
|
+
this.deleteConnectedAppConnectionById = function (tenant_id, connected_app_connection_id, options) {
|
|
831
|
+
if (options === void 0) { options = {}; }
|
|
832
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/connected-apps/connections/").concat(connected_app_connection_id), __assign({ method: "delete" }, options));
|
|
1065
833
|
};
|
|
1066
|
-
this.createConnectionForConnectedApp = function (tenant_id, connected_app_id, body) {
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
body: JSON.stringify(body),
|
|
1070
|
-
headers: {
|
|
834
|
+
this.createConnectionForConnectedApp = function (tenant_id, connected_app_id, body, options) {
|
|
835
|
+
if (options === void 0) { options = {}; }
|
|
836
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/connected-apps/").concat(connected_app_id, "/connections"), __assign({ method: "post", body: JSON.stringify(body), headers: {
|
|
1071
837
|
"content-type": "application/json",
|
|
1072
|
-
},
|
|
1073
|
-
});
|
|
838
|
+
} }, options));
|
|
1074
839
|
};
|
|
1075
|
-
this.listIntegrationsForTenantById = function (tenant_id, query) {
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
query: query,
|
|
1079
|
-
});
|
|
840
|
+
this.listIntegrationsForTenantById = function (tenant_id, query, options) {
|
|
841
|
+
if (options === void 0) { options = {}; }
|
|
842
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/integrations"), __assign({ method: "get", query: query }, options));
|
|
1080
843
|
};
|
|
1081
|
-
this.updateIntegrationConnectionById = function (tenant_id, integration_connection_id, body) {
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
body: JSON.stringify(body),
|
|
1085
|
-
headers: {
|
|
844
|
+
this.updateIntegrationConnectionById = function (tenant_id, integration_connection_id, body, options) {
|
|
845
|
+
if (options === void 0) { options = {}; }
|
|
846
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/integrations/connections/").concat(integration_connection_id), __assign({ method: "put", body: JSON.stringify(body), headers: {
|
|
1086
847
|
"content-type": "application/json",
|
|
1087
|
-
},
|
|
1088
|
-
});
|
|
848
|
+
} }, options));
|
|
1089
849
|
};
|
|
1090
|
-
this.deleteIntegrationConnectionById = function (tenant_id, integration_connection_id) {
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
});
|
|
850
|
+
this.deleteIntegrationConnectionById = function (tenant_id, integration_connection_id, options) {
|
|
851
|
+
if (options === void 0) { options = {}; }
|
|
852
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/integrations/connections/").concat(integration_connection_id), __assign({ method: "delete" }, options));
|
|
1094
853
|
};
|
|
1095
|
-
this.updateDataForIntegrationConnectionById = function (tenant_id, integration_connection_id, body) {
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
body: JSON.stringify(body),
|
|
1099
|
-
headers: {
|
|
854
|
+
this.updateDataForIntegrationConnectionById = function (tenant_id, integration_connection_id, body, options) {
|
|
855
|
+
if (options === void 0) { options = {}; }
|
|
856
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/integrations/connections/").concat(integration_connection_id, "/data"), __assign({ method: "put", body: JSON.stringify(body), headers: {
|
|
1100
857
|
"content-type": "application/json",
|
|
1101
|
-
},
|
|
1102
|
-
});
|
|
858
|
+
} }, options));
|
|
1103
859
|
};
|
|
1104
|
-
this.createConnectionForIntegration = function (tenant_id, integration_id, body) {
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
body: JSON.stringify(body),
|
|
1108
|
-
headers: {
|
|
860
|
+
this.createConnectionForIntegration = function (tenant_id, integration_id, body, options) {
|
|
861
|
+
if (options === void 0) { options = {}; }
|
|
862
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/integrations/").concat(integration_id, "/connections"), __assign({ method: "post", body: JSON.stringify(body), headers: {
|
|
1109
863
|
"content-type": "application/json",
|
|
1110
|
-
},
|
|
1111
|
-
});
|
|
864
|
+
} }, options));
|
|
1112
865
|
};
|
|
1113
|
-
this.getInvitationsForTenantById = function (tenant_id) {
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
});
|
|
866
|
+
this.getInvitationsForTenantById = function (tenant_id, options) {
|
|
867
|
+
if (options === void 0) { options = {}; }
|
|
868
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/invitations"), __assign({ method: "get" }, options));
|
|
1117
869
|
};
|
|
1118
|
-
this.createInvitationForTenantById = function (tenant_id, body) {
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
body: JSON.stringify(body),
|
|
1122
|
-
headers: {
|
|
870
|
+
this.createInvitationForTenantById = function (tenant_id, body, options) {
|
|
871
|
+
if (options === void 0) { options = {}; }
|
|
872
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/invitations"), __assign({ method: "post", body: JSON.stringify(body), headers: {
|
|
1123
873
|
"content-type": "application/json",
|
|
1124
|
-
},
|
|
1125
|
-
});
|
|
874
|
+
} }, options));
|
|
1126
875
|
};
|
|
1127
|
-
this.getTeamMembersForTenantById = function (tenant_id) {
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
});
|
|
876
|
+
this.getTeamMembersForTenantById = function (tenant_id, options) {
|
|
877
|
+
if (options === void 0) { options = {}; }
|
|
878
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/team-members"), __assign({ method: "get" }, options));
|
|
1131
879
|
};
|
|
1132
|
-
this.deleteTeamMemberForTenantById = function (tenant_id, team_member_id) {
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
});
|
|
880
|
+
this.deleteTeamMemberForTenantById = function (tenant_id, team_member_id, options) {
|
|
881
|
+
if (options === void 0) { options = {}; }
|
|
882
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/team-members/").concat(team_member_id), __assign({ method: "delete" }, options));
|
|
1136
883
|
};
|
|
1137
|
-
this.getUserForTenantById = function (tenant_id, user_id, query) {
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
query: query,
|
|
1141
|
-
});
|
|
884
|
+
this.getUserForTenantById = function (tenant_id, user_id, query, options) {
|
|
885
|
+
if (options === void 0) { options = {}; }
|
|
886
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/users/").concat(user_id), __assign({ method: "get", query: query }, options));
|
|
1142
887
|
};
|
|
1143
|
-
this.updateUserForTenantById = function (tenant_id, user_id, body) {
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
body: JSON.stringify(body),
|
|
1147
|
-
headers: {
|
|
888
|
+
this.updateUserForTenantById = function (tenant_id, user_id, body, options) {
|
|
889
|
+
if (options === void 0) { options = {}; }
|
|
890
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/users/").concat(user_id), __assign({ method: "put", body: JSON.stringify(body), headers: {
|
|
1148
891
|
"content-type": "application/json",
|
|
1149
|
-
},
|
|
1150
|
-
});
|
|
892
|
+
} }, options));
|
|
1151
893
|
};
|
|
1152
|
-
this.deleteUserForTenantById = function (tenant_id, user_id) {
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
});
|
|
894
|
+
this.deleteUserForTenantById = function (tenant_id, user_id, options) {
|
|
895
|
+
if (options === void 0) { options = {}; }
|
|
896
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/users/").concat(user_id), __assign({ method: "delete" }, options));
|
|
1156
897
|
};
|
|
1157
|
-
this.createUserForTenantById = function (tenant_id, body) {
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
body: JSON.stringify(body),
|
|
1161
|
-
headers: {
|
|
898
|
+
this.createUserForTenantById = function (tenant_id, body, options) {
|
|
899
|
+
if (options === void 0) { options = {}; }
|
|
900
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/users"), __assign({ method: "post", body: JSON.stringify(body), headers: {
|
|
1162
901
|
"content-type": "application/json",
|
|
1163
|
-
},
|
|
1164
|
-
});
|
|
902
|
+
} }, options));
|
|
1165
903
|
};
|
|
1166
|
-
this.paginateTenantUsersForTenantById = function (tenant_id, query) {
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
query: query,
|
|
1170
|
-
});
|
|
904
|
+
this.paginateTenantUsersForTenantById = function (tenant_id, query, options) {
|
|
905
|
+
if (options === void 0) { options = {}; }
|
|
906
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/users"), __assign({ method: "get", query: query }, options));
|
|
1171
907
|
};
|
|
1172
|
-
this.getTenantById = function (tenant_id, query) {
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
query: query,
|
|
1176
|
-
});
|
|
908
|
+
this.getTenantById = function (tenant_id, query, options) {
|
|
909
|
+
if (options === void 0) { options = {}; }
|
|
910
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id), __assign({ method: "get", query: query }, options));
|
|
1177
911
|
};
|
|
1178
|
-
this.updateTenantById = function (tenant_id, body) {
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
body: JSON.stringify(body),
|
|
1182
|
-
headers: {
|
|
912
|
+
this.updateTenantById = function (tenant_id, body, options) {
|
|
913
|
+
if (options === void 0) { options = {}; }
|
|
914
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id), __assign({ method: "put", body: JSON.stringify(body), headers: {
|
|
1183
915
|
"content-type": "application/json",
|
|
1184
|
-
},
|
|
1185
|
-
});
|
|
916
|
+
} }, options));
|
|
1186
917
|
};
|
|
1187
|
-
this.deleteTenantById = function (tenant_id) {
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
});
|
|
918
|
+
this.deleteTenantById = function (tenant_id, options) {
|
|
919
|
+
if (options === void 0) { options = {}; }
|
|
920
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id), __assign({ method: "delete" }, options));
|
|
1191
921
|
};
|
|
1192
|
-
this.createTenant = function (body) {
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
body: JSON.stringify(body),
|
|
1196
|
-
headers: {
|
|
922
|
+
this.createTenant = function (body, options) {
|
|
923
|
+
if (options === void 0) { options = {}; }
|
|
924
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants"), __assign({ method: "post", body: JSON.stringify(body), headers: {
|
|
1197
925
|
"content-type": "application/json",
|
|
1198
|
-
},
|
|
1199
|
-
});
|
|
926
|
+
} }, options));
|
|
1200
927
|
};
|
|
1201
|
-
this.createTenantForUserById = function (user_id, body) {
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
body: JSON.stringify(body),
|
|
1205
|
-
headers: {
|
|
928
|
+
this.createTenantForUserById = function (user_id, body, options) {
|
|
929
|
+
if (options === void 0) { options = {}; }
|
|
930
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/users/").concat(user_id, "/tenants"), __assign({ method: "post", body: JSON.stringify(body), headers: {
|
|
1206
931
|
"content-type": "application/json",
|
|
1207
|
-
},
|
|
1208
|
-
});
|
|
932
|
+
} }, options));
|
|
1209
933
|
};
|
|
1210
|
-
this.getTenantsForUserById = function (user_id) {
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
});
|
|
934
|
+
this.getTenantsForUserById = function (user_id, options) {
|
|
935
|
+
if (options === void 0) { options = {}; }
|
|
936
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/users/").concat(user_id, "/tenants"), __assign({ method: "get" }, options));
|
|
1214
937
|
};
|
|
1215
|
-
this.getUserById = function (user_id) {
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
});
|
|
938
|
+
this.getUserById = function (user_id, options) {
|
|
939
|
+
if (options === void 0) { options = {}; }
|
|
940
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/users/").concat(user_id), __assign({ method: "get" }, options));
|
|
1219
941
|
};
|
|
1220
|
-
this.updateUserById = function (user_id, body) {
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
body: JSON.stringify(body),
|
|
1224
|
-
headers: {
|
|
942
|
+
this.updateUserById = function (user_id, body, options) {
|
|
943
|
+
if (options === void 0) { options = {}; }
|
|
944
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/users/").concat(user_id), __assign({ method: "put", body: JSON.stringify(body), headers: {
|
|
1225
945
|
"content-type": "application/json",
|
|
1226
|
-
},
|
|
1227
|
-
});
|
|
946
|
+
} }, options));
|
|
1228
947
|
};
|
|
1229
|
-
this.deleteUserById = function (user_id) {
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
});
|
|
948
|
+
this.deleteUserById = function (user_id, options) {
|
|
949
|
+
if (options === void 0) { options = {}; }
|
|
950
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/users/").concat(user_id), __assign({ method: "delete" }, options));
|
|
1233
951
|
};
|
|
1234
|
-
this.createUser = function (body) {
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
body: JSON.stringify(body),
|
|
1238
|
-
headers: {
|
|
952
|
+
this.createUser = function (body, options) {
|
|
953
|
+
if (options === void 0) { options = {}; }
|
|
954
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/users"), __assign({ method: "post", body: JSON.stringify(body), headers: {
|
|
1239
955
|
"content-type": "application/json",
|
|
1240
|
-
},
|
|
1241
|
-
});
|
|
956
|
+
} }, options));
|
|
1242
957
|
};
|
|
1243
|
-
this.listUsers = function (query) {
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
query: query,
|
|
1247
|
-
});
|
|
958
|
+
this.listUsers = function (query, options) {
|
|
959
|
+
if (options === void 0) { options = {}; }
|
|
960
|
+
return _this.http.execute("".concat(_this.options.baseUrl, "/v1/users"), __assign({ method: "get", query: query }, options));
|
|
1248
961
|
};
|
|
1249
962
|
}
|
|
1250
963
|
return ParraAPI;
|