@tyvm/knowhow-api-client 0.0.1 → 0.0.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,6 +19,10 @@ declare namespace Components {
19
19
  options: /* Make all properties in T optional */ PartialEmbeddingOptions;
20
20
  provider?: string;
21
21
  }
22
+ export interface AddCommentRequest {
23
+ comment: string;
24
+ isSystem?: boolean;
25
+ }
22
26
  export interface ApproveSessionResponse {
23
27
  success: boolean;
24
28
  message: string;
@@ -117,6 +121,15 @@ declare namespace Components {
117
121
  expiresAt: string;
118
122
  pollUrl: string;
119
123
  }
124
+ export interface CreateTasksRequest {
125
+ orgUserId: string;
126
+ }
127
+ export interface CreateTasksResponse {
128
+ success: boolean;
129
+ message: string;
130
+ tasksCreated: number; // double
131
+ taskIds: string[];
132
+ }
120
133
  export interface CreditBalance {
121
134
  orgBalance?: number; // double
122
135
  orgUserBalance?: number; // double
@@ -166,9 +179,9 @@ declare namespace Components {
166
179
  description: string;
167
180
  organizationId: string;
168
181
  orgWorkers: string;
182
+ name: string;
169
183
  updatedAt: string; // date-time
170
184
  createdAt: string; // date-time
171
- name: string;
172
185
  id: string;
173
186
  }
174
187
  export interface DefaultSelectionPrisma36OrgCreditPurchasePayload {
@@ -177,41 +190,41 @@ declare namespace Components {
177
190
  fundingMethod: N$16EnumsFundingMethod;
178
191
  creditsAmount: number; // double
179
192
  amountUsd: number; // double
180
- status: string;
181
193
  organizationId: string;
182
194
  updatedAt: string; // date-time
183
195
  createdAt: string; // date-time
196
+ status: string;
184
197
  id: string;
185
198
  }
186
199
  export interface DefaultSelectionPrisma36OrgEmbeddingPayload {
187
200
  chunkSize: number; // double
188
201
  fileName: string;
189
- description: string;
190
202
  modelName: string;
203
+ description: string;
191
204
  organizationId: string;
205
+ name: string;
206
+ updatedAt: string; // date-time
207
+ createdAt: string; // date-time
192
208
  metadata: /**
193
209
  * From https://github.com/sindresorhus/type-fest/
194
210
  * Matches any valid JSON value.
195
211
  */
196
212
  JsonValue;
197
- updatedAt: string; // date-time
198
- createdAt: string; // date-time
199
- name: string;
200
213
  id: string;
201
214
  }
202
215
  export interface DefaultSelectionPrisma36OrgFilePayload {
203
- fileName: string;
204
216
  folderPath: string;
217
+ fileName: string;
205
218
  description: string;
206
219
  organizationId: string;
220
+ name: string;
221
+ updatedAt: string; // date-time
222
+ createdAt: string; // date-time
207
223
  metadata: /**
208
224
  * From https://github.com/sindresorhus/type-fest/
209
225
  * Matches any valid JSON value.
210
226
  */
211
227
  JsonValue;
212
- updatedAt: string; // date-time
213
- createdAt: string; // date-time
214
- name: string;
215
228
  id: string;
216
229
  }
217
230
  export interface DefaultSelectionPrisma36OrgMcpServerPayload {
@@ -232,20 +245,20 @@ declare namespace Components {
232
245
  command: string;
233
246
  uniqueName: string;
234
247
  organizationId: string;
248
+ name: string;
235
249
  updatedAt: string; // date-time
236
250
  createdAt: string; // date-time
237
- name: string;
238
251
  id: string;
239
252
  }
240
253
  export interface DefaultSelectionPrisma36OrgPaymentMethodPayload {
241
254
  fingerprint: string;
242
- isDefault: boolean;
243
255
  expiryYear: number; // double
244
256
  expiryMonth: number; // double
245
257
  brand: string;
246
258
  last4: string;
247
259
  stripePaymentMethodId: string;
248
260
  type: string;
261
+ isDefault: boolean;
249
262
  organizationId: string;
250
263
  updatedAt: string; // date-time
251
264
  createdAt: string; // date-time
@@ -264,10 +277,10 @@ declare namespace Components {
264
277
  fundingMethod: N$16EnumsFundingMethod;
265
278
  creditsAmount: number; // double
266
279
  amountUsd: number; // double
267
- status: string;
268
280
  orgUserId: string;
269
281
  updatedAt: string; // date-time
270
282
  createdAt: string; // date-time
283
+ status: string;
271
284
  id: string;
272
285
  }
273
286
  export interface DefaultSelectionPrisma36OrgUserMcpPayload {
@@ -288,9 +301,37 @@ declare namespace Components {
288
301
  command: string;
289
302
  uniqueName: string;
290
303
  orgUserId: string;
304
+ name: string;
291
305
  updatedAt: string; // date-time
292
306
  createdAt: string; // date-time
307
+ id: string;
308
+ }
309
+ export interface DefaultSelectionPrisma36OrgUserTaskPayload {
310
+ templateId: string;
311
+ failedAt: string; // date-time
312
+ dependsOn: /**
313
+ * From https://github.com/sindresorhus/type-fest/
314
+ * Matches any valid JSON value.
315
+ */
316
+ JsonValue;
317
+ completedAt: string; // date-time
318
+ dueDate: string; // date-time
319
+ priority: number; // double
320
+ requireChecks: boolean;
321
+ state: N$16EnumsTaskState;
322
+ parentId: string;
323
+ orgUserId: string;
324
+ orgId: string;
325
+ description: string;
326
+ deletedAt: string; // date-time
293
327
  name: string;
328
+ updatedAt: string; // date-time
329
+ createdAt: string; // date-time
330
+ metadata: /**
331
+ * From https://github.com/sindresorhus/type-fest/
332
+ * Matches any valid JSON value.
333
+ */
334
+ JsonValue;
294
335
  id: string;
295
336
  }
296
337
  export interface DefaultSelectionPrisma36OrgWorkerPayload {
@@ -298,28 +339,72 @@ declare namespace Components {
298
339
  connected: boolean;
299
340
  fsRoot: string;
300
341
  userAgent: string;
301
- orgId: string;
302
342
  socketId: string;
343
+ orgId: string;
303
344
  userId: string;
304
345
  id: string;
305
346
  }
306
347
  export interface DefaultSelectionPrisma36OrganizationPayload {
348
+ coversUserExpenses: boolean;
307
349
  billingEmail: string;
308
350
  domain: string;
309
- stripeCustomerId: string;
310
- autoReloadAmount: number; // double
311
351
  autoReloadThreshold: number; // double
312
352
  autoReloadEnabled: boolean;
353
+ autoReloadAmount: number; // double
354
+ stripeCustomerId: string;
313
355
  creditsUsd: number; // double
356
+ deletedAt: string; // date-time
357
+ name: string;
358
+ updatedAt: string; // date-time
359
+ createdAt: string; // date-time
314
360
  metadata: /**
315
361
  * From https://github.com/sindresorhus/type-fest/
316
362
  * Matches any valid JSON value.
317
363
  */
318
364
  JsonValue;
319
- deletedAt: string; // date-time
365
+ id: string;
366
+ }
367
+ export interface DefaultSelectionPrisma36TaskCheckPayload {
368
+ executedAt: string; // date-time
369
+ methodName: string;
370
+ className: string;
371
+ taskId: string;
372
+ state: N$16EnumsCheckState;
373
+ name: string;
320
374
  updatedAt: string; // date-time
321
375
  createdAt: string; // date-time
376
+ metadata: /**
377
+ * From https://github.com/sindresorhus/type-fest/
378
+ * Matches any valid JSON value.
379
+ */
380
+ JsonValue;
381
+ id: string;
382
+ result: /**
383
+ * From https://github.com/sindresorhus/type-fest/
384
+ * Matches any valid JSON value.
385
+ */
386
+ JsonValue;
387
+ error: string;
388
+ }
389
+ export interface DefaultSelectionPrisma36TaskTemplatePayload {
390
+ tasks: /**
391
+ * From https://github.com/sindresorhus/type-fest/
392
+ * Matches any valid JSON value.
393
+ */
394
+ JsonValue;
395
+ orgId: string;
396
+ isDefault: boolean;
397
+ isActive: boolean;
398
+ description: string;
399
+ deletedAt: string; // date-time
322
400
  name: string;
401
+ updatedAt: string; // date-time
402
+ createdAt: string; // date-time
403
+ metadata: /**
404
+ * From https://github.com/sindresorhus/type-fest/
405
+ * Matches any valid JSON value.
406
+ */
407
+ JsonValue;
323
408
  id: string;
324
409
  }
325
410
  export interface DefaultSelectionPrisma36UserCreditPurchasePayload {
@@ -328,26 +413,30 @@ declare namespace Components {
328
413
  fundingMethod: N$16EnumsFundingMethod;
329
414
  creditsAmount: number; // double
330
415
  amountUsd: number; // double
331
- status: string;
332
416
  userId: string;
333
417
  updatedAt: string; // date-time
334
418
  createdAt: string; // date-time
419
+ status: string;
335
420
  id: string;
336
421
  }
337
422
  export interface DefaultSelectionPrisma36UserPaymentMethodPayload {
338
423
  fingerprint: string;
339
- isDefault: boolean;
340
424
  expiryYear: number; // double
341
425
  expiryMonth: number; // double
342
426
  brand: string;
343
427
  last4: string;
344
428
  stripePaymentMethodId: string;
345
429
  type: string;
430
+ isDefault: boolean;
346
431
  userId: string;
347
432
  updatedAt: string; // date-time
348
433
  createdAt: string; // date-time
349
434
  id: string;
350
435
  }
436
+ export interface ElevationRequest {
437
+ otpCode?: string;
438
+ recoveryCode?: string;
439
+ }
351
440
  export interface EmbeddableAny {
352
441
  id: string;
353
442
  text: string;
@@ -376,6 +465,14 @@ declare namespace Components {
376
465
  }
377
466
  export type FilterTypePrismaOrgEmbeddingUpdateWithoutOrganizationInputOrgEmbeddingOptionalFieldsOrgEmbeddingExcludedFields = /* Construct a type with the properties of T except for those in type K. */ OmitPartialByPrismaOrgEmbeddingUpdateWithoutOrganizationInputOrgEmbeddingOptionalFieldsOrgEmbeddingExcludedFields;
378
467
  export type FilterTypePrismaOrgFileUpdateWithoutOrganizationInputOrgFileOptionalFieldsOrgFileExcludedFields = /* Construct a type with the properties of T except for those in type K. */ OmitPartialByPrismaOrgFileUpdateWithoutOrganizationInputOrgFileOptionalFieldsOrgFileExcludedFields;
468
+ export interface Generate2FAResponse {
469
+ qrCodeDataUrl: string;
470
+ secret: string;
471
+ }
472
+ export interface Get2FAStatusResponse {
473
+ isEnabled: boolean;
474
+ enabledAt?: string; // date-time
475
+ }
379
476
  export interface HealthCheckResponse {
380
477
  status: "healthy" | "unhealthy" | "degraded";
381
478
  timestamp: string;
@@ -481,11 +578,23 @@ declare namespace Components {
481
578
  * From https://github.com/sindresorhus/type-fest/
482
579
  * Matches a JSON array.
483
580
  */
484
- JsonArray | null | null | null | null | null | null | null | null | null;
581
+ JsonArray | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null;
485
582
  export interface LivenessResponse {
486
583
  status: "live" | "dead";
487
584
  timestamp: string;
488
585
  }
586
+ export interface MarkCompletedRequest {
587
+ force?: boolean;
588
+ }
589
+ export interface MarkCompletedResponse {
590
+ success: boolean;
591
+ message: string;
592
+ task?: /**
593
+ * Model OrgUserTask
594
+ * Represents a task assigned to an org user
595
+ */
596
+ OrgUserTask;
597
+ }
489
598
  export interface Message {
490
599
  role: "system" | "user" | "assistant" | "tool";
491
600
  content?: string | MessageContent[];
@@ -502,14 +611,18 @@ declare namespace Components {
502
611
  };
503
612
  type: "image_url";
504
613
  };
614
+ export type N$16EnumsCheckState = "PENDING" | "COMPLETED" | "FAILED" | "RUNNING";
505
615
  export type N$16EnumsCliLoginSessionStatus = "PENDING" | "APPROVED" | "DENIED" | "EXPIRED" | "USED";
506
616
  export type N$16EnumsFundingMethod = "STRIPE_PAYMENT_METHOD" | "USER_BALANCE";
617
+ export type N$16EnumsTaskState = "PENDING" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "CANCELLED";
507
618
  export type N$16EnumsUserRole = "OWNER" | "ADMIN" | "MEMBER";
619
+ export type N$16EnumsWaitlistStatus = "PENDING" | "APPROVED" | "REJECTED";
508
620
  export interface NullablePartialPickPrismaOrganizationUncheckedUpdateWithoutUsersInputOrganizationOptionalFields {
509
621
  name?: string | PrismaStringFieldUpdateOperationsInput;
622
+ autoReloadAmount?: number /* double */ | PrismaNullableFloatFieldUpdateOperationsInput;
510
623
  autoReloadEnabled?: boolean | PrismaBoolFieldUpdateOperationsInput;
511
624
  autoReloadThreshold?: number /* double */ | PrismaNullableFloatFieldUpdateOperationsInput;
512
- autoReloadAmount?: number /* double */ | PrismaNullableFloatFieldUpdateOperationsInput;
625
+ coversUserExpenses?: boolean | PrismaBoolFieldUpdateOperationsInput;
513
626
  }
514
627
  /**
515
628
  * Construct a type with the properties of T except for those in type K.
@@ -612,6 +725,89 @@ declare namespace Components {
612
725
  * Represents an MCP server configuration for a specific org user.
613
726
  */
614
727
  export type OrgUserMcp = DefaultSelectionPrisma36OrgUserMcpPayload;
728
+ /**
729
+ * Model OrgUserTask
730
+ * Represents a task assigned to an org user
731
+ */
732
+ export type OrgUserTask = DefaultSelectionPrisma36OrgUserTaskPayload;
733
+ export interface OrgUserTaskCreateData {
734
+ orgId: string;
735
+ orgUserId: string;
736
+ name: string;
737
+ description?: string;
738
+ parentId?: string;
739
+ dependsOn?: string[];
740
+ requireChecks?: boolean;
741
+ checks?: TaskCheckData[];
742
+ priority?: number; // double
743
+ dueDate?: string; // date-time
744
+ metadata?: any;
745
+ templateId?: string;
746
+ }
747
+ export interface OrgUserTaskUpdateData {
748
+ name?: string;
749
+ description?: string;
750
+ parentId?: string;
751
+ dependsOn?: string[];
752
+ state?: TaskState;
753
+ requireChecks?: boolean;
754
+ checks?: TaskCheckData[];
755
+ priority?: number; // double
756
+ dueDate?: string; // date-time
757
+ completedAt?: string; // date-time
758
+ failedAt?: string; // date-time
759
+ metadata?: any;
760
+ }
761
+ export interface OrgUserTaskWithRelations {
762
+ templateId: string;
763
+ failedAt: string; // date-time
764
+ dependsOn: /**
765
+ * From https://github.com/sindresorhus/type-fest/
766
+ * Matches any valid JSON value.
767
+ */
768
+ JsonValue;
769
+ completedAt: string; // date-time
770
+ dueDate: string; // date-time
771
+ priority: number; // double
772
+ requireChecks: boolean;
773
+ state: N$16EnumsTaskState;
774
+ parentId: string;
775
+ orgUserId: string;
776
+ orgId: string;
777
+ description: string;
778
+ deletedAt: string; // date-time
779
+ name: string;
780
+ updatedAt: string; // date-time
781
+ createdAt: string; // date-time
782
+ metadata: /**
783
+ * From https://github.com/sindresorhus/type-fest/
784
+ * Matches any valid JSON value.
785
+ */
786
+ JsonValue;
787
+ id: string;
788
+ organization: {
789
+ name: string;
790
+ id: string;
791
+ };
792
+ orgUser: {
793
+ userId: string;
794
+ id: string;
795
+ };
796
+ checks: /**
797
+ * Model TaskCheck
798
+ * Represents a check that needs to be executed for a task
799
+ */
800
+ TaskCheck[];
801
+ comments: {
802
+ orgUser: {
803
+ userId: string;
804
+ };
805
+ createdAt: string; // date-time
806
+ isSystem: boolean;
807
+ comment: string;
808
+ id: string;
809
+ }[];
810
+ }
615
811
  /**
616
812
  * Model OrgWorker
617
813
  */
@@ -678,7 +874,6 @@ declare namespace Components {
678
874
  * From T, pick a set of properties whose keys are in the union K
679
875
  */
680
876
  export interface PickPartialByPrismaOrgEmbeddingUpdateWithoutOrganizationInputOrgEmbeddingOptionalFieldsExcludeKeyofPartialByPrismaOrgEmbeddingUpdateWithoutOrganizationInputOrgEmbeddingOptionalFieldsOrgEmbeddingExcludedFields {
681
- name?: string | PrismaStringFieldUpdateOperationsInput;
682
877
  metadata?: PrismaNullableJsonNullValueInput | /**
683
878
  * Matches any valid value that can be used as an input for operations like
684
879
  * create and update as the value of a JSON field. Unlike \`JsonValue\`, this
@@ -691,8 +886,9 @@ declare namespace Components {
691
886
  * NULL value instead.
692
887
  */
693
888
  InputJsonValue;
694
- modelName?: string | PrismaStringFieldUpdateOperationsInput;
889
+ name?: string | PrismaStringFieldUpdateOperationsInput;
695
890
  description?: string | PrismaNullableStringFieldUpdateOperationsInput;
891
+ modelName?: string | PrismaStringFieldUpdateOperationsInput;
696
892
  fileName?: string | PrismaStringFieldUpdateOperationsInput;
697
893
  chunkSize?: number /* double */ | PrismaIntFieldUpdateOperationsInput;
698
894
  }
@@ -700,7 +896,6 @@ declare namespace Components {
700
896
  * From T, pick a set of properties whose keys are in the union K
701
897
  */
702
898
  export interface PickPartialByPrismaOrgFileUpdateWithoutOrganizationInputOrgFileOptionalFieldsExcludeKeyofPartialByPrismaOrgFileUpdateWithoutOrganizationInputOrgFileOptionalFieldsOrgFileExcludedFields {
703
- name?: string | PrismaStringFieldUpdateOperationsInput;
704
899
  metadata?: PrismaNullableJsonNullValueInput | /**
705
900
  * Matches any valid value that can be used as an input for operations like
706
901
  * create and update as the value of a JSON field. Unlike \`JsonValue\`, this
@@ -713,9 +908,10 @@ declare namespace Components {
713
908
  * NULL value instead.
714
909
  */
715
910
  InputJsonValue;
911
+ name?: string | PrismaStringFieldUpdateOperationsInput;
716
912
  description?: string | PrismaNullableStringFieldUpdateOperationsInput;
717
- folderPath?: string | PrismaStringFieldUpdateOperationsInput;
718
913
  fileName?: string | PrismaStringFieldUpdateOperationsInput;
914
+ folderPath?: string | PrismaStringFieldUpdateOperationsInput;
719
915
  }
720
916
  export interface PrismaBoolFieldUpdateOperationsInput {
721
917
  set?: boolean;
@@ -785,6 +981,7 @@ declare namespace Components {
785
981
  id?: string;
786
982
  }
787
983
  export interface PrismaOrgFileCreateWithoutOrganizationInput {
984
+ folderPath?: string;
788
985
  updatedAt?: string /* date-time */ | string;
789
986
  createdAt?: string /* date-time */ | string;
790
987
  metadata?: PrismaNullableJsonNullValueInput | /**
@@ -800,7 +997,6 @@ declare namespace Components {
800
997
  */
801
998
  InputJsonValue;
802
999
  fileName: string;
803
- folderPath?: string;
804
1000
  description?: string | null;
805
1001
  name: string;
806
1002
  id?: string;
@@ -826,6 +1022,32 @@ declare namespace Components {
826
1022
  export interface RecordStringAny {
827
1023
  [name: string]: any;
828
1024
  }
1025
+ export interface RequestPasswordResetRequest {
1026
+ email: string;
1027
+ otpCode?: string;
1028
+ }
1029
+ export interface RequestPasswordResetResponse {
1030
+ success: boolean;
1031
+ message: string;
1032
+ requires2FA?: boolean;
1033
+ }
1034
+ export interface ResetPasswordRequest {
1035
+ email: string;
1036
+ sharedSecret: string;
1037
+ newPassword: string;
1038
+ }
1039
+ export interface ResetPasswordResponse {
1040
+ success: boolean;
1041
+ message: string;
1042
+ }
1043
+ export interface RunChecksResponse {
1044
+ success: boolean;
1045
+ message: string;
1046
+ allPassed?: boolean;
1047
+ passedChecks?: any[];
1048
+ failedChecks?: any[];
1049
+ results?: any[];
1050
+ }
829
1051
  export interface SecretPathsResponse {
830
1052
  availablePaths: string[];
831
1053
  secretName: string;
@@ -856,6 +1078,106 @@ declare namespace Components {
856
1078
  jwt?: string;
857
1079
  status: CliLoginSessionStatus;
858
1080
  }
1081
+ export interface Setup2FARequest {
1082
+ otpCode: string;
1083
+ }
1084
+ export interface Setup2FAResponse {
1085
+ success: boolean;
1086
+ recoveryCodes: string[];
1087
+ }
1088
+ /**
1089
+ * Model TaskCheck
1090
+ * Represents a check that needs to be executed for a task
1091
+ */
1092
+ export type TaskCheck = DefaultSelectionPrisma36TaskCheckPayload;
1093
+ export interface TaskCheckData {
1094
+ name: string;
1095
+ className: string;
1096
+ methodName: string;
1097
+ metadata?: any;
1098
+ }
1099
+ export interface TaskData {
1100
+ name: string;
1101
+ description?: string;
1102
+ parentId?: string;
1103
+ dependsOn?: string[];
1104
+ requireChecks?: boolean;
1105
+ checks?: TaskCheckData[];
1106
+ priority?: number; // double
1107
+ dueDate?: string; // date-time
1108
+ metadata?: any;
1109
+ }
1110
+ export interface TaskListResponse {
1111
+ tasks: /**
1112
+ * Model OrgUserTask
1113
+ * Represents a task assigned to an org user
1114
+ */
1115
+ OrgUserTask[];
1116
+ total: number; // double
1117
+ }
1118
+ export type TaskState = N$16EnumsTaskState;
1119
+ /**
1120
+ * Model TaskTemplate
1121
+ * Template for creating sets of tasks
1122
+ */
1123
+ export type TaskTemplate = DefaultSelectionPrisma36TaskTemplatePayload;
1124
+ export interface TaskTemplateCreateData {
1125
+ orgId: string;
1126
+ name: string;
1127
+ description?: string;
1128
+ tasks: TaskData[];
1129
+ metadata?: any;
1130
+ isDefault?: boolean;
1131
+ }
1132
+ export interface TaskTemplateUpdateData {
1133
+ name?: string;
1134
+ description?: string;
1135
+ tasks?: TaskData[];
1136
+ metadata?: any;
1137
+ isDefault?: boolean;
1138
+ }
1139
+ export interface TaskTemplateWithRelations {
1140
+ tasks: /**
1141
+ * From https://github.com/sindresorhus/type-fest/
1142
+ * Matches any valid JSON value.
1143
+ */
1144
+ JsonValue;
1145
+ orgId: string;
1146
+ isDefault: boolean;
1147
+ isActive: boolean;
1148
+ description: string;
1149
+ deletedAt: string; // date-time
1150
+ name: string;
1151
+ updatedAt: string; // date-time
1152
+ createdAt: string; // date-time
1153
+ metadata: /**
1154
+ * From https://github.com/sindresorhus/type-fest/
1155
+ * Matches any valid JSON value.
1156
+ */
1157
+ JsonValue;
1158
+ id: string;
1159
+ organization: {
1160
+ name: string;
1161
+ id: string;
1162
+ };
1163
+ createdTasks: {
1164
+ orgUser: {
1165
+ userId: string;
1166
+ };
1167
+ createdAt: string; // date-time
1168
+ state: string;
1169
+ name: string;
1170
+ id: string;
1171
+ }[];
1172
+ }
1173
+ export interface TemplateListResponse {
1174
+ templates: /**
1175
+ * Model TaskTemplate
1176
+ * Template for creating sets of tasks
1177
+ */
1178
+ TaskTemplate[];
1179
+ total: number; // double
1180
+ }
859
1181
  export interface Tool {
860
1182
  type: "function";
861
1183
  function: {
@@ -982,6 +1304,10 @@ declare namespace Components {
982
1304
  createdAt: string; // date-time
983
1305
  updatedAt: string; // date-time
984
1306
  }
1307
+ export interface Verify2FARequest {
1308
+ otpCode?: string;
1309
+ recoveryCode?: string;
1310
+ }
985
1311
  export interface VideoParse {
986
1312
  frame: {
987
1313
  timestamp: number; // double
@@ -991,6 +1317,7 @@ declare namespace Components {
991
1317
  };
992
1318
  transcription: string;
993
1319
  }
1320
+ export type WaitlistStatus = N$16EnumsWaitlistStatus;
994
1321
  }
995
1322
  }
996
1323
  declare namespace Paths {
@@ -1003,6 +1330,19 @@ declare namespace Paths {
1003
1330
  }
1004
1331
  }
1005
1332
  }
1333
+ namespace AddComment {
1334
+ namespace Parameters {
1335
+ export type Id = string;
1336
+ }
1337
+ export interface PathParameters {
1338
+ id: Parameters.Id;
1339
+ }
1340
+ export type RequestBody = Components.Schemas.AddCommentRequest;
1341
+ namespace Responses {
1342
+ export interface $204 {
1343
+ }
1344
+ }
1345
+ }
1006
1346
  namespace AddEmbeddingSource {
1007
1347
  namespace Parameters {
1008
1348
  export type Id = string;
@@ -1046,6 +1386,38 @@ declare namespace Paths {
1046
1386
  }
1047
1387
  }
1048
1388
  }
1389
+ namespace ApproveWaitlist {
1390
+ namespace Parameters {
1391
+ export type WaitlistId = string;
1392
+ }
1393
+ export interface PathParameters {
1394
+ waitlistId: Parameters.WaitlistId;
1395
+ }
1396
+ namespace Responses {
1397
+ export interface $200 {
1398
+ message: string;
1399
+ }
1400
+ }
1401
+ }
1402
+ namespace ChangePassword {
1403
+ export interface RequestBody {
1404
+ newPassword: string;
1405
+ currentPassword: string;
1406
+ }
1407
+ namespace Responses {
1408
+ export interface $200 {
1409
+ message: string;
1410
+ }
1411
+ }
1412
+ }
1413
+ namespace CheckAvailability {
1414
+ namespace Responses {
1415
+ export interface $200 {
1416
+ waitlistEnabled: boolean;
1417
+ remainingSpots: number; // double
1418
+ }
1419
+ }
1420
+ }
1049
1421
  namespace CleanupSessions {
1050
1422
  namespace Responses {
1051
1423
  export interface $200 {
@@ -1066,14 +1438,14 @@ declare namespace Paths {
1066
1438
  externalId: string;
1067
1439
  serviceId: string;
1068
1440
  organizationId: string;
1441
+ deletedAt: string; // date-time
1442
+ updatedAt: string; // date-time
1443
+ createdAt: string; // date-time
1069
1444
  metadata: /**
1070
1445
  * From https://github.com/sindresorhus/type-fest/
1071
1446
  * Matches any valid JSON value.
1072
1447
  */
1073
1448
  Components.Schemas.JsonValue;
1074
- deletedAt: string; // date-time
1075
- updatedAt: string; // date-time
1076
- createdAt: string; // date-time
1077
1449
  id: string;
1078
1450
  };
1079
1451
  ok: boolean;
@@ -1092,14 +1464,14 @@ declare namespace Paths {
1092
1464
  externalId: string;
1093
1465
  serviceId: string;
1094
1466
  organizationId: string;
1467
+ deletedAt: string; // date-time
1468
+ updatedAt: string; // date-time
1469
+ createdAt: string; // date-time
1095
1470
  metadata: /**
1096
1471
  * From https://github.com/sindresorhus/type-fest/
1097
1472
  * Matches any valid JSON value.
1098
1473
  */
1099
1474
  Components.Schemas.JsonValue;
1100
- deletedAt: string; // date-time
1101
- updatedAt: string; // date-time
1102
- createdAt: string; // date-time
1103
1475
  id: string;
1104
1476
  };
1105
1477
  ok: boolean;
@@ -1162,17 +1534,17 @@ declare namespace Paths {
1162
1534
  export interface $200 {
1163
1535
  chunkSize: number; // double
1164
1536
  fileName: string;
1165
- description: string;
1166
1537
  modelName: string;
1538
+ description: string;
1167
1539
  organizationId: string;
1540
+ name: string;
1541
+ updatedAt: string; // date-time
1542
+ createdAt: string; // date-time
1168
1543
  metadata: /**
1169
1544
  * From https://github.com/sindresorhus/type-fest/
1170
1545
  * Matches any valid JSON value.
1171
1546
  */
1172
1547
  Components.Schemas.JsonValue;
1173
- updatedAt: string; // date-time
1174
- createdAt: string; // date-time
1175
- name: string;
1176
1548
  id: string;
1177
1549
  }
1178
1550
  }
@@ -1219,22 +1591,23 @@ declare namespace Paths {
1219
1591
  }
1220
1592
  namespace Responses {
1221
1593
  export interface $200 {
1594
+ coversUserExpenses: boolean;
1222
1595
  billingEmail: string;
1223
1596
  domain: string;
1224
- stripeCustomerId: string;
1225
- autoReloadAmount: number; // double
1226
1597
  autoReloadThreshold: number; // double
1227
1598
  autoReloadEnabled: boolean;
1599
+ autoReloadAmount: number; // double
1600
+ stripeCustomerId: string;
1228
1601
  creditsUsd: number; // double
1602
+ deletedAt: string; // date-time
1603
+ name: string;
1604
+ updatedAt: string; // date-time
1605
+ createdAt: string; // date-time
1229
1606
  metadata: /**
1230
1607
  * From https://github.com/sindresorhus/type-fest/
1231
1608
  * Matches any valid JSON value.
1232
1609
  */
1233
1610
  Components.Schemas.JsonValue;
1234
- deletedAt: string; // date-time
1235
- updatedAt: string; // date-time
1236
- createdAt: string; // date-time
1237
- name: string;
1238
1611
  id: string;
1239
1612
  }
1240
1613
  }
@@ -1260,6 +1633,44 @@ declare namespace Paths {
1260
1633
  export type $200 = /* Model OrgUserChatSession */ Components.Schemas.OrgUserChatSession;
1261
1634
  }
1262
1635
  }
1636
+ namespace CreateTask {
1637
+ export type RequestBody = Components.Schemas.OrgUserTaskCreateData;
1638
+ namespace Responses {
1639
+ export type $200 = /**
1640
+ * Model OrgUserTask
1641
+ * Represents a task assigned to an org user
1642
+ */
1643
+ Components.Schemas.OrgUserTask;
1644
+ }
1645
+ }
1646
+ namespace CreateTasks {
1647
+ namespace Parameters {
1648
+ export type Id = string;
1649
+ }
1650
+ export interface PathParameters {
1651
+ id: Parameters.Id;
1652
+ }
1653
+ export type RequestBody = Components.Schemas.CreateTasksRequest;
1654
+ namespace Responses {
1655
+ export type $200 = Components.Schemas.CreateTasksResponse;
1656
+ export interface $400 {
1657
+ error: string;
1658
+ }
1659
+ export interface $404 {
1660
+ error: string;
1661
+ }
1662
+ }
1663
+ }
1664
+ namespace CreateTemplate {
1665
+ export type RequestBody = Components.Schemas.TaskTemplateCreateData;
1666
+ namespace Responses {
1667
+ export type $200 = /**
1668
+ * Model TaskTemplate
1669
+ * Template for creating sets of tasks
1670
+ */
1671
+ Components.Schemas.TaskTemplate;
1672
+ }
1673
+ }
1263
1674
  namespace CreateUserSecret {
1264
1675
  export type RequestBody = Components.Schemas.CreateSecretRequest;
1265
1676
  namespace Responses {
@@ -1292,6 +1703,20 @@ declare namespace Paths {
1292
1703
  }
1293
1704
  }
1294
1705
  }
1706
+ namespace DeleteComment {
1707
+ namespace Parameters {
1708
+ export type CommentId = string;
1709
+ export type Id = string;
1710
+ }
1711
+ export interface PathParameters {
1712
+ id: Parameters.Id;
1713
+ commentId: Parameters.CommentId;
1714
+ }
1715
+ namespace Responses {
1716
+ export interface $204 {
1717
+ }
1718
+ }
1719
+ }
1295
1720
  namespace DeleteEmbeddingEntryById {
1296
1721
  namespace Parameters {
1297
1722
  export type Id = string;
@@ -1428,6 +1853,30 @@ declare namespace Paths {
1428
1853
  }
1429
1854
  }
1430
1855
  }
1856
+ namespace DeleteTask {
1857
+ namespace Parameters {
1858
+ export type Id = string;
1859
+ }
1860
+ export interface PathParameters {
1861
+ id: Parameters.Id;
1862
+ }
1863
+ namespace Responses {
1864
+ export interface $204 {
1865
+ }
1866
+ }
1867
+ }
1868
+ namespace DeleteTemplate {
1869
+ namespace Parameters {
1870
+ export type Id = string;
1871
+ }
1872
+ export interface PathParameters {
1873
+ id: Parameters.Id;
1874
+ }
1875
+ namespace Responses {
1876
+ export interface $204 {
1877
+ }
1878
+ }
1879
+ }
1431
1880
  namespace DeleteUserPaymentMethod {
1432
1881
  namespace Parameters {
1433
1882
  export type PaymentMethodId = string;
@@ -1453,6 +1902,19 @@ declare namespace Paths {
1453
1902
  }
1454
1903
  }
1455
1904
  }
1905
+ namespace DeleteWaitlist {
1906
+ namespace Parameters {
1907
+ export type WaitlistId = string;
1908
+ }
1909
+ export interface PathParameters {
1910
+ waitlistId: Parameters.WaitlistId;
1911
+ }
1912
+ namespace Responses {
1913
+ export interface $200 {
1914
+ message: string;
1915
+ }
1916
+ }
1917
+ }
1456
1918
  namespace DenySession {
1457
1919
  namespace Parameters {
1458
1920
  export type SessionId = string;
@@ -1470,6 +1932,32 @@ declare namespace Paths {
1470
1932
  }
1471
1933
  }
1472
1934
  }
1935
+ namespace Disable2FA {
1936
+ export type RequestBody = Components.Schemas.ElevationRequest;
1937
+ namespace Responses {
1938
+ export interface $200 {
1939
+ success: boolean;
1940
+ }
1941
+ }
1942
+ }
1943
+ namespace Generate2FA {
1944
+ namespace Responses {
1945
+ export type $200 = Components.Schemas.Generate2FAResponse;
1946
+ }
1947
+ }
1948
+ namespace GenerateReferralCode {
1949
+ namespace Responses {
1950
+ export interface $200 {
1951
+ message: string;
1952
+ referralCode: string;
1953
+ }
1954
+ }
1955
+ }
1956
+ namespace Get2FAStatus {
1957
+ namespace Responses {
1958
+ export type $200 = Components.Schemas.Get2FAStatusResponse;
1959
+ }
1960
+ }
1473
1961
  namespace GetAllEmbeddingEntries {
1474
1962
  namespace Parameters {
1475
1963
  export type Id = string;
@@ -1491,8 +1979,9 @@ declare namespace Paths {
1491
1979
  namespace GetAllUsages {
1492
1980
  namespace Responses {
1493
1981
  export type $200 = {
1494
- usageDate: string; // date-time
1982
+ fundedFrom: string;
1495
1983
  attribution: string;
1984
+ usageDate: string; // date-time
1496
1985
  totalUsdCost: number; // double
1497
1986
  modelName: string;
1498
1987
  providerName: string;
@@ -1530,8 +2019,8 @@ declare namespace Paths {
1530
2019
  namespace Responses {
1531
2020
  export type $200 = {
1532
2021
  tasks?: {
1533
- orgMessageId: string;
1534
2022
  publicChatMessageId: string;
2023
+ orgMessageId: string;
1535
2024
  orgUserChatMessageId: string;
1536
2025
  inProgress: boolean;
1537
2026
  threads: /**
@@ -1566,83 +2055,124 @@ declare namespace Paths {
1566
2055
  namespace GetCurrentLoggedInUser {
1567
2056
  namespace Responses {
1568
2057
  export interface $200 {
2058
+ scopes: string[];
1569
2059
  orgUser: {
1570
2060
  organizationId: string;
1571
2061
  role: number; // double
1572
2062
  userId: string;
1573
2063
  creditsUsd: number; // double
2064
+ deletedAt: string; // date-time
2065
+ updatedAt: string; // date-time
2066
+ createdAt: string; // date-time
1574
2067
  metadata: /**
1575
2068
  * From https://github.com/sindresorhus/type-fest/
1576
2069
  * Matches any valid JSON value.
1577
2070
  */
1578
2071
  Components.Schemas.JsonValue;
1579
- deletedAt: string; // date-time
1580
- updatedAt: string; // date-time
1581
- createdAt: string; // date-time
1582
2072
  id: string;
1583
2073
  };
1584
2074
  orgId: string;
1585
2075
  user: {
1586
2076
  orgs: {
1587
2077
  organization: {
2078
+ coversUserExpenses: boolean;
1588
2079
  billingEmail: string;
1589
2080
  domain: string;
1590
- stripeCustomerId: string;
1591
- autoReloadAmount: number; // double
1592
2081
  autoReloadThreshold: number; // double
1593
2082
  autoReloadEnabled: boolean;
2083
+ autoReloadAmount: number; // double
2084
+ stripeCustomerId: string;
1594
2085
  creditsUsd: number; // double
2086
+ deletedAt: string; // date-time
2087
+ name: string;
2088
+ updatedAt: string; // date-time
2089
+ createdAt: string; // date-time
1595
2090
  metadata: /**
1596
2091
  * From https://github.com/sindresorhus/type-fest/
1597
2092
  * Matches any valid JSON value.
1598
2093
  */
1599
2094
  Components.Schemas.JsonValue;
1600
- deletedAt: string; // date-time
1601
- updatedAt: string; // date-time
1602
- createdAt: string; // date-time
1603
- name: string;
1604
2095
  id: string;
1605
2096
  };
1606
2097
  organizationId: string;
1607
2098
  role: number; // double
1608
2099
  userId: string;
1609
2100
  creditsUsd: number; // double
2101
+ deletedAt: string; // date-time
2102
+ updatedAt: string; // date-time
2103
+ createdAt: string; // date-time
1610
2104
  metadata: /**
1611
2105
  * From https://github.com/sindresorhus/type-fest/
1612
2106
  * Matches any valid JSON value.
1613
2107
  */
1614
2108
  Components.Schemas.JsonValue;
1615
- deletedAt: string; // date-time
1616
- updatedAt: string; // date-time
1617
- createdAt: string; // date-time
1618
2109
  id: string;
1619
2110
  }[];
1620
- stripeCustomerId: string;
1621
- autoReloadAmount: number; // double
1622
2111
  autoReloadThreshold: number; // double
1623
2112
  autoReloadEnabled: boolean;
2113
+ autoReloadAmount: number; // double
2114
+ stripeCustomerId: string;
2115
+ emailVerifiedAt: string; // date-time
2116
+ emailVerified: boolean;
1624
2117
  creditsUsd: number; // double
2118
+ confirmedAt: string; // date-time
2119
+ isAdmin: boolean;
2120
+ confirmed: boolean;
2121
+ deletedAt: string; // date-time
2122
+ lastLogin: string; // date-time
2123
+ passwordHash: string;
2124
+ name: string;
2125
+ updatedAt: string; // date-time
2126
+ createdAt: string; // date-time
1625
2127
  metadata: /**
1626
2128
  * From https://github.com/sindresorhus/type-fest/
1627
2129
  * Matches any valid JSON value.
1628
2130
  */
1629
2131
  Components.Schemas.JsonValue;
1630
- deletedAt: string; // date-time
1631
- updatedAt: string; // date-time
1632
- createdAt: string; // date-time
1633
- confirmedAt: string; // date-time
1634
- confirmed: boolean;
1635
- emailVerifiedAt: string; // date-time
1636
- emailVerified: boolean;
1637
- name: string;
1638
- lastLogin: string; // date-time
1639
- passwordHash: string;
1640
2132
  email: string;
1641
2133
  id: string;
1642
2134
  };
1643
2135
  }
1644
2136
  }
1645
2137
  }
2138
+ namespace GetDefaultOnboardingTemplate {
2139
+ namespace Responses {
2140
+ export type $200 = {
2141
+ tasks: /**
2142
+ * From https://github.com/sindresorhus/type-fest/
2143
+ * Matches any valid JSON value.
2144
+ */
2145
+ Components.Schemas.JsonValue;
2146
+ orgId: string;
2147
+ isDefault: boolean;
2148
+ isActive: boolean;
2149
+ description: string;
2150
+ deletedAt: string; // date-time
2151
+ name: string;
2152
+ updatedAt: string; // date-time
2153
+ createdAt: string; // date-time
2154
+ metadata: /**
2155
+ * From https://github.com/sindresorhus/type-fest/
2156
+ * Matches any valid JSON value.
2157
+ */
2158
+ Components.Schemas.JsonValue;
2159
+ id: string;
2160
+ organization: {
2161
+ name: string;
2162
+ id: string;
2163
+ };
2164
+ createdTasks: {
2165
+ orgUser: {
2166
+ userId: string;
2167
+ };
2168
+ createdAt: string; // date-time
2169
+ state: string;
2170
+ name: string;
2171
+ id: string;
2172
+ }[];
2173
+ } | null;
2174
+ }
2175
+ }
1646
2176
  namespace GetDetailedHealth {
1647
2177
  namespace Responses {
1648
2178
  export type $200 = Components.Schemas.HealthCheckResponse;
@@ -1813,22 +2343,23 @@ declare namespace Paths {
1813
2343
  namespace Responses {
1814
2344
  export type $200 = {
1815
2345
  organization: {
2346
+ coversUserExpenses: boolean;
1816
2347
  billingEmail: string;
1817
2348
  domain: string;
1818
- stripeCustomerId: string;
1819
- autoReloadAmount: number; // double
1820
2349
  autoReloadThreshold: number; // double
1821
2350
  autoReloadEnabled: boolean;
2351
+ autoReloadAmount: number; // double
2352
+ stripeCustomerId: string;
1822
2353
  creditsUsd: number; // double
2354
+ deletedAt: string; // date-time
2355
+ name: string;
2356
+ updatedAt: string; // date-time
2357
+ createdAt: string; // date-time
1823
2358
  metadata: /**
1824
2359
  * From https://github.com/sindresorhus/type-fest/
1825
2360
  * Matches any valid JSON value.
1826
2361
  */
1827
2362
  Components.Schemas.JsonValue;
1828
- deletedAt: string; // date-time
1829
- updatedAt: string; // date-time
1830
- createdAt: string; // date-time
1831
- name: string;
1832
2363
  id: string;
1833
2364
  };
1834
2365
  expiresAt: string; // date-time
@@ -1888,29 +2419,14 @@ declare namespace Paths {
1888
2419
  content: string;
1889
2420
  orgBehaviorId: string;
1890
2421
  orgServiceId: string;
2422
+ updatedAt: string; // date-time
2423
+ createdAt: string; // date-time
1891
2424
  metadata: /**
1892
2425
  * From https://github.com/sindresorhus/type-fest/
1893
2426
  * Matches any valid JSON value.
1894
2427
  */
1895
2428
  Components.Schemas.JsonValue;
1896
- updatedAt: string; // date-time
1897
- createdAt: string; // date-time
1898
2429
  id: string;
1899
- orgAgentTask: {
1900
- orgMessageId: string;
1901
- publicChatMessageId: string;
1902
- orgUserChatMessageId: string;
1903
- inProgress: boolean;
1904
- threads: /**
1905
- * From https://github.com/sindresorhus/type-fest/
1906
- * Matches any valid JSON value.
1907
- */
1908
- Components.Schemas.JsonValue;
1909
- totalUsdCost: number; // double
1910
- updatedAt: string; // date-time
1911
- createdAt: string; // date-time
1912
- id: string;
1913
- }[];
1914
2430
  orgBehavior: {
1915
2431
  toolsDisabled: boolean;
1916
2432
  sponsoredDailySpendLimit: number; // double
@@ -1928,34 +2444,49 @@ declare namespace Paths {
1928
2444
  description: string;
1929
2445
  organizationId: string;
1930
2446
  orgWorkers: string;
2447
+ name: string;
1931
2448
  updatedAt: string; // date-time
1932
2449
  createdAt: string; // date-time
1933
- name: string;
1934
2450
  id: string;
1935
2451
  };
2452
+ orgAgentTask: {
2453
+ publicChatMessageId: string;
2454
+ orgMessageId: string;
2455
+ orgUserChatMessageId: string;
2456
+ inProgress: boolean;
2457
+ threads: /**
2458
+ * From https://github.com/sindresorhus/type-fest/
2459
+ * Matches any valid JSON value.
2460
+ */
2461
+ Components.Schemas.JsonValue;
2462
+ totalUsdCost: number; // double
2463
+ updatedAt: string; // date-time
2464
+ createdAt: string; // date-time
2465
+ id: string;
2466
+ }[];
1936
2467
  orgService: {
1937
2468
  service: {
2469
+ name: string;
2470
+ updatedAt: string; // date-time
2471
+ createdAt: string; // date-time
1938
2472
  metadata: /**
1939
2473
  * From https://github.com/sindresorhus/type-fest/
1940
2474
  * Matches any valid JSON value.
1941
2475
  */
1942
2476
  Components.Schemas.JsonValue;
1943
- updatedAt: string; // date-time
1944
- createdAt: string; // date-time
1945
- name: string;
1946
2477
  id: string;
1947
2478
  };
1948
2479
  externalId: string;
1949
2480
  serviceId: string;
1950
2481
  organizationId: string;
2482
+ deletedAt: string; // date-time
2483
+ updatedAt: string; // date-time
2484
+ createdAt: string; // date-time
1951
2485
  metadata: /**
1952
2486
  * From https://github.com/sindresorhus/type-fest/
1953
2487
  * Matches any valid JSON value.
1954
2488
  */
1955
2489
  Components.Schemas.JsonValue;
1956
- deletedAt: string; // date-time
1957
- updatedAt: string; // date-time
1958
- createdAt: string; // date-time
1959
2490
  id: string;
1960
2491
  };
1961
2492
  organizationId: string;
@@ -1990,13 +2521,13 @@ declare namespace Paths {
1990
2521
  content: string;
1991
2522
  orgBehaviorId: string;
1992
2523
  orgServiceId: string;
2524
+ updatedAt: string; // date-time
2525
+ createdAt: string; // date-time
1993
2526
  metadata: /**
1994
2527
  * From https://github.com/sindresorhus/type-fest/
1995
2528
  * Matches any valid JSON value.
1996
2529
  */
1997
2530
  Components.Schemas.JsonValue;
1998
- updatedAt: string; // date-time
1999
- createdAt: string; // date-time
2000
2531
  id: string;
2001
2532
  orgBehavior: {
2002
2533
  toolsDisabled: boolean;
@@ -2015,34 +2546,34 @@ declare namespace Paths {
2015
2546
  description: string;
2016
2547
  organizationId: string;
2017
2548
  orgWorkers: string;
2549
+ name: string;
2018
2550
  updatedAt: string; // date-time
2019
2551
  createdAt: string; // date-time
2020
- name: string;
2021
2552
  id: string;
2022
2553
  };
2023
2554
  orgService: {
2024
2555
  service: {
2556
+ name: string;
2557
+ updatedAt: string; // date-time
2558
+ createdAt: string; // date-time
2025
2559
  metadata: /**
2026
2560
  * From https://github.com/sindresorhus/type-fest/
2027
2561
  * Matches any valid JSON value.
2028
2562
  */
2029
2563
  Components.Schemas.JsonValue;
2030
- updatedAt: string; // date-time
2031
- createdAt: string; // date-time
2032
- name: string;
2033
2564
  id: string;
2034
2565
  };
2035
2566
  externalId: string;
2036
2567
  serviceId: string;
2037
2568
  organizationId: string;
2569
+ deletedAt: string; // date-time
2570
+ updatedAt: string; // date-time
2571
+ createdAt: string; // date-time
2038
2572
  metadata: /**
2039
2573
  * From https://github.com/sindresorhus/type-fest/
2040
2574
  * Matches any valid JSON value.
2041
2575
  */
2042
2576
  Components.Schemas.JsonValue;
2043
- deletedAt: string; // date-time
2044
- updatedAt: string; // date-time
2045
- createdAt: string; // date-time
2046
2577
  id: string;
2047
2578
  };
2048
2579
  organizationId: string;
@@ -2058,13 +2589,13 @@ declare namespace Paths {
2058
2589
  namespace Responses {
2059
2590
  export interface $200 {
2060
2591
  paymentMethods: {
2061
- isDefault: boolean;
2062
2592
  expiryYear: number; // double
2063
2593
  expiryMonth: number; // double
2064
2594
  brand: string;
2065
2595
  last4: string;
2066
2596
  stripePaymentMethodId: string;
2067
2597
  type: string;
2598
+ isDefault: boolean;
2068
2599
  organizationId: string;
2069
2600
  id: string;
2070
2601
  }[];
@@ -2091,27 +2622,27 @@ declare namespace Paths {
2091
2622
  namespace Responses {
2092
2623
  export type $200 = {
2093
2624
  service: {
2625
+ name: string;
2626
+ updatedAt: string; // date-time
2627
+ createdAt: string; // date-time
2094
2628
  metadata: /**
2095
2629
  * From https://github.com/sindresorhus/type-fest/
2096
2630
  * Matches any valid JSON value.
2097
2631
  */
2098
2632
  Components.Schemas.JsonValue;
2099
- updatedAt: string; // date-time
2100
- createdAt: string; // date-time
2101
- name: string;
2102
2633
  id: string;
2103
2634
  };
2104
2635
  externalId: string;
2105
2636
  serviceId: string;
2106
2637
  organizationId: string;
2638
+ deletedAt: string; // date-time
2639
+ updatedAt: string; // date-time
2640
+ createdAt: string; // date-time
2107
2641
  metadata: /**
2108
2642
  * From https://github.com/sindresorhus/type-fest/
2109
2643
  * Matches any valid JSON value.
2110
2644
  */
2111
2645
  Components.Schemas.JsonValue;
2112
- deletedAt: string; // date-time
2113
- updatedAt: string; // date-time
2114
- createdAt: string; // date-time
2115
2646
  id: string;
2116
2647
  }[];
2117
2648
  }
@@ -2171,22 +2702,23 @@ declare namespace Paths {
2171
2702
  namespace GetOrganizationsByUserId {
2172
2703
  namespace Responses {
2173
2704
  export type $200 = {
2705
+ coversUserExpenses: boolean;
2174
2706
  billingEmail: string;
2175
2707
  domain: string;
2176
- stripeCustomerId: string;
2177
- autoReloadAmount: number; // double
2178
2708
  autoReloadThreshold: number; // double
2179
2709
  autoReloadEnabled: boolean;
2710
+ autoReloadAmount: number; // double
2711
+ stripeCustomerId: string;
2180
2712
  creditsUsd: number; // double
2713
+ deletedAt: string; // date-time
2714
+ name: string;
2715
+ updatedAt: string; // date-time
2716
+ createdAt: string; // date-time
2181
2717
  metadata: /**
2182
2718
  * From https://github.com/sindresorhus/type-fest/
2183
2719
  * Matches any valid JSON value.
2184
2720
  */
2185
2721
  Components.Schemas.JsonValue;
2186
- deletedAt: string; // date-time
2187
- updatedAt: string; // date-time
2188
- createdAt: string; // date-time
2189
- name: string;
2190
2722
  id: string;
2191
2723
  }[];
2192
2724
  }
@@ -2195,22 +2727,23 @@ declare namespace Paths {
2195
2727
  namespace Responses {
2196
2728
  export type $200 = {
2197
2729
  organization: {
2730
+ coversUserExpenses: boolean;
2198
2731
  billingEmail: string;
2199
2732
  domain: string;
2200
- stripeCustomerId: string;
2201
- autoReloadAmount: number; // double
2202
2733
  autoReloadThreshold: number; // double
2203
2734
  autoReloadEnabled: boolean;
2735
+ autoReloadAmount: number; // double
2736
+ stripeCustomerId: string;
2204
2737
  creditsUsd: number; // double
2738
+ deletedAt: string; // date-time
2739
+ name: string;
2740
+ updatedAt: string; // date-time
2741
+ createdAt: string; // date-time
2205
2742
  metadata: /**
2206
2743
  * From https://github.com/sindresorhus/type-fest/
2207
2744
  * Matches any valid JSON value.
2208
2745
  */
2209
2746
  Components.Schemas.JsonValue;
2210
- deletedAt: string; // date-time
2211
- updatedAt: string; // date-time
2212
- createdAt: string; // date-time
2213
- name: string;
2214
2747
  id: string;
2215
2748
  };
2216
2749
  expiresAt: string; // date-time
@@ -2247,6 +2780,14 @@ declare namespace Paths {
2247
2780
  export type $503 = Components.Schemas.ReadinessResponse;
2248
2781
  }
2249
2782
  }
2783
+ namespace GetRemainingReferralCodes {
2784
+ namespace Responses {
2785
+ export interface $200 {
2786
+ limit: number; // double
2787
+ remaining: number; // double
2788
+ }
2789
+ }
2790
+ }
2250
2791
  namespace GetSessionStatus {
2251
2792
  namespace Parameters {
2252
2793
  export type SessionId = string;
@@ -2278,6 +2819,58 @@ declare namespace Paths {
2278
2819
  }
2279
2820
  }
2280
2821
  }
2822
+ namespace GetTask {
2823
+ namespace Parameters {
2824
+ export type Id = string;
2825
+ }
2826
+ export interface PathParameters {
2827
+ id: Parameters.Id;
2828
+ }
2829
+ namespace Responses {
2830
+ export type $200 = Components.Schemas.OrgUserTaskWithRelations;
2831
+ }
2832
+ }
2833
+ namespace GetTasks {
2834
+ namespace Parameters {
2835
+ export type Limit = number; // double
2836
+ export type Offset = number; // double
2837
+ export type State = Components.Schemas.TaskState;
2838
+ }
2839
+ export interface QueryParameters {
2840
+ state?: Parameters.State;
2841
+ limit?: Parameters.Limit /* double */;
2842
+ offset?: Parameters.Offset /* double */;
2843
+ }
2844
+ namespace Responses {
2845
+ export type $200 = Components.Schemas.TaskListResponse;
2846
+ }
2847
+ }
2848
+ namespace GetTemplate {
2849
+ namespace Parameters {
2850
+ export type Id = string;
2851
+ }
2852
+ export interface PathParameters {
2853
+ id: Parameters.Id;
2854
+ }
2855
+ namespace Responses {
2856
+ export type $200 = Components.Schemas.TaskTemplateWithRelations;
2857
+ }
2858
+ }
2859
+ namespace GetTemplates {
2860
+ namespace Parameters {
2861
+ export type IncludeDefaults = boolean;
2862
+ export type Limit = number; // double
2863
+ export type Offset = number; // double
2864
+ }
2865
+ export interface QueryParameters {
2866
+ includeDefaults?: Parameters.IncludeDefaults;
2867
+ limit?: Parameters.Limit /* double */;
2868
+ offset?: Parameters.Offset /* double */;
2869
+ }
2870
+ namespace Responses {
2871
+ export type $200 = Components.Schemas.TemplateListResponse;
2872
+ }
2873
+ }
2281
2874
  namespace GetTokenStatus {
2282
2875
  namespace Responses {
2283
2876
  export type $200 = {
@@ -2349,13 +2942,13 @@ declare namespace Paths {
2349
2942
  namespace Responses {
2350
2943
  export interface $200 {
2351
2944
  paymentMethods: {
2352
- isDefault: boolean;
2353
2945
  expiryYear: number; // double
2354
2946
  expiryMonth: number; // double
2355
2947
  brand: string;
2356
2948
  last4: string;
2357
2949
  stripePaymentMethodId: string;
2358
2950
  type: string;
2951
+ isDefault: boolean;
2359
2952
  userId: string;
2360
2953
  id: string;
2361
2954
  }[];
@@ -2378,6 +2971,56 @@ declare namespace Paths {
2378
2971
  export type $200 = Components.Schemas.SecretPathsResponse;
2379
2972
  }
2380
2973
  }
2974
+ namespace GetWaitlistByEmail {
2975
+ namespace Parameters {
2976
+ export type Email = string;
2977
+ }
2978
+ export interface PathParameters {
2979
+ email: Parameters.Email;
2980
+ }
2981
+ namespace Responses {
2982
+ export interface $200 {
2983
+ updatedAt: string; // date-time
2984
+ createdAt: string; // date-time
2985
+ metadata: /**
2986
+ * From https://github.com/sindresorhus/type-fest/
2987
+ * Matches any valid JSON value.
2988
+ */
2989
+ Components.Schemas.JsonValue;
2990
+ rejectedAt: string; // date-time
2991
+ approvedAt: string; // date-time
2992
+ requestedAt: string; // date-time
2993
+ status: Components.Schemas.N$16EnumsWaitlistStatus;
2994
+ email: string;
2995
+ id: string;
2996
+ }
2997
+ }
2998
+ }
2999
+ namespace GetWaitlistEntry {
3000
+ namespace Parameters {
3001
+ export type WaitlistId = string;
3002
+ }
3003
+ export interface PathParameters {
3004
+ waitlistId: Parameters.WaitlistId;
3005
+ }
3006
+ namespace Responses {
3007
+ export interface $200 {
3008
+ updatedAt: string; // date-time
3009
+ createdAt: string; // date-time
3010
+ metadata: /**
3011
+ * From https://github.com/sindresorhus/type-fest/
3012
+ * Matches any valid JSON value.
3013
+ */
3014
+ Components.Schemas.JsonValue;
3015
+ rejectedAt: string; // date-time
3016
+ approvedAt: string; // date-time
3017
+ requestedAt: string; // date-time
3018
+ status: Components.Schemas.N$16EnumsWaitlistStatus;
3019
+ email: string;
3020
+ id: string;
3021
+ }
3022
+ }
3023
+ }
2381
3024
  namespace HandleGitHubEvent {
2382
3025
  export type RequestBody = any;
2383
3026
  namespace Responses {
@@ -2426,6 +3069,17 @@ declare namespace Paths {
2426
3069
  }
2427
3070
  }
2428
3071
  }
3072
+ namespace JoinWaitlist {
3073
+ export interface RequestBody {
3074
+ metadata?: any;
3075
+ email: string;
3076
+ }
3077
+ namespace Responses {
3078
+ export interface $201 {
3079
+ message: string;
3080
+ }
3081
+ }
3082
+ }
2429
3083
  namespace ListOrgSecrets {
2430
3084
  namespace Responses {
2431
3085
  export type $200 = Components.Schemas.SecretResponse[];
@@ -2436,6 +3090,61 @@ declare namespace Paths {
2436
3090
  export type $200 = Components.Schemas.UserSecretResponse[];
2437
3091
  }
2438
3092
  }
3093
+ namespace ListWaitlist {
3094
+ namespace Parameters {
3095
+ export type Limit = number; // double
3096
+ export type Offset = number; // double
3097
+ export type Status = Components.Schemas.WaitlistStatus;
3098
+ }
3099
+ export interface QueryParameters {
3100
+ status?: Parameters.Status;
3101
+ limit?: Parameters.Limit /* double */;
3102
+ offset?: Parameters.Offset /* double */;
3103
+ }
3104
+ namespace Responses {
3105
+ export interface $200 {
3106
+ offset: number; // double
3107
+ limit: number; // double
3108
+ total: number; // double
3109
+ entries: {
3110
+ updatedAt: string; // date-time
3111
+ createdAt: string; // date-time
3112
+ metadata: /**
3113
+ * From https://github.com/sindresorhus/type-fest/
3114
+ * Matches any valid JSON value.
3115
+ */
3116
+ Components.Schemas.JsonValue;
3117
+ rejectedAt: string; // date-time
3118
+ approvedAt: string; // date-time
3119
+ requestedAt: string; // date-time
3120
+ status: Components.Schemas.N$16EnumsWaitlistStatus;
3121
+ email: string;
3122
+ id: string;
3123
+ }[];
3124
+ }
3125
+ }
3126
+ }
3127
+ namespace MarkCompleted {
3128
+ namespace Parameters {
3129
+ export type Id = string;
3130
+ }
3131
+ export interface PathParameters {
3132
+ id: Parameters.Id;
3133
+ }
3134
+ export type RequestBody = Components.Schemas.MarkCompletedRequest;
3135
+ namespace Responses {
3136
+ export type $200 = Components.Schemas.MarkCompletedResponse;
3137
+ export interface $400 {
3138
+ error: string;
3139
+ }
3140
+ export interface $403 {
3141
+ error: string;
3142
+ }
3143
+ export interface $404 {
3144
+ error: string;
3145
+ }
3146
+ }
3147
+ }
2439
3148
  namespace MoveOrgFile {
2440
3149
  namespace Parameters {
2441
3150
  export type Id = string;
@@ -2523,6 +3232,18 @@ declare namespace Paths {
2523
3232
  export type $200 = Components.Schemas.EmbeddingBaseAny[];
2524
3233
  }
2525
3234
  }
3235
+ namespace RedeemReferralCode {
3236
+ export interface RequestBody {
3237
+ referralCode: string;
3238
+ email: string;
3239
+ }
3240
+ namespace Responses {
3241
+ export interface $200 {
3242
+ approved: boolean;
3243
+ message: string;
3244
+ }
3245
+ }
3246
+ }
2526
3247
  namespace RefreshToken {
2527
3248
  namespace Responses {
2528
3249
  export type $200 = {
@@ -2536,6 +3257,27 @@ declare namespace Paths {
2536
3257
  };
2537
3258
  }
2538
3259
  }
3260
+ namespace RegenerateBackupCodes {
3261
+ export type RequestBody = Components.Schemas.ElevationRequest;
3262
+ namespace Responses {
3263
+ export interface $200 {
3264
+ recoveryCodes: string[];
3265
+ }
3266
+ }
3267
+ }
3268
+ namespace RejectWaitlist {
3269
+ namespace Parameters {
3270
+ export type WaitlistId = string;
3271
+ }
3272
+ export interface PathParameters {
3273
+ waitlistId: Parameters.WaitlistId;
3274
+ }
3275
+ namespace Responses {
3276
+ export interface $200 {
3277
+ message: string;
3278
+ }
3279
+ }
3280
+ }
2539
3281
  namespace RemoveUserFromOrg {
2540
3282
  namespace Parameters {
2541
3283
  export type UserId = string;
@@ -2558,6 +3300,12 @@ declare namespace Paths {
2558
3300
  }
2559
3301
  }
2560
3302
  }
3303
+ namespace RequestPasswordReset {
3304
+ export type RequestBody = Components.Schemas.RequestPasswordResetRequest;
3305
+ namespace Responses {
3306
+ export type $200 = Components.Schemas.RequestPasswordResetResponse;
3307
+ }
3308
+ }
2561
3309
  namespace ResendVerificationEmail {
2562
3310
  export interface RequestBody {
2563
3311
  baseUrl?: string;
@@ -2568,6 +3316,32 @@ declare namespace Paths {
2568
3316
  }
2569
3317
  }
2570
3318
  }
3319
+ namespace ResetPassword {
3320
+ export type RequestBody = Components.Schemas.ResetPasswordRequest;
3321
+ namespace Responses {
3322
+ export type $200 = Components.Schemas.ResetPasswordResponse;
3323
+ }
3324
+ }
3325
+ namespace RunChecks {
3326
+ namespace Parameters {
3327
+ export type Id = string;
3328
+ }
3329
+ export interface PathParameters {
3330
+ id: Parameters.Id;
3331
+ }
3332
+ namespace Responses {
3333
+ export type $200 = Components.Schemas.RunChecksResponse;
3334
+ export interface $400 {
3335
+ error: string;
3336
+ }
3337
+ export interface $403 {
3338
+ error: string;
3339
+ }
3340
+ export interface $404 {
3341
+ error: string;
3342
+ }
3343
+ }
3344
+ }
2571
3345
  namespace SearchEmbeddingEntryById {
2572
3346
  namespace Parameters {
2573
3347
  export type Id = string;
@@ -2623,6 +3397,12 @@ declare namespace Paths {
2623
3397
  }
2624
3398
  }
2625
3399
  }
3400
+ namespace Setup2FA {
3401
+ export type RequestBody = Components.Schemas.Setup2FARequest;
3402
+ namespace Responses {
3403
+ export type $200 = Components.Schemas.Setup2FAResponse;
3404
+ }
3405
+ }
2626
3406
  namespace TestKnowhowTool {
2627
3407
  export type RequestBody = Components.Schemas.ToolCallRequest;
2628
3408
  namespace Responses {
@@ -2773,66 +3553,64 @@ declare namespace Paths {
2773
3553
  Components.Schemas.Organization;
2774
3554
  }
2775
3555
  }
2776
- namespace UpdateUserSecret {
3556
+ namespace UpdateTask {
2777
3557
  namespace Parameters {
2778
3558
  export type Id = string;
2779
3559
  }
2780
3560
  export interface PathParameters {
2781
3561
  id: Parameters.Id;
2782
3562
  }
2783
- export type RequestBody = Components.Schemas.UpdateSecretRequest;
3563
+ export type RequestBody = Components.Schemas.OrgUserTaskUpdateData;
2784
3564
  namespace Responses {
2785
- export type $200 = Components.Schemas.UserSecretResponse;
3565
+ export type $200 = /**
3566
+ * Model OrgUserTask
3567
+ * Represents a task assigned to an org user
3568
+ */
3569
+ Components.Schemas.OrgUserTask;
2786
3570
  }
2787
3571
  }
2788
- namespace UserLogin {
2789
- export interface RequestBody {
2790
- password: string;
2791
- email: string;
3572
+ namespace UpdateTemplate {
3573
+ namespace Parameters {
3574
+ export type Id = string;
3575
+ }
3576
+ export interface PathParameters {
3577
+ id: Parameters.Id;
2792
3578
  }
3579
+ export type RequestBody = Components.Schemas.TaskTemplateUpdateData;
2793
3580
  namespace Responses {
2794
- export interface $200 {
2795
- user: {
2796
- stripeCustomerId: string;
2797
- autoReloadAmount: number; // double
2798
- autoReloadThreshold: number; // double
2799
- autoReloadEnabled: boolean;
2800
- creditsUsd: number; // double
2801
- metadata: /**
2802
- * From https://github.com/sindresorhus/type-fest/
2803
- * Matches any valid JSON value.
2804
- */
2805
- Components.Schemas.JsonValue;
2806
- deletedAt: string; // date-time
2807
- updatedAt: string; // date-time
2808
- createdAt: string; // date-time
2809
- confirmedAt: string; // date-time
2810
- confirmed: boolean;
2811
- emailVerifiedAt: string; // date-time
2812
- emailVerified: boolean;
2813
- name: string;
2814
- lastLogin: string; // date-time
2815
- email: string;
2816
- id: string;
2817
- orgs: {
2818
- organizationId: string;
2819
- role: number; // double
2820
- userId: string;
2821
- creditsUsd: number; // double
2822
- metadata: /**
2823
- * From https://github.com/sindresorhus/type-fest/
2824
- * Matches any valid JSON value.
2825
- */
2826
- Components.Schemas.JsonValue;
2827
- deletedAt: string; // date-time
2828
- updatedAt: string; // date-time
2829
- createdAt: string; // date-time
2830
- id: string;
2831
- }[];
2832
- passwordHash: any;
2833
- };
2834
- organization: string;
2835
- token: any;
3581
+ export type $200 = /**
3582
+ * Model TaskTemplate
3583
+ * Template for creating sets of tasks
3584
+ */
3585
+ Components.Schemas.TaskTemplate;
3586
+ }
3587
+ }
3588
+ namespace UpdateUserSecret {
3589
+ namespace Parameters {
3590
+ export type Id = string;
3591
+ }
3592
+ export interface PathParameters {
3593
+ id: Parameters.Id;
3594
+ }
3595
+ export type RequestBody = Components.Schemas.UpdateSecretRequest;
3596
+ namespace Responses {
3597
+ export type $200 = Components.Schemas.UserSecretResponse;
3598
+ }
3599
+ }
3600
+ namespace UserLogin {
3601
+ export interface RequestBody {
3602
+ recoveryCode?: string;
3603
+ otpCode?: string;
3604
+ orgId?: string;
3605
+ password: string;
3606
+ email: string;
3607
+ }
3608
+ namespace Responses {
3609
+ export interface $200 {
3610
+ requires2FA?: boolean;
3611
+ user?: any;
3612
+ organization?: string;
3613
+ token?: string;
2836
3614
  }
2837
3615
  }
2838
3616
  }
@@ -2843,25 +3621,26 @@ declare namespace Paths {
2843
3621
  namespace Responses {
2844
3622
  export interface $200 {
2845
3623
  user: {
2846
- stripeCustomerId: string;
2847
- autoReloadAmount: number; // double
2848
3624
  autoReloadThreshold: number; // double
2849
3625
  autoReloadEnabled: boolean;
3626
+ autoReloadAmount: number; // double
3627
+ stripeCustomerId: string;
3628
+ emailVerifiedAt: string; // date-time
3629
+ emailVerified: boolean;
2850
3630
  creditsUsd: number; // double
3631
+ confirmedAt: string; // date-time
3632
+ isAdmin: boolean;
3633
+ confirmed: boolean;
3634
+ deletedAt: string; // date-time
3635
+ lastLogin: string; // date-time
3636
+ name: string;
3637
+ updatedAt: string; // date-time
3638
+ createdAt: string; // date-time
2851
3639
  metadata: /**
2852
3640
  * From https://github.com/sindresorhus/type-fest/
2853
3641
  * Matches any valid JSON value.
2854
3642
  */
2855
3643
  Components.Schemas.JsonValue;
2856
- deletedAt: string; // date-time
2857
- updatedAt: string; // date-time
2858
- createdAt: string; // date-time
2859
- confirmedAt: string; // date-time
2860
- confirmed: boolean;
2861
- emailVerifiedAt: string; // date-time
2862
- emailVerified: boolean;
2863
- name: string;
2864
- lastLogin: string; // date-time
2865
3644
  email: string;
2866
3645
  id: string;
2867
3646
  orgs: {
@@ -2869,14 +3648,14 @@ declare namespace Paths {
2869
3648
  role: number; // double
2870
3649
  userId: string;
2871
3650
  creditsUsd: number; // double
3651
+ deletedAt: string; // date-time
3652
+ updatedAt: string; // date-time
3653
+ createdAt: string; // date-time
2872
3654
  metadata: /**
2873
3655
  * From https://github.com/sindresorhus/type-fest/
2874
3656
  * Matches any valid JSON value.
2875
3657
  */
2876
3658
  Components.Schemas.JsonValue;
2877
- deletedAt: string; // date-time
2878
- updatedAt: string; // date-time
2879
- createdAt: string; // date-time
2880
3659
  id: string;
2881
3660
  }[];
2882
3661
  passwordHash: any;
@@ -2894,47 +3673,18 @@ declare namespace Paths {
2894
3673
  }
2895
3674
  namespace Responses {
2896
3675
  export interface $201 {
2897
- user: {
2898
- stripeCustomerId: string;
2899
- autoReloadAmount: number; // double
2900
- autoReloadThreshold: number; // double
2901
- autoReloadEnabled: boolean;
2902
- creditsUsd: number; // double
2903
- metadata: /**
2904
- * From https://github.com/sindresorhus/type-fest/
2905
- * Matches any valid JSON value.
2906
- */
2907
- Components.Schemas.JsonValue;
2908
- deletedAt: string; // date-time
2909
- updatedAt: string; // date-time
2910
- createdAt: string; // date-time
2911
- confirmedAt: string; // date-time
2912
- confirmed: boolean;
2913
- emailVerifiedAt: string; // date-time
2914
- emailVerified: boolean;
2915
- name: string;
2916
- lastLogin: string; // date-time
2917
- email: string;
2918
- id: string;
2919
- orgs: {
2920
- organizationId: string;
2921
- role: number; // double
2922
- userId: string;
2923
- creditsUsd: number; // double
2924
- metadata: /**
2925
- * From https://github.com/sindresorhus/type-fest/
2926
- * Matches any valid JSON value.
2927
- */
2928
- Components.Schemas.JsonValue;
2929
- deletedAt: string; // date-time
2930
- updatedAt: string; // date-time
2931
- createdAt: string; // date-time
2932
- id: string;
2933
- }[];
2934
- passwordHash: any;
2935
- };
2936
- organization: string;
2937
- token: any;
3676
+ requires2FA?: boolean;
3677
+ user?: any;
3678
+ organization?: string;
3679
+ token?: string;
3680
+ }
3681
+ }
3682
+ }
3683
+ namespace Verify2FA {
3684
+ export type RequestBody = Components.Schemas.Verify2FARequest;
3685
+ namespace Responses {
3686
+ export interface $200 {
3687
+ success: boolean;
2938
3688
  }
2939
3689
  }
2940
3690
  }
@@ -2967,6 +3717,97 @@ declare namespace Paths {
2967
3717
 
2968
3718
 
2969
3719
  export interface OperationMethods {
3720
+ /**
3721
+ * ListWaitlist - List waitlist entries (admin only)
3722
+ */
3723
+ 'ListWaitlist'(
3724
+ parameters?: Parameters<Paths.ListWaitlist.QueryParameters> | null,
3725
+ data?: any,
3726
+ config?: AxiosRequestConfig
3727
+ ): OperationResponse<Paths.ListWaitlist.Responses.$200>
3728
+ /**
3729
+ * GetWaitlistEntry - Get a specific waitlist entry by ID (admin only)
3730
+ */
3731
+ 'GetWaitlistEntry'(
3732
+ parameters?: Parameters<Paths.GetWaitlistEntry.PathParameters> | null,
3733
+ data?: any,
3734
+ config?: AxiosRequestConfig
3735
+ ): OperationResponse<Paths.GetWaitlistEntry.Responses.$200>
3736
+ /**
3737
+ * DeleteWaitlist - Delete a waitlist entry (admin only)
3738
+ */
3739
+ 'DeleteWaitlist'(
3740
+ parameters?: Parameters<Paths.DeleteWaitlist.PathParameters> | null,
3741
+ data?: any,
3742
+ config?: AxiosRequestConfig
3743
+ ): OperationResponse<Paths.DeleteWaitlist.Responses.$200>
3744
+ /**
3745
+ * GetWaitlistByEmail - Get a waitlist entry by email (admin only)
3746
+ */
3747
+ 'GetWaitlistByEmail'(
3748
+ parameters?: Parameters<Paths.GetWaitlistByEmail.PathParameters> | null,
3749
+ data?: any,
3750
+ config?: AxiosRequestConfig
3751
+ ): OperationResponse<Paths.GetWaitlistByEmail.Responses.$200>
3752
+ /**
3753
+ * ApproveWaitlist - Approve a waitlist entry (admin only)
3754
+ */
3755
+ 'ApproveWaitlist'(
3756
+ parameters?: Parameters<Paths.ApproveWaitlist.PathParameters> | null,
3757
+ data?: any,
3758
+ config?: AxiosRequestConfig
3759
+ ): OperationResponse<Paths.ApproveWaitlist.Responses.$200>
3760
+ /**
3761
+ * RejectWaitlist - Reject a waitlist entry (admin only)
3762
+ */
3763
+ 'RejectWaitlist'(
3764
+ parameters?: Parameters<Paths.RejectWaitlist.PathParameters> | null,
3765
+ data?: any,
3766
+ config?: AxiosRequestConfig
3767
+ ): OperationResponse<Paths.RejectWaitlist.Responses.$200>
3768
+ /**
3769
+ * JoinWaitlist - Add current user to waitlist (public endpoint, used during signup overflow)
3770
+ */
3771
+ 'JoinWaitlist'(
3772
+ parameters?: Parameters<UnknownParamsObject> | null,
3773
+ data?: Paths.JoinWaitlist.RequestBody,
3774
+ config?: AxiosRequestConfig
3775
+ ): OperationResponse<Paths.JoinWaitlist.Responses.$201>
3776
+ /**
3777
+ * CheckAvailability - Check if signup spots are available (public endpoint)
3778
+ * Returns information about remaining spots based on MAX_USERS env var
3779
+ */
3780
+ 'CheckAvailability'(
3781
+ parameters?: Parameters<UnknownParamsObject> | null,
3782
+ data?: any,
3783
+ config?: AxiosRequestConfig
3784
+ ): OperationResponse<Paths.CheckAvailability.Responses.$200>
3785
+ /**
3786
+ * RedeemReferralCode - Redeem a referral code to auto-approve waitlist entry (public endpoint)
3787
+ * Creates or updates waitlist entry with APPROVED status
3788
+ */
3789
+ 'RedeemReferralCode'(
3790
+ parameters?: Parameters<UnknownParamsObject> | null,
3791
+ data?: Paths.RedeemReferralCode.RequestBody,
3792
+ config?: AxiosRequestConfig
3793
+ ): OperationResponse<Paths.RedeemReferralCode.Responses.$200>
3794
+ /**
3795
+ * GenerateReferralCode - Generate a new referral code for the authenticated user
3796
+ * Limit: Maximum 5 unused referral codes per user
3797
+ */
3798
+ 'GenerateReferralCode'(
3799
+ parameters?: Parameters<UnknownParamsObject> | null,
3800
+ data?: any,
3801
+ config?: AxiosRequestConfig
3802
+ ): OperationResponse<Paths.GenerateReferralCode.Responses.$200>
3803
+ /**
3804
+ * GetRemainingReferralCodes - Get count of remaining referral codes for the authenticated user
3805
+ */
3806
+ 'GetRemainingReferralCodes'(
3807
+ parameters?: Parameters<UnknownParamsObject> | null,
3808
+ data?: any,
3809
+ config?: AxiosRequestConfig
3810
+ ): OperationResponse<Paths.GetRemainingReferralCodes.Responses.$200>
2970
3811
  /**
2971
3812
  * UserSignup
2972
3813
  */
@@ -3031,6 +3872,132 @@ export interface OperationMethods {
3031
3872
  data?: Paths.ResendVerificationEmail.RequestBody,
3032
3873
  config?: AxiosRequestConfig
3033
3874
  ): OperationResponse<Paths.ResendVerificationEmail.Responses.$200>
3875
+ /**
3876
+ * ChangePassword
3877
+ */
3878
+ 'ChangePassword'(
3879
+ parameters?: Parameters<UnknownParamsObject> | null,
3880
+ data?: Paths.ChangePassword.RequestBody,
3881
+ config?: AxiosRequestConfig
3882
+ ): OperationResponse<Paths.ChangePassword.Responses.$200>
3883
+ /**
3884
+ * Get2FAStatus - Get 2FA status for the current user
3885
+ */
3886
+ 'Get2FAStatus'(
3887
+ parameters?: Parameters<UnknownParamsObject> | null,
3888
+ data?: any,
3889
+ config?: AxiosRequestConfig
3890
+ ): OperationResponse<Paths.Get2FAStatus.Responses.$200>
3891
+ /**
3892
+ * Generate2FA - Generate 2FA setup (QR code and secret)
3893
+ */
3894
+ 'Generate2FA'(
3895
+ parameters?: Parameters<UnknownParamsObject> | null,
3896
+ data?: any,
3897
+ config?: AxiosRequestConfig
3898
+ ): OperationResponse<Paths.Generate2FA.Responses.$200>
3899
+ /**
3900
+ * Setup2FA - Complete 2FA setup by verifying TOTP code
3901
+ */
3902
+ 'Setup2FA'(
3903
+ parameters?: Parameters<UnknownParamsObject> | null,
3904
+ data?: Paths.Setup2FA.RequestBody,
3905
+ config?: AxiosRequestConfig
3906
+ ): OperationResponse<Paths.Setup2FA.Responses.$200>
3907
+ /**
3908
+ * Verify2FA - Verify 2FA code and get elevated token
3909
+ */
3910
+ 'Verify2FA'(
3911
+ parameters?: Parameters<UnknownParamsObject> | null,
3912
+ data?: Paths.Verify2FA.RequestBody,
3913
+ config?: AxiosRequestConfig
3914
+ ): OperationResponse<Paths.Verify2FA.Responses.$200>
3915
+ /**
3916
+ * Disable2FA - Disable 2FA (requires elevated session)
3917
+ */
3918
+ 'Disable2FA'(
3919
+ parameters?: Parameters<UnknownParamsObject> | null,
3920
+ data?: Paths.Disable2FA.RequestBody,
3921
+ config?: AxiosRequestConfig
3922
+ ): OperationResponse<Paths.Disable2FA.Responses.$200>
3923
+ /**
3924
+ * RegenerateBackupCodes - Regenerate backup codes (requires elevated session)
3925
+ */
3926
+ 'RegenerateBackupCodes'(
3927
+ parameters?: Parameters<UnknownParamsObject> | null,
3928
+ data?: Paths.RegenerateBackupCodes.RequestBody,
3929
+ config?: AxiosRequestConfig
3930
+ ): OperationResponse<Paths.RegenerateBackupCodes.Responses.$200>
3931
+ /**
3932
+ * GetTemplates - Get all templates
3933
+ *
3934
+ * Get all task templates for the current organization
3935
+ */
3936
+ 'GetTemplates'(
3937
+ parameters?: Parameters<Paths.GetTemplates.QueryParameters> | null,
3938
+ data?: any,
3939
+ config?: AxiosRequestConfig
3940
+ ): OperationResponse<Paths.GetTemplates.Responses.$200>
3941
+ /**
3942
+ * CreateTemplate - Create a new task template
3943
+ *
3944
+ * Create a new task template
3945
+ */
3946
+ 'CreateTemplate'(
3947
+ parameters?: Parameters<UnknownParamsObject> | null,
3948
+ data?: Paths.CreateTemplate.RequestBody,
3949
+ config?: AxiosRequestConfig
3950
+ ): OperationResponse<Paths.CreateTemplate.Responses.$200>
3951
+ /**
3952
+ * GetTemplate - Get template by ID
3953
+ *
3954
+ * Get a specific template by ID
3955
+ */
3956
+ 'GetTemplate'(
3957
+ parameters?: Parameters<Paths.GetTemplate.PathParameters> | null,
3958
+ data?: any,
3959
+ config?: AxiosRequestConfig
3960
+ ): OperationResponse<Paths.GetTemplate.Responses.$200>
3961
+ /**
3962
+ * UpdateTemplate - Update template
3963
+ *
3964
+ * Update an existing template
3965
+ */
3966
+ 'UpdateTemplate'(
3967
+ parameters?: Parameters<Paths.UpdateTemplate.PathParameters> | null,
3968
+ data?: Paths.UpdateTemplate.RequestBody,
3969
+ config?: AxiosRequestConfig
3970
+ ): OperationResponse<Paths.UpdateTemplate.Responses.$200>
3971
+ /**
3972
+ * DeleteTemplate - Delete template
3973
+ *
3974
+ * Delete a template
3975
+ */
3976
+ 'DeleteTemplate'(
3977
+ parameters?: Parameters<Paths.DeleteTemplate.PathParameters> | null,
3978
+ data?: any,
3979
+ config?: AxiosRequestConfig
3980
+ ): OperationResponse<Paths.DeleteTemplate.Responses.$204>
3981
+ /**
3982
+ * CreateTasks - Create tasks from template
3983
+ *
3984
+ * Create tasks from a template for a specific org user
3985
+ */
3986
+ 'CreateTasks'(
3987
+ parameters?: Parameters<Paths.CreateTasks.PathParameters> | null,
3988
+ data?: Paths.CreateTasks.RequestBody,
3989
+ config?: AxiosRequestConfig
3990
+ ): OperationResponse<Paths.CreateTasks.Responses.$200>
3991
+ /**
3992
+ * GetDefaultOnboardingTemplate - Get default onboarding template
3993
+ *
3994
+ * Get the default onboarding template for the organization
3995
+ */
3996
+ 'GetDefaultOnboardingTemplate'(
3997
+ parameters?: Parameters<UnknownParamsObject> | null,
3998
+ data?: any,
3999
+ config?: AxiosRequestConfig
4000
+ ): OperationResponse<Paths.GetDefaultOnboardingTemplate.Responses.$200>
3034
4001
  /**
3035
4002
  * ConnectSlackAccount
3036
4003
  */
@@ -3143,6 +4110,22 @@ export interface OperationMethods {
3143
4110
  data?: any,
3144
4111
  config?: AxiosRequestConfig
3145
4112
  ): OperationResponse<Paths.GetAllUserSecretPaths.Responses.$200>
4113
+ /**
4114
+ * RequestPasswordReset - Request a password reset by email
4115
+ */
4116
+ 'RequestPasswordReset'(
4117
+ parameters?: Parameters<UnknownParamsObject> | null,
4118
+ data?: Paths.RequestPasswordReset.RequestBody,
4119
+ config?: AxiosRequestConfig
4120
+ ): OperationResponse<Paths.RequestPasswordReset.Responses.$200>
4121
+ /**
4122
+ * ResetPassword - Reset password using shared secret
4123
+ */
4124
+ 'ResetPassword'(
4125
+ parameters?: Parameters<UnknownParamsObject> | null,
4126
+ data?: Paths.ResetPassword.RequestBody,
4127
+ config?: AxiosRequestConfig
4128
+ ): OperationResponse<Paths.ResetPassword.Responses.$200>
3146
4129
  /**
3147
4130
  * GetOrganizationsByUserId
3148
4131
  */
@@ -3214,47 +4197,137 @@ export interface OperationMethods {
3214
4197
  parameters?: Parameters<UnknownParamsObject> | null,
3215
4198
  data?: any,
3216
4199
  config?: AxiosRequestConfig
3217
- ): OperationResponse<Paths.GetOrgUsers.Responses.$200>
4200
+ ): OperationResponse<Paths.GetOrgUsers.Responses.$200>
4201
+ /**
4202
+ * RemoveUserFromOrg
4203
+ */
4204
+ 'RemoveUserFromOrg'(
4205
+ parameters?: Parameters<Paths.RemoveUserFromOrg.PathParameters> | null,
4206
+ data?: any,
4207
+ config?: AxiosRequestConfig
4208
+ ): OperationResponse<Paths.RemoveUserFromOrg.Responses.$204>
4209
+ /**
4210
+ * DeleteOrgInvite
4211
+ */
4212
+ 'DeleteOrgInvite'(
4213
+ parameters?: Parameters<Paths.DeleteOrgInvite.PathParameters> | null,
4214
+ data?: any,
4215
+ config?: AxiosRequestConfig
4216
+ ): OperationResponse<Paths.DeleteOrgInvite.Responses.$204>
4217
+ /**
4218
+ * GetOrgWorkers
4219
+ */
4220
+ 'GetOrgWorkers'(
4221
+ parameters?: Parameters<UnknownParamsObject> | null,
4222
+ data?: any,
4223
+ config?: AxiosRequestConfig
4224
+ ): OperationResponse<Paths.GetOrgWorkers.Responses.$200>
4225
+ /**
4226
+ * DeleteOrgWorker
4227
+ */
4228
+ 'DeleteOrgWorker'(
4229
+ parameters?: Parameters<Paths.DeleteOrgWorker.PathParameters> | null,
4230
+ data?: any,
4231
+ config?: AxiosRequestConfig
4232
+ ): OperationResponse<Paths.DeleteOrgWorker.Responses.$204>
4233
+ /**
4234
+ * GetAllUsages
4235
+ */
4236
+ 'GetAllUsages'(
4237
+ parameters?: Parameters<UnknownParamsObject> | null,
4238
+ data?: any,
4239
+ config?: AxiosRequestConfig
4240
+ ): OperationResponse<Paths.GetAllUsages.Responses.$200>
4241
+ /**
4242
+ * GetTasks - Get all tasks for current user
4243
+ *
4244
+ * Get all tasks for the current org user with optional filtering
4245
+ */
4246
+ 'GetTasks'(
4247
+ parameters?: Parameters<Paths.GetTasks.QueryParameters> | null,
4248
+ data?: any,
4249
+ config?: AxiosRequestConfig
4250
+ ): OperationResponse<Paths.GetTasks.Responses.$200>
4251
+ /**
4252
+ * CreateTask - Create a new task
4253
+ *
4254
+ * Create a new task for the current org user
4255
+ */
4256
+ 'CreateTask'(
4257
+ parameters?: Parameters<UnknownParamsObject> | null,
4258
+ data?: Paths.CreateTask.RequestBody,
4259
+ config?: AxiosRequestConfig
4260
+ ): OperationResponse<Paths.CreateTask.Responses.$200>
4261
+ /**
4262
+ * GetTask - Get task by ID
4263
+ *
4264
+ * Get a specific task by ID
4265
+ */
4266
+ 'GetTask'(
4267
+ parameters?: Parameters<Paths.GetTask.PathParameters> | null,
4268
+ data?: any,
4269
+ config?: AxiosRequestConfig
4270
+ ): OperationResponse<Paths.GetTask.Responses.$200>
4271
+ /**
4272
+ * UpdateTask - Update task
4273
+ *
4274
+ * Update an existing task
4275
+ */
4276
+ 'UpdateTask'(
4277
+ parameters?: Parameters<Paths.UpdateTask.PathParameters> | null,
4278
+ data?: Paths.UpdateTask.RequestBody,
4279
+ config?: AxiosRequestConfig
4280
+ ): OperationResponse<Paths.UpdateTask.Responses.$200>
3218
4281
  /**
3219
- * RemoveUserFromOrg
4282
+ * DeleteTask - Delete task
4283
+ *
4284
+ * Delete a task
3220
4285
  */
3221
- 'RemoveUserFromOrg'(
3222
- parameters?: Parameters<Paths.RemoveUserFromOrg.PathParameters> | null,
4286
+ 'DeleteTask'(
4287
+ parameters?: Parameters<Paths.DeleteTask.PathParameters> | null,
3223
4288
  data?: any,
3224
4289
  config?: AxiosRequestConfig
3225
- ): OperationResponse<Paths.RemoveUserFromOrg.Responses.$204>
4290
+ ): OperationResponse<Paths.DeleteTask.Responses.$204>
3226
4291
  /**
3227
- * DeleteOrgInvite
4292
+ * MarkCompleted - Mark task as completed
4293
+ *
4294
+ * Mark a task as completed (with optional force flag to skip check validation)
3228
4295
  */
3229
- 'DeleteOrgInvite'(
3230
- parameters?: Parameters<Paths.DeleteOrgInvite.PathParameters> | null,
3231
- data?: any,
4296
+ 'MarkCompleted'(
4297
+ parameters?: Parameters<Paths.MarkCompleted.PathParameters> | null,
4298
+ data?: Paths.MarkCompleted.RequestBody,
3232
4299
  config?: AxiosRequestConfig
3233
- ): OperationResponse<Paths.DeleteOrgInvite.Responses.$204>
4300
+ ): OperationResponse<Paths.MarkCompleted.Responses.$200>
3234
4301
  /**
3235
- * GetOrgWorkers
4302
+ * RunChecks - Run task checks
4303
+ *
4304
+ * Run checks for a task to validate completion requirements
3236
4305
  */
3237
- 'GetOrgWorkers'(
3238
- parameters?: Parameters<UnknownParamsObject> | null,
4306
+ 'RunChecks'(
4307
+ parameters?: Parameters<Paths.RunChecks.PathParameters> | null,
3239
4308
  data?: any,
3240
4309
  config?: AxiosRequestConfig
3241
- ): OperationResponse<Paths.GetOrgWorkers.Responses.$200>
4310
+ ): OperationResponse<Paths.RunChecks.Responses.$200>
3242
4311
  /**
3243
- * DeleteOrgWorker
4312
+ * AddComment - Add comment to task
4313
+ *
4314
+ * Add a comment to a task
3244
4315
  */
3245
- 'DeleteOrgWorker'(
3246
- parameters?: Parameters<Paths.DeleteOrgWorker.PathParameters> | null,
3247
- data?: any,
4316
+ 'AddComment'(
4317
+ parameters?: Parameters<Paths.AddComment.PathParameters> | null,
4318
+ data?: Paths.AddComment.RequestBody,
3248
4319
  config?: AxiosRequestConfig
3249
- ): OperationResponse<Paths.DeleteOrgWorker.Responses.$204>
4320
+ ): OperationResponse<Paths.AddComment.Responses.$204>
3250
4321
  /**
3251
- * GetAllUsages
4322
+ * DeleteComment - Delete comment from task
4323
+ *
4324
+ * Delete a comment from a task (only by comment owner)
3252
4325
  */
3253
- 'GetAllUsages'(
3254
- parameters?: Parameters<UnknownParamsObject> | null,
4326
+ 'DeleteComment'(
4327
+ parameters?: Parameters<Paths.DeleteComment.PathParameters> | null,
3255
4328
  data?: any,
3256
4329
  config?: AxiosRequestConfig
3257
- ): OperationResponse<Paths.GetAllUsages.Responses.$200>
4330
+ ): OperationResponse<Paths.DeleteComment.Responses.$204>
3258
4331
  /**
3259
4332
  * GetOrgUserMcps - Get all MCP server configurations for the current org user
3260
4333
  */
@@ -4122,6 +5195,117 @@ export interface OperationMethods {
4122
5195
  }
4123
5196
 
4124
5197
  export interface PathsDictionary {
5198
+ ['/waitlist']: {
5199
+ /**
5200
+ * ListWaitlist - List waitlist entries (admin only)
5201
+ */
5202
+ 'get'(
5203
+ parameters?: Parameters<Paths.ListWaitlist.QueryParameters> | null,
5204
+ data?: any,
5205
+ config?: AxiosRequestConfig
5206
+ ): OperationResponse<Paths.ListWaitlist.Responses.$200>
5207
+ }
5208
+ ['/waitlist/{waitlistId}']: {
5209
+ /**
5210
+ * GetWaitlistEntry - Get a specific waitlist entry by ID (admin only)
5211
+ */
5212
+ 'get'(
5213
+ parameters?: Parameters<Paths.GetWaitlistEntry.PathParameters> | null,
5214
+ data?: any,
5215
+ config?: AxiosRequestConfig
5216
+ ): OperationResponse<Paths.GetWaitlistEntry.Responses.$200>
5217
+ /**
5218
+ * DeleteWaitlist - Delete a waitlist entry (admin only)
5219
+ */
5220
+ 'delete'(
5221
+ parameters?: Parameters<Paths.DeleteWaitlist.PathParameters> | null,
5222
+ data?: any,
5223
+ config?: AxiosRequestConfig
5224
+ ): OperationResponse<Paths.DeleteWaitlist.Responses.$200>
5225
+ }
5226
+ ['/waitlist/email/{email}']: {
5227
+ /**
5228
+ * GetWaitlistByEmail - Get a waitlist entry by email (admin only)
5229
+ */
5230
+ 'get'(
5231
+ parameters?: Parameters<Paths.GetWaitlistByEmail.PathParameters> | null,
5232
+ data?: any,
5233
+ config?: AxiosRequestConfig
5234
+ ): OperationResponse<Paths.GetWaitlistByEmail.Responses.$200>
5235
+ }
5236
+ ['/waitlist/{waitlistId}/approve']: {
5237
+ /**
5238
+ * ApproveWaitlist - Approve a waitlist entry (admin only)
5239
+ */
5240
+ 'post'(
5241
+ parameters?: Parameters<Paths.ApproveWaitlist.PathParameters> | null,
5242
+ data?: any,
5243
+ config?: AxiosRequestConfig
5244
+ ): OperationResponse<Paths.ApproveWaitlist.Responses.$200>
5245
+ }
5246
+ ['/waitlist/{waitlistId}/reject']: {
5247
+ /**
5248
+ * RejectWaitlist - Reject a waitlist entry (admin only)
5249
+ */
5250
+ 'post'(
5251
+ parameters?: Parameters<Paths.RejectWaitlist.PathParameters> | null,
5252
+ data?: any,
5253
+ config?: AxiosRequestConfig
5254
+ ): OperationResponse<Paths.RejectWaitlist.Responses.$200>
5255
+ }
5256
+ ['/waitlist/join']: {
5257
+ /**
5258
+ * JoinWaitlist - Add current user to waitlist (public endpoint, used during signup overflow)
5259
+ */
5260
+ 'post'(
5261
+ parameters?: Parameters<UnknownParamsObject> | null,
5262
+ data?: Paths.JoinWaitlist.RequestBody,
5263
+ config?: AxiosRequestConfig
5264
+ ): OperationResponse<Paths.JoinWaitlist.Responses.$201>
5265
+ }
5266
+ ['/waitlist/availability']: {
5267
+ /**
5268
+ * CheckAvailability - Check if signup spots are available (public endpoint)
5269
+ * Returns information about remaining spots based on MAX_USERS env var
5270
+ */
5271
+ 'get'(
5272
+ parameters?: Parameters<UnknownParamsObject> | null,
5273
+ data?: any,
5274
+ config?: AxiosRequestConfig
5275
+ ): OperationResponse<Paths.CheckAvailability.Responses.$200>
5276
+ }
5277
+ ['/waitlist/redeem']: {
5278
+ /**
5279
+ * RedeemReferralCode - Redeem a referral code to auto-approve waitlist entry (public endpoint)
5280
+ * Creates or updates waitlist entry with APPROVED status
5281
+ */
5282
+ 'post'(
5283
+ parameters?: Parameters<UnknownParamsObject> | null,
5284
+ data?: Paths.RedeemReferralCode.RequestBody,
5285
+ config?: AxiosRequestConfig
5286
+ ): OperationResponse<Paths.RedeemReferralCode.Responses.$200>
5287
+ }
5288
+ ['/waitlist/referrals/generate']: {
5289
+ /**
5290
+ * GenerateReferralCode - Generate a new referral code for the authenticated user
5291
+ * Limit: Maximum 5 unused referral codes per user
5292
+ */
5293
+ 'post'(
5294
+ parameters?: Parameters<UnknownParamsObject> | null,
5295
+ data?: any,
5296
+ config?: AxiosRequestConfig
5297
+ ): OperationResponse<Paths.GenerateReferralCode.Responses.$200>
5298
+ }
5299
+ ['/waitlist/referrals/remaining']: {
5300
+ /**
5301
+ * GetRemainingReferralCodes - Get count of remaining referral codes for the authenticated user
5302
+ */
5303
+ 'get'(
5304
+ parameters?: Parameters<UnknownParamsObject> | null,
5305
+ data?: any,
5306
+ config?: AxiosRequestConfig
5307
+ ): OperationResponse<Paths.GetRemainingReferralCodes.Responses.$200>
5308
+ }
4125
5309
  ['/users/signup']: {
4126
5310
  /**
4127
5311
  * UserSignup
@@ -4200,6 +5384,154 @@ export interface PathsDictionary {
4200
5384
  config?: AxiosRequestConfig
4201
5385
  ): OperationResponse<Paths.ResendVerificationEmail.Responses.$200>
4202
5386
  }
5387
+ ['/users/change-password']: {
5388
+ /**
5389
+ * ChangePassword
5390
+ */
5391
+ 'post'(
5392
+ parameters?: Parameters<UnknownParamsObject> | null,
5393
+ data?: Paths.ChangePassword.RequestBody,
5394
+ config?: AxiosRequestConfig
5395
+ ): OperationResponse<Paths.ChangePassword.Responses.$200>
5396
+ }
5397
+ ['/two-factor/status']: {
5398
+ /**
5399
+ * Get2FAStatus - Get 2FA status for the current user
5400
+ */
5401
+ 'get'(
5402
+ parameters?: Parameters<UnknownParamsObject> | null,
5403
+ data?: any,
5404
+ config?: AxiosRequestConfig
5405
+ ): OperationResponse<Paths.Get2FAStatus.Responses.$200>
5406
+ }
5407
+ ['/two-factor/generate']: {
5408
+ /**
5409
+ * Generate2FA - Generate 2FA setup (QR code and secret)
5410
+ */
5411
+ 'post'(
5412
+ parameters?: Parameters<UnknownParamsObject> | null,
5413
+ data?: any,
5414
+ config?: AxiosRequestConfig
5415
+ ): OperationResponse<Paths.Generate2FA.Responses.$200>
5416
+ }
5417
+ ['/two-factor/setup']: {
5418
+ /**
5419
+ * Setup2FA - Complete 2FA setup by verifying TOTP code
5420
+ */
5421
+ 'post'(
5422
+ parameters?: Parameters<UnknownParamsObject> | null,
5423
+ data?: Paths.Setup2FA.RequestBody,
5424
+ config?: AxiosRequestConfig
5425
+ ): OperationResponse<Paths.Setup2FA.Responses.$200>
5426
+ }
5427
+ ['/two-factor/verify']: {
5428
+ /**
5429
+ * Verify2FA - Verify 2FA code and get elevated token
5430
+ */
5431
+ 'post'(
5432
+ parameters?: Parameters<UnknownParamsObject> | null,
5433
+ data?: Paths.Verify2FA.RequestBody,
5434
+ config?: AxiosRequestConfig
5435
+ ): OperationResponse<Paths.Verify2FA.Responses.$200>
5436
+ }
5437
+ ['/two-factor/disable']: {
5438
+ /**
5439
+ * Disable2FA - Disable 2FA (requires elevated session)
5440
+ */
5441
+ 'post'(
5442
+ parameters?: Parameters<UnknownParamsObject> | null,
5443
+ data?: Paths.Disable2FA.RequestBody,
5444
+ config?: AxiosRequestConfig
5445
+ ): OperationResponse<Paths.Disable2FA.Responses.$200>
5446
+ }
5447
+ ['/two-factor/regenerate-backup-codes']: {
5448
+ /**
5449
+ * RegenerateBackupCodes - Regenerate backup codes (requires elevated session)
5450
+ */
5451
+ 'post'(
5452
+ parameters?: Parameters<UnknownParamsObject> | null,
5453
+ data?: Paths.RegenerateBackupCodes.RequestBody,
5454
+ config?: AxiosRequestConfig
5455
+ ): OperationResponse<Paths.RegenerateBackupCodes.Responses.$200>
5456
+ }
5457
+ ['/task-templates']: {
5458
+ /**
5459
+ * CreateTemplate - Create a new task template
5460
+ *
5461
+ * Create a new task template
5462
+ */
5463
+ 'post'(
5464
+ parameters?: Parameters<UnknownParamsObject> | null,
5465
+ data?: Paths.CreateTemplate.RequestBody,
5466
+ config?: AxiosRequestConfig
5467
+ ): OperationResponse<Paths.CreateTemplate.Responses.$200>
5468
+ /**
5469
+ * GetTemplates - Get all templates
5470
+ *
5471
+ * Get all task templates for the current organization
5472
+ */
5473
+ 'get'(
5474
+ parameters?: Parameters<Paths.GetTemplates.QueryParameters> | null,
5475
+ data?: any,
5476
+ config?: AxiosRequestConfig
5477
+ ): OperationResponse<Paths.GetTemplates.Responses.$200>
5478
+ }
5479
+ ['/task-templates/{id}']: {
5480
+ /**
5481
+ * GetTemplate - Get template by ID
5482
+ *
5483
+ * Get a specific template by ID
5484
+ */
5485
+ 'get'(
5486
+ parameters?: Parameters<Paths.GetTemplate.PathParameters> | null,
5487
+ data?: any,
5488
+ config?: AxiosRequestConfig
5489
+ ): OperationResponse<Paths.GetTemplate.Responses.$200>
5490
+ /**
5491
+ * UpdateTemplate - Update template
5492
+ *
5493
+ * Update an existing template
5494
+ */
5495
+ 'put'(
5496
+ parameters?: Parameters<Paths.UpdateTemplate.PathParameters> | null,
5497
+ data?: Paths.UpdateTemplate.RequestBody,
5498
+ config?: AxiosRequestConfig
5499
+ ): OperationResponse<Paths.UpdateTemplate.Responses.$200>
5500
+ /**
5501
+ * DeleteTemplate - Delete template
5502
+ *
5503
+ * Delete a template
5504
+ */
5505
+ 'delete'(
5506
+ parameters?: Parameters<Paths.DeleteTemplate.PathParameters> | null,
5507
+ data?: any,
5508
+ config?: AxiosRequestConfig
5509
+ ): OperationResponse<Paths.DeleteTemplate.Responses.$204>
5510
+ }
5511
+ ['/task-templates/{id}/create-tasks']: {
5512
+ /**
5513
+ * CreateTasks - Create tasks from template
5514
+ *
5515
+ * Create tasks from a template for a specific org user
5516
+ */
5517
+ 'post'(
5518
+ parameters?: Parameters<Paths.CreateTasks.PathParameters> | null,
5519
+ data?: Paths.CreateTasks.RequestBody,
5520
+ config?: AxiosRequestConfig
5521
+ ): OperationResponse<Paths.CreateTasks.Responses.$200>
5522
+ }
5523
+ ['/task-templates/onboarding/default']: {
5524
+ /**
5525
+ * GetDefaultOnboardingTemplate - Get default onboarding template
5526
+ *
5527
+ * Get the default onboarding template for the organization
5528
+ */
5529
+ 'get'(
5530
+ parameters?: Parameters<UnknownParamsObject> | null,
5531
+ data?: any,
5532
+ config?: AxiosRequestConfig
5533
+ ): OperationResponse<Paths.GetDefaultOnboardingTemplate.Responses.$200>
5534
+ }
4203
5535
  ['/slack/connect']: {
4204
5536
  /**
4205
5537
  * ConnectSlackAccount
@@ -4332,6 +5664,26 @@ export interface PathsDictionary {
4332
5664
  config?: AxiosRequestConfig
4333
5665
  ): OperationResponse<Paths.GetAllUserSecretPaths.Responses.$200>
4334
5666
  }
5667
+ ['/password-reset/request']: {
5668
+ /**
5669
+ * RequestPasswordReset - Request a password reset by email
5670
+ */
5671
+ 'post'(
5672
+ parameters?: Parameters<UnknownParamsObject> | null,
5673
+ data?: Paths.RequestPasswordReset.RequestBody,
5674
+ config?: AxiosRequestConfig
5675
+ ): OperationResponse<Paths.RequestPasswordReset.Responses.$200>
5676
+ }
5677
+ ['/password-reset/reset']: {
5678
+ /**
5679
+ * ResetPassword - Reset password using shared secret
5680
+ */
5681
+ 'post'(
5682
+ parameters?: Parameters<UnknownParamsObject> | null,
5683
+ data?: Paths.ResetPassword.RequestBody,
5684
+ config?: AxiosRequestConfig
5685
+ ): OperationResponse<Paths.ResetPassword.Responses.$200>
5686
+ }
4335
5687
  ['/organizations']: {
4336
5688
  /**
4337
5689
  * CreateOrganization
@@ -4464,6 +5816,108 @@ export interface PathsDictionary {
4464
5816
  config?: AxiosRequestConfig
4465
5817
  ): OperationResponse<Paths.GetAllUsages.Responses.$200>
4466
5818
  }
5819
+ ['/org-user-tasks']: {
5820
+ /**
5821
+ * CreateTask - Create a new task
5822
+ *
5823
+ * Create a new task for the current org user
5824
+ */
5825
+ 'post'(
5826
+ parameters?: Parameters<UnknownParamsObject> | null,
5827
+ data?: Paths.CreateTask.RequestBody,
5828
+ config?: AxiosRequestConfig
5829
+ ): OperationResponse<Paths.CreateTask.Responses.$200>
5830
+ /**
5831
+ * GetTasks - Get all tasks for current user
5832
+ *
5833
+ * Get all tasks for the current org user with optional filtering
5834
+ */
5835
+ 'get'(
5836
+ parameters?: Parameters<Paths.GetTasks.QueryParameters> | null,
5837
+ data?: any,
5838
+ config?: AxiosRequestConfig
5839
+ ): OperationResponse<Paths.GetTasks.Responses.$200>
5840
+ }
5841
+ ['/org-user-tasks/{id}']: {
5842
+ /**
5843
+ * GetTask - Get task by ID
5844
+ *
5845
+ * Get a specific task by ID
5846
+ */
5847
+ 'get'(
5848
+ parameters?: Parameters<Paths.GetTask.PathParameters> | null,
5849
+ data?: any,
5850
+ config?: AxiosRequestConfig
5851
+ ): OperationResponse<Paths.GetTask.Responses.$200>
5852
+ /**
5853
+ * UpdateTask - Update task
5854
+ *
5855
+ * Update an existing task
5856
+ */
5857
+ 'put'(
5858
+ parameters?: Parameters<Paths.UpdateTask.PathParameters> | null,
5859
+ data?: Paths.UpdateTask.RequestBody,
5860
+ config?: AxiosRequestConfig
5861
+ ): OperationResponse<Paths.UpdateTask.Responses.$200>
5862
+ /**
5863
+ * DeleteTask - Delete task
5864
+ *
5865
+ * Delete a task
5866
+ */
5867
+ 'delete'(
5868
+ parameters?: Parameters<Paths.DeleteTask.PathParameters> | null,
5869
+ data?: any,
5870
+ config?: AxiosRequestConfig
5871
+ ): OperationResponse<Paths.DeleteTask.Responses.$204>
5872
+ }
5873
+ ['/org-user-tasks/{id}/complete']: {
5874
+ /**
5875
+ * MarkCompleted - Mark task as completed
5876
+ *
5877
+ * Mark a task as completed (with optional force flag to skip check validation)
5878
+ */
5879
+ 'post'(
5880
+ parameters?: Parameters<Paths.MarkCompleted.PathParameters> | null,
5881
+ data?: Paths.MarkCompleted.RequestBody,
5882
+ config?: AxiosRequestConfig
5883
+ ): OperationResponse<Paths.MarkCompleted.Responses.$200>
5884
+ }
5885
+ ['/org-user-tasks/{id}/run-checks']: {
5886
+ /**
5887
+ * RunChecks - Run task checks
5888
+ *
5889
+ * Run checks for a task to validate completion requirements
5890
+ */
5891
+ 'post'(
5892
+ parameters?: Parameters<Paths.RunChecks.PathParameters> | null,
5893
+ data?: any,
5894
+ config?: AxiosRequestConfig
5895
+ ): OperationResponse<Paths.RunChecks.Responses.$200>
5896
+ }
5897
+ ['/org-user-tasks/{id}/comments']: {
5898
+ /**
5899
+ * AddComment - Add comment to task
5900
+ *
5901
+ * Add a comment to a task
5902
+ */
5903
+ 'post'(
5904
+ parameters?: Parameters<Paths.AddComment.PathParameters> | null,
5905
+ data?: Paths.AddComment.RequestBody,
5906
+ config?: AxiosRequestConfig
5907
+ ): OperationResponse<Paths.AddComment.Responses.$204>
5908
+ }
5909
+ ['/org-user-tasks/{id}/comments/{commentId}']: {
5910
+ /**
5911
+ * DeleteComment - Delete comment from task
5912
+ *
5913
+ * Delete a comment from a task (only by comment owner)
5914
+ */
5915
+ 'delete'(
5916
+ parameters?: Parameters<Paths.DeleteComment.PathParameters> | null,
5917
+ data?: any,
5918
+ config?: AxiosRequestConfig
5919
+ ): OperationResponse<Paths.DeleteComment.Responses.$204>
5920
+ }
4467
5921
  ['/org-user-mcp']: {
4468
5922
  /**
4469
5923
  * CreateOrgUserMcp - Create a new MCP server configuration for the current org user
@@ -5483,6 +6937,7 @@ export type Client = OpenAPIClient<OperationMethods, PathsDictionary>
5483
6937
 
5484
6938
  export type AICompletionOptions = Components.Schemas.AICompletionOptions;
5485
6939
  export type AIEmbeddingOptions = Components.Schemas.AIEmbeddingOptions;
6940
+ export type AddCommentRequest = Components.Schemas.AddCommentRequest;
5486
6941
  export type ApproveSessionResponse = Components.Schemas.ApproveSessionResponse;
5487
6942
  export type AutoReloadSettings = Components.Schemas.AutoReloadSettings;
5488
6943
  export type ChatCompletionResponse = Components.Schemas.ChatCompletionResponse;
@@ -5496,6 +6951,8 @@ export type CreateSecretRequest = Components.Schemas.CreateSecretRequest;
5496
6951
  export type CreateSessionFromThreadRequest = Components.Schemas.CreateSessionFromThreadRequest;
5497
6952
  export type CreateSessionRequest = Components.Schemas.CreateSessionRequest;
5498
6953
  export type CreateSessionResponse = Components.Schemas.CreateSessionResponse;
6954
+ export type CreateTasksRequest = Components.Schemas.CreateTasksRequest;
6955
+ export type CreateTasksResponse = Components.Schemas.CreateTasksResponse;
5499
6956
  export type CreditBalance = Components.Schemas.CreditBalance;
5500
6957
  export type CreditBalanceResponse = Components.Schemas.CreditBalanceResponse;
5501
6958
  export type CreditPurchaseRequest = Components.Schemas.CreditPurchaseRequest;
@@ -5509,15 +6966,21 @@ export type DefaultSelection_Prisma__36_OrgPaymentMethodPayload_ = Components.Sc
5509
6966
  export type DefaultSelection_Prisma__36_OrgUserChatSessionPayload_ = Components.Schemas.DefaultSelectionPrisma36OrgUserChatSessionPayload;
5510
6967
  export type DefaultSelection_Prisma__36_OrgUserCreditPurchasePayload_ = Components.Schemas.DefaultSelectionPrisma36OrgUserCreditPurchasePayload;
5511
6968
  export type DefaultSelection_Prisma__36_OrgUserMcpPayload_ = Components.Schemas.DefaultSelectionPrisma36OrgUserMcpPayload;
6969
+ export type DefaultSelection_Prisma__36_OrgUserTaskPayload_ = Components.Schemas.DefaultSelectionPrisma36OrgUserTaskPayload;
5512
6970
  export type DefaultSelection_Prisma__36_OrgWorkerPayload_ = Components.Schemas.DefaultSelectionPrisma36OrgWorkerPayload;
5513
6971
  export type DefaultSelection_Prisma__36_OrganizationPayload_ = Components.Schemas.DefaultSelectionPrisma36OrganizationPayload;
6972
+ export type DefaultSelection_Prisma__36_TaskCheckPayload_ = Components.Schemas.DefaultSelectionPrisma36TaskCheckPayload;
6973
+ export type DefaultSelection_Prisma__36_TaskTemplatePayload_ = Components.Schemas.DefaultSelectionPrisma36TaskTemplatePayload;
5514
6974
  export type DefaultSelection_Prisma__36_UserCreditPurchasePayload_ = Components.Schemas.DefaultSelectionPrisma36UserCreditPurchasePayload;
5515
6975
  export type DefaultSelection_Prisma__36_UserPaymentMethodPayload_ = Components.Schemas.DefaultSelectionPrisma36UserPaymentMethodPayload;
6976
+ export type ElevationRequest = Components.Schemas.ElevationRequest;
5516
6977
  export type Embeddable_any_ = Components.Schemas.EmbeddableAny;
5517
6978
  export type EmbeddingBase_any_ = Components.Schemas.EmbeddingBaseAny;
5518
6979
  export type EmbeddingResponse = Components.Schemas.EmbeddingResponse;
5519
6980
  export type FilterType_Prisma_OrgEmbeddingUpdateWithoutOrganizationInput_OrgEmbeddingOptionalFields_OrgEmbeddingExcludedFields_ = Components.Schemas.FilterTypePrismaOrgEmbeddingUpdateWithoutOrganizationInputOrgEmbeddingOptionalFieldsOrgEmbeddingExcludedFields;
5520
6981
  export type FilterType_Prisma_OrgFileUpdateWithoutOrganizationInput_OrgFileOptionalFields_OrgFileExcludedFields_ = Components.Schemas.FilterTypePrismaOrgFileUpdateWithoutOrganizationInputOrgFileOptionalFieldsOrgFileExcludedFields;
6982
+ export type Generate2FAResponse = Components.Schemas.Generate2FAResponse;
6983
+ export type Get2FAStatusResponse = Components.Schemas.Get2FAStatusResponse;
5521
6984
  export type HealthCheckResponse = Components.Schemas.HealthCheckResponse;
5522
6985
  export type InputJsonArray = Components.Schemas.InputJsonArray;
5523
6986
  export type InputJsonObject = Components.Schemas.InputJsonObject;
@@ -5526,11 +6989,16 @@ export type JsonArray = Components.Schemas.JsonArray;
5526
6989
  export type JsonObject = Components.Schemas.JsonObject;
5527
6990
  export type JsonValue = Components.Schemas.JsonValue;
5528
6991
  export type LivenessResponse = Components.Schemas.LivenessResponse;
6992
+ export type MarkCompletedRequest = Components.Schemas.MarkCompletedRequest;
6993
+ export type MarkCompletedResponse = Components.Schemas.MarkCompletedResponse;
5529
6994
  export type Message = Components.Schemas.Message;
5530
6995
  export type MessageContent = Components.Schemas.MessageContent;
6996
+ export type N$16_Enums_CheckState = Components.Schemas.N$16EnumsCheckState;
5531
6997
  export type N$16_Enums_CliLoginSessionStatus = Components.Schemas.N$16EnumsCliLoginSessionStatus;
5532
6998
  export type N$16_Enums_FundingMethod = Components.Schemas.N$16EnumsFundingMethod;
6999
+ export type N$16_Enums_TaskState = Components.Schemas.N$16EnumsTaskState;
5533
7000
  export type N$16_Enums_UserRole = Components.Schemas.N$16EnumsUserRole;
7001
+ export type N$16_Enums_WaitlistStatus = Components.Schemas.N$16EnumsWaitlistStatus;
5534
7002
  export type NullablePartial_Pick_Prisma_OrganizationUncheckedUpdateWithoutUsersInput_OrganizationOptionalFields__ = Components.Schemas.NullablePartialPickPrismaOrganizationUncheckedUpdateWithoutUsersInputOrganizationOptionalFields;
5535
7003
  export type Omit_EmbedSource_output_ = Components.Schemas.OmitEmbedSourceOutput;
5536
7004
  export type Omit_PartialBy_Prisma_OrgEmbeddingUpdateWithoutOrganizationInput_OrgEmbeddingOptionalFields__OrgEmbeddingExcludedFields_ = Components.Schemas.OmitPartialByPrismaOrgEmbeddingUpdateWithoutOrganizationInputOrgEmbeddingOptionalFieldsOrgEmbeddingExcludedFields;
@@ -5552,6 +7020,10 @@ export type OrgUserChatCompletion = Components.Schemas.OrgUserChatCompletion;
5552
7020
  export type OrgUserChatSession = Components.Schemas.OrgUserChatSession;
5553
7021
  export type OrgUserCreditPurchase = Components.Schemas.OrgUserCreditPurchase;
5554
7022
  export type OrgUserMcp = Components.Schemas.OrgUserMcp;
7023
+ export type OrgUserTask = Components.Schemas.OrgUserTask;
7024
+ export type OrgUserTaskCreateData = Components.Schemas.OrgUserTaskCreateData;
7025
+ export type OrgUserTaskUpdateData = Components.Schemas.OrgUserTaskUpdateData;
7026
+ export type OrgUserTaskWithRelations = Components.Schemas.OrgUserTaskWithRelations;
5555
7027
  export type OrgWorker = Components.Schemas.OrgWorker;
5556
7028
  export type Organization = Components.Schemas.Organization;
5557
7029
  export type OrganizationUpdateData = Components.Schemas.OrganizationUpdateData;
@@ -5577,11 +7049,28 @@ export type PublicChatRequest = Components.Schemas.PublicChatRequest;
5577
7049
  export type PurchaseHistoryResponse = Components.Schemas.PurchaseHistoryResponse;
5578
7050
  export type ReadinessResponse = Components.Schemas.ReadinessResponse;
5579
7051
  export type Record_string_any_ = Components.Schemas.RecordStringAny;
7052
+ export type RequestPasswordResetRequest = Components.Schemas.RequestPasswordResetRequest;
7053
+ export type RequestPasswordResetResponse = Components.Schemas.RequestPasswordResetResponse;
7054
+ export type ResetPasswordRequest = Components.Schemas.ResetPasswordRequest;
7055
+ export type ResetPasswordResponse = Components.Schemas.ResetPasswordResponse;
7056
+ export type RunChecksResponse = Components.Schemas.RunChecksResponse;
5580
7057
  export type SecretPathsResponse = Components.Schemas.SecretPathsResponse;
5581
7058
  export type SecretResponse = Components.Schemas.SecretResponse;
5582
7059
  export type ServiceStatus = Components.Schemas.ServiceStatus;
5583
7060
  export type SessionStatusResponse = Components.Schemas.SessionStatusResponse;
5584
7061
  export type SessionTokenResponse = Components.Schemas.SessionTokenResponse;
7062
+ export type Setup2FARequest = Components.Schemas.Setup2FARequest;
7063
+ export type Setup2FAResponse = Components.Schemas.Setup2FAResponse;
7064
+ export type TaskCheck = Components.Schemas.TaskCheck;
7065
+ export type TaskCheckData = Components.Schemas.TaskCheckData;
7066
+ export type TaskData = Components.Schemas.TaskData;
7067
+ export type TaskListResponse = Components.Schemas.TaskListResponse;
7068
+ export type TaskState = Components.Schemas.TaskState;
7069
+ export type TaskTemplate = Components.Schemas.TaskTemplate;
7070
+ export type TaskTemplateCreateData = Components.Schemas.TaskTemplateCreateData;
7071
+ export type TaskTemplateUpdateData = Components.Schemas.TaskTemplateUpdateData;
7072
+ export type TaskTemplateWithRelations = Components.Schemas.TaskTemplateWithRelations;
7073
+ export type TemplateListResponse = Components.Schemas.TemplateListResponse;
5585
7074
  export type Tool = Components.Schemas.Tool;
5586
7075
  export type ToolCall = Components.Schemas.ToolCall;
5587
7076
  export type ToolCallRequest = Components.Schemas.ToolCallRequest;
@@ -5595,4 +7084,6 @@ export type UserCreditPurchase = Components.Schemas.UserCreditPurchase;
5595
7084
  export type UserPaymentMethod = Components.Schemas.UserPaymentMethod;
5596
7085
  export type UserRole = Components.Schemas.UserRole;
5597
7086
  export type UserSecretResponse = Components.Schemas.UserSecretResponse;
7087
+ export type Verify2FARequest = Components.Schemas.Verify2FARequest;
5598
7088
  export type VideoParse = Components.Schemas.VideoParse;
7089
+ export type WaitlistStatus = Components.Schemas.WaitlistStatus;