keplar-api 0.0.16 → 0.0.18

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 (157) hide show
  1. package/.openapi-generator/FILES +8 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +2 -2
  4. package/dist/apis/DefaultApi.d.ts +17 -13
  5. package/dist/apis/DefaultApi.js +27 -21
  6. package/dist/models/ApiFilesFileIdSignedUrlPost200Response.js +1 -1
  7. package/dist/models/ApiInvitesIdPutRequest.d.ts +1 -1
  8. package/dist/models/ApiInvitesIdPutRequest.js +3 -6
  9. package/dist/models/ApiInvitesPostRequest.js +1 -1
  10. package/dist/models/ApiProjectsProjectIdAnalysisPost200Response.d.ts +32 -0
  11. package/dist/models/ApiProjectsProjectIdAnalysisPost200Response.js +49 -0
  12. package/dist/models/Artifact.d.ts +28 -3
  13. package/dist/models/Artifact.js +16 -5
  14. package/dist/models/ArtifactData.d.ts +27 -0
  15. package/dist/models/ArtifactData.js +54 -0
  16. package/dist/models/ArtifactDataCreate.d.ts +27 -0
  17. package/dist/models/ArtifactDataCreate.js +54 -0
  18. package/dist/models/ArtifactDataReport.d.ts +59 -0
  19. package/dist/models/ArtifactDataReport.js +70 -0
  20. package/dist/models/ArtifactKind.d.ts +1 -0
  21. package/dist/models/ArtifactKind.js +2 -1
  22. package/dist/models/ArtifactVersionGroup.d.ts +71 -0
  23. package/dist/models/ArtifactVersionGroup.js +70 -0
  24. package/dist/models/Attribute.js +1 -1
  25. package/dist/models/AttributeKind.js +2 -2
  26. package/dist/models/AttributeKindGroup.js +2 -2
  27. package/dist/models/ByoPanelRepdataConfig.d.ts +46 -0
  28. package/dist/models/ByoPanelRepdataConfig.js +63 -0
  29. package/dist/models/Call.js +4 -5
  30. package/dist/models/CallEvent.js +1 -1
  31. package/dist/models/CallMetadata.d.ts +24 -0
  32. package/dist/models/CallMetadata.js +8 -0
  33. package/dist/models/ChatMessage.js +2 -2
  34. package/dist/models/ChatSession.js +2 -2
  35. package/dist/models/CodeInvite.js +1 -2
  36. package/dist/models/CodeInviteConfig.d.ts +3 -0
  37. package/dist/models/CodeInviteConfig.js +5 -0
  38. package/dist/models/CodeInviteResponse.js +2 -2
  39. package/dist/models/ConversationMessage.js +2 -2
  40. package/dist/models/CreateArtifactRequest.d.ts +13 -0
  41. package/dist/models/CreateArtifactRequest.js +6 -1
  42. package/dist/models/CreateEmailShareRequest.js +1 -1
  43. package/dist/models/CreateProjectShareRequest.js +1 -1
  44. package/dist/models/EmailShare.js +3 -4
  45. package/dist/models/GetCodeInvite200Response.js +1 -2
  46. package/dist/models/GetSharedArtifactVersionGroups200Response.d.ts +51 -0
  47. package/dist/models/GetSharedArtifactVersionGroups200Response.js +64 -0
  48. package/dist/models/Invite.js +4 -5
  49. package/dist/models/InviteConfig.d.ts +3 -0
  50. package/dist/models/InviteConfig.js +5 -0
  51. package/dist/models/InviteConfigByoPanel.d.ts +70 -0
  52. package/dist/models/InviteConfigByoPanel.js +73 -0
  53. package/dist/models/InviteResponse.js +2 -2
  54. package/dist/models/InviteResponseAttribute.js +1 -1
  55. package/dist/models/InviteResponseWithCallSummary.js +2 -2
  56. package/dist/models/InviteWithAnalytics.js +4 -5
  57. package/dist/models/JoinCodeInvite302Response.js +1 -2
  58. package/dist/models/Login200Response.js +4 -4
  59. package/dist/models/ModelFile.js +4 -5
  60. package/dist/models/Moderator.js +2 -2
  61. package/dist/models/Org.js +2 -2
  62. package/dist/models/Participant.js +2 -2
  63. package/dist/models/ParticipantAttribute.js +2 -2
  64. package/dist/models/ParticipantInvite.js +2 -2
  65. package/dist/models/ParticipantInviteData.js +1 -1
  66. package/dist/models/PhoneCallStartResponse.js +1 -1
  67. package/dist/models/Project.d.ts +7 -0
  68. package/dist/models/Project.js +5 -2
  69. package/dist/models/ProjectFile.js +2 -2
  70. package/dist/models/ProjectFilePublicFile.js +1 -2
  71. package/dist/models/ProjectSummaryWithAnalytics.js +2 -2
  72. package/dist/models/ProjectWithAnalytics.d.ts +7 -0
  73. package/dist/models/ProjectWithAnalytics.js +5 -2
  74. package/dist/models/SearchSharedResponseMessages200ResponseInner.js +1 -1
  75. package/dist/models/ShareEntity.js +2 -3
  76. package/dist/models/ThematicAnalysisArtifactCreateData.d.ts +13 -0
  77. package/dist/models/ThematicAnalysisArtifactCreateData.js +11 -0
  78. package/dist/models/Thread.js +2 -2
  79. package/dist/models/ThreadFile.js +1 -1
  80. package/dist/models/TranscriptMessage.js +1 -1
  81. package/dist/models/TranscriptMessagesInner.js +1 -1
  82. package/dist/models/UpdateArtifactRequest.d.ts +9 -3
  83. package/dist/models/UpdateArtifactRequest.js +5 -3
  84. package/dist/models/UpdateShareEntityRequest.js +1 -2
  85. package/dist/models/User.js +4 -5
  86. package/dist/models/UserWithConfig.js +4 -5
  87. package/dist/models/Workspace.js +2 -2
  88. package/dist/models/WorkspaceMember.js +2 -2
  89. package/dist/models/index.d.ts +8 -0
  90. package/dist/models/index.js +8 -0
  91. package/package.json +1 -1
  92. package/src/apis/DefaultApi.ts +45 -23
  93. package/src/models/ApiFilesFileIdSignedUrlPost200Response.ts +1 -1
  94. package/src/models/ApiInvitesIdPutRequest.ts +4 -5
  95. package/src/models/ApiInvitesPostRequest.ts +1 -1
  96. package/src/models/ApiProjectsProjectIdAnalysisPost200Response.ts +65 -0
  97. package/src/models/Artifact.ts +52 -12
  98. package/src/models/ArtifactData.ts +72 -0
  99. package/src/models/ArtifactDataCreate.ts +72 -0
  100. package/src/models/ArtifactDataReport.ts +103 -0
  101. package/src/models/ArtifactKind.ts +2 -1
  102. package/src/models/ArtifactVersionGroup.ts +140 -0
  103. package/src/models/Attribute.ts +1 -1
  104. package/src/models/AttributeKind.ts +2 -2
  105. package/src/models/AttributeKindGroup.ts +2 -2
  106. package/src/models/ByoPanelRepdataConfig.ts +93 -0
  107. package/src/models/Call.ts +4 -4
  108. package/src/models/CallEvent.ts +1 -1
  109. package/src/models/CallMetadata.ts +32 -0
  110. package/src/models/ChatMessage.ts +2 -2
  111. package/src/models/ChatSession.ts +2 -2
  112. package/src/models/CodeInvite.ts +1 -1
  113. package/src/models/CodeInviteConfig.ts +12 -1
  114. package/src/models/CodeInviteResponse.ts +2 -2
  115. package/src/models/ConversationMessage.ts +2 -2
  116. package/src/models/CreateArtifactRequest.ts +18 -1
  117. package/src/models/CreateEmailShareRequest.ts +1 -1
  118. package/src/models/CreateProjectShareRequest.ts +1 -1
  119. package/src/models/EmailShare.ts +3 -3
  120. package/src/models/GetCodeInvite200Response.ts +1 -1
  121. package/src/models/GetSharedArtifactVersionGroups200Response.ts +101 -0
  122. package/src/models/Invite.ts +4 -4
  123. package/src/models/InviteConfig.ts +12 -1
  124. package/src/models/InviteConfigByoPanel.ts +126 -0
  125. package/src/models/InviteResponse.ts +2 -2
  126. package/src/models/InviteResponseAttribute.ts +1 -1
  127. package/src/models/InviteResponseWithCallSummary.ts +2 -2
  128. package/src/models/InviteWithAnalytics.ts +4 -4
  129. package/src/models/JoinCodeInvite302Response.ts +1 -1
  130. package/src/models/Login200Response.ts +4 -4
  131. package/src/models/ModelFile.ts +4 -4
  132. package/src/models/Moderator.ts +2 -2
  133. package/src/models/Org.ts +2 -2
  134. package/src/models/Participant.ts +2 -2
  135. package/src/models/ParticipantAttribute.ts +2 -2
  136. package/src/models/ParticipantInvite.ts +2 -2
  137. package/src/models/ParticipantInviteData.ts +1 -1
  138. package/src/models/PhoneCallStartResponse.ts +1 -1
  139. package/src/models/Project.ts +17 -2
  140. package/src/models/ProjectFile.ts +2 -2
  141. package/src/models/ProjectFilePublicFile.ts +1 -1
  142. package/src/models/ProjectSummaryWithAnalytics.ts +2 -2
  143. package/src/models/ProjectWithAnalytics.ts +17 -2
  144. package/src/models/SearchSharedResponseMessages200ResponseInner.ts +1 -1
  145. package/src/models/ShareEntity.ts +2 -2
  146. package/src/models/ThematicAnalysisArtifactCreateData.ts +19 -0
  147. package/src/models/Thread.ts +2 -2
  148. package/src/models/ThreadFile.ts +1 -1
  149. package/src/models/TranscriptMessage.ts +1 -1
  150. package/src/models/TranscriptMessagesInner.ts +1 -1
  151. package/src/models/UpdateArtifactRequest.ts +18 -10
  152. package/src/models/UpdateShareEntityRequest.ts +1 -1
  153. package/src/models/User.ts +4 -4
  154. package/src/models/UserWithConfig.ts +4 -4
  155. package/src/models/Workspace.ts +2 -2
  156. package/src/models/WorkspaceMember.ts +2 -2
  157. package/src/models/index.ts +8 -0
