@liaisongroup/assist-api-js-client 1.5.59 → 1.5.61

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 CHANGED
@@ -112,6 +112,7 @@ declare namespace Components {
112
112
  attributes: {
113
113
  user_name?: string;
114
114
  target_type?: "Case" | "Note" | "Tag" | "Task";
115
+ target_id?: null | string /* uuid */;
115
116
  target_name?: string;
116
117
  event_type?: "create" | "destroy" | "update";
117
118
  event_reason?: null | string;
@@ -231,7 +232,7 @@ declare namespace Components {
231
232
  links: Links;
232
233
  }
233
234
  export interface ConfigAttributes {
234
- value?: null | string | boolean | (string | boolean)[];
235
+ value?: null | string | boolean | any[] | number;
235
236
  }
236
237
  export interface ConfigData {
237
238
  type: "config";
@@ -761,6 +762,30 @@ declare namespace Components {
761
762
  }[];
762
763
  links?: Links;
763
764
  }
765
+ export interface HL7Message {
766
+ data: HL7MessageData;
767
+ links: Links;
768
+ }
769
+ export interface HL7MessageAttributes {
770
+ message_id?: string;
771
+ body?: string;
772
+ retain?: boolean;
773
+ created_at?: string; // date-time
774
+ updated_at?: string; // date-time
775
+ }
776
+ export interface HL7MessageData {
777
+ type: "hl7_message";
778
+ id: string; // uuid
779
+ attributes: HL7MessageAttributes;
780
+ }
781
+ export interface HL7MessageUpdateAttributes {
782
+ retain?: boolean;
783
+ }
784
+ export interface HL7Messages {
785
+ data: HL7MessageData[];
786
+ meta: Meta;
787
+ links: Links;
788
+ }
764
789
  export interface IdAttribute {
765
790
  id?: string; // uuid
766
791
  }
@@ -784,7 +809,7 @@ declare namespace Components {
784
809
  }[];
785
810
  };
786
811
  }
787
- export type KnownConfigIDs = "db_reset" | "password_regex" | "password_regex_message" | "action_resources" | "field_resources" | "role_resources" | "admin_resources" | "field_setting_restriction_operators" | "field_setting_restriction_constraints" | "hide_tasks" | "task_delete_reasons" | "skip_rack_attack";
812
+ 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";
788
813
  export interface Links {
789
814
  self?: string;
790
815
  current?: string;
@@ -1410,6 +1435,9 @@ declare namespace Components {
1410
1435
  id?: string; // uuid
1411
1436
  }[];
1412
1437
  }
1438
+ export interface SimpleError {
1439
+ error: string;
1440
+ }
1413
1441
  export type StructuredValues = {
1414
1442
  field_key?: string;
1415
1443
  field_type?: "string" | "integer" | "boolean" | "date" | "time" | "datetime" | "float" | "resource" | "composite";
@@ -2017,6 +2045,26 @@ declare namespace Components {
2017
2045
  id?: string; // uuid
2018
2046
  }[];
2019
2047
  }
2048
+ export interface XsltMap {
2049
+ data: XsltMapData;
2050
+ links?: Links;
2051
+ }
2052
+ export interface XsltMapAttributes {
2053
+ name?: string;
2054
+ xslt?: string;
2055
+ created_at?: string; // date-time
2056
+ updated_at?: string; // date-time
2057
+ }
2058
+ export interface XsltMapData {
2059
+ id: string; // uuid
2060
+ type: "xslt_map";
2061
+ attributes: XsltMapAttributes;
2062
+ }
2063
+ export interface XsltMaps {
2064
+ data: XsltMapData[];
2065
+ links: Links;
2066
+ meta: Meta;
2067
+ }
2020
2068
  }
2021
2069
  }
2022
2070
  declare namespace Paths {
@@ -2201,6 +2249,15 @@ declare namespace Paths {
2201
2249
  export type $422 = Components.Schemas.Errors;
2202
2250
  }
2203
2251
  }
