@lambdaorm/client 0.7.48

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 (116) hide show
  1. package/LICENSE/home/runner/work/core/core/LICENSE +9 -0
  2. package/README.md +201 -0
  3. package/application/IOrm.d.ts +65 -0
  4. package/application/IOrm.d.ts.map +1 -0
  5. package/application/IOrm.js +3 -0
  6. package/application/IOrm.js.map +1 -0
  7. package/application/index.d.ts +3 -0
  8. package/application/index.d.ts.map +1 -0
  9. package/application/index.js +19 -0
  10. package/application/index.js.map +1 -0
  11. package/application/services/GeneralService.d.ts +10 -0
  12. package/application/services/GeneralService.d.ts.map +1 -0
  13. package/application/services/GeneralService.js +3 -0
  14. package/application/services/GeneralService.js.map +1 -0
  15. package/application/services/QueryService.d.ts +50 -0
  16. package/application/services/QueryService.d.ts.map +1 -0
  17. package/application/services/QueryService.js +3 -0
  18. package/application/services/QueryService.js.map +1 -0
  19. package/application/services/SchemaService.d.ts +27 -0
  20. package/application/services/SchemaService.d.ts.map +1 -0
  21. package/application/services/SchemaService.js +3 -0
  22. package/application/services/SchemaService.js.map +1 -0
  23. package/application/services/StageService.d.ts +7 -0
  24. package/application/services/StageService.d.ts.map +1 -0
  25. package/application/services/StageService.js +3 -0
  26. package/application/services/StageService.js.map +1 -0
  27. package/application/services/index.d.ts +5 -0
  28. package/application/services/index.d.ts.map +1 -0
  29. package/application/services/index.js +21 -0
  30. package/application/services/index.js.map +1 -0
  31. package/domain/actions.d.ts +17 -0
  32. package/domain/actions.d.ts.map +1 -0
  33. package/domain/actions.js +38 -0
  34. package/domain/actions.js.map +1 -0
  35. package/domain/configuration.d.ts +84 -0
  36. package/domain/configuration.d.ts.map +1 -0
  37. package/domain/configuration.js +43 -0
  38. package/domain/configuration.js.map +1 -0
  39. package/domain/index.d.ts +5 -0
  40. package/domain/index.d.ts.map +1 -0
  41. package/domain/index.js +21 -0
  42. package/domain/index.js.map +1 -0
  43. package/domain/model.d.ts +121 -0
  44. package/domain/model.d.ts.map +1 -0
  45. package/domain/model.js +3 -0
  46. package/domain/model.js.map +1 -0
  47. package/domain/schema.d.ts +11 -0
  48. package/domain/schema.d.ts.map +1 -0
  49. package/domain/schema.js +3 -0
  50. package/domain/schema.js.map +1 -0
  51. package/index.d.ts +6 -0
  52. package/index.d.ts.map +1 -0
  53. package/index.js +24 -0
  54. package/index.js.map +1 -0
  55. package/infrastructure/adapters/GeneralApiService.d.ts +14 -0
  56. package/infrastructure/adapters/GeneralApiService.d.ts.map +1 -0
  57. package/infrastructure/adapters/GeneralApiService.js +27 -0
  58. package/infrastructure/adapters/GeneralApiService.js.map +1 -0
  59. package/infrastructure/adapters/QueryApiService.d.ts +63 -0
  60. package/infrastructure/adapters/QueryApiService.d.ts.map +1 -0
  61. package/infrastructure/adapters/QueryApiService.js +66 -0
  62. package/infrastructure/adapters/QueryApiService.js.map +1 -0
  63. package/infrastructure/adapters/SchemaApiService.d.ts +31 -0
  64. package/infrastructure/adapters/SchemaApiService.d.ts.map +1 -0
  65. package/infrastructure/adapters/SchemaApiService.js +71 -0
  66. package/infrastructure/adapters/SchemaApiService.js.map +1 -0
  67. package/infrastructure/adapters/StageApiService.d.ts +11 -0
  68. package/infrastructure/adapters/StageApiService.d.ts.map +1 -0
  69. package/infrastructure/adapters/StageApiService.js +23 -0
  70. package/infrastructure/adapters/StageApiService.js.map +1 -0
  71. package/infrastructure/adapters/orm.d.ts +78 -0
  72. package/infrastructure/adapters/orm.d.ts.map +1 -0
  73. package/infrastructure/adapters/orm.js +104 -0
  74. package/infrastructure/adapters/orm.js.map +1 -0
  75. package/infrastructure/api/base.d.ts +55 -0
  76. package/infrastructure/api/base.d.ts.map +1 -0
  77. package/infrastructure/api/base.js +61 -0
  78. package/infrastructure/api/base.js.map +1 -0
  79. package/infrastructure/api/common.d.ts +66 -0
  80. package/infrastructure/api/common.d.ts.map +1 -0
  81. package/infrastructure/api/common.js +138 -0
  82. package/infrastructure/api/common.js.map +1 -0
  83. package/infrastructure/api/generalApi.d.ts +130 -0
  84. package/infrastructure/api/generalApi.d.ts.map +1 -0
  85. package/infrastructure/api/generalApi.js +248 -0
  86. package/infrastructure/api/generalApi.js.map +1 -0
  87. package/infrastructure/api/index.d.ts +5 -0
  88. package/infrastructure/api/index.d.ts.map +1 -0
  89. package/infrastructure/api/index.js +21 -0
  90. package/infrastructure/api/index.js.map +1 -0
  91. package/infrastructure/api/queryApi.d.ts +220 -0
  92. package/infrastructure/api/queryApi.d.ts.map +1 -0
  93. package/infrastructure/api/queryApi.js +408 -0
  94. package/infrastructure/api/queryApi.js.map +1 -0
  95. package/infrastructure/api/schemaApi.d.ts +440 -0
  96. package/infrastructure/api/schemaApi.d.ts.map +1 -0
  97. package/infrastructure/api/schemaApi.js +847 -0
  98. package/infrastructure/api/schemaApi.js.map +1 -0
  99. package/infrastructure/api/stageApi.d.ts +122 -0
  100. package/infrastructure/api/stageApi.d.ts.map +1 -0
  101. package/infrastructure/api/stageApi.js +227 -0
  102. package/infrastructure/api/stageApi.js.map +1 -0
  103. package/infrastructure/index.d.ts +4 -0
  104. package/infrastructure/index.d.ts.map +1 -0
  105. package/infrastructure/index.js +20 -0
  106. package/infrastructure/index.js.map +1 -0
  107. package/infrastructure/library.d.ts +8 -0
  108. package/infrastructure/library.d.ts.map +1 -0
  109. package/infrastructure/library.js +31 -0
  110. package/infrastructure/library.js.map +1 -0
  111. package/infrastructure/repository.d.ts +40 -0
  112. package/infrastructure/repository.d.ts.map +1 -0
  113. package/infrastructure/repository.js +88 -0
  114. package/infrastructure/repository.js.map +1 -0
  115. package/jest-config.json +20 -0
  116. package/package.json +50 -0
