@smartspace/api-client 0.1.0-dev.10ed369 → 0.1.0-dev.11c8605

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.
Files changed (106) hide show
  1. package/dist/generated/chat/api.d.ts +52 -47
  2. package/dist/generated/chat/api.js +148 -141
  3. package/dist/generated/chat/api.msw.d.ts +3 -1
  4. package/dist/generated/chat/api.msw.js +33 -14
  5. package/dist/generated/chat/models/changeTagsTopic.d.ts +11 -0
  6. package/dist/generated/chat/models/changeTagsTopic.js +8 -0
  7. package/dist/generated/chat/models/errorCode.d.ts +182 -0
  8. package/dist/generated/chat/models/errorCode.js +186 -0
  9. package/dist/generated/chat/models/index.d.ts +6 -0
  10. package/dist/generated/chat/models/index.js +6 -0
  11. package/dist/generated/chat/models/messagesMessageError.d.ts +3 -1
  12. package/dist/generated/chat/models/messagesMessageErrorErrorCode.d.ts +11 -0
  13. package/dist/generated/chat/models/messagesMessageErrorErrorCode.js +2 -0
  14. package/dist/generated/chat/models/microsoftAspNetCoreMvcProblemDetails.d.ts +2 -1
  15. package/dist/generated/chat/models/microsoftAspNetCoreMvcProblemDetails.js +0 -6
  16. package/dist/generated/chat/models/notificationGetParams.d.ts +6 -4
  17. package/dist/generated/chat/models/openAPIGetOpenApiDocument200One.d.ts +9 -0
  18. package/dist/generated/chat/models/openAPIGetOpenApiDocument200One.js +8 -0
  19. package/dist/generated/chat/models/openAPIGetOpenApiDocument200Three.d.ts +9 -0
  20. package/dist/generated/chat/models/openAPIGetOpenApiDocument200Three.js +8 -0
  21. package/dist/generated/chat/models/openAPIGetOpenApiDocument200Two.d.ts +9 -0
  22. package/dist/generated/chat/models/openAPIGetOpenApiDocument200Two.js +8 -0
  23. package/dist/generated/chat/models/workSpacesGetAccessParams.d.ts +10 -2
  24. package/dist/generated/chat/models/workSpacesGetGetParams.d.ts +10 -2
  25. package/dist/generated/chat/operation-tags.d.ts +2 -2
  26. package/dist/generated/chat/operation-tags.js +2 -2
  27. package/dist/generated/chat/zod.d.ts +23 -10
  28. package/dist/generated/chat/zod.js +51 -38
  29. package/dist/generated/config/api.d.ts +220 -210
  30. package/dist/generated/config/api.js +457 -423
  31. package/dist/generated/config/api.msw.d.ts +22 -9
  32. package/dist/generated/config/api.msw.js +150 -44
  33. package/dist/generated/config/models/accessGetGroupsParams.d.ts +8 -0
  34. package/dist/generated/config/models/accessGetUsersInRoleRolesRoleIdUsersParams.d.ts +9 -1
  35. package/dist/generated/config/models/accessGetUsersInRoleUsersParams.d.ts +10 -2
  36. package/dist/generated/config/models/accessSearchGroupsParams.d.ts +8 -0
  37. package/dist/generated/config/models/accessSearchServicePrincipalsParams.d.ts +8 -0
  38. package/dist/generated/config/models/accessSearchUsersParams.d.ts +8 -0
  39. package/dist/generated/config/models/changeTagsTopic.d.ts +11 -0
  40. package/dist/generated/config/models/changeTagsTopic.js +8 -0
  41. package/dist/generated/config/models/containerDataSets.d.ts +12 -0
  42. package/dist/generated/config/models/containerDataSets.js +2 -0
  43. package/dist/generated/config/models/dataSetsGetItemsParams.d.ts +8 -0
  44. package/dist/generated/config/models/dataSetsGetParams.d.ts +10 -2
  45. package/dist/generated/config/models/dataSourcesContainerSchema200One.d.ts +9 -0
  46. package/dist/generated/config/models/dataSourcesContainerSchema200One.js +8 -0
  47. package/dist/generated/config/models/dataSourcesContainerSchema200Three.d.ts +9 -0
  48. package/dist/generated/config/models/dataSourcesContainerSchema200Three.js +8 -0
  49. package/dist/generated/config/models/dataSourcesContainerSchema200Two.d.ts +9 -0
  50. package/dist/generated/config/models/dataSourcesContainerSchema200Two.js +8 -0
  51. package/dist/generated/config/models/dataSourcesGetParams.d.ts +10 -2
  52. package/dist/generated/config/models/dataSpacesGetDataSetsParams.d.ts +10 -2
  53. package/dist/generated/config/models/dataSpacesGetParams.d.ts +10 -2
  54. package/dist/generated/config/models/errorCode.d.ts +182 -0
  55. package/dist/generated/config/models/errorCode.js +186 -0
  56. package/dist/generated/config/models/flowRunsGetFlowRunParams.d.ts +12 -0
  57. package/dist/generated/config/models/flowRunsGetFlowRunParams.js +8 -0
  58. package/dist/generated/config/models/flowRunsGetStepExecutionsParams.d.ts +1 -1
  59. package/dist/generated/config/models/flowRunsGetWorkspaceRunsParams.d.ts +4 -0
  60. package/dist/generated/config/models/flowsFlowRun.d.ts +5 -2
  61. package/dist/generated/config/models/flowsFlowRunDataSet.d.ts +11 -0
  62. package/dist/generated/config/models/flowsFlowRunDataSet.js +2 -0
  63. package/dist/generated/config/models/index.d.ts +15 -0
  64. package/dist/generated/config/models/index.js +15 -0
  65. package/dist/generated/config/models/messagesMessageError.d.ts +3 -1
  66. package/dist/generated/config/models/messagesMessageErrorErrorCode.d.ts +11 -0
  67. package/dist/generated/config/models/messagesMessageErrorErrorCode.js +2 -0
  68. package/dist/generated/config/models/microsoftAspNetCoreMvcProblemDetails.d.ts +2 -1
  69. package/dist/generated/config/models/microsoftAspNetCoreMvcProblemDetails.js +0 -6
  70. package/dist/generated/config/models/notificationGetParams.d.ts +6 -4
  71. package/dist/generated/config/models/openAPIGetOpenApiDocument200One.d.ts +9 -0
  72. package/dist/generated/config/models/openAPIGetOpenApiDocument200One.js +8 -0
  73. package/dist/generated/config/models/openAPIGetOpenApiDocument200Three.d.ts +9 -0
  74. package/dist/generated/config/models/openAPIGetOpenApiDocument200Three.js +8 -0
  75. package/dist/generated/config/models/openAPIGetOpenApiDocument200Two.d.ts +9 -0
  76. package/dist/generated/config/models/openAPIGetOpenApiDocument200Two.js +8 -0
  77. package/dist/generated/config/models/reportingReportSeries.d.ts +10 -0
  78. package/dist/generated/config/models/restoresRestoreExecution.d.ts +14 -0
  79. package/dist/generated/config/models/restoresRestoreExecution.js +8 -0
  80. package/dist/generated/config/models/restoresRestoreStarted.d.ts +9 -0
  81. package/dist/generated/config/models/restoresRestoreStarted.js +8 -0
  82. package/dist/generated/config/models/restoresStartRestore.d.ts +12 -0
  83. package/dist/generated/config/models/restoresStartRestore.js +8 -0
  84. package/dist/generated/config/models/servicePrincipalsGetServicePrincipalsParams.d.ts +9 -1
  85. package/dist/generated/config/models/usersGetAccessWorkSpacesParams.d.ts +4 -2
  86. package/dist/generated/config/models/usersGetUsersParams.d.ts +8 -0
  87. package/dist/generated/config/models/workSpaceTemplatesGetParams.d.ts +6 -7
  88. package/dist/generated/config/models/workSpacesGetGetParams.d.ts +10 -2
  89. package/dist/generated/config/models/workSpacesGetWorkspaceFilesParams.d.ts +9 -1
  90. package/dist/generated/config/operation-tags.d.ts +8 -2
  91. package/dist/generated/config/operation-tags.js +8 -2
  92. package/dist/generated/config/zod.d.ts +368 -35
  93. package/dist/generated/config/zod.js +415 -96
  94. package/dist/generated/error-codes.d.ts +24 -0
  95. package/dist/generated/error-codes.js +164 -0
  96. package/dist/generated/signalr/TypedSignalR.Client/SmartSpace.App.Business.Hubs.Contracts.d.ts +25 -4
  97. package/dist/generated/signalr/TypedSignalR.Client/index.js +10 -1
  98. package/dist/index.d.ts +4 -2
  99. package/dist/index.js +10 -1
  100. package/dist/instance.d.ts +14 -3
  101. package/dist/instance.js +29 -3
  102. package/dist/problem.d.ts +26 -6
  103. package/dist/problem.js +22 -11
  104. package/dist/type-checks.d.ts +1 -0
  105. package/dist/type-checks.js +5 -0
  106. package/package.json +4 -3
