keplar-api 0.0.17 → 0.0.19

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 (147) hide show
  1. package/.openapi-generator/FILES +9 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +2 -2
  4. package/dist/models/ApiFilesFileIdSignedUrlPost200Response.js +1 -1
  5. package/dist/models/ApiInvitesIdPutRequest.js +2 -3
  6. package/dist/models/ApiInvitesPostRequest.js +1 -1
  7. package/dist/models/Artifact.js +2 -2
  8. package/dist/models/Attribute.js +1 -1
  9. package/dist/models/AttributeKind.js +2 -2
  10. package/dist/models/AttributeKindGroup.js +2 -2
  11. package/dist/models/ByoPanelRepdataConfig.d.ts +46 -0
  12. package/dist/models/ByoPanelRepdataConfig.js +63 -0
  13. package/dist/models/Call.js +4 -5
  14. package/dist/models/CallEvent.js +1 -1
  15. package/dist/models/ChatMessage.js +2 -2
  16. package/dist/models/ChatSession.js +2 -2
  17. package/dist/models/CodeInvite.js +1 -2
  18. package/dist/models/CodeInviteConfig.d.ts +3 -0
  19. package/dist/models/CodeInviteConfig.js +5 -0
  20. package/dist/models/CodeInviteResponse.js +2 -2
  21. package/dist/models/ConversationMessage.js +2 -2
  22. package/dist/models/CreateEmailShareRequest.js +1 -1
  23. package/dist/models/CreateProjectShareRequest.js +1 -1
  24. package/dist/models/EmailShare.js +3 -4
  25. package/dist/models/GetCodeInvite200Response.js +1 -2
  26. package/dist/models/Invite.js +4 -5
  27. package/dist/models/InviteConfig.d.ts +3 -0
  28. package/dist/models/InviteConfig.js +5 -0
  29. package/dist/models/InviteConfigByoPanel.d.ts +70 -0
  30. package/dist/models/InviteConfigByoPanel.js +73 -0
  31. package/dist/models/InviteResponse.js +2 -2
  32. package/dist/models/InviteResponseAttribute.js +1 -1
  33. package/dist/models/InviteResponseWithCallSummary.js +2 -2
  34. package/dist/models/InviteWithAnalytics.js +4 -5
  35. package/dist/models/JoinCodeInvite302Response.js +1 -2
  36. package/dist/models/JoinCodeInvite302ResponseSettings.d.ts +3 -3
  37. package/dist/models/JoinCodeInvite302ResponseSettings.js +3 -3
  38. package/dist/models/Login200Response.js +4 -4
  39. package/dist/models/ModelFile.js +4 -5
  40. package/dist/models/Moderator.js +2 -2
  41. package/dist/models/OptionKind.d.ts +26 -0
  42. package/dist/models/OptionKind.js +52 -0
  43. package/dist/models/Org.js +2 -2
  44. package/dist/models/Participant.js +2 -2
  45. package/dist/models/ParticipantAttribute.js +2 -2
  46. package/dist/models/ParticipantInvite.js +2 -2
  47. package/dist/models/ParticipantInviteData.js +1 -1
  48. package/dist/models/PhoneCallStartResponse.js +1 -1
  49. package/dist/models/Project.js +2 -2
  50. package/dist/models/ProjectConfig.d.ts +3 -3
  51. package/dist/models/ProjectConfig.js +3 -3
  52. package/dist/models/ProjectFile.js +2 -2
  53. package/dist/models/ProjectFilePublicFile.js +1 -2
  54. package/dist/models/ProjectSummaryWithAnalytics.js +2 -2
  55. package/dist/models/ProjectWithAnalytics.js +2 -2
  56. package/dist/models/ScreenerQuestion.d.ts +27 -0
  57. package/dist/models/ScreenerQuestion.js +54 -0
  58. package/dist/models/ScreenerQuestionChooseMultiple.d.ts +78 -0
  59. package/dist/models/ScreenerQuestionChooseMultiple.js +82 -0
  60. package/dist/models/ScreenerQuestionChooseMultipleOptionsValue.d.ts +53 -0
  61. package/dist/models/ScreenerQuestionChooseMultipleOptionsValue.js +66 -0
  62. package/dist/models/ScreenerQuestionChooseMultiplePublic.d.ts +72 -0
  63. package/dist/models/ScreenerQuestionChooseMultiplePublic.js +78 -0
  64. package/dist/models/ScreenerQuestionOption.d.ts +53 -0
  65. package/dist/models/ScreenerQuestionOption.js +66 -0
  66. package/dist/models/ScreenerQuestionPublic.d.ts +23 -0
  67. package/dist/models/ScreenerQuestionPublic.js +58 -0
  68. package/dist/models/ScreenerQuestionResponse.d.ts +2 -8
  69. package/dist/models/ScreenerQuestionResponse.js +0 -4
  70. package/dist/models/SearchSharedResponseMessages200ResponseInner.js +1 -1
  71. package/dist/models/ShareEntity.js +2 -3
  72. package/dist/models/Thread.js +2 -2
  73. package/dist/models/ThreadFile.js +1 -1
  74. package/dist/models/TranscriptMessage.js +1 -1
  75. package/dist/models/TranscriptMessagesInner.js +1 -1
  76. package/dist/models/UpdateShareEntityRequest.js +1 -2
  77. package/dist/models/User.js +4 -5
  78. package/dist/models/UserWithConfig.js +4 -5
  79. package/dist/models/Workspace.js +2 -2
  80. package/dist/models/WorkspaceMember.js +2 -2
  81. package/dist/models/index.d.ts +9 -0
  82. package/dist/models/index.js +9 -0
  83. package/package.json +1 -1
  84. package/src/models/ApiFilesFileIdSignedUrlPost200Response.ts +1 -1
  85. package/src/models/ApiInvitesIdPutRequest.ts +2 -2
  86. package/src/models/ApiInvitesPostRequest.ts +1 -1
  87. package/src/models/Artifact.ts +2 -2
  88. package/src/models/Attribute.ts +1 -1
  89. package/src/models/AttributeKind.ts +2 -2
  90. package/src/models/AttributeKindGroup.ts +2 -2
  91. package/src/models/ByoPanelRepdataConfig.ts +93 -0
  92. package/src/models/Call.ts +4 -4
  93. package/src/models/CallEvent.ts +1 -1
  94. package/src/models/ChatMessage.ts +2 -2
  95. package/src/models/ChatSession.ts +2 -2
  96. package/src/models/CodeInvite.ts +1 -1
  97. package/src/models/CodeInviteConfig.ts +12 -1
  98. package/src/models/CodeInviteResponse.ts +2 -2
  99. package/src/models/ConversationMessage.ts +2 -2
  100. package/src/models/CreateEmailShareRequest.ts +1 -1
  101. package/src/models/CreateProjectShareRequest.ts +1 -1
  102. package/src/models/EmailShare.ts +3 -3
  103. package/src/models/GetCodeInvite200Response.ts +1 -1
  104. package/src/models/Invite.ts +4 -4
  105. package/src/models/InviteConfig.ts +12 -1
  106. package/src/models/InviteConfigByoPanel.ts +126 -0
  107. package/src/models/InviteResponse.ts +2 -2
  108. package/src/models/InviteResponseAttribute.ts +1 -1
  109. package/src/models/InviteResponseWithCallSummary.ts +2 -2
  110. package/src/models/InviteWithAnalytics.ts +4 -4
  111. package/src/models/JoinCodeInvite302Response.ts +1 -1
  112. package/src/models/JoinCodeInvite302ResponseSettings.ts +11 -11
  113. package/src/models/Login200Response.ts +4 -4
  114. package/src/models/ModelFile.ts +4 -4
  115. package/src/models/Moderator.ts +2 -2
  116. package/src/models/OptionKind.ts +54 -0
  117. package/src/models/Org.ts +2 -2
  118. package/src/models/Participant.ts +2 -2
  119. package/src/models/ParticipantAttribute.ts +2 -2
  120. package/src/models/ParticipantInvite.ts +2 -2
  121. package/src/models/ParticipantInviteData.ts +1 -1
  122. package/src/models/PhoneCallStartResponse.ts +1 -1
  123. package/src/models/Project.ts +2 -2
  124. package/src/models/ProjectConfig.ts +11 -11
  125. package/src/models/ProjectFile.ts +2 -2
  126. package/src/models/ProjectFilePublicFile.ts +1 -1
  127. package/src/models/ProjectSummaryWithAnalytics.ts +2 -2
  128. package/src/models/ProjectWithAnalytics.ts +2 -2
  129. package/src/models/ScreenerQuestion.ts +72 -0
  130. package/src/models/ScreenerQuestionChooseMultiple.ts +137 -0
  131. package/src/models/ScreenerQuestionChooseMultipleOptionsValue.ts +95 -0
  132. package/src/models/ScreenerQuestionChooseMultiplePublic.ts +128 -0
  133. package/src/models/ScreenerQuestionOption.ts +95 -0
  134. package/src/models/ScreenerQuestionPublic.ts +76 -0
  135. package/src/models/ScreenerQuestionResponse.ts +2 -11
  136. package/src/models/SearchSharedResponseMessages200ResponseInner.ts +1 -1
  137. package/src/models/ShareEntity.ts +2 -2
  138. package/src/models/Thread.ts +2 -2
  139. package/src/models/ThreadFile.ts +1 -1
  140. package/src/models/TranscriptMessage.ts +1 -1
  141. package/src/models/TranscriptMessagesInner.ts +1 -1
  142. package/src/models/UpdateShareEntityRequest.ts +1 -1
  143. package/src/models/User.ts +4 -4
  144. package/src/models/UserWithConfig.ts +4 -4
  145. package/src/models/Workspace.ts +2 -2
  146. package/src/models/WorkspaceMember.ts +2 -2
  147. package/src/models/index.ts +9 -0
