@liaisongroup/assist-api-js-client 1.5.63 → 1.5.65
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 +148 -13
- package/dist/openapi.json +334 -10
- package/dist/openapi.zod.d.ts +2933 -270
- package/dist/openapi.zod.js +42 -3
- package/package.json +1 -1
package/dist/openapi.d.ts
CHANGED
|
@@ -28,6 +28,36 @@ declare namespace Components {
|
|
|
28
28
|
attributes: ActionAttributes;
|
|
29
29
|
relationships: ActionRelationships;
|
|
30
30
|
}
|
|
31
|
+
export interface ActionError {
|
|
32
|
+
data: ActionErrorData;
|
|
33
|
+
links: Links;
|
|
34
|
+
included?: ActionErrorInclusions;
|
|
35
|
+
}
|
|
36
|
+
export interface ActionErrorAttributes {
|
|
37
|
+
error?: string;
|
|
38
|
+
arguments?: {
|
|
39
|
+
[key: string]: any;
|
|
40
|
+
};
|
|
41
|
+
backtrace?: string[];
|
|
42
|
+
created_at?: string; // date-time
|
|
43
|
+
updated_at?: string; // date-time
|
|
44
|
+
}
|
|
45
|
+
export interface ActionErrorData {
|
|
46
|
+
type: "action_error";
|
|
47
|
+
id: string; // uuid
|
|
48
|
+
attributes: ActionErrorAttributes;
|
|
49
|
+
relationships?: ActionErrorRelationships;
|
|
50
|
+
}
|
|
51
|
+
export type ActionErrorInclusions = (ActionInclusion)[];
|
|
52
|
+
export interface ActionErrorRelationships {
|
|
53
|
+
action?: ActionRelationshipTrigger;
|
|
54
|
+
}
|
|
55
|
+
export interface ActionErrors {
|
|
56
|
+
data: ActionErrorData[];
|
|
57
|
+
meta: Meta;
|
|
58
|
+
links: Links;
|
|
59
|
+
included?: ActionErrorInclusions;
|
|
60
|
+
}
|
|
31
61
|
export interface ActionInclusion {
|
|
32
62
|
type: "action";
|
|
33
63
|
id: string; // uuid
|
|
@@ -226,7 +256,7 @@ declare namespace Components {
|
|
|
226
256
|
id?: string; // uuid
|
|
227
257
|
}[];
|
|
228
258
|
}
|
|
229
|
-
export type ChannelList = "
|
|
259
|
+
export type ChannelList = "ActionErrorsChannel" | "ActionsChannel" | "CaseActivityLogsChannel" | "CasesChannel" | "FieldSettingsChannel" | "FieldsChannel" | "ListSavedFiltersChannel" | "ListsChannel" | "NotesChannel" | "RolesChannel" | "SavedFiltersChannel" | "SsoConfigsChannel" | "TagsChannel" | "TasksChannel" | "TeamMembersChannel" | "TeamsChannel" | "TemplatesChannel" | "UsersChannel";
|
|
230
260
|
export interface Config {
|
|
231
261
|
data: ConfigData;
|
|
232
262
|
links: Links;
|
|
@@ -827,6 +857,19 @@ declare namespace Components {
|
|
|
827
857
|
}[];
|
|
828
858
|
};
|
|
829
859
|
}
|
|
860
|
+
export interface InterpolatedTemplateName {
|
|
861
|
+
/**
|
|
862
|
+
* When a template calls for a more complex name you can use an interpolated name.
|
|
863
|
+
* The interpolated name is a string which contains the keys of the fields which are used to determine the name.
|
|
864
|
+
* The keys are surrounded by curly braces.
|
|
865
|
+
* For example: "{id} {values/given_name} {values/surname}"
|
|
866
|
+
* The interpolated values are looked up in the case or task values and the values are used to replace the keys.
|
|
867
|
+
* If the interpolated value is not found in the case or task values then it is left blank.
|
|
868
|
+
* If the interpolated values begins with "values/" then the value is looked up in the case or task values, otherwise it is looked up in the case or task itself.
|
|
869
|
+
*
|
|
870
|
+
*/
|
|
871
|
+
interpolated_name?: string;
|
|
872
|
+
}
|
|
830
873
|
export type KnownConfigIDs = "action_resources" | "admin_resources" | "db_reset" | "field_resources" | "field_setting_restriction_constraints" | "field_setting_restriction_operators" | "hide_tasks" | "hl7_message_lifespan" | "password_regex" | "password_regex_message" | "role_resources" | "skip_rack_attack" | "task_delete_reasons";
|
|
831
874
|
export interface Links {
|
|
832
875
|
self?: string;
|
|
@@ -1485,6 +1528,12 @@ declare namespace Components {
|
|
|
1485
1528
|
export interface SimpleError {
|
|
1486
1529
|
error: string;
|
|
1487
1530
|
}
|
|
1531
|
+
export interface SimpleTemplateName {
|
|
1532
|
+
/**
|
|
1533
|
+
* Key of the field which is used to determine name for instances which use this template.
|
|
1534
|
+
*/
|
|
1535
|
+
key?: string;
|
|
1536
|
+
}
|
|
1488
1537
|
export type StructuredValues = {
|
|
1489
1538
|
field_key?: string;
|
|
1490
1539
|
field_type?: "string" | "integer" | "boolean" | "date" | "time" | "datetime" | "float" | "resource" | "composite";
|
|
@@ -1825,12 +1874,7 @@ declare namespace Components {
|
|
|
1825
1874
|
*/
|
|
1826
1875
|
active?: boolean;
|
|
1827
1876
|
schema?: {
|
|
1828
|
-
name?:
|
|
1829
|
-
/**
|
|
1830
|
-
* Key of the field which is used to determine name for instances which use this template.
|
|
1831
|
-
*/
|
|
1832
|
-
key?: string;
|
|
1833
|
-
};
|
|
1877
|
+
name?: null | SimpleTemplateName | InterpolatedTemplateName;
|
|
1834
1878
|
};
|
|
1835
1879
|
created_at?: string; // date-time
|
|
1836
1880
|
updated_at?: string; // date-time
|
|
@@ -1847,12 +1891,7 @@ declare namespace Components {
|
|
|
1847
1891
|
*/
|
|
1848
1892
|
export type Name = string;
|
|
1849
1893
|
export interface Schema {
|
|
1850
|
-
name?:
|
|
1851
|
-
/**
|
|
1852
|
-
* Key of the field which is used to determine name for instances which use this template.
|
|
1853
|
-
*/
|
|
1854
|
-
key?: string;
|
|
1855
|
-
};
|
|
1894
|
+
name?: null | SimpleTemplateName | InterpolatedTemplateName;
|
|
1856
1895
|
}
|
|
1857
1896
|
/**
|
|
1858
1897
|
* Which type of resource should this template be able to be applied to.
|
|
@@ -2520,6 +2559,21 @@ declare namespace Paths {
|
|
|
2520
2559
|
export type $404 = Components.Schemas.Errors;
|
|
2521
2560
|
}
|
|
2522
2561
|
}
|
|
2562
|
+
namespace DeleteActionError {
|
|
2563
|
+
namespace Parameters {
|
|
2564
|
+
export type Id = string; // uuid
|
|
2565
|
+
}
|
|
2566
|
+
export interface PathParameters {
|
|
2567
|
+
id: Parameters.Id /* uuid */;
|
|
2568
|
+
}
|
|
2569
|
+
namespace Responses {
|
|
2570
|
+
export interface $204 {
|
|
2571
|
+
}
|
|
2572
|
+
export type $401 = Components.Schemas.Errors;
|
|
2573
|
+
export type $403 = Components.Schemas.Errors;
|
|
2574
|
+
export type $404 = Components.Schemas.Errors;
|
|
2575
|
+
}
|
|
2576
|
+
}
|
|
2523
2577
|
namespace DeleteCase {
|
|
2524
2578
|
namespace Parameters {
|
|
2525
2579
|
export type Id = string; // uuid
|
|
@@ -2833,6 +2887,27 @@ declare namespace Paths {
|
|
|
2833
2887
|
export type $404 = Components.Schemas.Errors;
|
|
2834
2888
|
}
|
|
2835
2889
|
}
|
|
2890
|
+
namespace GetActionError {
|
|
2891
|
+
namespace Parameters {
|
|
2892
|
+
export type Id = string; // uuid
|
|
2893
|
+
}
|
|
2894
|
+
export interface PathParameters {
|
|
2895
|
+
id: Parameters.Id /* uuid */;
|
|
2896
|
+
}
|
|
2897
|
+
namespace Responses {
|
|
2898
|
+
export type $200 = Components.Schemas.ActionError;
|
|
2899
|
+
export type $401 = Components.Schemas.Errors;
|
|
2900
|
+
export type $403 = Components.Schemas.Errors;
|
|
2901
|
+
export type $404 = Components.Schemas.Errors;
|
|
2902
|
+
}
|
|
2903
|
+
}
|
|
2904
|
+
namespace GetActionErrors {
|
|
2905
|
+
namespace Responses {
|
|
2906
|
+
export type $200 = Components.Schemas.ActionErrors;
|
|
2907
|
+
export type $401 = Components.Schemas.Errors;
|
|
2908
|
+
export type $403 = Components.Schemas.Errors;
|
|
2909
|
+
}
|
|
2910
|
+
}
|
|
2836
2911
|
namespace GetActionType {
|
|
2837
2912
|
namespace Parameters {
|
|
2838
2913
|
export type Id = string;
|
|
@@ -3871,6 +3946,30 @@ export interface OperationMethods {
|
|
|
3871
3946
|
data?: any,
|
|
3872
3947
|
config?: AxiosRequestConfig
|
|
3873
3948
|
): OperationResponse<Paths.DeleteAction.Responses.$204>
|
|
3949
|
+
/**
|
|
3950
|
+
* get_action_errors - Get action errors
|
|
3951
|
+
*/
|
|
3952
|
+
'get_action_errors'(
|
|
3953
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
3954
|
+
data?: any,
|
|
3955
|
+
config?: AxiosRequestConfig
|
|
3956
|
+
): OperationResponse<Paths.GetActionErrors.Responses.$200>
|
|
3957
|
+
/**
|
|
3958
|
+
* get_action_error - Get action error
|
|
3959
|
+
*/
|
|
3960
|
+
'get_action_error'(
|
|
3961
|
+
parameters?: Parameters<Paths.GetActionError.PathParameters> | null,
|
|
3962
|
+
data?: any,
|
|
3963
|
+
config?: AxiosRequestConfig
|
|
3964
|
+
): OperationResponse<Paths.GetActionError.Responses.$200>
|
|
3965
|
+
/**
|
|
3966
|
+
* delete_action_error - Delete action error
|
|
3967
|
+
*/
|
|
3968
|
+
'delete_action_error'(
|
|
3969
|
+
parameters?: Parameters<Paths.DeleteActionError.PathParameters> | null,
|
|
3970
|
+
data?: any,
|
|
3971
|
+
config?: AxiosRequestConfig
|
|
3972
|
+
): OperationResponse<Paths.DeleteActionError.Responses.$204>
|
|
3874
3973
|
/**
|
|
3875
3974
|
* get_action_types - Get action types
|
|
3876
3975
|
*/
|
|
@@ -4827,6 +4926,34 @@ export interface PathsDictionary {
|
|
|
4827
4926
|
config?: AxiosRequestConfig
|
|
4828
4927
|
): OperationResponse<Paths.DeleteAction.Responses.$204>
|
|
4829
4928
|
}
|
|
4929
|
+
['/action_errors']: {
|
|
4930
|
+
/**
|
|
4931
|
+
* get_action_errors - Get action errors
|
|
4932
|
+
*/
|
|
4933
|
+
'get'(
|
|
4934
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
4935
|
+
data?: any,
|
|
4936
|
+
config?: AxiosRequestConfig
|
|
4937
|
+
): OperationResponse<Paths.GetActionErrors.Responses.$200>
|
|
4938
|
+
}
|
|
4939
|
+
['/action_errors/{id}']: {
|
|
4940
|
+
/**
|
|
4941
|
+
* get_action_error - Get action error
|
|
4942
|
+
*/
|
|
4943
|
+
'get'(
|
|
4944
|
+
parameters?: Parameters<Paths.GetActionError.PathParameters> | null,
|
|
4945
|
+
data?: any,
|
|
4946
|
+
config?: AxiosRequestConfig
|
|
4947
|
+
): OperationResponse<Paths.GetActionError.Responses.$200>
|
|
4948
|
+
/**
|
|
4949
|
+
* delete_action_error - Delete action error
|
|
4950
|
+
*/
|
|
4951
|
+
'delete'(
|
|
4952
|
+
parameters?: Parameters<Paths.DeleteActionError.PathParameters> | null,
|
|
4953
|
+
data?: any,
|
|
4954
|
+
config?: AxiosRequestConfig
|
|
4955
|
+
): OperationResponse<Paths.DeleteActionError.Responses.$204>
|
|
4956
|
+
}
|
|
4830
4957
|
['/action_types']: {
|
|
4831
4958
|
/**
|
|
4832
4959
|
* get_action_types - Get action types
|
|
@@ -5767,6 +5894,12 @@ export type AccessToken = Components.Schemas.AccessToken;
|
|
|
5767
5894
|
export type Action = Components.Schemas.Action;
|
|
5768
5895
|
export type ActionAttributes = Components.Schemas.ActionAttributes;
|
|
5769
5896
|
export type ActionData = Components.Schemas.ActionData;
|
|
5897
|
+
export type ActionError = Components.Schemas.ActionError;
|
|
5898
|
+
export type ActionErrorAttributes = Components.Schemas.ActionErrorAttributes;
|
|
5899
|
+
export type ActionErrorData = Components.Schemas.ActionErrorData;
|
|
5900
|
+
export type ActionErrorInclusions = Components.Schemas.ActionErrorInclusions;
|
|
5901
|
+
export type ActionErrorRelationships = Components.Schemas.ActionErrorRelationships;
|
|
5902
|
+
export type ActionErrors = Components.Schemas.ActionErrors;
|
|
5770
5903
|
export type ActionInclusion = Components.Schemas.ActionInclusion;
|
|
5771
5904
|
export type ActionInclusions = Components.Schemas.ActionInclusions;
|
|
5772
5905
|
export type ActionRelationshipTrigger = Components.Schemas.ActionRelationshipTrigger;
|
|
@@ -5846,6 +5979,7 @@ export type HL7MessageUpdateAttributes = Components.Schemas.HL7MessageUpdateAttr
|
|
|
5846
5979
|
export type HL7Messages = Components.Schemas.HL7Messages;
|
|
5847
5980
|
export type IdAttribute = Components.Schemas.IdAttribute;
|
|
5848
5981
|
export type InternalEventAction = Components.Schemas.InternalEventAction;
|
|
5982
|
+
export type InterpolatedTemplateName = Components.Schemas.InterpolatedTemplateName;
|
|
5849
5983
|
export type KnownConfigIDs = Components.Schemas.KnownConfigIDs;
|
|
5850
5984
|
export type Links = Components.Schemas.Links;
|
|
5851
5985
|
export type List = Components.Schemas.List;
|
|
@@ -5953,6 +6087,7 @@ export type SavedFilterRelationships = Components.Schemas.SavedFilterRelationshi
|
|
|
5953
6087
|
export type SavedFilters = Components.Schemas.SavedFilters;
|
|
5954
6088
|
export type SavedFiltersRelationship = Components.Schemas.SavedFiltersRelationship;
|
|
5955
6089
|
export type SimpleError = Components.Schemas.SimpleError;
|
|
6090
|
+
export type SimpleTemplateName = Components.Schemas.SimpleTemplateName;
|
|
5956
6091
|
export type StructuredValues = Components.Schemas.StructuredValues;
|
|
5957
6092
|
export type Tag = Components.Schemas.Tag;
|
|
5958
6093
|
export type TagAttributes = Components.Schemas.TagAttributes;
|
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.294",
|
|
7
7
|
"license": {
|
|
8
8
|
"name": "MIT",
|
|
9
9
|
"url": "https://opensource.org/licenses/MIT"
|
|
@@ -49,7 +49,12 @@
|
|
|
49
49
|
"description": "In `/schemas/Components/ChannelList` you can find a list of channels that are available for the websocket connection.\nThese channels are used to inform subscribers about changed to the resource type that the channel represents.\nDue to the complexity of permissions we currently only inform subscribers about the type of change and the ID of the changed item - it is then up to the subscribed if they want to make a fetch request to gain additional information (if they are permitted to).\nThe format of the messages in these channels is documents in `/schemas/Components/BroadcastEvent`\n\nThere is also a `UserSpecificChannel` which is used to send notifications to specific users when we are able.\nThe format of the messages in this channel is documented in `/schemas/Components/BroadcastToEvent`.\nTo receive these notifications for a user you should subscribe to `user_specific:<user_id>` channel.\n"
|
|
50
50
|
},
|
|
51
51
|
{
|
|
52
|
-
"name": "Actions"
|
|
52
|
+
"name": "Actions",
|
|
53
|
+
"description": "Actions are used to perform actions on resources.\nThey can be triggered by other actions or by the internal events (like a resource being created or updated) or by\nevents like a HL7 message being received.\n"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "Action Errors",
|
|
57
|
+
"description": "Action errors are used to store information about errors that occurred when performing an action.\nThey can be useful for administrators to triage issues with actions.\n"
|
|
53
58
|
},
|
|
54
59
|
{
|
|
55
60
|
"name": "Action Types",
|
|
@@ -1201,6 +1206,186 @@
|
|
|
1201
1206
|
}
|
|
1202
1207
|
}
|
|
1203
1208
|
},
|
|
1209
|
+
"/action_errors": {
|
|
1210
|
+
"get": {
|
|
1211
|
+
"operationId": "get_action_errors",
|
|
1212
|
+
"summary": "Get action errors",
|
|
1213
|
+
"tags": [
|
|
1214
|
+
"Action Errors"
|
|
1215
|
+
],
|
|
1216
|
+
"security": [
|
|
1217
|
+
{
|
|
1218
|
+
"bearerAuth": []
|
|
1219
|
+
},
|
|
1220
|
+
{
|
|
1221
|
+
"cookieAuth": []
|
|
1222
|
+
}
|
|
1223
|
+
],
|
|
1224
|
+
"responses": {
|
|
1225
|
+
"200": {
|
|
1226
|
+
"description": "OK",
|
|
1227
|
+
"content": {
|
|
1228
|
+
"application/vnd.api+json": {
|
|
1229
|
+
"schema": {
|
|
1230
|
+
"$ref": "#/components/schemas/ActionErrors"
|
|
1231
|
+
}
|
|
1232
|
+
}
|
|
1233
|
+
}
|
|
1234
|
+
},
|
|
1235
|
+
"401": {
|
|
1236
|
+
"description": "Unauthorized",
|
|
1237
|
+
"content": {
|
|
1238
|
+
"application/vnd.api+json": {
|
|
1239
|
+
"schema": {
|
|
1240
|
+
"$ref": "#/components/schemas/Errors"
|
|
1241
|
+
}
|
|
1242
|
+
}
|
|
1243
|
+
}
|
|
1244
|
+
},
|
|
1245
|
+
"403": {
|
|
1246
|
+
"description": "Forbidden",
|
|
1247
|
+
"content": {
|
|
1248
|
+
"application/vnd.api+json": {
|
|
1249
|
+
"schema": {
|
|
1250
|
+
"$ref": "#/components/schemas/Errors"
|
|
1251
|
+
}
|
|
1252
|
+
}
|
|
1253
|
+
}
|
|
1254
|
+
}
|
|
1255
|
+
}
|
|
1256
|
+
}
|
|
1257
|
+
},
|
|
1258
|
+
"/action_errors/{id}": {
|
|
1259
|
+
"get": {
|
|
1260
|
+
"operationId": "get_action_error",
|
|
1261
|
+
"summary": "Get action error",
|
|
1262
|
+
"tags": [
|
|
1263
|
+
"Action Errors"
|
|
1264
|
+
],
|
|
1265
|
+
"security": [
|
|
1266
|
+
{
|
|
1267
|
+
"bearerAuth": []
|
|
1268
|
+
},
|
|
1269
|
+
{
|
|
1270
|
+
"cookieAuth": []
|
|
1271
|
+
}
|
|
1272
|
+
],
|
|
1273
|
+
"parameters": [
|
|
1274
|
+
{
|
|
1275
|
+
"name": "id",
|
|
1276
|
+
"in": "path",
|
|
1277
|
+
"required": true,
|
|
1278
|
+
"schema": {
|
|
1279
|
+
"type": "string",
|
|
1280
|
+
"format": "uuid"
|
|
1281
|
+
}
|
|
1282
|
+
}
|
|
1283
|
+
],
|
|
1284
|
+
"responses": {
|
|
1285
|
+
"200": {
|
|
1286
|
+
"description": "OK",
|
|
1287
|
+
"content": {
|
|
1288
|
+
"application/vnd.api+json": {
|
|
1289
|
+
"schema": {
|
|
1290
|
+
"$ref": "#/components/schemas/ActionError"
|
|
1291
|
+
}
|
|
1292
|
+
}
|
|
1293
|
+
}
|
|
1294
|
+
},
|
|
1295
|
+
"401": {
|
|
1296
|
+
"description": "Unauthorized",
|
|
1297
|
+
"content": {
|
|
1298
|
+
"application/vnd.api+json": {
|
|
1299
|
+
"schema": {
|
|
1300
|
+
"$ref": "#/components/schemas/Errors"
|
|
1301
|
+
}
|
|
1302
|
+
}
|
|
1303
|
+
}
|
|
1304
|
+
},
|
|
1305
|
+
"403": {
|
|
1306
|
+
"description": "Forbidden",
|
|
1307
|
+
"content": {
|
|
1308
|
+
"application/vnd.api+json": {
|
|
1309
|
+
"schema": {
|
|
1310
|
+
"$ref": "#/components/schemas/Errors"
|
|
1311
|
+
}
|
|
1312
|
+
}
|
|
1313
|
+
}
|
|
1314
|
+
},
|
|
1315
|
+
"404": {
|
|
1316
|
+
"description": "Not Found",
|
|
1317
|
+
"content": {
|
|
1318
|
+
"application/vnd.api+json": {
|
|
1319
|
+
"schema": {
|
|
1320
|
+
"$ref": "#/components/schemas/Errors"
|
|
1321
|
+
}
|
|
1322
|
+
}
|
|
1323
|
+
}
|
|
1324
|
+
}
|
|
1325
|
+
}
|
|
1326
|
+
},
|
|
1327
|
+
"delete": {
|
|
1328
|
+
"operationId": "delete_action_error",
|
|
1329
|
+
"summary": "Delete action error",
|
|
1330
|
+
"tags": [
|
|
1331
|
+
"Action Errors"
|
|
1332
|
+
],
|
|
1333
|
+
"security": [
|
|
1334
|
+
{
|
|
1335
|
+
"bearerAuth": []
|
|
1336
|
+
},
|
|
1337
|
+
{
|
|
1338
|
+
"cookieAuth": []
|
|
1339
|
+
}
|
|
1340
|
+
],
|
|
1341
|
+
"parameters": [
|
|
1342
|
+
{
|
|
1343
|
+
"name": "id",
|
|
1344
|
+
"in": "path",
|
|
1345
|
+
"required": true,
|
|
1346
|
+
"schema": {
|
|
1347
|
+
"type": "string",
|
|
1348
|
+
"format": "uuid"
|
|
1349
|
+
}
|
|
1350
|
+
}
|
|
1351
|
+
],
|
|
1352
|
+
"responses": {
|
|
1353
|
+
"204": {
|
|
1354
|
+
"description": "No Content"
|
|
1355
|
+
},
|
|
1356
|
+
"401": {
|
|
1357
|
+
"description": "Unauthorized",
|
|
1358
|
+
"content": {
|
|
1359
|
+
"application/vnd.api+json": {
|
|
1360
|
+
"schema": {
|
|
1361
|
+
"$ref": "#/components/schemas/Errors"
|
|
1362
|
+
}
|
|
1363
|
+
}
|
|
1364
|
+
}
|
|
1365
|
+
},
|
|
1366
|
+
"403": {
|
|
1367
|
+
"description": "Forbidden",
|
|
1368
|
+
"content": {
|
|
1369
|
+
"application/vnd.api+json": {
|
|
1370
|
+
"schema": {
|
|
1371
|
+
"$ref": "#/components/schemas/Errors"
|
|
1372
|
+
}
|
|
1373
|
+
}
|
|
1374
|
+
}
|
|
1375
|
+
},
|
|
1376
|
+
"404": {
|
|
1377
|
+
"description": "Not Found",
|
|
1378
|
+
"content": {
|
|
1379
|
+
"application/vnd.api+json": {
|
|
1380
|
+
"schema": {
|
|
1381
|
+
"$ref": "#/components/schemas/Errors"
|
|
1382
|
+
}
|
|
1383
|
+
}
|
|
1384
|
+
}
|
|
1385
|
+
}
|
|
1386
|
+
}
|
|
1387
|
+
}
|
|
1388
|
+
},
|
|
1204
1389
|
"/action_types": {
|
|
1205
1390
|
"get": {
|
|
1206
1391
|
"operationId": "get_action_types",
|
|
@@ -8686,6 +8871,121 @@
|
|
|
8686
8871
|
}
|
|
8687
8872
|
}
|
|
8688
8873
|
},
|
|
8874
|
+
"ActionError": {
|
|
8875
|
+
"type": "object",
|
|
8876
|
+
"additionalProperties": false,
|
|
8877
|
+
"required": [
|
|
8878
|
+
"data",
|
|
8879
|
+
"links"
|
|
8880
|
+
],
|
|
8881
|
+
"properties": {
|
|
8882
|
+
"data": {
|
|
8883
|
+
"$ref": "#/components/schemas/ActionErrorData"
|
|
8884
|
+
},
|
|
8885
|
+
"links": {
|
|
8886
|
+
"$ref": "#/components/schemas/Links"
|
|
8887
|
+
},
|
|
8888
|
+
"included": {
|
|
8889
|
+
"$ref": "#/components/schemas/ActionErrorInclusions"
|
|
8890
|
+
}
|
|
8891
|
+
}
|
|
8892
|
+
},
|
|
8893
|
+
"ActionErrors": {
|
|
8894
|
+
"type": "object",
|
|
8895
|
+
"additionalProperties": false,
|
|
8896
|
+
"required": [
|
|
8897
|
+
"data",
|
|
8898
|
+
"meta",
|
|
8899
|
+
"links"
|
|
8900
|
+
],
|
|
8901
|
+
"properties": {
|
|
8902
|
+
"data": {
|
|
8903
|
+
"type": "array",
|
|
8904
|
+
"items": {
|
|
8905
|
+
"$ref": "#/components/schemas/ActionErrorData"
|
|
8906
|
+
}
|
|
8907
|
+
},
|
|
8908
|
+
"meta": {
|
|
8909
|
+
"$ref": "#/components/schemas/Meta"
|
|
8910
|
+
},
|
|
8911
|
+
"links": {
|
|
8912
|
+
"$ref": "#/components/schemas/Links"
|
|
8913
|
+
},
|
|
8914
|
+
"included": {
|
|
8915
|
+
"$ref": "#/components/schemas/ActionErrorInclusions"
|
|
8916
|
+
}
|
|
8917
|
+
}
|
|
8918
|
+
},
|
|
8919
|
+
"ActionErrorData": {
|
|
8920
|
+
"type": "object",
|
|
8921
|
+
"additionalProperties": false,
|
|
8922
|
+
"required": [
|
|
8923
|
+
"type",
|
|
8924
|
+
"id",
|
|
8925
|
+
"attributes"
|
|
8926
|
+
],
|
|
8927
|
+
"properties": {
|
|
8928
|
+
"type": {
|
|
8929
|
+
"type": "string",
|
|
8930
|
+
"enum": [
|
|
8931
|
+
"action_error"
|
|
8932
|
+
]
|
|
8933
|
+
},
|
|
8934
|
+
"id": {
|
|
8935
|
+
"type": "string",
|
|
8936
|
+
"format": "uuid"
|
|
8937
|
+
},
|
|
8938
|
+
"attributes": {
|
|
8939
|
+
"$ref": "#/components/schemas/ActionErrorAttributes"
|
|
8940
|
+
},
|
|
8941
|
+
"relationships": {
|
|
8942
|
+
"$ref": "#/components/schemas/ActionErrorRelationships"
|
|
8943
|
+
}
|
|
8944
|
+
}
|
|
8945
|
+
},
|
|
8946
|
+
"ActionErrorAttributes": {
|
|
8947
|
+
"type": "object",
|
|
8948
|
+
"properties": {
|
|
8949
|
+
"error": {
|
|
8950
|
+
"type": "string"
|
|
8951
|
+
},
|
|
8952
|
+
"arguments": {
|
|
8953
|
+
"type": "object"
|
|
8954
|
+
},
|
|
8955
|
+
"backtrace": {
|
|
8956
|
+
"type": "array",
|
|
8957
|
+
"items": {
|
|
8958
|
+
"type": "string"
|
|
8959
|
+
}
|
|
8960
|
+
},
|
|
8961
|
+
"created_at": {
|
|
8962
|
+
"type": "string",
|
|
8963
|
+
"format": "date-time"
|
|
8964
|
+
},
|
|
8965
|
+
"updated_at": {
|
|
8966
|
+
"type": "string",
|
|
8967
|
+
"format": "date-time"
|
|
8968
|
+
}
|
|
8969
|
+
}
|
|
8970
|
+
},
|
|
8971
|
+
"ActionErrorRelationships": {
|
|
8972
|
+
"type": "object",
|
|
8973
|
+
"properties": {
|
|
8974
|
+
"action": {
|
|
8975
|
+
"$ref": "#/components/schemas/ActionRelationshipTrigger"
|
|
8976
|
+
}
|
|
8977
|
+
}
|
|
8978
|
+
},
|
|
8979
|
+
"ActionErrorInclusions": {
|
|
8980
|
+
"type": "array",
|
|
8981
|
+
"items": {
|
|
8982
|
+
"oneOf": [
|
|
8983
|
+
{
|
|
8984
|
+
"$ref": "#/components/schemas/ActionInclusion"
|
|
8985
|
+
}
|
|
8986
|
+
]
|
|
8987
|
+
}
|
|
8988
|
+
},
|
|
8689
8989
|
"ActionTypeAttributes": {
|
|
8690
8990
|
"type": "object",
|
|
8691
8991
|
"properties": {
|
|
@@ -13287,14 +13587,17 @@
|
|
|
13287
13587
|
"additionalProperties": false,
|
|
13288
13588
|
"properties": {
|
|
13289
13589
|
"name": {
|
|
13290
|
-
"
|
|
13291
|
-
|
|
13292
|
-
|
|
13293
|
-
|
|
13294
|
-
|
|
13295
|
-
"
|
|
13590
|
+
"oneOf": [
|
|
13591
|
+
{
|
|
13592
|
+
"type": "null"
|
|
13593
|
+
},
|
|
13594
|
+
{
|
|
13595
|
+
"$ref": "#/components/schemas/SimpleTemplateName"
|
|
13596
|
+
},
|
|
13597
|
+
{
|
|
13598
|
+
"$ref": "#/components/schemas/InterpolatedTemplateName"
|
|
13296
13599
|
}
|
|
13297
|
-
|
|
13600
|
+
]
|
|
13298
13601
|
}
|
|
13299
13602
|
}
|
|
13300
13603
|
},
|
|
@@ -14223,9 +14526,10 @@
|
|
|
14223
14526
|
"ChannelList": {
|
|
14224
14527
|
"type": "string",
|
|
14225
14528
|
"enum": [
|
|
14529
|
+
"ActionErrorsChannel",
|
|
14226
14530
|
"ActionsChannel",
|
|
14227
|
-
"CasesChannel",
|
|
14228
14531
|
"CaseActivityLogsChannel",
|
|
14532
|
+
"CasesChannel",
|
|
14229
14533
|
"FieldSettingsChannel",
|
|
14230
14534
|
"FieldsChannel",
|
|
14231
14535
|
"ListSavedFiltersChannel",
|
|
@@ -15069,6 +15373,26 @@
|
|
|
15069
15373
|
"$ref": "#/components/schemas/Links"
|
|
15070
15374
|
}
|
|
15071
15375
|
}
|
|
15376
|
+
},
|
|
15377
|
+
"SimpleTemplateName": {
|
|
15378
|
+
"type": "object",
|
|
15379
|
+
"additionalProperties": false,
|
|
15380
|
+
"properties": {
|
|
15381
|
+
"key": {
|
|
15382
|
+
"type": "string",
|
|
15383
|
+
"description": "Key of the field which is used to determine name for instances which use this template."
|
|
15384
|
+
}
|
|
15385
|
+
}
|
|
15386
|
+
},
|
|
15387
|
+
"InterpolatedTemplateName": {
|
|
15388
|
+
"type": "object",
|
|
15389
|
+
"additionalProperties": false,
|
|
15390
|
+
"properties": {
|
|
15391
|
+
"interpolated_name": {
|
|
15392
|
+
"type": "string",
|
|
15393
|
+
"description": "When a template calls for a more complex name you can use an interpolated name.\nThe interpolated name is a string which contains the keys of the fields which are used to determine the name.\nThe keys are surrounded by curly braces.\nFor example: \"{id} {values/given_name} {values/surname}\"\nThe interpolated values are looked up in the case or task values and the values are used to replace the keys.\nIf the interpolated value is not found in the case or task values then it is left blank.\nIf the interpolated values begins with \"values/\" then the value is looked up in the case or task values, otherwise it is looked up in the case or task itself.\n"
|
|
15394
|
+
}
|
|
15395
|
+
}
|
|
15072
15396
|
}
|
|
15073
15397
|
},
|
|
15074
15398
|
"securitySchemes": {
|