@company-semantics/contracts 0.125.0 → 0.126.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,6 +1,6 @@
1
1
  {
2
2
  "name": "@company-semantics/contracts",
3
- "version": "0.125.0",
3
+ "version": "0.126.0",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,3 +1,3 @@
1
1
  // AUTO-GENERATED — do not edit. Run pnpm generate:spec-hash to regenerate.
2
- export const SPEC_HASH = '2e8ec96c0086' as const;
3
- export const SPEC_HASH_FULL = '2e8ec96c0086f8c9f4cb7f52e25626092974e81f4f88a08af3500da6be5a7047' as const;
2
+ export const SPEC_HASH = '1ea1ca93400b' as const;
3
+ export const SPEC_HASH_FULL = '1ea1ca93400bac2762891fec5ba547b33787da342bf310b9399eab161f969654' as const;
@@ -1942,18 +1942,29 @@ export interface components {
1942
1942
  ChatByInteractionResponse: {
1943
1943
  chatId: string;
1944
1944
  };
1945
- ChatWithMessages: {
1946
- id: string;
1947
- title: string | null;
1948
- messageCount: number;
1949
- /** Format: date-time */
1950
- createdAt: string;
1951
- /** Format: date-time */
1952
- updatedAt: string;
1953
- isShared: boolean;
1954
- pinnedAt: string | null;
1955
- titleSource: ("auto" | "manual") | null;
1956
- titleGeneratedAt: string | null;
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"]["ChatWithMessages"];
3331
+ "application/json": components["schemas"]["GetChatResponse"];
3321
3332
  };
3322
3333
  };
3323
3334
  };
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