@squidcloud/local-backend 1.0.142 → 1.0.143

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 (173) hide show
  1. package/dist/common/src/ai-assistant.types.d.ts +34 -128
  2. package/dist/common/src/ai-assistant.types.js +2 -17
  3. package/dist/common/src/ai-assistant.types.js.map +1 -1
  4. package/dist/common/src/ai-chatbot.context.d.ts +13 -0
  5. package/dist/common/src/{ai-assistant.context.js → ai-chatbot.context.js} +20 -20
  6. package/dist/common/src/ai-chatbot.context.js.map +1 -0
  7. package/dist/common/src/ai-chatbot.schemas.d.ts +18 -0
  8. package/dist/common/src/ai-chatbot.schemas.js +22 -0
  9. package/dist/common/src/ai-chatbot.schemas.js.map +1 -0
  10. package/dist/common/src/ai-chatbot.types.d.ts +121 -0
  11. package/dist/common/src/ai-chatbot.types.js +18 -0
  12. package/dist/common/src/ai-chatbot.types.js.map +1 -0
  13. package/dist/common/src/api-call.context.d.ts +13 -13
  14. package/dist/common/src/api-call.context.js +16 -16
  15. package/dist/common/src/api.types.d.ts +22 -22
  16. package/dist/common/src/api.types.js +2 -2
  17. package/dist/common/src/application.schemas.d.ts +1648 -1648
  18. package/dist/common/src/application.schemas.js +1001 -1001
  19. package/dist/common/src/application.schemas.js.map +1 -1
  20. package/dist/common/src/application.types.d.ts +193 -193
  21. package/dist/common/src/application.types.js +89 -89
  22. package/dist/common/src/backend-function.schemas.d.ts +3 -3
  23. package/dist/common/src/backend-function.schemas.js +11 -11
  24. package/dist/common/src/backend-function.types.d.ts +4 -4
  25. package/dist/common/src/backend-function.types.js +2 -2
  26. package/dist/common/src/backend-run.types.d.ts +54 -54
  27. package/dist/common/src/backend-run.types.js +95 -95
  28. package/dist/common/src/backend-run.types.js.map +1 -1
  29. package/dist/common/src/bundle-api.types.d.ts +69 -68
  30. package/dist/common/src/bundle-api.types.js +2 -2
  31. package/dist/common/src/bundle-data.types.d.ts +74 -61
  32. package/dist/common/src/bundle-data.types.js +2 -2
  33. package/dist/common/src/communication.types.d.ts +19 -19
  34. package/dist/common/src/communication.types.js +40 -40
  35. package/dist/common/src/context.types.d.ts +24 -24
  36. package/dist/common/src/context.types.js +2 -2
  37. package/dist/common/src/distributed-lock.context.d.ts +4 -4
  38. package/dist/common/src/distributed-lock.context.js +9 -9
  39. package/dist/common/src/document.types.d.ts +32 -32
  40. package/dist/common/src/document.types.js +50 -50
  41. package/dist/common/src/graphql.context.d.ts +14 -14
  42. package/dist/common/src/graphql.context.js +12 -12
  43. package/dist/common/src/graphql.types.d.ts +11 -11
  44. package/dist/common/src/graphql.types.js +34 -34
  45. package/dist/common/src/heartbeat.types.d.ts +4 -4
  46. package/dist/common/src/heartbeat.types.js +16 -16
  47. package/dist/common/src/http-status.enum.d.ts +50 -50
  48. package/dist/common/src/http-status.enum.js +54 -54
  49. package/dist/common/src/index.d.ts +57 -56
  50. package/dist/common/src/index.js +73 -72
  51. package/dist/common/src/index.js.map +1 -1
  52. package/dist/common/src/integrations/ai_chatbot.types.d.ts +31 -0
  53. package/dist/common/src/integrations/{ai_assistant.types.js → ai_chatbot.types.js} +3 -3
  54. package/dist/common/src/integrations/ai_chatbot.types.js.map +1 -0
  55. package/dist/common/src/integrations/api.types.d.ts +80 -80
  56. package/dist/common/src/integrations/api.types.js +2 -2
  57. package/dist/common/src/integrations/auth.types.d.ts +39 -39
  58. package/dist/common/src/integrations/auth.types.js +2 -2
  59. package/dist/common/src/integrations/database.types.d.ts +274 -274
  60. package/dist/common/src/integrations/database.types.js +2 -2
  61. package/dist/common/src/integrations/index.d.ts +134 -134
  62. package/dist/common/src/integrations/index.js +119 -119
  63. package/dist/common/src/integrations/index.js.map +1 -1
  64. package/dist/common/src/integrations/observability.types.d.ts +23 -23
  65. package/dist/common/src/integrations/observability.types.js +23 -23
  66. package/dist/common/src/logger.types.d.ts +21 -21
  67. package/dist/common/src/logger.types.js +11 -11
  68. package/dist/common/src/metrics.types.d.ts +73 -73
  69. package/dist/common/src/metrics.types.js +11 -11
  70. package/dist/common/src/mutation.context.d.ts +13 -13
  71. package/dist/common/src/mutation.context.js +26 -26
  72. package/dist/common/src/mutation.schemas.d.ts +5 -5
  73. package/dist/common/src/mutation.schemas.js +114 -114
  74. package/dist/common/src/mutation.types.d.ts +63 -63
  75. package/dist/common/src/mutation.types.js +142 -142
  76. package/dist/common/src/named-query.context.d.ts +4 -4
  77. package/dist/common/src/named-query.context.js +9 -9
  78. package/dist/common/src/named-query.schemas.d.ts +3 -3
  79. package/dist/common/src/named-query.schemas.js +13 -13
  80. package/dist/common/src/named-query.types.d.ts +8 -8
  81. package/dist/common/src/named-query.types.js +2 -2
  82. package/dist/common/src/native-query.context.d.ts +7 -7
  83. package/dist/common/src/native-query.context.js +11 -11
  84. package/dist/common/src/native-query.types.d.ts +16 -16
  85. package/dist/common/src/native-query.types.js +2 -2
  86. package/dist/common/src/query/base-query-builder.d.ts +38 -38
  87. package/dist/common/src/query/base-query-builder.js +39 -39
  88. package/dist/common/src/query/index.d.ts +4 -4
  89. package/dist/common/src/query/index.js +20 -20
  90. package/dist/common/src/query/pagination.d.ts +46 -46
  91. package/dist/common/src/query/pagination.js +211 -211
  92. package/dist/common/src/query/query-context.d.ts +47 -47
  93. package/dist/common/src/query/query-context.js +159 -159
  94. package/dist/common/src/query/serialized-query.types.d.ts +24 -24
  95. package/dist/common/src/query/serialized-query.types.js +2 -2
  96. package/dist/common/src/query.types.d.ts +86 -86
  97. package/dist/common/src/query.types.js +171 -171
  98. package/dist/common/src/regions.d.ts +21 -21
  99. package/dist/common/src/regions.js +46 -46
  100. package/dist/common/src/schema/schema.types.d.ts +30 -30
  101. package/dist/common/src/schema/schema.types.js +173 -173
  102. package/dist/common/src/secret.schemas.d.ts +4 -4
  103. package/dist/common/src/secret.schemas.js +17 -17
  104. package/dist/common/src/secret.types.d.ts +68 -68
  105. package/dist/common/src/secret.types.js +5 -5
  106. package/dist/common/src/security.types.d.ts +3 -3
  107. package/dist/common/src/security.types.js +2 -2
  108. package/dist/common/src/socket.schemas.d.ts +3 -3
  109. package/dist/common/src/socket.schemas.js +57 -57
  110. package/dist/common/src/socket.types.d.ts +126 -126
  111. package/dist/common/src/socket.types.js +9 -9
  112. package/dist/common/src/time-units.d.ts +5 -5
  113. package/dist/common/src/time-units.js +8 -8
  114. package/dist/common/src/trigger.types.d.ts +15 -15
  115. package/dist/common/src/trigger.types.js +2 -2
  116. package/dist/common/src/types.d.ts +21 -21
  117. package/dist/common/src/types.js +2 -2
  118. package/dist/common/src/utils/array.d.ts +8 -8
  119. package/dist/common/src/utils/array.js +54 -54
  120. package/dist/common/src/utils/assert.d.ts +3 -3
  121. package/dist/common/src/utils/assert.js +14 -14
  122. package/dist/common/src/utils/error.d.ts +4 -4
  123. package/dist/common/src/utils/error.js +10 -10
  124. package/dist/common/src/utils/global.utils.d.ts +11 -11
  125. package/dist/common/src/utils/global.utils.js +50 -50
  126. package/dist/common/src/utils/http.d.ts +2 -2
  127. package/dist/common/src/utils/http.js +51 -51
  128. package/dist/common/src/utils/id.d.ts +2 -2
  129. package/dist/common/src/utils/id.js +21 -21
  130. package/dist/common/src/utils/lock.manager.d.ts +9 -9
  131. package/dist/common/src/utils/lock.manager.js +39 -39
  132. package/dist/common/src/utils/object.d.ts +5 -5
  133. package/dist/common/src/utils/object.js +75 -75
  134. package/dist/common/src/utils/serialization.d.ts +6 -6
  135. package/dist/common/src/utils/serialization.js +77 -77
  136. package/dist/common/src/utils/transforms.d.ts +18 -18
  137. package/dist/common/src/utils/transforms.js +104 -104
  138. package/dist/common/src/utils/url.d.ts +1 -1
  139. package/dist/common/src/utils/url.js +15 -15
  140. package/dist/common/src/utils/validation.d.ts +17 -17
  141. package/dist/common/src/utils/validation.js +209 -209
  142. package/dist/common/src/webhook-response.d.ts +6 -6
  143. package/dist/common/src/webhook-response.js +2 -2
  144. package/dist/common/src/websocket.impl.d.ts +21 -21
  145. package/dist/common/src/websocket.impl.js +79 -79
  146. package/dist/internal-common/src/code-executor.types.d.ts +13 -13
  147. package/dist/internal-common/src/code-executor.types.js +2 -2
  148. package/dist/internal-common/src/local-dev.types.d.ts +35 -35
  149. package/dist/internal-common/src/local-dev.types.js +2 -2
  150. package/dist/internal-common/src/utils/logger-utils.d.ts +3 -3
  151. package/dist/internal-common/src/utils/logger-utils.js +28 -28
  152. package/dist/local-backend/package.json +50 -57
  153. package/dist/local-backend/src/index.d.ts +4 -4
  154. package/dist/local-backend/src/index.js +26 -26
  155. package/dist/local-backend/src/local-backend-socket.service.d.ts +18 -18
  156. package/dist/local-backend/src/local-backend-socket.service.js +108 -108
  157. package/dist/local-backend/src/local-backend.app.d.ts +2 -2
  158. package/dist/local-backend/src/local-backend.app.js +19 -19
  159. package/dist/local-backend/src/local-backend.controller.d.ts +8 -8
  160. package/dist/local-backend/src/local-backend.controller.js +49 -49
  161. package/dist/local-backend/src/local-backend.module.d.ts +8 -8
  162. package/dist/local-backend/src/local-backend.module.js +53 -53
  163. package/dist/local-backend/src/local-backend.service.d.ts +15 -15
  164. package/dist/local-backend/src/local-backend.service.js +176 -176
  165. package/dist/tsconfig.build.tsbuildinfo +1 -1
  166. package/package.json +2 -9
  167. package/dist/common/src/ai-assistant.context.d.ts +0 -13
  168. package/dist/common/src/ai-assistant.context.js.map +0 -1
  169. package/dist/common/src/ai-assistant.schemas.d.ts +0 -243
  170. package/dist/common/src/ai-assistant.schemas.js +0 -211
  171. package/dist/common/src/ai-assistant.schemas.js.map +0 -1
  172. package/dist/common/src/integrations/ai_assistant.types.d.ts +0 -31
  173. package/dist/common/src/integrations/ai_assistant.types.js.map +0 -1
