@gravity-rail/sdk 7.0.0 → 8.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/dist/{agent_standing_job-DVHim0Te.d.ts → agent_standing_job-CaD7wjGr.d.cts} +20 -263
- package/dist/{agent_standing_job-8aO5bEFa.d.cts → agent_standing_job-DMLbDOjP.d.ts} +20 -263
- package/dist/{chat-interaction-B_d8hxyU.d.cts → chat-interaction-_mKOHRYc.d.cts} +498 -32
- package/dist/{chat-interaction-D5I0hKyc.d.ts → chat-interaction-exmrd2jl.d.ts} +498 -32
- package/dist/{chunk-T26HRHRS.js → chunk-IIIRXFKG.js} +3 -2
- package/dist/chunk-IIIRXFKG.js.map +1 -0
- package/dist/{chunk-M77YVSBD.js → chunk-MVWCWWRQ.js} +38 -14
- package/dist/chunk-MVWCWWRQ.js.map +1 -0
- package/dist/helpers.d.cts +2 -2
- package/dist/helpers.d.ts +2 -2
- package/dist/index.cjs +40 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -6
- package/dist/index.d.ts +7 -6
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/internal.cjs +62 -14
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +435 -175
- package/dist/internal.d.ts +435 -175
- package/dist/internal.js +24 -2
- package/dist/internal.js.map +1 -1
- package/dist/{member-import-Dy-kcTfi.d.cts → member-import-4VSE3yYo.d.cts} +1 -1
- package/dist/{member-import-BFicp3ce.d.ts → member-import-BQDFoSyf.d.ts} +1 -1
- package/dist/realtime.cjs +6 -0
- package/dist/realtime.cjs.map +1 -1
- package/dist/realtime.js +6 -0
- package/dist/realtime.js.map +1 -1
- package/dist/schemas.cjs +20 -3
- package/dist/schemas.cjs.map +1 -1
- package/dist/schemas.d.cts +23 -17
- package/dist/schemas.d.ts +23 -17
- package/dist/schemas.js +21 -4
- package/dist/schemas.js.map +1 -1
- package/dist/{tasks-DW2dTbAJ.d.ts → tasks-2LhXIwL8.d.ts} +16 -8
- package/dist/{tasks-DHvGDkhw.d.cts → tasks-BTURuIlD.d.cts} +16 -8
- package/package.json +1 -1
- package/dist/chunk-M77YVSBD.js.map +0 -1
- package/dist/chunk-T26HRHRS.js.map +0 -1
|
@@ -307,6 +307,7 @@ interface SiteResponse {
|
|
|
307
307
|
showCookieConsentBanner?: boolean;
|
|
308
308
|
permissions?: number;
|
|
309
309
|
organizationLogoUrl?: string | null;
|
|
310
|
+
organizationName?: string | null;
|
|
310
311
|
primaryLocale?: string;
|
|
311
312
|
availableLocales?: string[];
|
|
312
313
|
pageCount?: number | null;
|
|
@@ -537,6 +538,7 @@ interface UnauthorizedSiteResponse {
|
|
|
537
538
|
showCookieConsentBanner?: boolean;
|
|
538
539
|
permissions?: number;
|
|
539
540
|
organizationLogoUrl?: string | null;
|
|
541
|
+
organizationName?: string | null;
|
|
540
542
|
primaryLocale?: string;
|
|
541
543
|
availableLocales?: string[];
|
|
542
544
|
pageCount?: number | null;
|
|
@@ -3582,6 +3584,7 @@ type QueryRunMode = 'rows' | 'count' | 'aggregate';
|
|
|
3582
3584
|
interface RunQueryRequest {
|
|
3583
3585
|
query: QueryIR;
|
|
3584
3586
|
mode?: QueryRunMode | null;
|
|
3587
|
+
sourceFaxId?: number | null;
|
|
3585
3588
|
}
|
|
3586
3589
|
interface QueryCostInfo {
|
|
3587
3590
|
score: number;
|
|
@@ -3601,6 +3604,11 @@ interface RunQueryResponse {
|
|
|
3601
3604
|
rows?: Record<string, unknown>[] | null;
|
|
3602
3605
|
warnings: string[];
|
|
3603
3606
|
cost?: QueryCostInfo | null;
|
|
3607
|
+
sourceFax?: {
|
|
3608
|
+
id: number;
|
|
3609
|
+
pdfFileId: number | null;
|
|
3610
|
+
receivedAt: string | null;
|
|
3611
|
+
} | null;
|
|
3604
3612
|
}
|
|
3605
3613
|
/** A labeled choice for a field whose raw values are ids/codes. */
|
|
3606
3614
|
interface QueryEnumOption {
|
|
@@ -6595,11 +6603,18 @@ declare const CreateTaskSchema: z.ZodObject<{
|
|
|
6595
6603
|
declare const UpdateTaskSchema: z.ZodObject<{
|
|
6596
6604
|
wid: z.ZodString;
|
|
6597
6605
|
taskId: z.ZodNumber;
|
|
6606
|
+
abilities: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6607
|
+
uuid: z.ZodString;
|
|
6608
|
+
abilityType: z.ZodString;
|
|
6609
|
+
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
6610
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
6611
|
+
celCondition: z.ZodOptional<z.ZodString>;
|
|
6612
|
+
}, z.core.$strip>>>>;
|
|
6598
6613
|
name: z.ZodOptional<z.ZodString>;
|
|
6599
6614
|
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6600
|
-
prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6601
6615
|
taskType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6602
6616
|
configuration: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
6617
|
+
prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6603
6618
|
isAdmin: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
6604
6619
|
childTasks: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6605
6620
|
taskId: z.ZodNumber;
|
|
@@ -6614,13 +6629,6 @@ declare const UpdateTaskSchema: z.ZodObject<{
|
|
|
6614
6629
|
}, z.core.$strip>>>>;
|
|
6615
6630
|
workflowId: z.ZodOptional<z.ZodNumber>;
|
|
6616
6631
|
celGuard: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6617
|
-
abilities: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6618
|
-
uuid: z.ZodString;
|
|
6619
|
-
abilityType: z.ZodString;
|
|
6620
|
-
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
6621
|
-
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
6622
|
-
celCondition: z.ZodOptional<z.ZodString>;
|
|
6623
|
-
}, z.core.$strip>>>>;
|
|
6624
6632
|
configurationPatch: z.ZodOptional<z.ZodObject<{
|
|
6625
6633
|
data: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6626
6634
|
source: z.ZodLiteral<"task">;
|
|
@@ -307,6 +307,7 @@ interface SiteResponse {
|
|
|
307
307
|
showCookieConsentBanner?: boolean;
|
|
308
308
|
permissions?: number;
|
|
309
309
|
organizationLogoUrl?: string | null;
|
|
310
|
+
organizationName?: string | null;
|
|
310
311
|
primaryLocale?: string;
|
|
311
312
|
availableLocales?: string[];
|
|
312
313
|
pageCount?: number | null;
|
|
@@ -537,6 +538,7 @@ interface UnauthorizedSiteResponse {
|
|
|
537
538
|
showCookieConsentBanner?: boolean;
|
|
538
539
|
permissions?: number;
|
|
539
540
|
organizationLogoUrl?: string | null;
|
|
541
|
+
organizationName?: string | null;
|
|
540
542
|
primaryLocale?: string;
|
|
541
543
|
availableLocales?: string[];
|
|
542
544
|
pageCount?: number | null;
|
|
@@ -3582,6 +3584,7 @@ type QueryRunMode = 'rows' | 'count' | 'aggregate';
|
|
|
3582
3584
|
interface RunQueryRequest {
|
|
3583
3585
|
query: QueryIR;
|
|
3584
3586
|
mode?: QueryRunMode | null;
|
|
3587
|
+
sourceFaxId?: number | null;
|
|
3585
3588
|
}
|
|
3586
3589
|
interface QueryCostInfo {
|
|
3587
3590
|
score: number;
|
|
@@ -3601,6 +3604,11 @@ interface RunQueryResponse {
|
|
|
3601
3604
|
rows?: Record<string, unknown>[] | null;
|
|
3602
3605
|
warnings: string[];
|
|
3603
3606
|
cost?: QueryCostInfo | null;
|
|
3607
|
+
sourceFax?: {
|
|
3608
|
+
id: number;
|
|
3609
|
+
pdfFileId: number | null;
|
|
3610
|
+
receivedAt: string | null;
|
|
3611
|
+
} | null;
|
|
3604
3612
|
}
|
|
3605
3613
|
/** A labeled choice for a field whose raw values are ids/codes. */
|
|
3606
3614
|
interface QueryEnumOption {
|
|
@@ -6595,11 +6603,18 @@ declare const CreateTaskSchema: z.ZodObject<{
|
|
|
6595
6603
|
declare const UpdateTaskSchema: z.ZodObject<{
|
|
6596
6604
|
wid: z.ZodString;
|
|
6597
6605
|
taskId: z.ZodNumber;
|
|
6606
|
+
abilities: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6607
|
+
uuid: z.ZodString;
|
|
6608
|
+
abilityType: z.ZodString;
|
|
6609
|
+
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
6610
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
6611
|
+
celCondition: z.ZodOptional<z.ZodString>;
|
|
6612
|
+
}, z.core.$strip>>>>;
|
|
6598
6613
|
name: z.ZodOptional<z.ZodString>;
|
|
6599
6614
|
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6600
|
-
prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6601
6615
|
taskType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6602
6616
|
configuration: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
6617
|
+
prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6603
6618
|
isAdmin: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
6604
6619
|
childTasks: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6605
6620
|
taskId: z.ZodNumber;
|
|
@@ -6614,13 +6629,6 @@ declare const UpdateTaskSchema: z.ZodObject<{
|
|
|
6614
6629
|
}, z.core.$strip>>>>;
|
|
6615
6630
|
workflowId: z.ZodOptional<z.ZodNumber>;
|
|
6616
6631
|
celGuard: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6617
|
-
abilities: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6618
|
-
uuid: z.ZodString;
|
|
6619
|
-
abilityType: z.ZodString;
|
|
6620
|
-
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
6621
|
-
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
6622
|
-
celCondition: z.ZodOptional<z.ZodString>;
|
|
6623
|
-
}, z.core.$strip>>>>;
|
|
6624
6632
|
configurationPatch: z.ZodOptional<z.ZodObject<{
|
|
6625
6633
|
data: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6626
6634
|
source: z.ZodLiteral<"task">;
|