@dazl/api-client 1.0.24 → 1.0.26

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.
@@ -230,21 +230,41 @@ export type FileCommentContext = {
230
230
  export type InternalCreateCommentInput = {
231
231
  content: string;
232
232
  authorDazlUserId: string;
233
+ /**
234
+ * Deprecated: ignored. Mentions are parsed server-side from content as [@<userId>].
235
+ *
236
+ * @deprecated
237
+ */
233
238
  mentions?: Array<UserMention>;
234
239
  context?: CommentContext;
235
240
  };
236
241
  export type InternalEditCommentInput = {
237
242
  content: string;
243
+ /**
244
+ * Deprecated: ignored. Mentions are parsed server-side from content as [@<userId>].
245
+ *
246
+ * @deprecated
247
+ */
238
248
  mentions?: Array<UserMention>;
239
249
  editorDazlUserId?: string;
240
250
  };
241
251
  export type InternalCreateReplyInput = {
242
252
  content: string;
253
+ /**
254
+ * Deprecated: ignored. Mentions are parsed server-side from content as [@<userId>].
255
+ *
256
+ * @deprecated
257
+ */
243
258
  mentions?: Array<UserMention>;
244
259
  authorDazlUserId: string;
245
260
  };
246
261
  export type InternalEditReplyInput = {
247
262
  content: string;
263
+ /**
264
+ * Deprecated: ignored. Mentions are parsed server-side from content as [@<userId>].
265
+ *
266
+ * @deprecated
267
+ */
248
268
  mentions?: Array<UserMention>;
249
269
  editorDazlUserId?: string;
250
270
  };
@@ -267,6 +287,7 @@ export type TemplateRaw = {
267
287
  }> | null;
268
288
  screenshotUrl?: string | null;
269
289
  updatedAt: string;
290
+ remoteEnvConfigId: string | null;
270
291
  };
271
292
  export type UploadConfiguration = {
272
293
  /**
@@ -493,21 +514,41 @@ export type ConnectionStatus = {
493
514
  };
494
515
  export type CreateCommentInput = {
495
516
  content: string;
517
+ /**
518
+ * Deprecated: ignored. Mentions are parsed server-side from content as [@<userId>].
519
+ *
520
+ * @deprecated
521
+ */
496
522
  mentions?: Array<UserMention>;
497
523
  context?: CommentContext;
498
524
  gitInfo?: CommentGitInfo;
499
525
  };
500
526
  export type EditCommentInput = {
501
527
  content: string;
528
+ /**
529
+ * Deprecated: ignored. Mentions are parsed server-side from content as [@<userId>].
530
+ *
531
+ * @deprecated
532
+ */
502
533
  mentions?: Array<UserMention>;
503
534
  };
504
535
  export type CreateReplyInput = {
505
536
  content: string;
537
+ /**
538
+ * Deprecated: ignored. Mentions are parsed server-side from content as [@<userId>].
539
+ *
540
+ * @deprecated
541
+ */
506
542
  mentions?: Array<UserMention>;
507
543
  gitInfo?: CommentGitInfo;
508
544
  };
509
545
  export type EditReplyInput = {
510
546
  content: string;
547
+ /**
548
+ * Deprecated: ignored. Mentions are parsed server-side from content as [@<userId>].
549
+ *
550
+ * @deprecated
551
+ */
511
552
  mentions?: Array<UserMention>;
512
553
  };
