@company-semantics/contracts 2.6.0 → 2.7.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 +1 -1
- package/src/api/generated-spec-hash.ts +2 -2
- package/src/api/generated.ts +296 -0
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 = 'dfd003162bb3' as const;
|
|
3
|
+
export const SPEC_HASH_FULL = 'dfd003162bb3d11c451864139ca8ba09e494cfd652b177f8b5ee8611c0f54e2a' as const;
|
package/src/api/generated.ts
CHANGED
|
@@ -1730,6 +1730,74 @@ export interface paths {
|
|
|
1730
1730
|
patch: operations["updateOrgUnitDelegationScopes"];
|
|
1731
1731
|
trace?: never;
|
|
1732
1732
|
};
|
|
1733
|
+
"/api/orgs/{orgId}/admins": {
|
|
1734
|
+
parameters: {
|
|
1735
|
+
query?: never;
|
|
1736
|
+
header?: never;
|
|
1737
|
+
path?: never;
|
|
1738
|
+
cookie?: never;
|
|
1739
|
+
};
|
|
1740
|
+
get?: never;
|
|
1741
|
+
put?: never;
|
|
1742
|
+
/** Grant org-admin authority to a user */
|
|
1743
|
+
post: operations["grantOrgAdmin"];
|
|
1744
|
+
delete?: never;
|
|
1745
|
+
options?: never;
|
|
1746
|
+
head?: never;
|
|
1747
|
+
patch?: never;
|
|
1748
|
+
trace?: never;
|
|
1749
|
+
};
|
|
1750
|
+
"/api/orgs/{orgId}/admins/{userId}": {
|
|
1751
|
+
parameters: {
|
|
1752
|
+
query?: never;
|
|
1753
|
+
header?: never;
|
|
1754
|
+
path?: never;
|
|
1755
|
+
cookie?: never;
|
|
1756
|
+
};
|
|
1757
|
+
get?: never;
|
|
1758
|
+
put?: never;
|
|
1759
|
+
post?: never;
|
|
1760
|
+
/** Revoke org-admin authority from a user */
|
|
1761
|
+
delete: operations["revokeOrgAdmin"];
|
|
1762
|
+
options?: never;
|
|
1763
|
+
head?: never;
|
|
1764
|
+
patch?: never;
|
|
1765
|
+
trace?: never;
|
|
1766
|
+
};
|
|
1767
|
+
"/api/org-units/{unitId}/structural-leaders": {
|
|
1768
|
+
parameters: {
|
|
1769
|
+
query?: never;
|
|
1770
|
+
header?: never;
|
|
1771
|
+
path?: never;
|
|
1772
|
+
cookie?: never;
|
|
1773
|
+
};
|
|
1774
|
+
get?: never;
|
|
1775
|
+
put?: never;
|
|
1776
|
+
/** Assign a user as structural leader of an org unit */
|
|
1777
|
+
post: operations["assignOrgUnitStructuralLeader"];
|
|
1778
|
+
delete?: never;
|
|
1779
|
+
options?: never;
|
|
1780
|
+
head?: never;
|
|
1781
|
+
patch?: never;
|
|
1782
|
+
trace?: never;
|
|
1783
|
+
};
|
|
1784
|
+
"/api/org-units/{unitId}/structural-leaders/{userId}": {
|
|
1785
|
+
parameters: {
|
|
1786
|
+
query?: never;
|
|
1787
|
+
header?: never;
|
|
1788
|
+
path?: never;
|
|
1789
|
+
cookie?: never;
|
|
1790
|
+
};
|
|
1791
|
+
get?: never;
|
|
1792
|
+
put?: never;
|
|
1793
|
+
post?: never;
|
|
1794
|
+
/** Remove a user as structural leader of an org unit */
|
|
1795
|
+
delete: operations["removeOrgUnitStructuralLeader"];
|
|
1796
|
+
options?: never;
|
|
1797
|
+
head?: never;
|
|
1798
|
+
patch?: never;
|
|
1799
|
+
trace?: never;
|
|
1800
|
+
};
|
|
1733
1801
|
"/api/org-units/{unitId}/memberships": {
|
|
1734
1802
|
parameters: {
|
|
1735
1803
|
query?: never;
|
|
@@ -2194,6 +2262,23 @@ export interface paths {
|
|
|
2194
2262
|
patch?: never;
|
|
2195
2263
|
trace?: never;
|
|
2196
2264
|
};
|
|
2265
|
+
"/api/me/meetings/recordings": {
|
|
2266
|
+
parameters: {
|
|
2267
|
+
query?: never;
|
|
2268
|
+
header?: never;
|
|
2269
|
+
path?: never;
|
|
2270
|
+
cookie?: never;
|
|
2271
|
+
};
|
|
2272
|
+
get?: never;
|
|
2273
|
+
put?: never;
|
|
2274
|
+
/** Mint a transcription session grant for a new recording */
|
|
2275
|
+
post: operations["issueMeetingRecordingGrant"];
|
|
2276
|
+
delete?: never;
|
|
2277
|
+
options?: never;
|
|
2278
|
+
head?: never;
|
|
2279
|
+
patch?: never;
|
|
2280
|
+
trace?: never;
|
|
2281
|
+
};
|
|
2197
2282
|
"/api/internal-admin/impersonate/start": {
|
|
2198
2283
|
parameters: {
|
|
2199
2284
|
query?: never;
|
|
@@ -3592,6 +3677,40 @@ export interface components {
|
|
|
3592
3677
|
note: string | null;
|
|
3593
3678
|
scopes: ("doc.edit" | "doc.acl" | "members.manage")[];
|
|
3594
3679
|
};
|
|
3680
|
+
OrgAdminGrantResponse: {
|
|
3681
|
+
/** Format: uuid */
|
|
3682
|
+
id: string;
|
|
3683
|
+
/** Format: uuid */
|
|
3684
|
+
orgId: string;
|
|
3685
|
+
/** Format: uuid */
|
|
3686
|
+
orgUnitId: string;
|
|
3687
|
+
/** Format: uuid */
|
|
3688
|
+
userId: string;
|
|
3689
|
+
/** @enum {string} */
|
|
3690
|
+
mechanism: "structural" | "rbac";
|
|
3691
|
+
/** Format: uuid */
|
|
3692
|
+
grantedByUserId: string;
|
|
3693
|
+
grantedAt: string;
|
|
3694
|
+
revokedAt: string | null;
|
|
3695
|
+
reason: string | null;
|
|
3696
|
+
};
|
|
3697
|
+
StructuralLeaderAssignResponse: {
|
|
3698
|
+
/** Format: uuid */
|
|
3699
|
+
id: string;
|
|
3700
|
+
/** Format: uuid */
|
|
3701
|
+
orgId: string;
|
|
3702
|
+
/** Format: uuid */
|
|
3703
|
+
orgUnitId: string;
|
|
3704
|
+
/** Format: uuid */
|
|
3705
|
+
userId: string;
|
|
3706
|
+
/** @enum {string} */
|
|
3707
|
+
mechanism: "structural" | "rbac";
|
|
3708
|
+
/** Format: uuid */
|
|
3709
|
+
grantedByUserId: string;
|
|
3710
|
+
grantedAt: string;
|
|
3711
|
+
revokedAt: string | null;
|
|
3712
|
+
reason: string | null;
|
|
3713
|
+
};
|
|
3595
3714
|
OrgUnitMembershipListResponse: {
|
|
3596
3715
|
/** Format: uuid */
|
|
3597
3716
|
unitId: string;
|
|
@@ -3802,6 +3921,43 @@ export interface components {
|
|
|
3802
3921
|
UpdateWorkItemTitleRequest: {
|
|
3803
3922
|
title: string;
|
|
3804
3923
|
};
|
|
3924
|
+
/** @description Provider-agnostic grant the mac shell consumes. Mac never sees provider name (INV-MTG-15). */
|
|
3925
|
+
TranscriptionSessionGrant: {
|
|
3926
|
+
/** @description ULID; unified trace key for the recording (INV-MTG-7). */
|
|
3927
|
+
sessionId: string;
|
|
3928
|
+
/** Format: uri */
|
|
3929
|
+
connectUrl: string;
|
|
3930
|
+
authHeaders: {
|
|
3931
|
+
[key: string]: string;
|
|
3932
|
+
};
|
|
3933
|
+
/** Format: date-time */
|
|
3934
|
+
expiresAt: string;
|
|
3935
|
+
audioConfig: {
|
|
3936
|
+
/** @constant */
|
|
3937
|
+
sampleRateHz: 16000;
|
|
3938
|
+
/** @constant */
|
|
3939
|
+
channels: 2;
|
|
3940
|
+
/** @constant */
|
|
3941
|
+
encoding: "linear16";
|
|
3942
|
+
/** @constant */
|
|
3943
|
+
chunkMs: 200;
|
|
3944
|
+
};
|
|
3945
|
+
capabilities: {
|
|
3946
|
+
interimResults: boolean;
|
|
3947
|
+
multichannelDiarization: boolean;
|
|
3948
|
+
reconnectionTokens: boolean;
|
|
3949
|
+
};
|
|
3950
|
+
};
|
|
3951
|
+
/** @description Request a transcription session grant for a new recording. */
|
|
3952
|
+
IssueMeetingRecordingGrantRequest: {
|
|
3953
|
+
/** @description ULID; unified trace key for the recording (INV-MTG-7). */
|
|
3954
|
+
clientRecordingId: string;
|
|
3955
|
+
/**
|
|
3956
|
+
* @description Auto-detected meeting app that owns the system audio stream.
|
|
3957
|
+
* @enum {string}
|
|
3958
|
+
*/
|
|
3959
|
+
detectedApp: "zoom" | "teams" | "meet-browser" | "slack-huddle" | "manual";
|
|
3960
|
+
};
|
|
3805
3961
|
ImpersonationSessionResponse: {
|
|
3806
3962
|
session: {
|
|
3807
3963
|
impersonationSessionId: string;
|
|
@@ -6603,6 +6759,108 @@ export interface operations {
|
|
|
6603
6759
|
};
|
|
6604
6760
|
};
|
|
6605
6761
|
};
|
|
6762
|
+
grantOrgAdmin: {
|
|
6763
|
+
parameters: {
|
|
6764
|
+
query?: never;
|
|
6765
|
+
header?: never;
|
|
6766
|
+
path: {
|
|
6767
|
+
orgId: string;
|
|
6768
|
+
};
|
|
6769
|
+
cookie?: never;
|
|
6770
|
+
};
|
|
6771
|
+
requestBody: {
|
|
6772
|
+
content: {
|
|
6773
|
+
"application/json": {
|
|
6774
|
+
/** Format: uuid */
|
|
6775
|
+
userId: string;
|
|
6776
|
+
reason?: string;
|
|
6777
|
+
};
|
|
6778
|
+
};
|
|
6779
|
+
};
|
|
6780
|
+
responses: {
|
|
6781
|
+
/** @description Created authority overlay row */
|
|
6782
|
+
201: {
|
|
6783
|
+
headers: {
|
|
6784
|
+
[name: string]: unknown;
|
|
6785
|
+
};
|
|
6786
|
+
content: {
|
|
6787
|
+
"application/json": components["schemas"]["OrgAdminGrantResponse"];
|
|
6788
|
+
};
|
|
6789
|
+
};
|
|
6790
|
+
};
|
|
6791
|
+
};
|
|
6792
|
+
revokeOrgAdmin: {
|
|
6793
|
+
parameters: {
|
|
6794
|
+
query?: never;
|
|
6795
|
+
header?: never;
|
|
6796
|
+
path: {
|
|
6797
|
+
orgId: string;
|
|
6798
|
+
userId: string;
|
|
6799
|
+
};
|
|
6800
|
+
cookie?: never;
|
|
6801
|
+
};
|
|
6802
|
+
requestBody?: never;
|
|
6803
|
+
responses: {
|
|
6804
|
+
/** @description Authority revoked */
|
|
6805
|
+
204: {
|
|
6806
|
+
headers: {
|
|
6807
|
+
[name: string]: unknown;
|
|
6808
|
+
};
|
|
6809
|
+
content?: never;
|
|
6810
|
+
};
|
|
6811
|
+
};
|
|
6812
|
+
};
|
|
6813
|
+
assignOrgUnitStructuralLeader: {
|
|
6814
|
+
parameters: {
|
|
6815
|
+
query?: never;
|
|
6816
|
+
header?: never;
|
|
6817
|
+
path: {
|
|
6818
|
+
unitId: string;
|
|
6819
|
+
};
|
|
6820
|
+
cookie?: never;
|
|
6821
|
+
};
|
|
6822
|
+
requestBody: {
|
|
6823
|
+
content: {
|
|
6824
|
+
"application/json": {
|
|
6825
|
+
/** Format: uuid */
|
|
6826
|
+
userId: string;
|
|
6827
|
+
reason?: string;
|
|
6828
|
+
};
|
|
6829
|
+
};
|
|
6830
|
+
};
|
|
6831
|
+
responses: {
|
|
6832
|
+
/** @description Created structural-leader overlay row */
|
|
6833
|
+
201: {
|
|
6834
|
+
headers: {
|
|
6835
|
+
[name: string]: unknown;
|
|
6836
|
+
};
|
|
6837
|
+
content: {
|
|
6838
|
+
"application/json": components["schemas"]["StructuralLeaderAssignResponse"];
|
|
6839
|
+
};
|
|
6840
|
+
};
|
|
6841
|
+
};
|
|
6842
|
+
};
|
|
6843
|
+
removeOrgUnitStructuralLeader: {
|
|
6844
|
+
parameters: {
|
|
6845
|
+
query?: never;
|
|
6846
|
+
header?: never;
|
|
6847
|
+
path: {
|
|
6848
|
+
unitId: string;
|
|
6849
|
+
userId: string;
|
|
6850
|
+
};
|
|
6851
|
+
cookie?: never;
|
|
6852
|
+
};
|
|
6853
|
+
requestBody?: never;
|
|
6854
|
+
responses: {
|
|
6855
|
+
/** @description Structural-leader authority revoked */
|
|
6856
|
+
204: {
|
|
6857
|
+
headers: {
|
|
6858
|
+
[name: string]: unknown;
|
|
6859
|
+
};
|
|
6860
|
+
content?: never;
|
|
6861
|
+
};
|
|
6862
|
+
};
|
|
6863
|
+
};
|
|
6606
6864
|
listOrgUnitMemberships: {
|
|
6607
6865
|
parameters: {
|
|
6608
6866
|
query?: never;
|
|
@@ -7283,6 +7541,44 @@ export interface operations {
|
|
|
7283
7541
|
};
|
|
7284
7542
|
};
|
|
7285
7543
|
};
|
|
7544
|
+
issueMeetingRecordingGrant: {
|
|
7545
|
+
parameters: {
|
|
7546
|
+
query?: never;
|
|
7547
|
+
header?: never;
|
|
7548
|
+
path?: never;
|
|
7549
|
+
cookie?: never;
|
|
7550
|
+
};
|
|
7551
|
+
requestBody: {
|
|
7552
|
+
content: {
|
|
7553
|
+
"application/json": components["schemas"]["IssueMeetingRecordingGrantRequest"];
|
|
7554
|
+
};
|
|
7555
|
+
};
|
|
7556
|
+
responses: {
|
|
7557
|
+
/** @description Provider-agnostic transcription session grant */
|
|
7558
|
+
200: {
|
|
7559
|
+
headers: {
|
|
7560
|
+
[name: string]: unknown;
|
|
7561
|
+
};
|
|
7562
|
+
content: {
|
|
7563
|
+
"application/json": components["schemas"]["TranscriptionSessionGrant"];
|
|
7564
|
+
};
|
|
7565
|
+
};
|
|
7566
|
+
/** @description Rate limit exceeded (10 issuances/user/hour) */
|
|
7567
|
+
429: {
|
|
7568
|
+
headers: {
|
|
7569
|
+
[name: string]: unknown;
|
|
7570
|
+
};
|
|
7571
|
+
content?: never;
|
|
7572
|
+
};
|
|
7573
|
+
/** @description Transcription provider unavailable */
|
|
7574
|
+
503: {
|
|
7575
|
+
headers: {
|
|
7576
|
+
[name: string]: unknown;
|
|
7577
|
+
};
|
|
7578
|
+
content?: never;
|
|
7579
|
+
};
|
|
7580
|
+
};
|
|
7581
|
+
};
|
|
7286
7582
|
startImpersonation: {
|
|
7287
7583
|
parameters: {
|
|
7288
7584
|
query?: never;
|