@superoffice/webapi 11.8.788 → 11.10.721
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/cjs/AIAgent.d.ts +94 -0
- package/dist/cjs/AIAgent.d.ts.map +1 -1
- package/dist/cjs/AIAgent.js +218 -0
- package/dist/cjs/AIAgent.js.map +1 -1
- package/dist/cjs/Carriers.d.ts +337 -18
- package/dist/cjs/Carriers.d.ts.map +1 -1
- package/dist/cjs/Converters.d.ts +15 -0
- package/dist/cjs/Converters.d.ts.map +1 -1
- package/dist/cjs/Converters.js +250 -24
- package/dist/cjs/Converters.js.map +1 -1
- package/dist/cjs/Enums.d.ts +113 -17
- package/dist/cjs/Enums.d.ts.map +1 -1
- package/dist/cjs/Enums.js +120 -21
- package/dist/cjs/Enums.js.map +1 -1
- package/dist/cjs/MarketingAgent.d.ts +68 -0
- package/dist/cjs/MarketingAgent.d.ts.map +1 -1
- package/dist/cjs/MarketingAgent.js +157 -0
- package/dist/cjs/MarketingAgent.js.map +1 -1
- package/dist/cjs/TicketAgent.d.ts +8 -0
- package/dist/cjs/TicketAgent.d.ts.map +1 -1
- package/dist/cjs/TicketAgent.js +22 -0
- package/dist/cjs/TicketAgent.js.map +1 -1
- package/dist/esm/AIAgent.d.ts +94 -0
- package/dist/esm/AIAgent.d.ts.map +1 -1
- package/dist/esm/AIAgent.js +219 -1
- package/dist/esm/AIAgent.js.map +1 -1
- package/dist/esm/Carriers.d.ts +337 -18
- package/dist/esm/Carriers.d.ts.map +1 -1
- package/dist/esm/Converters.d.ts +15 -0
- package/dist/esm/Converters.d.ts.map +1 -1
- package/dist/esm/Converters.js +228 -18
- package/dist/esm/Converters.js.map +1 -1
- package/dist/esm/Enums.d.ts +113 -17
- package/dist/esm/Enums.d.ts.map +1 -1
- package/dist/esm/Enums.js +116 -17
- package/dist/esm/Enums.js.map +1 -1
- package/dist/esm/MarketingAgent.d.ts +68 -0
- package/dist/esm/MarketingAgent.d.ts.map +1 -1
- package/dist/esm/MarketingAgent.js +157 -0
- package/dist/esm/MarketingAgent.js.map +1 -1
- package/dist/esm/TicketAgent.d.ts +8 -0
- package/dist/esm/TicketAgent.d.ts.map +1 -1
- package/dist/esm/TicketAgent.js +22 -0
- package/dist/esm/TicketAgent.js.map +1 -1
- package/package.json +3 -3
- package/src/AIAgent.ts +364 -0
- package/src/Carriers.ts +460 -20
- package/src/Converters.ts +271 -22
- package/src/Enums.ts +120 -18
- package/src/MarketingAgent.ts +256 -0
- package/src/TicketAgent.ts +24 -0
package/dist/cjs/Carriers.d.ts
CHANGED
|
@@ -5845,6 +5845,10 @@ export interface PersonEntity extends Carrier {
|
|
|
5845
5845
|
* Refinement of categories of lead type. Empty if the category is not a lead type.
|
|
5846
5846
|
*/
|
|
5847
5847
|
leadstatusId?: number;
|
|
5848
|
+
/**
|
|
5849
|
+
* Name of leadstatus
|
|
5850
|
+
*/
|
|
5851
|
+
leadstatus?: string;
|
|
5848
5852
|
/**
|
|
5849
5853
|
* Dictionary of user defined field data.
|
|
5850
5854
|
* The key string is the ProgId of the UdefField, or if the ProgId is empty it is a string of the format "SuperOffice:[UdefFieldIdentity]", e.g. "SuperOffice:1234"
|
|
@@ -7983,6 +7987,14 @@ export interface Project extends Carrier {
|
|
|
7983
7987
|
* The number of active erp links
|
|
7984
7988
|
*/
|
|
7985
7989
|
activeErpLinks?: number;
|
|
7990
|
+
/**
|
|
7991
|
+
* Reserved field for Lyyti event when project is linked to an event.
|
|
7992
|
+
*/
|
|
7993
|
+
eventId?: number;
|
|
7994
|
+
/**
|
|
7995
|
+
* Reserved field for Lyyti event when project is linked to an event, is the event start date.
|
|
7996
|
+
*/
|
|
7997
|
+
startDate?: Date;
|
|
7986
7998
|
}
|
|
7987
7999
|
/**
|
|
7988
8000
|
* The Project Service. The service implements all services working with the Project object
|
|
@@ -8087,6 +8099,14 @@ export interface ProjectEntity extends Carrier {
|
|
|
8087
8099
|
* The number of active erp links
|
|
8088
8100
|
*/
|
|
8089
8101
|
activeErpLinks?: number;
|
|
8102
|
+
/**
|
|
8103
|
+
* Reserved field for Lyyti event when project is linked to an event.
|
|
8104
|
+
*/
|
|
8105
|
+
eventId?: number;
|
|
8106
|
+
/**
|
|
8107
|
+
* Reserved field for Lyyti event when project is linked to an event, is the event start date.
|
|
8108
|
+
*/
|
|
8109
|
+
startDate?: Date;
|
|
8090
8110
|
/**
|
|
8091
8111
|
* Dictionary of user defined field data.
|
|
8092
8112
|
* The key string is the ProgId of the UdefField, or if the ProgId is empty it is a string of the format "SuperOffice:[UdefFieldIdentity]", e.g. "SuperOffice:1234"
|
|
@@ -8750,6 +8770,10 @@ export interface ProjectMember extends Carrier {
|
|
|
8750
8770
|
* The date and time when the project member was last updated
|
|
8751
8771
|
*/
|
|
8752
8772
|
updated?: Date;
|
|
8773
|
+
/**
|
|
8774
|
+
* Reserved field for Lyyti event participants.
|
|
8775
|
+
*/
|
|
8776
|
+
eventParticipantStatus?: enums.ProjectMemberEventParticipantStatus;
|
|
8753
8777
|
}
|
|
8754
8778
|
/**
|
|
8755
8779
|
* Update existing project members. Not creating new (only projectmember_id > 0 accepted)
|
|
@@ -11556,6 +11580,14 @@ export interface ParticipantInfo {
|
|
|
11556
11580
|
* Description added for the email address participant, added to the email-table's description field if present.
|
|
11557
11581
|
*/
|
|
11558
11582
|
description?: string;
|
|
11583
|
+
/**
|
|
11584
|
+
* The type of participant if the appointment is externally owned.
|
|
11585
|
+
*/
|
|
11586
|
+
externallyOwnedType?: enums.ExternallyOwnedType;
|
|
11587
|
+
/**
|
|
11588
|
+
* The status of the externally owned participant.
|
|
11589
|
+
*/
|
|
11590
|
+
externallyOwnedStatus?: enums.ExternallyOwnedStatus;
|
|
11559
11591
|
}
|
|
11560
11592
|
/**
|
|
11561
11593
|
*
|
|
@@ -14729,7 +14761,7 @@ export interface AmountClassEntity extends Carrier {
|
|
|
14729
14761
|
currencyId?: number;
|
|
14730
14762
|
}
|
|
14731
14763
|
/**
|
|
14732
|
-
*
|
|
14764
|
+
* Carrier for an automated category update setting.
|
|
14733
14765
|
*/
|
|
14734
14766
|
export interface AutomatedCategoryUpdate extends Carrier {
|
|
14735
14767
|
/**
|
|
@@ -14862,17 +14894,33 @@ export interface List_GetBusinessesRequest {
|
|
|
14862
14894
|
*/
|
|
14863
14895
|
export interface Category extends Carrier {
|
|
14864
14896
|
/**
|
|
14865
|
-
* The
|
|
14897
|
+
* The category identifier
|
|
14866
14898
|
*/
|
|
14867
|
-
id
|
|
14899
|
+
id?: number;
|
|
14868
14900
|
/**
|
|
14869
|
-
* The
|
|
14901
|
+
* The category name
|
|
14870
14902
|
*/
|
|
14871
14903
|
value?: string;
|
|
14872
14904
|
/**
|
|
14873
|
-
* The
|
|
14905
|
+
* The category description
|
|
14874
14906
|
*/
|
|
14875
14907
|
tooltip?: string;
|
|
14908
|
+
/**
|
|
14909
|
+
* Enum of the group this category belongs to, static list of 5 groups
|
|
14910
|
+
*/
|
|
14911
|
+
categoryGroup?: enums.CategoryGroup;
|
|
14912
|
+
/**
|
|
14913
|
+
* True if the category should enable lead status
|
|
14914
|
+
*/
|
|
14915
|
+
enableLeadStatus?: boolean;
|
|
14916
|
+
/**
|
|
14917
|
+
* The rank of the category
|
|
14918
|
+
*/
|
|
14919
|
+
rank?: number;
|
|
14920
|
+
/**
|
|
14921
|
+
* True if the category is deleted
|
|
14922
|
+
*/
|
|
14923
|
+
deleted?: boolean;
|
|
14876
14924
|
}
|
|
14877
14925
|
/**
|
|
14878
14926
|
*
|
|
@@ -14899,7 +14947,7 @@ export interface CategoryEntity extends Carrier {
|
|
|
14899
14947
|
*/
|
|
14900
14948
|
rank?: number;
|
|
14901
14949
|
/**
|
|
14902
|
-
* True if the category should enable lead
|
|
14950
|
+
* True if the category should enable lead status
|
|
14903
14951
|
*/
|
|
14904
14952
|
enableLeadStatus?: boolean;
|
|
14905
14953
|
/**
|
|
@@ -14907,7 +14955,7 @@ export interface CategoryEntity extends Carrier {
|
|
|
14907
14955
|
*/
|
|
14908
14956
|
categoryFamilyId?: number;
|
|
14909
14957
|
/**
|
|
14910
|
-
* true if the
|
|
14958
|
+
* true if the category is deleted
|
|
14911
14959
|
*/
|
|
14912
14960
|
deleted?: boolean;
|
|
14913
14961
|
}
|
|
@@ -18733,6 +18781,10 @@ export interface WebPanelEntity extends Carrier {
|
|
|
18733
18781
|
* If set to true, the content will not reload on current changes, only applies to sidepanels
|
|
18734
18782
|
*/
|
|
18735
18783
|
neverReloadOnCurrentChange?: boolean;
|
|
18784
|
+
/**
|
|
18785
|
+
* The name of the custom object when VisibleIn is set to custom object
|
|
18786
|
+
*/
|
|
18787
|
+
customObjectEntity?: string;
|
|
18736
18788
|
}
|
|
18737
18789
|
/**
|
|
18738
18790
|
* This methods generates the navigation URL to be used to navigate to the panel
|
|
@@ -20567,14 +20619,6 @@ export interface Associate_LogOffWindowsUsersRequest {
|
|
|
20567
20619
|
*
|
|
20568
20620
|
*/
|
|
20569
20621
|
export interface AnalyticsData {
|
|
20570
|
-
/**
|
|
20571
|
-
* Amplitude API key for analytics integration
|
|
20572
|
-
*/
|
|
20573
|
-
amplitudeApiKey?: string;
|
|
20574
|
-
/**
|
|
20575
|
-
* Userflow authentication token
|
|
20576
|
-
*/
|
|
20577
|
-
userflowToken?: string;
|
|
20578
20622
|
/**
|
|
20579
20623
|
* User full name. Only included in Sod
|
|
20580
20624
|
*/
|
|
@@ -33437,6 +33481,85 @@ export interface OperationInfo extends Carrier {
|
|
|
33437
33481
|
*/
|
|
33438
33482
|
encodedLeadTexts?: string[];
|
|
33439
33483
|
}
|
|
33484
|
+
/**
|
|
33485
|
+
* Carrier for a font that is available for external use.
|
|
33486
|
+
*/
|
|
33487
|
+
export interface AvailableFont extends Carrier {
|
|
33488
|
+
/**
|
|
33489
|
+
* Primary key
|
|
33490
|
+
*/
|
|
33491
|
+
availableFontsId?: number;
|
|
33492
|
+
/**
|
|
33493
|
+
* The display name of the font
|
|
33494
|
+
*/
|
|
33495
|
+
displayName?: string;
|
|
33496
|
+
/**
|
|
33497
|
+
* The font family name
|
|
33498
|
+
*/
|
|
33499
|
+
fontFamily?: string;
|
|
33500
|
+
/**
|
|
33501
|
+
* The path to the CSS for the font
|
|
33502
|
+
*/
|
|
33503
|
+
cssPath?: string;
|
|
33504
|
+
/**
|
|
33505
|
+
* The rank of the font in the list
|
|
33506
|
+
*/
|
|
33507
|
+
rank?: number;
|
|
33508
|
+
/**
|
|
33509
|
+
* True if font is deleted from available fonts
|
|
33510
|
+
*/
|
|
33511
|
+
deleted?: boolean;
|
|
33512
|
+
}
|
|
33513
|
+
/**
|
|
33514
|
+
* Create an return an empty font
|
|
33515
|
+
* Returns AvailableFont
|
|
33516
|
+
*/
|
|
33517
|
+
export interface Marketing_CreateDefaultAvailableFontRequest {
|
|
33518
|
+
}
|
|
33519
|
+
/**
|
|
33520
|
+
* Saves the font and returns it with correct rank
|
|
33521
|
+
* Returns AvailableFont
|
|
33522
|
+
*/
|
|
33523
|
+
export interface Marketing_SaveAvailableFontRequest {
|
|
33524
|
+
/**
|
|
33525
|
+
* The font to save
|
|
33526
|
+
*/
|
|
33527
|
+
font: AvailableFont;
|
|
33528
|
+
}
|
|
33529
|
+
/**
|
|
33530
|
+
* Delete the font with the provided id
|
|
33531
|
+
* Returns boolean
|
|
33532
|
+
*/
|
|
33533
|
+
export interface Marketing_DeleteAvailableFontRequest {
|
|
33534
|
+
/**
|
|
33535
|
+
* The id of the font to delete
|
|
33536
|
+
*/
|
|
33537
|
+
availableFontId: number;
|
|
33538
|
+
}
|
|
33539
|
+
/**
|
|
33540
|
+
* Get an available font by id
|
|
33541
|
+
* Returns AvailableFont
|
|
33542
|
+
*/
|
|
33543
|
+
export interface Marketing_GetAvailableFontRequest {
|
|
33544
|
+
/**
|
|
33545
|
+
* The id of the font to retrieve
|
|
33546
|
+
*/
|
|
33547
|
+
availableFontId: number;
|
|
33548
|
+
}
|
|
33549
|
+
/**
|
|
33550
|
+
* Set the rank on the font and reorder the rest of the fonts accordingly
|
|
33551
|
+
* Returns boolean
|
|
33552
|
+
*/
|
|
33553
|
+
export interface Marketing_SetFontRankRequest {
|
|
33554
|
+
/**
|
|
33555
|
+
* The id of the available font to set the rank on
|
|
33556
|
+
*/
|
|
33557
|
+
availableFontId: number;
|
|
33558
|
+
/**
|
|
33559
|
+
* The new rank to set on the font
|
|
33560
|
+
*/
|
|
33561
|
+
rank: number;
|
|
33562
|
+
}
|
|
33440
33563
|
/**
|
|
33441
33564
|
* Definition and configuration of a Form
|
|
33442
33565
|
*/
|
|
@@ -37573,7 +37696,7 @@ export interface AI_ClearChatbotTurnsRequest {
|
|
|
37573
37696
|
chatId: string;
|
|
37574
37697
|
}
|
|
37575
37698
|
/**
|
|
37576
|
-
*
|
|
37699
|
+
* Copilot data source - contains a list of settings for this source
|
|
37577
37700
|
*/
|
|
37578
37701
|
export interface CopilotDataSourceEntity extends Carrier {
|
|
37579
37702
|
/**
|
|
@@ -37597,12 +37720,12 @@ export interface CopilotDataSourceEntity extends Carrier {
|
|
|
37597
37720
|
*/
|
|
37598
37721
|
name?: string;
|
|
37599
37722
|
/**
|
|
37600
|
-
* Collection of data source settings
|
|
37723
|
+
* Collection of data source settings - each setting has key + value
|
|
37601
37724
|
*/
|
|
37602
37725
|
settings?: CopilotDataSourceSetting[];
|
|
37603
37726
|
}
|
|
37604
37727
|
/**
|
|
37605
|
-
* Setting for Copilot data source
|
|
37728
|
+
* Setting for a Copilot data source (key + value)
|
|
37606
37729
|
*/
|
|
37607
37730
|
export interface CopilotDataSourceSetting extends Carrier {
|
|
37608
37731
|
/**
|
|
@@ -37643,6 +37766,18 @@ export interface CopilotEntity extends Carrier {
|
|
|
37643
37766
|
* Forms Design analysis results.
|
|
37644
37767
|
*/
|
|
37645
37768
|
export interface FormDesignCarrier {
|
|
37769
|
+
/**
|
|
37770
|
+
* Generated CSS styles based on the analyzed design.
|
|
37771
|
+
*/
|
|
37772
|
+
cssStyles?: string;
|
|
37773
|
+
/**
|
|
37774
|
+
* Confidence score (0-1) of the design analysis.
|
|
37775
|
+
*/
|
|
37776
|
+
confidence?: number;
|
|
37777
|
+
/**
|
|
37778
|
+
* Comments on the analysis
|
|
37779
|
+
*/
|
|
37780
|
+
notes?: string;
|
|
37646
37781
|
}
|
|
37647
37782
|
/**
|
|
37648
37783
|
* Returns Form Designer properties based on the look of a picture
|
|
@@ -37664,6 +37799,34 @@ export interface AI_GetFormDesignFromUrlRequest {
|
|
|
37664
37799
|
*/
|
|
37665
37800
|
url: string;
|
|
37666
37801
|
}
|
|
37802
|
+
/**
|
|
37803
|
+
* Returns Form Designer CSS based on the look of a picture
|
|
37804
|
+
* Returns FormDesignCarrier
|
|
37805
|
+
*/
|
|
37806
|
+
export interface AI_GetFormDesignCssFromImageRequest {
|
|
37807
|
+
/**
|
|
37808
|
+
* Image data to analyze for design
|
|
37809
|
+
*/
|
|
37810
|
+
image: ArrayBuffer | string;
|
|
37811
|
+
/**
|
|
37812
|
+
* List of CSS classes to generate styles for.
|
|
37813
|
+
*/
|
|
37814
|
+
cssClasses: string[];
|
|
37815
|
+
}
|
|
37816
|
+
/**
|
|
37817
|
+
* Returns Form Designer properties based on the look of a web page
|
|
37818
|
+
* Returns FormDesignCarrier
|
|
37819
|
+
*/
|
|
37820
|
+
export interface AI_GetFormDesignCssFromUrlRequest {
|
|
37821
|
+
/**
|
|
37822
|
+
* Url of the web page to extract style from.
|
|
37823
|
+
*/
|
|
37824
|
+
url: string;
|
|
37825
|
+
/**
|
|
37826
|
+
* List of CSS classes to generate styles for.
|
|
37827
|
+
*/
|
|
37828
|
+
cssClasses: string[];
|
|
37829
|
+
}
|
|
37667
37830
|
/**
|
|
37668
37831
|
* Sentiment information: Score (-100 to 100) and Confidence (0 to 100)
|
|
37669
37832
|
*/
|
|
@@ -37729,6 +37892,68 @@ export interface AI_TranslateEntityRequest {
|
|
|
37729
37892
|
*/
|
|
37730
37893
|
targetLanguage: string;
|
|
37731
37894
|
}
|
|
37895
|
+
/**
|
|
37896
|
+
* Natural language search results.
|
|
37897
|
+
*/
|
|
37898
|
+
export interface NaturalLanguageSearch {
|
|
37899
|
+
/**
|
|
37900
|
+
* User's query.
|
|
37901
|
+
*/
|
|
37902
|
+
query?: string;
|
|
37903
|
+
/**
|
|
37904
|
+
* Markdown response from the AI.
|
|
37905
|
+
*/
|
|
37906
|
+
responseMarkdown?: string;
|
|
37907
|
+
/**
|
|
37908
|
+
* Type of entity we are searching. e.g. 'contact', 'project' etc.
|
|
37909
|
+
*/
|
|
37910
|
+
entity?: string;
|
|
37911
|
+
/**
|
|
37912
|
+
* Search criteria in ODATA format
|
|
37913
|
+
*/
|
|
37914
|
+
oDataQuery?: string;
|
|
37915
|
+
/**
|
|
37916
|
+
* Archive restrictions for the search query.
|
|
37917
|
+
*/
|
|
37918
|
+
restrictions?: ArchiveRestrictionInfo[];
|
|
37919
|
+
/**
|
|
37920
|
+
* AI internal context - opaque to callers.
|
|
37921
|
+
*/
|
|
37922
|
+
internalContext?: string;
|
|
37923
|
+
}
|
|
37924
|
+
/**
|
|
37925
|
+
* Return archive restrictions based on a natural language query.
|
|
37926
|
+
* Returns NaturalLanguageSearch
|
|
37927
|
+
*/
|
|
37928
|
+
export interface AI_ParseQueryIntoRestrictionsRequest {
|
|
37929
|
+
/**
|
|
37930
|
+
* What the user asked for.
|
|
37931
|
+
*/
|
|
37932
|
+
query: string;
|
|
37933
|
+
/**
|
|
37934
|
+
* Current context prompt. e.g. Current company name and id, what selection are we looking at?
|
|
37935
|
+
*/
|
|
37936
|
+
currents: string;
|
|
37937
|
+
/**
|
|
37938
|
+
* Previous query, if applicable. NULL if no previous query.
|
|
37939
|
+
*/
|
|
37940
|
+
previousQuery: NaturalLanguageSearch;
|
|
37941
|
+
}
|
|
37942
|
+
/**
|
|
37943
|
+
* Photo background remover results.
|
|
37944
|
+
*/
|
|
37945
|
+
export interface CreatePhotoBackground {
|
|
37946
|
+
}
|
|
37947
|
+
/**
|
|
37948
|
+
* Returns an image with the background removed, leaving only the main subject
|
|
37949
|
+
* Returns Blob
|
|
37950
|
+
*/
|
|
37951
|
+
export interface AI_RemovePhotoBackgroundRequest {
|
|
37952
|
+
/**
|
|
37953
|
+
* Image to be cleaned. JPG or PNG.
|
|
37954
|
+
*/
|
|
37955
|
+
image: ArrayBuffer | string;
|
|
37956
|
+
}
|
|
37732
37957
|
/**
|
|
37733
37958
|
* Contains the answer to an AI search, with sources used.
|
|
37734
37959
|
*/
|
|
@@ -37855,6 +38080,100 @@ export interface AI_StartRagIndexingRequest {
|
|
|
37855
38080
|
*/
|
|
37856
38081
|
sourceId: string;
|
|
37857
38082
|
}
|
|
38083
|
+
/**
|
|
38084
|
+
* RAG namespace status. How is the indexing going?
|
|
38085
|
+
*/
|
|
38086
|
+
export interface RagStatus {
|
|
38087
|
+
/**
|
|
38088
|
+
* UTC timestamp - when content indexeing started.
|
|
38089
|
+
*/
|
|
38090
|
+
startedAt?: Date;
|
|
38091
|
+
/**
|
|
38092
|
+
* UTC timestamp - when content indexing finished.
|
|
38093
|
+
*/
|
|
38094
|
+
completedAt?: Date;
|
|
38095
|
+
/**
|
|
38096
|
+
* Namespace the status belongs to.
|
|
38097
|
+
*/
|
|
38098
|
+
namespaceName?: string;
|
|
38099
|
+
/**
|
|
38100
|
+
* Unique identifier for current indexing job.
|
|
38101
|
+
*/
|
|
38102
|
+
currentRunTag?: string;
|
|
38103
|
+
/**
|
|
38104
|
+
* Is the indexing run finished?
|
|
38105
|
+
*/
|
|
38106
|
+
isCompleted?: boolean;
|
|
38107
|
+
/**
|
|
38108
|
+
* Was the indexing cancelled before completion?
|
|
38109
|
+
*/
|
|
38110
|
+
isCancelled?: boolean;
|
|
38111
|
+
/**
|
|
38112
|
+
* UTC timestamp - when last content was added/updated to index.
|
|
38113
|
+
*/
|
|
38114
|
+
lastIndexed?: Date;
|
|
38115
|
+
/**
|
|
38116
|
+
* How many documents/chunks are in the index - sum of all the other types
|
|
38117
|
+
*/
|
|
38118
|
+
statusAll?: RagStatusChunks;
|
|
38119
|
+
/**
|
|
38120
|
+
* How many documents/chunks of type Document are in the index
|
|
38121
|
+
*/
|
|
38122
|
+
statusDocuments?: RagStatusChunks;
|
|
38123
|
+
/**
|
|
38124
|
+
* How many documents/chunks of type FAQ are in the index
|
|
38125
|
+
*/
|
|
38126
|
+
statusFAQ?: RagStatusChunks;
|
|
38127
|
+
/**
|
|
38128
|
+
* How many documents/chunks of type None are in the index
|
|
38129
|
+
*/
|
|
38130
|
+
statusNone?: RagStatusChunks;
|
|
38131
|
+
/**
|
|
38132
|
+
* How many documents/chunks of type Product are in the index
|
|
38133
|
+
*/
|
|
38134
|
+
statusProduct?: RagStatusChunks;
|
|
38135
|
+
/**
|
|
38136
|
+
* How many documents/chunks of type Ticket are in the index
|
|
38137
|
+
*/
|
|
38138
|
+
statusTicket?: RagStatusChunks;
|
|
38139
|
+
/**
|
|
38140
|
+
* How many documents/chunks of type Webpage are in the index
|
|
38141
|
+
*/
|
|
38142
|
+
statusWebpage?: RagStatusChunks;
|
|
38143
|
+
}
|
|
38144
|
+
/**
|
|
38145
|
+
* Get the current status.
|
|
38146
|
+
* Returns RagStatus
|
|
38147
|
+
*/
|
|
38148
|
+
export interface AI_GetIndexingStatusRequest {
|
|
38149
|
+
/**
|
|
38150
|
+
* Identifies the namespace to store content in.
|
|
38151
|
+
*/
|
|
38152
|
+
namespaceName: string;
|
|
38153
|
+
}
|
|
38154
|
+
/**
|
|
38155
|
+
* Cancel the current re-indexing job on a given namespace. Leaves data in inconsistent state, because removal of old data is skipped.
|
|
38156
|
+
* Returns RagStatus
|
|
38157
|
+
*/
|
|
38158
|
+
export interface AI_CancelIndexingRequest {
|
|
38159
|
+
/**
|
|
38160
|
+
* Identifies the namespace to stop indexing in.
|
|
38161
|
+
*/
|
|
38162
|
+
namespaceName: string;
|
|
38163
|
+
}
|
|
38164
|
+
/**
|
|
38165
|
+
* RAG namespace document index statistics
|
|
38166
|
+
*/
|
|
38167
|
+
export interface RagStatusChunks {
|
|
38168
|
+
/**
|
|
38169
|
+
* How many chunks stored in the database
|
|
38170
|
+
*/
|
|
38171
|
+
numberOfChunks?: number;
|
|
38172
|
+
/**
|
|
38173
|
+
* How many documents stored in the database
|
|
38174
|
+
*/
|
|
38175
|
+
numberOfDocuments?: number;
|
|
38176
|
+
}
|
|
37858
38177
|
/**
|
|
37859
38178
|
* Summary functions for various entities
|
|
37860
38179
|
*/
|