@sailpoint/api-client 2.2.51 → 2.2.52

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.
Files changed (208) hide show
  1. package/dist/approvals/api.d.ts +121 -46
  2. package/dist/approvals/api.js +37 -24
  3. package/dist/approvals/api.js.map +1 -1
  4. package/dist/capabilities/api.d.ts +2 -2
  5. package/dist/capabilities/api.js +2 -2
  6. package/dist/capabilities/api.js.map +1 -1
  7. package/dist/capabilities/base.d.ts +2 -2
  8. package/dist/capabilities/base.js +2 -2
  9. package/dist/capabilities/base.js.map +1 -1
  10. package/dist/capabilities/common.d.ts +2 -2
  11. package/dist/capabilities/common.js +2 -2
  12. package/dist/capabilities/common.js.map +1 -1
  13. package/dist/capabilities/configuration.d.ts +2 -2
  14. package/dist/capabilities/configuration.js +2 -2
  15. package/dist/capabilities/configuration.js.map +1 -1
  16. package/dist/capabilities/index.d.ts +2 -2
  17. package/dist/capabilities/index.js +2 -2
  18. package/dist/capabilities/index.js.map +1 -1
  19. package/dist/credentials/api.d.ts +2 -2
  20. package/dist/credentials/api.js +2 -2
  21. package/dist/credentials/api.js.map +1 -1
  22. package/dist/credentials/base.d.ts +2 -2
  23. package/dist/credentials/base.js +2 -2
  24. package/dist/credentials/base.js.map +1 -1
  25. package/dist/credentials/common.d.ts +2 -2
  26. package/dist/credentials/common.js +2 -2
  27. package/dist/credentials/common.js.map +1 -1
  28. package/dist/credentials/configuration.d.ts +2 -2
  29. package/dist/credentials/configuration.js +2 -2
  30. package/dist/credentials/configuration.js.map +1 -1
  31. package/dist/credentials/index.d.ts +2 -2
  32. package/dist/credentials/index.js +2 -2
  33. package/dist/credentials/index.js.map +1 -1
  34. package/dist/devices/api.d.ts +2 -2
  35. package/dist/devices/api.js +2 -2
  36. package/dist/devices/api.js.map +1 -1
  37. package/dist/devices/base.d.ts +2 -2
  38. package/dist/devices/base.js +2 -2
  39. package/dist/devices/base.js.map +1 -1
  40. package/dist/devices/common.d.ts +2 -2
  41. package/dist/devices/common.js +2 -2
  42. package/dist/devices/common.js.map +1 -1
  43. package/dist/devices/configuration.d.ts +2 -2
  44. package/dist/devices/configuration.js +2 -2
  45. package/dist/devices/configuration.js.map +1 -1
  46. package/dist/devices/index.d.ts +2 -2
  47. package/dist/devices/index.js +2 -2
  48. package/dist/devices/index.js.map +1 -1
  49. package/dist/esm/approvals/api.js +36 -23
  50. package/dist/esm/capabilities/api.js +2 -2
  51. package/dist/esm/capabilities/base.js +2 -2
  52. package/dist/esm/capabilities/common.js +2 -2
  53. package/dist/esm/capabilities/configuration.js +2 -2
  54. package/dist/esm/capabilities/index.js +2 -2
  55. package/dist/esm/credentials/api.js +2 -2
  56. package/dist/esm/credentials/base.js +2 -2
  57. package/dist/esm/credentials/common.js +2 -2
  58. package/dist/esm/credentials/configuration.js +2 -2
  59. package/dist/esm/credentials/index.js +2 -2
  60. package/dist/esm/devices/api.js +2 -2
  61. package/dist/esm/devices/base.js +2 -2
  62. package/dist/esm/devices/common.js +2 -2
  63. package/dist/esm/devices/configuration.js +2 -2
  64. package/dist/esm/devices/index.js +2 -2
  65. package/dist/esm/generic_request_approval_config/api.js +2 -2
  66. package/dist/esm/generic_request_approval_config/base.js +2 -2
  67. package/dist/esm/generic_request_approval_config/common.js +2 -2
  68. package/dist/esm/generic_request_approval_config/configuration.js +2 -2
  69. package/dist/esm/generic_request_approval_config/index.js +2 -2
  70. package/dist/esm/index.js +6 -0
  71. package/dist/esm/machine_account_recommendation/api.js +2 -2
  72. package/dist/esm/machine_account_recommendation/base.js +2 -2
  73. package/dist/esm/machine_account_recommendation/common.js +2 -2
  74. package/dist/esm/machine_account_recommendation/configuration.js +2 -2
  75. package/dist/esm/machine_account_recommendation/index.js +2 -2
  76. package/dist/esm/machine_identities_lifecycle_actions/api.js +35 -32
  77. package/dist/esm/machine_identity_metadata/api.js +2 -2
  78. package/dist/esm/machine_identity_metadata/base.js +2 -2
  79. package/dist/esm/machine_identity_metadata/common.js +2 -2
  80. package/dist/esm/machine_identity_metadata/configuration.js +2 -2
  81. package/dist/esm/machine_identity_metadata/index.js +2 -2
  82. package/dist/esm/machine_mapping_metadata/api.js +2 -2
  83. package/dist/esm/machine_mapping_metadata/base.js +2 -2
  84. package/dist/esm/machine_mapping_metadata/common.js +2 -2
  85. package/dist/esm/machine_mapping_metadata/configuration.js +2 -2
  86. package/dist/esm/machine_mapping_metadata/index.js +2 -2
  87. package/dist/esm/nerm/common.js +2 -2
  88. package/dist/esm/nermv2025/common.js +2 -2
  89. package/dist/esm/reminder_escalations/api.js +522 -0
  90. package/dist/esm/reminder_escalations/base.js +83 -0
  91. package/dist/esm/reminder_escalations/common.js +287 -0
  92. package/dist/esm/reminder_escalations/configuration.js +42 -0
  93. package/dist/esm/reminder_escalations/index.js +15 -0
  94. package/dist/esm/roles/api.js +529 -2
  95. package/dist/esm/sources/api.js +2 -1
  96. package/dist/esm/ui_plugins/api.js +1657 -0
  97. package/dist/esm/ui_plugins/base.js +83 -0
  98. package/dist/esm/ui_plugins/common.js +287 -0
  99. package/dist/esm/ui_plugins/configuration.js +42 -0
  100. package/dist/esm/ui_plugins/index.js +15 -0
  101. package/dist/generic_request_approval_config/api.d.ts +2 -2
  102. package/dist/generic_request_approval_config/api.js +2 -2
  103. package/dist/generic_request_approval_config/api.js.map +1 -1
  104. package/dist/generic_request_approval_config/base.d.ts +2 -2
  105. package/dist/generic_request_approval_config/base.js +2 -2
  106. package/dist/generic_request_approval_config/base.js.map +1 -1
  107. package/dist/generic_request_approval_config/common.d.ts +2 -2
  108. package/dist/generic_request_approval_config/common.js +2 -2
  109. package/dist/generic_request_approval_config/common.js.map +1 -1
  110. package/dist/generic_request_approval_config/configuration.d.ts +2 -2
  111. package/dist/generic_request_approval_config/configuration.js +2 -2
  112. package/dist/generic_request_approval_config/configuration.js.map +1 -1
  113. package/dist/generic_request_approval_config/index.d.ts +2 -2
  114. package/dist/generic_request_approval_config/index.js +2 -2
  115. package/dist/generic_request_approval_config/index.js.map +1 -1
  116. package/dist/index.d.ts +6 -0
  117. package/dist/index.js +103 -97
  118. package/dist/index.js.map +1 -1
  119. package/dist/machine_account_recommendation/api.d.ts +2 -2
  120. package/dist/machine_account_recommendation/api.js +2 -2
  121. package/dist/machine_account_recommendation/api.js.map +1 -1
  122. package/dist/machine_account_recommendation/base.d.ts +2 -2
  123. package/dist/machine_account_recommendation/base.js +2 -2
  124. package/dist/machine_account_recommendation/base.js.map +1 -1
  125. package/dist/machine_account_recommendation/common.d.ts +2 -2
  126. package/dist/machine_account_recommendation/common.js +2 -2
  127. package/dist/machine_account_recommendation/common.js.map +1 -1
  128. package/dist/machine_account_recommendation/configuration.d.ts +2 -2
  129. package/dist/machine_account_recommendation/configuration.js +2 -2
  130. package/dist/machine_account_recommendation/configuration.js.map +1 -1
  131. package/dist/machine_account_recommendation/index.d.ts +2 -2
  132. package/dist/machine_account_recommendation/index.js +2 -2
  133. package/dist/machine_account_recommendation/index.js.map +1 -1
  134. package/dist/machine_identities_lifecycle_actions/api.d.ts +67 -63
  135. package/dist/machine_identities_lifecycle_actions/api.js +36 -33
  136. package/dist/machine_identities_lifecycle_actions/api.js.map +1 -1
  137. package/dist/machine_identity_metadata/api.d.ts +2 -2
  138. package/dist/machine_identity_metadata/api.js +2 -2
  139. package/dist/machine_identity_metadata/api.js.map +1 -1
  140. package/dist/machine_identity_metadata/base.d.ts +2 -2
  141. package/dist/machine_identity_metadata/base.js +2 -2
  142. package/dist/machine_identity_metadata/base.js.map +1 -1
  143. package/dist/machine_identity_metadata/common.d.ts +2 -2
  144. package/dist/machine_identity_metadata/common.js +2 -2
  145. package/dist/machine_identity_metadata/common.js.map +1 -1
  146. package/dist/machine_identity_metadata/configuration.d.ts +2 -2
  147. package/dist/machine_identity_metadata/configuration.js +2 -2
  148. package/dist/machine_identity_metadata/configuration.js.map +1 -1
  149. package/dist/machine_identity_metadata/index.d.ts +2 -2
  150. package/dist/machine_identity_metadata/index.js +2 -2
  151. package/dist/machine_identity_metadata/index.js.map +1 -1
  152. package/dist/machine_mapping_metadata/api.d.ts +2 -2
  153. package/dist/machine_mapping_metadata/api.js +2 -2
  154. package/dist/machine_mapping_metadata/api.js.map +1 -1
  155. package/dist/machine_mapping_metadata/base.d.ts +2 -2
  156. package/dist/machine_mapping_metadata/base.js +2 -2
  157. package/dist/machine_mapping_metadata/base.js.map +1 -1
  158. package/dist/machine_mapping_metadata/common.d.ts +2 -2
  159. package/dist/machine_mapping_metadata/common.js +2 -2
  160. package/dist/machine_mapping_metadata/common.js.map +1 -1
  161. package/dist/machine_mapping_metadata/configuration.d.ts +2 -2
  162. package/dist/machine_mapping_metadata/configuration.js +2 -2
  163. package/dist/machine_mapping_metadata/configuration.js.map +1 -1
  164. package/dist/machine_mapping_metadata/index.d.ts +2 -2
  165. package/dist/machine_mapping_metadata/index.js +2 -2
  166. package/dist/machine_mapping_metadata/index.js.map +1 -1
  167. package/dist/nerm/common.js +2 -2
  168. package/dist/nerm/common.js.map +1 -1
  169. package/dist/nermv2025/common.js +2 -2
  170. package/dist/nermv2025/common.js.map +1 -1
  171. package/dist/reminder_escalations/api.d.ts +665 -0
  172. package/dist/reminder_escalations/api.js +532 -0
  173. package/dist/reminder_escalations/api.js.map +1 -0
  174. package/dist/reminder_escalations/base.d.ts +66 -0
  175. package/dist/reminder_escalations/base.js +90 -0
  176. package/dist/reminder_escalations/base.js.map +1 -0
  177. package/dist/reminder_escalations/common.d.ts +65 -0
  178. package/dist/reminder_escalations/common.js +300 -0
  179. package/dist/reminder_escalations/common.js.map +1 -0
  180. package/dist/reminder_escalations/configuration.d.ts +91 -0
  181. package/dist/reminder_escalations/configuration.js +46 -0
  182. package/dist/reminder_escalations/configuration.js.map +1 -0
  183. package/dist/reminder_escalations/index.d.ts +13 -0
  184. package/dist/reminder_escalations/index.js +32 -0
  185. package/dist/reminder_escalations/index.js.map +1 -0
  186. package/dist/roles/api.d.ts +972 -88
  187. package/dist/roles/api.js +530 -3
  188. package/dist/roles/api.js.map +1 -1
  189. package/dist/sources/api.d.ts +2 -1
  190. package/dist/sources/api.js +2 -1
  191. package/dist/sources/api.js.map +1 -1
  192. package/dist/ui_plugins/api.d.ts +1514 -0
  193. package/dist/ui_plugins/api.js +1667 -0
  194. package/dist/ui_plugins/api.js.map +1 -0
  195. package/dist/ui_plugins/base.d.ts +66 -0
  196. package/dist/ui_plugins/base.js +90 -0
  197. package/dist/ui_plugins/base.js.map +1 -0
  198. package/dist/ui_plugins/common.d.ts +65 -0
  199. package/dist/ui_plugins/common.js +300 -0
  200. package/dist/ui_plugins/common.js.map +1 -0
  201. package/dist/ui_plugins/configuration.d.ts +91 -0
  202. package/dist/ui_plugins/configuration.js +46 -0
  203. package/dist/ui_plugins/configuration.js.map +1 -0
  204. package/dist/ui_plugins/index.d.ts +13 -0
  205. package/dist/ui_plugins/index.js +32 -0
  206. package/dist/ui_plugins/index.js.map +1 -0
  207. package/package.json +1 -1
  208. package/sailpoint-scopes.json +325 -1
