@smartspace/api-client 0.1.0-main.bc2778a → 0.1.0-main.bfa37bc

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 (102) 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 +453 -421
  31. package/dist/generated/config/api.msw.d.ts +20 -7
  32. package/dist/generated/config/api.msw.js +141 -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/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/flowRunsGetStepExecutionsParams.d.ts +1 -1
  57. package/dist/generated/config/models/flowsFlowRun.d.ts +3 -2
  58. package/dist/generated/config/models/flowsFlowRunDataSet.d.ts +11 -0
  59. package/dist/generated/config/models/flowsFlowRunDataSet.js +2 -0
  60. package/dist/generated/config/models/index.d.ts +14 -0
  61. package/dist/generated/config/models/index.js +14 -0
  62. package/dist/generated/config/models/messagesMessageError.d.ts +3 -1
  63. package/dist/generated/config/models/messagesMessageErrorErrorCode.d.ts +11 -0
  64. package/dist/generated/config/models/messagesMessageErrorErrorCode.js +2 -0
  65. package/dist/generated/config/models/microsoftAspNetCoreMvcProblemDetails.d.ts +2 -1
  66. package/dist/generated/config/models/microsoftAspNetCoreMvcProblemDetails.js +0 -6
  67. package/dist/generated/config/models/notificationGetParams.d.ts +6 -4
  68. package/dist/generated/config/models/openAPIGetOpenApiDocument200One.d.ts +9 -0
  69. package/dist/generated/config/models/openAPIGetOpenApiDocument200One.js +8 -0
  70. package/dist/generated/config/models/openAPIGetOpenApiDocument200Three.d.ts +9 -0
  71. package/dist/generated/config/models/openAPIGetOpenApiDocument200Three.js +8 -0
  72. package/dist/generated/config/models/openAPIGetOpenApiDocument200Two.d.ts +9 -0
  73. package/dist/generated/config/models/openAPIGetOpenApiDocument200Two.js +8 -0
  74. package/dist/generated/config/models/restoresRestoreExecution.d.ts +14 -0
  75. package/dist/generated/config/models/restoresRestoreExecution.js +8 -0
  76. package/dist/generated/config/models/restoresRestoreStarted.d.ts +9 -0
  77. package/dist/generated/config/models/restoresRestoreStarted.js +8 -0
  78. package/dist/generated/config/models/restoresStartRestore.d.ts +12 -0
  79. package/dist/generated/config/models/restoresStartRestore.js +8 -0
  80. package/dist/generated/config/models/servicePrincipalsGetServicePrincipalsParams.d.ts +9 -1
  81. package/dist/generated/config/models/usersGetAccessWorkSpacesParams.d.ts +4 -2
  82. package/dist/generated/config/models/usersGetUsersParams.d.ts +8 -0
  83. package/dist/generated/config/models/workSpaceTemplatesGetParams.d.ts +6 -7
  84. package/dist/generated/config/models/workSpacesGetGetParams.d.ts +10 -2
  85. package/dist/generated/config/models/workSpacesGetWorkspaceFilesParams.d.ts +9 -1
  86. package/dist/generated/config/operation-tags.d.ts +8 -2
  87. package/dist/generated/config/operation-tags.js +8 -2
  88. package/dist/generated/config/zod.d.ts +351 -34
  89. package/dist/generated/config/zod.js +394 -90
  90. package/dist/generated/error-codes.d.ts +24 -0
  91. package/dist/generated/error-codes.js +164 -0
  92. package/dist/generated/signalr/TypedSignalR.Client/SmartSpace.App.Business.Hubs.Contracts.d.ts +25 -4
  93. package/dist/generated/signalr/TypedSignalR.Client/index.js +10 -1
  94. package/dist/index.d.ts +4 -2
  95. package/dist/index.js +10 -1
  96. package/dist/instance.d.ts +14 -3
  97. package/dist/instance.js +29 -3
  98. package/dist/problem.d.ts +26 -6
  99. package/dist/problem.js +22 -11
  100. package/dist/type-checks.d.ts +1 -0
  101. package/dist/type-checks.js +5 -0
  102. package/package.json +3 -3
