@company-semantics/contracts 4.0.0 → 5.0.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/package.json
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// AUTO-GENERATED — do not edit. Run pnpm generate:spec-hash to regenerate.
|
|
2
|
-
export const SPEC_HASH = '
|
|
3
|
-
export const SPEC_HASH_FULL = '
|
|
2
|
+
export const SPEC_HASH = 'f8ecf637857f' as const;
|
|
3
|
+
export const SPEC_HASH_FULL = 'f8ecf637857fded90a144d5a76bfa2919d3494bb0b5b78d4131e906ab4a6edf5' as const;
|
package/src/api/generated.ts
CHANGED
|
@@ -1859,7 +1859,7 @@ export interface paths {
|
|
|
1859
1859
|
};
|
|
1860
1860
|
get?: never;
|
|
1861
1861
|
/** Update a manual membership role */
|
|
1862
|
-
put: operations["
|
|
1862
|
+
put: operations["updateUnitMembershipRole"];
|
|
1863
1863
|
post?: never;
|
|
1864
1864
|
delete?: never;
|
|
1865
1865
|
options?: never;
|
|
@@ -3059,8 +3059,7 @@ export interface components {
|
|
|
3059
3059
|
name: string;
|
|
3060
3060
|
email: string;
|
|
3061
3061
|
jobTitle: string | null;
|
|
3062
|
-
|
|
3063
|
-
role: "owner" | "admin" | "member" | "auditor";
|
|
3062
|
+
role: ("ceo" | "leader" | "delegate" | "admin") | null;
|
|
3064
3063
|
roleNames: string[];
|
|
3065
3064
|
joinedAt: string;
|
|
3066
3065
|
lastActiveAt: string | null;
|
|
@@ -3248,8 +3247,7 @@ export interface components {
|
|
|
3248
3247
|
name: string;
|
|
3249
3248
|
email: string;
|
|
3250
3249
|
jobTitle: string | null;
|
|
3251
|
-
|
|
3252
|
-
role: "owner" | "admin" | "member" | "auditor";
|
|
3250
|
+
role: ("ceo" | "leader" | "delegate" | "admin") | null;
|
|
3253
3251
|
roleNames: string[];
|
|
3254
3252
|
joinedAt: string;
|
|
3255
3253
|
lastActiveAt: string | null;
|
|
@@ -3305,8 +3303,7 @@ export interface components {
|
|
|
3305
3303
|
orgId: string;
|
|
3306
3304
|
orgName: string;
|
|
3307
3305
|
orgSlug: string;
|
|
3308
|
-
|
|
3309
|
-
role: "owner" | "admin" | "member" | "auditor";
|
|
3306
|
+
role: ("ceo" | "leader" | "delegate" | "admin") | null;
|
|
3310
3307
|
joinedAt: string;
|
|
3311
3308
|
isActive: boolean;
|
|
3312
3309
|
/** @enum {string} */
|
|
@@ -3341,7 +3338,7 @@ export interface components {
|
|
|
3341
3338
|
orgId: string;
|
|
3342
3339
|
email: string;
|
|
3343
3340
|
/** @enum {string} */
|
|
3344
|
-
role: "
|
|
3341
|
+
role: "admin" | "member";
|
|
3345
3342
|
invitedBy: {
|
|
3346
3343
|
id: string;
|
|
3347
3344
|
name: string;
|
|
@@ -3364,7 +3361,7 @@ export interface components {
|
|
|
3364
3361
|
orgId: string;
|
|
3365
3362
|
email: string;
|
|
3366
3363
|
/** @enum {string} */
|
|
3367
|
-
role: "
|
|
3364
|
+
role: "admin" | "member";
|
|
3368
3365
|
invitedBy: {
|
|
3369
3366
|
id: string;
|
|
3370
3367
|
name: string;
|
|
@@ -7641,7 +7638,7 @@ export interface operations {
|
|
|
7641
7638
|
};
|
|
7642
7639
|
};
|
|
7643
7640
|
};
|
|
7644
|
-
|
|
7641
|
+
updateUnitMembershipRole: {
|
|
7645
7642
|
parameters: {
|
|
7646
7643
|
query?: never;
|
|
7647
7644
|
header?: never;
|