@smartspace/api-client 0.1.0-dev.f2f7d75 → 0.1.0-dev.f4388d0

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 (42) hide show
  1. package/dist/generated/chat/api.d.ts +2 -0
  2. package/dist/generated/chat/api.js +10 -1
  3. package/dist/generated/chat/api.msw.d.ts +1 -0
  4. package/dist/generated/chat/api.msw.js +18 -6
  5. package/dist/generated/chat/models/aiModel.d.ts +1 -0
  6. package/dist/generated/chat/models/aiModelSummary.d.ts +1 -0
  7. package/dist/generated/chat/models/dataSourceContainer.d.ts +2 -0
  8. package/dist/generated/chat/zod.d.ts +13 -0
  9. package/dist/generated/chat/zod.js +18 -5
  10. package/dist/generated/config/api.d.ts +19 -1
  11. package/dist/generated/config/api.js +88 -2
  12. package/dist/generated/config/api.msw.d.ts +14 -1
  13. package/dist/generated/config/api.msw.js +136 -20
  14. package/dist/generated/config/models/aiModel.d.ts +1 -0
  15. package/dist/generated/config/models/aiModelSummary.d.ts +1 -0
  16. package/dist/generated/config/models/blocksBlockSet.d.ts +3 -2
  17. package/dist/generated/config/models/{blocksUsedInWorkspaceRef.d.ts → blocksUsedInRef.d.ts} +1 -1
  18. package/dist/generated/config/models/dataSetsCreateDataSetContainer.d.ts +2 -0
  19. package/dist/generated/config/models/dataSetsUpsertDataSetProperty.d.ts +5 -1
  20. package/dist/generated/config/models/dataSourceContainer.d.ts +2 -0
  21. package/dist/generated/config/models/dataSourcesDataSourceContainer.d.ts +2 -0
  22. package/dist/generated/config/models/flowRunsGetWorkspaceRunsParams.d.ts +16 -0
  23. package/dist/generated/config/models/index.d.ts +8 -2
  24. package/dist/generated/config/models/index.js +8 -2
  25. package/dist/generated/config/models/integrationsSmartSpaceAiSmartSpaceAiPagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiWorkspaceRun.d.ts +11 -0
  26. package/dist/generated/config/models/integrationsSmartSpaceAiSmartSpaceAiPagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiWorkspaceRun.js +2 -0
  27. package/dist/generated/config/models/integrationsSmartSpaceAiWorkspaceRun.d.ts +27 -0
  28. package/dist/generated/config/models/integrationsSmartSpaceAiWorkspaceRun.js +8 -0
  29. package/dist/generated/config/models/pagedDataCollectionUsersServicePrincipalDetail.d.ts +11 -0
  30. package/dist/generated/config/models/pagedDataCollectionUsersServicePrincipalDetail.js +2 -0
  31. package/dist/generated/config/models/servicePrincipalsGetServicePrincipalsParams.d.ts +11 -0
  32. package/dist/generated/config/models/servicePrincipalsGetServicePrincipalsParams.js +8 -0
  33. package/dist/generated/config/models/syncsSyncDataSourceInfo.d.ts +3 -0
  34. package/dist/generated/config/models/{integrationsAzureActiveDirectoryServicePrincipal.d.ts → syncsSyncQueueState.d.ts} +3 -3
  35. package/dist/generated/config/models/syncsSyncQueueState.js +8 -0
  36. package/dist/generated/config/models/usersServicePrincipalDetail.d.ts +14 -0
  37. package/dist/generated/config/models/usersServicePrincipalDetail.js +2 -0
  38. package/dist/generated/config/zod.d.ts +200 -2
  39. package/dist/generated/config/zod.js +167 -19
  40. package/package.json +1 -1
  41. /package/dist/generated/config/models/{blocksUsedInWorkspaceRef.js → blocksUsedInRef.js} +0 -0
  42. /package/dist/generated/config/models/{integrationsAzureActiveDirectoryServicePrincipal.js → flowRunsGetWorkspaceRunsParams.js} +0 -0
@@ -4,7 +4,7 @@
4
4
  * SmartSpace Admin API
5
5
  * OpenAPI spec version: v1
6
6
  */
