@superoffice/webapi 11.9.1204 → 11.11.589
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 +80 -0
- package/dist/cjs/AIAgent.d.ts.map +1 -1
- package/dist/cjs/AIAgent.js +172 -0
- package/dist/cjs/AIAgent.js.map +1 -1
- package/dist/cjs/Carriers.d.ts +171 -4
- package/dist/cjs/Carriers.d.ts.map +1 -1
- package/dist/cjs/ConfigurationAgent.d.ts +7 -0
- package/dist/cjs/ConfigurationAgent.d.ts.map +1 -1
- package/dist/cjs/ConfigurationAgent.js +24 -0
- package/dist/cjs/ConfigurationAgent.js.map +1 -1
- package/dist/cjs/Converters.d.ts +6 -0
- package/dist/cjs/Converters.d.ts.map +1 -1
- package/dist/cjs/Converters.js +123 -24
- package/dist/cjs/Converters.js.map +1 -1
- package/dist/cjs/Enums.d.ts +83 -15
- package/dist/cjs/Enums.d.ts.map +1 -1
- package/dist/cjs/Enums.js +89 -19
- package/dist/cjs/Enums.js.map +1 -1
- package/dist/cjs/MarketingAgent.d.ts +15 -0
- package/dist/cjs/MarketingAgent.d.ts.map +1 -1
- package/dist/cjs/MarketingAgent.js +33 -0
- package/dist/cjs/MarketingAgent.js.map +1 -1
- package/dist/cjs/ProjectAgent.d.ts +30 -0
- package/dist/cjs/ProjectAgent.d.ts.map +1 -1
- package/dist/cjs/ProjectAgent.js +66 -0
- package/dist/cjs/ProjectAgent.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 +80 -0
- package/dist/esm/AIAgent.d.ts.map +1 -1
- package/dist/esm/AIAgent.js +172 -0
- package/dist/esm/AIAgent.js.map +1 -1
- package/dist/esm/Carriers.d.ts +171 -4
- package/dist/esm/Carriers.d.ts.map +1 -1
- package/dist/esm/ConfigurationAgent.d.ts +7 -0
- package/dist/esm/ConfigurationAgent.d.ts.map +1 -1
- package/dist/esm/ConfigurationAgent.js +24 -0
- package/dist/esm/ConfigurationAgent.js.map +1 -1
- package/dist/esm/Converters.d.ts +6 -0
- package/dist/esm/Converters.d.ts.map +1 -1
- package/dist/esm/Converters.js +110 -17
- package/dist/esm/Converters.js.map +1 -1
- package/dist/esm/Enums.d.ts +83 -15
- package/dist/esm/Enums.d.ts.map +1 -1
- package/dist/esm/Enums.js +85 -15
- package/dist/esm/Enums.js.map +1 -1
- package/dist/esm/MarketingAgent.d.ts +15 -0
- package/dist/esm/MarketingAgent.d.ts.map +1 -1
- package/dist/esm/MarketingAgent.js +33 -0
- package/dist/esm/MarketingAgent.js.map +1 -1
- package/dist/esm/ProjectAgent.d.ts +30 -0
- package/dist/esm/ProjectAgent.d.ts.map +1 -1
- package/dist/esm/ProjectAgent.js +66 -0
- package/dist/esm/ProjectAgent.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 +4 -4
- package/src/AIAgent.ts +292 -0
- package/src/Carriers.ts +231 -5
- package/src/ConfigurationAgent.ts +30 -0
- package/src/Converters.ts +128 -18
- package/src/Enums.ts +88 -16
- package/src/MarketingAgent.ts +56 -0
- package/src/ProjectAgent.ts +112 -0
- package/src/TicketAgent.ts +24 -0
package/dist/esm/Carriers.d.ts
CHANGED
|
@@ -7987,6 +7987,14 @@ export interface Project extends Carrier {
|
|
|
7987
7987
|
* The number of active erp links
|
|
7988
7988
|
*/
|
|
7989
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;
|
|
7990
7998
|
}
|
|
7991
7999
|
/**
|
|
7992
8000
|
* The Project Service. The service implements all services working with the Project object
|
|
@@ -8091,6 +8099,14 @@ export interface ProjectEntity extends Carrier {
|
|
|
8091
8099
|
* The number of active erp links
|
|
8092
8100
|
*/
|
|
8093
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;
|
|
8094
8110
|
/**
|
|
8095
8111
|
* Dictionary of user defined field data.
|
|
8096
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"
|
|
@@ -8318,6 +8334,26 @@ export interface Project_SetCompletedRequest {
|
|
|
8318
8334
|
*/
|
|
8319
8335
|
isCompleted: boolean;
|
|
8320
8336
|
}
|
|
8337
|
+
/**
|
|
8338
|
+
* Get a project entity with no project members. Project members property is always an empty array.
|
|
8339
|
+
* Returns ProjectEntity
|
|
8340
|
+
*/
|
|
8341
|
+
export interface Project_GetProjectEntityWithoutMembersRequest {
|
|
8342
|
+
/**
|
|
8343
|
+
* The project id of the project.
|
|
8344
|
+
*/
|
|
8345
|
+
projectId: number;
|
|
8346
|
+
}
|
|
8347
|
+
/**
|
|
8348
|
+
* Save a project entity, the project members are ignored.
|
|
8349
|
+
* Returns ProjectEntity
|
|
8350
|
+
*/
|
|
8351
|
+
export interface Project_SaveProjectEntityWithoutMembersRequest {
|
|
8352
|
+
/**
|
|
8353
|
+
* The project entity to save. Any set project members are ignored.
|
|
8354
|
+
*/
|
|
8355
|
+
projectEntity: ProjectEntity;
|
|
8356
|
+
}
|
|
8321
8357
|
/**
|
|
8322
8358
|
* A project that is also an event. Used by Audience
|
|
8323
8359
|
*/
|
|
@@ -8754,6 +8790,10 @@ export interface ProjectMember extends Carrier {
|
|
|
8754
8790
|
* The date and time when the project member was last updated
|
|
8755
8791
|
*/
|
|
8756
8792
|
updated?: Date;
|
|
8793
|
+
/**
|
|
8794
|
+
* Reserved field for Lyyti event participants.
|
|
8795
|
+
*/
|
|
8796
|
+
eventParticipantStatus?: enums.ProjectMemberEventParticipantStatus;
|
|
8757
8797
|
}
|
|
8758
8798
|
/**
|
|
8759
8799
|
* Update existing project members. Not creating new (only projectmember_id > 0 accepted)
|
|
@@ -19998,6 +20038,12 @@ export interface Configuration_GetSpfDomainRequest {
|
|
|
19998
20038
|
*/
|
|
19999
20039
|
export interface Configuration_GetAllFeatureTogglesRequest {
|
|
20000
20040
|
}
|
|
20041
|
+
/**
|
|
20042
|
+
* This method will get the host name for external CS
|
|
20043
|
+
* Returns string
|
|
20044
|
+
*/
|
|
20045
|
+
export interface Configuration_GetCsCgiUrlRequest {
|
|
20046
|
+
}
|
|
20001
20047
|
/**
|
|
20002
20048
|
* Query object to use to fetch configruablescreendeltas matching this object
|
|
20003
20049
|
*/
|
|
@@ -33651,6 +33697,32 @@ export interface Marketing_VerifyGoogleRecaptchaRequest {
|
|
|
33651
33697
|
*/
|
|
33652
33698
|
optionalSecretKey: string;
|
|
33653
33699
|
}
|
|
33700
|
+
/**
|
|
33701
|
+
* Carrier for FormFieldRestriction
|
|
33702
|
+
*/
|
|
33703
|
+
export interface FormFieldRestriction extends Carrier {
|
|
33704
|
+
/**
|
|
33705
|
+
* Primary key
|
|
33706
|
+
*/
|
|
33707
|
+
formFieldRestrictionId?: number;
|
|
33708
|
+
/**
|
|
33709
|
+
* the identifier for the field
|
|
33710
|
+
*/
|
|
33711
|
+
fieldIdentifier?: string;
|
|
33712
|
+
/**
|
|
33713
|
+
* The restriction set on the field
|
|
33714
|
+
*/
|
|
33715
|
+
fieldRestriction?: enums.FormFieldRestrictionType;
|
|
33716
|
+
}
|
|
33717
|
+
/**
|
|
33718
|
+
* Sets the list of form field restrictions. Note: This list is the conclusion of what should exist in the table. Restrictions that already exists in the table are edited, new ones are added, and if they are not in this list, they will be deleted
|
|
33719
|
+
*/
|
|
33720
|
+
export interface Marketing_SetAllFormFieldRestrictionsRequest {
|
|
33721
|
+
/**
|
|
33722
|
+
* All the restrictions to set. Restrictions not included, will be deleted
|
|
33723
|
+
*/
|
|
33724
|
+
formFieldRestrictions: FormFieldRestriction[];
|
|
33725
|
+
}
|
|
33654
33726
|
/**
|
|
33655
33727
|
* Content of a Form submission
|
|
33656
33728
|
*/
|
|
@@ -37746,6 +37818,18 @@ export interface CopilotEntity extends Carrier {
|
|
|
37746
37818
|
* Forms Design analysis results.
|
|
37747
37819
|
*/
|
|
37748
37820
|
export interface FormDesignCarrier {
|
|
37821
|
+
/**
|
|
37822
|
+
* Generated CSS styles based on the analyzed design.
|
|
37823
|
+
*/
|
|
37824
|
+
cssStyles?: string;
|
|
37825
|
+
/**
|
|
37826
|
+
* Confidence score (0-1) of the design analysis.
|
|
37827
|
+
*/
|
|
37828
|
+
confidence?: number;
|
|
37829
|
+
/**
|
|
37830
|
+
* Comments on the analysis
|
|
37831
|
+
*/
|
|
37832
|
+
notes?: string;
|
|
37749
37833
|
}
|
|
37750
37834
|
/**
|
|
37751
37835
|
* Returns Form Designer properties based on the look of a picture
|
|
@@ -37767,6 +37851,93 @@ export interface AI_GetFormDesignFromUrlRequest {
|
|
|
37767
37851
|
*/
|
|
37768
37852
|
url: string;
|
|
37769
37853
|
}
|
|
37854
|
+
/**
|
|
37855
|
+
* Returns Form Designer CSS based on the look of a picture
|
|
37856
|
+
* Returns FormDesignCarrier
|
|
37857
|
+
*/
|
|
37858
|
+
export interface AI_GetFormDesignCssFromImageRequest {
|
|
37859
|
+
/**
|
|
37860
|
+
* Image data to analyze for design
|
|
37861
|
+
*/
|
|
37862
|
+
image: ArrayBuffer | string;
|
|
37863
|
+
/**
|
|
37864
|
+
* List of CSS classes to generate styles for.
|
|
37865
|
+
*/
|
|
37866
|
+
cssClasses: string[];
|
|
37867
|
+
}
|
|
37868
|
+
/**
|
|
37869
|
+
* Returns Form Designer properties based on the look of a web page
|
|
37870
|
+
* Returns FormDesignCarrier
|
|
37871
|
+
*/
|
|
37872
|
+
export interface AI_GetFormDesignCssFromUrlRequest {
|
|
37873
|
+
/**
|
|
37874
|
+
* Url of the web page to extract style from.
|
|
37875
|
+
*/
|
|
37876
|
+
url: string;
|
|
37877
|
+
/**
|
|
37878
|
+
* List of CSS classes to generate styles for.
|
|
37879
|
+
*/
|
|
37880
|
+
cssClasses: string[];
|
|
37881
|
+
}
|
|
37882
|
+
/**
|
|
37883
|
+
* Forms Design CSS class analysis result. Contains the CSS properties for a single named CSS class.
|
|
37884
|
+
*/
|
|
37885
|
+
export interface FormDesignCss {
|
|
37886
|
+
/**
|
|
37887
|
+
* The CSS Class requested. e.g. '.foo'
|
|
37888
|
+
*/
|
|
37889
|
+
cssClass?: string;
|
|
37890
|
+
/**
|
|
37891
|
+
* Generated CSS style based on the analyzed design. e.g. 'background: goldenrod; border-width: 12px; '
|
|
37892
|
+
*/
|
|
37893
|
+
cssRule?: string;
|
|
37894
|
+
/**
|
|
37895
|
+
* Internal state of the AI analyzer. Pass along in the next call to GetNextFormDesignCss. No user-maintainable parts inside. Do not eat.
|
|
37896
|
+
*/
|
|
37897
|
+
state?: string;
|
|
37898
|
+
}
|
|
37899
|
+
/**
|
|
37900
|
+
* Starts a form design analysis from an image, returning the properties for a single CSS class.
|
|
37901
|
+
* Returns FormDesignCss
|
|
37902
|
+
*/
|
|
37903
|
+
export interface AI_GetFirstFormDesignCssFromImageRequest {
|
|
37904
|
+
/**
|
|
37905
|
+
* Image data to analyze for design
|
|
37906
|
+
*/
|
|
37907
|
+
image: ArrayBuffer | string;
|
|
37908
|
+
/**
|
|
37909
|
+
* The CSS class to generate styles for.
|
|
37910
|
+
*/
|
|
37911
|
+
cssClass: string;
|
|
37912
|
+
}
|
|
37913
|
+
/**
|
|
37914
|
+
* Starts a form design analysis from a URL, returning the properties for a single CSS class.
|
|
37915
|
+
* Returns FormDesignCss
|
|
37916
|
+
*/
|
|
37917
|
+
export interface AI_GetFirstFormDesignCssFromUrlRequest {
|
|
37918
|
+
/**
|
|
37919
|
+
* Url of the web page to extract style from.
|
|
37920
|
+
*/
|
|
37921
|
+
url: string;
|
|
37922
|
+
/**
|
|
37923
|
+
* The CSS class to generate styles for.
|
|
37924
|
+
*/
|
|
37925
|
+
cssClass: string;
|
|
37926
|
+
}
|
|
37927
|
+
/**
|
|
37928
|
+
* Returns another CSS class, continuing the CSS generation, one class at a time.
|
|
37929
|
+
* Returns FormDesignCss
|
|
37930
|
+
*/
|
|
37931
|
+
export interface AI_GetNextFormDesignCssRequest {
|
|
37932
|
+
/**
|
|
37933
|
+
* Internal state from the analyzer, from the previous call.
|
|
37934
|
+
*/
|
|
37935
|
+
state: string;
|
|
37936
|
+
/**
|
|
37937
|
+
* The CSS class to generate styles for.
|
|
37938
|
+
*/
|
|
37939
|
+
cssClass: string;
|
|
37940
|
+
}
|
|
37770
37941
|
/**
|
|
37771
37942
|
* Sentiment information: Score (-100 to 100) and Confidence (0 to 100)
|
|
37772
37943
|
*/
|
|
@@ -38080,10 +38251,6 @@ export interface RagStatus {
|
|
|
38080
38251
|
* How many documents/chunks of type Webpage are in the index
|
|
38081
38252
|
*/
|
|
38082
38253
|
statusWebpage?: RagStatusChunks;
|
|
38083
|
-
/**
|
|
38084
|
-
* How many documents/chunks of type Website are in the index
|
|
38085
|
-
*/
|
|
38086
|
-
statusWebsite?: RagStatusChunks;
|
|
38087
38254
|
}
|
|
38088
38255
|
/**
|
|
38089
38256
|
* Get the current status.
|