@webitel/api-services 0.1.48 → 0.1.49
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/package.json +1 -1
- package/src/api/clients/oauthApps/oauthApps.ts +3 -2
- package/src/gen/_models/{oAuth2FederationUpdateOAuthServiceBody.ts → apiOAuthServiceBody.ts} +4 -5
- package/src/gen/_models/{oAuth2FederationUpdateOAuthServiceBody.zod.ts → apiOAuthServiceBody.zod.ts} +4 -5
- package/src/gen/_models/index.ts +3 -2
- package/src/gen/_models/updateOAuthService2Params.ts +13 -0
- package/src/gen/_models/updateOAuthService2Params.zod.ts +13 -0
- package/src/gen/_models/updateOAuthServiceParams.ts +13 -0
- package/src/gen/_models/updateOAuthServiceParams.zod.ts +13 -0
- package/src/gen/oauth2-federation/oauth2-federation.ts +20 -13
- package/src/gen/oauth2-federation/oauth2-federation.zod.ts +90 -88
- package/types/api/clients/index.d.ts +1 -1
- package/types/gen/_models/{oAuth2FederationUpdateOAuthServiceBody.d.ts → apiOAuthServiceBody.d.ts} +4 -5
- package/types/gen/_models/{oAuth2FederationUpdateOAuthServiceBody.zod.d.ts → apiOAuthServiceBody.zod.d.ts} +4 -5
- package/types/gen/_models/updateOAuthService2Params.d.ts +12 -0
- package/types/gen/_models/updateOAuthService2Params.zod.d.ts +12 -0
- package/types/gen/_models/updateOAuthServiceParams.d.ts +12 -0
- package/types/gen/_models/updateOAuthServiceParams.zod.d.ts +12 -0
- package/types/gen/oauth2-federation/oauth2-federation.d.ts +3 -3
- package/types/gen/oauth2-federation/oauth2-federation.zod.d.ts +62 -62
- package/src/gen/_models/oAuth2FederationUpdateOAuthServiceBodyBody.ts +0 -10
- package/src/gen/_models/oAuth2FederationUpdateOAuthServiceBodyBody.zod.ts +0 -10
- package/types/gen/_models/oAuth2FederationUpdateOAuthServiceBodyBody.d.ts +0 -8
- package/types/gen/_models/oAuth2FederationUpdateOAuthServiceBodyBody.zod.d.ts +0 -8
package/package.json
CHANGED
|
@@ -117,9 +117,10 @@ const updateOAuthApp = async ({
|
|
|
117
117
|
]);
|
|
118
118
|
|
|
119
119
|
try {
|
|
120
|
-
const response = await getOauth2Federation().updateOAuthService(
|
|
120
|
+
const response = await getOauth2Federation().updateOAuthService(
|
|
121
|
+
id,
|
|
121
122
|
changes,
|
|
122
|
-
|
|
123
|
+
);
|
|
123
124
|
return applyTransform(response.data, [
|
|
124
125
|
snakeToCamel(),
|
|
125
126
|
]);
|
package/src/gen/_models/{oAuth2FederationUpdateOAuthServiceBody.ts → apiOAuthServiceBody.ts}
RENAMED
|
@@ -6,8 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import type { ApiOAuthService } from './apiOAuthService';
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
9
|
+
/**
|
|
10
|
+
* Configuration changes.
|
|
11
|
+
*/
|
|
12
|
+
export type ApiOAuthServiceBody = ApiOAuthService;
|
package/src/gen/_models/{oAuth2FederationUpdateOAuthServiceBody.zod.ts → apiOAuthServiceBody.zod.ts}
RENAMED
|
@@ -6,8 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import type { ApiOAuthService } from './apiOAuthService.zod';
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
9
|
+
/**
|
|
10
|
+
* Configuration changes.
|
|
11
|
+
*/
|
|
12
|
+
export type ApiOAuthServiceBody = ApiOAuthService;
|
package/src/gen/_models/index.ts
CHANGED
|
@@ -92,6 +92,7 @@ export * from './apiLoginResponse.zod';
|
|
|
92
92
|
export * from './apiLogoutUserRequest.zod';
|
|
93
93
|
export * from './apiLogoutUserResponse.zod';
|
|
94
94
|
export * from './apiOAuthService.zod';
|
|
95
|
+
export * from './apiOAuthServiceBody.zod';
|
|
95
96
|
export * from './apiOAuthServiceMetadata.zod';
|
|
96
97
|
export * from './apiObjclass.zod';
|
|
97
98
|
export * from './apiObjectClass.zod';
|
|
@@ -915,8 +916,6 @@ export * from './messageHistorySearchLeftThreadsMessagesHistoryParams.zod';
|
|
|
915
916
|
export * from './messageHistorySearchThreadMessagesHistoryParams.zod';
|
|
916
917
|
export * from './messageReadParams.zod';
|
|
917
918
|
export * from './oAuth2FederationDeleteOAuthServiceBody.zod';
|
|
918
|
-
export * from './oAuth2FederationUpdateOAuthServiceBody.zod';
|
|
919
|
-
export * from './oAuth2FederationUpdateOAuthServiceBodyBody.zod';
|
|
920
919
|
export * from './openedWebSocketsParams.zod';
|
|
921
920
|
export * from './pauseTemplateServiceReadPauseTemplateParams.zod';
|
|
922
921
|
export * from './pauseTemplateServiceSearchPauseTemplateParams.zod';
|
|
@@ -1262,6 +1261,8 @@ export * from './updateManager2Params.zod';
|
|
|
1262
1261
|
export * from './updateManagerBody.zod';
|
|
1263
1262
|
export * from './updateManagerInputBody.zod';
|
|
1264
1263
|
export * from './updateManagerParams.zod';
|
|
1264
|
+
export * from './updateOAuthService2Params.zod';
|
|
1265
|
+
export * from './updateOAuthServiceParams.zod';
|
|
1265
1266
|
export * from './updateParams.zod';
|
|
1266
1267
|
export * from './updatePhone2Body.zod';
|
|
1267
1268
|
export * from './updatePhone2Params.zod';
|
|
@@ -15,8 +15,9 @@ import type {
|
|
|
15
15
|
ApiSearchOAuthServiceResponse,
|
|
16
16
|
LocateOAuthServiceParams,
|
|
17
17
|
OAuth2FederationDeleteOAuthServiceBody,
|
|
18
|
-
OAuth2FederationUpdateOAuthServiceBody,
|
|
19
18
|
SearchOAuthServiceParams,
|
|
19
|
+
UpdateOAuthService2Params,
|
|
20
|
+
UpdateOAuthServiceParams,
|
|
20
21
|
} from '../_models';
|
|
21
22
|
|
|
22
23
|
// --- header start
|
|
@@ -79,25 +80,31 @@ export const // --- title start
|
|
|
79
80
|
};
|
|
80
81
|
const updateOAuthService2 = (
|
|
81
82
|
id: string,
|
|
82
|
-
|
|
83
|
+
apiOAuthService: ApiOAuthService,
|
|
84
|
+
params?: UpdateOAuthService2Params,
|
|
83
85
|
options?: AxiosRequestConfig,
|
|
84
86
|
): Promise<AxiosResponse<ApiOAuthService>> => {
|
|
85
|
-
return axiosInstance.patch(
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
87
|
+
return axiosInstance.patch(`/oauth/apps/${id}`, apiOAuthService, {
|
|
88
|
+
...options,
|
|
89
|
+
params: {
|
|
90
|
+
...params,
|
|
91
|
+
...options?.params,
|
|
92
|
+
},
|
|
93
|
+
});
|
|
90
94
|
};
|
|
91
95
|
const updateOAuthService = (
|
|
92
96
|
id: string,
|
|
93
|
-
|
|
97
|
+
apiOAuthService: ApiOAuthService,
|
|
98
|
+
params?: UpdateOAuthServiceParams,
|
|
94
99
|
options?: AxiosRequestConfig,
|
|
95
100
|
): Promise<AxiosResponse<ApiOAuthService>> => {
|
|
96
|
-
return axiosInstance.put(
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
+
return axiosInstance.put(`/oauth/apps/${id}`, apiOAuthService, {
|
|
102
|
+
...options,
|
|
103
|
+
params: {
|
|
104
|
+
...params,
|
|
105
|
+
...options?.params,
|
|
106
|
+
},
|
|
107
|
+
});
|
|
101
108
|
};
|
|
102
109
|
|
|
103
110
|
// --- footer start
|
|
@@ -286,55 +286,56 @@ export const UpdateOAuthService2Params = zod.object({
|
|
|
286
286
|
id: zod.string().describe('Unique identifier of the OAuthService to update.'),
|
|
287
287
|
});
|
|
288
288
|
|
|
289
|
+
export const UpdateOAuthService2QueryParams = zod.object({
|
|
290
|
+
fields: zod
|
|
291
|
+
.array(zod.string())
|
|
292
|
+
.optional()
|
|
293
|
+
.describe('Fields for partial update. PATCH'),
|
|
294
|
+
});
|
|
295
|
+
|
|
289
296
|
export const UpdateOAuthService2Body = zod.object({
|
|
290
|
-
|
|
297
|
+
authUrl: zod.string().optional(),
|
|
298
|
+
claims: zod
|
|
299
|
+
.array(
|
|
300
|
+
zod.object({
|
|
301
|
+
type: zod.string().optional(),
|
|
302
|
+
value: zod.string().optional(),
|
|
303
|
+
}),
|
|
304
|
+
)
|
|
305
|
+
.optional()
|
|
306
|
+
.describe('google.protobuf.Struct claims = 7;'),
|
|
307
|
+
clientId: zod.string().optional(),
|
|
308
|
+
clientSecret: zod.string().optional(),
|
|
309
|
+
createdAt: zod.string().optional(),
|
|
310
|
+
createdBy: zod
|
|
291
311
|
.object({
|
|
292
|
-
authUrl: zod.string().optional(),
|
|
293
|
-
claims: zod
|
|
294
|
-
.array(
|
|
295
|
-
zod.object({
|
|
296
|
-
type: zod.string().optional(),
|
|
297
|
-
value: zod.string().optional(),
|
|
298
|
-
}),
|
|
299
|
-
)
|
|
300
|
-
.optional()
|
|
301
|
-
.describe('google.protobuf.Struct claims = 7;'),
|
|
302
|
-
clientId: zod.string().optional(),
|
|
303
|
-
clientSecret: zod.string().optional(),
|
|
304
|
-
createdAt: zod.string().optional(),
|
|
305
|
-
createdBy: zod
|
|
306
|
-
.object({
|
|
307
|
-
id: zod.string().optional(),
|
|
308
|
-
name: zod.string().optional(),
|
|
309
|
-
})
|
|
310
|
-
.optional(),
|
|
311
|
-
discoveryUrl: zod.string().optional(),
|
|
312
|
-
domain: zod
|
|
313
|
-
.object({
|
|
314
|
-
id: zod.string().optional(),
|
|
315
|
-
name: zod.string().optional(),
|
|
316
|
-
})
|
|
317
|
-
.optional(),
|
|
318
|
-
enabled: zod.boolean().optional(),
|
|
319
312
|
id: zod.string().optional(),
|
|
320
|
-
logo: zod.string().optional(),
|
|
321
|
-
metadata: zod.looseObject({}).optional(),
|
|
322
313
|
name: zod.string().optional(),
|
|
323
|
-
scopes: zod.array(zod.string()).optional(),
|
|
324
|
-
tokenUrl: zod.string().optional(),
|
|
325
|
-
type: zod.string().optional(),
|
|
326
|
-
updatedAt: zod.string().optional(),
|
|
327
|
-
updatedBy: zod
|
|
328
|
-
.object({
|
|
329
|
-
id: zod.string().optional(),
|
|
330
|
-
name: zod.string().optional(),
|
|
331
|
-
})
|
|
332
|
-
.optional(),
|
|
333
|
-
userinfoUrl: zod.string().optional(),
|
|
334
314
|
})
|
|
335
|
-
.optional()
|
|
336
|
-
|
|
337
|
-
|
|
315
|
+
.optional(),
|
|
316
|
+
discoveryUrl: zod.string().optional(),
|
|
317
|
+
domain: zod
|
|
318
|
+
.object({
|
|
319
|
+
id: zod.string().optional(),
|
|
320
|
+
name: zod.string().optional(),
|
|
321
|
+
})
|
|
322
|
+
.optional(),
|
|
323
|
+
enabled: zod.boolean().optional(),
|
|
324
|
+
id: zod.string().optional(),
|
|
325
|
+
logo: zod.string().optional(),
|
|
326
|
+
metadata: zod.looseObject({}).optional(),
|
|
327
|
+
name: zod.string().optional(),
|
|
328
|
+
scopes: zod.array(zod.string()).optional(),
|
|
329
|
+
tokenUrl: zod.string().optional(),
|
|
330
|
+
type: zod.string().optional(),
|
|
331
|
+
updatedAt: zod.string().optional(),
|
|
332
|
+
updatedBy: zod
|
|
333
|
+
.object({
|
|
334
|
+
id: zod.string().optional(),
|
|
335
|
+
name: zod.string().optional(),
|
|
336
|
+
})
|
|
337
|
+
.optional(),
|
|
338
|
+
userinfoUrl: zod.string().optional(),
|
|
338
339
|
});
|
|
339
340
|
|
|
340
341
|
export const UpdateOAuthService2Response = zod.object({
|
|
@@ -386,55 +387,56 @@ export const UpdateOAuthServiceParams = zod.object({
|
|
|
386
387
|
id: zod.string().describe('Unique identifier of the OAuthService to update.'),
|
|
387
388
|
});
|
|
388
389
|
|
|
390
|
+
export const UpdateOAuthServiceQueryParams = zod.object({
|
|
391
|
+
fields: zod
|
|
392
|
+
.array(zod.string())
|
|
393
|
+
.optional()
|
|
394
|
+
.describe('Fields for partial update. PATCH'),
|
|
395
|
+
});
|
|
396
|
+
|
|
389
397
|
export const UpdateOAuthServiceBody = zod.object({
|
|
390
|
-
|
|
398
|
+
authUrl: zod.string().optional(),
|
|
399
|
+
claims: zod
|
|
400
|
+
.array(
|
|
401
|
+
zod.object({
|
|
402
|
+
type: zod.string().optional(),
|
|
403
|
+
value: zod.string().optional(),
|
|
404
|
+
}),
|
|
405
|
+
)
|
|
406
|
+
.optional()
|
|
407
|
+
.describe('google.protobuf.Struct claims = 7;'),
|
|
408
|
+
clientId: zod.string().optional(),
|
|
409
|
+
clientSecret: zod.string().optional(),
|
|
410
|
+
createdAt: zod.string().optional(),
|
|
411
|
+
createdBy: zod
|
|
391
412
|
.object({
|
|
392
|
-
authUrl: zod.string().optional(),
|
|
393
|
-
claims: zod
|
|
394
|
-
.array(
|
|
395
|
-
zod.object({
|
|
396
|
-
type: zod.string().optional(),
|
|
397
|
-
value: zod.string().optional(),
|
|
398
|
-
}),
|
|
399
|
-
)
|
|
400
|
-
.optional()
|
|
401
|
-
.describe('google.protobuf.Struct claims = 7;'),
|
|
402
|
-
clientId: zod.string().optional(),
|
|
403
|
-
clientSecret: zod.string().optional(),
|
|
404
|
-
createdAt: zod.string().optional(),
|
|
405
|
-
createdBy: zod
|
|
406
|
-
.object({
|
|
407
|
-
id: zod.string().optional(),
|
|
408
|
-
name: zod.string().optional(),
|
|
409
|
-
})
|
|
410
|
-
.optional(),
|
|
411
|
-
discoveryUrl: zod.string().optional(),
|
|
412
|
-
domain: zod
|
|
413
|
-
.object({
|
|
414
|
-
id: zod.string().optional(),
|
|
415
|
-
name: zod.string().optional(),
|
|
416
|
-
})
|
|
417
|
-
.optional(),
|
|
418
|
-
enabled: zod.boolean().optional(),
|
|
419
413
|
id: zod.string().optional(),
|
|
420
|
-
logo: zod.string().optional(),
|
|
421
|
-
metadata: zod.looseObject({}).optional(),
|
|
422
414
|
name: zod.string().optional(),
|
|
423
|
-
scopes: zod.array(zod.string()).optional(),
|
|
424
|
-
tokenUrl: zod.string().optional(),
|
|
425
|
-
type: zod.string().optional(),
|
|
426
|
-
updatedAt: zod.string().optional(),
|
|
427
|
-
updatedBy: zod
|
|
428
|
-
.object({
|
|
429
|
-
id: zod.string().optional(),
|
|
430
|
-
name: zod.string().optional(),
|
|
431
|
-
})
|
|
432
|
-
.optional(),
|
|
433
|
-
userinfoUrl: zod.string().optional(),
|
|
434
415
|
})
|
|
435
|
-
.optional()
|
|
436
|
-
|
|
437
|
-
|
|
416
|
+
.optional(),
|
|
417
|
+
discoveryUrl: zod.string().optional(),
|
|
418
|
+
domain: zod
|
|
419
|
+
.object({
|
|
420
|
+
id: zod.string().optional(),
|
|
421
|
+
name: zod.string().optional(),
|
|
422
|
+
})
|
|
423
|
+
.optional(),
|
|
424
|
+
enabled: zod.boolean().optional(),
|
|
425
|
+
id: zod.string().optional(),
|
|
426
|
+
logo: zod.string().optional(),
|
|
427
|
+
metadata: zod.looseObject({}).optional(),
|
|
428
|
+
name: zod.string().optional(),
|
|
429
|
+
scopes: zod.array(zod.string()).optional(),
|
|
430
|
+
tokenUrl: zod.string().optional(),
|
|
431
|
+
type: zod.string().optional(),
|
|
432
|
+
updatedAt: zod.string().optional(),
|
|
433
|
+
updatedBy: zod
|
|
434
|
+
.object({
|
|
435
|
+
id: zod.string().optional(),
|
|
436
|
+
name: zod.string().optional(),
|
|
437
|
+
})
|
|
438
|
+
.optional(),
|
|
439
|
+
userinfoUrl: zod.string().optional(),
|
|
438
440
|
});
|
|
439
441
|
|
|
440
442
|
export const UpdateOAuthServiceResponse = zod.object({
|
|
@@ -28,8 +28,8 @@ export * from './labels/labels';
|
|
|
28
28
|
export * from './lists/blacklists';
|
|
29
29
|
export * from './media/media';
|
|
30
30
|
export * from './messageService/messageService';
|
|
31
|
-
export * from './object/object';
|
|
32
31
|
export * from './oauthApps/oauthApps';
|
|
32
|
+
export * from './object/object';
|
|
33
33
|
export * from './pdfServices/pdfServices';
|
|
34
34
|
export * from './phones/phones';
|
|
35
35
|
export * from './queues/queues';
|
package/types/gen/_models/{oAuth2FederationUpdateOAuthServiceBody.d.ts → apiOAuthServiceBody.d.ts}
RENAMED
|
@@ -5,8 +5,7 @@
|
|
|
5
5
|
* OpenAPI spec version: 24.04.0
|
|
6
6
|
*/
|
|
7
7
|
import type { ApiOAuthService } from './apiOAuthService';
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
8
|
+
/**
|
|
9
|
+
* Configuration changes.
|
|
10
|
+
*/
|
|
11
|
+
export type ApiOAuthServiceBody = ApiOAuthService;
|
|
@@ -5,8 +5,7 @@
|
|
|
5
5
|
* OpenAPI spec version: 24.04.0
|
|
6
6
|
*/
|
|
7
7
|
import type { ApiOAuthService } from './apiOAuthService.zod';
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
8
|
+
/**
|
|
9
|
+
* Configuration changes.
|
|
10
|
+
*/
|
|
11
|
+
export type ApiOAuthServiceBody = ApiOAuthService;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
|
-
import type { ApiDeleteOAuthServiceRequest, ApiDeleteOAuthServiceResponse, ApiOAuthService, ApiSearchOAuthServiceResponse, LocateOAuthServiceParams, OAuth2FederationDeleteOAuthServiceBody,
|
|
2
|
+
import type { ApiDeleteOAuthServiceRequest, ApiDeleteOAuthServiceResponse, ApiOAuthService, ApiSearchOAuthServiceResponse, LocateOAuthServiceParams, OAuth2FederationDeleteOAuthServiceBody, SearchOAuthServiceParams, UpdateOAuthService2Params, UpdateOAuthServiceParams } from '../_models';
|
|
3
3
|
export declare const // --- title start
|
|
4
4
|
getOauth2Federation: (axiosInstance?: AxiosInstance) => {
|
|
5
5
|
deleteOAuthService: (apiDeleteOAuthServiceRequest: ApiDeleteOAuthServiceRequest, options?: AxiosRequestConfig) => Promise<AxiosResponse<ApiDeleteOAuthServiceResponse>>;
|
|
@@ -7,8 +7,8 @@ getOauth2Federation: (axiosInstance?: AxiosInstance) => {
|
|
|
7
7
|
createOAuthService: (apiOAuthService: ApiOAuthService, options?: AxiosRequestConfig) => Promise<AxiosResponse<ApiOAuthService>>;
|
|
8
8
|
deleteOAuthService2: (id: string[], oAuth2FederationDeleteOAuthServiceBody: OAuth2FederationDeleteOAuthServiceBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<ApiDeleteOAuthServiceResponse>>;
|
|
9
9
|
locateOAuthService: (id: string[], params?: LocateOAuthServiceParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<ApiOAuthService>>;
|
|
10
|
-
updateOAuthService2: (id: string,
|
|
11
|
-
updateOAuthService: (id: string,
|
|
10
|
+
updateOAuthService2: (id: string, apiOAuthService: ApiOAuthService, params?: UpdateOAuthService2Params, options?: AxiosRequestConfig) => Promise<AxiosResponse<ApiOAuthService>>;
|
|
11
|
+
updateOAuthService: (id: string, apiOAuthService: ApiOAuthService, params?: UpdateOAuthServiceParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<ApiOAuthService>>;
|
|
12
12
|
};
|
|
13
13
|
export type DeleteOAuthServiceResult = AxiosResponse<ApiDeleteOAuthServiceResponse>;
|
|
14
14
|
export type SearchOAuthServiceResult = AxiosResponse<ApiSearchOAuthServiceResponse>;
|
|
@@ -180,41 +180,41 @@ export declare const LocateOAuthServiceResponse: zod.ZodObject<{
|
|
|
180
180
|
export declare const UpdateOAuthService2Params: zod.ZodObject<{
|
|
181
181
|
id: zod.ZodString;
|
|
182
182
|
}, zod.z.core.$strip>;
|
|
183
|
+
export declare const UpdateOAuthService2QueryParams: zod.ZodObject<{
|
|
184
|
+
fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
185
|
+
}, zod.z.core.$strip>;
|
|
183
186
|
export declare const UpdateOAuthService2Body: zod.ZodObject<{
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
createdBy: zod.ZodOptional<zod.ZodObject<{
|
|
194
|
-
id: zod.ZodOptional<zod.ZodString>;
|
|
195
|
-
name: zod.ZodOptional<zod.ZodString>;
|
|
196
|
-
}, zod.z.core.$strip>>;
|
|
197
|
-
discoveryUrl: zod.ZodOptional<zod.ZodString>;
|
|
198
|
-
domain: zod.ZodOptional<zod.ZodObject<{
|
|
199
|
-
id: zod.ZodOptional<zod.ZodString>;
|
|
200
|
-
name: zod.ZodOptional<zod.ZodString>;
|
|
201
|
-
}, zod.z.core.$strip>>;
|
|
202
|
-
enabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
187
|
+
authUrl: zod.ZodOptional<zod.ZodString>;
|
|
188
|
+
claims: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
189
|
+
type: zod.ZodOptional<zod.ZodString>;
|
|
190
|
+
value: zod.ZodOptional<zod.ZodString>;
|
|
191
|
+
}, zod.z.core.$strip>>>;
|
|
192
|
+
clientId: zod.ZodOptional<zod.ZodString>;
|
|
193
|
+
clientSecret: zod.ZodOptional<zod.ZodString>;
|
|
194
|
+
createdAt: zod.ZodOptional<zod.ZodString>;
|
|
195
|
+
createdBy: zod.ZodOptional<zod.ZodObject<{
|
|
203
196
|
id: zod.ZodOptional<zod.ZodString>;
|
|
204
|
-
logo: zod.ZodOptional<zod.ZodString>;
|
|
205
|
-
metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
|
|
206
197
|
name: zod.ZodOptional<zod.ZodString>;
|
|
207
|
-
scopes: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
208
|
-
tokenUrl: zod.ZodOptional<zod.ZodString>;
|
|
209
|
-
type: zod.ZodOptional<zod.ZodString>;
|
|
210
|
-
updatedAt: zod.ZodOptional<zod.ZodString>;
|
|
211
|
-
updatedBy: zod.ZodOptional<zod.ZodObject<{
|
|
212
|
-
id: zod.ZodOptional<zod.ZodString>;
|
|
213
|
-
name: zod.ZodOptional<zod.ZodString>;
|
|
214
|
-
}, zod.z.core.$strip>>;
|
|
215
|
-
userinfoUrl: zod.ZodOptional<zod.ZodString>;
|
|
216
198
|
}, zod.z.core.$strip>>;
|
|
217
|
-
|
|
199
|
+
discoveryUrl: zod.ZodOptional<zod.ZodString>;
|
|
200
|
+
domain: zod.ZodOptional<zod.ZodObject<{
|
|
201
|
+
id: zod.ZodOptional<zod.ZodString>;
|
|
202
|
+
name: zod.ZodOptional<zod.ZodString>;
|
|
203
|
+
}, zod.z.core.$strip>>;
|
|
204
|
+
enabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
205
|
+
id: zod.ZodOptional<zod.ZodString>;
|
|
206
|
+
logo: zod.ZodOptional<zod.ZodString>;
|
|
207
|
+
metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
|
|
208
|
+
name: zod.ZodOptional<zod.ZodString>;
|
|
209
|
+
scopes: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
210
|
+
tokenUrl: zod.ZodOptional<zod.ZodString>;
|
|
211
|
+
type: zod.ZodOptional<zod.ZodString>;
|
|
212
|
+
updatedAt: zod.ZodOptional<zod.ZodString>;
|
|
213
|
+
updatedBy: zod.ZodOptional<zod.ZodObject<{
|
|
214
|
+
id: zod.ZodOptional<zod.ZodString>;
|
|
215
|
+
name: zod.ZodOptional<zod.ZodString>;
|
|
216
|
+
}, zod.z.core.$strip>>;
|
|
217
|
+
userinfoUrl: zod.ZodOptional<zod.ZodString>;
|
|
218
218
|
}, zod.z.core.$strip>;
|
|
219
219
|
export declare const UpdateOAuthService2Response: zod.ZodObject<{
|
|
220
220
|
authUrl: zod.ZodOptional<zod.ZodString>;
|
|
@@ -252,41 +252,41 @@ export declare const UpdateOAuthService2Response: zod.ZodObject<{
|
|
|
252
252
|
export declare const UpdateOAuthServiceParams: zod.ZodObject<{
|
|
253
253
|
id: zod.ZodString;
|
|
254
254
|
}, zod.z.core.$strip>;
|
|
255
|
+
export declare const UpdateOAuthServiceQueryParams: zod.ZodObject<{
|
|
256
|
+
fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
257
|
+
}, zod.z.core.$strip>;
|
|
255
258
|
export declare const UpdateOAuthServiceBody: zod.ZodObject<{
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
createdBy: zod.ZodOptional<zod.ZodObject<{
|
|
266
|
-
id: zod.ZodOptional<zod.ZodString>;
|
|
267
|
-
name: zod.ZodOptional<zod.ZodString>;
|
|
268
|
-
}, zod.z.core.$strip>>;
|
|
269
|
-
discoveryUrl: zod.ZodOptional<zod.ZodString>;
|
|
270
|
-
domain: zod.ZodOptional<zod.ZodObject<{
|
|
271
|
-
id: zod.ZodOptional<zod.ZodString>;
|
|
272
|
-
name: zod.ZodOptional<zod.ZodString>;
|
|
273
|
-
}, zod.z.core.$strip>>;
|
|
274
|
-
enabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
259
|
+
authUrl: zod.ZodOptional<zod.ZodString>;
|
|
260
|
+
claims: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
261
|
+
type: zod.ZodOptional<zod.ZodString>;
|
|
262
|
+
value: zod.ZodOptional<zod.ZodString>;
|
|
263
|
+
}, zod.z.core.$strip>>>;
|
|
264
|
+
clientId: zod.ZodOptional<zod.ZodString>;
|
|
265
|
+
clientSecret: zod.ZodOptional<zod.ZodString>;
|
|
266
|
+
createdAt: zod.ZodOptional<zod.ZodString>;
|
|
267
|
+
createdBy: zod.ZodOptional<zod.ZodObject<{
|
|
275
268
|
id: zod.ZodOptional<zod.ZodString>;
|
|
276
|
-
logo: zod.ZodOptional<zod.ZodString>;
|
|
277
|
-
metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
|
|
278
269
|
name: zod.ZodOptional<zod.ZodString>;
|
|
279
|
-
scopes: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
280
|
-
tokenUrl: zod.ZodOptional<zod.ZodString>;
|
|
281
|
-
type: zod.ZodOptional<zod.ZodString>;
|
|
282
|
-
updatedAt: zod.ZodOptional<zod.ZodString>;
|
|
283
|
-
updatedBy: zod.ZodOptional<zod.ZodObject<{
|
|
284
|
-
id: zod.ZodOptional<zod.ZodString>;
|
|
285
|
-
name: zod.ZodOptional<zod.ZodString>;
|
|
286
|
-
}, zod.z.core.$strip>>;
|
|
287
|
-
userinfoUrl: zod.ZodOptional<zod.ZodString>;
|
|
288
270
|
}, zod.z.core.$strip>>;
|
|
289
|
-
|
|
271
|
+
discoveryUrl: zod.ZodOptional<zod.ZodString>;
|
|
272
|
+
domain: zod.ZodOptional<zod.ZodObject<{
|
|
273
|
+
id: zod.ZodOptional<zod.ZodString>;
|
|
274
|
+
name: zod.ZodOptional<zod.ZodString>;
|
|
275
|
+
}, zod.z.core.$strip>>;
|
|
276
|
+
enabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
277
|
+
id: zod.ZodOptional<zod.ZodString>;
|
|
278
|
+
logo: zod.ZodOptional<zod.ZodString>;
|
|
279
|
+
metadata: zod.ZodOptional<zod.ZodObject<{}, zod.z.core.$loose>>;
|
|
280
|
+
name: zod.ZodOptional<zod.ZodString>;
|
|
281
|
+
scopes: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
282
|
+
tokenUrl: zod.ZodOptional<zod.ZodString>;
|
|
283
|
+
type: zod.ZodOptional<zod.ZodString>;
|
|
284
|
+
updatedAt: zod.ZodOptional<zod.ZodString>;
|
|
285
|
+
updatedBy: zod.ZodOptional<zod.ZodObject<{
|
|
286
|
+
id: zod.ZodOptional<zod.ZodString>;
|
|
287
|
+
name: zod.ZodOptional<zod.ZodString>;
|
|
288
|
+
}, zod.z.core.$strip>>;
|
|
289
|
+
userinfoUrl: zod.ZodOptional<zod.ZodString>;
|
|
290
290
|
}, zod.z.core.$strip>;
|
|
291
291
|
export declare const UpdateOAuthServiceResponse: zod.ZodObject<{
|
|
292
292
|
authUrl: zod.ZodOptional<zod.ZodString>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by orval v8.19.0 🍺
|
|
3
|
-
* Do not edit manually.
|
|
4
|
-
* Webitel API
|
|
5
|
-
* OpenAPI spec version: 24.04.0
|
|
6
|
-
*/
|
|
7
|
-
import type { OAuth2FederationUpdateOAuthServiceBody } from './oAuth2FederationUpdateOAuthServiceBody';
|
|
8
|
-
|
|
9
|
-
export type OAuth2FederationUpdateOAuthServiceBodyBody =
|
|
10
|
-
OAuth2FederationUpdateOAuthServiceBody;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by orval v8.19.0 🍺
|
|
3
|
-
* Do not edit manually.
|
|
4
|
-
* Webitel API
|
|
5
|
-
* OpenAPI spec version: 24.04.0
|
|
6
|
-
*/
|
|
7
|
-
import type { OAuth2FederationUpdateOAuthServiceBody } from './oAuth2FederationUpdateOAuthServiceBody.zod';
|
|
8
|
-
|
|
9
|
-
export type OAuth2FederationUpdateOAuthServiceBodyBody =
|
|
10
|
-
OAuth2FederationUpdateOAuthServiceBody;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by orval v8.19.0 🍺
|
|
3
|
-
* Do not edit manually.
|
|
4
|
-
* Webitel API
|
|
5
|
-
* OpenAPI spec version: 24.04.0
|
|
6
|
-
*/
|
|
7
|
-
import type { OAuth2FederationUpdateOAuthServiceBody } from './oAuth2FederationUpdateOAuthServiceBody';
|
|
8
|
-
export type OAuth2FederationUpdateOAuthServiceBodyBody = OAuth2FederationUpdateOAuthServiceBody;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by orval v8.19.0 🍺
|
|
3
|
-
* Do not edit manually.
|
|
4
|
-
* Webitel API
|
|
5
|
-
* OpenAPI spec version: 24.04.0
|
|
6
|
-
*/
|
|
7
|
-
import type { OAuth2FederationUpdateOAuthServiceBody } from './oAuth2FederationUpdateOAuthServiceBody.zod';
|
|
8
|
-
export type OAuth2FederationUpdateOAuthServiceBodyBody = OAuth2FederationUpdateOAuthServiceBody;
|