@@ -6,6 +6,14 @@
6
6
  */
7
7
  export type AccessGetGroupsParams = {
8
8
  search?: string;
9
+ /**
10
+ * @minimum 0
11
+ * @maximum 2147483647
12
+ */
9
13
  skip?: number;
14
+ /**
15
+ * @minimum 1
16
+ * @maximum 1000
17
+ */
10
18
  take?: number;
11
19
  };
@@ -5,7 +5,15 @@
5
5
  * OpenAPI spec version: v1
6
6
  */
7
7
  export type AccessGetUsersInRoleRolesRoleIdUsersParams = {
8
+ search?: string;
9
+ /**
10
+ * @minimum 0
11
+ * @maximum 2147483647
12
+ */
8
13
  skip?: number;
14
+ /**
15
+ * @minimum 1
16
+ * @maximum 1000
17
+ */
9
18
  take?: number;
10
- search?: string;
11
19
  };
@@ -6,11 +6,19 @@
6
6
  */
7
7
  export type AccessGetUsersInRoleUsersParams = {
8
8
  roleName: string;
9
- skip?: number;
10
- take?: number;
11
9
  search?: string;
12
10
  /**
13
11
  * @pattern ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
14
12
  */
15
13
  assignedWorkspaceId?: string;
14
+ /**
15
+ * @minimum 0
16
+ * @maximum 2147483647
17
+ */
18
+ skip?: number;
19
+ /**
20
+ * @minimum 1
21
+ * @maximum 1000
22
+ */
23
+ take?: number;
16
24
  };
