sailpoint-api-client 1.7.21 → 1.7.23

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.
@@ -250,7 +250,7 @@ var createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configu
250
250
  if (axios === void 0) { axios = globalAxios; }
251
251
  if (basePath === void 0) { basePath = BASE_PATH; }
252
252
  (0, axios_retry_1.default)(axios, configuration.retriesConfig);
253
- var headers = __assign(__assign({ 'User-Agent': 'OpenAPI-Generator/1.7.21/ts' }, axiosArgs.axiosOptions.headers), { 'X-SailPoint-SDK': 'typescript-1.7.21' });
253
+ var headers = __assign(__assign({ 'User-Agent': 'OpenAPI-Generator/1.7.23/ts' }, axiosArgs.axiosOptions.headers), { 'X-SailPoint-SDK': 'typescript-1.7.23' });
254
254
  if (!configuration.experimental && ("X-SailPoint-Experimental" in headers)) {
255
255
  throw new Error("You are using Experimental APIs. Set configuration.experimental = True to enable these APIs in the SDK.");
256
256
  }
@@ -93,6 +93,49 @@ export interface AccessModelMetadataValuesInnerV2026 {
93
93
  */
94
94
  'status'?: string;
95
95
  }
96
+ /**
97
+ *
98
+ * @export
99
+ * @interface AccessRequestConfigV2026
100
+ */
101
+ export interface AccessRequestConfigV2026 {
102
+ /**
103
+ * If this is true, approvals must be processed by an external system. Also, if this is true, it blocks Request Center access requests and returns an error for any user who isn\'t an org admin.
104
+ * @type {boolean}
105
+ * @memberof AccessRequestConfigV2026
106
+ */
107
+ 'approvalsMustBeExternal'?: boolean;
108
+ /**
109
+ * If this is true and the requester and reviewer are the same, the request is automatically approved.
110
+ * @type {boolean}
111
+ * @memberof AccessRequestConfigV2026
112
+ */
113
+ 'autoApprovalEnabled'?: boolean;
114
+ /**
115
+ * If this is true, reauthorization will be enforced for appropriately configured access items. Enablement of this feature is currently in a limited state.
116
+ * @type {boolean}
117
+ * @memberof AccessRequestConfigV2026
118
+ */
119
+ 'reauthorizationEnabled'?: boolean;
120
+ /**
121
+ *
122
+ * @type {RequestOnBehalfOfConfigV2026}
123
+ * @memberof AccessRequestConfigV2026
124
+ */
125
+ 'requestOnBehalfOfConfig'?: RequestOnBehalfOfConfigV2026;
126
+ /**
127
+ *
128
+ * @type {EntitlementRequestConfigV2026}
129
+ * @memberof AccessRequestConfigV2026
130
+ */
131
+ 'entitlementRequestConfig'?: EntitlementRequestConfigV2026;
132
+ /**
133
+ * If this is true, requesters and requested-for users will be able to see the names of governance group members when a request is awaiting the group\'s approval. Up to the first 10 members of the group will be listed.
134
+ * @type {boolean}
135
+ * @memberof AccessRequestConfigV2026
136
+ */
137
+ 'govGroupVisibilityEnabled'?: boolean;
138
+ }
96
139
  /**
97
140
  *
98
141
  * @export
@@ -789,6 +832,102 @@ export interface EntitlementAccessModelMetadataV2026 {
789
832
  */
790
833
  'attributes'?: Array<AccessModelMetadataV2026>;
791
834
  }
