@liaisongroup/assist-api-js-client 1.5.61 → 1.5.63
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 +88 -3
- package/dist/openapi.json +239 -3
- package/dist/openapi.zod.d.ts +1566 -462
- package/dist/openapi.zod.js +38 -1
- package/package.json +1 -1
package/dist/openapi.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ declare namespace Components {
|
|
|
21
21
|
links: Links;
|
|
22
22
|
included?: ActionInclusions;
|
|
23
23
|
}
|
|
24
|
-
export type ActionAttributes = InternalEventAction | CalculationAction | UpdateResourceAction;
|
|
24
|
+
export type ActionAttributes = InternalEventAction | CalculationAction | UpdateResourceAction | CreateOrUpdateCaseAction;
|
|
25
25
|
export interface ActionData {
|
|
26
26
|
type: "action";
|
|
27
27
|
id: string; // uuid
|
|
@@ -59,7 +59,7 @@ declare namespace Components {
|
|
|
59
59
|
id: string;
|
|
60
60
|
attributes: ActionTypeAttributes;
|
|
61
61
|
}
|
|
62
|
-
export type ActionTypeInputsOutputs = ("resource_instance" | "value")[];
|
|
62
|
+
export type ActionTypeInputsOutputs = ("resource_instance" | "value" | "attributes")[];
|
|
63
63
|
export interface ActionTypes {
|
|
64
64
|
data: ActionTypeData[];
|
|
65
65
|
meta: Meta;
|
|
@@ -244,6 +244,24 @@ declare namespace Components {
|
|
|
244
244
|
meta: Meta;
|
|
245
245
|
links: Links;
|
|
246
246
|
}
|
|
247
|
+
export interface CreateOrUpdateCaseAction {
|
|
248
|
+
name?: string;
|
|
249
|
+
updated_at?: string; // date-time
|
|
250
|
+
created_at?: string; // date-time
|
|
251
|
+
active?: boolean;
|
|
252
|
+
trigger_id?: string; // uuid
|
|
253
|
+
action_type?: "create_or_update_case";
|
|
254
|
+
config?: {
|
|
255
|
+
/**
|
|
256
|
+
* The fields that are used to identify the case. If no identifying fields are provided, a new case will be created.
|
|
257
|
+
*/
|
|
258
|
+
identifying_fields: string[];
|
|
259
|
+
/**
|
|
260
|
+
* The template ID of the case to create or update.
|
|
261
|
+
*/
|
|
262
|
+
template_id: string; // uuid
|
|
263
|
+
};
|
|
264
|
+
}
|
|
247
265
|
/**
|
|
248
266
|
* Applied when the field_type is `integer` - sets the currency to display the field in.
|
|
249
267
|
*
|
|
@@ -1157,6 +1175,35 @@ declare namespace Components {
|
|
|
1157
1175
|
*/
|
|
1158
1176
|
client_secret: string;
|
|
1159
1177
|
}
|
|
1178
|
+
export interface PushSubscription {
|
|
1179
|
+
data: PushSubscriptionData;
|
|
1180
|
+
links: Links;
|
|
1181
|
+
}
|
|
1182
|
+
export interface PushSubscriptionAttributes {
|
|
1183
|
+
/**
|
|
1184
|
+
* The endpoint URL for the push subscription
|
|
1185
|
+
*/
|
|
1186
|
+
endpoint: string; // uri
|
|
1187
|
+
/**
|
|
1188
|
+
* The p256dh public key for message encryption
|
|
1189
|
+
*/
|
|
1190
|
+
p256dh_key: string;
|
|
1191
|
+
/**
|
|
1192
|
+
* The auth secret for message encryption
|
|
1193
|
+
*/
|
|
1194
|
+
auth_key: string;
|
|
1195
|
+
created_at?: string; // date-time
|
|
1196
|
+
updated_at?: string; // date-time
|
|
1197
|
+
}
|
|
1198
|
+
export interface PushSubscriptionData {
|
|
1199
|
+
type: "push_subscription";
|
|
1200
|
+
id: string; // uuid
|
|
1201
|
+
attributes: PushSubscriptionAttributes;
|
|
1202
|
+
relationships: PushSubscriptionRelationships;
|
|
1203
|
+
}
|
|
1204
|
+
export interface PushSubscriptionRelationships {
|
|
1205
|
+
user?: UserRelationship;
|
|
1206
|
+
}
|
|
1160
1207
|
export interface RefreshTokenGrant {
|
|
1161
1208
|
grant_type?: "refresh_token";
|
|
1162
1209
|
/**
|
|
@@ -1868,7 +1915,7 @@ declare namespace Components {
|
|
|
1868
1915
|
}[];
|
|
1869
1916
|
links?: Links;
|
|
1870
1917
|
}
|
|
1871
|
-
export type Type = "action" | "case" | "field" | "field_setting" | "list" | "list_saved_filter" | "note" | "notification" | "role" | "saved_filter" | "sso_config" | "tag" | "task" | "team" | "team_member" | "template" | "user";
|
|
1918
|
+
export type Type = "action" | "case" | "field" | "field_setting" | "list" | "list_saved_filter" | "note" | "notification" | "push_subscription" | "role" | "saved_filter" | "sso_config" | "tag" | "task" | "team" | "team_member" | "template" | "user";
|
|
1872
1919
|
export interface UpdateResourceAction {
|
|
1873
1920
|
name?: string;
|
|
1874
1921
|
updated_at?: string; // date-time
|
|
@@ -2001,6 +2048,7 @@ declare namespace Components {
|
|
|
2001
2048
|
roles?: RolesRelationship;
|
|
2002
2049
|
assigned_notifications?: NotificationsRelationship;
|
|
2003
2050
|
}
|
|
2051
|
+
export type UserSpecificChannel = "UserSpecificChannel";
|
|
2004
2052
|
export interface UserUpdateAttributes {
|
|
2005
2053
|
name?: UserAttributes.Properties.Name;
|
|
2006
2054
|
email?: UserAttributes.Properties.Email /* email */;
|
|
@@ -2302,6 +2350,19 @@ declare namespace Paths {
|
|
|
2302
2350
|
export type $422 = Components.Schemas.Errors;
|
|
2303
2351
|
}
|
|
2304
2352
|
}
|
|
2353
|
+
namespace CreatePushSubscription {
|
|
2354
|
+
export interface RequestBody {
|
|
2355
|
+
data: {
|
|
2356
|
+
attributes: Components.Schemas.PushSubscriptionAttributes;
|
|
2357
|
+
};
|
|
2358
|
+
}
|
|
2359
|
+
namespace Responses {
|
|
2360
|
+
export type $201 = Components.Schemas.PushSubscription;
|
|
2361
|
+
export type $401 = Components.Schemas.Errors;
|
|
2362
|
+
export type $403 = Components.Schemas.Errors;
|
|
2363
|
+
export type $422 = Components.Schemas.Errors;
|
|
2364
|
+
}
|
|
2365
|
+
}
|
|
2305
2366
|
namespace CreateRole {
|
|
2306
2367
|
export interface RequestBody {
|
|
2307
2368
|
data: {
|
|
@@ -4635,6 +4696,14 @@ export interface OperationMethods {
|
|
|
4635
4696
|
data?: Paths.CreateHl7.RequestBody,
|
|
4636
4697
|
config?: AxiosRequestConfig
|
|
4637
4698
|
): OperationResponse<Paths.CreateHl7.Responses.$201>
|
|
4699
|
+
/**
|
|
4700
|
+
* create_push_subscription - Create push subscription
|
|
4701
|
+
*/
|
|
4702
|
+
'create_push_subscription'(
|
|
4703
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
4704
|
+
data?: Paths.CreatePushSubscription.RequestBody,
|
|
4705
|
+
config?: AxiosRequestConfig
|
|
4706
|
+
): OperationResponse<Paths.CreatePushSubscription.Responses.$201>
|
|
4638
4707
|
}
|
|
4639
4708
|
|
|
4640
4709
|
export interface PathsDictionary {
|
|
@@ -5679,6 +5748,16 @@ export interface PathsDictionary {
|
|
|
5679
5748
|
config?: AxiosRequestConfig
|
|
5680
5749
|
): OperationResponse<Paths.CreateHl7.Responses.$201>
|
|
5681
5750
|
}
|
|
5751
|
+
['/push_subscriptions']: {
|
|
5752
|
+
/**
|
|
5753
|
+
* create_push_subscription - Create push subscription
|
|
5754
|
+
*/
|
|
5755
|
+
'post'(
|
|
5756
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
5757
|
+
data?: Paths.CreatePushSubscription.RequestBody,
|
|
5758
|
+
config?: AxiosRequestConfig
|
|
5759
|
+
): OperationResponse<Paths.CreatePushSubscription.Responses.$201>
|
|
5760
|
+
}
|
|
5682
5761
|
}
|
|
5683
5762
|
|
|
5684
5763
|
export type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|
|
@@ -5724,6 +5803,7 @@ export type Config = Components.Schemas.Config;
|
|
|
5724
5803
|
export type ConfigAttributes = Components.Schemas.ConfigAttributes;
|
|
5725
5804
|
export type ConfigData = Components.Schemas.ConfigData;
|
|
5726
5805
|
export type Configs = Components.Schemas.Configs;
|
|
5806
|
+
export type CreateOrUpdateCaseAction = Components.Schemas.CreateOrUpdateCaseAction;
|
|
5727
5807
|
export type Currency = Components.Schemas.Currency;
|
|
5728
5808
|
export type DisplayCurrencySubunit = Components.Schemas.DisplayCurrencySubunit;
|
|
5729
5809
|
export type Errors = Components.Schemas.Errors;
|
|
@@ -5824,6 +5904,10 @@ export type NotificationsRelationship = Components.Schemas.NotificationsRelation
|
|
|
5824
5904
|
export type OidcConfig = Components.Schemas.OidcConfig;
|
|
5825
5905
|
export type OperationTypes = Components.Schemas.OperationTypes;
|
|
5826
5906
|
export type PasswordGrant = Components.Schemas.PasswordGrant;
|
|
5907
|
+
export type PushSubscription = Components.Schemas.PushSubscription;
|
|
5908
|
+
export type PushSubscriptionAttributes = Components.Schemas.PushSubscriptionAttributes;
|
|
5909
|
+
export type PushSubscriptionData = Components.Schemas.PushSubscriptionData;
|
|
5910
|
+
export type PushSubscriptionRelationships = Components.Schemas.PushSubscriptionRelationships;
|
|
5827
5911
|
export type RefreshTokenGrant = Components.Schemas.RefreshTokenGrant;
|
|
5828
5912
|
export type ResourceAttribute = Components.Schemas.ResourceAttribute;
|
|
5829
5913
|
export type ResourceAttributeAttributes = Components.Schemas.ResourceAttributeAttributes;
|
|
@@ -5958,6 +6042,7 @@ export type UserInclusion = Components.Schemas.UserInclusion;
|
|
|
5958
6042
|
export type UserInclusions = Components.Schemas.UserInclusions;
|
|
5959
6043
|
export type UserRelationship = Components.Schemas.UserRelationship;
|
|
5960
6044
|
export type UserRelationships = Components.Schemas.UserRelationships;
|
|
6045
|
+
export type UserSpecificChannel = Components.Schemas.UserSpecificChannel;
|
|
5961
6046
|
export type UserUpdateAttributes = Components.Schemas.UserUpdateAttributes;
|
|
5962
6047
|
export type Users = Components.Schemas.Users;
|
|
5963
6048
|
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.292",
|
|
7
7
|
"license": {
|
|
8
8
|
"name": "MIT",
|
|
9
9
|
"url": "https://opensource.org/licenses/MIT"
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
},
|
|
47
47
|
{
|
|
48
48
|
"name": "Websocket Channels",
|
|
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 `
|
|
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
52
|
"name": "Actions"
|
|
@@ -91,6 +91,10 @@
|
|
|
91
91
|
"name": "Notifications",
|
|
92
92
|
"description": "Notifications are used to inform users about events that have happened in the system.\n"
|
|
93
93
|
},
|
|
94
|
+
{
|
|
95
|
+
"name": "Push Subscriptions",
|
|
96
|
+
"description": "Push subscriptions are used to register devices for receiving push notifications from the browser's push service.\n"
|
|
97
|
+
},
|
|
94
98
|
{
|
|
95
99
|
"name": "Operations",
|
|
96
100
|
"description": "Operations are used to perform atomic actions (to create, update and destroy multiple resouces at once.)\n"
|
|
@@ -8434,6 +8438,89 @@
|
|
|
8434
8438
|
}
|
|
8435
8439
|
}
|
|
8436
8440
|
}
|
|
8441
|
+
},
|
|
8442
|
+
"/push_subscriptions": {
|
|
8443
|
+
"post": {
|
|
8444
|
+
"operationId": "create_push_subscription",
|
|
8445
|
+
"summary": "Create push subscription",
|
|
8446
|
+
"tags": [
|
|
8447
|
+
"Push Subscriptions"
|
|
8448
|
+
],
|
|
8449
|
+
"security": [
|
|
8450
|
+
{
|
|
8451
|
+
"bearerAuth": []
|
|
8452
|
+
},
|
|
8453
|
+
{
|
|
8454
|
+
"cookieAuth": []
|
|
8455
|
+
}
|
|
8456
|
+
],
|
|
8457
|
+
"requestBody": {
|
|
8458
|
+
"content": {
|
|
8459
|
+
"application/vnd.api+json": {
|
|
8460
|
+
"schema": {
|
|
8461
|
+
"type": "object",
|
|
8462
|
+
"required": [
|
|
8463
|
+
"data"
|
|
8464
|
+
],
|
|
8465
|
+
"properties": {
|
|
8466
|
+
"data": {
|
|
8467
|
+
"required": [
|
|
8468
|
+
"attributes"
|
|
8469
|
+
],
|
|
8470
|
+
"properties": {
|
|
8471
|
+
"attributes": {
|
|
8472
|
+
"$ref": "#/components/schemas/PushSubscriptionAttributes"
|
|
8473
|
+
}
|
|
8474
|
+
}
|
|
8475
|
+
}
|
|
8476
|
+
}
|
|
8477
|
+
}
|
|
8478
|
+
}
|
|
8479
|
+
}
|
|
8480
|
+
},
|
|
8481
|
+
"responses": {
|
|
8482
|
+
"201": {
|
|
8483
|
+
"description": "OK",
|
|
8484
|
+
"content": {
|
|
8485
|
+
"application/vnd.api+json": {
|
|
8486
|
+
"schema": {
|
|
8487
|
+
"$ref": "#/components/schemas/PushSubscription"
|
|
8488
|
+
}
|
|
8489
|
+
}
|
|
8490
|
+
}
|
|
8491
|
+
},
|
|
8492
|
+
"401": {
|
|
8493
|
+
"description": "Unauthorized",
|
|
8494
|
+
"content": {
|
|
8495
|
+
"application/vnd.api+json": {
|
|
8496
|
+
"schema": {
|
|
8497
|
+
"$ref": "#/components/schemas/Errors"
|
|
8498
|
+
}
|
|
8499
|
+
}
|
|
8500
|
+
}
|
|
8501
|
+
},
|
|
8502
|
+
"403": {
|
|
8503
|
+
"description": "Forbidden",
|
|
8504
|
+
"content": {
|
|
8505
|
+
"application/vnd.api+json": {
|
|
8506
|
+
"schema": {
|
|
8507
|
+
"$ref": "#/components/schemas/Errors"
|
|
8508
|
+
}
|
|
8509
|
+
}
|
|
8510
|
+
}
|
|
8511
|
+
},
|
|
8512
|
+
"422": {
|
|
8513
|
+
"description": "Unprocessable Entity",
|
|
8514
|
+
"content": {
|
|
8515
|
+
"application/vnd.api+json": {
|
|
8516
|
+
"schema": {
|
|
8517
|
+
"$ref": "#/components/schemas/Errors"
|
|
8518
|
+
}
|
|
8519
|
+
}
|
|
8520
|
+
}
|
|
8521
|
+
}
|
|
8522
|
+
}
|
|
8523
|
+
}
|
|
8437
8524
|
}
|
|
8438
8525
|
},
|
|
8439
8526
|
"components": {
|
|
@@ -8448,6 +8535,9 @@
|
|
|
8448
8535
|
},
|
|
8449
8536
|
{
|
|
8450
8537
|
"$ref": "#/components/schemas/UpdateResourceAction"
|
|
8538
|
+
},
|
|
8539
|
+
{
|
|
8540
|
+
"$ref": "#/components/schemas/CreateOrUpdateCaseAction"
|
|
8451
8541
|
}
|
|
8452
8542
|
]
|
|
8453
8543
|
},
|
|
@@ -8616,7 +8706,8 @@
|
|
|
8616
8706
|
"type": "string",
|
|
8617
8707
|
"enum": [
|
|
8618
8708
|
"resource_instance",
|
|
8619
|
-
"value"
|
|
8709
|
+
"value",
|
|
8710
|
+
"attributes"
|
|
8620
8711
|
]
|
|
8621
8712
|
}
|
|
8622
8713
|
},
|
|
@@ -14151,6 +14242,12 @@
|
|
|
14151
14242
|
"UsersChannel"
|
|
14152
14243
|
]
|
|
14153
14244
|
},
|
|
14245
|
+
"UserSpecificChannel": {
|
|
14246
|
+
"type": "string",
|
|
14247
|
+
"enum": [
|
|
14248
|
+
"UserSpecificChannel"
|
|
14249
|
+
]
|
|
14250
|
+
},
|
|
14154
14251
|
"BroadcastEvent": {
|
|
14155
14252
|
"type": "object",
|
|
14156
14253
|
"required": [
|
|
@@ -14500,6 +14597,7 @@
|
|
|
14500
14597
|
"list_saved_filter",
|
|
14501
14598
|
"note",
|
|
14502
14599
|
"notification",
|
|
14600
|
+
"push_subscription",
|
|
14503
14601
|
"role",
|
|
14504
14602
|
"saved_filter",
|
|
14505
14603
|
"sso_config",
|
|
@@ -14833,6 +14931,144 @@
|
|
|
14833
14931
|
}
|
|
14834
14932
|
}
|
|
14835
14933
|
}
|
|
14934
|
+
},
|
|
14935
|
+
"CreateOrUpdateCaseAction": {
|
|
14936
|
+
"type": "object",
|
|
14937
|
+
"additionalProperties": false,
|
|
14938
|
+
"properties": {
|
|
14939
|
+
"name": {
|
|
14940
|
+
"type": "string"
|
|
14941
|
+
},
|
|
14942
|
+
"updated_at": {
|
|
14943
|
+
"type": "string",
|
|
14944
|
+
"format": "date-time"
|
|
14945
|
+
},
|
|
14946
|
+
"created_at": {
|
|
14947
|
+
"type": "string",
|
|
14948
|
+
"format": "date-time"
|
|
14949
|
+
},
|
|
14950
|
+
"active": {
|
|
14951
|
+
"type": "boolean"
|
|
14952
|
+
},
|
|
14953
|
+
"trigger_id": {
|
|
14954
|
+
"type": "string",
|
|
14955
|
+
"format": "uuid"
|
|
14956
|
+
},
|
|
14957
|
+
"action_type": {
|
|
14958
|
+
"type": "string",
|
|
14959
|
+
"enum": [
|
|
14960
|
+
"create_or_update_case"
|
|
14961
|
+
]
|
|
14962
|
+
},
|
|
14963
|
+
"config": {
|
|
14964
|
+
"type": "object",
|
|
14965
|
+
"required": [
|
|
14966
|
+
"identifying_fields",
|
|
14967
|
+
"template_id"
|
|
14968
|
+
],
|
|
14969
|
+
"properties": {
|
|
14970
|
+
"identifying_fields": {
|
|
14971
|
+
"description": "The fields that are used to identify the case. If no identifying fields are provided, a new case will be created.",
|
|
14972
|
+
"type": "array",
|
|
14973
|
+
"items": {
|
|
14974
|
+
"type": "string"
|
|
14975
|
+
}
|
|
14976
|
+
},
|
|
14977
|
+
"template_id": {
|
|
14978
|
+
"description": "The template ID of the case to create or update.",
|
|
14979
|
+
"type": "string",
|
|
14980
|
+
"format": "uuid"
|
|
14981
|
+
}
|
|
14982
|
+
}
|
|
14983
|
+
}
|
|
14984
|
+
}
|
|
14985
|
+
},
|
|
14986
|
+
"PushSubscriptionAttributes": {
|
|
14987
|
+
"type": "object",
|
|
14988
|
+
"additionalProperties": false,
|
|
14989
|
+
"required": [
|
|
14990
|
+
"endpoint",
|
|
14991
|
+
"p256dh_key",
|
|
14992
|
+
"auth_key"
|
|
14993
|
+
],
|
|
14994
|
+
"properties": {
|
|
14995
|
+
"endpoint": {
|
|
14996
|
+
"type": "string",
|
|
14997
|
+
"format": "uri",
|
|
14998
|
+
"description": "The endpoint URL for the push subscription"
|
|
14999
|
+
},
|
|
15000
|
+
"p256dh_key": {
|
|
15001
|
+
"type": "string",
|
|
15002
|
+
"description": "The p256dh public key for message encryption"
|
|
15003
|
+
},
|
|
15004
|
+
"auth_key": {
|
|
15005
|
+
"type": "string",
|
|
15006
|
+
"description": "The auth secret for message encryption"
|
|
15007
|
+
},
|
|
15008
|
+
"created_at": {
|
|
15009
|
+
"type": "string",
|
|
15010
|
+
"format": "date-time",
|
|
15011
|
+
"readOnly": true
|
|
15012
|
+
},
|
|
15013
|
+
"updated_at": {
|
|
15014
|
+
"type": "string",
|
|
15015
|
+
"format": "date-time",
|
|
15016
|
+
"readOnly": true
|
|
15017
|
+
}
|
|
15018
|
+
}
|
|
15019
|
+
},
|
|
15020
|
+
"PushSubscriptionData": {
|
|
15021
|
+
"type": "object",
|
|
15022
|
+
"additionalProperties": false,
|
|
15023
|
+
"required": [
|
|
15024
|
+
"type",
|
|
15025
|
+
"id",
|
|
15026
|
+
"attributes",
|
|
15027
|
+
"relationships"
|
|
15028
|
+
],
|
|
15029
|
+
"properties": {
|
|
15030
|
+
"type": {
|
|
15031
|
+
"type": "string",
|
|
15032
|
+
"enum": [
|
|
15033
|
+
"push_subscription"
|
|
15034
|
+
]
|
|
15035
|
+
},
|
|
15036
|
+
"id": {
|
|
15037
|
+
"type": "string",
|
|
15038
|
+
"format": "uuid"
|
|
15039
|
+
},
|
|
15040
|
+
"attributes": {
|
|
15041
|
+
"$ref": "#/components/schemas/PushSubscriptionAttributes"
|
|
15042
|
+
},
|
|
15043
|
+
"relationships": {
|
|
15044
|
+
"$ref": "#/components/schemas/PushSubscriptionRelationships"
|
|
15045
|
+
}
|
|
15046
|
+
}
|
|
15047
|
+
},
|
|
15048
|
+
"PushSubscriptionRelationships": {
|
|
15049
|
+
"type": "object",
|
|
15050
|
+
"additionalProperties": false,
|
|
15051
|
+
"properties": {
|
|
15052
|
+
"user": {
|
|
15053
|
+
"$ref": "#/components/schemas/UserRelationship"
|
|
15054
|
+
}
|
|
15055
|
+
}
|
|
15056
|
+
},
|
|
15057
|
+
"PushSubscription": {
|
|
15058
|
+
"type": "object",
|
|
15059
|
+
"additionalProperties": false,
|
|
15060
|
+
"required": [
|
|
15061
|
+
"data",
|
|
15062
|
+
"links"
|
|
15063
|
+
],
|
|
15064
|
+
"properties": {
|
|
15065
|
+
"data": {
|
|
15066
|
+
"$ref": "#/components/schemas/PushSubscriptionData"
|
|
15067
|
+
},
|
|
15068
|
+
"links": {
|
|
15069
|
+
"$ref": "#/components/schemas/Links"
|
|
15070
|
+
}
|
|
15071
|
+
}
|
|
14836
15072
|
}
|
|
14837
15073
|
},
|
|
14838
15074
|
"securitySchemes": {
|