@@ -55,6 +55,7 @@ src/models/AttributeStatsSchemaInnerKind.ts
55
55
  src/models/AttributeStatsSchemaInnerValuesInner.ts
56
56
  src/models/AttributeValueKind.ts
57
57
  src/models/BadRequestErrorResponse.ts
58
+ src/models/ByoPanelRepdataConfig.ts
58
59
  src/models/Call.ts
59
60
  src/models/CallAnalysis.ts
60
61
  src/models/CallEvent.ts
@@ -100,6 +101,7 @@ src/models/InboundCallResponse.ts
100
101
  src/models/InternalServerErrorResponse.ts
101
102
  src/models/Invite.ts
102
103
  src/models/InviteConfig.ts
104
+ src/models/InviteConfigByoPanel.ts
103
105
  src/models/InviteConfigContacts.ts
104
106
  src/models/InviteConfigKeplarPanel.ts
105
107
  src/models/InviteConfigPublic.ts
@@ -134,6 +136,7 @@ src/models/NotFoundErrorResponse.ts
134
136
  src/models/NumberFilterSchema.ts
135
137
  src/models/OpenAiModelConfig.ts
136
138
  src/models/OpenAiModelConfigModel.ts
139
+ src/models/OptionKind.ts
137
140
  src/models/Org.ts