@@ -1,51 +1,51 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.hasDocumentDiff = exports.getSquidDocId = exports.parseSquidDocId = exports.SquidPlaceholderId = void 0;
4
- const deep_diff_1 = require("deep-diff");
5
- const serialization_1 = require("./utils/serialization");
6
- const assertic_1 = require("assertic");
7
- exports.SquidPlaceholderId = '__squidId';
8
- function parseSquidDocId(squidDocId) {
9
- return (0, serialization_1.deserializeObj)(squidDocId);
10
- }
11
- exports.parseSquidDocId = parseSquidDocId;
12
- function getSquidDocId(...args) {
13
- const [a, b, c] = args;
14
- const squidDocIdObjObj = typeof a === 'object' ? a : { docId: a, collectionName: b, integrationId: c };
15
- if (!squidDocIdObjObj.integrationId)
16
- squidDocIdObjObj.integrationId = undefined;
17
- return (0, serialization_1.normalizeJsonAsString)(squidDocIdObjObj);
18
- }
19
- exports.getSquidDocId = getSquidDocId;
20
- function hasDocumentDiff(beforeDoc, afterDoc) {
21
- const diffs = (0, deep_diff_1.default)(beforeDoc, afterDoc) || [];
22
- const ignoredKeys = ['__docId__', '__ts__'];
23
- const docIdDiff = diffs.find((diff) => {
24
- var _a;
25
- return ((_a = diff.path) === null || _a === void 0 ? void 0 : _a[0]) === '__docId__';
26
- });
27
- if (docIdDiff) {
28
- if (docIdDiff.kind !== 'E' || !docIdDiff.rhs) {
29
- throw new Error(`Unexpected diff for __docId__: ${(0, serialization_1.normalizeJsonAsString)(docIdDiff)}`);
30
- }
31
- const docIdObj = parseSquidDocId(docIdDiff.rhs + '');
32
- ignoredKeys.push(...Object.keys(docIdObj));
33
- }
34
- const diff = diffs === null || diffs === void 0 ? void 0 : diffs.find((diff, index) => {
35
- var _a;
36
- if (ignoredKeys.includes((_a = diff.path) === null || _a === void 0 ? void 0 : _a[0]))
37
- return false;
38
- switch (diff.kind) {
39
- case 'N':
40
- return (0, assertic_1.isNonNullable)(diff.rhs);
41
- case 'E':
42
- case 'D':
43
- case 'A':
44
- return true;
45
- }
46
- return false;
47
- });
48
- return !!diff;
49
- }
50
- exports.hasDocumentDiff = hasDocumentDiff;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.hasDocumentDiff = exports.getSquidDocId = exports.parseSquidDocId = exports.SquidPlaceholderId = void 0;
4
+ const deep_diff_1 = require("deep-diff");
5
+ const serialization_1 = require("./utils/serialization");
6
+ const assertic_1 = require("assertic");
7
+ exports.SquidPlaceholderId = '__squidId';
8
+ function parseSquidDocId(squidDocId) {
9
+ return (0, serialization_1.deserializeObj)(squidDocId);
10
+ }
11
+ exports.parseSquidDocId = parseSquidDocId;
12
+ function getSquidDocId(...args) {
13
+ const [a, b, c] = args;
14
+ const squidDocIdObjObj = typeof a === 'object' ? a : { docId: a, collectionName: b, integrationId: c };
15
+ if (!squidDocIdObjObj.integrationId)
16
+ squidDocIdObjObj.integrationId = undefined;
17
+ return (0, serialization_1.normalizeJsonAsString)(squidDocIdObjObj);
18
+ }
19
+ exports.getSquidDocId = getSquidDocId;
20
+ function hasDocumentDiff(beforeDoc, afterDoc) {
21
+ const diffs = (0, deep_diff_1.default)(beforeDoc, afterDoc) || [];
22
+ const ignoredKeys = ['__docId__', '__ts__'];
23
+ const docIdDiff = diffs.find((diff) => {
24
+ var _a;
25
+ return ((_a = diff.path) === null || _a === void 0 ? void 0 : _a[0]) === '__docId__';
26
+ });
27
+ if (docIdDiff) {
28
+ if (docIdDiff.kind !== 'E' || !docIdDiff.rhs) {
29
+ throw new Error(`Unexpected diff for __docId__: ${(0, serialization_1.normalizeJsonAsString)(docIdDiff)}`);
30
+ }
31
+ const docIdObj = parseSquidDocId(docIdDiff.rhs + '');
32
+ ignoredKeys.push(...Object.keys(docIdObj));
33
+ }
34
+ const diff = diffs === null || diffs === void 0 ? void 0 : diffs.find((diff, index) => {
35
+ var _a;
36
+ if (ignoredKeys.includes((_a = diff.path) === null || _a === void 0 ? void 0 : _a[0]))
37
+ return false;
38
+ switch (diff.kind) {
39
+ case 'N':
40
+ return (0, assertic_1.isNonNullable)(diff.rhs);
41
+ case 'E':
42
+ case 'D':
43
+ case 'A':
44
+ return true;
45
+ }
46
+ return false;
47
+ });
48
+ return !!diff;
49
+ }
50
+ exports.hasDocumentDiff = hasDocumentDiff;
51
51
  //# sourceMappingURL=document.types.js.map
