@dazl/api-client 1.0.16 → 1.0.17

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.
@@ -433,6 +433,62 @@ export type CreateWorkspaceResponses = {
433
433
 
434
434
  export type CreateWorkspaceResponse = CreateWorkspaceResponses[keyof CreateWorkspaceResponses];
435
435
 
436
+ export type GetWorkspaceData = {
437
+ body?: never;
438
+ path: {
439
+ workspaceId: string;
440
+ };
441
+ query?: never;
442
+ url: '/workspace/{workspaceId}';
443
+ };
444
+
445
+ export type GetWorkspaceErrors = {
446
+ /**
447
+ * Bad request - Invalid parameters or malformed JSON
448
+ */
449
+ 400: {
450
+ message: string;
451
+ issues?: string;
452
+ };
453
+ /**
454
+ * Unauthorized
455
+ */
456
+ 401: ErrorResponse;
457
+ /**
458
+ * Forbidden
459
+ */
460
+ 403: ErrorResponse;
461
+ /**
462
+ * Not Found
463
+ */
464
+ 404: ErrorResponse;
465
+ /**
466
+ * Conflict
467
+ */
468
+ 409: ErrorResponse;
469
+ /**
470
+ * Internal server error
471
+ */
472
+ 500: ErrorResponse;
473
+ /**
474
+ * Service Unavailable
475
+ */
476
+ 503: ErrorResponse;
477
+ };
478
+
479
+ export type GetWorkspaceError = GetWorkspaceErrors[keyof GetWorkspaceErrors];
480
+
481
+ export type GetWorkspaceResponses = {
482
+ /**
483
+ * Returns the workspace with the given ID
484
+ */
485
+ 200: {
486
+ workspace: Workspace;
487
+ };
488
+ };
489
+
490
+ export type GetWorkspaceResponse = GetWorkspaceResponses[keyof GetWorkspaceResponses];
491
+
436
492
  export type GetAllWorkspacesData = {
437
493
  body?: never;
438
494
  path?: never;