@instructure/athena-api-client 4.0.2 → 4.1.1
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/apis/AdminApi.d.ts +12 -12
- package/dist/apis/AdminApi.js +12 -12
- package/dist/apis/ConceptDiagramsApi.d.ts +2 -2
- package/dist/apis/ConceptDiagramsApi.js +2 -2
- package/dist/apis/ConceptImagesApi.d.ts +2 -2
- package/dist/apis/ConceptImagesApi.js +2 -2
- package/dist/esm/apis/AdminApi.d.ts +12 -12
- package/dist/esm/apis/AdminApi.js +12 -12
- package/dist/esm/apis/ConceptDiagramsApi.d.ts +2 -2
- package/dist/esm/apis/ConceptDiagramsApi.js +2 -2
- package/dist/esm/apis/ConceptImagesApi.d.ts +2 -2
- package/dist/esm/apis/ConceptImagesApi.js +2 -2
- package/dist/esm/models/AdminConceptDiagram.d.ts +7 -1
- package/dist/esm/models/AdminConceptDiagram.js +4 -0
- package/dist/esm/models/AdminConceptDiagramDetail.d.ts +7 -1
- package/dist/esm/models/AdminConceptDiagramDetail.js +4 -0
- package/dist/esm/models/AdminConceptImage.d.ts +7 -1
- package/dist/esm/models/AdminConceptImage.js +4 -0
- package/dist/esm/models/AdminConceptImageDetail.d.ts +7 -1
- package/dist/esm/models/AdminConceptImageDetail.js +4 -0
- package/dist/esm/models/AdminShownConceptDiagram.d.ts +7 -1
- package/dist/esm/models/AdminShownConceptDiagram.js +4 -0
- package/dist/esm/models/AdminShownConceptImage.d.ts +7 -1
- package/dist/esm/models/AdminShownConceptImage.js +4 -0
- package/dist/esm/models/ConceptMediaFlagResult.d.ts +1 -1
- package/dist/models/AdminConceptDiagram.d.ts +7 -1
- package/dist/models/AdminConceptDiagram.js +4 -0
- package/dist/models/AdminConceptDiagramDetail.d.ts +7 -1
- package/dist/models/AdminConceptDiagramDetail.js +4 -0
- package/dist/models/AdminConceptImage.d.ts +7 -1
- package/dist/models/AdminConceptImage.js +4 -0
- package/dist/models/AdminConceptImageDetail.d.ts +7 -1
- package/dist/models/AdminConceptImageDetail.js +4 -0
- package/dist/models/AdminShownConceptDiagram.d.ts +7 -1
- package/dist/models/AdminShownConceptDiagram.js +4 -0
- package/dist/models/AdminShownConceptImage.d.ts +7 -1
- package/dist/models/AdminShownConceptImage.js +4 -0
- package/dist/models/ConceptMediaFlagResult.d.ts +1 -1
- package/package.json +1 -1
package/dist/apis/AdminApi.d.ts
CHANGED
|
@@ -381,22 +381,22 @@ export declare class AdminApi extends runtime.BaseAPI {
|
|
|
381
381
|
*/
|
|
382
382
|
adminGetUsersActivityTotals(requestParameters: AdminGetUsersActivityTotalsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<AdminUserActivityTotals>>;
|
|
383
383
|
/**
|
|
384
|
-
* Keeps the diagram out of every learner read and clears any approval (approvedAt), so a later show re-approves it. Idempotent: a diagram an admin already hid keeps its original hide time and actor. A diagram hidden by a learner flag becomes an admin hide (hiddenByFlag false, with this call\'s time and actor). Applies to later reads only: a diagram already rendered in an open chat stays until the chat is reloaded.
|
|
384
|
+
* Keeps the diagram out of every learner read and clears any approval (approvedAt), so a later show re-approves it, and clears flaggedAfterApprovalAt. Idempotent: a diagram an admin already hid keeps its original hide time and actor. A diagram hidden by a learner flag becomes an admin hide (hiddenByFlag false, with this call\'s time and actor). Applies to later reads only: a diagram already rendered in an open chat stays until the chat is reloaded.
|
|
385
385
|
* Hide a concept diagram from learners
|
|
386
386
|
*/
|
|
387
387
|
adminHideConceptDiagramRaw(requestParameters: AdminHideConceptDiagramRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AdminConceptDiagramDetail>>;
|
|
388
388
|
/**
|
|
389
|
-
* Keeps the diagram out of every learner read and clears any approval (approvedAt), so a later show re-approves it. Idempotent: a diagram an admin already hid keeps its original hide time and actor. A diagram hidden by a learner flag becomes an admin hide (hiddenByFlag false, with this call\'s time and actor). Applies to later reads only: a diagram already rendered in an open chat stays until the chat is reloaded.
|
|
389
|
+
* Keeps the diagram out of every learner read and clears any approval (approvedAt), so a later show re-approves it, and clears flaggedAfterApprovalAt. Idempotent: a diagram an admin already hid keeps its original hide time and actor. A diagram hidden by a learner flag becomes an admin hide (hiddenByFlag false, with this call\'s time and actor). Applies to later reads only: a diagram already rendered in an open chat stays until the chat is reloaded.
|
|
390
390
|
* Hide a concept diagram from learners
|
|
391
391
|
*/
|
|
392
392
|
adminHideConceptDiagram(requestParameters: AdminHideConceptDiagramRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdminConceptDiagramDetail>;
|
|
393
393
|
/**
|
|
394
|
-
* Keeps the image out of every learner read and clears any approval (approvedAt), so a later show re-approves it. Idempotent: an image an admin already hid keeps its original hide time and actor. An image hidden by a learner flag becomes an admin hide (hiddenByFlag false, with this call\'s time and actor). Applies to later reads only: a signed URL already handed out stays valid until it expires (12 hours).
|
|
394
|
+
* Keeps the image out of every learner read and clears any approval (approvedAt), so a later show re-approves it, and clears flaggedAfterApprovalAt. Idempotent: an image an admin already hid keeps its original hide time and actor. An image hidden by a learner flag becomes an admin hide (hiddenByFlag false, with this call\'s time and actor). Applies to later reads only: a signed URL already handed out stays valid until it expires (12 hours).
|
|
395
395
|
* Hide a concept image from learners
|
|
396
396
|
*/
|
|
397
397
|
adminHideConceptImageRaw(requestParameters: AdminHideConceptImageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AdminConceptImageDetail>>;
|
|
398
398
|
/**
|
|
399
|
-
* Keeps the image out of every learner read and clears any approval (approvedAt), so a later show re-approves it. Idempotent: an image an admin already hid keeps its original hide time and actor. An image hidden by a learner flag becomes an admin hide (hiddenByFlag false, with this call\'s time and actor). Applies to later reads only: a signed URL already handed out stays valid until it expires (12 hours).
|
|
399
|
+
* Keeps the image out of every learner read and clears any approval (approvedAt), so a later show re-approves it, and clears flaggedAfterApprovalAt. Idempotent: an image an admin already hid keeps its original hide time and actor. An image hidden by a learner flag becomes an admin hide (hiddenByFlag false, with this call\'s time and actor). Applies to later reads only: a signed URL already handed out stays valid until it expires (12 hours).
|
|
400
400
|
* Hide a concept image from learners
|
|
401
401
|
*/
|
|
402
402
|
adminHideConceptImage(requestParameters: AdminHideConceptImageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdminConceptImageDetail>;
|
|
@@ -533,22 +533,22 @@ export declare class AdminApi extends runtime.BaseAPI {
|
|
|
533
533
|
*/
|
|
534
534
|
adminResetUserLearningData(requestParameters: AdminResetUserLearningDataRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdminResetLearningDataResponse>;
|
|
535
535
|
/**
|
|
536
|
-
* Clears the deletion and any approval and leaves the diagram hidden for review (a diagram already hidden keeps its hide); show it to serve it to learners again. A diagram that is not deleted is unchanged.
|
|
536
|
+
* Clears the deletion and any approval (flaggedAfterApprovalAt included) and leaves the diagram hidden for review (a diagram already hidden keeps its hide); show it to serve it to learners again. A diagram that is not deleted is unchanged.
|
|
537
537
|
* Restore a soft-deleted concept diagram
|
|
538
538
|
*/
|
|
539
539
|
adminRestoreConceptDiagramRaw(requestParameters: AdminRestoreConceptDiagramRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AdminConceptDiagramDetail>>;
|
|
540
540
|
/**
|
|
541
|
-
* Clears the deletion and any approval and leaves the diagram hidden for review (a diagram already hidden keeps its hide); show it to serve it to learners again. A diagram that is not deleted is unchanged.
|
|
541
|
+
* Clears the deletion and any approval (flaggedAfterApprovalAt included) and leaves the diagram hidden for review (a diagram already hidden keeps its hide); show it to serve it to learners again. A diagram that is not deleted is unchanged.
|
|
542
542
|
* Restore a soft-deleted concept diagram
|
|
543
543
|
*/
|
|
544
544
|
adminRestoreConceptDiagram(requestParameters: AdminRestoreConceptDiagramRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdminConceptDiagramDetail>;
|
|
545
545
|
/**
|
|
546
|
-
* Clears the deletion and any approval and leaves the image hidden for review (an image already hidden keeps its hide); show it to serve it to learners again. An image that is not deleted is unchanged.
|
|
546
|
+
* Clears the deletion and any approval (flaggedAfterApprovalAt included) and leaves the image hidden for review (an image already hidden keeps its hide); show it to serve it to learners again. An image that is not deleted is unchanged.
|
|
547
547
|
* Restore a soft-deleted concept image
|
|
548
548
|
*/
|
|
549
549
|
adminRestoreConceptImageRaw(requestParameters: AdminRestoreConceptImageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AdminConceptImageDetail>>;
|
|
550
550
|
/**
|
|
551
|
-
* Clears the deletion and any approval and leaves the image hidden for review (an image already hidden keeps its hide); show it to serve it to learners again. An image that is not deleted is unchanged.
|
|
551
|
+
* Clears the deletion and any approval (flaggedAfterApprovalAt included) and leaves the image hidden for review (an image already hidden keeps its hide); show it to serve it to learners again. An image that is not deleted is unchanged.
|
|
552
552
|
* Restore a soft-deleted concept image
|
|
553
553
|
*/
|
|
554
554
|
adminRestoreConceptImage(requestParameters: AdminRestoreConceptImageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdminConceptImageDetail>;
|
|
@@ -563,22 +563,22 @@ export declare class AdminApi extends runtime.BaseAPI {
|
|
|
563
563
|
*/
|
|
564
564
|
adminSearchConcepts(requestParameters: AdminSearchConceptsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<AdminConceptSearchResult>>;
|
|
565
565
|
/**
|
|
566
|
-
* Clears the hide so learners can be served the diagram again, and records the caller\'s approval (approvedAt, approvedBy): a learner flag never hides an approved diagram. Showing a visible diagram approves it too. A deleted diagram must be restored first (409, and nothing changes). The body is optional; without it, or with hideOtherVersions false, only this diagram changes. With hideOtherVersions true, every other visible version in its revision family (the rows history lists) is hidden in the same transaction, with the caller recorded as hider and their approval cleared; hidden and deleted versions are left as they are. hiddenVersionIds lists what was hidden, and hiddenVersionsTruncated says when the family exceeded the history cap so only the capped set was checked. Learner reads are unaffected beyond the rows hidden, and only for later reads.
|
|
566
|
+
* Clears the hide so learners can be served the diagram again, and records the caller\'s approval (approvedAt, approvedBy): a learner flag never hides an approved diagram, only queues it for re-review (flaggedAfterApprovalAt). Showing a visible diagram approves it too, and either way clears flaggedAfterApprovalAt. A deleted diagram must be restored first (409, and nothing changes). The body is optional; without it, or with hideOtherVersions false, only this diagram changes. With hideOtherVersions true, every other visible version in its revision family (the rows history lists) is hidden in the same transaction, with the caller recorded as hider and their approval cleared; hidden and deleted versions are left as they are. hiddenVersionIds lists what was hidden, and hiddenVersionsTruncated says when the family exceeded the history cap so only the capped set was checked. Learner reads are unaffected beyond the rows hidden, and only for later reads.
|
|
567
567
|
* Show a hidden concept diagram to learners
|
|
568
568
|
*/
|
|
569
569
|
adminShowConceptDiagramRaw(requestParameters: AdminShowConceptDiagramRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AdminShownConceptDiagram>>;
|
|
570
570
|
/**
|
|
571
|
-
* Clears the hide so learners can be served the diagram again, and records the caller\'s approval (approvedAt, approvedBy): a learner flag never hides an approved diagram. Showing a visible diagram approves it too. A deleted diagram must be restored first (409, and nothing changes). The body is optional; without it, or with hideOtherVersions false, only this diagram changes. With hideOtherVersions true, every other visible version in its revision family (the rows history lists) is hidden in the same transaction, with the caller recorded as hider and their approval cleared; hidden and deleted versions are left as they are. hiddenVersionIds lists what was hidden, and hiddenVersionsTruncated says when the family exceeded the history cap so only the capped set was checked. Learner reads are unaffected beyond the rows hidden, and only for later reads.
|
|
571
|
+
* Clears the hide so learners can be served the diagram again, and records the caller\'s approval (approvedAt, approvedBy): a learner flag never hides an approved diagram, only queues it for re-review (flaggedAfterApprovalAt). Showing a visible diagram approves it too, and either way clears flaggedAfterApprovalAt. A deleted diagram must be restored first (409, and nothing changes). The body is optional; without it, or with hideOtherVersions false, only this diagram changes. With hideOtherVersions true, every other visible version in its revision family (the rows history lists) is hidden in the same transaction, with the caller recorded as hider and their approval cleared; hidden and deleted versions are left as they are. hiddenVersionIds lists what was hidden, and hiddenVersionsTruncated says when the family exceeded the history cap so only the capped set was checked. Learner reads are unaffected beyond the rows hidden, and only for later reads.
|
|
572
572
|
* Show a hidden concept diagram to learners
|
|
573
573
|
*/
|
|
574
574
|
adminShowConceptDiagram(requestParameters: AdminShowConceptDiagramRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdminShownConceptDiagram>;
|
|
575
575
|
/**
|
|
576
|
-
* Clears the hide so learners can be served the image again, and records the caller\'s approval (approvedAt, approvedBy): a learner flag never hides an approved image. Showing a visible image approves it too. A deleted image must be restored first (409, and nothing changes). The body is optional; without it, or with hideOtherVersions false, only this image changes. With hideOtherVersions true, every other visible version in its revision family (the rows history lists) is hidden in the same transaction, with the caller recorded as hider and their approval cleared; hidden and deleted versions are left as they are. hiddenVersionIds lists what was hidden, and hiddenVersionsTruncated says when the family exceeded the history cap so only the capped set was checked. Learner reads are unaffected beyond the rows hidden, and only for later reads (a signed URL already handed out stays valid until it expires, 12 hours).
|
|
576
|
+
* Clears the hide so learners can be served the image again, and records the caller\'s approval (approvedAt, approvedBy): a learner flag never hides an approved image, only queues it for re-review (flaggedAfterApprovalAt). Showing a visible image approves it too, and either way clears flaggedAfterApprovalAt. A deleted image must be restored first (409, and nothing changes). The body is optional; without it, or with hideOtherVersions false, only this image changes. With hideOtherVersions true, every other visible version in its revision family (the rows history lists) is hidden in the same transaction, with the caller recorded as hider and their approval cleared; hidden and deleted versions are left as they are. hiddenVersionIds lists what was hidden, and hiddenVersionsTruncated says when the family exceeded the history cap so only the capped set was checked. Learner reads are unaffected beyond the rows hidden, and only for later reads (a signed URL already handed out stays valid until it expires, 12 hours).
|
|
577
577
|
* Show a hidden concept image to learners
|
|
578
578
|
*/
|
|
579
579
|
adminShowConceptImageRaw(requestParameters: AdminShowConceptImageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AdminShownConceptImage>>;
|
|
580
580
|
/**
|
|
581
|
-
* Clears the hide so learners can be served the image again, and records the caller\'s approval (approvedAt, approvedBy): a learner flag never hides an approved image. Showing a visible image approves it too. A deleted image must be restored first (409, and nothing changes). The body is optional; without it, or with hideOtherVersions false, only this image changes. With hideOtherVersions true, every other visible version in its revision family (the rows history lists) is hidden in the same transaction, with the caller recorded as hider and their approval cleared; hidden and deleted versions are left as they are. hiddenVersionIds lists what was hidden, and hiddenVersionsTruncated says when the family exceeded the history cap so only the capped set was checked. Learner reads are unaffected beyond the rows hidden, and only for later reads (a signed URL already handed out stays valid until it expires, 12 hours).
|
|
581
|
+
* Clears the hide so learners can be served the image again, and records the caller\'s approval (approvedAt, approvedBy): a learner flag never hides an approved image, only queues it for re-review (flaggedAfterApprovalAt). Showing a visible image approves it too, and either way clears flaggedAfterApprovalAt. A deleted image must be restored first (409, and nothing changes). The body is optional; without it, or with hideOtherVersions false, only this image changes. With hideOtherVersions true, every other visible version in its revision family (the rows history lists) is hidden in the same transaction, with the caller recorded as hider and their approval cleared; hidden and deleted versions are left as they are. hiddenVersionIds lists what was hidden, and hiddenVersionsTruncated says when the family exceeded the history cap so only the capped set was checked. Learner reads are unaffected beyond the rows hidden, and only for later reads (a signed URL already handed out stays valid until it expires, 12 hours).
|
|
582
582
|
* Show a hidden concept image to learners
|
|
583
583
|
*/
|
|
584
584
|
adminShowConceptImage(requestParameters: AdminShowConceptImageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdminShownConceptImage>;
|
package/dist/apis/AdminApi.js
CHANGED
|
@@ -723,7 +723,7 @@ class AdminApi extends runtime.BaseAPI {
|
|
|
723
723
|
});
|
|
724
724
|
}
|
|
725
725
|
/**
|
|
726
|
-
* Keeps the diagram out of every learner read and clears any approval (approvedAt), so a later show re-approves it. Idempotent: a diagram an admin already hid keeps its original hide time and actor. A diagram hidden by a learner flag becomes an admin hide (hiddenByFlag false, with this call\'s time and actor). Applies to later reads only: a diagram already rendered in an open chat stays until the chat is reloaded.
|
|
726
|
+
* Keeps the diagram out of every learner read and clears any approval (approvedAt), so a later show re-approves it, and clears flaggedAfterApprovalAt. Idempotent: a diagram an admin already hid keeps its original hide time and actor. A diagram hidden by a learner flag becomes an admin hide (hiddenByFlag false, with this call\'s time and actor). Applies to later reads only: a diagram already rendered in an open chat stays until the chat is reloaded.
|
|
727
727
|
* Hide a concept diagram from learners
|
|
728
728
|
*/
|
|
729
729
|
adminHideConceptDiagramRaw(requestParameters, initOverrides) {
|
|
@@ -754,7 +754,7 @@ class AdminApi extends runtime.BaseAPI {
|
|
|
754
754
|
});
|
|
755
755
|
}
|
|
756
756
|
/**
|
|
757
|
-
* Keeps the diagram out of every learner read and clears any approval (approvedAt), so a later show re-approves it. Idempotent: a diagram an admin already hid keeps its original hide time and actor. A diagram hidden by a learner flag becomes an admin hide (hiddenByFlag false, with this call\'s time and actor). Applies to later reads only: a diagram already rendered in an open chat stays until the chat is reloaded.
|
|
757
|
+
* Keeps the diagram out of every learner read and clears any approval (approvedAt), so a later show re-approves it, and clears flaggedAfterApprovalAt. Idempotent: a diagram an admin already hid keeps its original hide time and actor. A diagram hidden by a learner flag becomes an admin hide (hiddenByFlag false, with this call\'s time and actor). Applies to later reads only: a diagram already rendered in an open chat stays until the chat is reloaded.
|
|
758
758
|
* Hide a concept diagram from learners
|
|
759
759
|
*/
|
|
760
760
|
adminHideConceptDiagram(requestParameters, initOverrides) {
|
|
@@ -764,7 +764,7 @@ class AdminApi extends runtime.BaseAPI {
|
|
|
764
764
|
});
|
|
765
765
|
}
|
|
766
766
|
/**
|
|
767
|
-
* Keeps the image out of every learner read and clears any approval (approvedAt), so a later show re-approves it. Idempotent: an image an admin already hid keeps its original hide time and actor. An image hidden by a learner flag becomes an admin hide (hiddenByFlag false, with this call\'s time and actor). Applies to later reads only: a signed URL already handed out stays valid until it expires (12 hours).
|
|
767
|
+
* Keeps the image out of every learner read and clears any approval (approvedAt), so a later show re-approves it, and clears flaggedAfterApprovalAt. Idempotent: an image an admin already hid keeps its original hide time and actor. An image hidden by a learner flag becomes an admin hide (hiddenByFlag false, with this call\'s time and actor). Applies to later reads only: a signed URL already handed out stays valid until it expires (12 hours).
|
|
768
768
|
* Hide a concept image from learners
|
|
769
769
|
*/
|
|
770
770
|
adminHideConceptImageRaw(requestParameters, initOverrides) {
|
|
@@ -795,7 +795,7 @@ class AdminApi extends runtime.BaseAPI {
|
|
|
795
795
|
});
|
|
796
796
|
}
|
|
797
797
|
/**
|
|
798
|
-
* Keeps the image out of every learner read and clears any approval (approvedAt), so a later show re-approves it. Idempotent: an image an admin already hid keeps its original hide time and actor. An image hidden by a learner flag becomes an admin hide (hiddenByFlag false, with this call\'s time and actor). Applies to later reads only: a signed URL already handed out stays valid until it expires (12 hours).
|
|
798
|
+
* Keeps the image out of every learner read and clears any approval (approvedAt), so a later show re-approves it, and clears flaggedAfterApprovalAt. Idempotent: an image an admin already hid keeps its original hide time and actor. An image hidden by a learner flag becomes an admin hide (hiddenByFlag false, with this call\'s time and actor). Applies to later reads only: a signed URL already handed out stays valid until it expires (12 hours).
|
|
799
799
|
* Hide a concept image from learners
|
|
800
800
|
*/
|
|
801
801
|
adminHideConceptImage(requestParameters, initOverrides) {
|
|
@@ -1497,7 +1497,7 @@ class AdminApi extends runtime.BaseAPI {
|
|
|
1497
1497
|
});
|
|
1498
1498
|
}
|
|
1499
1499
|
/**
|
|
1500
|
-
* Clears the deletion and any approval and leaves the diagram hidden for review (a diagram already hidden keeps its hide); show it to serve it to learners again. A diagram that is not deleted is unchanged.
|
|
1500
|
+
* Clears the deletion and any approval (flaggedAfterApprovalAt included) and leaves the diagram hidden for review (a diagram already hidden keeps its hide); show it to serve it to learners again. A diagram that is not deleted is unchanged.
|
|
1501
1501
|
* Restore a soft-deleted concept diagram
|
|
1502
1502
|
*/
|
|
1503
1503
|
adminRestoreConceptDiagramRaw(requestParameters, initOverrides) {
|
|
@@ -1528,7 +1528,7 @@ class AdminApi extends runtime.BaseAPI {
|
|
|
1528
1528
|
});
|
|
1529
1529
|
}
|
|
1530
1530
|
/**
|
|
1531
|
-
* Clears the deletion and any approval and leaves the diagram hidden for review (a diagram already hidden keeps its hide); show it to serve it to learners again. A diagram that is not deleted is unchanged.
|
|
1531
|
+
* Clears the deletion and any approval (flaggedAfterApprovalAt included) and leaves the diagram hidden for review (a diagram already hidden keeps its hide); show it to serve it to learners again. A diagram that is not deleted is unchanged.
|
|
1532
1532
|
* Restore a soft-deleted concept diagram
|
|
1533
1533
|
*/
|
|
1534
1534
|
adminRestoreConceptDiagram(requestParameters, initOverrides) {
|
|
@@ -1538,7 +1538,7 @@ class AdminApi extends runtime.BaseAPI {
|
|
|
1538
1538
|
});
|
|
1539
1539
|
}
|
|
1540
1540
|
/**
|
|
1541
|
-
* Clears the deletion and any approval and leaves the image hidden for review (an image already hidden keeps its hide); show it to serve it to learners again. An image that is not deleted is unchanged.
|
|
1541
|
+
* Clears the deletion and any approval (flaggedAfterApprovalAt included) and leaves the image hidden for review (an image already hidden keeps its hide); show it to serve it to learners again. An image that is not deleted is unchanged.
|
|
1542
1542
|
* Restore a soft-deleted concept image
|
|
1543
1543
|
*/
|
|
1544
1544
|
adminRestoreConceptImageRaw(requestParameters, initOverrides) {
|
|
@@ -1569,7 +1569,7 @@ class AdminApi extends runtime.BaseAPI {
|
|
|
1569
1569
|
});
|
|
1570
1570
|
}
|
|
1571
1571
|
/**
|
|
1572
|
-
* Clears the deletion and any approval and leaves the image hidden for review (an image already hidden keeps its hide); show it to serve it to learners again. An image that is not deleted is unchanged.
|
|
1572
|
+
* Clears the deletion and any approval (flaggedAfterApprovalAt included) and leaves the image hidden for review (an image already hidden keeps its hide); show it to serve it to learners again. An image that is not deleted is unchanged.
|
|
1573
1573
|
* Restore a soft-deleted concept image
|
|
1574
1574
|
*/
|
|
1575
1575
|
adminRestoreConceptImage(requestParameters, initOverrides) {
|
|
@@ -1622,7 +1622,7 @@ class AdminApi extends runtime.BaseAPI {
|
|
|
1622
1622
|
});
|
|
1623
1623
|
}
|
|
1624
1624
|
/**
|
|
1625
|
-
* Clears the hide so learners can be served the diagram again, and records the caller\'s approval (approvedAt, approvedBy): a learner flag never hides an approved diagram. Showing a visible diagram approves it too. A deleted diagram must be restored first (409, and nothing changes). The body is optional; without it, or with hideOtherVersions false, only this diagram changes. With hideOtherVersions true, every other visible version in its revision family (the rows history lists) is hidden in the same transaction, with the caller recorded as hider and their approval cleared; hidden and deleted versions are left as they are. hiddenVersionIds lists what was hidden, and hiddenVersionsTruncated says when the family exceeded the history cap so only the capped set was checked. Learner reads are unaffected beyond the rows hidden, and only for later reads.
|
|
1625
|
+
* Clears the hide so learners can be served the diagram again, and records the caller\'s approval (approvedAt, approvedBy): a learner flag never hides an approved diagram, only queues it for re-review (flaggedAfterApprovalAt). Showing a visible diagram approves it too, and either way clears flaggedAfterApprovalAt. A deleted diagram must be restored first (409, and nothing changes). The body is optional; without it, or with hideOtherVersions false, only this diagram changes. With hideOtherVersions true, every other visible version in its revision family (the rows history lists) is hidden in the same transaction, with the caller recorded as hider and their approval cleared; hidden and deleted versions are left as they are. hiddenVersionIds lists what was hidden, and hiddenVersionsTruncated says when the family exceeded the history cap so only the capped set was checked. Learner reads are unaffected beyond the rows hidden, and only for later reads.
|
|
1626
1626
|
* Show a hidden concept diagram to learners
|
|
1627
1627
|
*/
|
|
1628
1628
|
adminShowConceptDiagramRaw(requestParameters, initOverrides) {
|
|
@@ -1655,7 +1655,7 @@ class AdminApi extends runtime.BaseAPI {
|
|
|
1655
1655
|
});
|
|
1656
1656
|
}
|
|
1657
1657
|
/**
|
|
1658
|
-
* Clears the hide so learners can be served the diagram again, and records the caller\'s approval (approvedAt, approvedBy): a learner flag never hides an approved diagram. Showing a visible diagram approves it too. A deleted diagram must be restored first (409, and nothing changes). The body is optional; without it, or with hideOtherVersions false, only this diagram changes. With hideOtherVersions true, every other visible version in its revision family (the rows history lists) is hidden in the same transaction, with the caller recorded as hider and their approval cleared; hidden and deleted versions are left as they are. hiddenVersionIds lists what was hidden, and hiddenVersionsTruncated says when the family exceeded the history cap so only the capped set was checked. Learner reads are unaffected beyond the rows hidden, and only for later reads.
|
|
1658
|
+
* Clears the hide so learners can be served the diagram again, and records the caller\'s approval (approvedAt, approvedBy): a learner flag never hides an approved diagram, only queues it for re-review (flaggedAfterApprovalAt). Showing a visible diagram approves it too, and either way clears flaggedAfterApprovalAt. A deleted diagram must be restored first (409, and nothing changes). The body is optional; without it, or with hideOtherVersions false, only this diagram changes. With hideOtherVersions true, every other visible version in its revision family (the rows history lists) is hidden in the same transaction, with the caller recorded as hider and their approval cleared; hidden and deleted versions are left as they are. hiddenVersionIds lists what was hidden, and hiddenVersionsTruncated says when the family exceeded the history cap so only the capped set was checked. Learner reads are unaffected beyond the rows hidden, and only for later reads.
|
|
1659
1659
|
* Show a hidden concept diagram to learners
|
|
1660
1660
|
*/
|
|
1661
1661
|
adminShowConceptDiagram(requestParameters, initOverrides) {
|
|
@@ -1665,7 +1665,7 @@ class AdminApi extends runtime.BaseAPI {
|
|
|
1665
1665
|
});
|
|
1666
1666
|
}
|
|
1667
1667
|
/**
|
|
1668
|
-
* Clears the hide so learners can be served the image again, and records the caller\'s approval (approvedAt, approvedBy): a learner flag never hides an approved image. Showing a visible image approves it too. A deleted image must be restored first (409, and nothing changes). The body is optional; without it, or with hideOtherVersions false, only this image changes. With hideOtherVersions true, every other visible version in its revision family (the rows history lists) is hidden in the same transaction, with the caller recorded as hider and their approval cleared; hidden and deleted versions are left as they are. hiddenVersionIds lists what was hidden, and hiddenVersionsTruncated says when the family exceeded the history cap so only the capped set was checked. Learner reads are unaffected beyond the rows hidden, and only for later reads (a signed URL already handed out stays valid until it expires, 12 hours).
|
|
1668
|
+
* Clears the hide so learners can be served the image again, and records the caller\'s approval (approvedAt, approvedBy): a learner flag never hides an approved image, only queues it for re-review (flaggedAfterApprovalAt). Showing a visible image approves it too, and either way clears flaggedAfterApprovalAt. A deleted image must be restored first (409, and nothing changes). The body is optional; without it, or with hideOtherVersions false, only this image changes. With hideOtherVersions true, every other visible version in its revision family (the rows history lists) is hidden in the same transaction, with the caller recorded as hider and their approval cleared; hidden and deleted versions are left as they are. hiddenVersionIds lists what was hidden, and hiddenVersionsTruncated says when the family exceeded the history cap so only the capped set was checked. Learner reads are unaffected beyond the rows hidden, and only for later reads (a signed URL already handed out stays valid until it expires, 12 hours).
|
|
1669
1669
|
* Show a hidden concept image to learners
|
|
1670
1670
|
*/
|
|
1671
1671
|
adminShowConceptImageRaw(requestParameters, initOverrides) {
|
|
@@ -1698,7 +1698,7 @@ class AdminApi extends runtime.BaseAPI {
|
|
|
1698
1698
|
});
|
|
1699
1699
|
}
|
|
1700
1700
|
/**
|
|
1701
|
-
* Clears the hide so learners can be served the image again, and records the caller\'s approval (approvedAt, approvedBy): a learner flag never hides an approved image. Showing a visible image approves it too. A deleted image must be restored first (409, and nothing changes). The body is optional; without it, or with hideOtherVersions false, only this image changes. With hideOtherVersions true, every other visible version in its revision family (the rows history lists) is hidden in the same transaction, with the caller recorded as hider and their approval cleared; hidden and deleted versions are left as they are. hiddenVersionIds lists what was hidden, and hiddenVersionsTruncated says when the family exceeded the history cap so only the capped set was checked. Learner reads are unaffected beyond the rows hidden, and only for later reads (a signed URL already handed out stays valid until it expires, 12 hours).
|
|
1701
|
+
* Clears the hide so learners can be served the image again, and records the caller\'s approval (approvedAt, approvedBy): a learner flag never hides an approved image, only queues it for re-review (flaggedAfterApprovalAt). Showing a visible image approves it too, and either way clears flaggedAfterApprovalAt. A deleted image must be restored first (409, and nothing changes). The body is optional; without it, or with hideOtherVersions false, only this image changes. With hideOtherVersions true, every other visible version in its revision family (the rows history lists) is hidden in the same transaction, with the caller recorded as hider and their approval cleared; hidden and deleted versions are left as they are. hiddenVersionIds lists what was hidden, and hiddenVersionsTruncated says when the family exceeded the history cap so only the capped set was checked. Learner reads are unaffected beyond the rows hidden, and only for later reads (a signed URL already handed out stays valid until it expires, 12 hours).
|
|
1702
1702
|
* Show a hidden concept image to learners
|
|
1703
1703
|
*/
|
|
1704
1704
|
adminShowConceptImage(requestParameters, initOverrides) {
|
|
@@ -29,12 +29,12 @@ export interface ListMyConceptDiagramsRequest {
|
|
|
29
29
|
*/
|
|
30
30
|
export declare class ConceptDiagramsApi extends runtime.BaseAPI {
|
|
31
31
|
/**
|
|
32
|
-
* Acts on a learner\'s thumbs-down on a shared concept diagram. A visible diagram that no admin has approved is hidden at once, from every learner, until an admin shows it again or shows a revision of it. Any authenticated learner may flag any diagram id; the calling client is expected to check that the diagram was shown to this learner. Idempotent: a diagram that is already hidden or deleted is left as it is (the first hide keeps its time and actor)
|
|
32
|
+
* Acts on a learner\'s thumbs-down on a shared concept diagram. A visible diagram that no admin has approved is hidden at once, from every learner, until an admin shows it again or shows a revision of it. Any authenticated learner may flag any diagram id; the calling client is expected to check that the diagram was shown to this learner. Idempotent: a diagram that is already hidden or deleted is left as it is (the first hide keeps its time and actor). An admin-approved diagram stays visible but goes back in the admins\' flagged list for re-review (flaggedAfterApprovalAt keeps the first such flag). hidden says whether learners are kept from it after the call. Applies to later reads only: a diagram already rendered in an open chat stays until the chat is reloaded.
|
|
33
33
|
* Flag a concept diagram so learners stop being shown it
|
|
34
34
|
*/
|
|
35
35
|
flagConceptDiagramRaw(requestParameters: FlagConceptDiagramRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ConceptMediaFlagResult>>;
|
|
36
36
|
/**
|
|
37
|
-
* Acts on a learner\'s thumbs-down on a shared concept diagram. A visible diagram that no admin has approved is hidden at once, from every learner, until an admin shows it again or shows a revision of it. Any authenticated learner may flag any diagram id; the calling client is expected to check that the diagram was shown to this learner. Idempotent: a diagram that is already hidden or deleted is left as it is (the first hide keeps its time and actor)
|
|
37
|
+
* Acts on a learner\'s thumbs-down on a shared concept diagram. A visible diagram that no admin has approved is hidden at once, from every learner, until an admin shows it again or shows a revision of it. Any authenticated learner may flag any diagram id; the calling client is expected to check that the diagram was shown to this learner. Idempotent: a diagram that is already hidden or deleted is left as it is (the first hide keeps its time and actor). An admin-approved diagram stays visible but goes back in the admins\' flagged list for re-review (flaggedAfterApprovalAt keeps the first such flag). hidden says whether learners are kept from it after the call. Applies to later reads only: a diagram already rendered in an open chat stays until the chat is reloaded.
|
|
38
38
|
* Flag a concept diagram so learners stop being shown it
|
|
39
39
|
*/
|
|
40
40
|
flagConceptDiagram(requestParameters: FlagConceptDiagramRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ConceptMediaFlagResult>;
|
|
@@ -30,7 +30,7 @@ const index_1 = require("../models/index");
|
|
|
30
30
|
*/
|
|
31
31
|
class ConceptDiagramsApi extends runtime.BaseAPI {
|
|
32
32
|
/**
|
|
33
|
-
* Acts on a learner\'s thumbs-down on a shared concept diagram. A visible diagram that no admin has approved is hidden at once, from every learner, until an admin shows it again or shows a revision of it. Any authenticated learner may flag any diagram id; the calling client is expected to check that the diagram was shown to this learner. Idempotent: a diagram that is already hidden or deleted is left as it is (the first hide keeps its time and actor)
|
|
33
|
+
* Acts on a learner\'s thumbs-down on a shared concept diagram. A visible diagram that no admin has approved is hidden at once, from every learner, until an admin shows it again or shows a revision of it. Any authenticated learner may flag any diagram id; the calling client is expected to check that the diagram was shown to this learner. Idempotent: a diagram that is already hidden or deleted is left as it is (the first hide keeps its time and actor). An admin-approved diagram stays visible but goes back in the admins\' flagged list for re-review (flaggedAfterApprovalAt keeps the first such flag). hidden says whether learners are kept from it after the call. Applies to later reads only: a diagram already rendered in an open chat stays until the chat is reloaded.
|
|
34
34
|
* Flag a concept diagram so learners stop being shown it
|
|
35
35
|
*/
|
|
36
36
|
flagConceptDiagramRaw(requestParameters, initOverrides) {
|
|
@@ -61,7 +61,7 @@ class ConceptDiagramsApi extends runtime.BaseAPI {
|
|
|
61
61
|
});
|
|
62
62
|
}
|
|
63
63
|
/**
|
|
64
|
-
* Acts on a learner\'s thumbs-down on a shared concept diagram. A visible diagram that no admin has approved is hidden at once, from every learner, until an admin shows it again or shows a revision of it. Any authenticated learner may flag any diagram id; the calling client is expected to check that the diagram was shown to this learner. Idempotent: a diagram that is already hidden or deleted is left as it is (the first hide keeps its time and actor)
|
|
64
|
+
* Acts on a learner\'s thumbs-down on a shared concept diagram. A visible diagram that no admin has approved is hidden at once, from every learner, until an admin shows it again or shows a revision of it. Any authenticated learner may flag any diagram id; the calling client is expected to check that the diagram was shown to this learner. Idempotent: a diagram that is already hidden or deleted is left as it is (the first hide keeps its time and actor). An admin-approved diagram stays visible but goes back in the admins\' flagged list for re-review (flaggedAfterApprovalAt keeps the first such flag). hidden says whether learners are kept from it after the call. Applies to later reads only: a diagram already rendered in an open chat stays until the chat is reloaded.
|
|
65
65
|
* Flag a concept diagram so learners stop being shown it
|
|
66
66
|
*/
|
|
67
67
|
flagConceptDiagram(requestParameters, initOverrides) {
|
|
@@ -25,12 +25,12 @@ export interface ListMyConceptImagesRequest {
|
|
|
25
25
|
*/
|
|
26
26
|
export declare class ConceptImagesApi extends runtime.BaseAPI {
|
|
27
27
|
/**
|
|
28
|
-
* Acts on a learner\'s thumbs-down on a shared concept image. A visible image that no admin has approved is hidden at once, from every learner, until an admin shows it again or shows a revision of it. Any authenticated learner may flag any image id; the calling client is expected to check that the image was shown to this learner. Idempotent: an image that is already hidden or deleted is left as it is (the first hide keeps its time and actor)
|
|
28
|
+
* Acts on a learner\'s thumbs-down on a shared concept image. A visible image that no admin has approved is hidden at once, from every learner, until an admin shows it again or shows a revision of it. Any authenticated learner may flag any image id; the calling client is expected to check that the image was shown to this learner. Idempotent: an image that is already hidden or deleted is left as it is (the first hide keeps its time and actor). An admin-approved image stays visible but goes back in the admins\' flagged list for re-review (flaggedAfterApprovalAt keeps the first such flag). hidden says whether learners are kept from it after the call. Applies to later reads only: a signed URL already handed out stays valid until it expires (12 hours).
|
|
29
29
|
* Flag a concept image so learners stop being shown it
|
|
30
30
|
*/
|
|
31
31
|
flagConceptImageRaw(requestParameters: FlagConceptImageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ConceptMediaFlagResult>>;
|
|
32
32
|
/**
|
|
33
|
-
* Acts on a learner\'s thumbs-down on a shared concept image. A visible image that no admin has approved is hidden at once, from every learner, until an admin shows it again or shows a revision of it. Any authenticated learner may flag any image id; the calling client is expected to check that the image was shown to this learner. Idempotent: an image that is already hidden or deleted is left as it is (the first hide keeps its time and actor)
|
|
33
|
+
* Acts on a learner\'s thumbs-down on a shared concept image. A visible image that no admin has approved is hidden at once, from every learner, until an admin shows it again or shows a revision of it. Any authenticated learner may flag any image id; the calling client is expected to check that the image was shown to this learner. Idempotent: an image that is already hidden or deleted is left as it is (the first hide keeps its time and actor). An admin-approved image stays visible but goes back in the admins\' flagged list for re-review (flaggedAfterApprovalAt keeps the first such flag). hidden says whether learners are kept from it after the call. Applies to later reads only: a signed URL already handed out stays valid until it expires (12 hours).
|
|
34
34
|
* Flag a concept image so learners stop being shown it
|
|
35
35
|
*/
|
|
36
36
|
flagConceptImage(requestParameters: FlagConceptImageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ConceptMediaFlagResult>;
|
|
@@ -30,7 +30,7 @@ const index_1 = require("../models/index");
|
|
|
30
30
|
*/
|
|
31
31
|
class ConceptImagesApi extends runtime.BaseAPI {
|
|
32
32
|
/**
|
|
33
|
-
* Acts on a learner\'s thumbs-down on a shared concept image. A visible image that no admin has approved is hidden at once, from every learner, until an admin shows it again or shows a revision of it. Any authenticated learner may flag any image id; the calling client is expected to check that the image was shown to this learner. Idempotent: an image that is already hidden or deleted is left as it is (the first hide keeps its time and actor)
|
|
33
|
+
* Acts on a learner\'s thumbs-down on a shared concept image. A visible image that no admin has approved is hidden at once, from every learner, until an admin shows it again or shows a revision of it. Any authenticated learner may flag any image id; the calling client is expected to check that the image was shown to this learner. Idempotent: an image that is already hidden or deleted is left as it is (the first hide keeps its time and actor). An admin-approved image stays visible but goes back in the admins\' flagged list for re-review (flaggedAfterApprovalAt keeps the first such flag). hidden says whether learners are kept from it after the call. Applies to later reads only: a signed URL already handed out stays valid until it expires (12 hours).
|
|
34
34
|
* Flag a concept image so learners stop being shown it
|
|
35
35
|
*/
|
|
36
36
|
flagConceptImageRaw(requestParameters, initOverrides) {
|
|
@@ -61,7 +61,7 @@ class ConceptImagesApi extends runtime.BaseAPI {
|
|
|
61
61
|
});
|
|
62
62
|
}
|
|
63
63
|
/**
|
|
64
|
-
* Acts on a learner\'s thumbs-down on a shared concept image. A visible image that no admin has approved is hidden at once, from every learner, until an admin shows it again or shows a revision of it. Any authenticated learner may flag any image id; the calling client is expected to check that the image was shown to this learner. Idempotent: an image that is already hidden or deleted is left as it is (the first hide keeps its time and actor)
|
|
64
|
+
* Acts on a learner\'s thumbs-down on a shared concept image. A visible image that no admin has approved is hidden at once, from every learner, until an admin shows it again or shows a revision of it. Any authenticated learner may flag any image id; the calling client is expected to check that the image was shown to this learner. Idempotent: an image that is already hidden or deleted is left as it is (the first hide keeps its time and actor). An admin-approved image stays visible but goes back in the admins\' flagged list for re-review (flaggedAfterApprovalAt keeps the first such flag). hidden says whether learners are kept from it after the call. Applies to later reads only: a signed URL already handed out stays valid until it expires (12 hours).
|
|
65
65
|
* Flag a concept image so learners stop being shown it
|
|
66
66
|
*/
|
|
67
67
|
flagConceptImage(requestParameters, initOverrides) {
|
|
@@ -381,22 +381,22 @@ export declare class AdminApi extends runtime.BaseAPI {
|
|
|
381
381
|
*/
|
|
382
382
|
adminGetUsersActivityTotals(requestParameters: AdminGetUsersActivityTotalsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<AdminUserActivityTotals>>;
|
|
383
383
|
/**
|
|
384
|
-
* Keeps the diagram out of every learner read and clears any approval (approvedAt), so a later show re-approves it. Idempotent: a diagram an admin already hid keeps its original hide time and actor. A diagram hidden by a learner flag becomes an admin hide (hiddenByFlag false, with this call\'s time and actor). Applies to later reads only: a diagram already rendered in an open chat stays until the chat is reloaded.
|
|
384
|
+
* Keeps the diagram out of every learner read and clears any approval (approvedAt), so a later show re-approves it, and clears flaggedAfterApprovalAt. Idempotent: a diagram an admin already hid keeps its original hide time and actor. A diagram hidden by a learner flag becomes an admin hide (hiddenByFlag false, with this call\'s time and actor). Applies to later reads only: a diagram already rendered in an open chat stays until the chat is reloaded.
|
|
385
385
|
* Hide a concept diagram from learners
|
|
386
386
|
*/
|
|
387
387
|
adminHideConceptDiagramRaw(requestParameters: AdminHideConceptDiagramRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AdminConceptDiagramDetail>>;
|
|
388
388
|
/**
|
|
389
|
-
* Keeps the diagram out of every learner read and clears any approval (approvedAt), so a later show re-approves it. Idempotent: a diagram an admin already hid keeps its original hide time and actor. A diagram hidden by a learner flag becomes an admin hide (hiddenByFlag false, with this call\'s time and actor). Applies to later reads only: a diagram already rendered in an open chat stays until the chat is reloaded.
|
|
389
|
+
* Keeps the diagram out of every learner read and clears any approval (approvedAt), so a later show re-approves it, and clears flaggedAfterApprovalAt. Idempotent: a diagram an admin already hid keeps its original hide time and actor. A diagram hidden by a learner flag becomes an admin hide (hiddenByFlag false, with this call\'s time and actor). Applies to later reads only: a diagram already rendered in an open chat stays until the chat is reloaded.
|
|
390
390
|
* Hide a concept diagram from learners
|
|
391
391
|
*/
|
|
392
392
|
adminHideConceptDiagram(requestParameters: AdminHideConceptDiagramRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdminConceptDiagramDetail>;
|
|
393
393
|
/**
|
|
394
|
-
* Keeps the image out of every learner read and clears any approval (approvedAt), so a later show re-approves it. Idempotent: an image an admin already hid keeps its original hide time and actor. An image hidden by a learner flag becomes an admin hide (hiddenByFlag false, with this call\'s time and actor). Applies to later reads only: a signed URL already handed out stays valid until it expires (12 hours).
|
|
394
|
+
* Keeps the image out of every learner read and clears any approval (approvedAt), so a later show re-approves it, and clears flaggedAfterApprovalAt. Idempotent: an image an admin already hid keeps its original hide time and actor. An image hidden by a learner flag becomes an admin hide (hiddenByFlag false, with this call\'s time and actor). Applies to later reads only: a signed URL already handed out stays valid until it expires (12 hours).
|
|
395
395
|
* Hide a concept image from learners
|
|
396
396
|
*/
|
|
397
397
|
adminHideConceptImageRaw(requestParameters: AdminHideConceptImageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AdminConceptImageDetail>>;
|
|
398
398
|
/**
|
|
399
|
-
* Keeps the image out of every learner read and clears any approval (approvedAt), so a later show re-approves it. Idempotent: an image an admin already hid keeps its original hide time and actor. An image hidden by a learner flag becomes an admin hide (hiddenByFlag false, with this call\'s time and actor). Applies to later reads only: a signed URL already handed out stays valid until it expires (12 hours).
|
|
399
|
+
* Keeps the image out of every learner read and clears any approval (approvedAt), so a later show re-approves it, and clears flaggedAfterApprovalAt. Idempotent: an image an admin already hid keeps its original hide time and actor. An image hidden by a learner flag becomes an admin hide (hiddenByFlag false, with this call\'s time and actor). Applies to later reads only: a signed URL already handed out stays valid until it expires (12 hours).
|
|
400
400
|
* Hide a concept image from learners
|
|
401
401
|
*/
|
|
402
402
|
adminHideConceptImage(requestParameters: AdminHideConceptImageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdminConceptImageDetail>;
|
|
@@ -533,22 +533,22 @@ export declare class AdminApi extends runtime.BaseAPI {
|
|
|
533
533
|
*/
|
|
534
534
|
adminResetUserLearningData(requestParameters: AdminResetUserLearningDataRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdminResetLearningDataResponse>;
|
|
535
535
|
/**
|
|
536
|
-
* Clears the deletion and any approval and leaves the diagram hidden for review (a diagram already hidden keeps its hide); show it to serve it to learners again. A diagram that is not deleted is unchanged.
|
|
536
|
+
* Clears the deletion and any approval (flaggedAfterApprovalAt included) and leaves the diagram hidden for review (a diagram already hidden keeps its hide); show it to serve it to learners again. A diagram that is not deleted is unchanged.
|
|
537
537
|
* Restore a soft-deleted concept diagram
|
|
538
538
|
*/
|
|
539
539
|
adminRestoreConceptDiagramRaw(requestParameters: AdminRestoreConceptDiagramRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AdminConceptDiagramDetail>>;
|
|
540
540
|
/**
|
|
541
|
-
* Clears the deletion and any approval and leaves the diagram hidden for review (a diagram already hidden keeps its hide); show it to serve it to learners again. A diagram that is not deleted is unchanged.
|
|
541
|
+
* Clears the deletion and any approval (flaggedAfterApprovalAt included) and leaves the diagram hidden for review (a diagram already hidden keeps its hide); show it to serve it to learners again. A diagram that is not deleted is unchanged.
|
|
542
542
|
* Restore a soft-deleted concept diagram
|
|
543
543
|
*/
|
|
544
544
|
adminRestoreConceptDiagram(requestParameters: AdminRestoreConceptDiagramRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdminConceptDiagramDetail>;
|
|
545
545
|
/**
|
|
546
|
-
* Clears the deletion and any approval and leaves the image hidden for review (an image already hidden keeps its hide); show it to serve it to learners again. An image that is not deleted is unchanged.
|
|
546
|
+
* Clears the deletion and any approval (flaggedAfterApprovalAt included) and leaves the image hidden for review (an image already hidden keeps its hide); show it to serve it to learners again. An image that is not deleted is unchanged.
|
|
547
547
|
* Restore a soft-deleted concept image
|
|
548
548
|
*/
|
|
549
549
|
adminRestoreConceptImageRaw(requestParameters: AdminRestoreConceptImageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AdminConceptImageDetail>>;
|
|
550
550
|
/**
|
|
551
|
-
* Clears the deletion and any approval and leaves the image hidden for review (an image already hidden keeps its hide); show it to serve it to learners again. An image that is not deleted is unchanged.
|
|
551
|
+
* Clears the deletion and any approval (flaggedAfterApprovalAt included) and leaves the image hidden for review (an image already hidden keeps its hide); show it to serve it to learners again. An image that is not deleted is unchanged.
|
|
552
552
|
* Restore a soft-deleted concept image
|
|
553
553
|
*/
|
|
554
554
|
adminRestoreConceptImage(requestParameters: AdminRestoreConceptImageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdminConceptImageDetail>;
|
|
@@ -563,22 +563,22 @@ export declare class AdminApi extends runtime.BaseAPI {
|
|
|
563
563
|
*/
|
|
564
564
|
adminSearchConcepts(requestParameters: AdminSearchConceptsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<AdminConceptSearchResult>>;
|
|
565
565
|
/**
|
|
566
|
-
* Clears the hide so learners can be served the diagram again, and records the caller\'s approval (approvedAt, approvedBy): a learner flag never hides an approved diagram. Showing a visible diagram approves it too. A deleted diagram must be restored first (409, and nothing changes). The body is optional; without it, or with hideOtherVersions false, only this diagram changes. With hideOtherVersions true, every other visible version in its revision family (the rows history lists) is hidden in the same transaction, with the caller recorded as hider and their approval cleared; hidden and deleted versions are left as they are. hiddenVersionIds lists what was hidden, and hiddenVersionsTruncated says when the family exceeded the history cap so only the capped set was checked. Learner reads are unaffected beyond the rows hidden, and only for later reads.
|
|
566
|
+
* Clears the hide so learners can be served the diagram again, and records the caller\'s approval (approvedAt, approvedBy): a learner flag never hides an approved diagram, only queues it for re-review (flaggedAfterApprovalAt). Showing a visible diagram approves it too, and either way clears flaggedAfterApprovalAt. A deleted diagram must be restored first (409, and nothing changes). The body is optional; without it, or with hideOtherVersions false, only this diagram changes. With hideOtherVersions true, every other visible version in its revision family (the rows history lists) is hidden in the same transaction, with the caller recorded as hider and their approval cleared; hidden and deleted versions are left as they are. hiddenVersionIds lists what was hidden, and hiddenVersionsTruncated says when the family exceeded the history cap so only the capped set was checked. Learner reads are unaffected beyond the rows hidden, and only for later reads.
|
|
567
567
|
* Show a hidden concept diagram to learners
|
|
568
568
|
*/
|
|
569
569
|
adminShowConceptDiagramRaw(requestParameters: AdminShowConceptDiagramRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AdminShownConceptDiagram>>;
|
|
570
570
|
/**
|
|
571
|
-
* Clears the hide so learners can be served the diagram again, and records the caller\'s approval (approvedAt, approvedBy): a learner flag never hides an approved diagram. Showing a visible diagram approves it too. A deleted diagram must be restored first (409, and nothing changes). The body is optional; without it, or with hideOtherVersions false, only this diagram changes. With hideOtherVersions true, every other visible version in its revision family (the rows history lists) is hidden in the same transaction, with the caller recorded as hider and their approval cleared; hidden and deleted versions are left as they are. hiddenVersionIds lists what was hidden, and hiddenVersionsTruncated says when the family exceeded the history cap so only the capped set was checked. Learner reads are unaffected beyond the rows hidden, and only for later reads.
|
|
571
|
+
* Clears the hide so learners can be served the diagram again, and records the caller\'s approval (approvedAt, approvedBy): a learner flag never hides an approved diagram, only queues it for re-review (flaggedAfterApprovalAt). Showing a visible diagram approves it too, and either way clears flaggedAfterApprovalAt. A deleted diagram must be restored first (409, and nothing changes). The body is optional; without it, or with hideOtherVersions false, only this diagram changes. With hideOtherVersions true, every other visible version in its revision family (the rows history lists) is hidden in the same transaction, with the caller recorded as hider and their approval cleared; hidden and deleted versions are left as they are. hiddenVersionIds lists what was hidden, and hiddenVersionsTruncated says when the family exceeded the history cap so only the capped set was checked. Learner reads are unaffected beyond the rows hidden, and only for later reads.
|
|
572
572
|
* Show a hidden concept diagram to learners
|
|
573
573
|
*/
|
|
574
574
|
adminShowConceptDiagram(requestParameters: AdminShowConceptDiagramRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdminShownConceptDiagram>;
|
|
575
575
|
/**
|
|
576
|
-
* Clears the hide so learners can be served the image again, and records the caller\'s approval (approvedAt, approvedBy): a learner flag never hides an approved image. Showing a visible image approves it too. A deleted image must be restored first (409, and nothing changes). The body is optional; without it, or with hideOtherVersions false, only this image changes. With hideOtherVersions true, every other visible version in its revision family (the rows history lists) is hidden in the same transaction, with the caller recorded as hider and their approval cleared; hidden and deleted versions are left as they are. hiddenVersionIds lists what was hidden, and hiddenVersionsTruncated says when the family exceeded the history cap so only the capped set was checked. Learner reads are unaffected beyond the rows hidden, and only for later reads (a signed URL already handed out stays valid until it expires, 12 hours).
|
|
576
|
+
* Clears the hide so learners can be served the image again, and records the caller\'s approval (approvedAt, approvedBy): a learner flag never hides an approved image, only queues it for re-review (flaggedAfterApprovalAt). Showing a visible image approves it too, and either way clears flaggedAfterApprovalAt. A deleted image must be restored first (409, and nothing changes). The body is optional; without it, or with hideOtherVersions false, only this image changes. With hideOtherVersions true, every other visible version in its revision family (the rows history lists) is hidden in the same transaction, with the caller recorded as hider and their approval cleared; hidden and deleted versions are left as they are. hiddenVersionIds lists what was hidden, and hiddenVersionsTruncated says when the family exceeded the history cap so only the capped set was checked. Learner reads are unaffected beyond the rows hidden, and only for later reads (a signed URL already handed out stays valid until it expires, 12 hours).
|
|
577
577
|
* Show a hidden concept image to learners
|
|
578
578
|
*/
|
|
579
579
|
adminShowConceptImageRaw(requestParameters: AdminShowConceptImageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AdminShownConceptImage>>;
|
|
580
580
|
/**
|
|
581
|
-
* Clears the hide so learners can be served the image again, and records the caller\'s approval (approvedAt, approvedBy): a learner flag never hides an approved image. Showing a visible image approves it too. A deleted image must be restored first (409, and nothing changes). The body is optional; without it, or with hideOtherVersions false, only this image changes. With hideOtherVersions true, every other visible version in its revision family (the rows history lists) is hidden in the same transaction, with the caller recorded as hider and their approval cleared; hidden and deleted versions are left as they are. hiddenVersionIds lists what was hidden, and hiddenVersionsTruncated says when the family exceeded the history cap so only the capped set was checked. Learner reads are unaffected beyond the rows hidden, and only for later reads (a signed URL already handed out stays valid until it expires, 12 hours).
|
|
581
|
+
* Clears the hide so learners can be served the image again, and records the caller\'s approval (approvedAt, approvedBy): a learner flag never hides an approved image, only queues it for re-review (flaggedAfterApprovalAt). Showing a visible image approves it too, and either way clears flaggedAfterApprovalAt. A deleted image must be restored first (409, and nothing changes). The body is optional; without it, or with hideOtherVersions false, only this image changes. With hideOtherVersions true, every other visible version in its revision family (the rows history lists) is hidden in the same transaction, with the caller recorded as hider and their approval cleared; hidden and deleted versions are left as they are. hiddenVersionIds lists what was hidden, and hiddenVersionsTruncated says when the family exceeded the history cap so only the capped set was checked. Learner reads are unaffected beyond the rows hidden, and only for later reads (a signed URL already handed out stays valid until it expires, 12 hours).
|
|
582
582
|
* Show a hidden concept image to learners
|
|
583
583
|
*/
|
|
584
584
|
adminShowConceptImage(requestParameters: AdminShowConceptImageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdminShownConceptImage>;
|
|
@@ -720,7 +720,7 @@ export class AdminApi extends runtime.BaseAPI {
|
|
|
720
720
|
});
|
|
721
721
|
}
|
|
722
722
|
/**
|
|
723
|
-
* Keeps the diagram out of every learner read and clears any approval (approvedAt), so a later show re-approves it. Idempotent: a diagram an admin already hid keeps its original hide time and actor. A diagram hidden by a learner flag becomes an admin hide (hiddenByFlag false, with this call\'s time and actor). Applies to later reads only: a diagram already rendered in an open chat stays until the chat is reloaded.
|
|
723
|
+
* Keeps the diagram out of every learner read and clears any approval (approvedAt), so a later show re-approves it, and clears flaggedAfterApprovalAt. Idempotent: a diagram an admin already hid keeps its original hide time and actor. A diagram hidden by a learner flag becomes an admin hide (hiddenByFlag false, with this call\'s time and actor). Applies to later reads only: a diagram already rendered in an open chat stays until the chat is reloaded.
|
|
724
724
|
* Hide a concept diagram from learners
|
|
725
725
|
*/
|
|
726
726
|
adminHideConceptDiagramRaw(requestParameters, initOverrides) {
|
|
@@ -751,7 +751,7 @@ export class AdminApi extends runtime.BaseAPI {
|
|
|
751
751
|
});
|
|
752
752
|
}
|
|
753
753
|
/**
|
|
754
|
-
* Keeps the diagram out of every learner read and clears any approval (approvedAt), so a later show re-approves it. Idempotent: a diagram an admin already hid keeps its original hide time and actor. A diagram hidden by a learner flag becomes an admin hide (hiddenByFlag false, with this call\'s time and actor). Applies to later reads only: a diagram already rendered in an open chat stays until the chat is reloaded.
|
|
754
|
+
* Keeps the diagram out of every learner read and clears any approval (approvedAt), so a later show re-approves it, and clears flaggedAfterApprovalAt. Idempotent: a diagram an admin already hid keeps its original hide time and actor. A diagram hidden by a learner flag becomes an admin hide (hiddenByFlag false, with this call\'s time and actor). Applies to later reads only: a diagram already rendered in an open chat stays until the chat is reloaded.
|
|
755
755
|
* Hide a concept diagram from learners
|
|
756
756
|
*/
|
|
757
757
|
adminHideConceptDiagram(requestParameters, initOverrides) {
|
|
@@ -761,7 +761,7 @@ export class AdminApi extends runtime.BaseAPI {
|
|
|
761
761
|
});
|
|
762
762
|
}
|
|
763
763
|
/**
|
|
764
|
-
* Keeps the image out of every learner read and clears any approval (approvedAt), so a later show re-approves it. Idempotent: an image an admin already hid keeps its original hide time and actor. An image hidden by a learner flag becomes an admin hide (hiddenByFlag false, with this call\'s time and actor). Applies to later reads only: a signed URL already handed out stays valid until it expires (12 hours).
|
|
764
|
+
* Keeps the image out of every learner read and clears any approval (approvedAt), so a later show re-approves it, and clears flaggedAfterApprovalAt. Idempotent: an image an admin already hid keeps its original hide time and actor. An image hidden by a learner flag becomes an admin hide (hiddenByFlag false, with this call\'s time and actor). Applies to later reads only: a signed URL already handed out stays valid until it expires (12 hours).
|
|
765
765
|
* Hide a concept image from learners
|
|
766
766
|
*/
|
|
767
767
|
adminHideConceptImageRaw(requestParameters, initOverrides) {
|
|
@@ -792,7 +792,7 @@ export class AdminApi extends runtime.BaseAPI {
|
|
|
792
792
|
});
|
|
793
793
|
}
|
|
794
794
|
/**
|
|
795
|
-
* Keeps the image out of every learner read and clears any approval (approvedAt), so a later show re-approves it. Idempotent: an image an admin already hid keeps its original hide time and actor. An image hidden by a learner flag becomes an admin hide (hiddenByFlag false, with this call\'s time and actor). Applies to later reads only: a signed URL already handed out stays valid until it expires (12 hours).
|
|
795
|
+
* Keeps the image out of every learner read and clears any approval (approvedAt), so a later show re-approves it, and clears flaggedAfterApprovalAt. Idempotent: an image an admin already hid keeps its original hide time and actor. An image hidden by a learner flag becomes an admin hide (hiddenByFlag false, with this call\'s time and actor). Applies to later reads only: a signed URL already handed out stays valid until it expires (12 hours).
|
|
796
796
|
* Hide a concept image from learners
|
|
797
797
|
*/
|
|
798
798
|
adminHideConceptImage(requestParameters, initOverrides) {
|
|
@@ -1494,7 +1494,7 @@ export class AdminApi extends runtime.BaseAPI {
|
|
|
1494
1494
|
});
|
|
1495
1495
|
}
|
|
1496
1496
|
/**
|
|
1497
|
-
* Clears the deletion and any approval and leaves the diagram hidden for review (a diagram already hidden keeps its hide); show it to serve it to learners again. A diagram that is not deleted is unchanged.
|
|
1497
|
+
* Clears the deletion and any approval (flaggedAfterApprovalAt included) and leaves the diagram hidden for review (a diagram already hidden keeps its hide); show it to serve it to learners again. A diagram that is not deleted is unchanged.
|
|
1498
1498
|
* Restore a soft-deleted concept diagram
|
|
1499
1499
|
*/
|
|
1500
1500
|
adminRestoreConceptDiagramRaw(requestParameters, initOverrides) {
|
|
@@ -1525,7 +1525,7 @@ export class AdminApi extends runtime.BaseAPI {
|
|
|
1525
1525
|
});
|
|
1526
1526
|
}
|
|
1527
1527
|
/**
|
|
1528
|
-
* Clears the deletion and any approval and leaves the diagram hidden for review (a diagram already hidden keeps its hide); show it to serve it to learners again. A diagram that is not deleted is unchanged.
|
|
1528
|
+
* Clears the deletion and any approval (flaggedAfterApprovalAt included) and leaves the diagram hidden for review (a diagram already hidden keeps its hide); show it to serve it to learners again. A diagram that is not deleted is unchanged.
|
|
1529
1529
|
* Restore a soft-deleted concept diagram
|
|
1530
1530
|
*/
|
|
1531
1531
|
adminRestoreConceptDiagram(requestParameters, initOverrides) {
|
|
@@ -1535,7 +1535,7 @@ export class AdminApi extends runtime.BaseAPI {
|
|
|
1535
1535
|
});
|
|
1536
1536
|
}
|
|
1537
1537
|
/**
|
|
1538
|
-
* Clears the deletion and any approval and leaves the image hidden for review (an image already hidden keeps its hide); show it to serve it to learners again. An image that is not deleted is unchanged.
|
|
1538
|
+
* Clears the deletion and any approval (flaggedAfterApprovalAt included) and leaves the image hidden for review (an image already hidden keeps its hide); show it to serve it to learners again. An image that is not deleted is unchanged.
|
|
1539
1539
|
* Restore a soft-deleted concept image
|
|
1540
1540
|
*/
|
|
1541
1541
|
adminRestoreConceptImageRaw(requestParameters, initOverrides) {
|
|
@@ -1566,7 +1566,7 @@ export class AdminApi extends runtime.BaseAPI {
|
|
|
1566
1566
|
});
|
|
1567
1567
|
}
|
|
1568
1568
|
/**
|
|
1569
|
-
* Clears the deletion and any approval and leaves the image hidden for review (an image already hidden keeps its hide); show it to serve it to learners again. An image that is not deleted is unchanged.
|
|
1569
|
+
* Clears the deletion and any approval (flaggedAfterApprovalAt included) and leaves the image hidden for review (an image already hidden keeps its hide); show it to serve it to learners again. An image that is not deleted is unchanged.
|
|
1570
1570
|
* Restore a soft-deleted concept image
|
|
1571
1571
|
*/
|
|
1572
1572
|
adminRestoreConceptImage(requestParameters, initOverrides) {
|
|
@@ -1619,7 +1619,7 @@ export class AdminApi extends runtime.BaseAPI {
|
|
|
1619
1619
|
});
|
|
1620
1620
|
}
|
|
1621
1621
|
/**
|
|
1622
|
-
* Clears the hide so learners can be served the diagram again, and records the caller\'s approval (approvedAt, approvedBy): a learner flag never hides an approved diagram. Showing a visible diagram approves it too. A deleted diagram must be restored first (409, and nothing changes). The body is optional; without it, or with hideOtherVersions false, only this diagram changes. With hideOtherVersions true, every other visible version in its revision family (the rows history lists) is hidden in the same transaction, with the caller recorded as hider and their approval cleared; hidden and deleted versions are left as they are. hiddenVersionIds lists what was hidden, and hiddenVersionsTruncated says when the family exceeded the history cap so only the capped set was checked. Learner reads are unaffected beyond the rows hidden, and only for later reads.
|
|
1622
|
+
* Clears the hide so learners can be served the diagram again, and records the caller\'s approval (approvedAt, approvedBy): a learner flag never hides an approved diagram, only queues it for re-review (flaggedAfterApprovalAt). Showing a visible diagram approves it too, and either way clears flaggedAfterApprovalAt. A deleted diagram must be restored first (409, and nothing changes). The body is optional; without it, or with hideOtherVersions false, only this diagram changes. With hideOtherVersions true, every other visible version in its revision family (the rows history lists) is hidden in the same transaction, with the caller recorded as hider and their approval cleared; hidden and deleted versions are left as they are. hiddenVersionIds lists what was hidden, and hiddenVersionsTruncated says when the family exceeded the history cap so only the capped set was checked. Learner reads are unaffected beyond the rows hidden, and only for later reads.
|
|
1623
1623
|
* Show a hidden concept diagram to learners
|
|
1624
1624
|
*/
|
|
1625
1625
|
adminShowConceptDiagramRaw(requestParameters, initOverrides) {
|
|
@@ -1652,7 +1652,7 @@ export class AdminApi extends runtime.BaseAPI {
|
|
|
1652
1652
|
});
|
|
1653
1653
|
}
|
|
1654
1654
|
/**
|
|
1655
|
-
* Clears the hide so learners can be served the diagram again, and records the caller\'s approval (approvedAt, approvedBy): a learner flag never hides an approved diagram. Showing a visible diagram approves it too. A deleted diagram must be restored first (409, and nothing changes). The body is optional; without it, or with hideOtherVersions false, only this diagram changes. With hideOtherVersions true, every other visible version in its revision family (the rows history lists) is hidden in the same transaction, with the caller recorded as hider and their approval cleared; hidden and deleted versions are left as they are. hiddenVersionIds lists what was hidden, and hiddenVersionsTruncated says when the family exceeded the history cap so only the capped set was checked. Learner reads are unaffected beyond the rows hidden, and only for later reads.
|
|
1655
|
+
* Clears the hide so learners can be served the diagram again, and records the caller\'s approval (approvedAt, approvedBy): a learner flag never hides an approved diagram, only queues it for re-review (flaggedAfterApprovalAt). Showing a visible diagram approves it too, and either way clears flaggedAfterApprovalAt. A deleted diagram must be restored first (409, and nothing changes). The body is optional; without it, or with hideOtherVersions false, only this diagram changes. With hideOtherVersions true, every other visible version in its revision family (the rows history lists) is hidden in the same transaction, with the caller recorded as hider and their approval cleared; hidden and deleted versions are left as they are. hiddenVersionIds lists what was hidden, and hiddenVersionsTruncated says when the family exceeded the history cap so only the capped set was checked. Learner reads are unaffected beyond the rows hidden, and only for later reads.
|
|
1656
1656
|
* Show a hidden concept diagram to learners
|
|
1657
1657
|
*/
|
|
1658
1658
|
adminShowConceptDiagram(requestParameters, initOverrides) {
|
|
@@ -1662,7 +1662,7 @@ export class AdminApi extends runtime.BaseAPI {
|
|
|
1662
1662
|
});
|
|
1663
1663
|
}
|
|
1664
1664
|
/**
|
|
1665
|
-
* Clears the hide so learners can be served the image again, and records the caller\'s approval (approvedAt, approvedBy): a learner flag never hides an approved image. Showing a visible image approves it too. A deleted image must be restored first (409, and nothing changes). The body is optional; without it, or with hideOtherVersions false, only this image changes. With hideOtherVersions true, every other visible version in its revision family (the rows history lists) is hidden in the same transaction, with the caller recorded as hider and their approval cleared; hidden and deleted versions are left as they are. hiddenVersionIds lists what was hidden, and hiddenVersionsTruncated says when the family exceeded the history cap so only the capped set was checked. Learner reads are unaffected beyond the rows hidden, and only for later reads (a signed URL already handed out stays valid until it expires, 12 hours).
|
|
1665
|
+
* Clears the hide so learners can be served the image again, and records the caller\'s approval (approvedAt, approvedBy): a learner flag never hides an approved image, only queues it for re-review (flaggedAfterApprovalAt). Showing a visible image approves it too, and either way clears flaggedAfterApprovalAt. A deleted image must be restored first (409, and nothing changes). The body is optional; without it, or with hideOtherVersions false, only this image changes. With hideOtherVersions true, every other visible version in its revision family (the rows history lists) is hidden in the same transaction, with the caller recorded as hider and their approval cleared; hidden and deleted versions are left as they are. hiddenVersionIds lists what was hidden, and hiddenVersionsTruncated says when the family exceeded the history cap so only the capped set was checked. Learner reads are unaffected beyond the rows hidden, and only for later reads (a signed URL already handed out stays valid until it expires, 12 hours).
|
|
1666
1666
|
* Show a hidden concept image to learners
|
|
1667
1667
|
*/
|
|
1668
1668
|
adminShowConceptImageRaw(requestParameters, initOverrides) {
|
|
@@ -1695,7 +1695,7 @@ export class AdminApi extends runtime.BaseAPI {
|
|
|
1695
1695
|
});
|
|
1696
1696
|
}
|
|
1697
1697
|
/**
|
|
1698
|
-
* Clears the hide so learners can be served the image again, and records the caller\'s approval (approvedAt, approvedBy): a learner flag never hides an approved image. Showing a visible image approves it too. A deleted image must be restored first (409, and nothing changes). The body is optional; without it, or with hideOtherVersions false, only this image changes. With hideOtherVersions true, every other visible version in its revision family (the rows history lists) is hidden in the same transaction, with the caller recorded as hider and their approval cleared; hidden and deleted versions are left as they are. hiddenVersionIds lists what was hidden, and hiddenVersionsTruncated says when the family exceeded the history cap so only the capped set was checked. Learner reads are unaffected beyond the rows hidden, and only for later reads (a signed URL already handed out stays valid until it expires, 12 hours).
|
|
1698
|
+
* Clears the hide so learners can be served the image again, and records the caller\'s approval (approvedAt, approvedBy): a learner flag never hides an approved image, only queues it for re-review (flaggedAfterApprovalAt). Showing a visible image approves it too, and either way clears flaggedAfterApprovalAt. A deleted image must be restored first (409, and nothing changes). The body is optional; without it, or with hideOtherVersions false, only this image changes. With hideOtherVersions true, every other visible version in its revision family (the rows history lists) is hidden in the same transaction, with the caller recorded as hider and their approval cleared; hidden and deleted versions are left as they are. hiddenVersionIds lists what was hidden, and hiddenVersionsTruncated says when the family exceeded the history cap so only the capped set was checked. Learner reads are unaffected beyond the rows hidden, and only for later reads (a signed URL already handed out stays valid until it expires, 12 hours).
|
|
1699
1699
|
* Show a hidden concept image to learners
|
|
1700
1700
|
*/
|
|
1701
1701
|
adminShowConceptImage(requestParameters, initOverrides) {
|
|
@@ -29,12 +29,12 @@ export interface ListMyConceptDiagramsRequest {
|
|
|
29
29
|
*/
|
|
30
30
|
export declare class ConceptDiagramsApi extends runtime.BaseAPI {
|
|
31
31
|
/**
|
|
32
|
-
* Acts on a learner\'s thumbs-down on a shared concept diagram. A visible diagram that no admin has approved is hidden at once, from every learner, until an admin shows it again or shows a revision of it. Any authenticated learner may flag any diagram id; the calling client is expected to check that the diagram was shown to this learner. Idempotent: a diagram that is already hidden or deleted is left as it is (the first hide keeps its time and actor)
|
|
32
|
+
* Acts on a learner\'s thumbs-down on a shared concept diagram. A visible diagram that no admin has approved is hidden at once, from every learner, until an admin shows it again or shows a revision of it. Any authenticated learner may flag any diagram id; the calling client is expected to check that the diagram was shown to this learner. Idempotent: a diagram that is already hidden or deleted is left as it is (the first hide keeps its time and actor). An admin-approved diagram stays visible but goes back in the admins\' flagged list for re-review (flaggedAfterApprovalAt keeps the first such flag). hidden says whether learners are kept from it after the call. Applies to later reads only: a diagram already rendered in an open chat stays until the chat is reloaded.
|
|
33
33
|
* Flag a concept diagram so learners stop being shown it
|
|
34
34
|
*/
|
|
35
35
|
flagConceptDiagramRaw(requestParameters: FlagConceptDiagramRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ConceptMediaFlagResult>>;
|
|
36
36
|
/**
|
|
37
|
-
* Acts on a learner\'s thumbs-down on a shared concept diagram. A visible diagram that no admin has approved is hidden at once, from every learner, until an admin shows it again or shows a revision of it. Any authenticated learner may flag any diagram id; the calling client is expected to check that the diagram was shown to this learner. Idempotent: a diagram that is already hidden or deleted is left as it is (the first hide keeps its time and actor)
|
|
37
|
+
* Acts on a learner\'s thumbs-down on a shared concept diagram. A visible diagram that no admin has approved is hidden at once, from every learner, until an admin shows it again or shows a revision of it. Any authenticated learner may flag any diagram id; the calling client is expected to check that the diagram was shown to this learner. Idempotent: a diagram that is already hidden or deleted is left as it is (the first hide keeps its time and actor). An admin-approved diagram stays visible but goes back in the admins\' flagged list for re-review (flaggedAfterApprovalAt keeps the first such flag). hidden says whether learners are kept from it after the call. Applies to later reads only: a diagram already rendered in an open chat stays until the chat is reloaded.
|
|
38
38
|
* Flag a concept diagram so learners stop being shown it
|
|
39
39
|
*/
|
|
40
40
|
flagConceptDiagram(requestParameters: FlagConceptDiagramRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ConceptMediaFlagResult>;
|
|
@@ -27,7 +27,7 @@ import { ConceptDiagramDetailFromJSON, ConceptMediaFlagResultFromJSON, Paginated
|
|
|
27
27
|
*/
|
|
28
28
|
export class ConceptDiagramsApi extends runtime.BaseAPI {
|
|
29
29
|
/**
|
|
30
|
-
* Acts on a learner\'s thumbs-down on a shared concept diagram. A visible diagram that no admin has approved is hidden at once, from every learner, until an admin shows it again or shows a revision of it. Any authenticated learner may flag any diagram id; the calling client is expected to check that the diagram was shown to this learner. Idempotent: a diagram that is already hidden or deleted is left as it is (the first hide keeps its time and actor)
|
|
30
|
+
* Acts on a learner\'s thumbs-down on a shared concept diagram. A visible diagram that no admin has approved is hidden at once, from every learner, until an admin shows it again or shows a revision of it. Any authenticated learner may flag any diagram id; the calling client is expected to check that the diagram was shown to this learner. Idempotent: a diagram that is already hidden or deleted is left as it is (the first hide keeps its time and actor). An admin-approved diagram stays visible but goes back in the admins\' flagged list for re-review (flaggedAfterApprovalAt keeps the first such flag). hidden says whether learners are kept from it after the call. Applies to later reads only: a diagram already rendered in an open chat stays until the chat is reloaded.
|
|
31
31
|
* Flag a concept diagram so learners stop being shown it
|
|
32
32
|
*/
|
|
33
33
|
flagConceptDiagramRaw(requestParameters, initOverrides) {
|
|
@@ -58,7 +58,7 @@ export class ConceptDiagramsApi extends runtime.BaseAPI {
|
|
|
58
58
|
});
|
|
59
59
|
}
|
|
60
60
|
/**
|
|
61
|
-
* Acts on a learner\'s thumbs-down on a shared concept diagram. A visible diagram that no admin has approved is hidden at once, from every learner, until an admin shows it again or shows a revision of it. Any authenticated learner may flag any diagram id; the calling client is expected to check that the diagram was shown to this learner. Idempotent: a diagram that is already hidden or deleted is left as it is (the first hide keeps its time and actor)
|
|
61
|
+
* Acts on a learner\'s thumbs-down on a shared concept diagram. A visible diagram that no admin has approved is hidden at once, from every learner, until an admin shows it again or shows a revision of it. Any authenticated learner may flag any diagram id; the calling client is expected to check that the diagram was shown to this learner. Idempotent: a diagram that is already hidden or deleted is left as it is (the first hide keeps its time and actor). An admin-approved diagram stays visible but goes back in the admins\' flagged list for re-review (flaggedAfterApprovalAt keeps the first such flag). hidden says whether learners are kept from it after the call. Applies to later reads only: a diagram already rendered in an open chat stays until the chat is reloaded.
|
|
62
62
|
* Flag a concept diagram so learners stop being shown it
|
|
63
63
|
*/
|
|
64
64
|
flagConceptDiagram(requestParameters, initOverrides) {
|
|
@@ -25,12 +25,12 @@ export interface ListMyConceptImagesRequest {
|
|
|
25
25
|
*/
|
|
26
26
|
export declare class ConceptImagesApi extends runtime.BaseAPI {
|
|
27
27
|
/**
|
|
28
|
-
* Acts on a learner\'s thumbs-down on a shared concept image. A visible image that no admin has approved is hidden at once, from every learner, until an admin shows it again or shows a revision of it. Any authenticated learner may flag any image id; the calling client is expected to check that the image was shown to this learner. Idempotent: an image that is already hidden or deleted is left as it is (the first hide keeps its time and actor)
|
|
28
|
+
* Acts on a learner\'s thumbs-down on a shared concept image. A visible image that no admin has approved is hidden at once, from every learner, until an admin shows it again or shows a revision of it. Any authenticated learner may flag any image id; the calling client is expected to check that the image was shown to this learner. Idempotent: an image that is already hidden or deleted is left as it is (the first hide keeps its time and actor). An admin-approved image stays visible but goes back in the admins\' flagged list for re-review (flaggedAfterApprovalAt keeps the first such flag). hidden says whether learners are kept from it after the call. Applies to later reads only: a signed URL already handed out stays valid until it expires (12 hours).
|
|
29
29
|
* Flag a concept image so learners stop being shown it
|
|
30
30
|
*/
|
|
31
31
|
flagConceptImageRaw(requestParameters: FlagConceptImageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ConceptMediaFlagResult>>;
|
|
32
32
|
/**
|
|
33
|
-
* Acts on a learner\'s thumbs-down on a shared concept image. A visible image that no admin has approved is hidden at once, from every learner, until an admin shows it again or shows a revision of it. Any authenticated learner may flag any image id; the calling client is expected to check that the image was shown to this learner. Idempotent: an image that is already hidden or deleted is left as it is (the first hide keeps its time and actor)
|
|
33
|
+
* Acts on a learner\'s thumbs-down on a shared concept image. A visible image that no admin has approved is hidden at once, from every learner, until an admin shows it again or shows a revision of it. Any authenticated learner may flag any image id; the calling client is expected to check that the image was shown to this learner. Idempotent: an image that is already hidden or deleted is left as it is (the first hide keeps its time and actor). An admin-approved image stays visible but goes back in the admins\' flagged list for re-review (flaggedAfterApprovalAt keeps the first such flag). hidden says whether learners are kept from it after the call. Applies to later reads only: a signed URL already handed out stays valid until it expires (12 hours).
|
|
34
34
|
* Flag a concept image so learners stop being shown it
|
|
35
35
|
*/
|
|
36
36
|
flagConceptImage(requestParameters: FlagConceptImageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ConceptMediaFlagResult>;
|