@nizam-os/carrier-sdk 2.1.0 → 2.2.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/types/CreateInviteRequest.d.ts +2 -3
- package/dist/api/types/CreateInviteRequest.js +1 -2
- package/dist/api/types/Invite.d.ts +0 -1
- package/dist/api/types/Invite.js +0 -1
- package/dist/api/types/Membership.d.ts +0 -1
- package/dist/api/types/Membership.js +0 -1
- package/package.json +1 -1
|
@@ -3,15 +3,14 @@ export interface CreateInviteRequest {
|
|
|
3
3
|
organization_id: string;
|
|
4
4
|
/** Recipient email. */
|
|
5
5
|
email: string;
|
|
6
|
-
/** Role the recipient will hold after acceptance.
|
|
6
|
+
/** Role the recipient will hold after acceptance. */
|
|
7
7
|
role: CreateInviteRequest.Role;
|
|
8
8
|
/** TTL in days. Defaults to 7. */
|
|
9
9
|
ttl_days?: number | undefined;
|
|
10
10
|
}
|
|
11
11
|
export declare namespace CreateInviteRequest {
|
|
12
|
-
/** Role the recipient will hold after acceptance.
|
|
12
|
+
/** Role the recipient will hold after acceptance. */
|
|
13
13
|
const Role: {
|
|
14
|
-
readonly SuperAdmin: "super_admin";
|
|
15
14
|
readonly Admin: "admin";
|
|
16
15
|
readonly Dispatcher: "dispatcher";
|
|
17
16
|
readonly Manager: "manager";
|
|
@@ -4,9 +4,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.CreateInviteRequest = void 0;
|
|
5
5
|
var CreateInviteRequest;
|
|
6
6
|
(function (CreateInviteRequest) {
|
|
7
|
-
/** Role the recipient will hold after acceptance.
|
|
7
|
+
/** Role the recipient will hold after acceptance. */
|
|
8
8
|
CreateInviteRequest.Role = {
|
|
9
|
-
SuperAdmin: "super_admin",
|
|
10
9
|
Admin: "admin",
|
|
11
10
|
Dispatcher: "dispatcher",
|
|
12
11
|
Manager: "manager",
|
|
@@ -22,7 +22,6 @@ export interface Invite {
|
|
|
22
22
|
export declare namespace Invite {
|
|
23
23
|
/** Role the recipient will hold after acceptance. */
|
|
24
24
|
const Role: {
|
|
25
|
-
readonly SuperAdmin: "super_admin";
|
|
26
25
|
readonly Admin: "admin";
|
|
27
26
|
readonly Dispatcher: "dispatcher";
|
|
28
27
|
readonly Manager: "manager";
|
package/dist/api/types/Invite.js
CHANGED
|
@@ -12,7 +12,6 @@ export interface Membership {
|
|
|
12
12
|
export declare namespace Membership {
|
|
13
13
|
/** The user's role in this organization. */
|
|
14
14
|
const Role: {
|
|
15
|
-
readonly SuperAdmin: "super_admin";
|
|
16
15
|
readonly Admin: "admin";
|
|
17
16
|
readonly Dispatcher: "dispatcher";
|
|
18
17
|
readonly Manager: "manager";
|