@smartspace/api-client 0.1.0-pr.1418.9ae73b3 → 0.1.0-pr.1420.2c75315
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/models/errorCode.d.ts +1 -0
- package/dist/generated/chat/models/errorCode.js +1 -0
- package/dist/generated/config/models/containerDataSets.d.ts +12 -0
- package/dist/generated/config/models/containerDataSets.js +2 -0
- package/dist/generated/config/models/errorCode.d.ts +1 -0
- package/dist/generated/config/models/errorCode.js +1 -0
- package/dist/generated/config/models/index.d.ts +1 -0
- package/dist/generated/config/models/index.js +1 -0
- package/dist/generated/error-codes.js +1 -0
- package/package.json +2 -2
|
@@ -84,6 +84,7 @@ export declare const ErrorCode: {
|
|
|
84
84
|
readonly 'favourite.user_required': "favourite.user_required";
|
|
85
85
|
readonly 'file.not_found': "file.not_found";
|
|
86
86
|
readonly 'file.scope_mismatch': "file.scope_mismatch";
|
|
87
|
+
readonly 'file.storage_unavailable': "file.storage_unavailable";
|
|
87
88
|
readonly 'file.upload_invalid': "file.upload_invalid";
|
|
88
89
|
readonly 'flow.not_found': "flow.not_found";
|
|
89
90
|
readonly 'flow.trigger_input_missing': "flow.trigger_input_missing";
|
|
@@ -88,6 +88,7 @@ exports.ErrorCode = {
|
|
|
88
88
|
'favourite.user_required': 'favourite.user_required',
|
|
89
89
|
'file.not_found': 'file.not_found',
|
|
90
90
|
'file.scope_mismatch': 'file.scope_mismatch',
|
|
91
|
+
'file.storage_unavailable': 'file.storage_unavailable',
|
|
91
92
|
'file.upload_invalid': 'file.upload_invalid',
|
|
92
93
|
'flow.not_found': 'flow.not_found',
|
|
93
94
|
'flow.trigger_input_missing': 'flow.trigger_input_missing',
|
|
@@ -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
|
+
}
|
|
@@ -84,6 +84,7 @@ export declare const ErrorCode: {
|
|
|
84
84
|
readonly 'favourite.user_required': "favourite.user_required";
|
|
85
85
|
readonly 'file.not_found': "file.not_found";
|
|
86
86
|
readonly 'file.scope_mismatch': "file.scope_mismatch";
|
|
87
|
+
readonly 'file.storage_unavailable': "file.storage_unavailable";
|
|
87
88
|
readonly 'file.upload_invalid': "file.upload_invalid";
|
|
88
89
|
readonly 'flow.not_found': "flow.not_found";
|
|
89
90
|
readonly 'flow.trigger_input_missing': "flow.trigger_input_missing";
|
|
@@ -88,6 +88,7 @@ exports.ErrorCode = {
|
|
|
88
88
|
'favourite.user_required': 'favourite.user_required',
|
|
89
89
|
'file.not_found': 'file.not_found',
|
|
90
90
|
'file.scope_mismatch': 'file.scope_mismatch',
|
|
91
|
+
'file.storage_unavailable': 'file.storage_unavailable',
|
|
91
92
|
'file.upload_invalid': 'file.upload_invalid',
|
|
92
93
|
'flow.not_found': 'flow.not_found',
|
|
93
94
|
'flow.trigger_input_missing': 'flow.trigger_input_missing',
|
|
@@ -90,6 +90,7 @@ export * from './connectorsResolvedConnector';
|
|
|
90
90
|
export * from './connectorsResolvedConnectorHeaders';
|
|
91
91
|
export * from './connectorsUpdateConnector';
|
|
92
92
|
export * from './containerDataSet';
|
|
93
|
+
export * from './containerDataSets';
|
|
93
94
|
export * from './containerItem';
|
|
94
95
|
export * from './containerItemIngestion';
|
|
95
96
|
export * from './containersPostParams';
|
|
@@ -106,6 +106,7 @@ __exportStar(require("./connectorsResolvedConnector"), exports);
|
|
|
106
106
|
__exportStar(require("./connectorsResolvedConnectorHeaders"), exports);
|
|
107
107
|
__exportStar(require("./connectorsUpdateConnector"), exports);
|
|
108
108
|
__exportStar(require("./containerDataSet"), exports);
|
|
109
|
+
__exportStar(require("./containerDataSets"), exports);
|
|
109
110
|
__exportStar(require("./containerItem"), exports);
|
|
110
111
|
__exportStar(require("./containerItemIngestion"), exports);
|
|
111
112
|
__exportStar(require("./containersPostParams"), exports);
|
|
@@ -77,6 +77,7 @@ exports.errorCodeInfo = {
|
|
|
77
77
|
'favourite.user_required': { category: 'Validation', status: 400, retryable: false },
|
|
78
78
|
'file.not_found': { category: 'NotFound', status: 404, retryable: false },
|
|
79
79
|
'file.scope_mismatch': { category: 'Security', status: 403, retryable: false },
|
|
80
|
+
'file.storage_unavailable': { category: 'Dependency', status: 503, retryable: true },
|
|
80
81
|
'file.upload_invalid': { category: 'Validation', status: 400, retryable: false },
|
|
81
82
|
'flow.not_found': { category: 'NotFound', status: 404, retryable: false },
|
|
82
83
|
'flow.trigger_input_missing': { category: 'Conflict', status: 409, retryable: false },
|
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.1420.2c75315",
|
|
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": "2564b3e0bc774e55807203fce6dd7ffb7a12061a5fedb1965cab7c718917601a"
|
|
57
57
|
}
|