ch-admin-api-client-typescript 5.90.19 → 5.90.29
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/lib/api/cors-allowed-origins-api.d.ts +416 -0
- package/lib/api/cors-allowed-origins-api.d.ts.map +1 -0
- package/lib/api/cors-allowed-origins-api.js +794 -0
- package/lib/api.d.ts +1 -0
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +1 -0
- package/lib/models/cors-allowed-origin-model.d.ts +99 -0
- package/lib/models/cors-allowed-origin-model.d.ts.map +1 -0
- package/lib/models/cors-allowed-origin-model.js +15 -0
- package/lib/models/cors-allowed-origins-model.d.ts +26 -0
- package/lib/models/cors-allowed-origins-model.d.ts.map +1 -0
- package/lib/models/cors-allowed-origins-model.js +15 -0
- package/lib/models/cors-allowed-origins-sync-model.d.ts +38 -0
- package/lib/models/cors-allowed-origins-sync-model.d.ts.map +1 -0
- package/lib/models/cors-allowed-origins-sync-model.js +15 -0
- package/lib/models/cors-allowed-origins-sync-target-model.d.ts +104 -0
- package/lib/models/cors-allowed-origins-sync-target-model.d.ts.map +1 -0
- package/lib/models/cors-allowed-origins-sync-target-model.js +15 -0
- package/lib/models/cors-origin-source-type.d.ts +22 -0
- package/lib/models/cors-origin-source-type.d.ts.map +1 -0
- package/lib/models/cors-origin-source-type.js +25 -0
- package/lib/models/cors-target-type.d.ts +22 -0
- package/lib/models/cors-target-type.d.ts.map +1 -0
- package/lib/models/cors-target-type.js +25 -0
- package/lib/models/create-cors-allowed-origin-command.d.ts +50 -0
- package/lib/models/create-cors-allowed-origin-command.d.ts.map +1 -0
- package/lib/models/create-cors-allowed-origin-command.js +15 -0
- package/lib/models/index.d.ts +10 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +10 -0
- package/lib/models/rebuild-cors-allowed-origins-command.d.ts +25 -0
- package/lib/models/rebuild-cors-allowed-origins-command.d.ts.map +1 -0
- package/lib/models/rebuild-cors-allowed-origins-command.js +15 -0
- package/lib/models/sync-cors-allowed-origins-command.d.ts +25 -0
- package/lib/models/sync-cors-allowed-origins-command.d.ts.map +1 -0
- package/lib/models/sync-cors-allowed-origins-command.js +15 -0
- package/lib/models/translate-command.d.ts +2 -2
- package/lib/models/translate-command.d.ts.map +1 -1
- package/lib/models/update-cors-allowed-origin-command.d.ts +56 -0
- package/lib/models/update-cors-allowed-origin-command.d.ts.map +1 -0
- package/lib/models/update-cors-allowed-origin-command.js +15 -0
- package/package.json +1 -1
|
@@ -0,0 +1,416 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CloudHospital Admin Api
|
|
3
|
+
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1
|
|
6
|
+
* Contact: developer@icloudhospital.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
|
+
import { Configuration } from '../configuration';
|
|
14
|
+
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { CorsAllowedOriginModel } from '../models';
|
|
16
|
+
import { CorsAllowedOriginsModel } from '../models';
|
|
17
|
+
import { CorsAllowedOriginsSyncModel } from '../models';
|
|
18
|
+
import { CorsOriginSourceType } from '../models';
|
|
19
|
+
import { CreateCorsAllowedOriginCommand } from '../models';
|
|
20
|
+
import { RebuildCorsAllowedOriginsCommand } from '../models';
|
|
21
|
+
import { SyncCorsAllowedOriginsCommand } from '../models';
|
|
22
|
+
import { UpdateCorsAllowedOriginCommand } from '../models';
|
|
23
|
+
/**
|
|
24
|
+
* CorsAllowedOriginsApi - axios parameter creator
|
|
25
|
+
* @export
|
|
26
|
+
*/
|
|
27
|
+
export declare const CorsAllowedOriginsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @summary Clears Azure App Service CORS settings for the ClientApi target. Target type is fixed to ClientApi and cannot be chosen by the caller. (Auth policies: RequireManagerRole)
|
|
31
|
+
* @param {boolean} [dryRun] Whether to calculate the clear result without applying changes to Azure App Service.
|
|
32
|
+
* @param {*} [options] Override http request option.
|
|
33
|
+
* @throws {RequiredError}
|
|
34
|
+
*/
|
|
35
|
+
apiV1CorsallowedoriginsClearDelete: (dryRun?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @summary Gets CORS allowed origins for the ClientApi target. Target type is fixed to ClientApi and cannot be chosen by the caller. (Auth policies: RequireManagerRole)
|
|
39
|
+
* @param {string} [origin]
|
|
40
|
+
* @param {string} [hospitalId]
|
|
41
|
+
* @param {CorsOriginSourceType} [originSourceType]
|
|
42
|
+
* @param {boolean} [showHidden]
|
|
43
|
+
* @param {*} [options] Override http request option.
|
|
44
|
+
* @throws {RequiredError}
|
|
45
|
+
*/
|
|
46
|
+
apiV1CorsallowedoriginsGet: (origin?: string, hospitalId?: string, originSourceType?: CorsOriginSourceType, showHidden?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @summary Deletes a CORS allowed origin record. (Auth policies: RequireManagerRole)
|
|
50
|
+
* @param {string} id The CORS allowed origin identifier.
|
|
51
|
+
* @param {boolean} [isPermanent] Whether to permanently delete the record instead of applying a soft delete.
|
|
52
|
+
* @param {*} [options] Override http request option.
|
|
53
|
+
* @throws {RequiredError}
|
|
54
|
+
*/
|
|
55
|
+
apiV1CorsallowedoriginsIdDelete: (id: string, isPermanent?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @summary Updates a CORS allowed origin record. (Auth policies: RequireManagerRole)
|
|
59
|
+
* @param {string} id The CORS allowed origin identifier.
|
|
60
|
+
* @param {UpdateCorsAllowedOriginCommand} [updateCorsAllowedOriginCommand] The CORS allowed origin update request.
|
|
61
|
+
* @param {*} [options] Override http request option.
|
|
62
|
+
* @throws {RequiredError}
|
|
63
|
+
*/
|
|
64
|
+
apiV1CorsallowedoriginsIdPut: (id: string, updateCorsAllowedOriginCommand?: UpdateCorsAllowedOriginCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @summary Creates a CORS allowed origin record. (Auth policies: RequireManagerRole)
|
|
68
|
+
* @param {CreateCorsAllowedOriginCommand} [createCorsAllowedOriginCommand] The CORS allowed origin creation request.
|
|
69
|
+
* @param {*} [options] Override http request option.
|
|
70
|
+
* @throws {RequiredError}
|
|
71
|
+
*/
|
|
72
|
+
apiV1CorsallowedoriginsPost: (createCorsAllowedOriginCommand?: CreateCorsAllowedOriginCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @summary Rebuilds `HospitalWebsite`-sourced CORS allowed origin records in the database by reconciling them with the current active hospital website URLs. No Azure App Service synchronization is performed. Target type is fixed to ClientApi and cannot be chosen by the caller. (Auth policies: RequireManagerRole)
|
|
76
|
+
* @param {RebuildCorsAllowedOriginsCommand} [rebuildCorsAllowedOriginsCommand] The rebuild request. Only `dryRun` is accepted; target type is fixed server-side.
|
|
77
|
+
* @param {*} [options] Override http request option.
|
|
78
|
+
* @throws {RequiredError}
|
|
79
|
+
*/
|
|
80
|
+
apiV1CorsallowedoriginsRebuildPost: (rebuildCorsAllowedOriginsCommand?: RebuildCorsAllowedOriginsCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
81
|
+
/**
|
|
82
|
+
*
|
|
83
|
+
* @summary Synchronizes source-of-truth CORS allowed origins to Azure App Service CORS settings for the ClientApi target. Target type is fixed to ClientApi and cannot be chosen by the caller. (Auth policies: RequireManagerRole)
|
|
84
|
+
* @param {SyncCorsAllowedOriginsCommand} [syncCorsAllowedOriginsCommand] Optional synchronization request body.
|
|
85
|
+
* @param {*} [options] Override http request option.
|
|
86
|
+
* @throws {RequiredError}
|
|
87
|
+
*/
|
|
88
|
+
apiV1CorsallowedoriginsSyncPost: (syncCorsAllowedOriginsCommand?: SyncCorsAllowedOriginsCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
89
|
+
};
|
|
90
|
+
/**
|
|
91
|
+
* CorsAllowedOriginsApi - functional programming interface
|
|
92
|
+
* @export
|
|
93
|
+
*/
|
|
94
|
+
export declare const CorsAllowedOriginsApiFp: (configuration?: Configuration) => {
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @summary Clears Azure App Service CORS settings for the ClientApi target. Target type is fixed to ClientApi and cannot be chosen by the caller. (Auth policies: RequireManagerRole)
|
|
98
|
+
* @param {boolean} [dryRun] Whether to calculate the clear result without applying changes to Azure App Service.
|
|
99
|
+
* @param {*} [options] Override http request option.
|
|
100
|
+
* @throws {RequiredError}
|
|
101
|
+
*/
|
|
102
|
+
apiV1CorsallowedoriginsClearDelete(dryRun?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CorsAllowedOriginsSyncModel>>;
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @summary Gets CORS allowed origins for the ClientApi target. Target type is fixed to ClientApi and cannot be chosen by the caller. (Auth policies: RequireManagerRole)
|
|
106
|
+
* @param {string} [origin]
|
|
107
|
+
* @param {string} [hospitalId]
|
|
108
|
+
* @param {CorsOriginSourceType} [originSourceType]
|
|
109
|
+
* @param {boolean} [showHidden]
|
|
110
|
+
* @param {*} [options] Override http request option.
|
|
111
|
+
* @throws {RequiredError}
|
|
112
|
+
*/
|
|
113
|
+
apiV1CorsallowedoriginsGet(origin?: string, hospitalId?: string, originSourceType?: CorsOriginSourceType, showHidden?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CorsAllowedOriginsModel>>;
|
|
114
|
+
/**
|
|
115
|
+
*
|
|
116
|
+
* @summary Deletes a CORS allowed origin record. (Auth policies: RequireManagerRole)
|
|
117
|
+
* @param {string} id The CORS allowed origin identifier.
|
|
118
|
+
* @param {boolean} [isPermanent] Whether to permanently delete the record instead of applying a soft delete.
|
|
119
|
+
* @param {*} [options] Override http request option.
|
|
120
|
+
* @throws {RequiredError}
|
|
121
|
+
*/
|
|
122
|
+
apiV1CorsallowedoriginsIdDelete(id: string, isPermanent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
|
|
123
|
+
/**
|
|
124
|
+
*
|
|
125
|
+
* @summary Updates a CORS allowed origin record. (Auth policies: RequireManagerRole)
|
|
126
|
+
* @param {string} id The CORS allowed origin identifier.
|
|
127
|
+
* @param {UpdateCorsAllowedOriginCommand} [updateCorsAllowedOriginCommand] The CORS allowed origin update request.
|
|
128
|
+
* @param {*} [options] Override http request option.
|
|
129
|
+
* @throws {RequiredError}
|
|
130
|
+
*/
|
|
131
|
+
apiV1CorsallowedoriginsIdPut(id: string, updateCorsAllowedOriginCommand?: UpdateCorsAllowedOriginCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CorsAllowedOriginModel>>;
|
|
132
|
+
/**
|
|
133
|
+
*
|
|
134
|
+
* @summary Creates a CORS allowed origin record. (Auth policies: RequireManagerRole)
|
|
135
|
+
* @param {CreateCorsAllowedOriginCommand} [createCorsAllowedOriginCommand] The CORS allowed origin creation request.
|
|
136
|
+
* @param {*} [options] Override http request option.
|
|
137
|
+
* @throws {RequiredError}
|
|
138
|
+
*/
|
|
139
|
+
apiV1CorsallowedoriginsPost(createCorsAllowedOriginCommand?: CreateCorsAllowedOriginCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CorsAllowedOriginModel>>;
|
|
140
|
+
/**
|
|
141
|
+
*
|
|
142
|
+
* @summary Rebuilds `HospitalWebsite`-sourced CORS allowed origin records in the database by reconciling them with the current active hospital website URLs. No Azure App Service synchronization is performed. Target type is fixed to ClientApi and cannot be chosen by the caller. (Auth policies: RequireManagerRole)
|
|
143
|
+
* @param {RebuildCorsAllowedOriginsCommand} [rebuildCorsAllowedOriginsCommand] The rebuild request. Only `dryRun` is accepted; target type is fixed server-side.
|
|
144
|
+
* @param {*} [options] Override http request option.
|
|
145
|
+
* @throws {RequiredError}
|
|
146
|
+
*/
|
|
147
|
+
apiV1CorsallowedoriginsRebuildPost(rebuildCorsAllowedOriginsCommand?: RebuildCorsAllowedOriginsCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CorsAllowedOriginsModel>>;
|
|
148
|
+
/**
|
|
149
|
+
*
|
|
150
|
+
* @summary Synchronizes source-of-truth CORS allowed origins to Azure App Service CORS settings for the ClientApi target. Target type is fixed to ClientApi and cannot be chosen by the caller. (Auth policies: RequireManagerRole)
|
|
151
|
+
* @param {SyncCorsAllowedOriginsCommand} [syncCorsAllowedOriginsCommand] Optional synchronization request body.
|
|
152
|
+
* @param {*} [options] Override http request option.
|
|
153
|
+
* @throws {RequiredError}
|
|
154
|
+
*/
|
|
155
|
+
apiV1CorsallowedoriginsSyncPost(syncCorsAllowedOriginsCommand?: SyncCorsAllowedOriginsCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CorsAllowedOriginsSyncModel>>;
|
|
156
|
+
};
|
|
157
|
+
/**
|
|
158
|
+
* CorsAllowedOriginsApi - factory interface
|
|
159
|
+
* @export
|
|
160
|
+
*/
|
|
161
|
+
export declare const CorsAllowedOriginsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
162
|
+
/**
|
|
163
|
+
*
|
|
164
|
+
* @summary Clears Azure App Service CORS settings for the ClientApi target. Target type is fixed to ClientApi and cannot be chosen by the caller. (Auth policies: RequireManagerRole)
|
|
165
|
+
* @param {boolean} [dryRun] Whether to calculate the clear result without applying changes to Azure App Service.
|
|
166
|
+
* @param {*} [options] Override http request option.
|
|
167
|
+
* @throws {RequiredError}
|
|
168
|
+
*/
|
|
169
|
+
apiV1CorsallowedoriginsClearDelete(dryRun?: boolean, options?: any): AxiosPromise<CorsAllowedOriginsSyncModel>;
|
|
170
|
+
/**
|
|
171
|
+
*
|
|
172
|
+
* @summary Gets CORS allowed origins for the ClientApi target. Target type is fixed to ClientApi and cannot be chosen by the caller. (Auth policies: RequireManagerRole)
|
|
173
|
+
* @param {string} [origin]
|
|
174
|
+
* @param {string} [hospitalId]
|
|
175
|
+
* @param {CorsOriginSourceType} [originSourceType]
|
|
176
|
+
* @param {boolean} [showHidden]
|
|
177
|
+
* @param {*} [options] Override http request option.
|
|
178
|
+
* @throws {RequiredError}
|
|
179
|
+
*/
|
|
180
|
+
apiV1CorsallowedoriginsGet(origin?: string, hospitalId?: string, originSourceType?: CorsOriginSourceType, showHidden?: boolean, options?: any): AxiosPromise<CorsAllowedOriginsModel>;
|
|
181
|
+
/**
|
|
182
|
+
*
|
|
183
|
+
* @summary Deletes a CORS allowed origin record. (Auth policies: RequireManagerRole)
|
|
184
|
+
* @param {string} id The CORS allowed origin identifier.
|
|
185
|
+
* @param {boolean} [isPermanent] Whether to permanently delete the record instead of applying a soft delete.
|
|
186
|
+
* @param {*} [options] Override http request option.
|
|
187
|
+
* @throws {RequiredError}
|
|
188
|
+
*/
|
|
189
|
+
apiV1CorsallowedoriginsIdDelete(id: string, isPermanent?: boolean, options?: any): AxiosPromise<boolean>;
|
|
190
|
+
/**
|
|
191
|
+
*
|
|
192
|
+
* @summary Updates a CORS allowed origin record. (Auth policies: RequireManagerRole)
|
|
193
|
+
* @param {string} id The CORS allowed origin identifier.
|
|
194
|
+
* @param {UpdateCorsAllowedOriginCommand} [updateCorsAllowedOriginCommand] The CORS allowed origin update request.
|
|
195
|
+
* @param {*} [options] Override http request option.
|
|
196
|
+
* @throws {RequiredError}
|
|
197
|
+
*/
|
|
198
|
+
apiV1CorsallowedoriginsIdPut(id: string, updateCorsAllowedOriginCommand?: UpdateCorsAllowedOriginCommand, options?: any): AxiosPromise<CorsAllowedOriginModel>;
|
|
199
|
+
/**
|
|
200
|
+
*
|
|
201
|
+
* @summary Creates a CORS allowed origin record. (Auth policies: RequireManagerRole)
|
|
202
|
+
* @param {CreateCorsAllowedOriginCommand} [createCorsAllowedOriginCommand] The CORS allowed origin creation request.
|
|
203
|
+
* @param {*} [options] Override http request option.
|
|
204
|
+
* @throws {RequiredError}
|
|
205
|
+
*/
|
|
206
|
+
apiV1CorsallowedoriginsPost(createCorsAllowedOriginCommand?: CreateCorsAllowedOriginCommand, options?: any): AxiosPromise<CorsAllowedOriginModel>;
|
|
207
|
+
/**
|
|
208
|
+
*
|
|
209
|
+
* @summary Rebuilds `HospitalWebsite`-sourced CORS allowed origin records in the database by reconciling them with the current active hospital website URLs. No Azure App Service synchronization is performed. Target type is fixed to ClientApi and cannot be chosen by the caller. (Auth policies: RequireManagerRole)
|
|
210
|
+
* @param {RebuildCorsAllowedOriginsCommand} [rebuildCorsAllowedOriginsCommand] The rebuild request. Only `dryRun` is accepted; target type is fixed server-side.
|
|
211
|
+
* @param {*} [options] Override http request option.
|
|
212
|
+
* @throws {RequiredError}
|
|
213
|
+
*/
|
|
214
|
+
apiV1CorsallowedoriginsRebuildPost(rebuildCorsAllowedOriginsCommand?: RebuildCorsAllowedOriginsCommand, options?: any): AxiosPromise<CorsAllowedOriginsModel>;
|
|
215
|
+
/**
|
|
216
|
+
*
|
|
217
|
+
* @summary Synchronizes source-of-truth CORS allowed origins to Azure App Service CORS settings for the ClientApi target. Target type is fixed to ClientApi and cannot be chosen by the caller. (Auth policies: RequireManagerRole)
|
|
218
|
+
* @param {SyncCorsAllowedOriginsCommand} [syncCorsAllowedOriginsCommand] Optional synchronization request body.
|
|
219
|
+
* @param {*} [options] Override http request option.
|
|
220
|
+
* @throws {RequiredError}
|
|
221
|
+
*/
|
|
222
|
+
apiV1CorsallowedoriginsSyncPost(syncCorsAllowedOriginsCommand?: SyncCorsAllowedOriginsCommand, options?: any): AxiosPromise<CorsAllowedOriginsSyncModel>;
|
|
223
|
+
};
|
|
224
|
+
/**
|
|
225
|
+
* Request parameters for apiV1CorsallowedoriginsClearDelete operation in CorsAllowedOriginsApi.
|
|
226
|
+
* @export
|
|
227
|
+
* @interface CorsAllowedOriginsApiApiV1CorsallowedoriginsClearDeleteRequest
|
|
228
|
+
*/
|
|
229
|
+
export interface CorsAllowedOriginsApiApiV1CorsallowedoriginsClearDeleteRequest {
|
|
230
|
+
/**
|
|
231
|
+
* Whether to calculate the clear result without applying changes to Azure App Service.
|
|
232
|
+
* @type {boolean}
|
|
233
|
+
* @memberof CorsAllowedOriginsApiApiV1CorsallowedoriginsClearDelete
|
|
234
|
+
*/
|
|
235
|
+
readonly dryRun?: boolean;
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
* Request parameters for apiV1CorsallowedoriginsGet operation in CorsAllowedOriginsApi.
|
|
239
|
+
* @export
|
|
240
|
+
* @interface CorsAllowedOriginsApiApiV1CorsallowedoriginsGetRequest
|
|
241
|
+
*/
|
|
242
|
+
export interface CorsAllowedOriginsApiApiV1CorsallowedoriginsGetRequest {
|
|
243
|
+
/**
|
|
244
|
+
*
|
|
245
|
+
* @type {string}
|
|
246
|
+
* @memberof CorsAllowedOriginsApiApiV1CorsallowedoriginsGet
|
|
247
|
+
*/
|
|
248
|
+
readonly origin?: string;
|
|
249
|
+
/**
|
|
250
|
+
*
|
|
251
|
+
* @type {string}
|
|
252
|
+
* @memberof CorsAllowedOriginsApiApiV1CorsallowedoriginsGet
|
|
253
|
+
*/
|
|
254
|
+
readonly hospitalId?: string;
|
|
255
|
+
/**
|
|
256
|
+
*
|
|
257
|
+
* @type {CorsOriginSourceType}
|
|
258
|
+
* @memberof CorsAllowedOriginsApiApiV1CorsallowedoriginsGet
|
|
259
|
+
*/
|
|
260
|
+
readonly originSourceType?: CorsOriginSourceType;
|
|
261
|
+
/**
|
|
262
|
+
*
|
|
263
|
+
* @type {boolean}
|
|
264
|
+
* @memberof CorsAllowedOriginsApiApiV1CorsallowedoriginsGet
|
|
265
|
+
*/
|
|
266
|
+
readonly showHidden?: boolean;
|
|
267
|
+
}
|
|
268
|
+
/**
|
|
269
|
+
* Request parameters for apiV1CorsallowedoriginsIdDelete operation in CorsAllowedOriginsApi.
|
|
270
|
+
* @export
|
|
271
|
+
* @interface CorsAllowedOriginsApiApiV1CorsallowedoriginsIdDeleteRequest
|
|
272
|
+
*/
|
|
273
|
+
export interface CorsAllowedOriginsApiApiV1CorsallowedoriginsIdDeleteRequest {
|
|
274
|
+
/**
|
|
275
|
+
* The CORS allowed origin identifier.
|
|
276
|
+
* @type {string}
|
|
277
|
+
* @memberof CorsAllowedOriginsApiApiV1CorsallowedoriginsIdDelete
|
|
278
|
+
*/
|
|
279
|
+
readonly id: string;
|
|
280
|
+
/**
|
|
281
|
+
* Whether to permanently delete the record instead of applying a soft delete.
|
|
282
|
+
* @type {boolean}
|
|
283
|
+
* @memberof CorsAllowedOriginsApiApiV1CorsallowedoriginsIdDelete
|
|
284
|
+
*/
|
|
285
|
+
readonly isPermanent?: boolean;
|
|
286
|
+
}
|
|
287
|
+
/**
|
|
288
|
+
* Request parameters for apiV1CorsallowedoriginsIdPut operation in CorsAllowedOriginsApi.
|
|
289
|
+
* @export
|
|
290
|
+
* @interface CorsAllowedOriginsApiApiV1CorsallowedoriginsIdPutRequest
|
|
291
|
+
*/
|
|
292
|
+
export interface CorsAllowedOriginsApiApiV1CorsallowedoriginsIdPutRequest {
|
|
293
|
+
/**
|
|
294
|
+
* The CORS allowed origin identifier.
|
|
295
|
+
* @type {string}
|
|
296
|
+
* @memberof CorsAllowedOriginsApiApiV1CorsallowedoriginsIdPut
|
|
297
|
+
*/
|
|
298
|
+
readonly id: string;
|
|
299
|
+
/**
|
|
300
|
+
* The CORS allowed origin update request.
|
|
301
|
+
* @type {UpdateCorsAllowedOriginCommand}
|
|
302
|
+
* @memberof CorsAllowedOriginsApiApiV1CorsallowedoriginsIdPut
|
|
303
|
+
*/
|
|
304
|
+
readonly updateCorsAllowedOriginCommand?: UpdateCorsAllowedOriginCommand;
|
|
305
|
+
}
|
|
306
|
+
/**
|
|
307
|
+
* Request parameters for apiV1CorsallowedoriginsPost operation in CorsAllowedOriginsApi.
|
|
308
|
+
* @export
|
|
309
|
+
* @interface CorsAllowedOriginsApiApiV1CorsallowedoriginsPostRequest
|
|
310
|
+
*/
|
|
311
|
+
export interface CorsAllowedOriginsApiApiV1CorsallowedoriginsPostRequest {
|
|
312
|
+
/**
|
|
313
|
+
* The CORS allowed origin creation request.
|
|
314
|
+
* @type {CreateCorsAllowedOriginCommand}
|
|
315
|
+
* @memberof CorsAllowedOriginsApiApiV1CorsallowedoriginsPost
|
|
316
|
+
*/
|
|
317
|
+
readonly createCorsAllowedOriginCommand?: CreateCorsAllowedOriginCommand;
|
|
318
|
+
}
|
|
319
|
+
/**
|
|
320
|
+
* Request parameters for apiV1CorsallowedoriginsRebuildPost operation in CorsAllowedOriginsApi.
|
|
321
|
+
* @export
|
|
322
|
+
* @interface CorsAllowedOriginsApiApiV1CorsallowedoriginsRebuildPostRequest
|
|
323
|
+
*/
|
|
324
|
+
export interface CorsAllowedOriginsApiApiV1CorsallowedoriginsRebuildPostRequest {
|
|
325
|
+
/**
|
|
326
|
+
* The rebuild request. Only `dryRun` is accepted; target type is fixed server-side.
|
|
327
|
+
* @type {RebuildCorsAllowedOriginsCommand}
|
|
328
|
+
* @memberof CorsAllowedOriginsApiApiV1CorsallowedoriginsRebuildPost
|
|
329
|
+
*/
|
|
330
|
+
readonly rebuildCorsAllowedOriginsCommand?: RebuildCorsAllowedOriginsCommand;
|
|
331
|
+
}
|
|
332
|
+
/**
|
|
333
|
+
* Request parameters for apiV1CorsallowedoriginsSyncPost operation in CorsAllowedOriginsApi.
|
|
334
|
+
* @export
|
|
335
|
+
* @interface CorsAllowedOriginsApiApiV1CorsallowedoriginsSyncPostRequest
|
|
336
|
+
*/
|
|
337
|
+
export interface CorsAllowedOriginsApiApiV1CorsallowedoriginsSyncPostRequest {
|
|
338
|
+
/**
|
|
339
|
+
* Optional synchronization request body.
|
|
340
|
+
* @type {SyncCorsAllowedOriginsCommand}
|
|
341
|
+
* @memberof CorsAllowedOriginsApiApiV1CorsallowedoriginsSyncPost
|
|
342
|
+
*/
|
|
343
|
+
readonly syncCorsAllowedOriginsCommand?: SyncCorsAllowedOriginsCommand;
|
|
344
|
+
}
|
|
345
|
+
/**
|
|
346
|
+
* CorsAllowedOriginsApi - object-oriented interface
|
|
347
|
+
* @export
|
|
348
|
+
* @class CorsAllowedOriginsApi
|
|
349
|
+
* @extends {BaseAPI}
|
|
350
|
+
*/
|
|
351
|
+
export declare class CorsAllowedOriginsApi extends BaseAPI {
|
|
352
|
+
/**
|
|
353
|
+
*
|
|
354
|
+
* @summary Clears Azure App Service CORS settings for the ClientApi target. Target type is fixed to ClientApi and cannot be chosen by the caller. (Auth policies: RequireManagerRole)
|
|
355
|
+
* @param {CorsAllowedOriginsApiApiV1CorsallowedoriginsClearDeleteRequest} requestParameters Request parameters.
|
|
356
|
+
* @param {*} [options] Override http request option.
|
|
357
|
+
* @throws {RequiredError}
|
|
358
|
+
* @memberof CorsAllowedOriginsApi
|
|
359
|
+
*/
|
|
360
|
+
apiV1CorsallowedoriginsClearDelete(requestParameters?: CorsAllowedOriginsApiApiV1CorsallowedoriginsClearDeleteRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CorsAllowedOriginsSyncModel, any>>;
|
|
361
|
+
/**
|
|
362
|
+
*
|
|
363
|
+
* @summary Gets CORS allowed origins for the ClientApi target. Target type is fixed to ClientApi and cannot be chosen by the caller. (Auth policies: RequireManagerRole)
|
|
364
|
+
* @param {CorsAllowedOriginsApiApiV1CorsallowedoriginsGetRequest} requestParameters Request parameters.
|
|
365
|
+
* @param {*} [options] Override http request option.
|
|
366
|
+
* @throws {RequiredError}
|
|
367
|
+
* @memberof CorsAllowedOriginsApi
|
|
368
|
+
*/
|
|
369
|
+
apiV1CorsallowedoriginsGet(requestParameters?: CorsAllowedOriginsApiApiV1CorsallowedoriginsGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CorsAllowedOriginsModel, any>>;
|
|
370
|
+
/**
|
|
371
|
+
*
|
|
372
|
+
* @summary Deletes a CORS allowed origin record. (Auth policies: RequireManagerRole)
|
|
373
|
+
* @param {CorsAllowedOriginsApiApiV1CorsallowedoriginsIdDeleteRequest} requestParameters Request parameters.
|
|
374
|
+
* @param {*} [options] Override http request option.
|
|
375
|
+
* @throws {RequiredError}
|
|
376
|
+
* @memberof CorsAllowedOriginsApi
|
|
377
|
+
*/
|
|
378
|
+
apiV1CorsallowedoriginsIdDelete(requestParameters: CorsAllowedOriginsApiApiV1CorsallowedoriginsIdDeleteRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
379
|
+
/**
|
|
380
|
+
*
|
|
381
|
+
* @summary Updates a CORS allowed origin record. (Auth policies: RequireManagerRole)
|
|
382
|
+
* @param {CorsAllowedOriginsApiApiV1CorsallowedoriginsIdPutRequest} requestParameters Request parameters.
|
|
383
|
+
* @param {*} [options] Override http request option.
|
|
384
|
+
* @throws {RequiredError}
|
|
385
|
+
* @memberof CorsAllowedOriginsApi
|
|
386
|
+
*/
|
|
387
|
+
apiV1CorsallowedoriginsIdPut(requestParameters: CorsAllowedOriginsApiApiV1CorsallowedoriginsIdPutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CorsAllowedOriginModel, any>>;
|
|
388
|
+
/**
|
|
389
|
+
*
|
|
390
|
+
* @summary Creates a CORS allowed origin record. (Auth policies: RequireManagerRole)
|
|
391
|
+
* @param {CorsAllowedOriginsApiApiV1CorsallowedoriginsPostRequest} requestParameters Request parameters.
|
|
392
|
+
* @param {*} [options] Override http request option.
|
|
393
|
+
* @throws {RequiredError}
|
|
394
|
+
* @memberof CorsAllowedOriginsApi
|
|
395
|
+
*/
|
|
396
|
+
apiV1CorsallowedoriginsPost(requestParameters?: CorsAllowedOriginsApiApiV1CorsallowedoriginsPostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CorsAllowedOriginModel, any>>;
|
|
397
|
+
/**
|
|
398
|
+
*
|
|
399
|
+
* @summary Rebuilds `HospitalWebsite`-sourced CORS allowed origin records in the database by reconciling them with the current active hospital website URLs. No Azure App Service synchronization is performed. Target type is fixed to ClientApi and cannot be chosen by the caller. (Auth policies: RequireManagerRole)
|
|
400
|
+
* @param {CorsAllowedOriginsApiApiV1CorsallowedoriginsRebuildPostRequest} requestParameters Request parameters.
|
|
401
|
+
* @param {*} [options] Override http request option.
|
|
402
|
+
* @throws {RequiredError}
|
|
403
|
+
* @memberof CorsAllowedOriginsApi
|
|
404
|
+
*/
|
|
405
|
+
apiV1CorsallowedoriginsRebuildPost(requestParameters?: CorsAllowedOriginsApiApiV1CorsallowedoriginsRebuildPostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CorsAllowedOriginsModel, any>>;
|
|
406
|
+
/**
|
|
407
|
+
*
|
|
408
|
+
* @summary Synchronizes source-of-truth CORS allowed origins to Azure App Service CORS settings for the ClientApi target. Target type is fixed to ClientApi and cannot be chosen by the caller. (Auth policies: RequireManagerRole)
|
|
409
|
+
* @param {CorsAllowedOriginsApiApiV1CorsallowedoriginsSyncPostRequest} requestParameters Request parameters.
|
|
410
|
+
* @param {*} [options] Override http request option.
|
|
411
|
+
* @throws {RequiredError}
|
|
412
|
+
* @memberof CorsAllowedOriginsApi
|
|
413
|
+
*/
|
|
414
|
+
apiV1CorsallowedoriginsSyncPost(requestParameters?: CorsAllowedOriginsApiApiV1CorsallowedoriginsSyncPostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CorsAllowedOriginsSyncModel, any>>;
|
|
415
|
+
}
|
|
416
|
+
//# sourceMappingURL=cors-allowed-origins-api.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cors-allowed-origins-api.d.ts","sourceRoot":"","sources":["../../src/api/cors-allowed-origins-api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAoB,EAAE,YAAY,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAC;AACrF,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAKjD,OAAO,EAAiC,WAAW,EAAE,OAAO,EAAiB,MAAM,SAAS,CAAC;AAE7F,OAAO,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAC;AAEnD,OAAO,EAAE,uBAAuB,EAAE,MAAM,WAAW,CAAC;AAEpD,OAAO,EAAE,2BAA2B,EAAE,MAAM,WAAW,CAAC;AAExD,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAEjD,OAAO,EAAE,8BAA8B,EAAE,MAAM,WAAW,CAAC;AAI3D,OAAO,EAAE,gCAAgC,EAAE,MAAM,WAAW,CAAC;AAE7D,OAAO,EAAE,6BAA6B,EAAE,MAAM,WAAW,CAAC;AAE1D,OAAO,EAAE,8BAA8B,EAAE,MAAM,WAAW,CAAC;AAC3D;;;GAGG;AACH,eAAO,MAAM,sCAAsC,mBAA6B,aAAa;IAErF;;;;;;OAMG;kDACiD,OAAO,YAAW,kBAAkB,KAAQ,OAAO,CAAC,WAAW,CAAC;IAgCpH;;;;;;;;;OASG;0CACyC,MAAM,eAAe,MAAM,qBAAqB,oBAAoB,eAAe,OAAO,YAAW,kBAAkB,KAAQ,OAAO,CAAC,WAAW,CAAC;IA4C/L;;;;;;;OAOG;0CACyC,MAAM,gBAAgB,OAAO,YAAW,kBAAkB,KAAQ,OAAO,CAAC,WAAW,CAAC;IAmClI;;;;;;;OAOG;uCACsC,MAAM,mCAAmC,8BA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