@raconte/node-sdk 0.1.0 → 0.1.1

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.
@@ -55,9 +55,9 @@ export type InterviewLogSchema = {
55
55
  /**
56
56
  * InterviewLogType
57
57
  *
58
- * Type of an interview log event. archived/restored are interview-level transitions (no invitationId); the others are invitation-scoped.
58
+ * Type of an interview log event. archived/restored are interview-level transitions (no invitationId); the others are invitation-scoped. auto_completed is logged when the stale sweep finalizes an abandoned interview after 3h of inactivity; resume_reminder_sent when the invitee is reminded to finish a stalled interview.
59
59
  */
60
- type: "email_sent" | "sms_sent" | "started" | "completed" | "cancelled" | "reactivated" | "archived" | "restored";
60
+ type: "email_sent" | "sms_sent" | "started" | "completed" | "auto_completed" | "resume_reminder_sent" | "cancelled" | "reactivated" | "archived" | "restored";
61
61
  target: string | null;
62
62
  invitationId: string | null;
63
63
  createdAt: string;
@@ -65,7 +65,7 @@ export type InterviewLogSchema = {
65
65
  /**
66
66
  * InterviewInvitationSchema
67
67
  *
68
- * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state.
68
+ * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state. autoCompletedAt is set when the interview was finalized automatically after 3h of inactivity (rather than ended by the invitee), meaning the transcript may be incomplete; it can be reopened via the reactivate endpoint.
69
69
  */
70
70
  export type InterviewInvitationSchema = {
71
71
  id: string;
@@ -77,6 +77,7 @@ export type InterviewInvitationSchema = {
77
77
  recipientPhone: string | null;
78
78
  summary: string | null;
79
79
  archivedAt: string | null;
80
+ autoCompletedAt: string | null;
80
81
  createdAt: string;
81
82
  updatedAt: string;
82
83
  messages?: Array<InterviewMessageSchema>;
@@ -452,7 +453,7 @@ export type InterviewInvitationsControllerCreateData = {
452
453
  };
453
454
  export type InterviewInvitationsControllerCreateResponses = {
454
455
  /**
455
- * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state.
456
+ * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state. autoCompletedAt is set when the interview was finalized automatically after 3h of inactivity (rather than ended by the invitee), meaning the transcript may be incomplete; it can be reopened via the reactivate endpoint.
456
457
  */
457
458
  200: InterviewInvitationSchema;
458
459
  };
@@ -499,7 +500,7 @@ export type InterviewInvitationsControllerGetOneData = {
499
500
  };
500
501
  export type InterviewInvitationsControllerGetOneResponses = {
501
502
  /**
502
- * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state.
503
+ * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state. autoCompletedAt is set when the interview was finalized automatically after 3h of inactivity (rather than ended by the invitee), meaning the transcript may be incomplete; it can be reopened via the reactivate endpoint.
503
504
  */
504
505
  200: InterviewInvitationSchema;
505
506
  };
@@ -524,7 +525,7 @@ export type InterviewInvitationsControllerUpdateData = {
524
525
  };
525
526
  export type InterviewInvitationsControllerUpdateResponses = {
526
527
  /**
527
- * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state.
528
+ * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state. autoCompletedAt is set when the interview was finalized automatically after 3h of inactivity (rather than ended by the invitee), meaning the transcript may be incomplete; it can be reopened via the reactivate endpoint.
528
529
  */
529
530
  200: InterviewInvitationSchema;
530
531
  };
@@ -550,7 +551,7 @@ export type InterviewInvitationsControllerSendData = {
550
551
  };
551
552
  export type InterviewInvitationsControllerSendResponses = {
552
553
  /**
553
- * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state.
554
+ * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state. autoCompletedAt is set when the interview was finalized automatically after 3h of inactivity (rather than ended by the invitee), meaning the transcript may be incomplete; it can be reopened via the reactivate endpoint.
554
555
  */
555
556
  200: InterviewInvitationSchema;
556
557
  };
@@ -568,7 +569,7 @@ export type InterviewInvitationsControllerCancelData = {
568
569
  };
569
570
  export type InterviewInvitationsControllerCancelResponses = {
570
571
  /**
571
- * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state.
572
+ * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state. autoCompletedAt is set when the interview was finalized automatically after 3h of inactivity (rather than ended by the invitee), meaning the transcript may be incomplete; it can be reopened via the reactivate endpoint.
572
573
  */
573
574
  200: InterviewInvitationSchema;
574
575
  };
@@ -586,7 +587,7 @@ export type InterviewInvitationsControllerReactivateData = {
586
587
  };
587
588
  export type InterviewInvitationsControllerReactivateResponses = {
588
589
  /**
589
- * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state.
590
+ * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state. autoCompletedAt is set when the interview was finalized automatically after 3h of inactivity (rather than ended by the invitee), meaning the transcript may be incomplete; it can be reopened via the reactivate endpoint.
590
591
  */
591
592
  200: InterviewInvitationSchema;
592
593
  };
@@ -604,7 +605,7 @@ export type InterviewInvitationsControllerArchiveData = {
604
605
  };
605
606
  export type InterviewInvitationsControllerArchiveResponses = {
606
607
  /**
607
- * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state.
608
+ * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state. autoCompletedAt is set when the interview was finalized automatically after 3h of inactivity (rather than ended by the invitee), meaning the transcript may be incomplete; it can be reopened via the reactivate endpoint.
608
609
  */
609
610
  200: InterviewInvitationSchema;
610
611
  };
@@ -622,7 +623,7 @@ export type InterviewInvitationsControllerRestoreData = {
622
623
  };
623
624
  export type InterviewInvitationsControllerRestoreResponses = {
624
625
  /**
625
- * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state.
626
+ * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state. autoCompletedAt is set when the interview was finalized automatically after 3h of inactivity (rather than ended by the invitee), meaning the transcript may be incomplete; it can be reopened via the reactivate endpoint.
626
627
  */
627
628
  200: InterviewInvitationSchema;
628
629
  };
@@ -67,6 +67,8 @@ export declare const zInterviewLogSchema: z.ZodObject<{
67
67
  sms_sent: "sms_sent";
68
68
  started: "started";
69
69
  completed: "completed";
70
+ auto_completed: "auto_completed";
71
+ resume_reminder_sent: "resume_reminder_sent";
70
72
  cancelled: "cancelled";
71
73
  reactivated: "reactivated";
72
74
  archived: "archived";
@@ -88,6 +90,8 @@ export declare const zInterviewLogListSchema: z.ZodArray<z.ZodObject<{
88
90
  sms_sent: "sms_sent";
89
91
  started: "started";
90
92
  completed: "completed";
93
+ auto_completed: "auto_completed";
94
+ resume_reminder_sent: "resume_reminder_sent";
91
95
  cancelled: "cancelled";
92
96
  reactivated: "reactivated";
93
97
  archived: "archived";
@@ -134,7 +138,7 @@ export declare const zInterviewInvitationStatus: z.ZodEnum<{
134
138
  /**
135
139
  * InterviewInvitationSchema
136
140
  *
137
- * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state.
141
+ * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state. autoCompletedAt is set when the interview was finalized automatically after 3h of inactivity (rather than ended by the invitee), meaning the transcript may be incomplete; it can be reopened via the reactivate endpoint.
138
142
  */
139
143
  export declare const zInterviewInvitationSchema: z.ZodObject<{
140
144
  id: z.ZodUUID;
@@ -151,6 +155,7 @@ export declare const zInterviewInvitationSchema: z.ZodObject<{
151
155
  recipientPhone: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
152
156
  summary: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
153
157
  archivedAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
158
+ autoCompletedAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
154
159
  createdAt: z.ZodString;
155
160
  updatedAt: z.ZodString;
156
161
  messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -192,6 +197,7 @@ export declare const zInterviewInvitationListSchema: z.ZodArray<z.ZodObject<{
192
197
  recipientPhone: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
193
198
  summary: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
194
199
  archivedAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
200
+ autoCompletedAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
195
201
  createdAt: z.ZodString;
196
202
  updatedAt: z.ZodString;
197
203
  messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -728,6 +734,8 @@ export declare const zInterviewsControllerGetLogsResponse: z.ZodArray<z.ZodObjec
728
734
  sms_sent: "sms_sent";
729
735
  started: "started";
730
736
  completed: "completed";
737
+ auto_completed: "auto_completed";
738
+ resume_reminder_sent: "resume_reminder_sent";
731
739
  cancelled: "cancelled";
732
740
  reactivated: "reactivated";
733
741
  archived: "archived";
@@ -762,6 +770,7 @@ export declare const zInterviewInvitationsControllerListResponse: z.ZodArray<z.Z
762
770
  recipientPhone: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
763
771
  summary: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
764
772
  archivedAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
773
+ autoCompletedAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
765
774
  createdAt: z.ZodString;
766
775
  updatedAt: z.ZodString;
767
776
  messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -795,7 +804,7 @@ export declare const zInterviewInvitationsControllerCreateData: z.ZodObject<{
795
804
  query: z.ZodOptional<z.ZodNever>;
796
805
  }, z.core.$strip>;
797
806
  /**
798
- * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state.
807
+ * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state. autoCompletedAt is set when the interview was finalized automatically after 3h of inactivity (rather than ended by the invitee), meaning the transcript may be incomplete; it can be reopened via the reactivate endpoint.
799
808
  */
800
809
  export declare const zInterviewInvitationsControllerCreateResponse: z.ZodObject<{
801
810
  id: z.ZodUUID;
@@ -812,6 +821,7 @@ export declare const zInterviewInvitationsControllerCreateResponse: z.ZodObject<
812
821
  recipientPhone: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
813
822
  summary: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
814
823
  archivedAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
824
+ autoCompletedAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
815
825
  createdAt: z.ZodString;
816
826
  updatedAt: z.ZodString;
817
827
  messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -864,6 +874,7 @@ export declare const zInterviewInvitationsControllerCreateBulkResponse: z.ZodArr
864
874
  recipientPhone: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
865
875
  summary: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
866
876
  archivedAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
877
+ autoCompletedAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
867
878
  createdAt: z.ZodString;
868
879
  updatedAt: z.ZodString;
869
880
  messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -893,7 +904,7 @@ export declare const zInterviewInvitationsControllerGetOneData: z.ZodObject<{
893
904
  query: z.ZodOptional<z.ZodNever>;
894
905
  }, z.core.$strip>;
895
906
  /**
896
- * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state.
907
+ * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state. autoCompletedAt is set when the interview was finalized automatically after 3h of inactivity (rather than ended by the invitee), meaning the transcript may be incomplete; it can be reopened via the reactivate endpoint.
897
908
  */
898
909
  export declare const zInterviewInvitationsControllerGetOneResponse: z.ZodObject<{
899
910
  id: z.ZodUUID;
@@ -910,6 +921,7 @@ export declare const zInterviewInvitationsControllerGetOneResponse: z.ZodObject<
910
921
  recipientPhone: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
911
922
  summary: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
912
923
  archivedAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
924
+ autoCompletedAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
913
925
  createdAt: z.ZodString;
914
926
  updatedAt: z.ZodString;
915
927
  messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -941,7 +953,7 @@ export declare const zInterviewInvitationsControllerUpdateData: z.ZodObject<{
941
953
  query: z.ZodOptional<z.ZodNever>;
942
954
  }, z.core.$strip>;
943
955
  /**
944
- * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state.
956
+ * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state. autoCompletedAt is set when the interview was finalized automatically after 3h of inactivity (rather than ended by the invitee), meaning the transcript may be incomplete; it can be reopened via the reactivate endpoint.
945
957
  */
946
958
  export declare const zInterviewInvitationsControllerUpdateResponse: z.ZodObject<{
947
959
  id: z.ZodUUID;
@@ -958,6 +970,7 @@ export declare const zInterviewInvitationsControllerUpdateResponse: z.ZodObject<
958
970
  recipientPhone: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
959
971
  summary: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
960
972
  archivedAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
973
+ autoCompletedAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
961
974
  createdAt: z.ZodString;
962
975
  updatedAt: z.ZodString;
963
976
  messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -990,7 +1003,7 @@ export declare const zInterviewInvitationsControllerSendData: z.ZodObject<{
990
1003
  query: z.ZodOptional<z.ZodNever>;
991
1004
  }, z.core.$strip>;
992
1005
  /**
993
- * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state.
1006
+ * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state. autoCompletedAt is set when the interview was finalized automatically after 3h of inactivity (rather than ended by the invitee), meaning the transcript may be incomplete; it can be reopened via the reactivate endpoint.
994
1007
  */
995
1008
  export declare const zInterviewInvitationsControllerSendResponse: z.ZodObject<{
996
1009
  id: z.ZodUUID;
@@ -1007,6 +1020,7 @@ export declare const zInterviewInvitationsControllerSendResponse: z.ZodObject<{
1007
1020
  recipientPhone: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1008
1021
  summary: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1009
1022
  archivedAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1023
+ autoCompletedAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1010
1024
  createdAt: z.ZodString;
1011
1025
  updatedAt: z.ZodString;
1012
1026
  messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1036,7 +1050,7 @@ export declare const zInterviewInvitationsControllerCancelData: z.ZodObject<{
1036
1050
  query: z.ZodOptional<z.ZodNever>;
1037
1051
  }, z.core.$strip>;
1038
1052
  /**
1039
- * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state.
1053
+ * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state. autoCompletedAt is set when the interview was finalized automatically after 3h of inactivity (rather than ended by the invitee), meaning the transcript may be incomplete; it can be reopened via the reactivate endpoint.
1040
1054
  */
1041
1055
  export declare const zInterviewInvitationsControllerCancelResponse: z.ZodObject<{
1042
1056
  id: z.ZodUUID;
@@ -1053,6 +1067,7 @@ export declare const zInterviewInvitationsControllerCancelResponse: z.ZodObject<
1053
1067
  recipientPhone: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1054
1068
  summary: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1055
1069
  archivedAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1070
+ autoCompletedAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1056
1071
  createdAt: z.ZodString;
1057
1072
  updatedAt: z.ZodString;
1058
1073
  messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1082,7 +1097,7 @@ export declare const zInterviewInvitationsControllerReactivateData: z.ZodObject<
1082
1097
  query: z.ZodOptional<z.ZodNever>;
1083
1098
  }, z.core.$strip>;
1084
1099
  /**
1085
- * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state.
1100
+ * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state. autoCompletedAt is set when the interview was finalized automatically after 3h of inactivity (rather than ended by the invitee), meaning the transcript may be incomplete; it can be reopened via the reactivate endpoint.
1086
1101
  */
1087
1102
  export declare const zInterviewInvitationsControllerReactivateResponse: z.ZodObject<{
1088
1103
  id: z.ZodUUID;
@@ -1099,6 +1114,7 @@ export declare const zInterviewInvitationsControllerReactivateResponse: z.ZodObj
1099
1114
  recipientPhone: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1100
1115
  summary: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1101
1116
  archivedAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1117
+ autoCompletedAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1102
1118
  createdAt: z.ZodString;
1103
1119
  updatedAt: z.ZodString;
1104
1120
  messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1128,7 +1144,7 @@ export declare const zInterviewInvitationsControllerArchiveData: z.ZodObject<{
1128
1144
  query: z.ZodOptional<z.ZodNever>;
1129
1145
  }, z.core.$strip>;
1130
1146
  /**
1131
- * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state.
1147
+ * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state. autoCompletedAt is set when the interview was finalized automatically after 3h of inactivity (rather than ended by the invitee), meaning the transcript may be incomplete; it can be reopened via the reactivate endpoint.
1132
1148
  */
1133
1149
  export declare const zInterviewInvitationsControllerArchiveResponse: z.ZodObject<{
1134
1150
  id: z.ZodUUID;
@@ -1145,6 +1161,7 @@ export declare const zInterviewInvitationsControllerArchiveResponse: z.ZodObject
1145
1161
  recipientPhone: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1146
1162
  summary: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1147
1163
  archivedAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1164
+ autoCompletedAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1148
1165
  createdAt: z.ZodString;
1149
1166
  updatedAt: z.ZodString;
1150
1167
  messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1174,7 +1191,7 @@ export declare const zInterviewInvitationsControllerRestoreData: z.ZodObject<{
1174
1191
  query: z.ZodOptional<z.ZodNever>;
1175
1192
  }, z.core.$strip>;
1176
1193
  /**
1177
- * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state.
1194
+ * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state. autoCompletedAt is set when the interview was finalized automatically after 3h of inactivity (rather than ended by the invitee), meaning the transcript may be incomplete; it can be reopened via the reactivate endpoint.
1178
1195
  */
1179
1196
  export declare const zInterviewInvitationsControllerRestoreResponse: z.ZodObject<{
1180
1197
  id: z.ZodUUID;
@@ -1191,6 +1208,7 @@ export declare const zInterviewInvitationsControllerRestoreResponse: z.ZodObject
1191
1208
  recipientPhone: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1192
1209
  summary: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1193
1210
  archivedAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1211
+ autoCompletedAt: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1194
1212
  createdAt: z.ZodString;
1195
1213
  updatedAt: z.ZodString;
1196
1214
  messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1229,6 +1247,8 @@ export declare const zInterviewInvitationsControllerGetLogsResponse: z.ZodArray<
1229
1247
  sms_sent: "sms_sent";
1230
1248
  started: "started";
1231
1249
  completed: "completed";
1250
+ auto_completed: "auto_completed";
1251
+ resume_reminder_sent: "resume_reminder_sent";
1232
1252
  cancelled: "cancelled";
1233
1253
  reactivated: "reactivated";
1234
1254
  archived: "archived";
@@ -54,6 +54,8 @@ export const zInterviewLogSchema = z.object({
54
54
  "sms_sent",
55
55
  "started",
56
56
  "completed",
57
+ "auto_completed",
58
+ "resume_reminder_sent",
57
59
  "cancelled",
58
60
  "reactivated",
59
61
  "archived",
@@ -110,7 +112,7 @@ export const zInterviewInvitationStatus = z.enum([
110
112
  /**
111
113
  * InterviewInvitationSchema
112
114
  *
113
- * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state.
115
+ * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state. autoCompletedAt is set when the interview was finalized automatically after 3h of inactivity (rather than ended by the invitee), meaning the transcript may be incomplete; it can be reopened via the reactivate endpoint.
114
116
  */
115
117
  export const zInterviewInvitationSchema = z.object({
116
118
  id: z
@@ -126,6 +128,7 @@ export const zInterviewInvitationSchema = z.object({
126
128
  recipientPhone: z.union([z.string(), z.null()]),
127
129
  summary: z.union([z.string(), z.null()]),
128
130
  archivedAt: z.union([z.string(), z.null()]),
131
+ autoCompletedAt: z.union([z.string(), z.null()]),
129
132
  createdAt: z.string(),
130
133
  updatedAt: z.string(),
131
134
  messages: z.optional(z.array(zInterviewMessageSchema)),
@@ -410,7 +413,7 @@ export const zInterviewInvitationsControllerCreateData = z.object({
410
413
  query: z.optional(z.never()),
411
414
  });
412
415
  /**
413
- * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state.
416
+ * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state. autoCompletedAt is set when the interview was finalized automatically after 3h of inactivity (rather than ended by the invitee), meaning the transcript may be incomplete; it can be reopened via the reactivate endpoint.
414
417
  */
415
418
  export const zInterviewInvitationsControllerCreateResponse = zInterviewInvitationSchema;
416
419
  export const zInterviewInvitationsControllerCreateBulkData = z.object({
@@ -446,7 +449,7 @@ export const zInterviewInvitationsControllerGetOneData = z.object({
446
449
  query: z.optional(z.never()),
447
450
  });
448
451
  /**
449
- * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state.
452
+ * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state. autoCompletedAt is set when the interview was finalized automatically after 3h of inactivity (rather than ended by the invitee), meaning the transcript may be incomplete; it can be reopened via the reactivate endpoint.
450
453
  */
451
454
  export const zInterviewInvitationsControllerGetOneResponse = zInterviewInvitationSchema;
452
455
  export const zInterviewInvitationsControllerUpdateData = z.object({
@@ -461,7 +464,7 @@ export const zInterviewInvitationsControllerUpdateData = z.object({
461
464
  query: z.optional(z.never()),
462
465
  });
463
466
  /**
464
- * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state.
467
+ * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state. autoCompletedAt is set when the interview was finalized automatically after 3h of inactivity (rather than ended by the invitee), meaning the transcript may be incomplete; it can be reopened via the reactivate endpoint.
465
468
  */
466
469
  export const zInterviewInvitationsControllerUpdateResponse = zInterviewInvitationSchema;
467
470
  export const zInterviewInvitationsControllerSendData = z.object({
@@ -479,7 +482,7 @@ export const zInterviewInvitationsControllerSendData = z.object({
479
482
  query: z.optional(z.never()),
480
483
  });
481
484
  /**
482
- * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state.
485
+ * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state. autoCompletedAt is set when the interview was finalized automatically after 3h of inactivity (rather than ended by the invitee), meaning the transcript may be incomplete; it can be reopened via the reactivate endpoint.
483
486
  */
484
487
  export const zInterviewInvitationsControllerSendResponse = zInterviewInvitationSchema;
485
488
  export const zInterviewInvitationsControllerCancelData = z.object({
@@ -492,7 +495,7 @@ export const zInterviewInvitationsControllerCancelData = z.object({
492
495
  query: z.optional(z.never()),
493
496
  });
494
497
  /**
495
- * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state.
498
+ * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state. autoCompletedAt is set when the interview was finalized automatically after 3h of inactivity (rather than ended by the invitee), meaning the transcript may be incomplete; it can be reopened via the reactivate endpoint.
496
499
  */
497
500
  export const zInterviewInvitationsControllerCancelResponse = zInterviewInvitationSchema;
498
501
  export const zInterviewInvitationsControllerReactivateData = z.object({
@@ -505,7 +508,7 @@ export const zInterviewInvitationsControllerReactivateData = z.object({
505
508
  query: z.optional(z.never()),
506
509
  });
507
510
  /**
508
- * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state.
511
+ * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state. autoCompletedAt is set when the interview was finalized automatically after 3h of inactivity (rather than ended by the invitee), meaning the transcript may be incomplete; it can be reopened via the reactivate endpoint.
509
512
  */
510
513
  export const zInterviewInvitationsControllerReactivateResponse = zInterviewInvitationSchema;
511
514
  export const zInterviewInvitationsControllerArchiveData = z.object({
@@ -518,7 +521,7 @@ export const zInterviewInvitationsControllerArchiveData = z.object({
518
521
  query: z.optional(z.never()),
519
522
  });
520
523
  /**
521
- * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state.
524
+ * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state. autoCompletedAt is set when the interview was finalized automatically after 3h of inactivity (rather than ended by the invitee), meaning the transcript may be incomplete; it can be reopened via the reactivate endpoint.
522
525
  */
523
526
  export const zInterviewInvitationsControllerArchiveResponse = zInterviewInvitationSchema;
524
527
  export const zInterviewInvitationsControllerRestoreData = z.object({
@@ -531,7 +534,7 @@ export const zInterviewInvitationsControllerRestoreData = z.object({
531
534
  query: z.optional(z.never()),
532
535
  });
533
536
  /**
534
- * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state.
537
+ * Full interview invitation payload including transcript messages. summary and per-message sentiments are populated asynchronously once the invitation reaches the completed state. autoCompletedAt is set when the interview was finalized automatically after 3h of inactivity (rather than ended by the invitee), meaning the transcript may be incomplete; it can be reopened via the reactivate endpoint.
535
538
  */
536
539
  export const zInterviewInvitationsControllerRestoreResponse = zInterviewInvitationSchema;
537
540
  export const zInterviewInvitationsControllerGetLogsData = z.object({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@raconte/node-sdk",
3
3
  "type": "module",
4
- "version": "0.1.0",
4
+ "version": "0.1.1",
5
5
  "description": "Typed TypeScript SDK for the public Raconte API (interviews and invitations). Generated from the public OpenAPI spec.",
6
6
  "license": "MIT",
7
7
  "homepage": "https://raconte.ai",