@ndla/types-backend 1.0.115 → 1.0.116
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/build/myndla-api.d.ts +178 -0
- package/package.json +1 -1
package/build/myndla-api.d.ts
CHANGED
|
@@ -483,6 +483,46 @@ export type paths = {
|
|
|
483
483
|
patch?: never;
|
|
484
484
|
trace?: never;
|
|
485
485
|
};
|
|
486
|
+
"/myndla-api/v1/folders/resources/move/batch": {
|
|
487
|
+
parameters: {
|
|
488
|
+
query?: never;
|
|
489
|
+
header?: never;
|
|
490
|
+
path?: never;
|
|
491
|
+
cookie?: never;
|
|
492
|
+
};
|
|
493
|
+
get?: never;
|
|
494
|
+
/**
|
|
495
|
+
* Move several resources from one folder to another
|
|
496
|
+
* @description Move several resources from one folder to another
|
|
497
|
+
*/
|
|
498
|
+
put: operations["putMyndla-apiV1FoldersResourcesMoveBatch"];
|
|
499
|
+
post?: never;
|
|
500
|
+
delete?: never;
|
|
501
|
+
options?: never;
|
|
502
|
+
head?: never;
|
|
503
|
+
patch?: never;
|
|
504
|
+
trace?: never;
|
|
505
|
+
};
|
|
506
|
+
"/myndla-api/v1/folders/resources/copy/batch": {
|
|
507
|
+
parameters: {
|
|
508
|
+
query?: never;
|
|
509
|
+
header?: never;
|
|
510
|
+
path?: never;
|
|
511
|
+
cookie?: never;
|
|
512
|
+
};
|
|
513
|
+
get?: never;
|
|
514
|
+
/**
|
|
515
|
+
* Copy several resources from one folder to another
|
|
516
|
+
* @description Copy several resources from one folder to another
|
|
517
|
+
*/
|
|
518
|
+
put: operations["putMyndla-apiV1FoldersResourcesCopyBatch"];
|
|
519
|
+
post?: never;
|
|
520
|
+
delete?: never;
|
|
521
|
+
options?: never;
|
|
522
|
+
head?: never;
|
|
523
|
+
patch?: never;
|
|
524
|
+
trace?: never;
|
|
525
|
+
};
|
|
486
526
|
"/myndla-api/v1/robots": {
|
|
487
527
|
parameters: {
|
|
488
528
|
query?: never;
|
|
@@ -888,6 +928,21 @@ export type components = {
|
|
|
888
928
|
*/
|
|
889
929
|
resourceId: string;
|
|
890
930
|
};
|
|
931
|
+
/** MoveResourcesDTO */
|
|
932
|
+
MoveResourcesDTO: {
|
|
933
|
+
/**
|
|
934
|
+
* Format: uuid
|
|
935
|
+
* @description Folder to move from. Empty value indicates root-resource.
|
|
936
|
+
*/
|
|
937
|
+
fromFolderId: string | null;
|
|
938
|
+
/**
|
|
939
|
+
* Format: uuid
|
|
940
|
+
* @description Folder to move to. Empty value moves resource to root.
|
|
941
|
+
*/
|
|
942
|
+
toFolderId: string | null;
|
|
943
|
+
/** @description The resources to move */
|
|
944
|
+
resourceIds: string[];
|
|
945
|
+
};
|
|
891
946
|
/** MyNDLAGroupDTO */
|
|
892
947
|
MyNDLAGroupDTO: {
|
|
893
948
|
/** @description ID of the group */
|
|
@@ -1265,6 +1320,7 @@ export type ListOfRobotDefinitionsDTO = components['schemas']['ListOfRobotDefini
|
|
|
1265
1320
|
export type Map_Long = components['schemas']['Map_Long'];
|
|
1266
1321
|
export type Map_Map_String_Long = components['schemas']['Map_Map_String_Long'];
|
|
1267
1322
|
export type MoveResourceDTO = components['schemas']['MoveResourceDTO'];
|
|
1323
|
+
export type MoveResourcesDTO = components['schemas']['MoveResourcesDTO'];
|
|
1268
1324
|
export type MyNDLAGroupDTO = components['schemas']['MyNDLAGroupDTO'];
|
|
1269
1325
|
export type MyNDLAUserDTO = components['schemas']['MyNDLAUserDTO'];
|
|
1270
1326
|
export type NewFolderDTO = components['schemas']['NewFolderDTO'];
|
|
@@ -3226,6 +3282,128 @@ export interface operations {
|
|
|
3226
3282
|
};
|
|
3227
3283
|
};
|
|
3228
3284
|
};
|
|
3285
|
+
"putMyndla-apiV1FoldersResourcesMoveBatch": {
|
|
3286
|
+
parameters: {
|
|
3287
|
+
query?: never;
|
|
3288
|
+
header?: never;
|
|
3289
|
+
path?: never;
|
|
3290
|
+
cookie?: never;
|
|
3291
|
+
};
|
|
3292
|
+
requestBody: {
|
|
3293
|
+
content: {
|
|
3294
|
+
"application/json": components["schemas"]["MoveResourcesDTO"];
|
|
3295
|
+
};
|
|
3296
|
+
};
|
|
3297
|
+
responses: {
|
|
3298
|
+
204: {
|
|
3299
|
+
headers: {
|
|
3300
|
+
[name: string]: unknown;
|
|
3301
|
+
};
|
|
3302
|
+
content?: never;
|
|
3303
|
+
};
|
|
3304
|
+
400: {
|
|
3305
|
+
headers: {
|
|
3306
|
+
[name: string]: unknown;
|
|
3307
|
+
};
|
|
3308
|
+
content: {
|
|
3309
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
3310
|
+
};
|
|
3311
|
+
};
|
|
3312
|
+
401: {
|
|
3313
|
+
headers: {
|
|
3314
|
+
[name: string]: unknown;
|
|
3315
|
+
};
|
|
3316
|
+
content: {
|
|
3317
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
3318
|
+
};
|
|
3319
|
+
};
|
|
3320
|
+
403: {
|
|
3321
|
+
headers: {
|
|
3322
|
+
[name: string]: unknown;
|
|
3323
|
+
};
|
|
3324
|
+
content: {
|
|
3325
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
3326
|
+
};
|
|
3327
|
+
};
|
|
3328
|
+
404: {
|
|
3329
|
+
headers: {
|
|
3330
|
+
[name: string]: unknown;
|
|
3331
|
+
};
|
|
3332
|
+
content: {
|
|
3333
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
3334
|
+
};
|
|
3335
|
+
};
|
|
3336
|
+
default: {
|
|
3337
|
+
headers: {
|
|
3338
|
+
[name: string]: unknown;
|
|
3339
|
+
};
|
|
3340
|
+
content: {
|
|
3341
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
3342
|
+
};
|
|
3343
|
+
};
|
|
3344
|
+
};
|
|
3345
|
+
};
|
|
3346
|
+
"putMyndla-apiV1FoldersResourcesCopyBatch": {
|
|
3347
|
+
parameters: {
|
|
3348
|
+
query?: never;
|
|
3349
|
+
header?: never;
|
|
3350
|
+
path?: never;
|
|
3351
|
+
cookie?: never;
|
|
3352
|
+
};
|
|
3353
|
+
requestBody: {
|
|
3354
|
+
content: {
|
|
3355
|
+
"application/json": components["schemas"]["MoveResourcesDTO"];
|
|
3356
|
+
};
|
|
3357
|
+
};
|
|
3358
|
+
responses: {
|
|
3359
|
+
204: {
|
|
3360
|
+
headers: {
|
|
3361
|
+
[name: string]: unknown;
|
|
3362
|
+
};
|
|
3363
|
+
content?: never;
|
|
3364
|
+
};
|
|
3365
|
+
400: {
|
|
3366
|
+
headers: {
|
|
3367
|
+
[name: string]: unknown;
|
|
3368
|
+
};
|
|
3369
|
+
content: {
|
|
3370
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
3371
|
+
};
|
|
3372
|
+
};
|
|
3373
|
+
401: {
|
|
3374
|
+
headers: {
|
|
3375
|
+
[name: string]: unknown;
|
|
3376
|
+
};
|
|
3377
|
+
content: {
|
|
3378
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
3379
|
+
};
|
|
3380
|
+
};
|
|
3381
|
+
403: {
|
|
3382
|
+
headers: {
|
|
3383
|
+
[name: string]: unknown;
|
|
3384
|
+
};
|
|
3385
|
+
content: {
|
|
3386
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
3387
|
+
};
|
|
3388
|
+
};
|
|
3389
|
+
404: {
|
|
3390
|
+
headers: {
|
|
3391
|
+
[name: string]: unknown;
|
|
3392
|
+
};
|
|
3393
|
+
content: {
|
|
3394
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
3395
|
+
};
|
|
3396
|
+
};
|
|
3397
|
+
default: {
|
|
3398
|
+
headers: {
|
|
3399
|
+
[name: string]: unknown;
|
|
3400
|
+
};
|
|
3401
|
+
content: {
|
|
3402
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
3403
|
+
};
|
|
3404
|
+
};
|
|
3405
|
+
};
|
|
3406
|
+
};
|
|
3229
3407
|
"getMyndla-apiV1Robots": {
|
|
3230
3408
|
parameters: {
|
|
3231
3409
|
query?: never;
|