@liaisongroup/assist-api-js-client 1.5.178 → 1.5.180
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/openapi.d.ts +35 -1
- package/dist/openapi.json +95 -1
- package/dist/openapi.zod.d.ts +1486 -28
- package/dist/openapi.zod.js +24 -0
- package/package.json +1 -1
package/dist/openapi.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ declare namespace Components {
|
|
|
21
21
|
links: Links;
|
|
22
22
|
included?: ActionInclusions;
|
|
23
23
|
}
|
|
24
|
-
export type ActionAttributes = InternalEventAction | CalculationAction | UpdateResourceAction | CreateOrUpdateCaseAction;
|
|
24
|
+
export type ActionAttributes = InternalEventAction | CalculationAction | UpdateResourceAction | CreateOrUpdateCaseAction | GetValueAction | TriggerQuestionnaireAction;
|
|
25
25
|
export interface ActionData {
|
|
26
26
|
type: "action";
|
|
27
27
|
id: string; // uuid
|
|
@@ -899,6 +899,22 @@ declare namespace Components {
|
|
|
899
899
|
}[];
|
|
900
900
|
links?: Links;
|
|
901
901
|
}
|
|
902
|
+
export interface GetValueAction {
|
|
903
|
+
name?: string;
|
|
904
|
+
updated_at?: string; // date-time
|
|
905
|
+
created_at?: string; // date-time
|
|
906
|
+
active?: boolean;
|
|
907
|
+
trigger_id?: string; // uuid
|
|
908
|
+
action_type?: "get_value";
|
|
909
|
+
config?: {
|
|
910
|
+
/**
|
|
911
|
+
* The key of the field to get the value from.
|
|
912
|
+
* If the key is prefixed with "case/" then the value is looked up in the associated case, otherwise the value is looked up in the task or case itself.
|
|
913
|
+
*
|
|
914
|
+
*/
|
|
915
|
+
field_key: string;
|
|
916
|
+
};
|
|
917
|
+
}
|
|
902
918
|
export interface HL7Message {
|
|
903
919
|
data: HL7MessageData;
|
|
904
920
|
links: Links;
|
|
@@ -2200,6 +2216,22 @@ declare namespace Components {
|
|
|
2200
2216
|
}[];
|
|
2201
2217
|
links?: Links;
|
|
2202
2218
|
}
|
|
2219
|
+
export interface TriggerQuestionnaireAction {
|
|
2220
|
+
name?: string;
|
|
2221
|
+
updated_at?: string; // date-time
|
|
2222
|
+
created_at?: string; // date-time
|
|
2223
|
+
active?: boolean;
|
|
2224
|
+
trigger_id?: string; // uuid
|
|
2225
|
+
action_type?: "trigger_questionnaire";
|
|
2226
|
+
config?: {
|
|
2227
|
+
/**
|
|
2228
|
+
* The ID of the questionnaire to trigger in PKB.
|
|
2229
|
+
* This is the ID of the questionnaire as it appears in the PKB API.
|
|
2230
|
+
*
|
|
2231
|
+
*/
|
|
2232
|
+
pkb_questionnaire_id: string;
|
|
2233
|
+
};
|
|
2234
|
+
}
|
|
2203
2235
|
export type Type = "action" | "case" | "case_activity_log" | "field" | "field_setting" | "list" | "list_saved_filter" | "note" | "notification" | "push_subscription" | "role" | "saved_filter" | "sso_config" | "tag" | "task" | "team" | "team_member" | "template" | "user";
|
|
2204
2236
|
export interface UpdateResourceAction {
|
|
2205
2237
|
name?: string;
|
|
@@ -6528,6 +6560,7 @@ export type FieldSettingsRelationship = Components.Schemas.FieldSettingsRelation
|
|
|
6528
6560
|
export type FieldUpdateAttributes = Components.Schemas.FieldUpdateAttributes;
|
|
6529
6561
|
export type Fields = Components.Schemas.Fields;
|
|
6530
6562
|
export type FieldsRelationship = Components.Schemas.FieldsRelationship;
|
|
6563
|
+
export type GetValueAction = Components.Schemas.GetValueAction;
|
|
6531
6564
|
export type HL7Message = Components.Schemas.HL7Message;
|
|
6532
6565
|
export type HL7MessageAttributes = Components.Schemas.HL7MessageAttributes;
|
|
6533
6566
|
export type HL7MessageData = Components.Schemas.HL7MessageData;
|
|
@@ -6724,6 +6757,7 @@ export type TemplateSchemaItem = Components.Schemas.TemplateSchemaItem;
|
|
|
6724
6757
|
export type TemplateSchemaItems = Components.Schemas.TemplateSchemaItems;
|
|
6725
6758
|
export type Templates = Components.Schemas.Templates;
|
|
6726
6759
|
export type TemplatesRelationship = Components.Schemas.TemplatesRelationship;
|
|
6760
|
+
export type TriggerQuestionnaireAction = Components.Schemas.TriggerQuestionnaireAction;
|
|
6727
6761
|
export type Type = Components.Schemas.Type;
|
|
6728
6762
|
export type UpdateResourceAction = Components.Schemas.UpdateResourceAction;
|
|
6729
6763
|
export type User = Components.Schemas.User;
|
package/dist/openapi.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "Liaison Assist API",
|
|
5
5
|
"description": "\n",
|
|
6
|
-
"version": "0.0.
|
|
6
|
+
"version": "0.0.398",
|
|
7
7
|
"license": {
|
|
8
8
|
"name": "MIT",
|
|
9
9
|
"url": "https://opensource.org/licenses/MIT"
|
|
@@ -9231,6 +9231,12 @@
|
|
|
9231
9231
|
},
|
|
9232
9232
|
{
|
|
9233
9233
|
"$ref": "#/components/schemas/CreateOrUpdateCaseAction"
|
|
9234
|
+
},
|
|
9235
|
+
{
|
|
9236
|
+
"$ref": "#/components/schemas/GetValueAction"
|
|
9237
|
+
},
|
|
9238
|
+
{
|
|
9239
|
+
"$ref": "#/components/schemas/TriggerQuestionnaireAction"
|
|
9234
9240
|
}
|
|
9235
9241
|
]
|
|
9236
9242
|
},
|
|
@@ -15950,6 +15956,94 @@
|
|
|
15950
15956
|
}
|
|
15951
15957
|
}
|
|
15952
15958
|
},
|
|
15959
|
+
"GetValueAction": {
|
|
15960
|
+
"type": "object",
|
|
15961
|
+
"additionalProperties": false,
|
|
15962
|
+
"properties": {
|
|
15963
|
+
"name": {
|
|
15964
|
+
"type": "string"
|
|
15965
|
+
},
|
|
15966
|
+
"updated_at": {
|
|
15967
|
+
"type": "string",
|
|
15968
|
+
"format": "date-time"
|
|
15969
|
+
},
|
|
15970
|
+
"created_at": {
|
|
15971
|
+
"type": "string",
|
|
15972
|
+
"format": "date-time"
|
|
15973
|
+
},
|
|
15974
|
+
"active": {
|
|
15975
|
+
"type": "boolean",
|
|
15976
|
+
"default": false
|
|
15977
|
+
},
|
|
15978
|
+
"trigger_id": {
|
|
15979
|
+
"type": "string",
|
|
15980
|
+
"format": "uuid"
|
|
15981
|
+
},
|
|
15982
|
+
"action_type": {
|
|
15983
|
+
"type": "string",
|
|
15984
|
+
"enum": [
|
|
15985
|
+
"get_value"
|
|
15986
|
+
]
|
|
15987
|
+
},
|
|
15988
|
+
"config": {
|
|
15989
|
+
"type": "object",
|
|
15990
|
+
"additionalProperties": false,
|
|
15991
|
+
"required": [
|
|
15992
|
+
"field_key"
|
|
15993
|
+
],
|
|
15994
|
+
"properties": {
|
|
15995
|
+
"field_key": {
|
|
15996
|
+
"type": "string",
|
|
15997
|
+
"description": "The key of the field to get the value from.\nIf the key is prefixed with \"case/\" then the value is looked up in the associated case, otherwise the value is looked up in the task or case itself.\n"
|
|
15998
|
+
}
|
|
15999
|
+
}
|
|
16000
|
+
}
|
|
16001
|
+
}
|
|
16002
|
+
},
|
|
16003
|
+
"TriggerQuestionnaireAction": {
|
|
16004
|
+
"type": "object",
|
|
16005
|
+
"additionalProperties": false,
|
|
16006
|
+
"properties": {
|
|
16007
|
+
"name": {
|
|
16008
|
+
"type": "string"
|
|
16009
|
+
},
|
|
16010
|
+
"updated_at": {
|
|
16011
|
+
"type": "string",
|
|
16012
|
+
"format": "date-time"
|
|
16013
|
+
},
|
|
16014
|
+
"created_at": {
|
|
16015
|
+
"type": "string",
|
|
16016
|
+
"format": "date-time"
|
|
16017
|
+
},
|
|
16018
|
+
"active": {
|
|
16019
|
+
"type": "boolean",
|
|
16020
|
+
"default": false
|
|
16021
|
+
},
|
|
16022
|
+
"trigger_id": {
|
|
16023
|
+
"type": "string",
|
|
16024
|
+
"format": "uuid"
|
|
16025
|
+
},
|
|
16026
|
+
"action_type": {
|
|
16027
|
+
"type": "string",
|
|
16028
|
+
"enum": [
|
|
16029
|
+
"trigger_questionnaire"
|
|
16030
|
+
]
|
|
16031
|
+
},
|
|
16032
|
+
"config": {
|
|
16033
|
+
"type": "object",
|
|
16034
|
+
"additionalProperties": false,
|
|
16035
|
+
"required": [
|
|
16036
|
+
"pkb_questionnaire_id"
|
|
16037
|
+
],
|
|
16038
|
+
"properties": {
|
|
16039
|
+
"pkb_questionnaire_id": {
|
|
16040
|
+
"type": "string",
|
|
16041
|
+
"description": "The ID of the questionnaire to trigger in PKB.\nThis is the ID of the questionnaire as it appears in the PKB API.\n"
|
|
16042
|
+
}
|
|
16043
|
+
}
|
|
16044
|
+
}
|
|
16045
|
+
}
|
|
16046
|
+
},
|
|
15953
16047
|
"InternalEventAction": {
|
|
15954
16048
|
"type": "object",
|
|
15955
16049
|
"additionalProperties": false,
|