@raconte/node-sdk 0.1.1 → 0.1.2

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.
@@ -19,9 +19,9 @@ type ObjectSeparatorStyle = ObjectStyle | MatrixStyle;
19
19
  interface SerializePrimitiveParam extends SerializePrimitiveOptions {
20
20
  value: string;
21
21
  }
22
- export declare const separatorArrayExplode: (style: ArraySeparatorStyle) => "." | ";" | "," | "&";
22
+ export declare const separatorArrayExplode: (style: ArraySeparatorStyle) => "&" | "." | ";" | ",";
23
23
  export declare const separatorArrayNoExplode: (style: ArraySeparatorStyle) => "," | "|" | "%20";
24
- export declare const separatorObjectExplode: (style: ObjectSeparatorStyle) => "." | ";" | "," | "&";
24
+ export declare const separatorObjectExplode: (style: ObjectSeparatorStyle) => "&" | "." | ";" | ",";
25
25
  export declare const serializeArrayParam: ({ allowReserved, explode, name, style, value, }: SerializeOptions<ArraySeparatorStyle> & {
26
26
  value: unknown[];
27
27
  }) => string;
@@ -435,7 +435,7 @@ export type InterviewInvitationsControllerCreateData = {
435
435
  /**
436
436
  * CreateInterviewInvitationSchema
437
437
  *
438
- * Optional invitee details for a new invitation. Every field is optional: with an empty body you get a blank, ready-to-share invitation whose link is `<app>/invitation/{slug}` (the `slug` is returned in the response). Providing name, email or phone only pre-fills the invitation, it is not sent here: deliver it with the send endpoint, or just share the link.
438
+ * Optional invitee details for a new invitation. Every field is optional: with an empty body you get a blank, ready-to-share invitation whose link is `<app>/i/{slug}` (the `slug` is returned in the response). Providing name, email or phone only pre-fills the invitation, it is not sent here: deliver it with the send endpoint, or just share the link.
439
439
  */
440
440
  body: {
441
441
  name?: string;
@@ -63,15 +63,15 @@ export declare const zInterviewMessageAudioUrlSchema: z.ZodObject<{
63
63
  export declare const zInterviewLogSchema: z.ZodObject<{
64
64
  id: z.ZodUUID;
65
65
  type: z.ZodEnum<{
66
+ completed: "completed";
67
+ cancelled: "cancelled";
68
+ archived: "archived";
66
69
  email_sent: "email_sent";
67
70
  sms_sent: "sms_sent";
68
71
  started: "started";
69
- completed: "completed";
70
72
  auto_completed: "auto_completed";
71
73
  resume_reminder_sent: "resume_reminder_sent";
72
- cancelled: "cancelled";
73
74
  reactivated: "reactivated";
74
- archived: "archived";
75
75
  restored: "restored";
76
76
  }>;
77
77
  target: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
@@ -86,15 +86,15 @@ export declare const zInterviewLogSchema: z.ZodObject<{
86
86
  export declare const zInterviewLogListSchema: z.ZodArray<z.ZodObject<{
87
87
  id: z.ZodUUID;
88
88
  type: z.ZodEnum<{
89
+ completed: "completed";
90
+ cancelled: "cancelled";
91
+ archived: "archived";
89
92
  email_sent: "email_sent";
90
93
  sms_sent: "sms_sent";
91
94
  started: "started";
92
- completed: "completed";
93
95
  auto_completed: "auto_completed";
94
96
  resume_reminder_sent: "resume_reminder_sent";
95
- cancelled: "cancelled";
96
97
  reactivated: "reactivated";
97
- archived: "archived";
98
98
  restored: "restored";
99
99
  }>;
100
100
  target: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
@@ -130,10 +130,10 @@ export declare const zInterviewMessageSchema: z.ZodObject<{
130
130
  * Lifecycle state of an invitation (the unit that gets sent and produces a transcript).
131
131
  */
132
132
  export declare const zInterviewInvitationStatus: z.ZodEnum<{
133
- completed: "completed";
134
- cancelled: "cancelled";
135
133
  ready: "ready";
136
134
  in_progress: "in_progress";
135
+ completed: "completed";
136
+ cancelled: "cancelled";
137
137
  }>;
138
138
  /**
139
139
  * InterviewInvitationSchema
@@ -145,10 +145,10 @@ export declare const zInterviewInvitationSchema: z.ZodObject<{
145
145
  interviewId: z.ZodUUID;
146
146
  slug: z.ZodString;
147
147
  status: z.ZodEnum<{
148
- completed: "completed";
149
- cancelled: "cancelled";
150
148
  ready: "ready";
151
149
  in_progress: "in_progress";
150
+ completed: "completed";
151
+ cancelled: "cancelled";
152
152
  }>;
153
153
  name: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
154
154
  recipientEmail: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
@@ -187,10 +187,10 @@ export declare const zInterviewInvitationListSchema: z.ZodArray<z.ZodObject<{
187
187
  interviewId: z.ZodUUID;
188
188
  slug: z.ZodString;
189
189
  status: z.ZodEnum<{
190
- completed: "completed";
191
- cancelled: "cancelled";
192
190
  ready: "ready";
193
191
  in_progress: "in_progress";
192
+ completed: "completed";
193
+ cancelled: "cancelled";
194
194
  }>;
195
195
  name: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
196
196
  recipientEmail: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
@@ -244,10 +244,10 @@ export declare const zInterviewInvitationSummarySchema: z.ZodObject<{
244
244
  id: z.ZodUUID;
245
245
  slug: z.ZodString;
246
246
  status: z.ZodEnum<{
247
- completed: "completed";
248
- cancelled: "cancelled";
249
247
  ready: "ready";
250
248
  in_progress: "in_progress";
249
+ completed: "completed";
250
+ cancelled: "cancelled";
251
251
  }>;
252
252
  name: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
253
253
  recipientEmail: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
@@ -300,10 +300,10 @@ export declare const zInterviewSchema: z.ZodObject<{
300
300
  id: z.ZodUUID;
301
301
  slug: z.ZodString;
302
302
  status: z.ZodEnum<{
303
- completed: "completed";
304
- cancelled: "cancelled";
305
303
  ready: "ready";
306
304
  in_progress: "in_progress";
305
+ completed: "completed";
306
+ cancelled: "cancelled";
307
307
  }>;
308
308
  name: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
309
309
  recipientEmail: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
@@ -346,10 +346,10 @@ export declare const zInterviewListSchema: z.ZodArray<z.ZodObject<{
346
346
  id: z.ZodUUID;
347
347
  slug: z.ZodString;
348
348
  status: z.ZodEnum<{
349
- completed: "completed";
350
- cancelled: "cancelled";
351
349
  ready: "ready";
352
350
  in_progress: "in_progress";
351
+ completed: "completed";
352
+ cancelled: "cancelled";
353
353
  }>;
354
354
  name: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
355
355
  recipientEmail: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
@@ -371,10 +371,10 @@ export declare const zCreatedInterviewSchema: z.ZodObject<{
371
371
  invitationId: z.ZodUUID;
372
372
  slug: z.ZodString;
373
373
  status: z.ZodEnum<{
374
- completed: "completed";
375
- cancelled: "cancelled";
376
374
  ready: "ready";
377
375
  in_progress: "in_progress";
376
+ completed: "completed";
377
+ cancelled: "cancelled";
378
378
  }>;
379
379
  }, z.core.$strip>;
380
380
  /**
@@ -387,10 +387,10 @@ export declare const zCreatedInterviewsResponse: z.ZodArray<z.ZodObject<{
387
387
  invitationId: z.ZodUUID;
388
388
  slug: z.ZodString;
389
389
  status: z.ZodEnum<{
390
- completed: "completed";
391
- cancelled: "cancelled";
392
390
  ready: "ready";
393
391
  in_progress: "in_progress";
392
+ completed: "completed";
393
+ cancelled: "cancelled";
394
394
  }>;
395
395
  }, z.core.$strip>>;
396
396
  export declare const zInterviewsControllerListData: z.ZodObject<{
@@ -429,10 +429,10 @@ export declare const zInterviewsControllerListResponse: z.ZodArray<z.ZodObject<{
429
429
  id: z.ZodUUID;
430
430
  slug: z.ZodString;
431
431
  status: z.ZodEnum<{
432
- completed: "completed";
433
- cancelled: "cancelled";
434
432
  ready: "ready";
435
433
  in_progress: "in_progress";
434
+ completed: "completed";
435
+ cancelled: "cancelled";
436
436
  }>;
437
437
  name: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
438
438
  recipientEmail: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
@@ -471,10 +471,10 @@ export declare const zInterviewsControllerCreateResponse: z.ZodArray<z.ZodObject
471
471
  invitationId: z.ZodUUID;
472
472
  slug: z.ZodString;
473
473
  status: z.ZodEnum<{
474
- completed: "completed";
475
- cancelled: "cancelled";
476
474
  ready: "ready";
477
475
  in_progress: "in_progress";
476
+ completed: "completed";
477
+ cancelled: "cancelled";
478
478
  }>;
479
479
  }, z.core.$strip>>;
480
480
  export declare const zInterviewsControllerGetOneData: z.ZodObject<{
@@ -513,10 +513,10 @@ export declare const zInterviewsControllerGetOneResponse: z.ZodObject<{
513
513
  id: z.ZodUUID;
514
514
  slug: z.ZodString;
515
515
  status: z.ZodEnum<{
516
- completed: "completed";
517
- cancelled: "cancelled";
518
516
  ready: "ready";
519
517
  in_progress: "in_progress";
518
+ completed: "completed";
519
+ cancelled: "cancelled";
520
520
  }>;
521
521
  name: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
522
522
  recipientEmail: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
@@ -574,10 +574,10 @@ export declare const zInterviewsControllerUpdateResponse: z.ZodObject<{
574
574
  id: z.ZodUUID;
575
575
  slug: z.ZodString;
576
576
  status: z.ZodEnum<{
577
- completed: "completed";
578
- cancelled: "cancelled";
579
577
  ready: "ready";
580
578
  in_progress: "in_progress";
579
+ completed: "completed";
580
+ cancelled: "cancelled";
581
581
  }>;
582
582
  name: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
583
583
  recipientEmail: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
@@ -625,10 +625,10 @@ export declare const zInterviewsControllerRegenerateIntroResponse: z.ZodObject<{
625
625
  id: z.ZodUUID;
626
626
  slug: z.ZodString;
627
627
  status: z.ZodEnum<{
628
- completed: "completed";
629
- cancelled: "cancelled";
630
628
  ready: "ready";
631
629
  in_progress: "in_progress";
630
+ completed: "completed";
631
+ cancelled: "cancelled";
632
632
  }>;
633
633
  name: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
634
634
  recipientEmail: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
@@ -676,10 +676,10 @@ export declare const zInterviewsControllerRegenerateFirstMessageResponse: z.ZodO
676
676
  id: z.ZodUUID;
677
677
  slug: z.ZodString;
678
678
  status: z.ZodEnum<{
679
- completed: "completed";
680
- cancelled: "cancelled";
681
679
  ready: "ready";
682
680
  in_progress: "in_progress";
681
+ completed: "completed";
682
+ cancelled: "cancelled";
683
683
  }>;
684
684
  name: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
685
685
  recipientEmail: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
@@ -730,15 +730,15 @@ export declare const zInterviewsControllerGetLogsData: z.ZodObject<{
730
730
  export declare const zInterviewsControllerGetLogsResponse: z.ZodArray<z.ZodObject<{
731
731
  id: z.ZodUUID;
732
732
  type: z.ZodEnum<{
733
+ completed: "completed";
734
+ cancelled: "cancelled";
735
+ archived: "archived";
733
736
  email_sent: "email_sent";
734
737
  sms_sent: "sms_sent";
735
738
  started: "started";
736
- completed: "completed";
737
739
  auto_completed: "auto_completed";
738
740
  resume_reminder_sent: "resume_reminder_sent";
739
- cancelled: "cancelled";
740
741
  reactivated: "reactivated";
741
- archived: "archived";
742
742
  restored: "restored";
743
743
  }>;
744
744
  target: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
@@ -760,10 +760,10 @@ export declare const zInterviewInvitationsControllerListResponse: z.ZodArray<z.Z
760
760
  interviewId: z.ZodUUID;
761
761
  slug: z.ZodString;
762
762
  status: z.ZodEnum<{
763
- completed: "completed";
764
- cancelled: "cancelled";
765
763
  ready: "ready";
766
764
  in_progress: "in_progress";
765
+ completed: "completed";
766
+ cancelled: "cancelled";
767
767
  }>;
768
768
  name: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
769
769
  recipientEmail: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
@@ -811,10 +811,10 @@ export declare const zInterviewInvitationsControllerCreateResponse: z.ZodObject<
811
811
  interviewId: z.ZodUUID;
812
812
  slug: z.ZodString;
813
813
  status: z.ZodEnum<{
814
- completed: "completed";
815
- cancelled: "cancelled";
816
814
  ready: "ready";
817
815
  in_progress: "in_progress";
816
+ completed: "completed";
817
+ cancelled: "cancelled";
818
818
  }>;
819
819
  name: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
820
820
  recipientEmail: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
@@ -864,10 +864,10 @@ export declare const zInterviewInvitationsControllerCreateBulkResponse: z.ZodArr
864
864
  interviewId: z.ZodUUID;
865
865
  slug: z.ZodString;
866
866
  status: z.ZodEnum<{
867
- completed: "completed";
868
- cancelled: "cancelled";
869
867
  ready: "ready";
870
868
  in_progress: "in_progress";
869
+ completed: "completed";
870
+ cancelled: "cancelled";
871
871
  }>;
872
872
  name: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
873
873
  recipientEmail: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
@@ -911,10 +911,10 @@ export declare const zInterviewInvitationsControllerGetOneResponse: z.ZodObject<
911
911
  interviewId: z.ZodUUID;
912
912
  slug: z.ZodString;
913
913
  status: z.ZodEnum<{
914
- completed: "completed";
915
- cancelled: "cancelled";
916
914
  ready: "ready";
917
915
  in_progress: "in_progress";
916
+ completed: "completed";
917
+ cancelled: "cancelled";
918
918
  }>;
919
919
  name: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
920
920
  recipientEmail: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
@@ -960,10 +960,10 @@ export declare const zInterviewInvitationsControllerUpdateResponse: z.ZodObject<
960
960
  interviewId: z.ZodUUID;
961
961
  slug: z.ZodString;
962
962
  status: z.ZodEnum<{
963
- completed: "completed";
964
- cancelled: "cancelled";
965
963
  ready: "ready";
966
964
  in_progress: "in_progress";
965
+ completed: "completed";
966
+ cancelled: "cancelled";
967
967
  }>;
968
968
  name: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
969
969
  recipientEmail: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
@@ -1010,10 +1010,10 @@ export declare const zInterviewInvitationsControllerSendResponse: z.ZodObject<{
1010
1010
  interviewId: z.ZodUUID;
1011
1011
  slug: z.ZodString;
1012
1012
  status: z.ZodEnum<{
1013
- completed: "completed";
1014
- cancelled: "cancelled";
1015
1013
  ready: "ready";
1016
1014
  in_progress: "in_progress";
1015
+ completed: "completed";
1016
+ cancelled: "cancelled";
1017
1017
  }>;
1018
1018
  name: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1019
1019
  recipientEmail: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
@@ -1057,10 +1057,10 @@ export declare const zInterviewInvitationsControllerCancelResponse: z.ZodObject<
1057
1057
  interviewId: z.ZodUUID;
1058
1058
  slug: z.ZodString;
1059
1059
  status: z.ZodEnum<{
1060
- completed: "completed";
1061
- cancelled: "cancelled";
1062
1060
  ready: "ready";
1063
1061
  in_progress: "in_progress";
1062
+ completed: "completed";
1063
+ cancelled: "cancelled";
1064
1064
  }>;
1065
1065
  name: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1066
1066
  recipientEmail: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
@@ -1104,10 +1104,10 @@ export declare const zInterviewInvitationsControllerReactivateResponse: z.ZodObj
1104
1104
  interviewId: z.ZodUUID;
1105
1105
  slug: z.ZodString;
1106
1106
  status: z.ZodEnum<{
1107
- completed: "completed";
1108
- cancelled: "cancelled";
1109
1107
  ready: "ready";
1110
1108
  in_progress: "in_progress";
1109
+ completed: "completed";
1110
+ cancelled: "cancelled";
1111
1111
  }>;
1112
1112
  name: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1113
1113
  recipientEmail: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
@@ -1151,10 +1151,10 @@ export declare const zInterviewInvitationsControllerArchiveResponse: z.ZodObject
1151
1151
  interviewId: z.ZodUUID;
1152
1152
  slug: z.ZodString;
1153
1153
  status: z.ZodEnum<{
1154
- completed: "completed";
1155
- cancelled: "cancelled";
1156
1154
  ready: "ready";
1157
1155
  in_progress: "in_progress";
1156
+ completed: "completed";
1157
+ cancelled: "cancelled";
1158
1158
  }>;
1159
1159
  name: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1160
1160
  recipientEmail: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
@@ -1198,10 +1198,10 @@ export declare const zInterviewInvitationsControllerRestoreResponse: z.ZodObject
1198
1198
  interviewId: z.ZodUUID;
1199
1199
  slug: z.ZodString;
1200
1200
  status: z.ZodEnum<{
1201
- completed: "completed";
1202
- cancelled: "cancelled";
1203
1201
  ready: "ready";
1204
1202
  in_progress: "in_progress";
1203
+ completed: "completed";
1204
+ cancelled: "cancelled";
1205
1205
  }>;
1206
1206
  name: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
1207
1207
  recipientEmail: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
@@ -1243,15 +1243,15 @@ export declare const zInterviewInvitationsControllerGetLogsData: z.ZodObject<{
1243
1243
  export declare const zInterviewInvitationsControllerGetLogsResponse: z.ZodArray<z.ZodObject<{
1244
1244
  id: z.ZodUUID;
1245
1245
  type: z.ZodEnum<{
1246
+ completed: "completed";
1247
+ cancelled: "cancelled";
1248
+ archived: "archived";
1246
1249
  email_sent: "email_sent";
1247
1250
  sms_sent: "sms_sent";
1248
1251
  started: "started";
1249
- completed: "completed";
1250
1252
  auto_completed: "auto_completed";
1251
1253
  resume_reminder_sent: "resume_reminder_sent";
1252
- cancelled: "cancelled";
1253
1254
  reactivated: "reactivated";
1254
- archived: "archived";
1255
1255
  restored: "restored";
1256
1256
  }>;
1257
1257
  target: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@raconte/node-sdk",
3
3
  "type": "module",
4
- "version": "0.1.1",
4
+ "version": "0.1.2",
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",