keplar-api 0.0.12 → 0.0.14
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/.openapi-generator/FILES +48 -5
- package/README.md +2 -2
- package/dist/apis/DefaultApi.d.ts +248 -34
- package/dist/apis/DefaultApi.js +1356 -283
- package/dist/models/ApiProjectsProjectIdAnalysisPostRequest.d.ts +33 -0
- package/dist/models/ApiProjectsProjectIdAnalysisPostRequest.js +52 -0
- package/dist/models/ApiProjectsProjectIdAnalysisPostRequestKind.d.ts +26 -0
- package/dist/models/ApiProjectsProjectIdAnalysisPostRequestKind.js +39 -0
- package/dist/models/Artifact.d.ts +104 -0
- package/dist/models/Artifact.js +91 -0
- package/dist/models/ArtifactDataThematicAnalysis.d.ts +46 -0
- package/dist/models/ArtifactDataThematicAnalysis.js +63 -0
- package/dist/models/ArtifactDataThematicAnalysisData.d.ts +45 -0
- package/dist/models/ArtifactDataThematicAnalysisData.js +58 -0
- package/dist/models/ArtifactDataThematicAnalysisDataThemesInner.d.ts +38 -0
- package/dist/models/ArtifactDataThematicAnalysisDataThemesInner.js +55 -0
- package/dist/models/ArtifactKind.d.ts +24 -0
- package/dist/models/ArtifactKind.js +50 -0
- package/dist/models/ArtifactMetadata.d.ts +45 -0
- package/dist/models/ArtifactMetadata.js +56 -0
- package/dist/models/ArtifactMetadataStatus.d.ts +26 -0
- package/dist/models/ArtifactMetadataStatus.js +39 -0
- package/dist/models/Attribute.d.ts +13 -1
- package/dist/models/Attribute.js +9 -3
- package/dist/models/AttributeKind.d.ts +20 -1
- package/dist/models/AttributeKind.js +9 -2
- package/dist/models/AttributeKindGroup.d.ts +123 -0
- package/dist/models/AttributeKindGroup.js +102 -0
- package/dist/models/AttributeKindGroupPurpose.d.ts +25 -0
- package/dist/models/AttributeKindGroupPurpose.js +51 -0
- package/dist/models/AttributeKindGroupScope.d.ts +26 -0
- package/dist/models/AttributeKindGroupScope.js +52 -0
- package/dist/models/AttributeStatsSchemaInner.d.ts +7 -0
- package/dist/models/AttributeStatsSchemaInner.js +3 -0
- package/dist/models/AttributeStatsSchemaInnerGroup.d.ts +39 -0
- package/dist/models/AttributeStatsSchemaInnerGroup.js +56 -0
- package/dist/models/AttributeStatsSchemaInnerKind.d.ts +1 -1
- package/dist/models/AttributeStatsSchemaInnerKind.js +3 -3
- package/dist/models/AttributeStatsSchemaInnerValuesInner.d.ts +6 -0
- package/dist/models/AttributeStatsSchemaInnerValuesInner.js +4 -0
- package/dist/models/CallAnalysis.d.ts +38 -0
- package/dist/models/CallAnalysis.js +51 -0
- package/dist/models/CallMetadata.d.ts +7 -0
- package/dist/models/CallMetadata.js +3 -0
- package/dist/models/CreateArtifactRequest.d.ts +39 -0
- package/dist/models/CreateArtifactRequest.js +56 -0
- package/dist/models/CreateProjectPreviewInvite201Response.d.ts +45 -0
- package/dist/models/CreateProjectPreviewInvite201Response.js +56 -0
- package/dist/models/CreateProjectPreviewInviteRequest.d.ts +44 -0
- package/dist/models/CreateProjectPreviewInviteRequest.js +53 -0
- package/dist/models/DeleteArtifact200Response.d.ts +32 -0
- package/dist/models/DeleteArtifact200Response.js +51 -0
- package/dist/models/Evidence.d.ts +44 -0
- package/dist/models/Evidence.js +53 -0
- package/dist/models/GetProjects200Response.d.ts +51 -0
- package/dist/models/{ApiProjectsGet200Response.js → GetProjects200Response.js} +13 -13
- package/dist/models/InviteResponseAttribute.d.ts +4 -10
- package/dist/models/InviteResponseAttribute.js +6 -12
- package/dist/models/InviteResponseAttributeData.d.ts +39 -0
- package/dist/models/InviteResponseAttributeData.js +52 -0
- package/dist/models/InviteResponseWithMetadata.d.ts +39 -0
- package/dist/models/InviteResponseWithMetadata.js +56 -0
- package/dist/models/InviteResponseWithMetadataAttributesInner.d.ts +51 -0
- package/dist/models/InviteResponseWithMetadataAttributesInner.js +62 -0
- package/dist/models/InviteResponseWithMetadataAttributesInnerEvidence.d.ts +44 -0
- package/dist/models/InviteResponseWithMetadataAttributesInnerEvidence.js +53 -0
- package/dist/models/InviteStatus.d.ts +1 -0
- package/dist/models/InviteStatus.js +1 -0
- package/dist/models/Login200Response.d.ts +239 -0
- package/dist/models/Login200Response.js +154 -0
- package/dist/models/Login200ResponseAnyOf.d.ts +44 -0
- package/dist/models/Login200ResponseAnyOf.js +59 -0
- package/dist/models/Login400Response.d.ts +45 -0
- package/dist/models/Login400Response.js +58 -0
- package/dist/models/Login400ResponseAnyOf.d.ts +45 -0
- package/dist/models/Login400ResponseAnyOf.js +58 -0
- package/dist/models/Login400ResponseAnyOfError.d.ts +26 -0
- package/dist/models/Login400ResponseAnyOfError.js +39 -0
- package/dist/models/LoginRequest.d.ts +38 -0
- package/dist/models/LoginRequest.js +55 -0
- package/dist/models/ModelFile.d.ts +4 -4
- package/dist/models/ModelFile.js +6 -6
- package/dist/models/Moderator.d.ts +4 -4
- package/dist/models/Moderator.js +6 -6
- package/dist/models/NumberFilterSchema.d.ts +1 -1
- package/dist/models/NumberFilterSchema.js +3 -3
- package/dist/models/Org.d.ts +3 -37
- package/dist/models/Org.js +3 -17
- package/dist/models/OrgData.d.ts +32 -0
- package/dist/models/OrgData.js +49 -0
- package/dist/models/Participant.d.ts +4 -4
- package/dist/models/Participant.js +6 -6
- package/dist/models/ParticipantAttribute.d.ts +1 -14
- package/dist/models/ParticipantAttribute.js +3 -12
- package/dist/models/Project.d.ts +22 -8
- package/dist/models/Project.js +16 -10
- package/dist/models/ProjectAudience.d.ts +18 -0
- package/dist/models/ProjectAudience.js +6 -0
- package/dist/models/ProjectWithAnalytics.d.ts +23 -9
- package/dist/models/ProjectWithAnalytics.js +17 -11
- package/dist/models/ResetPasswordRequest.d.ts +38 -0
- package/dist/models/ResetPasswordRequest.js +55 -0
- package/dist/models/SearchResponseMessages200ResponseInner.d.ts +74 -0
- package/dist/models/{ApiCallMessagesSearchPost200ResponseInner.js → SearchResponseMessages200ResponseInner.js} +13 -13
- package/dist/models/SearchResponseMessagesRequest.d.ts +33 -0
- package/dist/models/SearchResponseMessagesRequest.js +52 -0
- package/dist/models/SearchResponseMessagesRequestInviteResponseMessagesInner.d.ts +38 -0
- package/dist/models/SearchResponseMessagesRequestInviteResponseMessagesInner.js +55 -0
- package/dist/models/SelectFilterSchema.d.ts +1 -1
- package/dist/models/SelectFilterSchema.js +3 -3
- package/dist/models/SignupRequest.d.ts +44 -0
- package/dist/models/SignupRequest.js +59 -0
- package/dist/models/ThematicAnalysisArtifactCreateData.d.ts +52 -0
- package/dist/models/ThematicAnalysisArtifactCreateData.js +61 -0
- package/dist/models/ThematicAnalysisArtifactCreateDataThemesInner.d.ts +45 -0
- package/dist/models/ThematicAnalysisArtifactCreateDataThemesInner.js +60 -0
- package/dist/models/ThematicAnalysisArtifactCreateDataThemesInnerCodesInner.d.ts +38 -0
- package/dist/models/ThematicAnalysisArtifactCreateDataThemesInnerCodesInner.js +55 -0
- package/dist/models/ThematicAnalysisResponseCode.d.ts +39 -0
- package/dist/models/ThematicAnalysisResponseCode.js +56 -0
- package/dist/models/ThematicAnalysisResponseCodeCodesInner.d.ts +45 -0
- package/dist/models/ThematicAnalysisResponseCodeCodesInner.js +60 -0
- package/dist/models/ThematicAnalysisResponseCodeCodesInnerEvidence.d.ts +44 -0
- package/dist/models/ThematicAnalysisResponseCodeCodesInnerEvidence.js +59 -0
- package/dist/models/Thread.d.ts +4 -4
- package/dist/models/Thread.js +6 -6
- package/dist/models/TokenKind.d.ts +26 -0
- package/dist/models/TokenKind.js +52 -0
- package/dist/models/Transcript.d.ts +6 -0
- package/dist/models/Transcript.js +4 -0
- package/dist/models/UpdateArtifactRequest.d.ts +40 -0
- package/dist/models/UpdateArtifactRequest.js +53 -0
- package/dist/models/User.d.ts +71 -6
- package/dist/models/User.js +32 -6
- package/dist/models/VerifyEmailRequest.d.ts +32 -0
- package/dist/models/VerifyEmailRequest.js +51 -0
- package/dist/models/Workspace.d.ts +106 -0
- package/dist/models/Workspace.js +87 -0
- package/dist/models/WorkspaceMember.d.ts +77 -0
- package/dist/models/WorkspaceMember.js +78 -0
- package/dist/models/WorkspaceMemberRole.d.ts +26 -0
- package/dist/models/WorkspaceMemberRole.js +52 -0
- package/dist/models/index.d.ts +48 -5
- package/dist/models/index.js +48 -5
- package/package.json +1 -1
- package/src/apis/DefaultApi.ts +1350 -306
- package/src/models/ApiProjectsProjectIdAnalysisPostRequest.ts +74 -0
- package/src/models/ApiProjectsProjectIdAnalysisPostRequestKind.ts +46 -0
- package/src/models/Artifact.ts +205 -0
- package/src/models/ArtifactDataThematicAnalysis.ts +93 -0
- package/src/models/ArtifactDataThematicAnalysisData.ts +91 -0
- package/src/models/ArtifactDataThematicAnalysisDataThemesInner.ts +75 -0
- package/src/models/ArtifactKind.ts +52 -0
- package/src/models/ArtifactMetadata.ts +90 -0
- package/src/models/ArtifactMetadataStatus.ts +46 -0
- package/src/models/Attribute.ts +21 -4
- package/src/models/AttributeKind.ts +34 -3
- package/src/models/AttributeKindGroup.ts +238 -0
- package/src/models/AttributeKindGroupPurpose.ts +53 -0
- package/src/models/AttributeKindGroupScope.ts +54 -0
- package/src/models/AttributeStatsSchemaInner.ts +15 -0
- package/src/models/AttributeStatsSchemaInnerGroup.ts +85 -0
- package/src/models/AttributeStatsSchemaInnerKind.ts +4 -4
- package/src/models/AttributeStatsSchemaInnerValuesInner.ts +9 -0
- package/src/models/CallAnalysis.ts +73 -0
- package/src/models/CallMetadata.ts +16 -0
- package/src/models/CreateArtifactRequest.ts +75 -0
- package/src/models/CreateProjectPreviewInvite201Response.ts +90 -0
- package/src/models/CreateProjectPreviewInviteRequest.ts +81 -0
- package/src/models/DeleteArtifact200Response.ts +66 -0
- package/src/models/Evidence.ts +81 -0
- package/src/models/{ApiProjectsGet200Response.ts → GetProjects200Response.ts} +14 -14
- package/src/models/InviteResponseAttribute.ts +15 -27
- package/src/models/InviteResponseAttributeData.ts +81 -0
- package/src/models/InviteResponseWithMetadata.ts +83 -0
- package/src/models/InviteResponseWithMetadataAttributesInner.ts +100 -0
- package/src/models/InviteResponseWithMetadataAttributesInnerEvidence.ts +81 -0
- package/src/models/InviteStatus.ts +1 -0
- package/src/models/Login200Response.ts +456 -0
- package/src/models/Login200ResponseAnyOf.ts +84 -0
- package/src/models/Login400Response.ts +105 -0
- package/src/models/Login400ResponseAnyOf.ts +91 -0
- package/src/models/Login400ResponseAnyOfError.ts +46 -0
- package/src/models/LoginRequest.ts +75 -0
- package/src/models/ModelFile.ts +15 -15
- package/src/models/Moderator.ts +15 -15
- package/src/models/NumberFilterSchema.ts +4 -4
- package/src/models/Org.ts +10 -78
- package/src/models/OrgData.ts +65 -0
- package/src/models/Participant.ts +15 -15
- package/src/models/ParticipantAttribute.ts +4 -31
- package/src/models/Project.ts +71 -41
- package/src/models/ProjectAudience.ts +24 -0
- package/src/models/ProjectWithAnalytics.ts +78 -48
- package/src/models/ResetPasswordRequest.ts +75 -0
- package/src/models/{ApiCallMessagesSearchPost200ResponseInner.ts → SearchResponseMessages200ResponseInner.ts} +18 -18
- package/src/models/SearchResponseMessagesRequest.ts +74 -0
- package/src/models/SearchResponseMessagesRequestInviteResponseMessagesInner.ts +75 -0
- package/src/models/SelectFilterSchema.ts +4 -4
- package/src/models/SignupRequest.ts +84 -0
- package/src/models/ThematicAnalysisArtifactCreateData.ts +106 -0
- package/src/models/ThematicAnalysisArtifactCreateDataThemesInner.ts +92 -0
- package/src/models/ThematicAnalysisArtifactCreateDataThemesInnerCodesInner.ts +75 -0
- package/src/models/ThematicAnalysisResponseCode.ts +83 -0
- package/src/models/ThematicAnalysisResponseCodeCodesInner.ts +92 -0
- package/src/models/ThematicAnalysisResponseCodeCodesInnerEvidence.ts +84 -0
- package/src/models/Thread.ts +15 -15
- package/src/models/TokenKind.ts +54 -0
- package/src/models/Transcript.ts +9 -0
- package/src/models/UpdateArtifactRequest.ts +88 -0
- package/src/models/User.ts +145 -30
- package/src/models/VerifyEmailRequest.ts +66 -0
- package/src/models/Workspace.ts +214 -0
- package/src/models/WorkspaceMember.ts +151 -0
- package/src/models/WorkspaceMemberRole.ts +54 -0
- package/src/models/index.ts +48 -5
- package/dist/models/ApiCallMessagesSearchPost200ResponseInner.d.ts +0 -74
- package/dist/models/ApiProjectsGet200Response.d.ts +0 -51
- package/dist/models/AttributeSource.d.ts +0 -25
- package/dist/models/AttributeSource.js +0 -51
- package/dist/models/DeleteEmailShare200Response.d.ts +0 -32
- package/dist/models/DeleteEmailShare200Response.js +0 -51
- package/dist/models/GetProjectResponsesResponse.d.ts +0 -51
- package/dist/models/GetProjectResponsesResponse.js +0 -64
- package/src/models/AttributeSource.ts +0 -53
- package/src/models/DeleteEmailShare200Response.ts +0 -66
- package/src/models/GetProjectResponsesResponse.ts +0 -101
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fastify Template API
|
|
3
|
+
* API documentation using Swagger
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const ArtifactKind: {
|
|
17
|
+
readonly ThematicAnalysis: "thematic_analysis";
|
|
18
|
+
};
|
|
19
|
+
export type ArtifactKind = typeof ArtifactKind[keyof typeof ArtifactKind];
|
|
20
|
+
export declare function instanceOfArtifactKind(value: any): boolean;
|
|
21
|
+
export declare function ArtifactKindFromJSON(json: any): ArtifactKind;
|
|
22
|
+
export declare function ArtifactKindFromJSONTyped(json: any, ignoreDiscriminator: boolean): ArtifactKind;
|
|
23
|
+
export declare function ArtifactKindToJSON(value?: ArtifactKind | null): any;
|
|
24
|
+
export declare function ArtifactKindToJSONTyped(value: any, ignoreDiscriminator: boolean): ArtifactKind;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Fastify Template API
|
|
6
|
+
* API documentation using Swagger
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ArtifactKind = void 0;
|
|
17
|
+
exports.instanceOfArtifactKind = instanceOfArtifactKind;
|
|
18
|
+
exports.ArtifactKindFromJSON = ArtifactKindFromJSON;
|
|
19
|
+
exports.ArtifactKindFromJSONTyped = ArtifactKindFromJSONTyped;
|
|
20
|
+
exports.ArtifactKindToJSON = ArtifactKindToJSON;
|
|
21
|
+
exports.ArtifactKindToJSONTyped = ArtifactKindToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.ArtifactKind = {
|
|
27
|
+
ThematicAnalysis: 'thematic_analysis'
|
|
28
|
+
};
|
|
29
|
+
function instanceOfArtifactKind(value) {
|
|
30
|
+
for (var key in exports.ArtifactKind) {
|
|
31
|
+
if (Object.prototype.hasOwnProperty.call(exports.ArtifactKind, key)) {
|
|
32
|
+
if (exports.ArtifactKind[key] === value) {
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
return false;
|
|
38
|
+
}
|
|
39
|
+
function ArtifactKindFromJSON(json) {
|
|
40
|
+
return ArtifactKindFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function ArtifactKindFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
function ArtifactKindToJSON(value) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
function ArtifactKindToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fastify Template API
|
|
3
|
+
* API documentation using Swagger
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ArtifactMetadataStatus } from './ArtifactMetadataStatus';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ArtifactMetadata
|
|
17
|
+
*/
|
|
18
|
+
export interface ArtifactMetadata {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {ArtifactMetadataStatus}
|
|
22
|
+
* @memberof ArtifactMetadata
|
|
23
|
+
*/
|
|
24
|
+
status: ArtifactMetadataStatus;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ArtifactMetadata
|
|
29
|
+
*/
|
|
30
|
+
statusMessage?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof ArtifactMetadata
|
|
35
|
+
*/
|
|
36
|
+
progress?: number;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the ArtifactMetadata interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfArtifactMetadata(value: object): value is ArtifactMetadata;
|
|
42
|
+
export declare function ArtifactMetadataFromJSON(json: any): ArtifactMetadata;
|
|
43
|
+
export declare function ArtifactMetadataFromJSONTyped(json: any, ignoreDiscriminator: boolean): ArtifactMetadata;
|
|
44
|
+
export declare function ArtifactMetadataToJSON(json: any): ArtifactMetadata;
|
|
45
|
+
export declare function ArtifactMetadataToJSONTyped(value?: ArtifactMetadata | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Fastify Template API
|
|
6
|
+
* API documentation using Swagger
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfArtifactMetadata = instanceOfArtifactMetadata;
|
|
17
|
+
exports.ArtifactMetadataFromJSON = ArtifactMetadataFromJSON;
|
|
18
|
+
exports.ArtifactMetadataFromJSONTyped = ArtifactMetadataFromJSONTyped;
|
|
19
|
+
exports.ArtifactMetadataToJSON = ArtifactMetadataToJSON;
|
|
20
|
+
exports.ArtifactMetadataToJSONTyped = ArtifactMetadataToJSONTyped;
|
|
21
|
+
var ArtifactMetadataStatus_1 = require("./ArtifactMetadataStatus");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ArtifactMetadata interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfArtifactMetadata(value) {
|
|
26
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function ArtifactMetadataFromJSON(json) {
|
|
31
|
+
return ArtifactMetadataFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function ArtifactMetadataFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'status': (0, ArtifactMetadataStatus_1.ArtifactMetadataStatusFromJSON)(json['status']),
|
|
39
|
+
'statusMessage': json['statusMessage'] == null ? undefined : json['statusMessage'],
|
|
40
|
+
'progress': json['progress'] == null ? undefined : json['progress'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function ArtifactMetadataToJSON(json) {
|
|
44
|
+
return ArtifactMetadataToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function ArtifactMetadataToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'status': (0, ArtifactMetadataStatus_1.ArtifactMetadataStatusToJSON)(value['status']),
|
|
53
|
+
'statusMessage': value['statusMessage'],
|
|
54
|
+
'progress': value['progress'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fastify Template API
|
|
3
|
+
* API documentation using Swagger
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ArtifactMetadataStatus
|
|
16
|
+
*/
|
|
17
|
+
export interface ArtifactMetadataStatus {
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the ArtifactMetadataStatus interface.
|
|
21
|
+
*/
|
|
22
|
+
export declare function instanceOfArtifactMetadataStatus(value: object): value is ArtifactMetadataStatus;
|
|
23
|
+
export declare function ArtifactMetadataStatusFromJSON(json: any): ArtifactMetadataStatus;
|
|
24
|
+
export declare function ArtifactMetadataStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): ArtifactMetadataStatus;
|
|
25
|
+
export declare function ArtifactMetadataStatusToJSON(json: any): ArtifactMetadataStatus;
|
|
26
|
+
export declare function ArtifactMetadataStatusToJSONTyped(value?: ArtifactMetadataStatus | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Fastify Template API
|
|
6
|
+
* API documentation using Swagger
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfArtifactMetadataStatus = instanceOfArtifactMetadataStatus;
|
|
17
|
+
exports.ArtifactMetadataStatusFromJSON = ArtifactMetadataStatusFromJSON;
|
|
18
|
+
exports.ArtifactMetadataStatusFromJSONTyped = ArtifactMetadataStatusFromJSONTyped;
|
|
19
|
+
exports.ArtifactMetadataStatusToJSON = ArtifactMetadataStatusToJSON;
|
|
20
|
+
exports.ArtifactMetadataStatusToJSONTyped = ArtifactMetadataStatusToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ArtifactMetadataStatus interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfArtifactMetadataStatus(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function ArtifactMetadataStatusFromJSON(json) {
|
|
28
|
+
return ArtifactMetadataStatusFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function ArtifactMetadataStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
function ArtifactMetadataStatusToJSON(json) {
|
|
34
|
+
return ArtifactMetadataStatusToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function ArtifactMetadataStatusToJSONTyped(value, ignoreDiscriminator) {
|
|
37
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
@@ -23,13 +23,25 @@ export interface Attribute {
|
|
|
23
23
|
* @type {string}
|
|
24
24
|
* @memberof Attribute
|
|
25
25
|
*/
|
|
26
|
-
|
|
26
|
+
id: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof Attribute
|
|
31
|
+
*/
|
|
32
|
+
attributeKindId: string;
|
|
27
33
|
/**
|
|
28
34
|
*
|
|
29
35
|
* @type {string}
|
|
30
36
|
* @memberof Attribute
|
|
31
37
|
*/
|
|
32
38
|
value: string;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof Attribute
|
|
43
|
+
*/
|
|
44
|
+
description?: string | null;
|
|
33
45
|
/**
|
|
34
46
|
*
|
|
35
47
|
* @type {Date}
|
package/dist/models/Attribute.js
CHANGED
|
@@ -25,7 +25,9 @@ var AttributeKind_1 = require("./AttributeKind");
|
|
|
25
25
|
* Check if a given object implements the Attribute interface.
|
|
26
26
|
*/
|
|
27
27
|
function instanceOfAttribute(value) {
|
|
28
|
-
if (!('
|
|
28
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('attributeKindId' in value) || value['attributeKindId'] === undefined)
|
|
29
31
|
return false;
|
|
30
32
|
if (!('value' in value) || value['value'] === undefined)
|
|
31
33
|
return false;
|
|
@@ -41,8 +43,10 @@ function AttributeFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
43
|
return json;
|
|
42
44
|
}
|
|
43
45
|
return {
|
|
44
|
-
'
|
|
46
|
+
'id': json['id'],
|
|
47
|
+
'attributeKindId': json['attributeKindId'],
|
|
45
48
|
'value': json['value'],
|
|
49
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
46
50
|
'createdAt': (new Date(json['createdAt'])),
|
|
47
51
|
'attributeKind': json['attributeKind'] == null ? undefined : (0, AttributeKind_1.AttributeKindFromJSON)(json['attributeKind']),
|
|
48
52
|
'participantAttributes': json['participantAttributes'] == null ? undefined : (json['participantAttributes'].map(ParticipantAttribute_1.ParticipantAttributeFromJSON)),
|
|
@@ -58,8 +62,10 @@ function AttributeToJSONTyped(value, ignoreDiscriminator) {
|
|
|
58
62
|
return value;
|
|
59
63
|
}
|
|
60
64
|
return {
|
|
61
|
-
'
|
|
65
|
+
'id': value['id'],
|
|
66
|
+
'attributeKindId': value['attributeKindId'],
|
|
62
67
|
'value': value['value'],
|
|
68
|
+
'description': value['description'],
|
|
63
69
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
64
70
|
'attributeKind': (0, AttributeKind_1.AttributeKindToJSON)(value['attributeKind']),
|
|
65
71
|
'participantAttributes': value['participantAttributes'] == null ? undefined : (value['participantAttributes'].map(ParticipantAttribute_1.ParticipantAttributeToJSON)),
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { Attribute } from './Attribute';
|
|
13
|
+
import type { AttributeKindGroup } from './AttributeKindGroup';
|
|
13
14
|
import type { AttributeValueKind } from './AttributeValueKind';
|
|
14
15
|
/**
|
|
15
16
|
*
|
|
@@ -22,7 +23,13 @@ export interface AttributeKind {
|
|
|
22
23
|
* @type {string}
|
|
23
24
|
* @memberof AttributeKind
|
|
24
25
|
*/
|
|
25
|
-
|
|
26
|
+
id: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof AttributeKind
|
|
31
|
+
*/
|
|
32
|
+
key?: string | null;
|
|
26
33
|
/**
|
|
27
34
|
*
|
|
28
35
|
* @type {string}
|
|
@@ -59,12 +66,24 @@ export interface AttributeKind {
|
|
|
59
66
|
* @memberof AttributeKind
|
|
60
67
|
*/
|
|
61
68
|
updatedAt: Date;
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @type {string}
|
|
72
|
+
* @memberof AttributeKind
|
|
73
|
+
*/
|
|
74
|
+
attributeKindGroupId?: string | null;
|
|
62
75
|
/**
|
|
63
76
|
*
|
|
64
77
|
* @type {Array<Attribute>}
|
|
65
78
|
* @memberof AttributeKind
|
|
66
79
|
*/
|
|
67
80
|
attributes?: Array<Attribute>;
|
|
81
|
+
/**
|
|
82
|
+
*
|
|
83
|
+
* @type {AttributeKindGroup}
|
|
84
|
+
* @memberof AttributeKind
|
|
85
|
+
*/
|
|
86
|
+
attributeKindGroup?: AttributeKindGroup | null;
|
|
68
87
|
}
|
|
69
88
|
/**
|
|
70
89
|
* Check if a given object implements the AttributeKind interface.
|
|
@@ -19,12 +19,13 @@ exports.AttributeKindFromJSONTyped = AttributeKindFromJSONTyped;
|
|
|
19
19
|
exports.AttributeKindToJSON = AttributeKindToJSON;
|
|
20
20
|
exports.AttributeKindToJSONTyped = AttributeKindToJSONTyped;
|
|
21
21
|
var Attribute_1 = require("./Attribute");
|
|
22
|
+
var AttributeKindGroup_1 = require("./AttributeKindGroup");
|
|
22
23
|
var AttributeValueKind_1 = require("./AttributeValueKind");
|
|
23
24
|
/**
|
|
24
25
|
* Check if a given object implements the AttributeKind interface.
|
|
25
26
|
*/
|
|
26
27
|
function instanceOfAttributeKind(value) {
|
|
27
|
-
if (!('
|
|
28
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
28
29
|
return false;
|
|
29
30
|
if (!('label' in value) || value['label'] === undefined)
|
|
30
31
|
return false;
|
|
@@ -44,14 +45,17 @@ function AttributeKindFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
44
45
|
return json;
|
|
45
46
|
}
|
|
46
47
|
return {
|
|
47
|
-
'
|
|
48
|
+
'id': json['id'],
|
|
49
|
+
'key': json['key'] == null ? undefined : json['key'],
|
|
48
50
|
'label': json['label'],
|
|
49
51
|
'valueKind': (0, AttributeValueKind_1.AttributeValueKindFromJSON)(json['valueKind']),
|
|
50
52
|
'description': json['description'] == null ? undefined : json['description'],
|
|
51
53
|
'category': json['category'] == null ? undefined : json['category'],
|
|
52
54
|
'createdAt': (new Date(json['createdAt'])),
|
|
53
55
|
'updatedAt': (new Date(json['updatedAt'])),
|
|
56
|
+
'attributeKindGroupId': json['attributeKindGroupId'] == null ? undefined : json['attributeKindGroupId'],
|
|
54
57
|
'attributes': json['attributes'] == null ? undefined : (json['attributes'].map(Attribute_1.AttributeFromJSON)),
|
|
58
|
+
'attributeKindGroup': json['attributeKindGroup'] == null ? undefined : (0, AttributeKindGroup_1.AttributeKindGroupFromJSON)(json['attributeKindGroup']),
|
|
55
59
|
};
|
|
56
60
|
}
|
|
57
61
|
function AttributeKindToJSON(json) {
|
|
@@ -63,6 +67,7 @@ function AttributeKindToJSONTyped(value, ignoreDiscriminator) {
|
|
|
63
67
|
return value;
|
|
64
68
|
}
|
|
65
69
|
return {
|
|
70
|
+
'id': value['id'],
|
|
66
71
|
'key': value['key'],
|
|
67
72
|
'label': value['label'],
|
|
68
73
|
'valueKind': (0, AttributeValueKind_1.AttributeValueKindToJSON)(value['valueKind']),
|
|
@@ -70,6 +75,8 @@ function AttributeKindToJSONTyped(value, ignoreDiscriminator) {
|
|
|
70
75
|
'category': value['category'],
|
|
71
76
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
72
77
|
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
78
|
+
'attributeKindGroupId': value['attributeKindGroupId'],
|
|
73
79
|
'attributes': value['attributes'] == null ? undefined : (value['attributes'].map(Attribute_1.AttributeToJSON)),
|
|
80
|
+
'attributeKindGroup': (0, AttributeKindGroup_1.AttributeKindGroupToJSON)(value['attributeKindGroup']),
|
|
74
81
|
};
|
|
75
82
|
}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fastify Template API
|
|
3
|
+
* API documentation using Swagger
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Project } from './Project';
|
|
13
|
+
import type { User } from './User';
|
|
14
|
+
import type { AttributeKindGroupPurpose } from './AttributeKindGroupPurpose';
|
|
15
|
+
import type { AttributeKindGroupScope } from './AttributeKindGroupScope';
|
|
16
|
+
import type { AttributeKind } from './AttributeKind';
|
|
17
|
+
import type { Artifact } from './Artifact';
|
|
18
|
+
import type { Workspace } from './Workspace';
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
* @interface AttributeKindGroup
|
|
23
|
+
*/
|
|
24
|
+
export interface AttributeKindGroup {
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof AttributeKindGroup
|
|
29
|
+
*/
|
|
30
|
+
id: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof AttributeKindGroup
|
|
35
|
+
*/
|
|
36
|
+
name: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof AttributeKindGroup
|
|
41
|
+
*/
|
|
42
|
+
description?: string | null;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {AttributeKindGroupScope}
|
|
46
|
+
* @memberof AttributeKindGroup
|
|
47
|
+
*/
|
|
48
|
+
scope: AttributeKindGroupScope;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {AttributeKindGroupPurpose}
|
|
52
|
+
* @memberof AttributeKindGroup
|
|
53
|
+
*/
|
|
54
|
+
purpose: AttributeKindGroupPurpose;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof AttributeKindGroup
|
|
59
|
+
*/
|
|
60
|
+
workspaceId: string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof AttributeKindGroup
|
|
65
|
+
*/
|
|
66
|
+
projectId: string;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof AttributeKindGroup
|
|
71
|
+
*/
|
|
72
|
+
createdById: string;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {Date}
|
|
76
|
+
* @memberof AttributeKindGroup
|
|
77
|
+
*/
|
|
78
|
+
createdAt: Date;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {Date}
|
|
82
|
+
* @memberof AttributeKindGroup
|
|
83
|
+
*/
|
|
84
|
+
updatedAt: Date;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* @type {Workspace}
|
|
88
|
+
* @memberof AttributeKindGroup
|
|
89
|
+
*/
|
|
90
|
+
workspace?: Workspace;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @type {Project}
|
|
94
|
+
* @memberof AttributeKindGroup
|
|
95
|
+
*/
|
|
96
|
+
project?: Project;
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
* @type {User}
|
|
100
|
+
* @memberof AttributeKindGroup
|
|
101
|
+
*/
|
|
102
|
+
createdBy?: User;
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @type {Array<AttributeKind>}
|
|
106
|
+
* @memberof AttributeKindGroup
|
|
107
|
+
*/
|
|
108
|
+
attributeKinds?: Array<AttributeKind>;
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
* @type {Array<Artifact>}
|
|
112
|
+
* @memberof AttributeKindGroup
|
|
113
|
+
*/
|
|
114
|
+
artifacts?: Array<Artifact>;
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* Check if a given object implements the AttributeKindGroup interface.
|
|
118
|
+
*/
|
|
119
|
+
export declare function instanceOfAttributeKindGroup(value: object): value is AttributeKindGroup;
|
|
120
|
+
export declare function AttributeKindGroupFromJSON(json: any): AttributeKindGroup;
|
|
121
|
+
export declare function AttributeKindGroupFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttributeKindGroup;
|
|
122
|
+
export declare function AttributeKindGroupToJSON(json: any): AttributeKindGroup;
|
|
123
|
+
export declare function AttributeKindGroupToJSONTyped(value?: AttributeKindGroup | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Fastify Template API
|
|
6
|
+
* API documentation using Swagger
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfAttributeKindGroup = instanceOfAttributeKindGroup;
|
|
17
|
+
exports.AttributeKindGroupFromJSON = AttributeKindGroupFromJSON;
|
|
18
|
+
exports.AttributeKindGroupFromJSONTyped = AttributeKindGroupFromJSONTyped;
|
|
19
|
+
exports.AttributeKindGroupToJSON = AttributeKindGroupToJSON;
|
|
20
|
+
exports.AttributeKindGroupToJSONTyped = AttributeKindGroupToJSONTyped;
|
|
21
|
+
var Project_1 = require("./Project");
|
|
22
|
+
var User_1 = require("./User");
|
|
23
|
+
var AttributeKindGroupPurpose_1 = require("./AttributeKindGroupPurpose");
|
|
24
|
+
var AttributeKindGroupScope_1 = require("./AttributeKindGroupScope");
|
|
25
|
+
var AttributeKind_1 = require("./AttributeKind");
|
|
26
|
+
var Artifact_1 = require("./Artifact");
|
|
27
|
+
var Workspace_1 = require("./Workspace");
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the AttributeKindGroup interface.
|
|
30
|
+
*/
|
|
31
|
+
function instanceOfAttributeKindGroup(value) {
|
|
32
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('scope' in value) || value['scope'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('purpose' in value) || value['purpose'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('workspaceId' in value) || value['workspaceId'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('projectId' in value) || value['projectId'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('createdById' in value) || value['createdById'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
49
|
+
return false;
|
|
50
|
+
return true;
|
|
51
|
+
}
|
|
52
|
+
function AttributeKindGroupFromJSON(json) {
|
|
53
|
+
return AttributeKindGroupFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function AttributeKindGroupFromJSONTyped(json, ignoreDiscriminator) {
|
|
56
|
+
if (json == null) {
|
|
57
|
+
return json;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'id': json['id'],
|
|
61
|
+
'name': json['name'],
|
|
62
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
63
|
+
'scope': (0, AttributeKindGroupScope_1.AttributeKindGroupScopeFromJSON)(json['scope']),
|
|
64
|
+
'purpose': (0, AttributeKindGroupPurpose_1.AttributeKindGroupPurposeFromJSON)(json['purpose']),
|
|
65
|
+
'workspaceId': json['workspaceId'],
|
|
66
|
+
'projectId': json['projectId'],
|
|
67
|
+
'createdById': json['createdById'],
|
|
68
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
69
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
70
|
+
'workspace': json['workspace'] == null ? undefined : (0, Workspace_1.WorkspaceFromJSON)(json['workspace']),
|
|
71
|
+
'project': json['project'] == null ? undefined : (0, Project_1.ProjectFromJSON)(json['project']),
|
|
72
|
+
'createdBy': json['createdBy'] == null ? undefined : (0, User_1.UserFromJSON)(json['createdBy']),
|
|
73
|
+
'attributeKinds': json['attributeKinds'] == null ? undefined : (json['attributeKinds'].map(AttributeKind_1.AttributeKindFromJSON)),
|
|
74
|
+
'artifacts': json['artifacts'] == null ? undefined : (json['artifacts'].map(Artifact_1.ArtifactFromJSON)),
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
function AttributeKindGroupToJSON(json) {
|
|
78
|
+
return AttributeKindGroupToJSONTyped(json, false);
|
|
79
|
+
}
|
|
80
|
+
function AttributeKindGroupToJSONTyped(value, ignoreDiscriminator) {
|
|
81
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
82
|
+
if (value == null) {
|
|
83
|
+
return value;
|
|
84
|
+
}
|
|
85
|
+
return {
|
|
86
|
+
'id': value['id'],
|
|
87
|
+
'name': value['name'],
|
|
88
|
+
'description': value['description'],
|
|
89
|
+
'scope': (0, AttributeKindGroupScope_1.AttributeKindGroupScopeToJSON)(value['scope']),
|
|
90
|
+
'purpose': (0, AttributeKindGroupPurpose_1.AttributeKindGroupPurposeToJSON)(value['purpose']),
|
|
91
|
+
'workspaceId': value['workspaceId'],
|
|
92
|
+
'projectId': value['projectId'],
|
|
93
|
+
'createdById': value['createdById'],
|
|
94
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
95
|
+
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
96
|
+
'workspace': (0, Workspace_1.WorkspaceToJSON)(value['workspace']),
|
|
97
|
+
'project': (0, Project_1.ProjectToJSON)(value['project']),
|
|
98
|
+
'createdBy': (0, User_1.UserToJSON)(value['createdBy']),
|
|
99
|
+
'attributeKinds': value['attributeKinds'] == null ? undefined : (value['attributeKinds'].map(AttributeKind_1.AttributeKindToJSON)),
|
|
100
|
+
'artifacts': value['artifacts'] == null ? undefined : (value['artifacts'].map(Artifact_1.ArtifactToJSON)),
|
|
101
|
+
};
|
|
102
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fastify Template API
|
|
3
|
+
* API documentation using Swagger
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const AttributeKindGroupPurpose: {
|
|
17
|
+
readonly ScreenerResponse: "screener_response";
|
|
18
|
+
readonly Codebook: "codebook";
|
|
19
|
+
};
|
|
20
|
+
export type AttributeKindGroupPurpose = typeof AttributeKindGroupPurpose[keyof typeof AttributeKindGroupPurpose];
|
|
21
|
+
export declare function instanceOfAttributeKindGroupPurpose(value: any): boolean;
|
|
22
|
+
export declare function AttributeKindGroupPurposeFromJSON(json: any): AttributeKindGroupPurpose;
|
|
23
|
+
export declare function AttributeKindGroupPurposeFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttributeKindGroupPurpose;
|
|
24
|
+
export declare function AttributeKindGroupPurposeToJSON(value?: AttributeKindGroupPurpose | null): any;
|
|
25
|
+
export declare function AttributeKindGroupPurposeToJSONTyped(value: any, ignoreDiscriminator: boolean): AttributeKindGroupPurpose;
|