@company-semantics/contracts 0.125.0 → 0.127.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 +24 -13
- package/src/execution/index.ts +2 -0
- package/src/execution/schemas.ts +7 -0
- package/src/index.ts +12 -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 = '1ea1ca93400b' as const;
|
|
3
|
+
export const SPEC_HASH_FULL = '1ea1ca93400bac2762891fec5ba547b33787da342bf310b9399eab161f969654' as const;
|
package/src/api/generated.ts
CHANGED
|
@@ -1942,18 +1942,29 @@ export interface components {
|
|
|
1942
1942
|
ChatByInteractionResponse: {
|
|
1943
1943
|
chatId: string;
|
|
1944
1944
|
};
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1945
|
+
GetChatResponse: {
|
|
1946
|
+
chat: {
|
|
1947
|
+
id: string;
|
|
1948
|
+
title: string;
|
|
1949
|
+
interactionId: string;
|
|
1950
|
+
pinnedAt?: string | null;
|
|
1951
|
+
titleSource?: ("auto" | "manual") | null;
|
|
1952
|
+
titleGeneratedAt?: string | null;
|
|
1953
|
+
/** Format: date-time */
|
|
1954
|
+
createdAt: string;
|
|
1955
|
+
/** Format: date-time */
|
|
1956
|
+
updatedAt: string;
|
|
1957
|
+
};
|
|
1958
|
+
messages: {
|
|
1959
|
+
id: string;
|
|
1960
|
+
/** @enum {string} */
|
|
1961
|
+
role: "user" | "assistant";
|
|
1962
|
+
content: string;
|
|
1963
|
+
parts?: unknown[];
|
|
1964
|
+
sequenceNumber: number;
|
|
1965
|
+
/** Format: date-time */
|
|
1966
|
+
createdAt: string;
|
|
1967
|
+
}[];
|
|
1957
1968
|
};
|
|
1958
1969
|
SuccessResponse: {
|
|
1959
1970
|
/** @constant */
|
|
@@ -3317,7 +3328,7 @@ export interface operations {
|
|
|
3317
3328
|
[name: string]: unknown;
|
|
3318
3329
|
};
|
|
3319
3330
|
content: {
|
|
3320
|
-
"application/json": components["schemas"]["
|
|
3331
|
+
"application/json": components["schemas"]["GetChatResponse"];
|
|
3321
3332
|
};
|
|
3322
3333
|
};
|
|
3323
3334
|
};
|
package/src/execution/index.ts
CHANGED
|
@@ -157,6 +157,7 @@ export {
|
|
|
157
157
|
ExecutionTimelineResponseSchema,
|
|
158
158
|
ConfirmExecutionResponseSchema,
|
|
159
159
|
RejectExecutionResponseSchema,
|
|
160
|
+
StartExecutionResponseSchema,
|
|
160
161
|
} from './schemas'
|
|
161
162
|
|
|
162
163
|
export type {
|
|
@@ -166,4 +167,5 @@ export type {
|
|
|
166
167
|
ExecutionTimelineResponse,
|
|
167
168
|
ConfirmExecutionResponse,
|
|
168
169
|
RejectExecutionResponse,
|
|
170
|
+
StartExecutionResponse,
|
|
169
171
|
} from './schemas'
|
package/src/execution/schemas.ts
CHANGED
|
@@ -93,3 +93,10 @@ export const RejectExecutionResponseSchema = z.object({
|
|
|
93
93
|
})
|
|
94
94
|
|
|
95
95
|
export type RejectExecutionResponse = z.infer<typeof RejectExecutionResponseSchema>
|
|
96
|
+
|
|
97
|
+
export const StartExecutionResponseSchema = z.object({
|
|
98
|
+
executionId: z.string().uuid(),
|
|
99
|
+
redirectUrl: z.string().optional(),
|
|
100
|
+
})
|
|
101
|
+
|
|
102
|
+
export type StartExecutionResponse = z.infer<typeof StartExecutionResponseSchema>
|
package/src/index.ts
CHANGED
|
@@ -127,12 +127,24 @@ export {
|
|
|
127
127
|
AuthVerifyResponseSchema,
|
|
128
128
|
SsoConfigResponseSchema,
|
|
129
129
|
ProfileResponseSchema,
|
|
130
|
+
AccountSessionListSchema,
|
|
131
|
+
AccountSessionRevokeResponseSchema,
|
|
132
|
+
AccountDeletionEligibilityResponseSchema,
|
|
133
|
+
AccountDeleteResponseSchema,
|
|
134
|
+
AccountConfirmDeletionResponseSchema,
|
|
135
|
+
AccountCancelDeletionResponseSchema,
|
|
130
136
|
} from './identity/index'
|
|
131
137
|
export type {
|
|
132
138
|
MeResponse,
|
|
133
139
|
AuthVerifyResponse,
|
|
134
140
|
SsoConfigResponse,
|
|
135
141
|
ProfileResponse,
|
|
142
|
+
AccountSessionList,
|
|
143
|
+
AccountSessionRevokeResponse,
|
|
144
|
+
AccountDeletionEligibilityResponse,
|
|
145
|
+
AccountDeleteResponse,
|
|
146
|
+
AccountConfirmDeletionResponse,
|
|
147
|
+
AccountCancelDeletionResponse,
|
|
136
148
|
} from './identity/index'
|
|
137
149
|
|
|
138
150
|
// Auth domain types
|