@flowcore/sdk 1.49.0 → 1.50.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/CHANGELOG.md +23 -0
- package/README.md +47 -0
- package/esm/_dnt.shims.d.ts +1 -1
- package/esm/commands/adapter/reset-adapter.d.ts +52 -0
- package/esm/commands/adapter/reset-adapter.d.ts.map +1 -0
- package/esm/commands/adapter/reset-adapter.js +38 -0
- package/esm/commands/ai-agent-coordinator/conversation-stream.command.js +1 -6
- package/esm/commands/api-key/api-key.create.js +8 -21
- package/esm/commands/api-key/api-key.delete.js +4 -12
- package/esm/commands/api-key/api-key.list.js +4 -12
- package/esm/commands/data-core/data-core.create.js +4 -12
- package/esm/commands/data-core/data-core.request-delete.js +4 -12
- package/esm/commands/event-type/event-type.create.js +4 -12
- package/esm/commands/event-type/event-type.request-delete.js +4 -12
- package/esm/commands/event-type/event-type.request-truncate.js +4 -12
- package/esm/commands/events/event.list.js +4 -12
- package/esm/commands/events/events.fetch-time-buckets-by-names.js +4 -12
- package/esm/commands/events/events.fetch.js +4 -12
- package/esm/commands/events/time-bucket.list.js +4 -12
- package/esm/commands/flow-type/flow-type.create.js +4 -12
- package/esm/commands/flow-type/flow-type.request-delete.js +4 -12
- package/esm/commands/index.d.ts +1 -7
- package/esm/commands/index.d.ts.map +1 -1
- package/esm/commands/index.js +2 -8
- package/esm/commands/ingestion/ingest.batch.js +5 -18
- package/esm/commands/ingestion/ingest.event.js +5 -18
- package/esm/commands/scenario/scenario.create.js +4 -12
- package/esm/commands/scenario/scenario.delete.js +4 -12
- package/esm/commands/scenario/scenario.fetch.js +4 -12
- package/esm/commands/scenario/scenario.list.js +4 -12
- package/esm/commands/scenario/scenario.update.js +4 -12
- package/esm/commands/secret/secret.create.js +4 -12
- package/esm/commands/secret/secret.delete.js +4 -12
- package/esm/commands/secret/secret.list.js +4 -12
- package/esm/commands/security/pat.create.js +4 -12
- package/esm/commands/security/pat.delete.js +4 -12
- package/esm/commands/security/pat.exchange.js +4 -12
- package/esm/commands/security/pat.get.js +4 -12
- package/esm/commands/security/pat.list.js +4 -12
- package/esm/commands/tenant/tenant.list.js +4 -12
- package/esm/commands/variable/variable.create.js +4 -12
- package/esm/commands/variable/variable.delete.js +4 -12
- package/esm/commands/variable/variable.list.js +4 -12
- package/esm/common/command-graphql.js +4 -12
- package/esm/common/command.js +20 -45
- package/esm/common/flowcore-client.js +4 -18
- package/esm/common/notification-client.js +15 -72
- package/esm/common/websocket-client.js +16 -80
- package/esm/exceptions/client-error.js +6 -18
- package/esm/exceptions/invalid-response.js +2 -6
- package/esm/utils/local-cache.js +5 -19
- package/package.json +1 -1
- package/script/_dnt.shims.d.ts +1 -1
- package/script/commands/adapter/reset-adapter.d.ts +52 -0
- package/script/commands/adapter/reset-adapter.d.ts.map +1 -0
- package/script/commands/adapter/reset-adapter.js +42 -0
- package/script/commands/ai-agent-coordinator/conversation-stream.command.js +1 -6
- package/script/commands/api-key/api-key.create.js +8 -21
- package/script/commands/api-key/api-key.delete.js +4 -12
- package/script/commands/api-key/api-key.list.js +4 -12
- package/script/commands/data-core/data-core.create.js +4 -12
- package/script/commands/data-core/data-core.request-delete.js +4 -12
- package/script/commands/event-type/event-type.create.js +4 -12
- package/script/commands/event-type/event-type.request-delete.js +4 -12
- package/script/commands/event-type/event-type.request-truncate.js +4 -12
- package/script/commands/events/event.list.js +4 -12
- package/script/commands/events/events.fetch-time-buckets-by-names.js +4 -12
- package/script/commands/events/events.fetch.js +4 -12
- package/script/commands/events/time-bucket.list.js +4 -12
- package/script/commands/flow-type/flow-type.create.js +4 -12
- package/script/commands/flow-type/flow-type.request-delete.js +4 -12
- package/script/commands/index.d.ts +1 -7
- package/script/commands/index.d.ts.map +1 -1
- package/script/commands/index.js +2 -8
- package/script/commands/ingestion/ingest.batch.js +5 -18
- package/script/commands/ingestion/ingest.event.js +5 -18
- package/script/commands/scenario/scenario.create.js +4 -12
- package/script/commands/scenario/scenario.delete.js +4 -12
- package/script/commands/scenario/scenario.fetch.js +4 -12
- package/script/commands/scenario/scenario.list.js +4 -12
- package/script/commands/scenario/scenario.update.js +4 -12
- package/script/commands/secret/secret.create.js +4 -12
- package/script/commands/secret/secret.delete.js +4 -12
- package/script/commands/secret/secret.list.js +4 -12
- package/script/commands/security/pat.create.js +4 -12
- package/script/commands/security/pat.delete.js +4 -12
- package/script/commands/security/pat.exchange.js +4 -12
- package/script/commands/security/pat.get.js +4 -12
- package/script/commands/security/pat.list.js +4 -12
- package/script/commands/tenant/tenant.list.js +4 -12
- package/script/commands/variable/variable.create.js +4 -12
- package/script/commands/variable/variable.delete.js +4 -12
- package/script/commands/variable/variable.list.js +4 -12
- package/script/common/command-graphql.js +4 -12
- package/script/common/command.js +20 -45
- package/script/common/flowcore-client.js +4 -18
- package/script/common/notification-client.js +15 -72
- package/script/common/websocket-client.js +16 -80
- package/script/exceptions/client-error.js +6 -18
- package/script/exceptions/invalid-response.js +2 -6
- package/script/utils/local-cache.js +5 -19
- package/esm/commands/iam/api-key-role-association.create.d.ts +0 -45
- package/esm/commands/iam/api-key-role-association.create.d.ts.map +0 -1
- package/esm/commands/iam/api-key-role-association.create.js +0 -44
- package/esm/commands/iam/api-key-role-association.delete.d.ts +0 -45
- package/esm/commands/iam/api-key-role-association.delete.d.ts.map +0 -1
- package/esm/commands/iam/api-key-role-association.delete.js +0 -44
- package/esm/commands/iam/api-key-role-association.list.d.ts +0 -31
- package/esm/commands/iam/api-key-role-association.list.d.ts.map +0 -1
- package/esm/commands/iam/api-key-role-association.list.js +0 -37
- package/esm/commands/iam/role.list.d.ts +0 -33
- package/esm/commands/iam/role.list.d.ts.map +0 -1
- package/esm/commands/iam/role.list.js +0 -41
- package/esm/commands/iam/user-role-association.create.d.ts +0 -42
- package/esm/commands/iam/user-role-association.create.d.ts.map +0 -1
- package/esm/commands/iam/user-role-association.create.js +0 -40
- package/esm/commands/iam/user-role-association.delete.d.ts +0 -42
- package/esm/commands/iam/user-role-association.delete.d.ts.map +0 -1
- package/esm/commands/iam/user-role-association.delete.js +0 -40
- package/esm/commands/iam/user-role-association.list.d.ts +0 -33
- package/esm/commands/iam/user-role-association.list.d.ts.map +0 -1
- package/esm/commands/iam/user-role-association.list.js +0 -39
- package/esm/contracts/iam.d.ts +0 -13
- package/esm/contracts/iam.d.ts.map +0 -1
- package/esm/contracts/iam.js +0 -9
- package/script/commands/iam/api-key-role-association.create.d.ts +0 -45
- package/script/commands/iam/api-key-role-association.create.d.ts.map +0 -1
- package/script/commands/iam/api-key-role-association.create.js +0 -48
- package/script/commands/iam/api-key-role-association.delete.d.ts +0 -45
- package/script/commands/iam/api-key-role-association.delete.d.ts.map +0 -1
- package/script/commands/iam/api-key-role-association.delete.js +0 -48
- package/script/commands/iam/api-key-role-association.list.d.ts +0 -31
- package/script/commands/iam/api-key-role-association.list.d.ts.map +0 -1
- package/script/commands/iam/api-key-role-association.list.js +0 -41
- package/script/commands/iam/role.list.d.ts +0 -33
- package/script/commands/iam/role.list.d.ts.map +0 -1
- package/script/commands/iam/role.list.js +0 -45
- package/script/commands/iam/user-role-association.create.d.ts +0 -42
- package/script/commands/iam/user-role-association.create.d.ts.map +0 -1
- package/script/commands/iam/user-role-association.create.js +0 -44
- package/script/commands/iam/user-role-association.delete.d.ts +0 -42
- package/script/commands/iam/user-role-association.delete.d.ts.map +0 -1
- package/script/commands/iam/user-role-association.delete.js +0 -44
- package/script/commands/iam/user-role-association.list.d.ts +0 -33
- package/script/commands/iam/user-role-association.list.d.ts.map +0 -1
- package/script/commands/iam/user-role-association.list.js +0 -43
- package/script/contracts/iam.d.ts +0 -13
- package/script/contracts/iam.d.ts.map +0 -1
- package/script/contracts/iam.js +0 -12
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UserRoleAssociationCreateCommand = void 0;
|
|
4
|
-
const typebox_1 = require("@sinclair/typebox");
|
|
5
|
-
const command_js_1 = require("../../common/command.js");
|
|
6
|
-
const parse_response_helper_js_1 = require("../../utils/parse-response-helper.js");
|
|
7
|
-
/**
|
|
8
|
-
* The response for the user role associations delete command
|
|
9
|
-
*/
|
|
10
|
-
const responseSchema = typebox_1.Type.Object({
|
|
11
|
-
roleId: typebox_1.Type.String(),
|
|
12
|
-
organizationId: typebox_1.Type.String(),
|
|
13
|
-
userId: typebox_1.Type.String(),
|
|
14
|
-
});
|
|
15
|
-
/**
|
|
16
|
-
* Create a user role association
|
|
17
|
-
*/
|
|
18
|
-
class UserRoleAssociationCreateCommand extends command_js_1.Command {
|
|
19
|
-
/**
|
|
20
|
-
* Get the method
|
|
21
|
-
*/
|
|
22
|
-
getMethod() {
|
|
23
|
-
return "POST";
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Get the base url
|
|
27
|
-
*/
|
|
28
|
-
getBaseUrl() {
|
|
29
|
-
return "https://iam.api.flowcore.io";
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Get the path
|
|
33
|
-
*/
|
|
34
|
-
getPath() {
|
|
35
|
-
return `/api/v1/role-associations/user/${this.input.userId}`;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Parse the response
|
|
39
|
-
*/
|
|
40
|
-
parseResponse(rawResponse) {
|
|
41
|
-
return (0, parse_response_helper_js_1.parseResponseHelper)(responseSchema, rawResponse);
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
exports.UserRoleAssociationCreateCommand = UserRoleAssociationCreateCommand;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { type Static, type TObject, type TString } from "@sinclair/typebox";
|
|
2
|
-
import { Command } from "../../common/command.js";
|
|
3
|
-
/**
|
|
4
|
-
* The input for the user role associations delete command
|
|
5
|
-
*/
|
|
6
|
-
export interface UserRoleAssociationDeleteInput {
|
|
7
|
-
/** the user id */
|
|
8
|
-
userId: string;
|
|
9
|
-
/** the role id */
|
|
10
|
-
roleId: string;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* The response for the user role associations delete command
|
|
14
|
-
*/
|
|
15
|
-
declare const responseSchema: TObject<{
|
|
16
|
-
roleId: TString;
|
|
17
|
-
organizationId: TString;
|
|
18
|
-
userId: TString;
|
|
19
|
-
}>;
|
|
20
|
-
/**
|
|
21
|
-
* Delete a user role association
|
|
22
|
-
*/
|
|
23
|
-
export declare class UserRoleAssociationDeleteCommand extends Command<UserRoleAssociationDeleteInput, Static<typeof responseSchema>> {
|
|
24
|
-
/**
|
|
25
|
-
* Get the method
|
|
26
|
-
*/
|
|
27
|
-
protected getMethod(): string;
|
|
28
|
-
/**
|
|
29
|
-
* Get the base url
|
|
30
|
-
*/
|
|
31
|
-
protected getBaseUrl(): string;
|
|
32
|
-
/**
|
|
33
|
-
* Get the path
|
|
34
|
-
*/
|
|
35
|
-
protected getPath(): string;
|
|
36
|
-
/**
|
|
37
|
-
* Parse the response
|
|
38
|
-
*/
|
|
39
|
-
protected parseResponse(rawResponse: unknown): Static<typeof responseSchema>;
|
|
40
|
-
}
|
|
41
|
-
export {};
|
|
42
|
-
//# sourceMappingURL=user-role-association.delete.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user-role-association.delete.d.ts","sourceRoot":"","sources":["../../../src/commands/iam/user-role-association.delete.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,OAAO,EAAE,KAAK,OAAO,EAAQ,MAAM,mBAAmB,CAAA;AACjF,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AAGjD;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC7C,kBAAkB;IAClB,MAAM,EAAE,MAAM,CAAA;IACd,kBAAkB;IAClB,MAAM,EAAE,MAAM,CAAA;CACf;AAED;;GAEG;AACH,QAAA,MAAM,cAAc,EAAE,OAAO,CAAC;IAC5B,MAAM,EAAE,OAAO,CAAA;IACf,cAAc,EAAE,OAAO,CAAA;IACvB,MAAM,EAAE,OAAO,CAAA;CAChB,CAIC,CAAA;AAEF;;GAEG;AACH,qBAAa,gCACX,SAAQ,OAAO,CAAC,8BAA8B,EAAE,MAAM,CAAC,OAAO,cAAc,CAAC,CAAC;IAC9E;;OAEG;cACgB,SAAS,IAAI,MAAM;IAItC;;OAEG;cACgB,UAAU,IAAI,MAAM;IAIvC;;OAEG;cACgB,OAAO,IAAI,MAAM;IAIpC;;OAEG;cACgB,aAAa,CAAC,WAAW,EAAE,OAAO,GAAG,MAAM,CAAC,OAAO,cAAc,CAAC;CAGtF"}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UserRoleAssociationDeleteCommand = void 0;
|
|
4
|
-
const typebox_1 = require("@sinclair/typebox");
|
|
5
|
-
const command_js_1 = require("../../common/command.js");
|
|
6
|
-
const parse_response_helper_js_1 = require("../../utils/parse-response-helper.js");
|
|
7
|
-
/**
|
|
8
|
-
* The response for the user role associations delete command
|
|
9
|
-
*/
|
|
10
|
-
const responseSchema = typebox_1.Type.Object({
|
|
11
|
-
roleId: typebox_1.Type.String(),
|
|
12
|
-
organizationId: typebox_1.Type.String(),
|
|
13
|
-
userId: typebox_1.Type.String(),
|
|
14
|
-
});
|
|
15
|
-
/**
|
|
16
|
-
* Delete a user role association
|
|
17
|
-
*/
|
|
18
|
-
class UserRoleAssociationDeleteCommand extends command_js_1.Command {
|
|
19
|
-
/**
|
|
20
|
-
* Get the method
|
|
21
|
-
*/
|
|
22
|
-
getMethod() {
|
|
23
|
-
return "DELETE";
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Get the base url
|
|
27
|
-
*/
|
|
28
|
-
getBaseUrl() {
|
|
29
|
-
return "https://iam.api.flowcore.io";
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Get the path
|
|
33
|
-
*/
|
|
34
|
-
getPath() {
|
|
35
|
-
return `/api/v1/role-associations/user/${this.input.userId}`;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Parse the response
|
|
39
|
-
*/
|
|
40
|
-
parseResponse(rawResponse) {
|
|
41
|
-
return (0, parse_response_helper_js_1.parseResponseHelper)(responseSchema, rawResponse);
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
exports.UserRoleAssociationDeleteCommand = UserRoleAssociationDeleteCommand;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { Command } from "../../common/command.js";
|
|
2
|
-
import { type Role } from "../../contracts/iam.js";
|
|
3
|
-
/**
|
|
4
|
-
* The input for the user role associations list command
|
|
5
|
-
*/
|
|
6
|
-
export interface UserRoleAssociationListInput {
|
|
7
|
-
/** the user id */
|
|
8
|
-
userId: string;
|
|
9
|
-
/** the tenant id */
|
|
10
|
-
tenantId?: string;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Fetch all user role associations
|
|
14
|
-
*/
|
|
15
|
-
export declare class UserRoleAssociationListCommand extends Command<UserRoleAssociationListInput, Role[]> {
|
|
16
|
-
/**
|
|
17
|
-
* Get the method
|
|
18
|
-
*/
|
|
19
|
-
protected getMethod(): string;
|
|
20
|
-
/**
|
|
21
|
-
* Get the base url
|
|
22
|
-
*/
|
|
23
|
-
protected getBaseUrl(): string;
|
|
24
|
-
/**
|
|
25
|
-
* Get the path
|
|
26
|
-
*/
|
|
27
|
-
protected getPath(): string;
|
|
28
|
-
/**
|
|
29
|
-
* Parse the response
|
|
30
|
-
*/
|
|
31
|
-
protected parseResponse(rawResponse: unknown): Role[];
|
|
32
|
-
}
|
|
33
|
-
//# sourceMappingURL=user-role-association.list.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user-role-association.list.d.ts","sourceRoot":"","sources":["../../../src/commands/iam/user-role-association.list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AAGjD,OAAO,EAAE,KAAK,IAAI,EAAc,MAAM,wBAAwB,CAAA;AAE9D;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C,kBAAkB;IAClB,MAAM,EAAE,MAAM,CAAA;IACd,oBAAoB;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED;;GAEG;AACH,qBAAa,8BAA+B,SAAQ,OAAO,CAAC,4BAA4B,EAAE,IAAI,EAAE,CAAC;IAC/F;;OAEG;cACgB,SAAS,IAAI,MAAM;IAItC;;OAEG;cACgB,UAAU,IAAI,MAAM;IAIvC;;OAEG;cACgB,OAAO,IAAI,MAAM;IAMpC;;OAEG;cACgB,aAAa,CAAC,WAAW,EAAE,OAAO,GAAG,IAAI,EAAE;CAO/D"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UserRoleAssociationListCommand = void 0;
|
|
4
|
-
const command_js_1 = require("../../common/command.js");
|
|
5
|
-
const typebox_1 = require("@sinclair/typebox");
|
|
6
|
-
const parse_response_helper_js_1 = require("../../utils/parse-response-helper.js");
|
|
7
|
-
const iam_js_1 = require("../../contracts/iam.js");
|
|
8
|
-
/**
|
|
9
|
-
* Fetch all user role associations
|
|
10
|
-
*/
|
|
11
|
-
class UserRoleAssociationListCommand extends command_js_1.Command {
|
|
12
|
-
/**
|
|
13
|
-
* Get the method
|
|
14
|
-
*/
|
|
15
|
-
getMethod() {
|
|
16
|
-
return "GET";
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Get the base url
|
|
20
|
-
*/
|
|
21
|
-
getBaseUrl() {
|
|
22
|
-
return "https://iam.api.flowcore.io";
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* Get the path
|
|
26
|
-
*/
|
|
27
|
-
getPath() {
|
|
28
|
-
const queryParams = new URLSearchParams();
|
|
29
|
-
this.input.tenantId && queryParams.set("organizationId", this.input.tenantId);
|
|
30
|
-
return `/api/v1/role-associations/user/${this.input.userId}?${queryParams.toString()}`;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Parse the response
|
|
34
|
-
*/
|
|
35
|
-
parseResponse(rawResponse) {
|
|
36
|
-
const response = (0, parse_response_helper_js_1.parseResponseHelper)(typebox_1.Type.Array(iam_js_1.RoleSchema), rawResponse);
|
|
37
|
-
return response.map((role) => ({
|
|
38
|
-
...role,
|
|
39
|
-
tenantId: role.organizationId,
|
|
40
|
-
}));
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
exports.UserRoleAssociationListCommand = UserRoleAssociationListCommand;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { type Static, type TBoolean, type TObject, type TOptional, type TString } from "@sinclair/typebox";
|
|
2
|
-
export declare const RoleSchema: TObject<{
|
|
3
|
-
id: TString;
|
|
4
|
-
organizationId: TString;
|
|
5
|
-
name: TString;
|
|
6
|
-
description: TOptional<TString>;
|
|
7
|
-
flowcoreManaged: TOptional<TBoolean>;
|
|
8
|
-
frn: TOptional<TString>;
|
|
9
|
-
}>;
|
|
10
|
-
export type Role = Omit<Static<typeof RoleSchema>, "organizationId"> & {
|
|
11
|
-
tenantId: string;
|
|
12
|
-
};
|
|
13
|
-
//# sourceMappingURL=iam.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"iam.d.ts","sourceRoot":"","sources":["../../src/contracts/iam.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,QAAQ,EAAE,KAAK,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,OAAO,EAAQ,MAAM,mBAAmB,CAAA;AAEhH,eAAO,MAAM,UAAU,EAAE,OAAO,CAAC;IAC/B,EAAE,EAAE,OAAO,CAAA;IACX,cAAc,EAAE,OAAO,CAAA;IACvB,IAAI,EAAE,OAAO,CAAA;IACb,WAAW,EAAE,SAAS,CAAC,OAAO,CAAC,CAAA;IAC/B,eAAe,EAAE,SAAS,CAAC,QAAQ,CAAC,CAAA;IACpC,GAAG,EAAE,SAAS,CAAC,OAAO,CAAC,CAAA;CACxB,CAOC,CAAA;AAEF,MAAM,MAAM,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC,OAAO,UAAU,CAAC,EAAE,gBAAgB,CAAC,GAAG;IACrE,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAA"}
|
package/script/contracts/iam.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RoleSchema = void 0;
|
|
4
|
-
const typebox_1 = require("@sinclair/typebox");
|
|
5
|
-
exports.RoleSchema = typebox_1.Type.Object({
|
|
6
|
-
id: typebox_1.Type.String(),
|
|
7
|
-
organizationId: typebox_1.Type.String(),
|
|
8
|
-
name: typebox_1.Type.String(),
|
|
9
|
-
description: typebox_1.Type.Optional(typebox_1.Type.String()),
|
|
10
|
-
flowcoreManaged: typebox_1.Type.Optional(typebox_1.Type.Boolean()),
|
|
11
|
-
frn: typebox_1.Type.Optional(typebox_1.Type.String()),
|
|
12
|
-
});
|