@arbidocs/client 0.4.94 → 0.4.95
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/index.d.cts +64 -2
- package/dist/index.d.ts +64 -2
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -32,6 +32,9 @@ interface paths {
|
|
|
32
32
|
* subscription and grants the paid budget), so a cancelled checkout never leaves
|
|
33
33
|
* a usable project behind. Free projects are usable at once with the free-tier
|
|
34
34
|
* allowance, like the personal project created at signup (see user.py).
|
|
35
|
+
*
|
|
36
|
+
* On a members-only deployment (a licensed Box, ``deployment_policy.project_creation()``) only firm
|
|
37
|
+
* members may create projects.
|
|
35
38
|
*/
|
|
36
39
|
post: operations['create_project'];
|
|
37
40
|
delete?: never;
|
|
@@ -923,7 +926,11 @@ interface paths {
|
|
|
923
926
|
path?: never;
|
|
924
927
|
cookie?: never;
|
|
925
928
|
};
|
|
926
|
-
|
|
929
|
+
/**
|
|
930
|
+
* Get Me
|
|
931
|
+
* @description The signed-in user, with ``can_create_projects`` (derived on every call, never stored).
|
|
932
|
+
*/
|
|
933
|
+
get: operations['get_current_user'];
|
|
927
934
|
put?: never;
|
|
928
935
|
post?: never;
|
|
929
936
|
/**
|
|
@@ -1178,7 +1185,8 @@ interface paths {
|
|
|
1178
1185
|
* - Only members can upload documents
|
|
1179
1186
|
* - Only members can see the member list
|
|
1180
1187
|
*
|
|
1181
|
-
* Only users with developer flag can create public workspaces.
|
|
1188
|
+
* Only users with developer flag can create public workspaces. On a members-only deployment
|
|
1189
|
+
* (licensed Box, ``deployment_policy.project_creation()``) only firm members may create workspaces.
|
|
1182
1190
|
*/
|
|
1183
1191
|
post: operations['create_workspace'];
|
|
1184
1192
|
delete?: never;
|
|
@@ -10617,6 +10625,40 @@ interface components {
|
|
|
10617
10625
|
/** @default run_now_temp */
|
|
10618
10626
|
auth_mode: components['schemas']['src__models__workflow__AuthMode'];
|
|
10619
10627
|
};
|
|
10628
|
+
/**
|
|
10629
|
+
* CurrentUserResponse
|
|
10630
|
+
* @description ``GET /v1/user/me``: the signed-in user, plus what they may do on this deployment.
|
|
10631
|
+
*
|
|
10632
|
+
* A separate model so ``UserResponse`` (workspace members, contacts, agents) stays unchanged.
|
|
10633
|
+
*/
|
|
10634
|
+
CurrentUserResponse: {
|
|
10635
|
+
/** External Id */
|
|
10636
|
+
external_id: string;
|
|
10637
|
+
/** Parent Ext Id */
|
|
10638
|
+
parent_ext_id?: string | null;
|
|
10639
|
+
/** Email */
|
|
10640
|
+
email: string;
|
|
10641
|
+
/** Given Name */
|
|
10642
|
+
given_name: string;
|
|
10643
|
+
/** Family Name */
|
|
10644
|
+
family_name?: string | null;
|
|
10645
|
+
/** Picture */
|
|
10646
|
+
picture?: string | null;
|
|
10647
|
+
/** Encryption Public Key */
|
|
10648
|
+
encryption_public_key: string;
|
|
10649
|
+
/**
|
|
10650
|
+
* Is Sso
|
|
10651
|
+
* @default false
|
|
10652
|
+
*/
|
|
10653
|
+
is_sso: boolean;
|
|
10654
|
+
/**
|
|
10655
|
+
* Is Identity Verified
|
|
10656
|
+
* @default false
|
|
10657
|
+
*/
|
|
10658
|
+
is_identity_verified: boolean;
|
|
10659
|
+
/** Can Create Projects */
|
|
10660
|
+
can_create_projects: boolean;
|
|
10661
|
+
};
|
|
10620
10662
|
/**
|
|
10621
10663
|
* DailyUsage
|
|
10622
10664
|
* @description Usage for a single day.
|
|
@@ -21801,6 +21843,26 @@ interface operations {
|
|
|
21801
21843
|
};
|
|
21802
21844
|
};
|
|
21803
21845
|
};
|
|
21846
|
+
get_current_user: {
|
|
21847
|
+
parameters: {
|
|
21848
|
+
query?: never;
|
|
21849
|
+
header?: never;
|
|
21850
|
+
path?: never;
|
|
21851
|
+
cookie?: never;
|
|
21852
|
+
};
|
|
21853
|
+
requestBody?: never;
|
|
21854
|
+
responses: {
|
|
21855
|
+
/** @description Successful Response */
|
|
21856
|
+
200: {
|
|
21857
|
+
headers: {
|
|
21858
|
+
[name: string]: unknown;
|
|
21859
|
+
};
|
|
21860
|
+
content: {
|
|
21861
|
+
'application/json': components['schemas']['CurrentUserResponse'];
|
|
21862
|
+
};
|
|
21863
|
+
};
|
|
21864
|
+
};
|
|
21865
|
+
};
|
|
21804
21866
|
delete_my_account: {
|
|
21805
21867
|
parameters: {
|
|
21806
21868
|
query?: never;
|
package/dist/index.d.ts
CHANGED
|
@@ -32,6 +32,9 @@ interface paths {
|
|
|
32
32
|
* subscription and grants the paid budget), so a cancelled checkout never leaves
|
|
33
33
|
* a usable project behind. Free projects are usable at once with the free-tier
|
|
34
34
|
* allowance, like the personal project created at signup (see user.py).
|
|
35
|
+
*
|
|
36
|
+
* On a members-only deployment (a licensed Box, ``deployment_policy.project_creation()``) only firm
|
|
37
|
+
* members may create projects.
|
|
35
38
|
*/
|
|
36
39
|
post: operations['create_project'];
|
|
37
40
|
delete?: never;
|
|
@@ -923,7 +926,11 @@ interface paths {
|
|
|
923
926
|
path?: never;
|
|
924
927
|
cookie?: never;
|
|
925
928
|
};
|
|
926
|
-
|
|
929
|
+
/**
|
|
930
|
+
* Get Me
|
|
931
|
+
* @description The signed-in user, with ``can_create_projects`` (derived on every call, never stored).
|
|
932
|
+
*/
|
|
933
|
+
get: operations['get_current_user'];
|
|
927
934
|
put?: never;
|
|
928
935
|
post?: never;
|
|
929
936
|
/**
|
|
@@ -1178,7 +1185,8 @@ interface paths {
|
|
|
1178
1185
|
* - Only members can upload documents
|
|
1179
1186
|
* - Only members can see the member list
|
|
1180
1187
|
*
|
|
1181
|
-
* Only users with developer flag can create public workspaces.
|
|
1188
|
+
* Only users with developer flag can create public workspaces. On a members-only deployment
|
|
1189
|
+
* (licensed Box, ``deployment_policy.project_creation()``) only firm members may create workspaces.
|
|
1182
1190
|
*/
|
|
1183
1191
|
post: operations['create_workspace'];
|
|
1184
1192
|
delete?: never;
|
|
@@ -10617,6 +10625,40 @@ interface components {
|
|
|
10617
10625
|
/** @default run_now_temp */
|
|
10618
10626
|
auth_mode: components['schemas']['src__models__workflow__AuthMode'];
|
|
10619
10627
|
};
|
|
10628
|
+
/**
|
|
10629
|
+
* CurrentUserResponse
|
|
10630
|
+
* @description ``GET /v1/user/me``: the signed-in user, plus what they may do on this deployment.
|
|
10631
|
+
*
|
|
10632
|
+
* A separate model so ``UserResponse`` (workspace members, contacts, agents) stays unchanged.
|
|
10633
|
+
*/
|
|
10634
|
+
CurrentUserResponse: {
|
|
10635
|
+
/** External Id */
|
|
10636
|
+
external_id: string;
|
|
10637
|
+
/** Parent Ext Id */
|
|
10638
|
+
parent_ext_id?: string | null;
|
|
10639
|
+
/** Email */
|
|
10640
|
+
email: string;
|
|
10641
|
+
/** Given Name */
|
|
10642
|
+
given_name: string;
|
|
10643
|
+
/** Family Name */
|
|
10644
|
+
family_name?: string | null;
|
|
10645
|
+
/** Picture */
|
|
10646
|
+
picture?: string | null;
|
|
10647
|
+
/** Encryption Public Key */
|
|
10648
|
+
encryption_public_key: string;
|
|
10649
|
+
/**
|
|
10650
|
+
* Is Sso
|
|
10651
|
+
* @default false
|
|
10652
|
+
*/
|
|
10653
|
+
is_sso: boolean;
|
|
10654
|
+
/**
|
|
10655
|
+
* Is Identity Verified
|
|
10656
|
+
* @default false
|
|
10657
|
+
*/
|
|
10658
|
+
is_identity_verified: boolean;
|
|
10659
|
+
/** Can Create Projects */
|
|
10660
|
+
can_create_projects: boolean;
|
|
10661
|
+
};
|
|
10620
10662
|
/**
|
|
10621
10663
|
* DailyUsage
|
|
10622
10664
|
* @description Usage for a single day.
|
|
@@ -21801,6 +21843,26 @@ interface operations {
|
|
|
21801
21843
|
};
|
|
21802
21844
|
};
|
|
21803
21845
|
};
|
|
21846
|
+
get_current_user: {
|
|
21847
|
+
parameters: {
|
|
21848
|
+
query?: never;
|
|
21849
|
+
header?: never;
|
|
21850
|
+
path?: never;
|
|
21851
|
+
cookie?: never;
|
|
21852
|
+
};
|
|
21853
|
+
requestBody?: never;
|
|
21854
|
+
responses: {
|
|
21855
|
+
/** @description Successful Response */
|
|
21856
|
+
200: {
|
|
21857
|
+
headers: {
|
|
21858
|
+
[name: string]: unknown;
|
|
21859
|
+
};
|
|
21860
|
+
content: {
|
|
21861
|
+
'application/json': components['schemas']['CurrentUserResponse'];
|
|
21862
|
+
};
|
|
21863
|
+
};
|
|
21864
|
+
};
|
|
21865
|
+
};
|
|
21804
21866
|
delete_my_account: {
|
|
21805
21867
|
parameters: {
|
|
21806
21868
|
query?: never;
|