@liaisongroup/assist-api-js-client 1.5.170 → 1.5.172
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 +82 -0
- package/dist/openapi.json +104 -47
- package/dist/openapi.zod.d.ts +5929 -0
- package/dist/openapi.zod.js +22 -0
- package/package.json +1 -1
package/dist/openapi.d.ts
CHANGED
|
@@ -425,6 +425,12 @@ declare namespace Components {
|
|
|
425
425
|
*/
|
|
426
426
|
null | (string | number | number)[];
|
|
427
427
|
resource?: Type;
|
|
428
|
+
/**
|
|
429
|
+
* Only present on resource fields where the resource type is 'case'.
|
|
430
|
+
* The IDs of the case templates that should be suggested for this field.
|
|
431
|
+
*
|
|
432
|
+
*/
|
|
433
|
+
suggested_case_template_ids?: string /* uuid */[];
|
|
428
434
|
conditions?: null | SavedFilterCondition[];
|
|
429
435
|
/**
|
|
430
436
|
* Applied when the field_type is `string` - indicates that the field should be displayed as a multi-line text field.
|
|
@@ -469,6 +475,11 @@ declare namespace Components {
|
|
|
469
475
|
*
|
|
470
476
|
*/
|
|
471
477
|
DisplayCurrencySubunit;
|
|
478
|
+
/**
|
|
479
|
+
* Applied when the field_type is `date` - indicates that the amount of time passed since the date should be displayed (e.g 4 years, 3 months and 18 days).
|
|
480
|
+
*
|
|
481
|
+
*/
|
|
482
|
+
display_time_passed_since_date?: boolean;
|
|
472
483
|
/**
|
|
473
484
|
* Only present on composite fields.
|
|
474
485
|
* The keys of the fields that make up this composite field.
|
|
@@ -531,6 +542,12 @@ declare namespace Components {
|
|
|
531
542
|
*/
|
|
532
543
|
null | (string | number | number)[];
|
|
533
544
|
resource?: Type;
|
|
545
|
+
/**
|
|
546
|
+
* Only present on resource fields where the resource type is 'case'.
|
|
547
|
+
* The IDs of the case templates that should be suggested for this field.
|
|
548
|
+
*
|
|
549
|
+
*/
|
|
550
|
+
suggested_case_template_ids?: string /* uuid */[];
|
|
534
551
|
conditions?: null | SavedFilterCondition[];
|
|
535
552
|
/**
|
|
536
553
|
* Applied when the field_type is `string` - indicates that the field should be displayed as a multi-line text field.
|
|
@@ -575,6 +592,11 @@ declare namespace Components {
|
|
|
575
592
|
*
|
|
576
593
|
*/
|
|
577
594
|
DisplayCurrencySubunit;
|
|
595
|
+
/**
|
|
596
|
+
* Applied when the field_type is `date` - indicates that the amount of time passed since the date should be displayed (e.g 4 years, 3 months and 18 days).
|
|
597
|
+
*
|
|
598
|
+
*/
|
|
599
|
+
display_time_passed_since_date?: boolean;
|
|
578
600
|
/**
|
|
579
601
|
* Only present on composite fields.
|
|
580
602
|
* The keys of the fields that make up this composite field.
|
|
@@ -914,6 +936,7 @@ declare namespace Components {
|
|
|
914
936
|
* The interpolated values are looked up in the case or task values and the values are used to replace the keys.
|
|
915
937
|
* If the interpolated value is not found in the case or task values then it is left blank.
|
|
916
938
|
* 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.
|
|
939
|
+
* You can prefix keys with age: or first_character: to perform calculations on the value.
|
|
917
940
|
*
|
|
918
941
|
*/
|
|
919
942
|
interpolated_name?: string;
|
|
@@ -972,12 +995,40 @@ declare namespace Components {
|
|
|
972
995
|
};
|
|
973
996
|
sort_param?: string;
|
|
974
997
|
hidden_from_dashboard?: boolean;
|
|
998
|
+
/**
|
|
999
|
+
* example:
|
|
1000
|
+
* {
|
|
1001
|
+
* "display_expanded_task_information": true
|
|
1002
|
+
* }
|
|
1003
|
+
*/
|
|
1004
|
+
display_configuration?: {
|
|
1005
|
+
/**
|
|
1006
|
+
* Boolean flag to control display of expanded task information for case lists.
|
|
1007
|
+
* If this isn't supplied, the list will default to showing task summaries only -- no expanded task information.
|
|
1008
|
+
*
|
|
1009
|
+
*/
|
|
1010
|
+
display_expanded_task_information?: boolean;
|
|
1011
|
+
};
|
|
975
1012
|
}
|
|
976
1013
|
namespace ListAttributes {
|
|
977
1014
|
namespace Properties {
|
|
978
1015
|
export type Active = boolean;
|
|
979
1016
|
export type AdminId = string; // uuid
|
|
980
1017
|
export type Description = string | null;
|
|
1018
|
+
/**
|
|
1019
|
+
* example:
|
|
1020
|
+
* {
|
|
1021
|
+
* "display_expanded_task_information": true
|
|
1022
|
+
* }
|
|
1023
|
+
*/
|
|
1024
|
+
export interface DisplayConfiguration {
|
|
1025
|
+
/**
|
|
1026
|
+
* Boolean flag to control display of expanded task information for case lists.
|
|
1027
|
+
* If this isn't supplied, the list will default to showing task summaries only -- no expanded task information.
|
|
1028
|
+
*
|
|
1029
|
+
*/
|
|
1030
|
+
display_expanded_task_information?: boolean;
|
|
1031
|
+
}
|
|
981
1032
|
export type HiddenFromDashboard = boolean;
|
|
982
1033
|
export type ListType = "list" | "task" | "case";
|
|
983
1034
|
/**
|
|
@@ -1035,6 +1086,13 @@ declare namespace Components {
|
|
|
1035
1086
|
*/
|
|
1036
1087
|
ListAttributes.Properties.Order;
|
|
1037
1088
|
hidden_from_dashboard?: ListAttributes.Properties.HiddenFromDashboard;
|
|
1089
|
+
display_configuration?: /**
|
|
1090
|
+
* example:
|
|
1091
|
+
* {
|
|
1092
|
+
* "display_expanded_task_information": true
|
|
1093
|
+
* }
|
|
1094
|
+
*/
|
|
1095
|
+
ListAttributes.Properties.DisplayConfiguration;
|
|
1038
1096
|
}
|
|
1039
1097
|
export interface ListData {
|
|
1040
1098
|
type: "list";
|
|
@@ -1618,6 +1676,29 @@ declare namespace Components {
|
|
|
1618
1676
|
*
|
|
1619
1677
|
*/
|
|
1620
1678
|
DisplayCurrencySubunit;
|
|
1679
|
+
/**
|
|
1680
|
+
* The amount of time passed since the date broken down into years, months, weeks and days.
|
|
1681
|
+
* When the date is in the future, the values will be negative.
|
|
1682
|
+
* This will not be returned unless display_time_passed_since_date is true.
|
|
1683
|
+
* If display_time_passed_since_date is true but the date is nil then it will not be returned.
|
|
1684
|
+
*
|
|
1685
|
+
*/
|
|
1686
|
+
time_passed_since_date?: {
|
|
1687
|
+
years?: number;
|
|
1688
|
+
months?: number;
|
|
1689
|
+
weeks?: number;
|
|
1690
|
+
days?: number;
|
|
1691
|
+
/**
|
|
1692
|
+
* The long form of the time passed since the date.
|
|
1693
|
+
*
|
|
1694
|
+
*/
|
|
1695
|
+
long?: string;
|
|
1696
|
+
/**
|
|
1697
|
+
* The short form of the time passed since the date.
|
|
1698
|
+
*
|
|
1699
|
+
*/
|
|
1700
|
+
short?: string;
|
|
1701
|
+
};
|
|
1621
1702
|
}[];
|
|
1622
1703
|
export interface Tag {
|
|
1623
1704
|
data: TagData;
|
|
@@ -6397,6 +6478,7 @@ export type ListAttributes = Components.Schemas.ListAttributes;
|
|
|
6397
6478
|
export type ListAttributes/properties/active = Components.Schemas.ListAttributes.Properties.Active;
|
|
6398
6479
|
export type ListAttributes/properties/admin_id = Components.Schemas.ListAttributes.Properties.AdminId;
|
|
6399
6480
|
export type ListAttributes/properties/description = Components.Schemas.ListAttributes.Properties.Description;
|
|
6481
|
+
export type ListAttributes/properties/display_configuration = Components.Schemas.ListAttributes.Properties.DisplayConfiguration;
|
|
6400
6482
|
export type ListAttributes/properties/hidden_from_dashboard = Components.Schemas.ListAttributes.Properties.HiddenFromDashboard;
|
|
6401
6483
|
export type ListAttributes/properties/list_type = Components.Schemas.ListAttributes.Properties.ListType;
|
|
6402
6484
|
export type ListAttributes/properties/order = Components.Schemas.ListAttributes.Properties.Order;
|
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.388",
|
|
7
7
|
"license": {
|
|
8
8
|
"name": "MIT",
|
|
9
9
|
"url": "https://opensource.org/licenses/MIT"
|
|
@@ -9600,51 +9600,6 @@
|
|
|
9600
9600
|
]
|
|
9601
9601
|
}
|
|
9602
9602
|
},
|
|
9603
|
-
"CaseAttributes": {
|
|
9604
|
-
"type": "object",
|
|
9605
|
-
"additionalProperties": false,
|
|
9606
|
-
"properties": {
|
|
9607
|
-
"template_id": {
|
|
9608
|
-
"type": "string",
|
|
9609
|
-
"format": "uuid"
|
|
9610
|
-
},
|
|
9611
|
-
"name": {
|
|
9612
|
-
"anyOf": [
|
|
9613
|
-
{
|
|
9614
|
-
"type": "null"
|
|
9615
|
-
},
|
|
9616
|
-
{
|
|
9617
|
-
"type": "string"
|
|
9618
|
-
}
|
|
9619
|
-
],
|
|
9620
|
-
"readOnly": true
|
|
9621
|
-
},
|
|
9622
|
-
"tag_ids": {
|
|
9623
|
-
"type": "array",
|
|
9624
|
-
"items": {
|
|
9625
|
-
"type": "string",
|
|
9626
|
-
"format": "uuid"
|
|
9627
|
-
}
|
|
9628
|
-
},
|
|
9629
|
-
"values": {
|
|
9630
|
-
"type": "object",
|
|
9631
|
-
"description": "A key-value pair of values.\nThe keys are the field keys and the values are the value for this instance.\nThe values can be strings, integers, floats, booleans, dates, times, datetimes, or resources.\nIf the field expects multiple values then it can be an array of the these.\nIf the field is composite then it is itself and object with the same structure.\n"
|
|
9632
|
-
},
|
|
9633
|
-
"structured_values": {
|
|
9634
|
-
"$ref": "#/components/schemas/StructuredValues"
|
|
9635
|
-
},
|
|
9636
|
-
"created_at": {
|
|
9637
|
-
"type": "string",
|
|
9638
|
-
"format": "date-time",
|
|
9639
|
-
"readOnly": true
|
|
9640
|
-
},
|
|
9641
|
-
"updated_at": {
|
|
9642
|
-
"type": "string",
|
|
9643
|
-
"format": "date-time",
|
|
9644
|
-
"readOnly": true
|
|
9645
|
-
}
|
|
9646
|
-
}
|
|
9647
|
-
},
|
|
9648
9603
|
"AuthApplicationAttributes": {
|
|
9649
9604
|
"type": "object",
|
|
9650
9605
|
"properties": {
|
|
@@ -9718,6 +9673,51 @@
|
|
|
9718
9673
|
}
|
|
9719
9674
|
}
|
|
9720
9675
|
},
|
|
9676
|
+
"CaseAttributes": {
|
|
9677
|
+
"type": "object",
|
|
9678
|
+
"additionalProperties": false,
|
|
9679
|
+
"properties": {
|
|
9680
|
+
"template_id": {
|
|
9681
|
+
"type": "string",
|
|
9682
|
+
"format": "uuid"
|
|
9683
|
+
},
|
|
9684
|
+
"name": {
|
|
9685
|
+
"anyOf": [
|
|
9686
|
+
{
|
|
9687
|
+
"type": "null"
|
|
9688
|
+
},
|
|
9689
|
+
{
|
|
9690
|
+
"type": "string"
|
|
9691
|
+
}
|
|
9692
|
+
],
|
|
9693
|
+
"readOnly": true
|
|
9694
|
+
},
|
|
9695
|
+
"tag_ids": {
|
|
9696
|
+
"type": "array",
|
|
9697
|
+
"items": {
|
|
9698
|
+
"type": "string",
|
|
9699
|
+
"format": "uuid"
|
|
9700
|
+
}
|
|
9701
|
+
},
|
|
9702
|
+
"values": {
|
|
9703
|
+
"type": "object",
|
|
9704
|
+
"description": "A key-value pair of values.\nThe keys are the field keys and the values are the value for this instance.\nThe values can be strings, integers, floats, booleans, dates, times, datetimes, or resources.\nIf the field expects multiple values then it can be an array of the these.\nIf the field is composite then it is itself and object with the same structure.\n"
|
|
9705
|
+
},
|
|
9706
|
+
"structured_values": {
|
|
9707
|
+
"$ref": "#/components/schemas/StructuredValues"
|
|
9708
|
+
},
|
|
9709
|
+
"created_at": {
|
|
9710
|
+
"type": "string",
|
|
9711
|
+
"format": "date-time",
|
|
9712
|
+
"readOnly": true
|
|
9713
|
+
},
|
|
9714
|
+
"updated_at": {
|
|
9715
|
+
"type": "string",
|
|
9716
|
+
"format": "date-time",
|
|
9717
|
+
"readOnly": true
|
|
9718
|
+
}
|
|
9719
|
+
}
|
|
9720
|
+
},
|
|
9721
9721
|
"CaseCreateAttributes": {
|
|
9722
9722
|
"type": "object",
|
|
9723
9723
|
"required": [
|
|
@@ -10417,6 +10417,14 @@
|
|
|
10417
10417
|
"resource": {
|
|
10418
10418
|
"$ref": "#/components/schemas/Type"
|
|
10419
10419
|
},
|
|
10420
|
+
"suggested_case_template_ids": {
|
|
10421
|
+
"type": "array",
|
|
10422
|
+
"items": {
|
|
10423
|
+
"type": "string",
|
|
10424
|
+
"format": "uuid"
|
|
10425
|
+
},
|
|
10426
|
+
"description": "Only present on resource fields where the resource type is 'case'.\nThe IDs of the case templates that should be suggested for this field.\n"
|
|
10427
|
+
},
|
|
10420
10428
|
"conditions": {
|
|
10421
10429
|
"anyOf": [
|
|
10422
10430
|
{
|
|
@@ -10469,6 +10477,11 @@
|
|
|
10469
10477
|
"display_currency_subunit": {
|
|
10470
10478
|
"$ref": "#/components/schemas/DisplayCurrencySubunit"
|
|
10471
10479
|
},
|
|
10480
|
+
"display_time_passed_since_date": {
|
|
10481
|
+
"type": "boolean",
|
|
10482
|
+
"default": false,
|
|
10483
|
+
"description": "Applied when the field_type is `date` - indicates that the amount of time passed since the date should be displayed (e.g 4 years, 3 months and 18 days).\n"
|
|
10484
|
+
},
|
|
10472
10485
|
"field_keys": {
|
|
10473
10486
|
"type": "array",
|
|
10474
10487
|
"items": {
|
|
@@ -11465,6 +11478,20 @@
|
|
|
11465
11478
|
"hidden_from_dashboard": {
|
|
11466
11479
|
"type": "boolean",
|
|
11467
11480
|
"default": false
|
|
11481
|
+
},
|
|
11482
|
+
"display_configuration": {
|
|
11483
|
+
"type": "object",
|
|
11484
|
+
"additionalProperties": false,
|
|
11485
|
+
"default": {},
|
|
11486
|
+
"properties": {
|
|
11487
|
+
"display_expanded_task_information": {
|
|
11488
|
+
"type": "boolean",
|
|
11489
|
+
"description": "Boolean flag to control display of expanded task information for case lists.\nIf this isn't supplied, the list will default to showing task summaries only -- no expanded task information.\n"
|
|
11490
|
+
}
|
|
11491
|
+
},
|
|
11492
|
+
"example": {
|
|
11493
|
+
"display_expanded_task_information": true
|
|
11494
|
+
}
|
|
11468
11495
|
}
|
|
11469
11496
|
}
|
|
11470
11497
|
},
|
|
@@ -11504,6 +11531,9 @@
|
|
|
11504
11531
|
},
|
|
11505
11532
|
"hidden_from_dashboard": {
|
|
11506
11533
|
"$ref": "#/components/schemas/ListAttributes/properties/hidden_from_dashboard"
|
|
11534
|
+
},
|
|
11535
|
+
"display_configuration": {
|
|
11536
|
+
"$ref": "#/components/schemas/ListAttributes/properties/display_configuration"
|
|
11507
11537
|
}
|
|
11508
11538
|
}
|
|
11509
11539
|
},
|
|
@@ -15520,6 +15550,33 @@
|
|
|
15520
15550
|
},
|
|
15521
15551
|
"display_currency_subunit": {
|
|
15522
15552
|
"$ref": "#/components/schemas/DisplayCurrencySubunit"
|
|
15553
|
+
},
|
|
15554
|
+
"time_passed_since_date": {
|
|
15555
|
+
"description": "The amount of time passed since the date broken down into years, months, weeks and days.\nWhen the date is in the future, the values will be negative.\nThis will not be returned unless display_time_passed_since_date is true.\nIf display_time_passed_since_date is true but the date is nil then it will not be returned.\n",
|
|
15556
|
+
"readOnly": true,
|
|
15557
|
+
"type": "object",
|
|
15558
|
+
"properties": {
|
|
15559
|
+
"years": {
|
|
15560
|
+
"type": "integer"
|
|
15561
|
+
},
|
|
15562
|
+
"months": {
|
|
15563
|
+
"type": "integer"
|
|
15564
|
+
},
|
|
15565
|
+
"weeks": {
|
|
15566
|
+
"type": "integer"
|
|
15567
|
+
},
|
|
15568
|
+
"days": {
|
|
15569
|
+
"type": "integer"
|
|
15570
|
+
},
|
|
15571
|
+
"long": {
|
|
15572
|
+
"description": "The long form of the time passed since the date.\n",
|
|
15573
|
+
"type": "string"
|
|
15574
|
+
},
|
|
15575
|
+
"short": {
|
|
15576
|
+
"description": "The short form of the time passed since the date.\n",
|
|
15577
|
+
"type": "string"
|
|
15578
|
+
}
|
|
15579
|
+
}
|
|
15523
15580
|
}
|
|
15524
15581
|
}
|
|
15525
15582
|
}
|
|
@@ -16128,7 +16185,7 @@
|
|
|
16128
16185
|
"properties": {
|
|
16129
16186
|
"interpolated_name": {
|
|
16130
16187
|
"type": "string",
|
|
16131
|
-
"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"
|
|
16188
|
+
"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"
|
|
16132
16189
|
}
|
|
16133
16190
|
}
|
|
16134
16191
|
},
|