138
141
  src/models/OrgData.ts
139
142
  src/models/PanelQualification.ts
@@ -184,8 +187,14 @@ src/models/ResponseRedirectEvent.ts
184
187
  src/models/ResponseStartCallEvent.ts
185
188
  src/models/ResponseSubmitEmailEvent.ts
186
189
  src/models/ResponseSubmitScreenerEvent.ts
190
+ src/models/ScreenerQuestion.ts
191
+ src/models/ScreenerQuestionChooseMultiple.ts
192
+ src/models/ScreenerQuestionChooseMultipleOptionsValue.ts
193
+ src/models/ScreenerQuestionChooseMultiplePublic.ts
187
194
  src/models/ScreenerQuestionChooseOne.ts
188
195
  src/models/ScreenerQuestionChooseOnePublic.ts
196
+ src/models/ScreenerQuestionOption.ts
197
+ src/models/ScreenerQuestionPublic.ts
189
198
  src/models/ScreenerQuestionResponse.ts
190
199
  src/models/SearchProjectTranscriptsResponse.ts
191
200
  src/models/SearchSharedResponseMessages200ResponseInner.ts
@@ -1 +1 @@
1
- 7.15.0-SNAPSHOT
1
+ 7.16.0-SNAPSHOT
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## keplar-api@0.0.17
1
+ ## keplar-api@0.0.19
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install keplar-api@0.0.17 --save
39
+ npm install keplar-api@0.0.19 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -50,6 +50,6 @@ function ApiFilesFileIdSignedUrlPost200ResponseToJSONTyped(value, ignoreDiscrimi
50
50
  }
