@smartspace/api-client 0.1.0-dev.94d6eac → 0.1.0-dev.953dbef

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 (94) 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 +179 -0
  8. package/dist/generated/chat/models/errorCode.js +183 -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 +218 -212
  30. package/dist/generated/config/api.js +439 -425
  31. package/dist/generated/config/api.msw.d.ts +16 -7
  32. package/dist/generated/config/api.msw.js +115 -35
  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/dataSetsGetItemsParams.d.ts +8 -0
  42. package/dist/generated/config/models/dataSetsGetParams.d.ts +10 -2
  43. package/dist/generated/config/models/dataSourcesContainerSchema200One.d.ts +9 -0
  44. package/dist/generated/config/models/dataSourcesContainerSchema200One.js +8 -0
  45. package/dist/generated/config/models/dataSourcesContainerSchema200Three.d.ts +9 -0
  46. package/dist/generated/config/models/dataSourcesContainerSchema200Three.js +8 -0
  47. package/dist/generated/config/models/dataSourcesContainerSchema200Two.d.ts +9 -0
  48. package/dist/generated/config/models/dataSourcesContainerSchema200Two.js +8 -0
  49. package/dist/generated/config/models/dataSourcesGetParams.d.ts +10 -2
  50. package/dist/generated/config/models/dataSpacesGetDataSetsParams.d.ts +10 -2
  51. package/dist/generated/config/models/dataSpacesGetParams.d.ts +10 -2
  52. package/dist/generated/config/models/errorCode.d.ts +179 -0
  53. package/dist/generated/config/models/errorCode.js +183 -0
  54. package/dist/generated/config/models/flowRunsGetStepExecutionsParams.d.ts +1 -1
  55. package/dist/generated/config/models/flowsFlowRun.d.ts +3 -2
  56. package/dist/generated/config/models/flowsFlowRunDataSet.d.ts +11 -0
  57. package/dist/generated/config/models/flowsFlowRunDataSet.js +2 -0
  58. package/dist/generated/config/models/index.d.ts +10 -0
  59. package/dist/generated/config/models/index.js +10 -0
  60. package/dist/generated/config/models/messagesMessageError.d.ts +3 -1
  61. package/dist/generated/config/models/messagesMessageErrorErrorCode.d.ts +11 -0
  62. package/dist/generated/config/models/messagesMessageErrorErrorCode.js +2 -0
  63. package/dist/generated/config/models/microsoftAspNetCoreMvcProblemDetails.d.ts +2 -1
  64. package/dist/generated/config/models/microsoftAspNetCoreMvcProblemDetails.js +0 -6
  65. package/dist/generated/config/models/notificationGetParams.d.ts +6 -4
  66. package/dist/generated/config/models/openAPIGetOpenApiDocument200One.d.ts +9 -0
  67. package/dist/generated/config/models/openAPIGetOpenApiDocument200One.js +8 -0
  68. package/dist/generated/config/models/openAPIGetOpenApiDocument200Three.d.ts +9 -0
  69. package/dist/generated/config/models/openAPIGetOpenApiDocument200Three.js +8 -0
  70. package/dist/generated/config/models/openAPIGetOpenApiDocument200Two.d.ts +9 -0
  71. package/dist/generated/config/models/openAPIGetOpenApiDocument200Two.js +8 -0
  72. package/dist/generated/config/models/servicePrincipalsGetServicePrincipalsParams.d.ts +9 -1
  73. package/dist/generated/config/models/usersGetAccessWorkSpacesParams.d.ts +4 -2
  74. package/dist/generated/config/models/usersGetUsersParams.d.ts +8 -0
  75. package/dist/generated/config/models/workSpaceTemplatesGetParams.d.ts +6 -7
  76. package/dist/generated/config/models/workSpacesGetGetParams.d.ts +10 -2
  77. package/dist/generated/config/models/workSpacesGetWorkspaceFilesParams.d.ts +9 -1
  78. package/dist/generated/config/operation-tags.d.ts +8 -2
  79. package/dist/generated/config/operation-tags.js +8 -2
  80. package/dist/generated/config/zod.d.ts +327 -34
  81. package/dist/generated/config/zod.js +375 -90
  82. package/dist/generated/error-codes.d.ts +24 -0
  83. package/dist/generated/error-codes.js +161 -0
  84. package/dist/generated/signalr/TypedSignalR.Client/SmartSpace.App.Business.Hubs.Contracts.d.ts +25 -4
  85. package/dist/generated/signalr/TypedSignalR.Client/index.js +10 -1
  86. package/dist/index.d.ts +4 -2
  87. package/dist/index.js +10 -1
  88. package/dist/instance.d.ts +14 -3
  89. package/dist/instance.js +29 -3
  90. package/dist/problem.d.ts +26 -6
  91. package/dist/problem.js +22 -11
  92. package/dist/type-checks.d.ts +1 -0
  93. package/dist/type-checks.js +5 -0
  94. package/package.json +3 -3
