@liaisongroup/assist-api-js-client 1.5.69 → 1.5.71
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 +12 -1
- package/dist/openapi.json +33 -2
- package/dist/openapi.zod.d.ts +39 -16
- package/dist/openapi.zod.js +8 -0
- package/package.json +1 -1
package/dist/openapi.d.ts
CHANGED
|
@@ -150,7 +150,7 @@ declare namespace Components {
|
|
|
150
150
|
changes?: {
|
|
151
151
|
key?: string;
|
|
152
152
|
field_id?: null | string /* uuid */;
|
|
153
|
-
simple_type?: "array_of_strings" | "string" | "integer" | "boolean" | "date" | "time" | "datetime" | "float" | "resource" | "array";
|
|
153
|
+
simple_type?: "array_of_strings" | "string" | "integer" | "boolean" | "date" | "time" | "datetime" | "float" | "resource" | "array" | "array_of_user_summaries" | "array_of_team_summaries";
|
|
154
154
|
from?: any;
|
|
155
155
|
to?: any;
|
|
156
156
|
}[];
|
|
@@ -1841,6 +1841,10 @@ declare namespace Components {
|
|
|
1841
1841
|
roles?: RolesRelationship;
|
|
1842
1842
|
tasks?: TasksRelationship;
|
|
1843
1843
|
}
|
|
1844
|
+
export interface TeamSummary {
|
|
1845
|
+
id?: string; // uuid
|
|
1846
|
+
name?: string;
|
|
1847
|
+
}
|
|
1844
1848
|
export interface Teams {
|
|
1845
1849
|
data: TeamData[];
|
|
1846
1850
|
meta: Meta;
|
|
@@ -2089,6 +2093,11 @@ declare namespace Components {
|
|
|
2089
2093
|
assigned_notifications?: NotificationsRelationship;
|
|
2090
2094
|
}
|
|
2091
2095
|
export type UserSpecificChannel = "UserSpecificChannel";
|
|
2096
|
+
export interface UserSummary {
|
|
2097
|
+
id?: string; // uuid
|
|
2098
|
+
name?: string;
|
|
2099
|
+
email?: string;
|
|
2100
|
+
}
|
|
2092
2101
|
export interface UserUpdateAttributes {
|
|
2093
2102
|
name?: UserAttributes.Properties.Name;
|
|
2094
2103
|
email?: UserAttributes.Properties.Email /* email */;
|
|
@@ -6145,6 +6154,7 @@ export type TeamMembers = Components.Schemas.TeamMembers;
|
|
|
6145
6154
|
export type TeamMembersRelationship = Components.Schemas.TeamMembersRelationship;
|
|
6146
6155
|
export type TeamRelationship = Components.Schemas.TeamRelationship;
|
|
6147
6156
|
export type TeamRelationships = Components.Schemas.TeamRelationships;
|
|
6157
|
+
export type TeamSummary = Components.Schemas.TeamSummary;
|
|
6148
6158
|
export type Teams = Components.Schemas.Teams;
|
|
6149
6159
|
export type TeamsRelationship = Components.Schemas.TeamsRelationship;
|
|
6150
6160
|
export type Template = Components.Schemas.Template;
|
|
@@ -6179,6 +6189,7 @@ export type UserInclusions = Components.Schemas.UserInclusions;
|
|
|
6179
6189
|
export type UserRelationship = Components.Schemas.UserRelationship;
|
|
6180
6190
|
export type UserRelationships = Components.Schemas.UserRelationships;
|
|
6181
6191
|
export type UserSpecificChannel = Components.Schemas.UserSpecificChannel;
|
|
6192
|
+
export type UserSummary = Components.Schemas.UserSummary;
|
|
6182
6193
|
export type UserUpdateAttributes = Components.Schemas.UserUpdateAttributes;
|
|
6183
6194
|
export type Users = Components.Schemas.Users;
|
|
6184
6195
|
export type UsersRelationship = Components.Schemas.UsersRelationship;
|
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.300",
|
|
7
7
|
"license": {
|
|
8
8
|
"name": "MIT",
|
|
9
9
|
"url": "https://opensource.org/licenses/MIT"
|
|
@@ -9255,7 +9255,9 @@
|
|
|
9255
9255
|
"datetime",
|
|
9256
9256
|
"float",
|
|
9257
9257
|
"resource",
|
|
9258
|
-
"array"
|
|
9258
|
+
"array",
|
|
9259
|
+
"array_of_user_summaries",
|
|
9260
|
+
"array_of_team_summaries"
|
|
9259
9261
|
]
|
|
9260
9262
|
},
|
|
9261
9263
|
"from": {},
|
|
@@ -15400,6 +15402,35 @@
|
|
|
15400
15402
|
"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"
|
|
15401
15403
|
}
|
|
15402
15404
|
}
|
|
15405
|
+
},
|
|
15406
|
+
"UserSummary": {
|
|
15407
|
+
"type": "object",
|
|
15408
|
+
"additionalProperties": false,
|
|
15409
|
+
"properties": {
|
|
15410
|
+
"id": {
|
|
15411
|
+
"type": "string",
|
|
15412
|
+
"format": "uuid"
|
|
15413
|
+
},
|
|
15414
|
+
"name": {
|
|
15415
|
+
"type": "string"
|
|
15416
|
+
},
|
|
15417
|
+
"email": {
|
|
15418
|
+
"type": "string"
|
|
15419
|
+
}
|
|
15420
|
+
}
|
|
15421
|
+
},
|
|
15422
|
+
"TeamSummary": {
|
|
15423
|
+
"type": "object",
|
|
15424
|
+
"additionalProperties": false,
|
|
15425
|
+
"properties": {
|
|
15426
|
+
"id": {
|
|
15427
|
+
"type": "string",
|
|
15428
|
+
"format": "uuid"
|
|
15429
|
+
},
|
|
15430
|
+
"name": {
|
|
15431
|
+
"type": "string"
|
|
15432
|
+
}
|
|
15433
|
+
}
|
|
15403
15434
|
}
|
|
15404
15435
|
},
|
|
15405
15436
|
"securitySchemes": {
|
package/dist/openapi.zod.d.ts
CHANGED
|
@@ -120236,19 +120236,19 @@ export declare const CaseActivityLog: z.ZodObject<{
|
|
|
120236
120236
|
changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
120237
120237
|
key: z.ZodOptional<z.ZodString>;
|
|
120238
120238
|
field_id: z.ZodOptional<z.ZodUnion<[z.ZodNull, z.ZodString]>>;
|
|
120239
|
-
simple_type: z.ZodOptional<z.ZodDefault<z.ZodEnum<["array_of_strings", "string", "integer", "boolean", "date", "time", "datetime", "float", "resource", "array"]>>>;
|
|
120239
|
+
simple_type: z.ZodOptional<z.ZodDefault<z.ZodEnum<["array_of_strings", "string", "integer", "boolean", "date", "time", "datetime", "float", "resource", "array", "array_of_user_summaries", "array_of_team_summaries"]>>>;
|
|
120240
120240
|
from: z.ZodOptional<z.ZodUnknown>;
|
|
120241
120241
|
to: z.ZodOptional<z.ZodUnknown>;
|
|
120242
120242
|
}, "strip", z.ZodTypeAny, {
|
|
120243
120243
|
key?: string | undefined;
|
|
120244
120244
|
field_id?: string | null | undefined;
|
|
120245
|
-
simple_type?: "string" | "boolean" | "array" | "integer" | "array_of_strings" | "date" | "time" | "datetime" | "float" | "resource" | undefined;
|
|
120245
|
+
simple_type?: "string" | "boolean" | "array" | "integer" | "array_of_strings" | "date" | "time" | "datetime" | "float" | "resource" | "array_of_user_summaries" | "array_of_team_summaries" | undefined;
|
|
120246
120246
|
from?: unknown;
|
|
120247
120247
|
to?: unknown;
|
|
120248
120248
|
}, {
|
|
120249
120249
|
key?: string | undefined;
|
|
120250
120250
|
field_id?: string | null | undefined;
|
|
120251
|
-
simple_type?: "string" | "boolean" | "array" | "integer" | "array_of_strings" | "date" | "time" | "datetime" | "float" | "resource" | undefined;
|
|
120251
|
+
simple_type?: "string" | "boolean" | "array" | "integer" | "array_of_strings" | "date" | "time" | "datetime" | "float" | "resource" | "array_of_user_summaries" | "array_of_team_summaries" | undefined;
|
|
120252
120252
|
from?: unknown;
|
|
120253
120253
|
to?: unknown;
|
|
120254
120254
|
}>, "many">>;
|
|
@@ -120263,7 +120263,7 @@ export declare const CaseActivityLog: z.ZodObject<{
|
|
|
120263
120263
|
changes?: {
|
|
120264
120264
|
key?: string | undefined;
|
|
120265
120265
|
field_id?: string | null | undefined;
|
|
120266
|
-
simple_type?: "string" | "boolean" | "array" | "integer" | "array_of_strings" | "date" | "time" | "datetime" | "float" | "resource" | undefined;
|
|
120266
|
+
simple_type?: "string" | "boolean" | "array" | "integer" | "array_of_strings" | "date" | "time" | "datetime" | "float" | "resource" | "array_of_user_summaries" | "array_of_team_summaries" | undefined;
|
|
120267
120267
|
from?: unknown;
|
|
120268
120268
|
to?: unknown;
|
|
120269
120269
|
}[] | undefined;
|
|
@@ -120278,7 +120278,7 @@ export declare const CaseActivityLog: z.ZodObject<{
|
|
|
120278
120278
|
changes?: {
|
|
120279
120279
|
key?: string | undefined;
|
|
120280
120280
|
field_id?: string | null | undefined;
|
|
120281
|
-
simple_type?: "string" | "boolean" | "array" | "integer" | "array_of_strings" | "date" | "time" | "datetime" | "float" | "resource" | undefined;
|
|
120281
|
+
simple_type?: "string" | "boolean" | "array" | "integer" | "array_of_strings" | "date" | "time" | "datetime" | "float" | "resource" | "array_of_user_summaries" | "array_of_team_summaries" | undefined;
|
|
120282
120282
|
from?: unknown;
|
|
120283
120283
|
to?: unknown;
|
|
120284
120284
|
}[] | undefined;
|
|
@@ -120296,7 +120296,7 @@ export declare const CaseActivityLog: z.ZodObject<{
|
|
|
120296
120296
|
changes?: {
|
|
120297
120297
|
key?: string | undefined;
|
|
120298
120298
|
field_id?: string | null | undefined;
|
|
120299
|
-
simple_type?: "string" | "boolean" | "array" | "integer" | "array_of_strings" | "date" | "time" | "datetime" | "float" | "resource" | undefined;
|
|
120299
|
+
simple_type?: "string" | "boolean" | "array" | "integer" | "array_of_strings" | "date" | "time" | "datetime" | "float" | "resource" | "array_of_user_summaries" | "array_of_team_summaries" | undefined;
|
|
120300
120300
|
from?: unknown;
|
|
120301
120301
|
to?: unknown;
|
|
120302
120302
|
}[] | undefined;
|
|
@@ -120343,7 +120343,7 @@ export declare const CaseActivityLog: z.ZodObject<{
|
|
|
120343
120343
|
changes?: {
|
|
120344
120344
|
key?: string | undefined;
|
|
120345
120345
|
field_id?: string | null | undefined;
|
|
120346
|
-
simple_type?: "string" | "boolean" | "array" | "integer" | "array_of_strings" | "date" | "time" | "datetime" | "float" | "resource" | undefined;
|
|
120346
|
+
simple_type?: "string" | "boolean" | "array" | "integer" | "array_of_strings" | "date" | "time" | "datetime" | "float" | "resource" | "array_of_user_summaries" | "array_of_team_summaries" | undefined;
|
|
120347
120347
|
from?: unknown;
|
|
120348
120348
|
to?: unknown;
|
|
120349
120349
|
}[] | undefined;
|
|
@@ -121838,19 +121838,19 @@ export declare const CaseActivityLogs: z.ZodObject<{
|
|
|
121838
121838
|
changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
121839
121839
|
key: z.ZodOptional<z.ZodString>;
|
|
121840
121840
|
field_id: z.ZodOptional<z.ZodUnion<[z.ZodNull, z.ZodString]>>;
|
|
121841
|
-
simple_type: z.ZodOptional<z.ZodDefault<z.ZodEnum<["array_of_strings", "string", "integer", "boolean", "date", "time", "datetime", "float", "resource", "array"]>>>;
|
|
121841
|
+
simple_type: z.ZodOptional<z.ZodDefault<z.ZodEnum<["array_of_strings", "string", "integer", "boolean", "date", "time", "datetime", "float", "resource", "array", "array_of_user_summaries", "array_of_team_summaries"]>>>;
|
|
121842
121842
|
from: z.ZodOptional<z.ZodUnknown>;
|
|
121843
121843
|
to: z.ZodOptional<z.ZodUnknown>;
|
|
121844
121844
|
}, "strip", z.ZodTypeAny, {
|
|
121845
121845
|
key?: string | undefined;
|
|
121846
121846
|
field_id?: string | null | undefined;
|
|
121847
|
-
simple_type?: "string" | "boolean" | "array" | "integer" | "array_of_strings" | "date" | "time" | "datetime" | "float" | "resource" | undefined;
|
|
121847
|
+
simple_type?: "string" | "boolean" | "array" | "integer" | "array_of_strings" | "date" | "time" | "datetime" | "float" | "resource" | "array_of_user_summaries" | "array_of_team_summaries" | undefined;
|
|
121848
121848
|
from?: unknown;
|
|
121849
121849
|
to?: unknown;
|
|
121850
121850
|
}, {
|
|
121851
121851
|
key?: string | undefined;
|
|
121852
121852
|
field_id?: string | null | undefined;
|
|
121853
|
-
simple_type?: "string" | "boolean" | "array" | "integer" | "array_of_strings" | "date" | "time" | "datetime" | "float" | "resource" | undefined;
|
|
121853
|
+
simple_type?: "string" | "boolean" | "array" | "integer" | "array_of_strings" | "date" | "time" | "datetime" | "float" | "resource" | "array_of_user_summaries" | "array_of_team_summaries" | undefined;
|
|
121854
121854
|
from?: unknown;
|
|
121855
121855
|
to?: unknown;
|
|
121856
121856
|
}>, "many">>;
|
|
@@ -121865,7 +121865,7 @@ export declare const CaseActivityLogs: z.ZodObject<{
|
|
|
121865
121865
|
changes?: {
|
|
121866
121866
|
key?: string | undefined;
|
|
121867
121867
|
field_id?: string | null | undefined;
|
|
121868
|
-
simple_type?: "string" | "boolean" | "array" | "integer" | "array_of_strings" | "date" | "time" | "datetime" | "float" | "resource" | undefined;
|
|
121868
|
+
simple_type?: "string" | "boolean" | "array" | "integer" | "array_of_strings" | "date" | "time" | "datetime" | "float" | "resource" | "array_of_user_summaries" | "array_of_team_summaries" | undefined;
|
|
121869
121869
|
from?: unknown;
|
|
121870
121870
|
to?: unknown;
|
|
121871
121871
|
}[] | undefined;
|
|
@@ -121880,7 +121880,7 @@ export declare const CaseActivityLogs: z.ZodObject<{
|
|
|
121880
121880
|
changes?: {
|
|
121881
121881
|
key?: string | undefined;
|
|
121882
121882
|
field_id?: string | null | undefined;
|
|
121883
|
-
simple_type?: "string" | "boolean" | "array" | "integer" | "array_of_strings" | "date" | "time" | "datetime" | "float" | "resource" | undefined;
|
|
121883
|
+
simple_type?: "string" | "boolean" | "array" | "integer" | "array_of_strings" | "date" | "time" | "datetime" | "float" | "resource" | "array_of_user_summaries" | "array_of_team_summaries" | undefined;
|
|
121884
121884
|
from?: unknown;
|
|
121885
121885
|
to?: unknown;
|
|
121886
121886
|
}[] | undefined;
|
|
@@ -121898,7 +121898,7 @@ export declare const CaseActivityLogs: z.ZodObject<{
|
|
|
121898
121898
|
changes?: {
|
|
121899
121899
|
key?: string | undefined;
|
|
121900
121900
|
field_id?: string | null | undefined;
|
|
121901
|
-
simple_type?: "string" | "boolean" | "array" | "integer" | "array_of_strings" | "date" | "time" | "datetime" | "float" | "resource" | undefined;
|
|
121901
|
+
simple_type?: "string" | "boolean" | "array" | "integer" | "array_of_strings" | "date" | "time" | "datetime" | "float" | "resource" | "array_of_user_summaries" | "array_of_team_summaries" | undefined;
|
|
121902
121902
|
from?: unknown;
|
|
121903
121903
|
to?: unknown;
|
|
121904
121904
|
}[] | undefined;
|
|
@@ -121945,7 +121945,7 @@ export declare const CaseActivityLogs: z.ZodObject<{
|
|
|
121945
121945
|
changes?: {
|
|
121946
121946
|
key?: string | undefined;
|
|
121947
121947
|
field_id?: string | null | undefined;
|
|
121948
|
-
simple_type?: "string" | "boolean" | "array" | "integer" | "array_of_strings" | "date" | "time" | "datetime" | "float" | "resource" | undefined;
|
|
121948
|
+
simple_type?: "string" | "boolean" | "array" | "integer" | "array_of_strings" | "date" | "time" | "datetime" | "float" | "resource" | "array_of_user_summaries" | "array_of_team_summaries" | undefined;
|
|
121949
121949
|
from?: unknown;
|
|
121950
121950
|
to?: unknown;
|
|
121951
121951
|
}[] | undefined;
|
|
@@ -123222,7 +123222,7 @@ export declare const CaseActivityLogs: z.ZodObject<{
|
|
|
123222
123222
|
changes?: {
|
|
123223
123223
|
key?: string | undefined;
|
|
123224
123224
|
field_id?: string | null | undefined;
|
|
123225
|
-
simple_type?: "string" | "boolean" | "array" | "integer" | "array_of_strings" | "date" | "time" | "datetime" | "float" | "resource" | undefined;
|
|
123225
|
+
simple_type?: "string" | "boolean" | "array" | "integer" | "array_of_strings" | "date" | "time" | "datetime" | "float" | "resource" | "array_of_user_summaries" | "array_of_team_summaries" | undefined;
|
|
123226
123226
|
from?: unknown;
|
|
123227
123227
|
to?: unknown;
|
|
123228
123228
|
}[] | undefined;
|
|
@@ -123460,7 +123460,7 @@ export declare const CaseActivityLogs: z.ZodObject<{
|
|
|
123460
123460
|
changes?: {
|
|
123461
123461
|
key?: string | undefined;
|
|
123462
123462
|
field_id?: string | null | undefined;
|
|
123463
|
-
simple_type?: "string" | "boolean" | "array" | "integer" | "array_of_strings" | "date" | "time" | "datetime" | "float" | "resource" | undefined;
|
|
123463
|
+
simple_type?: "string" | "boolean" | "array" | "integer" | "array_of_strings" | "date" | "time" | "datetime" | "float" | "resource" | "array_of_user_summaries" | "array_of_team_summaries" | undefined;
|
|
123464
123464
|
from?: unknown;
|
|
123465
123465
|
to?: unknown;
|
|
123466
123466
|
}[] | undefined;
|
|
@@ -175437,3 +175437,26 @@ export declare const IdAttribute: z.ZodObject<{
|
|
|
175437
175437
|
}, {
|
|
175438
175438
|
id?: string | undefined;
|
|
175439
175439
|
}>;
|
|
175440
|
+
export declare const UserSummary: z.ZodObject<{
|
|
175441
|
+
id: z.ZodOptional<z.ZodString>;
|
|
175442
|
+
name: z.ZodOptional<z.ZodString>;
|
|
175443
|
+
email: z.ZodOptional<z.ZodString>;
|
|
175444
|
+
}, "strip", z.ZodTypeAny, {
|
|
175445
|
+
id?: string | undefined;
|
|
175446
|
+
name?: string | undefined;
|
|
175447
|
+
email?: string | undefined;
|
|
175448
|
+
}, {
|
|
175449
|
+
id?: string | undefined;
|
|
175450
|
+
name?: string | undefined;
|
|
175451
|
+
email?: string | undefined;
|
|
175452
|
+
}>;
|
|
175453
|
+
export declare const TeamSummary: z.ZodObject<{
|
|
175454
|
+
id: z.ZodOptional<z.ZodString>;
|
|
175455
|
+
name: z.ZodOptional<z.ZodString>;
|
|
175456
|
+
}, "strip", z.ZodTypeAny, {
|
|
175457
|
+
id?: string | undefined;
|
|
175458
|
+
name?: string | undefined;
|
|
175459
|
+
}, {
|
|
175460
|
+
id?: string | undefined;
|
|
175461
|
+
name?: string | undefined;
|
|
175462
|
+
}>;
|
package/dist/openapi.zod.js
CHANGED
|
@@ -1514,6 +1514,8 @@ export const CaseActivityLog = z.object({
|
|
|
1514
1514
|
"float",
|
|
1515
1515
|
"resource",
|
|
1516
1516
|
"array",
|
|
1517
|
+
"array_of_user_summaries",
|
|
1518
|
+
"array_of_team_summaries",
|
|
1517
1519
|
])
|
|
1518
1520
|
.default("string"),
|
|
1519
1521
|
from: z.unknown(),
|
|
@@ -1923,3 +1925,9 @@ export const BroadcastToEvent = z.object({
|
|
|
1923
1925
|
data: z.object({ unread_notification_count: z.number().int().gte(0) }),
|
|
1924
1926
|
});
|
|
1925
1927
|
export const IdAttribute = z.object({ id: z.string().uuid() }).partial();
|
|
1928
|
+
export const UserSummary = z
|
|
1929
|
+
.object({ id: z.string().uuid(), name: z.string(), email: z.string() })
|
|
1930
|
+
.partial();
|
|
1931
|
+
export const TeamSummary = z
|
|
1932
|
+
.object({ id: z.string().uuid(), name: z.string() })
|
|
1933
|
+
.partial();
|
package/package.json
CHANGED