@avallon-labs/sdk 35.1.0 → 35.2.0-staging.878
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/dist/index.d.ts +11 -8
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -104,6 +104,7 @@ type AddCaseLinksBodyEntitiesItemEntityType = (typeof AddCaseLinksBodyEntitiesIt
|
|
|
104
104
|
declare const AddCaseLinksBodyEntitiesItemEntityType: {
|
|
105
105
|
readonly artifact: "artifact";
|
|
106
106
|
readonly call: "call";
|
|
107
|
+
readonly chat: "chat";
|
|
107
108
|
readonly email: "email";
|
|
108
109
|
readonly extract: "extract";
|
|
109
110
|
readonly worker_run: "worker_run";
|
|
@@ -146,6 +147,7 @@ type CaseLinkEntityType = (typeof CaseLinkEntityType)[keyof typeof CaseLinkEntit
|
|
|
146
147
|
declare const CaseLinkEntityType: {
|
|
147
148
|
readonly artifact: "artifact";
|
|
148
149
|
readonly call: "call";
|
|
150
|
+
readonly chat: "chat";
|
|
149
151
|
readonly email: "email";
|
|
150
152
|
readonly extract: "extract";
|
|
151
153
|
readonly worker_run: "worker_run";
|
|
@@ -3540,6 +3542,7 @@ type ListCaseLinksEntityType = (typeof ListCaseLinksEntityType)[keyof typeof Lis
|
|
|
3540
3542
|
declare const ListCaseLinksEntityType: {
|
|
3541
3543
|
readonly artifact: "artifact";
|
|
3542
3544
|
readonly call: "call";
|
|
3545
|
+
readonly chat: "chat";
|
|
3543
3546
|
readonly email: "email";
|
|
3544
3547
|
readonly extract: "extract";
|
|
3545
3548
|
readonly worker_run: "worker_run";
|
|
@@ -7237,7 +7240,7 @@ declare const useGetCase: <TError = ErrorType<ErrorResponse>>(id: string, option
|
|
|
7237
7240
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
|
|
7238
7241
|
};
|
|
7239
7242
|
/**
|
|
7240
|
-
* Link one or more entities (artifacts, calls, emails, extracts, worker runs) to a case.
|
|
7243
|
+
* Link one or more entities (artifacts, calls, chats, emails, extracts, worker runs) to a case.
|
|
7241
7244
|
|
|
7242
7245
|
The case and every entity must already exist in the tenant — unknown ids return 404 and nothing is created. Adding is idempotent: re-linking an already linked entity returns the existing link with its original `created_at`.
|
|
7243
7246
|
* @summary Add case links
|
|
@@ -7294,28 +7297,28 @@ declare const useListCaseLinks: <TError = ErrorType<ErrorResponse>>(id: string,
|
|
|
7294
7297
|
* Remove the link between a case and an entity. Removal is idempotent: removing a link that does not exist succeeds without effect.
|
|
7295
7298
|
* @summary Remove case link
|
|
7296
7299
|
*/
|
|
7297
|
-
declare const getRemoveCaseLinkUrl: (id: string, entityType: "artifact" | "call" | "email" | "extract" | "worker_run", entityId: string) => string;
|
|
7298
|
-
declare const removeCaseLink: (id: string, entityType: "artifact" | "call" | "email" | "extract" | "worker_run", entityId: string, options?: RequestInit) => Promise<RemoveCaseLinkResponse>;
|
|
7299
|
-
declare const getRemoveCaseLinkMutationFetcher: (id: string, entityType: "artifact" | "call" | "email" | "extract" | "worker_run", entityId: string, options?: SecondParameter$h<typeof customFetch>) => (_: Key, __: {
|
|
7300
|
+
declare const getRemoveCaseLinkUrl: (id: string, entityType: "artifact" | "call" | "chat" | "email" | "extract" | "worker_run", entityId: string) => string;
|
|
7301
|
+
declare const removeCaseLink: (id: string, entityType: "artifact" | "call" | "chat" | "email" | "extract" | "worker_run", entityId: string, options?: RequestInit) => Promise<RemoveCaseLinkResponse>;
|
|
7302
|
+
declare const getRemoveCaseLinkMutationFetcher: (id: string, entityType: "artifact" | "call" | "chat" | "email" | "extract" | "worker_run", entityId: string, options?: SecondParameter$h<typeof customFetch>) => (_: Key, __: {
|
|
7300
7303
|
arg: Arguments;
|
|
7301
7304
|
}) => Promise<RemoveCaseLinkResponse>;
|
|
7302
|
-
declare const getRemoveCaseLinkMutationKey: (id: string, entityType: "artifact" | "call" | "email" | "extract" | "worker_run", entityId: string) => readonly [`/v1/cases/${string}/links/artifact/${string}` | `/v1/cases/${string}/links/call/${string}` | `/v1/cases/${string}/links/email/${string}` | `/v1/cases/${string}/links/extract/${string}` | `/v1/cases/${string}/links/worker_run/${string}`];
|
|
7305
|
+
declare const getRemoveCaseLinkMutationKey: (id: string, entityType: "artifact" | "call" | "chat" | "email" | "extract" | "worker_run", entityId: string) => readonly [`/v1/cases/${string}/links/artifact/${string}` | `/v1/cases/${string}/links/call/${string}` | `/v1/cases/${string}/links/chat/${string}` | `/v1/cases/${string}/links/email/${string}` | `/v1/cases/${string}/links/extract/${string}` | `/v1/cases/${string}/links/worker_run/${string}`];
|
|
7303
7306
|
type RemoveCaseLinkMutationResult = NonNullable<Awaited$h<ReturnType<typeof removeCaseLink>>>;
|
|
7304
7307
|
/**
|
|
7305
7308
|
* @summary Remove case link
|
|
7306
7309
|
*/
|
|
7307
|
-
declare const useRemoveCaseLink: <TError = ErrorType<ErrorResponse>>(id: string, entityType: "artifact" | "call" | "email" | "extract" | "worker_run", entityId: string, options?: {
|
|
7310
|
+
declare const useRemoveCaseLink: <TError = ErrorType<ErrorResponse>>(id: string, entityType: "artifact" | "call" | "chat" | "email" | "extract" | "worker_run", entityId: string, options?: {
|
|
7308
7311
|
swr?: SWRMutationConfiguration<Awaited$h<ReturnType<typeof removeCaseLink>>, TError, Key, Arguments, Awaited$h<ReturnType<typeof removeCaseLink>>> & {
|
|
7309
7312
|
swrKey?: string;
|
|
7310
7313
|
};
|
|
7311
7314
|
request?: SecondParameter$h<typeof customFetch>;
|
|
7312
7315
|
}) => {
|
|
7313
7316
|
isMutating: boolean;
|
|
7314
|
-
trigger: swr_mutation.TriggerWithOptionsArgs<RemoveCaseLinkResponse, TError, string | readonly [`/v1/cases/${string}/links/artifact/${string}` | `/v1/cases/${string}/links/call/${string}` | `/v1/cases/${string}/links/email/${string}` | `/v1/cases/${string}/links/extract/${string}` | `/v1/cases/${string}/links/worker_run/${string}`], Arguments>;
|
|
7317
|
+
trigger: swr_mutation.TriggerWithOptionsArgs<RemoveCaseLinkResponse, TError, string | readonly [`/v1/cases/${string}/links/artifact/${string}` | `/v1/cases/${string}/links/call/${string}` | `/v1/cases/${string}/links/chat/${string}` | `/v1/cases/${string}/links/email/${string}` | `/v1/cases/${string}/links/extract/${string}` | `/v1/cases/${string}/links/worker_run/${string}`], Arguments>;
|
|
7315
7318
|
reset: () => void;
|
|
7316
7319
|
data: RemoveCaseLinkResponse | undefined;
|
|
7317
7320
|
error: TError | undefined;
|
|
7318
|
-
swrKey: string | readonly [`/v1/cases/${string}/links/artifact/${string}` | `/v1/cases/${string}/links/call/${string}` | `/v1/cases/${string}/links/email/${string}` | `/v1/cases/${string}/links/extract/${string}` | `/v1/cases/${string}/links/worker_run/${string}`];
|
|
7321
|
+
swrKey: string | readonly [`/v1/cases/${string}/links/artifact/${string}` | `/v1/cases/${string}/links/call/${string}` | `/v1/cases/${string}/links/chat/${string}` | `/v1/cases/${string}/links/email/${string}` | `/v1/cases/${string}/links/extract/${string}` | `/v1/cases/${string}/links/worker_run/${string}`];
|
|
7319
7322
|
};
|
|
7320
7323
|
|
|
7321
7324
|
type AwaitedInput$g<T> = PromiseLike<T> | T;
|
package/dist/index.js
CHANGED
|
@@ -4100,6 +4100,7 @@ var useUpdateWorkerMcps = (workerId, options) => {
|
|
|
4100
4100
|
var AddCaseLinksBodyEntitiesItemEntityType = {
|
|
4101
4101
|
artifact: "artifact",
|
|
4102
4102
|
call: "call",
|
|
4103
|
+
chat: "chat",
|
|
4103
4104
|
email: "email",
|
|
4104
4105
|
extract: "extract",
|
|
4105
4106
|
worker_run: "worker_run"
|
|
@@ -4149,6 +4150,7 @@ var CallDirection = {
|
|
|
4149
4150
|
var CaseLinkEntityType = {
|
|
4150
4151
|
artifact: "artifact",
|
|
4151
4152
|
call: "call",
|
|
4153
|
+
chat: "chat",
|
|
4152
4154
|
email: "email",
|
|
4153
4155
|
extract: "extract",
|
|
4154
4156
|
worker_run: "worker_run"
|
|
@@ -4378,6 +4380,7 @@ var ListCallsStatus = {
|
|
|
4378
4380
|
var ListCaseLinksEntityType = {
|
|
4379
4381
|
artifact: "artifact",
|
|
4380
4382
|
call: "call",
|
|
4383
|
+
chat: "chat",
|
|
4381
4384
|
email: "email",
|
|
4382
4385
|
extract: "extract",
|
|
4383
4386
|
worker_run: "worker_run"
|