@@ -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 });
@@ -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,179 @@
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.deleted_at_source': "container_item.deleted_at_source";
53
+ readonly 'container_item.not_found': "container_item.not_found";
54
+ readonly 'cosmos.throttled': "cosmos.throttled";
55
+ readonly 'credential.invalid': "credential.invalid";
56
+ readonly 'dataset.export_failed': "dataset.export_failed";
57
+ readonly 'dataset.invalid': "dataset.invalid";
58
+ readonly 'dataset.name_taken': "dataset.name_taken";
59
+ readonly 'dataset.not_found': "dataset.not_found";
60
+ readonly 'dataset.property_name_invalid': "dataset.property_name_invalid";
61
+ readonly 'dataset.too_many_data_types': "dataset.too_many_data_types";
62
+ readonly 'dataset_item.not_found': "dataset_item.not_found";
63
+ readonly 'datasource.admin_required': "datasource.admin_required";
64
+ readonly 'datasource.assigned': "datasource.assigned";
65
+ readonly 'datasource.connection_failed': "datasource.connection_failed";
66
+ readonly 'datasource.connection_rejected': "datasource.connection_rejected";
67
+ readonly 'datasource.invalid': "datasource.invalid";
68
+ readonly 'datasource.name_taken': "datasource.name_taken";
69
+ readonly 'datasource.not_found': "datasource.not_found";
70
+ readonly 'datasource.not_searchable': "datasource.not_searchable";
71
+ readonly 'datasource_container.not_found': "datasource_container.not_found";
72
+ readonly 'datasource_type.not_found': "datasource_type.not_found";
73
+ readonly 'dataspace.admin_required': "dataspace.admin_required";
74
+ readonly 'dataspace.invalid': "dataspace.invalid";
75
+ readonly 'dataspace.name_taken': "dataspace.name_taken";
76
+ readonly 'dataspace.name_too_long': "dataspace.name_too_long";
77
+ readonly 'dataspace.not_found': "dataspace.not_found";
78
+ readonly 'directory.service_principal_not_found': "directory.service_principal_not_found";
79
+ readonly 'directory.user_not_found': "directory.user_not_found";
80
+ readonly 'draft.not_found': "draft.not_found";
81
+ readonly 'draft.not_publishable': "draft.not_publishable";
82
+ readonly 'draft.row_version_stale': "draft.row_version_stale";
83
+ readonly 'embeddings.model_not_found': "embeddings.model_not_found";
84
+ readonly 'favourite.user_required': "favourite.user_required";
85
+ readonly 'file.not_found': "file.not_found";
86
+ readonly 'file.scope_mismatch': "file.scope_mismatch";
87
+ readonly 'file.upload_invalid': "file.upload_invalid";
88
+ readonly 'flow.not_found': "flow.not_found";
89
+ readonly 'flow.trigger_input_missing': "flow.trigger_input_missing";
90
+ readonly 'flow_definition.not_found': "flow_definition.not_found";
91
+ readonly 'flow_run.already_finished': "flow_run.already_finished";
92
+ readonly 'flow_run.execution_not_found': "flow_run.execution_not_found";
93
+ readonly 'flow_run.not_found': "flow_run.not_found";
94
+ readonly 'flow_run.value_not_found': "flow_run.value_not_found";
95
+ readonly 'flow_variable.not_editable': "flow_variable.not_editable";
96
+ readonly 'flow_variable.not_found': "flow_variable.not_found";
97
+ readonly forbidden: "forbidden";
98
+ readonly gone: "gone";
99
+ readonly 'group.not_found': "group.not_found";
100
+ readonly 'hubspot.search_cap_exceeded': "hubspot.search_cap_exceeded";
101
+ readonly 'ingest_queue.unavailable': "ingest_queue.unavailable";
102
+ readonly 'install.config_unavailable': "install.config_unavailable";
103
+ readonly 'install.no_version_history': "install.no_version_history";
104
+ readonly 'install_parameter.value_required': "install_parameter.value_required";
105
+ readonly internal: "internal";
106
+ readonly 'llm.auth_failed': "llm.auth_failed";
107
+ readonly 'llm.content_policy': "llm.content_policy";
108
+ readonly 'llm.context_window': "llm.context_window";
109
+ readonly 'llm.invalid_request': "llm.invalid_request";
110
+ readonly 'llm.not_found': "llm.not_found";
111
+ readonly 'llm.provider_error': "llm.provider_error";
112
+ readonly 'llm.rate_limit': "llm.rate_limit";
113
+ readonly 'llm.schema_validation': "llm.schema_validation";
114
+ readonly 'llm.timeout': "llm.timeout";
115
+ readonly 'llm.transient_connection': "llm.transient_connection";
116
+ readonly 'llm.unsupported_modality': "llm.unsupported_modality";
117
+ readonly 'llm.unsupported_tools': "llm.unsupported_tools";
118
+ readonly 'llm.upstream_error': "llm.upstream_error";
119
+ readonly 'message.not_found': "message.not_found";
120
+ readonly method_not_allowed: "method_not_allowed";
121
+ readonly 'model.invalid': "model.invalid";
122
+ readonly 'model.no_deployment': "model.no_deployment";
123
+ readonly 'model.not_found': "model.not_found";
124
+ readonly 'model_catalog.credentials_invalid': "model_catalog.credentials_invalid";
125
+ readonly 'model_catalog.unreachable': "model_catalog.unreachable";
126
+ readonly 'model_deployment.failed': "model_deployment.failed";
127
+ readonly 'model_deployment.invalid': "model_deployment.invalid";
128
+ readonly 'model_deployment.misconfigured': "model_deployment.misconfigured";
129
+ readonly 'model_deployment.no_provider': "model_deployment.no_provider";
130
+ readonly 'model_deployment.no_region': "model_deployment.no_region";
131
+ readonly 'model_deployment.no_url': "model_deployment.no_url";
132
+ readonly 'model_deployment.not_found': "model_deployment.not_found";
133
+ readonly 'model_deployment.script_failed': "model_deployment.script_failed";
134
+ readonly 'model_deployment_provider.invalid': "model_deployment_provider.invalid";
135
+ readonly 'model_deployment_provider.not_allowed': "model_deployment_provider.not_allowed";
136
+ readonly 'model_deployment_provider.not_found': "model_deployment_provider.not_found";
137
+ readonly not_found: "not_found";
138
+ readonly 'notification.not_found': "notification.not_found";
139
+ readonly 'outlook.message_not_found': "outlook.message_not_found";
140
+ readonly 'plan.invalid': "plan.invalid";
141
+ readonly 'report.parameters_invalid': "report.parameters_invalid";
142
+ readonly request_failed: "request_failed";
143
+ readonly 'restore.already_running': "restore.already_running";
144
+ readonly 'restore.timestamp_not_past': "restore.timestamp_not_past";
145
+ readonly 'restore.unknown_store': "restore.unknown_store";
146
+ readonly 'secret.invalid': "secret.invalid";
147
+ readonly 'secret.mode_mismatch': "secret.mode_mismatch";
148
+ readonly 'secret.name_taken': "secret.name_taken";
149
+ readonly 'secret.no_user': "secret.no_user";
150
+ readonly 'secret.not_found': "secret.not_found";
151
+ readonly 'secret.run_has_no_user': "secret.run_has_no_user";
152
+ readonly 'secret.run_required': "secret.run_required";
153
+ readonly 'secret.user_mismatch': "secret.user_mismatch";
154
+ readonly 'secret.user_value_not_set': "secret.user_value_not_set";
155
+ readonly 'sharepoint.item_content_not_found': "sharepoint.item_content_not_found";
156
+ readonly 'sharepoint.max_depth_exceeded': "sharepoint.max_depth_exceeded";
157
+ readonly 'speech.identity_misconfigured': "speech.identity_misconfigured";
158
+ readonly 'speech.token_unavailable': "speech.token_unavailable";
159
+ readonly 'sync.container_in_use': "sync.container_in_use";
160
+ readonly 'thread.already_exists': "thread.already_exists";
161
+ readonly 'thread.already_running': "thread.already_running";
162
+ readonly 'thread.not_found': "thread.not_found";
163
+ readonly 'thread.user_not_member': "thread.user_not_member";
164
+ readonly unauthorized: "unauthorized";
165
+ readonly unavailable: "unavailable";
166
+ readonly 'user.not_found': "user.not_found";
167
+ readonly validation: "validation";
168
+ readonly 'workspace.admin_required': "workspace.admin_required";
169
+ readonly 'workspace.files_dataspace_locked': "workspace.files_dataspace_locked";
170
+ readonly 'workspace.id_invalid': "workspace.id_invalid";
171
+ readonly 'workspace.invalid': "workspace.invalid";
172
+ readonly 'workspace.name_taken': "workspace.name_taken";
173
+ readonly 'workspace.no_active_flow': "workspace.no_active_flow";
174
+ readonly 'workspace.not_found': "workspace.not_found";
175
+ readonly 'workspace_admin.user_lacks_permission': "workspace_admin.user_lacks_permission";
176
+ };
177
+ export type ErrorCodeKnown = (typeof ErrorCode)[keyof typeof ErrorCode];
178
+ export type ErrorCode = ErrorCodeKnown | (string & {});
179
+ export declare function isKnownErrorCode(value: string): value is ErrorCodeKnown;
@@ -0,0 +1,183 @@
1
+ "use strict";
2
+ /**
3
+ * Generated from `x-extensible-enum` by scripts/extensible-enums.js
4
+ * Do not edit manually.
5
+ * SmartSpace Admin API
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.ErrorCode = void 0;
9
+ exports.isKnownErrorCode = isKnownErrorCode;
10
+ /**
11
+ * The values the API publishes today. The set can grow without a breaking
12
+ * change, so an unlisted value is data for the mapper to decide on, not an
13
+ * error. `ErrorCode` accepts any string and autocompletes these.
14
+ */
15
+ exports.ErrorCode = {
16
+ 'access.denied': 'access.denied',
17
+ 'access.not_found': 'access.not_found',
18
+ 'access.platform_admin_required': 'access.platform_admin_required',
19
+ 'agent.not_found': 'agent.not_found',
20
+ 'ai_api.conflict': 'ai_api.conflict',
21
+ 'ai_api.error': 'ai_api.error',
22
+ 'ai_api.not_found': 'ai_api.not_found',
23
+ 'ai_api.stream_broken': 'ai_api.stream_broken',
24
+ 'ai_api.unauthorized': 'ai_api.unauthorized',
25
+ 'ai_api.unavailable': 'ai_api.unavailable',
26
+ 'ai_api.validation': 'ai_api.validation',
27
+ 'ai_service.failed': 'ai_service.failed',
28
+ 'app_role.not_found': 'app_role.not_found',
29
+ 'auth.invalid_key': 'auth.invalid_key',
30
+ 'auth.no_principal': 'auth.no_principal',
31
+ 'block.not_found': 'block.not_found',
32
+ 'block.source_invalid': 'block.source_invalid',
33
+ 'block.source_unavailable': 'block.source_unavailable',
34
+ 'block.version_invalid': 'block.version_invalid',
35
+ 'block_set.in_use': 'block_set.in_use',
36
+ 'block_set.name_taken': 'block_set.name_taken',
37
+ 'block_set.native_block_name': 'block_set.native_block_name',
38
+ 'block_set.publish_needs_confirmation': 'block_set.publish_needs_confirmation',
39
+ 'block_set.storage_unavailable': 'block_set.storage_unavailable',
40
+ 'chat.not_found': 'chat.not_found',
41
+ 'chat_message.not_found': 'chat_message.not_found',
42
+ client_error: 'client_error',
43
+ 'comment.invalid': 'comment.invalid',
44
+ 'comment.target_required': 'comment.target_required',
45
+ 'config_api.error': 'config_api.error',
46
+ 'config_api.not_found': 'config_api.not_found',
47
+ 'config_api.rejected': 'config_api.rejected',
48
+ 'config_api.unauthorized': 'config_api.unauthorized',
49
+ 'config_api.unavailable': 'config_api.unavailable',
50
+ 'config_api.unreachable': 'config_api.unreachable',
51
+ conflict: 'conflict',
52
+ 'connector.invalid': 'connector.invalid',
53
+ 'connector.not_attached': 'connector.not_attached',
54
+ 'connector.not_found': 'connector.not_found',
55
+ 'container.multiple_runs': 'container.multiple_runs',
56
+ 'container_item.deleted_at_source': 'container_item.deleted_at_source',
57
+ 'container_item.not_found': 'container_item.not_found',
58
+ 'cosmos.throttled': 'cosmos.throttled',
59
+ 'credential.invalid': 'credential.invalid',
60
+ 'dataset.export_failed': 'dataset.export_failed',
61
+ 'dataset.invalid': 'dataset.invalid',
62
+ 'dataset.name_taken': 'dataset.name_taken',
63
+ 'dataset.not_found': 'dataset.not_found',
64
+ 'dataset.property_name_invalid': 'dataset.property_name_invalid',
65
+ 'dataset.too_many_data_types': 'dataset.too_many_data_types',
66
+ 'dataset_item.not_found': 'dataset_item.not_found',
67
+ 'datasource.admin_required': 'datasource.admin_required',
68
+ 'datasource.assigned': 'datasource.assigned',
69
+ 'datasource.connection_failed': 'datasource.connection_failed',
70
+ 'datasource.connection_rejected': 'datasource.connection_rejected',
71
+ 'datasource.invalid': 'datasource.invalid',
72
+ 'datasource.name_taken': 'datasource.name_taken',
73
+ 'datasource.not_found': 'datasource.not_found',
74
+ 'datasource.not_searchable': 'datasource.not_searchable',
75
+ 'datasource_container.not_found': 'datasource_container.not_found',
76
+ 'datasource_type.not_found': 'datasource_type.not_found',
77
+ 'dataspace.admin_required': 'dataspace.admin_required',
78
+ 'dataspace.invalid': 'dataspace.invalid',
79
+ 'dataspace.name_taken': 'dataspace.name_taken',
80
+ 'dataspace.name_too_long': 'dataspace.name_too_long',
81
+ 'dataspace.not_found': 'dataspace.not_found',
82
+ 'directory.service_principal_not_found': 'directory.service_principal_not_found',
83
+ 'directory.user_not_found': 'directory.user_not_found',
84
+ 'draft.not_found': 'draft.not_found',
85
+ 'draft.not_publishable': 'draft.not_publishable',
86
+ 'draft.row_version_stale': 'draft.row_version_stale',
87
+ 'embeddings.model_not_found': 'embeddings.model_not_found',
88
+ 'favourite.user_required': 'favourite.user_required',
89
+ 'file.not_found': 'file.not_found',
90
+ 'file.scope_mismatch': 'file.scope_mismatch',
91
+ 'file.upload_invalid': 'file.upload_invalid',
92
+ 'flow.not_found': 'flow.not_found',
93
+ 'flow.trigger_input_missing': 'flow.trigger_input_missing',
94
+ 'flow_definition.not_found': 'flow_definition.not_found',
95
+ 'flow_run.already_finished': 'flow_run.already_finished',
96
+ 'flow_run.execution_not_found': 'flow_run.execution_not_found',
97
+ 'flow_run.not_found': 'flow_run.not_found',
98
+ 'flow_run.value_not_found': 'flow_run.value_not_found',
99
+ 'flow_variable.not_editable': 'flow_variable.not_editable',
100
+ 'flow_variable.not_found': 'flow_variable.not_found',
101
+ forbidden: 'forbidden',
102
+ gone: 'gone',
103
+ 'group.not_found': 'group.not_found',
104
+ 'hubspot.search_cap_exceeded': 'hubspot.search_cap_exceeded',
105
+ 'ingest_queue.unavailable': 'ingest_queue.unavailable',
106
+ 'install.config_unavailable': 'install.config_unavailable',
107
+ 'install.no_version_history': 'install.no_version_history',
108
+ 'install_parameter.value_required': 'install_parameter.value_required',
109
+ internal: 'internal',
110
+ 'llm.auth_failed': 'llm.auth_failed',
111
+ 'llm.content_policy': 'llm.content_policy',
112
+ 'llm.context_window': 'llm.context_window',
113
+ 'llm.invalid_request': 'llm.invalid_request',
114
+ 'llm.not_found': 'llm.not_found',
115
+ 'llm.provider_error': 'llm.provider_error',
116
+ 'llm.rate_limit': 'llm.rate_limit',
117
+ 'llm.schema_validation': 'llm.schema_validation',
118
+ 'llm.timeout': 'llm.timeout',
119
+ 'llm.transient_connection': 'llm.transient_connection',
120
+ 'llm.unsupported_modality': 'llm.unsupported_modality',
121
+ 'llm.unsupported_tools': 'llm.unsupported_tools',
122
+ 'llm.upstream_error': 'llm.upstream_error',
123
+ 'message.not_found': 'message.not_found',
124
+ method_not_allowed: 'method_not_allowed',
125
+ 'model.invalid': 'model.invalid',
126
+ 'model.no_deployment': 'model.no_deployment',
127
+ 'model.not_found': 'model.not_found',
128
+ 'model_catalog.credentials_invalid': 'model_catalog.credentials_invalid',
129
+ 'model_catalog.unreachable': 'model_catalog.unreachable',
130
+ 'model_deployment.failed': 'model_deployment.failed',
131
+ 'model_deployment.invalid': 'model_deployment.invalid',
132
+ 'model_deployment.misconfigured': 'model_deployment.misconfigured',
133
+ 'model_deployment.no_provider': 'model_deployment.no_provider',
134
+ 'model_deployment.no_region': 'model_deployment.no_region',
135
+ 'model_deployment.no_url': 'model_deployment.no_url',
136
+ 'model_deployment.not_found': 'model_deployment.not_found',
137
+ 'model_deployment.script_failed': 'model_deployment.script_failed',
138
+ 'model_deployment_provider.invalid': 'model_deployment_provider.invalid',
139
+ 'model_deployment_provider.not_allowed': 'model_deployment_provider.not_allowed',
140
+ 'model_deployment_provider.not_found': 'model_deployment_provider.not_found',
141
+ not_found: 'not_found',
142
+ 'notification.not_found': 'notification.not_found',
143
+ 'outlook.message_not_found': 'outlook.message_not_found',
144
+ 'plan.invalid': 'plan.invalid',
145
+ 'report.parameters_invalid': 'report.parameters_invalid',
146
+ request_failed: 'request_failed',
147
+ 'restore.already_running': 'restore.already_running',
148
+ 'restore.timestamp_not_past': 'restore.timestamp_not_past',
149
+ 'restore.unknown_store': 'restore.unknown_store',
150
+ 'secret.invalid': 'secret.invalid',
151
+ 'secret.mode_mismatch': 'secret.mode_mismatch',
152
+ 'secret.name_taken': 'secret.name_taken',
153
+ 'secret.no_user': 'secret.no_user',
154
+ 'secret.not_found': 'secret.not_found',
155
+ 'secret.run_has_no_user': 'secret.run_has_no_user',
156
+ 'secret.run_required': 'secret.run_required',
157
+ 'secret.user_mismatch': 'secret.user_mismatch',
158
+ 'secret.user_value_not_set': 'secret.user_value_not_set',
159
+ 'sharepoint.item_content_not_found': 'sharepoint.item_content_not_found',
160
+ 'sharepoint.max_depth_exceeded': 'sharepoint.max_depth_exceeded',
161
+ 'speech.identity_misconfigured': 'speech.identity_misconfigured',
162
+ 'speech.token_unavailable': 'speech.token_unavailable',
163
+ 'sync.container_in_use': 'sync.container_in_use',
164
+ 'thread.already_exists': 'thread.already_exists',
165
+ 'thread.already_running': 'thread.already_running',
166
+ 'thread.not_found': 'thread.not_found',
167
+ 'thread.user_not_member': 'thread.user_not_member',
168
+ unauthorized: 'unauthorized',
169
+ unavailable: 'unavailable',
170
+ 'user.not_found': 'user.not_found',
171
+ validation: 'validation',
172
+ 'workspace.admin_required': 'workspace.admin_required',
173
+ 'workspace.files_dataspace_locked': 'workspace.files_dataspace_locked',
174
+ 'workspace.id_invalid': 'workspace.id_invalid',
175
+ 'workspace.invalid': 'workspace.invalid',
176
+ 'workspace.name_taken': 'workspace.name_taken',
177
+ 'workspace.no_active_flow': 'workspace.no_active_flow',
178
+ 'workspace.not_found': 'workspace.not_found',
179
+ 'workspace_admin.user_lacks_permission': 'workspace_admin.user_lacks_permission',
180
+ };
181
+ function isKnownErrorCode(value) {
182
+ return Object.values(exports.ErrorCode).includes(value);
183
+ }
@@ -25,7 +25,7 @@ export type FlowRunsGetStepExecutionsParams = {
25
25
  * Pass `false` for the timeline/polled view: the same rows come back
26
26
  without input/output payloads and without rehydrating blob-spilled values,
27
27
  which is the dominant cost of this read. Fetch one execution's values with
28
- M:SmartSpace.App.ConfigApi.Controllers.FlowRunsController.GetStepExecution(System.Guid,System.Guid) when the user expands a step.
28
+ `functionexecutions/{executionId}` when the user expands a step.
29
29
  */
30
30
  includeValues?: boolean;
31
31
  /**
@@ -4,13 +4,14 @@
4
4
  * SmartSpace Admin API
5
5
  * OpenAPI spec version: v1
6
6
  */
7
- import type { FlowsFlowDataSet } from './flowsFlowDataSet';
7
+ import type { FlowsFlowRunDataSet } from './flowsFlowRunDataSet';
8
8
  import type { FlowsFlow } from './flowsFlow';
9
9
  import type { FlowsFlowRunWorkSpace } from './flowsFlowRunWorkSpace';
10
10
  export interface FlowsFlowRun {
11
11
  /** @nullable */
12
12
  createdByUserId?: string | null;
13
- dataSet?: FlowsFlowDataSet;
13
+ /** @nullable */
14
+ dataSet?: FlowsFlowRunDataSet;
14
15
  /** @nullable */
15
16
  deletedAt?: string | null;
16
17
  /** @nullable */
@@ -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
+ import type { FlowsFlowDataSet } from './flowsFlowDataSet';
8
+ /**
9
+ * @nullable
10
+ */
11
+ export type FlowsFlowRunDataSet = FlowsFlowDataSet | null;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -77,6 +77,7 @@ export * from './blocksStateInterfaceMetadata';
77
77
  export * from './blocksUsedInRef';
78
78
  export * from './changeTagsChangeTag';
79
79
  export * from './changeTagsChangeTagView';
80
+ export * from './changeTagsTopic';
80
81
  export * from './configApiControllersAuthDiscoveryControllerAuthDiscovery';
81
82
  export * from './configApiFlowRunIdentityMapRequest';
82
83
  export * from './configApiRunFlowRequest';
@@ -132,6 +133,9 @@ export * from './dataSourcesContainerFilter';
132
133
  export * from './dataSourcesContainerFilterModel';
133
134
  export * from './dataSourcesContainerPreviewResultModel';
134
135
  export * from './dataSourcesContainerPreviewResultModelSamplesItem';
136
+ export * from './dataSourcesContainerSchema200One';
137
+ export * from './dataSourcesContainerSchema200Three';
138
+ export * from './dataSourcesContainerSchema200Two';
135
139
  export * from './dataSourcesContainerSchemaParams';
136
140
  export * from './dataSourcesContainersParams';
137
141
  export * from './dataSourcesCreateDataSource';
@@ -194,6 +198,7 @@ export * from './enumsPermissions';
194
198
  export * from './enumsPinType';
195
199
  export * from './enumsPortType';
196
200
  export * from './enumsVirtualMachineServerType';
201
+ export * from './errorCode';
197
202
  export * from './filesAddMessageFileFromBlobUri';
198
203
  export * from './filesCreateFileFromBlobUri';
199
204
  export * from './filesDownloadFileParams';
@@ -238,6 +243,7 @@ export * from './flowsFlowOutputSchema';
238
243
  export * from './flowsFlowPinRef';
239
244
  export * from './flowsFlowRun';
240
245
  export * from './flowsFlowRunCancelResult';
246
+ export * from './flowsFlowRunDataSet';
241
247
  export * from './flowsFlowRunWorkSpace';
242
248
  export * from './flowsFlowTrigger';
243
249
  export * from './flowsFlowVariable';
@@ -299,6 +305,7 @@ export * from './messagesMessageCreatorProfileImage';
299
305
  export * from './messagesMessageDelta';
300
306
  export * from './messagesMessageError';
301
307
  export * from './messagesMessageErrorData';
308
+ export * from './messagesMessageErrorErrorCode';
302
309
  export * from './messagesMessageValue';
303
310
  export * from './messagesMessageValueChannels';
304
311
  export * from './messagesMessageValueValue';
@@ -331,6 +338,9 @@ export * from './modelsGetModelsParams';
331
338
  export * from './notificationGetParams';
332
339
  export * from './notificationsNotification';
333
340
  export * from './notificationsPagedNotifications';
341
+ export * from './openAPIGetOpenApiDocument200One';
342
+ export * from './openAPIGetOpenApiDocument200Three';
343
+ export * from './openAPIGetOpenApiDocument200Two';
334
344
  export * from './pagedDataCollectionAccessAccess';
335
345
  export * from './pagedDataCollectionAccessAccessWorkSpace';
336
346
  export * from './pagedDataCollectionActivitiesActivityWorkSpace';