@@ -0,0 +1,130 @@
1
+ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
2
+ import { RequestArgs, BaseAPI } from './base';
3
+ import { Configuration, Health, Ping } from '../../domain';
4
+ /**
5
+ * GeneralApi - axios parameter creator
6
+ * @export
7
+ */
8
+ export declare const GeneralApiAxiosParamCreator: (configuration: Configuration) => {
9
+ /**
10
+ *
11
+ * @param {*} [options] Override http request option.
12
+ * @throws {RequiredError}
13
+ */
14
+ version: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
15
+ /**
16
+ *
17
+ * @param {*} [options] Override http request option.
18
+ * @throws {RequiredError}
19
+ */
20
+ health: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
21
+ /**
22
+ *
23
+ * @param {*} [options] Override http request option.
24
+ * @throws {RequiredError}
25
+ */
26
+ metrics: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
27
+ /**
28
+ *
29
+ * @param {*} [options] Override http request option.
30
+ * @throws {RequiredError}
31
+ */
32
+ ping: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
33
+ };
34
+ /**
35
+ * GeneralApi - functional programming interface
36
+ * @export
37
+ */
38
+ export declare const GeneralApiFp: (configuration: Configuration) => {
39
+ /**
40
+ *
41
+ * @param {*} [options] Override http request option.
42
+ * @throws {RequiredError}
43
+ */
44
+ version(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Health>>;
45
+ /**
46
+ *
47
+ * @param {*} [options] Override http request option.
48
+ * @throws {RequiredError}
49
+ */
50
+ health(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Health>>;
51
+ /**
52
+ *
53
+ * @param {*} [options] Override http request option.
54
+ * @throws {RequiredError}
55
+ */
56
+ metrics(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
57
+ /**
58
+ *
59
+ * @param {*} [options] Override http request option.
60
+ * @throws {RequiredError}
61
+ */
62
+ ping(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Ping>>;
63
+ };
64
+ /**
65
+ * GeneralApi - factory interface
66
+ * @export
67
+ */
68
+ export declare const GeneralApiFactory: (configuration: Configuration, basePath?: string, axios?: AxiosInstance) => {
69
+ /**
70
+ *
71
+ * @param {*} [options] Override http request option.
72
+ * @throws {RequiredError}
73
+ */
74
+ version(options?: any): AxiosPromise<Health>;
75
+ /**
76
+ *
77
+ * @param {*} [options] Override http request option.
78
+ * @throws {RequiredError}
79
+ */
80
+ health(options?: any): AxiosPromise<Health>;
81
+ /**
82
+ *
83
+ * @param {*} [options] Override http request option.
84
+ * @throws {RequiredError}
85
+ */
86
+ metrics(options?: any): AxiosPromise<any>;
87
+ /**
88
+ *
89
+ * @param {*} [options] Override http request option.
90
+ * @throws {RequiredError}
91
+ */
92
+ ping(options?: any): AxiosPromise<Ping>;
93
+ };
94
+ /**
95
+ * GeneralApi - object-oriented interface
96
+ * @export
97
+ * @class GeneralApi
98
+ * @extends {BaseAPI}
99
+ */
100
+ export declare class GeneralApi extends BaseAPI {
101
+ /**
102
+ *
103
+ * @param {*} [options] Override http request option.
104
+ * @throws {RequiredError}
105
+ * @memberof GeneralApi
106
+ */
107
+ version(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Health, any, {}>>;
108
+ /**
109
+ *
110
+ * @param {*} [options] Override http request option.
111
+ * @throws {RequiredError}
112
+ * @memberof GeneralApi
113
+ */
114
+ health(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Health, any, {}>>;
115
+ /**
116
+ *
117
+ * @param {*} [options] Override http request option.
118
+ * @throws {RequiredError}
119
+ * @memberof GeneralApi
120
+ */
121
+ metrics(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
122
+ /**
123
+ *
124
+ * @param {*} [options] Override http request option.
125
+ * @throws {RequiredError}
126
+ * @memberof GeneralApi
127
+ */
128
+ ping(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Ping, any, {}>>;
129
+ }
130
+ //# sourceMappingURL=generalApi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generalApi.d.ts","sourceRoot":"","sources":["../../../../src/lib/infrastructure/api/generalApi.ts"],"names":[],"mappings":"AAAA,OAAoB,EAAE,YAAY,EAA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MAAM,EAAE,QAAQ,aAAa;IAG/G;;;;WAII;sBACe,GAAG,GAAG,YAAY,CAAC,MAAM,CAAC;IAG7C;;;;WAII;qBACc,GAAG,GAAG,YAAY,CAAC,MAAM,CAAC;IAG5C;;;;WAII;sBACe,GAAG,GAAG,YAAY,CAAC,GAAG,CAAC;IAG1C;;;;WAII;mBACY,GAAG,GAAG,YAAY,CAAC,IAAI,CAAC;CAIzC,CAAA;AAED;;;;;EAKE;AACF,qBAAa,UAAW,SAAQ,OAAO;IACtC;;;;;OAKG;IACI,OAAO,CAAE,OAAO,CAAC,EAAE,kBAAkB;IAI5C;;;;;OAKG;IACI,MAAM,CAAE,OAAO,CAAC,EAAE,kBAAkB;IAI3C;;;;;OAKG;IACI,OAAO,CAAE,OAAO,CAAC,EAAE,kBAAkB;IAI5C;;;;;OAKG;IACI,IAAI,CAAE,OAAO,CAAC,EAAE,kBAAkB;CAGzC"}
@@ -0,0 +1,248 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.GeneralApi = exports.GeneralApiFactory = exports.GeneralApiFp = exports.GeneralApiAxiosParamCreator = void 0;
7
+ const axios_1 = __importDefault(require("axios"));
8
+ const common_1 = require("./common");
9
+ const base_1 = require("./base");
10
+ /**
11
+ * GeneralApi - axios parameter creator
12
+ * @export
13
+ */
14
+ const GeneralApiAxiosParamCreator = function (configuration) {
15
+ return {
16
+ /**
17
+ *
18
+ * @param {*} [options] Override http request option.
19
+ * @throws {RequiredError}
20
+ */
21
+ version: async (options = {}) => {
22
+ const localVarPath = '/version';
23
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
25
+ let baseOptions;
26
+ if (configuration) {
27
+ baseOptions = configuration.baseOptions;
28
+ }
29
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
30
+ const localVarHeaderParameter = {};
31
+ const localVarQueryParameter = {};
32
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
33
+ const headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
34
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
35
+ return {
36
+ url: (0, common_1.toPathString)(localVarUrlObj),
37
+ options: localVarRequestOptions
38
+ };
39
+ },
40
+ /**
41
+ *
42
+ * @param {*} [options] Override http request option.
43
+ * @throws {RequiredError}
44
+ */
45
+ health: async (options = {}) => {
46
+ const localVarPath = '/health';
47
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
48
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
49
+ let baseOptions;
50
+ if (configuration) {
51
+ baseOptions = configuration.baseOptions;
52
+ }
53
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
54
+ const localVarHeaderParameter = {};
55
+ const localVarQueryParameter = {};
56
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
57
+ const headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
58
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
59
+ return {
60
+ url: (0, common_1.toPathString)(localVarUrlObj),
61
+ options: localVarRequestOptions
62
+ };
63
+ },
64
+ /**
65
+ *
66
+ * @param {*} [options] Override http request option.
67
+ * @throws {RequiredError}
68
+ */
69
+ metrics: async (options = {}) => {
70
+ const localVarPath = '/metrics';
71
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
72
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
73
+ let baseOptions;
74
+ if (configuration) {
75
+ baseOptions = configuration.baseOptions;
76
+ }
77
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
78
+ const localVarHeaderParameter = {};
79
+ const localVarQueryParameter = {};
80
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
81
+ const headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
82
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
83
+ return {
84
+ url: (0, common_1.toPathString)(localVarUrlObj),
85
+ options: localVarRequestOptions
86
+ };
87
+ },
88
+ /**
89
+ *
90
+ * @param {*} [options] Override http request option.
91
+ * @throws {RequiredError}
92
+ */
93
+ ping: async (options = {}) => {
94
+ const localVarPath = '/ping';
95
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
96
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
97
+ let baseOptions;
98
+ if (configuration) {
99
+ baseOptions = configuration.baseOptions;
100
+ }
101
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
102
+ const localVarHeaderParameter = {};
103
+ const localVarQueryParameter = {};
104
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
105
+ const headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
106
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
107
+ return {
108
+ url: (0, common_1.toPathString)(localVarUrlObj),
109
+ options: localVarRequestOptions
110
+ };
111
+ }
112
+ };
113
+ };
114
+ exports.GeneralApiAxiosParamCreator = GeneralApiAxiosParamCreator;
115
+ /**
116
+ * GeneralApi - functional programming interface
117
+ * @export
118
+ */
119
+ const GeneralApiFp = function (configuration) {
120
+ const localVarAxiosParamCreator = (0, exports.GeneralApiAxiosParamCreator)(configuration);
121
+ return {
122
+ /**
123
+ *
124
+ * @param {*} [options] Override http request option.
125
+ * @throws {RequiredError}
126
+ */
127
+ async version(options) {
128
+ const localVarAxiosArgs = await localVarAxiosParamCreator.version(options);
129
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, configuration);
130
+ },
131
+ /**
132
+ *
133
+ * @param {*} [options] Override http request option.
134
+ * @throws {RequiredError}
135
+ */
136
+ async health(options) {
137
+ const localVarAxiosArgs = await localVarAxiosParamCreator.health(options);
138
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, configuration);
139
+ },
140
+ /**
141
+ *
142
+ * @param {*} [options] Override http request option.
143
+ * @throws {RequiredError}
144
+ */
145
+ async metrics(options) {
146
+ const localVarAxiosArgs = await localVarAxiosParamCreator.metrics(options);
147
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, configuration);
148
+ },
149
+ /**
150
+ *
151
+ * @param {*} [options] Override http request option.
152
+ * @throws {RequiredError}
153
+ */
154
+ async ping(options) {
155
+ const localVarAxiosArgs = await localVarAxiosParamCreator.ping(options);
156
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, configuration);
157
+ }
158
+ };
159
+ };
160
+ exports.GeneralApiFp = GeneralApiFp;
161
+ /**
162
+ * GeneralApi - factory interface
163
+ * @export
164
+ */
165
+ const GeneralApiFactory = function (configuration, basePath, axios) {
166
+ const localVarFp = (0, exports.GeneralApiFp)(configuration);
167
+ return {
168
+ /**
169
+ *
170
+ * @param {*} [options] Override http request option.
171
+ * @throws {RequiredError}
172
+ */
173
+ version(options) {
174
+ return localVarFp.version(options).then((request) => request(axios, configuration.basePath));
175
+ },
176
+ /**
177
+ *
178
+ * @param {*} [options] Override http request option.
179
+ * @throws {RequiredError}
180
+ */
181
+ health(options) {
182
+ return localVarFp.health(options).then((request) => request(axios, configuration.basePath));
183
+ },
184
+ /**
185
+ *
186
+ * @param {*} [options] Override http request option.
187
+ * @throws {RequiredError}
188
+ */
189
+ metrics(options) {
190
+ return localVarFp.metrics(options).then((request) => request(axios, configuration.basePath));
191
+ },
192
+ /**
193
+ *
194
+ * @param {*} [options] Override http request option.
195
+ * @throws {RequiredError}
196
+ */
197
+ ping(options) {
198
+ return localVarFp.ping(options).then((request) => request(axios, configuration.basePath));
199
+ }
200
+ };
201
+ };
202
+ exports.GeneralApiFactory = GeneralApiFactory;
203
+ /**
204
+ * GeneralApi - object-oriented interface
205
+ * @export
206
+ * @class GeneralApi
207
+ * @extends {BaseAPI}
208
+ */
209
+ class GeneralApi extends base_1.BaseAPI {
210
+ /**
211
+ *
212
+ * @param {*} [options] Override http request option.
213
+ * @throws {RequiredError}
214
+ * @memberof GeneralApi
215
+ */
216
+ version(options) {
217
+ return (0, exports.GeneralApiFp)(this.configuration).version(options).then((request) => request(this.axios, this.configuration.basePath));
218
+ }
219
+ /**
220
+ *
221
+ * @param {*} [options] Override http request option.
222
+ * @throws {RequiredError}
223
+ * @memberof GeneralApi
224
+ */
225
+ health(options) {
226
+ return (0, exports.GeneralApiFp)(this.configuration).health(options).then((request) => request(this.axios, this.configuration.basePath));
227
+ }
228
+ /**
229
+ *
230
+ * @param {*} [options] Override http request option.
231
+ * @throws {RequiredError}
232
+ * @memberof GeneralApi
233
+ */
234
+ metrics(options) {
235
+ return (0, exports.GeneralApiFp)(this.configuration).metrics(options).then((request) => request(this.axios, this.configuration.basePath));
236
+ }
237
+ /**
238
+ *
239
+ * @param {*} [options] Override http request option.
240
+ * @throws {RequiredError}
241
+ * @memberof GeneralApi
242
+ */
243
+ ping(options) {
244
+ return (0, exports.GeneralApiFp)(this.configuration).ping(options).then((request) => request(this.axios, this.configuration.basePath));
245
+ }
246
+ }
247
+ exports.GeneralApi = GeneralApi;
248
+ //# sourceMappingURL=generalApi.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generalApi.js","sourceRoot":"","sources":["../../../../src/lib/infrastructure/api/generalApi.ts"],"names":[],"mappings":";;;;;;AAAA,kDAAoF;AACpF,qCAA+F;AAC/F,iCAA6C;AAG7C;;;GAGG;AACI,MAAM,2BAA2B,GAAG,UAAU,aAA4B;IAChF,OAAO;QACN;;;;eAII;QACJ,OAAO,EAAE,KAAK,EAAE,UAA8B,EAAE,EAAwB,EAAE;YACzE,MAAM,YAAY,GAAG,UAAU,CAAA;YAC/B,oFAAo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AC,QAAQ,CAAC,CAAC,CAAA;IAC5H,CAAC;IAED;;;;;OAKG;IACI,OAAO,CAAE,OAA4B;QAC3C,OAAO,IAAA,oBAAY,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC,CAAA;IAC7H,CAAC;IAED;;;;;OAKG;IACI,IAAI,CAAE,OAA4B;QACxC,OAAO,IAAA,oBAAY,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC,CAAA;IAC1H,CAAC;CACD;AAxCD,gCAwCC"}
@@ -0,0 +1,5 @@
1
+ export * from './queryApi';
2
+ export * from './generalApi';
3
+ export * from './schemaApi';
4
+ export * from './stageApi';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/infrastructure/api/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,cAAc,CAAA;AAC5B,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA"}
@@ -0,0 +1,21 @@
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("./queryApi"), exports);
18
+ __exportStar(require("./generalApi"), exports);
19
+ __exportStar(require("./schemaApi"), exports);
20
+ __exportStar(require("./stageApi"), exports);
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/infrastructure/api/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,+CAA4B;AAC5B,8CAA2B;AAC3B,6CAA0B"}
@@ -0,0 +1,220 @@
1
+ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
2
+ import { RequestArgs, BaseAPI } from './base';
3
+ import { Configuration, QueryRequest, QueryQueuedRequest } from '../../domain';
4
+ import { MetadataConstraint, Metadata, MetadataModel, MetadataParameter, QueryPlan } from '@lambdaorm/base';
5
+ /**
6
+ * ExpressionApi - axios parameter creator
7
+ * @export
8
+ */
9
+ export declare const QueryApiAxiosParamCreator: (configuration: Configuration) => {
10
+ /**
11
+ *
12
+ * @param {QueryRequest} [queryRequest]
13
+ * @param {*} [options] Override http request option.
14
+ * @throws {RequiredError}
15
+ */
16
+ constraints: (queryRequest?: QueryRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
17
+ /**
18
+ *
19
+ * @param {QueryRequest} queryRequest
20
+ * @param {*} [options] Override http request option.
21
+ * @throws {RequiredError}
22
+ */
23
+ execute: (queryRequest: QueryRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
24
+ /**
25
+ *
26
+ * @param {QueryRequest} [queryRequest]
27
+ * @param {*} [options] Override http request option.
28
+ * @throws {RequiredError}
29
+ */
30
+ metadata: (queryRequest?: QueryRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
31
+ /**
32
+ *
33
+ * @param {QueryRequest} [queryRequest]
34
+ * @param {*} [options] Override http request option.
35
+ * @throws {RequiredError}
36
+ */
37
+ model: (queryRequest?: QueryRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
38
+ /**
39
+ *
40
+ * @param {QueryRequest} [queryRequest]
41
+ * @param {*} [options] Override http request option.
42
+ * @throws {RequiredError}
43
+ */
44
+ parameters: (queryRequest?: QueryRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
45
+ /**
46
+ *
47
+ * @param {QueryRequest} queryRequest
48
+ * @param {*} [options] Override http request option.
49
+ * @throws {RequiredError}
50
+ */
51
+ plan: (queryRequest: QueryRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
52
+ };
53
+ /**
54
+ * ExpressionApi - functional programming interface
55
+ * @export
56
+ */
57
+ export declare const QueryApiFp: (configuration: Configuration) => {
58
+ /**
59
+ *
60
+ * @param {QueryRequest} [queryRequest]
61
+ * @param {*} [options] Override http request option.
62
+ * @throws {RequiredError}
63
+ */
64
+ constraints(queryRequest?: QueryRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MetadataConstraint>>;
65
+ /**
66
+ *
67
+ * @param {QueryRequest} queryRequest
68
+ * @param {*} [options] Override http request option.
69
+ * @throws {RequiredError}
70
+ */
71
+ execute(queryRequest: QueryRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
72
+ /**
73
+ *
74
+ * @param {QueryRequest} queryRequest
75
+ * @param {*} [options] Override http request option.
76
+ * @throws {RequiredError}
77
+ */
78
+ executeQueued(queryQueuedRequest: QueryQueuedRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
79
+ /**
80
+ *
81
+ * @param {QueryRequest} [queryRequest]
82
+ * @param {*} [options] Override http request option.
83
+ * @throws {RequiredError}
84
+ */
85
+ metadata(queryRequest?: QueryRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Metadata>>;
86
+ /**
87
+ *
88
+ * @param {QueryRequest} [queryRequest]
89
+ * @param {*} [options] Override http request option.
90
+ * @throws {RequiredError}
91
+ */
92
+ model(queryRequest?: QueryRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MetadataModel>>>;
93
+ /**
94
+ *
95
+ * @param {QueryRequest} [queryRequest]
96
+ * @param {*} [options] Override http request option.
97
+ * @throws {RequiredError}
98
+ */
99
+ parameters(queryRequest?: QueryRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MetadataParameter>>>;
100
+ /**
101
+ *
102
+ * @param {QueryRequest} queryRequest
103
+ * @param {*} [options] Override http request option.
104
+ * @throws {RequiredError}
105
+ */
106
+ plan(queryRequest: QueryRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QueryPlan>>;
107
+ };
108
+ /**
109
+ * ExpressionApi - factory interface
110
+ * @export
111
+ */
112
+ export declare const ExpressionApiFactory: (configuration: Configuration, basePath?: string, axios?: AxiosInstance) => {
113
+ /**
114
+ *
115
+ * @param {QueryRequest} [queryRequest]
116
+ * @param {*} [options] Override http request option.
117
+ * @throws {RequiredError}
118
+ */
119
+ constraints(queryRequest?: QueryRequest, options?: any): AxiosPromise<MetadataConstraint>;
120
+ /**
121
+ *
122
+ * @param {QueryRequest} queryRequest
123
+ * @param {*} [options] Override http request option.
124
+ * @throws {RequiredError}
125
+ */
126
+ execute(queryRequest: QueryRequest, options?: any): AxiosPromise<any>;
127
+ /**
128
+ *
129
+ * @param {QueryRequest} [queryRequest]
130
+ * @param {*} [options] Override http request option.
131
+ * @throws {RequiredError}
132
+ */
133
+ metadata(queryRequest?: QueryRequest, options?: any): AxiosPromise<Metadata>;
134
+ /**
135
+ *
136
+ * @param {QueryRequest} [queryRequest]
137
+ * @param {*} [options] Override http request option.
138
+ * @throws {RequiredError}
139
+ */
140
+ model(queryRequest?: QueryRequest, options?: any): AxiosPromise<Array<MetadataModel>>;
141
+ /**
142
+ *
143
+ * @param {QueryRequest} [queryRequest]
144
+ * @param {*} [options] Override http request option.
145
+ * @throws {RequiredError}
146
+ */
147
+ parameters(queryRequest?: QueryRequest, options?: any): AxiosPromise<Array<MetadataParameter>>;
148
+ /**
149
+ *
150
+ * @param {QueryRequest} queryRequest
151
+ * @param {*} [options] Override http request option.
152
+ * @throws {RequiredError}
153
+ */
154
+ plan(queryRequest: QueryRequest, options?: any): AxiosPromise<QueryPlan>;
155
+ };
156
+ /**
157
+ * QueryApi - object-oriented interface
158
+ * @export
159
+ * @class ExpressionApi
160
+ * @extends {BaseAPI}
161
+ */
162
+ export declare class QueryApi extends BaseAPI {
163
+ /**
164
+ *
165
+ * @param {QueryRequest} [queryRequest]
166
+ * @param {*} [options] Override http request option.
167
+ * @throws {RequiredError}
168
+ * @memberof ExpressionApi
169
+ */
170
+ constraints(queryRequest?: QueryRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MetadataConstraint, any, {}>>;
171
+ /**
172
+ *
173
+ * @param {QueryRequest} queryRequest
174
+ * @param {*} [options] Override http request option.
175
+ * @throws {RequiredError}
176
+ * @memberof ExpressionApi
177
+ */
178
+ execute(queryRequest: QueryRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
179
+ /**
180
+ *
181
+ * @param {QueryQueuedRequest} queryQueuedRequest
182
+ * @param {*} [options] Override http request option.
183
+ * @throws {RequiredError}
184
+ * @memberof ExpressionApi
185
+ */
186
+ executeQueued(queryQueuedRequest: QueryQueuedRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
187
+ /**
188
+ *
189
+ * @param {QueryRequest} [queryRequest]
190
+ * @param {*} [options] Override http request option.
191
+ * @throws {RequiredError}
192
+ * @memberof ExpressionApi
193
+ */
194
+ metadata(queryRequest?: QueryRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Metadata, any, {}>>;
195
+ /**
196
+ *
197
+ * @param {QueryRequest} [queryRequest]
198
+ * @param {*} [options] Override http request option.
199
+ * @throws {RequiredError}
200
+ * @memberof ExpressionApi
201
+ */
202
+ model(queryRequest?: QueryRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MetadataModel[], any, {}>>;
203
+ /**
204
+ *
205
+ * @param {QueryRequest} [queryRequest]
206
+ * @param {*} [options] Override http request option.
207
+ * @throws {RequiredError}
208
+ * @memberof ExpressionApi
209
+ */
210
+ parameters(queryRequest?: QueryRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MetadataParameter[], any, {}>>;
211
+ /**
212
+ *
213
+ * @param {QueryRequest} queryRequest
214
+ * @param {*} [options] Override http request option.
215
+ * @throws {RequiredError}
216
+ * @memberof ExpressionApi
217
+ */
218
+ plan(queryRequest: QueryRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<QueryPlan, any, {}>>;
219
+ }
220
+ //# sourceMappingURL=queryApi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"queryApi.d.ts","sourceRoot":"","sources":["../../../../src/lib/infrastructure/api/queryApi.ts"],"names":[],"mappings":"AAAA,OAAoB,EAAE,YAAY,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAA;AAEpF,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAA;AAC7C,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAA;AAC9E,OAAO,EAAE,kBAAkB,EAAE,QAAQ,EAAE,aAAa,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAE3G;;;GAGG;AACH,eAAO,MAAM,yBAAyB,GAAa,eAAe,aAAa;IAE7E;;;;;WAKI;iCA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