@abyss-project/reflex 5.10.0 → 5.12.0
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/api/function-access.api.d.ts +5 -1
- package/dist/api/function-access.api.js +9 -1
- package/dist/api/function-access.api.js.map +1 -1
- package/dist/api/function-template.api.d.ts +5 -0
- package/dist/api/function-template.api.js +15 -0
- package/dist/api/function-template.api.js.map +1 -0
- package/dist/api/function-version.api.d.ts +3 -2
- package/dist/api/function-version.api.js +6 -2
- package/dist/api/function-version.api.js.map +1 -1
- package/dist/api/index.d.ts +1 -0
- package/dist/api/index.js +1 -0
- package/dist/api/index.js.map +1 -1
- package/dist/index.d.ts +12 -0
- package/dist/index.js +12 -0
- package/dist/index.js.map +1 -1
- package/dist/types/enum/access-request-status.enum.d.ts +5 -0
- package/dist/types/enum/access-request-status.enum.js +10 -0
- package/dist/types/enum/access-request-status.enum.js.map +1 -0
- package/dist/types/enum/index.d.ts +1 -0
- package/dist/types/enum/index.js +1 -0
- package/dist/types/enum/index.js.map +1 -1
- package/dist/types/interface/api/requests/function-access.request.d.ts +21 -0
- package/dist/types/interface/api/requests/function-template.request.d.ts +23 -0
- package/dist/types/interface/api/requests/function-template.request.js +3 -0
- package/dist/types/interface/api/requests/function-template.request.js.map +1 -0
- package/dist/types/interface/api/requests/function-version.request.d.ts +12 -0
- package/dist/types/interface/api/requests/index.d.ts +1 -0
- package/dist/types/interface/api/requests/index.js +1 -0
- package/dist/types/interface/api/requests/index.js.map +1 -1
- package/dist/types/interface/api/responses/function-access.response.d.ts +21 -1
- package/dist/types/interface/api/responses/function-template.response.d.ts +16 -0
- package/dist/types/interface/api/responses/function-template.response.js +3 -0
- package/dist/types/interface/api/responses/function-template.response.js.map +1 -0
- package/dist/types/interface/api/responses/function-version.response.d.ts +7 -2
- package/dist/types/interface/api/responses/index.d.ts +1 -0
- package/dist/types/interface/api/responses/index.js +1 -0
- package/dist/types/interface/api/responses/index.js.map +1 -1
- package/dist/types/interface/api/responses/service-version.response.d.ts +1 -0
- package/dist/types/interface/models/index.d.ts +2 -0
- package/dist/types/interface/models/index.js +2 -0
- package/dist/types/interface/models/index.js.map +1 -1
- package/dist/types/interface/models/reflex-access-request.model.d.ts +13 -0
- package/dist/types/interface/models/reflex-access-request.model.js +3 -0
- package/dist/types/interface/models/reflex-access-request.model.js.map +1 -0
- package/dist/types/interface/models/reflex-function-template.model.d.ts +13 -0
- package/dist/types/interface/models/reflex-function-template.model.js +3 -0
- package/dist/types/interface/models/reflex-function-template.model.js.map +1 -0
- package/dist/types/interface/models/reflex-function-version.model.d.ts +3 -0
- package/dist/types/interface/models/reflex-function.model.d.ts +9 -0
- package/package.json +1 -1
- package/src/api/function-access.api.ts +52 -1
- package/src/api/function-template.api.test.ts +72 -0
- package/src/api/function-template.api.ts +52 -0
- package/src/api/function-version.api.ts +20 -2
- package/src/api/function.api.test.ts +47 -6
- package/src/api/index.ts +1 -0
- package/src/index.ts +24 -0
- package/src/types/enum/access-request-status.enum.ts +11 -0
- package/src/types/enum/index.ts +1 -0
- package/src/types/interface/api/requests/function-access.request.ts +26 -0
- package/src/types/interface/api/requests/function-template.request.ts +29 -0
- package/src/types/interface/api/requests/function-version.request.ts +18 -0
- package/src/types/interface/api/requests/index.ts +1 -0
- package/src/types/interface/api/responses/function-access.response.ts +29 -1
- package/src/types/interface/api/responses/function-template.response.ts +21 -0
- package/src/types/interface/api/responses/function-version.response.ts +12 -1
- package/src/types/interface/api/responses/index.ts +1 -0
- package/src/types/interface/api/responses/service-version.response.ts +6 -0
- package/src/types/interface/models/index.ts +2 -0
- package/src/types/interface/models/reflex-access-request.model.ts +15 -0
- package/src/types/interface/models/reflex-function-template.model.ts +18 -0
- package/src/types/interface/models/reflex-function-version.model.ts +5 -0
- package/src/types/interface/models/reflex-function.model.ts +14 -0
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import type { IGrantFunctionAccessBody, IGrantFunctionAccessParams, IGrantFunctionAccessResponse, IListFunctionAccessParams, IListFunctionAccessResponse, IRevokeFunctionAccessParams, IRevokeFunctionAccessResponse } from '../types';
|
|
1
|
+
import type { IDismissFunctionAccessRequestParams, IDismissFunctionAccessRequestResponse, IGrantAllFunctionAccessParams, IGrantAllFunctionAccessResponse, IGrantFunctionAccessRequestParams, IGrantFunctionAccessRequestResponse, IRequestFunctionAccessBody, IRequestFunctionAccessParams, IRequestFunctionAccessResponse, IGrantFunctionAccessBody, IGrantFunctionAccessParams, IGrantFunctionAccessResponse, IListFunctionAccessParams, IListFunctionAccessResponse, IRevokeFunctionAccessParams, IRevokeFunctionAccessResponse } from '../types';
|
|
2
2
|
export declare const listFunctionAccess: (params: IListFunctionAccessParams) => Promise<IListFunctionAccessResponse>;
|
|
3
3
|
export declare const grantFunctionAccess: (params: IGrantFunctionAccessParams, body: IGrantFunctionAccessBody) => Promise<IGrantFunctionAccessResponse>;
|
|
4
4
|
export declare const revokeFunctionAccess: (params: IRevokeFunctionAccessParams) => Promise<IRevokeFunctionAccessResponse>;
|
|
5
|
+
export declare const grantAllFunctionAccess: (params: IGrantAllFunctionAccessParams) => Promise<IGrantAllFunctionAccessResponse>;
|
|
6
|
+
export declare const requestFunctionAccess: (params: IRequestFunctionAccessParams, body: IRequestFunctionAccessBody) => Promise<IRequestFunctionAccessResponse>;
|
|
7
|
+
export declare const grantFunctionAccessRequest: (params: IGrantFunctionAccessRequestParams) => Promise<IGrantFunctionAccessRequestResponse>;
|
|
8
|
+
export declare const dismissFunctionAccessRequest: (params: IDismissFunctionAccessRequestParams) => Promise<IDismissFunctionAccessRequestResponse>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.revokeFunctionAccess = exports.grantFunctionAccess = exports.listFunctionAccess = void 0;
|
|
3
|
+
exports.dismissFunctionAccessRequest = exports.grantFunctionAccessRequest = exports.requestFunctionAccess = exports.grantAllFunctionAccess = exports.revokeFunctionAccess = exports.grantFunctionAccess = exports.listFunctionAccess = void 0;
|
|
4
4
|
const __1 = require("..");
|
|
5
5
|
const accessUrl = (params) => `api/function/${params.applicationId}/${params.functionId}/access`;
|
|
6
6
|
const listFunctionAccess = async (params) => (await __1.AbyssReflexCore.axios.get(accessUrl(params))).data;
|
|
@@ -9,4 +9,12 @@ const grantFunctionAccess = async (params, body) => (await __1.AbyssReflexCore.a
|
|
|
9
9
|
exports.grantFunctionAccess = grantFunctionAccess;
|
|
10
10
|
const revokeFunctionAccess = async (params) => (await __1.AbyssReflexCore.axios.delete(`${accessUrl(params)}/${params.grantId}`)).data;
|
|
11
11
|
exports.revokeFunctionAccess = revokeFunctionAccess;
|
|
12
|
+
const grantAllFunctionAccess = async (params) => (await __1.AbyssReflexCore.axios.post(`${accessUrl(params)}/grant-all`)).data;
|
|
13
|
+
exports.grantAllFunctionAccess = grantAllFunctionAccess;
|
|
14
|
+
const requestFunctionAccess = async (params, body) => (await __1.AbyssReflexCore.axios.post(`${accessUrl(params)}/request`, body)).data;
|
|
15
|
+
exports.requestFunctionAccess = requestFunctionAccess;
|
|
16
|
+
const grantFunctionAccessRequest = async (params) => (await __1.AbyssReflexCore.axios.post(`${accessUrl(params)}/request/${params.requestId}/grant`)).data;
|
|
17
|
+
exports.grantFunctionAccessRequest = grantFunctionAccessRequest;
|
|
18
|
+
const dismissFunctionAccessRequest = async (params) => (await __1.AbyssReflexCore.axios.post(`${accessUrl(params)}/request/${params.requestId}/dismiss`)).data;
|
|
19
|
+
exports.dismissFunctionAccessRequest = dismissFunctionAccessRequest;
|
|
12
20
|
//# sourceMappingURL=function-access.api.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"function-access.api.js","sourceRoot":"","sources":["../../src/api/function-access.api.ts"],"names":[],"mappings":";;;AAAA,0BAAqC;
|
|
1
|
+
{"version":3,"file":"function-access.api.js","sourceRoot":"","sources":["../../src/api/function-access.api.ts"],"names":[],"mappings":";;;AA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M,0BAA0B,GAAG,KAAK,EAC7C,MAAyC,EACK,EAAE,CAChD,CACE,MAAM,mBAAe,CAAC,KAAK,CAAC,IAAI,CAC9B,GAAG,SAAS,CAAC,MAAM,CAAC,YAAY,MAAM,CAAC,SAAS,QAAQ,CACzD,CACF,CAAC,IAAI,CAAC;AAPI,QAAA,0BAA0B,8BAO9B;AAGF,MAAM,4BAA4B,GAAG,KAAK,EAC/C,MAA2C,EACK,EAAE,CAClD,CACE,MAAM,mBAAe,CAAC,KAAK,CAAC,IAAI,CAC9B,GAAG,SAAS,CAAC,MAAM,CAAC,YAAY,MAAM,CAAC,SAAS,UAAU,CAC3D,CACF,CAAC,IAAI,CAAC;AAPI,QAAA,4BAA4B,gCAOhC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { ICreateFunctionTemplateBody, ICreateFunctionTemplateParams, ICreateFunctionTemplateResponse, IDeleteFunctionTemplateParams, IDeleteFunctionTemplateResponse, IListFunctionTemplateParams, IListFunctionTemplateResponse, IUpdateFunctionTemplateBody, IUpdateFunctionTemplateParams, IUpdateFunctionTemplateResponse } from '../types';
|
|
2
|
+
export declare const listFunctionTemplate: (params: IListFunctionTemplateParams) => Promise<IListFunctionTemplateResponse>;
|
|
3
|
+
export declare const createFunctionTemplate: (params: ICreateFunctionTemplateParams, body: ICreateFunctionTemplateBody) => Promise<ICreateFunctionTemplateResponse>;
|
|
4
|
+
export declare const updateFunctionTemplate: (params: IUpdateFunctionTemplateParams, body: IUpdateFunctionTemplateBody) => Promise<IUpdateFunctionTemplateResponse>;
|
|
5
|
+
export declare const deleteFunctionTemplate: (params: IDeleteFunctionTemplateParams) => Promise<IDeleteFunctionTemplateResponse>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.deleteFunctionTemplate = exports.updateFunctionTemplate = exports.createFunctionTemplate = exports.listFunctionTemplate = void 0;
|
|
4
|
+
const __1 = require("..");
|
|
5
|
+
const templateUrl = (params) => `api/function-template/${params.applicationId}`;
|
|
6
|
+
const listFunctionTemplate = async (params) => (await __1.AbyssReflexCore.axios.get(templateUrl(params))).data;
|
|
7
|
+
exports.listFunctionTemplate = listFunctionTemplate;
|
|
8
|
+
const createFunctionTemplate = async (params, body) => (await __1.AbyssReflexCore.axios.post(templateUrl(params), body))
|
|
9
|
+
.data;
|
|
10
|
+
exports.createFunctionTemplate = createFunctionTemplate;
|
|
11
|
+
const updateFunctionTemplate = async (params, body) => (await __1.AbyssReflexCore.axios.patch(`${templateUrl(params)}/${params.templateId}`, body)).data;
|
|
12
|
+
exports.updateFunctionTemplate = updateFunctionTemplate;
|
|
13
|
+
const deleteFunctionTemplate = async (params) => (await __1.AbyssReflexCore.axios.delete(`${templateUrl(params)}/${params.templateId}`)).data;
|
|
14
|
+
exports.deleteFunctionTemplate = deleteFunctionTemplate;
|
|
15
|
+
//# sourceMappingURL=function-template.api.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"function-template.api.js","sourceRoot":"","sources":["../../src/api/function-template.api.ts"],"names":[],"mappings":";;;AAAA,0BAAqC;AAcrC,MAAM,WAAW,GAAG,CAAC,MAAiC,EAAU,EAAE,CAChE,yBAAyB,MAAM,CAAC,aAAa,EAAE,CAAC;AAG3C,MAAM,oBAAoB,GAAG,KAAK,EACvC,MAAmC,EACK,EAAE,CAC1C,CAAC,MAAM,mBAAe,CAAC,KAAK,CAAC,GAAG,CAAgC,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;AAHhF,QAAA,oBAAoB,wBAG4D;AAGtF,MAAM,sBAAsB,GAAG,KAAK,EACzC,MAAqC,EACrC,IAAiC,EACS,EAAE,CAC5C,CAAC,MAAM,mBAAe,CAAC,KAAK,CAAC,IAAI,CAAkC,WAAW,CAAC,MAAM,CAAC,EAAE,IAAI,CAAC,CAAC;KAC3F,IAAI,CAAC;AALG,QAAA,sBAAsB,0BAKzB;AAGH,MAAM,sBAAsB,GAAG,KAAK,EACzC,MAAqC,EACrC,IAAiC,EACS,EAAE,CAC5C,CACE,MAAM,mBAAe,CAAC,KAAK,CAAC,KAAK,CAC/B,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,MAAM,CAAC,UAAU,EAAE,EAC7C,IAAI,CACL,CACF,CAAC,IAAI,CAAC;AATI,QAAA,sBAAsB,0BAS1B;AAGF,MAAM,sBAAsB,GAAG,KAAK,EACzC,MAAqC,EACK,EAAE,CAC5C,CACE,MAAM,mBAAe,CAAC,KAAK,CAAC,MAAM,CAChC,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,MAAM,CAAC,UAAU,EAAE,CAC9C,CACF,CAAC,IAAI,CAAC;AAPI,QAAA,sBAAsB,0BAO1B"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { IGetFunctionVersionParams, IGetFunctionVersionResponse, IGetFunctionVersionStepStatsParams, IGetFunctionVersionStepStatsQuery, IGetFunctionVersionStepStatsResponse, IListFunctionVersionParams, IListFunctionVersionResponse } from '../types';
|
|
2
|
-
export declare const listFunctionVersion: (params: IListFunctionVersionParams) => Promise<IListFunctionVersionResponse>;
|
|
1
|
+
import type { IGetFunctionVersionParams, IGetFunctionVersionResponse, IGetFunctionVersionStepStatsParams, IGetFunctionVersionStepStatsQuery, IGetFunctionVersionStepStatsResponse, IListFunctionVersionParams, IListFunctionVersionQuery, IOpenFunctionVersionParams, IOpenFunctionVersionResponse, IListFunctionVersionResponse } from '../types';
|
|
2
|
+
export declare const listFunctionVersion: (params: IListFunctionVersionParams, query?: IListFunctionVersionQuery) => Promise<IListFunctionVersionResponse>;
|
|
3
3
|
export declare const getFunctionVersion: (params: IGetFunctionVersionParams) => Promise<IGetFunctionVersionResponse>;
|
|
4
4
|
export declare const getFunctionVersionStepStats: (params: IGetFunctionVersionStepStatsParams, query?: IGetFunctionVersionStepStatsQuery) => Promise<IGetFunctionVersionStepStatsResponse>;
|
|
5
|
+
export declare const openFunctionVersion: (params: IOpenFunctionVersionParams) => Promise<IOpenFunctionVersionResponse>;
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getFunctionVersionStepStats = exports.getFunctionVersion = exports.listFunctionVersion = void 0;
|
|
3
|
+
exports.openFunctionVersion = exports.getFunctionVersionStepStats = exports.getFunctionVersion = exports.listFunctionVersion = void 0;
|
|
4
4
|
const __1 = require("..");
|
|
5
5
|
const versionUrl = (params) => `api/function/${params.applicationId}/${params.functionId}/version`;
|
|
6
|
-
const listFunctionVersion = async (params) => (await __1.AbyssReflexCore.axios.get(versionUrl(params)
|
|
6
|
+
const listFunctionVersion = async (params, query = {}) => (await __1.AbyssReflexCore.axios.get(versionUrl(params), {
|
|
7
|
+
params: query,
|
|
8
|
+
})).data;
|
|
7
9
|
exports.listFunctionVersion = listFunctionVersion;
|
|
8
10
|
const getFunctionVersion = async (params) => (await __1.AbyssReflexCore.axios.get(`${versionUrl(params)}/${params.versionId}`)).data;
|
|
9
11
|
exports.getFunctionVersion = getFunctionVersion;
|
|
10
12
|
const getFunctionVersionStepStats = async (params, query = {}) => (await __1.AbyssReflexCore.axios.get(`${versionUrl(params)}/${params.versionId}/step-stats`, { params: query })).data;
|
|
11
13
|
exports.getFunctionVersionStepStats = getFunctionVersionStepStats;
|
|
14
|
+
const openFunctionVersion = async (params) => (await __1.AbyssReflexCore.axios.post(`${versionUrl(params)}/${params.versionId}/open`)).data;
|
|
15
|
+
exports.openFunctionVersion = openFunctionVersion;
|
|
12
16
|
//# sourceMappingURL=function-version.api.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"function-version.api.js","sourceRoot":"","sources":["../../src/api/function-version.api.ts"],"names":[],"mappings":";;;AAAA,0BAAqC;
|
|
1
|
+
{"version":3,"file":"function-version.api.js","sourceRoot":"","sources":["../../src/api/function-version.api.ts"],"names":[],"mappings":";;;AAAA,0BAAqC;AAcrC,MAAM,UAAU,GAAG,CAAC,MAAqD,EAAU,EAAE,CACnF,gBAAgB,MAAM,CAAC,aAAa,IAAI,MAAM,CAAC,UAAU,UAAU,CAAC;AAM/D,MAAM,mBAAmB,GAAG,KAAK,EACtC,MAAkC,EAClC,QAAmC,EAAE,EACE,EAAE,CACzC,CACE,MAAM,mBAAe,CAAC,KAAK,CAAC,GAAG,CAA+B,UAAU,CAAC,MAAM,CAAC,EAAE;IAChF,MAAM,EAAE,KAAK;CACd,CAAC,CACH,CAAC,IAAI,CAAC;AARI,QAAA,mBAAmB,uBAQvB;AAGF,MAAM,kBAAkB,GAAG,KAAK,EACrC,MAAiC,EACK,EAAE,CACxC,CACE,MAAM,mBAAe,CAAC,KAAK,CAAC,GAAG,CAC7B,GAAG,UAAU,CAAC,MAAM,CAAC,IAAI,MAAM,CAAC,SAAS,EAAE,CAC5C,CACF,CAAC,IAAI,CAAC;AAPI,QAAA,kBAAkB,sBAOtB;AAOF,MAAM,2BAA2B,GAAG,KAAK,EAC9C,MAA0C,EAC1C,QAA2C,EAAE,EACE,EAAE,CACjD,CACE,MAAM,mBAAe,CAAC,KAAK,CAAC,GAAG,CAC7B,GAAG,UAAU,CAAC,MAAM,CAAC,IAAI,MAAM,CAAC,SAAS,aAAa,EACtD,EAAE,MAAM,EAAE,KAAK,EAAE,CAClB,CACF,CAAC,IAAI,CAAC;AATI,QAAA,2BAA2B,+BAS/B;AAGF,MAAM,mBAAmB,GAAG,KAAK,EACtC,MAAkC,EACK,EAAE,CACzC,CACE,MAAM,mBAAe,CAAC,KAAK,CAAC,IAAI,CAC9B,GAAG,UAAU,CAAC,MAAM,CAAC,IAAI,MAAM,CAAC,SAAS,OAAO,CACjD,CACF,CAAC,IAAI,CAAC;AAPI,QAAA,mBAAmB,uBAOvB"}
|
package/dist/api/index.d.ts
CHANGED
package/dist/api/index.js
CHANGED
|
@@ -35,4 +35,5 @@ __exportStar(require("./application-run-settings.api"), exports);
|
|
|
35
35
|
__exportStar(require("./application-insights.api"), exports);
|
|
36
36
|
__exportStar(require("./alert-rule.api"), exports);
|
|
37
37
|
__exportStar(require("./route-stats.api"), exports);
|
|
38
|
+
__exportStar(require("./function-template.api"), exports);
|
|
38
39
|
//# sourceMappingURL=index.js.map
|
package/dist/api/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,iDAA+B;AAC/B,wDAAsC;AACtC,sDAAoC;AACpC,yDAAuC;AACvC,qDAAmC;AACnC,0DAAwC;AACxC,gDAA8B;AAC9B,sDAAoC;AACpC,wDAAsC;AACtC,2DAAyC;AACzC,8DAA4C;AAC5C,wDAAsC;AACtC,8DAA4C;AAC5C,yDAAuC;AACvC,0DAAwC;AACxC,qDAAmC;AACnC,iEAA+C;AAC/C,6DAA2C;AAC3C,mDAAiC;AACjC,oDAAkC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,iDAA+B;AAC/B,wDAAsC;AACtC,sDAAoC;AACpC,yDAAuC;AACvC,qDAAmC;AACnC,0DAAwC;AACxC,gDAA8B;AAC9B,sDAAoC;AACpC,wDAAsC;AACtC,2DAAyC;AACzC,8DAA4C;AAC5C,wDAAsC;AACtC,8DAA4C;AAC5C,yDAAuC;AACvC,0DAAwC;AACxC,qDAAmC;AACnC,iEAA+C;AAC/C,6DAA2C;AAC3C,mDAAiC;AACjC,oDAAkC;AAClC,0DAAwC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as healthApi from './api/health.api';
|
|
2
2
|
import * as functionApi from './api/function.api';
|
|
3
3
|
import * as functionAccessApi from './api/function-access.api';
|
|
4
|
+
import * as functionTemplateApi from './api/function-template.api';
|
|
4
5
|
import * as functionTestApi from './api/function-test.api';
|
|
5
6
|
import * as functionVersionApi from './api/function-version.api';
|
|
6
7
|
import * as functionRunApi from './api/function-run.api';
|
|
@@ -39,6 +40,10 @@ type AbyssReflexCoreSDK = {
|
|
|
39
40
|
list: typeof functionAccessApi.listFunctionAccess;
|
|
40
41
|
grant: typeof functionAccessApi.grantFunctionAccess;
|
|
41
42
|
revoke: typeof functionAccessApi.revokeFunctionAccess;
|
|
43
|
+
grantAll: typeof functionAccessApi.grantAllFunctionAccess;
|
|
44
|
+
request: typeof functionAccessApi.requestFunctionAccess;
|
|
45
|
+
grantRequest: typeof functionAccessApi.grantFunctionAccessRequest;
|
|
46
|
+
dismissRequest: typeof functionAccessApi.dismissFunctionAccessRequest;
|
|
42
47
|
};
|
|
43
48
|
test: {
|
|
44
49
|
simulate: typeof functionTestApi.simulateFunction;
|
|
@@ -48,6 +53,7 @@ type AbyssReflexCoreSDK = {
|
|
|
48
53
|
list: typeof functionVersionApi.listFunctionVersion;
|
|
49
54
|
get: typeof functionVersionApi.getFunctionVersion;
|
|
50
55
|
stepStats: typeof functionVersionApi.getFunctionVersionStepStats;
|
|
56
|
+
open: typeof functionVersionApi.openFunctionVersion;
|
|
51
57
|
};
|
|
52
58
|
run: {
|
|
53
59
|
list: typeof functionRunApi.listFunctionRun;
|
|
@@ -67,6 +73,12 @@ type AbyssReflexCoreSDK = {
|
|
|
67
73
|
set: typeof functionSettingsApi.setFunctionLogCap;
|
|
68
74
|
};
|
|
69
75
|
};
|
|
76
|
+
functionTemplate: {
|
|
77
|
+
list: typeof functionTemplateApi.listFunctionTemplate;
|
|
78
|
+
create: typeof functionTemplateApi.createFunctionTemplate;
|
|
79
|
+
update: typeof functionTemplateApi.updateFunctionTemplate;
|
|
80
|
+
delete: typeof functionTemplateApi.deleteFunctionTemplate;
|
|
81
|
+
};
|
|
70
82
|
application: {
|
|
71
83
|
runSettings: {
|
|
72
84
|
get: typeof applicationRunSettingsApi.getApplicationRunSettings;
|
package/dist/index.js
CHANGED
|
@@ -44,6 +44,7 @@ const axios_1 = __importDefault(require("axios"));
|
|
|
44
44
|
const healthApi = __importStar(require("./api/health.api"));
|
|
45
45
|
const functionApi = __importStar(require("./api/function.api"));
|
|
46
46
|
const functionAccessApi = __importStar(require("./api/function-access.api"));
|
|
47
|
+
const functionTemplateApi = __importStar(require("./api/function-template.api"));
|
|
47
48
|
const functionTestApi = __importStar(require("./api/function-test.api"));
|
|
48
49
|
const functionVersionApi = __importStar(require("./api/function-version.api"));
|
|
49
50
|
const functionRunApi = __importStar(require("./api/function-run.api"));
|
|
@@ -82,6 +83,10 @@ class AbyssReflexCore {
|
|
|
82
83
|
list: functionAccessApi.listFunctionAccess,
|
|
83
84
|
grant: functionAccessApi.grantFunctionAccess,
|
|
84
85
|
revoke: functionAccessApi.revokeFunctionAccess,
|
|
86
|
+
grantAll: functionAccessApi.grantAllFunctionAccess,
|
|
87
|
+
request: functionAccessApi.requestFunctionAccess,
|
|
88
|
+
grantRequest: functionAccessApi.grantFunctionAccessRequest,
|
|
89
|
+
dismissRequest: functionAccessApi.dismissFunctionAccessRequest,
|
|
85
90
|
},
|
|
86
91
|
test: {
|
|
87
92
|
simulate: functionTestApi.simulateFunction,
|
|
@@ -91,6 +96,7 @@ class AbyssReflexCore {
|
|
|
91
96
|
list: functionVersionApi.listFunctionVersion,
|
|
92
97
|
get: functionVersionApi.getFunctionVersion,
|
|
93
98
|
stepStats: functionVersionApi.getFunctionVersionStepStats,
|
|
99
|
+
open: functionVersionApi.openFunctionVersion,
|
|
94
100
|
},
|
|
95
101
|
run: {
|
|
96
102
|
list: functionRunApi.listFunctionRun,
|
|
@@ -110,6 +116,12 @@ class AbyssReflexCore {
|
|
|
110
116
|
set: functionSettingsApi.setFunctionLogCap,
|
|
111
117
|
},
|
|
112
118
|
},
|
|
119
|
+
functionTemplate: {
|
|
120
|
+
list: functionTemplateApi.listFunctionTemplate,
|
|
121
|
+
create: functionTemplateApi.createFunctionTemplate,
|
|
122
|
+
update: functionTemplateApi.updateFunctionTemplate,
|
|
123
|
+
delete: functionTemplateApi.deleteFunctionTemplate,
|
|
124
|
+
},
|
|
113
125
|
application: {
|
|
114
126
|
runSettings: {
|
|
115
127
|
get: applicationRunSettingsApi.getApplicationRunSettings,
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAA0B;AAC1B,4DAA8C;AAC9C,gEAAkD;AAClD,6EAA+D;AAC/D,yEAA2D;AAC3D,+EAAiE;AACjE,uEAAyD;AACzD,iFAAmE;AACnE,8DAAgD;AAChD,yEAA2D;AAC3D,6EAA+D;AAC/D,mFAAqE;AACrE,yFAA2E;AAC3E,6EAA+D;AAC/D,wFAA0E;AAC1E,+EAAiE;AACjE,iFAAmE;AACnE,uEAAyD;AACzD,8FAAgF;AAChF,uFAAyE;AACzE,mEAAqD;AACrD,qEAAuD;AAEvD,wCAAsB;AACtB,0CAAwB;AACxB,4CAA0B;AAC1B,6CAA2B;AAE3B,MAAM,gBAAgB,GAAG,sCAAsC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAA0B;AAC1B,4DAA8C;AAC9C,gEAAkD;AAClD,6EAA+D;AAC/D,iFAAmE;AACnE,yEAA2D;AAC3D,+EAAiE;AACjE,uEAAyD;AACzD,iFAAmE;AACnE,8DAAgD;AAChD,yEAA2D;AAC3D,6EAA+D;AAC/D,mFAAqE;AACrE,yFAA2E;AAC3E,6EAA+D;AAC/D,wFAA0E;AAC1E,+EAAiE;AACjE,iFAAmE;AACnE,uEAAyD;AACzD,8FAAgF;AAChF,uFAAyE;AACzE,mE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IAAI,CAAC;QAE5B,eAAe,CAAC,MAAM,GAAG,EAAE,GAAG,eAAe,CAAC,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC;QAElE,IAAI,MAAM,CAAC,OAAO,EAAE,CAAC;YACnB,eAAe,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC;QAC1D,CAAC;QAED,IAAI,MAAM,CAAC,KAAK,EAAE,CAAC;YACjB,eAAe,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,aAAa,GAAG,UAAU,MAAM,CAAC,KAAK,EAAE,CAAC;QACzF,CAAC;IACH,CAAC;IAEM,MAAM,CAAC,SAAS;QACrB,OAAO,eAAe,CAAC,MAAM,CAAC;IAChC,CAAC;;AAzLH,0CA0LC;AAzLgB,sBAAM,GAAe;IAClC,OAAO,EAAE,gBAAgB;CAC1B,CAAC;AACK,qBAAK,GAAG,eAAK,CAAC,MAAM,CAAC;IAC1B,OAAO,EAAE,gBAAgB;CAC1B,CAAC,CAAC;AAEY,oBAAI,GAA8B,IAAI,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AccessRequestStatus = void 0;
|
|
4
|
+
var AccessRequestStatus;
|
|
5
|
+
(function (AccessRequestStatus) {
|
|
6
|
+
AccessRequestStatus["PENDING"] = "PENDING";
|
|
7
|
+
AccessRequestStatus["GRANTED"] = "GRANTED";
|
|
8
|
+
AccessRequestStatus["DISMISSED"] = "DISMISSED";
|
|
9
|
+
})(AccessRequestStatus || (exports.AccessRequestStatus = AccessRequestStatus = {}));
|
|
10
|
+
//# sourceMappingURL=access-request-status.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"access-request-status.enum.js","sourceRoot":"","sources":["../../../src/types/enum/access-request-status.enum.ts"],"names":[],"mappings":";;;AAMA,IAAY,mBAIX;AAJD,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,0CAAmB,CAAA;IACnB,8CAAuB,CAAA;AACzB,CAAC,EAJW,mBAAmB,mCAAnB,mBAAmB,QAI9B"}
|
package/dist/types/enum/index.js
CHANGED
|
@@ -62,4 +62,5 @@ __exportStar(require("./log-drop-cause.enum"), exports);
|
|
|
62
62
|
__exportStar(require("./reflex-alert-scope.enum"), exports);
|
|
63
63
|
__exportStar(require("./reflex-alert-metric.enum"), exports);
|
|
64
64
|
__exportStar(require("./reflex-alert-notification-state.enum"), exports);
|
|
65
|
+
__exportStar(require("./access-request-status.enum"), exports);
|
|
65
66
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/enum/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,6DAA2C;AAC3C,6DAA2C;AAC3C,kDAAgC;AAChC,oDAAkC;AAClC,2DAAyC;AACzC,2DAAyC;AACzC,qDAAmC;AACnC,2DAAyC;AACzC,wDAAsC;AACtC,mEAAiD;AACjD,yDAAuC;AACvC,uDAAqC;AACrC,sDAAoC;AACpC,sDAAoC;AACpC,mEAAiD;AACjD,mEAAiD;AACjD,4DAA0C;AAC1C,0DAAwC;AACxC,+DAA6C;AAC7C,qEAAmD;AACnD,6DAA2C;AAC3C,gEAA8C;AAC9C,6DAA2C;AAC3C,6DAA2C;AAC3C,iEAA+C;AAC/C,+DAA6C;AAC7C,+DAA6C;AAC7C,sEAAoD;AACpD,8DAA4C;AAC5C,8DAA4C;AAC5C,8DAA4C;AAC5C,oEAAkD;AAClD,4DAA0C;AAC1C,8DAA4C;AAC5C,mEAAiD;AACjD,mEAAiD;AACjD,gEAA8C;AAC9C,yDAAuC;AACvC,sDAAoC;AACpC,8DAA4C;AAC5C,wDAAsC;AACtC,6DAA2C;AAC3C,sDAAoC;AACpC,wDAAsC;AACtC,4DAA0C;AAC1C,6DAA2C;AAC3C,yEAAuD"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/enum/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,6DAA2C;AAC3C,6DAA2C;AAC3C,kDAAgC;AAChC,oDAAkC;AAClC,2DAAyC;AACzC,2DAAyC;AACzC,qDAAmC;AACnC,2DAAyC;AACzC,wDAAsC;AACtC,mEAAiD;AACjD,yDAAuC;AACvC,uDAAqC;AACrC,sDAAoC;AACpC,sDAAoC;AACpC,mEAAiD;AACjD,mEAAiD;AACjD,4DAA0C;AAC1C,0DAAwC;AACxC,+DAA6C;AAC7C,qEAAmD;AACnD,6DAA2C;AAC3C,gEAA8C;AAC9C,6DAA2C;AAC3C,6DAA2C;AAC3C,iEAA+C;AAC/C,+DAA6C;AAC7C,+DAA6C;AAC7C,sEAAoD;AACpD,8DAA4C;AAC5C,8DAA4C;AAC5C,8DAA4C;AAC5C,oEAAkD;AAClD,4DAA0C;AAC1C,8DAA4C;AAC5C,mEAAiD;AACjD,mEAAiD;AACjD,gEAA8C;AAC9C,yDAAuC;AACvC,sDAAoC;AACpC,8DAA4C;AAC5C,wDAAsC;AACtC,6DAA2C;AAC3C,sDAAoC;AACpC,wDAAsC;AACtC,4DAA0C;AAC1C,6DAA2C;AAC3C,yEAAuD;AACvD,+DAA6C"}
|
|
@@ -15,3 +15,24 @@ export interface IRevokeFunctionAccessParams {
|
|
|
15
15
|
functionId: string;
|
|
16
16
|
grantId: string;
|
|
17
17
|
}
|
|
18
|
+
export interface IGrantAllFunctionAccessParams {
|
|
19
|
+
applicationId: string;
|
|
20
|
+
functionId: string;
|
|
21
|
+
}
|
|
22
|
+
export interface IRequestFunctionAccessParams {
|
|
23
|
+
applicationId: string;
|
|
24
|
+
functionId: string;
|
|
25
|
+
}
|
|
26
|
+
export interface IRequestFunctionAccessBody {
|
|
27
|
+
declaration: IReflexAccessDeclaration;
|
|
28
|
+
}
|
|
29
|
+
export interface IGrantFunctionAccessRequestParams {
|
|
30
|
+
applicationId: string;
|
|
31
|
+
functionId: string;
|
|
32
|
+
requestId: string;
|
|
33
|
+
}
|
|
34
|
+
export interface IDismissFunctionAccessRequestParams {
|
|
35
|
+
applicationId: string;
|
|
36
|
+
functionId: string;
|
|
37
|
+
requestId: string;
|
|
38
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface IListFunctionTemplateParams {
|
|
2
|
+
applicationId: string;
|
|
3
|
+
}
|
|
4
|
+
export interface ICreateFunctionTemplateParams {
|
|
5
|
+
applicationId: string;
|
|
6
|
+
}
|
|
7
|
+
export interface ICreateFunctionTemplateBody {
|
|
8
|
+
name: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
functionId: string;
|
|
11
|
+
}
|
|
12
|
+
export interface IUpdateFunctionTemplateParams {
|
|
13
|
+
applicationId: string;
|
|
14
|
+
templateId: string;
|
|
15
|
+
}
|
|
16
|
+
export interface IUpdateFunctionTemplateBody {
|
|
17
|
+
name?: string;
|
|
18
|
+
description?: string;
|
|
19
|
+
}
|
|
20
|
+
export interface IDeleteFunctionTemplateParams {
|
|
21
|
+
applicationId: string;
|
|
22
|
+
templateId: string;
|
|
23
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"function-template.request.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/function-template.request.ts"],"names":[],"mappings":""}
|
|
@@ -2,6 +2,13 @@ export interface IListFunctionVersionParams {
|
|
|
2
2
|
applicationId: string;
|
|
3
3
|
functionId: string;
|
|
4
4
|
}
|
|
5
|
+
export interface IListFunctionVersionQuery {
|
|
6
|
+
page?: number;
|
|
7
|
+
limit?: number;
|
|
8
|
+
number?: number;
|
|
9
|
+
publishedByUserId?: string;
|
|
10
|
+
deployed?: boolean;
|
|
11
|
+
}
|
|
5
12
|
export interface IGetFunctionVersionParams {
|
|
6
13
|
applicationId: string;
|
|
7
14
|
functionId: string;
|
|
@@ -15,3 +22,8 @@ export interface IGetFunctionVersionStepStatsParams {
|
|
|
15
22
|
export interface IGetFunctionVersionStepStatsQuery {
|
|
16
23
|
environmentId?: string;
|
|
17
24
|
}
|
|
25
|
+
export interface IOpenFunctionVersionParams {
|
|
26
|
+
applicationId: string;
|
|
27
|
+
functionId: string;
|
|
28
|
+
versionId: string;
|
|
29
|
+
}
|
|
@@ -33,4 +33,5 @@ __exportStar(require("./application-run-settings.request"), exports);
|
|
|
33
33
|
__exportStar(require("./application-insights.request"), exports);
|
|
34
34
|
__exportStar(require("./alert-rule.request"), exports);
|
|
35
35
|
__exportStar(require("./route-stats.request"), exports);
|
|
36
|
+
__exportStar(require("./function-template.request"), exports);
|
|
36
37
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,4DAA0C;AAC1C,0DAAwC;AACxC,6DAA2C;AAC3C,yDAAuC;AACvC,8DAA4C;AAC5C,oDAAkC;AAClC,0DAAwC;AACxC,4DAA0C;AAC1C,+DAA6C;AAC7C,kEAAgD;AAChD,4DAA0C;AAC1C,yDAAuC;AACvC,kEAAgD;AAChD,6DAA2C;AAC3C,qEAAmD;AACnD,iEAA+C;AAC/C,uDAAqC;AACrC,wDAAsC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/requests/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,4DAA0C;AAC1C,0DAAwC;AACxC,6DAA2C;AAC3C,yDAAuC;AACvC,8DAA4C;AAC5C,oDAAkC;AAClC,0DAAwC;AACxC,4DAA0C;AAC1C,+DAA6C;AAC7C,kEAAgD;AAChD,4DAA0C;AAC1C,yDAAuC;AACvC,kEAAgD;AAChD,6DAA2C;AAC3C,qEAAmD;AACnD,iEAA+C;AAC/C,uDAAqC;AACrC,wDAAsC;AACtC,8DAA4C"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import type { IReflexAccessGrant } from '../../models';
|
|
1
|
+
import type { IReflexAccessGrant, IReflexAccessRequest } from '../../models';
|
|
2
2
|
import type { IResponse } from '../response';
|
|
3
3
|
export interface IListFunctionAccessData {
|
|
4
4
|
grants: IReflexAccessGrant[];
|
|
5
|
+
requests: IReflexAccessRequest[];
|
|
6
|
+
grantable: string[];
|
|
5
7
|
}
|
|
6
8
|
export type IListFunctionAccessResponse = IResponse<IListFunctionAccessData>;
|
|
7
9
|
export interface IGrantFunctionAccessData {
|
|
@@ -12,3 +14,21 @@ export interface IRevokeFunctionAccessData {
|
|
|
12
14
|
grant: IReflexAccessGrant;
|
|
13
15
|
}
|
|
14
16
|
export type IRevokeFunctionAccessResponse = IResponse<IRevokeFunctionAccessData>;
|
|
17
|
+
export interface IGrantAllFunctionAccessData {
|
|
18
|
+
granted: IReflexAccessGrant[];
|
|
19
|
+
requested: IReflexAccessRequest[];
|
|
20
|
+
}
|
|
21
|
+
export type IGrantAllFunctionAccessResponse = IResponse<IGrantAllFunctionAccessData>;
|
|
22
|
+
export interface IRequestFunctionAccessData {
|
|
23
|
+
request: IReflexAccessRequest;
|
|
24
|
+
}
|
|
25
|
+
export type IRequestFunctionAccessResponse = IResponse<IRequestFunctionAccessData>;
|
|
26
|
+
export interface IGrantFunctionAccessRequestData {
|
|
27
|
+
request: IReflexAccessRequest;
|
|
28
|
+
grant: IReflexAccessGrant;
|
|
29
|
+
}
|
|
30
|
+
export type IGrantFunctionAccessRequestResponse = IResponse<IGrantFunctionAccessRequestData>;
|
|
31
|
+
export interface IDismissFunctionAccessRequestData {
|
|
32
|
+
request: IReflexAccessRequest;
|
|
33
|
+
}
|
|
34
|
+
export type IDismissFunctionAccessRequestResponse = IResponse<IDismissFunctionAccessRequestData>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { IReflexFunctionTemplate } from '../../models';
|
|
2
|
+
import type { IResponse } from '../response';
|
|
3
|
+
export interface IListFunctionTemplateData {
|
|
4
|
+
templates: IReflexFunctionTemplate[];
|
|
5
|
+
}
|
|
6
|
+
export type IListFunctionTemplateResponse = IResponse<IListFunctionTemplateData>;
|
|
7
|
+
export interface ICreateFunctionTemplateData {
|
|
8
|
+
template: IReflexFunctionTemplate;
|
|
9
|
+
}
|
|
10
|
+
export type ICreateFunctionTemplateResponse = IResponse<ICreateFunctionTemplateData>;
|
|
11
|
+
export interface IUpdateFunctionTemplateData {
|
|
12
|
+
template: IReflexFunctionTemplate;
|
|
13
|
+
}
|
|
14
|
+
export type IUpdateFunctionTemplateResponse = IResponse<IUpdateFunctionTemplateData>;
|
|
15
|
+
export type IDeleteFunctionTemplateData = Record<string, never>;
|
|
16
|
+
export type IDeleteFunctionTemplateResponse = IResponse<IDeleteFunctionTemplateData>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"function-template.response.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/function-template.response.ts"],"names":[],"mappings":""}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import type { IReflexFunctionVersion, IReflexRunningVersionHeapPeaks, IReflexStepStats } from '../../models';
|
|
1
|
+
import type { IReflexFunction, IReflexFunctionVersion, IReflexFunctionVersionRow, IReflexRunningVersionHeapPeaks, IReflexStepStats } from '../../models';
|
|
2
2
|
import type { IResponse } from '../response';
|
|
3
3
|
export interface IListFunctionVersionData {
|
|
4
|
-
|
|
4
|
+
rows: IReflexFunctionVersionRow[];
|
|
5
|
+
total: number;
|
|
5
6
|
}
|
|
6
7
|
export type IListFunctionVersionResponse = IResponse<IListFunctionVersionData>;
|
|
7
8
|
export interface IGetFunctionVersionData {
|
|
@@ -17,3 +18,7 @@ export interface IGetFunctionVersionStepStatsData {
|
|
|
17
18
|
runningVersion: IReflexRunningVersionHeapPeaks | null;
|
|
18
19
|
}
|
|
19
20
|
export type IGetFunctionVersionStepStatsResponse = IResponse<IGetFunctionVersionStepStatsData>;
|
|
21
|
+
export interface IOpenFunctionVersionData {
|
|
22
|
+
function: IReflexFunction;
|
|
23
|
+
}
|
|
24
|
+
export type IOpenFunctionVersionResponse = IResponse<IOpenFunctionVersionData>;
|
|
@@ -33,4 +33,5 @@ __exportStar(require("./application-run-settings.response"), exports);
|
|
|
33
33
|
__exportStar(require("./application-insights.response"), exports);
|
|
34
34
|
__exportStar(require("./alert-rule.response"), exports);
|
|
35
35
|
__exportStar(require("./route-stats.response"), exports);
|
|
36
|
+
__exportStar(require("./function-template.response"), exports);
|
|
36
37
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,6DAA2C;AAC3C,2DAAyC;AACzC,8DAA4C;AAC5C,0DAAwC;AACxC,+DAA6C;AAC7C,qDAAmC;AACnC,2DAAyC;AACzC,6DAA2C;AAC3C,gEAA8C;AAC9C,mEAAiD;AACjD,6DAA2C;AAC3C,0DAAwC;AACxC,mEAAiD;AACjD,8DAA4C;AAC5C,sEAAoD;AACpD,kEAAgD;AAChD,wDAAsC;AACtC,yDAAuC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,6DAA2C;AAC3C,2DAAyC;AACzC,8DAA4C;AAC5C,0DAAwC;AACxC,+DAA6C;AAC7C,qDAAmC;AACnC,2DAAyC;AACzC,6DAA2C;AAC3C,gEAA8C;AAC9C,mEAAiD;AACjD,6DAA2C;AAC3C,0DAAwC;AACxC,mEAAiD;AACjD,8DAA4C;AAC5C,sEAAoD;AACpD,kEAAgD;AAChD,wDAAsC;AACtC,yDAAuC;AACvC,+DAA6C"}
|
|
@@ -43,6 +43,7 @@ export interface IGetServiceVersionDraftStatusData {
|
|
|
43
43
|
changedFunctions: number;
|
|
44
44
|
changedTasks: number;
|
|
45
45
|
changedEvents: number;
|
|
46
|
+
unchanged: boolean;
|
|
46
47
|
}
|
|
47
48
|
export type IGetServiceVersionDraftStatusResponse = IResponse<IGetServiceVersionDraftStatusData>;
|
|
48
49
|
export interface IGetServiceVersionData {
|
|
@@ -19,3 +19,5 @@ export * from './reflex-insights.model';
|
|
|
19
19
|
export * from './reflex-discord-event-log.model';
|
|
20
20
|
export * from './reflex-run-settings.model';
|
|
21
21
|
export * from './reflex-alert-rule.model';
|
|
22
|
+
export * from './reflex-access-request.model';
|
|
23
|
+
export * from './reflex-function-template.model';
|
|
@@ -35,4 +35,6 @@ __exportStar(require("./reflex-insights.model"), exports);
|
|
|
35
35
|
__exportStar(require("./reflex-discord-event-log.model"), exports);
|
|
36
36
|
__exportStar(require("./reflex-run-settings.model"), exports);
|
|
37
37
|
__exportStar(require("./reflex-alert-rule.model"), exports);
|
|
38
|
+
__exportStar(require("./reflex-access-request.model"), exports);
|
|
39
|
+
__exportStar(require("./reflex-function-template.model"), exports);
|
|
38
40
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/interface/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C;AAC1C,0DAAwC;AACxC,kEAAgD;AAChD,8DAA4C;AAC5C,qDAAmC;AACnC,oEAAkD;AAClD,4DAA0C;AAC1C,4DAA0C;AAC1C,yDAAuC;AACvC,uDAAqC;AACrC,iEAA+C;AAC/C,oEAAkD;AAClD,uEAAqD;AACrD,yDAAuC;AACvC,sDAAoC;AACpC,+DAA6C;AAC7C,4DAA0C;AAC1C,0DAAwC;AACxC,mEAAiD;AACjD,8DAA4C;AAC5C,4DAA0C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/interface/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C;AAC1C,0DAAwC;AACxC,kEAAgD;AAChD,8DAA4C;AAC5C,qDAAmC;AACnC,oEAAkD;AAClD,4DAA0C;AAC1C,4DAA0C;AAC1C,yDAAuC;AACvC,uDAAqC;AACrC,iEAA+C;AAC/C,oEAAkD;AAClD,uEAAqD;AACrD,yDAAuC;AACvC,sDAAoC;AACpC,+DAA6C;AAC7C,4DAA0C;AAC1C,0DAAwC;AACxC,mEAAiD;AACjD,8DAA4C;AAC5C,4DAA0C;AAC1C,gEAA8C;AAC9C,mEAAiD"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { AccessRequestStatus } from '../../enum';
|
|
2
|
+
import type { IReflexAccessDeclaration } from './reflex-definition.model';
|
|
3
|
+
export interface IReflexAccessRequest {
|
|
4
|
+
id: string;
|
|
5
|
+
functionId: string;
|
|
6
|
+
declaration: IReflexAccessDeclaration;
|
|
7
|
+
declarationKey: string;
|
|
8
|
+
status: AccessRequestStatus;
|
|
9
|
+
requestedByUserId: string;
|
|
10
|
+
requestedAt: Date;
|
|
11
|
+
resolvedByUserId: string | null;
|
|
12
|
+
resolvedAt: Date | null;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reflex-access-request.model.js","sourceRoot":"","sources":["../../../../src/types/interface/models/reflex-access-request.model.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ServiceType } from '../../enum';
|
|
2
|
+
import type { IReflexDefinition } from './reflex-definition.model';
|
|
3
|
+
export interface IReflexFunctionTemplate {
|
|
4
|
+
id: string;
|
|
5
|
+
applicationId: string;
|
|
6
|
+
name: string;
|
|
7
|
+
description: string | null;
|
|
8
|
+
serviceType: ServiceType | null;
|
|
9
|
+
definition: IReflexDefinition;
|
|
10
|
+
createdByUserId: string;
|
|
11
|
+
createdAt: Date;
|
|
12
|
+
updatedAt: Date;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reflex-function-template.model.js","sourceRoot":"","sources":["../../../../src/types/interface/models/reflex-function-template.model.ts"],"names":[],"mappings":""}
|
|
@@ -6,8 +6,17 @@ export interface IReflexFunction {
|
|
|
6
6
|
projectId: string;
|
|
7
7
|
name: string;
|
|
8
8
|
draftDefinition: IReflexDefinition;
|
|
9
|
+
draftHash: string;
|
|
10
|
+
latestVersion: IReflexFunctionLatestVersion | null;
|
|
11
|
+
draftBaseVersionId: string | null;
|
|
12
|
+
draftBaseVersionNumber: number | null;
|
|
9
13
|
createdByUserId: string;
|
|
10
14
|
updatedByUserId: string;
|
|
11
15
|
createdAt: Date;
|
|
12
16
|
updatedAt: Date;
|
|
13
17
|
}
|
|
18
|
+
export interface IReflexFunctionLatestVersion {
|
|
19
|
+
id: string;
|
|
20
|
+
number: number;
|
|
21
|
+
hash: string;
|
|
22
|
+
}
|