Skip to content

Commit 8328ca3

Browse files
committed
MINOR: Add color validator where it's possible. (#874)
1 parent 8e1e653 commit 8328ca3

16 files changed

+84
-45
lines changed

package/src/apis/CollaborationApi.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1541,7 +1541,7 @@ export class CollaborationApi extends runtime.BaseAPI {
15411541
}
15421542

15431543
/**
1544-
* Create a document. If the document is one of {\'POINT_CLOUD\', \'OBJ\', \'DXF\', \'DWG\', \'GLTF\', \'IFC\'}, a model will be created and attached to this document Required scopes: document:write
1544+
* Create a document. If the document is one of {\'OBJ\', \'DWG\', \'IFC\', \'GLTF\', \'POINT_CLOUD\', \'DXF\'}, a model will be created and attached to this document Required scopes: document:write
15451545
* Create a document
15461546
*/
15471547
async createDocumentRaw(requestParameters: CreateDocumentRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<Document>> {
@@ -1638,7 +1638,7 @@ export class CollaborationApi extends runtime.BaseAPI {
16381638
}
16391639

16401640
/**
1641-
* Create a document. If the document is one of {\'POINT_CLOUD\', \'OBJ\', \'DXF\', \'DWG\', \'GLTF\', \'IFC\'}, a model will be created and attached to this document Required scopes: document:write
1641+
* Create a document. If the document is one of {\'OBJ\', \'DWG\', \'IFC\', \'GLTF\', \'POINT_CLOUD\', \'DXF\'}, a model will be created and attached to this document Required scopes: document:write
16421642
* Create a document
16431643
*/
16441644
async createDocument(cloud_pk: number, project_pk: number, name: string, file: Blob, parent_id?: number | null, file_name?: string, description?: string | null, model_source?: CreateDocumentModelSourceEnum, ifc_source?: CreateDocumentIfcSourceEnum, successor_of?: number, process_hint?: CreateDocumentProcessHintEnum, initOverrides?: RequestInit): Promise<Document> {

package/src/models/PatchedPinRequest.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ export interface PatchedPinRequest {
4040
name?: string | null;
4141
/**
4242
*
43+
* Color of the pin in hexadecimal string without the '#' prefix.
44+
* Example: 'fff', 'fff0', '0f0f0f', '0f0f0f00'.
45+
*
4346
* @type {string}
4447
* @memberof PatchedPinRequest
4548
*/

package/src/models/PatchedPriorityRequest.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ export interface PatchedPriorityRequest {
2727
priority?: string;
2828
/**
2929
*
30+
* Color of the priority in hexadecimal string without the '#' prefix.
31+
* Example: 'fff', 'fff0', '0f0f0f', '0f0f0f00'.
32+
*
3033
* @type {string}
3134
* @memberof PatchedPriorityRequest
3235
*/

package/src/models/PatchedTagRequest.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ export interface PatchedTagRequest {
2727
name?: string;
2828
/**
2929
*
30+
* Color of the Tag status in hexadecimal string without the '#' prefix.
31+
* Example: 'fff', 'fff0', '0f0f0f', '0f0f0f00'.
32+
*
3033
* @type {string}
3134
* @memberof PatchedTagRequest
3235
*/

package/src/models/PatchedTopicStatusRequest.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ export interface PatchedTopicStatusRequest {
2727
topic_status?: string;
2828
/**
2929
*
30+
* Color of the topic status in hexadecimal string without the '#' prefix.
31+
* Example: 'fff', 'fff0', '0f0f0f', '0f0f0f00'.
32+
*
3033
* @type {string}
3134
* @memberof PatchedTopicStatusRequest
3235
*/

package/src/models/Pin.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ export interface Pin {
4040
name?: string | null;
4141
/**
4242
*
43+
* Color of the pin in hexadecimal string without the '#' prefix.
44+
* Example: 'fff', 'fff0', '0f0f0f', '0f0f0f00'.
45+
*
4346
* @type {string}
4447
* @memberof Pin
4548
*/

package/src/models/PinRequest.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ export interface PinRequest {
4040
name?: string | null;
4141
/**
4242
*
43+
* Color of the pin in hexadecimal string without the '#' prefix.
44+
* Example: 'fff', 'fff0', '0f0f0f', '0f0f0f00'.
45+
*
4346
* @type {string}
4447
* @memberof PinRequest
4548
*/

package/src/models/PinWithModels.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ export interface PinWithModels {
4040
readonly name: string | null;
4141
/**
4242
*
43+
* Color of the pin in hexadecimal string without the '#' prefix.
44+
* Example: 'fff', 'fff0', '0f0f0f', '0f0f0f00'.
45+
*
4346
* @type {string}
4447
* @memberof PinWithModels
4548
*/

package/src/models/Priority.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ export interface Priority {
3333
priority: string;
3434
/**
3535
*
36+
* Color of the priority in hexadecimal string without the '#' prefix.
37+
* Example: 'fff', 'fff0', '0f0f0f', '0f0f0f00'.
38+
*
3639
* @type {string}
3740
* @memberof Priority
3841
*/

package/src/models/PriorityRequest.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ export interface PriorityRequest {
2727
priority: string;
2828
/**
2929
*
30+
* Color of the priority in hexadecimal string without the '#' prefix.
31+
* Example: 'fff', 'fff0', '0f0f0f', '0f0f0f00'.
32+
*
3033
* @type {string}
3134
* @memberof PriorityRequest
3235
*/

0 commit comments

Comments
 (0)