@@ -1,14 +1,14 @@
1
- interface GraphQlRequest {
2
- isGraphiQL: boolean;
3
- query?: string;
4
- operationName?: string;
5
- variables?: string | Record<string, any>;
6
- }
7
- export declare class GraphqlContext {
8
- readonly isGraphiQL: boolean;
9
- readonly query: string | undefined;
10
- readonly variables: string | Record<string, any> | undefined;
11
- readonly operationName: string | undefined;
12
- constructor(graphQlRequest: GraphQlRequest);
13
- }
14
- export {};
1
+ interface GraphQlRequest {
2
+ isGraphiQL: boolean;
3
+ query?: string;
4
+ operationName?: string;
5
+ variables?: string | Record<string, any>;
6
+ }
7
+ export declare class GraphqlContext {
8
+ readonly isGraphiQL: boolean;
9
+ readonly query: string | undefined;
10
+ readonly variables: string | Record<string, any> | undefined;
11
+ readonly operationName: string | undefined;
12
+ constructor(graphQlRequest: GraphQlRequest);
13
+ }
14
+ export {};
@@ -1,13 +1,13 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GraphqlContext = void 0;
4
- class GraphqlContext {
5
- constructor(graphQlRequest) {
6
- this.isGraphiQL = graphQlRequest.isGraphiQL;
7
- this.query = graphQlRequest.query;
8
- this.operationName = graphQlRequest.operationName;
9
- this.variables = graphQlRequest.variables;
10
- }
11
- }
12
- exports.GraphqlContext = GraphqlContext;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GraphqlContext = void 0;
4
+ class GraphqlContext {
5
+ constructor(graphQlRequest) {
6
+ this.isGraphiQL = graphQlRequest.isGraphiQL;
7
+ this.query = graphQlRequest.query;
8
+ this.operationName = graphQlRequest.operationName;
9
+ this.variables = graphQlRequest.variables;
10
+ }
11
+ }
12
+ exports.GraphqlContext = GraphqlContext;
13
13
  //# sourceMappingURL=graphql.context.js.map