@@ -1 +1 @@
1
- {"version":3,"file":"api.js","sourceRoot":"","sources":["../../generic_request_approval_config/api.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKH,gDAAgC;AAChC,yDAAyD;AACzD,aAAa;AACb,mCAA4N;AAE5N,aAAa;AACb,+BAAmG;AAmGtF,QAAA,4CAA4C,GAAG;IACxD,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;CACd,CAAC;AAGE,QAAA,8CAA8C,GAAG;IAC1D,GAAG,EAAE,KAAK;IACV,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,WAAW;IACtB,GAAG,EAAE,KAAK;CACJ,CAAC;AAoCE,QAAA,0CAA0C,GAAG;IACtD,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;IAChB,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CAAC;IAED;;;;;;;OAOG;IACI,8EAAoC,GAA3C,UAA4C,iBAA6F,EAAE,YAAoC;QAA/K,iBAEC;QADG,OAAO,IAAA,yCAAiC,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC,oCAAoC,CAAC,iBAAiB,CAAC,EAAE,EAAE,iBAAiB,CAAC,kBAAkB,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;IAChR,CAAC;IACL,sCAAC;AAAD,CAAC,AAxBD,CAAqD,cAAO,GAwB3D;AAxBY,0EAA+B;AA0B5C;;GAEG;AACU,QAAA,+CAA+C,GAAG;IAC3D,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;CACV,CAAC","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * Identity Security Cloud API - Generic Request Approval Config\n * Use these APIs to interact with the Identity Security Cloud platform to achieve repeatable, automated processes with greater scalability. 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 * \n * @export\n * @interface ArrayInner\n */\nexport interface ArrayInner {\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 * The approval setting for one action. It is either an empty object, which inherits the organization-level approval configuration, an APPROVAL setting with `approvers` and `comments`, or a WORKFLOW setting with `workflowId`.\n * @export\n * @interface GenericRequestApprovalActionConfig\n */\nexport interface GenericRequestApprovalActionConfig {\n /**\n * How the request is approved. Omitted when the action inherits the organization-level configuration.\n * @type {string}\n * @memberof GenericRequestApprovalActionConfig\n */\n 'scheme'?: GenericRequestApprovalActionConfigSchemeEnum;\n /**\n * APPROVAL scheme only. A comma-separated list of approver tokens: `sourceOwner`, `manager`, `machineIdentityPrimaryOwner`, `machineIdentitySecondaryOwners`, `machineIdentityAllOwners`, `workgroup:{governanceGroupId}`, and `identity:{identityId}`. `accountOwner` is also allowed for the SUBTYPE DELETE action.\n * @type {string}\n * @memberof GenericRequestApprovalActionConfig\n */\n 'approvers'?: string;\n /**\n * APPROVAL scheme only. When approvers must comment: on both decisions (ALL), on approval only (APPROVAL), on rejection only (REJECTION), or never (OFF).\n * @type {string}\n * @memberof GenericRequestApprovalActionConfig\n */\n 'comments'?: GenericRequestApprovalActionConfigCommentsEnum;\n /**\n * WORKFLOW scheme only. The ID of the workflow that approves the request.\n * @type {string}\n * @memberof GenericRequestApprovalActionConfig\n */\n 'workflowId'?: string;\n}\n\nexport const GenericRequestApprovalActionConfigSchemeEnum = {\n Approval: 'APPROVAL',\n Workflow: 'WORKFLOW'\n} as const;\n\nexport type GenericRequestApprovalActionConfigSchemeEnum = typeof GenericRequestApprovalActionConfigSchemeEnum[keyof typeof GenericRequestApprovalActionConfigSchemeEnum];\nexport const GenericRequestApprovalActionConfigCommentsEnum = {\n All: 'ALL',\n Approval: 'APPROVAL',\n Rejection: 'REJECTION',\n Off: 'OFF'\n} as const;\n\nexport type GenericRequestApprovalActionConfigCommentsEnum = typeof GenericRequestApprovalActionConfigCommentsEnum[keyof typeof GenericRequestApprovalActionConfigCommentsEnum];\n\n/**\n * The approval configuration for one scope, with one entry per action the scope\\'s target type supports.\n * @export\n * @interface GenericRequestApprovalConfig\n */\nexport interface GenericRequestApprovalConfig {\n /**\n * The approval configuration ID. Use it with the update API.\n * @type {string}\n * @memberof GenericRequestApprovalConfig\n */\n 'id'?: string;\n /**\n * The kind of scope.\n * @type {string}\n * @memberof GenericRequestApprovalConfig\n */\n 'targetType'?: GenericRequestApprovalConfigTargetTypeEnum;\n /**\n * The scope target: the source resource ID for RESOURCE, the subtype ID for SUBTYPE, the source ID for SOURCE, and the tenant ID for GLOBAL.\n * @type {string}\n * @memberof GenericRequestApprovalConfig\n */\n 'targetId'?: string;\n /**\n * The approval setting for each action, keyed by action name (ACTIVATE, DEACTIVATE, CREATE, or DELETE, depending on the target type). An empty object means the action inherits the organization-level approval configuration.\n * @type {{ [key: string]: GenericRequestApprovalActionConfig; }}\n * @memberof GenericRequestApprovalConfig\n */\n 'approvalConfig'?: { [key: string]: GenericRequestApprovalActionConfig; };\n}\n\nexport const GenericRequestApprovalConfigTargetTypeEnum = {\n Resource: 'RESOURCE',\n Subtype: 'SUBTYPE',\n Source: 'SOURCE',\n Global: 'GLOBAL'\n} as const;\n\nexport type GenericRequestApprovalConfigTargetTypeEnum = typeof GenericRequestApprovalConfigTargetTypeEnum[keyof typeof GenericRequestApprovalConfigTargetTypeEnum];\n\n/**\n * \n * @export\n * @interface GetGenericRequestApprovalConfigV1401Response\n */\nexport interface GetGenericRequestApprovalConfigV1401Response {\n /**\n * A message describing the error\n * @type {any}\n * @memberof GetGenericRequestApprovalConfigV1401Response\n */\n 'error'?: any;\n}\n/**\n * \n * @export\n * @interface GetGenericRequestApprovalConfigV1429Response\n */\nexport interface GetGenericRequestApprovalConfigV1429Response {\n /**\n * A message describing the error\n * @type {any}\n * @memberof GetGenericRequestApprovalConfigV1429Response\n */\n 'message'?: any;\n}\n/**\n * A JSONPatch Operation as defined by [RFC 6902 - JSON Patch](https://tools.ietf.org/html/rfc6902)\n * @export\n * @interface JsonPatchOperation\n */\nexport interface JsonPatchOperation {\n /**\n * The operation to be performed\n * @type {string}\n * @memberof JsonPatchOperation\n */\n 'op': JsonPatchOperationOpEnum;\n /**\n * A string JSON Pointer representing the target path to an element to be affected by the operation\n * @type {string}\n * @memberof JsonPatchOperation\n */\n 'path': string;\n /**\n * \n * @type {JsonPatchOperationValue}\n * @memberof JsonPatchOperation\n */\n 'value'?: JsonPatchOperationValue;\n}\n\nexport const JsonPatchOperationOpEnum = {\n Add: 'add',\n Remove: 'remove',\n Replace: 'replace',\n Move: 'move',\n Copy: 'copy',\n Test: 'test'\n} as const;\n\nexport type JsonPatchOperationOpEnum = typeof JsonPatchOperationOpEnum[keyof typeof JsonPatchOperationOpEnum];\n\n/**\n * @type JsonPatchOperationValue\n * The value to be used for the operation, required for \\\"add\\\" and \\\"replace\\\" operations\n * @export\n */\nexport type JsonPatchOperationValue = Array<ArrayInner> | boolean | number | object | string;\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 * GenericRequestApprovalConfigApi - axios parameter creator\n * @export\n */\nexport const GenericRequestApprovalConfigApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * This API returns the approval configuration for one scope. The scope is identified by `targetType` and, depending on the target type, `targetId` and `sourceId`. The response holds one entry per action that the target type supports. An action with no stored setting is returned as `{}`, which means it inherits the organization-level approval configuration. A scope that has never been configured returns `200` with every action set to `{}`, and the response always carries the `id` to use with the update API. Actions by target type: **RESOURCE**: *ACTIVATE, DEACTIVATE* **SUBTYPE**: *CREATE, DELETE* **SOURCE**: *DELETE* **GLOBAL**: *ACTIVATE, DEACTIVATE* Only resources of the AI agent type support resource-level approval settings; any other resource returns `400`. An unknown source, resource, or subtype returns `400`. When agentic identity provisioning is not enabled for the tenant, this API returns `404`. When this API is not enabled for the tenant, it returns `403`. \n * @summary Get generic request approval config\n * @param {GetGenericRequestApprovalConfigV1TargetTypeEnum} targetType The kind of scope to read.\n * @param {string} [targetId] The scope target. Required for **RESOURCE** (the source resource ID) and **SUBTYPE** (the subtype ID). For **SOURCE** the target is the &#x60;sourceId&#x60;, and for **GLOBAL** it is the tenant; when you supply it for those target types, it must match that value or the request returns &#x60;400&#x60;.\n * @param {string} [sourceId] The source that owns the scope. Required for **RESOURCE**, **SUBTYPE**, and **SOURCE**. Must be omitted for **GLOBAL**.\n * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n getGenericRequestApprovalConfigV1: async (targetType: GetGenericRequestApprovalConfigV1TargetTypeEnum, targetId?: string, sourceId?: string, xSailPointExperimental?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'targetType' is not null or undefined\n assertParamExists('getGenericRequestApprovalConfigV1', 'targetType', targetType)\n if (xSailPointExperimental === undefined) {\n xSailPointExperimental = 'true';\n }\n \n const localVarPath = `/generic-request-approval-config/v1`;\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 (targetType !== undefined) {\n localVarQueryParameter['targetType'] = targetType;\n }\n\n if (targetId !== undefined) {\n localVarQueryParameter['targetId'] = targetId;\n }\n\n if (sourceId !== undefined) {\n localVarQueryParameter['sourceId'] = sourceId;\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 * Use this API to update the approval configuration of one scope using a JSON Patch payload. Use the `id` returned by the get API. Patchable paths are `/approvalConfig`, which replaces every action at once, and `/approvalConfig/{ACTION}` for each action the scope\\'s target type supports. One request can update several actions. `id`, `targetType`, and `targetId` identify the scope and can\\'t be patched; a patch that targets any other path returns `400`. To return an action to the organization-level approval configuration, `remove` it or `replace` it with `{}`. Each configured action uses one scheme: **APPROVAL**: requires `approvers` and `comments`. `approvers` is a comma-separated list of approver tokens: `sourceOwner`, `manager`, `machineIdentityPrimaryOwner`, `machineIdentitySecondaryOwners`, `machineIdentityAllOwners`, `workgroup:{governanceGroupId}`, and `identity:{identityId}`. For the **SUBTYPE** **DELETE** action, `accountOwner` is also allowed. Tokens without an ID can appear at most once, and IDs must be unique and must exist. `comments` is one of `ALL`, `APPROVAL`, `REJECTION`, or `OFF`. **WORKFLOW**: requires `workflowId`, the UUID of a workflow. The same workflow can\\'t be used for more than one action. When workflow approvals are enabled for the tenant, the workflow must exist, be enabled, and use the trigger for its action (`idn:machine-identity-activate` for ACTIVATE, `idn:machine-identity-deactivate` for DEACTIVATE). The **GLOBAL** scope only accepts the **WORKFLOW** scheme. The ID must be a UUID; any other value returns `400`. When no approval configuration exists for the ID, this API returns `404`. When agentic identity provisioning is not enabled for the tenant, this API returns `404`. When this API is not enabled for the tenant, it returns `403`. \n * @summary Patch generic request approval config\n * @param {string} id Approval configuration ID.\n * @param {Array<JsonPatchOperation>} jsonPatchOperation A JSON of updated values [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.\n * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n updateGenericRequestApprovalConfigV1: async (id: string, jsonPatchOperation: Array<JsonPatchOperation>, xSailPointExperimental?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('updateGenericRequestApprovalConfigV1', 'id', id)\n // verify required parameter 'jsonPatchOperation' is not null or undefined\n assertParamExists('updateGenericRequestApprovalConfigV1', 'jsonPatchOperation', jsonPatchOperation)\n if (xSailPointExperimental === undefined) {\n xSailPointExperimental = 'true';\n }\n \n const localVarPath = `/generic-request-approval-config/v1/{id}`\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: 'PATCH', ...baseOptions, ...axiosOptions};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n localVarHeaderParameter['Content-Type'] = 'application/json-patch+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(jsonPatchOperation, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n axiosOptions: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * GenericRequestApprovalConfigApi - functional programming interface\n * @export\n */\nexport const GenericRequestApprovalConfigApiFp = function(configuration?: Configuration) {\n const localVarAxiosParamCreator = GenericRequestApprovalConfigApiAxiosParamCreator(configuration)\n return {\n /**\n * This API returns the approval configuration for one scope. The scope is identified by `targetType` and, depending on the target type, `targetId` and `sourceId`. The response holds one entry per action that the target type supports. An action with no stored setting is returned as `{}`, which means it inherits the organization-level approval configuration. A scope that has never been configured returns `200` with every action set to `{}`, and the response always carries the `id` to use with the update API. Actions by target type: **RESOURCE**: *ACTIVATE, DEACTIVATE* **SUBTYPE**: *CREATE, DELETE* **SOURCE**: *DELETE* **GLOBAL**: *ACTIVATE, DEACTIVATE* Only resources of the AI agent type support resource-level approval settings; any other resource returns `400`. An unknown source, resource, or subtype returns `400`. When agentic identity provisioning is not enabled for the tenant, this API returns `404`. When this API is not enabled for the tenant, it returns `403`. \n * @summary Get generic request approval config\n * @param {GetGenericRequestApprovalConfigV1TargetTypeEnum} targetType The kind of scope to read.\n * @param {string} [targetId] The scope target. Required for **RESOURCE** (the source resource ID) and **SUBTYPE** (the subtype ID). For **SOURCE** the target is the &#x60;sourceId&#x60;, and for **GLOBAL** it is the tenant; when you supply it for those target types, it must match that value or the request returns &#x60;400&#x60;.\n * @param {string} [sourceId] The source that owns the scope. Required for **RESOURCE**, **SUBTYPE**, and **SOURCE**. Must be omitted for **GLOBAL**.\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 getGenericRequestApprovalConfigV1(targetType: GetGenericRequestApprovalConfigV1TargetTypeEnum, targetId?: string, sourceId?: string, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GenericRequestApprovalConfig>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.getGenericRequestApprovalConfigV1(targetType, targetId, sourceId, xSailPointExperimental, axiosOptions);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['GenericRequestApprovalConfigApi.getGenericRequestApprovalConfigV1']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Use this API to update the approval configuration of one scope using a JSON Patch payload. Use the `id` returned by the get API. Patchable paths are `/approvalConfig`, which replaces every action at once, and `/approvalConfig/{ACTION}` for each action the scope\\'s target type supports. One request can update several actions. `id`, `targetType`, and `targetId` identify the scope and can\\'t be patched; a patch that targets any other path returns `400`. To return an action to the organization-level approval configuration, `remove` it or `replace` it with `{}`. Each configured action uses one scheme: **APPROVAL**: requires `approvers` and `comments`. `approvers` is a comma-separated list of approver tokens: `sourceOwner`, `manager`, `machineIdentityPrimaryOwner`, `machineIdentitySecondaryOwners`, `machineIdentityAllOwners`, `workgroup:{governanceGroupId}`, and `identity:{identityId}`. For the **SUBTYPE** **DELETE** action, `accountOwner` is also allowed. Tokens without an ID can appear at most once, and IDs must be unique and must exist. `comments` is one of `ALL`, `APPROVAL`, `REJECTION`, or `OFF`. **WORKFLOW**: requires `workflowId`, the UUID of a workflow. The same workflow can\\'t be used for more than one action. When workflow approvals are enabled for the tenant, the workflow must exist, be enabled, and use the trigger for its action (`idn:machine-identity-activate` for ACTIVATE, `idn:machine-identity-deactivate` for DEACTIVATE). The **GLOBAL** scope only accepts the **WORKFLOW** scheme. The ID must be a UUID; any other value returns `400`. When no approval configuration exists for the ID, this API returns `404`. When agentic identity provisioning is not enabled for the tenant, this API returns `404`. When this API is not enabled for the tenant, it returns `403`. \n * @summary Patch generic request approval config\n * @param {string} id Approval configuration ID.\n * @param {Array<JsonPatchOperation>} jsonPatchOperation A JSON of updated values [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.\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 updateGenericRequestApprovalConfigV1(id: string, jsonPatchOperation: Array<JsonPatchOperation>, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GenericRequestApprovalConfig>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.updateGenericRequestApprovalConfigV1(id, jsonPatchOperation, xSailPointExperimental, axiosOptions);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['GenericRequestApprovalConfigApi.updateGenericRequestApprovalConfigV1']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n }\n};\n\n/**\n * GenericRequestApprovalConfigApi - factory interface\n * @export\n */\nexport const GenericRequestApprovalConfigApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n const localVarFp = GenericRequestApprovalConfigApiFp(configuration)\n return {\n /**\n * This API returns the approval configuration for one scope. The scope is identified by `targetType` and, depending on the target type, `targetId` and `sourceId`. The response holds one entry per action that the target type supports. An action with no stored setting is returned as `{}`, which means it inherits the organization-level approval configuration. A scope that has never been configured returns `200` with every action set to `{}`, and the response always carries the `id` to use with the update API. Actions by target type: **RESOURCE**: *ACTIVATE, DEACTIVATE* **SUBTYPE**: *CREATE, DELETE* **SOURCE**: *DELETE* **GLOBAL**: *ACTIVATE, DEACTIVATE* Only resources of the AI agent type support resource-level approval settings; any other resource returns `400`. An unknown source, resource, or subtype returns `400`. When agentic identity provisioning is not enabled for the tenant, this API returns `404`. When this API is not enabled for the tenant, it returns `403`. \n * @summary Get generic request approval config\n * @param {GenericRequestApprovalConfigApiGetGenericRequestApprovalConfigV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n getGenericRequestApprovalConfigV1(requestParameters: GenericRequestApprovalConfigApiGetGenericRequestApprovalConfigV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<GenericRequestApprovalConfig> {\n return localVarFp.getGenericRequestApprovalConfigV1(requestParameters.targetType, requestParameters.targetId, requestParameters.sourceId, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));\n },\n /**\n * Use this API to update the approval configuration of one scope using a JSON Patch payload. Use the `id` returned by the get API. Patchable paths are `/approvalConfig`, which replaces every action at once, and `/approvalConfig/{ACTION}` for each action the scope\\'s target type supports. One request can update several actions. `id`, `targetType`, and `targetId` identify the scope and can\\'t be patched; a patch that targets any other path returns `400`. To return an action to the organization-level approval configuration, `remove` it or `replace` it with `{}`. Each configured action uses one scheme: **APPROVAL**: requires `approvers` and `comments`. `approvers` is a comma-separated list of approver tokens: `sourceOwner`, `manager`, `machineIdentityPrimaryOwner`, `machineIdentitySecondaryOwners`, `machineIdentityAllOwners`, `workgroup:{governanceGroupId}`, and `identity:{identityId}`. For the **SUBTYPE** **DELETE** action, `accountOwner` is also allowed. Tokens without an ID can appear at most once, and IDs must be unique and must exist. `comments` is one of `ALL`, `APPROVAL`, `REJECTION`, or `OFF`. **WORKFLOW**: requires `workflowId`, the UUID of a workflow. The same workflow can\\'t be used for more than one action. When workflow approvals are enabled for the tenant, the workflow must exist, be enabled, and use the trigger for its action (`idn:machine-identity-activate` for ACTIVATE, `idn:machine-identity-deactivate` for DEACTIVATE). The **GLOBAL** scope only accepts the **WORKFLOW** scheme. The ID must be a UUID; any other value returns `400`. When no approval configuration exists for the ID, this API returns `404`. When agentic identity provisioning is not enabled for the tenant, this API returns `404`. When this API is not enabled for the tenant, it returns `403`. \n * @summary Patch generic request approval config\n * @param {GenericRequestApprovalConfigApiUpdateGenericRequestApprovalConfigV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n updateGenericRequestApprovalConfigV1(requestParameters: GenericRequestApprovalConfigApiUpdateGenericRequestApprovalConfigV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<GenericRequestApprovalConfig> {\n return localVarFp.updateGenericRequestApprovalConfigV1(requestParameters.id, requestParameters.jsonPatchOperation, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * Request parameters for getGenericRequestApprovalConfigV1 operation in GenericRequestApprovalConfigApi.\n * @export\n * @interface GenericRequestApprovalConfigApiGetGenericRequestApprovalConfigV1Request\n */\nexport interface GenericRequestApprovalConfigApiGetGenericRequestApprovalConfigV1Request {\n /**\n * The kind of scope to read.\n * @type {'RESOURCE' | 'SUBTYPE' | 'SOURCE' | 'GLOBAL'}\n * @memberof GenericRequestApprovalConfigApiGetGenericRequestApprovalConfigV1\n */\n readonly targetType: GetGenericRequestApprovalConfigV1TargetTypeEnum\n\n /**\n * The scope target. Required for **RESOURCE** (the source resource ID) and **SUBTYPE** (the subtype ID). For **SOURCE** the target is the &#x60;sourceId&#x60;, and for **GLOBAL** it is the tenant; when you supply it for those target types, it must match that value or the request returns &#x60;400&#x60;.\n * @type {string}\n * @memberof GenericRequestApprovalConfigApiGetGenericRequestApprovalConfigV1\n */\n readonly targetId?: string\n\n /**\n * The source that owns the scope. Required for **RESOURCE**, **SUBTYPE**, and **SOURCE**. Must be omitted for **GLOBAL**.\n * @type {string}\n * @memberof GenericRequestApprovalConfigApiGetGenericRequestApprovalConfigV1\n */\n readonly sourceId?: string\n\n /**\n * Use this header to enable this experimental API.\n * @type {string}\n * @memberof GenericRequestApprovalConfigApiGetGenericRequestApprovalConfigV1\n */\n readonly xSailPointExperimental?: string\n}\n\n/**\n * Request parameters for updateGenericRequestApprovalConfigV1 operation in GenericRequestApprovalConfigApi.\n * @export\n * @interface GenericRequestApprovalConfigApiUpdateGenericRequestApprovalConfigV1Request\n */\nexport interface GenericRequestApprovalConfigApiUpdateGenericRequestApprovalConfigV1Request {\n /**\n * Approval configuration ID.\n * @type {string}\n * @memberof GenericRequestApprovalConfigApiUpdateGenericRequestApprovalConfigV1\n */\n readonly id: string\n\n /**\n * A JSON of updated values [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.\n * @type {Array<JsonPatchOperation>}\n * @memberof GenericRequestApprovalConfigApiUpdateGenericRequestApprovalConfigV1\n */\n readonly jsonPatchOperation: Array<JsonPatchOperation>\n\n /**\n * Use this header to enable this experimental API.\n * @type {string}\n * @memberof GenericRequestApprovalConfigApiUpdateGenericRequestApprovalConfigV1\n */\n readonly xSailPointExperimental?: string\n}\n\n/**\n * GenericRequestApprovalConfigApi - object-oriented interface\n * @export\n * @class GenericRequestApprovalConfigApi\n * @extends {BaseAPI}\n */\nexport class GenericRequestApprovalConfigApi extends BaseAPI {\n /**\n * This API returns the approval configuration for one scope. The scope is identified by `targetType` and, depending on the target type, `targetId` and `sourceId`. The response holds one entry per action that the target type supports. An action with no stored setting is returned as `{}`, which means it inherits the organization-level approval configuration. A scope that has never been configured returns `200` with every action set to `{}`, and the response always carries the `id` to use with the update API. Actions by target type: **RESOURCE**: *ACTIVATE, DEACTIVATE* **SUBTYPE**: *CREATE, DELETE* **SOURCE**: *DELETE* **GLOBAL**: *ACTIVATE, DEACTIVATE* Only resources of the AI agent type support resource-level approval settings; any other resource returns `400`. An unknown source, resource, or subtype returns `400`. When agentic identity provisioning is not enabled for the tenant, this API returns `404`. When this API is not enabled for the tenant, it returns `403`. \n * @summary Get generic request approval config\n * @param {GenericRequestApprovalConfigApiGetGenericRequestApprovalConfigV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n * @memberof GenericRequestApprovalConfigApi\n */\n public getGenericRequestApprovalConfigV1(requestParameters: GenericRequestApprovalConfigApiGetGenericRequestApprovalConfigV1Request, axiosOptions?: RawAxiosRequestConfig) {\n return GenericRequestApprovalConfigApiFp(this.configuration).getGenericRequestApprovalConfigV1(requestParameters.targetType, requestParameters.targetId, requestParameters.sourceId, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Use this API to update the approval configuration of one scope using a JSON Patch payload. Use the `id` returned by the get API. Patchable paths are `/approvalConfig`, which replaces every action at once, and `/approvalConfig/{ACTION}` for each action the scope\\'s target type supports. One request can update several actions. `id`, `targetType`, and `targetId` identify the scope and can\\'t be patched; a patch that targets any other path returns `400`. To return an action to the organization-level approval configuration, `remove` it or `replace` it with `{}`. Each configured action uses one scheme: **APPROVAL**: requires `approvers` and `comments`. `approvers` is a comma-separated list of approver tokens: `sourceOwner`, `manager`, `machineIdentityPrimaryOwner`, `machineIdentitySecondaryOwners`, `machineIdentityAllOwners`, `workgroup:{governanceGroupId}`, and `identity:{identityId}`. For the **SUBTYPE** **DELETE** action, `accountOwner` is also allowed. Tokens without an ID can appear at most once, and IDs must be unique and must exist. `comments` is one of `ALL`, `APPROVAL`, `REJECTION`, or `OFF`. **WORKFLOW**: requires `workflowId`, the UUID of a workflow. The same workflow can\\'t be used for more than one action. When workflow approvals are enabled for the tenant, the workflow must exist, be enabled, and use the trigger for its action (`idn:machine-identity-activate` for ACTIVATE, `idn:machine-identity-deactivate` for DEACTIVATE). The **GLOBAL** scope only accepts the **WORKFLOW** scheme. The ID must be a UUID; any other value returns `400`. When no approval configuration exists for the ID, this API returns `404`. When agentic identity provisioning is not enabled for the tenant, this API returns `404`. When this API is not enabled for the tenant, it returns `403`. \n * @summary Patch generic request approval config\n * @param {GenericRequestApprovalConfigApiUpdateGenericRequestApprovalConfigV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n * @memberof GenericRequestApprovalConfigApi\n */\n public updateGenericRequestApprovalConfigV1(requestParameters: GenericRequestApprovalConfigApiUpdateGenericRequestApprovalConfigV1Request, axiosOptions?: RawAxiosRequestConfig) {\n return GenericRequestApprovalConfigApiFp(this.configuration).updateGenericRequestApprovalConfigV1(requestParameters.id, requestParameters.jsonPatchOperation, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(this.axios, this.basePath));\n }\n}\n\n/**\n * @export\n */\nexport const GetGenericRequestApprovalConfigV1TargetTypeEnum = {\n Resource: 'RESOURCE',\n Subtype: 'SUBTYPE',\n Source: 'SOURCE',\n Global: 'GLOBAL'\n} as const;\nexport type GetGenericRequestApprovalConfigV1TargetTypeEnum = typeof GetGenericRequestApprovalConfigV1TargetTypeEnum[keyof typeof GetGenericRequestApprovalConfigV1TargetTypeEnum];\n\n\n"]}
1
+ {"version":3,"file":"api.js","sourceRoot":"","sources":["../../generic_request_approval_config/api.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKH,gDAAgC;AAChC,yDAAyD;AACzD,aAAa;AACb,mCAA4N;AAE5N,aAAa;AACb,+BAAmG;AAmGtF,QAAA,4CAA4C,GAAG;IACxD,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;CACd,CAAC;AAGE,QAAA,8CAA8C,GAAG;IAC1D,GAAG,EAAE,KAAK;IACV,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,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E,YAAY,CAAC,CAAC,IAAI,CAAC,UAAC,OAAO,IAAK,OAAA,OAAO,CAAC,KAAI,CAAC,KAAK,EAAE,KAAI,CAAC,QAAQ,CAAC,EAAlC,CAAkC,CAAC,CAAC;IACvS,CAAC;IAED;;;;;;;OAOG;IACI,8EAAoC,GAA3C,UAA4C,iBAA6F,EAAE,YAAoC;QAA/K,iBAEC;QADG,OAAO,IAAA,yCAAiC,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC,oCAAoC,CAAC,iBAAiB,CAAC,EAAE,EAAE,iBAAiB,CAAC,kBAAkB,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;IAChR,CAAC;IACL,sCAAC;AAAD,CAAC,AAxBD,CAAqD,cAAO,GAwB3D;AAxBY,0EAA+B;AA0B5C;;GAEG;AACU,QAAA,+CAA+C,GAAG;IAC3D,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;CACV,CAAC","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * SailPoint Identity Security API - Generic Request Approval Config\n * Use these APIs to interact with the SailPoint Identity Security platform to achieve repeatable, automated processes with greater scalability. 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 * \n * @export\n * @interface ArrayInner\n */\nexport interface ArrayInner {\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 * The approval setting for one action. It is either an empty object, which inherits the organization-level approval configuration, an APPROVAL setting with `approvers` and `comments`, or a WORKFLOW setting with `workflowId`.\n * @export\n * @interface GenericRequestApprovalActionConfig\n */\nexport interface GenericRequestApprovalActionConfig {\n /**\n * How the request is approved. Omitted when the action inherits the organization-level configuration.\n * @type {string}\n * @memberof GenericRequestApprovalActionConfig\n */\n 'scheme'?: GenericRequestApprovalActionConfigSchemeEnum;\n /**\n * APPROVAL scheme only. A comma-separated list of approver tokens: `sourceOwner`, `manager`, `machineIdentityPrimaryOwner`, `machineIdentitySecondaryOwners`, `machineIdentityAllOwners`, `workgroup:{governanceGroupId}`, and `identity:{identityId}`. `accountOwner` is also allowed for the SUBTYPE DELETE action.\n * @type {string}\n * @memberof GenericRequestApprovalActionConfig\n */\n 'approvers'?: string;\n /**\n * APPROVAL scheme only. When approvers must comment: on both decisions (ALL), on approval only (APPROVAL), on rejection only (REJECTION), or never (OFF).\n * @type {string}\n * @memberof GenericRequestApprovalActionConfig\n */\n 'comments'?: GenericRequestApprovalActionConfigCommentsEnum;\n /**\n * WORKFLOW scheme only. The ID of the workflow that approves the request.\n * @type {string}\n * @memberof GenericRequestApprovalActionConfig\n */\n 'workflowId'?: string;\n}\n\nexport const GenericRequestApprovalActionConfigSchemeEnum = {\n Approval: 'APPROVAL',\n Workflow: 'WORKFLOW'\n} as const;\n\nexport type GenericRequestApprovalActionConfigSchemeEnum = typeof GenericRequestApprovalActionConfigSchemeEnum[keyof typeof GenericRequestApprovalActionConfigSchemeEnum];\nexport const GenericRequestApprovalActionConfigCommentsEnum = {\n All: 'ALL',\n Approval: 'APPROVAL',\n Rejection: 'REJECTION',\n Off: 'OFF'\n} as const;\n\nexport type GenericRequestApprovalActionConfigCommentsEnum = typeof GenericRequestApprovalActionConfigCommentsEnum[keyof typeof GenericRequestApprovalActionConfigCommentsEnum];\n\n/**\n * The approval configuration for one scope, with one entry per action the scope\\'s target type supports.\n * @export\n * @interface GenericRequestApprovalConfig\n */\nexport interface GenericRequestApprovalConfig {\n /**\n * The approval configuration ID. Use it with the update API.\n * @type {string}\n * @memberof GenericRequestApprovalConfig\n */\n 'id'?: string;\n /**\n * The kind of scope.\n * @type {string}\n * @memberof GenericRequestApprovalConfig\n */\n 'targetType'?: GenericRequestApprovalConfigTargetTypeEnum;\n /**\n * The scope target: the source resource ID for RESOURCE, the subtype ID for SUBTYPE, the source ID for SOURCE, and the tenant ID for GLOBAL.\n * @type {string}\n * @memberof GenericRequestApprovalConfig\n */\n 'targetId'?: string;\n /**\n * The approval setting for each action, keyed by action name (ACTIVATE, DEACTIVATE, CREATE, or DELETE, depending on the target type). An empty object means the action inherits the organization-level approval configuration.\n * @type {{ [key: string]: GenericRequestApprovalActionConfig; }}\n * @memberof GenericRequestApprovalConfig\n */\n 'approvalConfig'?: { [key: string]: GenericRequestApprovalActionConfig; };\n}\n\nexport const GenericRequestApprovalConfigTargetTypeEnum = {\n Resource: 'RESOURCE',\n Subtype: 'SUBTYPE',\n Source: 'SOURCE',\n Global: 'GLOBAL'\n} as const;\n\nexport type GenericRequestApprovalConfigTargetTypeEnum = typeof GenericRequestApprovalConfigTargetTypeEnum[keyof typeof GenericRequestApprovalConfigTargetTypeEnum];\n\n/**\n * \n * @export\n * @interface GetGenericRequestApprovalConfigV1401Response\n */\nexport interface GetGenericRequestApprovalConfigV1401Response {\n /**\n * A message describing the error\n * @type {any}\n * @memberof GetGenericRequestApprovalConfigV1401Response\n */\n 'error'?: any;\n}\n/**\n * \n * @export\n * @interface GetGenericRequestApprovalConfigV1429Response\n */\nexport interface GetGenericRequestApprovalConfigV1429Response {\n /**\n * A message describing the error\n * @type {any}\n * @memberof GetGenericRequestApprovalConfigV1429Response\n */\n 'message'?: any;\n}\n/**\n * A JSONPatch Operation as defined by [RFC 6902 - JSON Patch](https://tools.ietf.org/html/rfc6902)\n * @export\n * @interface JsonPatchOperation\n */\nexport interface JsonPatchOperation {\n /**\n * The operation to be performed\n * @type {string}\n * @memberof JsonPatchOperation\n */\n 'op': JsonPatchOperationOpEnum;\n /**\n * A string JSON Pointer representing the target path to an element to be affected by the operation\n * @type {string}\n * @memberof JsonPatchOperation\n */\n 'path': string;\n /**\n * \n * @type {JsonPatchOperationValue}\n * @memberof JsonPatchOperation\n */\n 'value'?: JsonPatchOperationValue;\n}\n\nexport const JsonPatchOperationOpEnum = {\n Add: 'add',\n Remove: 'remove',\n Replace: 'replace',\n Move: 'move',\n Copy: 'copy',\n Test: 'test'\n} as const;\n\nexport type JsonPatchOperationOpEnum = typeof JsonPatchOperationOpEnum[keyof typeof JsonPatchOperationOpEnum];\n\n/**\n * @type JsonPatchOperationValue\n * The value to be used for the operation, required for \\\"add\\\" and \\\"replace\\\" operations\n * @export\n */\nexport type JsonPatchOperationValue = Array<ArrayInner> | boolean | number | object | string;\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 * GenericRequestApprovalConfigApi - axios parameter creator\n * @export\n */\nexport const GenericRequestApprovalConfigApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * This API returns the approval configuration for one scope. The scope is identified by `targetType` and, depending on the target type, `targetId` and `sourceId`. The response holds one entry per action that the target type supports. An action with no stored setting is returned as `{}`, which means it inherits the organization-level approval configuration. A scope that has never been configured returns `200` with every action set to `{}`, and the response always carries the `id` to use with the update API. Actions by target type: **RESOURCE**: *ACTIVATE, DEACTIVATE* **SUBTYPE**: *CREATE, DELETE* **SOURCE**: *DELETE* **GLOBAL**: *ACTIVATE, DEACTIVATE* Only resources of the AI agent type support resource-level approval settings; any other resource returns `400`. An unknown source, resource, or subtype returns `400`. When agentic identity provisioning is not enabled for the tenant, this API returns `404`. When this API is not enabled for the tenant, it returns `403`. \n * @summary Get generic request approval config\n * @param {GetGenericRequestApprovalConfigV1TargetTypeEnum} targetType The kind of scope to read.\n * @param {string} [targetId] The scope target. Required for **RESOURCE** (the source resource ID) and **SUBTYPE** (the subtype ID). For **SOURCE** the target is the &#x60;sourceId&#x60;, and for **GLOBAL** it is the tenant; when you supply it for those target types, it must match that value or the request returns &#x60;400&#x60;.\n * @param {string} [sourceId] The source that owns the scope. Required for **RESOURCE**, **SUBTYPE**, and **SOURCE**. Must be omitted for **GLOBAL**.\n * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n getGenericRequestApprovalConfigV1: async (targetType: GetGenericRequestApprovalConfigV1TargetTypeEnum, targetId?: string, sourceId?: string, xSailPointExperimental?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'targetType' is not null or undefined\n assertParamExists('getGenericRequestApprovalConfigV1', 'targetType', targetType)\n if (xSailPointExperimental === undefined) {\n xSailPointExperimental = 'true';\n }\n \n const localVarPath = `/generic-request-approval-config/v1`;\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 (targetType !== undefined) {\n localVarQueryParameter['targetType'] = targetType;\n }\n\n if (targetId !== undefined) {\n localVarQueryParameter['targetId'] = targetId;\n }\n\n if (sourceId !== undefined) {\n localVarQueryParameter['sourceId'] = sourceId;\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 * Use this API to update the approval configuration of one scope using a JSON Patch payload. Use the `id` returned by the get API. Patchable paths are `/approvalConfig`, which replaces every action at once, and `/approvalConfig/{ACTION}` for each action the scope\\'s target type supports. One request can update several actions. `id`, `targetType`, and `targetId` identify the scope and can\\'t be patched; a patch that targets any other path returns `400`. To return an action to the organization-level approval configuration, `remove` it or `replace` it with `{}`. Each configured action uses one scheme: **APPROVAL**: requires `approvers` and `comments`. `approvers` is a comma-separated list of approver tokens: `sourceOwner`, `manager`, `machineIdentityPrimaryOwner`, `machineIdentitySecondaryOwners`, `machineIdentityAllOwners`, `workgroup:{governanceGroupId}`, and `identity:{identityId}`. For the **SUBTYPE** **DELETE** action, `accountOwner` is also allowed. Tokens without an ID can appear at most once, and IDs must be unique and must exist. `comments` is one of `ALL`, `APPROVAL`, `REJECTION`, or `OFF`. **WORKFLOW**: requires `workflowId`, the UUID of a workflow. The same workflow can\\'t be used for more than one action. When workflow approvals are enabled for the tenant, the workflow must exist, be enabled, and use the trigger for its action (`idn:machine-identity-activate` for ACTIVATE, `idn:machine-identity-deactivate` for DEACTIVATE). The **GLOBAL** scope only accepts the **WORKFLOW** scheme. The ID must be a UUID; any other value returns `400`. When no approval configuration exists for the ID, this API returns `404`. When agentic identity provisioning is not enabled for the tenant, this API returns `404`. When this API is not enabled for the tenant, it returns `403`. \n * @summary Patch generic request approval config\n * @param {string} id Approval configuration ID.\n * @param {Array<JsonPatchOperation>} jsonPatchOperation A JSON of updated values [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.\n * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n updateGenericRequestApprovalConfigV1: async (id: string, jsonPatchOperation: Array<JsonPatchOperation>, xSailPointExperimental?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'id' is not null or undefined\n assertParamExists('updateGenericRequestApprovalConfigV1', 'id', id)\n // verify required parameter 'jsonPatchOperation' is not null or undefined\n assertParamExists('updateGenericRequestApprovalConfigV1', 'jsonPatchOperation', jsonPatchOperation)\n if (xSailPointExperimental === undefined) {\n xSailPointExperimental = 'true';\n }\n \n const localVarPath = `/generic-request-approval-config/v1/{id}`\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: 'PATCH', ...baseOptions, ...axiosOptions};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n localVarHeaderParameter['Content-Type'] = 'application/json-patch+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(jsonPatchOperation, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n axiosOptions: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * GenericRequestApprovalConfigApi - functional programming interface\n * @export\n */\nexport const GenericRequestApprovalConfigApiFp = function(configuration?: Configuration) {\n const localVarAxiosParamCreator = GenericRequestApprovalConfigApiAxiosParamCreator(configuration)\n return {\n /**\n * This API returns the approval configuration for one scope. The scope is identified by `targetType` and, depending on the target type, `targetId` and `sourceId`. The response holds one entry per action that the target type supports. An action with no stored setting is returned as `{}`, which means it inherits the organization-level approval configuration. A scope that has never been configured returns `200` with every action set to `{}`, and the response always carries the `id` to use with the update API. Actions by target type: **RESOURCE**: *ACTIVATE, DEACTIVATE* **SUBTYPE**: *CREATE, DELETE* **SOURCE**: *DELETE* **GLOBAL**: *ACTIVATE, DEACTIVATE* Only resources of the AI agent type support resource-level approval settings; any other resource returns `400`. An unknown source, resource, or subtype returns `400`. When agentic identity provisioning is not enabled for the tenant, this API returns `404`. When this API is not enabled for the tenant, it returns `403`. \n * @summary Get generic request approval config\n * @param {GetGenericRequestApprovalConfigV1TargetTypeEnum} targetType The kind of scope to read.\n * @param {string} [targetId] The scope target. Required for **RESOURCE** (the source resource ID) and **SUBTYPE** (the subtype ID). For **SOURCE** the target is the &#x60;sourceId&#x60;, and for **GLOBAL** it is the tenant; when you supply it for those target types, it must match that value or the request returns &#x60;400&#x60;.\n * @param {string} [sourceId] The source that owns the scope. Required for **RESOURCE**, **SUBTYPE**, and **SOURCE**. Must be omitted for **GLOBAL**.\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 getGenericRequestApprovalConfigV1(targetType: GetGenericRequestApprovalConfigV1TargetTypeEnum, targetId?: string, sourceId?: string, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GenericRequestApprovalConfig>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.getGenericRequestApprovalConfigV1(targetType, targetId, sourceId, xSailPointExperimental, axiosOptions);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['GenericRequestApprovalConfigApi.getGenericRequestApprovalConfigV1']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Use this API to update the approval configuration of one scope using a JSON Patch payload. Use the `id` returned by the get API. Patchable paths are `/approvalConfig`, which replaces every action at once, and `/approvalConfig/{ACTION}` for each action the scope\\'s target type supports. One request can update several actions. `id`, `targetType`, and `targetId` identify the scope and can\\'t be patched; a patch that targets any other path returns `400`. To return an action to the organization-level approval configuration, `remove` it or `replace` it with `{}`. Each configured action uses one scheme: **APPROVAL**: requires `approvers` and `comments`. `approvers` is a comma-separated list of approver tokens: `sourceOwner`, `manager`, `machineIdentityPrimaryOwner`, `machineIdentitySecondaryOwners`, `machineIdentityAllOwners`, `workgroup:{governanceGroupId}`, and `identity:{identityId}`. For the **SUBTYPE** **DELETE** action, `accountOwner` is also allowed. Tokens without an ID can appear at most once, and IDs must be unique and must exist. `comments` is one of `ALL`, `APPROVAL`, `REJECTION`, or `OFF`. **WORKFLOW**: requires `workflowId`, the UUID of a workflow. The same workflow can\\'t be used for more than one action. When workflow approvals are enabled for the tenant, the workflow must exist, be enabled, and use the trigger for its action (`idn:machine-identity-activate` for ACTIVATE, `idn:machine-identity-deactivate` for DEACTIVATE). The **GLOBAL** scope only accepts the **WORKFLOW** scheme. The ID must be a UUID; any other value returns `400`. When no approval configuration exists for the ID, this API returns `404`. When agentic identity provisioning is not enabled for the tenant, this API returns `404`. When this API is not enabled for the tenant, it returns `403`. \n * @summary Patch generic request approval config\n * @param {string} id Approval configuration ID.\n * @param {Array<JsonPatchOperation>} jsonPatchOperation A JSON of updated values [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.\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 updateGenericRequestApprovalConfigV1(id: string, jsonPatchOperation: Array<JsonPatchOperation>, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GenericRequestApprovalConfig>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.updateGenericRequestApprovalConfigV1(id, jsonPatchOperation, xSailPointExperimental, axiosOptions);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['GenericRequestApprovalConfigApi.updateGenericRequestApprovalConfigV1']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n }\n};\n\n/**\n * GenericRequestApprovalConfigApi - factory interface\n * @export\n */\nexport const GenericRequestApprovalConfigApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n const localVarFp = GenericRequestApprovalConfigApiFp(configuration)\n return {\n /**\n * This API returns the approval configuration for one scope. The scope is identified by `targetType` and, depending on the target type, `targetId` and `sourceId`. The response holds one entry per action that the target type supports. An action with no stored setting is returned as `{}`, which means it inherits the organization-level approval configuration. A scope that has never been configured returns `200` with every action set to `{}`, and the response always carries the `id` to use with the update API. Actions by target type: **RESOURCE**: *ACTIVATE, DEACTIVATE* **SUBTYPE**: *CREATE, DELETE* **SOURCE**: *DELETE* **GLOBAL**: *ACTIVATE, DEACTIVATE* Only resources of the AI agent type support resource-level approval settings; any other resource returns `400`. An unknown source, resource, or subtype returns `400`. When agentic identity provisioning is not enabled for the tenant, this API returns `404`. When this API is not enabled for the tenant, it returns `403`. \n * @summary Get generic request approval config\n * @param {GenericRequestApprovalConfigApiGetGenericRequestApprovalConfigV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n getGenericRequestApprovalConfigV1(requestParameters: GenericRequestApprovalConfigApiGetGenericRequestApprovalConfigV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<GenericRequestApprovalConfig> {\n return localVarFp.getGenericRequestApprovalConfigV1(requestParameters.targetType, requestParameters.targetId, requestParameters.sourceId, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));\n },\n /**\n * Use this API to update the approval configuration of one scope using a JSON Patch payload. Use the `id` returned by the get API. Patchable paths are `/approvalConfig`, which replaces every action at once, and `/approvalConfig/{ACTION}` for each action the scope\\'s target type supports. One request can update several actions. `id`, `targetType`, and `targetId` identify the scope and can\\'t be patched; a patch that targets any other path returns `400`. To return an action to the organization-level approval configuration, `remove` it or `replace` it with `{}`. Each configured action uses one scheme: **APPROVAL**: requires `approvers` and `comments`. `approvers` is a comma-separated list of approver tokens: `sourceOwner`, `manager`, `machineIdentityPrimaryOwner`, `machineIdentitySecondaryOwners`, `machineIdentityAllOwners`, `workgroup:{governanceGroupId}`, and `identity:{identityId}`. For the **SUBTYPE** **DELETE** action, `accountOwner` is also allowed. Tokens without an ID can appear at most once, and IDs must be unique and must exist. `comments` is one of `ALL`, `APPROVAL`, `REJECTION`, or `OFF`. **WORKFLOW**: requires `workflowId`, the UUID of a workflow. The same workflow can\\'t be used for more than one action. When workflow approvals are enabled for the tenant, the workflow must exist, be enabled, and use the trigger for its action (`idn:machine-identity-activate` for ACTIVATE, `idn:machine-identity-deactivate` for DEACTIVATE). The **GLOBAL** scope only accepts the **WORKFLOW** scheme. The ID must be a UUID; any other value returns `400`. When no approval configuration exists for the ID, this API returns `404`. When agentic identity provisioning is not enabled for the tenant, this API returns `404`. When this API is not enabled for the tenant, it returns `403`. \n * @summary Patch generic request approval config\n * @param {GenericRequestApprovalConfigApiUpdateGenericRequestApprovalConfigV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n updateGenericRequestApprovalConfigV1(requestParameters: GenericRequestApprovalConfigApiUpdateGenericRequestApprovalConfigV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<GenericRequestApprovalConfig> {\n return localVarFp.updateGenericRequestApprovalConfigV1(requestParameters.id, requestParameters.jsonPatchOperation, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * Request parameters for getGenericRequestApprovalConfigV1 operation in GenericRequestApprovalConfigApi.\n * @export\n * @interface GenericRequestApprovalConfigApiGetGenericRequestApprovalConfigV1Request\n */\nexport interface GenericRequestApprovalConfigApiGetGenericRequestApprovalConfigV1Request {\n /**\n * The kind of scope to read.\n * @type {'RESOURCE' | 'SUBTYPE' | 'SOURCE' | 'GLOBAL'}\n * @memberof GenericRequestApprovalConfigApiGetGenericRequestApprovalConfigV1\n */\n readonly targetType: GetGenericRequestApprovalConfigV1TargetTypeEnum\n\n /**\n * The scope target. Required for **RESOURCE** (the source resource ID) and **SUBTYPE** (the subtype ID). For **SOURCE** the target is the &#x60;sourceId&#x60;, and for **GLOBAL** it is the tenant; when you supply it for those target types, it must match that value or the request returns &#x60;400&#x60;.\n * @type {string}\n * @memberof GenericRequestApprovalConfigApiGetGenericRequestApprovalConfigV1\n */\n readonly targetId?: string\n\n /**\n * The source that owns the scope. Required for **RESOURCE**, **SUBTYPE**, and **SOURCE**. Must be omitted for **GLOBAL**.\n * @type {string}\n * @memberof GenericRequestApprovalConfigApiGetGenericRequestApprovalConfigV1\n */\n readonly sourceId?: string\n\n /**\n * Use this header to enable this experimental API.\n * @type {string}\n * @memberof GenericRequestApprovalConfigApiGetGenericRequestApprovalConfigV1\n */\n readonly xSailPointExperimental?: string\n}\n\n/**\n * Request parameters for updateGenericRequestApprovalConfigV1 operation in GenericRequestApprovalConfigApi.\n * @export\n * @interface GenericRequestApprovalConfigApiUpdateGenericRequestApprovalConfigV1Request\n */\nexport interface GenericRequestApprovalConfigApiUpdateGenericRequestApprovalConfigV1Request {\n /**\n * Approval configuration ID.\n * @type {string}\n * @memberof GenericRequestApprovalConfigApiUpdateGenericRequestApprovalConfigV1\n */\n readonly id: string\n\n /**\n * A JSON of updated values [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.\n * @type {Array<JsonPatchOperation>}\n * @memberof GenericRequestApprovalConfigApiUpdateGenericRequestApprovalConfigV1\n */\n readonly jsonPatchOperation: Array<JsonPatchOperation>\n\n /**\n * Use this header to enable this experimental API.\n * @type {string}\n * @memberof GenericRequestApprovalConfigApiUpdateGenericRequestApprovalConfigV1\n */\n readonly xSailPointExperimental?: string\n}\n\n/**\n * GenericRequestApprovalConfigApi - object-oriented interface\n * @export\n * @class GenericRequestApprovalConfigApi\n * @extends {BaseAPI}\n */\nexport class GenericRequestApprovalConfigApi extends BaseAPI {\n /**\n * This API returns the approval configuration for one scope. The scope is identified by `targetType` and, depending on the target type, `targetId` and `sourceId`. The response holds one entry per action that the target type supports. An action with no stored setting is returned as `{}`, which means it inherits the organization-level approval configuration. A scope that has never been configured returns `200` with every action set to `{}`, and the response always carries the `id` to use with the update API. Actions by target type: **RESOURCE**: *ACTIVATE, DEACTIVATE* **SUBTYPE**: *CREATE, DELETE* **SOURCE**: *DELETE* **GLOBAL**: *ACTIVATE, DEACTIVATE* Only resources of the AI agent type support resource-level approval settings; any other resource returns `400`. An unknown source, resource, or subtype returns `400`. When agentic identity provisioning is not enabled for the tenant, this API returns `404`. When this API is not enabled for the tenant, it returns `403`. \n * @summary Get generic request approval config\n * @param {GenericRequestApprovalConfigApiGetGenericRequestApprovalConfigV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n * @memberof GenericRequestApprovalConfigApi\n */\n public getGenericRequestApprovalConfigV1(requestParameters: GenericRequestApprovalConfigApiGetGenericRequestApprovalConfigV1Request, axiosOptions?: RawAxiosRequestConfig) {\n return GenericRequestApprovalConfigApiFp(this.configuration).getGenericRequestApprovalConfigV1(requestParameters.targetType, requestParameters.targetId, requestParameters.sourceId, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Use this API to update the approval configuration of one scope using a JSON Patch payload. Use the `id` returned by the get API. Patchable paths are `/approvalConfig`, which replaces every action at once, and `/approvalConfig/{ACTION}` for each action the scope\\'s target type supports. One request can update several actions. `id`, `targetType`, and `targetId` identify the scope and can\\'t be patched; a patch that targets any other path returns `400`. To return an action to the organization-level approval configuration, `remove` it or `replace` it with `{}`. Each configured action uses one scheme: **APPROVAL**: requires `approvers` and `comments`. `approvers` is a comma-separated list of approver tokens: `sourceOwner`, `manager`, `machineIdentityPrimaryOwner`, `machineIdentitySecondaryOwners`, `machineIdentityAllOwners`, `workgroup:{governanceGroupId}`, and `identity:{identityId}`. For the **SUBTYPE** **DELETE** action, `accountOwner` is also allowed. Tokens without an ID can appear at most once, and IDs must be unique and must exist. `comments` is one of `ALL`, `APPROVAL`, `REJECTION`, or `OFF`. **WORKFLOW**: requires `workflowId`, the UUID of a workflow. The same workflow can\\'t be used for more than one action. When workflow approvals are enabled for the tenant, the workflow must exist, be enabled, and use the trigger for its action (`idn:machine-identity-activate` for ACTIVATE, `idn:machine-identity-deactivate` for DEACTIVATE). The **GLOBAL** scope only accepts the **WORKFLOW** scheme. The ID must be a UUID; any other value returns `400`. When no approval configuration exists for the ID, this API returns `404`. When agentic identity provisioning is not enabled for the tenant, this API returns `404`. When this API is not enabled for the tenant, it returns `403`. \n * @summary Patch generic request approval config\n * @param {GenericRequestApprovalConfigApiUpdateGenericRequestApprovalConfigV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n * @memberof GenericRequestApprovalConfigApi\n */\n public updateGenericRequestApprovalConfigV1(requestParameters: GenericRequestApprovalConfigApiUpdateGenericRequestApprovalConfigV1Request, axiosOptions?: RawAxiosRequestConfig) {\n return GenericRequestApprovalConfigApiFp(this.configuration).updateGenericRequestApprovalConfigV1(requestParameters.id, requestParameters.jsonPatchOperation, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(this.axios, this.basePath));\n }\n}\n\n/**\n * @export\n */\nexport const GetGenericRequestApprovalConfigV1TargetTypeEnum = {\n Resource: 'RESOURCE',\n Subtype: 'SUBTYPE',\n Source: 'SOURCE',\n Global: 'GLOBAL'\n} as const;\nexport type GetGenericRequestApprovalConfigV1TargetTypeEnum = typeof GetGenericRequestApprovalConfigV1TargetTypeEnum[keyof typeof GetGenericRequestApprovalConfigV1TargetTypeEnum];\n\n\n"]}
@@ -1,6 +1,6 @@
1
1
  /**
2
- * Identity Security Cloud API - Generic Request Approval Config
3
- * Use these APIs to interact with the Identity Security Cloud platform to achieve repeatable, automated processes with greater scalability. We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs.
2
+ * SailPoint Identity Security API - Generic Request Approval Config
3
+ * Use these APIs to interact with the SailPoint Identity Security platform to achieve repeatable, automated processes with greater scalability. 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
  *
@@ -2,8 +2,8 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Identity Security Cloud API - Generic Request Approval Config
6
- * Use these APIs to interact with the Identity Security Cloud platform to achieve repeatable, automated processes with greater scalability. We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs.
5
+ * SailPoint Identity Security API - Generic Request Approval Config
6
+ * Use these APIs to interact with the SailPoint Identity Security platform to achieve repeatable, automated processes with greater scalability. 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":["../../generic_request_approval_config/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 * Identity Security Cloud API - Generic Request Approval Config\n * Use these APIs to interact with the Identity Security Cloud platform to achieve repeatable, automated processes with greater scalability. 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
+ {"version":3,"file":"base.js","sourceRoot":"","sources":["../../generic_request_approval_config/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 - Generic Request Approval Config\n * Use these APIs to interact with the SailPoint Identity Security platform to achieve repeatable, automated processes with greater scalability. 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
- * Identity Security Cloud API - Generic Request Approval Config
3
- * Use these APIs to interact with the Identity Security Cloud platform to achieve repeatable, automated processes with greater scalability. We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs.
2
+ * SailPoint Identity Security API - Generic Request Approval Config
3
+ * Use these APIs to interact with the SailPoint Identity Security platform to achieve repeatable, automated processes with greater scalability. 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
  *
@@ -2,8 +2,8 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Identity Security Cloud API - Generic Request Approval Config
6
- * Use these APIs to interact with the Identity Security Cloud platform to achieve repeatable, automated processes with greater scalability. We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs.
5
+ * SailPoint Identity Security API - Generic Request Approval Config
6
+ * Use these APIs to interact with the SailPoint Identity Security platform to achieve repeatable, automated processes with greater scalability. 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":"common.js","sourceRoot":"","sources":["../../generic_request_approval_config/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;I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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 * Identity Security Cloud API - Generic Request Approval Config\n * Use these APIs to interact with the Identity Security Cloud platform to achieve repeatable, automated processes with greater scalability. 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":["../../generic_request_approval_config/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,SAA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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 - Generic Request Approval Config\n * Use these APIs to interact with the SailPoint Identity Security platform to achieve repeatable, automated processes with greater scalability. 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
- * Identity Security Cloud API - Generic Request Approval Config
3
- * Use these APIs to interact with the Identity Security Cloud platform to achieve repeatable, automated processes with greater scalability. We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs.
2
+ * SailPoint Identity Security API - Generic Request Approval Config
3
+ * Use these APIs to interact with the SailPoint Identity Security platform to achieve repeatable, automated processes with greater scalability. 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
  *
@@ -2,8 +2,8 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Identity Security Cloud API - Generic Request Approval Config
6
- * Use these APIs to interact with the Identity Security Cloud platform to achieve repeatable, automated processes with greater scalability. We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs.
5
+ * SailPoint Identity Security API - Generic Request Approval Config
6
+ * Use these APIs to interact with the SailPoint Identity Security platform to achieve repeatable, automated processes with greater scalability. 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":["../../generic_request_approval_config/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 * Identity Security Cloud API - Generic Request Approval Config\n * Use these APIs to interact with the Identity Security Cloud platform to achieve repeatable, automated processes with greater scalability. 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
+ {"version":3,"file":"configuration.js","sourceRoot":"","sources":["../../generic_request_approval_config/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 - Generic Request Approval Config\n * Use these APIs to interact with the SailPoint Identity Security platform to achieve repeatable, automated processes with greater scalability. 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
- * Identity Security Cloud API - Generic Request Approval Config
3
- * Use these APIs to interact with the Identity Security Cloud platform to achieve repeatable, automated processes with greater scalability. We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs.
2
+ * SailPoint Identity Security API - Generic Request Approval Config
3
+ * Use these APIs to interact with the SailPoint Identity Security platform to achieve repeatable, automated processes with greater scalability. 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
  *
@@ -2,8 +2,8 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Identity Security Cloud API - Generic Request Approval Config
6
- * Use these APIs to interact with the Identity Security Cloud platform to achieve repeatable, automated processes with greater scalability. We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs.
5
+ * SailPoint Identity Security API - Generic Request Approval Config
6
+ * Use these APIs to interact with the SailPoint Identity Security platform to achieve repeatable, automated processes with greater scalability. 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":["../../generic_request_approval_config/index.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;AAGH,wCAAsB;AACtB,mDAAiC","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * Identity Security Cloud API - Generic Request Approval Config\n * Use these APIs to interact with the Identity Security Cloud platform to achieve repeatable, automated processes with greater scalability. 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"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../generic_request_approval_config/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 - Generic Request Approval Config\n * Use these APIs to interact with the SailPoint Identity Security platform to achieve repeatable, automated processes with greater scalability. 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/index.d.ts CHANGED
@@ -90,6 +90,7 @@ import { PrivilegeCriteriaConfigurationApi as _PrivilegeCriteriaConfigurationApi
90
90
  import { PublicIdentitiesApi as _PublicIdentitiesApi } from "./public_identities/api";
91
91
  import { PublicIdentitiesConfigApi as _PublicIdentitiesConfigApi } from "./public_identities_config/api";
92
92
  import { PublicMachineIdentitiesApi as _PublicMachineIdentitiesApi } from "./public_machine_identities/api";
93
+ import { ReminderEscalationsApi as _ReminderEscalationsApi } from "./reminder_escalations/api";
93
94
  import { ReportsDataExtractionApi as _ReportsDataExtractionApi } from "./reports_data_extraction/api";
94
95
  import { RequestableObjectsApi as _RequestableObjectsApi } from "./requestable_objects/api";
95
96
  import { RoleInsightsApi as _RoleInsightsApi } from "./role_insights/api";
@@ -118,6 +119,7 @@ import { TenantContextApi as _TenantContextApi } from "./tenant_context/api";
118
119
  import { TransformsApi as _TransformsApi } from "./transforms/api";
119
120
  import { TriggersApi as _TriggersApi } from "./triggers/api";
120
121
  import { UIMetadataApi as _UIMetadataApi } from "./ui_metadata/api";
122
+ import { UIPluginsApi as _UIPluginsApi } from "./ui_plugins/api";
121
123
  import { WorkItemsApi as _WorkItemsApi } from "./work_items/api";
122
124
  import { WorkReassignmentApi as _WorkReassignmentApi } from "./work_reassignment/api";
123
125
  import { WorkflowsApi as _WorkflowsApi } from "./workflows/api";
@@ -213,6 +215,7 @@ export { _PrivilegeCriteriaConfigurationApi as PrivilegeCriteriaConfigurationApi
213
215
  export { _PublicIdentitiesApi as PublicIdentitiesApi };
214
216
  export { _PublicIdentitiesConfigApi as PublicIdentitiesConfigApi };
215
217
  export { _PublicMachineIdentitiesApi as PublicMachineIdentitiesApi };
218
+ export { _ReminderEscalationsApi as ReminderEscalationsApi };
216
219
  export { _ReportsDataExtractionApi as ReportsDataExtractionApi };
217
220
  export { _RequestableObjectsApi as RequestableObjectsApi };
218
221
  export { _RoleInsightsApi as RoleInsightsApi };
@@ -241,6 +244,7 @@ export { _TenantContextApi as TenantContextApi };
241
244
  export { _TransformsApi as TransformsApi };
242
245
  export { _TriggersApi as TriggersApi };
243
246
  export { _UIMetadataApi as UIMetadataApi };
247
+ export { _UIPluginsApi as UIPluginsApi };
244
248
  export { _WorkItemsApi as WorkItemsApi };
245
249
  export { _WorkReassignmentApi as WorkReassignmentApi };
246
250
  export { _WorkflowsApi as WorkflowsApi };
@@ -348,6 +352,7 @@ export declare const SailPoint: {
348
352
  PublicIdentitiesApi: typeof _PublicIdentitiesApi;
349
353
  PublicIdentitiesConfigApi: typeof _PublicIdentitiesConfigApi;
350
354
  PublicMachineIdentitiesApi: typeof _PublicMachineIdentitiesApi;
355
+ ReminderEscalationsApi: typeof _ReminderEscalationsApi;
351
356
  ReportsDataExtractionApi: typeof _ReportsDataExtractionApi;
352
357
  RequestableObjectsApi: typeof _RequestableObjectsApi;
353
358
  RoleInsightsApi: typeof _RoleInsightsApi;
@@ -376,6 +381,7 @@ export declare const SailPoint: {
376
381
  TransformsApi: typeof _TransformsApi;
377
382
  TriggersApi: typeof _TriggersApi;
378
383
  UIMetadataApi: typeof _UIMetadataApi;
384
+ UIPluginsApi: typeof _UIPluginsApi;
379
385
  WorkItemsApi: typeof _WorkItemsApi;
380
386
  WorkReassignmentApi: typeof _WorkReassignmentApi;
381
387
  WorkflowsApi: typeof _WorkflowsApi;