@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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api.js","sourceRoot":"","sources":["../../reminder_escalations/api.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKH,gDAAgC;AAChC,yDAAyD;AACzD,aAAa;AACb,mCAA4N;AAE5N,aAAa;AACb,+BAAmG;AAsFnG;;;;GAIG;AAEU,QAAA,YAAY,GAAG;IACxB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;CACZ,CAAC;AAmIE,QAAA,sCAAsC,GAAG;IAClD,SAAS,EAAE,YAAY;IACvB,QAAQ,EAAE,UAAU;IACpB,eAAe,EAAE,kBAAkB;IACnC,gBAAgB,EAAE,mBAAmB;IACrC,WAAW,EAAE,cAAc;CACrB,CAAC;AAsDE,QAAA,kDAAkD,GAAG;IAC9D,mBAAmB,EAAE,uBAAuB;IAC5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AAlC,CAAkC,CAAC,CAAC;IACtS,CAAC;IACL,6BAAC;AAAD,CAAC,AAhDD,CAA4C,cAAO,GAgDlD;AAhDY,wDAAsB;AAkDnC;;GAEG;AACU,QAAA,0DAA0D,GAAG;IACtE,mBAAmB,EAAE,uBAAuB;IAC5C,aAAa,EAAE,eAAe;CACxB,CAAC;AAEX;;GAEG;AACU,QAAA,uDAAuD,GAAG;IACnE,mBAAmB,EAAE,uBAAuB;IAC5C,aAAa,EAAE,eAAe;CACxB,CAAC;AAEX;;GAEG;AACU,QAAA,uDAAuD,GAAG;IACnE,mBAAmB,EAAE,uBAAuB;IAC5C,aAAa,EAAE,eAAe;CACxB,CAAC","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * SailPoint Identity Security API - Reminder Escalations\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 CreateReminderEscalationTenantConfigV1401Response\n */\nexport interface CreateReminderEscalationTenantConfigV1401Response {\n /**\n * A message describing the error\n * @type {any}\n * @memberof CreateReminderEscalationTenantConfigV1401Response\n */\n 'error'?: any;\n}\n/**\n * \n * @export\n * @interface CreateReminderEscalationTenantConfigV1429Response\n */\nexport interface CreateReminderEscalationTenantConfigV1429Response {\n /**\n * A message describing the error\n * @type {any}\n * @memberof CreateReminderEscalationTenantConfigV1429Response\n */\n 'message'?: any;\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 * 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 * One escalation. Escalations in a ruleset are independent of each other.\n * @export\n * @interface Reminderescalationescalation\n */\nexport interface Reminderescalationescalation {\n /**\n * \n * @type {Reminderescalationtrigger}\n * @memberof Reminderescalationescalation\n */\n 'trigger': Reminderescalationtrigger;\n /**\n * \n * @type {Array<Reminderescalationtarget>}\n * @memberof Reminderescalationescalation\n */\n 'targets': Array<Reminderescalationtarget>;\n /**\n * Notification template key.\n * @type {string}\n * @memberof Reminderescalationescalation\n */\n 'template': string;\n}\n/**\n * Recipients used when an escalation cannot be delivered to its configured targets.\n * @export\n * @interface Reminderescalationfallback\n */\nexport interface Reminderescalationfallback {\n /**\n * Last-resort recipients for this fallback. Each entry resolves to a manager, identity, governance group, entitlement owner, or source owner. At least one target is required.\n * @type {Array<Reminderescalationtarget>}\n * @memberof Reminderescalationfallback\n */\n 'targets': Array<Reminderescalationtarget>;\n /**\n * Notification template key.\n * @type {string}\n * @memberof Reminderescalationfallback\n */\n 'template': string;\n}\n/**\n * One reminder schedule. Exactly one of `beforeDeadLine` or `activeAfter` is set. Every reminder in a ruleset must use the same predicate. \n * @export\n * @interface Reminderescalationreminder\n */\nexport interface Reminderescalationreminder {\n /**\n * Five-field cron expression, evaluated in UTC.\n * @type {string}\n * @memberof Reminderescalationreminder\n */\n 'cron': string;\n /**\n * ISO-8601 duration. The reminder is active when `(deadline - now) <= beforeDeadLine`. A negative duration means the reminder starts after the deadline, for example `-P14D`. Mutually exclusive with `activeAfter`. \n * @type {string}\n * @memberof Reminderescalationreminder\n */\n 'beforeDeadLine'?: string;\n /**\n * ISO-8601 duration. The reminder is active when `(now - workflowStart) >= activeAfter`. Mutually exclusive with `beforeDeadLine`. \n * @type {string}\n * @memberof Reminderescalationreminder\n */\n 'activeAfter'?: string;\n /**\n * Notification template key.\n * @type {string}\n * @memberof Reminderescalationreminder\n */\n 'template': string;\n /**\n * Maximum number of times this reminder fires before it deactivates. Null means the reminder keeps firing while its predicate is active.\n * @type {number}\n * @memberof Reminderescalationreminder\n */\n 'maxFirings'?: number | null;\n}\n/**\n * Reminder and escalation rules for one domain object type. At least one of `reminders`, `escalations`, or `fallback` must be set. \n * @export\n * @interface Reminderescalationruleset\n */\nexport interface Reminderescalationruleset {\n /**\n * Independent reminder schedules. Every entry must use the same predicate, either `beforeDeadLine` or `activeAfter`.\n * @type {Array<Reminderescalationreminder>}\n * @memberof Reminderescalationruleset\n */\n 'reminders'?: Array<Reminderescalationreminder>;\n /**\n * Independent escalations. Each entry has its own trigger.\n * @type {Array<Reminderescalationescalation>}\n * @memberof Reminderescalationruleset\n */\n 'escalations'?: Array<Reminderescalationescalation>;\n /**\n * \n * @type {Reminderescalationfallback}\n * @memberof Reminderescalationruleset\n */\n 'fallback'?: Reminderescalationfallback;\n}\n/**\n * Escalation recipient. `identityId` is required for every `targetType` except `MANAGER_OF`, where it is optional. * `MANAGER_OF` without `identityId` resolves the manager of each current assignee. * `MANAGER_OF` with `identityId` resolves the manager of that identity. \n * @export\n * @interface Reminderescalationtarget\n */\nexport interface Reminderescalationtarget {\n /**\n * Kind of recipient this target resolves to.\n * @type {string}\n * @memberof Reminderescalationtarget\n */\n 'targetType': ReminderescalationtargetTargetTypeEnum;\n /**\n * Identity the target applies to. Empty for a dynamic `MANAGER_OF` target.\n * @type {string}\n * @memberof Reminderescalationtarget\n */\n 'identityId'?: string;\n}\n\nexport const ReminderescalationtargetTargetTypeEnum = {\n ManagerOf: 'MANAGER_OF',\n Identity: 'IDENTITY',\n GovernanceGroup: 'GOVERNANCE_GROUP',\n EntitlementOwner: 'ENTITLEMENT_OWNER',\n SourceOwner: 'SOURCE_OWNER'\n} as const;\n\nexport type ReminderescalationtargetTargetTypeEnum = typeof ReminderescalationtargetTargetTypeEnum[keyof typeof ReminderescalationtargetTargetTypeEnum];\n\n/**\n * Persisted tenant-default reminder and escalation rules for one domain object type. The key is the authenticated tenant plus `domainObjectType`. \n * @export\n * @interface Reminderescalationtenantconfig\n */\nexport interface Reminderescalationtenantconfig {\n /**\n * Tenant id taken from the authenticated request.\n * @type {string}\n * @memberof Reminderescalationtenantconfig\n */\n 'tenantId': string;\n /**\n * Domain object type this default applies to.\n * @type {string}\n * @memberof Reminderescalationtenantconfig\n */\n 'domainObjectType': ReminderescalationtenantconfigDomainObjectTypeEnum;\n /**\n * \n * @type {Reminderescalationruleset}\n * @memberof Reminderescalationtenantconfig\n */\n 'rules': Reminderescalationruleset;\n /**\n * Schema version assigned by the service. Clients do not set this field.\n * @type {number}\n * @memberof Reminderescalationtenantconfig\n */\n 'schemaVersion': number;\n /**\n * Optimistic-lock counter. Echo this value on update.\n * @type {number}\n * @memberof Reminderescalationtenantconfig\n */\n 'revision': number;\n /**\n * When this tenant default was created.\n * @type {string}\n * @memberof Reminderescalationtenantconfig\n */\n 'createdAt': string;\n /**\n * When this tenant default was last updated.\n * @type {string}\n * @memberof Reminderescalationtenantconfig\n */\n 'updatedAt': string;\n}\n\nexport const ReminderescalationtenantconfigDomainObjectTypeEnum = {\n PersonalAccessToken: 'PERSONAL_ACCESS_TOKEN',\n Certification: 'CERTIFICATION'\n} as const;\n\nexport type ReminderescalationtenantconfigDomainObjectTypeEnum = typeof ReminderescalationtenantconfigDomainObjectTypeEnum[keyof typeof ReminderescalationtenantconfigDomainObjectTypeEnum];\n\n/**\n * Body for creating a tenant-default ruleset. The tenant comes from the authenticated request.\n * @export\n * @interface Reminderescalationtenantconfigcreate\n */\nexport interface Reminderescalationtenantconfigcreate {\n /**\n * Domain object type to create a default for.\n * @type {string}\n * @memberof Reminderescalationtenantconfigcreate\n */\n 'domainObjectType': ReminderescalationtenantconfigcreateDomainObjectTypeEnum;\n /**\n * \n * @type {Reminderescalationruleset}\n * @memberof Reminderescalationtenantconfigcreate\n */\n 'rules': Reminderescalationruleset;\n}\n\nexport const ReminderescalationtenantconfigcreateDomainObjectTypeEnum = {\n PersonalAccessToken: 'PERSONAL_ACCESS_TOKEN',\n Certification: 'CERTIFICATION'\n} as const;\n\nexport type ReminderescalationtenantconfigcreateDomainObjectTypeEnum = typeof ReminderescalationtenantconfigcreateDomainObjectTypeEnum[keyof typeof ReminderescalationtenantconfigcreateDomainObjectTypeEnum];\n\n/**\n * Body for replacing a tenant-default ruleset. `domainObjectType` comes from the path. `revision` must match the current stored value. \n * @export\n * @interface Reminderescalationtenantconfigupdate\n */\nexport interface Reminderescalationtenantconfigupdate {\n /**\n * \n * @type {Reminderescalationruleset}\n * @memberof Reminderescalationtenantconfigupdate\n */\n 'rules': Reminderescalationruleset;\n /**\n * Revision from a prior read of this ruleset.\n * @type {number}\n * @memberof Reminderescalationtenantconfigupdate\n */\n 'revision': number;\n}\n/**\n * When an escalation fires. `triggerType` selects which fields apply. * `ON_CRON` requires `cron` and exactly one of `beforeDeadLine` or `activeAfter`. `maxFirings` is optional. * `AFTER_REMINDER_COUNT` requires `count` and `delay`. The ruleset must also contain at least one reminder. \n * @export\n * @interface Reminderescalationtrigger\n */\nexport interface Reminderescalationtrigger {\n /**\n * How this escalation decides when to fire.\n * @type {string}\n * @memberof Reminderescalationtrigger\n */\n 'triggerType': ReminderescalationtriggerTriggerTypeEnum;\n /**\n * Five-field cron expression. Required when `triggerType` is `ON_CRON`.\n * @type {string}\n * @memberof Reminderescalationtrigger\n */\n 'cron'?: string;\n /**\n * ISO-8601 duration relative to the deadline. Used when `triggerType` is `ON_CRON`. Mutually exclusive with `activeAfter`.\n * @type {string}\n * @memberof Reminderescalationtrigger\n */\n 'beforeDeadLine'?: string;\n /**\n * ISO-8601 duration relative to workflow start. Used when `triggerType` is `ON_CRON`. Mutually exclusive with `beforeDeadLine`.\n * @type {string}\n * @memberof Reminderescalationtrigger\n */\n 'activeAfter'?: string;\n /**\n * Maximum number of times an `ON_CRON` escalation fires. Null means no cap.\n * @type {number}\n * @memberof Reminderescalationtrigger\n */\n 'maxFirings'?: number | null;\n /**\n * Reminder count for the current assignee. Required when `triggerType` is `AFTER_REMINDER_COUNT`. Null when `triggerType` is `ON_CRON`.\n * @type {number}\n * @memberof Reminderescalationtrigger\n */\n 'count'?: number | null;\n /**\n * ISO-8601 grace period before an `AFTER_REMINDER_COUNT` escalation fires.\n * @type {string}\n * @memberof Reminderescalationtrigger\n */\n 'delay'?: string;\n}\n\nexport const ReminderescalationtriggerTriggerTypeEnum = {\n OnCron: 'ON_CRON',\n AfterReminderCount: 'AFTER_REMINDER_COUNT'\n} as const;\n\nexport type ReminderescalationtriggerTriggerTypeEnum = typeof ReminderescalationtriggerTriggerTypeEnum[keyof typeof ReminderescalationtriggerTriggerTypeEnum];\n\n\n/**\n * ReminderEscalationsApi - axios parameter creator\n * @export\n */\nexport const ReminderEscalationsApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * Creates the default reminder and escalation ruleset for a domain object type in the authenticated tenant. A tenant has one default per domain object type. Creating the same type again returns 409.\n * @summary Create Reminder Escalation Tenant Config\n * @param {Reminderescalationtenantconfigcreate} reminderescalationtenantconfigcreate \n * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n createReminderEscalationTenantConfigV1: async (reminderescalationtenantconfigcreate: Reminderescalationtenantconfigcreate, xSailPointExperimental?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'reminderescalationtenantconfigcreate' is not null or undefined\n assertParamExists('createReminderEscalationTenantConfigV1', 'reminderescalationtenantconfigcreate', reminderescalationtenantconfigcreate)\n if (xSailPointExperimental === undefined) {\n xSailPointExperimental = 'true';\n }\n \n const localVarPath = `/reminder-escalations/v1/config/tenants`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n localVarHeaderParameter['Content-Type'] = 'application/json';\n\n if (xSailPointExperimental != null) {\n localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);\n }\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};\n localVarRequestOptions.data = serializeDataIfNeeded(reminderescalationtenantconfigcreate, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n axiosOptions: localVarRequestOptions,\n };\n },\n /**\n * Deletes the tenant-default ruleset for a domain object type in the authenticated tenant.\n * @summary Delete Reminder Escalation Tenant Config\n * @param {DeleteReminderEscalationTenantConfigV1DomainObjectTypeEnum} domainObjectType Domain object type key.\n * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n deleteReminderEscalationTenantConfigV1: async (domainObjectType: DeleteReminderEscalationTenantConfigV1DomainObjectTypeEnum, xSailPointExperimental?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'domainObjectType' is not null or undefined\n assertParamExists('deleteReminderEscalationTenantConfigV1', 'domainObjectType', domainObjectType)\n if (xSailPointExperimental === undefined) {\n xSailPointExperimental = 'true';\n }\n \n const localVarPath = `/reminder-escalations/v1/config/tenants/{domainObjectType}`\n .replace(`{${\"domainObjectType\"}}`, encodeURIComponent(String(domainObjectType)));\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: 'DELETE', ...baseOptions, ...axiosOptions};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n if (xSailPointExperimental != null) {\n localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);\n }\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n axiosOptions: localVarRequestOptions,\n };\n },\n /**\n * Returns the tenant-default reminder and escalation ruleset for a domain object type in the authenticated tenant.\n * @summary Get Reminder Escalation Tenant Config\n * @param {GetReminderEscalationTenantConfigV1DomainObjectTypeEnum} domainObjectType Domain object type key.\n * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n getReminderEscalationTenantConfigV1: async (domainObjectType: GetReminderEscalationTenantConfigV1DomainObjectTypeEnum, xSailPointExperimental?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'domainObjectType' is not null or undefined\n assertParamExists('getReminderEscalationTenantConfigV1', 'domainObjectType', domainObjectType)\n if (xSailPointExperimental === undefined) {\n xSailPointExperimental = 'true';\n }\n \n const localVarPath = `/reminder-escalations/v1/config/tenants/{domainObjectType}`\n .replace(`{${\"domainObjectType\"}}`, encodeURIComponent(String(domainObjectType)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n if (xSailPointExperimental != null) {\n localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);\n }\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n axiosOptions: localVarRequestOptions,\n };\n },\n /**\n * Replaces the tenant-default ruleset for a domain object type. Send the `revision` from the latest read. A stale revision returns 409.\n * @summary Update Reminder Escalation Tenant Config\n * @param {PutReminderEscalationTenantConfigV1DomainObjectTypeEnum} domainObjectType Domain object type key.\n * @param {Reminderescalationtenantconfigupdate} reminderescalationtenantconfigupdate \n * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n putReminderEscalationTenantConfigV1: async (domainObjectType: PutReminderEscalationTenantConfigV1DomainObjectTypeEnum, reminderescalationtenantconfigupdate: Reminderescalationtenantconfigupdate, xSailPointExperimental?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'domainObjectType' is not null or undefined\n assertParamExists('putReminderEscalationTenantConfigV1', 'domainObjectType', domainObjectType)\n // verify required parameter 'reminderescalationtenantconfigupdate' is not null or undefined\n assertParamExists('putReminderEscalationTenantConfigV1', 'reminderescalationtenantconfigupdate', reminderescalationtenantconfigupdate)\n if (xSailPointExperimental === undefined) {\n xSailPointExperimental = 'true';\n }\n \n const localVarPath = `/reminder-escalations/v1/config/tenants/{domainObjectType}`\n .replace(`{${\"domainObjectType\"}}`, encodeURIComponent(String(domainObjectType)));\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: 'PUT', ...baseOptions, ...axiosOptions};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n localVarHeaderParameter['Content-Type'] = 'application/json';\n\n if (xSailPointExperimental != null) {\n localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);\n }\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};\n localVarRequestOptions.data = serializeDataIfNeeded(reminderescalationtenantconfigupdate, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n axiosOptions: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * ReminderEscalationsApi - functional programming interface\n * @export\n */\nexport const ReminderEscalationsApiFp = function(configuration?: Configuration) {\n const localVarAxiosParamCreator = ReminderEscalationsApiAxiosParamCreator(configuration)\n return {\n /**\n * Creates the default reminder and escalation ruleset for a domain object type in the authenticated tenant. A tenant has one default per domain object type. Creating the same type again returns 409.\n * @summary Create Reminder Escalation Tenant Config\n * @param {Reminderescalationtenantconfigcreate} reminderescalationtenantconfigcreate \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 createReminderEscalationTenantConfigV1(reminderescalationtenantconfigcreate: Reminderescalationtenantconfigcreate, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Reminderescalationtenantconfig>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.createReminderEscalationTenantConfigV1(reminderescalationtenantconfigcreate, xSailPointExperimental, axiosOptions);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['ReminderEscalationsApi.createReminderEscalationTenantConfigV1']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Deletes the tenant-default ruleset for a domain object type in the authenticated tenant.\n * @summary Delete Reminder Escalation Tenant Config\n * @param {DeleteReminderEscalationTenantConfigV1DomainObjectTypeEnum} domainObjectType Domain object type key.\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 deleteReminderEscalationTenantConfigV1(domainObjectType: DeleteReminderEscalationTenantConfigV1DomainObjectTypeEnum, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.deleteReminderEscalationTenantConfigV1(domainObjectType, xSailPointExperimental, axiosOptions);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['ReminderEscalationsApi.deleteReminderEscalationTenantConfigV1']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Returns the tenant-default reminder and escalation ruleset for a domain object type in the authenticated tenant.\n * @summary Get Reminder Escalation Tenant Config\n * @param {GetReminderEscalationTenantConfigV1DomainObjectTypeEnum} domainObjectType Domain object type key.\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 getReminderEscalationTenantConfigV1(domainObjectType: GetReminderEscalationTenantConfigV1DomainObjectTypeEnum, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Reminderescalationtenantconfig>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.getReminderEscalationTenantConfigV1(domainObjectType, xSailPointExperimental, axiosOptions);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['ReminderEscalationsApi.getReminderEscalationTenantConfigV1']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Replaces the tenant-default ruleset for a domain object type. Send the `revision` from the latest read. A stale revision returns 409.\n * @summary Update Reminder Escalation Tenant Config\n * @param {PutReminderEscalationTenantConfigV1DomainObjectTypeEnum} domainObjectType Domain object type key.\n * @param {Reminderescalationtenantconfigupdate} reminderescalationtenantconfigupdate \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 putReminderEscalationTenantConfigV1(domainObjectType: PutReminderEscalationTenantConfigV1DomainObjectTypeEnum, reminderescalationtenantconfigupdate: Reminderescalationtenantconfigupdate, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Reminderescalationtenantconfig>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.putReminderEscalationTenantConfigV1(domainObjectType, reminderescalationtenantconfigupdate, xSailPointExperimental, axiosOptions);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['ReminderEscalationsApi.putReminderEscalationTenantConfigV1']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n }\n};\n\n/**\n * ReminderEscalationsApi - factory interface\n * @export\n */\nexport const ReminderEscalationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n const localVarFp = ReminderEscalationsApiFp(configuration)\n return {\n /**\n * Creates the default reminder and escalation ruleset for a domain object type in the authenticated tenant. A tenant has one default per domain object type. Creating the same type again returns 409.\n * @summary Create Reminder Escalation Tenant Config\n * @param {ReminderEscalationsApiCreateReminderEscalationTenantConfigV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n createReminderEscalationTenantConfigV1(requestParameters: ReminderEscalationsApiCreateReminderEscalationTenantConfigV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Reminderescalationtenantconfig> {\n return localVarFp.createReminderEscalationTenantConfigV1(requestParameters.reminderescalationtenantconfigcreate, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));\n },\n /**\n * Deletes the tenant-default ruleset for a domain object type in the authenticated tenant.\n * @summary Delete Reminder Escalation Tenant Config\n * @param {ReminderEscalationsApiDeleteReminderEscalationTenantConfigV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n deleteReminderEscalationTenantConfigV1(requestParameters: ReminderEscalationsApiDeleteReminderEscalationTenantConfigV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<void> {\n return localVarFp.deleteReminderEscalationTenantConfigV1(requestParameters.domainObjectType, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));\n },\n /**\n * Returns the tenant-default reminder and escalation ruleset for a domain object type in the authenticated tenant.\n * @summary Get Reminder Escalation Tenant Config\n * @param {ReminderEscalationsApiGetReminderEscalationTenantConfigV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n getReminderEscalationTenantConfigV1(requestParameters: ReminderEscalationsApiGetReminderEscalationTenantConfigV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Reminderescalationtenantconfig> {\n return localVarFp.getReminderEscalationTenantConfigV1(requestParameters.domainObjectType, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));\n },\n /**\n * Replaces the tenant-default ruleset for a domain object type. Send the `revision` from the latest read. A stale revision returns 409.\n * @summary Update Reminder Escalation Tenant Config\n * @param {ReminderEscalationsApiPutReminderEscalationTenantConfigV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n putReminderEscalationTenantConfigV1(requestParameters: ReminderEscalationsApiPutReminderEscalationTenantConfigV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Reminderescalationtenantconfig> {\n return localVarFp.putReminderEscalationTenantConfigV1(requestParameters.domainObjectType, requestParameters.reminderescalationtenantconfigupdate, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * Request parameters for createReminderEscalationTenantConfigV1 operation in ReminderEscalationsApi.\n * @export\n * @interface ReminderEscalationsApiCreateReminderEscalationTenantConfigV1Request\n */\nexport interface ReminderEscalationsApiCreateReminderEscalationTenantConfigV1Request {\n /**\n * \n * @type {Reminderescalationtenantconfigcreate}\n * @memberof ReminderEscalationsApiCreateReminderEscalationTenantConfigV1\n */\n readonly reminderescalationtenantconfigcreate: Reminderescalationtenantconfigcreate\n\n /**\n * Use this header to enable this experimental API.\n * @type {string}\n * @memberof ReminderEscalationsApiCreateReminderEscalationTenantConfigV1\n */\n readonly xSailPointExperimental?: string\n}\n\n/**\n * Request parameters for deleteReminderEscalationTenantConfigV1 operation in ReminderEscalationsApi.\n * @export\n * @interface ReminderEscalationsApiDeleteReminderEscalationTenantConfigV1Request\n */\nexport interface ReminderEscalationsApiDeleteReminderEscalationTenantConfigV1Request {\n /**\n * Domain object type key.\n * @type {'PERSONAL_ACCESS_TOKEN' | 'CERTIFICATION'}\n * @memberof ReminderEscalationsApiDeleteReminderEscalationTenantConfigV1\n */\n readonly domainObjectType: DeleteReminderEscalationTenantConfigV1DomainObjectTypeEnum\n\n /**\n * Use this header to enable this experimental API.\n * @type {string}\n * @memberof ReminderEscalationsApiDeleteReminderEscalationTenantConfigV1\n */\n readonly xSailPointExperimental?: string\n}\n\n/**\n * Request parameters for getReminderEscalationTenantConfigV1 operation in ReminderEscalationsApi.\n * @export\n * @interface ReminderEscalationsApiGetReminderEscalationTenantConfigV1Request\n */\nexport interface ReminderEscalationsApiGetReminderEscalationTenantConfigV1Request {\n /**\n * Domain object type key.\n * @type {'PERSONAL_ACCESS_TOKEN' | 'CERTIFICATION'}\n * @memberof ReminderEscalationsApiGetReminderEscalationTenantConfigV1\n */\n readonly domainObjectType: GetReminderEscalationTenantConfigV1DomainObjectTypeEnum\n\n /**\n * Use this header to enable this experimental API.\n * @type {string}\n * @memberof ReminderEscalationsApiGetReminderEscalationTenantConfigV1\n */\n readonly xSailPointExperimental?: string\n}\n\n/**\n * Request parameters for putReminderEscalationTenantConfigV1 operation in ReminderEscalationsApi.\n * @export\n * @interface ReminderEscalationsApiPutReminderEscalationTenantConfigV1Request\n */\nexport interface ReminderEscalationsApiPutReminderEscalationTenantConfigV1Request {\n /**\n * Domain object type key.\n * @type {'PERSONAL_ACCESS_TOKEN' | 'CERTIFICATION'}\n * @memberof ReminderEscalationsApiPutReminderEscalationTenantConfigV1\n */\n readonly domainObjectType: PutReminderEscalationTenantConfigV1DomainObjectTypeEnum\n\n /**\n * \n * @type {Reminderescalationtenantconfigupdate}\n * @memberof ReminderEscalationsApiPutReminderEscalationTenantConfigV1\n */\n readonly reminderescalationtenantconfigupdate: Reminderescalationtenantconfigupdate\n\n /**\n * Use this header to enable this experimental API.\n * @type {string}\n * @memberof ReminderEscalationsApiPutReminderEscalationTenantConfigV1\n */\n readonly xSailPointExperimental?: string\n}\n\n/**\n * ReminderEscalationsApi - object-oriented interface\n * @export\n * @class ReminderEscalationsApi\n * @extends {BaseAPI}\n */\nexport class ReminderEscalationsApi extends BaseAPI {\n /**\n * Creates the default reminder and escalation ruleset for a domain object type in the authenticated tenant. A tenant has one default per domain object type. Creating the same type again returns 409.\n * @summary Create Reminder Escalation Tenant Config\n * @param {ReminderEscalationsApiCreateReminderEscalationTenantConfigV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n * @memberof ReminderEscalationsApi\n */\n public createReminderEscalationTenantConfigV1(requestParameters: ReminderEscalationsApiCreateReminderEscalationTenantConfigV1Request, axiosOptions?: RawAxiosRequestConfig) {\n return ReminderEscalationsApiFp(this.configuration).createReminderEscalationTenantConfigV1(requestParameters.reminderescalationtenantconfigcreate, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Deletes the tenant-default ruleset for a domain object type in the authenticated tenant.\n * @summary Delete Reminder Escalation Tenant Config\n * @param {ReminderEscalationsApiDeleteReminderEscalationTenantConfigV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n * @memberof ReminderEscalationsApi\n */\n public deleteReminderEscalationTenantConfigV1(requestParameters: ReminderEscalationsApiDeleteReminderEscalationTenantConfigV1Request, axiosOptions?: RawAxiosRequestConfig) {\n return ReminderEscalationsApiFp(this.configuration).deleteReminderEscalationTenantConfigV1(requestParameters.domainObjectType, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Returns the tenant-default reminder and escalation ruleset for a domain object type in the authenticated tenant.\n * @summary Get Reminder Escalation Tenant Config\n * @param {ReminderEscalationsApiGetReminderEscalationTenantConfigV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n * @memberof ReminderEscalationsApi\n */\n public getReminderEscalationTenantConfigV1(requestParameters: ReminderEscalationsApiGetReminderEscalationTenantConfigV1Request, axiosOptions?: RawAxiosRequestConfig) {\n return ReminderEscalationsApiFp(this.configuration).getReminderEscalationTenantConfigV1(requestParameters.domainObjectType, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Replaces the tenant-default ruleset for a domain object type. Send the `revision` from the latest read. A stale revision returns 409.\n * @summary Update Reminder Escalation Tenant Config\n * @param {ReminderEscalationsApiPutReminderEscalationTenantConfigV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n * @memberof ReminderEscalationsApi\n */\n public putReminderEscalationTenantConfigV1(requestParameters: ReminderEscalationsApiPutReminderEscalationTenantConfigV1Request, axiosOptions?: RawAxiosRequestConfig) {\n return ReminderEscalationsApiFp(this.configuration).putReminderEscalationTenantConfigV1(requestParameters.domainObjectType, requestParameters.reminderescalationtenantconfigupdate, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(this.axios, this.basePath));\n }\n}\n\n/**\n * @export\n */\nexport const DeleteReminderEscalationTenantConfigV1DomainObjectTypeEnum = {\n PersonalAccessToken: 'PERSONAL_ACCESS_TOKEN',\n Certification: 'CERTIFICATION'\n} as const;\nexport type DeleteReminderEscalationTenantConfigV1DomainObjectTypeEnum = typeof DeleteReminderEscalationTenantConfigV1DomainObjectTypeEnum[keyof typeof DeleteReminderEscalationTenantConfigV1DomainObjectTypeEnum];\n/**\n * @export\n */\nexport const GetReminderEscalationTenantConfigV1DomainObjectTypeEnum = {\n PersonalAccessToken: 'PERSONAL_ACCESS_TOKEN',\n Certification: 'CERTIFICATION'\n} as const;\nexport type GetReminderEscalationTenantConfigV1DomainObjectTypeEnum = typeof GetReminderEscalationTenantConfigV1DomainObjectTypeEnum[keyof typeof GetReminderEscalationTenantConfigV1DomainObjectTypeEnum];\n/**\n * @export\n */\nexport const PutReminderEscalationTenantConfigV1DomainObjectTypeEnum = {\n PersonalAccessToken: 'PERSONAL_ACCESS_TOKEN',\n Certification: 'CERTIFICATION'\n} as const;\nexport type PutReminderEscalationTenantConfigV1DomainObjectTypeEnum = typeof PutReminderEscalationTenantConfigV1DomainObjectTypeEnum[keyof typeof PutReminderEscalationTenantConfigV1DomainObjectTypeEnum];\n\n\n"]}
@@ -0,0 +1,66 @@
1
+ /**
2
+ * SailPoint Identity Security API - Reminder Escalations
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
+ *
5
+ * The version of the OpenAPI document: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Configuration } from '../configuration';
13
+ import type { AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
+ export declare const BASE_PATH: string;
15
+ /**
16
+ *
17
+ * @export
18
+ */
19
+ export declare const COLLECTION_FORMATS: {
20
+ csv: string;
21
+ ssv: string;
22
+ tsv: string;
23
+ pipes: string;
24
+ };
25
+ /**
26
+ *
27
+ * @export
28
+ * @interface RequestArgs
29
+ */
30
+ export interface RequestArgs {
31
+ url: string;
32
+ axiosOptions: RawAxiosRequestConfig;
33
+ }
34
+ /**
35
+ *
36
+ * @export
37
+ * @class BaseAPI
38
+ */
39
+ export declare class BaseAPI {
40
+ protected basePath: string;
41
+ protected axios: AxiosInstance;
42
+ protected configuration: Configuration | undefined;
43
+ constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
44
+ }
45
+ /**
46
+ *
47
+ * @export
48
+ * @class RequiredError
49
+ * @extends {Error}
50
+ */
51
+ export declare class RequiredError extends Error {
52
+ field: string;
53
+ constructor(field: string, msg?: string);
54
+ }
55
+ interface ServerMap {
56
+ [key: string]: {
57
+ url: string;
58
+ description: string;
59
+ }[];
60
+ }
61
+ /**
62
+ *
63
+ * @export
64
+ */
65
+ export declare const operationServerMap: ServerMap;
66
+ export {};
@@ -0,0 +1,90 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * SailPoint Identity Security API - Reminder Escalations
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
+ *
8
+ * The version of the OpenAPI document: v1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ var __extends = (this && this.__extends) || (function () {
16
+ var extendStatics = function (d, b) {
17
+ extendStatics = Object.setPrototypeOf ||
18
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
20
+ return extendStatics(d, b);
21
+ };
22
+ return function (d, b) {
23
+ if (typeof b !== "function" && b !== null)
24
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
25
+ extendStatics(d, b);
26
+ function __() { this.constructor = d; }
27
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
28
+ };
29
+ })();
30
+ var __importDefault = (this && this.__importDefault) || function (mod) {
31
+ return (mod && mod.__esModule) ? mod : { "default": mod };
32
+ };
33
+ Object.defineProperty(exports, "__esModule", { value: true });
34
+ exports.operationServerMap = exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
35
+ var axios_1 = __importDefault(require("axios"));
36
+ exports.BASE_PATH = "https://sailpoint.api.identitynow.com".replace(/\/+$/, "");
37
+ /**
38
+ *
39
+ * @export
40
+ */
41
+ exports.COLLECTION_FORMATS = {
42
+ csv: ",",
43
+ ssv: " ",
44
+ tsv: "\t",
45
+ pipes: "|",
46
+ };
47
+ /**
48
+ *
49
+ * @export
50
+ * @class BaseAPI
51
+ */
52
+ var BaseAPI = /** @class */ (function () {
53
+ function BaseAPI(configuration, basePath, axios) {
54
+ if (basePath === void 0) { basePath = exports.BASE_PATH; }
55
+ if (axios === void 0) { axios = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.axiosInstance) !== null && _a !== void 0 ? _a : axios_1.default; }
56
+ var _a;
57
+ this.basePath = basePath;
58
+ this.axios = axios;
59
+ if (configuration) {
60
+ this.configuration = configuration;
61
+ this.basePath = configuration.basePath || this.basePath;
62
+ }
63
+ }
64
+ return BaseAPI;
65
+ }());
66
+ exports.BaseAPI = BaseAPI;
67
+ ;
68
+ /**
69
+ *
70
+ * @export
71
+ * @class RequiredError
72
+ * @extends {Error}
73
+ */
74
+ var RequiredError = /** @class */ (function (_super) {
75
+ __extends(RequiredError, _super);
76
+ function RequiredError(field, msg) {
77
+ var _this = _super.call(this, msg) || this;
78
+ _this.field = field;
79
+ _this.name = "RequiredError";
80
+ return _this;
81
+ }
82
+ return RequiredError;
83
+ }(Error));
84
+ exports.RequiredError = RequiredError;
85
+ /**
86
+ *
87
+ * @export
88
+ */
89
+ exports.operationServerMap = {};
90
+ //# sourceMappingURL=base.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.js","sourceRoot":"","sources":["../../reminder_escalations/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 - Reminder Escalations\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"]}
@@ -0,0 +1,65 @@
1
+ /**
2
+ * SailPoint Identity Security API - Reminder Escalations
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
+ *
5
+ * The version of the OpenAPI document: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Configuration } from "../configuration";
13
+ import type { RequestArgs } from "./base";
14
+ import type { AxiosInstance, AxiosResponse } from 'axios';
15
+ /**
16
+ *
17
+ * @export
18
+ */
19
+ export declare const DUMMY_BASE_URL = "https://example.com";
20
+ /**
21
+ *
22
+ * @throws {RequiredError}
23
+ * @export
24
+ */
25
+ export declare const assertParamExists: (functionName: string, paramName: string, paramValue: unknown) => void;
26
+ /**
27
+ *
28
+ * @export
29
+ */
30
+ export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration) => Promise<void>;
31
+ /**
32
+ *
33
+ * @export
34
+ */
35
+ export declare const setBasicAuthToObject: (object: any, configuration?: Configuration) => void;
36
+ /**
37
+ *
38
+ * @export
39
+ */
40
+ export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>;
41
+ /**
42
+ *
43
+ * @export
44
+ */
45
+ export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>;
46
+ /**
47
+ *
48
+ * @export
49
+ */
50
+ export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
51
+ /**
52
+ *
53
+ * @export
54
+ */
55
+ export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
56
+ /**
57
+ *
58
+ * @export
59
+ */
60
+ export declare const toPathString: (url: URL) => string;
61
+ /**
62
+ *
63
+ * @export
64
+ */
65
+ export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
@@ -0,0 +1,300 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * SailPoint Identity Security API - Reminder Escalations
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
+ *
8
+ * The version of the OpenAPI document: v1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ var __assign = (this && this.__assign) || function () {
16
+ __assign = Object.assign || function(t) {
17
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
18
+ s = arguments[i];
19
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
20
+ t[p] = s[p];
21
+ }
22
+ return t;
23
+ };
24
+ return __assign.apply(this, arguments);
25
+ };
26
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
27
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
28
+ return new (P || (P = Promise))(function (resolve, reject) {
29
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
30
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
31
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
32
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
33
+ });
34
+ };
35
+ var __generator = (this && this.__generator) || function (thisArg, body) {
36
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
37
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
38
+ function verb(n) { return function (v) { return step([n, v]); }; }
39
+ function step(op) {
40
+ if (f) throw new TypeError("Generator is already executing.");
41
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
42
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
43
+ if (y = 0, t) op = [op[0] & 2, t.value];
44
+ switch (op[0]) {
45
+ case 0: case 1: t = op; break;
46
+ case 4: _.label++; return { value: op[1], done: false };
47
+ case 5: _.label++; y = op[1]; op = [0]; continue;
48
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
49
+ default:
50
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
51
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
52
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
53
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
54
+ if (t[2]) _.ops.pop();
55
+ _.trys.pop(); continue;
56
+ }
57
+ op = body.call(thisArg, _);
58
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
59
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
60
+ }
61
+ };
62
+ Object.defineProperty(exports, "__esModule", { value: true });
63
+ exports.createRequestFunction = exports.toPathString = exports.serializeDataIfNeeded = exports.setSearchParams = exports.setOAuthToObject = exports.setBearerAuthToObject = exports.setBasicAuthToObject = exports.setApiKeyToObject = exports.assertParamExists = exports.DUMMY_BASE_URL = void 0;
64
+ var base_1 = require("./base");
65
+ /**
66
+ *
67
+ * @export
68
+ */
69
+ exports.DUMMY_BASE_URL = 'https://example.com';
70
+ /**
71
+ *
72
+ * @throws {RequiredError}
73
+ * @export
74
+ */
75
+ var assertParamExists = function (functionName, paramName, paramValue) {
76
+ if (paramValue === null || paramValue === undefined) {
77
+ throw new base_1.RequiredError(paramName, "Required parameter ".concat(paramName, " was null or undefined when calling ").concat(functionName, "."));
78
+ }
79
+ };
80
+ exports.assertParamExists = assertParamExists;
81
+ /**
82
+ *
83
+ * @export
84
+ */
85
+ var setApiKeyToObject = function (object, keyParamName, configuration) {
86
+ return __awaiter(this, void 0, void 0, function () {
87
+ var localVarApiKeyValue, _a;
88
+ return __generator(this, function (_b) {
89
+ switch (_b.label) {
90
+ case 0:
91
+ if (!(configuration && configuration.apiKey)) return [3 /*break*/, 5];
92
+ if (!(typeof configuration.apiKey === 'function')) return [3 /*break*/, 2];
93
+ return [4 /*yield*/, configuration.apiKey(keyParamName)];
94
+ case 1:
95
+ _a = _b.sent();
96
+ return [3 /*break*/, 4];
97
+ case 2: return [4 /*yield*/, configuration.apiKey];
98
+ case 3:
99
+ _a = _b.sent();
100
+ _b.label = 4;
101
+ case 4:
102
+ localVarApiKeyValue = _a;
103
+ object[keyParamName] = localVarApiKeyValue;
104
+ _b.label = 5;
105
+ case 5: return [2 /*return*/];
106
+ }
107
+ });
108
+ });
109
+ };
110
+ exports.setApiKeyToObject = setApiKeyToObject;
111
+ /**
112
+ *
113
+ * @export
114
+ */
115
+ var setBasicAuthToObject = function (object, configuration) {
116
+ if (configuration && (configuration.username || configuration.password)) {
117
+ object["auth"] = { username: configuration.username, password: configuration.password };
118
+ }
119
+ };
120
+ exports.setBasicAuthToObject = setBasicAuthToObject;
121
+ /**
122
+ *
123
+ * @export
124
+ */
125
+ var setBearerAuthToObject = function (object, configuration) {
126
+ return __awaiter(this, void 0, void 0, function () {
127
+ var accessToken, _a;
128
+ return __generator(this, function (_b) {
129
+ switch (_b.label) {
130
+ case 0:
131
+ if (!(configuration && configuration.accessToken)) return [3 /*break*/, 5];
132
+ if (!(typeof configuration.accessToken === 'function')) return [3 /*break*/, 2];
133
+ return [4 /*yield*/, configuration.accessToken()];
134
+ case 1:
135
+ _a = _b.sent();
136
+ return [3 /*break*/, 4];
137
+ case 2: return [4 /*yield*/, configuration.accessToken];
138
+ case 3:
139
+ _a = _b.sent();
140
+ _b.label = 4;
141
+ case 4:
142
+ accessToken = _a;
143
+ object["Authorization"] = "Bearer " + accessToken;
144
+ _b.label = 5;
145
+ case 5: return [2 /*return*/];
146
+ }
147
+ });
148
+ });
149
+ };
150
+ exports.setBearerAuthToObject = setBearerAuthToObject;
151
+ /**
152
+ *
153
+ * @export
154
+ */
155
+ var setOAuthToObject = function (object, name, scopes, configuration) {
156
+ return __awaiter(this, void 0, void 0, function () {
157
+ var localVarAccessTokenValue, _a;
158
+ return __generator(this, function (_b) {
159
+ switch (_b.label) {
160
+ case 0:
161
+ if (!(configuration && configuration.accessToken)) return [3 /*break*/, 5];
162
+ if (!(typeof configuration.accessToken === 'function')) return [3 /*break*/, 2];
163
+ return [4 /*yield*/, configuration.accessToken(name, scopes)];
164
+ case 1:
165
+ _a = _b.sent();
166
+ return [3 /*break*/, 4];
167
+ case 2: return [4 /*yield*/, configuration.accessToken];
168
+ case 3:
169
+ _a = _b.sent();
170
+ _b.label = 4;
171
+ case 4:
172
+ localVarAccessTokenValue = _a;
173
+ object["Authorization"] = "Bearer " + localVarAccessTokenValue;
174
+ _b.label = 5;
175
+ case 5: return [2 /*return*/];
176
+ }
177
+ });
178
+ });
179
+ };
180
+ exports.setOAuthToObject = setOAuthToObject;
181
+ function setFlattenedQueryParams(urlSearchParams, parameter, key) {
182
+ if (key === void 0) { key = ""; }
183
+ if (parameter == null)
184
+ return;
185
+ if (typeof parameter === "object") {
186
+ if (Array.isArray(parameter)) {
187
+ parameter.forEach(function (item) { return setFlattenedQueryParams(urlSearchParams, item, key); });
188
+ }
189
+ else {
190
+ Object.keys(parameter).forEach(function (currentKey) {
191
+ return setFlattenedQueryParams(urlSearchParams, parameter[currentKey], "".concat(key).concat(key !== '' ? '.' : '').concat(currentKey));
192
+ });
193
+ }
194
+ }
195
+ else {
196
+ if (urlSearchParams.has(key)) {
197
+ urlSearchParams.append(key, parameter);
198
+ }
199
+ else {
200
+ urlSearchParams.set(key, parameter);
201
+ }
202
+ }
203
+ }
204
+ /**
205
+ *
206
+ * @export
207
+ */
208
+ var setSearchParams = function (url) {
209
+ var objects = [];
210
+ for (var _i = 1; _i < arguments.length; _i++) {
211
+ objects[_i - 1] = arguments[_i];
212
+ }
213
+ var searchParams = new URLSearchParams(url.search);
214
+ setFlattenedQueryParams(searchParams, objects);
215
+ url.search = searchParams.toString();
216
+ };
217
+ exports.setSearchParams = setSearchParams;
218
+ /**
219
+ *
220
+ * @export
221
+ */
222
+ var serializeDataIfNeeded = function (value, requestOptions, configuration) {
223
+ var nonString = typeof value !== 'string';
224
+ var needsSerialization = nonString && configuration && configuration.isJsonMime
225
+ ? configuration.isJsonMime(requestOptions.headers['Content-Type'])
226
+ : nonString;
227
+ return needsSerialization
228
+ ? JSON.stringify(value !== undefined ? value : {})
229
+ : (value || "");
230
+ };
231
+ exports.serializeDataIfNeeded = serializeDataIfNeeded;
232
+ /**
233
+ *
234
+ * @export
235
+ */
236
+ var toPathString = function (url) {
237
+ return url.pathname + url.search + url.hash;
238
+ };
239
+ exports.toPathString = toPathString;
240
+ /**
241
+ *
242
+ * @export
243
+ */
244
+ var createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
245
+ var _this = this;
246
+ return function (axios, basePath) {
247
+ if (axios === void 0) { axios = globalAxios; }
248
+ if (basePath === void 0) { basePath = BASE_PATH; }
249
+ return __awaiter(_this, void 0, void 0, function () {
250
+ var headers, userAgent, axiosRequestArgs;
251
+ var _a;
252
+ return __generator(this, function (_b) {
253
+ switch (_b.label) {
254
+ case 0:
255
+ headers = __assign({}, axiosArgs.axiosOptions.headers);
256
+ // Node-only headers. Browsers reject a User-Agent override, and a custom
257
+ // header such as X-SailPoint-SDK forces a CORS preflight that tenants do
258
+ // not allow, which blocks the request outright.
259
+ if (typeof process !== 'undefined' && ((_a = process.versions) === null || _a === void 0 ? void 0 : _a.node)) {
260
+ headers['X-SailPoint-SDK'] = 'typescript-1.0.0';
261
+ userAgent = "SailPoint-SDK-TypeScript/1.0.0";
262
+ if ((configuration === null || configuration === void 0 ? void 0 : configuration.consumerIdentifier) && (configuration === null || configuration === void 0 ? void 0 : configuration.consumerVersion)) {
263
+ userAgent += " (".concat(configuration.consumerIdentifier, "/").concat(configuration.consumerVersion, ")");
264
+ }
265
+ userAgent += " (".concat(process.platform, "; ").concat(process.arch, ") Node/").concat(process.versions.node, " (openapi-generator/7.12.0)");
266
+ headers['User-Agent'] = userAgent;
267
+ }
268
+ if (!configuration.experimental && ("X-SailPoint-Experimental" in headers)) {
269
+ throw new Error("You are using Experimental APIs. Set configuration.experimental = True to enable these APIs in the SDK.");
270
+ }
271
+ else if (configuration.experimental == true && ("X-SailPoint-Experimental" in headers)) {
272
+ console.log("Warning: You are using Experimental APIs");
273
+ }
274
+ return [4 /*yield*/, (0, exports.setBearerAuthToObject)(headers, configuration)];
275
+ case 1:
276
+ _b.sent();
277
+ axiosRequestArgs = __assign(__assign({}, axiosArgs.axiosOptions), { url: (basePath || (configuration === null || configuration === void 0 ? void 0 : configuration.basePath)) + axiosArgs.url, headers: headers });
278
+ return [2 /*return*/, axios.request(axiosRequestArgs).catch(function (error) {
279
+ var _a;
280
+ if ((error === null || error === void 0 ? void 0 : error.isAxiosError) === true) {
281
+ var clean = new Error((_a = error.message) !== null && _a !== void 0 ? _a : 'API request failed');
282
+ clean.name = 'ApiError';
283
+ clean.stack = error.stack;
284
+ clean.code = error.code;
285
+ if (error.response) {
286
+ clean.status = error.response.status;
287
+ clean.statusText = error.response.statusText;
288
+ clean.data = error.response.data;
289
+ }
290
+ throw clean;
291
+ }
292
+ throw error;
293
+ })];
294
+ }
295
+ });
296
+ });
297
+ };
298
+ };
299
+ exports.createRequestFunction = createRequestFunction;
300
+ //# sourceMappingURL=common.js.map