835
+ /**
836
+ * The maximum duration for which the access is permitted.
837
+ * @export
838
+ * @interface EntitlementAccessRequestConfigMaxPermittedAccessDurationV2026
839
+ */
840
+ export interface EntitlementAccessRequestConfigMaxPermittedAccessDurationV2026 {
841
+ /**
842
+ * The numeric value of the duration.
843
+ * @type {number}
844
+ * @memberof EntitlementAccessRequestConfigMaxPermittedAccessDurationV2026
845
+ */
846
+ 'value'?: number;
847
+ /**
848
+ * The time unit for the duration.
849
+ * @type {string}
850
+ * @memberof EntitlementAccessRequestConfigMaxPermittedAccessDurationV2026
851
+ */
852
+ 'timeUnit'?: EntitlementAccessRequestConfigMaxPermittedAccessDurationV2026TimeUnitV2026;
853
+ }
854
+ export declare const EntitlementAccessRequestConfigMaxPermittedAccessDurationV2026TimeUnitV2026: {
855
+ readonly Hours: "HOURS";
856
+ readonly Days: "DAYS";
857
+ readonly Weeks: "WEEKS";
858
+ readonly Months: "MONTHS";
859
+ };
860
+ export type EntitlementAccessRequestConfigMaxPermittedAccessDurationV2026TimeUnitV2026 = typeof EntitlementAccessRequestConfigMaxPermittedAccessDurationV2026TimeUnitV2026[keyof typeof EntitlementAccessRequestConfigMaxPermittedAccessDurationV2026TimeUnitV2026];
861
+ /**
862
+ *
863
+ * @export
864
+ * @interface EntitlementAccessRequestConfigV2026
865
+ */
866
+ export interface EntitlementAccessRequestConfigV2026 {
867
+ /**
868
+ * Ordered list of approval steps for the access request. Empty when no approval is required.
869
+ * @type {Array<EntitlementApprovalSchemeV2026>}
870
+ * @memberof EntitlementAccessRequestConfigV2026
871
+ */
872
+ 'approvalSchemes'?: Array<EntitlementApprovalSchemeV2026>;
873
+ /**
874
+ * If the requester must provide a comment during access request.
875
+ * @type {boolean}
876
+ * @memberof EntitlementAccessRequestConfigV2026
877
+ */
878
+ 'requestCommentRequired'?: boolean;
879
+ /**
880
+ * If the reviewer must provide a comment when denying the access request.
881
+ * @type {boolean}
882
+ * @memberof EntitlementAccessRequestConfigV2026
883
+ */
884
+ 'denialCommentRequired'?: boolean;
885
+ /**
886
+ * Is Reauthorization Required
887
+ * @type {boolean}
888
+ * @memberof EntitlementAccessRequestConfigV2026
889
+ */
890
+ 'reauthorizationRequired'?: boolean;
891
+ /**
892
+ * If true, then remove date or sunset date is required in access request of the entitlement.
893
+ * @type {boolean}
894
+ * @memberof EntitlementAccessRequestConfigV2026
895
+ */
896
+ 'requireEndDate'?: boolean;
897
+ /**
898
+ *
899
+ * @type {EntitlementAccessRequestConfigMaxPermittedAccessDurationV2026}
900
+ * @memberof EntitlementAccessRequestConfigV2026
901
+ */
902
+ 'maxPermittedAccessDuration'?: EntitlementAccessRequestConfigMaxPermittedAccessDurationV2026 | null;
903
+ }
904
+ /**
905
+ *
906
+ * @export
907
+ * @interface EntitlementApprovalSchemeV2026
908
+ */
909
+ export interface EntitlementApprovalSchemeV2026 {
910
+ /**
911
+ * Describes the individual or group that is responsible for an approval step. Values are as follows. **ENTITLEMENT_OWNER**: Owner of the associated Entitlement **SOURCE_OWNER**: Owner of the associated Source **MANAGER**: Manager of the Identity for whom the request is being made **GOVERNANCE_GROUP**: A Governance Group, the ID of which is specified by the **approverId** field **WORKFLOW**: A Workflow, the ID of which is specified by the **approverId** field, Workflows are exclusive to other types of approvals and License required.
912
+ * @type {string}
913
+ * @memberof EntitlementApprovalSchemeV2026
914
+ */
915
+ 'approverType'?: EntitlementApprovalSchemeV2026ApproverTypeV2026;
916
+ /**
917
+ * Id of the specific approver, used only when approverType is GOVERNANCE_GROUP or WORKFLOW
918
+ * @type {string}
919
+ * @memberof EntitlementApprovalSchemeV2026
920
+ */
921
+ 'approverId'?: string | null;
922
+ }
923
+ export declare const EntitlementApprovalSchemeV2026ApproverTypeV2026: {
924
+ readonly EntitlementOwner: "ENTITLEMENT_OWNER";
925
+ readonly SourceOwner: "SOURCE_OWNER";
926
+ readonly Manager: "MANAGER";
927
+ readonly GovernanceGroup: "GOVERNANCE_GROUP";
928
+ readonly Workflow: "WORKFLOW";
929
+ };
930
+ export type EntitlementApprovalSchemeV2026ApproverTypeV2026 = typeof EntitlementApprovalSchemeV2026ApproverTypeV2026[keyof typeof EntitlementApprovalSchemeV2026ApproverTypeV2026];
792
931
  /**
793
932
  * Object for specifying the bulk update request
794
933
  * @export
@@ -902,6 +1041,38 @@ export declare const EntitlementPrivilegeLevelV2026EffectiveV2026: {
902
1041
  readonly None: "NONE";
903
1042
  };
904
1043
  export type EntitlementPrivilegeLevelV2026EffectiveV2026 = typeof EntitlementPrivilegeLevelV2026EffectiveV2026[keyof typeof EntitlementPrivilegeLevelV2026EffectiveV2026];
1044
+ /**
1045
+ *
1046
+ * @export
1047
+ * @interface EntitlementRequestConfigV2026
1048
+ */
1049
+ export interface EntitlementRequestConfigV2026 {
1050
+ /**
1051
+ *
1052
+ * @type {EntitlementAccessRequestConfigV2026}
1053
+ * @memberof EntitlementRequestConfigV2026
1054
+ */
1055
+ 'accessRequestConfig'?: EntitlementAccessRequestConfigV2026;
1056
+ /**
1057
+ *
1058
+ * @type {EntitlementRevocationRequestConfigV2026}
1059
+ * @memberof EntitlementRequestConfigV2026
1060
+ */
1061
+ 'revocationRequestConfig'?: EntitlementRevocationRequestConfigV2026;
1062
+ }
1063
+ /**
1064
+ *
1065
+ * @export
1066
+ * @interface EntitlementRevocationRequestConfigV2026
1067
+ */
1068
+ export interface EntitlementRevocationRequestConfigV2026 {
1069
+ /**
1070
+ * Ordered list of approval steps for the access request. Empty when no approval is required.
1071
+ * @type {Array<EntitlementApprovalSchemeV2026>}
1072
+ * @memberof EntitlementRevocationRequestConfigV2026
1073
+ */
1074
+ 'approvalSchemes'?: Array<EntitlementApprovalSchemeV2026>;
1075
+ }
905
1076
  /**
906
1077
  *
907
1078
  * @export
@@ -1108,6 +1279,32 @@ export interface ErrorResponseDtoV2026 {
1108
1279
  */
