@company-semantics/contracts 63.0.0 → 63.1.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 +2 -2
- package/src/api/generated-spec-hash.ts +2 -2
- package/src/api/generated.ts +103 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@company-semantics/contracts",
|
|
3
|
-
"version": "63.
|
|
3
|
+
"version": "63.1.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -181,5 +181,5 @@
|
|
|
181
181
|
"*.md": "markdownlint-cli2",
|
|
182
182
|
"package.json": "node -e \"JSON.parse(require('fs').readFileSync('package.json'))\""
|
|
183
183
|
},
|
|
184
|
-
"securityRequirementsVersion": "
|
|
184
|
+
"securityRequirementsVersion": "b5085eaa2fcf9fee09a3c8d2a9e15eab119800def73c98dc6ab6937d1c6e07b2"
|
|
185
185
|
}
|
|
@@ -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 = '387045558d18' as const;
|
|
3
|
+
export const SPEC_HASH_FULL = '387045558d1867722a744ddb05cf5ebb7260c54df0ff272b868bd4dd2ad2a973' as const;
|
package/src/api/generated.ts
CHANGED
|
@@ -4373,6 +4373,11 @@ export interface components {
|
|
|
4373
4373
|
/** @enum {string} */
|
|
4374
4374
|
origin?: "user" | "proactive";
|
|
4375
4375
|
launch: {
|
|
4376
|
+
/** @constant */
|
|
4377
|
+
kind: "structure-review";
|
|
4378
|
+
/** Format: uuid */
|
|
4379
|
+
proposalId: string;
|
|
4380
|
+
} | {
|
|
4376
4381
|
/** @constant */
|
|
4377
4382
|
kind: "workflow";
|
|
4378
4383
|
/** Format: uuid */
|
|
@@ -6961,12 +6966,19 @@ export interface components {
|
|
|
6961
6966
|
insertedText?: string;
|
|
6962
6967
|
};
|
|
6963
6968
|
body?: string;
|
|
6964
|
-
mentions?: {
|
|
6969
|
+
mentions?: ({
|
|
6970
|
+
/** @constant */
|
|
6971
|
+
kind: "user";
|
|
6965
6972
|
/** Format: uuid */
|
|
6966
6973
|
userId: string;
|
|
6967
6974
|
startOffset: number;
|
|
6968
6975
|
endOffset: number;
|
|
6969
|
-
}
|
|
6976
|
+
} | {
|
|
6977
|
+
/** @constant */
|
|
6978
|
+
kind: "agent";
|
|
6979
|
+
startOffset: number;
|
|
6980
|
+
endOffset: number;
|
|
6981
|
+
})[];
|
|
6970
6982
|
};
|
|
6971
6983
|
/** @description The written reply, and whether it auto-reopened a resolved thread. */
|
|
6972
6984
|
CommentReplyResponse: {
|
|
@@ -6975,12 +6987,19 @@ export interface components {
|
|
|
6975
6987
|
};
|
|
6976
6988
|
CommentReplyRequest: {
|
|
6977
6989
|
body: string;
|
|
6978
|
-
mentions?: {
|
|
6990
|
+
mentions?: ({
|
|
6991
|
+
/** @constant */
|
|
6992
|
+
kind: "user";
|
|
6979
6993
|
/** Format: uuid */
|
|
6980
6994
|
userId: string;
|
|
6981
6995
|
startOffset: number;
|
|
6982
6996
|
endOffset: number;
|
|
6983
|
-
}
|
|
6997
|
+
} | {
|
|
6998
|
+
/** @constant */
|
|
6999
|
+
kind: "agent";
|
|
7000
|
+
startOffset: number;
|
|
7001
|
+
endOffset: number;
|
|
7002
|
+
})[];
|
|
6984
7003
|
};
|
|
6985
7004
|
/** @description The comment after the mutation (redacted projection after delete). */
|
|
6986
7005
|
CommentResponse: {
|
|
@@ -6988,12 +7007,19 @@ export interface components {
|
|
|
6988
7007
|
};
|
|
6989
7008
|
EditCommentRequest: {
|
|
6990
7009
|
body: string;
|
|
6991
|
-
mentions?: {
|
|
7010
|
+
mentions?: ({
|
|
7011
|
+
/** @constant */
|
|
7012
|
+
kind: "user";
|
|
6992
7013
|
/** Format: uuid */
|
|
6993
7014
|
userId: string;
|
|
6994
7015
|
startOffset: number;
|
|
6995
7016
|
endOffset: number;
|
|
6996
|
-
}
|
|
7017
|
+
} | {
|
|
7018
|
+
/** @constant */
|
|
7019
|
+
kind: "agent";
|
|
7020
|
+
startOffset: number;
|
|
7021
|
+
endOffset: number;
|
|
7022
|
+
})[];
|
|
6997
7023
|
};
|
|
6998
7024
|
/** @description The thread after a resolve/reopen transition. */
|
|
6999
7025
|
CommentThreadSummaryResponse: {
|
|
@@ -7026,7 +7052,14 @@ export interface components {
|
|
|
7026
7052
|
};
|
|
7027
7053
|
/** @description A principal who can read the document and may therefore be mentioned. */
|
|
7028
7054
|
CompanyMdMentionableCandidate: {
|
|
7029
|
-
|
|
7055
|
+
principal: {
|
|
7056
|
+
/** @constant */
|
|
7057
|
+
kind: "user";
|
|
7058
|
+
userId: string;
|
|
7059
|
+
} | {
|
|
7060
|
+
/** @constant */
|
|
7061
|
+
kind: "agent";
|
|
7062
|
+
};
|
|
7030
7063
|
displayName: string;
|
|
7031
7064
|
avatarUrl: string | null;
|
|
7032
7065
|
};
|
|
@@ -7107,6 +7140,29 @@ export interface components {
|
|
|
7107
7140
|
/** @enum {string} */
|
|
7108
7141
|
kind: "comment" | "suggestion";
|
|
7109
7142
|
suggestion: components["schemas"]["Suggestion"] | null;
|
|
7143
|
+
origin: {
|
|
7144
|
+
/** @constant */
|
|
7145
|
+
kind: "comment";
|
|
7146
|
+
} | {
|
|
7147
|
+
/** @constant */
|
|
7148
|
+
kind: "doc_mention";
|
|
7149
|
+
byUser: ({
|
|
7150
|
+
/** @constant */
|
|
7151
|
+
kind: "user";
|
|
7152
|
+
userId: string;
|
|
7153
|
+
} | {
|
|
7154
|
+
/** @constant */
|
|
7155
|
+
kind: "agent";
|
|
7156
|
+
}) | null;
|
|
7157
|
+
introducedAt: string;
|
|
7158
|
+
};
|
|
7159
|
+
agentOutcomes: {
|
|
7160
|
+
triggerId: string;
|
|
7161
|
+
/** @enum {string} */
|
|
7162
|
+
status: "pending" | "replied" | "unanswered";
|
|
7163
|
+
reason: ("replies_off" | "mentioner_unavailable" | "delegate_unknown" | "subject_unreadable" | "rate_capped" | "turn_failed") | null;
|
|
7164
|
+
replyCommentId: string | null;
|
|
7165
|
+
}[];
|
|
7110
7166
|
createdByUserId: string | null;
|
|
7111
7167
|
resolvedByUserId: string | null;
|
|
7112
7168
|
resolvedAt: string | null;
|
|
@@ -7155,16 +7211,30 @@ export interface components {
|
|
|
7155
7211
|
Comment: {
|
|
7156
7212
|
id: string;
|
|
7157
7213
|
threadId: string;
|
|
7158
|
-
|
|
7214
|
+
author: ({
|
|
7215
|
+
/** @constant */
|
|
7216
|
+
kind: "user";
|
|
7217
|
+
userId: string;
|
|
7218
|
+
} | {
|
|
7219
|
+
/** @constant */
|
|
7220
|
+
kind: "agent";
|
|
7221
|
+
}) | null;
|
|
7159
7222
|
body: string | null;
|
|
7160
7223
|
editedAt: string | null;
|
|
7161
7224
|
deletedAt: string | null;
|
|
7162
7225
|
createdAt: string;
|
|
7163
7226
|
mentions: components["schemas"]["CommentMention"][];
|
|
7164
7227
|
};
|
|
7165
|
-
/** @description One mention on a comment: the mentioned
|
|
7228
|
+
/** @description One mention on a comment: the principal mentioned, its zero-based exclusive-end UTF-16 range (null until the offset columns exist), and the display name resolved at read time. */
|
|
7166
7229
|
CommentMention: {
|
|
7167
|
-
|
|
7230
|
+
target: {
|
|
7231
|
+
/** @constant */
|
|
7232
|
+
kind: "user";
|
|
7233
|
+
userId: string;
|
|
7234
|
+
} | {
|
|
7235
|
+
/** @constant */
|
|
7236
|
+
kind: "agent";
|
|
7237
|
+
};
|
|
7168
7238
|
startOffset: number | null;
|
|
7169
7239
|
endOffset: number | null;
|
|
7170
7240
|
displayName: string;
|
|
@@ -7191,6 +7261,29 @@ export interface components {
|
|
|
7191
7261
|
/** @enum {string} */
|
|
7192
7262
|
kind: "comment" | "suggestion";
|
|
7193
7263
|
suggestion: components["schemas"]["Suggestion"] | null;
|
|
7264
|
+
origin: {
|
|
7265
|
+
/** @constant */
|
|
7266
|
+
kind: "comment";
|
|
7267
|
+
} | {
|
|
7268
|
+
/** @constant */
|
|
7269
|
+
kind: "doc_mention";
|
|
7270
|
+
byUser: ({
|
|
7271
|
+
/** @constant */
|
|
7272
|
+
kind: "user";
|
|
7273
|
+
userId: string;
|
|
7274
|
+
} | {
|
|
7275
|
+
/** @constant */
|
|
7276
|
+
kind: "agent";
|
|
7277
|
+
}) | null;
|
|
7278
|
+
introducedAt: string;
|
|
7279
|
+
};
|
|
7280
|
+
agentOutcomes: {
|
|
7281
|
+
triggerId: string;
|
|
7282
|
+
/** @enum {string} */
|
|
7283
|
+
status: "pending" | "replied" | "unanswered";
|
|
7284
|
+
reason: ("replies_off" | "mentioner_unavailable" | "delegate_unknown" | "subject_unreadable" | "rate_capped" | "turn_failed") | null;
|
|
7285
|
+
replyCommentId: string | null;
|
|
7286
|
+
}[];
|
|
7194
7287
|
createdByUserId: string | null;
|
|
7195
7288
|
resolvedByUserId: string | null;
|
|
7196
7289
|
resolvedAt: string | null;
|