@distilled.cloud/workos 0.18.1 → 0.19.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/lib/index.d.ts +1 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib/operations/AuthorizationControllerCheck.d.ts +2 -0
- package/lib/operations/AuthorizationControllerCheck.d.ts.map +1 -1
- package/lib/operations/AuthorizationControllerCheck.js +1 -0
- package/lib/operations/AuthorizationControllerCheck.js.map +1 -1
- package/lib/operations/AuthorizationResourcesByExternalIdControllerUpdateByExternalId.d.ts +4 -0
- package/lib/operations/AuthorizationResourcesByExternalIdControllerUpdateByExternalId.d.ts.map +1 -1
- package/lib/operations/AuthorizationResourcesByExternalIdControllerUpdateByExternalId.js +2 -0
- package/lib/operations/AuthorizationResourcesByExternalIdControllerUpdateByExternalId.js.map +1 -1
- package/lib/operations/AuthorizationResourcesControllerCreate.d.ts +14 -2
- package/lib/operations/AuthorizationResourcesControllerCreate.d.ts.map +1 -1
- package/lib/operations/AuthorizationResourcesControllerCreate.js +7 -1
- package/lib/operations/AuthorizationResourcesControllerCreate.js.map +1 -1
- package/lib/operations/AuthorizationResourcesControllerUpdate.d.ts +4 -0
- package/lib/operations/AuthorizationResourcesControllerUpdate.d.ts.map +1 -1
- package/lib/operations/AuthorizationResourcesControllerUpdate.js +2 -0
- package/lib/operations/AuthorizationResourcesControllerUpdate.js.map +1 -1
- package/lib/operations/AuthorizationRoleAssignmentsControllerAssignRole.d.ts +2 -0
- package/lib/operations/AuthorizationRoleAssignmentsControllerAssignRole.d.ts.map +1 -1
- package/lib/operations/AuthorizationRoleAssignmentsControllerAssignRole.js +1 -0
- package/lib/operations/AuthorizationRoleAssignmentsControllerAssignRole.js.map +1 -1
- package/lib/operations/AuthorizationRoleAssignmentsControllerRemoveRoleByCriteria.d.ts +2 -0
- package/lib/operations/AuthorizationRoleAssignmentsControllerRemoveRoleByCriteria.d.ts.map +1 -1
- package/lib/operations/AuthorizationRoleAssignmentsControllerRemoveRoleByCriteria.js +1 -0
- package/lib/operations/AuthorizationRoleAssignmentsControllerRemoveRoleByCriteria.js.map +1 -1
- package/lib/operations/UserlandUserOrganizationMembershipsControllerCreate.d.ts +8 -2
- package/lib/operations/UserlandUserOrganizationMembershipsControllerCreate.d.ts.map +1 -1
- package/lib/operations/UserlandUserOrganizationMembershipsControllerCreate.js +4 -1
- package/lib/operations/UserlandUserOrganizationMembershipsControllerCreate.js.map +1 -1
- package/lib/operations/UserlandUsersControllerCreate.d.ts +18 -2
- package/lib/operations/UserlandUsersControllerCreate.d.ts.map +1 -1
- package/lib/operations/UserlandUsersControllerCreate.js +8 -1
- package/lib/operations/UserlandUsersControllerCreate.js.map +1 -1
- package/lib/operations/UserlandUsersControllerUpdate.d.ts +16 -0
- package/lib/operations/UserlandUsersControllerUpdate.d.ts.map +1 -1
- package/lib/operations/UserlandUsersControllerUpdate.js +7 -0
- package/lib/operations/UserlandUsersControllerUpdate.js.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +1 -0
- package/src/operations/AuthorizationControllerCheck.ts +1 -0
- package/src/operations/AuthorizationResourcesByExternalIdControllerUpdateByExternalId.ts +2 -0
- package/src/operations/AuthorizationResourcesControllerCreate.ts +7 -3
- package/src/operations/AuthorizationResourcesControllerUpdate.ts +2 -0
- package/src/operations/AuthorizationRoleAssignmentsControllerAssignRole.ts +1 -0
- package/src/operations/AuthorizationRoleAssignmentsControllerRemoveRoleByCriteria.ts +1 -0
- package/src/operations/UserlandUserOrganizationMembershipsControllerCreate.ts +4 -1
- package/src/operations/UserlandUsersControllerCreate.ts +10 -3
- package/src/operations/UserlandUsersControllerUpdate.ts +9 -0
package/lib/index.d.ts
CHANGED
|
@@ -12,5 +12,6 @@ export * as T from "./traits.ts";
|
|
|
12
12
|
export * as Retry from "./retry.ts";
|
|
13
13
|
export { API } from "./client.ts";
|
|
14
14
|
export * from "./errors.ts";
|
|
15
|
+
export * from "./operations/index.ts";
|
|
15
16
|
export { SensitiveString, SensitiveNullableString } from "./sensitive.ts";
|
|
16
17
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,cAAc,kBAAkB,CAAC;AACjC,OAAO,KAAK,QAAQ,MAAM,eAAe,CAAC;AAC1C,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,KAAK,KAAK,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,eAAe,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,cAAc,kBAAkB,CAAC;AACjC,OAAO,KAAK,QAAQ,MAAM,eAAe,CAAC;AAC1C,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,KAAK,KAAK,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,uBAAuB,CAAC;AACtC,OAAO,EAAE,eAAe,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC"}
|
package/lib/index.js
CHANGED
|
@@ -12,5 +12,6 @@ export * as T from "./traits.js";
|
|
|
12
12
|
export * as Retry from "./retry.js";
|
|
13
13
|
export { API } from "./client.js";
|
|
14
14
|
export * from "./errors.js";
|
|
15
|
+
export * from "./operations/index.js";
|
|
15
16
|
export { SensitiveString, SensitiveNullableString } from "./sensitive.js";
|
|
16
17
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,cAAc,kBAAkB,CAAC;AACjC,OAAO,KAAK,QAAQ,MAAM,eAAe,CAAC;AAC1C,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,KAAK,KAAK,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,eAAe,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,cAAc,kBAAkB,CAAC;AACjC,OAAO,KAAK,QAAQ,MAAM,eAAe,CAAC;AAC1C,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,KAAK,KAAK,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,uBAAuB,CAAC;AACtC,OAAO,EAAE,eAAe,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -2,6 +2,7 @@ import * as Schema from "effect/Schema";
|
|
|
2
2
|
import { Forbidden, NotFound, UnprocessableEntity } from "../errors.ts";
|
|
3
3
|
export declare const AuthorizationControllerCheckInput: Schema.Struct<{
|
|
4
4
|
readonly organization_membership_id: Schema.String;
|
|
5
|
+
readonly permission_slug: Schema.String;
|
|
5
6
|
}>;
|
|
6
7
|
export type AuthorizationControllerCheckInput = typeof AuthorizationControllerCheckInput.Type;
|
|
7
8
|
export declare const AuthorizationControllerCheckOutput: Schema.Struct<{
|
|
@@ -17,6 +18,7 @@ export type AuthorizationControllerCheckOutput = typeof AuthorizationControllerC
|
|
|
17
18
|
*/
|
|
18
19
|
export declare const AuthorizationControllerCheck: import("@distilled.cloud/core/client").OperationMethod<{
|
|
19
20
|
readonly organization_membership_id: string;
|
|
21
|
+
readonly permission_slug: string;
|
|
20
22
|
}, {
|
|
21
23
|
readonly authorized?: boolean | undefined;
|
|
22
24
|
}, Forbidden | NotFound | UnprocessableEntity, import("~/credentials.ts").Credentials>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthorizationControllerCheck.d.ts","sourceRoot":"","sources":["../../src/operations/AuthorizationControllerCheck.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAGxE,eAAO,MAAM,iCAAiC
|
|
1
|
+
{"version":3,"file":"AuthorizationControllerCheck.d.ts","sourceRoot":"","sources":["../../src/operations/AuthorizationControllerCheck.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAGxE,eAAO,MAAM,iCAAiC;;;EAS3C,CAAC;AACJ,MAAM,MAAM,iCAAiC,GAC3C,OAAO,iCAAiC,CAAC,IAAI,CAAC;AAGhD,eAAO,MAAM,kCAAkC;;EAG3C,CAAC;AACL,MAAM,MAAM,kCAAkC,GAC5C,OAAO,kCAAkC,CAAC,IAAI,CAAC;AAGjD;;;;;;GAMG;AACH,eAAO,MAAM,4BAA4B;;;;;sFAKpC,CAAC"}
|
|
@@ -6,6 +6,7 @@ import { Forbidden, NotFound, UnprocessableEntity } from "../errors.js";
|
|
|
6
6
|
export const AuthorizationControllerCheckInput =
|
|
7
7
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
8
|
organization_membership_id: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
permission_slug: Schema.String,
|
|
9
10
|
}).pipe(T.Http({
|
|
10
11
|
method: "POST",
|
|
11
12
|
path: "/authorization/organization_memberships/{organization_membership_id}/check",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthorizationControllerCheck.js","sourceRoot":"","sources":["../../src/operations/AuthorizationControllerCheck.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAExE,eAAe;AACf,MAAM,CAAC,MAAM,iCAAiC;AAC5C,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,0BAA0B,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"AuthorizationControllerCheck.js","sourceRoot":"","sources":["../../src/operations/AuthorizationControllerCheck.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAExE,eAAe;AACf,MAAM,CAAC,MAAM,iCAAiC;AAC5C,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,0BAA0B,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC7D,eAAe,EAAE,MAAM,CAAC,MAAM;CAC/B,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC;IACL,MAAM,EAAE,MAAM;IACd,IAAI,EAAE,4EAA4E;CACnF,CAAC,CACH,CAAC;AAIJ,gBAAgB;AAChB,MAAM,CAAC,MAAM,kCAAkC;AAC7C,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,UAAU,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC;CAC5C,CAAC,CAAC;AAIL,gBAAgB;AAChB;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,4BAA4B;AACvC,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC1C,WAAW,EAAE,iCAAiC;IAC9C,YAAY,EAAE,kCAAkC;IAChD,MAAM,EAAE,CAAC,SAAS,EAAE,QAAQ,EAAE,mBAAmB,CAAU;CAC5D,CAAC,CAAC,CAAC"}
|
|
@@ -4,6 +4,8 @@ export declare const AuthorizationResourcesByExternalIdControllerUpdateByExterna
|
|
|
4
4
|
readonly organization_id: Schema.String;
|
|
5
5
|
readonly resource_type_slug: Schema.String;
|
|
6
6
|
readonly external_id: Schema.String;
|
|
7
|
+
readonly name: Schema.optional<Schema.String>;
|
|
8
|
+
readonly description: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
7
9
|
}>;
|
|
8
10
|
export type AuthorizationResourcesByExternalIdControllerUpdateByExternalIdInput = typeof AuthorizationResourcesByExternalIdControllerUpdateByExternalIdInput.Type;
|
|
9
11
|
export declare const AuthorizationResourcesByExternalIdControllerUpdateByExternalIdOutput: Schema.Struct<{
|
|
@@ -29,7 +31,9 @@ export type AuthorizationResourcesByExternalIdControllerUpdateByExternalIdOutput
|
|
|
29
31
|
* @param external_id - An identifier you provide to reference the resource in your system.
|
|
30
32
|
*/
|
|
31
33
|
export declare const AuthorizationResourcesByExternalIdControllerUpdateByExternalId: import("@distilled.cloud/core/client").OperationMethod<{
|
|
34
|
+
readonly description?: string | null | undefined;
|
|
32
35
|
readonly external_id: string;
|
|
36
|
+
readonly name?: string | undefined;
|
|
33
37
|
readonly organization_id: string;
|
|
34
38
|
readonly resource_type_slug: string;
|
|
35
39
|
}, {
|
package/lib/operations/AuthorizationResourcesByExternalIdControllerUpdateByExternalId.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthorizationResourcesByExternalIdControllerUpdateByExternalId.d.ts","sourceRoot":"","sources":["../../src/operations/AuthorizationResourcesByExternalIdControllerUpdateByExternalId.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EACL,UAAU,EACV,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,mBAAmB,EACpB,MAAM,cAAc,CAAC;AAGtB,eAAO,MAAM,mEAAmE
|
|
1
|
+
{"version":3,"file":"AuthorizationResourcesByExternalIdControllerUpdateByExternalId.d.ts","sourceRoot":"","sources":["../../src/operations/AuthorizationResourcesByExternalIdControllerUpdateByExternalId.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EACL,UAAU,EACV,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,mBAAmB,EACpB,MAAM,cAAc,CAAC;AAGtB,eAAO,MAAM,mEAAmE;;;;;;EAY7E,CAAC;AACJ,MAAM,MAAM,mEAAmE,GAC7E,OAAO,mEAAmE,CAAC,IAAI,CAAC;AAGlF,eAAO,MAAM,oEAAoE;;;;;;;;;;;EAY7E,CAAC;AACL,MAAM,MAAM,oEAAoE,GAC9E,OAAO,oEAAoE,CAAC,IAAI,CAAC;AAGnF;;;;;;;;GAQG;AACH,eAAO,MAAM,8DAA8D;;;;;;;;;;;;;;;;;8GAatE,CAAC"}
|
|
@@ -8,6 +8,8 @@ export const AuthorizationResourcesByExternalIdControllerUpdateByExternalIdInput
|
|
|
8
8
|
organization_id: Schema.String.pipe(T.PathParam()),
|
|
9
9
|
resource_type_slug: Schema.String.pipe(T.PathParam()),
|
|
10
10
|
external_id: Schema.String.pipe(T.PathParam()),
|
|
11
|
+
name: Schema.optional(Schema.String),
|
|
12
|
+
description: Schema.optional(Schema.NullOr(Schema.String)),
|
|
11
13
|
}).pipe(T.Http({
|
|
12
14
|
method: "PATCH",
|
|
13
15
|
path: "/authorization/organizations/{organization_id}/resources/{resource_type_slug}/{external_id}",
|
package/lib/operations/AuthorizationResourcesByExternalIdControllerUpdateByExternalId.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthorizationResourcesByExternalIdControllerUpdateByExternalId.js","sourceRoot":"","sources":["../../src/operations/AuthorizationResourcesByExternalIdControllerUpdateByExternalId.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EACL,UAAU,EACV,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,mBAAmB,GACpB,MAAM,cAAc,CAAC;AAEtB,eAAe;AACf,MAAM,CAAC,MAAM,mEAAmE;AAC9E,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,eAAe,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAClD,kBAAkB,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IACrD,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"AuthorizationResourcesByExternalIdControllerUpdateByExternalId.js","sourceRoot":"","sources":["../../src/operations/AuthorizationResourcesByExternalIdControllerUpdateByExternalId.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM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MAAM,CAAC,MAAM;IACzB,UAAU,EAAE,MAAM,CAAC,MAAM;CAC1B,CAAC,CAAC;AAIL,gBAAgB;AAChB;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,8DAA8D;AACzE,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC1C,WAAW,EACT,mEAAmE;IACrE,YAAY,EACV,oEAAoE;IACtE,MAAM,EAAE;QACN,UAAU;QACV,SAAS;QACT,QAAQ;QACR,QAAQ;QACR,mBAAmB;KACX;CACX,CAAC,CAAC,CAAC"}
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { BadRequest, Forbidden, NotFound, Conflict, UnprocessableEntity } from "../errors.ts";
|
|
3
|
-
export declare const AuthorizationResourcesControllerCreateInput: Schema.Struct<{
|
|
3
|
+
export declare const AuthorizationResourcesControllerCreateInput: Schema.Struct<{
|
|
4
|
+
readonly external_id: Schema.String;
|
|
5
|
+
readonly name: Schema.String;
|
|
6
|
+
readonly description: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
7
|
+
readonly resource_type_slug: Schema.String;
|
|
8
|
+
readonly organization_id: Schema.String;
|
|
9
|
+
}>;
|
|
4
10
|
export type AuthorizationResourcesControllerCreateInput = typeof AuthorizationResourcesControllerCreateInput.Type;
|
|
5
11
|
export declare const AuthorizationResourcesControllerCreateOutput: Schema.Struct<{
|
|
6
12
|
readonly object: Schema.String;
|
|
@@ -20,7 +26,13 @@ export type AuthorizationResourcesControllerCreateOutput = typeof AuthorizationR
|
|
|
20
26
|
*
|
|
21
27
|
* Create a new authorization resource.
|
|
22
28
|
*/
|
|
23
|
-
export declare const AuthorizationResourcesControllerCreate: import("@distilled.cloud/core/client").OperationMethod<{
|
|
29
|
+
export declare const AuthorizationResourcesControllerCreate: import("@distilled.cloud/core/client").OperationMethod<{
|
|
30
|
+
readonly description?: string | null | undefined;
|
|
31
|
+
readonly external_id: string;
|
|
32
|
+
readonly name: string;
|
|
33
|
+
readonly organization_id: string;
|
|
34
|
+
readonly resource_type_slug: string;
|
|
35
|
+
}, {
|
|
24
36
|
readonly created_at: string;
|
|
25
37
|
readonly description: string | null;
|
|
26
38
|
readonly external_id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthorizationResourcesControllerCreate.d.ts","sourceRoot":"","sources":["../../src/operations/AuthorizationResourcesControllerCreate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EACL,UAAU,EACV,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,mBAAmB,EACpB,MAAM,cAAc,CAAC;AAGtB,eAAO,MAAM,2CAA2C,
|
|
1
|
+
{"version":3,"file":"AuthorizationResourcesControllerCreate.d.ts","sourceRoot":"","sources":["../../src/operations/AuthorizationResourcesControllerCreate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EACL,UAAU,EACV,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,mBAAmB,EACpB,MAAM,cAAc,CAAC;AAGtB,eAAO,MAAM,2CAA2C;;;;;;EAOe,CAAC;AACxE,MAAM,MAAM,2CAA2C,GACrD,OAAO,2CAA2C,CAAC,IAAI,CAAC;AAG1D,eAAO,MAAM,4CAA4C;;;;;;;;;;;EAYrD,CAAC;AACL,MAAM,MAAM,4CAA4C,GACtD,OAAO,4CAA4C,CAAC,IAAI,CAAC;AAG3D;;;;GAIG;AACH,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;8GAW9C,CAAC"}
|
|
@@ -4,7 +4,13 @@ import * as T from "../traits.js";
|
|
|
4
4
|
import { BadRequest, Forbidden, NotFound, Conflict, UnprocessableEntity, } from "../errors.js";
|
|
5
5
|
// Input Schema
|
|
6
6
|
export const AuthorizationResourcesControllerCreateInput =
|
|
7
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
|
+
external_id: Schema.String,
|
|
9
|
+
name: Schema.String,
|
|
10
|
+
description: Schema.optional(Schema.NullOr(Schema.String)),
|
|
11
|
+
resource_type_slug: Schema.String,
|
|
12
|
+
organization_id: Schema.String,
|
|
13
|
+
}).pipe(T.Http({ method: "POST", path: "/authorization/resources" }));
|
|
8
14
|
// Output Schema
|
|
9
15
|
export const AuthorizationResourcesControllerCreateOutput =
|
|
10
16
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthorizationResourcesControllerCreate.js","sourceRoot":"","sources":["../../src/operations/AuthorizationResourcesControllerCreate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EACL,UAAU,EACV,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,mBAAmB,GACpB,MAAM,cAAc,CAAC;AAEtB,eAAe;AACf,MAAM,CAAC,MAAM,2CAA2C;AACtD,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,
|
|
1
|
+
{"version":3,"file":"AuthorizationResourcesControllerCreate.js","sourceRoot":"","sources":["../../src/operations/AuthorizationResourcesControllerCreate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EACL,UAAU,EACV,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,mBAAmB,GACpB,MAAM,cAAc,CAAC;AAEtB,eAAe;AACf,MAAM,CAAC,MAAM,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Q;QACR,QAAQ;QACR,mBAAmB;KACX;CACX,CAAC,CAAC,CAAC"}
|
|
@@ -2,6 +2,8 @@ import * as Schema from "effect/Schema";
|
|
|
2
2
|
import { BadRequest, Forbidden, NotFound, Conflict, UnprocessableEntity } from "../errors.ts";
|
|
3
3
|
export declare const AuthorizationResourcesControllerUpdateInput: Schema.Struct<{
|
|
4
4
|
readonly resource_id: Schema.String;
|
|
5
|
+
readonly name: Schema.optional<Schema.String>;
|
|
6
|
+
readonly description: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
5
7
|
}>;
|
|
6
8
|
export type AuthorizationResourcesControllerUpdateInput = typeof AuthorizationResourcesControllerUpdateInput.Type;
|
|
7
9
|
export declare const AuthorizationResourcesControllerUpdateOutput: Schema.Struct<{
|
|
@@ -25,6 +27,8 @@ export type AuthorizationResourcesControllerUpdateOutput = typeof AuthorizationR
|
|
|
25
27
|
* @param resource_id - The ID of the authorization resource.
|
|
26
28
|
*/
|
|
27
29
|
export declare const AuthorizationResourcesControllerUpdate: import("@distilled.cloud/core/client").OperationMethod<{
|
|
30
|
+
readonly description?: string | null | undefined;
|
|
31
|
+
readonly name?: string | undefined;
|
|
28
32
|
readonly resource_id: string;
|
|
29
33
|
}, {
|
|
30
34
|
readonly created_at: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthorizationResourcesControllerUpdate.d.ts","sourceRoot":"","sources":["../../src/operations/AuthorizationResourcesControllerUpdate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EACL,UAAU,EACV,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,mBAAmB,EACpB,MAAM,cAAc,CAAC;AAGtB,eAAO,MAAM,2CAA2C
|
|
1
|
+
{"version":3,"file":"AuthorizationResourcesControllerUpdate.d.ts","sourceRoot":"","sources":["../../src/operations/AuthorizationResourcesControllerUpdate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EACL,UAAU,EACV,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,mBAAmB,EACpB,MAAM,cAAc,CAAC;AAGtB,eAAO,MAAM,2CAA2C;;;;EAOrD,CAAC;AACJ,MAAM,MAAM,2CAA2C,GACrD,OAAO,2CAA2C,CAAC,IAAI,CAAC;AAG1D,eAAO,MAAM,4CAA4C;;;;;;;;;;;EAYrD,CAAC;AACL,MAAM,MAAM,4CAA4C,GACtD,OAAO,4CAA4C,CAAC,IAAI,CAAC;AAG3D;;;;;;GAMG;AACH,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;8GAW9C,CAAC"}
|
|
@@ -6,6 +6,8 @@ import { BadRequest, Forbidden, NotFound, Conflict, UnprocessableEntity, } from
|
|
|
6
6
|
export const AuthorizationResourcesControllerUpdateInput =
|
|
7
7
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
8
|
resource_id: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
name: Schema.optional(Schema.String),
|
|
10
|
+
description: Schema.optional(Schema.NullOr(Schema.String)),
|
|
9
11
|
}).pipe(T.Http({ method: "PATCH", path: "/authorization/resources/{resource_id}" }));
|
|
10
12
|
// Output Schema
|
|
11
13
|
export const AuthorizationResourcesControllerUpdateOutput =
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthorizationResourcesControllerUpdate.js","sourceRoot":"","sources":["../../src/operations/AuthorizationResourcesControllerUpdate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EACL,UAAU,EACV,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,mBAAmB,GACpB,MAAM,cAAc,CAAC;AAEtB,eAAe;AACf,MAAM,CAAC,MAAM,2CAA2C;AACtD,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"AuthorizationResourcesControllerUpdate.js","sourceRoot":"","sources":["../../src/operations/AuthorizationResourcesControllerUpdate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EACL,UAAU,EACV,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,mBAAmB,GACpB,MAAM,cAAc,CAAC;AAEtB,eAAe;AACf,MAAM,CAAC,MAAM,2CAA2C;AACtD,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC9C,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACpC,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;CAC3D,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,wCAAwC,EAAE,CAAC,CAC5E,CAAC;AAIJ,gBAAgB;AAChB,MAAM,CAAC,MAAM,4CAA4C;AACvD,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,MAAM,EAAE,MAAM,CAAC,MAAM;IACrB,IAAI,EAAE,MAAM,CAAC,MAAM;IACnB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC;IACzC,eAAe,EAAE,MAAM,CAAC,MAAM;IAC9B,kBAAkB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC;IAChD,EAAE,EAAE,MAAM,CAAC,MAAM;IACjB,WAAW,EAAE,MAAM,CAAC,MAAM;IAC1B,kBAAkB,EAAE,MAAM,CAAC,MAAM;IACjC,UAAU,EAAE,MAAM,CAAC,MAAM;IACzB,UAAU,EAAE,MAAM,CAAC,MAAM;CAC1B,CAAC,CAAC;AAIL,gBAAgB;AAChB;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,sCAAsC;AACjD,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC1C,WAAW,EAAE,2CAA2C;IACxD,YAAY,EAAE,4CAA4C;IAC1D,MAAM,EAAE;QACN,UAAU;QACV,SAAS;QACT,QAAQ;QACR,QAAQ;QACR,mBAAmB;KACX;CACX,CAAC,CAAC,CAAC"}
|
|
@@ -2,6 +2,7 @@ import * as Schema from "effect/Schema";
|
|
|
2
2
|
import { Forbidden, NotFound, UnprocessableEntity } from "../errors.ts";
|
|
3
3
|
export declare const AuthorizationRoleAssignmentsControllerAssignRoleInput: Schema.Struct<{
|
|
4
4
|
readonly organization_membership_id: Schema.String;
|
|
5
|
+
readonly role_slug: Schema.String;
|
|
5
6
|
}>;
|
|
6
7
|
export type AuthorizationRoleAssignmentsControllerAssignRoleInput = typeof AuthorizationRoleAssignmentsControllerAssignRoleInput.Type;
|
|
7
8
|
export declare const AuthorizationRoleAssignmentsControllerAssignRoleOutput: Schema.Struct<{
|
|
@@ -28,6 +29,7 @@ export type AuthorizationRoleAssignmentsControllerAssignRoleOutput = typeof Auth
|
|
|
28
29
|
*/
|
|
29
30
|
export declare const AuthorizationRoleAssignmentsControllerAssignRole: import("@distilled.cloud/core/client").OperationMethod<{
|
|
30
31
|
readonly organization_membership_id: string;
|
|
32
|
+
readonly role_slug: string;
|
|
31
33
|
}, {
|
|
32
34
|
readonly created_at?: string | undefined;
|
|
33
35
|
readonly id?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthorizationRoleAssignmentsControllerAssignRole.d.ts","sourceRoot":"","sources":["../../src/operations/AuthorizationRoleAssignmentsControllerAssignRole.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAGxE,eAAO,MAAM,qDAAqD
|
|
1
|
+
{"version":3,"file":"AuthorizationRoleAssignmentsControllerAssignRole.d.ts","sourceRoot":"","sources":["../../src/operations/AuthorizationRoleAssignmentsControllerAssignRole.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAGxE,eAAO,MAAM,qDAAqD;;;EAS/D,CAAC;AACJ,MAAM,MAAM,qDAAqD,GAC/D,OAAO,qDAAqD,CAAC,IAAI,CAAC;AAGpE,eAAO,MAAM,sDAAsD;;;;;;;;;;;;;EAkB/D,CAAC;AACL,MAAM,MAAM,sDAAsD,GAChE,OAAO,sDAAsD,CAAC,IAAI,CAAC;AAGrE;;;;;;GAMG;AACH,eAAO,MAAM,gDAAgD;;;;;;;;;;;;;;;;sFAKxD,CAAC"}
|
|
@@ -6,6 +6,7 @@ import { Forbidden, NotFound, UnprocessableEntity } from "../errors.js";
|
|
|
6
6
|
export const AuthorizationRoleAssignmentsControllerAssignRoleInput =
|
|
7
7
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
8
|
organization_membership_id: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
role_slug: Schema.String,
|
|
9
10
|
}).pipe(T.Http({
|
|
10
11
|
method: "POST",
|
|
11
12
|
path: "/authorization/organization_memberships/{organization_membership_id}/role_assignments",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthorizationRoleAssignmentsControllerAssignRole.js","sourceRoot":"","sources":["../../src/operations/AuthorizationRoleAssignmentsControllerAssignRole.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAExE,eAAe;AACf,MAAM,CAAC,MAAM,qDAAqD;AAChE,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,0BAA0B,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"AuthorizationRoleAssignmentsControllerAssignRole.js","sourceRoot":"","sources":["../../src/operations/AuthorizationRoleAssignmentsControllerAssignRole.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAExE,eAAe;AACf,MAAM,CAAC,MAAM,qDAAqD;AAChE,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,0BAA0B,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC7D,SAAS,EAAE,MAAM,CAAC,MAAM;CACzB,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC;IACL,MAAM,EAAE,MAAM;IACd,IAAI,EAAE,uFAAuF;CAC9F,CAAC,CACH,CAAC;AAIJ,gBAAgB;AAChB,MAAM,CAAC,MAAM,sDAAsD;AACjE,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACtC,EAAE,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAClC,IAAI,EAAE,MAAM,CAAC,QAAQ,CACnB,MAAM,CAAC,MAAM,CAAC;QACZ,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;KACrC,CAAC,CACH;IACD,QAAQ,EAAE,MAAM,CAAC,QAAQ,CACvB,MAAM,CAAC,MAAM,CAAC;QACZ,EAAE,EAAE,MAAM,CAAC,MAAM;QACjB,WAAW,EAAE,MAAM,CAAC,MAAM;QAC1B,kBAAkB,EAAE,MAAM,CAAC,MAAM;KAClC,CAAC,CACH;IACD,UAAU,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC1C,UAAU,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CAC3C,CAAC,CAAC;AAIL,gBAAgB;AAChB;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,gDAAgD;AAC3D,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC1C,WAAW,EAAE,qDAAqD;IAClE,YAAY,EAAE,sDAAsD;IACpE,MAAM,EAAE,CAAC,SAAS,EAAE,QAAQ,EAAE,mBAAmB,CAAU;CAC5D,CAAC,CAAC,CAAC"}
|
|
@@ -2,6 +2,7 @@ import * as Schema from "effect/Schema";
|
|
|
2
2
|
import { Forbidden, NotFound, UnprocessableEntity } from "../errors.ts";
|
|
3
3
|
export declare const AuthorizationRoleAssignmentsControllerRemoveRoleByCriteriaInput: Schema.Struct<{
|
|
4
4
|
readonly organization_membership_id: Schema.String;
|
|
5
|
+
readonly role_slug: Schema.String;
|
|
5
6
|
}>;
|
|
6
7
|
export type AuthorizationRoleAssignmentsControllerRemoveRoleByCriteriaInput = typeof AuthorizationRoleAssignmentsControllerRemoveRoleByCriteriaInput.Type;
|
|
7
8
|
export declare const AuthorizationRoleAssignmentsControllerRemoveRoleByCriteriaOutput: Schema.Void;
|
|
@@ -15,5 +16,6 @@ export type AuthorizationRoleAssignmentsControllerRemoveRoleByCriteriaOutput = t
|
|
|
15
16
|
*/
|
|
16
17
|
export declare const AuthorizationRoleAssignmentsControllerRemoveRoleByCriteria: import("@distilled.cloud/core/client").OperationMethod<{
|
|
17
18
|
readonly organization_membership_id: string;
|
|
19
|
+
readonly role_slug: string;
|
|
18
20
|
}, void, Forbidden | NotFound | UnprocessableEntity, import("~/credentials.ts").Credentials>;
|
|
19
21
|
//# sourceMappingURL=AuthorizationRoleAssignmentsControllerRemoveRoleByCriteria.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthorizationRoleAssignmentsControllerRemoveRoleByCriteria.d.ts","sourceRoot":"","sources":["../../src/operations/AuthorizationRoleAssignmentsControllerRemoveRoleByCriteria.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAGxE,eAAO,MAAM,+DAA+D
|
|
1
|
+
{"version":3,"file":"AuthorizationRoleAssignmentsControllerRemoveRoleByCriteria.d.ts","sourceRoot":"","sources":["../../src/operations/AuthorizationRoleAssignmentsControllerRemoveRoleByCriteria.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAGxE,eAAO,MAAM,+DAA+D;;;EASzE,CAAC;AACJ,MAAM,MAAM,+DAA+D,GACzE,OAAO,+DAA+D,CAAC,IAAI,CAAC;AAG9E,eAAO,MAAM,gEAAgE,aACpC,CAAC;AAC1C,MAAM,MAAM,gEAAgE,GAC1E,OAAO,gEAAgE,CAAC,IAAI,CAAC;AAG/E;;;;;;GAMG;AACH,eAAO,MAAM,0DAA0D;;;4FAOlE,CAAC"}
|
|
@@ -6,6 +6,7 @@ import { Forbidden, NotFound, UnprocessableEntity } from "../errors.js";
|
|
|
6
6
|
export const AuthorizationRoleAssignmentsControllerRemoveRoleByCriteriaInput =
|
|
7
7
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
8
|
organization_membership_id: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
role_slug: Schema.String,
|
|
9
10
|
}).pipe(T.Http({
|
|
10
11
|
method: "DELETE",
|
|
11
12
|
path: "/authorization/organization_memberships/{organization_membership_id}/role_assignments",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthorizationRoleAssignmentsControllerRemoveRoleByCriteria.js","sourceRoot":"","sources":["../../src/operations/AuthorizationRoleAssignmentsControllerRemoveRoleByCriteria.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAExE,eAAe;AACf,MAAM,CAAC,MAAM,+DAA+D;AAC1E,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,0BAA0B,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"AuthorizationRoleAssignmentsControllerRemoveRoleByCriteria.js","sourceRoot":"","sources":["../../src/operations/AuthorizationRoleAssignmentsControllerRemoveRoleByCriteria.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAExE,eAAe;AACf,MAAM,CAAC,MAAM,+DAA+D;AAC1E,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,0BAA0B,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC7D,SAAS,EAAE,MAAM,CAAC,MAAM;CACzB,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC;IACL,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,uFAAuF;CAC9F,CAAC,CACH,CAAC;AAIJ,gBAAgB;AAChB,MAAM,CAAC,MAAM,gEAAgE;AAC3E,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC;AAI1C,gBAAgB;AAChB;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,0DAA0D;AACrE,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC1C,WAAW,EACT,+DAA+D;IACjE,YAAY,EACV,gEAAgE;IAClE,MAAM,EAAE,CAAC,SAAS,EAAE,QAAQ,EAAE,mBAAmB,CAAU;CAC5D,CAAC,CAAC,CAAC"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { BadRequest, NotFound, UnprocessableEntity } from "../errors.ts";
|
|
3
|
-
export declare const UserlandUserOrganizationMembershipsControllerCreateInput: Schema.Struct<{
|
|
3
|
+
export declare const UserlandUserOrganizationMembershipsControllerCreateInput: Schema.Struct<{
|
|
4
|
+
readonly user_id: Schema.String;
|
|
5
|
+
readonly organization_id: Schema.String;
|
|
6
|
+
}>;
|
|
4
7
|
export type UserlandUserOrganizationMembershipsControllerCreateInput = typeof UserlandUserOrganizationMembershipsControllerCreateInput.Type;
|
|
5
8
|
export declare const UserlandUserOrganizationMembershipsControllerCreateOutput: Schema.Struct<{
|
|
6
9
|
readonly object: Schema.String;
|
|
@@ -24,7 +27,10 @@ export type UserlandUserOrganizationMembershipsControllerCreateOutput = typeof U
|
|
|
24
27
|
* Creates a new `active` organization membership for the given organization and user.
|
|
25
28
|
* Calling this API with an organization and user that match an `inactive` organization membership will activate the membership with the specified role(s).
|
|
26
29
|
*/
|
|
27
|
-
export declare const UserlandUserOrganizationMembershipsControllerCreate: import("@distilled.cloud/core/client").OperationMethod<{
|
|
30
|
+
export declare const UserlandUserOrganizationMembershipsControllerCreate: import("@distilled.cloud/core/client").OperationMethod<{
|
|
31
|
+
readonly organization_id: string;
|
|
32
|
+
readonly user_id: string;
|
|
33
|
+
}, {
|
|
28
34
|
readonly created_at: string;
|
|
29
35
|
readonly custom_attributes?: {
|
|
30
36
|
readonly [x: string]: unknown;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserlandUserOrganizationMembershipsControllerCreate.d.ts","sourceRoot":"","sources":["../../src/operations/UserlandUserOrganizationMembershipsControllerCreate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAGzE,eAAO,MAAM,wDAAwD,
|
|
1
|
+
{"version":3,"file":"UserlandUserOrganizationMembershipsControllerCreate.d.ts","sourceRoot":"","sources":["../../src/operations/UserlandUserOrganizationMembershipsControllerCreate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAGzE,eAAO,MAAM,wDAAwD;;;EASlE,CAAC;AACJ,MAAM,MAAM,wDAAwD,GAClE,OAAO,wDAAwD,CAAC,IAAI,CAAC;AAGvE,eAAO,MAAM,yDAAyD;;;;;;;;;;;;;;EAiBlE,CAAC;AACL,MAAM,MAAM,yDAAyD,GACnE,OAAO,yDAAyD,CAAC,IAAI,CAAC;AAGxE;;;;;GAKG;AACH,eAAO,MAAM,mDAAmD;;;;;;;;;;;;;;;;;;;uFAK3D,CAAC"}
|
|
@@ -4,7 +4,10 @@ import * as T from "../traits.js";
|
|
|
4
4
|
import { BadRequest, NotFound, UnprocessableEntity } from "../errors.js";
|
|
5
5
|
// Input Schema
|
|
6
6
|
export const UserlandUserOrganizationMembershipsControllerCreateInput =
|
|
7
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
|
+
user_id: Schema.String,
|
|
9
|
+
organization_id: Schema.String,
|
|
10
|
+
}).pipe(T.Http({
|
|
8
11
|
method: "POST",
|
|
9
12
|
path: "/user_management/organization_memberships",
|
|
10
13
|
}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserlandUserOrganizationMembershipsControllerCreate.js","sourceRoot":"","sources":["../../src/operations/UserlandUserOrganizationMembershipsControllerCreate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAEzE,eAAe;AACf,MAAM,CAAC,MAAM,wDAAwD;AACnE,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,
|
|
1
|
+
{"version":3,"file":"UserlandUserOrganizationMembershipsControllerCreate.js","sourceRoot":"","sources":["../../src/operations/UserlandUserO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ClB,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;KACrC,CAAC;CACH,CAAC,CAAC;AAIL,gBAAgB;AAChB;;;;;GAKG;AACH,MAAM,CAAC,MAAM,mDAAmD;AAC9D,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC1C,WAAW,EAAE,wDAAwD;IACrE,YAAY,EAAE,yDAAyD;IACvE,MAAM,EAAE,CAAC,UAAU,EAAE,QAAQ,EAAE,mBAAmB,CAAU;CAC7D,CAAC,CAAC,CAAC"}
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { BadRequest, NotFound, UnprocessableEntity } from "../errors.ts";
|
|
3
|
-
export declare const UserlandUsersControllerCreateInput: Schema.Struct<{
|
|
3
|
+
export declare const UserlandUsersControllerCreateInput: Schema.Struct<{
|
|
4
|
+
readonly email: Schema.String;
|
|
5
|
+
readonly first_name: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
6
|
+
readonly last_name: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
7
|
+
readonly email_verified: Schema.optional<Schema.NullOr<Schema.Boolean>>;
|
|
8
|
+
readonly metadata: Schema.optional<Schema.NullOr<Schema.$Record<Schema.String, Schema.String>>>;
|
|
9
|
+
readonly external_id: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
10
|
+
}>;
|
|
4
11
|
export type UserlandUsersControllerCreateInput = typeof UserlandUsersControllerCreateInput.Type;
|
|
5
12
|
export declare const UserlandUsersControllerCreateOutput: Schema.Struct<{
|
|
6
13
|
readonly object: Schema.optional<Schema.String>;
|
|
@@ -23,7 +30,16 @@ export type UserlandUsersControllerCreateOutput = typeof UserlandUsersController
|
|
|
23
30
|
*
|
|
24
31
|
* Create a new user in the current environment.
|
|
25
32
|
*/
|
|
26
|
-
export declare const UserlandUsersControllerCreate: import("@distilled.cloud/core/client").OperationMethod<{
|
|
33
|
+
export declare const UserlandUsersControllerCreate: import("@distilled.cloud/core/client").OperationMethod<{
|
|
34
|
+
readonly email: string;
|
|
35
|
+
readonly email_verified?: boolean | null | undefined;
|
|
36
|
+
readonly external_id?: string | null | undefined;
|
|
37
|
+
readonly first_name?: string | null | undefined;
|
|
38
|
+
readonly last_name?: string | null | undefined;
|
|
39
|
+
readonly metadata?: {
|
|
40
|
+
readonly [x: string]: string;
|
|
41
|
+
} | null | undefined;
|
|
42
|
+
}, {
|
|
27
43
|
readonly created_at?: string | undefined;
|
|
28
44
|
readonly email?: string | undefined;
|
|
29
45
|
readonly email_verified?: boolean | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserlandUsersControllerCreate.d.ts","sourceRoot":"","sources":["../../src/operations/UserlandUsersControllerCreate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAGzE,eAAO,MAAM,kCAAkC,
|
|
1
|
+
{"version":3,"file":"UserlandUsersControllerCreate.d.ts","sourceRoot":"","sources":["../../src/operations/UserlandUsersControllerCreate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAGzE,eAAO,MAAM,kCAAkC;;;;;;;EAUsB,CAAC;AACtE,MAAM,MAAM,kCAAkC,GAC5C,OAAO,kCAAkC,CAAC,IAAI,CAAC;AAGjD,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;EAe5C,CAAC;AACL,MAAM,MAAM,mCAAmC,GAC7C,OAAO,mCAAmC,CAAC,IAAI,CAAC;AAGlD;;;;GAIG;AACH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;uFAKrC,CAAC"}
|
|
@@ -4,7 +4,14 @@ import * as T from "../traits.js";
|
|
|
4
4
|
import { BadRequest, NotFound, UnprocessableEntity } from "../errors.js";
|
|
5
5
|
// Input Schema
|
|
6
6
|
export const UserlandUsersControllerCreateInput =
|
|
7
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
|
+
email: Schema.String,
|
|
9
|
+
first_name: Schema.optional(Schema.NullOr(Schema.String)),
|
|
10
|
+
last_name: Schema.optional(Schema.NullOr(Schema.String)),
|
|
11
|
+
email_verified: Schema.optional(Schema.NullOr(Schema.Boolean)),
|
|
12
|
+
metadata: Schema.optional(Schema.NullOr(Schema.Record(Schema.String, Schema.String))),
|
|
13
|
+
external_id: Schema.optional(Schema.NullOr(Schema.String)),
|
|
14
|
+
}).pipe(T.Http({ method: "POST", path: "/user_management/users" }));
|
|
8
15
|
// Output Schema
|
|
9
16
|
export const UserlandUsersControllerCreateOutput =
|
|
10
17
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserlandUsersControllerCreate.js","sourceRoot":"","sources":["../../src/operations/UserlandUsersControllerCreate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAEzE,eAAe;AACf,MAAM,CAAC,MAAM,kCAAkC;AAC7C,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,
|
|
1
|
+
{"version":3,"file":"UserlandUsersControllerCreate.js","sourceRoot":"","sources":["../../src/operations/UserlandUsersControllerCreate.ts"],"names":[],"mappings":"AA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AAE,CAAC,UAAU,EAAE,QAAQ,EAAE,mBAAmB,CAAU;CAC7D,CAAC,CAAC,CAAC"}
|
|
@@ -2,6 +2,13 @@ import * as Schema from "effect/Schema";
|
|
|
2
2
|
import { BadRequest, UnprocessableEntity } from "../errors.ts";
|
|
3
3
|
export declare const UserlandUsersControllerUpdateInput: Schema.Struct<{
|
|
4
4
|
readonly id: Schema.String;
|
|
5
|
+
readonly email: Schema.optional<Schema.String>;
|
|
6
|
+
readonly first_name: Schema.optional<Schema.String>;
|
|
7
|
+
readonly last_name: Schema.optional<Schema.String>;
|
|
8
|
+
readonly email_verified: Schema.optional<Schema.Boolean>;
|
|
9
|
+
readonly metadata: Schema.optional<Schema.NullOr<Schema.$Record<Schema.String, Schema.String>>>;
|
|
10
|
+
readonly external_id: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
11
|
+
readonly locale: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
5
12
|
}>;
|
|
6
13
|
export type UserlandUsersControllerUpdateInput = typeof UserlandUsersControllerUpdateInput.Type;
|
|
7
14
|
export declare const UserlandUsersControllerUpdateOutput: Schema.Struct<{
|
|
@@ -28,7 +35,16 @@ export type UserlandUsersControllerUpdateOutput = typeof UserlandUsersController
|
|
|
28
35
|
* @param id - The unique ID of the user.
|
|
29
36
|
*/
|
|
30
37
|
export declare const UserlandUsersControllerUpdate: import("@distilled.cloud/core/client").OperationMethod<{
|
|
38
|
+
readonly email?: string | undefined;
|
|
39
|
+
readonly email_verified?: boolean | undefined;
|
|
40
|
+
readonly external_id?: string | null | undefined;
|
|
41
|
+
readonly first_name?: string | undefined;
|
|
31
42
|
readonly id: string;
|
|
43
|
+
readonly last_name?: string | undefined;
|
|
44
|
+
readonly locale?: string | null | undefined;
|
|
45
|
+
readonly metadata?: {
|
|
46
|
+
readonly [x: string]: string;
|
|
47
|
+
} | null | undefined;
|
|
32
48
|
}, {
|
|
33
49
|
readonly created_at?: string | undefined;
|
|
34
50
|
readonly email?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserlandUsersControllerUpdate.d.ts","sourceRoot":"","sources":["../../src/operations/UserlandUsersControllerUpdate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAG/D,eAAO,MAAM,kCAAkC
|
|
1
|
+
{"version":3,"file":"UserlandUsersControllerUpdate.d.ts","sourceRoot":"","sources":["../../src/operations/UserlandUsersControllerUpdate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAG/D,eAAO,MAAM,kCAAkC;;;;;;;;;EAY0B,CAAC;AAC1E,MAAM,MAAM,kCAAkC,GAC5C,OAAO,kCAAkC,CAAC,IAAI,CAAC;AAGjD,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;EAe5C,CAAC;AACL,MAAM,MAAM,mCAAmC,GAC7C,OAAO,mCAAmC,CAAC,IAAI,CAAC;AAGlD;;;;;;GAMG;AACH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAKrC,CAAC"}
|
|
@@ -6,6 +6,13 @@ import { BadRequest, UnprocessableEntity } from "../errors.js";
|
|
|
6
6
|
export const UserlandUsersControllerUpdateInput =
|
|
7
7
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
8
|
id: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
email: Schema.optional(Schema.String),
|
|
10
|
+
first_name: Schema.optional(Schema.String),
|
|
11
|
+
last_name: Schema.optional(Schema.String),
|
|
12
|
+
email_verified: Schema.optional(Schema.Boolean),
|
|
13
|
+
metadata: Schema.optional(Schema.NullOr(Schema.Record(Schema.String, Schema.String))),
|
|
14
|
+
external_id: Schema.optional(Schema.NullOr(Schema.String)),
|
|
15
|
+
locale: Schema.optional(Schema.NullOr(Schema.String)),
|
|
9
16
|
}).pipe(T.Http({ method: "PUT", path: "/user_management/users/{id}" }));
|
|
10
17
|
// Output Schema
|
|
11
18
|
export const UserlandUsersControllerUpdateOutput =
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserlandUsersControllerUpdate.js","sourceRoot":"","sources":["../../src/operations/UserlandUsersControllerUpdate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAE/D,eAAe;AACf,MAAM,CAAC,MAAM,kCAAkC;AAC7C,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,EAAE,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"UserlandUsersControllerUpdate.js","sourceRoot":"","sources":["../../src/operations/UserlandUsersControllerUpdate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAE/D,eAAe;AACf,MAAM,CAAC,MAAM,kCAAkC;AAC7C,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,EAAE,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IACrC,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACrC,UAAU,EA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AAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACrC,cAAc,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC;IAC/C,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC1D,QAAQ,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;IACtE,eAAe,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC9D,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACrD,UAAU,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC1C,UAAU,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CAC3C,CAAC,CAAC;AAIL,gBAAgB;AAChB;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,6BAA6B;AACxC,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC1C,WAAW,EAAE,kCAAkC;IAC/C,YAAY,EAAE,mCAAmC;IACjD,MAAM,EAAE,CAAC,UAAU,EAAE,mBAAmB,CAAU;CACnD,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@distilled.cloud/workos",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/alchemy-run/distilled",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"specs:update": "git -C specs/openapi-spec fetch && git -C specs/openapi-spec checkout main && git -C specs/openapi-spec pull"
|
|
74
74
|
},
|
|
75
75
|
"dependencies": {
|
|
76
|
-
"@distilled.cloud/core": "0.
|
|
76
|
+
"@distilled.cloud/core": "0.19.0"
|
|
77
77
|
},
|
|
78
78
|
"devDependencies": {
|
|
79
79
|
"@types/bun": "^1.3.0",
|
package/src/index.ts
CHANGED
|
@@ -7,6 +7,7 @@ import { Forbidden, NotFound, UnprocessableEntity } from "../errors.ts";
|
|
|
7
7
|
export const AuthorizationControllerCheckInput =
|
|
8
8
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
9
9
|
organization_membership_id: Schema.String.pipe(T.PathParam()),
|
|
10
|
+
permission_slug: Schema.String,
|
|
10
11
|
}).pipe(
|
|
11
12
|
T.Http({
|
|
12
13
|
method: "POST",
|
|
@@ -15,6 +15,8 @@ export const AuthorizationResourcesByExternalIdControllerUpdateByExternalIdInput
|
|
|
15
15
|
organization_id: Schema.String.pipe(T.PathParam()),
|
|
16
16
|
resource_type_slug: Schema.String.pipe(T.PathParam()),
|
|
17
17
|
external_id: Schema.String.pipe(T.PathParam()),
|
|
18
|
+
name: Schema.optional(Schema.String),
|
|
19
|
+
description: Schema.optional(Schema.NullOr(Schema.String)),
|
|
18
20
|
}).pipe(
|
|
19
21
|
T.Http({
|
|
20
22
|
method: "PATCH",
|
|
@@ -11,9 +11,13 @@ import {
|
|
|
11
11
|
|
|
12
12
|
// Input Schema
|
|
13
13
|
export const AuthorizationResourcesControllerCreateInput =
|
|
14
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
15
|
+
external_id: Schema.String,
|
|
16
|
+
name: Schema.String,
|
|
17
|
+
description: Schema.optional(Schema.NullOr(Schema.String)),
|
|
18
|
+
resource_type_slug: Schema.String,
|
|
19
|
+
organization_id: Schema.String,
|
|
20
|
+
}).pipe(T.Http({ method: "POST", path: "/authorization/resources" }));
|
|
17
21
|
export type AuthorizationResourcesControllerCreateInput =
|
|
18
22
|
typeof AuthorizationResourcesControllerCreateInput.Type;
|
|
19
23
|
|
|
@@ -13,6 +13,8 @@ import {
|
|
|
13
13
|
export const AuthorizationResourcesControllerUpdateInput =
|
|
14
14
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
15
15
|
resource_id: Schema.String.pipe(T.PathParam()),
|
|
16
|
+
name: Schema.optional(Schema.String),
|
|
17
|
+
description: Schema.optional(Schema.NullOr(Schema.String)),
|
|
16
18
|
}).pipe(
|
|
17
19
|
T.Http({ method: "PATCH", path: "/authorization/resources/{resource_id}" }),
|
|
18
20
|
);
|
|
@@ -7,6 +7,7 @@ import { Forbidden, NotFound, UnprocessableEntity } from "../errors.ts";
|
|
|
7
7
|
export const AuthorizationRoleAssignmentsControllerAssignRoleInput =
|
|
8
8
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
9
9
|
organization_membership_id: Schema.String.pipe(T.PathParam()),
|
|
10
|
+
role_slug: Schema.String,
|
|
10
11
|
}).pipe(
|
|
11
12
|
T.Http({
|
|
12
13
|
method: "POST",
|
|
@@ -7,6 +7,7 @@ import { Forbidden, NotFound, UnprocessableEntity } from "../errors.ts";
|
|
|
7
7
|
export const AuthorizationRoleAssignmentsControllerRemoveRoleByCriteriaInput =
|
|
8
8
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
9
9
|
organization_membership_id: Schema.String.pipe(T.PathParam()),
|
|
10
|
+
role_slug: Schema.String,
|
|
10
11
|
}).pipe(
|
|
11
12
|
T.Http({
|
|
12
13
|
method: "DELETE",
|
|
@@ -5,7 +5,10 @@ import { BadRequest, NotFound, UnprocessableEntity } from "../errors.ts";
|
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
7
|
export const UserlandUserOrganizationMembershipsControllerCreateInput =
|
|
8
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
9
|
+
user_id: Schema.String,
|
|
10
|
+
organization_id: Schema.String,
|
|
11
|
+
}).pipe(
|
|
9
12
|
T.Http({
|
|
10
13
|
method: "POST",
|
|
11
14
|
path: "/user_management/organization_memberships",
|
|
@@ -5,9 +5,16 @@ import { BadRequest, NotFound, UnprocessableEntity } from "../errors.ts";
|
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
7
|
export const UserlandUsersControllerCreateInput =
|
|
8
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
9
|
+
email: Schema.String,
|
|
10
|
+
first_name: Schema.optional(Schema.NullOr(Schema.String)),
|
|
11
|
+
last_name: Schema.optional(Schema.NullOr(Schema.String)),
|
|
12
|
+
email_verified: Schema.optional(Schema.NullOr(Schema.Boolean)),
|
|
13
|
+
metadata: Schema.optional(
|
|
14
|
+
Schema.NullOr(Schema.Record(Schema.String, Schema.String)),
|
|
15
|
+
),
|
|
16
|
+
external_id: Schema.optional(Schema.NullOr(Schema.String)),
|
|
17
|
+
}).pipe(T.Http({ method: "POST", path: "/user_management/users" }));
|
|
11
18
|
export type UserlandUsersControllerCreateInput =
|
|
12
19
|
typeof UserlandUsersControllerCreateInput.Type;
|
|
13
20
|
|
|
@@ -7,6 +7,15 @@ import { BadRequest, UnprocessableEntity } from "../errors.ts";
|
|
|
7
7
|
export const UserlandUsersControllerUpdateInput =
|
|
8
8
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
9
9
|
id: Schema.String.pipe(T.PathParam()),
|
|
10
|
+
email: Schema.optional(Schema.String),
|
|
11
|
+
first_name: Schema.optional(Schema.String),
|
|
12
|
+
last_name: Schema.optional(Schema.String),
|
|
13
|
+
email_verified: Schema.optional(Schema.Boolean),
|
|
14
|
+
metadata: Schema.optional(
|
|
15
|
+
Schema.NullOr(Schema.Record(Schema.String, Schema.String)),
|
|
16
|
+
),
|
|
17
|
+
external_id: Schema.optional(Schema.NullOr(Schema.String)),
|
|
18
|
+
locale: Schema.optional(Schema.NullOr(Schema.String)),
|
|
10
19
|
}).pipe(T.Http({ method: "PUT", path: "/user_management/users/{id}" }));
|
|
11
20
|
export type UserlandUsersControllerUpdateInput =
|
|
12
21
|
typeof UserlandUsersControllerUpdateInput.Type;
|