@sailpoint/api-client 2.2.49 → 2.2.50
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/dist/esm/machine_identities_lifecycle_actions/api.js +5 -5
- package/dist/esm/machine_identities_lifecycle_actions/base.js +1 -1
- package/dist/esm/machine_identities_lifecycle_actions/common.js +1 -1
- package/dist/esm/machine_identities_lifecycle_actions/configuration.js +1 -1
- package/dist/esm/machine_identities_lifecycle_actions/index.js +1 -1
- package/dist/esm/nerm/common.js +2 -2
- package/dist/esm/nermv2025/common.js +2 -2
- package/dist/esm/workflows/api.js +33 -7
- package/dist/machine_identities_lifecycle_actions/api.d.ts +5 -5
- package/dist/machine_identities_lifecycle_actions/api.js +5 -5
- package/dist/machine_identities_lifecycle_actions/api.js.map +1 -1
- package/dist/machine_identities_lifecycle_actions/base.d.ts +1 -1
- package/dist/machine_identities_lifecycle_actions/base.js +1 -1
- package/dist/machine_identities_lifecycle_actions/base.js.map +1 -1
- package/dist/machine_identities_lifecycle_actions/common.d.ts +1 -1
- package/dist/machine_identities_lifecycle_actions/common.js +1 -1
- package/dist/machine_identities_lifecycle_actions/common.js.map +1 -1
- package/dist/machine_identities_lifecycle_actions/configuration.d.ts +1 -1
- package/dist/machine_identities_lifecycle_actions/configuration.js +1 -1
- package/dist/machine_identities_lifecycle_actions/configuration.js.map +1 -1
- package/dist/machine_identities_lifecycle_actions/index.d.ts +1 -1
- package/dist/machine_identities_lifecycle_actions/index.js +1 -1
- package/dist/machine_identities_lifecycle_actions/index.js.map +1 -1
- package/dist/nerm/common.js +2 -2
- package/dist/nerm/common.js.map +1 -1
- package/dist/nermv2025/common.js +2 -2
- package/dist/nermv2025/common.js.map +1 -1
- package/dist/workflows/api.d.ts +62 -4
- package/dist/workflows/api.js +34 -8
- package/dist/workflows/api.js.map +1 -1
- package/package.json +1 -1
- package/sailpoint-scopes.json +9 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"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AC,MAAM,EAAE,iBAAiB,CAAC,KAAK,EAAE,iBAAiB,CAAC,sBAAsB,EAAE,YAAY,CAAC,CAAC,IAAI,CAAC,UAAC,OAAO,IAAK,OAAA,OAAO,CAAC,KAAI,CAAC,KAAK,EAAE,KAAI,CAAC,QAAQ,CAAC,EAAlC,CAAkC,CAAC,CAAC;IAC1V,CAAC;IAED;;;;;;;OAOG;IACI,mFAAsC,GAA7C,UAA8C,iBAAkG,EAAE,YAAoC;QAAtL,iBAEC;QADG,OAAO,IAAA,4CAAoC,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC,sCAAsC,CAAC,iBAAiB,CAAC,EAAE,EAAE,iBAAiB,CAAC,4BAA4B,EAAE,iBAAiB,CAAC,sBAAsB,EAAE,YAAY,CAAC,CAAC,IAAI,CAAC,UAAC,OAAO,IAAK,OAAA,OAAO,CAAC,KAAI,CAAC,KAAK,EAAE,KAAI,CAAC,QAAQ,CAAC,EAAlC,CAAkC,CAAC,CAAC;IAC/R,CAAC;IACL,yCAAC;AAAD,CAAC,AAhDD,CAAwD,cAAO,GAgD9D;AAhDY,gFAAkC","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * SailPoint Identity Security API - Machine Identity Lifecycle Actions\n * Use these APIs to submit, list, retrieve, and cancel machine identity lifecycle actions (for example agent activate and deactivate). We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs.\n *\n * The version of the OpenAPI document: v1\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nimport type { Configuration } from '../configuration';\nimport type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';\nimport globalAxios from 'axios';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';\nimport type { RequestArgs } from './base';\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';\n\n/**\n * Optional cancel metadata. The path `requestId`.\n * @export\n * @interface CancelLifecycleActionRequest\n */\nexport interface CancelLifecycleActionRequest {\n /**\n * Optional cancel comment appended to the lifecycle request comment thread.\n * @type {string}\n * @memberof CancelLifecycleActionRequest\n */\n 'comment'?: string;\n}\n/**\n * \n * @export\n * @interface CancelLifecycleActionResponse\n */\nexport interface CancelLifecycleActionResponse {\n /**\n * Lifecycle request identifier.\n * @type {string}\n * @memberof CancelLifecycleActionResponse\n */\n 'requestId': string;\n /**\n * Updated lifecycle request status after cancel acceptance.\n * @type {string}\n * @memberof CancelLifecycleActionResponse\n */\n 'status': string;\n /**\n * \n * @type {Lifecycleaction}\n * @memberof CancelLifecycleActionResponse\n */\n 'action': Lifecycleaction;\n /**\n * Internal machine identity UUID for the lifecycle target.\n * @type {string}\n * @memberof CancelLifecycleActionResponse\n */\n 'targetId': string;\n /**\n * Connector resource id for the lifecycle target, when present.\n * @type {string}\n * @memberof CancelLifecycleActionResponse\n */\n 'resourceId'?: string;\n}\n\n\n/**\n * \n * @export\n * @interface ErrorMessageDto\n */\nexport interface ErrorMessageDto {\n /**\n * The locale for the message text, a BCP 47 language tag.\n * @type {string}\n * @memberof ErrorMessageDto\n */\n 'locale'?: string | null;\n /**\n * \n * @type {LocaleOrigin}\n * @memberof ErrorMessageDto\n */\n 'localeOrigin'?: LocaleOrigin | null;\n /**\n * Actual text of the error message in the indicated locale.\n * @type {string}\n * @memberof ErrorMessageDto\n */\n 'text'?: string;\n}\n\n\n/**\n * \n * @export\n * @interface ErrorResponseDto\n */\nexport interface ErrorResponseDto {\n /**\n * Fine-grained error code providing more detail of the error.\n * @type {string}\n * @memberof ErrorResponseDto\n */\n 'detailCode'?: string;\n /**\n * Unique tracking id for the error.\n * @type {string}\n * @memberof ErrorResponseDto\n */\n 'trackingId'?: string;\n /**\n * Generic localized reason for error\n * @type {Array<ErrorMessageDto>}\n * @memberof ErrorResponseDto\n */\n 'messages'?: Array<ErrorMessageDto>;\n /**\n * Plain-text descriptive reasons to provide additional detail to the text provided in the messages field\n * @type {Array<ErrorMessageDto>}\n * @memberof ErrorResponseDto\n */\n 'causes'?: Array<ErrorMessageDto>;\n}\n/**\n * \n * @export\n * @interface LifecycleActionRequest\n */\nexport interface LifecycleActionRequest {\n /**\n * Lifecycle request identifier.\n * @type {string}\n * @memberof LifecycleActionRequest\n */\n 'id'?: string;\n /**\n * Tenant identifier for the lifecycle request.\n * @type {string}\n * @memberof LifecycleActionRequest\n */\n 'tenantId'?: string;\n /**\n * Generic request status type discriminator.\n * @type {string}\n * @memberof LifecycleActionRequest\n */\n 'statusType'?: string;\n /**\n * Identity id of the principal that submitted the request.\n * @type {string}\n * @memberof LifecycleActionRequest\n */\n 'requestedBy'?: string;\n /**\n * Resource type targeted by the lifecycle request.\n * @type {string}\n * @memberof LifecycleActionRequest\n */\n 'targetType'?: LifecycleActionRequestTargetTypeEnum;\n /**\n * Internal machine identity UUID for the lifecycle target.\n * @type {string}\n * @memberof LifecycleActionRequest\n */\n 'targetId'?: string;\n /**\n * \n * @type {Lifecycleaction}\n * @memberof LifecycleActionRequest\n */\n 'operationType'?: Lifecycleaction;\n /**\n * Temporal workflow identifier for the lifecycle request.\n * @type {string}\n * @memberof LifecycleActionRequest\n */\n 'workflowId'?: string;\n /**\n * Indicates whether the lifecycle request has reached a terminal state.\n * @type {boolean}\n * @memberof LifecycleActionRequest\n */\n 'completed'?: boolean;\n /**\n * \n * @type {LifecycleActionRequestDetails}\n * @memberof LifecycleActionRequest\n */\n 'details'?: LifecycleActionRequestDetails;\n /**\n * Time when the lifecycle request was created (ISO-8601).\n * @type {string}\n * @memberof LifecycleActionRequest\n */\n 'created'?: string;\n /**\n * Time when the lifecycle request was last modified (ISO-8601).\n * @type {string}\n * @memberof LifecycleActionRequest\n */\n 'modified'?: string;\n}\n\nexport const LifecycleActionRequestTargetTypeEnum = {\n AiAgent: 'AI_AGENT'\n} as const;\n\nexport type LifecycleActionRequestTargetTypeEnum = typeof LifecycleActionRequestTargetTypeEnum[keyof typeof LifecycleActionRequestTargetTypeEnum];\n\n/**\n * Nested lifecycle execution context stored on the lifecycle request.\n * @export\n * @interface LifecycleActionRequestDetails\n */\nexport interface LifecycleActionRequestDetails {\n /**\n * \n * @type {Lifecyclestatus}\n * @memberof LifecycleActionRequestDetails\n */\n 'status'?: Lifecyclestatus;\n /**\n * \n * @type {Lifecycleaction}\n * @memberof LifecycleActionRequestDetails\n */\n 'action'?: Lifecycleaction;\n /**\n * \n * @type {LifecycleApproverReference}\n * @memberof LifecycleActionRequestDetails\n */\n 'approver'?: LifecycleApproverReference;\n /**\n * Time when the request was approved (ISO-8601).\n * @type {string}\n * @memberof LifecycleActionRequestDetails\n */\n 'approvedAt'?: string;\n /**\n * \n * @type {LifecycleRequesterReference}\n * @memberof LifecycleActionRequestDetails\n */\n 'canceller'?: LifecycleRequesterReference;\n /**\n * Time when the request was canceled (ISO-8601).\n * @type {string}\n * @memberof LifecycleActionRequestDetails\n */\n 'canceledAt'?: string;\n /**\n * Comment provided when the request was canceled.\n * @type {string}\n * @memberof LifecycleActionRequestDetails\n */\n 'cancelComment'?: string;\n /**\n * Append-only comment thread for the lifecycle request.\n * @type {Array<LifecycleComment>}\n * @memberof LifecycleActionRequestDetails\n */\n 'comments'?: Array<LifecycleComment>;\n /**\n * Workflow phase where the request failed, when applicable.\n * @type {string}\n * @memberof LifecycleActionRequestDetails\n */\n 'failurePhase'?: string;\n /**\n * Failure reason for the lifecycle request, when applicable.\n * @type {string}\n * @memberof LifecycleActionRequestDetails\n */\n 'failureReason'?: string;\n /**\n * \n * @type {LifecycleResourceSummary}\n * @memberof LifecycleActionRequestDetails\n */\n 'resource'?: LifecycleResourceSummary;\n /**\n * Cached resource owners for the lifecycle target.\n * @type {Array<LifecycleOwnerReference>}\n * @memberof LifecycleActionRequestDetails\n */\n 'resourceOwners'?: Array<LifecycleOwnerReference>;\n /**\n * \n * @type {LifecycleOwnerReference}\n * @memberof LifecycleActionRequestDetails\n */\n 'sourceOwner'?: LifecycleOwnerReference;\n /**\n * \n * @type {LifecycleRequesterReference}\n * @memberof LifecycleActionRequestDetails\n */\n 'requester'?: LifecycleRequesterReference;\n /**\n * Approvals identifier when the request was submitted.\n * @type {string}\n * @memberof LifecycleActionRequestDetails\n */\n 'approvalRequestId'?: string;\n /**\n * Approval settings identifier used for the request.\n * @type {string}\n * @memberof LifecycleActionRequestDetails\n */\n 'approvalSettingsId'?: string;\n /**\n * \n * @type {LifecycleProvisioning}\n * @memberof LifecycleActionRequestDetails\n */\n 'provisioning'?: LifecycleProvisioning;\n}\n\n\n/**\n * \n * @export\n * @interface LifecycleActionSubmitComment\n */\nexport interface LifecycleActionSubmitComment {\n /**\n * Free-text comment submitted with the lifecycle action request.\n * @type {string}\n * @memberof LifecycleActionSubmitComment\n */\n 'comment': string;\n}\n/**\n * \n * @export\n * @interface LifecycleActionSubmitRequest\n */\nexport interface LifecycleActionSubmitRequest {\n /**\n * \n * @type {Lifecycleaction}\n * @memberof LifecycleActionSubmitRequest\n */\n 'action': Lifecycleaction;\n /**\n * Optional submit-time comments. At most 10 comments are allowed per request; each comment must be non-empty and at most 1000 characters.\n * @type {Array<LifecycleActionSubmitComment>}\n * @memberof LifecycleActionSubmitRequest\n */\n 'comments'?: Array<LifecycleActionSubmitComment>;\n}\n\n\n/**\n * \n * @export\n * @interface LifecycleActionSubmitResponse\n */\nexport interface LifecycleActionSubmitResponse {\n /**\n * Unique identifier for the created lifecycle request.\n * @type {string}\n * @memberof LifecycleActionSubmitResponse\n */\n 'requestId': string;\n /**\n * Initial lifecycle request status.\n * @type {string}\n * @memberof LifecycleActionSubmitResponse\n */\n 'status': string;\n /**\n * \n * @type {Lifecycleaction}\n * @memberof LifecycleActionSubmitResponse\n */\n 'action': Lifecycleaction;\n /**\n * Internal machine identity UUID for the lifecycle target.\n * @type {string}\n * @memberof LifecycleActionSubmitResponse\n */\n 'targetId': string;\n /**\n * Connector resource id for the lifecycle target, when present.\n * @type {string}\n * @memberof LifecycleActionSubmitResponse\n */\n 'resourceId'?: string;\n /**\n * Time when the lifecycle request was created (ISO-8601).\n * @type {string}\n * @memberof LifecycleActionSubmitResponse\n */\n 'createdAt': string;\n}\n\n\n/**\n * \n * @export\n * @interface LifecycleApproverReference\n */\nexport interface LifecycleApproverReference {\n /**\n * Approver reference type.\n * @type {string}\n * @memberof LifecycleApproverReference\n */\n 'type'?: string;\n /**\n * Identifier of the approver.\n * @type {string}\n * @memberof LifecycleApproverReference\n */\n 'id'?: string;\n /**\n * Display name of the approver.\n * @type {string}\n * @memberof LifecycleApproverReference\n */\n 'name'?: string;\n}\n/**\n * \n * @export\n * @interface LifecycleComment\n */\nexport interface LifecycleComment {\n /**\n * Server-assigned comment identifier.\n * @type {string}\n * @memberof LifecycleComment\n */\n 'commentId'?: string;\n /**\n * \n * @type {LifecycleCommentAuthorReference}\n * @memberof LifecycleComment\n */\n 'author'?: LifecycleCommentAuthorReference;\n /**\n * Free-text comment body.\n * @type {string}\n * @memberof LifecycleComment\n */\n 'comment'?: string;\n /**\n * Time when the comment was created (ISO-8601).\n * @type {string}\n * @memberof LifecycleComment\n */\n 'createdAt'?: string;\n}\n/**\n * \n * @export\n * @interface LifecycleCommentAuthorReference\n */\nexport interface LifecycleCommentAuthorReference {\n /**\n * Author category for the comment.\n * @type {string}\n * @memberof LifecycleCommentAuthorReference\n */\n 'type'?: LifecycleCommentAuthorReferenceTypeEnum;\n /**\n * Identifier of the comment author.\n * @type {string}\n * @memberof LifecycleCommentAuthorReference\n */\n 'id'?: string;\n /**\n * Display name of the comment author.\n * @type {string}\n * @memberof LifecycleCommentAuthorReference\n */\n 'name'?: string;\n}\n\nexport const LifecycleCommentAuthorReferenceTypeEnum = {\n Identity: 'IDENTITY',\n Workgroup: 'WORKGROUP',\n ApiToken: 'API_TOKEN',\n System: 'SYSTEM'\n} as const;\n\nexport type LifecycleCommentAuthorReferenceTypeEnum = typeof LifecycleCommentAuthorReferenceTypeEnum[keyof typeof LifecycleCommentAuthorReferenceTypeEnum];\n\n/**\n * \n * @export\n * @interface LifecycleOwnerReference\n */\nexport interface LifecycleOwnerReference {\n /**\n * Owner reference type.\n * @type {string}\n * @memberof LifecycleOwnerReference\n */\n 'type'?: LifecycleOwnerReferenceTypeEnum;\n /**\n * Identifier of the owner.\n * @type {string}\n * @memberof LifecycleOwnerReference\n */\n 'id'?: string;\n /**\n * Display name of the owner.\n * @type {string}\n * @memberof LifecycleOwnerReference\n */\n 'name'?: string;\n}\n\nexport const LifecycleOwnerReferenceTypeEnum = {\n Identity: 'IDENTITY',\n Workgroup: 'WORKGROUP'\n} as const;\n\nexport type LifecycleOwnerReferenceTypeEnum = typeof LifecycleOwnerReferenceTypeEnum[keyof typeof LifecycleOwnerReferenceTypeEnum];\n\n/**\n * Provisioning execution window for the lifecycle request.\n * @export\n * @interface LifecycleProvisioning\n */\nexport interface LifecycleProvisioning {\n /**\n * \n * @type {Lifecycleprovisioningstatus}\n * @memberof LifecycleProvisioning\n */\n 'status'?: Lifecycleprovisioningstatus;\n /**\n * Time when provisioning started (ISO-8601).\n * @type {string}\n * @memberof LifecycleProvisioning\n */\n 'started'?: string;\n /**\n * Time when provisioning ended (ISO-8601).\n * @type {string}\n * @memberof LifecycleProvisioning\n */\n 'ended'?: string;\n}\n\n\n/**\n * \n * @export\n * @interface LifecycleRequesterReference\n */\nexport interface LifecycleRequesterReference {\n /**\n * Requester reference type.\n * @type {string}\n * @memberof LifecycleRequesterReference\n */\n 'type'?: string;\n /**\n * Identifier of the requester.\n * @type {string}\n * @memberof LifecycleRequesterReference\n */\n 'id'?: string;\n /**\n * Display name of the requester.\n * @type {string}\n * @memberof LifecycleRequesterReference\n */\n 'name'?: string;\n}\n/**\n * Cached resource context for the lifecycle target.\n * @export\n * @interface LifecycleResourceSummary\n */\nexport interface LifecycleResourceSummary {\n /**\n * Internal machine identity UUID for the lifecycle target.\n * @type {string}\n * @memberof LifecycleResourceSummary\n */\n 'id'?: string;\n /**\n * Connector resource id for the lifecycle target.\n * @type {string}\n * @memberof LifecycleResourceSummary\n */\n 'resourceId'?: string;\n /**\n * Display name of the lifecycle target.\n * @type {string}\n * @memberof LifecycleResourceSummary\n */\n 'name'?: string;\n /**\n * Source identifier for the lifecycle target.\n * @type {string}\n * @memberof LifecycleResourceSummary\n */\n 'sourceId'?: string;\n /**\n * Source name for the lifecycle target.\n * @type {string}\n * @memberof LifecycleResourceSummary\n */\n 'sourceName'?: string;\n /**\n * Machine identity subtype for the lifecycle target.\n * @type {string}\n * @memberof LifecycleResourceSummary\n */\n 'subtype'?: string;\n}\n/**\n * Lifecycle action requested against a machine identity.\n * @export\n * @enum {string}\n */\n\nexport const Lifecycleaction = {\n Deactivate: 'DEACTIVATE',\n Activate: 'ACTIVATE'\n} as const;\n\nexport type Lifecycleaction = typeof Lifecycleaction[keyof typeof Lifecycleaction];\n\n\n/**\n * Provisioning execution status for the downstream workflow window.\n * @export\n * @enum {string}\n */\n\nexport const Lifecycleprovisioningstatus = {\n NotStarted: 'NOT_STARTED',\n InProgress: 'IN_PROGRESS',\n Completed: 'COMPLETED',\n Failed: 'FAILED'\n} as const;\n\nexport type Lifecycleprovisioningstatus = typeof Lifecycleprovisioningstatus[keyof typeof Lifecycleprovisioningstatus];\n\n\n/**\n * Detailed lifecycle request status stored on the lifecycle action request.\n * @export\n * @enum {string}\n */\n\nexport const Lifecyclestatus = {\n Received: 'RECEIVED',\n PendingApproval: 'PENDING_APPROVAL',\n Approved: 'APPROVED',\n Rejected: 'REJECTED',\n Provisioning: 'PROVISIONING',\n Completed: 'COMPLETED',\n Failed: 'FAILED',\n Canceling: 'CANCELING',\n Canceled: 'CANCELED'\n} as const;\n\nexport type Lifecyclestatus = typeof Lifecyclestatus[keyof typeof Lifecyclestatus];\n\n\n/**\n * An indicator of how the locale was selected. *DEFAULT* means the locale is the system default. *REQUEST* means the locale was selected from the request context (i.e., best match based on the *Accept-Language* header). Additional values may be added in the future without notice.\n * @export\n * @enum {string}\n */\n\nexport const LocaleOrigin = {\n Default: 'DEFAULT',\n Request: 'REQUEST'\n} as const;\n\nexport type LocaleOrigin = typeof LocaleOrigin[keyof typeof LocaleOrigin];\n\n\n/**\n * \n * @export\n * @interface SubmitMachineIdentityLifecycleActionV1401Response\n */\nexport interface SubmitMachineIdentityLifecycleActionV1401Response {\n /**\n * A message describing the error\n * @type {any}\n * @memberof SubmitMachineIdentityLifecycleActionV1401Response\n */\n 'error'?: any;\n}\n/**\n * \n * @export\n * @interface SubmitMachineIdentityLifecycleActionV1429Response\n */\nexport interface SubmitMachineIdentityLifecycleActionV1429Response {\n /**\n * A message describing the error\n * @type {any}\n * @memberof SubmitMachineIdentityLifecycleActionV1429Response\n */\n 'message'?: any;\n}\n\n/**\n * MachineIdentityLifecycleActionsApi - axios parameter creator\n * @export\n */\nexport const MachineIdentityLifecycleActionsApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * Attempts to cancel a lifecycle request before provisioning starts. The path `requestId` is authoritative for lookup and authorization. The request body is optional and may carry cancel metadata such as `comment`. Any `requestId` value in the body is ignored. Workflow cancel signaling is attempted before the request is persisted as `CANCELING`. If signaling fails, the service returns **503** (`DOWNSTREAM_SERVICE_UNAVAILABLE`, cause `workflow-signal-failed`) and the lifecycle request status is unchanged. Invalid cancel states are returned as **400** (`INVALID_REQUEST_IN_CURRENT_STATE` variants). Cancel authorization matches https://developer.sailpoint.com/docs/api/get-machine-identity-lifecycle-action-v-1: the original submitter is always allowed; otherwise callers must have the `idn:machine-identity-lifecycle-action:manage` scope **and** target role-context access. **403 Forbidden** - `FORBIDDEN.lifecycle-request-access-denied` - caller is not the submitter and lacks both the `idn:machine-identity-lifecycle-action:manage` scope and target role-context. - `FORBIDDEN.unsupported-type` - the persisted lifecycle row is not scoped to `AI_AGENT`. **404 Not Found** - `NOT_FOUND.detailed` - unknown `requestId`, or persisted `targetType`/target-identity subtype mismatch. \n * @summary Cancel lifecycle action\n * @param {string} requestId Lifecycle request identifier.\n * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.\n * @param {CancelLifecycleActionRequest} [cancelLifecycleActionRequest] \n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n cancelMachineIdentityLifecycleActionV1: async (requestId: string, xSailPointExperimental?: string, cancelLifecycleActionRequest?: CancelLifecycleActionRequest, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'requestId' is not null or undefined\n assertParamExists('cancelMachineIdentityLifecycleActionV1', 'requestId', requestId)\n if (xSailPointExperimental === undefined) {\n xSailPointExperimental = 'true';\n }\n \n const localVarPath = `/machine-identities/v1/lifecycle-actions/{requestId}/cancel`\n .replace(`{${\"requestId\"}}`, encodeURIComponent(String(requestId)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n localVarHeaderParameter['Content-Type'] = 'application/json';\n\n if (xSailPointExperimental != null) {\n localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);\n }\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};\n localVarRequestOptions.data = serializeDataIfNeeded(cancelLifecycleActionRequest, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n axiosOptions: localVarRequestOptions,\n };\n },\n /**\n * Returns one lifecycle request snapshot by `requestId`. Used for request-level inspection, including cancel acceptance and subsequent status changes. The original requester is always allowed to read their request. Otherwise, callers must have the `idn:machine-identity-lifecycle-action:manage` scope **and** role-context access to the target machine identity (organization admin, source admin, scoped source sub-admin, or effective owner). **403 Forbidden** - `FORBIDDEN.lifecycle-request-access-denied` - caller is not the submitter and lacks both the `idn:machine-identity-lifecycle-action:manage` scope and target role-context (response includes `requestId` as a parameter). - `FORBIDDEN.unsupported-type` - the persisted lifecycle row is not scoped to `AI_AGENT` (`targetType` on read-by-request-id paths). **404 Not Found** - `NOT_FOUND.detailed` - unknown `requestId`, or persisted `targetType` does not match the target machine identity\\'s subtype-to-resource-type mapping. \n * @summary Get lifecycle action by requestId\n * @param {string} requestId Lifecycle request identifier.\n * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n getMachineIdentityLifecycleActionV1: async (requestId: string, xSailPointExperimental?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'requestId' is not null or undefined\n assertParamExists('getMachineIdentityLifecycleActionV1', 'requestId', requestId)\n if (xSailPointExperimental === undefined) {\n xSailPointExperimental = 'true';\n }\n \n const localVarPath = `/machine-identities/v1/lifecycle-actions/{requestId}`\n .replace(`{${\"requestId\"}}`, encodeURIComponent(String(requestId)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n if (xSailPointExperimental != null) {\n localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);\n }\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n axiosOptions: localVarRequestOptions,\n };\n },\n /**\n * Lists lifecycle requests visible to the requester identity in the current request context. Results are automatically scoped to the calling identity. If requester identity context is missing, an empty list is returned. When `limit` is omitted, this endpoint applies a default limit of 50. \n * @summary List lifecycle actions\n * @param {string} [filters] Filter results using the standard syntax described in [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **resourceType**: *eq, in* **operationType**: *eq, in* **status**: *eq, in* **completed**: *eq* **targetId**: *eq* **targetName**: *eq, sw* **sourceId**: *eq* **created**: *gt, ge, lt, le*\n * @param {string} [sorters] Sort results using the standard syntax described in [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **created, modified, status** Default sort is **-created** (newest first).\n * @param {number} [limit] Max number of results to return. When omitted, the default limit is 50. The maximum allowed limit is 250. See [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.\n * @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.\n * @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.\n * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n listMachineIdentityLifecycleActionsV1: async (filters?: string, sorters?: string, limit?: number, offset?: number, count?: boolean, xSailPointExperimental?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n if (xSailPointExperimental === undefined) {\n xSailPointExperimental = 'true';\n }\n \n const localVarPath = `/machine-identities/v1/lifecycle-actions`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n if (filters !== undefined) {\n localVarQueryParameter['filters'] = filters;\n }\n\n if (sorters !== undefined) {\n localVarQueryParameter['sorters'] = sorters;\n }\n\n if (limit !== undefined) {\n localVarQueryParameter['limit'] = limit;\n }\n\n if (offset !== undefined) {\n localVarQueryParameter['offset'] = offset;\n }\n\n if (count !== undefined) {\n localVarQueryParameter['count'] = count;\n }\n\n\n \n if (xSailPointExperimental != null) {\n localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);\n }\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n axiosOptions: localVarRequestOptions,\n };\n },\n /**\n * Creates a lifecycle request for the target machine identity and returns the created lifecycle snapshot. The response includes the generated `requestId`, which is used by https://developer.sailpoint.com/docs/api/list-machine-identity-lifecycle-actions-v-1, https://developer.sailpoint.com/docs/api/get-machine-identity-lifecycle-action-v-1, and https://developer.sailpoint.com/docs/api/cancel-machine-identity-lifecycle-action-v-1 Authorization is enforced in the service layer. Callers must have the `idn:machine-identity-lifecycle-action:manage` scope or role-context access to the target machine identity (organization admin, source admin, scoped source sub-admin, or effective owner). Supported actions are `DEACTIVATE`, `ACTIVATE`. \n * @summary Submit machine identity lifecycle action\n * @param {string} id Machine identity ID.\n * @param {LifecycleActionSubmitRequest} lifecycleActionSubmitRequest \n * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n submitMachineIdentityLifecycleActionV1: async (id: string, lifecycleActionSubmitRequest: LifecycleActionSubmitRequest, xSailPointExperimental?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('submitMachineIdentityLifecycleActionV1', 'id', id)\n // verify required parameter 'lifecycleActionSubmitRequest' is not null or undefined\n assertParamExists('submitMachineIdentityLifecycleActionV1', 'lifecycleActionSubmitRequest', lifecycleActionSubmitRequest)\n if (xSailPointExperimental === undefined) {\n xSailPointExperimental = 'true';\n }\n \n const localVarPath = `/machine-identities/v1/{id}/lifecycle-actions`\n .replace(`{${\"id\"}}`, encodeURIComponent(String(id)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n localVarHeaderParameter['Content-Type'] = 'application/json';\n\n if (xSailPointExperimental != null) {\n localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);\n }\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};\n localVarRequestOptions.data = serializeDataIfNeeded(lifecycleActionSubmitRequest, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n axiosOptions: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * MachineIdentityLifecycleActionsApi - functional programming interface\n * @export\n */\nexport const MachineIdentityLifecycleActionsApiFp = function(configuration?: Configuration) {\n const localVarAxiosParamCreator = MachineIdentityLifecycleActionsApiAxiosParamCreator(configuration)\n return {\n /**\n * Attempts to cancel a lifecycle request before provisioning starts. The path `requestId` is authoritative for lookup and authorization. The request body is optional and may carry cancel metadata such as `comment`. Any `requestId` value in the body is ignored. Workflow cancel signaling is attempted before the request is persisted as `CANCELING`. If signaling fails, the service returns **503** (`DOWNSTREAM_SERVICE_UNAVAILABLE`, cause `workflow-signal-failed`) and the lifecycle request status is unchanged. Invalid cancel states are returned as **400** (`INVALID_REQUEST_IN_CURRENT_STATE` variants). Cancel authorization matches https://developer.sailpoint.com/docs/api/get-machine-identity-lifecycle-action-v-1: the original submitter is always allowed; otherwise callers must have the `idn:machine-identity-lifecycle-action:manage` scope **and** target role-context access. **403 Forbidden** - `FORBIDDEN.lifecycle-request-access-denied` - caller is not the submitter and lacks both the `idn:machine-identity-lifecycle-action:manage` scope and target role-context. - `FORBIDDEN.unsupported-type` - the persisted lifecycle row is not scoped to `AI_AGENT`. **404 Not Found** - `NOT_FOUND.detailed` - unknown `requestId`, or persisted `targetType`/target-identity subtype mismatch. \n * @summary Cancel lifecycle action\n * @param {string} requestId Lifecycle request identifier.\n * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.\n * @param {CancelLifecycleActionRequest} [cancelLifecycleActionRequest] \n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n async cancelMachineIdentityLifecycleActionV1(requestId: string, xSailPointExperimental?: string, cancelLifecycleActionRequest?: CancelLifecycleActionRequest, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CancelLifecycleActionResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.cancelMachineIdentityLifecycleActionV1(requestId, xSailPointExperimental, cancelLifecycleActionRequest, axiosOptions);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['MachineIdentityLifecycleActionsApi.cancelMachineIdentityLifecycleActionV1']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Returns one lifecycle request snapshot by `requestId`. Used for request-level inspection, including cancel acceptance and subsequent status changes. The original requester is always allowed to read their request. Otherwise, callers must have the `idn:machine-identity-lifecycle-action:manage` scope **and** role-context access to the target machine identity (organization admin, source admin, scoped source sub-admin, or effective owner). **403 Forbidden** - `FORBIDDEN.lifecycle-request-access-denied` - caller is not the submitter and lacks both the `idn:machine-identity-lifecycle-action:manage` scope and target role-context (response includes `requestId` as a parameter). - `FORBIDDEN.unsupported-type` - the persisted lifecycle row is not scoped to `AI_AGENT` (`targetType` on read-by-request-id paths). **404 Not Found** - `NOT_FOUND.detailed` - unknown `requestId`, or persisted `targetType` does not match the target machine identity\\'s subtype-to-resource-type mapping. \n * @summary Get lifecycle action by requestId\n * @param {string} requestId Lifecycle request identifier.\n * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n async getMachineIdentityLifecycleActionV1(requestId: string, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LifecycleActionRequest>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.getMachineIdentityLifecycleActionV1(requestId, xSailPointExperimental, axiosOptions);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['MachineIdentityLifecycleActionsApi.getMachineIdentityLifecycleActionV1']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Lists lifecycle requests visible to the requester identity in the current request context. Results are automatically scoped to the calling identity. If requester identity context is missing, an empty list is returned. When `limit` is omitted, this endpoint applies a default limit of 50. \n * @summary List lifecycle actions\n * @param {string} [filters] Filter results using the standard syntax described in [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **resourceType**: *eq, in* **operationType**: *eq, in* **status**: *eq, in* **completed**: *eq* **targetId**: *eq* **targetName**: *eq, sw* **sourceId**: *eq* **created**: *gt, ge, lt, le*\n * @param {string} [sorters] Sort results using the standard syntax described in [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **created, modified, status** Default sort is **-created** (newest first).\n * @param {number} [limit] Max number of results to return. When omitted, the default limit is 50. The maximum allowed limit is 250. See [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.\n * @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.\n * @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.\n * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n async listMachineIdentityLifecycleActionsV1(filters?: string, sorters?: string, limit?: number, offset?: number, count?: boolean, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<LifecycleActionRequest>>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.listMachineIdentityLifecycleActionsV1(filters, sorters, limit, offset, count, xSailPointExperimental, axiosOptions);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['MachineIdentityLifecycleActionsApi.listMachineIdentityLifecycleActionsV1']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Creates a lifecycle request for the target machine identity and returns the created lifecycle snapshot. The response includes the generated `requestId`, which is used by https://developer.sailpoint.com/docs/api/list-machine-identity-lifecycle-actions-v-1, https://developer.sailpoint.com/docs/api/get-machine-identity-lifecycle-action-v-1, and https://developer.sailpoint.com/docs/api/cancel-machine-identity-lifecycle-action-v-1 Authorization is enforced in the service layer. Callers must have the `idn:machine-identity-lifecycle-action:manage` scope or role-context access to the target machine identity (organization admin, source admin, scoped source sub-admin, or effective owner). Supported actions are `DEACTIVATE`, `ACTIVATE`. \n * @summary Submit machine identity lifecycle action\n * @param {string} id Machine identity ID.\n * @param {LifecycleActionSubmitRequest} lifecycleActionSubmitRequest \n * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n async submitMachineIdentityLifecycleActionV1(id: string, lifecycleActionSubmitRequest: LifecycleActionSubmitRequest, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LifecycleActionSubmitResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.submitMachineIdentityLifecycleActionV1(id, lifecycleActionSubmitRequest, xSailPointExperimental, axiosOptions);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['MachineIdentityLifecycleActionsApi.submitMachineIdentityLifecycleActionV1']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n }\n};\n\n/**\n * MachineIdentityLifecycleActionsApi - factory interface\n * @export\n */\nexport const MachineIdentityLifecycleActionsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n const localVarFp = MachineIdentityLifecycleActionsApiFp(configuration)\n return {\n /**\n * Attempts to cancel a lifecycle request before provisioning starts. The path `requestId` is authoritative for lookup and authorization. The request body is optional and may carry cancel metadata such as `comment`. Any `requestId` value in the body is ignored. Workflow cancel signaling is attempted before the request is persisted as `CANCELING`. If signaling fails, the service returns **503** (`DOWNSTREAM_SERVICE_UNAVAILABLE`, cause `workflow-signal-failed`) and the lifecycle request status is unchanged. Invalid cancel states are returned as **400** (`INVALID_REQUEST_IN_CURRENT_STATE` variants). Cancel authorization matches https://developer.sailpoint.com/docs/api/get-machine-identity-lifecycle-action-v-1: the original submitter is always allowed; otherwise callers must have the `idn:machine-identity-lifecycle-action:manage` scope **and** target role-context access. **403 Forbidden** - `FORBIDDEN.lifecycle-request-access-denied` - caller is not the submitter and lacks both the `idn:machine-identity-lifecycle-action:manage` scope and target role-context. - `FORBIDDEN.unsupported-type` - the persisted lifecycle row is not scoped to `AI_AGENT`. **404 Not Found** - `NOT_FOUND.detailed` - unknown `requestId`, or persisted `targetType`/target-identity subtype mismatch. \n * @summary Cancel lifecycle action\n * @param {MachineIdentityLifecycleActionsApiCancelMachineIdentityLifecycleActionV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n cancelMachineIdentityLifecycleActionV1(requestParameters: MachineIdentityLifecycleActionsApiCancelMachineIdentityLifecycleActionV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<CancelLifecycleActionResponse> {\n return localVarFp.cancelMachineIdentityLifecycleActionV1(requestParameters.requestId, requestParameters.xSailPointExperimental, requestParameters.cancelLifecycleActionRequest, axiosOptions).then((request) => request(axios, basePath));\n },\n /**\n * Returns one lifecycle request snapshot by `requestId`. Used for request-level inspection, including cancel acceptance and subsequent status changes. The original requester is always allowed to read their request. Otherwise, callers must have the `idn:machine-identity-lifecycle-action:manage` scope **and** role-context access to the target machine identity (organization admin, source admin, scoped source sub-admin, or effective owner). **403 Forbidden** - `FORBIDDEN.lifecycle-request-access-denied` - caller is not the submitter and lacks both the `idn:machine-identity-lifecycle-action:manage` scope and target role-context (response includes `requestId` as a parameter). - `FORBIDDEN.unsupported-type` - the persisted lifecycle row is not scoped to `AI_AGENT` (`targetType` on read-by-request-id paths). **404 Not Found** - `NOT_FOUND.detailed` - unknown `requestId`, or persisted `targetType` does not match the target machine identity\\'s subtype-to-resource-type mapping. \n * @summary Get lifecycle action by requestId\n * @param {MachineIdentityLifecycleActionsApiGetMachineIdentityLifecycleActionV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n getMachineIdentityLifecycleActionV1(requestParameters: MachineIdentityLifecycleActionsApiGetMachineIdentityLifecycleActionV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<LifecycleActionRequest> {\n return localVarFp.getMachineIdentityLifecycleActionV1(requestParameters.requestId, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));\n },\n /**\n * Lists lifecycle requests visible to the requester identity in the current request context. Results are automatically scoped to the calling identity. If requester identity context is missing, an empty list is returned. When `limit` is omitted, this endpoint applies a default limit of 50. \n * @summary List lifecycle actions\n * @param {MachineIdentityLifecycleActionsApiListMachineIdentityLifecycleActionsV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n listMachineIdentityLifecycleActionsV1(requestParameters: MachineIdentityLifecycleActionsApiListMachineIdentityLifecycleActionsV1Request = {}, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<LifecycleActionRequest>> {\n return localVarFp.listMachineIdentityLifecycleActionsV1(requestParameters.filters, requestParameters.sorters, requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));\n },\n /**\n * Creates a lifecycle request for the target machine identity and returns the created lifecycle snapshot. The response includes the generated `requestId`, which is used by https://developer.sailpoint.com/docs/api/list-machine-identity-lifecycle-actions-v-1, https://developer.sailpoint.com/docs/api/get-machine-identity-lifecycle-action-v-1, and https://developer.sailpoint.com/docs/api/cancel-machine-identity-lifecycle-action-v-1 Authorization is enforced in the service layer. Callers must have the `idn:machine-identity-lifecycle-action:manage` scope or role-context access to the target machine identity (organization admin, source admin, scoped source sub-admin, or effective owner). Supported actions are `DEACTIVATE`, `ACTIVATE`. \n * @summary Submit machine identity lifecycle action\n * @param {MachineIdentityLifecycleActionsApiSubmitMachineIdentityLifecycleActionV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n submitMachineIdentityLifecycleActionV1(requestParameters: MachineIdentityLifecycleActionsApiSubmitMachineIdentityLifecycleActionV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<LifecycleActionSubmitResponse> {\n return localVarFp.submitMachineIdentityLifecycleActionV1(requestParameters.id, requestParameters.lifecycleActionSubmitRequest, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * Request parameters for cancelMachineIdentityLifecycleActionV1 operation in MachineIdentityLifecycleActionsApi.\n * @export\n * @interface MachineIdentityLifecycleActionsApiCancelMachineIdentityLifecycleActionV1Request\n */\nexport interface MachineIdentityLifecycleActionsApiCancelMachineIdentityLifecycleActionV1Request {\n /**\n * Lifecycle request identifier.\n * @type {string}\n * @memberof MachineIdentityLifecycleActionsApiCancelMachineIdentityLifecycleActionV1\n */\n readonly requestId: string\n\n /**\n * Use this header to enable this experimental API.\n * @type {string}\n * @memberof MachineIdentityLifecycleActionsApiCancelMachineIdentityLifecycleActionV1\n */\n readonly xSailPointExperimental?: string\n\n /**\n * \n * @type {CancelLifecycleActionRequest}\n * @memberof MachineIdentityLifecycleActionsApiCancelMachineIdentityLifecycleActionV1\n */\n readonly cancelLifecycleActionRequest?: CancelLifecycleActionRequest\n}\n\n/**\n * Request parameters for getMachineIdentityLifecycleActionV1 operation in MachineIdentityLifecycleActionsApi.\n * @export\n * @interface MachineIdentityLifecycleActionsApiGetMachineIdentityLifecycleActionV1Request\n */\nexport interface MachineIdentityLifecycleActionsApiGetMachineIdentityLifecycleActionV1Request {\n /**\n * Lifecycle request identifier.\n * @type {string}\n * @memberof MachineIdentityLifecycleActionsApiGetMachineIdentityLifecycleActionV1\n */\n readonly requestId: string\n\n /**\n * Use this header to enable this experimental API.\n * @type {string}\n * @memberof MachineIdentityLifecycleActionsApiGetMachineIdentityLifecycleActionV1\n */\n readonly xSailPointExperimental?: string\n}\n\n/**\n * Request parameters for listMachineIdentityLifecycleActionsV1 operation in MachineIdentityLifecycleActionsApi.\n * @export\n * @interface MachineIdentityLifecycleActionsApiListMachineIdentityLifecycleActionsV1Request\n */\nexport interface MachineIdentityLifecycleActionsApiListMachineIdentityLifecycleActionsV1Request {\n /**\n * Filter results using the standard syntax described in [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **resourceType**: *eq, in* **operationType**: *eq, in* **status**: *eq, in* **completed**: *eq* **targetId**: *eq* **targetName**: *eq, sw* **sourceId**: *eq* **created**: *gt, ge, lt, le*\n * @type {string}\n * @memberof MachineIdentityLifecycleActionsApiListMachineIdentityLifecycleActionsV1\n */\n readonly filters?: string\n\n /**\n * Sort results using the standard syntax described in [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **created, modified, status** Default sort is **-created** (newest first).\n * @type {string}\n * @memberof MachineIdentityLifecycleActionsApiListMachineIdentityLifecycleActionsV1\n */\n readonly sorters?: string\n\n /**\n * Max number of results to return. When omitted, the default limit is 50. The maximum allowed limit is 250. See [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.\n * @type {number}\n * @memberof MachineIdentityLifecycleActionsApiListMachineIdentityLifecycleActionsV1\n */\n readonly limit?: number\n\n /**\n * Offset into the full result set. Usually specified with *limit* to paginate through the results. See [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.\n * @type {number}\n * @memberof MachineIdentityLifecycleActionsApiListMachineIdentityLifecycleActionsV1\n */\n readonly offset?: number\n\n /**\n * If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.\n * @type {boolean}\n * @memberof MachineIdentityLifecycleActionsApiListMachineIdentityLifecycleActionsV1\n */\n readonly count?: boolean\n\n /**\n * Use this header to enable this experimental API.\n * @type {string}\n * @memberof MachineIdentityLifecycleActionsApiListMachineIdentityLifecycleActionsV1\n */\n readonly xSailPointExperimental?: string\n}\n\n/**\n * Request parameters for submitMachineIdentityLifecycleActionV1 operation in MachineIdentityLifecycleActionsApi.\n * @export\n * @interface MachineIdentityLifecycleActionsApiSubmitMachineIdentityLifecycleActionV1Request\n */\nexport interface MachineIdentityLifecycleActionsApiSubmitMachineIdentityLifecycleActionV1Request {\n /**\n * Machine identity ID.\n * @type {string}\n * @memberof MachineIdentityLifecycleActionsApiSubmitMachineIdentityLifecycleActionV1\n */\n readonly id: string\n\n /**\n * \n * @type {LifecycleActionSubmitRequest}\n * @memberof MachineIdentityLifecycleActionsApiSubmitMachineIdentityLifecycleActionV1\n */\n readonly lifecycleActionSubmitRequest: LifecycleActionSubmitRequest\n\n /**\n * Use this header to enable this experimental API.\n * @type {string}\n * @memberof MachineIdentityLifecycleActionsApiSubmitMachineIdentityLifecycleActionV1\n */\n readonly xSailPointExperimental?: string\n}\n\n/**\n * MachineIdentityLifecycleActionsApi - object-oriented interface\n * @export\n * @class MachineIdentityLifecycleActionsApi\n * @extends {BaseAPI}\n */\nexport class MachineIdentityLifecycleActionsApi extends BaseAPI {\n /**\n * Attempts to cancel a lifecycle request before provisioning starts. The path `requestId` is authoritative for lookup and authorization. The request body is optional and may carry cancel metadata such as `comment`. Any `requestId` value in the body is ignored. Workflow cancel signaling is attempted before the request is persisted as `CANCELING`. If signaling fails, the service returns **503** (`DOWNSTREAM_SERVICE_UNAVAILABLE`, cause `workflow-signal-failed`) and the lifecycle request status is unchanged. Invalid cancel states are returned as **400** (`INVALID_REQUEST_IN_CURRENT_STATE` variants). Cancel authorization matches https://developer.sailpoint.com/docs/api/get-machine-identity-lifecycle-action-v-1: the original submitter is always allowed; otherwise callers must have the `idn:machine-identity-lifecycle-action:manage` scope **and** target role-context access. **403 Forbidden** - `FORBIDDEN.lifecycle-request-access-denied` - caller is not the submitter and lacks both the `idn:machine-identity-lifecycle-action:manage` scope and target role-context. - `FORBIDDEN.unsupported-type` - the persisted lifecycle row is not scoped to `AI_AGENT`. **404 Not Found** - `NOT_FOUND.detailed` - unknown `requestId`, or persisted `targetType`/target-identity subtype mismatch. \n * @summary Cancel lifecycle action\n * @param {MachineIdentityLifecycleActionsApiCancelMachineIdentityLifecycleActionV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n * @memberof MachineIdentityLifecycleActionsApi\n */\n public cancelMachineIdentityLifecycleActionV1(requestParameters: MachineIdentityLifecycleActionsApiCancelMachineIdentityLifecycleActionV1Request, axiosOptions?: RawAxiosRequestConfig) {\n return MachineIdentityLifecycleActionsApiFp(this.configuration).cancelMachineIdentityLifecycleActionV1(requestParameters.requestId, requestParameters.xSailPointExperimental, requestParameters.cancelLifecycleActionRequest, axiosOptions).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Returns one lifecycle request snapshot by `requestId`. Used for request-level inspection, including cancel acceptance and subsequent status changes. The original requester is always allowed to read their request. Otherwise, callers must have the `idn:machine-identity-lifecycle-action:manage` scope **and** role-context access to the target machine identity (organization admin, source admin, scoped source sub-admin, or effective owner). **403 Forbidden** - `FORBIDDEN.lifecycle-request-access-denied` - caller is not the submitter and lacks both the `idn:machine-identity-lifecycle-action:manage` scope and target role-context (response includes `requestId` as a parameter). - `FORBIDDEN.unsupported-type` - the persisted lifecycle row is not scoped to `AI_AGENT` (`targetType` on read-by-request-id paths). **404 Not Found** - `NOT_FOUND.detailed` - unknown `requestId`, or persisted `targetType` does not match the target machine identity\\'s subtype-to-resource-type mapping. \n * @summary Get lifecycle action by requestId\n * @param {MachineIdentityLifecycleActionsApiGetMachineIdentityLifecycleActionV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n * @memberof MachineIdentityLifecycleActionsApi\n */\n public getMachineIdentityLifecycleActionV1(requestParameters: MachineIdentityLifecycleActionsApiGetMachineIdentityLifecycleActionV1Request, axiosOptions?: RawAxiosRequestConfig) {\n return MachineIdentityLifecycleActionsApiFp(this.configuration).getMachineIdentityLifecycleActionV1(requestParameters.requestId, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Lists lifecycle requests visible to the requester identity in the current request context. Results are automatically scoped to the calling identity. If requester identity context is missing, an empty list is returned. When `limit` is omitted, this endpoint applies a default limit of 50. \n * @summary List lifecycle actions\n * @param {MachineIdentityLifecycleActionsApiListMachineIdentityLifecycleActionsV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n * @memberof MachineIdentityLifecycleActionsApi\n */\n public listMachineIdentityLifecycleActionsV1(requestParameters: MachineIdentityLifecycleActionsApiListMachineIdentityLifecycleActionsV1Request = {}, axiosOptions?: RawAxiosRequestConfig) {\n return MachineIdentityLifecycleActionsApiFp(this.configuration).listMachineIdentityLifecycleActionsV1(requestParameters.filters, requestParameters.sorters, requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Creates a lifecycle request for the target machine identity and returns the created lifecycle snapshot. The response includes the generated `requestId`, which is used by https://developer.sailpoint.com/docs/api/list-machine-identity-lifecycle-actions-v-1, https://developer.sailpoint.com/docs/api/get-machine-identity-lifecycle-action-v-1, and https://developer.sailpoint.com/docs/api/cancel-machine-identity-lifecycle-action-v-1 Authorization is enforced in the service layer. Callers must have the `idn:machine-identity-lifecycle-action:manage` scope or role-context access to the target machine identity (organization admin, source admin, scoped source sub-admin, or effective owner). Supported actions are `DEACTIVATE`, `ACTIVATE`. \n * @summary Submit machine identity lifecycle action\n * @param {MachineIdentityLifecycleActionsApiSubmitMachineIdentityLifecycleActionV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n * @memberof MachineIdentityLifecycleActionsApi\n */\n public submitMachineIdentityLifecycleActionV1(requestParameters: MachineIdentityLifecycleActionsApiSubmitMachineIdentityLifecycleActionV1Request, axiosOptions?: RawAxiosRequestConfig) {\n return MachineIdentityLifecycleActionsApiFp(this.configuration).submitMachineIdentityLifecycleActionV1(requestParameters.id, requestParameters.lifecycleActionSubmitRequest, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(this.axios, this.basePath));\n }\n}\n\n\n\n"]}
|
|
1
|
+
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../machine_identities_lifecycle_actions/api.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKH,gDAAgC;AAChC,yDAAyD;AACzD,aAAa;AACb,mCAA4N;AAE5N,aAAa;AACb,+BAAmG;AAgMtF,QAAA,oCAAoC,GAAG;IAChD,OAAO,EAAE,UAAU;CACb,CAAC;AAoRE,QAAA,uCAAuC,GAAG;IACnD,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,WAAW;IACtB,QAAQ,EAAE,WAAW;IACrB,MAAM,EAAE,QAAQ;CACV,CAAC;AA8BE,QAAA,+BAA+B,GAAG;IAC3C,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,WAAW;CAChB,CAAC;AAmGX;;;;GAIG;AAEU,QAAA,eAAe,GAAG;IAC3B,UAAU,EAAE,YAAY;IACxB,QAAQ,EAAE,UAAU;CACd,CAAC;AAKX;;;;GAIG;AAEU,QAAA,2BAA2B,GAAG;IACvC,UAAU,EAAE,aAAa;IACzB,UAAU,EAAE,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identity Lifecycle Actions\n * Use these APIs to submit, list, retrieve, and cancel machine identity lifecycle actions (currently activate and deactivate for Agent machine identities only). We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs.\n *\n * The version of the OpenAPI document: v1\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nimport type { Configuration } from '../configuration';\nimport type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';\nimport globalAxios from 'axios';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';\nimport type { RequestArgs } from './base';\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';\n\n/**\n * Optional cancel metadata. The path `requestId`.\n * @export\n * @interface CancelLifecycleActionRequest\n */\nexport interface CancelLifecycleActionRequest {\n /**\n * Optional cancel comment appended to the lifecycle request comment thread.\n * @type {string}\n * @memberof CancelLifecycleActionRequest\n */\n 'comment'?: string;\n}\n/**\n * \n * @export\n * @interface CancelLifecycleActionResponse\n */\nexport interface CancelLifecycleActionResponse {\n /**\n * Lifecycle request identifier.\n * @type {string}\n * @memberof CancelLifecycleActionResponse\n */\n 'requestId': string;\n /**\n * Updated lifecycle request status after cancel acceptance.\n * @type {string}\n * @memberof CancelLifecycleActionResponse\n */\n 'status': string;\n /**\n * \n * @type {Lifecycleaction}\n * @memberof CancelLifecycleActionResponse\n */\n 'action': Lifecycleaction;\n /**\n * Internal machine identity UUID for the lifecycle target.\n * @type {string}\n * @memberof CancelLifecycleActionResponse\n */\n 'targetId': string;\n /**\n * Connector resource id for the lifecycle target, when present.\n * @type {string}\n * @memberof CancelLifecycleActionResponse\n */\n 'resourceId'?: string;\n}\n\n\n/**\n * \n * @export\n * @interface ErrorMessageDto\n */\nexport interface ErrorMessageDto {\n /**\n * The locale for the message text, a BCP 47 language tag.\n * @type {string}\n * @memberof ErrorMessageDto\n */\n 'locale'?: string | null;\n /**\n * \n * @type {LocaleOrigin}\n * @memberof ErrorMessageDto\n */\n 'localeOrigin'?: LocaleOrigin | null;\n /**\n * Actual text of the error message in the indicated locale.\n * @type {string}\n * @memberof ErrorMessageDto\n */\n 'text'?: string;\n}\n\n\n/**\n * \n * @export\n * @interface ErrorResponseDto\n */\nexport interface ErrorResponseDto {\n /**\n * Fine-grained error code providing more detail of the error.\n * @type {string}\n * @memberof ErrorResponseDto\n */\n 'detailCode'?: string;\n /**\n * Unique tracking id for the error.\n * @type {string}\n * @memberof ErrorResponseDto\n */\n 'trackingId'?: string;\n /**\n * Generic localized reason for error\n * @type {Array<ErrorMessageDto>}\n * @memberof ErrorResponseDto\n */\n 'messages'?: Array<ErrorMessageDto>;\n /**\n * Plain-text descriptive reasons to provide additional detail to the text provided in the messages field\n * @type {Array<ErrorMessageDto>}\n * @memberof ErrorResponseDto\n */\n 'causes'?: Array<ErrorMessageDto>;\n}\n/**\n * \n * @export\n * @interface LifecycleActionRequest\n */\nexport interface LifecycleActionRequest {\n /**\n * Lifecycle request identifier.\n * @type {string}\n * @memberof LifecycleActionRequest\n */\n 'id'?: string;\n /**\n * Tenant identifier for the lifecycle request.\n * @type {string}\n * @memberof LifecycleActionRequest\n */\n 'tenantId'?: string;\n /**\n * Generic request status type discriminator.\n * @type {string}\n * @memberof LifecycleActionRequest\n */\n 'statusType'?: string;\n /**\n * Identity id of the principal that submitted the request.\n * @type {string}\n * @memberof LifecycleActionRequest\n */\n 'requestedBy'?: string;\n /**\n * Resource type targeted by the lifecycle request.\n * @type {string}\n * @memberof LifecycleActionRequest\n */\n 'targetType'?: LifecycleActionRequestTargetTypeEnum;\n /**\n * Internal machine identity UUID for the lifecycle target.\n * @type {string}\n * @memberof LifecycleActionRequest\n */\n 'targetId'?: string;\n /**\n * \n * @type {Lifecycleaction}\n * @memberof LifecycleActionRequest\n */\n 'operationType'?: Lifecycleaction;\n /**\n * Temporal workflow identifier for the lifecycle request.\n * @type {string}\n * @memberof LifecycleActionRequest\n */\n 'workflowId'?: string;\n /**\n * Indicates whether the lifecycle request has reached a terminal state.\n * @type {boolean}\n * @memberof LifecycleActionRequest\n */\n 'completed'?: boolean;\n /**\n * \n * @type {LifecycleActionRequestDetails}\n * @memberof LifecycleActionRequest\n */\n 'details'?: LifecycleActionRequestDetails;\n /**\n * Time when the lifecycle request was created (ISO-8601).\n * @type {string}\n * @memberof LifecycleActionRequest\n */\n 'created'?: string;\n /**\n * Time when the lifecycle request was last modified (ISO-8601).\n * @type {string}\n * @memberof LifecycleActionRequest\n */\n 'modified'?: string;\n}\n\nexport const LifecycleActionRequestTargetTypeEnum = {\n AiAgent: 'AI_AGENT'\n} as const;\n\nexport type LifecycleActionRequestTargetTypeEnum = typeof LifecycleActionRequestTargetTypeEnum[keyof typeof LifecycleActionRequestTargetTypeEnum];\n\n/**\n * Nested lifecycle execution context stored on the lifecycle request.\n * @export\n * @interface LifecycleActionRequestDetails\n */\nexport interface LifecycleActionRequestDetails {\n /**\n * \n * @type {Lifecyclestatus}\n * @memberof LifecycleActionRequestDetails\n */\n 'status'?: Lifecyclestatus;\n /**\n * \n * @type {Lifecycleaction}\n * @memberof LifecycleActionRequestDetails\n */\n 'action'?: Lifecycleaction;\n /**\n * \n * @type {LifecycleApproverReference}\n * @memberof LifecycleActionRequestDetails\n */\n 'approver'?: LifecycleApproverReference;\n /**\n * Time when the request was approved (ISO-8601).\n * @type {string}\n * @memberof LifecycleActionRequestDetails\n */\n 'approvedAt'?: string;\n /**\n * \n * @type {LifecycleRequesterReference}\n * @memberof LifecycleActionRequestDetails\n */\n 'canceller'?: LifecycleRequesterReference;\n /**\n * Time when the request was canceled (ISO-8601).\n * @type {string}\n * @memberof LifecycleActionRequestDetails\n */\n 'canceledAt'?: string;\n /**\n * Comment provided when the request was canceled.\n * @type {string}\n * @memberof LifecycleActionRequestDetails\n */\n 'cancelComment'?: string;\n /**\n * Append-only comment thread for the lifecycle request.\n * @type {Array<LifecycleComment>}\n * @memberof LifecycleActionRequestDetails\n */\n 'comments'?: Array<LifecycleComment>;\n /**\n * Workflow phase where the request failed, when applicable.\n * @type {string}\n * @memberof LifecycleActionRequestDetails\n */\n 'failurePhase'?: string;\n /**\n * Failure reason for the lifecycle request, when applicable.\n * @type {string}\n * @memberof LifecycleActionRequestDetails\n */\n 'failureReason'?: string;\n /**\n * \n * @type {LifecycleResourceSummary}\n * @memberof LifecycleActionRequestDetails\n */\n 'resource'?: LifecycleResourceSummary;\n /**\n * Cached resource owners for the lifecycle target.\n * @type {Array<LifecycleOwnerReference>}\n * @memberof LifecycleActionRequestDetails\n */\n 'resourceOwners'?: Array<LifecycleOwnerReference>;\n /**\n * \n * @type {LifecycleOwnerReference}\n * @memberof LifecycleActionRequestDetails\n */\n 'sourceOwner'?: LifecycleOwnerReference;\n /**\n * \n * @type {LifecycleRequesterReference}\n * @memberof LifecycleActionRequestDetails\n */\n 'requester'?: LifecycleRequesterReference;\n /**\n * Approvals identifier when the request was submitted.\n * @type {string}\n * @memberof LifecycleActionRequestDetails\n */\n 'approvalRequestId'?: string;\n /**\n * Approval settings identifier used for the request.\n * @type {string}\n * @memberof LifecycleActionRequestDetails\n */\n 'approvalSettingsId'?: string;\n /**\n * \n * @type {LifecycleProvisioning}\n * @memberof LifecycleActionRequestDetails\n */\n 'provisioning'?: LifecycleProvisioning;\n}\n\n\n/**\n * \n * @export\n * @interface LifecycleActionSubmitComment\n */\nexport interface LifecycleActionSubmitComment {\n /**\n * Free-text comment submitted with the lifecycle action request.\n * @type {string}\n * @memberof LifecycleActionSubmitComment\n */\n 'comment': string;\n}\n/**\n * \n * @export\n * @interface LifecycleActionSubmitRequest\n */\nexport interface LifecycleActionSubmitRequest {\n /**\n * \n * @type {Lifecycleaction}\n * @memberof LifecycleActionSubmitRequest\n */\n 'action': Lifecycleaction;\n /**\n * Optional submit-time comments. At most 10 comments are allowed per request; each comment must be non-empty and at most 1000 characters.\n * @type {Array<LifecycleActionSubmitComment>}\n * @memberof LifecycleActionSubmitRequest\n */\n 'comments'?: Array<LifecycleActionSubmitComment>;\n}\n\n\n/**\n * \n * @export\n * @interface LifecycleActionSubmitResponse\n */\nexport interface LifecycleActionSubmitResponse {\n /**\n * Unique identifier for the created lifecycle request.\n * @type {string}\n * @memberof LifecycleActionSubmitResponse\n */\n 'requestId': string;\n /**\n * Initial lifecycle request status.\n * @type {string}\n * @memberof LifecycleActionSubmitResponse\n */\n 'status': string;\n /**\n * \n * @type {Lifecycleaction}\n * @memberof LifecycleActionSubmitResponse\n */\n 'action': Lifecycleaction;\n /**\n * Internal machine identity UUID for the lifecycle target.\n * @type {string}\n * @memberof LifecycleActionSubmitResponse\n */\n 'targetId': string;\n /**\n * Connector resource id for the lifecycle target, when present.\n * @type {string}\n * @memberof LifecycleActionSubmitResponse\n */\n 'resourceId'?: string;\n /**\n * Time when the lifecycle request was created (ISO-8601).\n * @type {string}\n * @memberof LifecycleActionSubmitResponse\n */\n 'createdAt': string;\n}\n\n\n/**\n * \n * @export\n * @interface LifecycleApproverReference\n */\nexport interface LifecycleApproverReference {\n /**\n * Approver reference type.\n * @type {string}\n * @memberof LifecycleApproverReference\n */\n 'type'?: string;\n /**\n * Identifier of the approver.\n * @type {string}\n * @memberof LifecycleApproverReference\n */\n 'id'?: string;\n /**\n * Display name of the approver.\n * @type {string}\n * @memberof LifecycleApproverReference\n */\n 'name'?: string;\n}\n/**\n * \n * @export\n * @interface LifecycleComment\n */\nexport interface LifecycleComment {\n /**\n * Server-assigned comment identifier.\n * @type {string}\n * @memberof LifecycleComment\n */\n 'commentId'?: string;\n /**\n * \n * @type {LifecycleCommentAuthorReference}\n * @memberof LifecycleComment\n */\n 'author'?: LifecycleCommentAuthorReference;\n /**\n * Free-text comment body.\n * @type {string}\n * @memberof LifecycleComment\n */\n 'comment'?: string;\n /**\n * Time when the comment was created (ISO-8601).\n * @type {string}\n * @memberof LifecycleComment\n */\n 'createdAt'?: string;\n}\n/**\n * \n * @export\n * @interface LifecycleCommentAuthorReference\n */\nexport interface LifecycleCommentAuthorReference {\n /**\n * Author category for the comment.\n * @type {string}\n * @memberof LifecycleCommentAuthorReference\n */\n 'type'?: LifecycleCommentAuthorReferenceTypeEnum;\n /**\n * Identifier of the comment author.\n * @type {string}\n * @memberof LifecycleCommentAuthorReference\n */\n 'id'?: string;\n /**\n * Display name of the comment author.\n * @type {string}\n * @memberof LifecycleCommentAuthorReference\n */\n 'name'?: string;\n}\n\nexport const LifecycleCommentAuthorReferenceTypeEnum = {\n Identity: 'IDENTITY',\n Workgroup: 'WORKGROUP',\n ApiToken: 'API_TOKEN',\n System: 'SYSTEM'\n} as const;\n\nexport type LifecycleCommentAuthorReferenceTypeEnum = typeof LifecycleCommentAuthorReferenceTypeEnum[keyof typeof LifecycleCommentAuthorReferenceTypeEnum];\n\n/**\n * \n * @export\n * @interface LifecycleOwnerReference\n */\nexport interface LifecycleOwnerReference {\n /**\n * Owner reference type.\n * @type {string}\n * @memberof LifecycleOwnerReference\n */\n 'type'?: LifecycleOwnerReferenceTypeEnum;\n /**\n * Identifier of the owner.\n * @type {string}\n * @memberof LifecycleOwnerReference\n */\n 'id'?: string;\n /**\n * Display name of the owner.\n * @type {string}\n * @memberof LifecycleOwnerReference\n */\n 'name'?: string;\n}\n\nexport const LifecycleOwnerReferenceTypeEnum = {\n Identity: 'IDENTITY',\n Workgroup: 'WORKGROUP'\n} as const;\n\nexport type LifecycleOwnerReferenceTypeEnum = typeof LifecycleOwnerReferenceTypeEnum[keyof typeof LifecycleOwnerReferenceTypeEnum];\n\n/**\n * Provisioning execution window for the lifecycle request.\n * @export\n * @interface LifecycleProvisioning\n */\nexport interface LifecycleProvisioning {\n /**\n * \n * @type {Lifecycleprovisioningstatus}\n * @memberof LifecycleProvisioning\n */\n 'status'?: Lifecycleprovisioningstatus;\n /**\n * Time when provisioning started (ISO-8601).\n * @type {string}\n * @memberof LifecycleProvisioning\n */\n 'started'?: string;\n /**\n * Time when provisioning ended (ISO-8601).\n * @type {string}\n * @memberof LifecycleProvisioning\n */\n 'ended'?: string;\n}\n\n\n/**\n * \n * @export\n * @interface LifecycleRequesterReference\n */\nexport interface LifecycleRequesterReference {\n /**\n * Requester reference type.\n * @type {string}\n * @memberof LifecycleRequesterReference\n */\n 'type'?: string;\n /**\n * Identifier of the requester.\n * @type {string}\n * @memberof LifecycleRequesterReference\n */\n 'id'?: string;\n /**\n * Display name of the requester.\n * @type {string}\n * @memberof LifecycleRequesterReference\n */\n 'name'?: string;\n}\n/**\n * Cached resource context for the lifecycle target.\n * @export\n * @interface LifecycleResourceSummary\n */\nexport interface LifecycleResourceSummary {\n /**\n * Internal machine identity UUID for the lifecycle target.\n * @type {string}\n * @memberof LifecycleResourceSummary\n */\n 'id'?: string;\n /**\n * Connector resource id for the lifecycle target.\n * @type {string}\n * @memberof LifecycleResourceSummary\n */\n 'resourceId'?: string;\n /**\n * Display name of the lifecycle target.\n * @type {string}\n * @memberof LifecycleResourceSummary\n */\n 'name'?: string;\n /**\n * Source identifier for the lifecycle target.\n * @type {string}\n * @memberof LifecycleResourceSummary\n */\n 'sourceId'?: string;\n /**\n * Source name for the lifecycle target.\n * @type {string}\n * @memberof LifecycleResourceSummary\n */\n 'sourceName'?: string;\n /**\n * Machine identity subtype for the lifecycle target.\n * @type {string}\n * @memberof LifecycleResourceSummary\n */\n 'subtype'?: string;\n}\n/**\n * Lifecycle action requested against a machine identity.\n * @export\n * @enum {string}\n */\n\nexport const Lifecycleaction = {\n Deactivate: 'DEACTIVATE',\n Activate: 'ACTIVATE'\n} as const;\n\nexport type Lifecycleaction = typeof Lifecycleaction[keyof typeof Lifecycleaction];\n\n\n/**\n * Provisioning execution status for the downstream workflow window.\n * @export\n * @enum {string}\n */\n\nexport const Lifecycleprovisioningstatus = {\n NotStarted: 'NOT_STARTED',\n InProgress: 'IN_PROGRESS',\n Completed: 'COMPLETED',\n Failed: 'FAILED'\n} as const;\n\nexport type Lifecycleprovisioningstatus = typeof Lifecycleprovisioningstatus[keyof typeof Lifecycleprovisioningstatus];\n\n\n/**\n * Detailed lifecycle request status stored on the lifecycle action request.\n * @export\n * @enum {string}\n */\n\nexport const Lifecyclestatus = {\n Received: 'RECEIVED',\n PendingApproval: 'PENDING_APPROVAL',\n Approved: 'APPROVED',\n Rejected: 'REJECTED',\n Provisioning: 'PROVISIONING',\n Completed: 'COMPLETED',\n Failed: 'FAILED',\n Canceling: 'CANCELING',\n Canceled: 'CANCELED'\n} as const;\n\nexport type Lifecyclestatus = typeof Lifecyclestatus[keyof typeof Lifecyclestatus];\n\n\n/**\n * An indicator of how the locale was selected. *DEFAULT* means the locale is the system default. *REQUEST* means the locale was selected from the request context (i.e., best match based on the *Accept-Language* header). Additional values may be added in the future without notice.\n * @export\n * @enum {string}\n */\n\nexport const LocaleOrigin = {\n Default: 'DEFAULT',\n Request: 'REQUEST'\n} as const;\n\nexport type LocaleOrigin = typeof LocaleOrigin[keyof typeof LocaleOrigin];\n\n\n/**\n * \n * @export\n * @interface SubmitMachineIdentityLifecycleActionV1401Response\n */\nexport interface SubmitMachineIdentityLifecycleActionV1401Response {\n /**\n * A message describing the error\n * @type {any}\n * @memberof SubmitMachineIdentityLifecycleActionV1401Response\n */\n 'error'?: any;\n}\n/**\n * \n * @export\n * @interface SubmitMachineIdentityLifecycleActionV1429Response\n */\nexport interface SubmitMachineIdentityLifecycleActionV1429Response {\n /**\n * A message describing the error\n * @type {any}\n * @memberof SubmitMachineIdentityLifecycleActionV1429Response\n */\n 'message'?: any;\n}\n\n/**\n * MachineIdentityLifecycleActionsApi - axios parameter creator\n * @export\n */\nexport const MachineIdentityLifecycleActionsApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * Attempts to cancel a lifecycle request before provisioning starts. The path `requestId` is authoritative for lookup and authorization. The request body is optional and may carry cancel metadata such as `comment`. Any `requestId` value in the body is ignored. Workflow cancel signaling is attempted before the request is persisted as `CANCELING`. If signaling fails, the service returns **503** (`DOWNSTREAM_SERVICE_UNAVAILABLE`, cause `workflow-signal-failed`) and the lifecycle request status is unchanged. Invalid cancel states are returned as **400** (`INVALID_REQUEST_IN_CURRENT_STATE` variants). Cancel authorization matches https://developer.sailpoint.com/docs/api/get-machine-identity-lifecycle-action-v-1: the original submitter is always allowed; otherwise callers must have the `idn:machine-identity-lifecycle-action:manage` scope **and** target role-context access. **403 Forbidden** - `FORBIDDEN.lifecycle-request-access-denied` - caller is not the submitter and lacks both the `idn:machine-identity-lifecycle-action:manage` scope and target role-context. - `FORBIDDEN.unsupported-type` - the persisted lifecycle row is not scoped to `AI_AGENT`. **404 Not Found** - `NOT_FOUND.detailed` - unknown `requestId`, or persisted `targetType`/target-identity subtype mismatch. \n * @summary Cancel lifecycle action\n * @param {string} requestId Lifecycle request identifier.\n * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.\n * @param {CancelLifecycleActionRequest} [cancelLifecycleActionRequest] \n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n cancelMachineIdentityLifecycleActionV1: async (requestId: string, xSailPointExperimental?: string, cancelLifecycleActionRequest?: CancelLifecycleActionRequest, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'requestId' is not null or undefined\n assertParamExists('cancelMachineIdentityLifecycleActionV1', 'requestId', requestId)\n if (xSailPointExperimental === undefined) {\n xSailPointExperimental = 'true';\n }\n \n const localVarPath = `/machine-identities/v1/lifecycle-actions/{requestId}/cancel`\n .replace(`{${\"requestId\"}}`, encodeURIComponent(String(requestId)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n localVarHeaderParameter['Content-Type'] = 'application/json';\n\n if (xSailPointExperimental != null) {\n localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);\n }\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};\n localVarRequestOptions.data = serializeDataIfNeeded(cancelLifecycleActionRequest, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n axiosOptions: localVarRequestOptions,\n };\n },\n /**\n * Returns one lifecycle request snapshot by `requestId`. Used for request-level inspection, including cancel acceptance and subsequent status changes. The original requester is always allowed to read their request. Otherwise, callers must have the `idn:machine-identity-lifecycle-action:manage` scope **and** role-context access to the target machine identity (organization admin, source admin, scoped source sub-admin, or effective owner). **403 Forbidden** - `FORBIDDEN.lifecycle-request-access-denied` - caller is not the submitter and lacks both the `idn:machine-identity-lifecycle-action:manage` scope and target role-context (response includes `requestId` as a parameter). - `FORBIDDEN.unsupported-type` - the persisted lifecycle row is not scoped to `AI_AGENT` (`targetType` on read-by-request-id paths). **404 Not Found** - `NOT_FOUND.detailed` - unknown `requestId`, or persisted `targetType` does not match the target machine identity\\'s subtype-to-resource-type mapping. \n * @summary Get lifecycle action by requestId\n * @param {string} requestId Lifecycle request identifier.\n * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n getMachineIdentityLifecycleActionV1: async (requestId: string, xSailPointExperimental?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'requestId' is not null or undefined\n assertParamExists('getMachineIdentityLifecycleActionV1', 'requestId', requestId)\n if (xSailPointExperimental === undefined) {\n xSailPointExperimental = 'true';\n }\n \n const localVarPath = `/machine-identities/v1/lifecycle-actions/{requestId}`\n .replace(`{${\"requestId\"}}`, encodeURIComponent(String(requestId)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n if (xSailPointExperimental != null) {\n localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);\n }\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n axiosOptions: localVarRequestOptions,\n };\n },\n /**\n * Lists lifecycle requests visible to the requester identity in the current request context. Results are automatically scoped to the calling identity. If requester identity context is missing, an empty list is returned. When `limit` is omitted, this endpoint applies a default limit of 50. \n * @summary List lifecycle actions\n * @param {string} [filters] Filter results using the standard syntax described in [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **resourceType**: *eq, in* **operationType**: *eq, in* **status**: *eq, in* **completed**: *eq* **targetId**: *eq* **targetName**: *eq, sw* **sourceId**: *eq* **created**: *gt, ge, lt, le*\n * @param {string} [sorters] Sort results using the standard syntax described in [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **created, modified, status** Default sort is **-created** (newest first).\n * @param {number} [limit] Max number of results to return. When omitted, the default limit is 50. The maximum allowed limit is 250. See [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.\n * @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.\n * @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.\n * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n listMachineIdentityLifecycleActionsV1: async (filters?: string, sorters?: string, limit?: number, offset?: number, count?: boolean, xSailPointExperimental?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n if (xSailPointExperimental === undefined) {\n xSailPointExperimental = 'true';\n }\n \n const localVarPath = `/machine-identities/v1/lifecycle-actions`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n if (filters !== undefined) {\n localVarQueryParameter['filters'] = filters;\n }\n\n if (sorters !== undefined) {\n localVarQueryParameter['sorters'] = sorters;\n }\n\n if (limit !== undefined) {\n localVarQueryParameter['limit'] = limit;\n }\n\n if (offset !== undefined) {\n localVarQueryParameter['offset'] = offset;\n }\n\n if (count !== undefined) {\n localVarQueryParameter['count'] = count;\n }\n\n\n \n if (xSailPointExperimental != null) {\n localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);\n }\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n axiosOptions: localVarRequestOptions,\n };\n },\n /**\n * Creates a lifecycle request for the target machine identity and returns the created lifecycle snapshot. **Note:** Lifecycle actions are currently supported only for machine identities of type **Agent**. The response includes the generated `requestId`, which is used by https://developer.sailpoint.com/docs/api/list-machine-identity-lifecycle-actions-v-1, https://developer.sailpoint.com/docs/api/get-machine-identity-lifecycle-action-v-1, and https://developer.sailpoint.com/docs/api/cancel-machine-identity-lifecycle-action-v-1 Authorization is enforced in the service layer. Callers must have the `idn:machine-identity-lifecycle-action:manage` scope or role-context access to the target machine identity (organization admin, source admin, scoped source sub-admin, or effective owner). Supported actions are `DEACTIVATE`, `ACTIVATE`. \n * @summary Submit machine identity lifecycle action\n * @param {string} id Machine identity ID.\n * @param {LifecycleActionSubmitRequest} lifecycleActionSubmitRequest \n * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n submitMachineIdentityLifecycleActionV1: async (id: string, lifecycleActionSubmitRequest: LifecycleActionSubmitRequest, xSailPointExperimental?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('submitMachineIdentityLifecycleActionV1', 'id', id)\n // verify required parameter 'lifecycleActionSubmitRequest' is not null or undefined\n assertParamExists('submitMachineIdentityLifecycleActionV1', 'lifecycleActionSubmitRequest', lifecycleActionSubmitRequest)\n if (xSailPointExperimental === undefined) {\n xSailPointExperimental = 'true';\n }\n \n const localVarPath = `/machine-identities/v1/{id}/lifecycle-actions`\n .replace(`{${\"id\"}}`, encodeURIComponent(String(id)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n localVarHeaderParameter['Content-Type'] = 'application/json';\n\n if (xSailPointExperimental != null) {\n localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);\n }\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};\n localVarRequestOptions.data = serializeDataIfNeeded(lifecycleActionSubmitRequest, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n axiosOptions: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * MachineIdentityLifecycleActionsApi - functional programming interface\n * @export\n */\nexport const MachineIdentityLifecycleActionsApiFp = function(configuration?: Configuration) {\n const localVarAxiosParamCreator = MachineIdentityLifecycleActionsApiAxiosParamCreator(configuration)\n return {\n /**\n * Attempts to cancel a lifecycle request before provisioning starts. The path `requestId` is authoritative for lookup and authorization. The request body is optional and may carry cancel metadata such as `comment`. Any `requestId` value in the body is ignored. Workflow cancel signaling is attempted before the request is persisted as `CANCELING`. If signaling fails, the service returns **503** (`DOWNSTREAM_SERVICE_UNAVAILABLE`, cause `workflow-signal-failed`) and the lifecycle request status is unchanged. Invalid cancel states are returned as **400** (`INVALID_REQUEST_IN_CURRENT_STATE` variants). Cancel authorization matches https://developer.sailpoint.com/docs/api/get-machine-identity-lifecycle-action-v-1: the original submitter is always allowed; otherwise callers must have the `idn:machine-identity-lifecycle-action:manage` scope **and** target role-context access. **403 Forbidden** - `FORBIDDEN.lifecycle-request-access-denied` - caller is not the submitter and lacks both the `idn:machine-identity-lifecycle-action:manage` scope and target role-context. - `FORBIDDEN.unsupported-type` - the persisted lifecycle row is not scoped to `AI_AGENT`. **404 Not Found** - `NOT_FOUND.detailed` - unknown `requestId`, or persisted `targetType`/target-identity subtype mismatch. \n * @summary Cancel lifecycle action\n * @param {string} requestId Lifecycle request identifier.\n * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.\n * @param {CancelLifecycleActionRequest} [cancelLifecycleActionRequest] \n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n async cancelMachineIdentityLifecycleActionV1(requestId: string, xSailPointExperimental?: string, cancelLifecycleActionRequest?: CancelLifecycleActionRequest, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CancelLifecycleActionResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.cancelMachineIdentityLifecycleActionV1(requestId, xSailPointExperimental, cancelLifecycleActionRequest, axiosOptions);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['MachineIdentityLifecycleActionsApi.cancelMachineIdentityLifecycleActionV1']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Returns one lifecycle request snapshot by `requestId`. Used for request-level inspection, including cancel acceptance and subsequent status changes. The original requester is always allowed to read their request. Otherwise, callers must have the `idn:machine-identity-lifecycle-action:manage` scope **and** role-context access to the target machine identity (organization admin, source admin, scoped source sub-admin, or effective owner). **403 Forbidden** - `FORBIDDEN.lifecycle-request-access-denied` - caller is not the submitter and lacks both the `idn:machine-identity-lifecycle-action:manage` scope and target role-context (response includes `requestId` as a parameter). - `FORBIDDEN.unsupported-type` - the persisted lifecycle row is not scoped to `AI_AGENT` (`targetType` on read-by-request-id paths). **404 Not Found** - `NOT_FOUND.detailed` - unknown `requestId`, or persisted `targetType` does not match the target machine identity\\'s subtype-to-resource-type mapping. \n * @summary Get lifecycle action by requestId\n * @param {string} requestId Lifecycle request identifier.\n * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n async getMachineIdentityLifecycleActionV1(requestId: string, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LifecycleActionRequest>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.getMachineIdentityLifecycleActionV1(requestId, xSailPointExperimental, axiosOptions);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['MachineIdentityLifecycleActionsApi.getMachineIdentityLifecycleActionV1']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Lists lifecycle requests visible to the requester identity in the current request context. Results are automatically scoped to the calling identity. If requester identity context is missing, an empty list is returned. When `limit` is omitted, this endpoint applies a default limit of 50. \n * @summary List lifecycle actions\n * @param {string} [filters] Filter results using the standard syntax described in [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **resourceType**: *eq, in* **operationType**: *eq, in* **status**: *eq, in* **completed**: *eq* **targetId**: *eq* **targetName**: *eq, sw* **sourceId**: *eq* **created**: *gt, ge, lt, le*\n * @param {string} [sorters] Sort results using the standard syntax described in [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **created, modified, status** Default sort is **-created** (newest first).\n * @param {number} [limit] Max number of results to return. When omitted, the default limit is 50. The maximum allowed limit is 250. See [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.\n * @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.\n * @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.\n * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n async listMachineIdentityLifecycleActionsV1(filters?: string, sorters?: string, limit?: number, offset?: number, count?: boolean, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<LifecycleActionRequest>>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.listMachineIdentityLifecycleActionsV1(filters, sorters, limit, offset, count, xSailPointExperimental, axiosOptions);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['MachineIdentityLifecycleActionsApi.listMachineIdentityLifecycleActionsV1']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Creates a lifecycle request for the target machine identity and returns the created lifecycle snapshot. **Note:** Lifecycle actions are currently supported only for machine identities of type **Agent**. The response includes the generated `requestId`, which is used by https://developer.sailpoint.com/docs/api/list-machine-identity-lifecycle-actions-v-1, https://developer.sailpoint.com/docs/api/get-machine-identity-lifecycle-action-v-1, and https://developer.sailpoint.com/docs/api/cancel-machine-identity-lifecycle-action-v-1 Authorization is enforced in the service layer. Callers must have the `idn:machine-identity-lifecycle-action:manage` scope or role-context access to the target machine identity (organization admin, source admin, scoped source sub-admin, or effective owner). Supported actions are `DEACTIVATE`, `ACTIVATE`. \n * @summary Submit machine identity lifecycle action\n * @param {string} id Machine identity ID.\n * @param {LifecycleActionSubmitRequest} lifecycleActionSubmitRequest \n * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n async submitMachineIdentityLifecycleActionV1(id: string, lifecycleActionSubmitRequest: LifecycleActionSubmitRequest, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LifecycleActionSubmitResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.submitMachineIdentityLifecycleActionV1(id, lifecycleActionSubmitRequest, xSailPointExperimental, axiosOptions);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['MachineIdentityLifecycleActionsApi.submitMachineIdentityLifecycleActionV1']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n }\n};\n\n/**\n * MachineIdentityLifecycleActionsApi - factory interface\n * @export\n */\nexport const MachineIdentityLifecycleActionsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n const localVarFp = MachineIdentityLifecycleActionsApiFp(configuration)\n return {\n /**\n * Attempts to cancel a lifecycle request before provisioning starts. The path `requestId` is authoritative for lookup and authorization. The request body is optional and may carry cancel metadata such as `comment`. Any `requestId` value in the body is ignored. Workflow cancel signaling is attempted before the request is persisted as `CANCELING`. If signaling fails, the service returns **503** (`DOWNSTREAM_SERVICE_UNAVAILABLE`, cause `workflow-signal-failed`) and the lifecycle request status is unchanged. Invalid cancel states are returned as **400** (`INVALID_REQUEST_IN_CURRENT_STATE` variants). Cancel authorization matches https://developer.sailpoint.com/docs/api/get-machine-identity-lifecycle-action-v-1: the original submitter is always allowed; otherwise callers must have the `idn:machine-identity-lifecycle-action:manage` scope **and** target role-context access. **403 Forbidden** - `FORBIDDEN.lifecycle-request-access-denied` - caller is not the submitter and lacks both the `idn:machine-identity-lifecycle-action:manage` scope and target role-context. - `FORBIDDEN.unsupported-type` - the persisted lifecycle row is not scoped to `AI_AGENT`. **404 Not Found** - `NOT_FOUND.detailed` - unknown `requestId`, or persisted `targetType`/target-identity subtype mismatch. \n * @summary Cancel lifecycle action\n * @param {MachineIdentityLifecycleActionsApiCancelMachineIdentityLifecycleActionV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n cancelMachineIdentityLifecycleActionV1(requestParameters: MachineIdentityLifecycleActionsApiCancelMachineIdentityLifecycleActionV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<CancelLifecycleActionResponse> {\n return localVarFp.cancelMachineIdentityLifecycleActionV1(requestParameters.requestId, requestParameters.xSailPointExperimental, requestParameters.cancelLifecycleActionRequest, axiosOptions).then((request) => request(axios, basePath));\n },\n /**\n * Returns one lifecycle request snapshot by `requestId`. Used for request-level inspection, including cancel acceptance and subsequent status changes. The original requester is always allowed to read their request. Otherwise, callers must have the `idn:machine-identity-lifecycle-action:manage` scope **and** role-context access to the target machine identity (organization admin, source admin, scoped source sub-admin, or effective owner). **403 Forbidden** - `FORBIDDEN.lifecycle-request-access-denied` - caller is not the submitter and lacks both the `idn:machine-identity-lifecycle-action:manage` scope and target role-context (response includes `requestId` as a parameter). - `FORBIDDEN.unsupported-type` - the persisted lifecycle row is not scoped to `AI_AGENT` (`targetType` on read-by-request-id paths). **404 Not Found** - `NOT_FOUND.detailed` - unknown `requestId`, or persisted `targetType` does not match the target machine identity\\'s subtype-to-resource-type mapping. \n * @summary Get lifecycle action by requestId\n * @param {MachineIdentityLifecycleActionsApiGetMachineIdentityLifecycleActionV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n getMachineIdentityLifecycleActionV1(requestParameters: MachineIdentityLifecycleActionsApiGetMachineIdentityLifecycleActionV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<LifecycleActionRequest> {\n return localVarFp.getMachineIdentityLifecycleActionV1(requestParameters.requestId, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));\n },\n /**\n * Lists lifecycle requests visible to the requester identity in the current request context. Results are automatically scoped to the calling identity. If requester identity context is missing, an empty list is returned. When `limit` is omitted, this endpoint applies a default limit of 50. \n * @summary List lifecycle actions\n * @param {MachineIdentityLifecycleActionsApiListMachineIdentityLifecycleActionsV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n listMachineIdentityLifecycleActionsV1(requestParameters: MachineIdentityLifecycleActionsApiListMachineIdentityLifecycleActionsV1Request = {}, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<LifecycleActionRequest>> {\n return localVarFp.listMachineIdentityLifecycleActionsV1(requestParameters.filters, requestParameters.sorters, requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));\n },\n /**\n * Creates a lifecycle request for the target machine identity and returns the created lifecycle snapshot. **Note:** Lifecycle actions are currently supported only for machine identities of type **Agent**. The response includes the generated `requestId`, which is used by https://developer.sailpoint.com/docs/api/list-machine-identity-lifecycle-actions-v-1, https://developer.sailpoint.com/docs/api/get-machine-identity-lifecycle-action-v-1, and https://developer.sailpoint.com/docs/api/cancel-machine-identity-lifecycle-action-v-1 Authorization is enforced in the service layer. Callers must have the `idn:machine-identity-lifecycle-action:manage` scope or role-context access to the target machine identity (organization admin, source admin, scoped source sub-admin, or effective owner). Supported actions are `DEACTIVATE`, `ACTIVATE`. \n * @summary Submit machine identity lifecycle action\n * @param {MachineIdentityLifecycleActionsApiSubmitMachineIdentityLifecycleActionV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n submitMachineIdentityLifecycleActionV1(requestParameters: MachineIdentityLifecycleActionsApiSubmitMachineIdentityLifecycleActionV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<LifecycleActionSubmitResponse> {\n return localVarFp.submitMachineIdentityLifecycleActionV1(requestParameters.id, requestParameters.lifecycleActionSubmitRequest, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * Request parameters for cancelMachineIdentityLifecycleActionV1 operation in MachineIdentityLifecycleActionsApi.\n * @export\n * @interface MachineIdentityLifecycleActionsApiCancelMachineIdentityLifecycleActionV1Request\n */\nexport interface MachineIdentityLifecycleActionsApiCancelMachineIdentityLifecycleActionV1Request {\n /**\n * Lifecycle request identifier.\n * @type {string}\n * @memberof MachineIdentityLifecycleActionsApiCancelMachineIdentityLifecycleActionV1\n */\n readonly requestId: string\n\n /**\n * Use this header to enable this experimental API.\n * @type {string}\n * @memberof MachineIdentityLifecycleActionsApiCancelMachineIdentityLifecycleActionV1\n */\n readonly xSailPointExperimental?: string\n\n /**\n * \n * @type {CancelLifecycleActionRequest}\n * @memberof MachineIdentityLifecycleActionsApiCancelMachineIdentityLifecycleActionV1\n */\n readonly cancelLifecycleActionRequest?: CancelLifecycleActionRequest\n}\n\n/**\n * Request parameters for getMachineIdentityLifecycleActionV1 operation in MachineIdentityLifecycleActionsApi.\n * @export\n * @interface MachineIdentityLifecycleActionsApiGetMachineIdentityLifecycleActionV1Request\n */\nexport interface MachineIdentityLifecycleActionsApiGetMachineIdentityLifecycleActionV1Request {\n /**\n * Lifecycle request identifier.\n * @type {string}\n * @memberof MachineIdentityLifecycleActionsApiGetMachineIdentityLifecycleActionV1\n */\n readonly requestId: string\n\n /**\n * Use this header to enable this experimental API.\n * @type {string}\n * @memberof MachineIdentityLifecycleActionsApiGetMachineIdentityLifecycleActionV1\n */\n readonly xSailPointExperimental?: string\n}\n\n/**\n * Request parameters for listMachineIdentityLifecycleActionsV1 operation in MachineIdentityLifecycleActionsApi.\n * @export\n * @interface MachineIdentityLifecycleActionsApiListMachineIdentityLifecycleActionsV1Request\n */\nexport interface MachineIdentityLifecycleActionsApiListMachineIdentityLifecycleActionsV1Request {\n /**\n * Filter results using the standard syntax described in [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **resourceType**: *eq, in* **operationType**: *eq, in* **status**: *eq, in* **completed**: *eq* **targetId**: *eq* **targetName**: *eq, sw* **sourceId**: *eq* **created**: *gt, ge, lt, le*\n * @type {string}\n * @memberof MachineIdentityLifecycleActionsApiListMachineIdentityLifecycleActionsV1\n */\n readonly filters?: string\n\n /**\n * Sort results using the standard syntax described in [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **created, modified, status** Default sort is **-created** (newest first).\n * @type {string}\n * @memberof MachineIdentityLifecycleActionsApiListMachineIdentityLifecycleActionsV1\n */\n readonly sorters?: string\n\n /**\n * Max number of results to return. When omitted, the default limit is 50. The maximum allowed limit is 250. See [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.\n * @type {number}\n * @memberof MachineIdentityLifecycleActionsApiListMachineIdentityLifecycleActionsV1\n */\n readonly limit?: number\n\n /**\n * Offset into the full result set. Usually specified with *limit* to paginate through the results. See [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.\n * @type {number}\n * @memberof MachineIdentityLifecycleActionsApiListMachineIdentityLifecycleActionsV1\n */\n readonly offset?: number\n\n /**\n * If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.\n * @type {boolean}\n * @memberof MachineIdentityLifecycleActionsApiListMachineIdentityLifecycleActionsV1\n */\n readonly count?: boolean\n\n /**\n * Use this header to enable this experimental API.\n * @type {string}\n * @memberof MachineIdentityLifecycleActionsApiListMachineIdentityLifecycleActionsV1\n */\n readonly xSailPointExperimental?: string\n}\n\n/**\n * Request parameters for submitMachineIdentityLifecycleActionV1 operation in MachineIdentityLifecycleActionsApi.\n * @export\n * @interface MachineIdentityLifecycleActionsApiSubmitMachineIdentityLifecycleActionV1Request\n */\nexport interface MachineIdentityLifecycleActionsApiSubmitMachineIdentityLifecycleActionV1Request {\n /**\n * Machine identity ID.\n * @type {string}\n * @memberof MachineIdentityLifecycleActionsApiSubmitMachineIdentityLifecycleActionV1\n */\n readonly id: string\n\n /**\n * \n * @type {LifecycleActionSubmitRequest}\n * @memberof MachineIdentityLifecycleActionsApiSubmitMachineIdentityLifecycleActionV1\n */\n readonly lifecycleActionSubmitRequest: LifecycleActionSubmitRequest\n\n /**\n * Use this header to enable this experimental API.\n * @type {string}\n * @memberof MachineIdentityLifecycleActionsApiSubmitMachineIdentityLifecycleActionV1\n */\n readonly xSailPointExperimental?: string\n}\n\n/**\n * MachineIdentityLifecycleActionsApi - object-oriented interface\n * @export\n * @class MachineIdentityLifecycleActionsApi\n * @extends {BaseAPI}\n */\nexport class MachineIdentityLifecycleActionsApi extends BaseAPI {\n /**\n * Attempts to cancel a lifecycle request before provisioning starts. The path `requestId` is authoritative for lookup and authorization. The request body is optional and may carry cancel metadata such as `comment`. Any `requestId` value in the body is ignored. Workflow cancel signaling is attempted before the request is persisted as `CANCELING`. If signaling fails, the service returns **503** (`DOWNSTREAM_SERVICE_UNAVAILABLE`, cause `workflow-signal-failed`) and the lifecycle request status is unchanged. Invalid cancel states are returned as **400** (`INVALID_REQUEST_IN_CURRENT_STATE` variants). Cancel authorization matches https://developer.sailpoint.com/docs/api/get-machine-identity-lifecycle-action-v-1: the original submitter is always allowed; otherwise callers must have the `idn:machine-identity-lifecycle-action:manage` scope **and** target role-context access. **403 Forbidden** - `FORBIDDEN.lifecycle-request-access-denied` - caller is not the submitter and lacks both the `idn:machine-identity-lifecycle-action:manage` scope and target role-context. - `FORBIDDEN.unsupported-type` - the persisted lifecycle row is not scoped to `AI_AGENT`. **404 Not Found** - `NOT_FOUND.detailed` - unknown `requestId`, or persisted `targetType`/target-identity subtype mismatch. \n * @summary Cancel lifecycle action\n * @param {MachineIdentityLifecycleActionsApiCancelMachineIdentityLifecycleActionV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n * @memberof MachineIdentityLifecycleActionsApi\n */\n public cancelMachineIdentityLifecycleActionV1(requestParameters: MachineIdentityLifecycleActionsApiCancelMachineIdentityLifecycleActionV1Request, axiosOptions?: RawAxiosRequestConfig) {\n return MachineIdentityLifecycleActionsApiFp(this.configuration).cancelMachineIdentityLifecycleActionV1(requestParameters.requestId, requestParameters.xSailPointExperimental, requestParameters.cancelLifecycleActionRequest, axiosOptions).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Returns one lifecycle request snapshot by `requestId`. Used for request-level inspection, including cancel acceptance and subsequent status changes. The original requester is always allowed to read their request. Otherwise, callers must have the `idn:machine-identity-lifecycle-action:manage` scope **and** role-context access to the target machine identity (organization admin, source admin, scoped source sub-admin, or effective owner). **403 Forbidden** - `FORBIDDEN.lifecycle-request-access-denied` - caller is not the submitter and lacks both the `idn:machine-identity-lifecycle-action:manage` scope and target role-context (response includes `requestId` as a parameter). - `FORBIDDEN.unsupported-type` - the persisted lifecycle row is not scoped to `AI_AGENT` (`targetType` on read-by-request-id paths). **404 Not Found** - `NOT_FOUND.detailed` - unknown `requestId`, or persisted `targetType` does not match the target machine identity\\'s subtype-to-resource-type mapping. \n * @summary Get lifecycle action by requestId\n * @param {MachineIdentityLifecycleActionsApiGetMachineIdentityLifecycleActionV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n * @memberof MachineIdentityLifecycleActionsApi\n */\n public getMachineIdentityLifecycleActionV1(requestParameters: MachineIdentityLifecycleActionsApiGetMachineIdentityLifecycleActionV1Request, axiosOptions?: RawAxiosRequestConfig) {\n return MachineIdentityLifecycleActionsApiFp(this.configuration).getMachineIdentityLifecycleActionV1(requestParameters.requestId, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Lists lifecycle requests visible to the requester identity in the current request context. Results are automatically scoped to the calling identity. If requester identity context is missing, an empty list is returned. When `limit` is omitted, this endpoint applies a default limit of 50. \n * @summary List lifecycle actions\n * @param {MachineIdentityLifecycleActionsApiListMachineIdentityLifecycleActionsV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n * @memberof MachineIdentityLifecycleActionsApi\n */\n public listMachineIdentityLifecycleActionsV1(requestParameters: MachineIdentityLifecycleActionsApiListMachineIdentityLifecycleActionsV1Request = {}, axiosOptions?: RawAxiosRequestConfig) {\n return MachineIdentityLifecycleActionsApiFp(this.configuration).listMachineIdentityLifecycleActionsV1(requestParameters.filters, requestParameters.sorters, requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Creates a lifecycle request for the target machine identity and returns the created lifecycle snapshot. **Note:** Lifecycle actions are currently supported only for machine identities of type **Agent**. The response includes the generated `requestId`, which is used by https://developer.sailpoint.com/docs/api/list-machine-identity-lifecycle-actions-v-1, https://developer.sailpoint.com/docs/api/get-machine-identity-lifecycle-action-v-1, and https://developer.sailpoint.com/docs/api/cancel-machine-identity-lifecycle-action-v-1 Authorization is enforced in the service layer. Callers must have the `idn:machine-identity-lifecycle-action:manage` scope or role-context access to the target machine identity (organization admin, source admin, scoped source sub-admin, or effective owner). Supported actions are `DEACTIVATE`, `ACTIVATE`. \n * @summary Submit machine identity lifecycle action\n * @param {MachineIdentityLifecycleActionsApiSubmitMachineIdentityLifecycleActionV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n * @memberof MachineIdentityLifecycleActionsApi\n */\n public submitMachineIdentityLifecycleActionV1(requestParameters: MachineIdentityLifecycleActionsApiSubmitMachineIdentityLifecycleActionV1Request, axiosOptions?: RawAxiosRequestConfig) {\n return MachineIdentityLifecycleActionsApiFp(this.configuration).submitMachineIdentityLifecycleActionV1(requestParameters.id, requestParameters.lifecycleActionSubmitRequest, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(this.axios, this.basePath));\n }\n}\n\n\n\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* SailPoint Identity Security API - Machine Identity Lifecycle Actions
|
|
3
|
-
* Use these APIs to submit, list, retrieve, and cancel machine identity lifecycle actions (
|
|
3
|
+
* Use these APIs to submit, list, retrieve, and cancel machine identity lifecycle actions (currently activate and deactivate for Agent machine identities only). We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v1
|
|
6
6
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* SailPoint Identity Security API - Machine Identity Lifecycle Actions
|
|
6
|
-
* Use these APIs to submit, list, retrieve, and cancel machine identity lifecycle actions (
|
|
6
|
+
* Use these APIs to submit, list, retrieve, and cancel machine identity lifecycle actions (currently activate and deactivate for Agent machine identities only). We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v1
|
|
9
9
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.js","sourceRoot":"","sources":["../../machine_identities_lifecycle_actions/base.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;;;;;;AAOH,gDAAgC;AAEnB,QAAA,SAAS,GAAG,uCAAuC,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;AAErF;;;GAGG;AACU,QAAA,kBAAkB,GAAG;IAC9B,GAAG,EAAE,GAAG;IACR,GAAG,EAAE,GAAG;IACR,GAAG,EAAE,IAAI;IACT,KAAK,EAAE,GAAG;CACb,CAAC;AAYF;;;;GAIG;AACH;IAGI,iBAAY,aAA6B,EAAY,QAA4B,EAAY,KAAkE;QAA1G,yBAAA,EAAA,WAAmB,iBAAS;QAAY,sBAAA,EAAA,cAAuB,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,aAAa,mCAAI,eAAW;;QAA1G,aAAQ,GAAR,QAAQ,CAAoB;QAAY,UAAK,GAAL,KAAK,CAA6D;QAC3J,IAAI,aAAa,EAAE;YACf,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;YACnC,IAAI,CAAC,QAAQ,GAAG,aAAa,CAAC,QAAQ,IAAI,IAAI,CAAC,QAAQ,CAAC;SAC3D;IACL,CAAC;IACL,cAAC;AAAD,CAAC,AATD,IASC;AATY,0BAAO;AASnB,CAAC;AAEF;;;;;GAKG;AACH;IAAmC,iCAAK;IACpC,uBAAmB,KAAa,EAAE,GAAY;QAA9C,YACI,kBAAM,GAAG,CAAC,SAEb;QAHkB,WAAK,GAAL,KAAK,CAAQ;QAE5B,KAAI,CAAC,IAAI,GAAG,eAAe,CAAA;;IAC/B,CAAC;IACL,oBAAC;AAAD,CAAC,AALD,CAAmC,KAAK,GAKvC;AALY,sCAAa;AAc1B;;;GAGG;AACU,QAAA,kBAAkB,GAAc,EAC5C,CAAA","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * SailPoint Identity Security API - Machine Identity Lifecycle Actions\n * Use these APIs to submit, list, retrieve, and cancel machine identity lifecycle actions (
|
|
1
|
+
{"version":3,"file":"base.js","sourceRoot":"","sources":["../../machine_identities_lifecycle_actions/base.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;;;;;;AAOH,gDAAgC;AAEnB,QAAA,SAAS,GAAG,uCAAuC,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;AAErF;;;GAGG;AACU,QAAA,kBAAkB,GAAG;IAC9B,GAAG,EAAE,GAAG;IACR,GAAG,EAAE,GAAG;IACR,GAAG,EAAE,IAAI;IACT,KAAK,EAAE,GAAG;CACb,CAAC;AAYF;;;;GAIG;AACH;IAGI,iBAAY,aAA6B,EAAY,QAA4B,EAAY,KAAkE;QAA1G,yBAAA,EAAA,WAAmB,iBAAS;QAAY,sBAAA,EAAA,cAAuB,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,aAAa,mCAAI,eAAW;;QAA1G,aAAQ,GAAR,QAAQ,CAAoB;QAAY,UAAK,GAAL,KAAK,CAA6D;QAC3J,IAAI,aAAa,EAAE;YACf,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;YACnC,IAAI,CAAC,QAAQ,GAAG,aAAa,CAAC,QAAQ,IAAI,IAAI,CAAC,QAAQ,CAAC;SAC3D;IACL,CAAC;IACL,cAAC;AAAD,CAAC,AATD,IASC;AATY,0BAAO;AASnB,CAAC;AAEF;;;;;GAKG;AACH;IAAmC,iCAAK;IACpC,uBAAmB,KAAa,EAAE,GAAY;QAA9C,YACI,kBAAM,GAAG,CAAC,SAEb;QAHkB,WAAK,GAAL,KAAK,CAAQ;QAE5B,KAAI,CAAC,IAAI,GAAG,eAAe,CAAA;;IAC/B,CAAC;IACL,oBAAC;AAAD,CAAC,AALD,CAAmC,KAAK,GAKvC;AALY,sCAAa;AAc1B;;;GAGG;AACU,QAAA,kBAAkB,GAAc,EAC5C,CAAA","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * SailPoint Identity Security API - Machine Identity Lifecycle Actions\n * Use these APIs to submit, list, retrieve, and cancel machine identity lifecycle actions (currently activate and deactivate for Agent machine identities only). We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs.\n *\n * The version of the OpenAPI document: v1\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nimport type { Configuration } from '../configuration';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';\nimport globalAxios from 'axios';\n\nexport const BASE_PATH = \"https://sailpoint.api.identitynow.com\".replace(/\\/+$/, \"\");\n\n/**\n *\n * @export\n */\nexport const COLLECTION_FORMATS = {\n csv: \",\",\n ssv: \" \",\n tsv: \"\\t\",\n pipes: \"|\",\n};\n\n/**\n *\n * @export\n * @interface RequestArgs\n */\nexport interface RequestArgs {\n url: string;\n axiosOptions: RawAxiosRequestConfig;\n}\n\n/**\n *\n * @export\n * @class BaseAPI\n */\nexport class BaseAPI {\n protected configuration: Configuration | undefined;\n\n constructor(configuration?: Configuration, protected basePath: string = BASE_PATH, protected axios: AxiosInstance = configuration?.axiosInstance ?? globalAxios) {\n if (configuration) {\n this.configuration = configuration;\n this.basePath = configuration.basePath || this.basePath;\n }\n }\n};\n\n/**\n *\n * @export\n * @class RequiredError\n * @extends {Error}\n */\nexport class RequiredError extends Error {\n constructor(public field: string, msg?: string) {\n super(msg);\n this.name = \"RequiredError\"\n }\n}\n\ninterface ServerMap {\n [key: string]: {\n url: string,\n description: string,\n }[];\n}\n\n/**\n *\n * @export\n */\nexport const operationServerMap: ServerMap = {\n}\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* SailPoint Identity Security API - Machine Identity Lifecycle Actions
|
|
3
|
-
* Use these APIs to submit, list, retrieve, and cancel machine identity lifecycle actions (
|
|
3
|
+
* Use these APIs to submit, list, retrieve, and cancel machine identity lifecycle actions (currently activate and deactivate for Agent machine identities only). We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v1
|
|
6
6
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* SailPoint Identity Security API - Machine Identity Lifecycle Actions
|
|
6
|
-
* Use these APIs to submit, list, retrieve, and cancel machine identity lifecycle actions (
|
|
6
|
+
* Use these APIs to submit, list, retrieve, and cancel machine identity lifecycle actions (currently activate and deactivate for Agent machine identities only). We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v1
|
|
9
9
|
*
|
|
@@ -1 +1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G,KAAK,CAAC,KAAK,CAAC;oCAC1B,KAAK,CAAC,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC;oCACxB,IAAI,KAAK,CAAC,QAAQ,EAAE;wCAChB,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC;wCACrC,KAAK,CAAC,UAAU,GAAG,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC;wCAC7C,KAAK,CAAC,IAAI,GAAG,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC;qCACpC;oCACD,MAAM,KAAK,CAAC;iCACf;gCACD,MAAM,KAAK,CAAC;4BAChB,CAAC,CAAC,EAAC;;;;KACN,CAAC;AACN,CAAC,CAAA;AA5CY,QAAA,qBAAqB,yBA4CjC","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * SailPoint Identity Security API - Machine Identity Lifecycle Actions\n * Use these APIs to submit, list, retrieve, and cancel machine identity lifecycle actions (for example agent activate and deactivate). We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs.\n *\n * The version of the OpenAPI document: v1\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nimport type { Configuration } from \"../configuration\";\nimport type { RequestArgs } from \"./base\";\nimport type { AxiosInstance, AxiosResponse } from 'axios';\nimport { RequiredError } from \"./base\";\n\n/**\n *\n * @export\n */\nexport const DUMMY_BASE_URL = 'https://example.com'\n\n/**\n *\n * @throws {RequiredError}\n * @export\n */\nexport const assertParamExists = function (functionName: string, paramName: string, paramValue: unknown) {\n if (paramValue === null || paramValue === undefined) {\n throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);\n }\n}\n\n/**\n *\n * @export\n */\nexport const setApiKeyToObject = async function (object: any, keyParamName: string, configuration?: Configuration) {\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(keyParamName)\n : await configuration.apiKey;\n object[keyParamName] = localVarApiKeyValue;\n }\n}\n\n/**\n *\n * @export\n */\nexport const setBasicAuthToObject = function (object: any, configuration?: Configuration) {\n if (configuration && (configuration.username || configuration.password)) {\n object[\"auth\"] = { username: configuration.username, password: configuration.password };\n }\n}\n\n/**\n *\n * @export\n */\nexport const setBearerAuthToObject = async function (object: any, configuration?: Configuration) {\n if (configuration && configuration.accessToken) {\n const accessToken = typeof configuration.accessToken === 'function'\n ? await configuration.accessToken()\n : await configuration.accessToken;\n object[\"Authorization\"] = \"Bearer \" + accessToken;\n }\n}\n\n/**\n *\n * @export\n */\nexport const setOAuthToObject = async function (object: any, name: string, scopes: string[], configuration?: Configuration) {\n if (configuration && configuration.accessToken) {\n const localVarAccessTokenValue = typeof configuration.accessToken === 'function'\n ? await configuration.accessToken(name, scopes)\n : await configuration.accessToken;\n object[\"Authorization\"] = \"Bearer \" + localVarAccessTokenValue;\n }\n}\n\nfunction setFlattenedQueryParams(urlSearchParams: URLSearchParams, parameter: any, key: string = \"\"): void {\n if (parameter == null) return;\n if (typeof parameter === \"object\") {\n if (Array.isArray(parameter)) {\n (parameter as any[]).forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));\n } \n else {\n Object.keys(parameter).forEach(currentKey => \n setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== '' ? '.' : ''}${currentKey}`)\n );\n }\n } \n else {\n if (urlSearchParams.has(key)) {\n urlSearchParams.append(key, parameter);\n } \n else {\n urlSearchParams.set(key, parameter);\n }\n }\n}\n\n/**\n *\n * @export\n */\nexport const setSearchParams = function (url: URL, ...objects: any[]) {\n const searchParams = new URLSearchParams(url.search);\n setFlattenedQueryParams(searchParams, objects);\n url.search = searchParams.toString();\n}\n\n/**\n *\n * @export\n */\nexport const serializeDataIfNeeded = function (value: any, requestOptions: any, configuration?: Configuration) {\n const nonString = typeof value !== 'string';\n const needsSerialization = nonString && configuration && configuration.isJsonMime\n ? configuration.isJsonMime(requestOptions.headers['Content-Type'])\n : nonString;\n return needsSerialization\n ? JSON.stringify(value !== undefined ? value : {})\n : (value || \"\");\n}\n\n/**\n *\n * @export\n */\nexport const toPathString = function (url: URL) {\n return url.pathname + url.search + url.hash\n}\n\n/**\n *\n * @export\n */\nexport const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {\n return async <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const headers: Record<string, any> = {\n ...axiosArgs.axiosOptions.headers,\n }\n\n // Node-only headers. Browsers reject a User-Agent override, and a custom\n // header such as X-SailPoint-SDK forces a CORS preflight that tenants do\n // not allow, which blocks the request outright.\n if (typeof process !== 'undefined' && process.versions?.node) {\n headers['X-SailPoint-SDK'] = 'typescript-1.0.0';\n let userAgent = `SailPoint-SDK-TypeScript/1.0.0`;\n if (configuration?.consumerIdentifier && configuration?.consumerVersion) {\n userAgent += ` (${configuration.consumerIdentifier}/${configuration.consumerVersion})`;\n }\n userAgent += ` (${process.platform}; ${process.arch}) Node/${process.versions.node} (openapi-generator/7.12.0)`;\n headers['User-Agent'] = userAgent;\n }\n\n if(!configuration.experimental && (\"X-SailPoint-Experimental\" in headers)) {\n throw new Error(\"You are using Experimental APIs. Set configuration.experimental = True to enable these APIs in the SDK.\")\n } else if(configuration.experimental == true && (\"X-SailPoint-Experimental\" in headers)) {\n console.log(\"Warning: You are using Experimental APIs\")\n }\n\n await setBearerAuthToObject(headers, configuration);\n\n const axiosRequestArgs = {...axiosArgs.axiosOptions, url: (basePath || configuration?.basePath) + axiosArgs.url, headers};\n return axios.request<T, R>(axiosRequestArgs).catch((error: any) => {\n if (error?.isAxiosError === true) {\n const clean: any = new Error(error.message ?? 'API request failed');\n clean.name = 'ApiError';\n clean.stack = error.stack;\n clean.code = error.code;\n if (error.response) {\n clean.status = error.response.status;\n clean.statusText = error.response.statusText;\n clean.data = error.response.data;\n }\n throw clean;\n }\n throw error;\n });\n };\n}\n"]}
|
|
1
|
+
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../machine_identities_lifecycle_actions/common.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMH,+BAAuC;AAEvC;;;GAGG;AACU,QAAA,cAAc,GAAG,qBAAqB,CAAA;AAEnD;;;;GAIG;AACI,IAAM,iBAAiB,GAAG,UAAU,YAAoB,EAAE,SAAiB,EAAE,UAAmB;IACnG,IAAI,UAAU,KAAK,IAAI,IAAI,UAAU,KAAK,SAAS,EAAE;QACjD,MAAM,IAAI,oBAAa,CAAC,SAAS,EAAE,6BAAsB,SAAS,iDAAuC,YAAY,MAAG,CAAC,CAAC;KAC7H;AACL,CAAC,CAAA;AAJY,QAAA,iBAAiB,qBAI7B;AAED;;;GAGG;AACI,IAAM,iBAAiB,GAAG,UAAgB,MAAW,EAAE,YAAoB,EAAE,aAA6B;;;;;;yBACzG,CAAA,aAAa,IAAI,aAAa,CAAC,MAAM,CAAA,EAArC,wBAAqC;yBACT,CAAA,OAAO,aAAa,CAAC,MAAM,KAAK,UAAU,CAAA,EAA1C,wBAA0C;oBAChE,qBAAM,aAAa,CAAC,MAAM,CAAC,YAAY,CAAC,EAAA;;oBAAxC,KAAA,SAAwC,CAAA;;wBACxC,qBAAM,aAAa,CAAC,MAAM,EAAA;;oBAA1B,KAAA,SAA0B,CAAA;;;oBAF1B,mBAAmB,KAEO;oBAChC,MAAM,CAAC,YAAY,CAAC,GAAG,mBAAmB,CAAC;;;;;;CAElD,CAAA;AAPY,QAAA,iBAAiB,qBAO7B;AAED;;;GAGG;AACI,IAAM,oBAAoB,GAAG,UAAU,MAAW,EAAE,aAA6B;IACpF,IAAI,aAAa,IAAI,CAAC,aAAa,CAAC,QAAQ,IAAI,aAAa,CAAC,QAAQ,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,UAAU,CAAC;oCACxB,KAAK,CAAC,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC;oCAC1B,KAAK,CAAC,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC;oCACxB,IAAI,KAAK,CAAC,QAAQ,EAAE;wCAChB,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC;wCACrC,KAAK,CAAC,UAAU,GAAG,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC;wCAC7C,KAAK,CAAC,IAAI,GAAG,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC;qCACpC;oCACD,MAAM,KAAK,CAAC;iCACf;gCACD,MAAM,KAAK,CAAC;4BAChB,CAAC,CAAC,EAAC;;;;KACN,CAAC;AACN,CAAC,CAAA;AA5CY,QAAA,qBAAqB,yBA4CjC","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * SailPoint Identity Security API - Machine Identity Lifecycle Actions\n * Use these APIs to submit, list, retrieve, and cancel machine identity lifecycle actions (currently activate and deactivate for Agent machine identities only). We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs.\n *\n * The version of the OpenAPI document: v1\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nimport type { Configuration } from \"../configuration\";\nimport type { RequestArgs } from \"./base\";\nimport type { AxiosInstance, AxiosResponse } from 'axios';\nimport { RequiredError } from \"./base\";\n\n/**\n *\n * @export\n */\nexport const DUMMY_BASE_URL = 'https://example.com'\n\n/**\n *\n * @throws {RequiredError}\n * @export\n */\nexport const assertParamExists = function (functionName: string, paramName: string, paramValue: unknown) {\n if (paramValue === null || paramValue === undefined) {\n throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);\n }\n}\n\n/**\n *\n * @export\n */\nexport const setApiKeyToObject = async function (object: any, keyParamName: string, configuration?: Configuration) {\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(keyParamName)\n : await configuration.apiKey;\n object[keyParamName] = localVarApiKeyValue;\n }\n}\n\n/**\n *\n * @export\n */\nexport const setBasicAuthToObject = function (object: any, configuration?: Configuration) {\n if (configuration && (configuration.username || configuration.password)) {\n object[\"auth\"] = { username: configuration.username, password: configuration.password };\n }\n}\n\n/**\n *\n * @export\n */\nexport const setBearerAuthToObject = async function (object: any, configuration?: Configuration) {\n if (configuration && configuration.accessToken) {\n const accessToken = typeof configuration.accessToken === 'function'\n ? await configuration.accessToken()\n : await configuration.accessToken;\n object[\"Authorization\"] = \"Bearer \" + accessToken;\n }\n}\n\n/**\n *\n * @export\n */\nexport const setOAuthToObject = async function (object: any, name: string, scopes: string[], configuration?: Configuration) {\n if (configuration && configuration.accessToken) {\n const localVarAccessTokenValue = typeof configuration.accessToken === 'function'\n ? await configuration.accessToken(name, scopes)\n : await configuration.accessToken;\n object[\"Authorization\"] = \"Bearer \" + localVarAccessTokenValue;\n }\n}\n\nfunction setFlattenedQueryParams(urlSearchParams: URLSearchParams, parameter: any, key: string = \"\"): void {\n if (parameter == null) return;\n if (typeof parameter === \"object\") {\n if (Array.isArray(parameter)) {\n (parameter as any[]).forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));\n } \n else {\n Object.keys(parameter).forEach(currentKey => \n setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== '' ? '.' : ''}${currentKey}`)\n );\n }\n } \n else {\n if (urlSearchParams.has(key)) {\n urlSearchParams.append(key, parameter);\n } \n else {\n urlSearchParams.set(key, parameter);\n }\n }\n}\n\n/**\n *\n * @export\n */\nexport const setSearchParams = function (url: URL, ...objects: any[]) {\n const searchParams = new URLSearchParams(url.search);\n setFlattenedQueryParams(searchParams, objects);\n url.search = searchParams.toString();\n}\n\n/**\n *\n * @export\n */\nexport const serializeDataIfNeeded = function (value: any, requestOptions: any, configuration?: Configuration) {\n const nonString = typeof value !== 'string';\n const needsSerialization = nonString && configuration && configuration.isJsonMime\n ? configuration.isJsonMime(requestOptions.headers['Content-Type'])\n : nonString;\n return needsSerialization\n ? JSON.stringify(value !== undefined ? value : {})\n : (value || \"\");\n}\n\n/**\n *\n * @export\n */\nexport const toPathString = function (url: URL) {\n return url.pathname + url.search + url.hash\n}\n\n/**\n *\n * @export\n */\nexport const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {\n return async <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const headers: Record<string, any> = {\n ...axiosArgs.axiosOptions.headers,\n }\n\n // Node-only headers. Browsers reject a User-Agent override, and a custom\n // header such as X-SailPoint-SDK forces a CORS preflight that tenants do\n // not allow, which blocks the request outright.\n if (typeof process !== 'undefined' && process.versions?.node) {\n headers['X-SailPoint-SDK'] = 'typescript-1.0.0';\n let userAgent = `SailPoint-SDK-TypeScript/1.0.0`;\n if (configuration?.consumerIdentifier && configuration?.consumerVersion) {\n userAgent += ` (${configuration.consumerIdentifier}/${configuration.consumerVersion})`;\n }\n userAgent += ` (${process.platform}; ${process.arch}) Node/${process.versions.node} (openapi-generator/7.12.0)`;\n headers['User-Agent'] = userAgent;\n }\n\n if(!configuration.experimental && (\"X-SailPoint-Experimental\" in headers)) {\n throw new Error(\"You are using Experimental APIs. Set configuration.experimental = True to enable these APIs in the SDK.\")\n } else if(configuration.experimental == true && (\"X-SailPoint-Experimental\" in headers)) {\n console.log(\"Warning: You are using Experimental APIs\")\n }\n\n await setBearerAuthToObject(headers, configuration);\n\n const axiosRequestArgs = {...axiosArgs.axiosOptions, url: (basePath || configuration?.basePath) + axiosArgs.url, headers};\n return axios.request<T, R>(axiosRequestArgs).catch((error: any) => {\n if (error?.isAxiosError === true) {\n const clean: any = new Error(error.message ?? 'API request failed');\n clean.name = 'ApiError';\n clean.stack = error.stack;\n clean.code = error.code;\n if (error.response) {\n clean.status = error.response.status;\n clean.statusText = error.response.statusText;\n clean.data = error.response.data;\n }\n throw clean;\n }\n throw error;\n });\n };\n}\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* SailPoint Identity Security API - Machine Identity Lifecycle Actions
|
|
3
|
-
* Use these APIs to submit, list, retrieve, and cancel machine identity lifecycle actions (
|
|
3
|
+
* Use these APIs to submit, list, retrieve, and cancel machine identity lifecycle actions (currently activate and deactivate for Agent machine identities only). We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v1
|
|
6
6
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* SailPoint Identity Security API - Machine Identity Lifecycle Actions
|
|
6
|
-
* Use these APIs to submit, list, retrieve, and cancel machine identity lifecycle actions (
|
|
6
|
+
* Use these APIs to submit, list, retrieve, and cancel machine identity lifecycle actions (currently activate and deactivate for Agent machine identities only). We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v1
|
|
9
9
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configuration.js","sourceRoot":"","sources":["../../machine_identities_lifecycle_actions/configuration.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAcH;IA0DI,uBAAY,KAAmC;QAAnC,sBAAA,EAAA,UAAmC;QAC3C,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;QAC3B,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC;QAC/B,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC;QAC/B,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC,WAAW,CAAC;QACrC,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC;QAC/B,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC,WAAW,CAAC;QACrC,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC,WAAW,CAAC;QACrC,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC,YAAY,CAAC;IAC3C,CAAC;IAED;;;;;;;;;OASG;IACI,kCAAU,GAAjB,UAAkB,IAAY;QAC1B,IAAM,QAAQ,GAAW,IAAI,MAAM,CAAC,+DAA+D,EAAE,GAAG,CAAC,CAAC;QAC1G,OAAO,IAAI,KAAK,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,WAAW,EAAE,KAAK,6BAA6B,CAAC,CAAC;IAC1G,CAAC;IACL,oBAAC;AAAD,CAAC,AAnFD,IAmFC;AAnFY,sCAAa","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * SailPoint Identity Security API - Machine Identity Lifecycle Actions\n * Use these APIs to submit, list, retrieve, and cancel machine identity lifecycle actions (
|
|
1
|
+
{"version":3,"file":"configuration.js","sourceRoot":"","sources":["../../machine_identities_lifecycle_actions/configuration.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAcH;IA0DI,uBAAY,KAAmC;QAAnC,sBAAA,EAAA,UAAmC;QAC3C,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;QAC3B,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC;QAC/B,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC;QAC/B,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC,WAAW,CAAC;QACrC,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC;QAC/B,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC,WAAW,CAAC;QACrC,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC,WAAW,CAAC;QACrC,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC,YAAY,CAAC;IAC3C,CAAC;IAED;;;;;;;;;OASG;IACI,kCAAU,GAAjB,UAAkB,IAAY;QAC1B,IAAM,QAAQ,GAAW,IAAI,MAAM,CAAC,+DAA+D,EAAE,GAAG,CAAC,CAAC;QAC1G,OAAO,IAAI,KAAK,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,WAAW,EAAE,KAAK,6BAA6B,CAAC,CAAC;IAC1G,CAAC;IACL,oBAAC;AAAD,CAAC,AAnFD,IAmFC;AAnFY,sCAAa","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * SailPoint Identity Security API - Machine Identity Lifecycle Actions\n * Use these APIs to submit, list, retrieve, and cancel machine identity lifecycle actions (currently activate and deactivate for Agent machine identities only). We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs.\n *\n * The version of the OpenAPI document: v1\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nexport interface ConfigurationParameters {\n apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);\n username?: string;\n password?: string;\n accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);\n basePath?: string;\n serverIndex?: number;\n baseOptions?: any;\n formDataCtor?: new () => any;\n}\n\nexport class Configuration {\n /**\n * parameter for apiKey security\n * @param name security name\n * @memberof Configuration\n */\n apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);\n /**\n * parameter for basic security\n *\n * @type {string}\n * @memberof Configuration\n */\n username?: string;\n /**\n * parameter for basic security\n *\n * @type {string}\n * @memberof Configuration\n */\n password?: string;\n /**\n * parameter for oauth2 security\n * @param name security name\n * @param scopes oauth2 scope\n * @memberof Configuration\n */\n accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);\n /**\n * override base path\n *\n * @type {string}\n * @memberof Configuration\n */\n basePath?: string;\n /**\n * override server index\n *\n * @type {number}\n * @memberof Configuration\n */\n serverIndex?: number;\n /**\n * base options for axios calls\n *\n * @type {any}\n * @memberof Configuration\n */\n baseOptions?: any;\n /**\n * The FormData constructor that will be used to create multipart form data\n * requests. You can inject this here so that execution environments that\n * do not support the FormData class can still run the generated client.\n *\n * @type {new () => FormData}\n */\n formDataCtor?: new () => any;\n\n constructor(param: ConfigurationParameters = {}) {\n this.apiKey = param.apiKey;\n this.username = param.username;\n this.password = param.password;\n this.accessToken = param.accessToken;\n this.basePath = param.basePath;\n this.serverIndex = param.serverIndex;\n this.baseOptions = param.baseOptions;\n this.formDataCtor = param.formDataCtor;\n }\n\n /**\n * Check if the given MIME is a JSON MIME.\n * JSON MIME examples:\n * application/json\n * application/json; charset=UTF8\n * APPLICATION/JSON\n * application/vnd.company+json\n * @param mime - MIME (Multipurpose Internet Mail Extensions)\n * @return True if the given MIME is JSON, false otherwise.\n */\n public isJsonMime(mime: string): boolean {\n const jsonMime: RegExp = new RegExp('^(application\\/json|[^;/ \\t]+\\/[^;/ \\t]+[+]json)[ \\t]*(;.*)?$', 'i');\n return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');\n }\n}\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* SailPoint Identity Security API - Machine Identity Lifecycle Actions
|
|
3
|
-
* Use these APIs to submit, list, retrieve, and cancel machine identity lifecycle actions (
|
|
3
|
+
* Use these APIs to submit, list, retrieve, and cancel machine identity lifecycle actions (currently activate and deactivate for Agent machine identities only). We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v1
|
|
6
6
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* SailPoint Identity Security API - Machine Identity Lifecycle Actions
|
|
6
|
-
* Use these APIs to submit, list, retrieve, and cancel machine identity lifecycle actions (
|
|
6
|
+
* Use these APIs to submit, list, retrieve, and cancel machine identity lifecycle actions (currently activate and deactivate for Agent machine identities only). We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v1
|
|
9
9
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../machine_identities_lifecycle_actions/index.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;AAGH,wCAAsB;AACtB,mDAAiC","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * SailPoint Identity Security API - Machine Identity Lifecycle Actions\n * Use these APIs to submit, list, retrieve, and cancel machine identity lifecycle actions (
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../machine_identities_lifecycle_actions/index.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;AAGH,wCAAsB;AACtB,mDAAiC","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * SailPoint Identity Security API - Machine Identity Lifecycle Actions\n * Use these APIs to submit, list, retrieve, and cancel machine identity lifecycle actions (currently activate and deactivate for Agent machine identities only). We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs.\n *\n * The version of the OpenAPI document: v1\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nexport * from \"./api\";\nexport * from \"../configuration\";\n\n"]}
|
package/dist/nerm/common.js
CHANGED
|
@@ -257,8 +257,8 @@ var createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configu
|
|
|
257
257
|
// header such as X-SailPoint-SDK forces a CORS preflight that tenants do
|
|
258
258
|
// not allow, which blocks the request outright.
|
|
259
259
|
if (typeof process !== 'undefined' && ((_a = process.versions) === null || _a === void 0 ? void 0 : _a.node)) {
|
|
260
|
-
headers['X-SailPoint-SDK'] = 'typescript-2.2.
|
|
261
|
-
userAgent = "SailPoint-SDK-TypeScript/2.2.
|
|
260
|
+
headers['X-SailPoint-SDK'] = 'typescript-2.2.50';
|
|
261
|
+
userAgent = "SailPoint-SDK-TypeScript/2.2.50";
|
|
262
262
|
if ((configuration === null || configuration === void 0 ? void 0 : configuration.consumerIdentifier) && (configuration === null || configuration === void 0 ? void 0 : configuration.consumerVersion)) {
|
|
263
263
|
userAgent += " (".concat(configuration.consumerIdentifier, "/").concat(configuration.consumerVersion, ")");
|
|
264
264
|
}
|