@liaisongroup/assist-api-js-client 1.5.123 → 1.5.124
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 +112 -4
- package/dist/openapi.json +223 -8
- package/dist/openapi.zod.d.ts +3371 -520
- package/dist/openapi.zod.js +35 -8
- package/package.json +1 -1
package/dist/openapi.d.ts
CHANGED
|
@@ -107,6 +107,24 @@ declare namespace Components {
|
|
|
107
107
|
included?: ActionInclusions;
|
|
108
108
|
}
|
|
109
109
|
export type AdministrableResources = ("user" | "field" | "template" | "saved_filter" | "list" | "tag" | "role")[];
|
|
110
|
+
export interface AuthApplication {
|
|
111
|
+
data: AuthApplicationData;
|
|
112
|
+
links: Links;
|
|
113
|
+
}
|
|
114
|
+
export interface AuthApplicationAttributes {
|
|
115
|
+
name?: string;
|
|
116
|
+
uid?: string;
|
|
117
|
+
}
|
|
118
|
+
export interface AuthApplicationData {
|
|
119
|
+
type: "auth_application";
|
|
120
|
+
id: string;
|
|
121
|
+
attributes: AuthApplicationAttributes;
|
|
122
|
+
}
|
|
123
|
+
export interface AuthApplications {
|
|
124
|
+
data: AuthApplicationData[];
|
|
125
|
+
meta: Meta;
|
|
126
|
+
links: Links;
|
|
127
|
+
}
|
|
110
128
|
export interface BroadcastEvent {
|
|
111
129
|
type: "destroyed" | "updated" | "created";
|
|
112
130
|
data: {
|
|
@@ -618,6 +636,12 @@ declare namespace Components {
|
|
|
618
636
|
export interface FieldSettingAttributes {
|
|
619
637
|
field_id?: string; // uuid
|
|
620
638
|
template_id?: string; // uuid
|
|
639
|
+
/**
|
|
640
|
+
* The roles that are allowed to access this field setting.
|
|
641
|
+
* If not provided, the field setting will be accessible to all roles.
|
|
642
|
+
*
|
|
643
|
+
*/
|
|
644
|
+
role_ids?: string /* uuid */[];
|
|
621
645
|
required?: boolean;
|
|
622
646
|
position?: number;
|
|
623
647
|
meta?: {
|
|
@@ -746,12 +770,24 @@ declare namespace Components {
|
|
|
746
770
|
}
|
|
747
771
|
export type Position = number;
|
|
748
772
|
export type Required = boolean;
|
|
773
|
+
/**
|
|
774
|
+
* The roles that are allowed to access this field setting.
|
|
775
|
+
* If not provided, the field setting will be accessible to all roles.
|
|
776
|
+
*
|
|
777
|
+
*/
|
|
778
|
+
export type RoleIds = string /* uuid */[];
|
|
749
779
|
export type TemplateId = string; // uuid
|
|
750
780
|
}
|
|
751
781
|
}
|
|
752
782
|
export interface FieldSettingCreateAttributes {
|
|
753
783
|
field_id: FieldSettingAttributes.Properties.FieldId /* uuid */;
|
|
754
784
|
template_id: FieldSettingAttributes.Properties.TemplateId /* uuid */;
|
|
785
|
+
role_ids?: /**
|
|
786
|
+
* The roles that are allowed to access this field setting.
|
|
787
|
+
* If not provided, the field setting will be accessible to all roles.
|
|
788
|
+
*
|
|
789
|
+
*/
|
|
790
|
+
FieldSettingAttributes.Properties.RoleIds;
|
|
755
791
|
required?: FieldSettingAttributes.Properties.Required;
|
|
756
792
|
position?: FieldSettingAttributes.Properties.Position;
|
|
757
793
|
meta?: FieldSettingAttributes.Properties.Meta;
|
|
@@ -762,6 +798,7 @@ declare namespace Components {
|
|
|
762
798
|
attributes: FieldSettingAttributes;
|
|
763
799
|
relationships: {
|
|
764
800
|
field?: FieldRelationship;
|
|
801
|
+
roles?: RolesRelationship;
|
|
765
802
|
template?: TemplateRelationship;
|
|
766
803
|
versions?: VersionsRelationship;
|
|
767
804
|
};
|
|
@@ -770,6 +807,7 @@ declare namespace Components {
|
|
|
770
807
|
namespace Properties {
|
|
771
808
|
export interface Relationships {
|
|
772
809
|
field?: FieldRelationship;
|
|
810
|
+
roles?: RolesRelationship;
|
|
773
811
|
template?: TemplateRelationship;
|
|
774
812
|
versions?: VersionsRelationship;
|
|
775
813
|
}
|
|
@@ -781,7 +819,7 @@ declare namespace Components {
|
|
|
781
819
|
attributes: FieldSettingAttributes;
|
|
782
820
|
relationships: FieldSettingData.Properties.Relationships;
|
|
783
821
|
}
|
|
784
|
-
export type FieldSettingInclusions = (CaseInclusion | FieldInclusion | FieldSettingInclusion | NoteInclusion | TagInclusion | TaskInclusion | TemplateInclusion | VersionInclusion)[];
|
|
822
|
+
export type FieldSettingInclusions = (CaseInclusion | FieldInclusion | FieldSettingInclusion | NoteInclusion | RoleInclusion | TagInclusion | TaskInclusion | TemplateInclusion | VersionInclusion)[];
|
|
785
823
|
export interface FieldSettings {
|
|
786
824
|
data: FieldSettingData[];
|
|
787
825
|
meta: Meta;
|
|
@@ -875,7 +913,7 @@ declare namespace Components {
|
|
|
875
913
|
*/
|
|
876
914
|
interpolated_name?: string;
|
|
877
915
|
}
|
|
878
|
-
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";
|
|
916
|
+
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" | "task_duration";
|
|
879
917
|
export interface Links {
|
|
880
918
|
self?: string;
|
|
881
919
|
current?: string;
|
|
@@ -1385,8 +1423,9 @@ declare namespace Components {
|
|
|
1385
1423
|
}
|
|
1386
1424
|
export type RoleInclusions = (UserInclusion | TeamInclusion)[];
|
|
1387
1425
|
export interface RoleRelationships {
|
|
1388
|
-
|
|
1426
|
+
field_settings?: FieldSettingsRelationship;
|
|
1389
1427
|
teams?: TeamsRelationship;
|
|
1428
|
+
users?: UsersRelationship;
|
|
1390
1429
|
}
|
|
1391
1430
|
export interface Roles {
|
|
1392
1431
|
data: RoleData[];
|
|
@@ -2059,13 +2098,21 @@ declare namespace Components {
|
|
|
2059
2098
|
*/
|
|
2060
2099
|
password_required?: boolean;
|
|
2061
2100
|
/**
|
|
2062
|
-
*
|
|
2101
|
+
* DEPRECATED: Use `invitation_destination_url` instead - this will be removed in a future release.
|
|
2102
|
+
* Can be set to true to send an invitation email to the user upon creation - this email does not contain instructions on how to setup an account - it is purely to inform the user that an account has been created for them.
|
|
2063
2103
|
*
|
|
2064
2104
|
*/
|
|
2065
2105
|
send_invitation?: boolean;
|
|
2106
|
+
/**
|
|
2107
|
+
* The URL the invitation email should send the user to.
|
|
2108
|
+
* Setting this value triggers the "Invitation" email to be sent to the user.
|
|
2109
|
+
*
|
|
2110
|
+
*/
|
|
2111
|
+
invitation_destination_url?: string; // uri
|
|
2066
2112
|
/**
|
|
2067
2113
|
* The URL the set password email should send the user to in order to set their password.
|
|
2068
2114
|
* The API will append a token to the URL as a query parameter (e.g. `https://localhost:3000/set-password?token=123456`).
|
|
2115
|
+
* Setting this value triggers the "Set password" email to be sent to the user.
|
|
2069
2116
|
*
|
|
2070
2117
|
* example:
|
|
2071
2118
|
* https://localhost:3000/set-password
|
|
@@ -3447,6 +3494,13 @@ declare namespace Paths {
|
|
|
3447
3494
|
export type $403 = Components.Schemas.Errors;
|
|
3448
3495
|
}
|
|
3449
3496
|
}
|
|
3497
|
+
namespace IndexAuthApplications {
|
|
3498
|
+
namespace Responses {
|
|
3499
|
+
export type $200 = Components.Schemas.AuthApplications;
|
|
3500
|
+
export type $401 = Components.Schemas.Errors;
|
|
3501
|
+
export type $403 = Components.Schemas.Errors;
|
|
3502
|
+
}
|
|
3503
|
+
}
|
|
3450
3504
|
namespace IntrospectAccessToken {
|
|
3451
3505
|
export interface RequestBody {
|
|
3452
3506
|
token: string; // jwt
|
|
@@ -3519,6 +3573,19 @@ declare namespace Paths {
|
|
|
3519
3573
|
}
|
|
3520
3574
|
}
|
|
3521
3575
|
}
|
|
3576
|
+
namespace ShowAuthApplication {
|
|
3577
|
+
namespace Parameters {
|
|
3578
|
+
export type Id = string; // uuid
|
|
3579
|
+
}
|
|
3580
|
+
export interface PathParameters {
|
|
3581
|
+
id: Parameters.Id /* uuid */;
|
|
3582
|
+
}
|
|
3583
|
+
namespace Responses {
|
|
3584
|
+
export type $200 = Components.Schemas.AuthApplication;
|
|
3585
|
+
export type $401 = Components.Schemas.Errors;
|
|
3586
|
+
export type $403 = Components.Schemas.Errors;
|
|
3587
|
+
}
|
|
3588
|
+
}
|
|
3522
3589
|
namespace UpdateAction {
|
|
3523
3590
|
namespace Parameters {
|
|
3524
3591
|
export type Id = string; // uuid
|
|
@@ -4992,6 +5059,22 @@ export interface OperationMethods {
|
|
|
4992
5059
|
data?: Paths.CreatePushSubscription.RequestBody,
|
|
4993
5060
|
config?: AxiosRequestConfig
|
|
4994
5061
|
): OperationResponse<Paths.CreatePushSubscription.Responses.$201>
|
|
5062
|
+
/**
|
|
5063
|
+
* index_auth_applications - List auth applications
|
|
5064
|
+
*/
|
|
5065
|
+
'index_auth_applications'(
|
|
5066
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
5067
|
+
data?: any,
|
|
5068
|
+
config?: AxiosRequestConfig
|
|
5069
|
+
): OperationResponse<Paths.IndexAuthApplications.Responses.$200>
|
|
5070
|
+
/**
|
|
5071
|
+
* show_auth_application - Show auth application
|
|
5072
|
+
*/
|
|
5073
|
+
'show_auth_application'(
|
|
5074
|
+
parameters?: Parameters<Paths.ShowAuthApplication.PathParameters> | null,
|
|
5075
|
+
data?: any,
|
|
5076
|
+
config?: AxiosRequestConfig
|
|
5077
|
+
): OperationResponse<Paths.ShowAuthApplication.Responses.$200>
|
|
4995
5078
|
}
|
|
4996
5079
|
|
|
4997
5080
|
export interface PathsDictionary {
|
|
@@ -6136,6 +6219,26 @@ export interface PathsDictionary {
|
|
|
6136
6219
|
config?: AxiosRequestConfig
|
|
6137
6220
|
): OperationResponse<Paths.CreatePushSubscription.Responses.$201>
|
|
6138
6221
|
}
|
|
6222
|
+
['/auth_applications']: {
|
|
6223
|
+
/**
|
|
6224
|
+
* index_auth_applications - List auth applications
|
|
6225
|
+
*/
|
|
6226
|
+
'get'(
|
|
6227
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
6228
|
+
data?: any,
|
|
6229
|
+
config?: AxiosRequestConfig
|
|
6230
|
+
): OperationResponse<Paths.IndexAuthApplications.Responses.$200>
|
|
6231
|
+
}
|
|
6232
|
+
['/auth_applications/{id}']: {
|
|
6233
|
+
/**
|
|
6234
|
+
* show_auth_application - Show auth application
|
|
6235
|
+
*/
|
|
6236
|
+
'get'(
|
|
6237
|
+
parameters?: Parameters<Paths.ShowAuthApplication.PathParameters> | null,
|
|
6238
|
+
data?: any,
|
|
6239
|
+
config?: AxiosRequestConfig
|
|
6240
|
+
): OperationResponse<Paths.ShowAuthApplication.Responses.$200>
|
|
6241
|
+
}
|
|
6139
6242
|
}
|
|
6140
6243
|
|
|
6141
6244
|
export type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|
|
@@ -6162,6 +6265,10 @@ export type ActionTypeInputsOutputs = Components.Schemas.ActionTypeInputsOutputs
|
|
|
6162
6265
|
export type ActionTypes = Components.Schemas.ActionTypes;
|
|
6163
6266
|
export type Actions = Components.Schemas.Actions;
|
|
6164
6267
|
export type AdministrableResources = Components.Schemas.AdministrableResources;
|
|
6268
|
+
export type AuthApplication = Components.Schemas.AuthApplication;
|
|
6269
|
+
export type AuthApplicationAttributes = Components.Schemas.AuthApplicationAttributes;
|
|
6270
|
+
export type AuthApplicationData = Components.Schemas.AuthApplicationData;
|
|
6271
|
+
export type AuthApplications = Components.Schemas.AuthApplications;
|
|
6165
6272
|
export type BroadcastEvent = Components.Schemas.BroadcastEvent;
|
|
6166
6273
|
export type BroadcastToEvent = Components.Schemas.BroadcastToEvent;
|
|
6167
6274
|
export type CalculationAction = Components.Schemas.CalculationAction;
|
|
@@ -6212,6 +6319,7 @@ export type FieldSettingAttributes/properties/field_id = Components.Schemas.Fiel
|
|
|
6212
6319
|
export type FieldSettingAttributes/properties/meta = Components.Schemas.FieldSettingAttributes.Properties.Meta;
|
|
6213
6320
|
export type FieldSettingAttributes/properties/position = Components.Schemas.FieldSettingAttributes.Properties.Position;
|
|
6214
6321
|
export type FieldSettingAttributes/properties/required = Components.Schemas.FieldSettingAttributes.Properties.Required;
|
|
6322
|
+
export type FieldSettingAttributes/properties/role_ids = Components.Schemas.FieldSettingAttributes.Properties.RoleIds;
|
|
6215
6323
|
export type FieldSettingAttributes/properties/template_id = Components.Schemas.FieldSettingAttributes.Properties.TemplateId;
|
|
6216
6324
|
export type FieldSettingCreateAttributes = Components.Schemas.FieldSettingCreateAttributes;
|
|
6217
6325
|
export type FieldSettingData = Components.Schemas.FieldSettingData;
|
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.350",
|
|
7
7
|
"license": {
|
|
8
8
|
"name": "MIT",
|
|
9
9
|
"url": "https://opensource.org/licenses/MIT"
|
|
@@ -159,6 +159,10 @@
|
|
|
159
159
|
{
|
|
160
160
|
"name": "Password Resets",
|
|
161
161
|
"description": "Password resets are used to reset a user's password.\nA password reset journey can be started with via the POST `/password_resets` endpoint.\nThe journey can be completed by sending a PUT request to `/password_resets/{token}`.\n"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"name": "Auth Applications",
|
|
165
|
+
"description": "Auth Applications are used to store information about the applications that are allowed to use the API.\n"
|
|
162
166
|
}
|
|
163
167
|
],
|
|
164
168
|
"paths": {
|
|
@@ -9105,6 +9109,115 @@
|
|
|
9105
9109
|
}
|
|
9106
9110
|
}
|
|
9107
9111
|
}
|
|
9112
|
+
},
|
|
9113
|
+
"/auth_applications": {
|
|
9114
|
+
"get": {
|
|
9115
|
+
"operationId": "index_auth_applications",
|
|
9116
|
+
"summary": "List auth applications",
|
|
9117
|
+
"tags": [
|
|
9118
|
+
"Auth Applications"
|
|
9119
|
+
],
|
|
9120
|
+
"security": [
|
|
9121
|
+
{
|
|
9122
|
+
"bearerAuth": []
|
|
9123
|
+
},
|
|
9124
|
+
{
|
|
9125
|
+
"cookieAuth": []
|
|
9126
|
+
}
|
|
9127
|
+
],
|
|
9128
|
+
"responses": {
|
|
9129
|
+
"200": {
|
|
9130
|
+
"description": "OK",
|
|
9131
|
+
"content": {
|
|
9132
|
+
"application/vnd.api+json": {
|
|
9133
|
+
"schema": {
|
|
9134
|
+
"$ref": "#/components/schemas/AuthApplications"
|
|
9135
|
+
}
|
|
9136
|
+
}
|
|
9137
|
+
}
|
|
9138
|
+
},
|
|
9139
|
+
"401": {
|
|
9140
|
+
"description": "Unauthorized",
|
|
9141
|
+
"content": {
|
|
9142
|
+
"application/vnd.api+json": {
|
|
9143
|
+
"schema": {
|
|
9144
|
+
"$ref": "#/components/schemas/Errors"
|
|
9145
|
+
}
|
|
9146
|
+
}
|
|
9147
|
+
}
|
|
9148
|
+
},
|
|
9149
|
+
"403": {
|
|
9150
|
+
"description": "Forbidden",
|
|
9151
|
+
"content": {
|
|
9152
|
+
"application/vnd.api+json": {
|
|
9153
|
+
"schema": {
|
|
9154
|
+
"$ref": "#/components/schemas/Errors"
|
|
9155
|
+
}
|
|
9156
|
+
}
|
|
9157
|
+
}
|
|
9158
|
+
}
|
|
9159
|
+
}
|
|
9160
|
+
}
|
|
9161
|
+
},
|
|
9162
|
+
"/auth_applications/{id}": {
|
|
9163
|
+
"get": {
|
|
9164
|
+
"operationId": "show_auth_application",
|
|
9165
|
+
"summary": "Show auth application",
|
|
9166
|
+
"tags": [
|
|
9167
|
+
"Auth Applications"
|
|
9168
|
+
],
|
|
9169
|
+
"security": [
|
|
9170
|
+
{
|
|
9171
|
+
"bearerAuth": []
|
|
9172
|
+
},
|
|
9173
|
+
{
|
|
9174
|
+
"cookieAuth": []
|
|
9175
|
+
}
|
|
9176
|
+
],
|
|
9177
|
+
"parameters": [
|
|
9178
|
+
{
|
|
9179
|
+
"name": "id",
|
|
9180
|
+
"in": "path",
|
|
9181
|
+
"required": true,
|
|
9182
|
+
"schema": {
|
|
9183
|
+
"type": "string",
|
|
9184
|
+
"format": "uuid"
|
|
9185
|
+
}
|
|
9186
|
+
}
|
|
9187
|
+
],
|
|
9188
|
+
"responses": {
|
|
9189
|
+
"200": {
|
|
9190
|
+
"description": "OK",
|
|
9191
|
+
"content": {
|
|
9192
|
+
"application/vnd.api+json": {
|
|
9193
|
+
"schema": {
|
|
9194
|
+
"$ref": "#/components/schemas/AuthApplication"
|
|
9195
|
+
}
|
|
9196
|
+
}
|
|
9197
|
+
}
|
|
9198
|
+
},
|
|
9199
|
+
"401": {
|
|
9200
|
+
"description": "Unauthorized",
|
|
9201
|
+
"content": {
|
|
9202
|
+
"application/vnd.api+json": {
|
|
9203
|
+
"schema": {
|
|
9204
|
+
"$ref": "#/components/schemas/Errors"
|
|
9205
|
+
}
|
|
9206
|
+
}
|
|
9207
|
+
}
|
|
9208
|
+
},
|
|
9209
|
+
"403": {
|
|
9210
|
+
"description": "Forbidden",
|
|
9211
|
+
"content": {
|
|
9212
|
+
"application/vnd.api+json": {
|
|
9213
|
+
"schema": {
|
|
9214
|
+
"$ref": "#/components/schemas/Errors"
|
|
9215
|
+
}
|
|
9216
|
+
}
|
|
9217
|
+
}
|
|
9218
|
+
}
|
|
9219
|
+
}
|
|
9220
|
+
}
|
|
9108
9221
|
}
|
|
9109
9222
|
},
|
|
9110
9223
|
"components": {
|
|
@@ -9536,6 +9649,79 @@
|
|
|
9536
9649
|
}
|
|
9537
9650
|
}
|
|
9538
9651
|
},
|
|
9652
|
+
"AuthApplicationAttributes": {
|
|
9653
|
+
"type": "object",
|
|
9654
|
+
"properties": {
|
|
9655
|
+
"name": {
|
|
9656
|
+
"type": "string"
|
|
9657
|
+
},
|
|
9658
|
+
"uid": {
|
|
9659
|
+
"type": "string"
|
|
9660
|
+
}
|
|
9661
|
+
}
|
|
9662
|
+
},
|
|
9663
|
+
"AuthApplicationData": {
|
|
9664
|
+
"type": "object",
|
|
9665
|
+
"additionalProperties": false,
|
|
9666
|
+
"required": [
|
|
9667
|
+
"type",
|
|
9668
|
+
"id",
|
|
9669
|
+
"attributes"
|
|
9670
|
+
],
|
|
9671
|
+
"properties": {
|
|
9672
|
+
"type": {
|
|
9673
|
+
"type": "string",
|
|
9674
|
+
"enum": [
|
|
9675
|
+
"auth_application"
|
|
9676
|
+
]
|
|
9677
|
+
},
|
|
9678
|
+
"id": {
|
|
9679
|
+
"type": "string"
|
|
9680
|
+
},
|
|
9681
|
+
"attributes": {
|
|
9682
|
+
"$ref": "#/components/schemas/AuthApplicationAttributes"
|
|
9683
|
+
}
|
|
9684
|
+
}
|
|
9685
|
+
},
|
|
9686
|
+
"AuthApplication": {
|
|
9687
|
+
"type": "object",
|
|
9688
|
+
"additionalProperties": false,
|
|
9689
|
+
"required": [
|
|
9690
|
+
"data",
|
|
9691
|
+
"links"
|
|
9692
|
+
],
|
|
9693
|
+
"properties": {
|
|
9694
|
+
"data": {
|
|
9695
|
+
"$ref": "#/components/schemas/AuthApplicationData"
|
|
9696
|
+
},
|
|
9697
|
+
"links": {
|
|
9698
|
+
"$ref": "#/components/schemas/Links"
|
|
9699
|
+
}
|
|
9700
|
+
}
|
|
9701
|
+
},
|
|
9702
|
+
"AuthApplications": {
|
|
9703
|
+
"type": "object",
|
|
9704
|
+
"additionalProperties": false,
|
|
9705
|
+
"required": [
|
|
9706
|
+
"data",
|
|
9707
|
+
"meta",
|
|
9708
|
+
"links"
|
|
9709
|
+
],
|
|
9710
|
+
"properties": {
|
|
9711
|
+
"data": {
|
|
9712
|
+
"type": "array",
|
|
9713
|
+
"items": {
|
|
9714
|
+
"$ref": "#/components/schemas/AuthApplicationData"
|
|
9715
|
+
}
|
|
9716
|
+
},
|
|
9717
|
+
"meta": {
|
|
9718
|
+
"$ref": "#/components/schemas/Meta"
|
|
9719
|
+
},
|
|
9720
|
+
"links": {
|
|
9721
|
+
"$ref": "#/components/schemas/Links"
|
|
9722
|
+
}
|
|
9723
|
+
}
|
|
9724
|
+
},
|
|
9539
9725
|
"CaseCreateAttributes": {
|
|
9540
9726
|
"type": "object",
|
|
9541
9727
|
"required": [
|
|
@@ -10671,6 +10857,15 @@
|
|
|
10671
10857
|
"format": "uuid",
|
|
10672
10858
|
"writeOnly": true
|
|
10673
10859
|
},
|
|
10860
|
+
"role_ids": {
|
|
10861
|
+
"type": "array",
|
|
10862
|
+
"description": "The roles that are allowed to access this field setting.\nIf not provided, the field setting will be accessible to all roles.\n",
|
|
10863
|
+
"items": {
|
|
10864
|
+
"type": "string",
|
|
10865
|
+
"format": "uuid"
|
|
10866
|
+
},
|
|
10867
|
+
"writeOnly": true
|
|
10868
|
+
},
|
|
10674
10869
|
"required": {
|
|
10675
10870
|
"type": "boolean"
|
|
10676
10871
|
},
|
|
@@ -10874,6 +11069,9 @@
|
|
|
10874
11069
|
"template_id": {
|
|
10875
11070
|
"$ref": "#/components/schemas/FieldSettingAttributes/properties/template_id"
|
|
10876
11071
|
},
|
|
11072
|
+
"role_ids": {
|
|
11073
|
+
"$ref": "#/components/schemas/FieldSettingAttributes/properties/role_ids"
|
|
11074
|
+
},
|
|
10877
11075
|
"required": {
|
|
10878
11076
|
"$ref": "#/components/schemas/FieldSettingAttributes/properties/required"
|
|
10879
11077
|
},
|
|
@@ -10915,6 +11113,9 @@
|
|
|
10915
11113
|
"field": {
|
|
10916
11114
|
"$ref": "#/components/schemas/FieldRelationship"
|
|
10917
11115
|
},
|
|
11116
|
+
"roles": {
|
|
11117
|
+
"$ref": "#/components/schemas/RolesRelationship"
|
|
11118
|
+
},
|
|
10918
11119
|
"template": {
|
|
10919
11120
|
"$ref": "#/components/schemas/TemplateRelationship"
|
|
10920
11121
|
},
|
|
@@ -10969,6 +11170,9 @@
|
|
|
10969
11170
|
{
|
|
10970
11171
|
"$ref": "#/components/schemas/NoteInclusion"
|
|
10971
11172
|
},
|
|
11173
|
+
{
|
|
11174
|
+
"$ref": "#/components/schemas/RoleInclusion"
|
|
11175
|
+
},
|
|
10972
11176
|
{
|
|
10973
11177
|
"$ref": "#/components/schemas/TagInclusion"
|
|
10974
11178
|
},
|
|
@@ -12434,11 +12638,14 @@
|
|
|
12434
12638
|
"type": "object",
|
|
12435
12639
|
"additionalProperties": false,
|
|
12436
12640
|
"properties": {
|
|
12437
|
-
"
|
|
12438
|
-
"$ref": "#/components/schemas/
|
|
12641
|
+
"field_settings": {
|
|
12642
|
+
"$ref": "#/components/schemas/FieldSettingsRelationship"
|
|
12439
12643
|
},
|
|
12440
12644
|
"teams": {
|
|
12441
12645
|
"$ref": "#/components/schemas/TeamsRelationship"
|
|
12646
|
+
},
|
|
12647
|
+
"users": {
|
|
12648
|
+
"$ref": "#/components/schemas/UsersRelationship"
|
|
12442
12649
|
}
|
|
12443
12650
|
}
|
|
12444
12651
|
},
|
|
@@ -12829,10 +13036,12 @@
|
|
|
12829
13036
|
"config": {
|
|
12830
13037
|
"anyOf": [
|
|
12831
13038
|
{
|
|
12832
|
-
"$ref": "#/components/schemas/SamlConfig"
|
|
13039
|
+
"$ref": "#/components/schemas/SamlConfig",
|
|
13040
|
+
"name": "SAML Config"
|
|
12833
13041
|
},
|
|
12834
13042
|
{
|
|
12835
|
-
"$ref": "#/components/schemas/OidcConfig"
|
|
13043
|
+
"$ref": "#/components/schemas/OidcConfig",
|
|
13044
|
+
"name": "OIDC Config"
|
|
12836
13045
|
}
|
|
12837
13046
|
]
|
|
12838
13047
|
},
|
|
@@ -14490,12 +14699,17 @@
|
|
|
14490
14699
|
"send_invitation": {
|
|
14491
14700
|
"type": "boolean",
|
|
14492
14701
|
"default": false,
|
|
14493
|
-
"description": "
|
|
14702
|
+
"description": "DEPRECATED: Use `invitation_destination_url` instead - this will be removed in a future release.\nCan be set to true to send an invitation email to the user upon creation - this email does not contain instructions on how to setup an account - it is purely to inform the user that an account has been created for them.\n"
|
|
14703
|
+
},
|
|
14704
|
+
"invitation_destination_url": {
|
|
14705
|
+
"type": "string",
|
|
14706
|
+
"format": "uri",
|
|
14707
|
+
"description": "The URL the invitation email should send the user to.\nSetting this value triggers the \"Invitation\" email to be sent to the user.\n"
|
|
14494
14708
|
},
|
|
14495
14709
|
"set_password_destination_url": {
|
|
14496
14710
|
"type": "string",
|
|
14497
14711
|
"format": "uri",
|
|
14498
|
-
"description": "The URL the set password email should send the user to in order to set their password.\nThe API will append a token to the URL as a query parameter (e.g. `https://localhost:3000/set-password?token=123456`).\n",
|
|
14712
|
+
"description": "The URL the set password email should send the user to in order to set their password.\nThe API will append a token to the URL as a query parameter (e.g. `https://localhost:3000/set-password?token=123456`).\nSetting this value triggers the \"Set password\" email to be sent to the user.\n",
|
|
14499
14713
|
"example": "https://localhost:3000/set-password"
|
|
14500
14714
|
},
|
|
14501
14715
|
"active": {
|
|
@@ -15282,7 +15496,8 @@
|
|
|
15282
15496
|
"password_regex_message",
|
|
15283
15497
|
"role_resources",
|
|
15284
15498
|
"skip_rack_attack",
|
|
15285
|
-
"task_delete_reasons"
|
|
15499
|
+
"task_delete_reasons",
|
|
15500
|
+
"task_duration"
|
|
15286
15501
|
]
|
|
15287
15502
|
},
|
|
15288
15503
|
"AccessToken": {
|