1109
1280
  'causes'?: Array<ErrorMessageDtoV2026>;
1110
1281
  }
1282
+ /**
1283
+ *
1284
+ * @export
1285
+ * @interface GetAccessRequestConfig401ResponseV2026
1286
+ */
1287
+ export interface GetAccessRequestConfig401ResponseV2026 {
1288
+ /**
1289
+ * A message describing the error
1290
+ * @type {object}
1291
+ * @memberof GetAccessRequestConfig401ResponseV2026
1292
+ */
1293
+ 'error'?: object;
1294
+ }
1295
+ /**
1296
+ *
1297
+ * @export
1298
+ * @interface GetAccessRequestConfig429ResponseV2026
1299
+ */
1300
+ export interface GetAccessRequestConfig429ResponseV2026 {
1301
+ /**
1302
+ * A message describing the error
1303
+ * @type {object}
1304
+ * @memberof GetAccessRequestConfig429ResponseV2026
1305
+ */
1306
+ 'message'?: object;
1307
+ }
1111
1308
  /**
1112
1309
  * Contains detailed information about an identity, including unique identifier, name, email address, and registration status.
1113
1310
  * @export
@@ -1179,32 +1376,6 @@ export type JsonPatchOperationV2026OpV2026 = typeof JsonPatchOperationV2026OpV20
1179
1376
  * @export
1180
1377
  */
1181
1378
  export type JsonPatchOperationValueV2026 = Array<ArrayInnerV2026> | boolean | number | object | string;
1182
- /**
1183
- *
1184
- * @export
1185
- * @interface ListEntitlements401ResponseV2026
1186
- */
1187
- export interface ListEntitlements401ResponseV2026 {
1188
- /**
1189
- * A message describing the error
1190
- * @type {object}
1191
- * @memberof ListEntitlements401ResponseV2026
1192
- */
1193
- 'error'?: object;
1194
- }
1195
- /**
1196
- *
1197
- * @export
1198
- * @interface ListEntitlements429ResponseV2026
1199
- */
1200
- export interface ListEntitlements429ResponseV2026 {
1201
- /**
1202
- * A message describing the error
1203
- * @type {object}
1204
- * @memberof ListEntitlements429ResponseV2026
1205
- */
1206
- 'message'?: object;
1207
- }
1208
1379
  /**
1209
1380
  * 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.
1210
1381
  * @export
@@ -1334,6 +1505,25 @@ export interface PermissionDtoV2026 {
1334
1505
  */
1335
1506
  'target'?: string;
1336
1507
  }
