keplar-api 0.0.11 → 0.0.13

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.
Files changed (161) hide show
  1. package/.openapi-generator/FILES +32 -5
  2. package/README.md +2 -2
  3. package/dist/apis/DefaultApi.d.ts +125 -10
  4. package/dist/apis/DefaultApi.js +560 -3
  5. package/dist/models/ApiProjectsProjectIdAnalysisPostRequest.d.ts +33 -0
  6. package/dist/models/ApiProjectsProjectIdAnalysisPostRequest.js +52 -0
  7. package/dist/models/ApiProjectsProjectIdAnalysisPostRequestKind.d.ts +26 -0
  8. package/dist/models/ApiProjectsProjectIdAnalysisPostRequestKind.js +39 -0
  9. package/dist/models/Artifact.d.ts +104 -0
  10. package/dist/models/Artifact.js +91 -0
  11. package/dist/models/ArtifactDataThematicAnalysis.d.ts +46 -0
  12. package/dist/models/ArtifactDataThematicAnalysis.js +63 -0
  13. package/dist/models/ArtifactDataThematicAnalysisData.d.ts +45 -0
  14. package/dist/models/ArtifactDataThematicAnalysisData.js +58 -0
  15. package/dist/models/ArtifactDataThematicAnalysisDataThemesInner.d.ts +38 -0
  16. package/dist/models/ArtifactDataThematicAnalysisDataThemesInner.js +55 -0
  17. package/dist/models/ArtifactKind.d.ts +24 -0
  18. package/dist/models/ArtifactKind.js +50 -0
  19. package/dist/models/ArtifactMetadata.d.ts +45 -0
  20. package/dist/models/ArtifactMetadata.js +56 -0
  21. package/dist/models/ArtifactMetadataStatus.d.ts +26 -0
  22. package/dist/models/ArtifactMetadataStatus.js +39 -0
  23. package/dist/models/Attribute.d.ts +13 -1
  24. package/dist/models/Attribute.js +9 -3
  25. package/dist/models/AttributeKind.d.ts +20 -1
  26. package/dist/models/AttributeKind.js +9 -2
  27. package/dist/models/AttributeKindGroup.d.ts +123 -0
  28. package/dist/models/AttributeKindGroup.js +102 -0
  29. package/dist/models/AttributeKindGroupPurpose.d.ts +25 -0
  30. package/dist/models/AttributeKindGroupPurpose.js +51 -0
  31. package/dist/models/AttributeKindGroupScope.d.ts +26 -0
  32. package/dist/models/AttributeKindGroupScope.js +52 -0
  33. package/dist/models/AttributeStatsSchemaInner.d.ts +7 -0
  34. package/dist/models/AttributeStatsSchemaInner.js +3 -0
  35. package/dist/models/AttributeStatsSchemaInnerGroup.d.ts +39 -0
  36. package/dist/models/AttributeStatsSchemaInnerGroup.js +56 -0
  37. package/dist/models/AttributeStatsSchemaInnerKind.d.ts +1 -1
  38. package/dist/models/AttributeStatsSchemaInnerKind.js +3 -3
  39. package/dist/models/AttributeStatsSchemaInnerValuesInner.d.ts +6 -0
  40. package/dist/models/AttributeStatsSchemaInnerValuesInner.js +4 -0
  41. package/dist/models/CallAnalysis.d.ts +38 -0
  42. package/dist/models/CallAnalysis.js +51 -0
  43. package/dist/models/CallMetadata.d.ts +7 -0
  44. package/dist/models/CallMetadata.js +3 -0
  45. package/dist/models/CreateArtifactRequest.d.ts +39 -0
  46. package/dist/models/CreateArtifactRequest.js +56 -0
  47. package/dist/models/DeleteArtifact200Response.d.ts +32 -0
  48. package/dist/models/DeleteArtifact200Response.js +51 -0
  49. package/dist/models/Evidence.d.ts +44 -0
  50. package/dist/models/Evidence.js +53 -0
  51. package/dist/models/GetProjectShares200Response.d.ts +39 -0
  52. package/dist/models/{GetShareEntities200Response.js → GetProjectShares200Response.js} +13 -13
  53. package/dist/models/InviteResponseAttribute.d.ts +4 -10
  54. package/dist/models/InviteResponseAttribute.js +6 -12
  55. package/dist/models/InviteResponseAttributeData.d.ts +39 -0
  56. package/dist/models/InviteResponseAttributeData.js +52 -0
  57. package/dist/models/InviteResponseWithMetadata.d.ts +39 -0
  58. package/dist/models/InviteResponseWithMetadata.js +56 -0
  59. package/dist/models/InviteResponseWithMetadataAttributesInner.d.ts +51 -0
  60. package/dist/models/InviteResponseWithMetadataAttributesInner.js +62 -0
  61. package/dist/models/InviteResponseWithMetadataAttributesInnerEvidence.d.ts +44 -0
  62. package/dist/models/InviteResponseWithMetadataAttributesInnerEvidence.js +53 -0
  63. package/dist/models/NumberFilterSchema.d.ts +1 -1
  64. package/dist/models/NumberFilterSchema.js +3 -3
  65. package/dist/models/Org.d.ts +7 -0
  66. package/dist/models/Org.js +3 -0
  67. package/dist/models/ParticipantAttribute.d.ts +1 -14
  68. package/dist/models/ParticipantAttribute.js +3 -12
  69. package/dist/models/Project.d.ts +19 -5
  70. package/dist/models/Project.js +11 -5
  71. package/dist/models/ProjectWithAnalytics.d.ts +19 -5
  72. package/dist/models/ProjectWithAnalytics.js +11 -5
  73. package/dist/models/SearchResponseMessages200ResponseInner.d.ts +74 -0
  74. package/dist/models/{ApiCallMessagesSearchPost200ResponseInner.js → SearchResponseMessages200ResponseInner.js} +13 -13
  75. package/dist/models/SearchResponseMessagesRequest.d.ts +33 -0
  76. package/dist/models/SearchResponseMessagesRequest.js +52 -0
  77. package/dist/models/SearchResponseMessagesRequestInviteResponseMessagesInner.d.ts +38 -0
  78. package/dist/models/SearchResponseMessagesRequestInviteResponseMessagesInner.js +55 -0
  79. package/dist/models/SelectFilterSchema.d.ts +1 -1
  80. package/dist/models/SelectFilterSchema.js +3 -3
  81. package/dist/models/ThematicAnalysisArtifactCreateData.d.ts +52 -0
  82. package/dist/models/ThematicAnalysisArtifactCreateData.js +61 -0
  83. package/dist/models/ThematicAnalysisArtifactCreateDataThemesInner.d.ts +45 -0
  84. package/dist/models/ThematicAnalysisArtifactCreateDataThemesInner.js +60 -0
  85. package/dist/models/ThematicAnalysisArtifactCreateDataThemesInnerCodesInner.d.ts +38 -0
  86. package/dist/models/ThematicAnalysisArtifactCreateDataThemesInnerCodesInner.js +55 -0
  87. package/dist/models/ThematicAnalysisResponseCode.d.ts +39 -0
  88. package/dist/models/ThematicAnalysisResponseCode.js +56 -0
  89. package/dist/models/ThematicAnalysisResponseCodeCodesInner.d.ts +45 -0
  90. package/dist/models/ThematicAnalysisResponseCodeCodesInner.js +60 -0
  91. package/dist/models/ThematicAnalysisResponseCodeCodesInnerEvidence.d.ts +44 -0
  92. package/dist/models/ThematicAnalysisResponseCodeCodesInnerEvidence.js +59 -0
  93. package/dist/models/Transcript.d.ts +6 -0
  94. package/dist/models/Transcript.js +4 -0
  95. package/dist/models/UpdateArtifactRequest.d.ts +40 -0
  96. package/dist/models/UpdateArtifactRequest.js +53 -0
  97. package/dist/models/User.d.ts +14 -0
  98. package/dist/models/User.js +6 -0
  99. package/dist/models/index.d.ts +32 -5
  100. package/dist/models/index.js +32 -5
  101. package/package.json +1 -1
  102. package/src/apis/DefaultApi.ts +582 -21
  103. package/src/models/ApiProjectsProjectIdAnalysisPostRequest.ts +74 -0
  104. package/src/models/ApiProjectsProjectIdAnalysisPostRequestKind.ts +46 -0
  105. package/src/models/Artifact.ts +205 -0
  106. package/src/models/ArtifactDataThematicAnalysis.ts +93 -0
  107. package/src/models/ArtifactDataThematicAnalysisData.ts +91 -0
  108. package/src/models/ArtifactDataThematicAnalysisDataThemesInner.ts +75 -0
  109. package/src/models/ArtifactKind.ts +52 -0
  110. package/src/models/ArtifactMetadata.ts +90 -0
  111. package/src/models/ArtifactMetadataStatus.ts +46 -0
  112. package/src/models/Attribute.ts +21 -4
  113. package/src/models/AttributeKind.ts +34 -3
  114. package/src/models/AttributeKindGroup.ts +238 -0
  115. package/src/models/AttributeKindGroupPurpose.ts +53 -0
  116. package/src/models/AttributeKindGroupScope.ts +54 -0
  117. package/src/models/AttributeStatsSchemaInner.ts +15 -0
  118. package/src/models/AttributeStatsSchemaInnerGroup.ts +85 -0
  119. package/src/models/AttributeStatsSchemaInnerKind.ts +4 -4
  120. package/src/models/AttributeStatsSchemaInnerValuesInner.ts +9 -0
  121. package/src/models/CallAnalysis.ts +73 -0
  122. package/src/models/CallMetadata.ts +16 -0
  123. package/src/models/CreateArtifactRequest.ts +75 -0
  124. package/src/models/DeleteArtifact200Response.ts +66 -0
  125. package/src/models/Evidence.ts +81 -0
  126. package/src/models/{GetShareEntities200Response.ts → GetProjectShares200Response.ts} +12 -12
  127. package/src/models/InviteResponseAttribute.ts +15 -27
  128. package/src/models/InviteResponseAttributeData.ts +81 -0
  129. package/src/models/InviteResponseWithMetadata.ts +83 -0
  130. package/src/models/InviteResponseWithMetadataAttributesInner.ts +100 -0
  131. package/src/models/InviteResponseWithMetadataAttributesInnerEvidence.ts +81 -0
  132. package/src/models/NumberFilterSchema.ts +4 -4
  133. package/src/models/Org.ts +15 -0
  134. package/src/models/ParticipantAttribute.ts +4 -31
  135. package/src/models/Project.ts +64 -34
  136. package/src/models/ProjectWithAnalytics.ts +65 -35
  137. package/src/models/{ApiCallMessagesSearchPost200ResponseInner.ts → SearchResponseMessages200ResponseInner.ts} +18 -18
  138. package/src/models/SearchResponseMessagesRequest.ts +74 -0
  139. package/src/models/SearchResponseMessagesRequestInviteResponseMessagesInner.ts +75 -0
  140. package/src/models/SelectFilterSchema.ts +4 -4
  141. package/src/models/ThematicAnalysisArtifactCreateData.ts +106 -0
  142. package/src/models/ThematicAnalysisArtifactCreateDataThemesInner.ts +92 -0
  143. package/src/models/ThematicAnalysisArtifactCreateDataThemesInnerCodesInner.ts +75 -0
  144. package/src/models/ThematicAnalysisResponseCode.ts +83 -0
  145. package/src/models/ThematicAnalysisResponseCodeCodesInner.ts +92 -0
  146. package/src/models/ThematicAnalysisResponseCodeCodesInnerEvidence.ts +84 -0
  147. package/src/models/Transcript.ts +9 -0
  148. package/src/models/UpdateArtifactRequest.ts +88 -0
  149. package/src/models/User.ts +30 -0
  150. package/src/models/index.ts +32 -5
  151. package/dist/models/ApiCallMessagesSearchPost200ResponseInner.d.ts +0 -74
  152. package/dist/models/AttributeSource.d.ts +0 -25
  153. package/dist/models/AttributeSource.js +0 -51
  154. package/dist/models/DeleteEmailShare200Response.d.ts +0 -32
  155. package/dist/models/DeleteEmailShare200Response.js +0 -51
  156. package/dist/models/GetProjectResponsesResponse.d.ts +0 -51
  157. package/dist/models/GetProjectResponsesResponse.js +0 -64
  158. package/dist/models/GetShareEntities200Response.d.ts +0 -39
  159. package/src/models/AttributeSource.ts +0 -53
  160. package/src/models/DeleteEmailShare200Response.ts +0 -66
  161. package/src/models/GetProjectResponsesResponse.ts +0 -101