7
- export interface BlocksUsedInWorkspaceRef {
7
+ export interface BlocksUsedInRef {
8
8
  /** @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}$ */
9
9
  id: string;
10
10
  name: string;
@@ -9,6 +9,8 @@ export interface DataSetsCreateDataSetContainer {
9
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
10
  dataSourceId: string;
11
11
  /** @nullable */
12
+ fields?: string[] | null;
13
+ /** @nullable */
12
14
  filters?: DataSourcesContainerFilterModel[] | null;
13
15
  path: string;
14
16
  }
@@ -7,6 +7,10 @@
7
7
  export interface DataSetsUpsertDataSetProperty {
8
8
  /** @nullable */
9
9
  description?: string | null;
10
- isVector: boolean;
10
+ /**
11
+ * Unused — the platform no longer reads this field and it has no effect on ingestion or querying. It is retained as an optional property purely for backward compatibility; omit it in new integrations. When omitted, the stored value is preserved on update and it defaults to false on create.
12
+ * @nullable
13
+ */
14
+ isVector?: boolean | null;
11
15
  name: string;
12
16
  }
@@ -9,6 +9,8 @@ export interface DataSourceContainer {
9
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
10
  dataSourceId: string;
11
11
  /** @nullable */
12
+ fields?: string[] | null;
13
+ /** @nullable */
12
14
  filters?: DataSourcesContainerFilterModel[] | null;
13
15
  /** @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
16
  id: string;
@@ -10,6 +10,8 @@ export interface DataSourcesDataSourceContainer {
10
10
  /** @nullable */
11
11
  children?: DataSourcesDataSourceContainer[] | null;
12
12
  /** @nullable */
13
+ fields?: string[] | null;
14
+ /** @nullable */
13
15
  filters?: DataSourcesContainerFilter[] | null;
14
16
  name: string;
15
17
  path: string;
@@ -0,0 +1,16 @@
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 FlowRunsGetWorkspaceRunsParams = {
8
+ /**
9
+ * Number of records to skip
10
+ */
11
+ skip?: number;
12
+ /**
13
+ * Number of records to take
14
+ */
15
+ take?: number;
16
+ };
@@ -61,7 +61,7 @@ export * from './blocksRenameBlockSetRequest';
61
61
  export * from './blocksStateInterface';
62
62
  export * from './blocksStateInterfaceDefault';
63
63
  export * from './blocksStateInterfaceMetadata';
64
- export * from './blocksUsedInWorkspaceRef';
64
+ export * from './blocksUsedInRef';
65
65
  export * from './configApiFlowRunIdentityMapRequest';
66
66
  export * from './configApiRunFlowRequest';
67
67
  export * from './connectorsConnector';
@@ -189,6 +189,7 @@ export * from './flowRunsGetStepExecutionsParams';
189
189
  export * from './flowRunsGetVariables200One';
190
190
  export * from './flowRunsGetVariables200Three';
191
191
  export * from './flowRunsGetVariables200Two';
192
+ export * from './flowRunsGetWorkspaceRunsParams';
192
193
  export * from './flowRunsSearchFlowRunsParams';
193
194
  export * from './flowValueModel';
194
195
  export * from './flowValueModelChannels';
@@ -220,7 +221,6 @@ export * from './flowsFlowVariable';
220
221
  export * from './flowsFlowVariableSchema';
221
222
  export * from './flowsFlowWorkSpace';
222
223
  export * from './functionExecutionDebugModel';
223
- export * from './integrationsAzureActiveDirectoryServicePrincipal';
224
224
  export * from './integrationsAzureArmAzureLocation';
225
225
  export * from './integrationsAzureArmVirtualMachineSize';
226
226
  export * from './integrationsAzureStorageSasToken';
@@ -240,6 +240,8 @@ export * from './integrationsSmartSpaceAiFunctionExecutionDebugModel';
240
240
  export * from './integrationsSmartSpaceAiIngestionRun';
241
241
  export * from './integrationsSmartSpaceAiIngestionRunTrigger';
242
242
  export * from './integrationsSmartSpaceAiSdkBlockRef';
243
+ export * from './integrationsSmartSpaceAiSmartSpaceAiPagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiWorkspaceRun';
244
+ export * from './integrationsSmartSpaceAiWorkspaceRun';
243
245
  export * from './managedSecretsCreateManagedSecret';
244
246
  export * from './managedSecretsManagedSecret';
245
247
  export * from './managedSecretsUpdateManagedSecretValue';
@@ -286,6 +288,7 @@ export * from './pagedDataCollectionSyncsSync';
286
288
  export * from './pagedDataCollectionUsersAppAccessUser';
287
289
  export * from './pagedDataCollectionUsersAppUserDetail';
288
290
  export * from './pagedDataCollectionUsersAppUserSearchResult';
291
+ export * from './pagedDataCollectionUsersServicePrincipalDetail';
289
292
  export * from './pagedDataCollectionUsersServicePrincipalSearchResult';
290
293
  export * from './pagedDataCollectionWorkSpaceTemplatesTemplate';
291
294
  export * from './pagedDataCollectionWorkSpacesWorkSpace';
@@ -299,10 +302,12 @@ export * from './reportingReportDefinitionSystemDateTime';
299
302
  export * from './reportingReportSeries';
300
303
  export * from './reportingSplit';
301
304
  export * from './sandBoxGetThreadMessagesParams';
305
+ export * from './servicePrincipalsGetServicePrincipalsParams';
302
306
  export * from './syncsGetItemsParams';
303
307
  export * from './syncsGetParams';
304
308
  export * from './syncsSync';
305
309
  export * from './syncsSyncDataSourceInfo';
310
+ export * from './syncsSyncQueueState';
306
311
  export * from './syncsSyncRunInfo';
307
312
  export * from './usersAdminPermissionParams';
308
313
  export * from './usersAppAccessUser';
@@ -314,6 +319,7 @@ export * from './usersGetAccessWorkSpacesParams';
314
319
  export * from './usersGetUsersParams';
315
320
  export * from './usersRemoveUserFromAllWorkSpacesParams';
316
321
  export * from './usersSearchUsersParams';
322
+ export * from './usersServicePrincipalDetail';
317
323
  export * from './usersServicePrincipalSearchResult';
318
324
  export * from './workSpaceInfo';
319
325
  export * from './workSpaceTemplatesGetParams';
@@ -77,7 +77,7 @@ __exportStar(require("./blocksRenameBlockSetRequest"), exports);
77
77
  __exportStar(require("./blocksStateInterface"), exports);
78
78
  __exportStar(require("./blocksStateInterfaceDefault"), exports);
79
79
  __exportStar(require("./blocksStateInterfaceMetadata"), exports);
80
- __exportStar(require("./blocksUsedInWorkspaceRef"), exports);
80
+ __exportStar(require("./blocksUsedInRef"), exports);
81
81
  __exportStar(require("./configApiFlowRunIdentityMapRequest"), exports);
82
82
  __exportStar(require("./configApiRunFlowRequest"), exports);
83
83
  __exportStar(require("./connectorsConnector"), exports);
@@ -205,6 +205,7 @@ __exportStar(require("./flowRunsGetStepExecutionsParams"), exports);
205
205
  __exportStar(require("./flowRunsGetVariables200One"), exports);
206
206
  __exportStar(require("./flowRunsGetVariables200Three"), exports);
207
207
  __exportStar(require("./flowRunsGetVariables200Two"), exports);
208
+ __exportStar(require("./flowRunsGetWorkspaceRunsParams"), exports);
208
209
  __exportStar(require("./flowRunsSearchFlowRunsParams"), exports);
209
210
  __exportStar(require("./flowValueModel"), exports);
210
211
  __exportStar(require("./flowValueModelChannels"), exports);
@@ -236,7 +237,6 @@ __exportStar(require("./flowsFlowVariable"), exports);
236
237
  __exportStar(require("./flowsFlowVariableSchema"), exports);
237
238
  __exportStar(require("./flowsFlowWorkSpace"), exports);
238
239
  __exportStar(require("./functionExecutionDebugModel"), exports);
239
- __exportStar(require("./integrationsAzureActiveDirectoryServicePrincipal"), exports);
240
240
  __exportStar(require("./integrationsAzureArmAzureLocation"), exports);
241
241
  __exportStar(require("./integrationsAzureArmVirtualMachineSize"), exports);
242
242
  __exportStar(require("./integrationsAzureStorageSasToken"), exports);
@@ -256,6 +256,8 @@ __exportStar(require("./integrationsSmartSpaceAiFunctionExecutionDebugModel"), e
256
256
  __exportStar(require("./integrationsSmartSpaceAiIngestionRun"), exports);
257
257
  __exportStar(require("./integrationsSmartSpaceAiIngestionRunTrigger"), exports);
258
258
  __exportStar(require("./integrationsSmartSpaceAiSdkBlockRef"), exports);
259
+ __exportStar(require("./integrationsSmartSpaceAiSmartSpaceAiPagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiWorkspaceRun"), exports);
260
+ __exportStar(require("./integrationsSmartSpaceAiWorkspaceRun"), exports);
259
261
  __exportStar(require("./managedSecretsCreateManagedSecret"), exports);
260
262
  __exportStar(require("./managedSecretsManagedSecret"), exports);
261
263
  __exportStar(require("./managedSecretsUpdateManagedSecretValue"), exports);
@@ -302,6 +304,7 @@ __exportStar(require("./pagedDataCollectionSyncsSync"), exports);
302
304
  __exportStar(require("./pagedDataCollectionUsersAppAccessUser"), exports);
303
305
  __exportStar(require("./pagedDataCollectionUsersAppUserDetail"), exports);
304
306
  __exportStar(require("./pagedDataCollectionUsersAppUserSearchResult"), exports);
307
+ __exportStar(require("./pagedDataCollectionUsersServicePrincipalDetail"), exports);
305
308
  __exportStar(require("./pagedDataCollectionUsersServicePrincipalSearchResult"), exports);
306
309
  __exportStar(require("./pagedDataCollectionWorkSpaceTemplatesTemplate"), exports);
307
310
  __exportStar(require("./pagedDataCollectionWorkSpacesWorkSpace"), exports);
@@ -315,10 +318,12 @@ __exportStar(require("./reportingReportDefinitionSystemDateTime"), exports);
315
318
  __exportStar(require("./reportingReportSeries"), exports);
316
319
  __exportStar(require("./reportingSplit"), exports);
317
320
  __exportStar(require("./sandBoxGetThreadMessagesParams"), exports);
321
+ __exportStar(require("./servicePrincipalsGetServicePrincipalsParams"), exports);
318
322
  __exportStar(require("./syncsGetItemsParams"), exports);
319
323
  __exportStar(require("./syncsGetParams"), exports);
320
324
  __exportStar(require("./syncsSync"), exports);
321
325
  __exportStar(require("./syncsSyncDataSourceInfo"), exports);
326
+ __exportStar(require("./syncsSyncQueueState"), exports);
322
327
  __exportStar(require("./syncsSyncRunInfo"), exports);
323
328
  __exportStar(require("./usersAdminPermissionParams"), exports);
324
329
  __exportStar(require("./usersAppAccessUser"), exports);
@@ -330,6 +335,7 @@ __exportStar(require("./usersGetAccessWorkSpacesParams"), exports);
330
335
  __exportStar(require("./usersGetUsersParams"), exports);
331
336
  __exportStar(require("./usersRemoveUserFromAllWorkSpacesParams"), exports);
332
337
  __exportStar(require("./usersSearchUsersParams"), exports);
338
+ __exportStar(require("./usersServicePrincipalDetail"), exports);
333
339
  __exportStar(require("./usersServicePrincipalSearchResult"), exports);
334
340
  __exportStar(require("./workSpaceInfo"), exports);
335
341
  __exportStar(require("./workSpaceTemplatesGetParams"), exports);
@@ -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 { IntegrationsSmartSpaceAiWorkspaceRun } from './integrationsSmartSpaceAiWorkspaceRun';
8
+ export interface IntegrationsSmartSpaceAiSmartSpaceAiPagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiWorkspaceRun {
9
+ data: IntegrationsSmartSpaceAiWorkspaceRun[];
10
+ total: number;
11
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,27 @@
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 interface IntegrationsSmartSpaceAiWorkspaceRun {
8
+ /** @nullable */
9
+ createdAt?: string | null;
10
+ /** @nullable */
11
+ finishedAt?: string | null;
12
+ /**
13
+ * @nullable
14
+ * @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}$
15
+ */
16
+ flowDefinitionId?: string | null;
17
+ /**
18
+ * @nullable
19
+ * @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}$
20
+ */
21
+ flowId?: string | null;
22
+ /** @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}$ */
23
+ flowRunId: string;
24
+ /** @nullable */
25
+ runAt?: string | null;
26
+ status: string;
27
+ }
@@ -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,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 { UsersServicePrincipalDetail } from './usersServicePrincipalDetail';
8
+ export interface PagedDataCollectionUsersServicePrincipalDetail {
9
+ data: UsersServicePrincipalDetail[];
10
+ total: number;
11
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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
+ export type ServicePrincipalsGetServicePrincipalsParams = {
8
+ skip?: number;
9
+ take?: number;
10
+ search?: string;
11
+ };
@@ -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 });
@@ -8,7 +8,10 @@ import type { EnumsDataSourceCredentialType } from './enumsDataSourceCredentialT
8
8
  export interface SyncsSyncDataSourceInfo {
9
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
10
  id: string;
11
+ isQueued: boolean;
11
12
  isSyncing: boolean;
12
13
  name: string;
13
14
  sourceType: EnumsDataSourceCredentialType;
15
+ /** @nullable */
16
+ syncStartedAt?: string | null;
14
17
  }
@@ -4,7 +4,7 @@
4
4
  * SmartSpace Admin API
5
5
  * OpenAPI spec version: v1
6
6
  */
7
- export interface IntegrationsAzureActiveDirectoryServicePrincipal {
8
- displayName: string;
9
- id: string;
7
+ export interface SyncsSyncQueueState {
8
+ depth: number;
9
+ waitingDataSourceIds: string[];
10
10
  }
@@ -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,14 @@
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 { EnumsPermissions } from './enumsPermissions';
8
+ export interface UsersServicePrincipalDetail {
9
+ id: string;
10
+ /** @nullable */
11
+ lastActiveAt?: string | null;
12
+ name: string;
13
+ permissions: EnumsPermissions;
14
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });