@squidcloud/local-backend 1.0.49 → 1.0.51
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/common/src/ai-assistant.context.d.ts +13 -13
- package/dist/common/src/ai-assistant.context.js +19 -19
- package/dist/common/src/ai-assistant.schemas.d.ts +243 -243
- package/dist/common/src/ai-assistant.schemas.js +210 -210
- package/dist/common/src/ai-assistant.types.d.ts +90 -90
- package/dist/common/src/ai-assistant.types.js +11 -11
- package/dist/common/src/api-call.context.d.ts +13 -13
- package/dist/common/src/api-call.context.js +16 -16
- package/dist/common/src/api.types.d.ts +23 -23
- package/dist/common/src/api.types.js +2 -2
- package/dist/common/src/application.schemas.d.ts +1168 -1168
- package/dist/common/src/application.schemas.js +741 -741
- package/dist/common/src/application.types.d.ts +228 -228
- package/dist/common/src/application.types.js +89 -89
- package/dist/common/src/backend-function.schemas.d.ts +3 -3
- package/dist/common/src/backend-function.schemas.js +12 -12
- package/dist/common/src/backend-function.types.d.ts +6 -6
- package/dist/common/src/backend-function.types.js +2 -2
- package/dist/common/src/backend-run.types.d.ts +54 -54
- package/dist/common/src/backend-run.types.js +96 -73
- package/dist/common/src/backend-run.types.js.map +1 -1
- package/dist/common/src/bundle-api.types.d.ts +63 -62
- package/dist/common/src/bundle-api.types.js +2 -2
- package/dist/common/src/bundle-data.types.d.ts +59 -59
- package/dist/common/src/bundle-data.types.js +2 -2
- package/dist/common/src/communication.types.d.ts +18 -18
- package/dist/common/src/communication.types.js +40 -40
- package/dist/common/src/context.types.d.ts +24 -24
- package/dist/common/src/context.types.js +2 -2
- package/dist/common/src/distributed-lock.context.d.ts +5 -5
- package/dist/common/src/distributed-lock.context.js +10 -10
- package/dist/common/src/document.types.d.ts +32 -32
- package/dist/common/src/document.types.js +50 -50
- package/dist/common/src/graphql.context.d.ts +14 -14
- package/dist/common/src/graphql.context.js +12 -12
- package/dist/common/src/graphql.types.d.ts +11 -11
- package/dist/common/src/graphql.types.js +34 -34
- package/dist/common/src/heartbeat.types.d.ts +4 -4
- package/dist/common/src/heartbeat.types.js +16 -16
- package/dist/common/src/http-status.enum.d.ts +50 -50
- package/dist/common/src/http-status.enum.js +54 -54
- package/dist/common/src/index.d.ts +53 -53
- package/dist/common/src/index.js +69 -69
- package/dist/common/src/integrations/ai_assistant.types.d.ts +30 -30
- package/dist/common/src/integrations/ai_assistant.types.js +2 -2
- package/dist/common/src/integrations/api.types.d.ts +80 -80
- package/dist/common/src/integrations/api.types.js +2 -2
- package/dist/common/src/integrations/auth.types.d.ts +39 -39
- package/dist/common/src/integrations/auth.types.js +2 -2
- package/dist/common/src/integrations/database.types.d.ts +236 -236
- package/dist/common/src/integrations/database.types.js +2 -2
- package/dist/common/src/integrations/index.d.ts +101 -101
- package/dist/common/src/integrations/index.js +105 -105
- package/dist/common/src/integrations/observability.types.d.ts +23 -23
- package/dist/common/src/integrations/observability.types.js +23 -23
- package/dist/common/src/integrations/observability.types.js.map +1 -1
- package/dist/common/src/logger.types.d.ts +21 -21
- package/dist/common/src/logger.types.js +11 -11
- package/dist/common/src/metrics.types.d.ts +73 -73
- package/dist/common/src/metrics.types.js +11 -11
- package/dist/common/src/mutation.context.d.ts +13 -13
- package/dist/common/src/mutation.context.js +26 -26
- package/dist/common/src/mutation.schemas.d.ts +5 -5
- package/dist/common/src/mutation.schemas.js +114 -114
- package/dist/common/src/mutation.types.d.ts +63 -63
- package/dist/common/src/mutation.types.js +142 -142
- package/dist/common/src/named-query.context.d.ts +4 -4
- package/dist/common/src/named-query.context.js +9 -9
- package/dist/common/src/named-query.schemas.d.ts +3 -3
- package/dist/common/src/named-query.schemas.js +13 -13
- package/dist/common/src/named-query.types.d.ts +8 -8
- package/dist/common/src/named-query.types.js +2 -2
- package/dist/common/src/query/base-query-builder.d.ts +65 -65
- package/dist/common/src/query/base-query-builder.js +294 -294
- package/dist/common/src/query/index.d.ts +3 -3
- package/dist/common/src/query/index.js +19 -19
- package/dist/common/src/query/query-context.d.ts +47 -47
- package/dist/common/src/query/query-context.js +159 -159
- package/dist/common/src/query/serialized-query.types.d.ts +24 -24
- package/dist/common/src/query/serialized-query.types.js +2 -2
- package/dist/common/src/query.types.d.ts +81 -81
- package/dist/common/src/query.types.js +153 -153
- package/dist/common/src/regions.d.ts +21 -21
- package/dist/common/src/regions.js +46 -46
- package/dist/common/src/schema/schema.types.d.ts +30 -30
- package/dist/common/src/schema/schema.types.js +172 -172
- package/dist/common/src/secret.schemas.d.ts +6 -6
- package/dist/common/src/secret.schemas.js +32 -32
- package/dist/common/src/secret.types.d.ts +49 -49
- package/dist/common/src/secret.types.js +5 -5
- package/dist/common/src/security.types.d.ts +3 -3
- package/dist/common/src/security.types.js +2 -2
- package/dist/common/src/socket.schemas.d.ts +3 -3
- package/dist/common/src/socket.schemas.js +58 -58
- package/dist/common/src/socket.types.d.ts +108 -108
- package/dist/common/src/socket.types.js +2 -2
- package/dist/common/src/time-units.d.ts +5 -5
- package/dist/common/src/time-units.js +8 -8
- package/dist/common/src/trigger.types.d.ts +15 -15
- package/dist/common/src/trigger.types.js +2 -2
- package/dist/common/src/types.d.ts +21 -21
- package/dist/common/src/types.js +2 -2
- package/dist/common/src/utils/array.d.ts +8 -8
- package/dist/common/src/utils/array.js +51 -51
- package/dist/common/src/utils/assert.d.ts +8 -8
- package/dist/common/src/utils/assert.js +49 -49
- package/dist/common/src/utils/error.d.ts +4 -4
- package/dist/common/src/utils/error.js +10 -10
- package/dist/common/src/utils/http.d.ts +2 -2
- package/dist/common/src/utils/http.js +40 -38
- package/dist/common/src/utils/http.js.map +1 -1
- package/dist/common/src/utils/id.d.ts +2 -2
- package/dist/common/src/utils/id.js +21 -21
- package/dist/common/src/utils/lock.manager.d.ts +9 -9
- package/dist/common/src/utils/lock.manager.js +39 -39
- package/dist/common/src/utils/nullish.d.ts +2 -2
- package/dist/common/src/utils/nullish.js +11 -11
- package/dist/common/src/utils/object.d.ts +5 -6
- package/dist/common/src/utils/object.js +75 -89
- package/dist/common/src/utils/object.js.map +1 -1
- package/dist/common/src/utils/serialization.d.ts +6 -6
- package/dist/common/src/utils/serialization.js +77 -77
- package/dist/common/src/utils/transforms.d.ts +18 -18
- package/dist/common/src/utils/transforms.js +92 -92
- package/dist/common/src/utils/url.d.ts +1 -1
- package/dist/common/src/utils/url.js +15 -15
- package/dist/common/src/utils/validation.d.ts +17 -17
- package/dist/common/src/utils/validation.js +209 -209
- package/dist/common/src/utils/validation.js.map +1 -1
- package/dist/common/src/webhook-response.d.ts +6 -7
- package/dist/common/src/webhook-response.js +2 -7
- package/dist/common/src/webhook-response.js.map +1 -1
- package/dist/internal-common/src/async-queue.d.ts +4 -4
- package/dist/internal-common/src/async-queue.js +17 -17
- package/dist/internal-common/src/code-executor.types.d.ts +13 -13
- package/dist/internal-common/src/code-executor.types.js +2 -2
- package/dist/internal-common/src/environment/environment.types.d.ts +74 -74
- package/dist/internal-common/src/environment/environment.types.js +2 -2
- package/dist/internal-common/src/environment/index.d.ts +6 -6
- package/dist/internal-common/src/environment/index.js +27 -27
- package/dist/internal-common/src/environment/local.environment.d.ts +2 -2
- package/dist/internal-common/src/environment/local.environment.js +62 -62
- package/dist/internal-common/src/filters/custom-exception.filter.d.ts +6 -6
- package/dist/internal-common/src/filters/custom-exception.filter.js +44 -44
- package/dist/internal-common/src/index.d.ts +14 -14
- package/dist/internal-common/src/index.js +32 -32
- package/dist/internal-common/src/interceptors/body.interceptor.d.ts +5 -5
- package/dist/internal-common/src/interceptors/body.interceptor.js +24 -24
- package/dist/internal-common/src/kafka/kafka.manager.d.ts +22 -22
- package/dist/internal-common/src/kafka/kafka.manager.js +129 -129
- package/dist/internal-common/src/kafka/kafka.types.d.ts +17 -17
- package/dist/internal-common/src/kafka/kafka.types.js +2 -2
- package/dist/internal-common/src/kafka-observability-publisher.d.ts +11 -11
- package/dist/internal-common/src/kafka-observability-publisher.js +20 -20
- package/dist/internal-common/src/local-dev.types.d.ts +31 -31
- package/dist/internal-common/src/local-dev.types.js +2 -2
- package/dist/internal-common/src/observability-publisher.d.ts +9 -9
- package/dist/internal-common/src/observability-publisher.js +58 -58
- package/dist/internal-common/src/observability.types.d.ts +17 -17
- package/dist/internal-common/src/observability.types.js +2 -2
- package/dist/internal-common/src/shutdown.manager.d.ts +20 -20
- package/dist/internal-common/src/shutdown.manager.js +75 -75
- package/dist/internal-common/src/utils.d.ts +5 -5
- package/dist/internal-common/src/utils.js +29 -29
- package/dist/local-backend/src/index.d.ts +4 -4
- package/dist/local-backend/src/index.js +20 -20
- package/dist/local-backend/src/local-backend-socket.service.d.ts +18 -18
- package/dist/local-backend/src/local-backend-socket.service.js +107 -108
- package/dist/local-backend/src/local-backend-socket.service.js.map +1 -1
- package/dist/local-backend/src/local-backend.app.d.ts +2 -2
- package/dist/local-backend/src/local-backend.app.js +19 -19
- package/dist/local-backend/src/local-backend.controller.d.ts +8 -8
- package/dist/local-backend/src/local-backend.controller.js +49 -49
- package/dist/local-backend/src/local-backend.module.d.ts +8 -8
- package/dist/local-backend/src/local-backend.module.js +53 -53
- package/dist/local-backend/src/local-backend.service.d.ts +15 -15
- package/dist/local-backend/src/local-backend.service.js +165 -165
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -1
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
export declare enum HttpStatus {
|
|
2
|
-
CONTINUE = 100,
|
|
3
|
-
SWITCHING_PROTOCOLS = 101,
|
|
4
|
-
PROCESSING = 102,
|
|
5
|
-
EARLYHINTS = 103,
|
|
6
|
-
OK = 200,
|
|
7
|
-
CREATED = 201,
|
|
8
|
-
ACCEPTED = 202,
|
|
9
|
-
NON_AUTHORITATIVE_INFORMATION = 203,
|
|
10
|
-
NO_CONTENT = 204,
|
|
11
|
-
RESET_CONTENT = 205,
|
|
12
|
-
PARTIAL_CONTENT = 206,
|
|
13
|
-
AMBIGUOUS = 300,
|
|
14
|
-
MOVED_PERMANENTLY = 301,
|
|
15
|
-
FOUND = 302,
|
|
16
|
-
SEE_OTHER = 303,
|
|
17
|
-
NOT_MODIFIED = 304,
|
|
18
|
-
TEMPORARY_REDIRECT = 307,
|
|
19
|
-
PERMANENT_REDIRECT = 308,
|
|
20
|
-
BAD_REQUEST = 400,
|
|
21
|
-
UNAUTHORIZED = 401,
|
|
22
|
-
PAYMENT_REQUIRED = 402,
|
|
23
|
-
FORBIDDEN = 403,
|
|
24
|
-
NOT_FOUND = 404,
|
|
25
|
-
METHOD_NOT_ALLOWED = 405,
|
|
26
|
-
NOT_ACCEPTABLE = 406,
|
|
27
|
-
PROXY_AUTHENTICATION_REQUIRED = 407,
|
|
28
|
-
REQUEST_TIMEOUT = 408,
|
|
29
|
-
CONFLICT = 409,
|
|
30
|
-
GONE = 410,
|
|
31
|
-
LENGTH_REQUIRED = 411,
|
|
32
|
-
PRECONDITION_FAILED = 412,
|
|
33
|
-
PAYLOAD_TOO_LARGE = 413,
|
|
34
|
-
URI_TOO_LONG = 414,
|
|
35
|
-
UNSUPPORTED_MEDIA_TYPE = 415,
|
|
36
|
-
REQUESTED_RANGE_NOT_SATISFIABLE = 416,
|
|
37
|
-
EXPECTATION_FAILED = 417,
|
|
38
|
-
I_AM_A_TEAPOT = 418,
|
|
39
|
-
MISDIRECTED = 421,
|
|
40
|
-
UNPROCESSABLE_ENTITY = 422,
|
|
41
|
-
FAILED_DEPENDENCY = 424,
|
|
42
|
-
PRECONDITION_REQUIRED = 428,
|
|
43
|
-
TOO_MANY_REQUESTS = 429,
|
|
44
|
-
INTERNAL_SERVER_ERROR = 500,
|
|
45
|
-
NOT_IMPLEMENTED = 501,
|
|
46
|
-
BAD_GATEWAY = 502,
|
|
47
|
-
SERVICE_UNAVAILABLE = 503,
|
|
48
|
-
GATEWAY_TIMEOUT = 504,
|
|
49
|
-
HTTP_VERSION_NOT_SUPPORTED = 505
|
|
50
|
-
}
|
|
1
|
+
export declare enum HttpStatus {
|
|
2
|
+
CONTINUE = 100,
|
|
3
|
+
SWITCHING_PROTOCOLS = 101,
|
|
4
|
+
PROCESSING = 102,
|
|
5
|
+
EARLYHINTS = 103,
|
|
6
|
+
OK = 200,
|
|
7
|
+
CREATED = 201,
|
|
8
|
+
ACCEPTED = 202,
|
|
9
|
+
NON_AUTHORITATIVE_INFORMATION = 203,
|
|
10
|
+
NO_CONTENT = 204,
|
|
11
|
+
RESET_CONTENT = 205,
|
|
12
|
+
PARTIAL_CONTENT = 206,
|
|
13
|
+
AMBIGUOUS = 300,
|
|
14
|
+
MOVED_PERMANENTLY = 301,
|
|
15
|
+
FOUND = 302,
|
|
16
|
+
SEE_OTHER = 303,
|
|
17
|
+
NOT_MODIFIED = 304,
|
|
18
|
+
TEMPORARY_REDIRECT = 307,
|
|
19
|
+
PERMANENT_REDIRECT = 308,
|
|
20
|
+
BAD_REQUEST = 400,
|
|
21
|
+
UNAUTHORIZED = 401,
|
|
22
|
+
PAYMENT_REQUIRED = 402,
|
|
23
|
+
FORBIDDEN = 403,
|
|
24
|
+
NOT_FOUND = 404,
|
|
25
|
+
METHOD_NOT_ALLOWED = 405,
|
|
26
|
+
NOT_ACCEPTABLE = 406,
|
|
27
|
+
PROXY_AUTHENTICATION_REQUIRED = 407,
|
|
28
|
+
REQUEST_TIMEOUT = 408,
|
|
29
|
+
CONFLICT = 409,
|
|
30
|
+
GONE = 410,
|
|
31
|
+
LENGTH_REQUIRED = 411,
|
|
32
|
+
PRECONDITION_FAILED = 412,
|
|
33
|
+
PAYLOAD_TOO_LARGE = 413,
|
|
34
|
+
URI_TOO_LONG = 414,
|
|
35
|
+
UNSUPPORTED_MEDIA_TYPE = 415,
|
|
36
|
+
REQUESTED_RANGE_NOT_SATISFIABLE = 416,
|
|
37
|
+
EXPECTATION_FAILED = 417,
|
|
38
|
+
I_AM_A_TEAPOT = 418,
|
|
39
|
+
MISDIRECTED = 421,
|
|
40
|
+
UNPROCESSABLE_ENTITY = 422,
|
|
41
|
+
FAILED_DEPENDENCY = 424,
|
|
42
|
+
PRECONDITION_REQUIRED = 428,
|
|
43
|
+
TOO_MANY_REQUESTS = 429,
|
|
44
|
+
INTERNAL_SERVER_ERROR = 500,
|
|
45
|
+
NOT_IMPLEMENTED = 501,
|
|
46
|
+
BAD_GATEWAY = 502,
|
|
47
|
+
SERVICE_UNAVAILABLE = 503,
|
|
48
|
+
GATEWAY_TIMEOUT = 504,
|
|
49
|
+
HTTP_VERSION_NOT_SUPPORTED = 505
|
|
50
|
+
}
|
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.HttpStatus = void 0;
|
|
4
|
-
var HttpStatus;
|
|
5
|
-
(function (HttpStatus) {
|
|
6
|
-
HttpStatus[HttpStatus["CONTINUE"] = 100] = "CONTINUE";
|
|
7
|
-
HttpStatus[HttpStatus["SWITCHING_PROTOCOLS"] = 101] = "SWITCHING_PROTOCOLS";
|
|
8
|
-
HttpStatus[HttpStatus["PROCESSING"] = 102] = "PROCESSING";
|
|
9
|
-
HttpStatus[HttpStatus["EARLYHINTS"] = 103] = "EARLYHINTS";
|
|
10
|
-
HttpStatus[HttpStatus["OK"] = 200] = "OK";
|
|
11
|
-
HttpStatus[HttpStatus["CREATED"] = 201] = "CREATED";
|
|
12
|
-
HttpStatus[HttpStatus["ACCEPTED"] = 202] = "ACCEPTED";
|
|
13
|
-
HttpStatus[HttpStatus["NON_AUTHORITATIVE_INFORMATION"] = 203] = "NON_AUTHORITATIVE_INFORMATION";
|
|
14
|
-
HttpStatus[HttpStatus["NO_CONTENT"] = 204] = "NO_CONTENT";
|
|
15
|
-
HttpStatus[HttpStatus["RESET_CONTENT"] = 205] = "RESET_CONTENT";
|
|
16
|
-
HttpStatus[HttpStatus["PARTIAL_CONTENT"] = 206] = "PARTIAL_CONTENT";
|
|
17
|
-
HttpStatus[HttpStatus["AMBIGUOUS"] = 300] = "AMBIGUOUS";
|
|
18
|
-
HttpStatus[HttpStatus["MOVED_PERMANENTLY"] = 301] = "MOVED_PERMANENTLY";
|
|
19
|
-
HttpStatus[HttpStatus["FOUND"] = 302] = "FOUND";
|
|
20
|
-
HttpStatus[HttpStatus["SEE_OTHER"] = 303] = "SEE_OTHER";
|
|
21
|
-
HttpStatus[HttpStatus["NOT_MODIFIED"] = 304] = "NOT_MODIFIED";
|
|
22
|
-
HttpStatus[HttpStatus["TEMPORARY_REDIRECT"] = 307] = "TEMPORARY_REDIRECT";
|
|
23
|
-
HttpStatus[HttpStatus["PERMANENT_REDIRECT"] = 308] = "PERMANENT_REDIRECT";
|
|
24
|
-
HttpStatus[HttpStatus["BAD_REQUEST"] = 400] = "BAD_REQUEST";
|
|
25
|
-
HttpStatus[HttpStatus["UNAUTHORIZED"] = 401] = "UNAUTHORIZED";
|
|
26
|
-
HttpStatus[HttpStatus["PAYMENT_REQUIRED"] = 402] = "PAYMENT_REQUIRED";
|
|
27
|
-
HttpStatus[HttpStatus["FORBIDDEN"] = 403] = "FORBIDDEN";
|
|
28
|
-
HttpStatus[HttpStatus["NOT_FOUND"] = 404] = "NOT_FOUND";
|
|
29
|
-
HttpStatus[HttpStatus["METHOD_NOT_ALLOWED"] = 405] = "METHOD_NOT_ALLOWED";
|
|
30
|
-
HttpStatus[HttpStatus["NOT_ACCEPTABLE"] = 406] = "NOT_ACCEPTABLE";
|
|
31
|
-
HttpStatus[HttpStatus["PROXY_AUTHENTICATION_REQUIRED"] = 407] = "PROXY_AUTHENTICATION_REQUIRED";
|
|
32
|
-
HttpStatus[HttpStatus["REQUEST_TIMEOUT"] = 408] = "REQUEST_TIMEOUT";
|
|
33
|
-
HttpStatus[HttpStatus["CONFLICT"] = 409] = "CONFLICT";
|
|
34
|
-
HttpStatus[HttpStatus["GONE"] = 410] = "GONE";
|
|
35
|
-
HttpStatus[HttpStatus["LENGTH_REQUIRED"] = 411] = "LENGTH_REQUIRED";
|
|
36
|
-
HttpStatus[HttpStatus["PRECONDITION_FAILED"] = 412] = "PRECONDITION_FAILED";
|
|
37
|
-
HttpStatus[HttpStatus["PAYLOAD_TOO_LARGE"] = 413] = "PAYLOAD_TOO_LARGE";
|
|
38
|
-
HttpStatus[HttpStatus["URI_TOO_LONG"] = 414] = "URI_TOO_LONG";
|
|
39
|
-
HttpStatus[HttpStatus["UNSUPPORTED_MEDIA_TYPE"] = 415] = "UNSUPPORTED_MEDIA_TYPE";
|
|
40
|
-
HttpStatus[HttpStatus["REQUESTED_RANGE_NOT_SATISFIABLE"] = 416] = "REQUESTED_RANGE_NOT_SATISFIABLE";
|
|
41
|
-
HttpStatus[HttpStatus["EXPECTATION_FAILED"] = 417] = "EXPECTATION_FAILED";
|
|
42
|
-
HttpStatus[HttpStatus["I_AM_A_TEAPOT"] = 418] = "I_AM_A_TEAPOT";
|
|
43
|
-
HttpStatus[HttpStatus["MISDIRECTED"] = 421] = "MISDIRECTED";
|
|
44
|
-
HttpStatus[HttpStatus["UNPROCESSABLE_ENTITY"] = 422] = "UNPROCESSABLE_ENTITY";
|
|
45
|
-
HttpStatus[HttpStatus["FAILED_DEPENDENCY"] = 424] = "FAILED_DEPENDENCY";
|
|
46
|
-
HttpStatus[HttpStatus["PRECONDITION_REQUIRED"] = 428] = "PRECONDITION_REQUIRED";
|
|
47
|
-
HttpStatus[HttpStatus["TOO_MANY_REQUESTS"] = 429] = "TOO_MANY_REQUESTS";
|
|
48
|
-
HttpStatus[HttpStatus["INTERNAL_SERVER_ERROR"] = 500] = "INTERNAL_SERVER_ERROR";
|
|
49
|
-
HttpStatus[HttpStatus["NOT_IMPLEMENTED"] = 501] = "NOT_IMPLEMENTED";
|
|
50
|
-
HttpStatus[HttpStatus["BAD_GATEWAY"] = 502] = "BAD_GATEWAY";
|
|
51
|
-
HttpStatus[HttpStatus["SERVICE_UNAVAILABLE"] = 503] = "SERVICE_UNAVAILABLE";
|
|
52
|
-
HttpStatus[HttpStatus["GATEWAY_TIMEOUT"] = 504] = "GATEWAY_TIMEOUT";
|
|
53
|
-
HttpStatus[HttpStatus["HTTP_VERSION_NOT_SUPPORTED"] = 505] = "HTTP_VERSION_NOT_SUPPORTED";
|
|
54
|
-
})(HttpStatus = exports.HttpStatus || (exports.HttpStatus = {}));
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.HttpStatus = void 0;
|
|
4
|
+
var HttpStatus;
|
|
5
|
+
(function (HttpStatus) {
|
|
6
|
+
HttpStatus[HttpStatus["CONTINUE"] = 100] = "CONTINUE";
|
|
7
|
+
HttpStatus[HttpStatus["SWITCHING_PROTOCOLS"] = 101] = "SWITCHING_PROTOCOLS";
|
|
8
|
+
HttpStatus[HttpStatus["PROCESSING"] = 102] = "PROCESSING";
|
|
9
|
+
HttpStatus[HttpStatus["EARLYHINTS"] = 103] = "EARLYHINTS";
|
|
10
|
+
HttpStatus[HttpStatus["OK"] = 200] = "OK";
|
|
11
|
+
HttpStatus[HttpStatus["CREATED"] = 201] = "CREATED";
|
|
12
|
+
HttpStatus[HttpStatus["ACCEPTED"] = 202] = "ACCEPTED";
|
|
13
|
+
HttpStatus[HttpStatus["NON_AUTHORITATIVE_INFORMATION"] = 203] = "NON_AUTHORITATIVE_INFORMATION";
|
|
14
|
+
HttpStatus[HttpStatus["NO_CONTENT"] = 204] = "NO_CONTENT";
|
|
15
|
+
HttpStatus[HttpStatus["RESET_CONTENT"] = 205] = "RESET_CONTENT";
|
|
16
|
+
HttpStatus[HttpStatus["PARTIAL_CONTENT"] = 206] = "PARTIAL_CONTENT";
|
|
17
|
+
HttpStatus[HttpStatus["AMBIGUOUS"] = 300] = "AMBIGUOUS";
|
|
18
|
+
HttpStatus[HttpStatus["MOVED_PERMANENTLY"] = 301] = "MOVED_PERMANENTLY";
|
|
19
|
+
HttpStatus[HttpStatus["FOUND"] = 302] = "FOUND";
|
|
20
|
+
HttpStatus[HttpStatus["SEE_OTHER"] = 303] = "SEE_OTHER";
|
|
21
|
+
HttpStatus[HttpStatus["NOT_MODIFIED"] = 304] = "NOT_MODIFIED";
|
|
22
|
+
HttpStatus[HttpStatus["TEMPORARY_REDIRECT"] = 307] = "TEMPORARY_REDIRECT";
|
|
23
|
+
HttpStatus[HttpStatus["PERMANENT_REDIRECT"] = 308] = "PERMANENT_REDIRECT";
|
|
24
|
+
HttpStatus[HttpStatus["BAD_REQUEST"] = 400] = "BAD_REQUEST";
|
|
25
|
+
HttpStatus[HttpStatus["UNAUTHORIZED"] = 401] = "UNAUTHORIZED";
|
|
26
|
+
HttpStatus[HttpStatus["PAYMENT_REQUIRED"] = 402] = "PAYMENT_REQUIRED";
|
|
27
|
+
HttpStatus[HttpStatus["FORBIDDEN"] = 403] = "FORBIDDEN";
|
|
28
|
+
HttpStatus[HttpStatus["NOT_FOUND"] = 404] = "NOT_FOUND";
|
|
29
|
+
HttpStatus[HttpStatus["METHOD_NOT_ALLOWED"] = 405] = "METHOD_NOT_ALLOWED";
|
|
30
|
+
HttpStatus[HttpStatus["NOT_ACCEPTABLE"] = 406] = "NOT_ACCEPTABLE";
|
|
31
|
+
HttpStatus[HttpStatus["PROXY_AUTHENTICATION_REQUIRED"] = 407] = "PROXY_AUTHENTICATION_REQUIRED";
|
|
32
|
+
HttpStatus[HttpStatus["REQUEST_TIMEOUT"] = 408] = "REQUEST_TIMEOUT";
|
|
33
|
+
HttpStatus[HttpStatus["CONFLICT"] = 409] = "CONFLICT";
|
|
34
|
+
HttpStatus[HttpStatus["GONE"] = 410] = "GONE";
|
|
35
|
+
HttpStatus[HttpStatus["LENGTH_REQUIRED"] = 411] = "LENGTH_REQUIRED";
|
|
36
|
+
HttpStatus[HttpStatus["PRECONDITION_FAILED"] = 412] = "PRECONDITION_FAILED";
|
|
37
|
+
HttpStatus[HttpStatus["PAYLOAD_TOO_LARGE"] = 413] = "PAYLOAD_TOO_LARGE";
|
|
38
|
+
HttpStatus[HttpStatus["URI_TOO_LONG"] = 414] = "URI_TOO_LONG";
|
|
39
|
+
HttpStatus[HttpStatus["UNSUPPORTED_MEDIA_TYPE"] = 415] = "UNSUPPORTED_MEDIA_TYPE";
|
|
40
|
+
HttpStatus[HttpStatus["REQUESTED_RANGE_NOT_SATISFIABLE"] = 416] = "REQUESTED_RANGE_NOT_SATISFIABLE";
|
|
41
|
+
HttpStatus[HttpStatus["EXPECTATION_FAILED"] = 417] = "EXPECTATION_FAILED";
|
|
42
|
+
HttpStatus[HttpStatus["I_AM_A_TEAPOT"] = 418] = "I_AM_A_TEAPOT";
|
|
43
|
+
HttpStatus[HttpStatus["MISDIRECTED"] = 421] = "MISDIRECTED";
|
|
44
|
+
HttpStatus[HttpStatus["UNPROCESSABLE_ENTITY"] = 422] = "UNPROCESSABLE_ENTITY";
|
|
45
|
+
HttpStatus[HttpStatus["FAILED_DEPENDENCY"] = 424] = "FAILED_DEPENDENCY";
|
|
46
|
+
HttpStatus[HttpStatus["PRECONDITION_REQUIRED"] = 428] = "PRECONDITION_REQUIRED";
|
|
47
|
+
HttpStatus[HttpStatus["TOO_MANY_REQUESTS"] = 429] = "TOO_MANY_REQUESTS";
|
|
48
|
+
HttpStatus[HttpStatus["INTERNAL_SERVER_ERROR"] = 500] = "INTERNAL_SERVER_ERROR";
|
|
49
|
+
HttpStatus[HttpStatus["NOT_IMPLEMENTED"] = 501] = "NOT_IMPLEMENTED";
|
|
50
|
+
HttpStatus[HttpStatus["BAD_GATEWAY"] = 502] = "BAD_GATEWAY";
|
|
51
|
+
HttpStatus[HttpStatus["SERVICE_UNAVAILABLE"] = 503] = "SERVICE_UNAVAILABLE";
|
|
52
|
+
HttpStatus[HttpStatus["GATEWAY_TIMEOUT"] = 504] = "GATEWAY_TIMEOUT";
|
|
53
|
+
HttpStatus[HttpStatus["HTTP_VERSION_NOT_SUPPORTED"] = 505] = "HTTP_VERSION_NOT_SUPPORTED";
|
|
54
|
+
})(HttpStatus = exports.HttpStatus || (exports.HttpStatus = {}));
|
|
55
55
|
//# sourceMappingURL=http-status.enum.js.map
|
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
export * from './ai-assistant.schemas';
|
|
2
|
-
export * from './ai-assistant.types';
|
|
3
|
-
export * from './api-call.context';
|
|
4
|
-
export * from './api.types';
|
|
5
|
-
export * from './application.schemas';
|
|
6
|
-
export * from './application.types';
|
|
7
|
-
export * from './backend-function.schemas';
|
|
8
|
-
export * from './backend-function.types';
|
|
9
|
-
export * from './backend-run.types';
|
|
10
|
-
export * from './bundle-api.types';
|
|
11
|
-
export * from './bundle-data.types';
|
|
12
|
-
export * from './communication.types';
|
|
13
|
-
export * from './context.types';
|
|
14
|
-
export * from './distributed-lock.context';
|
|
15
|
-
export * from './document.types';
|
|
16
|
-
export * from './graphql.context';
|
|
17
|
-
export * from './graphql.types';
|
|
18
|
-
export * from './http-status.enum';
|
|
19
|
-
export * from './integrations';
|
|
20
|
-
export * from './logger.types';
|
|
21
|
-
export * from './metrics.types';
|
|
22
|
-
export * from './mutation.context';
|
|
23
|
-
export * from './mutation.schemas';
|
|
24
|
-
export * from './mutation.types';
|
|
25
|
-
export * from './named-query.context';
|
|
26
|
-
export * from './named-query.schemas';
|
|
27
|
-
export * from './named-query.types';
|
|
28
|
-
export * from './query';
|
|
29
|
-
export * from './query.types';
|
|
30
|
-
export * from './regions';
|
|
31
|
-
export * from './schema/schema.types';
|
|
32
|
-
export * from './secret.schemas';
|
|
33
|
-
export * from './secret.types';
|
|
34
|
-
export * from './security.types';
|
|
35
|
-
export * from './socket.schemas';
|
|
36
|
-
export * from './socket.types';
|
|
37
|
-
export * from './time-units';
|
|
38
|
-
export * from './trigger.types';
|
|
39
|
-
export * from './types';
|
|
40
|
-
export * from './utils/array';
|
|
41
|
-
export * from './utils/assert';
|
|
42
|
-
export * from './utils/error';
|
|
43
|
-
export * from './utils/http';
|
|
44
|
-
export * from './utils/id';
|
|
45
|
-
export * from './utils/lock.manager';
|
|
46
|
-
export * from './utils/nullish';
|
|
47
|
-
export * from './utils/object';
|
|
48
|
-
export * from './utils/serialization';
|
|
49
|
-
export * from './utils/transforms';
|
|
50
|
-
export * from './utils/url';
|
|
51
|
-
export * from './utils/validation';
|
|
52
|
-
export * from './webhook-response';
|
|
53
|
-
export * from './heartbeat.types';
|
|
1
|
+
export * from './ai-assistant.schemas';
|
|
2
|
+
export * from './ai-assistant.types';
|
|
3
|
+
export * from './api-call.context';
|
|
4
|
+
export * from './api.types';
|
|
5
|
+
export * from './application.schemas';
|
|
6
|
+
export * from './application.types';
|
|
7
|
+
export * from './backend-function.schemas';
|
|
8
|
+
export * from './backend-function.types';
|
|
9
|
+
export * from './backend-run.types';
|
|
10
|
+
export * from './bundle-api.types';
|
|
11
|
+
export * from './bundle-data.types';
|
|
12
|
+
export * from './communication.types';
|
|
13
|
+
export * from './context.types';
|
|
14
|
+
export * from './distributed-lock.context';
|
|
15
|
+
export * from './document.types';
|
|
16
|
+
export * from './graphql.context';
|
|
17
|
+
export * from './graphql.types';
|
|
18
|
+
export * from './http-status.enum';
|
|
19
|
+
export * from './integrations';
|
|
20
|
+
export * from './logger.types';
|
|
21
|
+
export * from './metrics.types';
|
|
22
|
+
export * from './mutation.context';
|
|
23
|
+
export * from './mutation.schemas';
|
|
24
|
+
export * from './mutation.types';
|
|
25
|
+
export * from './named-query.context';
|
|
26
|
+
export * from './named-query.schemas';
|
|
27
|
+
export * from './named-query.types';
|
|
28
|
+
export * from './query';
|
|
29
|
+
export * from './query.types';
|
|
30
|
+
export * from './regions';
|
|
31
|
+
export * from './schema/schema.types';
|
|
32
|
+
export * from './secret.schemas';
|
|
33
|
+
export * from './secret.types';
|
|
34
|
+
export * from './security.types';
|
|
35
|
+
export * from './socket.schemas';
|
|
36
|
+
export * from './socket.types';
|
|
37
|
+
export * from './time-units';
|
|
38
|
+
export * from './trigger.types';
|
|
39
|
+
export * from './types';
|
|
40
|
+
export * from './utils/array';
|
|
41
|
+
export * from './utils/assert';
|
|
42
|
+
export * from './utils/error';
|
|
43
|
+
export * from './utils/http';
|
|
44
|
+
export * from './utils/id';
|
|
45
|
+
export * from './utils/lock.manager';
|
|
46
|
+
export * from './utils/nullish';
|
|
47
|
+
export * from './utils/object';
|
|
48
|
+
export * from './utils/serialization';
|
|
49
|
+
export * from './utils/transforms';
|
|
50
|
+
export * from './utils/url';
|
|
51
|
+
export * from './utils/validation';
|
|
52
|
+
export * from './webhook-response';
|
|
53
|
+
export * from './heartbeat.types';
|
package/dist/common/src/index.js
CHANGED
|
@@ -1,70 +1,70 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./ai-assistant.schemas"), exports);
|
|
18
|
-
__exportStar(require("./ai-assistant.types"), exports);
|
|
19
|
-
__exportStar(require("./api-call.context"), exports);
|
|
20
|
-
__exportStar(require("./api.types"), exports);
|
|
21
|
-
__exportStar(require("./application.schemas"), exports);
|
|
22
|
-
__exportStar(require("./application.types"), exports);
|
|
23
|
-
__exportStar(require("./backend-function.schemas"), exports);
|
|
24
|
-
__exportStar(require("./backend-function.types"), exports);
|
|
25
|
-
__exportStar(require("./backend-run.types"), exports);
|
|
26
|
-
__exportStar(require("./bundle-api.types"), exports);
|
|
27
|
-
__exportStar(require("./bundle-data.types"), exports);
|
|
28
|
-
__exportStar(require("./communication.types"), exports);
|
|
29
|
-
__exportStar(require("./context.types"), exports);
|
|
30
|
-
__exportStar(require("./distributed-lock.context"), exports);
|
|
31
|
-
__exportStar(require("./document.types"), exports);
|
|
32
|
-
__exportStar(require("./graphql.context"), exports);
|
|
33
|
-
__exportStar(require("./graphql.types"), exports);
|
|
34
|
-
__exportStar(require("./http-status.enum"), exports);
|
|
35
|
-
__exportStar(require("./integrations"), exports);
|
|
36
|
-
__exportStar(require("./logger.types"), exports);
|
|
37
|
-
__exportStar(require("./metrics.types"), exports);
|
|
38
|
-
__exportStar(require("./mutation.context"), exports);
|
|
39
|
-
__exportStar(require("./mutation.schemas"), exports);
|
|
40
|
-
__exportStar(require("./mutation.types"), exports);
|
|
41
|
-
__exportStar(require("./named-query.context"), exports);
|
|
42
|
-
__exportStar(require("./named-query.schemas"), exports);
|
|
43
|
-
__exportStar(require("./named-query.types"), exports);
|
|
44
|
-
__exportStar(require("./query"), exports);
|
|
45
|
-
__exportStar(require("./query.types"), exports);
|
|
46
|
-
__exportStar(require("./regions"), exports);
|
|
47
|
-
__exportStar(require("./schema/schema.types"), exports);
|
|
48
|
-
__exportStar(require("./secret.schemas"), exports);
|
|
49
|
-
__exportStar(require("./secret.types"), exports);
|
|
50
|
-
__exportStar(require("./security.types"), exports);
|
|
51
|
-
__exportStar(require("./socket.schemas"), exports);
|
|
52
|
-
__exportStar(require("./socket.types"), exports);
|
|
53
|
-
__exportStar(require("./time-units"), exports);
|
|
54
|
-
__exportStar(require("./trigger.types"), exports);
|
|
55
|
-
__exportStar(require("./types"), exports);
|
|
56
|
-
__exportStar(require("./utils/array"), exports);
|
|
57
|
-
__exportStar(require("./utils/assert"), exports);
|
|
58
|
-
__exportStar(require("./utils/error"), exports);
|
|
59
|
-
__exportStar(require("./utils/http"), exports);
|
|
60
|
-
__exportStar(require("./utils/id"), exports);
|
|
61
|
-
__exportStar(require("./utils/lock.manager"), exports);
|
|
62
|
-
__exportStar(require("./utils/nullish"), exports);
|
|
63
|
-
__exportStar(require("./utils/object"), exports);
|
|
64
|
-
__exportStar(require("./utils/serialization"), exports);
|
|
65
|
-
__exportStar(require("./utils/transforms"), exports);
|
|
66
|
-
__exportStar(require("./utils/url"), exports);
|
|
67
|
-
__exportStar(require("./utils/validation"), exports);
|
|
68
|
-
__exportStar(require("./webhook-response"), exports);
|
|
69
|
-
__exportStar(require("./heartbeat.types"), exports);
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./ai-assistant.schemas"), exports);
|
|
18
|
+
__exportStar(require("./ai-assistant.types"), exports);
|
|
19
|
+
__exportStar(require("./api-call.context"), exports);
|
|
20
|
+
__exportStar(require("./api.types"), exports);
|
|
21
|
+
__exportStar(require("./application.schemas"), exports);
|
|
22
|
+
__exportStar(require("./application.types"), exports);
|
|
23
|
+
__exportStar(require("./backend-function.schemas"), exports);
|
|
24
|
+
__exportStar(require("./backend-function.types"), exports);
|
|
25
|
+
__exportStar(require("./backend-run.types"), exports);
|
|
26
|
+
__exportStar(require("./bundle-api.types"), exports);
|
|
27
|
+
__exportStar(require("./bundle-data.types"), exports);
|
|
28
|
+
__exportStar(require("./communication.types"), exports);
|
|
29
|
+
__exportStar(require("./context.types"), exports);
|
|
30
|
+
__exportStar(require("./distributed-lock.context"), exports);
|
|
31
|
+
__exportStar(require("./document.types"), exports);
|
|
32
|
+
__exportStar(require("./graphql.context"), exports);
|
|
33
|
+
__exportStar(require("./graphql.types"), exports);
|
|
34
|
+
__exportStar(require("./http-status.enum"), exports);
|
|
35
|
+
__exportStar(require("./integrations"), exports);
|
|
36
|
+
__exportStar(require("./logger.types"), exports);
|
|
37
|
+
__exportStar(require("./metrics.types"), exports);
|
|
38
|
+
__exportStar(require("./mutation.context"), exports);
|
|
39
|
+
__exportStar(require("./mutation.schemas"), exports);
|
|
40
|
+
__exportStar(require("./mutation.types"), exports);
|
|
41
|
+
__exportStar(require("./named-query.context"), exports);
|
|
42
|
+
__exportStar(require("./named-query.schemas"), exports);
|
|
43
|
+
__exportStar(require("./named-query.types"), exports);
|
|
44
|
+
__exportStar(require("./query"), exports);
|
|
45
|
+
__exportStar(require("./query.types"), exports);
|
|
46
|
+
__exportStar(require("./regions"), exports);
|
|
47
|
+
__exportStar(require("./schema/schema.types"), exports);
|
|
48
|
+
__exportStar(require("./secret.schemas"), exports);
|
|
49
|
+
__exportStar(require("./secret.types"), exports);
|
|
50
|
+
__exportStar(require("./security.types"), exports);
|
|
51
|
+
__exportStar(require("./socket.schemas"), exports);
|
|
52
|
+
__exportStar(require("./socket.types"), exports);
|
|
53
|
+
__exportStar(require("./time-units"), exports);
|
|
54
|
+
__exportStar(require("./trigger.types"), exports);
|
|
55
|
+
__exportStar(require("./types"), exports);
|
|
56
|
+
__exportStar(require("./utils/array"), exports);
|
|
57
|
+
__exportStar(require("./utils/assert"), exports);
|
|
58
|
+
__exportStar(require("./utils/error"), exports);
|
|
59
|
+
__exportStar(require("./utils/http"), exports);
|
|
60
|
+
__exportStar(require("./utils/id"), exports);
|
|
61
|
+
__exportStar(require("./utils/lock.manager"), exports);
|
|
62
|
+
__exportStar(require("./utils/nullish"), exports);
|
|
63
|
+
__exportStar(require("./utils/object"), exports);
|
|
64
|
+
__exportStar(require("./utils/serialization"), exports);
|
|
65
|
+
__exportStar(require("./utils/transforms"), exports);
|
|
66
|
+
__exportStar(require("./utils/url"), exports);
|
|
67
|
+
__exportStar(require("./utils/validation"), exports);
|
|
68
|
+
__exportStar(require("./webhook-response"), exports);
|
|
69
|
+
__exportStar(require("./heartbeat.types"), exports);
|
|
70
70
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { BaseIntegrationConfig, IntegrationType } from './index';
|
|
2
|
-
import { IntegrationId } from '../communication.types';
|
|
3
|
-
export interface AiAssistantIntegrationConfig extends BaseIntegrationConfig {
|
|
4
|
-
type: IntegrationType.ai_assistant;
|
|
5
|
-
configuration: AiAssistantConfiguration;
|
|
6
|
-
schema: IntegrationAiAssistantSchema;
|
|
7
|
-
}
|
|
8
|
-
export type AiAssistantConfiguration = {
|
|
9
|
-
apiKey?: string;
|
|
10
|
-
};
|
|
11
|
-
export type AiAssistantProfile = {
|
|
12
|
-
modelName: string;
|
|
13
|
-
strictContext: boolean;
|
|
14
|
-
instructions: Record<string, string>;
|
|
15
|
-
contexts: Record<string, AiAssistantContextMetadata>;
|
|
16
|
-
};
|
|
17
|
-
export type AiAssistantContextMetadata = {
|
|
18
|
-
title: string;
|
|
19
|
-
text: string;
|
|
20
|
-
preview: boolean;
|
|
21
|
-
};
|
|
22
|
-
export interface IntegrationAiAssistantSchema {
|
|
23
|
-
profiles: Record<string, AiAssistantProfile>;
|
|
24
|
-
}
|
|
25
|
-
export interface DiscoverAiAssistantSchemaRequest {
|
|
26
|
-
integrationId: IntegrationId;
|
|
27
|
-
}
|
|
28
|
-
export interface DiscoverAiAssistantSchemaResponse {
|
|
29
|
-
schema: IntegrationAiAssistantSchema;
|
|
30
|
-
}
|
|
1
|
+
import { BaseIntegrationConfig, IntegrationType } from './index';
|
|
2
|
+
import { IntegrationId } from '../communication.types';
|
|
3
|
+
export interface AiAssistantIntegrationConfig extends BaseIntegrationConfig {
|
|
4
|
+
type: IntegrationType.ai_assistant;
|
|
5
|
+
configuration: AiAssistantConfiguration;
|
|
6
|
+
schema: IntegrationAiAssistantSchema;
|
|
7
|
+
}
|
|
8
|
+
export type AiAssistantConfiguration = {
|
|
9
|
+
apiKey?: string;
|
|
10
|
+
};
|
|
11
|
+
export type AiAssistantProfile = {
|
|
12
|
+
modelName: string;
|
|
13
|
+
strictContext: boolean;
|
|
14
|
+
instructions: Record<string, string>;
|
|
15
|
+
contexts: Record<string, AiAssistantContextMetadata>;
|
|
16
|
+
};
|
|
17
|
+
export type AiAssistantContextMetadata = {
|
|
18
|
+
title: string;
|
|
19
|
+
text: string;
|
|
20
|
+
preview: boolean;
|
|
21
|
+
};
|
|
22
|
+
export interface IntegrationAiAssistantSchema {
|
|
23
|
+
profiles: Record<string, AiAssistantProfile>;
|
|
24
|
+
}
|
|
25
|
+
export interface DiscoverAiAssistantSchemaRequest {
|
|
26
|
+
integrationId: IntegrationId;
|
|
27
|
+
}
|
|
28
|
+
export interface DiscoverAiAssistantSchemaResponse {
|
|
29
|
+
schema: IntegrationAiAssistantSchema;
|
|
30
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=ai_assistant.types.js.map
|