@smartspace/api-client 0.1.0-pr.1413.610b48e → 0.1.0-pr.1415.da24eae
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.
- package/dist/generated/chat/api.msw.js +11 -11
- package/dist/generated/chat/models/index.d.ts +0 -2
- package/dist/generated/chat/models/index.js +0 -2
- package/dist/generated/chat/models/messagesMessageError.d.ts +1 -3
- package/dist/generated/chat/models/microsoftAspNetCoreMvcProblemDetails.d.ts +1 -2
- package/dist/generated/chat/models/microsoftAspNetCoreMvcProblemDetails.js +6 -0
- package/dist/generated/chat/zod.js +22 -22
- package/dist/generated/config/api.msw.js +6 -6
- package/dist/generated/config/models/index.d.ts +0 -2
- package/dist/generated/config/models/index.js +0 -2
- package/dist/generated/config/models/messagesMessageError.d.ts +1 -3
- package/dist/generated/config/models/microsoftAspNetCoreMvcProblemDetails.d.ts +1 -2
- package/dist/generated/config/models/microsoftAspNetCoreMvcProblemDetails.js +6 -0
- package/dist/generated/config/zod.js +12 -12
- package/package.json +2 -2
- package/dist/generated/chat/models/errorCode.d.ts +0 -179
- package/dist/generated/chat/models/errorCode.js +0 -183
- package/dist/generated/chat/models/messagesMessageErrorErrorCode.d.ts +0 -11
- package/dist/generated/chat/models/messagesMessageErrorErrorCode.js +0 -2
- package/dist/generated/config/models/errorCode.d.ts +0 -179
- package/dist/generated/config/models/errorCode.js +0 -183
- package/dist/generated/config/models/messagesMessageErrorErrorCode.d.ts +0 -11
- package/dist/generated/config/models/messagesMessageErrorErrorCode.js +0 -2
|
@@ -5057,9 +5057,9 @@ exports.sandBoxGetThreadMessagesResponseItem = zod_1.default.object({
|
|
|
5057
5057
|
"createdByUserId": zod_1.default.string(),
|
|
5058
5058
|
"errors": zod_1.default.array(zod_1.default.object({
|
|
5059
5059
|
"blockId": zod_1.default.string().nullish(),
|
|
5060
|
-
"code": zod_1.default.number()
|
|
5060
|
+
"code": zod_1.default.number(),
|
|
5061
5061
|
"data": zod_1.default.any().nullish(),
|
|
5062
|
-
"errorCode": zod_1.default.string().
|
|
5062
|
+
"errorCode": zod_1.default.string().nullish(),
|
|
5063
5063
|
"message": zod_1.default.string().nullish(),
|
|
5064
5064
|
"traceId": zod_1.default.string().nullish()
|
|
5065
5065
|
})),
|
|
@@ -5107,9 +5107,9 @@ exports.sandBoxThreadMessagesResponse = zod_1.default.object({
|
|
|
5107
5107
|
"createdByUserId": zod_1.default.string(),
|
|
5108
5108
|
"errors": zod_1.default.array(zod_1.default.object({
|
|
5109
5109
|
"blockId": zod_1.default.string().nullish(),
|
|
5110
|
-
"code": zod_1.default.number()
|
|
5110
|
+
"code": zod_1.default.number(),
|
|
5111
5111
|
"data": zod_1.default.any().nullish(),
|
|
5112
|
-
"errorCode": zod_1.default.string().
|
|
5112
|
+
"errorCode": zod_1.default.string().nullish(),
|
|
5113
5113
|
"message": zod_1.default.string().nullish(),
|
|
5114
5114
|
"traceId": zod_1.default.string().nullish()
|
|
5115
5115
|
})),
|
|
@@ -5155,9 +5155,9 @@ exports.sandBoxStreamSandboxMessagesResponse = zod_1.default.object({
|
|
|
5155
5155
|
"delta": zod_1.default.object({
|
|
5156
5156
|
"errors": zod_1.default.array(zod_1.default.object({
|
|
5157
5157
|
"blockId": zod_1.default.string().nullish(),
|
|
5158
|
-
"code": zod_1.default.number()
|
|
5158
|
+
"code": zod_1.default.number(),
|
|
5159
5159
|
"data": zod_1.default.any().nullish(),
|
|
5160
|
-
"errorCode": zod_1.default.string().
|
|
5160
|
+
"errorCode": zod_1.default.string().nullish(),
|
|
5161
5161
|
"message": zod_1.default.string().nullish(),
|
|
5162
5162
|
"traceId": zod_1.default.string().nullish()
|
|
5163
5163
|
})),
|
|
@@ -5179,9 +5179,9 @@ exports.sandBoxStreamSandboxMessagesResponse = zod_1.default.object({
|
|
|
5179
5179
|
"createdByUserId": zod_1.default.string(),
|
|
5180
5180
|
"errors": zod_1.default.array(zod_1.default.object({
|
|
5181
5181
|
"blockId": zod_1.default.string().nullish(),
|
|
5182
|
-
"code": zod_1.default.number()
|
|
5182
|
+
"code": zod_1.default.number(),
|
|
5183
5183
|
"data": zod_1.default.any().nullish(),
|
|
5184
|
-
"errorCode": zod_1.default.string().
|
|
5184
|
+
"errorCode": zod_1.default.string().nullish(),
|
|
5185
5185
|
"message": zod_1.default.string().nullish(),
|
|
5186
5186
|
"traceId": zod_1.default.string().nullish()
|
|
5187
5187
|
})),
|
|
@@ -5206,9 +5206,9 @@ exports.sandBoxStreamSandboxMessagesResponse = zod_1.default.object({
|
|
|
5206
5206
|
"createdByUserId": zod_1.default.string(),
|
|
5207
5207
|
"errors": zod_1.default.array(zod_1.default.object({
|
|
5208
5208
|
"blockId": zod_1.default.string().nullish(),
|
|
5209
|
-
"code": zod_1.default.number()
|
|
5209
|
+
"code": zod_1.default.number(),
|
|
5210
5210
|
"data": zod_1.default.any().nullish(),
|
|
5211
|
-
"errorCode": zod_1.default.string().
|
|
5211
|
+
"errorCode": zod_1.default.string().nullish(),
|
|
5212
5212
|
"message": zod_1.default.string().nullish(),
|
|
5213
5213
|
"traceId": zod_1.default.string().nullish()
|
|
5214
5214
|
})),
|
|
@@ -5270,9 +5270,9 @@ exports.sandBoxAddValueToMessageResponse = zod_1.default.object({
|
|
|
5270
5270
|
"createdByUserId": zod_1.default.string(),
|
|
5271
5271
|
"errors": zod_1.default.array(zod_1.default.object({
|
|
5272
5272
|
"blockId": zod_1.default.string().nullish(),
|
|
5273
|
-
"code": zod_1.default.number()
|
|
5273
|
+
"code": zod_1.default.number(),
|
|
5274
5274
|
"data": zod_1.default.any().nullish(),
|
|
5275
|
-
"errorCode": zod_1.default.string().
|
|
5275
|
+
"errorCode": zod_1.default.string().nullish(),
|
|
5276
5276
|
"message": zod_1.default.string().nullish(),
|
|
5277
5277
|
"traceId": zod_1.default.string().nullish()
|
|
5278
5278
|
})),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smartspace/api-client",
|
|
3
|
-
"version": "0.1.0-pr.
|
|
3
|
+
"version": "0.1.0-pr.1415.da24eae",
|
|
4
4
|
"description": "Generated TypeScript client for SmartSpace APIs",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"url": "https://github.com/Smartspace-ai/Smartspace-app-api.git",
|
|
54
54
|
"directory": "tools/sdk-package"
|
|
55
55
|
},
|
|
56
|
-
"smartspaceContentHash": "
|
|
56
|
+
"smartspaceContentHash": "8217d2e63690d087c470ed9361667e85a28cdb9b407183bd8e9a2a4f46999fb5"
|
|
57
57
|
}
|
|
@@ -1,179 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated from `x-extensible-enum` by scripts/extensible-enums.js
|
|
3
|
-
* Do not edit manually.
|
|
4
|
-
* SmartSpace Chat 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;
|
|
@@ -1,183 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Generated from `x-extensible-enum` by scripts/extensible-enums.js
|
|
4
|
-
* Do not edit manually.
|
|
5
|
-
* SmartSpace Chat 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
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by orval v7.13.2 🍺
|
|
3
|
-
* Do not edit manually.
|
|
4
|
-
* SmartSpace Chat API
|
|
5
|
-
* OpenAPI spec version: v1
|
|
6
|
-
*/
|
|
7
|
-
import type { ErrorCode } from './errorCode';
|
|
8
|
-
/**
|
|
9
|
-
* @nullable
|
|
10
|
-
*/
|
|
11
|
-
export type MessagesMessageErrorErrorCode = ErrorCode | null;
|