pet-backend-sdk 0.31.0 → 0.36.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
@@ -516,6 +516,19 @@ export interface DownloadStudyResponse {
516
516
  */
517
517
  blob: string;
518
518
  }
519
+ /**
520
+ *
521
+ * @export
522
+ * @interface GenerateIdResponse
523
+ */
524
+ export interface GenerateIdResponse {
525
+ /**
526
+ * generated id
527
+ * @type {string}
528
+ * @memberof GenerateIdResponse
529
+ */
530
+ petId: string;
531
+ }
519
532
  /**
520
533
  *
521
534
  * @export
@@ -670,74 +683,6 @@ export interface GetAllStudiesResponseStudies {
670
683
  */
671
684
  type: string;
672
685
  }
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
686
  /**
742
687
  *
743
688
  * @export
@@ -1164,6 +1109,19 @@ export interface InlineObject1 {
1164
1109
  */
1165
1110
  files?: Array<any>;
1166
1111
  }
1112
+ /**
1113
+ *
1114
+ * @export
1115
+ * @interface InlineObject2
1116
+ */
1117
+ export interface InlineObject2 {
1118
+ /**
1119
+ *
1120
+ * @type {Array<any>}
1121
+ * @memberof InlineObject2
1122
+ */
1123
+ files?: Array<any>;
1124
+ }
1167
1125
  /**
1168
1126
  *
1169
1127
  * @export
@@ -1602,6 +1560,26 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
1602
1560
  * @throws {RequiredError}
1603
1561
  */
1604
1562
  dicomUploadOptions(options?: any): RequestArgs;
1563
+ /**
1564
+ *
1565
+ * @param {*} [options] Override http request option.
1566
+ * @throws {RequiredError}
1567
+ */
1568
+ examinationDocumentsDownloadMultipleOptions(options?: any): RequestArgs;
1569
+ /**
1570
+ *
1571
+ * @param {string} key The key of the document
1572
+ * @param {*} [options] Override http request option.
1573
+ * @throws {RequiredError}
1574
+ */
1575
+ examinationDocumentsKeyDownloadOptions(key: string, options?: any): RequestArgs;
1576
+ /**
1577
+ *
1578
+ * @param {string} id The id of the examination
1579
+ * @param {*} [options] Override http request option.
1580
+ * @throws {RequiredError}
1581
+ */
1582
+ examinationIdDocumentsOptions(id: string, options?: any): RequestArgs;
1605
1583
  /**
1606
1584
  *
1607
1585
  * @param {string} id The id of the examination
@@ -1628,6 +1606,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
1628
1606
  * @throws {RequiredError}
1629
1607
  */
1630
1608
  patientDocumentsKeyDownloadOptions(key: string, options?: any): RequestArgs;
1609
+ /**
1610
+ *
1611
+ * @param {*} [options] Override http request option.
1612
+ * @throws {RequiredError}
1613
+ */
1614
+ patientGeneratePetIdOptions(options?: any): RequestArgs;
1631
1615
  /**
1632
1616
  *
1633
1617
  * @param {string} id The id of the patient
@@ -1686,6 +1670,26 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
1686
1670
  * @throws {RequiredError}
1687
1671
  */
