@capxul/sdk-react 2.3.0 → 2.3.2
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 +15 -15
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -127,7 +127,7 @@ declare const useCapxulPermissionCreate: (orgId: OrgId) => UseMutationResult<{
|
|
|
127
127
|
readonly permissionId: PermissionId;
|
|
128
128
|
readonly orgId: string;
|
|
129
129
|
readonly type: "budget" | "managePeople";
|
|
130
|
-
readonly state: "active" | "pending" | "
|
|
130
|
+
readonly state: "active" | "pending" | "revoked" | "superseded" | "suspended";
|
|
131
131
|
readonly revision: number;
|
|
132
132
|
readonly roleKey: RoleKey;
|
|
133
133
|
readonly tokenAddress?: Address | undefined;
|
|
@@ -137,7 +137,7 @@ declare const useCapxulPermissionCreate: (orgId: OrgId) => UseMutationResult<{
|
|
|
137
137
|
readonly permissionId: PermissionId;
|
|
138
138
|
readonly orgId: string;
|
|
139
139
|
readonly type: "budget" | "managePeople";
|
|
140
|
-
readonly state: "active" | "pending" | "
|
|
140
|
+
readonly state: "active" | "pending" | "revoked" | "superseded" | "suspended";
|
|
141
141
|
readonly revision: number;
|
|
142
142
|
readonly roleKey: RoleKey;
|
|
143
143
|
readonly tokenAddress?: Address | undefined;
|
|
@@ -153,7 +153,7 @@ declare const useCapxulPermissionCreate: (orgId: OrgId) => UseMutationResult<{
|
|
|
153
153
|
readonly kind: "organization";
|
|
154
154
|
readonly orgId: string;
|
|
155
155
|
};
|
|
156
|
-
readonly state: "active" | "pending" | "
|
|
156
|
+
readonly state: "active" | "pending" | "revoked" | "superseded" | "suspended";
|
|
157
157
|
};
|
|
158
158
|
}, CapxulError, import("@capxul/sdk").PermissionCreateInput>;
|
|
159
159
|
declare const useCapxulPermissionChange: (orgId: OrgId) => UseMutationResult<{
|
|
@@ -165,7 +165,7 @@ declare const useCapxulPermissionChange: (orgId: OrgId) => UseMutationResult<{
|
|
|
165
165
|
readonly permissionId: PermissionId;
|
|
166
166
|
readonly orgId: string;
|
|
167
167
|
readonly type: "budget" | "managePeople";
|
|
168
|
-
readonly state: "active" | "pending" | "
|
|
168
|
+
readonly state: "active" | "pending" | "revoked" | "superseded" | "suspended";
|
|
169
169
|
readonly revision: number;
|
|
170
170
|
readonly roleKey: RoleKey;
|
|
171
171
|
readonly tokenAddress?: Address | undefined;
|
|
@@ -175,7 +175,7 @@ declare const useCapxulPermissionChange: (orgId: OrgId) => UseMutationResult<{
|
|
|
175
175
|
readonly permissionId: PermissionId;
|
|
176
176
|
readonly orgId: string;
|
|
177
177
|
readonly type: "budget" | "managePeople";
|
|
178
|
-
readonly state: "active" | "pending" | "
|
|
178
|
+
readonly state: "active" | "pending" | "revoked" | "superseded" | "suspended";
|
|
179
179
|
readonly revision: number;
|
|
180
180
|
readonly roleKey: RoleKey;
|
|
181
181
|
readonly tokenAddress?: Address | undefined;
|
|
@@ -191,7 +191,7 @@ declare const useCapxulPermissionChange: (orgId: OrgId) => UseMutationResult<{
|
|
|
191
191
|
readonly kind: "organization";
|
|
192
192
|
readonly orgId: string;
|
|
193
193
|
};
|
|
194
|
-
readonly state: "active" | "pending" | "
|
|
194
|
+
readonly state: "active" | "pending" | "revoked" | "superseded" | "suspended";
|
|
195
195
|
};
|
|
196
196
|
}, CapxulError, import("@capxul/sdk").PermissionChangeInput>;
|
|
197
197
|
declare const useCapxulPermissionAssign: (orgId: OrgId) => UseMutationResult<{
|
|
@@ -203,7 +203,7 @@ declare const useCapxulPermissionAssign: (orgId: OrgId) => UseMutationResult<{
|
|
|
203
203
|
readonly permissionId: PermissionId;
|
|
204
204
|
readonly orgId: string;
|
|
205
205
|
readonly type: "budget" | "managePeople";
|
|
206
|
-
readonly state: "active" | "pending" | "
|
|
206
|
+
readonly state: "active" | "pending" | "revoked" | "superseded" | "suspended";
|
|
207
207
|
readonly revision: number;
|
|
208
208
|
readonly roleKey: RoleKey;
|
|
209
209
|
readonly tokenAddress?: Address | undefined;
|
|
@@ -213,7 +213,7 @@ declare const useCapxulPermissionAssign: (orgId: OrgId) => UseMutationResult<{
|
|
|
213
213
|
readonly permissionId: PermissionId;
|
|
214
214
|
readonly orgId: string;
|
|
215
215
|
readonly type: "budget" | "managePeople";
|
|
216
|
-
readonly state: "active" | "pending" | "
|
|
216
|
+
readonly state: "active" | "pending" | "revoked" | "superseded" | "suspended";
|
|
217
217
|
readonly revision: number;
|
|
218
218
|
readonly roleKey: RoleKey;
|
|
219
219
|
readonly tokenAddress?: Address | undefined;
|
|
@@ -229,7 +229,7 @@ declare const useCapxulPermissionAssign: (orgId: OrgId) => UseMutationResult<{
|
|
|
229
229
|
readonly kind: "organization";
|
|
230
230
|
readonly orgId: string;
|
|
231
231
|
};
|
|
232
|
-
readonly state: "active" | "pending" | "
|
|
232
|
+
readonly state: "active" | "pending" | "revoked" | "superseded" | "suspended";
|
|
233
233
|
};
|
|
234
234
|
}, CapxulError, import("@capxul/sdk").PermissionAssignInput>;
|
|
235
235
|
declare const useCapxulPermissionRevoke: (orgId: OrgId) => UseMutationResult<{
|
|
@@ -241,7 +241,7 @@ declare const useCapxulPermissionRevoke: (orgId: OrgId) => UseMutationResult<{
|
|
|
241
241
|
readonly permissionId: PermissionId;
|
|
242
242
|
readonly orgId: string;
|
|
243
243
|
readonly type: "budget" | "managePeople";
|
|
244
|
-
readonly state: "active" | "pending" | "
|
|
244
|
+
readonly state: "active" | "pending" | "revoked" | "superseded" | "suspended";
|
|
245
245
|
readonly revision: number;
|
|
246
246
|
readonly roleKey: RoleKey;
|
|
247
247
|
readonly tokenAddress?: Address | undefined;
|
|
@@ -251,7 +251,7 @@ declare const useCapxulPermissionRevoke: (orgId: OrgId) => UseMutationResult<{
|
|
|
251
251
|
readonly permissionId: PermissionId;
|
|
252
252
|
readonly orgId: string;
|
|
253
253
|
readonly type: "budget" | "managePeople";
|
|
254
|
-
readonly state: "active" | "pending" | "
|
|
254
|
+
readonly state: "active" | "pending" | "revoked" | "superseded" | "suspended";
|
|
255
255
|
readonly revision: number;
|
|
256
256
|
readonly roleKey: RoleKey;
|
|
257
257
|
readonly tokenAddress?: Address | undefined;
|
|
@@ -267,7 +267,7 @@ declare const useCapxulPermissionRevoke: (orgId: OrgId) => UseMutationResult<{
|
|
|
267
267
|
readonly kind: "organization";
|
|
268
268
|
readonly orgId: string;
|
|
269
269
|
};
|
|
270
|
-
readonly state: "active" | "pending" | "
|
|
270
|
+
readonly state: "active" | "pending" | "revoked" | "superseded" | "suspended";
|
|
271
271
|
};
|
|
272
272
|
}, CapxulError, import("@capxul/sdk").PermissionRevokeInput>;
|
|
273
273
|
declare const useCapxulPermissionReplace: (orgId: OrgId) => UseMutationResult<{
|
|
@@ -279,7 +279,7 @@ declare const useCapxulPermissionReplace: (orgId: OrgId) => UseMutationResult<{
|
|
|
279
279
|
readonly permissionId: PermissionId;
|
|
280
280
|
readonly orgId: string;
|
|
281
281
|
readonly type: "budget" | "managePeople";
|
|
282
|
-
readonly state: "active" | "pending" | "
|
|
282
|
+
readonly state: "active" | "pending" | "revoked" | "superseded" | "suspended";
|
|
283
283
|
readonly revision: number;
|
|
284
284
|
readonly roleKey: RoleKey;
|
|
285
285
|
readonly tokenAddress?: Address | undefined;
|
|
@@ -289,7 +289,7 @@ declare const useCapxulPermissionReplace: (orgId: OrgId) => UseMutationResult<{
|
|
|
289
289
|
readonly permissionId: PermissionId;
|
|
290
290
|
readonly orgId: string;
|
|
291
291
|
readonly type: "budget" | "managePeople";
|
|
292
|
-
readonly state: "active" | "pending" | "
|
|
292
|
+
readonly state: "active" | "pending" | "revoked" | "superseded" | "suspended";
|
|
293
293
|
readonly revision: number;
|
|
294
294
|
readonly roleKey: RoleKey;
|
|
295
295
|
readonly tokenAddress?: Address | undefined;
|
|
@@ -305,7 +305,7 @@ declare const useCapxulPermissionReplace: (orgId: OrgId) => UseMutationResult<{
|
|
|
305
305
|
readonly kind: "organization";
|
|
306
306
|
readonly orgId: string;
|
|
307
307
|
};
|
|
308
|
-
readonly state: "active" | "pending" | "
|
|
308
|
+
readonly state: "active" | "pending" | "revoked" | "superseded" | "suspended";
|
|
309
309
|
};
|
|
310
310
|
}, CapxulError, import("@capxul/sdk").PermissionReplaceInput>;
|
|
311
311
|
declare function useCapxulPermissions(orgId: OrgId, options?: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capxul/sdk-react",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.2",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/Xelmar-tech/infrastructure.git",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"access": "public"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@capxul/sdk": "2.3.
|
|
29
|
+
"@capxul/sdk": "2.3.2"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@tanstack/react-query": "^5.66.9",
|