@qlik/api 1.26.0 → 1.28.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/api-keys.d.ts +11 -11
- package/api-keys.js +2 -2
- package/apps.d.ts +68 -68
- package/apps.js +2 -2
- package/audits.d.ts +36 -14
- package/audits.js +2 -2
- package/auth.js +2 -2
- package/automations.d.ts +36 -36
- package/automations.js +2 -2
- package/brands.d.ts +23 -23
- package/brands.js +2 -2
- package/chunks/{UV5COPU3.js → 2B7YWDQC.js} +3 -3
- package/chunks/{VX3MQBE7.js → 5MRIMVKS.js} +1 -1
- package/chunks/{7SNOQCIQ.js → 5XNSGPGZ.js} +1 -1
- package/chunks/{HGRF5TX3.js → KYCIMQ4L.js} +1 -1
- package/chunks/{AMO5NATA.js → WQYEWU54.js} +2 -2
- package/collections.d.ts +22 -22
- package/collections.js +2 -2
- package/csp-origins.d.ts +12 -12
- package/csp-origins.js +2 -2
- package/data-assets.d.ts +10 -10
- package/data-assets.js +2 -2
- package/data-connections.d.ts +18 -18
- package/data-connections.js +2 -2
- package/data-credentials.d.ts +10 -10
- package/data-credentials.js +2 -2
- package/data-files.d.ts +24 -24
- package/data-files.js +2 -2
- package/docs/authentication.md +1 -1
- package/extensions.d.ts +11 -11
- package/extensions.js +2 -2
- package/glossaries.d.ts +49 -48
- package/glossaries.js +2 -2
- package/groups.d.ts +16 -16
- package/groups.js +2 -2
- package/identity-providers.d.ts +15 -15
- package/identity-providers.js +2 -2
- package/index.js +4 -4
- package/items.d.ts +16 -16
- package/items.js +2 -2
- package/licenses.d.ts +18 -18
- package/licenses.js +2 -2
- package/package.json +2 -2
- package/qix.d.ts +10 -2
- package/qix.js +2 -2
- package/quotas.d.ts +4 -4
- package/quotas.js +2 -2
- package/reload-tasks.d.ts +10 -10
- package/reload-tasks.js +2 -2
- package/reloads.d.ts +17 -9
- package/reloads.js +2 -2
- package/reports.d.ts +4 -4
- package/reports.js +2 -2
- package/roles.d.ts +10 -10
- package/roles.js +2 -2
- package/spaces.d.ts +59 -25
- package/spaces.js +2 -2
- package/temp-contents.d.ts +6 -6
- package/temp-contents.js +2 -2
- package/tenants.d.ts +9 -9
- package/tenants.js +2 -2
- package/themes.d.ts +11 -11
- package/themes.js +2 -2
- package/transports.d.ts +17 -17
- package/transports.js +2 -2
- package/users.d.ts +19 -19
- package/users.js +2 -2
- package/web-integrations.d.ts +9 -9
- package/web-integrations.js +2 -2
- package/web-notifications.d.ts +12 -12
- package/web-notifications.js +2 -2
- package/webhooks.d.ts +20 -20
- package/webhooks.js +2 -2
package/data-files.d.ts
CHANGED
|
@@ -313,14 +313,14 @@ declare const getDataFiles: (query: {
|
|
|
313
313
|
type GetDataFilesHttpResponse = {
|
|
314
314
|
data: GetDataFileInfosResponse;
|
|
315
315
|
headers: Headers;
|
|
316
|
-
status:
|
|
316
|
+
status: 200;
|
|
317
317
|
prev?: (options?: ApiCallOptions) => Promise<GetDataFilesHttpResponse>;
|
|
318
318
|
next?: (options?: ApiCallOptions) => Promise<GetDataFilesHttpResponse>;
|
|
319
319
|
};
|
|
320
320
|
type GetDataFilesHttpError = {
|
|
321
321
|
data: ErrorResponse;
|
|
322
322
|
headers: Headers;
|
|
323
|
-
status:
|
|
323
|
+
status: 400 | 403;
|
|
324
324
|
};
|
|
325
325
|
/**
|
|
326
326
|
* Upload a new data file or create a new folder.
|
|
@@ -370,12 +370,12 @@ declare const uploadDataFile: (body: {
|
|
|
370
370
|
type UploadDataFileHttpResponse = {
|
|
371
371
|
data: DataFileUploadResponse;
|
|
372
372
|
headers: Headers;
|
|
373
|
-
status:
|
|
373
|
+
status: 201;
|
|
374
374
|
};
|
|
375
375
|
type UploadDataFileHttpError = {
|
|
376
376
|
data: ErrorResponse;
|
|
377
377
|
headers: Headers;
|
|
378
|
-
status:
|
|
378
|
+
status: 400 | 403 | 409 | 413 | 423 | 501;
|
|
379
379
|
};
|
|
380
380
|
/**
|
|
381
381
|
* This is to allow for a separate admin type of operation that is more global in terms of access in cases
|
|
@@ -390,12 +390,12 @@ declare const moveDataFiles: (body: DataFileBatchChangeSpaceRequest, options?: A
|
|
|
390
390
|
type MoveDataFilesHttpResponse = {
|
|
391
391
|
data: MultiStatusResponse;
|
|
392
392
|
headers: Headers;
|
|
393
|
-
status:
|
|
393
|
+
status: 207;
|
|
394
394
|
};
|
|
395
395
|
type MoveDataFilesHttpError = {
|
|
396
396
|
data: ErrorResponse;
|
|
397
397
|
headers: Headers;
|
|
398
|
-
status:
|
|
398
|
+
status: 400;
|
|
399
399
|
};
|
|
400
400
|
/**
|
|
401
401
|
* Delete the specified set of data files and/or folders as a single batch.
|
|
@@ -407,12 +407,12 @@ declare const deleteDataFiles: (body: DataFileBatchDeleteRequest, options?: ApiC
|
|
|
407
407
|
type DeleteDataFilesHttpResponse = {
|
|
408
408
|
data: MultiStatusResponse;
|
|
409
409
|
headers: Headers;
|
|
410
|
-
status:
|
|
410
|
+
status: 207;
|
|
411
411
|
};
|
|
412
412
|
type DeleteDataFilesHttpError = {
|
|
413
413
|
data: ErrorResponse;
|
|
414
414
|
headers: Headers;
|
|
415
|
-
status:
|
|
415
|
+
status: 400;
|
|
416
416
|
};
|
|
417
417
|
/**
|
|
418
418
|
* The non-filtered list contains a set of hardcoded connections, along with one connection per team space that
|
|
@@ -444,14 +444,14 @@ declare const getDataFilesConnections: (query: {
|
|
|
444
444
|
type GetDataFilesConnectionsHttpResponse = {
|
|
445
445
|
data: GetConnectionsResponse;
|
|
446
446
|
headers: Headers;
|
|
447
|
-
status:
|
|
447
|
+
status: 200;
|
|
448
448
|
prev?: (options?: ApiCallOptions) => Promise<GetDataFilesConnectionsHttpResponse>;
|
|
449
449
|
next?: (options?: ApiCallOptions) => Promise<GetDataFilesConnectionsHttpResponse>;
|
|
450
450
|
};
|
|
451
451
|
type GetDataFilesConnectionsHttpError = {
|
|
452
452
|
data: ErrorResponse;
|
|
453
453
|
headers: Headers;
|
|
454
|
-
status:
|
|
454
|
+
status: 400 | 403;
|
|
455
455
|
};
|
|
456
456
|
/**
|
|
457
457
|
* Get the built-in connection used by the engine to load/write data files given a connection ID.
|
|
@@ -463,12 +463,12 @@ declare const getDataFileConnection: (id: string, options?: ApiCallOptions) => P
|
|
|
463
463
|
type GetDataFileConnectionHttpResponse = {
|
|
464
464
|
data: ConnectionsResponse;
|
|
465
465
|
headers: Headers;
|
|
466
|
-
status:
|
|
466
|
+
status: 200;
|
|
467
467
|
};
|
|
468
468
|
type GetDataFileConnectionHttpError = {
|
|
469
469
|
data: ErrorResponse;
|
|
470
470
|
headers: Headers;
|
|
471
|
-
status:
|
|
471
|
+
status: 403 | 404;
|
|
472
472
|
};
|
|
473
473
|
/**
|
|
474
474
|
* Get quota information for the calling user.
|
|
@@ -479,12 +479,12 @@ declare const getDataFilesQuotas: (options?: ApiCallOptions) => Promise<GetDataF
|
|
|
479
479
|
type GetDataFilesQuotasHttpResponse = {
|
|
480
480
|
data: QuotaResponse;
|
|
481
481
|
headers: Headers;
|
|
482
|
-
status:
|
|
482
|
+
status: 200;
|
|
483
483
|
};
|
|
484
484
|
type GetDataFilesQuotasHttpError = {
|
|
485
485
|
data: ErrorResponse;
|
|
486
486
|
headers: Headers;
|
|
487
|
-
status:
|
|
487
|
+
status: 400 | 403;
|
|
488
488
|
};
|
|
489
489
|
/**
|
|
490
490
|
* Delete the specified data file or folder. Deleting a folder will also recursively delete all files and
|
|
@@ -497,12 +497,12 @@ declare const deleteDataFile: (id: string, options?: ApiCallOptions) => Promise<
|
|
|
497
497
|
type DeleteDataFileHttpResponse = {
|
|
498
498
|
data: void;
|
|
499
499
|
headers: Headers;
|
|
500
|
-
status:
|
|
500
|
+
status: 204;
|
|
501
501
|
};
|
|
502
502
|
type DeleteDataFileHttpError = {
|
|
503
503
|
data: ErrorResponse;
|
|
504
504
|
headers: Headers;
|
|
505
|
-
status:
|
|
505
|
+
status: 400 | 403 | 404;
|
|
506
506
|
};
|
|
507
507
|
/**
|
|
508
508
|
* Get descriptive info for the specified data file.
|
|
@@ -514,12 +514,12 @@ declare const getDataFile: (id: string, options?: ApiCallOptions) => Promise<Get
|
|
|
514
514
|
type GetDataFileHttpResponse = {
|
|
515
515
|
data: DataFileUploadResponse;
|
|
516
516
|
headers: Headers;
|
|
517
|
-
status:
|
|
517
|
+
status: 200;
|
|
518
518
|
};
|
|
519
519
|
type GetDataFileHttpError = {
|
|
520
520
|
data: ErrorResponse;
|
|
521
521
|
headers: Headers;
|
|
522
|
-
status:
|
|
522
|
+
status: 400 | 403 | 404;
|
|
523
523
|
};
|
|
524
524
|
/**
|
|
525
525
|
* Re-upload an existing data file or update an existing folder.
|
|
@@ -582,12 +582,12 @@ declare const reuploadDataFile: (id: string, body: {
|
|
|
582
582
|
type ReuploadDataFileHttpResponse = {
|
|
583
583
|
data: DataFileUploadResponse;
|
|
584
584
|
headers: Headers;
|
|
585
|
-
status:
|
|
585
|
+
status: 201;
|
|
586
586
|
};
|
|
587
587
|
type ReuploadDataFileHttpError = {
|
|
588
588
|
data: ErrorResponse;
|
|
589
589
|
headers: Headers;
|
|
590
|
-
status:
|
|
590
|
+
status: 400 | 403 | 404 | 409 | 413 | 423;
|
|
591
591
|
};
|
|
592
592
|
/**
|
|
593
593
|
* This is primarily an admin type of operation. In general, the owner of a data file or folder is implicitly
|
|
@@ -606,12 +606,12 @@ declare const changeDataFileOwner: (id: string, body: ChangeDataFileOwnerRequest
|
|
|
606
606
|
type ChangeDataFileOwnerHttpResponse = {
|
|
607
607
|
data: void;
|
|
608
608
|
headers: Headers;
|
|
609
|
-
status:
|
|
609
|
+
status: 204;
|
|
610
610
|
};
|
|
611
611
|
type ChangeDataFileOwnerHttpError = {
|
|
612
612
|
data: ErrorResponse;
|
|
613
613
|
headers: Headers;
|
|
614
|
-
status:
|
|
614
|
+
status: 400 | 403 | 404 | 409 | 423;
|
|
615
615
|
};
|
|
616
616
|
/**
|
|
617
617
|
* This is to allow for a separate admin type of operation that is more global in terms of access in cases
|
|
@@ -631,12 +631,12 @@ declare const moveDataFile: (id: string, body: ChangeDataFileSpaceRequest, optio
|
|
|
631
631
|
type MoveDataFileHttpResponse = {
|
|
632
632
|
data: void;
|
|
633
633
|
headers: Headers;
|
|
634
|
-
status:
|
|
634
|
+
status: 204;
|
|
635
635
|
};
|
|
636
636
|
type MoveDataFileHttpError = {
|
|
637
637
|
data: ErrorResponse;
|
|
638
638
|
headers: Headers;
|
|
639
|
-
status:
|
|
639
|
+
status: 400 | 403 | 404 | 409 | 423;
|
|
640
640
|
};
|
|
641
641
|
/**
|
|
642
642
|
* Clears the cache for data-files api requests.
|
package/data-files.js
CHANGED
package/docs/authentication.md
CHANGED
|
@@ -52,7 +52,7 @@ As an alternative to the methods above it is also possible to create an instance
|
|
|
52
52
|
Example:
|
|
53
53
|
|
|
54
54
|
```ts
|
|
55
|
-
import { createQlikApi } from "@qlik
|
|
55
|
+
import { createQlikApi } from "@qlik/api";
|
|
56
56
|
|
|
57
57
|
const api = createQlikApi({
|
|
58
58
|
authType: "apikey"
|
package/extensions.d.ts
CHANGED
|
@@ -104,7 +104,7 @@ declare const getExtensions: (options?: ApiCallOptions) => Promise<GetExtensions
|
|
|
104
104
|
type GetExtensionsHttpResponse = {
|
|
105
105
|
data: Extensions;
|
|
106
106
|
headers: Headers;
|
|
107
|
-
status:
|
|
107
|
+
status: 200;
|
|
108
108
|
};
|
|
109
109
|
type GetExtensionsHttpError = {
|
|
110
110
|
data: unknown;
|
|
@@ -126,7 +126,7 @@ declare const uploadExtension: (body: {
|
|
|
126
126
|
type UploadExtensionHttpResponse = {
|
|
127
127
|
data: Extension;
|
|
128
128
|
headers: Headers;
|
|
129
|
-
status:
|
|
129
|
+
status: 201;
|
|
130
130
|
};
|
|
131
131
|
type UploadExtensionHttpError = {
|
|
132
132
|
data: Error;
|
|
@@ -143,12 +143,12 @@ declare const deleteExtension: (id: string, options?: ApiCallOptions) => Promise
|
|
|
143
143
|
type DeleteExtensionHttpResponse = {
|
|
144
144
|
data: void;
|
|
145
145
|
headers: Headers;
|
|
146
|
-
status:
|
|
146
|
+
status: 204;
|
|
147
147
|
};
|
|
148
148
|
type DeleteExtensionHttpError = {
|
|
149
149
|
data: Error;
|
|
150
150
|
headers: Headers;
|
|
151
|
-
status:
|
|
151
|
+
status: 403 | 404 | 410;
|
|
152
152
|
};
|
|
153
153
|
/**
|
|
154
154
|
* Returns a specific extension matching either extension ID or extension name.
|
|
@@ -160,12 +160,12 @@ declare const getExtension: (id: string, options?: ApiCallOptions) => Promise<Ge
|
|
|
160
160
|
type GetExtensionHttpResponse = {
|
|
161
161
|
data: Extension;
|
|
162
162
|
headers: Headers;
|
|
163
|
-
status:
|
|
163
|
+
status: 200;
|
|
164
164
|
};
|
|
165
165
|
type GetExtensionHttpError = {
|
|
166
166
|
data: Error;
|
|
167
167
|
headers: Headers;
|
|
168
|
-
status:
|
|
168
|
+
status: 403 | 404 | 410;
|
|
169
169
|
};
|
|
170
170
|
/**
|
|
171
171
|
* Updates a specific extension matching either extension ID or extension name. Accepts either provided file or data object.
|
|
@@ -183,7 +183,7 @@ declare const patchExtension: (id: string, body: {
|
|
|
183
183
|
type PatchExtensionHttpResponse = {
|
|
184
184
|
data: Extension;
|
|
185
185
|
headers: Headers;
|
|
186
|
-
status:
|
|
186
|
+
status: 200;
|
|
187
187
|
};
|
|
188
188
|
type PatchExtensionHttpError = {
|
|
189
189
|
data: Error;
|
|
@@ -200,12 +200,12 @@ declare const downloadExtension: (id: string, options?: ApiCallOptions) => Promi
|
|
|
200
200
|
type DownloadExtensionHttpResponse = {
|
|
201
201
|
data: void;
|
|
202
202
|
headers: Headers;
|
|
203
|
-
status:
|
|
203
|
+
status: 200;
|
|
204
204
|
};
|
|
205
205
|
type DownloadExtensionHttpError = {
|
|
206
206
|
data: Error;
|
|
207
207
|
headers: Headers;
|
|
208
|
-
status:
|
|
208
|
+
status: 403 | 404 | 410;
|
|
209
209
|
};
|
|
210
210
|
/**
|
|
211
211
|
* Downloads a specific file from the extension matching either extension ID or extension name, identified by the file path within the imported extension.
|
|
@@ -218,12 +218,12 @@ declare const downloadFileFromExtension: (id: string, filepath: string, options?
|
|
|
218
218
|
type DownloadFileFromExtensionHttpResponse = {
|
|
219
219
|
data: void;
|
|
220
220
|
headers: Headers;
|
|
221
|
-
status:
|
|
221
|
+
status: 200;
|
|
222
222
|
};
|
|
223
223
|
type DownloadFileFromExtensionHttpError = {
|
|
224
224
|
data: Error;
|
|
225
225
|
headers: Headers;
|
|
226
|
-
status:
|
|
226
|
+
status: 403 | 404 | 410;
|
|
227
227
|
};
|
|
228
228
|
/**
|
|
229
229
|
* Clears the cache for extensions api requests.
|
package/extensions.js
CHANGED
package/glossaries.d.ts
CHANGED
|
@@ -193,6 +193,7 @@ type ErrorResponseCode = {
|
|
|
193
193
|
/**
|
|
194
194
|
* ### Custom error codes
|
|
195
195
|
* * BG-3 - Access denied, no read access
|
|
196
|
+
* * BG-30 - Feature not enabled on tenant.
|
|
196
197
|
*/
|
|
197
198
|
type ErrorResponseForbidden = {
|
|
198
199
|
errors?: ErrorResponseCode[];
|
|
@@ -446,14 +447,14 @@ declare const getGlossaries: (query: {
|
|
|
446
447
|
type GetGlossariesHttpResponse = {
|
|
447
448
|
data: GlossariesResult;
|
|
448
449
|
headers: Headers;
|
|
449
|
-
status:
|
|
450
|
+
status: 200;
|
|
450
451
|
prev?: (options?: ApiCallOptions) => Promise<GetGlossariesHttpResponse>;
|
|
451
452
|
next?: (options?: ApiCallOptions) => Promise<GetGlossariesHttpResponse>;
|
|
452
453
|
};
|
|
453
454
|
type GetGlossariesHttpError = {
|
|
454
455
|
data: ErrorResponse;
|
|
455
456
|
headers: Headers;
|
|
456
|
-
status:
|
|
457
|
+
status: 400 | 403;
|
|
457
458
|
};
|
|
458
459
|
/**
|
|
459
460
|
* Creates a new glossary. Only a steward can create a glossary.
|
|
@@ -465,12 +466,12 @@ declare const createGlossary: (body: CreateGlossary, options?: ApiCallOptions) =
|
|
|
465
466
|
type CreateGlossaryHttpResponse = {
|
|
466
467
|
data: Glossary;
|
|
467
468
|
headers: Headers;
|
|
468
|
-
status:
|
|
469
|
+
status: 201;
|
|
469
470
|
};
|
|
470
471
|
type CreateGlossaryHttpError = {
|
|
471
472
|
data: ErrorResponse;
|
|
472
473
|
headers: Headers;
|
|
473
|
-
status:
|
|
474
|
+
status: 400 | 403;
|
|
474
475
|
};
|
|
475
476
|
/**
|
|
476
477
|
* Creates a new glossary, including categories and terms, based on a glossary definition file.
|
|
@@ -491,8 +492,9 @@ declare const importGlossary: (query: {
|
|
|
491
492
|
type ImportGlossaryHttpResponse = {
|
|
492
493
|
data: Glossary;
|
|
493
494
|
headers: Headers;
|
|
494
|
-
status:
|
|
495
|
+
status: 201;
|
|
495
496
|
};
|
|
497
|
+
type ImportGlossaryHttpError = ImportGlossary400HttpError | ImportGlossary403HttpError | ImportGlossary404HttpError;
|
|
496
498
|
type ImportGlossary400HttpError = {
|
|
497
499
|
data: ErrorResponseBadRequest;
|
|
498
500
|
headers: Headers;
|
|
@@ -508,7 +510,6 @@ type ImportGlossary404HttpError = {
|
|
|
508
510
|
headers: Headers;
|
|
509
511
|
status: 404;
|
|
510
512
|
};
|
|
511
|
-
type ImportGlossaryHttpError = ImportGlossary400HttpError | ImportGlossary403HttpError | ImportGlossary404HttpError;
|
|
512
513
|
/**
|
|
513
514
|
* Deletes a glossary and all of its terms.
|
|
514
515
|
*
|
|
@@ -519,12 +520,12 @@ declare const deleteGlossary: (id: string, options?: ApiCallOptions) => Promise<
|
|
|
519
520
|
type DeleteGlossaryHttpResponse = {
|
|
520
521
|
data: void;
|
|
521
522
|
headers: Headers;
|
|
522
|
-
status:
|
|
523
|
+
status: 204;
|
|
523
524
|
};
|
|
524
525
|
type DeleteGlossaryHttpError = {
|
|
525
526
|
data: ErrorResponse;
|
|
526
527
|
headers: Headers;
|
|
527
|
-
status:
|
|
528
|
+
status: 400 | 403 | 404;
|
|
528
529
|
};
|
|
529
530
|
/**
|
|
530
531
|
* Retrieves a glossary.
|
|
@@ -536,12 +537,12 @@ declare const getGlossary: (id: string, options?: ApiCallOptions) => Promise<Get
|
|
|
536
537
|
type GetGlossaryHttpResponse = {
|
|
537
538
|
data: Glossary;
|
|
538
539
|
headers: Headers;
|
|
539
|
-
status:
|
|
540
|
+
status: 200;
|
|
540
541
|
};
|
|
541
542
|
type GetGlossaryHttpError = {
|
|
542
543
|
data: ErrorResponse;
|
|
543
544
|
headers: Headers;
|
|
544
|
-
status:
|
|
545
|
+
status: 400 | 403 | 404;
|
|
545
546
|
};
|
|
546
547
|
/**
|
|
547
548
|
* Updates glossary properties with json-patch formated data
|
|
@@ -554,12 +555,12 @@ declare const patchGlossary: (id: string, body: JSONPatchArray, options?: ApiCal
|
|
|
554
555
|
type PatchGlossaryHttpResponse = {
|
|
555
556
|
data: void;
|
|
556
557
|
headers: Headers;
|
|
557
|
-
status:
|
|
558
|
+
status: 204;
|
|
558
559
|
};
|
|
559
560
|
type PatchGlossaryHttpError = {
|
|
560
561
|
data: ErrorResponse;
|
|
561
562
|
headers: Headers;
|
|
562
|
-
status:
|
|
563
|
+
status: 400 | 401 | 403 | 404 | 429;
|
|
563
564
|
};
|
|
564
565
|
/**
|
|
565
566
|
* Updates a glossary.
|
|
@@ -572,12 +573,12 @@ declare const updateGlossary: (id: string, body: CreateGlossary, options?: ApiCa
|
|
|
572
573
|
type UpdateGlossaryHttpResponse = {
|
|
573
574
|
data: Glossary;
|
|
574
575
|
headers: Headers;
|
|
575
|
-
status:
|
|
576
|
+
status: 200;
|
|
576
577
|
};
|
|
577
578
|
type UpdateGlossaryHttpError = {
|
|
578
579
|
data: ErrorResponse;
|
|
579
580
|
headers: Headers;
|
|
580
|
-
status:
|
|
581
|
+
status: 400 | 403 | 404;
|
|
581
582
|
};
|
|
582
583
|
/**
|
|
583
584
|
* Exports a glossary.
|
|
@@ -589,12 +590,12 @@ declare const exportGlossary: (id: string, options?: ApiCallOptions) => Promise<
|
|
|
589
590
|
type ExportGlossaryHttpResponse = {
|
|
590
591
|
data: ExportGlossary;
|
|
591
592
|
headers: Headers;
|
|
592
|
-
status:
|
|
593
|
+
status: 200;
|
|
593
594
|
};
|
|
594
595
|
type ExportGlossaryHttpError = {
|
|
595
596
|
data: ErrorResponse;
|
|
596
597
|
headers: Headers;
|
|
597
|
-
status:
|
|
598
|
+
status: 400 | 403 | 404;
|
|
598
599
|
};
|
|
599
600
|
/**
|
|
600
601
|
* Returns a list of categories for a glossary.
|
|
@@ -618,14 +619,14 @@ declare const getGlossaryCategories: (id: string, query: {
|
|
|
618
619
|
type GetGlossaryCategoriesHttpResponse = {
|
|
619
620
|
data: CategoriesResult;
|
|
620
621
|
headers: Headers;
|
|
621
|
-
status:
|
|
622
|
+
status: 200;
|
|
622
623
|
prev?: (options?: ApiCallOptions) => Promise<GetGlossaryCategoriesHttpResponse>;
|
|
623
624
|
next?: (options?: ApiCallOptions) => Promise<GetGlossaryCategoriesHttpResponse>;
|
|
624
625
|
};
|
|
625
626
|
type GetGlossaryCategoriesHttpError = {
|
|
626
627
|
data: ErrorResponse;
|
|
627
628
|
headers: Headers;
|
|
628
|
-
status:
|
|
629
|
+
status: 400 | 403 | 404;
|
|
629
630
|
};
|
|
630
631
|
/**
|
|
631
632
|
* Creates a new category.
|
|
@@ -638,12 +639,12 @@ declare const createGlossaryCategory: (id: string, body: CreateCategory, options
|
|
|
638
639
|
type CreateGlossaryCategoryHttpResponse = {
|
|
639
640
|
data: Category;
|
|
640
641
|
headers: Headers;
|
|
641
|
-
status:
|
|
642
|
+
status: 201;
|
|
642
643
|
};
|
|
643
644
|
type CreateGlossaryCategoryHttpError = {
|
|
644
645
|
data: ErrorResponse;
|
|
645
646
|
headers: Headers;
|
|
646
|
-
status:
|
|
647
|
+
status: 400 | 403 | 404;
|
|
647
648
|
};
|
|
648
649
|
/**
|
|
649
650
|
* Deletes a category.
|
|
@@ -656,12 +657,12 @@ declare const deleteGlossaryCategory: (id: string, categoryId: string, options?:
|
|
|
656
657
|
type DeleteGlossaryCategoryHttpResponse = {
|
|
657
658
|
data: void;
|
|
658
659
|
headers: Headers;
|
|
659
|
-
status:
|
|
660
|
+
status: 204;
|
|
660
661
|
};
|
|
661
662
|
type DeleteGlossaryCategoryHttpError = {
|
|
662
663
|
data: ErrorResponse;
|
|
663
664
|
headers: Headers;
|
|
664
|
-
status:
|
|
665
|
+
status: 400 | 403 | 404;
|
|
665
666
|
};
|
|
666
667
|
/**
|
|
667
668
|
* Retrieves a category.
|
|
@@ -674,12 +675,12 @@ declare const getGlossaryCategory: (id: string, categoryId: string, options?: Ap
|
|
|
674
675
|
type GetGlossaryCategoryHttpResponse = {
|
|
675
676
|
data: Category;
|
|
676
677
|
headers: Headers;
|
|
677
|
-
status:
|
|
678
|
+
status: 200;
|
|
678
679
|
};
|
|
679
680
|
type GetGlossaryCategoryHttpError = {
|
|
680
681
|
data: ErrorResponse;
|
|
681
682
|
headers: Headers;
|
|
682
|
-
status:
|
|
683
|
+
status: 400 | 403 | 404;
|
|
683
684
|
};
|
|
684
685
|
/**
|
|
685
686
|
* Updates category properties with json-patch formated data
|
|
@@ -693,12 +694,12 @@ declare const patchGlossaryCategory: (id: string, categoryId: string, body: JSON
|
|
|
693
694
|
type PatchGlossaryCategoryHttpResponse = {
|
|
694
695
|
data: void;
|
|
695
696
|
headers: Headers;
|
|
696
|
-
status:
|
|
697
|
+
status: 204;
|
|
697
698
|
};
|
|
698
699
|
type PatchGlossaryCategoryHttpError = {
|
|
699
700
|
data: ErrorResponse;
|
|
700
701
|
headers: Headers;
|
|
701
|
-
status:
|
|
702
|
+
status: 400 | 401 | 403 | 404 | 429;
|
|
702
703
|
};
|
|
703
704
|
/**
|
|
704
705
|
* Updates a category.
|
|
@@ -712,12 +713,12 @@ declare const updateGlossaryCategory: (id: string, categoryId: string, body: Cre
|
|
|
712
713
|
type UpdateGlossaryCategoryHttpResponse = {
|
|
713
714
|
data: Category;
|
|
714
715
|
headers: Headers;
|
|
715
|
-
status:
|
|
716
|
+
status: 200;
|
|
716
717
|
};
|
|
717
718
|
type UpdateGlossaryCategoryHttpError = {
|
|
718
719
|
data: ErrorResponse;
|
|
719
720
|
headers: Headers;
|
|
720
|
-
status:
|
|
721
|
+
status: 400 | 403 | 404;
|
|
721
722
|
};
|
|
722
723
|
/**
|
|
723
724
|
* Returns a list of terms for a glossary.
|
|
@@ -754,14 +755,14 @@ declare const getGlossaryTerms: (id: string, query: {
|
|
|
754
755
|
type GetGlossaryTermsHttpResponse = {
|
|
755
756
|
data: TermsResult;
|
|
756
757
|
headers: Headers;
|
|
757
|
-
status:
|
|
758
|
+
status: 200;
|
|
758
759
|
prev?: (options?: ApiCallOptions) => Promise<GetGlossaryTermsHttpResponse>;
|
|
759
760
|
next?: (options?: ApiCallOptions) => Promise<GetGlossaryTermsHttpResponse>;
|
|
760
761
|
};
|
|
761
762
|
type GetGlossaryTermsHttpError = {
|
|
762
763
|
data: ErrorResponse;
|
|
763
764
|
headers: Headers;
|
|
764
|
-
status:
|
|
765
|
+
status: 400 | 403 | 404;
|
|
765
766
|
};
|
|
766
767
|
/**
|
|
767
768
|
* Creates a new term.
|
|
@@ -774,12 +775,12 @@ declare const createGlossaryTerm: (id: string, body: CreateTerm, options?: ApiCa
|
|
|
774
775
|
type CreateGlossaryTermHttpResponse = {
|
|
775
776
|
data: Term;
|
|
776
777
|
headers: Headers;
|
|
777
|
-
status:
|
|
778
|
+
status: 201;
|
|
778
779
|
};
|
|
779
780
|
type CreateGlossaryTermHttpError = {
|
|
780
781
|
data: ErrorResponse;
|
|
781
782
|
headers: Headers;
|
|
782
|
-
status:
|
|
783
|
+
status: 400 | 403 | 404;
|
|
783
784
|
};
|
|
784
785
|
/**
|
|
785
786
|
* Deletes a term.
|
|
@@ -792,12 +793,12 @@ declare const deleteGlossaryTerm: (id: string, termId: string, options?: ApiCall
|
|
|
792
793
|
type DeleteGlossaryTermHttpResponse = {
|
|
793
794
|
data: void;
|
|
794
795
|
headers: Headers;
|
|
795
|
-
status:
|
|
796
|
+
status: 204;
|
|
796
797
|
};
|
|
797
798
|
type DeleteGlossaryTermHttpError = {
|
|
798
799
|
data: ErrorResponse;
|
|
799
800
|
headers: Headers;
|
|
800
|
-
status:
|
|
801
|
+
status: 400 | 403 | 404;
|
|
801
802
|
};
|
|
802
803
|
/**
|
|
803
804
|
* Retrieves a term.
|
|
@@ -810,12 +811,12 @@ declare const getGlossaryTerm: (id: string, termId: string, options?: ApiCallOpt
|
|
|
810
811
|
type GetGlossaryTermHttpResponse = {
|
|
811
812
|
data: Term;
|
|
812
813
|
headers: Headers;
|
|
813
|
-
status:
|
|
814
|
+
status: 200;
|
|
814
815
|
};
|
|
815
816
|
type GetGlossaryTermHttpError = {
|
|
816
817
|
data: ErrorResponse;
|
|
817
818
|
headers: Headers;
|
|
818
|
-
status:
|
|
819
|
+
status: 400 | 403 | 404;
|
|
819
820
|
};
|
|
820
821
|
/**
|
|
821
822
|
* Updates term properties with json-patch formated data
|
|
@@ -829,12 +830,12 @@ declare const patchGlossaryTerm: (id: string, termId: string, body: JSONPatchArr
|
|
|
829
830
|
type PatchGlossaryTermHttpResponse = {
|
|
830
831
|
data: void;
|
|
831
832
|
headers: Headers;
|
|
832
|
-
status:
|
|
833
|
+
status: 204;
|
|
833
834
|
};
|
|
834
835
|
type PatchGlossaryTermHttpError = {
|
|
835
836
|
data: ErrorResponse;
|
|
836
837
|
headers: Headers;
|
|
837
|
-
status:
|
|
838
|
+
status: 400 | 401 | 403 | 404 | 412 | 429;
|
|
838
839
|
};
|
|
839
840
|
/**
|
|
840
841
|
* Updates a term.
|
|
@@ -848,12 +849,12 @@ declare const updateGlossaryTerm: (id: string, termId: string, body: CreateTerm,
|
|
|
848
849
|
type UpdateGlossaryTermHttpResponse = {
|
|
849
850
|
data: Term;
|
|
850
851
|
headers: Headers;
|
|
851
|
-
status:
|
|
852
|
+
status: 200;
|
|
852
853
|
};
|
|
853
854
|
type UpdateGlossaryTermHttpError = {
|
|
854
855
|
data: ErrorResponse;
|
|
855
856
|
headers: Headers;
|
|
856
|
-
status:
|
|
857
|
+
status: 400 | 403 | 404 | 412;
|
|
857
858
|
};
|
|
858
859
|
/**
|
|
859
860
|
* Changes the status of the term. Only a steward can verify a term. Once the term is verified only a steward can modify the term.
|
|
@@ -870,12 +871,12 @@ declare const changeGlossaryTermStatus: (id: string, termId: string, query: {
|
|
|
870
871
|
type ChangeGlossaryTermStatusHttpResponse = {
|
|
871
872
|
data: Term;
|
|
872
873
|
headers: Headers;
|
|
873
|
-
status:
|
|
874
|
+
status: 200;
|
|
874
875
|
};
|
|
875
876
|
type ChangeGlossaryTermStatusHttpError = {
|
|
876
877
|
data: ErrorResponse;
|
|
877
878
|
headers: Headers;
|
|
878
|
-
status:
|
|
879
|
+
status: 400 | 403 | 404 | 412;
|
|
879
880
|
};
|
|
880
881
|
/**
|
|
881
882
|
* Returns a list of links assigned to a term.
|
|
@@ -902,14 +903,14 @@ declare const getGlossaryTermLinks: (id: string, termId: string, query: {
|
|
|
902
903
|
type GetGlossaryTermLinksHttpResponse = {
|
|
903
904
|
data: LinksResult;
|
|
904
905
|
headers: Headers;
|
|
905
|
-
status:
|
|
906
|
+
status: 200;
|
|
906
907
|
prev?: (options?: ApiCallOptions) => Promise<GetGlossaryTermLinksHttpResponse>;
|
|
907
908
|
next?: (options?: ApiCallOptions) => Promise<GetGlossaryTermLinksHttpResponse>;
|
|
908
909
|
};
|
|
909
910
|
type GetGlossaryTermLinksHttpError = {
|
|
910
911
|
data: ErrorResponse;
|
|
911
912
|
headers: Headers;
|
|
912
|
-
status:
|
|
913
|
+
status: 400 | 403 | 404;
|
|
913
914
|
};
|
|
914
915
|
/**
|
|
915
916
|
* Creates a new link to a term.
|
|
@@ -923,12 +924,12 @@ declare const createGlossaryTermLink: (id: string, termId: string, body: TermCre
|
|
|
923
924
|
type CreateGlossaryTermLinkHttpResponse = {
|
|
924
925
|
data: TermLinksTo;
|
|
925
926
|
headers: Headers;
|
|
926
|
-
status:
|
|
927
|
+
status: 201;
|
|
927
928
|
};
|
|
928
929
|
type CreateGlossaryTermLinkHttpError = {
|
|
929
930
|
data: ErrorResponse;
|
|
930
931
|
headers: Headers;
|
|
931
|
-
status:
|
|
932
|
+
status: 400 | 403 | 404 | 412;
|
|
932
933
|
};
|
|
933
934
|
/**
|
|
934
935
|
* Retrieves previous revisions of a term.
|
|
@@ -953,14 +954,14 @@ declare const getGlossaryTermRevisions: (id: string, termId: string, query: {
|
|
|
953
954
|
type GetGlossaryTermRevisionsHttpResponse = {
|
|
954
955
|
data: TermsResult;
|
|
955
956
|
headers: Headers;
|
|
956
|
-
status:
|
|
957
|
+
status: 200;
|
|
957
958
|
prev?: (options?: ApiCallOptions) => Promise<GetGlossaryTermRevisionsHttpResponse>;
|
|
958
959
|
next?: (options?: ApiCallOptions) => Promise<GetGlossaryTermRevisionsHttpResponse>;
|
|
959
960
|
};
|
|
960
961
|
type GetGlossaryTermRevisionsHttpError = {
|
|
961
962
|
data: ErrorResponse;
|
|
962
963
|
headers: Headers;
|
|
963
|
-
status:
|
|
964
|
+
status: 400 | 403 | 404;
|
|
964
965
|
};
|
|
965
966
|
/**
|
|
966
967
|
* Clears the cache for glossaries api requests.
|
package/glossaries.js
CHANGED