@@ -1,11 +1,11 @@
1
- import { IntrospectionQuery } from 'graphql';
2
- export { ExecutionResult, IntrospectionQuery } from 'graphql';
3
- export interface GraphQLRequest {
4
- operationName?: string;
5
- query?: string;
6
- variables?: string | Record<string, any>;
7
- }
8
- export interface SecureGraphQLRequest extends GraphQLRequest {
9
- isGraphiQL: boolean;
10
- }
11
- export declare const EmptyIntrospection: IntrospectionQuery;
1
+ import { IntrospectionQuery } from 'graphql';
2
+ export { ExecutionResult, IntrospectionQuery } from 'graphql';
3
+ export interface GraphQLRequest {
4
+ operationName?: string;
5
+ query?: string;
6
+ variables?: string | Record<string, any>;
7
+ }
8
+ export interface SecureGraphQLRequest extends GraphQLRequest {
9
+ isGraphiQL: boolean;
10
+ }
11
+ export declare const EmptyIntrospection: IntrospectionQuery;
@@ -1,35 +1,35 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EmptyIntrospection = void 0;
4
- exports.EmptyIntrospection = {
5
- __schema: {
6
- queryType: { name: 'Query', kind: 'OBJECT' },
7
- mutationType: null,
8
- subscriptionType: null,
9
- types: [
10
- {
11
- name: 'Query',
12
- kind: 'OBJECT',
13
- fields: [
14
- {
15
- name: 'isEmpty',
16
- type: {
17
- kind: 'SCALAR',
18
- name: 'Boolean',
19
- },
20
- args: [],
21
- isDeprecated: false,
22
- deprecationReason: null,
23
- },
24
- ],
25
- interfaces: [],
26
- },
27
- {
28
- name: 'Boolean',
29
- kind: 'SCALAR',
30
- },
31
- ],
32
- directives: [],
33
- },
34
- };
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EmptyIntrospection = void 0;
4
+ exports.EmptyIntrospection = {
5
+ __schema: {
6
+ queryType: { name: 'Query', kind: 'OBJECT' },
7
+ mutationType: null,
8
+ subscriptionType: null,
9
+ types: [
10
+ {
11
+ name: 'Query',
12
+ kind: 'OBJECT',
13
+ fields: [
14
+ {
15
+ name: 'isEmpty',
16
+ type: {
17
+ kind: 'SCALAR',
18
+ name: 'Boolean',
19
+ },
20
+ args: [],
21
+ isDeprecated: false,
22
+ deprecationReason: null,
23
+ },
24
+ ],
25
+ interfaces: [],
26
+ },
27
+ {
28
+ name: 'Boolean',
29
+ kind: 'SCALAR',
30
+ },
31
+ ],
32
+ directives: [],
33
+ },
34
+ };
35
35
  //# sourceMappingURL=graphql.types.js.map
