@liaisongroup/assist-api-js-client 1.5.79 → 1.5.81
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 +59 -0
- package/dist/openapi.json +164 -1
- package/dist/openapi.zod.d.ts +127 -18
- package/dist/openapi.zod.js +14 -0
- package/package.json +1 -1
package/dist/openapi.d.ts
CHANGED
|
@@ -2160,6 +2160,16 @@ declare namespace Components {
|
|
|
2160
2160
|
type: "xslt_map";
|
|
2161
2161
|
attributes: XsltMapAttributes;
|
|
2162
2162
|
}
|
|
2163
|
+
export interface XsltMapPreview {
|
|
2164
|
+
data: {
|
|
2165
|
+
attributes: {
|
|
2166
|
+
result: {
|
|
2167
|
+
[name: string]: any;
|
|
2168
|
+
};
|
|
2169
|
+
};
|
|
2170
|
+
};
|
|
2171
|
+
links?: Links;
|
|
2172
|
+
}
|
|
2163
2173
|
export interface XsltMaps {
|
|
2164
2174
|
data: XsltMapData[];
|
|
2165
2175
|
links: Links;
|
|
@@ -3445,6 +3455,30 @@ declare namespace Paths {
|
|
|
3445
3455
|
export type $403 = Components.Schemas.Errors;
|
|
3446
3456
|
}
|
|
3447
3457
|
}
|
|
3458
|
+
namespace PreviewXsltMap {
|
|
3459
|
+
namespace Parameters {
|
|
3460
|
+
export type Id = string; // uuid
|
|
3461
|
+
}
|
|
3462
|
+
export interface PathParameters {
|
|
3463
|
+
id: Parameters.Id /* uuid */;
|
|
3464
|
+
}
|
|
3465
|
+
export interface RequestBody {
|
|
3466
|
+
data: {
|
|
3467
|
+
attributes: {
|
|
3468
|
+
message: string; // xml
|
|
3469
|
+
} | {
|
|
3470
|
+
message_id: string; // uuid
|
|
3471
|
+
};
|
|
3472
|
+
};
|
|
3473
|
+
}
|
|
3474
|
+
namespace Responses {
|
|
3475
|
+
export type $200 = Components.Schemas.XsltMapPreview;
|
|
3476
|
+
export type $401 = Components.Schemas.Errors;
|
|
3477
|
+
export type $403 = Components.Schemas.Errors;
|
|
3478
|
+
export type $404 = Components.Schemas.Errors;
|
|
3479
|
+
export type $422 = Components.Schemas.Errors;
|
|
3480
|
+
}
|
|
3481
|
+
}
|
|
3448
3482
|
namespace RevokeAccessToken {
|
|
3449
3483
|
export interface RequestBody {
|
|
3450
3484
|
token: string; // jwt
|
|
@@ -4809,6 +4843,17 @@ export interface OperationMethods {
|
|
|
4809
4843
|
data?: any,
|
|
4810
4844
|
config?: AxiosRequestConfig
|
|
4811
4845
|
): OperationResponse<Paths.DeleteXsltMap.Responses.$204>
|
|
4846
|
+
/**
|
|
4847
|
+
* preview_xslt_map - Preview XSLT map
|
|
4848
|
+
*
|
|
4849
|
+
* Preview the XSLT map with the given data. You can supply a HL7 message ID or an XML message and the XSLT map will be applied to the message and the result returned.
|
|
4850
|
+
*
|
|
4851
|
+
*/
|
|
4852
|
+
'preview_xslt_map'(
|
|
4853
|
+
parameters?: Parameters<Paths.PreviewXsltMap.PathParameters> | null,
|
|
4854
|
+
data?: Paths.PreviewXsltMap.RequestBody,
|
|
4855
|
+
config?: AxiosRequestConfig
|
|
4856
|
+
): OperationResponse<Paths.PreviewXsltMap.Responses.$200>
|
|
4812
4857
|
/**
|
|
4813
4858
|
* get_hl7_messages - Get HL7 messages
|
|
4814
4859
|
*/
|
|
@@ -5912,6 +5957,19 @@ export interface PathsDictionary {
|
|
|
5912
5957
|
config?: AxiosRequestConfig
|
|
5913
5958
|
): OperationResponse<Paths.DeleteXsltMap.Responses.$204>
|
|
5914
5959
|
}
|
|
5960
|
+
['/xslt_maps/{id}/preview']: {
|
|
5961
|
+
/**
|
|
5962
|
+
* preview_xslt_map - Preview XSLT map
|
|
5963
|
+
*
|
|
5964
|
+
* Preview the XSLT map with the given data. You can supply a HL7 message ID or an XML message and the XSLT map will be applied to the message and the result returned.
|
|
5965
|
+
*
|
|
5966
|
+
*/
|
|
5967
|
+
'post'(
|
|
5968
|
+
parameters?: Parameters<Paths.PreviewXsltMap.PathParameters> | null,
|
|
5969
|
+
data?: Paths.PreviewXsltMap.RequestBody,
|
|
5970
|
+
config?: AxiosRequestConfig
|
|
5971
|
+
): OperationResponse<Paths.PreviewXsltMap.Responses.$200>
|
|
5972
|
+
}
|
|
5915
5973
|
['/hl7_messages']: {
|
|
5916
5974
|
/**
|
|
5917
5975
|
* get_hl7_messages - Get HL7 messages
|
|
@@ -6310,4 +6368,5 @@ export type VersionsRelationship = Components.Schemas.VersionsRelationship;
|
|
|
6310
6368
|
export type XsltMap = Components.Schemas.XsltMap;
|
|
6311
6369
|
export type XsltMapAttributes = Components.Schemas.XsltMapAttributes;
|
|
6312
6370
|
export type XsltMapData = Components.Schemas.XsltMapData;
|
|
6371
|
+
export type XsltMapPreview = Components.Schemas.XsltMapPreview;
|
|
6313
6372
|
export type XsltMaps = Components.Schemas.XsltMaps;
|
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.310",
|
|
7
7
|
"license": {
|
|
8
8
|
"name": "MIT",
|
|
9
9
|
"url": "https://opensource.org/licenses/MIT"
|
|
@@ -8010,6 +8010,137 @@
|
|
|
8010
8010
|
}
|
|
8011
8011
|
}
|
|
8012
8012
|
},
|
|
8013
|
+
"/xslt_maps/{id}/preview": {
|
|
8014
|
+
"post": {
|
|
8015
|
+
"operationId": "preview_xslt_map",
|
|
8016
|
+
"summary": "Preview XSLT map",
|
|
8017
|
+
"description": "Preview the XSLT map with the given data. You can supply a HL7 message ID or an XML message and the XSLT map will be applied to the message and the result returned.\n",
|
|
8018
|
+
"tags": [
|
|
8019
|
+
"XSLT Maps"
|
|
8020
|
+
],
|
|
8021
|
+
"security": [
|
|
8022
|
+
{
|
|
8023
|
+
"bearerAuth": []
|
|
8024
|
+
},
|
|
8025
|
+
{
|
|
8026
|
+
"cookieAuth": []
|
|
8027
|
+
}
|
|
8028
|
+
],
|
|
8029
|
+
"parameters": [
|
|
8030
|
+
{
|
|
8031
|
+
"name": "id",
|
|
8032
|
+
"in": "path",
|
|
8033
|
+
"required": true,
|
|
8034
|
+
"schema": {
|
|
8035
|
+
"type": "string",
|
|
8036
|
+
"format": "uuid"
|
|
8037
|
+
}
|
|
8038
|
+
}
|
|
8039
|
+
],
|
|
8040
|
+
"requestBody": {
|
|
8041
|
+
"content": {
|
|
8042
|
+
"application/vnd.api+json": {
|
|
8043
|
+
"schema": {
|
|
8044
|
+
"type": "object",
|
|
8045
|
+
"required": [
|
|
8046
|
+
"data"
|
|
8047
|
+
],
|
|
8048
|
+
"properties": {
|
|
8049
|
+
"data": {
|
|
8050
|
+
"type": "object",
|
|
8051
|
+
"required": [
|
|
8052
|
+
"attributes"
|
|
8053
|
+
],
|
|
8054
|
+
"properties": {
|
|
8055
|
+
"attributes": {
|
|
8056
|
+
"oneOf": [
|
|
8057
|
+
{
|
|
8058
|
+
"type": "object",
|
|
8059
|
+
"required": [
|
|
8060
|
+
"message"
|
|
8061
|
+
],
|
|
8062
|
+
"properties": {
|
|
8063
|
+
"message": {
|
|
8064
|
+
"type": "string",
|
|
8065
|
+
"format": "xml"
|
|
8066
|
+
}
|
|
8067
|
+
}
|
|
8068
|
+
},
|
|
8069
|
+
{
|
|
8070
|
+
"type": "object",
|
|
8071
|
+
"required": [
|
|
8072
|
+
"message_id"
|
|
8073
|
+
],
|
|
8074
|
+
"properties": {
|
|
8075
|
+
"message_id": {
|
|
8076
|
+
"type": "string",
|
|
8077
|
+
"format": "uuid"
|
|
8078
|
+
}
|
|
8079
|
+
}
|
|
8080
|
+
}
|
|
8081
|
+
]
|
|
8082
|
+
}
|
|
8083
|
+
}
|
|
8084
|
+
}
|
|
8085
|
+
}
|
|
8086
|
+
}
|
|
8087
|
+
}
|
|
8088
|
+
}
|
|
8089
|
+
},
|
|
8090
|
+
"responses": {
|
|
8091
|
+
"200": {
|
|
8092
|
+
"description": "OK",
|
|
8093
|
+
"content": {
|
|
8094
|
+
"application/vnd.api+json": {
|
|
8095
|
+
"schema": {
|
|
8096
|
+
"$ref": "#/components/schemas/XsltMapPreview"
|
|
8097
|
+
}
|
|
8098
|
+
}
|
|
8099
|
+
}
|
|
8100
|
+
},
|
|
8101
|
+
"401": {
|
|
8102
|
+
"description": "Unauthorized",
|
|
8103
|
+
"content": {
|
|
8104
|
+
"application/vnd.api+json": {
|
|
8105
|
+
"schema": {
|
|
8106
|
+
"$ref": "#/components/schemas/Errors"
|
|
8107
|
+
}
|
|
8108
|
+
}
|
|
8109
|
+
}
|
|
8110
|
+
},
|
|
8111
|
+
"403": {
|
|
8112
|
+
"description": "Forbidden",
|
|
8113
|
+
"content": {
|
|
8114
|
+
"application/vnd.api+json": {
|
|
8115
|
+
"schema": {
|
|
8116
|
+
"$ref": "#/components/schemas/Errors"
|
|
8117
|
+
}
|
|
8118
|
+
}
|
|
8119
|
+
}
|
|
8120
|
+
},
|
|
8121
|
+
"404": {
|
|
8122
|
+
"description": "Not Found",
|
|
8123
|
+
"content": {
|
|
8124
|
+
"application/vnd.api+json": {
|
|
8125
|
+
"schema": {
|
|
8126
|
+
"$ref": "#/components/schemas/Errors"
|
|
8127
|
+
}
|
|
8128
|
+
}
|
|
8129
|
+
}
|
|
8130
|
+
},
|
|
8131
|
+
"422": {
|
|
8132
|
+
"description": "Unprocessable Entity",
|
|
8133
|
+
"content": {
|
|
8134
|
+
"application/vnd.api+json": {
|
|
8135
|
+
"schema": {
|
|
8136
|
+
"$ref": "#/components/schemas/Errors"
|
|
8137
|
+
}
|
|
8138
|
+
}
|
|
8139
|
+
}
|
|
8140
|
+
}
|
|
8141
|
+
}
|
|
8142
|
+
}
|
|
8143
|
+
},
|
|
8013
8144
|
"/hl7_messages": {
|
|
8014
8145
|
"get": {
|
|
8015
8146
|
"operationId": "get_hl7_messages",
|
|
@@ -14594,6 +14725,38 @@
|
|
|
14594
14725
|
}
|
|
14595
14726
|
}
|
|
14596
14727
|
},
|
|
14728
|
+
"XsltMapPreview": {
|
|
14729
|
+
"type": "object",
|
|
14730
|
+
"additionalProperties": false,
|
|
14731
|
+
"required": [
|
|
14732
|
+
"data"
|
|
14733
|
+
],
|
|
14734
|
+
"properties": {
|
|
14735
|
+
"data": {
|
|
14736
|
+
"type": "object",
|
|
14737
|
+
"required": [
|
|
14738
|
+
"attributes"
|
|
14739
|
+
],
|
|
14740
|
+
"properties": {
|
|
14741
|
+
"attributes": {
|
|
14742
|
+
"type": "object",
|
|
14743
|
+
"required": [
|
|
14744
|
+
"result"
|
|
14745
|
+
],
|
|
14746
|
+
"properties": {
|
|
14747
|
+
"result": {
|
|
14748
|
+
"type": "object",
|
|
14749
|
+
"additionalProperties": true
|
|
14750
|
+
}
|
|
14751
|
+
}
|
|
14752
|
+
}
|
|
14753
|
+
}
|
|
14754
|
+
},
|
|
14755
|
+
"links": {
|
|
14756
|
+
"$ref": "#/components/schemas/Links"
|
|
14757
|
+
}
|
|
14758
|
+
}
|
|
14759
|
+
},
|
|
14597
14760
|
"VersionAttributes": {
|
|
14598
14761
|
"type": "object",
|
|
14599
14762
|
"additionalProperties": false,
|
package/dist/openapi.zod.d.ts
CHANGED
|
@@ -174462,6 +174462,115 @@ export declare const XsltMap: z.ZodObject<{
|
|
|
174462
174462
|
related?: string | undefined;
|
|
174463
174463
|
} | undefined;
|
|
174464
174464
|
}>;
|
|
174465
|
+
export declare const preview_xslt_map_Body: z.ZodObject<{
|
|
174466
|
+
data: z.ZodObject<{
|
|
174467
|
+
attributes: z.ZodUnion<[z.ZodObject<{
|
|
174468
|
+
message: z.ZodString;
|
|
174469
|
+
}, "strip", z.ZodTypeAny, {
|
|
174470
|
+
message: string;
|
|
174471
|
+
}, {
|
|
174472
|
+
message: string;
|
|
174473
|
+
}>, z.ZodObject<{
|
|
174474
|
+
message_id: z.ZodString;
|
|
174475
|
+
}, "strip", z.ZodTypeAny, {
|
|
174476
|
+
message_id: string;
|
|
174477
|
+
}, {
|
|
174478
|
+
message_id: string;
|
|
174479
|
+
}>]>;
|
|
174480
|
+
}, "strip", z.ZodTypeAny, {
|
|
174481
|
+
attributes: {
|
|
174482
|
+
message: string;
|
|
174483
|
+
} | {
|
|
174484
|
+
message_id: string;
|
|
174485
|
+
};
|
|
174486
|
+
}, {
|
|
174487
|
+
attributes: {
|
|
174488
|
+
message: string;
|
|
174489
|
+
} | {
|
|
174490
|
+
message_id: string;
|
|
174491
|
+
};
|
|
174492
|
+
}>;
|
|
174493
|
+
}, "strip", z.ZodTypeAny, {
|
|
174494
|
+
data: {
|
|
174495
|
+
attributes: {
|
|
174496
|
+
message: string;
|
|
174497
|
+
} | {
|
|
174498
|
+
message_id: string;
|
|
174499
|
+
};
|
|
174500
|
+
};
|
|
174501
|
+
}, {
|
|
174502
|
+
data: {
|
|
174503
|
+
attributes: {
|
|
174504
|
+
message: string;
|
|
174505
|
+
} | {
|
|
174506
|
+
message_id: string;
|
|
174507
|
+
};
|
|
174508
|
+
};
|
|
174509
|
+
}>;
|
|
174510
|
+
export declare const XsltMapPreview: z.ZodObject<{
|
|
174511
|
+
data: z.ZodObject<{
|
|
174512
|
+
attributes: z.ZodObject<{
|
|
174513
|
+
result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
174514
|
+
}, "strip", z.ZodTypeAny, {
|
|
174515
|
+
result: {};
|
|
174516
|
+
}, {
|
|
174517
|
+
result: {};
|
|
174518
|
+
}>;
|
|
174519
|
+
}, "strip", z.ZodTypeAny, {
|
|
174520
|
+
attributes: {
|
|
174521
|
+
result: {};
|
|
174522
|
+
};
|
|
174523
|
+
}, {
|
|
174524
|
+
attributes: {
|
|
174525
|
+
result: {};
|
|
174526
|
+
};
|
|
174527
|
+
}>;
|
|
174528
|
+
links: z.ZodOptional<z.ZodObject<{
|
|
174529
|
+
self: z.ZodOptional<z.ZodString>;
|
|
174530
|
+
current: z.ZodOptional<z.ZodString>;
|
|
174531
|
+
next: z.ZodOptional<z.ZodString>;
|
|
174532
|
+
last: z.ZodOptional<z.ZodString>;
|
|
174533
|
+
related: z.ZodOptional<z.ZodString>;
|
|
174534
|
+
}, "strip", z.ZodTypeAny, {
|
|
174535
|
+
self?: string | undefined;
|
|
174536
|
+
current?: string | undefined;
|
|
174537
|
+
next?: string | undefined;
|
|
174538
|
+
last?: string | undefined;
|
|
174539
|
+
related?: string | undefined;
|
|
174540
|
+
}, {
|
|
174541
|
+
self?: string | undefined;
|
|
174542
|
+
current?: string | undefined;
|
|
174543
|
+
next?: string | undefined;
|
|
174544
|
+
last?: string | undefined;
|
|
174545
|
+
related?: string | undefined;
|
|
174546
|
+
}>>;
|
|
174547
|
+
}, "strip", z.ZodTypeAny, {
|
|
174548
|
+
data: {
|
|
174549
|
+
attributes: {
|
|
174550
|
+
result: {};
|
|
174551
|
+
};
|
|
174552
|
+
};
|
|
174553
|
+
links?: {
|
|
174554
|
+
self?: string | undefined;
|
|
174555
|
+
current?: string | undefined;
|
|
174556
|
+
next?: string | undefined;
|
|
174557
|
+
last?: string | undefined;
|
|
174558
|
+
related?: string | undefined;
|
|
174559
|
+
} | undefined;
|
|
174560
|
+
}, {
|
|
174561
|
+
data: {
|
|
174562
|
+
attributes: {
|
|
174563
|
+
result: {};
|
|
174564
|
+
};
|
|
174565
|
+
};
|
|
174566
|
+
links?: {
|
|
174567
|
+
self?: string | undefined;
|
|
174568
|
+
current?: string | undefined;
|
|
174569
|
+
next?: string | undefined;
|
|
174570
|
+
last?: string | undefined;
|
|
174571
|
+
related?: string | undefined;
|
|
174572
|
+
} | undefined;
|
|
174573
|
+
}>;
|
|
174465
174574
|
export declare const HL7MessageAttributes: z.ZodObject<{
|
|
174466
174575
|
message_id: z.ZodOptional<z.ZodString>;
|
|
174467
174576
|
body: z.ZodOptional<z.ZodString>;
|
|
@@ -174469,16 +174578,16 @@ export declare const HL7MessageAttributes: z.ZodObject<{
|
|
|
174469
174578
|
created_at: z.ZodOptional<z.ZodString>;
|
|
174470
174579
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
174471
174580
|
}, "strip", z.ZodTypeAny, {
|
|
174581
|
+
message_id?: string | undefined;
|
|
174472
174582
|
created_at?: string | undefined;
|
|
174473
174583
|
updated_at?: string | undefined;
|
|
174474
174584
|
body?: string | undefined;
|
|
174475
|
-
message_id?: string | undefined;
|
|
174476
174585
|
retain?: boolean | undefined;
|
|
174477
174586
|
}, {
|
|
174587
|
+
message_id?: string | undefined;
|
|
174478
174588
|
created_at?: string | undefined;
|
|
174479
174589
|
updated_at?: string | undefined;
|
|
174480
174590
|
body?: string | undefined;
|
|
174481
|
-
message_id?: string | undefined;
|
|
174482
174591
|
retain?: boolean | undefined;
|
|
174483
174592
|
}>;
|
|
174484
174593
|
export declare const HL7MessageData: z.ZodObject<{
|
|
@@ -174491,35 +174600,35 @@ export declare const HL7MessageData: z.ZodObject<{
|
|
|
174491
174600
|
created_at: z.ZodOptional<z.ZodString>;
|
|
174492
174601
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
174493
174602
|
}, "strip", z.ZodTypeAny, {
|
|
174603
|
+
message_id?: string | undefined;
|
|
174494
174604
|
created_at?: string | undefined;
|
|
174495
174605
|
updated_at?: string | undefined;
|
|
174496
174606
|
body?: string | undefined;
|
|
174497
|
-
message_id?: string | undefined;
|
|
174498
174607
|
retain?: boolean | undefined;
|
|
174499
174608
|
}, {
|
|
174609
|
+
message_id?: string | undefined;
|
|
174500
174610
|
created_at?: string | undefined;
|
|
174501
174611
|
updated_at?: string | undefined;
|
|
174502
174612
|
body?: string | undefined;
|
|
174503
|
-
message_id?: string | undefined;
|
|
174504
174613
|
retain?: boolean | undefined;
|
|
174505
174614
|
}>;
|
|
174506
174615
|
}, "strip", z.ZodTypeAny, {
|
|
174507
174616
|
id: string;
|
|
174508
174617
|
attributes: {
|
|
174618
|
+
message_id?: string | undefined;
|
|
174509
174619
|
created_at?: string | undefined;
|
|
174510
174620
|
updated_at?: string | undefined;
|
|
174511
174621
|
body?: string | undefined;
|
|
174512
|
-
message_id?: string | undefined;
|
|
174513
174622
|
retain?: boolean | undefined;
|
|
174514
174623
|
};
|
|
174515
174624
|
type: "hl7_message";
|
|
174516
174625
|
}, {
|
|
174517
174626
|
id: string;
|
|
174518
174627
|
attributes: {
|
|
174628
|
+
message_id?: string | undefined;
|
|
174519
174629
|
created_at?: string | undefined;
|
|
174520
174630
|
updated_at?: string | undefined;
|
|
174521
174631
|
body?: string | undefined;
|
|
174522
|
-
message_id?: string | undefined;
|
|
174523
174632
|
retain?: boolean | undefined;
|
|
174524
174633
|
};
|
|
174525
174634
|
type: "hl7_message";
|
|
@@ -174535,35 +174644,35 @@ export declare const HL7Messages: z.ZodObject<{
|
|
|
174535
174644
|
created_at: z.ZodOptional<z.ZodString>;
|
|
174536
174645
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
174537
174646
|
}, "strip", z.ZodTypeAny, {
|
|
174647
|
+
message_id?: string | undefined;
|
|
174538
174648
|
created_at?: string | undefined;
|
|
174539
174649
|
updated_at?: string | undefined;
|
|
174540
174650
|
body?: string | undefined;
|
|
174541
|
-
message_id?: string | undefined;
|
|
174542
174651
|
retain?: boolean | undefined;
|
|
174543
174652
|
}, {
|
|
174653
|
+
message_id?: string | undefined;
|
|
174544
174654
|
created_at?: string | undefined;
|
|
174545
174655
|
updated_at?: string | undefined;
|
|
174546
174656
|
body?: string | undefined;
|
|
174547
|
-
message_id?: string | undefined;
|
|
174548
174657
|
retain?: boolean | undefined;
|
|
174549
174658
|
}>;
|
|
174550
174659
|
}, "strip", z.ZodTypeAny, {
|
|
174551
174660
|
id: string;
|
|
174552
174661
|
attributes: {
|
|
174662
|
+
message_id?: string | undefined;
|
|
174553
174663
|
created_at?: string | undefined;
|
|
174554
174664
|
updated_at?: string | undefined;
|
|
174555
174665
|
body?: string | undefined;
|
|
174556
|
-
message_id?: string | undefined;
|
|
174557
174666
|
retain?: boolean | undefined;
|
|
174558
174667
|
};
|
|
174559
174668
|
type: "hl7_message";
|
|
174560
174669
|
}, {
|
|
174561
174670
|
id: string;
|
|
174562
174671
|
attributes: {
|
|
174672
|
+
message_id?: string | undefined;
|
|
174563
174673
|
created_at?: string | undefined;
|
|
174564
174674
|
updated_at?: string | undefined;
|
|
174565
174675
|
body?: string | undefined;
|
|
174566
|
-
message_id?: string | undefined;
|
|
174567
174676
|
retain?: boolean | undefined;
|
|
174568
174677
|
};
|
|
174569
174678
|
type: "hl7_message";
|
|
@@ -174623,10 +174732,10 @@ export declare const HL7Messages: z.ZodObject<{
|
|
|
174623
174732
|
data: {
|
|
174624
174733
|
id: string;
|
|
174625
174734
|
attributes: {
|
|
174735
|
+
message_id?: string | undefined;
|
|
174626
174736
|
created_at?: string | undefined;
|
|
174627
174737
|
updated_at?: string | undefined;
|
|
174628
174738
|
body?: string | undefined;
|
|
174629
|
-
message_id?: string | undefined;
|
|
174630
174739
|
retain?: boolean | undefined;
|
|
174631
174740
|
};
|
|
174632
174741
|
type: "hl7_message";
|
|
@@ -174650,10 +174759,10 @@ export declare const HL7Messages: z.ZodObject<{
|
|
|
174650
174759
|
data: {
|
|
174651
174760
|
id: string;
|
|
174652
174761
|
attributes: {
|
|
174762
|
+
message_id?: string | undefined;
|
|
174653
174763
|
created_at?: string | undefined;
|
|
174654
174764
|
updated_at?: string | undefined;
|
|
174655
174765
|
body?: string | undefined;
|
|
174656
|
-
message_id?: string | undefined;
|
|
174657
174766
|
retain?: boolean | undefined;
|
|
174658
174767
|
};
|
|
174659
174768
|
type: "hl7_message";
|
|
@@ -174685,35 +174794,35 @@ export declare const HL7Message: z.ZodObject<{
|
|
|
174685
174794
|
created_at: z.ZodOptional<z.ZodString>;
|
|
174686
174795
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
174687
174796
|
}, "strip", z.ZodTypeAny, {
|
|
174797
|
+
message_id?: string | undefined;
|
|
174688
174798
|
created_at?: string | undefined;
|
|
174689
174799
|
updated_at?: string | undefined;
|
|
174690
174800
|
body?: string | undefined;
|
|
174691
|
-
message_id?: string | undefined;
|
|
174692
174801
|
retain?: boolean | undefined;
|
|
174693
174802
|
}, {
|
|
174803
|
+
message_id?: string | undefined;
|
|
174694
174804
|
created_at?: string | undefined;
|
|
174695
174805
|
updated_at?: string | undefined;
|
|
174696
174806
|
body?: string | undefined;
|
|
174697
|
-
message_id?: string | undefined;
|
|
174698
174807
|
retain?: boolean | undefined;
|
|
174699
174808
|
}>;
|
|
174700
174809
|
}, "strip", z.ZodTypeAny, {
|
|
174701
174810
|
id: string;
|
|
174702
174811
|
attributes: {
|
|
174812
|
+
message_id?: string | undefined;
|
|
174703
174813
|
created_at?: string | undefined;
|
|
174704
174814
|
updated_at?: string | undefined;
|
|
174705
174815
|
body?: string | undefined;
|
|
174706
|
-
message_id?: string | undefined;
|
|
174707
174816
|
retain?: boolean | undefined;
|
|
174708
174817
|
};
|
|
174709
174818
|
type: "hl7_message";
|
|
174710
174819
|
}, {
|
|
174711
174820
|
id: string;
|
|
174712
174821
|
attributes: {
|
|
174822
|
+
message_id?: string | undefined;
|
|
174713
174823
|
created_at?: string | undefined;
|
|
174714
174824
|
updated_at?: string | undefined;
|
|
174715
174825
|
body?: string | undefined;
|
|
174716
|
-
message_id?: string | undefined;
|
|
174717
174826
|
retain?: boolean | undefined;
|
|
174718
174827
|
};
|
|
174719
174828
|
type: "hl7_message";
|
|
@@ -174741,10 +174850,10 @@ export declare const HL7Message: z.ZodObject<{
|
|
|
174741
174850
|
data: {
|
|
174742
174851
|
id: string;
|
|
174743
174852
|
attributes: {
|
|
174853
|
+
message_id?: string | undefined;
|
|
174744
174854
|
created_at?: string | undefined;
|
|
174745
174855
|
updated_at?: string | undefined;
|
|
174746
174856
|
body?: string | undefined;
|
|
174747
|
-
message_id?: string | undefined;
|
|
174748
174857
|
retain?: boolean | undefined;
|
|
174749
174858
|
};
|
|
174750
174859
|
type: "hl7_message";
|
|
@@ -174760,10 +174869,10 @@ export declare const HL7Message: z.ZodObject<{
|
|
|
174760
174869
|
data: {
|
|
174761
174870
|
id: string;
|
|
174762
174871
|
attributes: {
|
|
174872
|
+
message_id?: string | undefined;
|
|
174763
174873
|
created_at?: string | undefined;
|
|
174764
174874
|
updated_at?: string | undefined;
|
|
174765
174875
|
body?: string | undefined;
|
|
174766
|
-
message_id?: string | undefined;
|
|
174767
174876
|
retain?: boolean | undefined;
|
|
174768
174877
|
};
|
|
174769
174878
|
type: "hl7_message";
|
package/dist/openapi.zod.js
CHANGED
|
@@ -1822,6 +1822,20 @@ export const XsltMaps = z.object({
|
|
|
1822
1822
|
meta: Meta,
|
|
1823
1823
|
});
|
|
1824
1824
|
export const XsltMap = z.object({ data: XsltMapData, links: Links.optional() });
|
|
1825
|
+
export const preview_xslt_map_Body = z.object({
|
|
1826
|
+
data: z.object({
|
|
1827
|
+
attributes: z.union([
|
|
1828
|
+
z.object({ message: z.string() }),
|
|
1829
|
+
z.object({ message_id: z.string().uuid() }),
|
|
1830
|
+
]),
|
|
1831
|
+
}),
|
|
1832
|
+
});
|
|
1833
|
+
export const XsltMapPreview = z.object({
|
|
1834
|
+
data: z.object({
|
|
1835
|
+
attributes: z.object({ result: z.object({}).partial() }),
|
|
1836
|
+
}),
|
|
1837
|
+
links: Links.optional(),
|
|
1838
|
+
});
|
|
1825
1839
|
export const HL7MessageAttributes = z
|
|
1826
1840
|
.object({
|
|
1827
1841
|
message_id: z.string(),
|
package/package.json
CHANGED