1688
1672
  dicomUploadOptions(options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>;
1673
+ /**
1674
+ *
1675
+ * @param {*} [options] Override http request option.
1676
+ * @throws {RequiredError}
1677
+ */
1678
+ examinationDocumentsDownloadMultipleOptions(options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>;
1679
+ /**
1680
+ *
1681
+ * @param {string} key The key of the document
1682
+ * @param {*} [options] Override http request option.
1683
+ * @throws {RequiredError}
1684
+ */
1685
+ examinationDocumentsKeyDownloadOptions(key: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>;
1686
+ /**
1687
+ *
1688
+ * @param {string} id The id of the examination
1689
+ * @param {*} [options] Override http request option.
1690
+ * @throws {RequiredError}
1691
+ */
1692
+ examinationIdDocumentsOptions(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>;
1689
1693
  /**
1690
1694
  *
1691
1695
  * @param {string} id The id of the examination
@@ -1712,6 +1716,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
1712
1716
  * @throws {RequiredError}
1713
1717
  */
1714
1718
  patientDocumentsKeyDownloadOptions(key: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>;
1719
+ /**
1720
+ *
1721
+ * @param {*} [options] Override http request option.
1722
+ * @throws {RequiredError}
1723
+ */
1724
+ patientGeneratePetIdOptions(options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>;
1715
1725
  /**
1716
1726
  *
1717
1727
  * @param {string} id The id of the patient
@@ -1770,6 +1780,26 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
1770
1780
  * @throws {RequiredError}
1771
1781
  */
1772
1782
  dicomUploadOptions(options?: any): AxiosPromise<void>;
1783
+ /**
1784
+ *
1785
+ * @param {*} [options] Override http request option.
1786
+ * @throws {RequiredError}
1787
+ */
1788
+ examinationDocumentsDownloadMultipleOptions(options?: any): AxiosPromise<void>;
1789
+ /**
1790
+ *
1791
+ * @param {string} key The key of the document
1792
+ * @param {*} [options] Override http request option.
1793
+ * @throws {RequiredError}
1794
+ */
1795
+ examinationDocumentsKeyDownloadOptions(key: string, options?: any): AxiosPromise<void>;
1796
+ /**
1797
+ *
1798
+ * @param {string} id The id of the examination
1799
+ * @param {*} [options] Override http request option.
1800
+ * @throws {RequiredError}
1801
+ */
1802
+ examinationIdDocumentsOptions(id: string, options?: any): AxiosPromise<void>;
1773
1803
  /**
1774
1804
  *
1775
1805
  * @param {string} id The id of the examination
@@ -1796,6 +1826,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
1796
1826
  * @throws {RequiredError}
1797
1827
  */
1798
1828
  patientDocumentsKeyDownloadOptions(key: string, options?: any): AxiosPromise<void>;
1829
+ /**
1830
+ *
1831
+ * @param {*} [options] Override http request option.
1832
+ * @throws {RequiredError}
1833
+ */
1834
+ patientGeneratePetIdOptions(options?: any): AxiosPromise<void>;
1799
1835
  /**
1800
1836
  *
1801
1837
  * @param {string} id The id of the patient
@@ -1860,6 +1896,29 @@ export declare class DefaultApi extends BaseAPI {
1860
1896
  * @memberof DefaultApi
1861
1897
  */
1862
1898
  dicomUploadOptions(options?: any): AxiosPromise<void>;
1899
+ /**
1900
+ *
1901
+ * @param {*} [options] Override http request option.
1902
+ * @throws {RequiredError}
1903
+ * @memberof DefaultApi
1904
+ */
1905
+ examinationDocumentsDownloadMultipleOptions(options?: any): AxiosPromise<void>;
1906
+ /**
1907
+ *
1908
+ * @param {string} key The key of the document
1909
+ * @param {*} [options] Override http request option.
1910
+ * @throws {RequiredError}
1911
+ * @memberof DefaultApi
1912
+ */
1913
+ examinationDocumentsKeyDownloadOptions(key: string, options?: any): AxiosPromise<void>;
1914
+ /**
1915
+ *
1916
+ * @param {string} id The id of the examination
1917
+ * @param {*} [options] Override http request option.
1918
+ * @throws {RequiredError}
1919
+ * @memberof DefaultApi
1920
+ */
1921
+ examinationIdDocumentsOptions(id: string, options?: any): AxiosPromise<void>;
1863
1922
  /**
1864
1923
  *
1865
1924
  * @param {string} id The id of the examination
@@ -1890,6 +1949,13 @@ export declare class DefaultApi extends BaseAPI {
1890
1949
  * @memberof DefaultApi
1891
1950
  */
1892
1951
  patientDocumentsKeyDownloadOptions(key: string, options?: any): AxiosPromise<void>;
1952
+ /**
1953
+ *
1954
+ * @param {*} [options] Override http request option.
1955
+ * @throws {RequiredError}
1956
+ * @memberof DefaultApi
1957
+ */
1958
+ patientGeneratePetIdOptions(options?: any): AxiosPromise<void>;
1893
1959
  /**
1894
1960
  *
1895
1961
  * @param {string} id The id of the patient
@@ -1959,6 +2025,15 @@ export declare const MsPetApiAxiosParamCreator: (configuration?: Configuration)
1959
2025
  * @throws {RequiredError}
1960
2026
  */
1961
2027
  deleteExamination(id: string, options?: any): RequestArgs;
2028
+ /**
2029
+ *
2030
+ * @summary Deletes document
2031
+ * @param {string} id The id of the examination
2032
+ * @param {string} key The key of the document
2033
+ * @param {*} [options] Override http request option.
2034
+ * @throws {RequiredError}
2035
+ */
2036
+ deleteExaminationDocument(id: string, key: string, options?: any): RequestArgs;
1962
2037
  /**
1963
2038
  *
1964
2039
  * @summary Deletes patient
@@ -1975,6 +2050,22 @@ export declare const MsPetApiAxiosParamCreator: (configuration?: Configuration)
1975
2050
  * @throws {RequiredError}
1976
2051
  */
1977
2052
  downloadDocument(key: string, options?: any): RequestArgs;
2053
+ /**
2054
+ *
2055
+ * @summary Download the document
2056
+ * @param {string} key The key of the document
2057
+ * @param {*} [options] Override http request option.
2058
+ * @throws {RequiredError}
2059
+ */
2060
+ downloadExaminationDocument(key: string, options?: any): RequestArgs;
2061
+ /**
2062
+ *
2063
+ * @summary Download zip with multiple files
2064
+ * @param {DownloadMultipleFilesRequest} downloadMultipleFilesRequest
2065
+ * @param {*} [options] Override http request option.
2066
+ * @throws {RequiredError}
2067
+ */
2068
+ downloadExaminationFiles(downloadMultipleFilesRequest: DownloadMultipleFilesRequest, options?: any): RequestArgs;
1978
2069
  /**
1979
2070
  *
1980
2071
  * @summary Download zip with multiple files
@@ -1991,6 +2082,13 @@ export declare const MsPetApiAxiosParamCreator: (configuration?: Configuration)
1991
2082
  * @throws {RequiredError}
1992
2083
  */
1993
2084
  downloadStudy(id: string, options?: any): RequestArgs;
2085
+ /**
2086
+ * generate inceremented petId
2087
+ * @summary Generate petId
2088
+ * @param {*} [options] Override http request option.
2089
+ * @throws {RequiredError}
2090
+ */
2091
+ generatePetId(options?: any): RequestArgs;
1994
2092
  /**
1995
2093
  *
1996
2094
  * @summary Get data about Examination for patient
@@ -2037,6 +2135,14 @@ export declare const MsPetApiAxiosParamCreator: (configuration?: Configuration)
2037
2135
  * @throws {RequiredError}
2038
2136
  */
2039
2137
  getExamination(id: string, options?: any): RequestArgs;
2138
+ /**
2139
+ *
2140
+ * @summary Get data about documents
2141
+ * @param {string} id The id of the examination
2142
+ * @param {*} [options] Override http request option.
2143
+ * @throws {RequiredError}
2144
+ */
2145
+ getExaminationDocuments(id: string, options?: any): RequestArgs;
2040
2146
  /**
2041
2147
  *
2042
2148
  * @summary Get data about patient
@@ -2053,6 +2159,15 @@ export declare const MsPetApiAxiosParamCreator: (configuration?: Configuration)
2053
2159
  * @throws {RequiredError}
2054
2160
  */
2055
2161
  sendEmail(sendEmailRequest: SendEmailRequest, options?: any): RequestArgs;
2162
+ /**
2163
+ * Change type of a document
2164
+ * @summary Change document type
2165
+ * @param {string} id The id of the patient
2166
+ * @param {string} type The type of the document
2167
+ * @param {*} [options] Override http request option.
2168
+ * @throws {RequiredError}
2169
+ */
2170
+ setDocumentType(id: string, type: string, options?: any): RequestArgs;
2056
2171
  /**
2057
2172
  *
2058
2173
  * @summary Updates the examination
@@ -2088,6 +2203,15 @@ export declare const MsPetApiAxiosParamCreator: (configuration?: Configuration)
2088
2203
  * @throws {RequiredError}
2089
2204
  */
2090
2205
  uploadDocuments(id: string, files?: Array<any>, options?: any): RequestArgs;
2206
+ /**
2207
+ * Upload medical examination files
2208
+ * @summary Upload documents
2209
+ * @param {string} id The id of the examination
2210
+ * @param {Array<any>} [files]
2211
+ * @param {*} [options] Override http request option.
2212
+ * @throws {RequiredError}
2213
+ */
2214
+ uploadExaminationDocuments(id: string, files?: Array<any>, options?: any): RequestArgs;
2091
2215
  };
2092
2216
  /**
2093
2217
  * MsPetApi - functional programming interface
@@ -2127,6 +2251,15 @@ export declare const MsPetApiFp: (configuration?: Configuration) => {
2127
2251
  * @throws {RequiredError}
2128
2252
  */
2129
2253
  deleteExamination(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoneResult>;
2254
+ /**
2255
+ *
2256
+ * @summary Deletes document
2257
+ * @param {string} id The id of the examination
2258
+ * @param {string} key The key of the document
2259
+ * @param {*} [options] Override http request option.
2260
+ * @throws {RequiredError}
2261
+ */
2262
+ deleteExaminationDocument(id: string, key: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoneResult>;
2130
2263
  /**
2131
2264
  *
2132
2265
  * @summary Deletes patient
@@ -2143,6 +2276,22 @@ export declare const MsPetApiFp: (configuration?: Configuration) => {
2143
2276
  * @throws {RequiredError}
2144
2277
  */
2145
2278
  downloadDocument(key: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<DownloadDocumentResponse>;
2279
+ /**
2280
+ *
2281
+ * @summary Download the document
2282
+ * @param {string} key The key of the document
2283
+ * @param {*} [options] Override http request option.
2284
+ * @throws {RequiredError}
2285
+ */
2286
+ downloadExaminationDocument(key: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<DownloadDocumentResponse>;
2287
+ /**
2288
+ *
2289
+ * @summary Download zip with multiple files
2290
+ * @param {DownloadMultipleFilesRequest} downloadMultipleFilesRequest
2291
+ * @param {*} [options] Override http request option.
2292
+ * @throws {RequiredError}
2293
+ */
2294
+ downloadExaminationFiles(downloadMultipleFilesRequest: DownloadMultipleFilesRequest, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<DownloadMultipleFilesResponse>;
2146
2295
  /**
2147
2296
  *
2148
2297
  * @summary Download zip with multiple files
@@ -2159,6 +2308,13 @@ export declare const MsPetApiFp: (configuration?: Configuration) => {
2159
2308
  * @throws {RequiredError}
2160
2309
  */
2161
2310
  downloadStudy(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<DownloadStudyResponse>;
2311
+ /**
2312
+ * generate inceremented petId
2313
+ * @summary Generate petId
2314
+ * @param {*} [options] Override http request option.
2315
+ * @throws {RequiredError}
2316
+ */
2317
+ generatePetId(options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<GenerateIdResponse>;
2162
2318
  /**
2163
2319
  *
2164
2320
  * @summary Get data about Examination for patient
@@ -2196,7 +2352,7 @@ export declare const MsPetApiFp: (configuration?: Configuration) => {
2196
2352
  * @param {*} [options] Override http request option.
2197
2353
  * @throws {RequiredError}
2198
2354
  */
2199
- getDocuments(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDocumentsResponse>;
2355
+ getDocuments(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<object>>;
2200
2356
  /**
2201
2357
  *
2202
2358
  * @summary Get data about Examination
@@ -2205,6 +2361,14 @@ export declare const MsPetApiFp: (configuration?: Configuration) => {
2205
2361
  * @throws {RequiredError}
2206
2362
  */
2207
2363
  getExamination(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetExaminationResponse>;
2364
+ /**
2365
+ *
2366
+ * @summary Get data about documents
2367
+ * @param {string} id The id of the examination
2368
+ * @param {*} [options] Override http request option.
2369
+ * @throws {RequiredError}
2370
+ */
2371
+ getExaminationDocuments(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<object>>;
2208
2372
  /**
2209
2373
  *
2210
2374
  * @summary Get data about patient
@@ -2221,6 +2385,15 @@ export declare const MsPetApiFp: (configuration?: Configuration) => {
2221
2385
  * @throws {RequiredError}
2222
2386
  */
2223
2387
  sendEmail(sendEmailRequest: SendEmailRequest, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoneResult>;
2388
+ /**
2389
+ * Change type of a document
2390
+ * @summary Change document type
2391
+ * @param {string} id The id of the patient
2392
+ * @param {string} type The type of the document
2393
+ * @param {*} [options] Override http request option.
2394
+ * @throws {RequiredError}
2395
+ */
2396
+ setDocumentType(id: string, type: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoneResult>;
2224
2397
  /**
2225
2398
  *
2226
2399
  * @summary Updates the examination
@@ -2256,6 +2429,15 @@ export declare const MsPetApiFp: (configuration?: Configuration) => {
2256
2429
  * @throws {RequiredError}
2257
2430
  */
2258
2431
  uploadDocuments(id: string, files?: Array<any>, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoneResult>;
2432
+ /**
2433
+ * Upload medical examination files
2434
+ * @summary Upload documents
2435
+ * @param {string} id The id of the examination
2436
+ * @param {Array<any>} [files]
2437
+ * @param {*} [options] Override http request option.
2438
+ * @throws {RequiredError}
2439
+ */
2440
+ uploadExaminationDocuments(id: string, files?: Array<any>, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoneResult>;
2259
2441
  };
2260
2442
  /**
2261
2443
  * MsPetApi - factory interface
@@ -2295,6 +2477,15 @@ export declare const MsPetApiFactory: (configuration?: Configuration, basePath?:
2295
2477
  * @throws {RequiredError}
2296
2478
  */
2297
2479
  deleteExamination(id: string, options?: any): AxiosPromise<DoneResult>;
2480
+ /**
2481
+ *
2482
+ * @summary Deletes document
2483
+ * @param {string} id The id of the examination
2484
+ * @param {string} key The key of the document
2485
+ * @param {*} [options] Override http request option.
2486
+ * @throws {RequiredError}
2487
+ */
2488
+ deleteExaminationDocument(id: string, key: string, options?: any): AxiosPromise<DoneResult>;
2298
2489
  /**
2299
2490
  *
2300
2491
  * @summary Deletes patient
@@ -2311,6 +2502,22 @@ export declare const MsPetApiFactory: (configuration?: Configuration, basePath?:
2311
2502
  * @throws {RequiredError}
2312
2503
  */
2313
2504
  downloadDocument(key: string, options?: any): AxiosPromise<DownloadDocumentResponse>;
2505
+ /**
2506
+ *
2507
+ * @summary Download the document
2508
+ * @param {string} key The key of the document
2509
+ * @param {*} [options] Override http request option.
2510
+ * @throws {RequiredError}
2511
+ */
2512
+ downloadExaminationDocument(key: string, options?: any): AxiosPromise<DownloadDocumentResponse>;
2513
+ /**
2514
+ *
2515
+ * @summary Download zip with multiple files
2516
+ * @param {DownloadMultipleFilesRequest} downloadMultipleFilesRequest
2517
+ * @param {*} [options] Override http request option.
2518
+ * @throws {RequiredError}
2519
+ */
2520
+ downloadExaminationFiles(downloadMultipleFilesRequest: DownloadMultipleFilesRequest, options?: any): AxiosPromise<DownloadMultipleFilesResponse>;
2314
2521
  /**
2315
2522
  *
2316
2523
  * @summary Download zip with multiple files
@@ -2327,6 +2534,13 @@ export declare const MsPetApiFactory: (configuration?: Configuration, basePath?:
2327
2534
  * @throws {RequiredError}
2328
2535
  */
2329
2536
  downloadStudy(id: string, options?: any): AxiosPromise<DownloadStudyResponse>;
2537
+ /**
2538
+ * generate inceremented petId
2539
+ * @summary Generate petId
2540
+ * @param {*} [options] Override http request option.
2541
+ * @throws {RequiredError}
2542
+ */
2543
+ generatePetId(options?: any): AxiosPromise<GenerateIdResponse>;
2330
2544
  /**
2331
2545
  *
2332
2546
  * @summary Get data about Examination for patient
@@ -2364,7 +2578,7 @@ export declare const MsPetApiFactory: (configuration?: Configuration, basePath?:
2364
2578
  * @param {*} [options] Override http request option.
2365
2579
  * @throws {RequiredError}
2366
2580
  */
2367
- getDocuments(id: string, options?: any): AxiosPromise<GetDocumentsResponse>;
2581
+ getDocuments(id: string, options?: any): AxiosPromise<object[]>;
2368
2582
  /**
2369
2583
  *
2370
2584
  * @summary Get data about Examination
@@ -2373,6 +2587,14 @@ export declare const MsPetApiFactory: (configuration?: Configuration, basePath?:
2373
2587
  * @throws {RequiredError}
2374
2588
  */
2375
2589
  getExamination(id: string, options?: any): AxiosPromise<GetExaminationResponse>;
2590
+ /**
2591
+ *
2592
+ * @summary Get data about documents
2593
+ * @param {string} id The id of the examination
2594
+ * @param {*} [options] Override http request option.
2595
+ * @throws {RequiredError}
2596
+ */
2597
+ getExaminationDocuments(id: string, options?: any): AxiosPromise<object[]>;
2376
2598
  /**
2377
2599
  *
2378
2600
  * @summary Get data about patient
@@ -2389,6 +2611,15 @@ export declare const MsPetApiFactory: (configuration?: Configuration, basePath?:
2389
2611
  * @throws {RequiredError}
2390
2612
  */
2391
2613
  sendEmail(sendEmailRequest: SendEmailRequest, options?: any): AxiosPromise<DoneResult>;
2614
+ /**
2615
+ * Change type of a document
2616
+ * @summary Change document type
2617
+ * @param {string} id The id of the patient
2618
+ * @param {string} type The type of the document
2619
+ * @param {*} [options] Override http request option.
2620
+ * @throws {RequiredError}
2621
+ */
2622
+ setDocumentType(id: string, type: string, options?: any): AxiosPromise<DoneResult>;
2392
2623
  /**
2393
2624
  *
2394
2625
  * @summary Updates the examination
@@ -2424,6 +2655,15 @@ export declare const MsPetApiFactory: (configuration?: Configuration, basePath?:
2424
2655
  * @throws {RequiredError}
2425
2656
  */
2426
2657
  uploadDocuments(id: string, files?: Array<any>, options?: any): AxiosPromise<DoneResult>;
2658
+ /**
2659
+ * Upload medical examination files
2660
+ * @summary Upload documents
2661
+ * @param {string} id The id of the examination
2662
+ * @param {Array<any>} [files]
2663
+ * @param {*} [options] Override http request option.
2664
+ * @throws {RequiredError}
2665
+ */
2666
+ uploadExaminationDocuments(id: string, files?: Array<any>, options?: any): AxiosPromise<DoneResult>;
2427
2667
  };
2428
2668
  /**
2429
2669
  * MsPetApi - object-oriented interface
@@ -2469,6 +2709,16 @@ export declare class MsPetApi extends BaseAPI {
2469
2709
  * @memberof MsPetApi
2470
2710
  */
2471
2711
  deleteExamination(id: string, options?: any): AxiosPromise<DoneResult>;
2712
+ /**
2713
+ *
2714
+ * @summary Deletes document
2715
+ * @param {string} id The id of the examination
2716
+ * @param {string} key The key of the document
2717
+ * @param {*} [options] Override http request option.
2718
+ * @throws {RequiredError}
2719
+ * @memberof MsPetApi
2720
+ */
2721
+ deleteExaminationDocument(id: string, key: string, options?: any): AxiosPromise<DoneResult>;
2472
2722
  /**
2473
2723
  *
2474
2724
  * @summary Deletes patient
@@ -2487,6 +2737,24 @@ export declare class MsPetApi extends BaseAPI {
2487
2737
  * @memberof MsPetApi
2488
2738
  */
2489
2739
  downloadDocument(key: string, options?: any): AxiosPromise<DownloadDocumentResponse>;
2740
+ /**
2741
+ *
2742
+ * @summary Download the document
2743
+ * @param {string} key The key of the document
2744
+ * @param {*} [options] Override http request option.
2745
+ * @throws {RequiredError}
2746
+ * @memberof MsPetApi
2747
+ */
2748
+ downloadExaminationDocument(key: string, options?: any): AxiosPromise<DownloadDocumentResponse>;
2749
+ /**
2750
+ *
2751
+ * @summary Download zip with multiple files
2752
+ * @param {DownloadMultipleFilesRequest} downloadMultipleFilesRequest
2753
+ * @param {*} [options] Override http request option.
2754
+ * @throws {RequiredError}
2755
+ * @memberof MsPetApi
2756
+ */
2757
+ downloadExaminationFiles(downloadMultipleFilesRequest: DownloadMultipleFilesRequest, options?: any): AxiosPromise<DownloadMultipleFilesResponse>;
2490
2758
  /**
2491
2759
  *
2492
2760
  * @summary Download zip with multiple files
@@ -2505,6 +2773,14 @@ export declare class MsPetApi extends BaseAPI {
2505
2773
  * @memberof MsPetApi
2506
2774
  */
2507
2775
  downloadStudy(id: string, options?: any): AxiosPromise<DownloadStudyResponse>;
2776
+ /**
2777
+ * generate inceremented petId
2778
+ * @summary Generate petId
2779
+ * @param {*} [options] Override http request option.
2780
+ * @throws {RequiredError}
2781
+ * @memberof MsPetApi
2782
+ */
2783
+ generatePetId(options?: any): AxiosPromise<GenerateIdResponse>;
2508
2784
  /**
2509
2785
  *
2510
2786
  * @summary Get data about Examination for patient
@@ -2547,7 +2823,7 @@ export declare class MsPetApi extends BaseAPI {
2547
2823
  * @throws {RequiredError}
2548
2824
  * @memberof MsPetApi
2549
2825
  */
2550
- getDocuments(id: string, options?: any): AxiosPromise<GetDocumentsResponse>;
2826
+ getDocuments(id: string, options?: any): AxiosPromise<object[]>;
2551
2827
  /**
2552
2828
  *
2553
2829
  * @summary Get data about Examination
@@ -2557,6 +2833,15 @@ export declare class MsPetApi extends BaseAPI {
2557
2833
  * @memberof MsPetApi
2558
2834
  */
2559
2835
  getExamination(id: string, options?: any): AxiosPromise<GetExaminationResponse>;
2836
+ /**
2837
+ *
2838
+ * @summary Get data about documents
2839
+ * @param {string} id The id of the examination
2840
+ * @param {*} [options] Override http request option.
2841
+ * @throws {RequiredError}
2842
+ * @memberof MsPetApi
2843
+ */
2844
+ getExaminationDocuments(id: string, options?: any): AxiosPromise<object[]>;
2560
2845
  /**
2561
2846
  *
2562
2847
  * @summary Get data about patient
@@ -2575,6 +2860,16 @@ export declare class MsPetApi extends BaseAPI {
2575
2860
  * @memberof MsPetApi
2576
2861
  */
2577
2862
  sendEmail(sendEmailRequest: SendEmailRequest, options?: any): AxiosPromise<DoneResult>;
2863
+ /**
2864
+ * Change type of a document
2865
+ * @summary Change document type
2866
+ * @param {string} id The id of the patient
2867
+ * @param {string} type The type of the document
2868
+ * @param {*} [options] Override http request option.
2869
+ * @throws {RequiredError}
2870
+ * @memberof MsPetApi
2871
+ */
2872
+ setDocumentType(id: string, type: string, options?: any): AxiosPromise<DoneResult>;
2578
2873
  /**
2579
2874
  *
2580
2875
  * @summary Updates the examination
@@ -2614,4 +2909,14 @@ export declare class MsPetApi extends BaseAPI {
2614
2909
  * @memberof MsPetApi
2615
2910
  */
2616
2911
  uploadDocuments(id: string, files?: Array<any>, options?: any): AxiosPromise<DoneResult>;
2912
+ /**
2913
+ * Upload medical examination files
2914
+ * @summary Upload documents
2915
+ * @param {string} id The id of the examination
2916
+ * @param {Array<any>} [files]
2917
+ * @param {*} [options] Override http request option.
2918
+ * @throws {RequiredError}
2919
+ * @memberof MsPetApi
2920
+ */
2921
+ uploadExaminationDocuments(id: string, files?: Array<any>, options?: any): AxiosPromise<DoneResult>;
2617
2922
  }