513
554
  export type EnsureMyUserData = {
@@ -3864,6 +3905,7 @@ export type UpdateTemplateData = {
3864
3905
  name?: string;
3865
3906
  usageCount?: number;
3866
3907
  isPublic?: boolean;
3908
+ remoteEnvConfigId?: string | null;
3867
3909
  ownerDazlId?: string;
3868
3910
  };
3869
3911
  path: {
@@ -6249,6 +6291,87 @@ export type GetWorkspaceResponses = {
6249
6291
  };
6250
6292
  export type GetWorkspaceResponse = GetWorkspaceResponses[keyof GetWorkspaceResponses];
6251
6293
  export type GetAllWorkspacesData = {
6294
+ body?: never;
6295
+ path?: never;
6296
+ query?: {
6297
+ /**
6298
+ * Whether to include the members of each workspace
6299
+ */
6300
+ withMembers?: boolean;
6301
+ };
6302
+ url: '/workspace/list-my';
6303
+ };
6304
+ export type GetAllWorkspacesErrors = {
6305
+ /**
6306
+ * Bad request - Invalid parameters or malformed JSON
6307
+ */
6308
+ 400: {
6309
+ message: string;
6310
+ issues?: string;
6311
+ };
6312
+ /**
6313
+ * Unauthorized
6314
+ */
6315
+ 401: ErrorResponse;
6316
+ /**
6317
+ * Forbidden
6318
+ */
6319
+ 403: ErrorResponse;
6320
+ /**
6321
+ * Not Found
6322
+ */
6323
+ 404: ErrorResponse;
6324
+ /**
6325
+ * Conflict
6326
+ */
6327
+ 409: ErrorResponse;
6328
+ /**
6329
+ * Internal server error
6330
+ */
6331
+ 500: ErrorResponse;
6332
+ /**
6333
+ * Service Unavailable
6334
+ */
6335
+ 503: ErrorResponse;
6336
+ };
6337
+ export type GetAllWorkspacesError = GetAllWorkspacesErrors[keyof GetAllWorkspacesErrors];
6338
+ export type GetAllWorkspacesResponses = {
6339
+ /**
6340
+ * Returns the list of workspaces that the user is a member of
6341
+ */
6342
+ 200: {
6343
+ workspaces: Array<{
6344
+ id: string;
6345
+ name: string;
6346
+ dazlUserId: string | null;
6347
+ createdAt: string;
6348
+ isDefault: boolean;
6349
+ repoId: string | null;
6350
+ owner?: {
6351
+ /**
6352
+ * Dazl ID for the type = "user"
6353
+ */
6354
+ id: string;
6355
+ email: string;
6356
+ name?: string;
6357
+ picture?: string;
6358
+ role: 'workspace_member' | 'owner';
6359
+ } | null;
6360
+ members?: Array<{
6361
+ /**
6362
+ * Dazl ID for the type = "user"
6363
+ */
6364
+ id: string;
6365
+ email: string;
6366
+ name?: string;
6367
+ picture?: string;
6368
+ role: 'workspace_member' | 'owner';
6369
+ }>;
6370
+ }>;
6371
+ };
6372
+ };
6373
+ export type GetAllWorkspacesResponse = GetAllWorkspacesResponses[keyof GetAllWorkspacesResponses];
6374
+ export type GetAllWorkspacesWithCreateData = {
6252
6375
  body: {
6253
6376
  /**
6254
6377
  * Whether to include the members of each workspace
@@ -6267,7 +6390,7 @@ export type GetAllWorkspacesData = {
6267
6390
  query?: never;
6268
6391
  url: '/workspace/list-my';
6269
6392
  };
6270
- export type GetAllWorkspacesErrors = {
6393
+ export type GetAllWorkspacesWithCreateErrors = {
6271
6394
  /**
6272
6395
  * Bad request - Invalid parameters or malformed JSON
6273
6396
  */
@@ -6300,8 +6423,8 @@ export type GetAllWorkspacesErrors = {
6300
6423
  */
6301
6424
  503: ErrorResponse;
6302
6425
  };
6303
- export type GetAllWorkspacesError = GetAllWorkspacesErrors[keyof GetAllWorkspacesErrors];
6304
- export type GetAllWorkspacesResponses = {
6426
+ export type GetAllWorkspacesWithCreateError = GetAllWorkspacesWithCreateErrors[keyof GetAllWorkspacesWithCreateErrors];
6427
+ export type GetAllWorkspacesWithCreateResponses = {
6305
6428
  /**
6306
6429
  * Returns the list of workspaces for the current user
6307
6430
  */
@@ -6344,7 +6467,7 @@ export type GetAllWorkspacesResponses = {
6344
6467
  }>;
6345
6468
  };
6346
6469
  };
6347
- export type GetAllWorkspacesResponse = GetAllWorkspacesResponses[keyof GetAllWorkspacesResponses];
6470
+ export type GetAllWorkspacesWithCreateResponse = GetAllWorkspacesWithCreateResponses[keyof GetAllWorkspacesWithCreateResponses];
6348
6471
  export type InviteWorkspaceMemberData = {
6349
6472
  body: {
6350
6473
  email: string;