-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integrate Profile Mapping API into v2 client (#319)
- Loading branch information
1 parent
eb1a88a
commit d81b77e
Showing
15 changed files
with
828 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,169 @@ | ||
/** | ||
* Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved. | ||
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.") | ||
* | ||
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0. | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* | ||
* See the License for the specific language governing permissions and limitations under the License. | ||
* | ||
* Okta API | ||
* Allows customers to easily access the Okta API | ||
* | ||
* OpenAPI spec version: 2.10.0 | ||
* Contact: devex-public@okta.com | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { RequestArgs, BaseAPI } from '../base'; | ||
import { ProfileMapping } from '../models'; | ||
import { Http } from '../../http'; | ||
import { Collection } from '../../collection'; | ||
import type { V2Configuration } from '../../configuration'; | ||
import type { Configuration } from '../configuration'; | ||
/** | ||
* ProfileMappingApi - request parameter creator | ||
* @export | ||
*/ | ||
export declare const ProfileMappingApiRequestParamCreator: (configuration?: Configuration & V2Configuration) => { | ||
http: Http; | ||
/** | ||
* Fetches a single Profile Mapping referenced by its ID. | ||
* @summary Get Profile Mapping | ||
* @param {string} mappingId | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
getProfileMapping: (mappingId: string, options?: any) => RequestArgs; | ||
/** | ||
* Enumerates Profile Mappings in your organization with pagination. | ||
* @summary List Profile Mappings | ||
* @param {string} [after] | ||
* @param {number} [limit] | ||
* @param {string} [sourceId] | ||
* @param {string} [targetId] | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
listProfileMappings: (after?: string, limit?: number, sourceId?: string, targetId?: string, options?: any) => RequestArgs; | ||
/** | ||
* Updates an existing Profile Mapping by adding, updating, or removing one or many Property Mappings. | ||
* @summary Update Profile Mapping | ||
* @param {ProfileMapping} body | ||
* @param {string} mappingId | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
updateProfileMapping: (body: ProfileMapping, mappingId: string, options?: any) => RequestArgs; | ||
}; | ||
/** | ||
* ProfileMappingApi - functional programming interface | ||
* @export | ||
*/ | ||
export declare const ProfileMappingApiFp: (configuration?: Configuration & V2Configuration) => { | ||
/** | ||
* Fetches a single Profile Mapping referenced by its ID. | ||
* @summary Get Profile Mapping | ||
* @param {string} mappingId | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
getProfileMapping(mappingId: string, options?: any): (http?: Http, basePath?: string) => Promise<ProfileMapping>; | ||
/** | ||
* Enumerates Profile Mappings in your organization with pagination. | ||
* @summary List Profile Mappings | ||
* @param {string} [after] | ||
* @param {number} [limit] | ||
* @param {string} [sourceId] | ||
* @param {string} [targetId] | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
listProfileMappings(after?: string, limit?: number, sourceId?: string, targetId?: string, options?: any): (http?: Http, basePath?: string) => Collection<ProfileMapping>; | ||
/** | ||
* Updates an existing Profile Mapping by adding, updating, or removing one or many Property Mappings. | ||
* @summary Update Profile Mapping | ||
* @param {ProfileMapping} body | ||
* @param {string} mappingId | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
updateProfileMapping(body: ProfileMapping, mappingId: string, options?: any): (http?: Http, basePath?: string) => Promise<ProfileMapping>; | ||
}; | ||
/** | ||
* ProfileMappingApi - factory interface | ||
* @export | ||
*/ | ||
export declare const ProfileMappingApiFactory: (configuration?: Configuration, basePath?: string, http?: Http) => { | ||
/** | ||
* Fetches a single Profile Mapping referenced by its ID. | ||
* @summary Get Profile Mapping | ||
* @param {string} mappingId | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
getProfileMapping(mappingId: string, options?: any): Promise<ProfileMapping>; | ||
/** | ||
* Enumerates Profile Mappings in your organization with pagination. | ||
* @summary List Profile Mappings | ||
* @param {string} [after] | ||
* @param {number} [limit] | ||
* @param {string} [sourceId] | ||
* @param {string} [targetId] | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
listProfileMappings(after?: string, limit?: number, sourceId?: string, targetId?: string, options?: any): Collection<ProfileMapping>; | ||
/** | ||
* Updates an existing Profile Mapping by adding, updating, or removing one or many Property Mappings. | ||
* @summary Update Profile Mapping | ||
* @param {ProfileMapping} body | ||
* @param {string} mappingId | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
updateProfileMapping(body: ProfileMapping, mappingId: string, options?: any): Promise<ProfileMapping>; | ||
}; | ||
/** | ||
* ProfileMappingApi - object-oriented interface | ||
* @export | ||
* @class ProfileMappingApi | ||
* @extends {BaseAPI} | ||
*/ | ||
export declare class ProfileMappingApi extends BaseAPI { | ||
/** | ||
* Fetches a single Profile Mapping referenced by its ID. | ||
* @summary Get Profile Mapping | ||
* @param {string} mappingId | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
* @memberof ProfileMappingApi | ||
*/ | ||
getProfileMapping(mappingId: string, options?: any): Promise<ProfileMapping>; | ||
/** | ||
* Enumerates Profile Mappings in your organization with pagination. | ||
* @summary List Profile Mappings | ||
* @param {string} [after] | ||
* @param {number} [limit] | ||
* @param {string} [sourceId] | ||
* @param {string} [targetId] | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
* @memberof ProfileMappingApi | ||
*/ | ||
listProfileMappings(after?: string, limit?: number, sourceId?: string, targetId?: string, options?: any): Collection<ProfileMapping>; | ||
/** | ||
* Updates an existing Profile Mapping by adding, updating, or removing one or many Property Mappings. | ||
* @summary Update Profile Mapping | ||
* @param {ProfileMapping} body | ||
* @param {string} mappingId | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
* @memberof ProfileMappingApi | ||
*/ | ||
updateProfileMapping(body: ProfileMapping, mappingId: string, options?: any): Promise<ProfileMapping>; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
src/types/v3/models/profile-mapping-property-push-status.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/** | ||
* Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved. | ||
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.") | ||
* | ||
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0. | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* | ||
* See the License for the specific language governing permissions and limitations under the License. | ||
* | ||
* Okta API | ||
* Allows customers to easily access the Okta API | ||
* | ||
* OpenAPI spec version: 2.10.0 | ||
* Contact: devex-public@okta.com | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
/** | ||
* | ||
* @export | ||
* @enum {string} | ||
*/ | ||
export declare enum ProfileMappingPropertyPushStatus { | ||
PUSH = 'PUSH', | ||
DONTPUSH = 'DONT_PUSH' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/** | ||
* Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved. | ||
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.") | ||
* | ||
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0. | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* | ||
* See the License for the specific language governing permissions and limitations under the License. | ||
* | ||
* Okta API | ||
* Allows customers to easily access the Okta API | ||
* | ||
* OpenAPI spec version: 2.10.0 | ||
* Contact: devex-public@okta.com | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
import { ProfileMappingPropertyPushStatus } from './profile-mapping-property-push-status'; | ||
/** | ||
* | ||
* @export | ||
* @class ProfileMappingProperty | ||
*/ | ||
export interface ProfileMappingProperty { | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof ProfileMappingProperty | ||
*/ | ||
expression?: string; | ||
/** | ||
* | ||
* @type {ProfileMappingPropertyPushStatus} | ||
* @memberof ProfileMappingProperty | ||
*/ | ||
pushStatus?: ProfileMappingPropertyPushStatus; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
/** | ||
* Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved. | ||
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.") | ||
* | ||
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0. | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* | ||
* See the License for the specific language governing permissions and limitations under the License. | ||
* | ||
* Okta API | ||
* Allows customers to easily access the Okta API | ||
* | ||
* OpenAPI spec version: 2.10.0 | ||
* Contact: devex-public@okta.com | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
/** | ||
* | ||
* @export | ||
* @class ProfileMappingSource | ||
*/ | ||
export interface ProfileMappingSource { | ||
/** | ||
* | ||
* @type {{ [key: string]: any; }} | ||
* @memberof ProfileMappingSource | ||
*/ | ||
links?: { | ||
[key: string]: any; | ||
}; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof ProfileMappingSource | ||
*/ | ||
id?: string; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof ProfileMappingSource | ||
*/ | ||
name?: string; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof ProfileMappingSource | ||
*/ | ||
type?: string; | ||
} |
Oops, something went wrong.