@gpt-core/client 0.7.92 → 0.7.94
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.mts +51 -4
- package/dist/index.d.ts +51 -4
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2691,6 +2691,10 @@ type TenantMembership = {
|
|
|
2691
2691
|
* An attributes object for a tenant-membership
|
|
2692
2692
|
*/
|
|
2693
2693
|
attributes?: {
|
|
2694
|
+
/**
|
|
2695
|
+
* Org-level permissions in format {app}:{resource}:{action}:{scope}. Field included by default.
|
|
2696
|
+
*/
|
|
2697
|
+
permissions: Array<string>;
|
|
2694
2698
|
/**
|
|
2695
2699
|
* Field included by default.
|
|
2696
2700
|
*/
|
|
@@ -2762,6 +2766,18 @@ type AuditLog = {
|
|
|
2762
2766
|
* Field included by default.
|
|
2763
2767
|
*/
|
|
2764
2768
|
resource_type: string;
|
|
2769
|
+
/**
|
|
2770
|
+
* UUID of target entity. Field included by default.
|
|
2771
|
+
*/
|
|
2772
|
+
target_id?: string | null | unknown;
|
|
2773
|
+
/**
|
|
2774
|
+
* Display name of target entity for UI rendering. Field included by default.
|
|
2775
|
+
*/
|
|
2776
|
+
target_name?: string | null | unknown;
|
|
2777
|
+
/**
|
|
2778
|
+
* Type of target entity (document, workspace, agent, member, export). Field included by default.
|
|
2779
|
+
*/
|
|
2780
|
+
target_type?: string | null | unknown;
|
|
2765
2781
|
/**
|
|
2766
2782
|
* Field included by default.
|
|
2767
2783
|
*/
|
|
@@ -2933,9 +2949,13 @@ type WorkspaceMembership = {
|
|
|
2933
2949
|
*/
|
|
2934
2950
|
created_at: unknown;
|
|
2935
2951
|
/**
|
|
2936
|
-
* Field included by default.
|
|
2952
|
+
* Last time user accessed this workspace. Field included by default.
|
|
2953
|
+
*/
|
|
2954
|
+
last_visited_at?: unknown;
|
|
2955
|
+
/**
|
|
2956
|
+
* Workspace permissions in format {app}:{resource}:{action}:{scope}. Field included by default.
|
|
2937
2957
|
*/
|
|
2938
|
-
permissions: Array<
|
|
2958
|
+
permissions: Array<string>;
|
|
2939
2959
|
/**
|
|
2940
2960
|
* Field included by default.
|
|
2941
2961
|
*/
|
|
@@ -3456,6 +3476,10 @@ type Workspace = {
|
|
|
3456
3476
|
* An attributes object for a workspace
|
|
3457
3477
|
*/
|
|
3458
3478
|
attributes?: {
|
|
3479
|
+
/**
|
|
3480
|
+
* App type: extract, invoicing, crm, etc. Field included by default.
|
|
3481
|
+
*/
|
|
3482
|
+
app: string;
|
|
3459
3483
|
/**
|
|
3460
3484
|
* Field included by default.
|
|
3461
3485
|
*/
|
|
@@ -3729,6 +3753,10 @@ type Invitation = {
|
|
|
3729
3753
|
* Field included by default.
|
|
3730
3754
|
*/
|
|
3731
3755
|
inviter_id: string;
|
|
3756
|
+
/**
|
|
3757
|
+
* Permissions to grant on acceptance. Field included by default.
|
|
3758
|
+
*/
|
|
3759
|
+
permissions: Array<string>;
|
|
3732
3760
|
/**
|
|
3733
3761
|
* Field included by default.
|
|
3734
3762
|
*/
|
|
@@ -4794,6 +4822,10 @@ type PostWorkspacesData = {
|
|
|
4794
4822
|
body: {
|
|
4795
4823
|
data: {
|
|
4796
4824
|
attributes?: {
|
|
4825
|
+
/**
|
|
4826
|
+
* App type: extract, invoicing, crm, etc.
|
|
4827
|
+
*/
|
|
4828
|
+
app?: string | unknown;
|
|
4797
4829
|
application_id?: string | unknown;
|
|
4798
4830
|
description?: string | unknown;
|
|
4799
4831
|
expires_at?: unknown;
|
|
@@ -10632,6 +10664,10 @@ type PostTenantMembershipsData = {
|
|
|
10632
10664
|
body: {
|
|
10633
10665
|
data: {
|
|
10634
10666
|
attributes?: {
|
|
10667
|
+
/**
|
|
10668
|
+
* Org-level permissions in format {app}:{resource}:{action}:{scope}
|
|
10669
|
+
*/
|
|
10670
|
+
permissions?: Array<string> | unknown;
|
|
10635
10671
|
role?: "owner" | "admin" | "member" | unknown;
|
|
10636
10672
|
tenant_id: string;
|
|
10637
10673
|
user_id: string;
|
|
@@ -11613,6 +11649,7 @@ type PostInvitationsData = {
|
|
|
11613
11649
|
custom_message?: string | unknown;
|
|
11614
11650
|
email: string;
|
|
11615
11651
|
inviter_id?: string | unknown;
|
|
11652
|
+
permissions?: Array<string> | unknown;
|
|
11616
11653
|
role: "admin" | "member" | "editor" | "viewer";
|
|
11617
11654
|
scope_id: string;
|
|
11618
11655
|
scope_type: "tenant" | "workspace";
|
|
@@ -18822,7 +18859,10 @@ type PostWorkspaceMembershipsData = {
|
|
|
18822
18859
|
body: {
|
|
18823
18860
|
data: {
|
|
18824
18861
|
attributes?: {
|
|
18825
|
-
|
|
18862
|
+
/**
|
|
18863
|
+
* Workspace permissions in format {app}:{resource}:{action}:{scope}
|
|
18864
|
+
*/
|
|
18865
|
+
permissions?: Array<string> | unknown;
|
|
18826
18866
|
user_id: string;
|
|
18827
18867
|
workspace_id: string;
|
|
18828
18868
|
};
|
|
@@ -20241,6 +20281,10 @@ type PatchTenantMembershipsByTenantIdByUserIdData = {
|
|
|
20241
20281
|
body?: {
|
|
20242
20282
|
data: {
|
|
20243
20283
|
attributes?: {
|
|
20284
|
+
/**
|
|
20285
|
+
* Org-level permissions in format {app}:{resource}:{action}:{scope}
|
|
20286
|
+
*/
|
|
20287
|
+
permissions?: Array<string> | unknown;
|
|
20244
20288
|
role?: "owner" | "admin" | "member" | unknown;
|
|
20245
20289
|
};
|
|
20246
20290
|
id: string;
|
|
@@ -24590,7 +24634,10 @@ type PatchWorkspaceMembershipsByWorkspaceIdByUserIdData = {
|
|
|
24590
24634
|
body?: {
|
|
24591
24635
|
data: {
|
|
24592
24636
|
attributes?: {
|
|
24593
|
-
|
|
24637
|
+
/**
|
|
24638
|
+
* Workspace permissions in format {app}:{resource}:{action}:{scope}
|
|
24639
|
+
*/
|
|
24640
|
+
permissions?: Array<string> | unknown;
|
|
24594
24641
|
};
|
|
24595
24642
|
id: string;
|
|
24596
24643
|
relationships?: {
|
package/dist/index.d.ts
CHANGED
|
@@ -2691,6 +2691,10 @@ type TenantMembership = {
|
|
|
2691
2691
|
* An attributes object for a tenant-membership
|
|
2692
2692
|
*/
|
|
2693
2693
|
attributes?: {
|
|
2694
|
+
/**
|
|
2695
|
+
* Org-level permissions in format {app}:{resource}:{action}:{scope}. Field included by default.
|
|
2696
|
+
*/
|
|
2697
|
+
permissions: Array<string>;
|
|
2694
2698
|
/**
|
|
2695
2699
|
* Field included by default.
|
|
2696
2700
|
*/
|
|
@@ -2762,6 +2766,18 @@ type AuditLog = {
|
|
|
2762
2766
|
* Field included by default.
|
|
2763
2767
|
*/
|
|
2764
2768
|
resource_type: string;
|
|
2769
|
+
/**
|
|
2770
|
+
* UUID of target entity. Field included by default.
|
|
2771
|
+
*/
|
|
2772
|
+
target_id?: string | null | unknown;
|
|
2773
|
+
/**
|
|
2774
|
+
* Display name of target entity for UI rendering. Field included by default.
|
|
2775
|
+
*/
|
|
2776
|
+
target_name?: string | null | unknown;
|
|
2777
|
+
/**
|
|
2778
|
+
* Type of target entity (document, workspace, agent, member, export). Field included by default.
|
|
2779
|
+
*/
|
|
2780
|
+
target_type?: string | null | unknown;
|
|
2765
2781
|
/**
|
|
2766
2782
|
* Field included by default.
|
|
2767
2783
|
*/
|
|
@@ -2933,9 +2949,13 @@ type WorkspaceMembership = {
|
|
|
2933
2949
|
*/
|
|
2934
2950
|
created_at: unknown;
|
|
2935
2951
|
/**
|
|
2936
|
-
* Field included by default.
|
|
2952
|
+
* Last time user accessed this workspace. Field included by default.
|
|
2953
|
+
*/
|
|
2954
|
+
last_visited_at?: unknown;
|
|
2955
|
+
/**
|
|
2956
|
+
* Workspace permissions in format {app}:{resource}:{action}:{scope}. Field included by default.
|
|
2937
2957
|
*/
|
|
2938
|
-
permissions: Array<
|
|
2958
|
+
permissions: Array<string>;
|
|
2939
2959
|
/**
|
|
2940
2960
|
* Field included by default.
|
|
2941
2961
|
*/
|
|
@@ -3456,6 +3476,10 @@ type Workspace = {
|
|
|
3456
3476
|
* An attributes object for a workspace
|
|
3457
3477
|
*/
|
|
3458
3478
|
attributes?: {
|
|
3479
|
+
/**
|
|
3480
|
+
* App type: extract, invoicing, crm, etc. Field included by default.
|
|
3481
|
+
*/
|
|
3482
|
+
app: string;
|
|
3459
3483
|
/**
|
|
3460
3484
|
* Field included by default.
|
|
3461
3485
|
*/
|
|
@@ -3729,6 +3753,10 @@ type Invitation = {
|
|
|
3729
3753
|
* Field included by default.
|
|
3730
3754
|
*/
|
|
3731
3755
|
inviter_id: string;
|
|
3756
|
+
/**
|
|
3757
|
+
* Permissions to grant on acceptance. Field included by default.
|
|
3758
|
+
*/
|
|
3759
|
+
permissions: Array<string>;
|
|
3732
3760
|
/**
|
|
3733
3761
|
* Field included by default.
|
|
3734
3762
|
*/
|
|
@@ -4794,6 +4822,10 @@ type PostWorkspacesData = {
|
|
|
4794
4822
|
body: {
|
|
4795
4823
|
data: {
|
|
4796
4824
|
attributes?: {
|
|
4825
|
+
/**
|
|
4826
|
+
* App type: extract, invoicing, crm, etc.
|
|
4827
|
+
*/
|
|
4828
|
+
app?: string | unknown;
|
|
4797
4829
|
application_id?: string | unknown;
|
|
4798
4830
|
description?: string | unknown;
|
|
4799
4831
|
expires_at?: unknown;
|
|
@@ -10632,6 +10664,10 @@ type PostTenantMembershipsData = {
|
|
|
10632
10664
|
body: {
|
|
10633
10665
|
data: {
|
|
10634
10666
|
attributes?: {
|
|
10667
|
+
/**
|
|
10668
|
+
* Org-level permissions in format {app}:{resource}:{action}:{scope}
|
|
10669
|
+
*/
|
|
10670
|
+
permissions?: Array<string> | unknown;
|
|
10635
10671
|
role?: "owner" | "admin" | "member" | unknown;
|
|
10636
10672
|
tenant_id: string;
|
|
10637
10673
|
user_id: string;
|
|
@@ -11613,6 +11649,7 @@ type PostInvitationsData = {
|
|
|
11613
11649
|
custom_message?: string | unknown;
|
|
11614
11650
|
email: string;
|
|
11615
11651
|
inviter_id?: string | unknown;
|
|
11652
|
+
permissions?: Array<string> | unknown;
|
|
11616
11653
|
role: "admin" | "member" | "editor" | "viewer";
|
|
11617
11654
|
scope_id: string;
|
|
11618
11655
|
scope_type: "tenant" | "workspace";
|
|
@@ -18822,7 +18859,10 @@ type PostWorkspaceMembershipsData = {
|
|
|
18822
18859
|
body: {
|
|
18823
18860
|
data: {
|
|
18824
18861
|
attributes?: {
|
|
18825
|
-
|
|
18862
|
+
/**
|
|
18863
|
+
* Workspace permissions in format {app}:{resource}:{action}:{scope}
|
|
18864
|
+
*/
|
|
18865
|
+
permissions?: Array<string> | unknown;
|
|
18826
18866
|
user_id: string;
|
|
18827
18867
|
workspace_id: string;
|
|
18828
18868
|
};
|
|
@@ -20241,6 +20281,10 @@ type PatchTenantMembershipsByTenantIdByUserIdData = {
|
|
|
20241
20281
|
body?: {
|
|
20242
20282
|
data: {
|
|
20243
20283
|
attributes?: {
|
|
20284
|
+
/**
|
|
20285
|
+
* Org-level permissions in format {app}:{resource}:{action}:{scope}
|
|
20286
|
+
*/
|
|
20287
|
+
permissions?: Array<string> | unknown;
|
|
20244
20288
|
role?: "owner" | "admin" | "member" | unknown;
|
|
20245
20289
|
};
|
|
20246
20290
|
id: string;
|
|
@@ -24590,7 +24634,10 @@ type PatchWorkspaceMembershipsByWorkspaceIdByUserIdData = {
|
|
|
24590
24634
|
body?: {
|
|
24591
24635
|
data: {
|
|
24592
24636
|
attributes?: {
|
|
24593
|
-
|
|
24637
|
+
/**
|
|
24638
|
+
* Workspace permissions in format {app}:{resource}:{action}:{scope}
|
|
24639
|
+
*/
|
|
24640
|
+
permissions?: Array<string> | unknown;
|
|
24594
24641
|
};
|
|
24595
24642
|
id: string;
|
|
24596
24643
|
relationships?: {
|
package/package.json
CHANGED