@@ -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;
@@ -0,0 +1,186 @@
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.container_missing': 'container_item.container_missing',
57
+ 'container_item.deleted_at_source': 'container_item.deleted_at_source',
58
+ 'container_item.not_found': 'container_item.not_found',
59
+ 'cosmos.throttled': 'cosmos.throttled',
60
+ 'credential.invalid': 'credential.invalid',
61
+ 'dataset.export_failed': 'dataset.export_failed',
62
+ 'dataset.filter_invalid': 'dataset.filter_invalid',
63
+ 'dataset.invalid': 'dataset.invalid',
64
+ 'dataset.name_taken': 'dataset.name_taken',
65
+ 'dataset.not_found': 'dataset.not_found',
66
+ 'dataset.property_name_invalid': 'dataset.property_name_invalid',
67
+ 'dataset.too_many_data_types': 'dataset.too_many_data_types',
68
+ 'dataset_item.not_found': 'dataset_item.not_found',
69
+ 'datasource.admin_required': 'datasource.admin_required',
70
+ 'datasource.assigned': 'datasource.assigned',
71
+ 'datasource.connection_failed': 'datasource.connection_failed',
72
+ 'datasource.connection_rejected': 'datasource.connection_rejected',
73
+ 'datasource.invalid': 'datasource.invalid',
74
+ 'datasource.name_taken': 'datasource.name_taken',
75
+ 'datasource.not_found': 'datasource.not_found',
76
+ 'datasource.not_searchable': 'datasource.not_searchable',
77
+ 'datasource_container.not_found': 'datasource_container.not_found',
78
+ 'datasource_type.not_found': 'datasource_type.not_found',
79
+ 'dataspace.admin_required': 'dataspace.admin_required',
80
+ 'dataspace.invalid': 'dataspace.invalid',
81
+ 'dataspace.name_taken': 'dataspace.name_taken',
82
+ 'dataspace.name_too_long': 'dataspace.name_too_long',
83
+ 'dataspace.not_found': 'dataspace.not_found',
84
+ 'directory.service_principal_not_found': 'directory.service_principal_not_found',
85
+ 'directory.user_not_found': 'directory.user_not_found',
86
+ 'draft.not_found': 'draft.not_found',
87
+ 'draft.not_publishable': 'draft.not_publishable',
88
+ 'draft.row_version_stale': 'draft.row_version_stale',
89
+ 'embeddings.model_not_found': 'embeddings.model_not_found',
90
+ 'favourite.user_required': 'favourite.user_required',
91
+ 'file.not_found': 'file.not_found',
92
+ 'file.scope_mismatch': 'file.scope_mismatch',
93
+ 'file.storage_unavailable': 'file.storage_unavailable',
94
+ 'file.upload_invalid': 'file.upload_invalid',
95
+ 'flow.not_found': 'flow.not_found',
96
+ 'flow.trigger_input_missing': 'flow.trigger_input_missing',
97
+ 'flow_definition.not_found': 'flow_definition.not_found',
98
+ 'flow_run.already_finished': 'flow_run.already_finished',
99
+ 'flow_run.execution_not_found': 'flow_run.execution_not_found',
100
+ 'flow_run.not_found': 'flow_run.not_found',
101
+ 'flow_run.value_not_found': 'flow_run.value_not_found',
102
+ 'flow_variable.not_editable': 'flow_variable.not_editable',
103
+ 'flow_variable.not_found': 'flow_variable.not_found',
104
+ forbidden: 'forbidden',
105
+ gone: 'gone',
106
+ 'group.not_found': 'group.not_found',
107
+ 'hubspot.search_cap_exceeded': 'hubspot.search_cap_exceeded',
108
+ 'ingest_queue.unavailable': 'ingest_queue.unavailable',
109
+ 'install.config_unavailable': 'install.config_unavailable',
110
+ 'install.no_version_history': 'install.no_version_history',
111
+ 'install_parameter.value_required': 'install_parameter.value_required',
112
+ internal: 'internal',
113
+ 'llm.auth_failed': 'llm.auth_failed',
114
+ 'llm.content_policy': 'llm.content_policy',
115
+ 'llm.context_window': 'llm.context_window',
116
+ 'llm.invalid_request': 'llm.invalid_request',
117
+ 'llm.not_found': 'llm.not_found',
118
+ 'llm.provider_error': 'llm.provider_error',
119
+ 'llm.rate_limit': 'llm.rate_limit',
120
+ 'llm.schema_validation': 'llm.schema_validation',
121
+ 'llm.timeout': 'llm.timeout',
122
+ 'llm.transient_connection': 'llm.transient_connection',
123
+ 'llm.unsupported_modality': 'llm.unsupported_modality',
124
+ 'llm.unsupported_tools': 'llm.unsupported_tools',
125
+ 'llm.upstream_error': 'llm.upstream_error',
126
+ 'message.not_found': 'message.not_found',
127
+ method_not_allowed: 'method_not_allowed',
128
+ 'model.invalid': 'model.invalid',
129
+ 'model.no_deployment': 'model.no_deployment',
130
+ 'model.not_found': 'model.not_found',
131
+ 'model_catalog.credentials_invalid': 'model_catalog.credentials_invalid',
132
+ 'model_catalog.unreachable': 'model_catalog.unreachable',
133
+ 'model_deployment.failed': 'model_deployment.failed',
134
+ 'model_deployment.invalid': 'model_deployment.invalid',
135
+ 'model_deployment.misconfigured': 'model_deployment.misconfigured',
136
+ 'model_deployment.no_provider': 'model_deployment.no_provider',
137
+ 'model_deployment.no_region': 'model_deployment.no_region',
138
+ 'model_deployment.no_url': 'model_deployment.no_url',
139
+ 'model_deployment.not_found': 'model_deployment.not_found',
140
+ 'model_deployment.script_failed': 'model_deployment.script_failed',
141
+ 'model_deployment_provider.invalid': 'model_deployment_provider.invalid',
142
+ 'model_deployment_provider.not_allowed': 'model_deployment_provider.not_allowed',
143
+ 'model_deployment_provider.not_found': 'model_deployment_provider.not_found',
144
+ not_found: 'not_found',
145
+ 'notification.not_found': 'notification.not_found',
146
+ 'outlook.message_not_found': 'outlook.message_not_found',
147
+ 'plan.invalid': 'plan.invalid',
148
+ 'report.parameters_invalid': 'report.parameters_invalid',
149
+ request_failed: 'request_failed',
150
+ 'restore.already_running': 'restore.already_running',
151
+ 'restore.timestamp_not_past': 'restore.timestamp_not_past',
152
+ 'restore.unknown_store': 'restore.unknown_store',
153
+ 'secret.invalid': 'secret.invalid',
154
+ 'secret.mode_mismatch': 'secret.mode_mismatch',
155
+ 'secret.name_taken': 'secret.name_taken',
156
+ 'secret.no_user': 'secret.no_user',
157
+ 'secret.not_found': 'secret.not_found',
158
+ 'secret.run_has_no_user': 'secret.run_has_no_user',
159
+ 'secret.run_required': 'secret.run_required',
160
+ 'secret.user_mismatch': 'secret.user_mismatch',
161
+ 'secret.user_value_not_set': 'secret.user_value_not_set',
162
+ 'sharepoint.item_content_not_found': 'sharepoint.item_content_not_found',
163
+ 'sharepoint.max_depth_exceeded': 'sharepoint.max_depth_exceeded',
164
+ 'speech.identity_misconfigured': 'speech.identity_misconfigured',
165
+ 'speech.token_unavailable': 'speech.token_unavailable',
166
+ 'sync.container_in_use': 'sync.container_in_use',
167
+ 'thread.already_exists': 'thread.already_exists',
168
+ 'thread.already_running': 'thread.already_running',
169
+ 'thread.not_found': 'thread.not_found',
170
+ 'thread.user_not_member': 'thread.user_not_member',
171
+ unauthorized: 'unauthorized',
172
+ unavailable: 'unavailable',
173
+ 'user.not_found': 'user.not_found',
174
+ validation: 'validation',
175
+ 'workspace.admin_required': 'workspace.admin_required',
176
+ 'workspace.files_dataspace_locked': 'workspace.files_dataspace_locked',
177
+ 'workspace.id_invalid': 'workspace.id_invalid',
178
+ 'workspace.invalid': 'workspace.invalid',
179
+ 'workspace.name_taken': 'workspace.name_taken',
180
+ 'workspace.no_active_flow': 'workspace.no_active_flow',
181
+ 'workspace.not_found': 'workspace.not_found',
182
+ 'workspace_admin.user_lacks_permission': 'workspace_admin.user_lacks_permission',
183
+ };
184
+ function isKnownErrorCode(value) {
185
+ return Object.values(exports.ErrorCode).includes(value);
186
+ }
@@ -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
  /**