@@ -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
- attributeKindKey: string;
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}
@@ -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 (!('attributeKindKey' in value) || value['attributeKindKey'] === undefined)
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
- 'attributeKindKey': json['attributeKindKey'],
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
- 'attributeKindKey': value['attributeKindKey'],
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
- key: string;
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 (!('key' in value) || value['key'] === undefined)
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
- 'key': json['key'],
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 { Org } from './Org';
15
+ import type { AttributeKindGroupPurpose } from './AttributeKindGroupPurpose';
16
+ import type { AttributeKindGroupScope } from './AttributeKindGroupScope';
17
+ import type { AttributeKind } from './AttributeKind';
18
+ import type { Artifact } from './Artifact';
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
+ orgId: 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 {Org}
88
+ * @memberof AttributeKindGroup
89
+ */
90
+ org?: Org;
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 Org_1 = require("./Org");
24
+ var AttributeKindGroupPurpose_1 = require("./AttributeKindGroupPurpose");
25
+ var AttributeKindGroupScope_1 = require("./AttributeKindGroupScope");
26
+ var AttributeKind_1 = require("./AttributeKind");
27
+ var Artifact_1 = require("./Artifact");
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 (!('orgId' in value) || value['orgId'] === 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
+ 'orgId': json['orgId'],
66
+ 'projectId': json['projectId'],
67
+ 'createdById': json['createdById'],
68
+ 'createdAt': (new Date(json['createdAt'])),
69
+ 'updatedAt': (new Date(json['updatedAt'])),
70
+ 'org': json['org'] == null ? undefined : (0, Org_1.OrgFromJSON)(json['org']),
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
+ 'orgId': value['orgId'],
92
+ 'projectId': value['projectId'],
93
+ 'createdById': value['createdById'],
94
+ 'createdAt': ((value['createdAt']).toISOString()),
95
+ 'updatedAt': ((value['updatedAt']).toISOString()),
96
+ 'org': (0, Org_1.OrgToJSON)(value['org']),
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;
@@ -0,0 +1,51 @@
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.AttributeKindGroupPurpose = void 0;
17
+ exports.instanceOfAttributeKindGroupPurpose = instanceOfAttributeKindGroupPurpose;
18
+ exports.AttributeKindGroupPurposeFromJSON = AttributeKindGroupPurposeFromJSON;
19
+ exports.AttributeKindGroupPurposeFromJSONTyped = AttributeKindGroupPurposeFromJSONTyped;
20
+ exports.AttributeKindGroupPurposeToJSON = AttributeKindGroupPurposeToJSON;
21
+ exports.AttributeKindGroupPurposeToJSONTyped = AttributeKindGroupPurposeToJSONTyped;
22
+ /**
23
+ *
24
+ * @export
25
+ */
26
+ exports.AttributeKindGroupPurpose = {
27
+ ScreenerResponse: 'screener_response',
28
+ Codebook: 'codebook'
29
+ };
30
+ function instanceOfAttributeKindGroupPurpose(value) {
31
+ for (var key in exports.AttributeKindGroupPurpose) {
32
+ if (Object.prototype.hasOwnProperty.call(exports.AttributeKindGroupPurpose, key)) {
33
+ if (exports.AttributeKindGroupPurpose[key] === value) {
34
+ return true;
35
+ }
36
+ }
37
+ }
38
+ return false;
39
+ }
40
+ function AttributeKindGroupPurposeFromJSON(json) {
41
+ return AttributeKindGroupPurposeFromJSONTyped(json, false);
42
+ }
43
+ function AttributeKindGroupPurposeFromJSONTyped(json, ignoreDiscriminator) {
44
+ return json;
45
+ }
46
+ function AttributeKindGroupPurposeToJSON(value) {
47
+ return value;
48
+ }
49
+ function AttributeKindGroupPurposeToJSONTyped(value, ignoreDiscriminator) {
50
+ return value;
51
+ }