51
51
  return {
52
52
  'signedUrl': value['signedUrl'],
53
- 'expires': ((value['expires']).toISOString()),
53
+ 'expires': value['expires'].toISOString(),
54
54
  };
55
55
  }
@@ -48,7 +48,6 @@ function ApiInvitesIdPutRequestToJSON(json) {
48
48
  return ApiInvitesIdPutRequestToJSONTyped(json, false);
49
49
  }
50
50
  function ApiInvitesIdPutRequestToJSONTyped(value, ignoreDiscriminator) {
51
- var _a, _b;
52
51
  if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
53
52
  if (value == null) {
54
53
  return value;
@@ -57,8 +56,8 @@ function ApiInvitesIdPutRequestToJSONTyped(value, ignoreDiscriminator) {
57
56
  'name': value['name'],
58
57
  'description': value['description'],
59
58
  'config': (0, InviteConfig_1.InviteConfigToJSON)(value['config']),
60
- 'liveAt': value['liveAt'] === null ? null : ((_a = value['liveAt']) === null || _a === void 0 ? void 0 : _a.toISOString()),
61
- 'expiresAt': value['expiresAt'] === null ? null : ((_b = value['expiresAt']) === null || _b === void 0 ? void 0 : _b.toISOString()),
59
+ 'liveAt': value['liveAt'] == null ? value['liveAt'] : value['liveAt'].toISOString(),
60
+ 'expiresAt': value['expiresAt'] == null ? value['expiresAt'] : value['expiresAt'].toISOString(),
62
61
  'status': (0, InviteStatus_1.InviteStatusToJSON)(value['status']),
63
62
  };
64
63
  }
@@ -59,6 +59,6 @@ function ApiInvitesPostRequestToJSONTyped(value, ignoreDiscriminator) {
59
59
  'description': value['description'],
60
60
  'config': (0, InviteConfig_1.InviteConfigToJSON)(value['config']),
61
61
  'projectId': value['projectId'],
62
- 'expiresAt': value['expiresAt'] == null ? undefined : ((value['expiresAt']).toISOString()),
62
+ 'expiresAt': value['expiresAt'] == null ? value['expiresAt'] : value['expiresAt'].toISOString(),
63
63
  };
64
64
  }