@@ -10,6 +10,14 @@ export type AccessSearchGroupsParams = {
10
10
  * @pattern ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
11
11
  */
12
12
  workspaceId?: string;
13
+ /**
14
+ * @minimum 0
15
+ * @maximum 2147483647
16
+ */
13
17
  skip?: number;
18
+ /**
19
+ * @minimum 1
20
+ * @maximum 1000
21
+ */
14
22
  take?: number;
15
23
  };
@@ -10,6 +10,14 @@ export type AccessSearchServicePrincipalsParams = {
10
10
  * @pattern ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
11
11
  */
12
12
  workspaceId?: string;
13
+ /**
14
+ * @minimum 0
15
+ * @maximum 2147483647
16
+ */
13
17
  skip?: number;
18
+ /**
19
+ * @minimum 1
20
+ * @maximum 1000
21
+ */
14
22
  take?: number;
15
23
  };
@@ -10,6 +10,14 @@ export type AccessSearchUsersParams = {
10
10
  * @pattern ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
11
11
  */
12
12
  workspaceId?: string;
13
+ /**
14
+ * @minimum 0
15
+ * @maximum 2147483647
16
+ */
13
17
  skip?: number;
18
+ /**
19
+ * @minimum 1
20
+ * @maximum 1000
21
+ */
14
22
  take?: number;
15
23
  };
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Generated by orval v7.13.2 🍺
3
+ * Do not edit manually.
4
+ * SmartSpace Admin API
5
+ * OpenAPI spec version: v1
6
+ */
7
+ /**
8
+ * A change topic: a resource (models), a row (models:<id>), a view of a row (models:<id>:deployment) or a resource under a parent row (workspaces:<id>/messageThreads). The resource and view names are those of ChangeTags.ChangeTag and ChangeTags.ChangeTagView.
9
+ * @pattern ^(?<resource>[a-z][A-Za-z]*)(?::(?<id>[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})(?::(?<view>[a-z]+(?:-[a-z]+)*)|/(?<child>[a-z][A-Za-z]*))?)?$
10
+ */
11
+ export type ChangeTagsTopic = string;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v7.13.2 🍺
4
+ * Do not edit manually.
5
+ * SmartSpace Admin API
6
+ * OpenAPI spec version: v1
7
+ */
8
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Generated by orval v7.13.2 🍺
3
+ * Do not edit manually.
4
+ * SmartSpace Admin API
5
+ * OpenAPI spec version: v1
6
+ */
7
+ import type { ContainerDataSet } from './containerDataSet';
8
+ export interface ContainerDataSets {
9
+ /** @pattern ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$ */
10
+ containerId: string;
11
+ dataSets: ContainerDataSet[];
12
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -5,6 +5,14 @@
5
5
  * OpenAPI spec version: v1
6
6
  */
7
7
  export type DataSetsGetItemsParams = {
8
+ /**
9
+ * @minimum 0
10
+ * @maximum 2147483647
11
+ */
8
12
  skip?: number;
13
+ /**
14
+ * @minimum 1
15
+ * @maximum 1000
16
+ */
9
17
  take?: number;
10
18
  };
@@ -5,9 +5,17 @@
5
5
  * OpenAPI spec version: v1
6
6
  */
7
7
  export type DataSetsGetParams = {
8
- take?: number;
9
- skip?: number;
10
8
  search?: string;
11
9
  sortBy?: string;
12
10
  sortDirection?: string;
11
+ /**
12
+ * @minimum 0
13
+ * @maximum 2147483647
14
+ */
15
+ skip?: number;
16
+ /**
17
+ * @minimum 1
18
+ * @maximum 1000
19
+ */
20
+ take?: number;
13
21
  };
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Generated by orval v7.13.2 🍺
3
+ * Do not edit manually.
4
+ * SmartSpace Admin API
5
+ * OpenAPI spec version: v1
6
+ */
7
+ export type DataSourcesContainerSchema200One = {
8
+ [key: string]: unknown;
9
+ };
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v7.13.2 🍺
4
+ * Do not edit manually.
5
+ * SmartSpace Admin API
6
+ * OpenAPI spec version: v1
7
+ */
8
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Generated by orval v7.13.2 🍺
3
+ * Do not edit manually.
4
+ * SmartSpace Admin API
5
+ * OpenAPI spec version: v1
6
+ */
7
+ export type DataSourcesContainerSchema200Three = {
8
+ [key: string]: unknown;
9
+ };
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v7.13.2 🍺
4
+ * Do not edit manually.
5
+ * SmartSpace Admin API
6
+ * OpenAPI spec version: v1
7
+ */
8
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Generated by orval v7.13.2 🍺
3
+ * Do not edit manually.
4
+ * SmartSpace Admin API
5
+ * OpenAPI spec version: v1
6
+ */
7
+ export type DataSourcesContainerSchema200Two = {
8
+ [key: string]: unknown;
9
+ };
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v7.13.2 🍺
4
+ * Do not edit manually.
5
+ * SmartSpace Admin API
6
+ * OpenAPI spec version: v1
7
+ */
8
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -5,9 +5,17 @@
5
5
  * OpenAPI spec version: v1
6
6
  */
7
7
  export type DataSourcesGetParams = {
8
- take?: number;
9
- skip?: number;
10
8
  search?: string;
11
9
  sortBy?: string;
12
10
  sortDirection?: string;
11
+ /**
12
+ * @minimum 0
13
+ * @maximum 2147483647
14
+ */
15
+ skip?: number;
16
+ /**
17
+ * @minimum 1
18
+ * @maximum 1000
19
+ */
20
+ take?: number;
13
21
  };
@@ -5,9 +5,17 @@
5
5
  * OpenAPI spec version: v1
6
6
  */
7
7
  export type DataSpacesGetDataSetsParams = {
8
- take?: number;
9
- skip?: number;
10
8
  search?: string;
11
9
  sortBy?: string;
12
10
  sortDirection?: string;
11
+ /**
12
+ * @minimum 0
13
+ * @maximum 2147483647
14
+ */
15
+ skip?: number;
16
+ /**
17
+ * @minimum 1
18
+ * @maximum 1000
19
+ */
20
+ take?: number;
13
21
  };
@@ -5,9 +5,17 @@
5
5
  * OpenAPI spec version: v1
6
6
  */
7
7
  export type DataSpacesGetParams = {
8
- take?: number;
9
- skip?: number;
10
8
  search?: string;
11
9
  sortBy?: string;
12
10
  sortDirection?: string;
11
+ /**
12
+ * @minimum 0
13
+ * @maximum 2147483647
14
+ */
15
+ skip?: number;
16
+ /**
17
+ * @minimum 1
18
+ * @maximum 1000
19
+ */
20
+ take?: number;
13
21
  };
@@ -0,0 +1,182 @@
1
+ /**
2
+ * Generated from `x-extensible-enum` by scripts/extensible-enums.js
3
+ * Do not edit manually.
4
+ * SmartSpace Admin API
5
+ */
6
+ /**
7
+ * The values the API publishes today. The set can grow without a breaking
8
+ * change, so an unlisted value is data for the mapper to decide on, not an
9
+ * error. `ErrorCode` accepts any string and autocompletes these.
10
+ */
11
+ export declare const ErrorCode: {
12
+ readonly 'access.denied': "access.denied";
13
+ readonly 'access.not_found': "access.not_found";
14
+ readonly 'access.platform_admin_required': "access.platform_admin_required";
15
+ readonly 'agent.not_found': "agent.not_found";
16
+ readonly 'ai_api.conflict': "ai_api.conflict";
17
+ readonly 'ai_api.error': "ai_api.error";
18
+ readonly 'ai_api.not_found': "ai_api.not_found";
19
+ readonly 'ai_api.stream_broken': "ai_api.stream_broken";
20
+ readonly 'ai_api.unauthorized': "ai_api.unauthorized";
21
+ readonly 'ai_api.unavailable': "ai_api.unavailable";
22
+ readonly 'ai_api.validation': "ai_api.validation";
23
+ readonly 'ai_service.failed': "ai_service.failed";
24
+ readonly 'app_role.not_found': "app_role.not_found";
25
+ readonly 'auth.invalid_key': "auth.invalid_key";
26
+ readonly 'auth.no_principal': "auth.no_principal";
27
+ readonly 'block.not_found': "block.not_found";
28
+ readonly 'block.source_invalid': "block.source_invalid";
29
+ readonly 'block.source_unavailable': "block.source_unavailable";
30
+ readonly 'block.version_invalid': "block.version_invalid";
31
+ readonly 'block_set.in_use': "block_set.in_use";
32
+ readonly 'block_set.name_taken': "block_set.name_taken";
33
+ readonly 'block_set.native_block_name': "block_set.native_block_name";
34
+ readonly 'block_set.publish_needs_confirmation': "block_set.publish_needs_confirmation";
35
+ readonly 'block_set.storage_unavailable': "block_set.storage_unavailable";
36
+ readonly 'chat.not_found': "chat.not_found";
37
+ readonly 'chat_message.not_found': "chat_message.not_found";
38
+ readonly client_error: "client_error";
39
+ readonly 'comment.invalid': "comment.invalid";
40
+ readonly 'comment.target_required': "comment.target_required";
41
+ readonly 'config_api.error': "config_api.error";
42
+ readonly 'config_api.not_found': "config_api.not_found";
43
+ readonly 'config_api.rejected': "config_api.rejected";
44
+ readonly 'config_api.unauthorized': "config_api.unauthorized";
45
+ readonly 'config_api.unavailable': "config_api.unavailable";
46
+ readonly 'config_api.unreachable': "config_api.unreachable";
47
+ readonly conflict: "conflict";
48
+ readonly 'connector.invalid': "connector.invalid";
49
+ readonly 'connector.not_attached': "connector.not_attached";
50
+ readonly 'connector.not_found': "connector.not_found";
51
+ readonly 'container.multiple_runs': "container.multiple_runs";
52
+ readonly 'container_item.container_missing': "container_item.container_missing";
53
+ readonly 'container_item.deleted_at_source': "container_item.deleted_at_source";
54
+ readonly 'container_item.not_found': "container_item.not_found";
55
+ readonly 'cosmos.throttled': "cosmos.throttled";
56
+ readonly 'credential.invalid': "credential.invalid";
57
+ readonly 'dataset.export_failed': "dataset.export_failed";
58
+ readonly 'dataset.filter_invalid': "dataset.filter_invalid";
59
+ readonly 'dataset.invalid': "dataset.invalid";
60
+ readonly 'dataset.name_taken': "dataset.name_taken";
61
+ readonly 'dataset.not_found': "dataset.not_found";
62
+ readonly 'dataset.property_name_invalid': "dataset.property_name_invalid";
63
+ readonly 'dataset.too_many_data_types': "dataset.too_many_data_types";
64
+ readonly 'dataset_item.not_found': "dataset_item.not_found";
65
+ readonly 'datasource.admin_required': "datasource.admin_required";
66
+ readonly 'datasource.assigned': "datasource.assigned";
67
+ readonly 'datasource.connection_failed': "datasource.connection_failed";
68
+ readonly 'datasource.connection_rejected': "datasource.connection_rejected";
69
+ readonly 'datasource.invalid': "datasource.invalid";
70
+ readonly 'datasource.name_taken': "datasource.name_taken";
71
+ readonly 'datasource.not_found': "datasource.not_found";
72
+ readonly 'datasource.not_searchable': "datasource.not_searchable";
73
+ readonly 'datasource_container.not_found': "datasource_container.not_found";
74
+ readonly 'datasource_type.not_found': "datasource_type.not_found";
75
+ readonly 'dataspace.admin_required': "dataspace.admin_required";
76
+ readonly 'dataspace.invalid': "dataspace.invalid";
77
+ readonly 'dataspace.name_taken': "dataspace.name_taken";
78
+ readonly 'dataspace.name_too_long': "dataspace.name_too_long";
79
+ readonly 'dataspace.not_found': "dataspace.not_found";
80
+ readonly 'directory.service_principal_not_found': "directory.service_principal_not_found";
81
+ readonly 'directory.user_not_found': "directory.user_not_found";
82
+ readonly 'draft.not_found': "draft.not_found";
83
+ readonly 'draft.not_publishable': "draft.not_publishable";
84
+ readonly 'draft.row_version_stale': "draft.row_version_stale";
85
+ readonly 'embeddings.model_not_found': "embeddings.model_not_found";
86
+ readonly 'favourite.user_required': "favourite.user_required";
87
+ readonly 'file.not_found': "file.not_found";
88
+ readonly 'file.scope_mismatch': "file.scope_mismatch";
89
+ readonly 'file.storage_unavailable': "file.storage_unavailable";
90
+ readonly 'file.upload_invalid': "file.upload_invalid";
91
+ readonly 'flow.not_found': "flow.not_found";
92
+ readonly 'flow.trigger_input_missing': "flow.trigger_input_missing";
93
+ readonly 'flow_definition.not_found': "flow_definition.not_found";
94
+ readonly 'flow_run.already_finished': "flow_run.already_finished";
95
+ readonly 'flow_run.execution_not_found': "flow_run.execution_not_found";
96
+ readonly 'flow_run.not_found': "flow_run.not_found";
97
+ readonly 'flow_run.value_not_found': "flow_run.value_not_found";
98
+ readonly 'flow_variable.not_editable': "flow_variable.not_editable";
99
+ readonly 'flow_variable.not_found': "flow_variable.not_found";
100
+ readonly forbidden: "forbidden";
101
+ readonly gone: "gone";
102
+ readonly 'group.not_found': "group.not_found";
103
+ readonly 'hubspot.search_cap_exceeded': "hubspot.search_cap_exceeded";
104
+ readonly 'ingest_queue.unavailable': "ingest_queue.unavailable";
105
+ readonly 'install.config_unavailable': "install.config_unavailable";
106
+ readonly 'install.no_version_history': "install.no_version_history";
107
+ readonly 'install_parameter.value_required': "install_parameter.value_required";
108
+ readonly internal: "internal";
109
+ readonly 'llm.auth_failed': "llm.auth_failed";
110
+ readonly 'llm.content_policy': "llm.content_policy";
111
+ readonly 'llm.context_window': "llm.context_window";
112
+ readonly 'llm.invalid_request': "llm.invalid_request";
113
+ readonly 'llm.not_found': "llm.not_found";
114
+ readonly 'llm.provider_error': "llm.provider_error";
115
+ readonly 'llm.rate_limit': "llm.rate_limit";
116
+ readonly 'llm.schema_validation': "llm.schema_validation";
117
+ readonly 'llm.timeout': "llm.timeout";
118
+ readonly 'llm.transient_connection': "llm.transient_connection";
119
+ readonly 'llm.unsupported_modality': "llm.unsupported_modality";
120
+ readonly 'llm.unsupported_tools': "llm.unsupported_tools";
121
+ readonly 'llm.upstream_error': "llm.upstream_error";
122
+ readonly 'message.not_found': "message.not_found";
123
+ readonly method_not_allowed: "method_not_allowed";
124
+ readonly 'model.invalid': "model.invalid";
125
+ readonly 'model.no_deployment': "model.no_deployment";
126
+ readonly 'model.not_found': "model.not_found";
127
+ readonly 'model_catalog.credentials_invalid': "model_catalog.credentials_invalid";
128
+ readonly 'model_catalog.unreachable': "model_catalog.unreachable";
129
+ readonly 'model_deployment.failed': "model_deployment.failed";
130
+ readonly 'model_deployment.invalid': "model_deployment.invalid";
131
+ readonly 'model_deployment.misconfigured': "model_deployment.misconfigured";
132
+ readonly 'model_deployment.no_provider': "model_deployment.no_provider";
133
+ readonly 'model_deployment.no_region': "model_deployment.no_region";
134
+ readonly 'model_deployment.no_url': "model_deployment.no_url";
135
+ readonly 'model_deployment.not_found': "model_deployment.not_found";
136
+ readonly 'model_deployment.script_failed': "model_deployment.script_failed";
137
+ readonly 'model_deployment_provider.invalid': "model_deployment_provider.invalid";
138
+ readonly 'model_deployment_provider.not_allowed': "model_deployment_provider.not_allowed";
139
+ readonly 'model_deployment_provider.not_found': "model_deployment_provider.not_found";
140
+ readonly not_found: "not_found";
141
+ readonly 'notification.not_found': "notification.not_found";
142
+ readonly 'outlook.message_not_found': "outlook.message_not_found";
143
+ readonly 'plan.invalid': "plan.invalid";
144
+ readonly 'report.parameters_invalid': "report.parameters_invalid";
145
+ readonly request_failed: "request_failed";
146
+ readonly 'restore.already_running': "restore.already_running";
147
+ readonly 'restore.timestamp_not_past': "restore.timestamp_not_past";
148
+ readonly 'restore.unknown_store': "restore.unknown_store";
149
+ readonly 'secret.invalid': "secret.invalid";
150
+ readonly 'secret.mode_mismatch': "secret.mode_mismatch";
151
+ readonly 'secret.name_taken': "secret.name_taken";
152
+ readonly 'secret.no_user': "secret.no_user";
153
+ readonly 'secret.not_found': "secret.not_found";
154
+ readonly 'secret.run_has_no_user': "secret.run_has_no_user";
155
+ readonly 'secret.run_required': "secret.run_required";
156
+ readonly 'secret.user_mismatch': "secret.user_mismatch";
157
+ readonly 'secret.user_value_not_set': "secret.user_value_not_set";
158
+ readonly 'sharepoint.item_content_not_found': "sharepoint.item_content_not_found";
159
+ readonly 'sharepoint.max_depth_exceeded': "sharepoint.max_depth_exceeded";
160
+ readonly 'speech.identity_misconfigured': "speech.identity_misconfigured";
161
+ readonly 'speech.token_unavailable': "speech.token_unavailable";
162
+ readonly 'sync.container_in_use': "sync.container_in_use";
163
+ readonly 'thread.already_exists': "thread.already_exists";
164
+ readonly 'thread.already_running': "thread.already_running";
165
+ readonly 'thread.not_found': "thread.not_found";
166
+ readonly 'thread.user_not_member': "thread.user_not_member";
167
+ readonly unauthorized: "unauthorized";
168
+ readonly unavailable: "unavailable";
169
+ readonly 'user.not_found': "user.not_found";
170
+ readonly validation: "validation";
171
+ readonly 'workspace.admin_required': "workspace.admin_required";
172
+ readonly 'workspace.files_dataspace_locked': "workspace.files_dataspace_locked";
173
+ readonly 'workspace.id_invalid': "workspace.id_invalid";
174
+ readonly 'workspace.invalid': "workspace.invalid";
175
+ readonly 'workspace.name_taken': "workspace.name_taken";
176
+ readonly 'workspace.no_active_flow': "workspace.no_active_flow";
177
+ readonly 'workspace.not_found': "workspace.not_found";
178
+ readonly 'workspace_admin.user_lacks_permission': "workspace_admin.user_lacks_permission";
179
+ };
180
+ export type ErrorCodeKnown = (typeof ErrorCode)[keyof typeof ErrorCode];
181
+ export type ErrorCode = ErrorCodeKnown | (string & {});
182
+ export declare function isKnownErrorCode(value: string): value is ErrorCodeKnown;