@@ -0,0 +1,27 @@
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 { ArtifactDataReport } from './ArtifactDataReport';
13
+ import type { ThematicAnalysisArtifactCreateData } from './ThematicAnalysisArtifactCreateData';
14
+ /**
15
+ * @type ArtifactDataCreate
16
+ *
17
+ * @export
18
+ */
19
+ export type ArtifactDataCreate = {
20
+ kind: 'report';
21
+ } & ArtifactDataReport | {
22
+ kind: 'thematic_analysis';
23
+ } & ThematicAnalysisArtifactCreateData;
24
+ export declare function ArtifactDataCreateFromJSON(json: any): ArtifactDataCreate;
25
+ export declare function ArtifactDataCreateFromJSONTyped(json: any, ignoreDiscriminator: boolean): ArtifactDataCreate;
26
+ export declare function ArtifactDataCreateToJSON(json: any): any;
27
+ export declare function ArtifactDataCreateToJSONTyped(value?: ArtifactDataCreate | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,54 @@
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.ArtifactDataCreateFromJSON = ArtifactDataCreateFromJSON;
17
+ exports.ArtifactDataCreateFromJSONTyped = ArtifactDataCreateFromJSONTyped;
18
+ exports.ArtifactDataCreateToJSON = ArtifactDataCreateToJSON;
19
+ exports.ArtifactDataCreateToJSONTyped = ArtifactDataCreateToJSONTyped;
20
+ var ArtifactDataReport_1 = require("./ArtifactDataReport");
21
+ var ThematicAnalysisArtifactCreateData_1 = require("./ThematicAnalysisArtifactCreateData");
22
+ function ArtifactDataCreateFromJSON(json) {
23
+ return ArtifactDataCreateFromJSONTyped(json, false);
24
+ }
25
+ function ArtifactDataCreateFromJSONTyped(json, ignoreDiscriminator) {
26
+ if (json == null) {
27
+ return json;
28
+ }
29
+ switch (json['kind']) {
30
+ case 'report':
31
+ return Object.assign({}, (0, ArtifactDataReport_1.ArtifactDataReportFromJSONTyped)(json, true), { kind: 'report' });
32
+ case 'thematic_analysis':
33
+ return Object.assign({}, (0, ThematicAnalysisArtifactCreateData_1.ThematicAnalysisArtifactCreateDataFromJSONTyped)(json, true), { kind: 'thematic_analysis' });
34
+ default:
35
+ return json;
36
+ }
37
+ }
38
+ function ArtifactDataCreateToJSON(json) {
39
+ return ArtifactDataCreateToJSONTyped(json, false);
40
+ }
41
+ function ArtifactDataCreateToJSONTyped(value, ignoreDiscriminator) {
42
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ switch (value['kind']) {
47
+ case 'report':
48
+ return Object.assign({}, (0, ArtifactDataReport_1.ArtifactDataReportToJSON)(value), { kind: 'report' });
49
+ case 'thematic_analysis':
50
+ return Object.assign({}, (0, ThematicAnalysisArtifactCreateData_1.ThematicAnalysisArtifactCreateDataToJSON)(value), { kind: 'thematic_analysis' });
51
+ default:
52
+ return value;
53
+ }
54
+ }
@@ -0,0 +1,59 @@
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 ArtifactDataReport
16
+ */
17
+ export interface ArtifactDataReport {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ArtifactDataReport
22
+ */
23
+ kind: ArtifactDataReportKindEnum;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ArtifactDataReport
28
+ */
29
+ report: string;
30
+ /**
31
+ *
32
+ * @type {{ [key: string]: string; }}
33
+ * @memberof ArtifactDataReport
34
+ */
35
+ references: {
36
+ [key: string]: string;
37
+ };
38
+ /**
39
+ *
40
+ * @type {Array<string>}
41
+ * @memberof ArtifactDataReport
42
+ */
43
+ callIds: Array<string>;
44
+ }
45
+ /**
46
+ * @export
47
+ */
48
+ export declare const ArtifactDataReportKindEnum: {
49
+ readonly Report: "report";
50
+ };
51
+ export type ArtifactDataReportKindEnum = typeof ArtifactDataReportKindEnum[keyof typeof ArtifactDataReportKindEnum];
52
+ /**
53
+ * Check if a given object implements the ArtifactDataReport interface.
54
+ */
55
+ export declare function instanceOfArtifactDataReport(value: object): value is ArtifactDataReport;
56
+ export declare function ArtifactDataReportFromJSON(json: any): ArtifactDataReport;
57
+ export declare function ArtifactDataReportFromJSONTyped(json: any, ignoreDiscriminator: boolean): ArtifactDataReport;
58
+ export declare function ArtifactDataReportToJSON(json: any): ArtifactDataReport;
59
+ export declare function ArtifactDataReportToJSONTyped(value?: ArtifactDataReport | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,70 @@
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.ArtifactDataReportKindEnum = void 0;
17
+ exports.instanceOfArtifactDataReport = instanceOfArtifactDataReport;
18
+ exports.ArtifactDataReportFromJSON = ArtifactDataReportFromJSON;
19
+ exports.ArtifactDataReportFromJSONTyped = ArtifactDataReportFromJSONTyped;
20
+ exports.ArtifactDataReportToJSON = ArtifactDataReportToJSON;
21
+ exports.ArtifactDataReportToJSONTyped = ArtifactDataReportToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.ArtifactDataReportKindEnum = {
26
+ Report: 'report'
27
+ };
28
+ /**
29
+ * Check if a given object implements the ArtifactDataReport interface.
30
+ */
31
+ function instanceOfArtifactDataReport(value) {
32
+ if (!('kind' in value) || value['kind'] === undefined)
33
+ return false;
34
+ if (!('report' in value) || value['report'] === undefined)
35
+ return false;
36
+ if (!('references' in value) || value['references'] === undefined)
37
+ return false;
38
+ if (!('callIds' in value) || value['callIds'] === undefined)
39
+ return false;
40
+ return true;
41
+ }
42
+ function ArtifactDataReportFromJSON(json) {
43
+ return ArtifactDataReportFromJSONTyped(json, false);
44
+ }
45
+ function ArtifactDataReportFromJSONTyped(json, ignoreDiscriminator) {
46
+ if (json == null) {
47
+ return json;
48
+ }
49
+ return {
50
+ 'kind': json['kind'],
51
+ 'report': json['report'],
52
+ 'references': json['references'],
53
+ 'callIds': json['callIds'],
54
+ };
55
+ }
56
+ function ArtifactDataReportToJSON(json) {
57
+ return ArtifactDataReportToJSONTyped(json, false);
58
+ }
59
+ function ArtifactDataReportToJSONTyped(value, ignoreDiscriminator) {
60
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
61
+ if (value == null) {
62
+ return value;
63
+ }
64
+ return {
65
+ 'kind': value['kind'],
66
+ 'report': value['report'],
67
+ 'references': value['references'],
68
+ 'callIds': value['callIds'],
69
+ };
70
+ }
@@ -15,6 +15,7 @@
15
15
  */
16
16
  export declare const ArtifactKind: {
17
17
  readonly ThematicAnalysis: "thematic_analysis";
18
+ readonly Report: "report";
18
19
  };
19
20
  export type ArtifactKind = typeof ArtifactKind[keyof typeof ArtifactKind];
20
21
  export declare function instanceOfArtifactKind(value: any): boolean;
@@ -24,7 +24,8 @@ exports.ArtifactKindToJSONTyped = ArtifactKindToJSONTyped;
24
24
  * @export
25
25
  */
26
26
  exports.ArtifactKind = {
27
- ThematicAnalysis: 'thematic_analysis'
27
+ ThematicAnalysis: 'thematic_analysis',
28
+ Report: 'report'
28
29
  };
29
30
  function instanceOfArtifactKind(value) {
30
31
  for (var key in exports.ArtifactKind) {
@@ -0,0 +1,71 @@
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 { ArtifactKind } from './ArtifactKind';
14
+ import type { Artifact } from './Artifact';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface ArtifactVersionGroup
19
+ */
20
+ export interface ArtifactVersionGroup {
21
+ /**
22
+ *
23
+ * @type {string}
24
+ * @memberof ArtifactVersionGroup
25
+ */
26
+ id: string;
27
+ /**
28
+ *
29
+ * @type {string}
30
+ * @memberof ArtifactVersionGroup
31
+ */
32
+ projectId: string;
33
+ /**
34
+ *
35
+ * @type {ArtifactKind}
36
+ * @memberof ArtifactVersionGroup
37
+ */
38
+ kind: ArtifactKind;
39
+ /**
40
+ *
41
+ * @type {string}
42
+ * @memberof ArtifactVersionGroup
43
+ */
44
+ latestArtifactId?: string | null;
45
+ /**
46
+ *
47
+ * @type {Project}
48
+ * @memberof ArtifactVersionGroup
49
+ */
50
+ project?: Project;
51
+ /**
52
+ *
53
+ * @type {Artifact}
54
+ * @memberof ArtifactVersionGroup
55
+ */
56
+ latestArtifact?: Artifact | null;
57
+ /**
58
+ *
59
+ * @type {Array<Artifact>}
60
+ * @memberof ArtifactVersionGroup
61
+ */
62
+ artifacts?: Array<Artifact>;
63
+ }
64
+ /**
65
+ * Check if a given object implements the ArtifactVersionGroup interface.
66
+ */
67
+ export declare function instanceOfArtifactVersionGroup(value: object): value is ArtifactVersionGroup;
68
+ export declare function ArtifactVersionGroupFromJSON(json: any): ArtifactVersionGroup;
69
+ export declare function ArtifactVersionGroupFromJSONTyped(json: any, ignoreDiscriminator: boolean): ArtifactVersionGroup;
70
+ export declare function ArtifactVersionGroupToJSON(json: any): ArtifactVersionGroup;
71
+ export declare function ArtifactVersionGroupToJSONTyped(value?: ArtifactVersionGroup | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,70 @@
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.instanceOfArtifactVersionGroup = instanceOfArtifactVersionGroup;
17
+ exports.ArtifactVersionGroupFromJSON = ArtifactVersionGroupFromJSON;
18
+ exports.ArtifactVersionGroupFromJSONTyped = ArtifactVersionGroupFromJSONTyped;
19
+ exports.ArtifactVersionGroupToJSON = ArtifactVersionGroupToJSON;
20
+ exports.ArtifactVersionGroupToJSONTyped = ArtifactVersionGroupToJSONTyped;
21
+ var Project_1 = require("./Project");
22
+ var ArtifactKind_1 = require("./ArtifactKind");
23
+ var Artifact_1 = require("./Artifact");
24
+ /**
25
+ * Check if a given object implements the ArtifactVersionGroup interface.
26
+ */
27
+ function instanceOfArtifactVersionGroup(value) {
28
+ if (!('id' in value) || value['id'] === undefined)
29
+ return false;
30
+ if (!('projectId' in value) || value['projectId'] === undefined)
31
+ return false;
32
+ if (!('kind' in value) || value['kind'] === undefined)
33
+ return false;
34
+ return true;
35
+ }
36
+ function ArtifactVersionGroupFromJSON(json) {
37
+ return ArtifactVersionGroupFromJSONTyped(json, false);
38
+ }
39
+ function ArtifactVersionGroupFromJSONTyped(json, ignoreDiscriminator) {
40
+ if (json == null) {
41
+ return json;
42
+ }
43
+ return {
44
+ 'id': json['id'],
45
+ 'projectId': json['projectId'],
46
+ 'kind': (0, ArtifactKind_1.ArtifactKindFromJSON)(json['kind']),
47
+ 'latestArtifactId': json['latestArtifactId'] == null ? undefined : json['latestArtifactId'],
48
+ 'project': json['project'] == null ? undefined : (0, Project_1.ProjectFromJSON)(json['project']),
49
+ 'latestArtifact': json['latestArtifact'] == null ? undefined : (0, Artifact_1.ArtifactFromJSON)(json['latestArtifact']),
50
+ 'artifacts': json['artifacts'] == null ? undefined : (json['artifacts'].map(Artifact_1.ArtifactFromJSON)),
51
+ };
52
+ }
53
+ function ArtifactVersionGroupToJSON(json) {
54
+ return ArtifactVersionGroupToJSONTyped(json, false);
55
+ }
56
+ function ArtifactVersionGroupToJSONTyped(value, ignoreDiscriminator) {
57
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
58
+ if (value == null) {
59
+ return value;
60
+ }
61
+ return {
62
+ 'id': value['id'],
63
+ 'projectId': value['projectId'],
64
+ 'kind': (0, ArtifactKind_1.ArtifactKindToJSON)(value['kind']),
65
+ 'latestArtifactId': value['latestArtifactId'],
66
+ 'project': (0, Project_1.ProjectToJSON)(value['project']),
67
+ 'latestArtifact': (0, Artifact_1.ArtifactToJSON)(value['latestArtifact']),
68
+ 'artifacts': value['artifacts'] == null ? undefined : (value['artifacts'].map(Artifact_1.ArtifactToJSON)),
69
+ };
70
+ }
@@ -66,7 +66,7 @@ function AttributeToJSONTyped(value, ignoreDiscriminator) {
66
66
  'attributeKindId': value['attributeKindId'],
67
67
  'value': value['value'],
68
68
  'description': value['description'],
69
- 'createdAt': ((value['createdAt']).toISOString()),
69
+ 'createdAt': value['createdAt'].toISOString(),
70
70
  'attributeKind': (0, AttributeKind_1.AttributeKindToJSON)(value['attributeKind']),
71
71
  'participantAttributes': value['participantAttributes'] == null ? undefined : (value['participantAttributes'].map(ParticipantAttribute_1.ParticipantAttributeToJSON)),
72
72
  'inviteResponseAttributes': value['inviteResponseAttributes'] == null ? undefined : (value['inviteResponseAttributes'].map(InviteResponseAttribute_1.InviteResponseAttributeToJSON)),
@@ -73,8 +73,8 @@ function AttributeKindToJSONTyped(value, ignoreDiscriminator) {
73
73
  'valueKind': (0, AttributeValueKind_1.AttributeValueKindToJSON)(value['valueKind']),
74
74
  'description': value['description'],
75
75
  'category': value['category'],
76
- 'createdAt': ((value['createdAt']).toISOString()),
77
- 'updatedAt': ((value['updatedAt']).toISOString()),
76
+ 'createdAt': value['createdAt'].toISOString(),
77
+ 'updatedAt': value['updatedAt'].toISOString(),
78
78
  'attributeKindGroupId': value['attributeKindGroupId'],
79
79
  'attributes': value['attributes'] == null ? undefined : (value['attributes'].map(Attribute_1.AttributeToJSON)),
80
80
  'attributeKindGroup': (0, AttributeKindGroup_1.AttributeKindGroupToJSON)(value['attributeKindGroup']),
@@ -91,8 +91,8 @@ function AttributeKindGroupToJSONTyped(value, ignoreDiscriminator) {
91
91
  'workspaceId': value['workspaceId'],
92
92
  'projectId': value['projectId'],
93
93
  'createdById': value['createdById'],
94
- 'createdAt': ((value['createdAt']).toISOString()),
95
- 'updatedAt': ((value['updatedAt']).toISOString()),
94
+ 'createdAt': value['createdAt'].toISOString(),
95
+ 'updatedAt': value['updatedAt'].toISOString(),
96
96
  'workspace': (0, Workspace_1.WorkspaceToJSON)(value['workspace']),
97
97
  'project': (0, Project_1.ProjectToJSON)(value['project']),
98
98
  'createdBy': (0, User_1.UserToJSON)(value['createdBy']),
@@ -0,0 +1,46 @@
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 { RepdataQualification } from './RepdataQualification';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ByoPanelRepdataConfig
17
+ */
18
+ export interface ByoPanelRepdataConfig {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof ByoPanelRepdataConfig
23
+ */
24
+ kind: ByoPanelRepdataConfigKindEnum;
25
+ /**
26
+ *
27
+ * @type {Array<RepdataQualification>}
28
+ * @memberof ByoPanelRepdataConfig
29
+ */
30
+ selectedQualifications: Array<RepdataQualification>;
31
+ }
32
+ /**
33
+ * @export
34
+ */
35
+ export declare const ByoPanelRepdataConfigKindEnum: {
36
+ readonly Repdata: "REPDATA";
37
+ };
38
+ export type ByoPanelRepdataConfigKindEnum = typeof ByoPanelRepdataConfigKindEnum[keyof typeof ByoPanelRepdataConfigKindEnum];
39
+ /**
40
+ * Check if a given object implements the ByoPanelRepdataConfig interface.
41
+ */
42
+ export declare function instanceOfByoPanelRepdataConfig(value: object): value is ByoPanelRepdataConfig;
43
+ export declare function ByoPanelRepdataConfigFromJSON(json: any): ByoPanelRepdataConfig;
44
+ export declare function ByoPanelRepdataConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): ByoPanelRepdataConfig;
45
+ export declare function ByoPanelRepdataConfigToJSON(json: any): ByoPanelRepdataConfig;
46
+ export declare function ByoPanelRepdataConfigToJSONTyped(value?: ByoPanelRepdataConfig | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,63 @@
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.ByoPanelRepdataConfigKindEnum = void 0;
17
+ exports.instanceOfByoPanelRepdataConfig = instanceOfByoPanelRepdataConfig;
18
+ exports.ByoPanelRepdataConfigFromJSON = ByoPanelRepdataConfigFromJSON;
19
+ exports.ByoPanelRepdataConfigFromJSONTyped = ByoPanelRepdataConfigFromJSONTyped;
20
+ exports.ByoPanelRepdataConfigToJSON = ByoPanelRepdataConfigToJSON;
21
+ exports.ByoPanelRepdataConfigToJSONTyped = ByoPanelRepdataConfigToJSONTyped;
22
+ var RepdataQualification_1 = require("./RepdataQualification");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.ByoPanelRepdataConfigKindEnum = {
27
+ Repdata: 'REPDATA'
28
+ };
29
+ /**
30
+ * Check if a given object implements the ByoPanelRepdataConfig interface.
31
+ */
32
+ function instanceOfByoPanelRepdataConfig(value) {
33
+ if (!('kind' in value) || value['kind'] === undefined)
34
+ return false;
35
+ if (!('selectedQualifications' in value) || value['selectedQualifications'] === undefined)
36
+ return false;
37
+ return true;
38
+ }
39
+ function ByoPanelRepdataConfigFromJSON(json) {
40
+ return ByoPanelRepdataConfigFromJSONTyped(json, false);
41
+ }
42
+ function ByoPanelRepdataConfigFromJSONTyped(json, ignoreDiscriminator) {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+ 'kind': json['kind'],
48
+ 'selectedQualifications': (json['selectedQualifications'].map(RepdataQualification_1.RepdataQualificationFromJSON)),
49
+ };
50
+ }
51
+ function ByoPanelRepdataConfigToJSON(json) {
52
+ return ByoPanelRepdataConfigToJSONTyped(json, false);
53
+ }
54
+ function ByoPanelRepdataConfigToJSONTyped(value, ignoreDiscriminator) {
55
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
56
+ if (value == null) {
57
+ return value;
58
+ }
59
+ return {
60
+ 'kind': value['kind'],
61
+ 'selectedQualifications': (value['selectedQualifications'].map(RepdataQualification_1.RepdataQualificationToJSON)),
62
+ };
63
+ }
@@ -78,7 +78,6 @@ function CallToJSON(json) {
78
78
  return CallToJSONTyped(json, false);
79
79
  }
80
80
  function CallToJSONTyped(value, ignoreDiscriminator) {
81
- var _a, _b;
82
81
  if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
83
82
  if (value == null) {
84
83
  return value;
@@ -87,10 +86,10 @@ function CallToJSONTyped(value, ignoreDiscriminator) {
87
86
  'id': value['id'],
88
87
  'vendor': value['vendor'],
89
88
  'vendorCallId': value['vendorCallId'],
90
- 'createdAt': ((value['createdAt']).toISOString()),
91
- 'updatedAt': ((value['updatedAt']).toISOString()),
92
- 'startedAt': value['startedAt'] === null ? null : ((_a = value['startedAt']) === null || _a === void 0 ? void 0 : _a.toISOString()),
93
- 'endedAt': value['endedAt'] === null ? null : ((_b = value['endedAt']) === null || _b === void 0 ? void 0 : _b.toISOString()),
89
+ 'createdAt': value['createdAt'].toISOString(),
90
+ 'updatedAt': value['updatedAt'].toISOString(),
91
+ 'startedAt': value['startedAt'] == null ? value['startedAt'] : value['startedAt'].toISOString(),
92
+ 'endedAt': value['endedAt'] == null ? value['endedAt'] : value['endedAt'].toISOString(),
94
93
  'kind': (0, CallKind_1.CallKindToJSON)(value['kind']),
95
94
  'status': (0, CallStatus_1.CallStatusToJSON)(value['status']),
96
95
  'phoneNumber': value['phoneNumber'],
@@ -58,7 +58,7 @@ function CallEventToJSONTyped(value, ignoreDiscriminator) {
58
58
  }
59
59
  return {
60
60
  'callId': value['callId'],
61
- 'timestamp': ((value['timestamp']).toISOString()),
61
+ 'timestamp': value['timestamp'].toISOString(),
62
62
  'kind': value['kind'],
63
63
  'data': value['data'],
64
64
  'call': (0, Call_1.CallToJSON)(value['call']),
@@ -52,6 +52,30 @@ export interface CallMetadata {
52
52
  * @memberof CallMetadata
53
53
  */
54
54
  analysis?: CallAnalysis | null;
55
+ /**
56
+ *
57
+ * @type {string}
58
+ * @memberof CallMetadata
59
+ */
60
+ gcsUrl?: string;
61
+ /**
62
+ *
63
+ * @type {string}
64
+ * @memberof CallMetadata
65
+ */
66
+ gcsPath?: string;
67
+ /**
68
+ *
69
+ * @type {string}
70
+ * @memberof CallMetadata
71
+ */
72
+ gcsUploadedAt?: string;
73
+ /**
74
+ *
75
+ * @type {string}
76
+ * @memberof CallMetadata
77
+ */
78
+ gcsLastSyncedAt?: string;
55
79
  }
56
80
  /**
57
81
  * @export
@@ -48,6 +48,10 @@ function CallMetadataFromJSONTyped(json, ignoreDiscriminator) {
48
48
  'transcriptMarkdown': json['transcriptMarkdown'] == null ? undefined : json['transcriptMarkdown'],
49
49
  'transcriptInsight': json['transcriptInsight'] == null ? undefined : json['transcriptInsight'],
50
50
  'analysis': json['analysis'] == null ? undefined : (0, CallAnalysis_1.CallAnalysisFromJSON)(json['analysis']),
51
+ 'gcsUrl': json['gcsUrl'] == null ? undefined : json['gcsUrl'],
52
+ 'gcsPath': json['gcsPath'] == null ? undefined : json['gcsPath'],
53
+ 'gcsUploadedAt': json['gcsUploadedAt'] == null ? undefined : json['gcsUploadedAt'],
54
+ 'gcsLastSyncedAt': json['gcsLastSyncedAt'] == null ? undefined : json['gcsLastSyncedAt'],
51
55
  };
52
56
  }
53
57
  function CallMetadataToJSON(json) {
@@ -65,5 +69,9 @@ function CallMetadataToJSONTyped(value, ignoreDiscriminator) {
65
69
  'transcriptMarkdown': value['transcriptMarkdown'],
66
70
  'transcriptInsight': value['transcriptInsight'],
67
71
  'analysis': (0, CallAnalysis_1.CallAnalysisToJSON)(value['analysis']),
72
+ 'gcsUrl': value['gcsUrl'],
73
+ 'gcsPath': value['gcsPath'],
74
+ 'gcsUploadedAt': value['gcsUploadedAt'],
75
+ 'gcsLastSyncedAt': value['gcsLastSyncedAt'],
68
76
  };
69
77
  }
@@ -68,8 +68,8 @@ function ChatMessageToJSONTyped(value, ignoreDiscriminator) {
68
68
  }
69
69
  return {
70
70
  'id': value['id'],
71
- 'createdAt': ((value['createdAt']).toISOString()),
72
- 'updatedAt': ((value['updatedAt']).toISOString()),
71
+ 'createdAt': value['createdAt'].toISOString(),
72
+ 'updatedAt': value['updatedAt'].toISOString(),
73
73
  'content': value['content'],
74
74
  'role': (0, ChatMessageRole_1.ChatMessageRoleToJSON)(value['role']),
75
75
  'kind': (0, ChatMessageKind_1.ChatMessageKindToJSON)(value['kind']),
@@ -71,8 +71,8 @@ function ChatSessionToJSONTyped(value, ignoreDiscriminator) {
71
71
  'id': value['id'],
72
72
  'name': value['name'],
73
73
  'description': value['description'],
74
- 'createdAt': ((value['createdAt']).toISOString()),
75
- 'updatedAt': ((value['updatedAt']).toISOString()),
74
+ 'createdAt': value['createdAt'].toISOString(),
75
+ 'updatedAt': value['updatedAt'].toISOString(),
76
76
  'kind': value['kind'],
77
77
  'data': value['data'],
78
78
  'createdById': value['createdById'],
@@ -64,7 +64,6 @@ function CodeInviteToJSON(json) {
64
64
  return CodeInviteToJSONTyped(json, false);
65
65
  }
66
66
  function CodeInviteToJSONTyped(value, ignoreDiscriminator) {
67
- var _a;
68
67
  if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
69
68
  if (value == null) {
70
69
  return value;
@@ -75,7 +74,7 @@ function CodeInviteToJSONTyped(value, ignoreDiscriminator) {
75
74
  'name': value['name'],
76
75
  'description': value['description'],
77
76
  'status': (0, InviteStatus_1.InviteStatusToJSON)(value['status']),
78
- 'expiresAt': value['expiresAt'] === null ? null : ((_a = value['expiresAt']) === null || _a === void 0 ? void 0 : _a.toISOString()),
77
+ 'expiresAt': value['expiresAt'] == null ? value['expiresAt'] : value['expiresAt'].toISOString(),
79
78
  'projectId': value['projectId'],
80
79
  'config': (0, CodeInviteConfig_1.CodeInviteConfigToJSON)(value['config']),
81
80
  'settings': (0, JoinCodeInvite302ResponseSettings_1.JoinCodeInvite302ResponseSettingsToJSON)(value['settings']),
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import type { CodeInviteConfigContacts } from './CodeInviteConfigContacts';
13
13
  import type { CodeInviteConfigKeplarPanel } from './CodeInviteConfigKeplarPanel';
14
+ import type { InviteConfigByoPanel } from './InviteConfigByoPanel';
14
15
  import type { InviteConfigPublic } from './InviteConfigPublic';
15
16
  /**
16
17
  * @type CodeInviteConfig
@@ -18,6 +19,8 @@ import type { InviteConfigPublic } from './InviteConfigPublic';
18
19
  * @export
19
20
  */
20
21
  export type CodeInviteConfig = {
22
+ kind: 'BYO_PANEL';
23
+ } & InviteConfigByoPanel | {
21
24
  kind: 'CONTACTS';
22
25
  } & CodeInviteConfigContacts | {
23
26
  kind: 'KEPLAR_PANEL';