@liaisongroup/assist-api-js-client 1.5.176 → 1.5.178
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 +61 -0
- package/dist/openapi.json +121 -2
- package/dist/openapi.zod.d.ts +32478 -1142
- package/dist/openapi.zod.js +19 -0
- package/package.json +1 -1
package/dist/openapi.d.ts
CHANGED
|
@@ -211,6 +211,24 @@ declare namespace Components {
|
|
|
211
211
|
[key: string]: any;
|
|
212
212
|
};
|
|
213
213
|
structured_values?: StructuredValues;
|
|
214
|
+
/**
|
|
215
|
+
* A list of attributes, values and associated values formatted for the index context.
|
|
216
|
+
*
|
|
217
|
+
*/
|
|
218
|
+
index_structured_values?: /**
|
|
219
|
+
* A list of attributes, values and associated values formatted for the index context.
|
|
220
|
+
*
|
|
221
|
+
*/
|
|
222
|
+
null | StructuredValues;
|
|
223
|
+
/**
|
|
224
|
+
* A list of attributes, values and associated values formatted for the show context.
|
|
225
|
+
*
|
|
226
|
+
*/
|
|
227
|
+
show_structured_values?: /**
|
|
228
|
+
* A list of attributes, values and associated values formatted for the show context.
|
|
229
|
+
*
|
|
230
|
+
*/
|
|
231
|
+
null | StructuredValues;
|
|
214
232
|
created_at?: string; // date-time
|
|
215
233
|
updated_at?: string; // date-time
|
|
216
234
|
}
|
|
@@ -935,6 +953,8 @@ declare namespace Components {
|
|
|
935
953
|
* The keys are surrounded by curly braces.
|
|
936
954
|
* For example: "{id} {values/given_name} {values/surname}"
|
|
937
955
|
* The interpolated values are looked up in the case or task values and the values are used to replace the keys.
|
|
956
|
+
* You can also use associated values by prefixing the key with the resource field key and a pipe character, then the target field key.
|
|
957
|
+
* For example: "{values/patient|given_name}"
|
|
938
958
|
* If the interpolated value is not found in the case or task values then it is left blank.
|
|
939
959
|
* 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.
|
|
940
960
|
* You can prefix keys with age: or first_character: to perform calculations on the value.
|
|
@@ -1789,6 +1809,24 @@ declare namespace Components {
|
|
|
1789
1809
|
[key: string]: any;
|
|
1790
1810
|
};
|
|
1791
1811
|
structured_values?: StructuredValues;
|
|
1812
|
+
/**
|
|
1813
|
+
* A list of attributes, values and associated values formatted for the index context.
|
|
1814
|
+
*
|
|
1815
|
+
*/
|
|
1816
|
+
index_structured_values?: /**
|
|
1817
|
+
* A list of attributes, values and associated values formatted for the index context.
|
|
1818
|
+
*
|
|
1819
|
+
*/
|
|
1820
|
+
null | StructuredValues;
|
|
1821
|
+
/**
|
|
1822
|
+
* A list of attributes, values and associated values formatted for the show context.
|
|
1823
|
+
*
|
|
1824
|
+
*/
|
|
1825
|
+
show_structured_values?: /**
|
|
1826
|
+
* A list of attributes, values and associated values formatted for the show context.
|
|
1827
|
+
*
|
|
1828
|
+
*/
|
|
1829
|
+
null | StructuredValues;
|
|
1792
1830
|
start_at?: string; // date-time
|
|
1793
1831
|
end_at?: null | string /* date-time */;
|
|
1794
1832
|
user_ids?: string /* uuid */[];
|
|
@@ -2063,6 +2101,18 @@ declare namespace Components {
|
|
|
2063
2101
|
schema?: {
|
|
2064
2102
|
name?: null | SimpleTemplateName | InterpolatedTemplateName;
|
|
2065
2103
|
};
|
|
2104
|
+
index_display_configuration?: TemplateSchemaItems;
|
|
2105
|
+
show_display_configuration?: TemplateSchemaItems;
|
|
2106
|
+
/**
|
|
2107
|
+
* A list of schema items which could be used to display the template with supporting metadata.
|
|
2108
|
+
* An array of the value components of these items can be used to populate the index and show schemas in order to determine how instances of the template are rendered in the show and index contexts.
|
|
2109
|
+
*
|
|
2110
|
+
*/
|
|
2111
|
+
suggested_display_configuration_items_with_metadata?: {
|
|
2112
|
+
group?: string;
|
|
2113
|
+
label?: string;
|
|
2114
|
+
value?: TemplateSchemaItem;
|
|
2115
|
+
}[];
|
|
2066
2116
|
created_at?: string; // date-time
|
|
2067
2117
|
updated_at?: string; // date-time
|
|
2068
2118
|
}
|
|
@@ -2128,6 +2178,15 @@ declare namespace Components {
|
|
|
2128
2178
|
};
|
|
2129
2179
|
links?: Links;
|
|
2130
2180
|
}
|
|
2181
|
+
export type TemplateSchemaItem = {
|
|
2182
|
+
attribute: string;
|
|
2183
|
+
} | {
|
|
2184
|
+
key: string;
|
|
2185
|
+
} | {
|
|
2186
|
+
field: string;
|
|
2187
|
+
key: string;
|
|
2188
|
+
};
|
|
2189
|
+
export type TemplateSchemaItems = TemplateSchemaItem[];
|
|
2131
2190
|
export interface Templates {
|
|
2132
2191
|
data: TemplateData[];
|
|
2133
2192
|
meta: Meta;
|
|
@@ -6661,6 +6720,8 @@ export type TemplateData/properties/relationships = Components.Schemas.TemplateD
|
|
|
6661
6720
|
export type TemplateInclusion = Components.Schemas.TemplateInclusion;
|
|
6662
6721
|
export type TemplateInclusions = Components.Schemas.TemplateInclusions;
|
|
6663
6722
|
export type TemplateRelationship = Components.Schemas.TemplateRelationship;
|
|
6723
|
+
export type TemplateSchemaItem = Components.Schemas.TemplateSchemaItem;
|
|
6724
|
+
export type TemplateSchemaItems = Components.Schemas.TemplateSchemaItems;
|
|
6664
6725
|
export type Templates = Components.Schemas.Templates;
|
|
6665
6726
|
export type TemplatesRelationship = Components.Schemas.TemplatesRelationship;
|
|
6666
6727
|
export type Type = Components.Schemas.Type;
|
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.396",
|
|
7
7
|
"license": {
|
|
8
8
|
"name": "MIT",
|
|
9
9
|
"url": "https://opensource.org/licenses/MIT"
|
|
@@ -9706,6 +9706,28 @@
|
|
|
9706
9706
|
"structured_values": {
|
|
9707
9707
|
"$ref": "#/components/schemas/StructuredValues"
|
|
9708
9708
|
},
|
|
9709
|
+
"index_structured_values": {
|
|
9710
|
+
"description": "A list of attributes, values and associated values formatted for the index context.\n",
|
|
9711
|
+
"oneOf": [
|
|
9712
|
+
{
|
|
9713
|
+
"type": "null"
|
|
9714
|
+
},
|
|
9715
|
+
{
|
|
9716
|
+
"$ref": "#/components/schemas/StructuredValues"
|
|
9717
|
+
}
|
|
9718
|
+
]
|
|
9719
|
+
},
|
|
9720
|
+
"show_structured_values": {
|
|
9721
|
+
"description": "A list of attributes, values and associated values formatted for the show context.\n",
|
|
9722
|
+
"oneOf": [
|
|
9723
|
+
{
|
|
9724
|
+
"type": "null"
|
|
9725
|
+
},
|
|
9726
|
+
{
|
|
9727
|
+
"$ref": "#/components/schemas/StructuredValues"
|
|
9728
|
+
}
|
|
9729
|
+
]
|
|
9730
|
+
},
|
|
9709
9731
|
"created_at": {
|
|
9710
9732
|
"type": "string",
|
|
9711
9733
|
"format": "date-time",
|
|
@@ -13466,6 +13488,28 @@
|
|
|
13466
13488
|
"structured_values": {
|
|
13467
13489
|
"$ref": "#/components/schemas/StructuredValues"
|
|
13468
13490
|
},
|
|
13491
|
+
"index_structured_values": {
|
|
13492
|
+
"description": "A list of attributes, values and associated values formatted for the index context.\n",
|
|
13493
|
+
"oneOf": [
|
|
13494
|
+
{
|
|
13495
|
+
"type": "null"
|
|
13496
|
+
},
|
|
13497
|
+
{
|
|
13498
|
+
"$ref": "#/components/schemas/StructuredValues"
|
|
13499
|
+
}
|
|
13500
|
+
]
|
|
13501
|
+
},
|
|
13502
|
+
"show_structured_values": {
|
|
13503
|
+
"description": "A list of attributes, values and associated values formatted for the show context.\n",
|
|
13504
|
+
"oneOf": [
|
|
13505
|
+
{
|
|
13506
|
+
"type": "null"
|
|
13507
|
+
},
|
|
13508
|
+
{
|
|
13509
|
+
"$ref": "#/components/schemas/StructuredValues"
|
|
13510
|
+
}
|
|
13511
|
+
]
|
|
13512
|
+
},
|
|
13469
13513
|
"start_at": {
|
|
13470
13514
|
"type": "string",
|
|
13471
13515
|
"format": "date-time"
|
|
@@ -14295,6 +14339,31 @@
|
|
|
14295
14339
|
}
|
|
14296
14340
|
}
|
|
14297
14341
|
},
|
|
14342
|
+
"index_display_configuration": {
|
|
14343
|
+
"$ref": "#/components/schemas/TemplateSchemaItems"
|
|
14344
|
+
},
|
|
14345
|
+
"show_display_configuration": {
|
|
14346
|
+
"$ref": "#/components/schemas/TemplateSchemaItems"
|
|
14347
|
+
},
|
|
14348
|
+
"suggested_display_configuration_items_with_metadata": {
|
|
14349
|
+
"description": "A list of schema items which could be used to display the template with supporting metadata.\nAn array of the value components of these items can be used to populate the index and show schemas in order to determine how instances of the template are rendered in the show and index contexts.\n",
|
|
14350
|
+
"readOnly": true,
|
|
14351
|
+
"type": "array",
|
|
14352
|
+
"items": {
|
|
14353
|
+
"type": "object",
|
|
14354
|
+
"properties": {
|
|
14355
|
+
"group": {
|
|
14356
|
+
"type": "string"
|
|
14357
|
+
},
|
|
14358
|
+
"label": {
|
|
14359
|
+
"type": "string"
|
|
14360
|
+
},
|
|
14361
|
+
"value": {
|
|
14362
|
+
"$ref": "#/components/schemas/TemplateSchemaItem"
|
|
14363
|
+
}
|
|
14364
|
+
}
|
|
14365
|
+
}
|
|
14366
|
+
},
|
|
14298
14367
|
"created_at": {
|
|
14299
14368
|
"type": "string",
|
|
14300
14369
|
"format": "date-time",
|
|
@@ -16204,8 +16273,58 @@
|
|
|
16204
16273
|
"properties": {
|
|
16205
16274
|
"interpolated_name": {
|
|
16206
16275
|
"type": "string",
|
|
16207
|
-
"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.\nYou can prefix keys with age: or first_character: to perform calculations on the value.\n"
|
|
16276
|
+
"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.\nYou can also use associated values by prefixing the key with the resource field key and a pipe character, then the target field key.\nFor example: \"{values/patient|given_name}\"\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.\nYou can prefix keys with age: or first_character: to perform calculations on the value.\n"
|
|
16277
|
+
}
|
|
16278
|
+
}
|
|
16279
|
+
},
|
|
16280
|
+
"TemplateSchemaItem": {
|
|
16281
|
+
"anyOf": [
|
|
16282
|
+
{
|
|
16283
|
+
"type": "object",
|
|
16284
|
+
"additionalProperties": false,
|
|
16285
|
+
"required": [
|
|
16286
|
+
"attribute"
|
|
16287
|
+
],
|
|
16288
|
+
"properties": {
|
|
16289
|
+
"attribute": {
|
|
16290
|
+
"type": "string"
|
|
16291
|
+
}
|
|
16292
|
+
}
|
|
16293
|
+
},
|
|
16294
|
+
{
|
|
16295
|
+
"type": "object",
|
|
16296
|
+
"additionalProperties": false,
|
|
16297
|
+
"required": [
|
|
16298
|
+
"key"
|
|
16299
|
+
],
|
|
16300
|
+
"properties": {
|
|
16301
|
+
"key": {
|
|
16302
|
+
"type": "string"
|
|
16303
|
+
}
|
|
16304
|
+
}
|
|
16305
|
+
},
|
|
16306
|
+
{
|
|
16307
|
+
"type": "object",
|
|
16308
|
+
"additionalProperties": false,
|
|
16309
|
+
"required": [
|
|
16310
|
+
"field",
|
|
16311
|
+
"key"
|
|
16312
|
+
],
|
|
16313
|
+
"properties": {
|
|
16314
|
+
"field": {
|
|
16315
|
+
"type": "string"
|
|
16316
|
+
},
|
|
16317
|
+
"key": {
|
|
16318
|
+
"type": "string"
|
|
16319
|
+
}
|
|
16320
|
+
}
|
|
16208
16321
|
}
|
|
16322
|
+
]
|
|
16323
|
+
},
|
|
16324
|
+
"TemplateSchemaItems": {
|
|
16325
|
+
"type": "array",
|
|
16326
|
+
"items": {
|
|
16327
|
+
"$ref": "#/components/schemas/TemplateSchemaItem"
|
|
16209
16328
|
}
|
|
16210
16329
|
},
|
|
16211
16330
|
"UserSummary": {
|