1508
+ /**
1509
+ *
1510
+ * @export
1511
+ * @interface RequestOnBehalfOfConfigV2026
1512
+ */
1513
+ export interface RequestOnBehalfOfConfigV2026 {
1514
+ /**
1515
+ * If this is true, anyone can request access for anyone.
1516
+ * @type {boolean}
1517
+ * @memberof RequestOnBehalfOfConfigV2026
1518
+ */
1519
+ 'allowRequestOnBehalfOfAnyoneByAnyone'?: boolean;
1520
+ /**
1521
+ * If this is true, a manager can request access for his or her direct reports.
1522
+ * @type {boolean}
1523
+ * @memberof RequestOnBehalfOfConfigV2026
1524
+ */
1525
+ 'allowRequestOnBehalfOfEmployeeByManager'?: boolean;
1526
+ }
1337
1527
  /**
1338
1528
  *
1339
1529
  * @export
@@ -1603,6 +1793,107 @@ export declare const TaskStatusV2026CompletionStatusV2026: {
1603
1793
  readonly Temperror: "TEMPERROR";
1604
1794
  };
1605
1795
  export type TaskStatusV2026CompletionStatusV2026 = typeof TaskStatusV2026CompletionStatusV2026[keyof typeof TaskStatusV2026CompletionStatusV2026];
1796
+ /**
1797
+ * AccessRequestsV2026Api - axios parameter creator
1798
+ * @export
1799
+ */
1800
+ export declare const AccessRequestsV2026ApiAxiosParamCreator: (configuration?: Configuration) => {
1801
+ /**
1802
+ * This endpoint returns the current access-request configuration.
1803
+ * @summary Get access request configuration
1804
+ * @param {*} [axiosOptions] Override http request option.
1805
+ * @throws {RequiredError}
1806
+ */
1807
+ getAccessRequestConfig: (axiosOptions?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1808
+ /**
1809
+ * This endpoint replaces the current access-request configuration.
1810
+ * @summary Update access request configuration
1811
+ * @param {AccessRequestConfigV2026} accessRequestConfigV2026
1812
+ * @param {*} [axiosOptions] Override http request option.
1813
+ * @throws {RequiredError}
1814
+ */
1815
+ setAccessRequestConfig: (accessRequestConfigV2026: AccessRequestConfigV2026, axiosOptions?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1816
+ };
1817
+ /**
1818
+ * AccessRequestsV2026Api - functional programming interface
1819
+ * @export
1820
+ */
1821
+ export declare const AccessRequestsV2026ApiFp: (configuration?: Configuration) => {
1822
+ /**
1823
+ * This endpoint returns the current access-request configuration.
1824
+ * @summary Get access request configuration
1825
+ * @param {*} [axiosOptions] Override http request option.
1826
+ * @throws {RequiredError}
1827
+ */
1828
+ getAccessRequestConfig(axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccessRequestConfigV2026>>;
1829
+ /**
1830
+ * This endpoint replaces the current access-request configuration.
1831
+ * @summary Update access request configuration
1832
+ * @param {AccessRequestConfigV2026} accessRequestConfigV2026
1833
+ * @param {*} [axiosOptions] Override http request option.
1834
+ * @throws {RequiredError}
1835
+ */
1836
+ setAccessRequestConfig(accessRequestConfigV2026: AccessRequestConfigV2026, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccessRequestConfigV2026>>;
1837
+ };
1838
+ /**
1839
+ * AccessRequestsV2026Api - factory interface
1840
+ * @export
1841
+ */
1842
+ export declare const AccessRequestsV2026ApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1843
+ /**
1844
+ * This endpoint returns the current access-request configuration.
1845
+ * @summary Get access request configuration
1846
+ * @param {*} [axiosOptions] Override http request option.
1847
+ * @throws {RequiredError}
1848
+ */
1849
+ getAccessRequestConfig(axiosOptions?: RawAxiosRequestConfig): AxiosPromise<AccessRequestConfigV2026>;
1850
+ /**
1851
+ * This endpoint replaces the current access-request configuration.
1852
+ * @summary Update access request configuration
1853
+ * @param {AccessRequestsV2026ApiSetAccessRequestConfigRequest} requestParameters Request parameters.
1854
+ * @param {*} [axiosOptions] Override http request option.
1855
+ * @throws {RequiredError}
1856
+ */
1857
+ setAccessRequestConfig(requestParameters: AccessRequestsV2026ApiSetAccessRequestConfigRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<AccessRequestConfigV2026>;
1858
+ };
1859
+ /**
1860
+ * Request parameters for setAccessRequestConfig operation in AccessRequestsV2026Api.
1861
+ * @export
1862
+ * @interface AccessRequestsV2026ApiSetAccessRequestConfigRequest
1863
+ */
1864
+ export interface AccessRequestsV2026ApiSetAccessRequestConfigRequest {
1865
+ /**
1866
+ *
1867
+ * @type {AccessRequestConfigV2026}
1868
+ * @memberof AccessRequestsV2026ApiSetAccessRequestConfig
1869
+ */
1870
+ readonly accessRequestConfigV2026: AccessRequestConfigV2026;
1871
+ }
1872
+ /**
1873
+ * AccessRequestsV2026Api - object-oriented interface
1874
+ * @export
1875
+ * @class AccessRequestsV2026Api
1876
+ * @extends {BaseAPI}
1877
+ */
1878
+ export declare class AccessRequestsV2026Api extends BaseAPI {
1879
+ /**
1880
+ * This endpoint returns the current access-request configuration.
1881
+ * @summary Get access request configuration
1882
+ * @param {*} [axiosOptions] Override http request option.
1883
+ * @throws {RequiredError}
1884
+ * @memberof AccessRequestsV2026Api
1885
+ */
1886
+ getAccessRequestConfig(axiosOptions?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AccessRequestConfigV2026, any>>;
1887
+ /**
1888
+ * This endpoint replaces the current access-request configuration.
1889
+ * @summary Update access request configuration
1890
+ * @param {AccessRequestsV2026ApiSetAccessRequestConfigRequest} requestParameters Request parameters.
1891
+ * @param {*} [axiosOptions] Override http request option.
1892
+ * @throws {RequiredError}
1893
+ * @memberof AccessRequestsV2026Api
1894
+ */
1895
+ setAccessRequestConfig(requestParameters: AccessRequestsV2026ApiSetAccessRequestConfigRequest, axiosOptions?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AccessRequestConfigV2026, any>>;
1896
+ }
1606
1897
  /**
1607
1898
  * AccountDeletionRequestsV2026Api - axios parameter creator
1608
1899
  * @export
package/dist/v2026/api.js CHANGED
@@ -78,7 +78,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
78
78
  return (mod && mod.__esModule) ? mod : { "default": mod };
79
79
  };
80
80
  Object.defineProperty(exports, "__esModule", { value: true });
81
- exports.TaskManagementV2026Api = exports.TaskManagementV2026ApiFactory = exports.TaskManagementV2026ApiFp = exports.TaskManagementV2026ApiAxiosParamCreator = exports.MachineSubtypeApprovalConfigV2026Api = exports.MachineSubtypeApprovalConfigV2026ApiFactory = exports.MachineSubtypeApprovalConfigV2026ApiFp = exports.MachineSubtypeApprovalConfigV2026ApiAxiosParamCreator = exports.MachineAccountDeletionApprovalConfigV2026Api = exports.MachineAccountDeletionApprovalConfigV2026ApiFactory = exports.MachineAccountDeletionApprovalConfigV2026ApiFp = exports.MachineAccountDeletionApprovalConfigV2026ApiAxiosParamCreator = exports.HumanAccountDeletionApprovalConfigV2026Api = exports.HumanAccountDeletionApprovalConfigV2026ApiFactory = exports.HumanAccountDeletionApprovalConfigV2026ApiFp = exports.HumanAccountDeletionApprovalConfigV2026ApiAxiosParamCreator = exports.EntitlementsV2026Api = exports.EntitlementsV2026ApiFactory = exports.EntitlementsV2026ApiFp = exports.EntitlementsV2026ApiAxiosParamCreator = exports.DeleteAccountV2026Api = exports.DeleteAccountV2026ApiFactory = exports.DeleteAccountV2026ApiFp = exports.DeleteAccountV2026ApiAxiosParamCreator = exports.AccountDeletionRequestsV2026Api = exports.AccountDeletionRequestsV2026ApiFactory = exports.AccountDeletionRequestsV2026ApiFp = exports.AccountDeletionRequestsV2026ApiAxiosParamCreator = exports.TaskStatusV2026CompletionStatusV2026 = exports.TaskStatusV2026TypeV2026 = exports.TaskStatusMessageV2026TypeV2026 = exports.TargetV2026TypeV2026 = exports.LocaleOriginV2026 = exports.JsonPatchOperationV2026OpV2026 = exports.EntitlementPrivilegeLevelV2026EffectiveV2026 = exports.EntitlementPrivilegeLevelV2026InheritedV2026 = exports.EntitlementPrivilegeLevelV2026SetByTypeV2026 = exports.EntitlementPrivilegeLevelV2026DirectV2026 = exports.EntitlementOwnerV2026TypeV2026 = exports.DtoTypeV2026 = exports.ApprovalConfigV2026CommentsV2026 = exports.AccountRequestPhaseV2026NameV2026 = exports.AccountRequestPhaseStateV2026 = void 0;
81
+ exports.TaskManagementV2026Api = exports.TaskManagementV2026ApiFactory = exports.TaskManagementV2026ApiFp = exports.TaskManagementV2026ApiAxiosParamCreator = exports.MachineSubtypeApprovalConfigV2026Api = exports.MachineSubtypeApprovalConfigV2026ApiFactory = exports.MachineSubtypeApprovalConfigV2026ApiFp = exports.MachineSubtypeApprovalConfigV2026ApiAxiosParamCreator = exports.MachineAccountDeletionApprovalConfigV2026Api = exports.MachineAccountDeletionApprovalConfigV2026ApiFactory = exports.MachineAccountDeletionApprovalConfigV2026ApiFp = exports.MachineAccountDeletionApprovalConfigV2026ApiAxiosParamCreator = exports.HumanAccountDeletionApprovalConfigV2026Api = exports.HumanAccountDeletionApprovalConfigV2026ApiFactory = exports.HumanAccountDeletionApprovalConfigV2026ApiFp = exports.HumanAccountDeletionApprovalConfigV2026ApiAxiosParamCreator = exports.EntitlementsV2026Api = exports.EntitlementsV2026ApiFactory = exports.EntitlementsV2026ApiFp = exports.EntitlementsV2026ApiAxiosParamCreator = exports.DeleteAccountV2026Api = exports.DeleteAccountV2026ApiFactory = exports.DeleteAccountV2026ApiFp = exports.DeleteAccountV2026ApiAxiosParamCreator = exports.AccountDeletionRequestsV2026Api = exports.AccountDeletionRequestsV2026ApiFactory = exports.AccountDeletionRequestsV2026ApiFp = exports.AccountDeletionRequestsV2026ApiAxiosParamCreator = exports.AccessRequestsV2026Api = exports.AccessRequestsV2026ApiFactory = exports.AccessRequestsV2026ApiFp = exports.AccessRequestsV2026ApiAxiosParamCreator = exports.TaskStatusV2026CompletionStatusV2026 = exports.TaskStatusV2026TypeV2026 = exports.TaskStatusMessageV2026TypeV2026 = exports.TargetV2026TypeV2026 = exports.LocaleOriginV2026 = exports.JsonPatchOperationV2026OpV2026 = exports.EntitlementPrivilegeLevelV2026EffectiveV2026 = exports.EntitlementPrivilegeLevelV2026InheritedV2026 = exports.EntitlementPrivilegeLevelV2026SetByTypeV2026 = exports.EntitlementPrivilegeLevelV2026DirectV2026 = exports.EntitlementOwnerV2026TypeV2026 = exports.EntitlementApprovalSchemeV2026ApproverTypeV2026 = exports.EntitlementAccessRequestConfigMaxPermittedAccessDurationV2026TimeUnitV2026 = exports.DtoTypeV2026 = exports.ApprovalConfigV2026CommentsV2026 = exports.AccountRequestPhaseV2026NameV2026 = exports.AccountRequestPhaseStateV2026 = void 0;
82
82
  var axios_1 = __importDefault(require("axios"));
83
83
  // Some imports not used depending on template conditions
84
84
  // @ts-ignore
@@ -166,6 +166,19 @@ exports.DtoTypeV2026 = {
166
166
  Dimension: 'DIMENSION',
167
167
  Unknown: 'UNKNOWN'
168
168
  };
169
+ exports.EntitlementAccessRequestConfigMaxPermittedAccessDurationV2026TimeUnitV2026 = {
170
+ Hours: 'HOURS',
171
+ Days: 'DAYS',
172
+ Weeks: 'WEEKS',
173
+ Months: 'MONTHS'
174
+ };
175
+ exports.EntitlementApprovalSchemeV2026ApproverTypeV2026 = {
176
+ EntitlementOwner: 'ENTITLEMENT_OWNER',
177
+ SourceOwner: 'SOURCE_OWNER',
178
+ Manager: 'MANAGER',
179
+ GovernanceGroup: 'GOVERNANCE_GROUP',
180
+ Workflow: 'WORKFLOW'
181
+ };
169
182
  exports.EntitlementOwnerV2026TypeV2026 = {
170
183
  Identity: 'IDENTITY'
171
184
  };
@@ -231,6 +244,240 @@ exports.TaskStatusV2026CompletionStatusV2026 = {
231
244
  Terminated: 'TERMINATED',
232
245
  Temperror: 'TEMPERROR'
233
246
  };
247
+ /**
248
+ * AccessRequestsV2026Api - axios parameter creator
249
+ * @export
250
+ */
251
+ var AccessRequestsV2026ApiAxiosParamCreator = function (configuration) {
252
+ var _this = this;
253
+ return {
254
+ /**
255
+ * This endpoint returns the current access-request configuration.
256
+ * @summary Get access request configuration
257
+ * @param {*} [axiosOptions] Override http request option.
258
+ * @throws {RequiredError}
259
+ */
260
+ getAccessRequestConfig: function (axiosOptions) {
261
+ if (axiosOptions === void 0) { axiosOptions = {}; }
262
+ return __awaiter(_this, void 0, void 0, function () {
263
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
264
+ return __generator(this, function (_a) {
265
+ switch (_a.label) {
266
+ case 0:
267
+ localVarPath = "/access-request-config";
268
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
269
+ if (configuration) {
270
+ baseOptions = configuration.baseOptions;
271
+ }
272
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
273
+ localVarHeaderParameter = {};
274
+ localVarQueryParameter = {};
275
+ // authentication userAuth required
276
+ // oauth required
277
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
278
+ // authentication userAuth required
279
+ // oauth required
280
+ ];
281
+ case 1:
282
+ // authentication userAuth required
283
+ // oauth required
284
+ _a.sent();
285
+ // authentication userAuth required
286
+ // oauth required
287
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)];
288
+ case 2:
289
+ // authentication userAuth required
290
+ // oauth required
291
+ _a.sent();
292
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
293
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
294
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
295
+ return [2 /*return*/, {
296
+ url: (0, common_1.toPathString)(localVarUrlObj),
297
+ axiosOptions: localVarRequestOptions,
298
+ }];
299
+ }
300
+ });
301
+ });
302
+ },
303
+ /**
304
+ * This endpoint replaces the current access-request configuration.
305
+ * @summary Update access request configuration
306
+ * @param {AccessRequestConfigV2026} accessRequestConfigV2026
307
+ * @param {*} [axiosOptions] Override http request option.
308
+ * @throws {RequiredError}
309
+ */
310
+ setAccessRequestConfig: function (accessRequestConfigV2026, axiosOptions) {
311
+ if (axiosOptions === void 0) { axiosOptions = {}; }
312
+ return __awaiter(_this, void 0, void 0, function () {
313
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
314
+ return __generator(this, function (_a) {
315
+ switch (_a.label) {
316
+ case 0:
317
+ // verify required parameter 'accessRequestConfigV2026' is not null or undefined
318
+ (0, common_1.assertParamExists)('setAccessRequestConfig', 'accessRequestConfigV2026', accessRequestConfigV2026);
319
+ localVarPath = "/access-request-config";
320
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
321
+ if (configuration) {
322
+ baseOptions = configuration.baseOptions;
323
+ }
324
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), axiosOptions);
325
+ localVarHeaderParameter = {};
326
+ localVarQueryParameter = {};
327
+ // authentication userAuth required
328
+ // oauth required
329
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
330
+ // authentication userAuth required
331
+ // oauth required
332
+ ];
333
+ case 1:
334
+ // authentication userAuth required
335
+ // oauth required
336
+ _a.sent();
337
+ // authentication userAuth required
338
+ // oauth required
339
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)];
340
+ case 2:
341
+ // authentication userAuth required
342
+ // oauth required
343
+ _a.sent();
344
+ localVarHeaderParameter['Content-Type'] = 'application/json';
345
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
346
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
347
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
348
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(accessRequestConfigV2026, localVarRequestOptions, configuration);
349
+ return [2 /*return*/, {
350
+ url: (0, common_1.toPathString)(localVarUrlObj),
351
+ axiosOptions: localVarRequestOptions,
352
+ }];
353
+ }
354
+ });
355
+ });
356
+ },
357
+ };
358
+ };
359
+ exports.AccessRequestsV2026ApiAxiosParamCreator = AccessRequestsV2026ApiAxiosParamCreator;
360
+ /**
361
+ * AccessRequestsV2026Api - functional programming interface
362
+ * @export
363
+ */
364
+ var AccessRequestsV2026ApiFp = function (configuration) {
365
+ var localVarAxiosParamCreator = (0, exports.AccessRequestsV2026ApiAxiosParamCreator)(configuration);
366
+ return {
367
+ /**
368
+ * This endpoint returns the current access-request configuration.
369
+ * @summary Get access request configuration
370
+ * @param {*} [axiosOptions] Override http request option.
371
+ * @throws {RequiredError}
372
+ */
373
+ getAccessRequestConfig: function (axiosOptions) {
374
+ var _a, _b, _c;
375
+ return __awaiter(this, void 0, void 0, function () {
376
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
377
+ return __generator(this, function (_d) {
378
+ switch (_d.label) {
379
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getAccessRequestConfig(axiosOptions)];
380
+ case 1:
381
+ localVarAxiosArgs = _d.sent();
382
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
383
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessRequestsV2026Api.getAccessRequestConfig']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
384
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
385
+ }
386
+ });
387
+ });
388
+ },
389
+ /**
390
+ * This endpoint replaces the current access-request configuration.
391
+ * @summary Update access request configuration
392
+ * @param {AccessRequestConfigV2026} accessRequestConfigV2026
393
+ * @param {*} [axiosOptions] Override http request option.
394
+ * @throws {RequiredError}
395
+ */
396
+ setAccessRequestConfig: function (accessRequestConfigV2026, axiosOptions) {
397
+ var _a, _b, _c;
398
+ return __awaiter(this, void 0, void 0, function () {
399
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
400
+ return __generator(this, function (_d) {
401
+ switch (_d.label) {
402
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.setAccessRequestConfig(accessRequestConfigV2026, axiosOptions)];
403
+ case 1:
404
+ localVarAxiosArgs = _d.sent();
405
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
406
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessRequestsV2026Api.setAccessRequestConfig']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
407
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
408
+ }
409
+ });
410
+ });
411
+ },
412
+ };
413
+ };
414
+ exports.AccessRequestsV2026ApiFp = AccessRequestsV2026ApiFp;
415
+ /**
416
+ * AccessRequestsV2026Api - factory interface
417
+ * @export
418
+ */
419
+ var AccessRequestsV2026ApiFactory = function (configuration, basePath, axios) {
420
+ var localVarFp = (0, exports.AccessRequestsV2026ApiFp)(configuration);
421
+ return {
422
+ /**
423
+ * This endpoint returns the current access-request configuration.
424
+ * @summary Get access request configuration
425
+ * @param {*} [axiosOptions] Override http request option.
426
+ * @throws {RequiredError}
427
+ */
428
+ getAccessRequestConfig: function (axiosOptions) {
429
+ return localVarFp.getAccessRequestConfig(axiosOptions).then(function (request) { return request(axios, basePath); });
430
+ },
431
+ /**
432
+ * This endpoint replaces the current access-request configuration.
433
+ * @summary Update access request configuration
434
+ * @param {AccessRequestsV2026ApiSetAccessRequestConfigRequest} requestParameters Request parameters.
435
+ * @param {*} [axiosOptions] Override http request option.
436
+ * @throws {RequiredError}
437
+ */
438
+ setAccessRequestConfig: function (requestParameters, axiosOptions) {
439
+ return localVarFp.setAccessRequestConfig(requestParameters.accessRequestConfigV2026, axiosOptions).then(function (request) { return request(axios, basePath); });
440
+ },
441
+ };
442
+ };
443
+ exports.AccessRequestsV2026ApiFactory = AccessRequestsV2026ApiFactory;
444
+ /**
445
+ * AccessRequestsV2026Api - object-oriented interface
446
+ * @export
447
+ * @class AccessRequestsV2026Api
448
+ * @extends {BaseAPI}
449
+ */
450
+ var AccessRequestsV2026Api = /** @class */ (function (_super) {
451
+ __extends(AccessRequestsV2026Api, _super);
452
+ function AccessRequestsV2026Api() {
453
+ return _super !== null && _super.apply(this, arguments) || this;
454
+ }
455
+ /**
456
+ * This endpoint returns the current access-request configuration.
457
+ * @summary Get access request configuration
458
+ * @param {*} [axiosOptions] Override http request option.
459
+ * @throws {RequiredError}
460
+ * @memberof AccessRequestsV2026Api
461
+ */
462
+ AccessRequestsV2026Api.prototype.getAccessRequestConfig = function (axiosOptions) {
463
+ var _this = this;
464
+ return (0, exports.AccessRequestsV2026ApiFp)(this.configuration).getAccessRequestConfig(axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
465
+ };
466
+ /**
467
+ * This endpoint replaces the current access-request configuration.
468
+ * @summary Update access request configuration
469
+ * @param {AccessRequestsV2026ApiSetAccessRequestConfigRequest} requestParameters Request parameters.
470
+ * @param {*} [axiosOptions] Override http request option.
471
+ * @throws {RequiredError}
472
+ * @memberof AccessRequestsV2026Api
473
+ */
474
+ AccessRequestsV2026Api.prototype.setAccessRequestConfig = function (requestParameters, axiosOptions) {
475
+ var _this = this;
476
+ return (0, exports.AccessRequestsV2026ApiFp)(this.configuration).setAccessRequestConfig(requestParameters.accessRequestConfigV2026, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
477
+ };
478
+ return AccessRequestsV2026Api;
479
+ }(base_1.BaseAPI));
480
+ exports.AccessRequestsV2026Api = AccessRequestsV2026Api;
234
481
  /**
235
482
  * AccountDeletionRequestsV2026Api - axios parameter creator
236
483
  * @export