@@ -1,4 +1,4 @@
1
- export interface HeartbeatProvider {
2
- checkHeartbeat(): Promise<void>;
3
- }
4
- export declare function checkAllHeartbeatProviders(heartbeatProviders: Record<string, HeartbeatProvider>): Promise<void>;
1
+ export interface HeartbeatProvider {
2
+ checkHeartbeat(): Promise<void>;
3
+ }
4
+ export declare function checkAllHeartbeatProviders(heartbeatProviders: Record<string, HeartbeatProvider>): Promise<void>;
@@ -1,17 +1,17 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.checkAllHeartbeatProviders = void 0;
4
- const rxjs_1 = require("rxjs");
5
- async function checkAllHeartbeatProviders(heartbeatProviders) {
6
- await Promise.all(Object.entries(heartbeatProviders).map(async ([id, provider]) => {
7
- try {
8
- return await (0, rxjs_1.firstValueFrom)((0, rxjs_1.from)(provider.checkHeartbeat()).pipe((0, rxjs_1.timeout)(5000), (0, rxjs_1.map)(() => true)));
9
- }
10
- catch (e) {
11
- console.log(`Error in heartbeat provider: ${id}`, e);
12
- throw e;
13
- }
14
- }));
15
- }
16
- exports.checkAllHeartbeatProviders = checkAllHeartbeatProviders;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.checkAllHeartbeatProviders = void 0;
4
+ const rxjs_1 = require("rxjs");
5
+ async function checkAllHeartbeatProviders(heartbeatProviders) {
6
+ await Promise.all(Object.entries(heartbeatProviders).map(async ([id, provider]) => {
7
+ try {
8
+ return await (0, rxjs_1.firstValueFrom)((0, rxjs_1.from)(provider.checkHeartbeat()).pipe((0, rxjs_1.timeout)(5000), (0, rxjs_1.map)(() => true)));
9
+ }
10
+ catch (e) {
11
+ console.log(`Error in heartbeat provider: ${id}`, e);
12
+ throw e;
13
+ }
14
+ }));
15
+ }
16
+ exports.checkAllHeartbeatProviders = checkAllHeartbeatProviders;
17
17
  //# sourceMappingURL=heartbeat.types.js.map