@@ -91,8 +91,8 @@ function ArtifactToJSONTyped(value, ignoreDiscriminator) {
91
91
  'data': (0, ArtifactData_1.ArtifactDataToJSON)(value['data']),
92
92
  'metadata': (0, ArtifactMetadata_1.ArtifactMetadataToJSON)(value['metadata']),
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
  'project': (0, Project_1.ProjectToJSON)(value['project']),
97
97
  'attributeKindGroup': (0, AttributeKindGroup_1.AttributeKindGroupToJSON)(value['attributeKindGroup']),
98
98
  'versionGroup': (0, ArtifactVersionGroup_1.ArtifactVersionGroupToJSON)(value['versionGroup']),
@@ -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']),
@@ -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';
@@ -19,6 +19,7 @@ exports.CodeInviteConfigToJSON = CodeInviteConfigToJSON;
19
19
  exports.CodeInviteConfigToJSONTyped = CodeInviteConfigToJSONTyped;
20
20
  var CodeInviteConfigContacts_1 = require("./CodeInviteConfigContacts");
21
21
  var CodeInviteConfigKeplarPanel_1 = require("./CodeInviteConfigKeplarPanel");
22
+ var InviteConfigByoPanel_1 = require("./InviteConfigByoPanel");
22
23
  var InviteConfigPublic_1 = require("./InviteConfigPublic");
23
24
  function CodeInviteConfigFromJSON(json) {
24
25
  return CodeInviteConfigFromJSONTyped(json, false);
@@ -28,6 +29,8 @@ function CodeInviteConfigFromJSONTyped(json, ignoreDiscriminator) {
28
29
  return json;
29
30
  }
30
31
  switch (json['kind']) {
32
+ case 'BYO_PANEL':
33
+ return Object.assign({}, (0, InviteConfigByoPanel_1.InviteConfigByoPanelFromJSONTyped)(json, true), { kind: 'BYO_PANEL' });
31
34
  case 'CONTACTS':
32
35
  return Object.assign({}, (0, CodeInviteConfigContacts_1.CodeInviteConfigContactsFromJSONTyped)(json, true), { kind: 'CONTACTS' });
33
36
  case 'KEPLAR_PANEL':
@@ -47,6 +50,8 @@ function CodeInviteConfigToJSONTyped(value, ignoreDiscriminator) {
47
50
  return value;
48
51
  }
49
52
  switch (value['kind']) {
53
+ case 'BYO_PANEL':
54
+ return Object.assign({}, (0, InviteConfigByoPanel_1.InviteConfigByoPanelToJSON)(value), { kind: 'BYO_PANEL' });
50
55
  case 'CONTACTS':
51
56
  return Object.assign({}, (0, CodeInviteConfigContacts_1.CodeInviteConfigContactsToJSON)(value), { kind: 'CONTACTS' });
52
57
  case 'KEPLAR_PANEL':
@@ -71,8 +71,8 @@ function CodeInviteResponseToJSONTyped(value, ignoreDiscriminator) {
71
71
  'id': value['id'],
72
72
  'inviteId': value['inviteId'],
73
73
  'kind': (0, InviteResponseKind_1.InviteResponseKindToJSON)(value['kind']),
74
- 'createdAt': ((value['createdAt']).toISOString()),
75
- 'updatedAt': ((value['updatedAt']).toISOString()),
74
+ 'createdAt': value['createdAt'].toISOString(),
75
+ 'updatedAt': value['updatedAt'].toISOString(),
76
76
  'data': (0, InviteResponseData_1.InviteResponseDataToJSON)(value['data']),
77
77
  'status': (0, InviteResponseStatus_1.InviteResponseStatusToJSON)(value['status']),
78
78
  'participantId': value['participantId'],
@@ -77,8 +77,8 @@ function ConversationMessageToJSONTyped(value, ignoreDiscriminator) {
77
77
  'index': value['index'],
78
78
  'role': value['role'],
79
79
  'source': value['source'],
80
- 'time': ((value['time']).toISOString()),
81
- 'endTime': ((value['endTime']).toISOString()),
80
+ 'time': value['time'].toISOString(),
81
+ 'endTime': value['endTime'].toISOString(),
82
82
  'message': value['message'],
83
83
  'duration': value['duration'],
84
84
  'secondsFromStart': value['secondsFromStart'],
@@ -48,6 +48,6 @@ function CreateEmailShareRequestToJSONTyped(value, ignoreDiscriminator) {
48
48
  }
49
49
  return {
50
50
  'email': value['email'],
51
- 'expiresAt': value['expiresAt'] == null ? undefined : ((value['expiresAt']).toISOString()),
51
+ 'expiresAt': value['expiresAt'] == null ? value['expiresAt'] : value['expiresAt'].toISOString(),
52
52
  };
53
53
  }
@@ -45,7 +45,7 @@ function CreateProjectShareRequestToJSONTyped(value, ignoreDiscriminator) {
45
45
  return value;
46
46
  }
47
47
  return {
48
- 'expiresAt': value['expiresAt'] == null ? undefined : ((value['expiresAt']).toISOString()),
48
+ 'expiresAt': value['expiresAt'] == null ? value['expiresAt'] : value['expiresAt'].toISOString(),
49
49
  'allowedEmails': value['allowedEmails'],
50
50
  };
51
51
  }
@@ -59,7 +59,6 @@ function EmailShareToJSON(json) {
59
59
  return EmailShareToJSONTyped(json, false);
60
60
  }
61
61
  function EmailShareToJSONTyped(value, ignoreDiscriminator) {
62
- var _a;
63
62
  if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
64
63
  if (value == null) {
65
64
  return value;
@@ -69,9 +68,9 @@ function EmailShareToJSONTyped(value, ignoreDiscriminator) {
69
68
  'email': value['email'],
70
69
  'shareEntityId': value['shareEntityId'],
71
70
  'accessToken': value['accessToken'],
72
- 'createdAt': ((value['createdAt']).toISOString()),
73
- 'expiresAt': ((value['expiresAt']).toISOString()),
74
- 'accessedAt': value['accessedAt'] === null ? null : ((_a = value['accessedAt']) === null || _a === void 0 ? void 0 : _a.toISOString()),
71
+ 'createdAt': value['createdAt'].toISOString(),
72
+ 'expiresAt': value['expiresAt'].toISOString(),
73
+ 'accessedAt': value['accessedAt'] == null ? value['accessedAt'] : value['accessedAt'].toISOString(),
75
74
  'shareEntity': (0, ShareEntity_1.ShareEntityToJSON)(value['shareEntity']),
76
75
  };
77
76
  }
@@ -64,7 +64,6 @@ function GetCodeInvite200ResponseToJSON(json) {
64
64
  return GetCodeInvite200ResponseToJSONTyped(json, false);
65
65
  }
66
66
  function GetCodeInvite200ResponseToJSONTyped(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 GetCodeInvite200ResponseToJSONTyped(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']),
@@ -80,7 +80,6 @@ function InviteToJSON(json) {
80
80
  return InviteToJSONTyped(json, false);
81
81
  }
82
82
  function InviteToJSONTyped(value, ignoreDiscriminator) {
83
- var _a, _b;
84
83
  if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
85
84
  if (value == null) {
86
85
  return value;
@@ -92,10 +91,10 @@ function InviteToJSONTyped(value, ignoreDiscriminator) {
92
91
  'config': (0, InviteConfig_1.InviteConfigToJSON)(value['config']),
93
92
  'code': value['code'],
94
93
  'status': (0, InviteStatus_1.InviteStatusToJSON)(value['status']),
95
- 'createdAt': ((value['createdAt']).toISOString()),
96
- 'updatedAt': ((value['updatedAt']).toISOString()),
97
- 'liveAt': value['liveAt'] === null ? null : ((_a = value['liveAt']) === null || _a === void 0 ? void 0 : _a.toISOString()),
98
- 'expiresAt': value['expiresAt'] === null ? null : ((_b = value['expiresAt']) === null || _b === void 0 ? void 0 : _b.toISOString()),
94
+ 'createdAt': value['createdAt'].toISOString(),
95
+ 'updatedAt': value['updatedAt'].toISOString(),
96
+ 'liveAt': value['liveAt'] == null ? value['liveAt'] : value['liveAt'].toISOString(),
97
+ 'expiresAt': value['expiresAt'] == null ? value['expiresAt'] : value['expiresAt'].toISOString(),
99
98
  'createdById': value['createdById'],
100
99
  'projectId': value['projectId'],
101
100
  'createdBy': (0, User_1.UserToJSON)(value['createdBy']),
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { InviteConfigByoPanel } from './InviteConfigByoPanel';
12
13
  import type { InviteConfigContacts } from './InviteConfigContacts';
13
14
  import type { InviteConfigKeplarPanel } from './InviteConfigKeplarPanel';
14
15
  import type { InviteConfigPublic } from './InviteConfigPublic';
@@ -18,6 +19,8 @@ import type { InviteConfigPublic } from './InviteConfigPublic';
18
19
  * @export
19
20
  */
20
21
  export type InviteConfig = {
22
+ kind: 'BYO_PANEL';
23
+ } & InviteConfigByoPanel | {
21
24
  kind: 'CONTACTS';
22
25
  } & InviteConfigContacts | {
23
26
  kind: 'KEPLAR_PANEL';
@@ -17,6 +17,7 @@ exports.InviteConfigFromJSON = InviteConfigFromJSON;
17
17
  exports.InviteConfigFromJSONTyped = InviteConfigFromJSONTyped;
18
18
  exports.InviteConfigToJSON = InviteConfigToJSON;
19
19
  exports.InviteConfigToJSONTyped = InviteConfigToJSONTyped;
20
+ var InviteConfigByoPanel_1 = require("./InviteConfigByoPanel");
20
21
  var InviteConfigContacts_1 = require("./InviteConfigContacts");
21
22
  var InviteConfigKeplarPanel_1 = require("./InviteConfigKeplarPanel");
22
23
  var InviteConfigPublic_1 = require("./InviteConfigPublic");
@@ -28,6 +29,8 @@ function InviteConfigFromJSONTyped(json, ignoreDiscriminator) {
28
29
  return json;
29
30
  }
30
31
  switch (json['kind']) {
32
+ case 'BYO_PANEL':
33
+ return Object.assign({}, (0, InviteConfigByoPanel_1.InviteConfigByoPanelFromJSONTyped)(json, true), { kind: 'BYO_PANEL' });
31
34
  case 'CONTACTS':
32
35
  return Object.assign({}, (0, InviteConfigContacts_1.InviteConfigContactsFromJSONTyped)(json, true), { kind: 'CONTACTS' });
33
36
  case 'KEPLAR_PANEL':
@@ -47,6 +50,8 @@ function InviteConfigToJSONTyped(value, ignoreDiscriminator) {
47
50
  return value;
48
51
  }
49
52
  switch (value['kind']) {
53
+ case 'BYO_PANEL':
54
+ return Object.assign({}, (0, InviteConfigByoPanel_1.InviteConfigByoPanelToJSON)(value), { kind: 'BYO_PANEL' });
50
55
  case 'CONTACTS':
51
56
  return Object.assign({}, (0, InviteConfigContacts_1.InviteConfigContactsToJSON)(value), { kind: 'CONTACTS' });
52
57
  case 'KEPLAR_PANEL':
@@ -0,0 +1,70 @@
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 { ByoPanelRepdataConfig } from './ByoPanelRepdataConfig';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface InviteConfigByoPanel
17
+ */
18
+ export interface InviteConfigByoPanel {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof InviteConfigByoPanel
23
+ */
24
+ kind: InviteConfigByoPanelKindEnum;
25
+ /**
26
+ *
27
+ * @type {ByoPanelRepdataConfig}
28
+ * @memberof InviteConfigByoPanel
29
+ */
30
+ byoPanelConfig: ByoPanelRepdataConfig;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof InviteConfigByoPanel
35
+ */
36
+ title: string;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof InviteConfigByoPanel
41
+ */
42
+ description?: string;
43
+ /**
44
+ *
45
+ * @type {number}
46
+ * @memberof InviteConfigByoPanel
47
+ */
48
+ maxResponses?: number;
49
+ /**
50
+ *
51
+ * @type {number}
52
+ * @memberof InviteConfigByoPanel
53
+ */
54
+ maxResponsesPerParticipant?: number;
55
+ }
56
+ /**
57
+ * @export
58
+ */
59
+ export declare const InviteConfigByoPanelKindEnum: {
60
+ readonly ByoPanel: "BYO_PANEL";
61
+ };
62
+ export type InviteConfigByoPanelKindEnum = typeof InviteConfigByoPanelKindEnum[keyof typeof InviteConfigByoPanelKindEnum];
63
+ /**
64
+ * Check if a given object implements the InviteConfigByoPanel interface.
65
+ */
66
+ export declare function instanceOfInviteConfigByoPanel(value: object): value is InviteConfigByoPanel;
67
+ export declare function InviteConfigByoPanelFromJSON(json: any): InviteConfigByoPanel;
68
+ export declare function InviteConfigByoPanelFromJSONTyped(json: any, ignoreDiscriminator: boolean): InviteConfigByoPanel;
69
+ export declare function InviteConfigByoPanelToJSON(json: any): InviteConfigByoPanel;
70
+ export declare function InviteConfigByoPanelToJSONTyped(value?: InviteConfigByoPanel | null, ignoreDiscriminator?: boolean): any;