2252
+ namespace CreateHl7 {
2253
+ export type RequestBody = string;
2254
+ namespace Responses {
2255
+ export interface $201 {
2256
+ }
2257
+ export type $401 = Components.Schemas.SimpleError;
2258
+ export type $422 = Components.Schemas.SimpleError;
2259
+ }
2260
+ }
2204
2261
  namespace CreateList {
2205
2262
  export interface RequestBody {
2206
2263
  data: {
@@ -2374,6 +2431,19 @@ declare namespace Paths {
2374
2431
  export type $422 = Components.Schemas.Errors;
2375
2432
  }
2376
2433
  }
2434
+ namespace CreateXsltMap {
2435
+ export interface RequestBody {
2436
+ data: {
2437
+ attributes: Components.Schemas.XsltMapAttributes;
2438
+ };
2439
+ }
2440
+ namespace Responses {
2441
+ export type $201 = Components.Schemas.XsltMap;
2442
+ export type $401 = Components.Schemas.Errors;
2443
+ export type $403 = Components.Schemas.Errors;
2444
+ export type $422 = Components.Schemas.Errors;
2445
+ }
2446
+ }
2377
2447
  namespace DeleteAction {
2378
2448
  namespace Parameters {
2379
2449
  export type Id = string; // uuid
@@ -2434,6 +2504,21 @@ declare namespace Paths {
2434
2504
  export type $404 = Components.Schemas.Errors;
2435
2505
  }
2436
2506
  }
2507
+ namespace DeleteHl7Message {
2508
+ namespace Parameters {
2509
+ export type Id = string; // uuid
2510
+ }
2511
+ export interface PathParameters {
2512
+ id: Parameters.Id /* uuid */;
2513
+ }
2514
+ namespace Responses {
2515
+ export interface $204 {
2516
+ }
2517
+ export type $401 = Components.Schemas.Errors;
2518
+ export type $403 = Components.Schemas.Errors;
2519
+ export type $404 = Components.Schemas.Errors;
2520
+ }
2521
+ }
2437
2522
  namespace DeleteList {
2438
2523
  namespace Parameters {
2439
2524
  export type IdOrSlug = string; // uuid
@@ -2640,6 +2725,21 @@ declare namespace Paths {
2640
2725
  export type $404 = Components.Schemas.Errors;
2641
2726
  }
2642
2727
  }
2728
+ namespace DeleteXsltMap {
2729
+ namespace Parameters {
2730
+ export type Id = string;
2731
+ }
2732
+ export interface PathParameters {
2733
+ id: Parameters.Id;
2734
+ }
2735
+ namespace Responses {
2736
+ export interface $204 {
2737
+ }
2738
+ export type $401 = Components.Schemas.Errors;
2739
+ export type $403 = Components.Schemas.Errors;
2740
+ export type $404 = Components.Schemas.Errors;
2741
+ }
2742
+ }
2643
2743
  namespace GetAccessTokenInfo {
2644
2744
  namespace Responses {
2645
2745
  export interface $200 {
@@ -2805,6 +2905,27 @@ declare namespace Paths {
2805
2905
  export type $403 = Components.Schemas.Errors;
2806
2906
  }
2807
2907
  }
2908
+ namespace GetHl7Message {
2909
+ namespace Parameters {
2910
+ export type Id = string; // uuid
2911
+ }
2912
+ export interface PathParameters {
2913
+ id: Parameters.Id /* uuid */;
2914
+ }
2915
+ namespace Responses {
2916
+ export type $200 = Components.Schemas.HL7Message;
2917
+ export type $401 = Components.Schemas.Errors;
2918
+ export type $403 = Components.Schemas.Errors;
2919
+ export type $404 = Components.Schemas.Errors;
2920
+ }
2921
+ }
2922
+ namespace GetHl7Messages {
2923
+ namespace Responses {
2924
+ export type $200 = Components.Schemas.HL7Messages;
2925
+ export type $401 = Components.Schemas.Errors;
2926
+ export type $403 = Components.Schemas.Errors;
2927
+ }
2928
+ }
2808
2929
  namespace GetList {
2809
2930
  namespace Parameters {
2810
2931
  export type IdOrSlug = string; // uuid
@@ -3108,6 +3229,27 @@ declare namespace Paths {
3108
3229
  export type $401 = Components.Schemas.Errors;
3109
3230
  }
3110
3231
  }
3232
+ namespace GetXsltMap {
3233
+ namespace Parameters {
3234
+ export type Id = string;
3235
+ }
3236
+ export interface PathParameters {
3237
+ id: Parameters.Id;
3238
+ }
3239
+ namespace Responses {
3240
+ export type $200 = Components.Schemas.XsltMap;
3241
+ export type $401 = Components.Schemas.Errors;
3242
+ export type $403 = Components.Schemas.Errors;
3243
+ export type $404 = Components.Schemas.Errors;
3244
+ }
3245
+ }
3246
+ namespace GetXsltMaps {
3247
+ namespace Responses {
3248
+ export type $200 = Components.Schemas.XsltMaps;
3249
+ export type $401 = Components.Schemas.Errors;
3250
+ export type $403 = Components.Schemas.Errors;
3251
+ }
3252
+ }
3111
3253
  namespace IntrospectAccessToken {
3112
3254
  export interface RequestBody {
3113
3255
  token: string; // jwt
@@ -3253,6 +3395,25 @@ declare namespace Paths {
3253
3395
  }
3254
3396
  }
3255
3397
  }
3398
+ namespace UpdateHl7Message {
3399
+ namespace Parameters {
3400
+ export type Id = string; // uuid
3401
+ }
3402
+ export interface PathParameters {
3403
+ id: Parameters.Id /* uuid */;
3404
+ }
3405
+ export interface RequestBody {
3406
+ data: {
3407
+ attributes: Components.Schemas.HL7MessageUpdateAttributes;
3408
+ };
3409
+ }
3410
+ namespace Responses {
3411
+ export type $200 = Components.Schemas.HL7Message;
3412
+ export type $401 = Components.Schemas.Errors;
3413
+ export type $403 = Components.Schemas.Errors;
3414
+ export type $404 = Components.Schemas.Errors;
3415
+ }
3416
+ }
3256
3417
  namespace UpdateList {
3257
3418
  namespace Parameters {
3258
3419
  export type IdOrSlug = string; // uuid
@@ -3527,6 +3688,22 @@ declare namespace Paths {
3527
3688
  export type $422 = Components.Schemas.Errors;
3528
3689
  }
3529
3690
  }
3691
+ namespace UpdateXsltMap {
3692
+ namespace Parameters {
3693
+ export type Id = string;
3694
+ }
3695
+ export interface PathParameters {
3696
+ id: Parameters.Id;
3697
+ }
3698
+ export type RequestBody = Components.Schemas.XsltMap;
3699
+ namespace Responses {
3700
+ export type $200 = Components.Schemas.XsltMap;
3701
+ export type $401 = Components.Schemas.Errors;
3702
+ export type $403 = Components.Schemas.Errors;
3703
+ export type $404 = Components.Schemas.Errors;
3704
+ export type $422 = Components.Schemas.Errors;
3705
+ }
3706
+ }
3530
3707
  }
3531
3708
 
3532
3709
 
@@ -4347,6 +4524,78 @@ export interface OperationMethods {
4347
4524
  data?: any,
4348
4525
  config?: AxiosRequestConfig
4349
4526
  ): OperationResponse<Paths.DeleteNotification.Responses.$204>
4527
+ /**
4528
+ * get_xslt_maps - Get XSLT maps
4529
+ */
4530
+ 'get_xslt_maps'(
4531
+ parameters?: Parameters<UnknownParamsObject> | null,
4532
+ data?: any,
4533
+ config?: AxiosRequestConfig
4534
+ ): OperationResponse<Paths.GetXsltMaps.Responses.$200>
4535
+ /**
4536
+ * create_xslt_map - Create XSLT map
4537
+ */
4538
+ 'create_xslt_map'(
4539
+ parameters?: Parameters<UnknownParamsObject> | null,
4540
+ data?: Paths.CreateXsltMap.RequestBody,
4541
+ config?: AxiosRequestConfig
4542
+ ): OperationResponse<Paths.CreateXsltMap.Responses.$201>
4543
+ /**
4544
+ * get_xslt_map - Get XSLT map
4545
+ */
4546
+ 'get_xslt_map'(
4547
+ parameters?: Parameters<Paths.GetXsltMap.PathParameters> | null,
4548
+ data?: any,
4549
+ config?: AxiosRequestConfig
4550
+ ): OperationResponse<Paths.GetXsltMap.Responses.$200>
4551
+ /**
4552
+ * update_xslt_map - Update XSLT map
4553
+ */
4554
+ 'update_xslt_map'(
4555
+ parameters?: Parameters<Paths.UpdateXsltMap.PathParameters> | null,
4556
+ data?: Paths.UpdateXsltMap.RequestBody,
4557
+ config?: AxiosRequestConfig
4558
+ ): OperationResponse<Paths.UpdateXsltMap.Responses.$200>
4559
+ /**
4560
+ * delete_xslt_map - Delete XSLT map
4561
+ */
4562
+ 'delete_xslt_map'(
4563
+ parameters?: Parameters<Paths.DeleteXsltMap.PathParameters> | null,
4564
+ data?: any,
4565
+ config?: AxiosRequestConfig
4566
+ ): OperationResponse<Paths.DeleteXsltMap.Responses.$204>
4567
+ /**
4568
+ * get_hl7_messages - Get HL7 messages
4569
+ */
4570
+ 'get_hl7_messages'(
4571
+ parameters?: Parameters<UnknownParamsObject> | null,
4572
+ data?: any,
4573
+ config?: AxiosRequestConfig
4574
+ ): OperationResponse<Paths.GetHl7Messages.Responses.$200>
4575
+ /**
4576
+ * get_hl7_message - Get HL7 message
4577
+ */
4578
+ 'get_hl7_message'(
4579
+ parameters?: Parameters<Paths.GetHl7Message.PathParameters> | null,
4580
+ data?: any,
4581
+ config?: AxiosRequestConfig
4582
+ ): OperationResponse<Paths.GetHl7Message.Responses.$200>
4583
+ /**
4584
+ * update_hl7_message - Update HL7 message
4585
+ */
4586
+ 'update_hl7_message'(
4587
+ parameters?: Parameters<Paths.UpdateHl7Message.PathParameters> | null,
4588
+ data?: Paths.UpdateHl7Message.RequestBody,
4589
+ config?: AxiosRequestConfig
4590
+ ): OperationResponse<Paths.UpdateHl7Message.Responses.$200>
4591
+ /**
4592
+ * delete_hl7_message - Delete HL7 message
4593
+ */
4594
+ 'delete_hl7_message'(
4595
+ parameters?: Parameters<Paths.DeleteHl7Message.PathParameters> | null,
4596
+ data?: any,
4597
+ config?: AxiosRequestConfig
4598
+ ): OperationResponse<Paths.DeleteHl7Message.Responses.$204>
4350
4599
  /**
4351
4600
  * atomic_operations - Perform atomic operations
4352
4601
  *
@@ -4374,6 +4623,18 @@ export interface OperationMethods {
4374
4623
  data?: Paths.CreateCsvCases.RequestBody,
4375
4624
  config?: AxiosRequestConfig
4376
4625
  ): OperationResponse<Paths.CreateCsvCases.Responses.$201>
4626
+ /**
4627
+ * create_hl7 - Create HL7
4628
+ *
4629
+ * Submit a HL7 message to the system for queuing and consumption.
4630
+ * **Note** that the bearer authentication token on this endpoint is the instances HL7 API key, not an oauth token.
4631
+ *
4632
+ */
4633
+ 'create_hl7'(
4634
+ parameters?: Parameters<UnknownParamsObject> | null,
4635
+ data?: Paths.CreateHl7.RequestBody,
4636
+ config?: AxiosRequestConfig
4637
+ ): OperationResponse<Paths.CreateHl7.Responses.$201>
4377
4638
  }
4378
4639
 
4379
4640
  export interface PathsDictionary {
@@ -5291,6 +5552,86 @@ export interface PathsDictionary {
5291
5552
  config?: AxiosRequestConfig
5292
5553
  ): OperationResponse<Paths.DeleteNotification.Responses.$204>
5293
5554
  }
5555
+ ['/xslt_maps']: {
5556
+ /**
5557
+ * get_xslt_maps - Get XSLT maps
5558
+ */
5559
+ 'get'(
5560
+ parameters?: Parameters<UnknownParamsObject> | null,
5561
+ data?: any,
5562
+ config?: AxiosRequestConfig
5563
+ ): OperationResponse<Paths.GetXsltMaps.Responses.$200>
5564
+ /**
5565
+ * create_xslt_map - Create XSLT map
5566
+ */
5567
+ 'post'(
5568
+ parameters?: Parameters<UnknownParamsObject> | null,
5569
+ data?: Paths.CreateXsltMap.RequestBody,
5570
+ config?: AxiosRequestConfig
5571
+ ): OperationResponse<Paths.CreateXsltMap.Responses.$201>
5572
+ }
5573
+ ['/xslt_maps/{id}']: {
5574
+ /**
5575
+ * get_xslt_map - Get XSLT map
5576
+ */
5577
+ 'get'(
5578
+ parameters?: Parameters<Paths.GetXsltMap.PathParameters> | null,
5579
+ data?: any,
5580
+ config?: AxiosRequestConfig
5581
+ ): OperationResponse<Paths.GetXsltMap.Responses.$200>
5582
+ /**
5583
+ * update_xslt_map - Update XSLT map
5584
+ */
5585
+ 'patch'(
5586
+ parameters?: Parameters<Paths.UpdateXsltMap.PathParameters> | null,
5587
+ data?: Paths.UpdateXsltMap.RequestBody,
5588
+ config?: AxiosRequestConfig
5589
+ ): OperationResponse<Paths.UpdateXsltMap.Responses.$200>
5590
+ /**
5591
+ * delete_xslt_map - Delete XSLT map
5592
+ */
5593
+ 'delete'(
5594
+ parameters?: Parameters<Paths.DeleteXsltMap.PathParameters> | null,
5595
+ data?: any,
5596
+ config?: AxiosRequestConfig
5597
+ ): OperationResponse<Paths.DeleteXsltMap.Responses.$204>
5598
+ }
5599
+ ['/hl7_messages']: {
5600
+ /**
5601
+ * get_hl7_messages - Get HL7 messages
5602
+ */
5603
+ 'get'(
5604
+ parameters?: Parameters<UnknownParamsObject> | null,
5605
+ data?: any,
5606
+ config?: AxiosRequestConfig
5607
+ ): OperationResponse<Paths.GetHl7Messages.Responses.$200>
5608
+ }
5609
+ ['/hl7_messages/{id}']: {
5610
+ /**
5611
+ * get_hl7_message - Get HL7 message
5612
+ */
5613
+ 'get'(
5614
+ parameters?: Parameters<Paths.GetHl7Message.PathParameters> | null,
5615
+ data?: any,
5616
+ config?: AxiosRequestConfig
5617
+ ): OperationResponse<Paths.GetHl7Message.Responses.$200>
5618
+ /**
5619
+ * delete_hl7_message - Delete HL7 message
5620
+ */
5621
+ 'delete'(
5622
+ parameters?: Parameters<Paths.DeleteHl7Message.PathParameters> | null,
5623
+ data?: any,
5624
+ config?: AxiosRequestConfig
5625
+ ): OperationResponse<Paths.DeleteHl7Message.Responses.$204>
5626
+ /**
5627
+ * update_hl7_message - Update HL7 message
5628
+ */
5629
+ 'patch'(
5630
+ parameters?: Parameters<Paths.UpdateHl7Message.PathParameters> | null,
5631
+ data?: Paths.UpdateHl7Message.RequestBody,
5632
+ config?: AxiosRequestConfig
5633
+ ): OperationResponse<Paths.UpdateHl7Message.Responses.$200>
5634
+ }
5294
5635
  ['/operations']: {
5295
5636
  /**
5296
5637
  * atomic_operations - Perform atomic operations
@@ -5324,6 +5665,20 @@ export interface PathsDictionary {
5324
5665
  config?: AxiosRequestConfig
5325
5666
  ): OperationResponse<Paths.CreateCsvCases.Responses.$201>
5326
5667
  }
5668
+ ['/hl7']: {
5669
+ /**
5670
+ * create_hl7 - Create HL7
5671
+ *
5672
+ * Submit a HL7 message to the system for queuing and consumption.
5673
+ * **Note** that the bearer authentication token on this endpoint is the instances HL7 API key, not an oauth token.
5674
+ *
5675
+ */
5676
+ 'post'(
5677
+ parameters?: Parameters<UnknownParamsObject> | null,
5678
+ data?: Paths.CreateHl7.RequestBody,
5679
+ config?: AxiosRequestConfig
5680
+ ): OperationResponse<Paths.CreateHl7.Responses.$201>
5681
+ }
5327
5682
  }
5328
5683
 
5329
5684
  export type Client = OpenAPIClient<OperationMethods, PathsDictionary>
@@ -5404,6 +5759,11 @@ export type FieldSettingsRelationship = Components.Schemas.FieldSettingsRelation
5404
5759
  export type FieldUpdateAttributes = Components.Schemas.FieldUpdateAttributes;
5405
5760
  export type Fields = Components.Schemas.Fields;
5406
5761
  export type FieldsRelationship = Components.Schemas.FieldsRelationship;
5762
+ export type HL7Message = Components.Schemas.HL7Message;
5763
+ export type HL7MessageAttributes = Components.Schemas.HL7MessageAttributes;
5764
+ export type HL7MessageData = Components.Schemas.HL7MessageData;
5765
+ export type HL7MessageUpdateAttributes = Components.Schemas.HL7MessageUpdateAttributes;
5766
+ export type HL7Messages = Components.Schemas.HL7Messages;
5407
5767
  export type IdAttribute = Components.Schemas.IdAttribute;
5408
5768
  export type InternalEventAction = Components.Schemas.InternalEventAction;
5409
5769
  export type KnownConfigIDs = Components.Schemas.KnownConfigIDs;
@@ -5508,6 +5868,7 @@ export type SavedFilterRelationship = Components.Schemas.SavedFilterRelationship
5508
5868
  export type SavedFilterRelationships = Components.Schemas.SavedFilterRelationships;
5509
5869
  export type SavedFilters = Components.Schemas.SavedFilters;
5510
5870
  export type SavedFiltersRelationship = Components.Schemas.SavedFiltersRelationship;
5871
+ export type SimpleError = Components.Schemas.SimpleError;
5511
5872
  export type StructuredValues = Components.Schemas.StructuredValues;
5512
5873
  export type Tag = Components.Schemas.Tag;
5513
5874
  export type TagAttributes = Components.Schemas.TagAttributes;
@@ -5603,3 +5964,7 @@ export type UsersRelationship = Components.Schemas.UsersRelationship;
5603
5964
  export type VersionAttributes = Components.Schemas.VersionAttributes;
5604
5965
  export type VersionInclusion = Components.Schemas.VersionInclusion;
5605
5966
  export type VersionsRelationship = Components.Schemas.VersionsRelationship;
5967
+ export type XsltMap = Components.Schemas.XsltMap;
5968
+ export type XsltMapAttributes = Components.Schemas.XsltMapAttributes;
5969
+ export type XsltMapData = Components.Schemas.XsltMapData;
5970
+ export type XsltMaps = Components.Schemas.XsltMaps;