@@ -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,56 +1,57 @@
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 './native-query.context';
29
- export * from './native-query.types';
30
- export * from './query';
31
- export * from './query.types';
32
- export * from './regions';
33
- export * from './schema/schema.types';
34
- export * from './secret.schemas';
35
- export * from './secret.types';
36
- export * from './security.types';
37
- export * from './socket.schemas';
38
- export * from './socket.types';
39
- export * from './time-units';
40
- export * from './trigger.types';
41
- export * from './types';
42
- export * from './utils/array';
43
- export * from './utils/assert';
44
- export * from './utils/error';
45
- export * from './utils/http';
46
- export * from './utils/id';
47
- export * from './utils/lock.manager';
48
- export * from './utils/object';
49
- export * from './utils/serialization';
50
- export * from './utils/transforms';
51
- export * from './utils/url';
52
- export * from './utils/validation';
53
- export * from './webhook-response';
54
- export * from './heartbeat.types';
55
- export * from './utils/global.utils';
56
- export * from './websocket.impl';
1
+ export * from './ai-chatbot.schemas';
2
+ export * from './ai-chatbot.types';
3
+ export * from './ai-assistant.types';
4
+ export * from './api-call.context';
5
+ export * from './api.types';
6
+ export * from './application.schemas';
7
+ export * from './application.types';
8
+ export * from './backend-function.schemas';
9
+ export * from './backend-function.types';
10
+ export * from './backend-run.types';
11
+ export * from './bundle-api.types';
12
+ export * from './bundle-data.types';
13
+ export * from './communication.types';
14
+ export * from './context.types';
15
+ export * from './distributed-lock.context';
16
+ export * from './document.types';
17
+ export * from './graphql.context';
18
+ export * from './graphql.types';
19
+ export * from './http-status.enum';
20
+ export * from './integrations';
21
+ export * from './logger.types';
22
+ export * from './metrics.types';
23
+ export * from './mutation.context';
24
+ export * from './mutation.schemas';
25
+ export * from './mutation.types';
26
+ export * from './named-query.context';
27
+ export * from './named-query.schemas';
28
+ export * from './named-query.types';
29
+ export * from './native-query.context';
30
+ export * from './native-query.types';
31
+ export * from './query';
32
+ export * from './query.types';
33
+ export * from './regions';
34
+ export * from './schema/schema.types';
35
+ export * from './secret.schemas';
36
+ export * from './secret.types';
37
+ export * from './security.types';
38
+ export * from './socket.schemas';
39
+ export * from './socket.types';
40
+ export * from './time-units';
41
+ export * from './trigger.types';
42
+ export * from './types';
43
+ export * from './utils/array';
44
+ export * from './utils/assert';
45
+ export * from './utils/error';
46
+ export * from './utils/http';
47
+ export * from './utils/id';
48
+ export * from './utils/lock.manager';
49
+ export * from './utils/object';
50
+ export * from './utils/serialization';
51
+ export * from './utils/transforms';
52
+ export * from './utils/url';
53
+ export * from './utils/validation';
54
+ export * from './webhook-response';
55
+ export * from './heartbeat.types';
56
+ export * from './utils/global.utils';
57
+ export * from './websocket.impl';