pet-backend-sdk 0.31.0 → 0.33.0

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/axios/api.d.ts CHANGED
@@ -670,74 +670,6 @@ export interface GetAllStudiesResponseStudies {
670
670
  */
671
671
  type: string;
672
672
  }
673
- /**
674
- *
675
- * @export
676
- * @interface GetDocumentsResponse
677
- */
678
- export interface GetDocumentsResponse {
679
- /**
680
- *
681
- * @type {string}
682
- * @memberof GetDocumentsResponse
683
- */
684
- url: string;
685
- /**
686
- *
687
- * @type {string}
688
- * @memberof GetDocumentsResponse
689
- */
690
- key?: string;
691
- /**
692
- *
693
- * @type {string}
694
- * @memberof GetDocumentsResponse
695
- */
696
- lastModified?: string;
697
- /**
698
- *
699
- * @type {string}
700
- * @memberof GetDocumentsResponse
701
- */
702
- eTag?: string;
703
- /**
704
- *
705
- * @type {number}
706
- * @memberof GetDocumentsResponse
707
- */
708
- size?: number;
709
- /**
710
- *
711
- * @type {string}
712
- * @memberof GetDocumentsResponse
713
- */
714
- storageClass?: string;
715
- /**
716
- *
717
- * @type {GetDocumentsResponseOwner}
718
- * @memberof GetDocumentsResponse
719
- */
720
- owner?: GetDocumentsResponseOwner;
721
- }
722
- /**
723
- *
724
- * @export
725
- * @interface GetDocumentsResponseOwner
726
- */
727
- export interface GetDocumentsResponseOwner {
728
- /**
729
- *
730
- * @type {string}
731
- * @memberof GetDocumentsResponseOwner
732
- */
733
- displayName?: string;
734
- /**
735
- *
736
- * @type {string}
737
- * @memberof GetDocumentsResponseOwner
738
- */
739
- ID?: string;
740
- }
741
673
  /**
742
674
  *
743
675
  * @export
@@ -1164,6 +1096,19 @@ export interface InlineObject1 {
1164
1096
  */
1165
1097
  files?: Array<any>;
1166
1098
  }
1099
+ /**
1100
+ *
1101
+ * @export
1102
+ * @interface InlineObject2
1103
+ */
1104
+ export interface InlineObject2 {
1105
+ /**
1106
+ *
1107
+ * @type {Array<any>}
1108
+ * @memberof InlineObject2
1109
+ */
1110
+ files?: Array<any>;
1111
+ }
1167
1112
  /**
1168
1113
  *
1169
1114
  * @export
@@ -1602,6 +1547,26 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
1602
1547
  * @throws {RequiredError}
1603
1548
  */
1604
1549
  dicomUploadOptions(options?: any): RequestArgs;
1550
+ /**
1551
+ *
1552
+ * @param {*} [options] Override http request option.
1553
+ * @throws {RequiredError}
1554
+ */
1555
+ examinationDocumentsDownloadMultipleOptions(options?: any): RequestArgs;
1556
+ /**
1557
+ *
1558
+ * @param {string} key The key of the document
1559
+ * @param {*} [options] Override http request option.
1560
+ * @throws {RequiredError}
1561
+ */
1562
+ examinationDocumentsKeyDownloadOptions(key: string, options?: any): RequestArgs;
1563
+ /**
1564
+ *
1565
+ * @param {string} id The id of the examination
1566
+ * @param {*} [options] Override http request option.
1567
+ * @throws {RequiredError}
1568
+ */
1569
+ examinationIdDocumentsOptions(id: string, options?: any): RequestArgs;
1605
1570
  /**
1606
1571
  *
1607
1572
  * @param {string} id The id of the examination
@@ -1686,6 +1651,26 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
1686
1651
  * @throws {RequiredError}
1687
1652
  */
1688
1653
  dicomUploadOptions(options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>;
1654
+ /**
1655
+ *
1656
+ * @param {*} [options] Override http request option.
1657
+ * @throws {RequiredError}
1658
+ */
1659
+ examinationDocumentsDownloadMultipleOptions(options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>;
1660
+ /**
1661
+ *
1662
+ * @param {string} key The key of the document
1663
+ * @param {*} [options] Override http request option.
1664
+ * @throws {RequiredError}
1665
+ */
1666
+ examinationDocumentsKeyDownloadOptions(key: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>;
1667
+ /**
1668
+ *
1669
+ * @param {string} id The id of the examination
1670
+ * @param {*} [options] Override http request option.
1671
+ * @throws {RequiredError}
1672
+ */
1673
+ examinationIdDocumentsOptions(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>;
1689
1674
  /**
1690
1675
  *
1691
1676
  * @param {string} id The id of the examination
@@ -1770,6 +1755,26 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
1770
1755
  * @throws {RequiredError}
1771
1756
  */
1772
1757
  dicomUploadOptions(options?: any): AxiosPromise<void>;
1758
+ /**
1759
+ *
1760
+ * @param {*} [options] Override http request option.
1761
+ * @throws {RequiredError}
1762
+ */
1763
+ examinationDocumentsDownloadMultipleOptions(options?: any): AxiosPromise<void>;
1764
+ /**
1765
+ *
1766
+ * @param {string} key The key of the document
1767
+ * @param {*} [options] Override http request option.
1768
+ * @throws {RequiredError}
1769
+ */
1770
+ examinationDocumentsKeyDownloadOptions(key: string, options?: any): AxiosPromise<void>;
1771
+ /**
1772
+ *
1773
+ * @param {string} id The id of the examination
1774
+ * @param {*} [options] Override http request option.
1775
+ * @throws {RequiredError}
1776
+ */
1777
+ examinationIdDocumentsOptions(id: string, options?: any): AxiosPromise<void>;
1773
1778
  /**
1774
1779
  *
1775
1780
  * @param {string} id The id of the examination
@@ -1860,6 +1865,29 @@ export declare class DefaultApi extends BaseAPI {
1860
1865
  * @memberof DefaultApi
1861
1866
  */
1862
1867
  dicomUploadOptions(options?: any): AxiosPromise<void>;
1868
+ /**
1869
+ *
1870
+ * @param {*} [options] Override http request option.
1871
+ * @throws {RequiredError}
1872
+ * @memberof DefaultApi
1873
+ */
1874
+ examinationDocumentsDownloadMultipleOptions(options?: any): AxiosPromise<void>;
1875
+ /**
1876
+ *
1877
+ * @param {string} key The key of the document
1878
+ * @param {*} [options] Override http request option.
1879
+ * @throws {RequiredError}
1880
+ * @memberof DefaultApi
1881
+ */
1882
+ examinationDocumentsKeyDownloadOptions(key: string, options?: any): AxiosPromise<void>;
1883
+ /**
1884
+ *
1885
+ * @param {string} id The id of the examination
1886
+ * @param {*} [options] Override http request option.
1887
+ * @throws {RequiredError}
1888
+ * @memberof DefaultApi
1889
+ */
1890
+ examinationIdDocumentsOptions(id: string, options?: any): AxiosPromise<void>;
1863
1891
  /**
1864
1892
  *
1865
1893
  * @param {string} id The id of the examination
@@ -1959,6 +1987,15 @@ export declare const MsPetApiAxiosParamCreator: (configuration?: Configuration)
1959
1987
  * @throws {RequiredError}
1960
1988
  */
1961
1989
  deleteExamination(id: string, options?: any): RequestArgs;
1990
+ /**
1991
+ *
1992
+ * @summary Deletes document
1993
+ * @param {string} id The id of the examination
1994
+ * @param {string} key The key of the document
1995
+ * @param {*} [options] Override http request option.
1996
+ * @throws {RequiredError}
1997
+ */
1998
+ deleteExaminationDocument(id: string, key: string, options?: any): RequestArgs;
1962
1999
  /**
1963
2000
  *
1964
2001
  * @summary Deletes patient
@@ -1975,6 +2012,22 @@ export declare const MsPetApiAxiosParamCreator: (configuration?: Configuration)
1975
2012
  * @throws {RequiredError}
1976
2013
  */
1977
2014
  downloadDocument(key: string, options?: any): RequestArgs;
2015
+ /**
2016
+ *
2017
+ * @summary Download the document
2018
+ * @param {string} key The key of the document
2019
+ * @param {*} [options] Override http request option.
2020
+ * @throws {RequiredError}
2021
+ */
2022
+ downloadExaminationDocument(key: string, options?: any): RequestArgs;
2023
+ /**
2024
+ *
2025
+ * @summary Download zip with multiple files
2026
+ * @param {DownloadMultipleFilesRequest} downloadMultipleFilesRequest
2027
+ * @param {*} [options] Override http request option.
2028
+ * @throws {RequiredError}
2029
+ */
2030
+ downloadExaminationFiles(downloadMultipleFilesRequest: DownloadMultipleFilesRequest, options?: any): RequestArgs;
1978
2031
  /**
1979
2032
  *
1980
2033
  * @summary Download zip with multiple files
@@ -2037,6 +2090,14 @@ export declare const MsPetApiAxiosParamCreator: (configuration?: Configuration)
2037
2090
  * @throws {RequiredError}
2038
2091
  */
2039
2092
  getExamination(id: string, options?: any): RequestArgs;
2093
+ /**
2094
+ *
2095
+ * @summary Get data about documents
2096
+ * @param {string} id The id of the examination
2097
+ * @param {*} [options] Override http request option.
2098
+ * @throws {RequiredError}
2099
+ */
2100
+ getExaminationDocuments(id: string, options?: any): RequestArgs;
2040
2101
  /**
2041
2102
  *
2042
2103
  * @summary Get data about patient
@@ -2088,6 +2149,15 @@ export declare const MsPetApiAxiosParamCreator: (configuration?: Configuration)
2088
2149
  * @throws {RequiredError}
2089
2150
  */
2090
2151
  uploadDocuments(id: string, files?: Array<any>, options?: any): RequestArgs;
2152
+ /**
2153
+ * Upload medical examination files
2154
+ * @summary Upload documents
2155
+ * @param {string} id The id of the examination
2156
+ * @param {Array<any>} [files]
2157
+ * @param {*} [options] Override http request option.
2158
+ * @throws {RequiredError}
2159
+ */
2160
+ uploadExaminationDocuments(id: string, files?: Array<any>, options?: any): RequestArgs;
2091
2161
  };
2092
2162
  /**
2093
2163
  * MsPetApi - functional programming interface
@@ -2127,6 +2197,15 @@ export declare const MsPetApiFp: (configuration?: Configuration) => {
2127
2197
  * @throws {RequiredError}
2128
2198
  */
2129
2199
  deleteExamination(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoneResult>;
2200
+ /**
2201
+ *
2202
+ * @summary Deletes document
2203
+ * @param {string} id The id of the examination
2204
+ * @param {string} key The key of the document
2205
+ * @param {*} [options] Override http request option.
2206
+ * @throws {RequiredError}
2207
+ */
2208
+ deleteExaminationDocument(id: string, key: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoneResult>;
2130
2209
  /**
2131
2210
  *
2132
2211
  * @summary Deletes patient
@@ -2143,6 +2222,22 @@ export declare const MsPetApiFp: (configuration?: Configuration) => {
2143
2222
  * @throws {RequiredError}
2144
2223
  */
2145
2224
  downloadDocument(key: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<DownloadDocumentResponse>;
2225
+ /**
2226
+ *
2227
+ * @summary Download the document
2228
+ * @param {string} key The key of the document
2229
+ * @param {*} [options] Override http request option.
2230
+ * @throws {RequiredError}
2231
+ */
2232
+ downloadExaminationDocument(key: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<DownloadDocumentResponse>;
2233
+ /**
2234
+ *
2235
+ * @summary Download zip with multiple files
2236
+ * @param {DownloadMultipleFilesRequest} downloadMultipleFilesRequest
2237
+ * @param {*} [options] Override http request option.
2238
+ * @throws {RequiredError}
2239
+ */
2240
+ downloadExaminationFiles(downloadMultipleFilesRequest: DownloadMultipleFilesRequest, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<DownloadMultipleFilesResponse>;
2146
2241
  /**
2147
2242
  *
2148
2243
  * @summary Download zip with multiple files
@@ -2196,7 +2291,7 @@ export declare const MsPetApiFp: (configuration?: Configuration) => {
2196
2291
  * @param {*} [options] Override http request option.
2197
2292
  * @throws {RequiredError}
2198
2293
  */
2199
- getDocuments(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDocumentsResponse>;
2294
+ getDocuments(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<object>>;
2200
2295
  /**
2201
2296
  *
2202
2297
  * @summary Get data about Examination
@@ -2205,6 +2300,14 @@ export declare const MsPetApiFp: (configuration?: Configuration) => {
2205
2300
  * @throws {RequiredError}
2206
2301
  */
2207
2302
  getExamination(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetExaminationResponse>;
2303
+ /**
2304
+ *
2305
+ * @summary Get data about documents
2306
+ * @param {string} id The id of the examination
2307
+ * @param {*} [options] Override http request option.
2308
+ * @throws {RequiredError}
2309
+ */
2310
+ getExaminationDocuments(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<object>>;
2208
2311
  /**
2209
2312
  *
2210
2313
  * @summary Get data about patient
@@ -2256,6 +2359,15 @@ export declare const MsPetApiFp: (configuration?: Configuration) => {
2256
2359
  * @throws {RequiredError}
2257
2360
  */
2258
2361
  uploadDocuments(id: string, files?: Array<any>, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoneResult>;
2362
+ /**
2363
+ * Upload medical examination files
2364
+ * @summary Upload documents
2365
+ * @param {string} id The id of the examination
2366
+ * @param {Array<any>} [files]
2367
+ * @param {*} [options] Override http request option.
2368
+ * @throws {RequiredError}
2369
+ */
2370
+ uploadExaminationDocuments(id: string, files?: Array<any>, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoneResult>;
2259
2371
  };
2260
2372
  /**
2261
2373
  * MsPetApi - factory interface
@@ -2295,6 +2407,15 @@ export declare const MsPetApiFactory: (configuration?: Configuration, basePath?:
2295
2407
  * @throws {RequiredError}
2296
2408
  */
2297
2409
  deleteExamination(id: string, options?: any): AxiosPromise<DoneResult>;
2410
+ /**
2411
+ *
2412
+ * @summary Deletes document
2413
+ * @param {string} id The id of the examination
2414
+ * @param {string} key The key of the document
2415
+ * @param {*} [options] Override http request option.
2416
+ * @throws {RequiredError}
2417
+ */
2418
+ deleteExaminationDocument(id: string, key: string, options?: any): AxiosPromise<DoneResult>;
2298
2419
  /**
2299
2420
  *
2300
2421
  * @summary Deletes patient
@@ -2311,6 +2432,22 @@ export declare const MsPetApiFactory: (configuration?: Configuration, basePath?:
2311
2432
  * @throws {RequiredError}
2312
2433
  */
2313
2434
  downloadDocument(key: string, options?: any): AxiosPromise<DownloadDocumentResponse>;
2435
+ /**
2436
+ *
2437
+ * @summary Download the document
2438
+ * @param {string} key The key of the document
2439
+ * @param {*} [options] Override http request option.
2440
+ * @throws {RequiredError}
2441
+ */
2442
+ downloadExaminationDocument(key: string, options?: any): AxiosPromise<DownloadDocumentResponse>;
2443
+ /**
2444
+ *
2445
+ * @summary Download zip with multiple files
2446
+ * @param {DownloadMultipleFilesRequest} downloadMultipleFilesRequest
2447
+ * @param {*} [options] Override http request option.
2448
+ * @throws {RequiredError}
2449
+ */
2450
+ downloadExaminationFiles(downloadMultipleFilesRequest: DownloadMultipleFilesRequest, options?: any): AxiosPromise<DownloadMultipleFilesResponse>;
2314
2451
  /**
2315
2452
  *
2316
2453
  * @summary Download zip with multiple files
@@ -2364,7 +2501,7 @@ export declare const MsPetApiFactory: (configuration?: Configuration, basePath?:
2364
2501
  * @param {*} [options] Override http request option.
2365
2502
  * @throws {RequiredError}
2366
2503
  */
2367
- getDocuments(id: string, options?: any): AxiosPromise<GetDocumentsResponse>;
2504
+ getDocuments(id: string, options?: any): AxiosPromise<object[]>;
2368
2505
  /**
2369
2506
  *
2370
2507
  * @summary Get data about Examination
@@ -2373,6 +2510,14 @@ export declare const MsPetApiFactory: (configuration?: Configuration, basePath?:
2373
2510
  * @throws {RequiredError}
2374
2511
  */
2375
2512
  getExamination(id: string, options?: any): AxiosPromise<GetExaminationResponse>;
2513
+ /**
2514
+ *
2515
+ * @summary Get data about documents
2516
+ * @param {string} id The id of the examination
2517
+ * @param {*} [options] Override http request option.
2518
+ * @throws {RequiredError}
2519
+ */
2520
+ getExaminationDocuments(id: string, options?: any): AxiosPromise<object[]>;
2376
2521
  /**
2377
2522
  *
2378
2523
  * @summary Get data about patient
@@ -2424,6 +2569,15 @@ export declare const MsPetApiFactory: (configuration?: Configuration, basePath?:
2424
2569
  * @throws {RequiredError}
2425
2570
  */
2426
2571
  uploadDocuments(id: string, files?: Array<any>, options?: any): AxiosPromise<DoneResult>;
2572
+ /**
2573
+ * Upload medical examination files
2574
+ * @summary Upload documents
2575
+ * @param {string} id The id of the examination
2576
+ * @param {Array<any>} [files]
2577
+ * @param {*} [options] Override http request option.
2578
+ * @throws {RequiredError}
2579
+ */
2580
+ uploadExaminationDocuments(id: string, files?: Array<any>, options?: any): AxiosPromise<DoneResult>;
2427
2581
  };
2428
2582
  /**
2429
2583
  * MsPetApi - object-oriented interface
@@ -2469,6 +2623,16 @@ export declare class MsPetApi extends BaseAPI {
2469
2623
  * @memberof MsPetApi
2470
2624
  */
2471
2625
  deleteExamination(id: string, options?: any): AxiosPromise<DoneResult>;
2626
+ /**
2627
+ *
2628
+ * @summary Deletes document
2629
+ * @param {string} id The id of the examination
2630
+ * @param {string} key The key of the document
2631
+ * @param {*} [options] Override http request option.
2632
+ * @throws {RequiredError}
2633
+ * @memberof MsPetApi
2634
+ */
2635
+ deleteExaminationDocument(id: string, key: string, options?: any): AxiosPromise<DoneResult>;
2472
2636
  /**
2473
2637
  *
2474
2638
  * @summary Deletes patient
@@ -2487,6 +2651,24 @@ export declare class MsPetApi extends BaseAPI {
2487
2651
  * @memberof MsPetApi
2488
2652
  */
2489
2653
  downloadDocument(key: string, options?: any): AxiosPromise<DownloadDocumentResponse>;
2654
+ /**
2655
+ *
2656
+ * @summary Download the document
2657
+ * @param {string} key The key of the document
2658
+ * @param {*} [options] Override http request option.
2659
+ * @throws {RequiredError}
2660
+ * @memberof MsPetApi
2661
+ */
2662
+ downloadExaminationDocument(key: string, options?: any): AxiosPromise<DownloadDocumentResponse>;
2663
+ /**
2664
+ *
2665
+ * @summary Download zip with multiple files
2666
+ * @param {DownloadMultipleFilesRequest} downloadMultipleFilesRequest
2667
+ * @param {*} [options] Override http request option.
2668
+ * @throws {RequiredError}
2669
+ * @memberof MsPetApi
2670
+ */
2671
+ downloadExaminationFiles(downloadMultipleFilesRequest: DownloadMultipleFilesRequest, options?: any): AxiosPromise<DownloadMultipleFilesResponse>;
2490
2672
  /**
2491
2673
  *
2492
2674
  * @summary Download zip with multiple files
@@ -2547,7 +2729,7 @@ export declare class MsPetApi extends BaseAPI {
2547
2729
  * @throws {RequiredError}
2548
2730
  * @memberof MsPetApi
2549
2731
  */
2550
- getDocuments(id: string, options?: any): AxiosPromise<GetDocumentsResponse>;
2732
+ getDocuments(id: string, options?: any): AxiosPromise<object[]>;
2551
2733
  /**
2552
2734
  *
2553
2735
  * @summary Get data about Examination
@@ -2557,6 +2739,15 @@ export declare class MsPetApi extends BaseAPI {
2557
2739
  * @memberof MsPetApi
2558
2740
  */
2559
2741
  getExamination(id: string, options?: any): AxiosPromise<GetExaminationResponse>;
2742
+ /**
2743
+ *
2744
+ * @summary Get data about documents
2745
+ * @param {string} id The id of the examination
2746
+ * @param {*} [options] Override http request option.
2747
+ * @throws {RequiredError}
2748
+ * @memberof MsPetApi
2749
+ */
2750
+ getExaminationDocuments(id: string, options?: any): AxiosPromise<object[]>;
2560
2751
  /**
2561
2752
  *
2562
2753
  * @summary Get data about patient
@@ -2614,4 +2805,14 @@ export declare class MsPetApi extends BaseAPI {
2614
2805
  * @memberof MsPetApi
2615
2806
  */
2616
2807
  uploadDocuments(id: string, files?: Array<any>, options?: any): AxiosPromise<DoneResult>;
2808
+ /**
2809
+ * Upload medical examination files
2810
+ * @summary Upload documents
2811
+ * @param {string} id The id of the examination
2812
+ * @param {Array<any>} [files]
2813
+ * @param {*} [options] Override http request option.
2814
+ * @throws {RequiredError}
2815
+ * @memberof MsPetApi
2816
+ */
2817
+ uploadExaminationDocuments(id: string, files?: Array<any>, options?: any): AxiosPromise<DoneResult>;
2617
2818
  }