sailpoint-api-client 1.8.14 → 1.8.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/beta/README.md +2 -2
- package/beta/common.ts +2 -2
- package/beta/package.json +1 -1
- package/dist/beta/common.js +2 -2
- package/dist/nerm/common.js +2 -2
- package/dist/nermv2025/common.js +2 -2
- package/dist/v2024/common.js +2 -2
- package/dist/v2025/api.d.ts +6 -0
- package/dist/v2025/api.js.map +1 -1
- package/dist/v2025/common.js +2 -2
- package/dist/v2026/api.d.ts +864 -101
- package/dist/v2026/api.js +1110 -226
- package/dist/v2026/api.js.map +1 -1
- package/dist/v2026/common.js +2 -2
- package/dist/v3/common.js +2 -2
- package/nerm/README.md +2 -2
- package/nerm/common.ts +2 -2
- package/nerm/package.json +1 -1
- package/nermv2025/README.md +2 -2
- package/nermv2025/common.ts +2 -2
- package/nermv2025/package.json +1 -1
- package/package.json +1 -1
- package/v2024/README.md +2 -2
- package/v2024/common.ts +2 -2
- package/v2024/package.json +1 -1
- package/v2025/README.md +2 -2
- package/v2025/api.ts +6 -0
- package/v2025/common.ts +2 -2
- package/v2025/package.json +1 -1
- package/v2026/README.md +2 -2
- package/v2026/api.ts +1512 -320
- package/v2026/common.ts +2 -2
- package/v2026/package.json +1 -1
- package/v3/README.md +2 -2
- package/v3/common.ts +2 -2
- package/v3/package.json +1 -1
package/v2026/api.ts
CHANGED
|
@@ -5234,19 +5234,6 @@ export interface AccountCreatedV2026 {
|
|
|
5234
5234
|
*/
|
|
5235
5235
|
'identity': IdentityReference1V2026;
|
|
5236
5236
|
}
|
|
5237
|
-
/**
|
|
5238
|
-
* Asynchronous response containing a unique tracking ID for the account deletion request
|
|
5239
|
-
* @export
|
|
5240
|
-
* @interface AccountDeleteAsyncResultV2026
|
|
5241
|
-
*/
|
|
5242
|
-
export interface AccountDeleteAsyncResultV2026 {
|
|
5243
|
-
/**
|
|
5244
|
-
* Id of the deletion request
|
|
5245
|
-
* @type {string}
|
|
5246
|
-
* @memberof AccountDeleteAsyncResultV2026
|
|
5247
|
-
*/
|
|
5248
|
-
'accountRequestId': string;
|
|
5249
|
-
}
|
|
5250
5237
|
/**
|
|
5251
5238
|
* detailed information about account delete approval config
|
|
5252
5239
|
* @export
|
|
@@ -5584,6 +5571,101 @@ export interface AccountItemRefV2026 {
|
|
|
5584
5571
|
*/
|
|
5585
5572
|
'nativeIdentity'?: string;
|
|
5586
5573
|
}
|
|
5574
|
+
/**
|
|
5575
|
+
* Asynchronous response containing a unique tracking ID for the account request
|
|
5576
|
+
* @export
|
|
5577
|
+
* @interface AccountRequestAsyncResultV2026
|
|
5578
|
+
*/
|
|
5579
|
+
export interface AccountRequestAsyncResultV2026 {
|
|
5580
|
+
/**
|
|
5581
|
+
* Id of the account request
|
|
5582
|
+
* @type {string}
|
|
5583
|
+
* @memberof AccountRequestAsyncResultV2026
|
|
5584
|
+
*/
|
|
5585
|
+
'accountRequestId': string;
|
|
5586
|
+
}
|
|
5587
|
+
/**
|
|
5588
|
+
*
|
|
5589
|
+
* @export
|
|
5590
|
+
* @interface AccountRequestDetailsDtoRequesterV2026
|
|
5591
|
+
*/
|
|
5592
|
+
export interface AccountRequestDetailsDtoRequesterV2026 {
|
|
5593
|
+
/**
|
|
5594
|
+
*
|
|
5595
|
+
* @type {DtoTypeV2026}
|
|
5596
|
+
* @memberof AccountRequestDetailsDtoRequesterV2026
|
|
5597
|
+
*/
|
|
5598
|
+
'type'?: DtoTypeV2026;
|
|
5599
|
+
/**
|
|
5600
|
+
* ID of the object to which this reference applies
|
|
5601
|
+
* @type {string}
|
|
5602
|
+
* @memberof AccountRequestDetailsDtoRequesterV2026
|
|
5603
|
+
*/
|
|
5604
|
+
'id'?: string;
|
|
5605
|
+
/**
|
|
5606
|
+
* Human-readable display name of the object to which this reference applies
|
|
5607
|
+
* @type {string}
|
|
5608
|
+
* @memberof AccountRequestDetailsDtoRequesterV2026
|
|
5609
|
+
*/
|
|
5610
|
+
'name'?: string;
|
|
5611
|
+
}
|
|
5612
|
+
|
|
5613
|
+
|
|
5614
|
+
/**
|
|
5615
|
+
* Represents a request to create a machine account.
|
|
5616
|
+
* @export
|
|
5617
|
+
* @interface AccountRequestDetailsDtoV2026
|
|
5618
|
+
*/
|
|
5619
|
+
export interface AccountRequestDetailsDtoV2026 {
|
|
5620
|
+
/**
|
|
5621
|
+
* Account request ID.
|
|
5622
|
+
* @type {string}
|
|
5623
|
+
* @memberof AccountRequestDetailsDtoV2026
|
|
5624
|
+
*/
|
|
5625
|
+
'accountRequestId'?: string;
|
|
5626
|
+
/**
|
|
5627
|
+
* Type of the account request.
|
|
5628
|
+
* @type {string}
|
|
5629
|
+
* @memberof AccountRequestDetailsDtoV2026
|
|
5630
|
+
*/
|
|
5631
|
+
'requestType'?: string;
|
|
5632
|
+
/**
|
|
5633
|
+
* Machine account creation request creation date and time.
|
|
5634
|
+
* @type {string}
|
|
5635
|
+
* @memberof AccountRequestDetailsDtoV2026
|
|
5636
|
+
*/
|
|
5637
|
+
'createdAt'?: string;
|
|
5638
|
+
/**
|
|
5639
|
+
* Machine account creation request completion date and time.
|
|
5640
|
+
* @type {string}
|
|
5641
|
+
* @memberof AccountRequestDetailsDtoV2026
|
|
5642
|
+
*/
|
|
5643
|
+
'completedAt'?: string | null;
|
|
5644
|
+
/**
|
|
5645
|
+
* Overall status of the creation request.
|
|
5646
|
+
* @type {string}
|
|
5647
|
+
* @memberof AccountRequestDetailsDtoV2026
|
|
5648
|
+
*/
|
|
5649
|
+
'overallStatus'?: string;
|
|
5650
|
+
/**
|
|
5651
|
+
*
|
|
5652
|
+
* @type {AccountRequestDetailsDtoRequesterV2026}
|
|
5653
|
+
* @memberof AccountRequestDetailsDtoV2026
|
|
5654
|
+
*/
|
|
5655
|
+
'requester'?: AccountRequestDetailsDtoRequesterV2026;
|
|
5656
|
+
/**
|
|
5657
|
+
* List of account request phases.
|
|
5658
|
+
* @type {Array<AccountRequestPhaseV2026>}
|
|
5659
|
+
* @memberof AccountRequestDetailsDtoV2026
|
|
5660
|
+
*/
|
|
5661
|
+
'accountRequestPhases'?: Array<AccountRequestPhaseV2026>;
|
|
5662
|
+
/**
|
|
5663
|
+
* Detailed error information.
|
|
5664
|
+
* @type {string}
|
|
5665
|
+
* @memberof AccountRequestDetailsDtoV2026
|
|
5666
|
+
*/
|
|
5667
|
+
'errorDetails'?: string | null;
|
|
5668
|
+
}
|
|
5587
5669
|
/**
|
|
5588
5670
|
* If an account activity item is associated with an access request, captures details of that request.
|
|
5589
5671
|
* @export
|
|
@@ -5623,7 +5705,8 @@ export const AccountRequestPhaseStateV2026 = {
|
|
|
5623
5705
|
Approved: 'APPROVED',
|
|
5624
5706
|
Rejected: 'REJECTED',
|
|
5625
5707
|
Passed: 'PASSED',
|
|
5626
|
-
Failed: 'FAILED'
|
|
5708
|
+
Failed: 'FAILED',
|
|
5709
|
+
NotStarted: 'NOT_STARTED'
|
|
5627
5710
|
} as const;
|
|
5628
5711
|
|
|
5629
5712
|
export type AccountRequestPhaseStateV2026 = typeof AccountRequestPhaseStateV2026[keyof typeof AccountRequestPhaseStateV2026];
|
|
@@ -27751,86 +27834,218 @@ export interface LowerV2026 {
|
|
|
27751
27834
|
*/
|
|
27752
27835
|
'input'?: { [key: string]: any; };
|
|
27753
27836
|
}
|
|
27837
|
+
/**
|
|
27838
|
+
*
|
|
27839
|
+
* @export
|
|
27840
|
+
* @interface MachineAccountCreateAccessDtoSubtypesInnerV2026
|
|
27841
|
+
*/
|
|
27842
|
+
export interface MachineAccountCreateAccessDtoSubtypesInnerV2026 {
|
|
27843
|
+
/**
|
|
27844
|
+
* Subtype ID.
|
|
27845
|
+
* @type {string}
|
|
27846
|
+
* @memberof MachineAccountCreateAccessDtoSubtypesInnerV2026
|
|
27847
|
+
*/
|
|
27848
|
+
'subtypeId'?: string;
|
|
27849
|
+
/**
|
|
27850
|
+
* Entitlement ID.
|
|
27851
|
+
* @type {string}
|
|
27852
|
+
* @memberof MachineAccountCreateAccessDtoSubtypesInnerV2026
|
|
27853
|
+
*/
|
|
27854
|
+
'entitlementId'?: string;
|
|
27855
|
+
/**
|
|
27856
|
+
* Subtype display name.
|
|
27857
|
+
* @type {string}
|
|
27858
|
+
* @memberof MachineAccountCreateAccessDtoSubtypesInnerV2026
|
|
27859
|
+
*/
|
|
27860
|
+
'subtypeDisplayName'?: string;
|
|
27861
|
+
/**
|
|
27862
|
+
* Subtype technical name.
|
|
27863
|
+
* @type {string}
|
|
27864
|
+
* @memberof MachineAccountCreateAccessDtoSubtypesInnerV2026
|
|
27865
|
+
*/
|
|
27866
|
+
'subtypeTechnicalName'?: string;
|
|
27867
|
+
}
|
|
27868
|
+
/**
|
|
27869
|
+
* A summary endpoint which returns list of sources and subtypes for which user has an entitlement to request machine accounts.
|
|
27870
|
+
* @export
|
|
27871
|
+
* @interface MachineAccountCreateAccessDtoV2026
|
|
27872
|
+
*/
|
|
27873
|
+
export interface MachineAccountCreateAccessDtoV2026 {
|
|
27874
|
+
/**
|
|
27875
|
+
* Source ID.
|
|
27876
|
+
* @type {string}
|
|
27877
|
+
* @memberof MachineAccountCreateAccessDtoV2026
|
|
27878
|
+
*/
|
|
27879
|
+
'sourceId'?: string;
|
|
27880
|
+
/**
|
|
27881
|
+
* Source name.
|
|
27882
|
+
* @type {string}
|
|
27883
|
+
* @memberof MachineAccountCreateAccessDtoV2026
|
|
27884
|
+
*/
|
|
27885
|
+
'sourceName'?: string;
|
|
27886
|
+
/**
|
|
27887
|
+
* List of subtypes for which the user has an entitlement to request machine accounts.
|
|
27888
|
+
* @type {Array<MachineAccountCreateAccessDtoSubtypesInnerV2026>}
|
|
27889
|
+
* @memberof MachineAccountCreateAccessDtoV2026
|
|
27890
|
+
*/
|
|
27891
|
+
'subtypes'?: Array<MachineAccountCreateAccessDtoSubtypesInnerV2026>;
|
|
27892
|
+
}
|
|
27893
|
+
/**
|
|
27894
|
+
* Contains the required information for processing a user-initiated machine account creation request.
|
|
27895
|
+
* @export
|
|
27896
|
+
* @interface MachineAccountCreateRequestInputV2026
|
|
27897
|
+
*/
|
|
27898
|
+
export interface MachineAccountCreateRequestInputV2026 {
|
|
27899
|
+
/**
|
|
27900
|
+
* Subtype ID for which machine account create is enabled and user have the entitlement to create the machine account.
|
|
27901
|
+
* @type {string}
|
|
27902
|
+
* @memberof MachineAccountCreateRequestInputV2026
|
|
27903
|
+
*/
|
|
27904
|
+
'subtypeId': string;
|
|
27905
|
+
/**
|
|
27906
|
+
* Form ID selected by user for the machine account create request.
|
|
27907
|
+
* @type {string}
|
|
27908
|
+
* @memberof MachineAccountCreateRequestInputV2026
|
|
27909
|
+
*/
|
|
27910
|
+
'formId'?: string;
|
|
27911
|
+
/**
|
|
27912
|
+
* Owner Identity ID. This identity will be assigned as an owner of the created machine account.
|
|
27913
|
+
* @type {string}
|
|
27914
|
+
* @memberof MachineAccountCreateRequestInputV2026
|
|
27915
|
+
*/
|
|
27916
|
+
'ownerIdentityId': string;
|
|
27917
|
+
/**
|
|
27918
|
+
* Machine identity to correlate with the created machine account. If not provided, a new machine identity will be created.
|
|
27919
|
+
* @type {string}
|
|
27920
|
+
* @memberof MachineAccountCreateRequestInputV2026
|
|
27921
|
+
*/
|
|
27922
|
+
'machineIdentityId'?: string | null;
|
|
27923
|
+
/**
|
|
27924
|
+
* Environment type to use for the machine account.
|
|
27925
|
+
* @type {string}
|
|
27926
|
+
* @memberof MachineAccountCreateRequestInputV2026
|
|
27927
|
+
*/
|
|
27928
|
+
'environment'?: string;
|
|
27929
|
+
/**
|
|
27930
|
+
* Description for the machine account.
|
|
27931
|
+
* @type {string}
|
|
27932
|
+
* @memberof MachineAccountCreateRequestInputV2026
|
|
27933
|
+
*/
|
|
27934
|
+
'description'?: string;
|
|
27935
|
+
/**
|
|
27936
|
+
* Fields of the form linked to the subtype in approval settings.
|
|
27937
|
+
* @type {object}
|
|
27938
|
+
* @memberof MachineAccountCreateRequestInputV2026
|
|
27939
|
+
*/
|
|
27940
|
+
'userInput'?: object;
|
|
27941
|
+
/**
|
|
27942
|
+
* List of entitlement IDs to provision for created machine account.
|
|
27943
|
+
* @type {Array<string>}
|
|
27944
|
+
* @memberof MachineAccountCreateRequestInputV2026
|
|
27945
|
+
*/
|
|
27946
|
+
'entitlementIds'?: Array<string>;
|
|
27947
|
+
}
|
|
27754
27948
|
/**
|
|
27755
27949
|
* Configuration options for machine account creation, including whether creation is enabled, if approval is required, associated form and entitlement IDs, and detailed approval settings such as approvers and allowed comment types.
|
|
27756
27950
|
* @export
|
|
27757
|
-
* @interface
|
|
27951
|
+
* @interface MachineAccountSubtypeConfigDtoMachineAccountCreateV2026
|
|
27758
27952
|
*/
|
|
27759
|
-
export interface
|
|
27953
|
+
export interface MachineAccountSubtypeConfigDtoMachineAccountCreateV2026 {
|
|
27760
27954
|
/**
|
|
27761
27955
|
* Specifies if the creation of machine accounts is allowed for this subtype.
|
|
27762
27956
|
* @type {boolean}
|
|
27763
|
-
* @memberof
|
|
27957
|
+
* @memberof MachineAccountSubtypeConfigDtoMachineAccountCreateV2026
|
|
27764
27958
|
*/
|
|
27765
27959
|
'accountCreateEnabled'?: boolean;
|
|
27766
27960
|
/**
|
|
27767
|
-
* Specifies if approval is
|
|
27961
|
+
* Specifies if approval is required for machine account creation requests for this subtype.
|
|
27768
27962
|
* @type {boolean}
|
|
27769
|
-
* @memberof
|
|
27963
|
+
* @memberof MachineAccountSubtypeConfigDtoMachineAccountCreateV2026
|
|
27770
27964
|
*/
|
|
27771
27965
|
'approvalRequired'?: boolean;
|
|
27772
27966
|
/**
|
|
27773
|
-
*
|
|
27967
|
+
* Id of the form linked to subtype.
|
|
27774
27968
|
* @type {string}
|
|
27775
|
-
* @memberof
|
|
27969
|
+
* @memberof MachineAccountSubtypeConfigDtoMachineAccountCreateV2026
|
|
27776
27970
|
*/
|
|
27777
27971
|
'formId'?: string;
|
|
27778
27972
|
/**
|
|
27779
|
-
*
|
|
27973
|
+
* Id of the system created entitlement entitlement upon enabling account creation for this subtype.
|
|
27780
27974
|
* @type {string}
|
|
27781
|
-
* @memberof
|
|
27975
|
+
* @memberof MachineAccountSubtypeConfigDtoMachineAccountCreateV2026
|
|
27782
27976
|
*/
|
|
27783
27977
|
'entitlementId'?: string;
|
|
27978
|
+
/**
|
|
27979
|
+
* This is required before enabling the account creation to true. Default value will be null.
|
|
27980
|
+
* @type {string}
|
|
27981
|
+
* @memberof MachineAccountSubtypeConfigDtoMachineAccountCreateV2026
|
|
27982
|
+
*/
|
|
27983
|
+
'passwordSetting'?: MachineAccountSubtypeConfigDtoMachineAccountCreateV2026PasswordSettingV2026;
|
|
27984
|
+
/**
|
|
27985
|
+
* Name of the account attribute from the source\'s schema or new custom attribute to use when password settings is enabled.
|
|
27986
|
+
* @type {string}
|
|
27987
|
+
* @memberof MachineAccountSubtypeConfigDtoMachineAccountCreateV2026
|
|
27988
|
+
*/
|
|
27989
|
+
'passwordAttribute'?: string;
|
|
27784
27990
|
/**
|
|
27785
27991
|
*
|
|
27786
|
-
* @type {
|
|
27787
|
-
* @memberof
|
|
27992
|
+
* @type {MachineSubtypeApprovalConfigV2026}
|
|
27993
|
+
* @memberof MachineAccountSubtypeConfigDtoMachineAccountCreateV2026
|
|
27788
27994
|
*/
|
|
27789
|
-
'approvalConfig'?:
|
|
27995
|
+
'approvalConfig'?: MachineSubtypeApprovalConfigV2026;
|
|
27790
27996
|
}
|
|
27997
|
+
|
|
27998
|
+
export const MachineAccountSubtypeConfigDtoMachineAccountCreateV2026PasswordSettingV2026 = {
|
|
27999
|
+
DoNotSetPassword: 'DO_NOT_SET_PASSWORD',
|
|
28000
|
+
SetToExistingAttribute: 'SET_TO_EXISTING_ATTRIBUTE',
|
|
28001
|
+
SetToNewAttribute: 'SET_TO_NEW_ATTRIBUTE'
|
|
28002
|
+
} as const;
|
|
28003
|
+
|
|
28004
|
+
export type MachineAccountSubtypeConfigDtoMachineAccountCreateV2026PasswordSettingV2026 = typeof MachineAccountSubtypeConfigDtoMachineAccountCreateV2026PasswordSettingV2026[keyof typeof MachineAccountSubtypeConfigDtoMachineAccountCreateV2026PasswordSettingV2026];
|
|
28005
|
+
|
|
27791
28006
|
/**
|
|
27792
28007
|
* Configuration options for machine account deletion, including whether approval is required, the list of authorized approvers, and the types of comments permitted during the approval workflow.
|
|
27793
28008
|
* @export
|
|
27794
|
-
* @interface
|
|
28009
|
+
* @interface MachineAccountSubtypeConfigDtoMachineAccountDeleteV2026
|
|
27795
28010
|
*/
|
|
27796
|
-
export interface
|
|
28011
|
+
export interface MachineAccountSubtypeConfigDtoMachineAccountDeleteV2026 {
|
|
27797
28012
|
/**
|
|
27798
28013
|
* Indicates whether approval is required for an account deletion request.
|
|
27799
28014
|
* @type {boolean}
|
|
27800
|
-
* @memberof
|
|
28015
|
+
* @memberof MachineAccountSubtypeConfigDtoMachineAccountDeleteV2026
|
|
27801
28016
|
*/
|
|
27802
28017
|
'approvalRequired'?: boolean;
|
|
27803
28018
|
/**
|
|
27804
28019
|
*
|
|
27805
|
-
* @type {
|
|
27806
|
-
* @memberof
|
|
28020
|
+
* @type {MachineSubtypeApprovalConfigV2026}
|
|
28021
|
+
* @memberof MachineAccountSubtypeConfigDtoMachineAccountDeleteV2026
|
|
27807
28022
|
*/
|
|
27808
|
-
'approvalConfig'?:
|
|
28023
|
+
'approvalConfig'?: MachineSubtypeApprovalConfigV2026;
|
|
27809
28024
|
}
|
|
27810
28025
|
/**
|
|
27811
28026
|
* Contains comprehensive configuration details for machine account subtype approval, including creation and deletion approval requirements, approver lists, form and entitlement references, and approval status options.
|
|
27812
28027
|
* @export
|
|
27813
|
-
* @interface
|
|
28028
|
+
* @interface MachineAccountSubtypeConfigDtoV2026
|
|
27814
28029
|
*/
|
|
27815
|
-
export interface
|
|
28030
|
+
export interface MachineAccountSubtypeConfigDtoV2026 {
|
|
27816
28031
|
/**
|
|
27817
28032
|
* Unique identifier representing the specific subtype of the machine account, used to distinguish between different machine account categories.
|
|
27818
28033
|
* @type {string}
|
|
27819
|
-
* @memberof
|
|
28034
|
+
* @memberof MachineAccountSubtypeConfigDtoV2026
|
|
27820
28035
|
*/
|
|
27821
28036
|
'subtypeId'?: string;
|
|
27822
28037
|
/**
|
|
27823
28038
|
*
|
|
27824
|
-
* @type {
|
|
27825
|
-
* @memberof
|
|
28039
|
+
* @type {MachineAccountSubtypeConfigDtoMachineAccountCreateV2026}
|
|
28040
|
+
* @memberof MachineAccountSubtypeConfigDtoV2026
|
|
27826
28041
|
*/
|
|
27827
|
-
'machineAccountCreate'?:
|
|
28042
|
+
'machineAccountCreate'?: MachineAccountSubtypeConfigDtoMachineAccountCreateV2026;
|
|
27828
28043
|
/**
|
|
27829
28044
|
*
|
|
27830
|
-
* @type {
|
|
27831
|
-
* @memberof
|
|
28045
|
+
* @type {MachineAccountSubtypeConfigDtoMachineAccountDeleteV2026}
|
|
28046
|
+
* @memberof MachineAccountSubtypeConfigDtoV2026
|
|
27832
28047
|
*/
|
|
27833
|
-
'machineAccountDelete'?:
|
|
28048
|
+
'machineAccountDelete'?: MachineAccountSubtypeConfigDtoMachineAccountDeleteV2026;
|
|
27834
28049
|
}
|
|
27835
28050
|
/**
|
|
27836
28051
|
*
|
|
@@ -28186,6 +28401,12 @@ export interface MachineIdentityAggregationRequestV2026 {
|
|
|
28186
28401
|
* @memberof MachineIdentityAggregationRequestV2026
|
|
28187
28402
|
*/
|
|
28188
28403
|
'datasetIds': Array<string>;
|
|
28404
|
+
/**
|
|
28405
|
+
* Flag to disable optimization for the aggregation. Defaults to false when not provided. When set to true, it disables aggregation optimizations and may increase processing time.
|
|
28406
|
+
* @type {boolean}
|
|
28407
|
+
* @memberof MachineIdentityAggregationRequestV2026
|
|
28408
|
+
*/
|
|
28409
|
+
'disableOptimization'?: boolean;
|
|
28189
28410
|
}
|
|
28190
28411
|
/**
|
|
28191
28412
|
* The target(source) of the aggregation
|
|
@@ -29418,6 +29639,25 @@ export interface MachineIdentityV2026 {
|
|
|
29418
29639
|
*/
|
|
29419
29640
|
'uuid'?: string;
|
|
29420
29641
|
}
|
|
29642
|
+
/**
|
|
29643
|
+
*
|
|
29644
|
+
* @export
|
|
29645
|
+
* @interface MachineSubtypeApprovalConfigV2026
|
|
29646
|
+
*/
|
|
29647
|
+
export interface MachineSubtypeApprovalConfigV2026 {
|
|
29648
|
+
/**
|
|
29649
|
+
* Comma separated string of approvers. Following are the options for approver types: manager, sourceOwner, accountOwner, workgroup:{workgroupId} (Governance group). Approval request will be assigned based on the order of the approvers passed. Multiple workgroups(governance groups) can be selected as an approver. >**Note:** accountOwner approver type is only for machine account delete approval settings.
|
|
29650
|
+
* @type {string}
|
|
29651
|
+
* @memberof MachineSubtypeApprovalConfigV2026
|
|
29652
|
+
*/
|
|
29653
|
+
'approvers'?: string;
|
|
29654
|
+
/**
|
|
29655
|
+
* Comment configurations for the approval request. Following are the options for comments: ALL, OFF, APPROVAL, REJECT.
|
|
29656
|
+
* @type {string}
|
|
29657
|
+
* @memberof MachineSubtypeApprovalConfigV2026
|
|
29658
|
+
*/
|
|
29659
|
+
'comments'?: string;
|
|
29660
|
+
}
|
|
29421
29661
|
/**
|
|
29422
29662
|
* MAIL FROM attributes for a domain / identity
|
|
29423
29663
|
* @export
|
|
@@ -47596,6 +47836,99 @@ export interface SourceSubtypeV2026 {
|
|
|
47596
47836
|
*/
|
|
47597
47837
|
'type'?: string;
|
|
47598
47838
|
}
|
|
47839
|
+
/**
|
|
47840
|
+
* Source reference of the subtype.
|
|
47841
|
+
* @export
|
|
47842
|
+
* @interface SourceSubtypeWithSourceSourceV2026
|
|
47843
|
+
*/
|
|
47844
|
+
export interface SourceSubtypeWithSourceSourceV2026 {
|
|
47845
|
+
/**
|
|
47846
|
+
* Type of the reference object.
|
|
47847
|
+
* @type {string}
|
|
47848
|
+
* @memberof SourceSubtypeWithSourceSourceV2026
|
|
47849
|
+
*/
|
|
47850
|
+
'type'?: SourceSubtypeWithSourceSourceV2026TypeV2026;
|
|
47851
|
+
/**
|
|
47852
|
+
* Unique identifier for the source.
|
|
47853
|
+
* @type {string}
|
|
47854
|
+
* @memberof SourceSubtypeWithSourceSourceV2026
|
|
47855
|
+
*/
|
|
47856
|
+
'id'?: string;
|
|
47857
|
+
/**
|
|
47858
|
+
* Name of the source.
|
|
47859
|
+
* @type {string}
|
|
47860
|
+
* @memberof SourceSubtypeWithSourceSourceV2026
|
|
47861
|
+
*/
|
|
47862
|
+
'name'?: string;
|
|
47863
|
+
}
|
|
47864
|
+
|
|
47865
|
+
export const SourceSubtypeWithSourceSourceV2026TypeV2026 = {
|
|
47866
|
+
Source: 'SOURCE'
|
|
47867
|
+
} as const;
|
|
47868
|
+
|
|
47869
|
+
export type SourceSubtypeWithSourceSourceV2026TypeV2026 = typeof SourceSubtypeWithSourceSourceV2026TypeV2026[keyof typeof SourceSubtypeWithSourceSourceV2026TypeV2026];
|
|
47870
|
+
|
|
47871
|
+
/**
|
|
47872
|
+
*
|
|
47873
|
+
* @export
|
|
47874
|
+
* @interface SourceSubtypeWithSourceV2026
|
|
47875
|
+
*/
|
|
47876
|
+
export interface SourceSubtypeWithSourceV2026 {
|
|
47877
|
+
/**
|
|
47878
|
+
* Unique identifier for the subtype.
|
|
47879
|
+
* @type {string}
|
|
47880
|
+
* @memberof SourceSubtypeWithSourceV2026
|
|
47881
|
+
*/
|
|
47882
|
+
'id'?: string;
|
|
47883
|
+
/**
|
|
47884
|
+
* The ID of the source.
|
|
47885
|
+
* @type {string}
|
|
47886
|
+
* @memberof SourceSubtypeWithSourceV2026
|
|
47887
|
+
*/
|
|
47888
|
+
'sourceId'?: string;
|
|
47889
|
+
/**
|
|
47890
|
+
* Technical name of the subtype.
|
|
47891
|
+
* @type {string}
|
|
47892
|
+
* @memberof SourceSubtypeWithSourceV2026
|
|
47893
|
+
*/
|
|
47894
|
+
'technicalName'?: string;
|
|
47895
|
+
/**
|
|
47896
|
+
* Display name of the subtype.
|
|
47897
|
+
* @type {string}
|
|
47898
|
+
* @memberof SourceSubtypeWithSourceV2026
|
|
47899
|
+
*/
|
|
47900
|
+
'displayName'?: string;
|
|
47901
|
+
/**
|
|
47902
|
+
* Description of the subtype.
|
|
47903
|
+
* @type {string}
|
|
47904
|
+
* @memberof SourceSubtypeWithSourceV2026
|
|
47905
|
+
*/
|
|
47906
|
+
'description'?: string;
|
|
47907
|
+
/**
|
|
47908
|
+
* Creation timestamp.
|
|
47909
|
+
* @type {string}
|
|
47910
|
+
* @memberof SourceSubtypeWithSourceV2026
|
|
47911
|
+
*/
|
|
47912
|
+
'created'?: string;
|
|
47913
|
+
/**
|
|
47914
|
+
* Last modified timestamp.
|
|
47915
|
+
* @type {string}
|
|
47916
|
+
* @memberof SourceSubtypeWithSourceV2026
|
|
47917
|
+
*/
|
|
47918
|
+
'modified'?: string;
|
|
47919
|
+
/**
|
|
47920
|
+
* Type of the subtype. Either MACHINE OR null.
|
|
47921
|
+
* @type {string}
|
|
47922
|
+
* @memberof SourceSubtypeWithSourceV2026
|
|
47923
|
+
*/
|
|
47924
|
+
'type'?: string;
|
|
47925
|
+
/**
|
|
47926
|
+
*
|
|
47927
|
+
* @type {SourceSubtypeWithSourceSourceV2026}
|
|
47928
|
+
* @memberof SourceSubtypeWithSourceV2026
|
|
47929
|
+
*/
|
|
47930
|
+
'source'?: SourceSubtypeWithSourceSourceV2026;
|
|
47931
|
+
}
|
|
47599
47932
|
/**
|
|
47600
47933
|
*
|
|
47601
47934
|
* @export
|
|
@@ -59120,7 +59453,7 @@ export const AccountDeletionRequestsV2026ApiFp = function(configuration?: Config
|
|
|
59120
59453
|
* @param {*} [axiosOptions] Override http request option.
|
|
59121
59454
|
* @throws {RequiredError}
|
|
59122
59455
|
*/
|
|
59123
|
-
async deleteAccountRequest(accountId: string, accountDeleteRequestInputV2026?: AccountDeleteRequestInputV2026, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
59456
|
+
async deleteAccountRequest(accountId: string, accountDeleteRequestInputV2026?: AccountDeleteRequestInputV2026, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountRequestAsyncResultV2026>> {
|
|
59124
59457
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAccountRequest(accountId, accountDeleteRequestInputV2026, axiosOptions);
|
|
59125
59458
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
59126
59459
|
const localVarOperationServerBasePath = operationServerMap['AccountDeletionRequestsV2026Api.deleteAccountRequest']?.[localVarOperationServerIndex]?.url;
|
|
@@ -59159,7 +59492,7 @@ export const AccountDeletionRequestsV2026ApiFactory = function (configuration?:
|
|
|
59159
59492
|
* @param {*} [axiosOptions] Override http request option.
|
|
59160
59493
|
* @throws {RequiredError}
|
|
59161
59494
|
*/
|
|
59162
|
-
deleteAccountRequest(requestParameters: AccountDeletionRequestsV2026ApiDeleteAccountRequestRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<
|
|
59495
|
+
deleteAccountRequest(requestParameters: AccountDeletionRequestsV2026ApiDeleteAccountRequestRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<AccountRequestAsyncResultV2026> {
|
|
59163
59496
|
return localVarFp.deleteAccountRequest(requestParameters.accountId, requestParameters.accountDeleteRequestInputV2026, axiosOptions).then((request) => request(axios, basePath));
|
|
59164
59497
|
},
|
|
59165
59498
|
/**
|
|
@@ -103216,6 +103549,386 @@ export const SendClassifyMachineAccountClassificationModeV2026 = {
|
|
|
103216
103549
|
export type SendClassifyMachineAccountClassificationModeV2026 = typeof SendClassifyMachineAccountClassificationModeV2026[keyof typeof SendClassifyMachineAccountClassificationModeV2026];
|
|
103217
103550
|
|
|
103218
103551
|
|
|
103552
|
+
/**
|
|
103553
|
+
* MachineAccountCreationRequestV2026Api - axios parameter creator
|
|
103554
|
+
* @export
|
|
103555
|
+
*/
|
|
103556
|
+
export const MachineAccountCreationRequestV2026ApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
103557
|
+
return {
|
|
103558
|
+
/**
|
|
103559
|
+
* Initiates machine account creation request for the specified subtype. This method validates the input data, processes the machine account creation request, and generates an asynchronous result containing a tracking ID. >**NOTE: You can only request a machine accounts on subtype for which you have a create machine account entitlement provisioned.**
|
|
103560
|
+
* @summary Submit Machine Account Creation Request
|
|
103561
|
+
* @param {MachineAccountCreateRequestInputV2026} machineAccountCreateRequestInputV2026
|
|
103562
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
103563
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
103564
|
+
* @throws {RequiredError}
|
|
103565
|
+
*/
|
|
103566
|
+
createMachineAccountRequest: async (machineAccountCreateRequestInputV2026: MachineAccountCreateRequestInputV2026, xSailPointExperimental?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
103567
|
+
// verify required parameter 'machineAccountCreateRequestInputV2026' is not null or undefined
|
|
103568
|
+
assertParamExists('createMachineAccountRequest', 'machineAccountCreateRequestInputV2026', machineAccountCreateRequestInputV2026)
|
|
103569
|
+
if (xSailPointExperimental === undefined) {
|
|
103570
|
+
xSailPointExperimental = 'true';
|
|
103571
|
+
}
|
|
103572
|
+
|
|
103573
|
+
const localVarPath = `/account-requests/machine-account-create`;
|
|
103574
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
103575
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
103576
|
+
let baseOptions;
|
|
103577
|
+
if (configuration) {
|
|
103578
|
+
baseOptions = configuration.baseOptions;
|
|
103579
|
+
}
|
|
103580
|
+
|
|
103581
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};
|
|
103582
|
+
const localVarHeaderParameter = {} as any;
|
|
103583
|
+
const localVarQueryParameter = {} as any;
|
|
103584
|
+
|
|
103585
|
+
// authentication userAuth required
|
|
103586
|
+
// oauth required
|
|
103587
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
103588
|
+
|
|
103589
|
+
// authentication userAuth required
|
|
103590
|
+
// oauth required
|
|
103591
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
103592
|
+
|
|
103593
|
+
|
|
103594
|
+
|
|
103595
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
103596
|
+
|
|
103597
|
+
if (xSailPointExperimental != null) {
|
|
103598
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
103599
|
+
}
|
|
103600
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
103601
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
103602
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
103603
|
+
localVarRequestOptions.data = serializeDataIfNeeded(machineAccountCreateRequestInputV2026, localVarRequestOptions, configuration)
|
|
103604
|
+
|
|
103605
|
+
return {
|
|
103606
|
+
url: toPathString(localVarUrlObj),
|
|
103607
|
+
axiosOptions: localVarRequestOptions,
|
|
103608
|
+
};
|
|
103609
|
+
},
|
|
103610
|
+
/**
|
|
103611
|
+
* Retrieves a account request details for machine account creation. This allows the user to view all details for given account request.
|
|
103612
|
+
* @summary Get Machine Account Creation Request
|
|
103613
|
+
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
103614
|
+
* @param {string} accountRequestId Account Request ID
|
|
103615
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
103616
|
+
* @throws {RequiredError}
|
|
103617
|
+
*/
|
|
103618
|
+
getCreateMachineAccountRequest: async (xSailPointExperimental: string, accountRequestId: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
103619
|
+
if (xSailPointExperimental === undefined) {
|
|
103620
|
+
xSailPointExperimental = 'true';
|
|
103621
|
+
}
|
|
103622
|
+
|
|
103623
|
+
// verify required parameter 'xSailPointExperimental' is not null or undefined
|
|
103624
|
+
assertParamExists('getCreateMachineAccountRequest', 'xSailPointExperimental', xSailPointExperimental)
|
|
103625
|
+
// verify required parameter 'accountRequestId' is not null or undefined
|
|
103626
|
+
assertParamExists('getCreateMachineAccountRequest', 'accountRequestId', accountRequestId)
|
|
103627
|
+
const localVarPath = `/account-requests/machine-account-create/{accountRequestId}`
|
|
103628
|
+
.replace(`{${"accountRequestId"}}`, encodeURIComponent(String(accountRequestId)));
|
|
103629
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
103630
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
103631
|
+
let baseOptions;
|
|
103632
|
+
if (configuration) {
|
|
103633
|
+
baseOptions = configuration.baseOptions;
|
|
103634
|
+
}
|
|
103635
|
+
|
|
103636
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
|
|
103637
|
+
const localVarHeaderParameter = {} as any;
|
|
103638
|
+
const localVarQueryParameter = {} as any;
|
|
103639
|
+
|
|
103640
|
+
// authentication userAuth required
|
|
103641
|
+
// oauth required
|
|
103642
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
103643
|
+
|
|
103644
|
+
// authentication userAuth required
|
|
103645
|
+
// oauth required
|
|
103646
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
103647
|
+
|
|
103648
|
+
|
|
103649
|
+
|
|
103650
|
+
if (xSailPointExperimental != null) {
|
|
103651
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
103652
|
+
}
|
|
103653
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
103654
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
103655
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
103656
|
+
|
|
103657
|
+
return {
|
|
103658
|
+
url: toPathString(localVarUrlObj),
|
|
103659
|
+
axiosOptions: localVarRequestOptions,
|
|
103660
|
+
};
|
|
103661
|
+
},
|
|
103662
|
+
/**
|
|
103663
|
+
* This endpoint retrieves the list of sources and subtypes for which logged in user has the entitlement to create a machine account. The response includes a list of object detailing the source, subtype and entitlement details which enables the clients to understand if they can submit the request to create a machine account for the given subtype.
|
|
103664
|
+
* @summary Machine Account Create Access
|
|
103665
|
+
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
103666
|
+
* @param {number} [offset] Offset Integer specifying the offset of the first result from the beginning of the collection. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). The offset value is record-based, not page-based, and the index starts at 0.
|
|
103667
|
+
* @param {number} [limit] Limit Integer specifying the maximum number of records to return in a single API call. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). If it is not specified, a default limit is used.
|
|
103668
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
103669
|
+
* @throws {RequiredError}
|
|
103670
|
+
*/
|
|
103671
|
+
getMachineAccountCreateAccessInfo: async (xSailPointExperimental: string, offset?: number, limit?: number, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
103672
|
+
if (xSailPointExperimental === undefined) {
|
|
103673
|
+
xSailPointExperimental = 'true';
|
|
103674
|
+
}
|
|
103675
|
+
|
|
103676
|
+
// verify required parameter 'xSailPointExperimental' is not null or undefined
|
|
103677
|
+
assertParamExists('getMachineAccountCreateAccessInfo', 'xSailPointExperimental', xSailPointExperimental)
|
|
103678
|
+
const localVarPath = `/source-subtypes/machine-account-create-access`;
|
|
103679
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
103680
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
103681
|
+
let baseOptions;
|
|
103682
|
+
if (configuration) {
|
|
103683
|
+
baseOptions = configuration.baseOptions;
|
|
103684
|
+
}
|
|
103685
|
+
|
|
103686
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
|
|
103687
|
+
const localVarHeaderParameter = {} as any;
|
|
103688
|
+
const localVarQueryParameter = {} as any;
|
|
103689
|
+
|
|
103690
|
+
// authentication userAuth required
|
|
103691
|
+
// oauth required
|
|
103692
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
103693
|
+
|
|
103694
|
+
// authentication userAuth required
|
|
103695
|
+
// oauth required
|
|
103696
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
103697
|
+
|
|
103698
|
+
if (offset !== undefined) {
|
|
103699
|
+
localVarQueryParameter['offset'] = offset;
|
|
103700
|
+
}
|
|
103701
|
+
|
|
103702
|
+
if (limit !== undefined) {
|
|
103703
|
+
localVarQueryParameter['limit'] = limit;
|
|
103704
|
+
}
|
|
103705
|
+
|
|
103706
|
+
|
|
103707
|
+
|
|
103708
|
+
if (xSailPointExperimental != null) {
|
|
103709
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
103710
|
+
}
|
|
103711
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
103712
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
103713
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
103714
|
+
|
|
103715
|
+
return {
|
|
103716
|
+
url: toPathString(localVarUrlObj),
|
|
103717
|
+
axiosOptions: localVarRequestOptions,
|
|
103718
|
+
};
|
|
103719
|
+
},
|
|
103720
|
+
}
|
|
103721
|
+
};
|
|
103722
|
+
|
|
103723
|
+
/**
|
|
103724
|
+
* MachineAccountCreationRequestV2026Api - functional programming interface
|
|
103725
|
+
* @export
|
|
103726
|
+
*/
|
|
103727
|
+
export const MachineAccountCreationRequestV2026ApiFp = function(configuration?: Configuration) {
|
|
103728
|
+
const localVarAxiosParamCreator = MachineAccountCreationRequestV2026ApiAxiosParamCreator(configuration)
|
|
103729
|
+
return {
|
|
103730
|
+
/**
|
|
103731
|
+
* Initiates machine account creation request for the specified subtype. This method validates the input data, processes the machine account creation request, and generates an asynchronous result containing a tracking ID. >**NOTE: You can only request a machine accounts on subtype for which you have a create machine account entitlement provisioned.**
|
|
103732
|
+
* @summary Submit Machine Account Creation Request
|
|
103733
|
+
* @param {MachineAccountCreateRequestInputV2026} machineAccountCreateRequestInputV2026
|
|
103734
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
103735
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
103736
|
+
* @throws {RequiredError}
|
|
103737
|
+
*/
|
|
103738
|
+
async createMachineAccountRequest(machineAccountCreateRequestInputV2026: MachineAccountCreateRequestInputV2026, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountRequestAsyncResultV2026>> {
|
|
103739
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createMachineAccountRequest(machineAccountCreateRequestInputV2026, xSailPointExperimental, axiosOptions);
|
|
103740
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
103741
|
+
const localVarOperationServerBasePath = operationServerMap['MachineAccountCreationRequestV2026Api.createMachineAccountRequest']?.[localVarOperationServerIndex]?.url;
|
|
103742
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
103743
|
+
},
|
|
103744
|
+
/**
|
|
103745
|
+
* Retrieves a account request details for machine account creation. This allows the user to view all details for given account request.
|
|
103746
|
+
* @summary Get Machine Account Creation Request
|
|
103747
|
+
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
103748
|
+
* @param {string} accountRequestId Account Request ID
|
|
103749
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
103750
|
+
* @throws {RequiredError}
|
|
103751
|
+
*/
|
|
103752
|
+
async getCreateMachineAccountRequest(xSailPointExperimental: string, accountRequestId: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountRequestDetailsDtoV2026>> {
|
|
103753
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getCreateMachineAccountRequest(xSailPointExperimental, accountRequestId, axiosOptions);
|
|
103754
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
103755
|
+
const localVarOperationServerBasePath = operationServerMap['MachineAccountCreationRequestV2026Api.getCreateMachineAccountRequest']?.[localVarOperationServerIndex]?.url;
|
|
103756
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
103757
|
+
},
|
|
103758
|
+
/**
|
|
103759
|
+
* This endpoint retrieves the list of sources and subtypes for which logged in user has the entitlement to create a machine account. The response includes a list of object detailing the source, subtype and entitlement details which enables the clients to understand if they can submit the request to create a machine account for the given subtype.
|
|
103760
|
+
* @summary Machine Account Create Access
|
|
103761
|
+
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
103762
|
+
* @param {number} [offset] Offset Integer specifying the offset of the first result from the beginning of the collection. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). The offset value is record-based, not page-based, and the index starts at 0.
|
|
103763
|
+
* @param {number} [limit] Limit Integer specifying the maximum number of records to return in a single API call. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). If it is not specified, a default limit is used.
|
|
103764
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
103765
|
+
* @throws {RequiredError}
|
|
103766
|
+
*/
|
|
103767
|
+
async getMachineAccountCreateAccessInfo(xSailPointExperimental: string, offset?: number, limit?: number, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MachineAccountCreateAccessDtoV2026>>> {
|
|
103768
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getMachineAccountCreateAccessInfo(xSailPointExperimental, offset, limit, axiosOptions);
|
|
103769
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
103770
|
+
const localVarOperationServerBasePath = operationServerMap['MachineAccountCreationRequestV2026Api.getMachineAccountCreateAccessInfo']?.[localVarOperationServerIndex]?.url;
|
|
103771
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
103772
|
+
},
|
|
103773
|
+
}
|
|
103774
|
+
};
|
|
103775
|
+
|
|
103776
|
+
/**
|
|
103777
|
+
* MachineAccountCreationRequestV2026Api - factory interface
|
|
103778
|
+
* @export
|
|
103779
|
+
*/
|
|
103780
|
+
export const MachineAccountCreationRequestV2026ApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
103781
|
+
const localVarFp = MachineAccountCreationRequestV2026ApiFp(configuration)
|
|
103782
|
+
return {
|
|
103783
|
+
/**
|
|
103784
|
+
* Initiates machine account creation request for the specified subtype. This method validates the input data, processes the machine account creation request, and generates an asynchronous result containing a tracking ID. >**NOTE: You can only request a machine accounts on subtype for which you have a create machine account entitlement provisioned.**
|
|
103785
|
+
* @summary Submit Machine Account Creation Request
|
|
103786
|
+
* @param {MachineAccountCreationRequestV2026ApiCreateMachineAccountRequestRequest} requestParameters Request parameters.
|
|
103787
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
103788
|
+
* @throws {RequiredError}
|
|
103789
|
+
*/
|
|
103790
|
+
createMachineAccountRequest(requestParameters: MachineAccountCreationRequestV2026ApiCreateMachineAccountRequestRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<AccountRequestAsyncResultV2026> {
|
|
103791
|
+
return localVarFp.createMachineAccountRequest(requestParameters.machineAccountCreateRequestInputV2026, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));
|
|
103792
|
+
},
|
|
103793
|
+
/**
|
|
103794
|
+
* Retrieves a account request details for machine account creation. This allows the user to view all details for given account request.
|
|
103795
|
+
* @summary Get Machine Account Creation Request
|
|
103796
|
+
* @param {MachineAccountCreationRequestV2026ApiGetCreateMachineAccountRequestRequest} requestParameters Request parameters.
|
|
103797
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
103798
|
+
* @throws {RequiredError}
|
|
103799
|
+
*/
|
|
103800
|
+
getCreateMachineAccountRequest(requestParameters: MachineAccountCreationRequestV2026ApiGetCreateMachineAccountRequestRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<AccountRequestDetailsDtoV2026> {
|
|
103801
|
+
return localVarFp.getCreateMachineAccountRequest(requestParameters.xSailPointExperimental, requestParameters.accountRequestId, axiosOptions).then((request) => request(axios, basePath));
|
|
103802
|
+
},
|
|
103803
|
+
/**
|
|
103804
|
+
* This endpoint retrieves the list of sources and subtypes for which logged in user has the entitlement to create a machine account. The response includes a list of object detailing the source, subtype and entitlement details which enables the clients to understand if they can submit the request to create a machine account for the given subtype.
|
|
103805
|
+
* @summary Machine Account Create Access
|
|
103806
|
+
* @param {MachineAccountCreationRequestV2026ApiGetMachineAccountCreateAccessInfoRequest} requestParameters Request parameters.
|
|
103807
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
103808
|
+
* @throws {RequiredError}
|
|
103809
|
+
*/
|
|
103810
|
+
getMachineAccountCreateAccessInfo(requestParameters: MachineAccountCreationRequestV2026ApiGetMachineAccountCreateAccessInfoRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<MachineAccountCreateAccessDtoV2026>> {
|
|
103811
|
+
return localVarFp.getMachineAccountCreateAccessInfo(requestParameters.xSailPointExperimental, requestParameters.offset, requestParameters.limit, axiosOptions).then((request) => request(axios, basePath));
|
|
103812
|
+
},
|
|
103813
|
+
};
|
|
103814
|
+
};
|
|
103815
|
+
|
|
103816
|
+
/**
|
|
103817
|
+
* Request parameters for createMachineAccountRequest operation in MachineAccountCreationRequestV2026Api.
|
|
103818
|
+
* @export
|
|
103819
|
+
* @interface MachineAccountCreationRequestV2026ApiCreateMachineAccountRequestRequest
|
|
103820
|
+
*/
|
|
103821
|
+
export interface MachineAccountCreationRequestV2026ApiCreateMachineAccountRequestRequest {
|
|
103822
|
+
/**
|
|
103823
|
+
*
|
|
103824
|
+
* @type {MachineAccountCreateRequestInputV2026}
|
|
103825
|
+
* @memberof MachineAccountCreationRequestV2026ApiCreateMachineAccountRequest
|
|
103826
|
+
*/
|
|
103827
|
+
readonly machineAccountCreateRequestInputV2026: MachineAccountCreateRequestInputV2026
|
|
103828
|
+
|
|
103829
|
+
/**
|
|
103830
|
+
* Use this header to enable this experimental API.
|
|
103831
|
+
* @type {string}
|
|
103832
|
+
* @memberof MachineAccountCreationRequestV2026ApiCreateMachineAccountRequest
|
|
103833
|
+
*/
|
|
103834
|
+
readonly xSailPointExperimental?: string
|
|
103835
|
+
}
|
|
103836
|
+
|
|
103837
|
+
/**
|
|
103838
|
+
* Request parameters for getCreateMachineAccountRequest operation in MachineAccountCreationRequestV2026Api.
|
|
103839
|
+
* @export
|
|
103840
|
+
* @interface MachineAccountCreationRequestV2026ApiGetCreateMachineAccountRequestRequest
|
|
103841
|
+
*/
|
|
103842
|
+
export interface MachineAccountCreationRequestV2026ApiGetCreateMachineAccountRequestRequest {
|
|
103843
|
+
/**
|
|
103844
|
+
* Use this header to enable this experimental API.
|
|
103845
|
+
* @type {string}
|
|
103846
|
+
* @memberof MachineAccountCreationRequestV2026ApiGetCreateMachineAccountRequest
|
|
103847
|
+
*/
|
|
103848
|
+
readonly xSailPointExperimental: string
|
|
103849
|
+
|
|
103850
|
+
/**
|
|
103851
|
+
* Account Request ID
|
|
103852
|
+
* @type {string}
|
|
103853
|
+
* @memberof MachineAccountCreationRequestV2026ApiGetCreateMachineAccountRequest
|
|
103854
|
+
*/
|
|
103855
|
+
readonly accountRequestId: string
|
|
103856
|
+
}
|
|
103857
|
+
|
|
103858
|
+
/**
|
|
103859
|
+
* Request parameters for getMachineAccountCreateAccessInfo operation in MachineAccountCreationRequestV2026Api.
|
|
103860
|
+
* @export
|
|
103861
|
+
* @interface MachineAccountCreationRequestV2026ApiGetMachineAccountCreateAccessInfoRequest
|
|
103862
|
+
*/
|
|
103863
|
+
export interface MachineAccountCreationRequestV2026ApiGetMachineAccountCreateAccessInfoRequest {
|
|
103864
|
+
/**
|
|
103865
|
+
* Use this header to enable this experimental API.
|
|
103866
|
+
* @type {string}
|
|
103867
|
+
* @memberof MachineAccountCreationRequestV2026ApiGetMachineAccountCreateAccessInfo
|
|
103868
|
+
*/
|
|
103869
|
+
readonly xSailPointExperimental: string
|
|
103870
|
+
|
|
103871
|
+
/**
|
|
103872
|
+
* Offset Integer specifying the offset of the first result from the beginning of the collection. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). The offset value is record-based, not page-based, and the index starts at 0.
|
|
103873
|
+
* @type {number}
|
|
103874
|
+
* @memberof MachineAccountCreationRequestV2026ApiGetMachineAccountCreateAccessInfo
|
|
103875
|
+
*/
|
|
103876
|
+
readonly offset?: number
|
|
103877
|
+
|
|
103878
|
+
/**
|
|
103879
|
+
* Limit Integer specifying the maximum number of records to return in a single API call. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). If it is not specified, a default limit is used.
|
|
103880
|
+
* @type {number}
|
|
103881
|
+
* @memberof MachineAccountCreationRequestV2026ApiGetMachineAccountCreateAccessInfo
|
|
103882
|
+
*/
|
|
103883
|
+
readonly limit?: number
|
|
103884
|
+
}
|
|
103885
|
+
|
|
103886
|
+
/**
|
|
103887
|
+
* MachineAccountCreationRequestV2026Api - object-oriented interface
|
|
103888
|
+
* @export
|
|
103889
|
+
* @class MachineAccountCreationRequestV2026Api
|
|
103890
|
+
* @extends {BaseAPI}
|
|
103891
|
+
*/
|
|
103892
|
+
export class MachineAccountCreationRequestV2026Api extends BaseAPI {
|
|
103893
|
+
/**
|
|
103894
|
+
* Initiates machine account creation request for the specified subtype. This method validates the input data, processes the machine account creation request, and generates an asynchronous result containing a tracking ID. >**NOTE: You can only request a machine accounts on subtype for which you have a create machine account entitlement provisioned.**
|
|
103895
|
+
* @summary Submit Machine Account Creation Request
|
|
103896
|
+
* @param {MachineAccountCreationRequestV2026ApiCreateMachineAccountRequestRequest} requestParameters Request parameters.
|
|
103897
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
103898
|
+
* @throws {RequiredError}
|
|
103899
|
+
* @memberof MachineAccountCreationRequestV2026Api
|
|
103900
|
+
*/
|
|
103901
|
+
public createMachineAccountRequest(requestParameters: MachineAccountCreationRequestV2026ApiCreateMachineAccountRequestRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
103902
|
+
return MachineAccountCreationRequestV2026ApiFp(this.configuration).createMachineAccountRequest(requestParameters.machineAccountCreateRequestInputV2026, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
103903
|
+
}
|
|
103904
|
+
|
|
103905
|
+
/**
|
|
103906
|
+
* Retrieves a account request details for machine account creation. This allows the user to view all details for given account request.
|
|
103907
|
+
* @summary Get Machine Account Creation Request
|
|
103908
|
+
* @param {MachineAccountCreationRequestV2026ApiGetCreateMachineAccountRequestRequest} requestParameters Request parameters.
|
|
103909
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
103910
|
+
* @throws {RequiredError}
|
|
103911
|
+
* @memberof MachineAccountCreationRequestV2026Api
|
|
103912
|
+
*/
|
|
103913
|
+
public getCreateMachineAccountRequest(requestParameters: MachineAccountCreationRequestV2026ApiGetCreateMachineAccountRequestRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
103914
|
+
return MachineAccountCreationRequestV2026ApiFp(this.configuration).getCreateMachineAccountRequest(requestParameters.xSailPointExperimental, requestParameters.accountRequestId, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
103915
|
+
}
|
|
103916
|
+
|
|
103917
|
+
/**
|
|
103918
|
+
* This endpoint retrieves the list of sources and subtypes for which logged in user has the entitlement to create a machine account. The response includes a list of object detailing the source, subtype and entitlement details which enables the clients to understand if they can submit the request to create a machine account for the given subtype.
|
|
103919
|
+
* @summary Machine Account Create Access
|
|
103920
|
+
* @param {MachineAccountCreationRequestV2026ApiGetMachineAccountCreateAccessInfoRequest} requestParameters Request parameters.
|
|
103921
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
103922
|
+
* @throws {RequiredError}
|
|
103923
|
+
* @memberof MachineAccountCreationRequestV2026Api
|
|
103924
|
+
*/
|
|
103925
|
+
public getMachineAccountCreateAccessInfo(requestParameters: MachineAccountCreationRequestV2026ApiGetMachineAccountCreateAccessInfoRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
103926
|
+
return MachineAccountCreationRequestV2026ApiFp(this.configuration).getMachineAccountCreateAccessInfo(requestParameters.xSailPointExperimental, requestParameters.offset, requestParameters.limit, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
103927
|
+
}
|
|
103928
|
+
}
|
|
103929
|
+
|
|
103930
|
+
|
|
103931
|
+
|
|
103219
103932
|
/**
|
|
103220
103933
|
* MachineAccountMappingsV2026Api - axios parameter creator
|
|
103221
103934
|
* @export
|
|
@@ -103357,14 +104070,425 @@ export const MachineAccountMappingsV2026ApiAxiosParamCreator = function (configu
|
|
|
103357
104070
|
// oauth required
|
|
103358
104071
|
await setOAuthToObject(localVarHeaderParameter, "applicationAuth", [], configuration)
|
|
103359
104072
|
|
|
103360
|
-
if (limit !== undefined) {
|
|
103361
|
-
localVarQueryParameter['limit'] = limit;
|
|
103362
|
-
}
|
|
103363
|
-
|
|
103364
|
-
if (offset !== undefined) {
|
|
103365
|
-
localVarQueryParameter['offset'] = offset;
|
|
103366
|
-
}
|
|
103367
|
-
|
|
104073
|
+
if (limit !== undefined) {
|
|
104074
|
+
localVarQueryParameter['limit'] = limit;
|
|
104075
|
+
}
|
|
104076
|
+
|
|
104077
|
+
if (offset !== undefined) {
|
|
104078
|
+
localVarQueryParameter['offset'] = offset;
|
|
104079
|
+
}
|
|
104080
|
+
|
|
104081
|
+
|
|
104082
|
+
|
|
104083
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
104084
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
104085
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
104086
|
+
|
|
104087
|
+
return {
|
|
104088
|
+
url: toPathString(localVarUrlObj),
|
|
104089
|
+
axiosOptions: localVarRequestOptions,
|
|
104090
|
+
};
|
|
104091
|
+
},
|
|
104092
|
+
/**
|
|
104093
|
+
* Use this API to update Machine Account Attribute Mapping for a Source. A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.
|
|
104094
|
+
* @summary Update source\'s machine account mappings
|
|
104095
|
+
* @param {string} id Source ID.
|
|
104096
|
+
* @param {AttributeMappingsV2026} attributeMappingsV2026
|
|
104097
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
104098
|
+
* @throws {RequiredError}
|
|
104099
|
+
*/
|
|
104100
|
+
setMachineAccountMappings: async (id: string, attributeMappingsV2026: AttributeMappingsV2026, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
104101
|
+
// verify required parameter 'id' is not null or undefined
|
|
104102
|
+
assertParamExists('setMachineAccountMappings', 'id', id)
|
|
104103
|
+
// verify required parameter 'attributeMappingsV2026' is not null or undefined
|
|
104104
|
+
assertParamExists('setMachineAccountMappings', 'attributeMappingsV2026', attributeMappingsV2026)
|
|
104105
|
+
const localVarPath = `/sources/{sourceId}/machine-mappings`
|
|
104106
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
104107
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
104108
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
104109
|
+
let baseOptions;
|
|
104110
|
+
if (configuration) {
|
|
104111
|
+
baseOptions = configuration.baseOptions;
|
|
104112
|
+
}
|
|
104113
|
+
|
|
104114
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...axiosOptions};
|
|
104115
|
+
const localVarHeaderParameter = {} as any;
|
|
104116
|
+
const localVarQueryParameter = {} as any;
|
|
104117
|
+
|
|
104118
|
+
// authentication userAuth required
|
|
104119
|
+
// oauth required
|
|
104120
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
104121
|
+
|
|
104122
|
+
// authentication userAuth required
|
|
104123
|
+
// oauth required
|
|
104124
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
104125
|
+
|
|
104126
|
+
// authentication applicationAuth required
|
|
104127
|
+
// oauth required
|
|
104128
|
+
await setOAuthToObject(localVarHeaderParameter, "applicationAuth", [], configuration)
|
|
104129
|
+
|
|
104130
|
+
|
|
104131
|
+
|
|
104132
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
104133
|
+
|
|
104134
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
104135
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
104136
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
104137
|
+
localVarRequestOptions.data = serializeDataIfNeeded(attributeMappingsV2026, localVarRequestOptions, configuration)
|
|
104138
|
+
|
|
104139
|
+
return {
|
|
104140
|
+
url: toPathString(localVarUrlObj),
|
|
104141
|
+
axiosOptions: localVarRequestOptions,
|
|
104142
|
+
};
|
|
104143
|
+
},
|
|
104144
|
+
}
|
|
104145
|
+
};
|
|
104146
|
+
|
|
104147
|
+
/**
|
|
104148
|
+
* MachineAccountMappingsV2026Api - functional programming interface
|
|
104149
|
+
* @export
|
|
104150
|
+
*/
|
|
104151
|
+
export const MachineAccountMappingsV2026ApiFp = function(configuration?: Configuration) {
|
|
104152
|
+
const localVarAxiosParamCreator = MachineAccountMappingsV2026ApiAxiosParamCreator(configuration)
|
|
104153
|
+
return {
|
|
104154
|
+
/**
|
|
104155
|
+
* Creates Machine Account Mappings for both identities and accounts for a source. A token with API, ORG_ADMIN, ROLE_ADMIN, ROLE_SUBADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.
|
|
104156
|
+
* @summary Create machine account mappings
|
|
104157
|
+
* @param {string} id Source ID.
|
|
104158
|
+
* @param {AttributeMappingsV2026} attributeMappingsV2026
|
|
104159
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
104160
|
+
* @throws {RequiredError}
|
|
104161
|
+
*/
|
|
104162
|
+
async createMachineAccountMappings(id: string, attributeMappingsV2026: AttributeMappingsV2026, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AttributeMappingsV2026>>> {
|
|
104163
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createMachineAccountMappings(id, attributeMappingsV2026, axiosOptions);
|
|
104164
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
104165
|
+
const localVarOperationServerBasePath = operationServerMap['MachineAccountMappingsV2026Api.createMachineAccountMappings']?.[localVarOperationServerIndex]?.url;
|
|
104166
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
104167
|
+
},
|
|
104168
|
+
/**
|
|
104169
|
+
* Use this API to remove machine account attribute mappings for a Source. A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.
|
|
104170
|
+
* @summary Delete source\'s machine account mappings
|
|
104171
|
+
* @param {string} id source ID.
|
|
104172
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
104173
|
+
* @throws {RequiredError}
|
|
104174
|
+
*/
|
|
104175
|
+
async deleteMachineAccountMappings(id: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
104176
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteMachineAccountMappings(id, axiosOptions);
|
|
104177
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
104178
|
+
const localVarOperationServerBasePath = operationServerMap['MachineAccountMappingsV2026Api.deleteMachineAccountMappings']?.[localVarOperationServerIndex]?.url;
|
|
104179
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
104180
|
+
},
|
|
104181
|
+
/**
|
|
104182
|
+
* Retrieves Machine account mappings for a specified source using Source ID.
|
|
104183
|
+
* @summary Machine account mapping for source
|
|
104184
|
+
* @param {string} id Source ID
|
|
104185
|
+
* @param {number} [limit] Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
104186
|
+
* @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
104187
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
104188
|
+
* @throws {RequiredError}
|
|
104189
|
+
*/
|
|
104190
|
+
async listMachineAccountMappings(id: string, limit?: number, offset?: number, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AttributeMappingsV2026>>> {
|
|
104191
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listMachineAccountMappings(id, limit, offset, axiosOptions);
|
|
104192
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
104193
|
+
const localVarOperationServerBasePath = operationServerMap['MachineAccountMappingsV2026Api.listMachineAccountMappings']?.[localVarOperationServerIndex]?.url;
|
|
104194
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
104195
|
+
},
|
|
104196
|
+
/**
|
|
104197
|
+
* Use this API to update Machine Account Attribute Mapping for a Source. A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.
|
|
104198
|
+
* @summary Update source\'s machine account mappings
|
|
104199
|
+
* @param {string} id Source ID.
|
|
104200
|
+
* @param {AttributeMappingsV2026} attributeMappingsV2026
|
|
104201
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
104202
|
+
* @throws {RequiredError}
|
|
104203
|
+
*/
|
|
104204
|
+
async setMachineAccountMappings(id: string, attributeMappingsV2026: AttributeMappingsV2026, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AttributeMappingsV2026>>> {
|
|
104205
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.setMachineAccountMappings(id, attributeMappingsV2026, axiosOptions);
|
|
104206
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
104207
|
+
const localVarOperationServerBasePath = operationServerMap['MachineAccountMappingsV2026Api.setMachineAccountMappings']?.[localVarOperationServerIndex]?.url;
|
|
104208
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
104209
|
+
},
|
|
104210
|
+
}
|
|
104211
|
+
};
|
|
104212
|
+
|
|
104213
|
+
/**
|
|
104214
|
+
* MachineAccountMappingsV2026Api - factory interface
|
|
104215
|
+
* @export
|
|
104216
|
+
*/
|
|
104217
|
+
export const MachineAccountMappingsV2026ApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
104218
|
+
const localVarFp = MachineAccountMappingsV2026ApiFp(configuration)
|
|
104219
|
+
return {
|
|
104220
|
+
/**
|
|
104221
|
+
* Creates Machine Account Mappings for both identities and accounts for a source. A token with API, ORG_ADMIN, ROLE_ADMIN, ROLE_SUBADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.
|
|
104222
|
+
* @summary Create machine account mappings
|
|
104223
|
+
* @param {MachineAccountMappingsV2026ApiCreateMachineAccountMappingsRequest} requestParameters Request parameters.
|
|
104224
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
104225
|
+
* @throws {RequiredError}
|
|
104226
|
+
*/
|
|
104227
|
+
createMachineAccountMappings(requestParameters: MachineAccountMappingsV2026ApiCreateMachineAccountMappingsRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<AttributeMappingsV2026>> {
|
|
104228
|
+
return localVarFp.createMachineAccountMappings(requestParameters.id, requestParameters.attributeMappingsV2026, axiosOptions).then((request) => request(axios, basePath));
|
|
104229
|
+
},
|
|
104230
|
+
/**
|
|
104231
|
+
* Use this API to remove machine account attribute mappings for a Source. A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.
|
|
104232
|
+
* @summary Delete source\'s machine account mappings
|
|
104233
|
+
* @param {MachineAccountMappingsV2026ApiDeleteMachineAccountMappingsRequest} requestParameters Request parameters.
|
|
104234
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
104235
|
+
* @throws {RequiredError}
|
|
104236
|
+
*/
|
|
104237
|
+
deleteMachineAccountMappings(requestParameters: MachineAccountMappingsV2026ApiDeleteMachineAccountMappingsRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
104238
|
+
return localVarFp.deleteMachineAccountMappings(requestParameters.id, axiosOptions).then((request) => request(axios, basePath));
|
|
104239
|
+
},
|
|
104240
|
+
/**
|
|
104241
|
+
* Retrieves Machine account mappings for a specified source using Source ID.
|
|
104242
|
+
* @summary Machine account mapping for source
|
|
104243
|
+
* @param {MachineAccountMappingsV2026ApiListMachineAccountMappingsRequest} requestParameters Request parameters.
|
|
104244
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
104245
|
+
* @throws {RequiredError}
|
|
104246
|
+
*/
|
|
104247
|
+
listMachineAccountMappings(requestParameters: MachineAccountMappingsV2026ApiListMachineAccountMappingsRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<AttributeMappingsV2026>> {
|
|
104248
|
+
return localVarFp.listMachineAccountMappings(requestParameters.id, requestParameters.limit, requestParameters.offset, axiosOptions).then((request) => request(axios, basePath));
|
|
104249
|
+
},
|
|
104250
|
+
/**
|
|
104251
|
+
* Use this API to update Machine Account Attribute Mapping for a Source. A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.
|
|
104252
|
+
* @summary Update source\'s machine account mappings
|
|
104253
|
+
* @param {MachineAccountMappingsV2026ApiSetMachineAccountMappingsRequest} requestParameters Request parameters.
|
|
104254
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
104255
|
+
* @throws {RequiredError}
|
|
104256
|
+
*/
|
|
104257
|
+
setMachineAccountMappings(requestParameters: MachineAccountMappingsV2026ApiSetMachineAccountMappingsRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<AttributeMappingsV2026>> {
|
|
104258
|
+
return localVarFp.setMachineAccountMappings(requestParameters.id, requestParameters.attributeMappingsV2026, axiosOptions).then((request) => request(axios, basePath));
|
|
104259
|
+
},
|
|
104260
|
+
};
|
|
104261
|
+
};
|
|
104262
|
+
|
|
104263
|
+
/**
|
|
104264
|
+
* Request parameters for createMachineAccountMappings operation in MachineAccountMappingsV2026Api.
|
|
104265
|
+
* @export
|
|
104266
|
+
* @interface MachineAccountMappingsV2026ApiCreateMachineAccountMappingsRequest
|
|
104267
|
+
*/
|
|
104268
|
+
export interface MachineAccountMappingsV2026ApiCreateMachineAccountMappingsRequest {
|
|
104269
|
+
/**
|
|
104270
|
+
* Source ID.
|
|
104271
|
+
* @type {string}
|
|
104272
|
+
* @memberof MachineAccountMappingsV2026ApiCreateMachineAccountMappings
|
|
104273
|
+
*/
|
|
104274
|
+
readonly id: string
|
|
104275
|
+
|
|
104276
|
+
/**
|
|
104277
|
+
*
|
|
104278
|
+
* @type {AttributeMappingsV2026}
|
|
104279
|
+
* @memberof MachineAccountMappingsV2026ApiCreateMachineAccountMappings
|
|
104280
|
+
*/
|
|
104281
|
+
readonly attributeMappingsV2026: AttributeMappingsV2026
|
|
104282
|
+
}
|
|
104283
|
+
|
|
104284
|
+
/**
|
|
104285
|
+
* Request parameters for deleteMachineAccountMappings operation in MachineAccountMappingsV2026Api.
|
|
104286
|
+
* @export
|
|
104287
|
+
* @interface MachineAccountMappingsV2026ApiDeleteMachineAccountMappingsRequest
|
|
104288
|
+
*/
|
|
104289
|
+
export interface MachineAccountMappingsV2026ApiDeleteMachineAccountMappingsRequest {
|
|
104290
|
+
/**
|
|
104291
|
+
* source ID.
|
|
104292
|
+
* @type {string}
|
|
104293
|
+
* @memberof MachineAccountMappingsV2026ApiDeleteMachineAccountMappings
|
|
104294
|
+
*/
|
|
104295
|
+
readonly id: string
|
|
104296
|
+
}
|
|
104297
|
+
|
|
104298
|
+
/**
|
|
104299
|
+
* Request parameters for listMachineAccountMappings operation in MachineAccountMappingsV2026Api.
|
|
104300
|
+
* @export
|
|
104301
|
+
* @interface MachineAccountMappingsV2026ApiListMachineAccountMappingsRequest
|
|
104302
|
+
*/
|
|
104303
|
+
export interface MachineAccountMappingsV2026ApiListMachineAccountMappingsRequest {
|
|
104304
|
+
/**
|
|
104305
|
+
* Source ID
|
|
104306
|
+
* @type {string}
|
|
104307
|
+
* @memberof MachineAccountMappingsV2026ApiListMachineAccountMappings
|
|
104308
|
+
*/
|
|
104309
|
+
readonly id: string
|
|
104310
|
+
|
|
104311
|
+
/**
|
|
104312
|
+
* Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
104313
|
+
* @type {number}
|
|
104314
|
+
* @memberof MachineAccountMappingsV2026ApiListMachineAccountMappings
|
|
104315
|
+
*/
|
|
104316
|
+
readonly limit?: number
|
|
104317
|
+
|
|
104318
|
+
/**
|
|
104319
|
+
* Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
104320
|
+
* @type {number}
|
|
104321
|
+
* @memberof MachineAccountMappingsV2026ApiListMachineAccountMappings
|
|
104322
|
+
*/
|
|
104323
|
+
readonly offset?: number
|
|
104324
|
+
}
|
|
104325
|
+
|
|
104326
|
+
/**
|
|
104327
|
+
* Request parameters for setMachineAccountMappings operation in MachineAccountMappingsV2026Api.
|
|
104328
|
+
* @export
|
|
104329
|
+
* @interface MachineAccountMappingsV2026ApiSetMachineAccountMappingsRequest
|
|
104330
|
+
*/
|
|
104331
|
+
export interface MachineAccountMappingsV2026ApiSetMachineAccountMappingsRequest {
|
|
104332
|
+
/**
|
|
104333
|
+
* Source ID.
|
|
104334
|
+
* @type {string}
|
|
104335
|
+
* @memberof MachineAccountMappingsV2026ApiSetMachineAccountMappings
|
|
104336
|
+
*/
|
|
104337
|
+
readonly id: string
|
|
104338
|
+
|
|
104339
|
+
/**
|
|
104340
|
+
*
|
|
104341
|
+
* @type {AttributeMappingsV2026}
|
|
104342
|
+
* @memberof MachineAccountMappingsV2026ApiSetMachineAccountMappings
|
|
104343
|
+
*/
|
|
104344
|
+
readonly attributeMappingsV2026: AttributeMappingsV2026
|
|
104345
|
+
}
|
|
104346
|
+
|
|
104347
|
+
/**
|
|
104348
|
+
* MachineAccountMappingsV2026Api - object-oriented interface
|
|
104349
|
+
* @export
|
|
104350
|
+
* @class MachineAccountMappingsV2026Api
|
|
104351
|
+
* @extends {BaseAPI}
|
|
104352
|
+
*/
|
|
104353
|
+
export class MachineAccountMappingsV2026Api extends BaseAPI {
|
|
104354
|
+
/**
|
|
104355
|
+
* Creates Machine Account Mappings for both identities and accounts for a source. A token with API, ORG_ADMIN, ROLE_ADMIN, ROLE_SUBADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.
|
|
104356
|
+
* @summary Create machine account mappings
|
|
104357
|
+
* @param {MachineAccountMappingsV2026ApiCreateMachineAccountMappingsRequest} requestParameters Request parameters.
|
|
104358
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
104359
|
+
* @throws {RequiredError}
|
|
104360
|
+
* @memberof MachineAccountMappingsV2026Api
|
|
104361
|
+
*/
|
|
104362
|
+
public createMachineAccountMappings(requestParameters: MachineAccountMappingsV2026ApiCreateMachineAccountMappingsRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
104363
|
+
return MachineAccountMappingsV2026ApiFp(this.configuration).createMachineAccountMappings(requestParameters.id, requestParameters.attributeMappingsV2026, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
104364
|
+
}
|
|
104365
|
+
|
|
104366
|
+
/**
|
|
104367
|
+
* Use this API to remove machine account attribute mappings for a Source. A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.
|
|
104368
|
+
* @summary Delete source\'s machine account mappings
|
|
104369
|
+
* @param {MachineAccountMappingsV2026ApiDeleteMachineAccountMappingsRequest} requestParameters Request parameters.
|
|
104370
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
104371
|
+
* @throws {RequiredError}
|
|
104372
|
+
* @memberof MachineAccountMappingsV2026Api
|
|
104373
|
+
*/
|
|
104374
|
+
public deleteMachineAccountMappings(requestParameters: MachineAccountMappingsV2026ApiDeleteMachineAccountMappingsRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
104375
|
+
return MachineAccountMappingsV2026ApiFp(this.configuration).deleteMachineAccountMappings(requestParameters.id, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
104376
|
+
}
|
|
104377
|
+
|
|
104378
|
+
/**
|
|
104379
|
+
* Retrieves Machine account mappings for a specified source using Source ID.
|
|
104380
|
+
* @summary Machine account mapping for source
|
|
104381
|
+
* @param {MachineAccountMappingsV2026ApiListMachineAccountMappingsRequest} requestParameters Request parameters.
|
|
104382
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
104383
|
+
* @throws {RequiredError}
|
|
104384
|
+
* @memberof MachineAccountMappingsV2026Api
|
|
104385
|
+
*/
|
|
104386
|
+
public listMachineAccountMappings(requestParameters: MachineAccountMappingsV2026ApiListMachineAccountMappingsRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
104387
|
+
return MachineAccountMappingsV2026ApiFp(this.configuration).listMachineAccountMappings(requestParameters.id, requestParameters.limit, requestParameters.offset, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
104388
|
+
}
|
|
104389
|
+
|
|
104390
|
+
/**
|
|
104391
|
+
* Use this API to update Machine Account Attribute Mapping for a Source. A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.
|
|
104392
|
+
* @summary Update source\'s machine account mappings
|
|
104393
|
+
* @param {MachineAccountMappingsV2026ApiSetMachineAccountMappingsRequest} requestParameters Request parameters.
|
|
104394
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
104395
|
+
* @throws {RequiredError}
|
|
104396
|
+
* @memberof MachineAccountMappingsV2026Api
|
|
104397
|
+
*/
|
|
104398
|
+
public setMachineAccountMappings(requestParameters: MachineAccountMappingsV2026ApiSetMachineAccountMappingsRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
104399
|
+
return MachineAccountMappingsV2026ApiFp(this.configuration).setMachineAccountMappings(requestParameters.id, requestParameters.attributeMappingsV2026, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
104400
|
+
}
|
|
104401
|
+
}
|
|
104402
|
+
|
|
104403
|
+
|
|
104404
|
+
|
|
104405
|
+
/**
|
|
104406
|
+
* MachineAccountSubtypesV2026Api - axios parameter creator
|
|
104407
|
+
* @export
|
|
104408
|
+
*/
|
|
104409
|
+
export const MachineAccountSubtypesV2026ApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
104410
|
+
return {
|
|
104411
|
+
/**
|
|
104412
|
+
* Delete a machine account subtype by subtype ID. Note: If subtype has approval settings or entitlement for machine account creation enablement then it\'ll be also deleted.
|
|
104413
|
+
* @summary Delete subtype by ID
|
|
104414
|
+
* @param {string} subtypeId The ID of the subtype.
|
|
104415
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
104416
|
+
* @throws {RequiredError}
|
|
104417
|
+
*/
|
|
104418
|
+
deleteMachineAccountSubtype: async (subtypeId: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
104419
|
+
// verify required parameter 'subtypeId' is not null or undefined
|
|
104420
|
+
assertParamExists('deleteMachineAccountSubtype', 'subtypeId', subtypeId)
|
|
104421
|
+
const localVarPath = `/source-subtypes/{subtypeId}`
|
|
104422
|
+
.replace(`{${"subtypeId"}}`, encodeURIComponent(String(subtypeId)));
|
|
104423
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
104424
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
104425
|
+
let baseOptions;
|
|
104426
|
+
if (configuration) {
|
|
104427
|
+
baseOptions = configuration.baseOptions;
|
|
104428
|
+
}
|
|
104429
|
+
|
|
104430
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...axiosOptions};
|
|
104431
|
+
const localVarHeaderParameter = {} as any;
|
|
104432
|
+
const localVarQueryParameter = {} as any;
|
|
104433
|
+
|
|
104434
|
+
// authentication userAuth required
|
|
104435
|
+
// oauth required
|
|
104436
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
104437
|
+
|
|
104438
|
+
// authentication userAuth required
|
|
104439
|
+
// oauth required
|
|
104440
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
104441
|
+
|
|
104442
|
+
// authentication applicationAuth required
|
|
104443
|
+
// oauth required
|
|
104444
|
+
await setOAuthToObject(localVarHeaderParameter, "applicationAuth", [], configuration)
|
|
104445
|
+
|
|
104446
|
+
|
|
104447
|
+
|
|
104448
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
104449
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
104450
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
104451
|
+
|
|
104452
|
+
return {
|
|
104453
|
+
url: toPathString(localVarUrlObj),
|
|
104454
|
+
axiosOptions: localVarRequestOptions,
|
|
104455
|
+
};
|
|
104456
|
+
},
|
|
104457
|
+
/**
|
|
104458
|
+
* Get a machine account subtype by subtype ID.
|
|
104459
|
+
* @summary Get subtype by ID
|
|
104460
|
+
* @param {string} subtypeId The ID of the subtype.
|
|
104461
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
104462
|
+
* @throws {RequiredError}
|
|
104463
|
+
*/
|
|
104464
|
+
getSourceSubtypeById: async (subtypeId: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
104465
|
+
// verify required parameter 'subtypeId' is not null or undefined
|
|
104466
|
+
assertParamExists('getSourceSubtypeById', 'subtypeId', subtypeId)
|
|
104467
|
+
const localVarPath = `/source-subtypes/{subtypeId}`
|
|
104468
|
+
.replace(`{${"subtypeId"}}`, encodeURIComponent(String(subtypeId)));
|
|
104469
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
104470
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
104471
|
+
let baseOptions;
|
|
104472
|
+
if (configuration) {
|
|
104473
|
+
baseOptions = configuration.baseOptions;
|
|
104474
|
+
}
|
|
104475
|
+
|
|
104476
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
|
|
104477
|
+
const localVarHeaderParameter = {} as any;
|
|
104478
|
+
const localVarQueryParameter = {} as any;
|
|
104479
|
+
|
|
104480
|
+
// authentication userAuth required
|
|
104481
|
+
// oauth required
|
|
104482
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
104483
|
+
|
|
104484
|
+
// authentication userAuth required
|
|
104485
|
+
// oauth required
|
|
104486
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
104487
|
+
|
|
104488
|
+
// authentication applicationAuth required
|
|
104489
|
+
// oauth required
|
|
104490
|
+
await setOAuthToObject(localVarHeaderParameter, "applicationAuth", [], configuration)
|
|
104491
|
+
|
|
103368
104492
|
|
|
103369
104493
|
|
|
103370
104494
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -103377,20 +104501,20 @@ export const MachineAccountMappingsV2026ApiAxiosParamCreator = function (configu
|
|
|
103377
104501
|
};
|
|
103378
104502
|
},
|
|
103379
104503
|
/**
|
|
103380
|
-
*
|
|
103381
|
-
* @summary
|
|
103382
|
-
* @param {string}
|
|
103383
|
-
* @param {
|
|
104504
|
+
* Update fields of a machine account subtype by subtype ID. Patchable fields only include: `displayName`, `description`.
|
|
104505
|
+
* @summary Patch subtype by ID
|
|
104506
|
+
* @param {string} subtypeId The ID of the subtype.
|
|
104507
|
+
* @param {Array<object>} requestBody A JSON of updated values [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
|
103384
104508
|
* @param {*} [axiosOptions] Override http request option.
|
|
103385
104509
|
* @throws {RequiredError}
|
|
103386
104510
|
*/
|
|
103387
|
-
|
|
103388
|
-
// verify required parameter '
|
|
103389
|
-
assertParamExists('
|
|
103390
|
-
// verify required parameter '
|
|
103391
|
-
assertParamExists('
|
|
103392
|
-
const localVarPath = `/
|
|
103393
|
-
.replace(`{${"
|
|
104511
|
+
patchMachineAccountSubtype: async (subtypeId: string, requestBody: Array<object>, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
104512
|
+
// verify required parameter 'subtypeId' is not null or undefined
|
|
104513
|
+
assertParamExists('patchMachineAccountSubtype', 'subtypeId', subtypeId)
|
|
104514
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
104515
|
+
assertParamExists('patchMachineAccountSubtype', 'requestBody', requestBody)
|
|
104516
|
+
const localVarPath = `/source-subtypes/{subtypeId}`
|
|
104517
|
+
.replace(`{${"subtypeId"}}`, encodeURIComponent(String(subtypeId)));
|
|
103394
104518
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
103395
104519
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
103396
104520
|
let baseOptions;
|
|
@@ -103398,7 +104522,7 @@ export const MachineAccountMappingsV2026ApiAxiosParamCreator = function (configu
|
|
|
103398
104522
|
baseOptions = configuration.baseOptions;
|
|
103399
104523
|
}
|
|
103400
104524
|
|
|
103401
|
-
const localVarRequestOptions = { method: '
|
|
104525
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...axiosOptions};
|
|
103402
104526
|
const localVarHeaderParameter = {} as any;
|
|
103403
104527
|
const localVarQueryParameter = {} as any;
|
|
103404
104528
|
|
|
@@ -103416,12 +104540,12 @@ export const MachineAccountMappingsV2026ApiAxiosParamCreator = function (configu
|
|
|
103416
104540
|
|
|
103417
104541
|
|
|
103418
104542
|
|
|
103419
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
104543
|
+
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
103420
104544
|
|
|
103421
104545
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
103422
104546
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
103423
104547
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
103424
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
104548
|
+
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
|
|
103425
104549
|
|
|
103426
104550
|
return {
|
|
103427
104551
|
url: toPathString(localVarUrlObj),
|
|
@@ -103432,258 +104556,185 @@ export const MachineAccountMappingsV2026ApiAxiosParamCreator = function (configu
|
|
|
103432
104556
|
};
|
|
103433
104557
|
|
|
103434
104558
|
/**
|
|
103435
|
-
*
|
|
104559
|
+
* MachineAccountSubtypesV2026Api - functional programming interface
|
|
103436
104560
|
* @export
|
|
103437
104561
|
*/
|
|
103438
|
-
export const
|
|
103439
|
-
const localVarAxiosParamCreator =
|
|
104562
|
+
export const MachineAccountSubtypesV2026ApiFp = function(configuration?: Configuration) {
|
|
104563
|
+
const localVarAxiosParamCreator = MachineAccountSubtypesV2026ApiAxiosParamCreator(configuration)
|
|
103440
104564
|
return {
|
|
103441
104565
|
/**
|
|
103442
|
-
*
|
|
103443
|
-
* @summary
|
|
103444
|
-
* @param {string}
|
|
103445
|
-
* @param {AttributeMappingsV2026} attributeMappingsV2026
|
|
104566
|
+
* Delete a machine account subtype by subtype ID. Note: If subtype has approval settings or entitlement for machine account creation enablement then it\'ll be also deleted.
|
|
104567
|
+
* @summary Delete subtype by ID
|
|
104568
|
+
* @param {string} subtypeId The ID of the subtype.
|
|
103446
104569
|
* @param {*} [axiosOptions] Override http request option.
|
|
103447
104570
|
* @throws {RequiredError}
|
|
103448
104571
|
*/
|
|
103449
|
-
async
|
|
103450
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
104572
|
+
async deleteMachineAccountSubtype(subtypeId: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
104573
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteMachineAccountSubtype(subtypeId, axiosOptions);
|
|
103451
104574
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
103452
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
104575
|
+
const localVarOperationServerBasePath = operationServerMap['MachineAccountSubtypesV2026Api.deleteMachineAccountSubtype']?.[localVarOperationServerIndex]?.url;
|
|
103453
104576
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
103454
104577
|
},
|
|
103455
104578
|
/**
|
|
103456
|
-
*
|
|
103457
|
-
* @summary
|
|
103458
|
-
* @param {string}
|
|
103459
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
103460
|
-
* @throws {RequiredError}
|
|
103461
|
-
*/
|
|
103462
|
-
async deleteMachineAccountMappings(id: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
103463
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteMachineAccountMappings(id, axiosOptions);
|
|
103464
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
103465
|
-
const localVarOperationServerBasePath = operationServerMap['MachineAccountMappingsV2026Api.deleteMachineAccountMappings']?.[localVarOperationServerIndex]?.url;
|
|
103466
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
103467
|
-
},
|
|
103468
|
-
/**
|
|
103469
|
-
* Retrieves Machine account mappings for a specified source using Source ID.
|
|
103470
|
-
* @summary Machine account mapping for source
|
|
103471
|
-
* @param {string} id Source ID
|
|
103472
|
-
* @param {number} [limit] Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
103473
|
-
* @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
104579
|
+
* Get a machine account subtype by subtype ID.
|
|
104580
|
+
* @summary Get subtype by ID
|
|
104581
|
+
* @param {string} subtypeId The ID of the subtype.
|
|
103474
104582
|
* @param {*} [axiosOptions] Override http request option.
|
|
103475
104583
|
* @throws {RequiredError}
|
|
103476
104584
|
*/
|
|
103477
|
-
async
|
|
103478
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
104585
|
+
async getSourceSubtypeById(subtypeId: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SourceSubtypeWithSourceV2026>> {
|
|
104586
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSourceSubtypeById(subtypeId, axiosOptions);
|
|
103479
104587
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
103480
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
104588
|
+
const localVarOperationServerBasePath = operationServerMap['MachineAccountSubtypesV2026Api.getSourceSubtypeById']?.[localVarOperationServerIndex]?.url;
|
|
103481
104589
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
103482
104590
|
},
|
|
103483
104591
|
/**
|
|
103484
|
-
*
|
|
103485
|
-
* @summary
|
|
103486
|
-
* @param {string}
|
|
103487
|
-
* @param {
|
|
104592
|
+
* Update fields of a machine account subtype by subtype ID. Patchable fields only include: `displayName`, `description`.
|
|
104593
|
+
* @summary Patch subtype by ID
|
|
104594
|
+
* @param {string} subtypeId The ID of the subtype.
|
|
104595
|
+
* @param {Array<object>} requestBody A JSON of updated values [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
|
103488
104596
|
* @param {*} [axiosOptions] Override http request option.
|
|
103489
104597
|
* @throws {RequiredError}
|
|
103490
104598
|
*/
|
|
103491
|
-
async
|
|
103492
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
104599
|
+
async patchMachineAccountSubtype(subtypeId: string, requestBody: Array<object>, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SourceSubtypeWithSourceV2026>> {
|
|
104600
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.patchMachineAccountSubtype(subtypeId, requestBody, axiosOptions);
|
|
103493
104601
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
103494
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
104602
|
+
const localVarOperationServerBasePath = operationServerMap['MachineAccountSubtypesV2026Api.patchMachineAccountSubtype']?.[localVarOperationServerIndex]?.url;
|
|
103495
104603
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
103496
104604
|
},
|
|
103497
104605
|
}
|
|
103498
104606
|
};
|
|
103499
104607
|
|
|
103500
104608
|
/**
|
|
103501
|
-
*
|
|
104609
|
+
* MachineAccountSubtypesV2026Api - factory interface
|
|
103502
104610
|
* @export
|
|
103503
104611
|
*/
|
|
103504
|
-
export const
|
|
103505
|
-
const localVarFp =
|
|
104612
|
+
export const MachineAccountSubtypesV2026ApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
104613
|
+
const localVarFp = MachineAccountSubtypesV2026ApiFp(configuration)
|
|
103506
104614
|
return {
|
|
103507
104615
|
/**
|
|
103508
|
-
*
|
|
103509
|
-
* @summary
|
|
103510
|
-
* @param {
|
|
104616
|
+
* Delete a machine account subtype by subtype ID. Note: If subtype has approval settings or entitlement for machine account creation enablement then it\'ll be also deleted.
|
|
104617
|
+
* @summary Delete subtype by ID
|
|
104618
|
+
* @param {MachineAccountSubtypesV2026ApiDeleteMachineAccountSubtypeRequest} requestParameters Request parameters.
|
|
103511
104619
|
* @param {*} [axiosOptions] Override http request option.
|
|
103512
104620
|
* @throws {RequiredError}
|
|
103513
104621
|
*/
|
|
103514
|
-
|
|
103515
|
-
return localVarFp.
|
|
104622
|
+
deleteMachineAccountSubtype(requestParameters: MachineAccountSubtypesV2026ApiDeleteMachineAccountSubtypeRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
104623
|
+
return localVarFp.deleteMachineAccountSubtype(requestParameters.subtypeId, axiosOptions).then((request) => request(axios, basePath));
|
|
103516
104624
|
},
|
|
103517
104625
|
/**
|
|
103518
|
-
*
|
|
103519
|
-
* @summary
|
|
103520
|
-
* @param {
|
|
104626
|
+
* Get a machine account subtype by subtype ID.
|
|
104627
|
+
* @summary Get subtype by ID
|
|
104628
|
+
* @param {MachineAccountSubtypesV2026ApiGetSourceSubtypeByIdRequest} requestParameters Request parameters.
|
|
103521
104629
|
* @param {*} [axiosOptions] Override http request option.
|
|
103522
104630
|
* @throws {RequiredError}
|
|
103523
104631
|
*/
|
|
103524
|
-
|
|
103525
|
-
return localVarFp.
|
|
104632
|
+
getSourceSubtypeById(requestParameters: MachineAccountSubtypesV2026ApiGetSourceSubtypeByIdRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<SourceSubtypeWithSourceV2026> {
|
|
104633
|
+
return localVarFp.getSourceSubtypeById(requestParameters.subtypeId, axiosOptions).then((request) => request(axios, basePath));
|
|
103526
104634
|
},
|
|
103527
104635
|
/**
|
|
103528
|
-
*
|
|
103529
|
-
* @summary
|
|
103530
|
-
* @param {
|
|
104636
|
+
* Update fields of a machine account subtype by subtype ID. Patchable fields only include: `displayName`, `description`.
|
|
104637
|
+
* @summary Patch subtype by ID
|
|
104638
|
+
* @param {MachineAccountSubtypesV2026ApiPatchMachineAccountSubtypeRequest} requestParameters Request parameters.
|
|
103531
104639
|
* @param {*} [axiosOptions] Override http request option.
|
|
103532
104640
|
* @throws {RequiredError}
|
|
103533
104641
|
*/
|
|
103534
|
-
|
|
103535
|
-
return localVarFp.
|
|
103536
|
-
},
|
|
103537
|
-
/**
|
|
103538
|
-
* Use this API to update Machine Account Attribute Mapping for a Source. A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.
|
|
103539
|
-
* @summary Update source\'s machine account mappings
|
|
103540
|
-
* @param {MachineAccountMappingsV2026ApiSetMachineAccountMappingsRequest} requestParameters Request parameters.
|
|
103541
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
103542
|
-
* @throws {RequiredError}
|
|
103543
|
-
*/
|
|
103544
|
-
setMachineAccountMappings(requestParameters: MachineAccountMappingsV2026ApiSetMachineAccountMappingsRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<AttributeMappingsV2026>> {
|
|
103545
|
-
return localVarFp.setMachineAccountMappings(requestParameters.id, requestParameters.attributeMappingsV2026, axiosOptions).then((request) => request(axios, basePath));
|
|
104642
|
+
patchMachineAccountSubtype(requestParameters: MachineAccountSubtypesV2026ApiPatchMachineAccountSubtypeRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<SourceSubtypeWithSourceV2026> {
|
|
104643
|
+
return localVarFp.patchMachineAccountSubtype(requestParameters.subtypeId, requestParameters.requestBody, axiosOptions).then((request) => request(axios, basePath));
|
|
103546
104644
|
},
|
|
103547
104645
|
};
|
|
103548
104646
|
};
|
|
103549
104647
|
|
|
103550
104648
|
/**
|
|
103551
|
-
* Request parameters for
|
|
103552
|
-
* @export
|
|
103553
|
-
* @interface MachineAccountMappingsV2026ApiCreateMachineAccountMappingsRequest
|
|
103554
|
-
*/
|
|
103555
|
-
export interface MachineAccountMappingsV2026ApiCreateMachineAccountMappingsRequest {
|
|
103556
|
-
/**
|
|
103557
|
-
* Source ID.
|
|
103558
|
-
* @type {string}
|
|
103559
|
-
* @memberof MachineAccountMappingsV2026ApiCreateMachineAccountMappings
|
|
103560
|
-
*/
|
|
103561
|
-
readonly id: string
|
|
103562
|
-
|
|
103563
|
-
/**
|
|
103564
|
-
*
|
|
103565
|
-
* @type {AttributeMappingsV2026}
|
|
103566
|
-
* @memberof MachineAccountMappingsV2026ApiCreateMachineAccountMappings
|
|
103567
|
-
*/
|
|
103568
|
-
readonly attributeMappingsV2026: AttributeMappingsV2026
|
|
103569
|
-
}
|
|
103570
|
-
|
|
103571
|
-
/**
|
|
103572
|
-
* Request parameters for deleteMachineAccountMappings operation in MachineAccountMappingsV2026Api.
|
|
104649
|
+
* Request parameters for deleteMachineAccountSubtype operation in MachineAccountSubtypesV2026Api.
|
|
103573
104650
|
* @export
|
|
103574
|
-
* @interface
|
|
104651
|
+
* @interface MachineAccountSubtypesV2026ApiDeleteMachineAccountSubtypeRequest
|
|
103575
104652
|
*/
|
|
103576
|
-
export interface
|
|
104653
|
+
export interface MachineAccountSubtypesV2026ApiDeleteMachineAccountSubtypeRequest {
|
|
103577
104654
|
/**
|
|
103578
|
-
*
|
|
104655
|
+
* The ID of the subtype.
|
|
103579
104656
|
* @type {string}
|
|
103580
|
-
* @memberof
|
|
104657
|
+
* @memberof MachineAccountSubtypesV2026ApiDeleteMachineAccountSubtype
|
|
103581
104658
|
*/
|
|
103582
|
-
readonly
|
|
104659
|
+
readonly subtypeId: string
|
|
103583
104660
|
}
|
|
103584
104661
|
|
|
103585
104662
|
/**
|
|
103586
|
-
* Request parameters for
|
|
104663
|
+
* Request parameters for getSourceSubtypeById operation in MachineAccountSubtypesV2026Api.
|
|
103587
104664
|
* @export
|
|
103588
|
-
* @interface
|
|
104665
|
+
* @interface MachineAccountSubtypesV2026ApiGetSourceSubtypeByIdRequest
|
|
103589
104666
|
*/
|
|
103590
|
-
export interface
|
|
104667
|
+
export interface MachineAccountSubtypesV2026ApiGetSourceSubtypeByIdRequest {
|
|
103591
104668
|
/**
|
|
103592
|
-
*
|
|
104669
|
+
* The ID of the subtype.
|
|
103593
104670
|
* @type {string}
|
|
103594
|
-
* @memberof
|
|
103595
|
-
*/
|
|
103596
|
-
readonly id: string
|
|
103597
|
-
|
|
103598
|
-
/**
|
|
103599
|
-
* Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
103600
|
-
* @type {number}
|
|
103601
|
-
* @memberof MachineAccountMappingsV2026ApiListMachineAccountMappings
|
|
103602
|
-
*/
|
|
103603
|
-
readonly limit?: number
|
|
103604
|
-
|
|
103605
|
-
/**
|
|
103606
|
-
* Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
103607
|
-
* @type {number}
|
|
103608
|
-
* @memberof MachineAccountMappingsV2026ApiListMachineAccountMappings
|
|
104671
|
+
* @memberof MachineAccountSubtypesV2026ApiGetSourceSubtypeById
|
|
103609
104672
|
*/
|
|
103610
|
-
readonly
|
|
104673
|
+
readonly subtypeId: string
|
|
103611
104674
|
}
|
|
103612
104675
|
|
|
103613
104676
|
/**
|
|
103614
|
-
* Request parameters for
|
|
104677
|
+
* Request parameters for patchMachineAccountSubtype operation in MachineAccountSubtypesV2026Api.
|
|
103615
104678
|
* @export
|
|
103616
|
-
* @interface
|
|
104679
|
+
* @interface MachineAccountSubtypesV2026ApiPatchMachineAccountSubtypeRequest
|
|
103617
104680
|
*/
|
|
103618
|
-
export interface
|
|
104681
|
+
export interface MachineAccountSubtypesV2026ApiPatchMachineAccountSubtypeRequest {
|
|
103619
104682
|
/**
|
|
103620
|
-
*
|
|
104683
|
+
* The ID of the subtype.
|
|
103621
104684
|
* @type {string}
|
|
103622
|
-
* @memberof
|
|
104685
|
+
* @memberof MachineAccountSubtypesV2026ApiPatchMachineAccountSubtype
|
|
103623
104686
|
*/
|
|
103624
|
-
readonly
|
|
104687
|
+
readonly subtypeId: string
|
|
103625
104688
|
|
|
103626
104689
|
/**
|
|
103627
|
-
*
|
|
103628
|
-
* @type {
|
|
103629
|
-
* @memberof
|
|
104690
|
+
* A JSON of updated values [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
|
104691
|
+
* @type {Array<object>}
|
|
104692
|
+
* @memberof MachineAccountSubtypesV2026ApiPatchMachineAccountSubtype
|
|
103630
104693
|
*/
|
|
103631
|
-
readonly
|
|
104694
|
+
readonly requestBody: Array<object>
|
|
103632
104695
|
}
|
|
103633
104696
|
|
|
103634
104697
|
/**
|
|
103635
|
-
*
|
|
104698
|
+
* MachineAccountSubtypesV2026Api - object-oriented interface
|
|
103636
104699
|
* @export
|
|
103637
|
-
* @class
|
|
104700
|
+
* @class MachineAccountSubtypesV2026Api
|
|
103638
104701
|
* @extends {BaseAPI}
|
|
103639
104702
|
*/
|
|
103640
|
-
export class
|
|
104703
|
+
export class MachineAccountSubtypesV2026Api extends BaseAPI {
|
|
103641
104704
|
/**
|
|
103642
|
-
*
|
|
103643
|
-
* @summary
|
|
103644
|
-
* @param {
|
|
104705
|
+
* Delete a machine account subtype by subtype ID. Note: If subtype has approval settings or entitlement for machine account creation enablement then it\'ll be also deleted.
|
|
104706
|
+
* @summary Delete subtype by ID
|
|
104707
|
+
* @param {MachineAccountSubtypesV2026ApiDeleteMachineAccountSubtypeRequest} requestParameters Request parameters.
|
|
103645
104708
|
* @param {*} [axiosOptions] Override http request option.
|
|
103646
104709
|
* @throws {RequiredError}
|
|
103647
|
-
* @memberof
|
|
104710
|
+
* @memberof MachineAccountSubtypesV2026Api
|
|
103648
104711
|
*/
|
|
103649
|
-
public
|
|
103650
|
-
return
|
|
104712
|
+
public deleteMachineAccountSubtype(requestParameters: MachineAccountSubtypesV2026ApiDeleteMachineAccountSubtypeRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
104713
|
+
return MachineAccountSubtypesV2026ApiFp(this.configuration).deleteMachineAccountSubtype(requestParameters.subtypeId, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
103651
104714
|
}
|
|
103652
104715
|
|
|
103653
104716
|
/**
|
|
103654
|
-
*
|
|
103655
|
-
* @summary
|
|
103656
|
-
* @param {
|
|
104717
|
+
* Get a machine account subtype by subtype ID.
|
|
104718
|
+
* @summary Get subtype by ID
|
|
104719
|
+
* @param {MachineAccountSubtypesV2026ApiGetSourceSubtypeByIdRequest} requestParameters Request parameters.
|
|
103657
104720
|
* @param {*} [axiosOptions] Override http request option.
|
|
103658
104721
|
* @throws {RequiredError}
|
|
103659
|
-
* @memberof
|
|
104722
|
+
* @memberof MachineAccountSubtypesV2026Api
|
|
103660
104723
|
*/
|
|
103661
|
-
public
|
|
103662
|
-
return
|
|
104724
|
+
public getSourceSubtypeById(requestParameters: MachineAccountSubtypesV2026ApiGetSourceSubtypeByIdRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
104725
|
+
return MachineAccountSubtypesV2026ApiFp(this.configuration).getSourceSubtypeById(requestParameters.subtypeId, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
103663
104726
|
}
|
|
103664
104727
|
|
|
103665
104728
|
/**
|
|
103666
|
-
*
|
|
103667
|
-
* @summary
|
|
103668
|
-
* @param {
|
|
104729
|
+
* Update fields of a machine account subtype by subtype ID. Patchable fields only include: `displayName`, `description`.
|
|
104730
|
+
* @summary Patch subtype by ID
|
|
104731
|
+
* @param {MachineAccountSubtypesV2026ApiPatchMachineAccountSubtypeRequest} requestParameters Request parameters.
|
|
103669
104732
|
* @param {*} [axiosOptions] Override http request option.
|
|
103670
104733
|
* @throws {RequiredError}
|
|
103671
|
-
* @memberof
|
|
104734
|
+
* @memberof MachineAccountSubtypesV2026Api
|
|
103672
104735
|
*/
|
|
103673
|
-
public
|
|
103674
|
-
return
|
|
103675
|
-
}
|
|
103676
|
-
|
|
103677
|
-
/**
|
|
103678
|
-
* Use this API to update Machine Account Attribute Mapping for a Source. A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.
|
|
103679
|
-
* @summary Update source\'s machine account mappings
|
|
103680
|
-
* @param {MachineAccountMappingsV2026ApiSetMachineAccountMappingsRequest} requestParameters Request parameters.
|
|
103681
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
103682
|
-
* @throws {RequiredError}
|
|
103683
|
-
* @memberof MachineAccountMappingsV2026Api
|
|
103684
|
-
*/
|
|
103685
|
-
public setMachineAccountMappings(requestParameters: MachineAccountMappingsV2026ApiSetMachineAccountMappingsRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
103686
|
-
return MachineAccountMappingsV2026ApiFp(this.configuration).setMachineAccountMappings(requestParameters.id, requestParameters.attributeMappingsV2026, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
104736
|
+
public patchMachineAccountSubtype(requestParameters: MachineAccountSubtypesV2026ApiPatchMachineAccountSubtypeRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
104737
|
+
return MachineAccountSubtypesV2026ApiFp(this.configuration).patchMachineAccountSubtype(requestParameters.subtypeId, requestParameters.requestBody, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
103687
104738
|
}
|
|
103688
104739
|
}
|
|
103689
104740
|
|
|
@@ -103764,11 +104815,11 @@ export const MachineAccountsV2026ApiAxiosParamCreator = function (configuration?
|
|
|
103764
104815
|
* @param {*} [axiosOptions] Override http request option.
|
|
103765
104816
|
* @throws {RequiredError}
|
|
103766
104817
|
*/
|
|
103767
|
-
|
|
104818
|
+
deleteMachineAccountSubtypeByTechnicalName: async (sourceId: string, technicalName: string, xSailPointExperimental?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
103768
104819
|
// verify required parameter 'sourceId' is not null or undefined
|
|
103769
|
-
assertParamExists('
|
|
104820
|
+
assertParamExists('deleteMachineAccountSubtypeByTechnicalName', 'sourceId', sourceId)
|
|
103770
104821
|
// verify required parameter 'technicalName' is not null or undefined
|
|
103771
|
-
assertParamExists('
|
|
104822
|
+
assertParamExists('deleteMachineAccountSubtypeByTechnicalName', 'technicalName', technicalName)
|
|
103772
104823
|
if (xSailPointExperimental === undefined) {
|
|
103773
104824
|
xSailPointExperimental = 'true';
|
|
103774
104825
|
}
|
|
@@ -103864,22 +104915,22 @@ export const MachineAccountsV2026ApiAxiosParamCreator = function (configuration?
|
|
|
103864
104915
|
};
|
|
103865
104916
|
},
|
|
103866
104917
|
/**
|
|
103867
|
-
* This endpoint retrieves the approval configuration for machine account deletion at the machine subtype level. By providing a specific subtypeId in the path, clients can fetch the approval rules and settings (such as required approvers and comments policy) that govern account deletion for that particular machine subtype. The response includes a MachineAccountSubtypeConfigDto object detailing these configurations, enabling clients to understand or display the approval workflow required for deleting machine accounts of the given subtype. Use this endpoint to get machine subtype level approval config for account deletion.
|
|
104918
|
+
* This endpoint retrieves the approval configuration for machine account creation and deletion at the machine subtype level. By providing a specific subtypeId in the path, clients can fetch the approval rules and settings (such as required approvers and comments policy) that govern account creation and deletion for that particular machine subtype. The response includes a MachineAccountSubtypeConfigDto object detailing these configurations, enabling clients to understand or display the approval workflow required for creating and deleting machine accounts of the given subtype. Use this endpoint to get machine subtype level approval config for account creation and deletion.
|
|
103868
104919
|
* @summary Machine Subtype Approval Config
|
|
103869
104920
|
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
103870
104921
|
* @param {string} subtypeId machine subtype id.
|
|
103871
104922
|
* @param {*} [axiosOptions] Override http request option.
|
|
103872
104923
|
* @throws {RequiredError}
|
|
103873
104924
|
*/
|
|
103874
|
-
|
|
104925
|
+
getMachineAccountSubtypeApprovalConfig: async (xSailPointExperimental: string, subtypeId: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
103875
104926
|
if (xSailPointExperimental === undefined) {
|
|
103876
104927
|
xSailPointExperimental = 'true';
|
|
103877
104928
|
}
|
|
103878
104929
|
|
|
103879
104930
|
// verify required parameter 'xSailPointExperimental' is not null or undefined
|
|
103880
|
-
assertParamExists('
|
|
104931
|
+
assertParamExists('getMachineAccountSubtypeApprovalConfig', 'xSailPointExperimental', xSailPointExperimental)
|
|
103881
104932
|
// verify required parameter 'subtypeId' is not null or undefined
|
|
103882
|
-
assertParamExists('
|
|
104933
|
+
assertParamExists('getMachineAccountSubtypeApprovalConfig', 'subtypeId', subtypeId)
|
|
103883
104934
|
const localVarPath = `/source-subtypes/{subtypeId}/machine-config`
|
|
103884
104935
|
.replace(`{${"subtypeId"}}`, encodeURIComponent(String(subtypeId)));
|
|
103885
104936
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -104177,6 +105228,64 @@ export const MachineAccountsV2026ApiAxiosParamCreator = function (configuration?
|
|
|
104177
105228
|
axiosOptions: localVarRequestOptions,
|
|
104178
105229
|
};
|
|
104179
105230
|
},
|
|
105231
|
+
/**
|
|
105232
|
+
* This endpoint retrieves the subtypes for given subtypeIds.
|
|
105233
|
+
* @summary Bulk Retrieve of Source Subtypes
|
|
105234
|
+
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
105235
|
+
* @param {Array<string>} requestBody
|
|
105236
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
105237
|
+
* @throws {RequiredError}
|
|
105238
|
+
*/
|
|
105239
|
+
loadBulkSourceSubtypes: async (xSailPointExperimental: string, requestBody: Array<string>, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
105240
|
+
if (xSailPointExperimental === undefined) {
|
|
105241
|
+
xSailPointExperimental = 'true';
|
|
105242
|
+
}
|
|
105243
|
+
|
|
105244
|
+
// verify required parameter 'xSailPointExperimental' is not null or undefined
|
|
105245
|
+
assertParamExists('loadBulkSourceSubtypes', 'xSailPointExperimental', xSailPointExperimental)
|
|
105246
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
105247
|
+
assertParamExists('loadBulkSourceSubtypes', 'requestBody', requestBody)
|
|
105248
|
+
const localVarPath = `/source-subtypes/bulk-retrieve`;
|
|
105249
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
105250
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
105251
|
+
let baseOptions;
|
|
105252
|
+
if (configuration) {
|
|
105253
|
+
baseOptions = configuration.baseOptions;
|
|
105254
|
+
}
|
|
105255
|
+
|
|
105256
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};
|
|
105257
|
+
const localVarHeaderParameter = {} as any;
|
|
105258
|
+
const localVarQueryParameter = {} as any;
|
|
105259
|
+
|
|
105260
|
+
// authentication userAuth required
|
|
105261
|
+
// oauth required
|
|
105262
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
105263
|
+
|
|
105264
|
+
// authentication userAuth required
|
|
105265
|
+
// oauth required
|
|
105266
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
105267
|
+
|
|
105268
|
+
// authentication applicationAuth required
|
|
105269
|
+
// oauth required
|
|
105270
|
+
await setOAuthToObject(localVarHeaderParameter, "applicationAuth", [], configuration)
|
|
105271
|
+
|
|
105272
|
+
|
|
105273
|
+
|
|
105274
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
105275
|
+
|
|
105276
|
+
if (xSailPointExperimental != null) {
|
|
105277
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
105278
|
+
}
|
|
105279
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
105280
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
105281
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
105282
|
+
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
|
|
105283
|
+
|
|
105284
|
+
return {
|
|
105285
|
+
url: toPathString(localVarUrlObj),
|
|
105286
|
+
axiosOptions: localVarRequestOptions,
|
|
105287
|
+
};
|
|
105288
|
+
},
|
|
104180
105289
|
/**
|
|
104181
105290
|
* Update fields of a machine account subtype by source ID and technical name. Patchable fields include: `displayName`, `description`.
|
|
104182
105291
|
* @summary Patch subtype
|
|
@@ -104187,13 +105296,13 @@ export const MachineAccountsV2026ApiAxiosParamCreator = function (configuration?
|
|
|
104187
105296
|
* @param {*} [axiosOptions] Override http request option.
|
|
104188
105297
|
* @throws {RequiredError}
|
|
104189
105298
|
*/
|
|
104190
|
-
|
|
105299
|
+
patchMachineAccountSubtypeByTechnicalName: async (sourceId: string, technicalName: string, requestBody: Array<object>, xSailPointExperimental?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
104191
105300
|
// verify required parameter 'sourceId' is not null or undefined
|
|
104192
|
-
assertParamExists('
|
|
105301
|
+
assertParamExists('patchMachineAccountSubtypeByTechnicalName', 'sourceId', sourceId)
|
|
104193
105302
|
// verify required parameter 'technicalName' is not null or undefined
|
|
104194
|
-
assertParamExists('
|
|
105303
|
+
assertParamExists('patchMachineAccountSubtypeByTechnicalName', 'technicalName', technicalName)
|
|
104195
105304
|
// verify required parameter 'requestBody' is not null or undefined
|
|
104196
|
-
assertParamExists('
|
|
105305
|
+
assertParamExists('patchMachineAccountSubtypeByTechnicalName', 'requestBody', requestBody)
|
|
104197
105306
|
if (xSailPointExperimental === undefined) {
|
|
104198
105307
|
xSailPointExperimental = 'true';
|
|
104199
105308
|
}
|
|
@@ -104302,7 +105411,7 @@ export const MachineAccountsV2026ApiAxiosParamCreator = function (configuration?
|
|
|
104302
105411
|
};
|
|
104303
105412
|
},
|
|
104304
105413
|
/**
|
|
104305
|
-
* Updates the approval configuration for machine account deletion at the specified machine subtype level. This endpoint allows clients to modify approval rules and settings (such as required approvers and comments policy) for account deletion workflows associated with a given subtypeId. Use this to customize or enforce approval requirements for deleting machine accounts of a particular subtype.
|
|
105414
|
+
* Updates the approval configuration for machine account deletion at the specified machine subtype level. This endpoint allows clients to modify approval rules and settings (such as required approvers and comments policy) for account creation and deletion workflows associated with a given subtypeId. Use this to customize or enforce approval requirements for creating and deleting machine accounts of a particular subtype.
|
|
104306
105415
|
* @summary Machine Subtype Approval Config
|
|
104307
105416
|
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
104308
105417
|
* @param {string} subtypeId machine account subtype ID.
|
|
@@ -104310,17 +105419,17 @@ export const MachineAccountsV2026ApiAxiosParamCreator = function (configuration?
|
|
|
104310
105419
|
* @param {*} [axiosOptions] Override http request option.
|
|
104311
105420
|
* @throws {RequiredError}
|
|
104312
105421
|
*/
|
|
104313
|
-
|
|
105422
|
+
updateMachineAccountSubtypeApprovalConfig: async (xSailPointExperimental: string, subtypeId: string, jsonPatchOperationV2026: Array<JsonPatchOperationV2026>, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
104314
105423
|
if (xSailPointExperimental === undefined) {
|
|
104315
105424
|
xSailPointExperimental = 'true';
|
|
104316
105425
|
}
|
|
104317
105426
|
|
|
104318
105427
|
// verify required parameter 'xSailPointExperimental' is not null or undefined
|
|
104319
|
-
assertParamExists('
|
|
105428
|
+
assertParamExists('updateMachineAccountSubtypeApprovalConfig', 'xSailPointExperimental', xSailPointExperimental)
|
|
104320
105429
|
// verify required parameter 'subtypeId' is not null or undefined
|
|
104321
|
-
assertParamExists('
|
|
105430
|
+
assertParamExists('updateMachineAccountSubtypeApprovalConfig', 'subtypeId', subtypeId)
|
|
104322
105431
|
// verify required parameter 'jsonPatchOperationV2026' is not null or undefined
|
|
104323
|
-
assertParamExists('
|
|
105432
|
+
assertParamExists('updateMachineAccountSubtypeApprovalConfig', 'jsonPatchOperationV2026', jsonPatchOperationV2026)
|
|
104324
105433
|
const localVarPath = `/source-subtypes/{subtypeId}/machine-config`
|
|
104325
105434
|
.replace(`{${"subtypeId"}}`, encodeURIComponent(String(subtypeId)));
|
|
104326
105435
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -104393,10 +105502,10 @@ export const MachineAccountsV2026ApiFp = function(configuration?: Configuration)
|
|
|
104393
105502
|
* @param {*} [axiosOptions] Override http request option.
|
|
104394
105503
|
* @throws {RequiredError}
|
|
104395
105504
|
*/
|
|
104396
|
-
async
|
|
104397
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
105505
|
+
async deleteMachineAccountSubtypeByTechnicalName(sourceId: string, technicalName: string, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
105506
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteMachineAccountSubtypeByTechnicalName(sourceId, technicalName, xSailPointExperimental, axiosOptions);
|
|
104398
105507
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
104399
|
-
const localVarOperationServerBasePath = operationServerMap['MachineAccountsV2026Api.
|
|
105508
|
+
const localVarOperationServerBasePath = operationServerMap['MachineAccountsV2026Api.deleteMachineAccountSubtypeByTechnicalName']?.[localVarOperationServerIndex]?.url;
|
|
104400
105509
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
104401
105510
|
},
|
|
104402
105511
|
/**
|
|
@@ -104414,17 +105523,17 @@ export const MachineAccountsV2026ApiFp = function(configuration?: Configuration)
|
|
|
104414
105523
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
104415
105524
|
},
|
|
104416
105525
|
/**
|
|
104417
|
-
* This endpoint retrieves the approval configuration for machine account deletion at the machine subtype level. By providing a specific subtypeId in the path, clients can fetch the approval rules and settings (such as required approvers and comments policy) that govern account deletion for that particular machine subtype. The response includes a MachineAccountSubtypeConfigDto object detailing these configurations, enabling clients to understand or display the approval workflow required for deleting machine accounts of the given subtype. Use this endpoint to get machine subtype level approval config for account deletion.
|
|
105526
|
+
* This endpoint retrieves the approval configuration for machine account creation and deletion at the machine subtype level. By providing a specific subtypeId in the path, clients can fetch the approval rules and settings (such as required approvers and comments policy) that govern account creation and deletion for that particular machine subtype. The response includes a MachineAccountSubtypeConfigDto object detailing these configurations, enabling clients to understand or display the approval workflow required for creating and deleting machine accounts of the given subtype. Use this endpoint to get machine subtype level approval config for account creation and deletion.
|
|
104418
105527
|
* @summary Machine Subtype Approval Config
|
|
104419
105528
|
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
104420
105529
|
* @param {string} subtypeId machine subtype id.
|
|
104421
105530
|
* @param {*} [axiosOptions] Override http request option.
|
|
104422
105531
|
* @throws {RequiredError}
|
|
104423
105532
|
*/
|
|
104424
|
-
async
|
|
104425
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
105533
|
+
async getMachineAccountSubtypeApprovalConfig(xSailPointExperimental: string, subtypeId: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MachineAccountSubtypeConfigDtoV2026>> {
|
|
105534
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getMachineAccountSubtypeApprovalConfig(xSailPointExperimental, subtypeId, axiosOptions);
|
|
104426
105535
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
104427
|
-
const localVarOperationServerBasePath = operationServerMap['MachineAccountsV2026Api.
|
|
105536
|
+
const localVarOperationServerBasePath = operationServerMap['MachineAccountsV2026Api.getMachineAccountSubtypeApprovalConfig']?.[localVarOperationServerIndex]?.url;
|
|
104428
105537
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
104429
105538
|
},
|
|
104430
105539
|
/**
|
|
@@ -104493,6 +105602,20 @@ export const MachineAccountsV2026ApiFp = function(configuration?: Configuration)
|
|
|
104493
105602
|
const localVarOperationServerBasePath = operationServerMap['MachineAccountsV2026Api.listMachineAccounts']?.[localVarOperationServerIndex]?.url;
|
|
104494
105603
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
104495
105604
|
},
|
|
105605
|
+
/**
|
|
105606
|
+
* This endpoint retrieves the subtypes for given subtypeIds.
|
|
105607
|
+
* @summary Bulk Retrieve of Source Subtypes
|
|
105608
|
+
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
105609
|
+
* @param {Array<string>} requestBody
|
|
105610
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
105611
|
+
* @throws {RequiredError}
|
|
105612
|
+
*/
|
|
105613
|
+
async loadBulkSourceSubtypes(xSailPointExperimental: string, requestBody: Array<string>, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SourceSubtypeWithSourceV2026>>> {
|
|
105614
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.loadBulkSourceSubtypes(xSailPointExperimental, requestBody, axiosOptions);
|
|
105615
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
105616
|
+
const localVarOperationServerBasePath = operationServerMap['MachineAccountsV2026Api.loadBulkSourceSubtypes']?.[localVarOperationServerIndex]?.url;
|
|
105617
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
105618
|
+
},
|
|
104496
105619
|
/**
|
|
104497
105620
|
* Update fields of a machine account subtype by source ID and technical name. Patchable fields include: `displayName`, `description`.
|
|
104498
105621
|
* @summary Patch subtype
|
|
@@ -104503,10 +105626,10 @@ export const MachineAccountsV2026ApiFp = function(configuration?: Configuration)
|
|
|
104503
105626
|
* @param {*} [axiosOptions] Override http request option.
|
|
104504
105627
|
* @throws {RequiredError}
|
|
104505
105628
|
*/
|
|
104506
|
-
async
|
|
104507
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
105629
|
+
async patchMachineAccountSubtypeByTechnicalName(sourceId: string, technicalName: string, requestBody: Array<object>, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SourceSubtypeV2026>> {
|
|
105630
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.patchMachineAccountSubtypeByTechnicalName(sourceId, technicalName, requestBody, xSailPointExperimental, axiosOptions);
|
|
104508
105631
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
104509
|
-
const localVarOperationServerBasePath = operationServerMap['MachineAccountsV2026Api.
|
|
105632
|
+
const localVarOperationServerBasePath = operationServerMap['MachineAccountsV2026Api.patchMachineAccountSubtypeByTechnicalName']?.[localVarOperationServerIndex]?.url;
|
|
104510
105633
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
104511
105634
|
},
|
|
104512
105635
|
/**
|
|
@@ -104525,7 +105648,7 @@ export const MachineAccountsV2026ApiFp = function(configuration?: Configuration)
|
|
|
104525
105648
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
104526
105649
|
},
|
|
104527
105650
|
/**
|
|
104528
|
-
* Updates the approval configuration for machine account deletion at the specified machine subtype level. This endpoint allows clients to modify approval rules and settings (such as required approvers and comments policy) for account deletion workflows associated with a given subtypeId. Use this to customize or enforce approval requirements for deleting machine accounts of a particular subtype.
|
|
105651
|
+
* Updates the approval configuration for machine account deletion at the specified machine subtype level. This endpoint allows clients to modify approval rules and settings (such as required approvers and comments policy) for account creation and deletion workflows associated with a given subtypeId. Use this to customize or enforce approval requirements for creating and deleting machine accounts of a particular subtype.
|
|
104529
105652
|
* @summary Machine Subtype Approval Config
|
|
104530
105653
|
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
104531
105654
|
* @param {string} subtypeId machine account subtype ID.
|
|
@@ -104533,10 +105656,10 @@ export const MachineAccountsV2026ApiFp = function(configuration?: Configuration)
|
|
|
104533
105656
|
* @param {*} [axiosOptions] Override http request option.
|
|
104534
105657
|
* @throws {RequiredError}
|
|
104535
105658
|
*/
|
|
104536
|
-
async
|
|
104537
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
105659
|
+
async updateMachineAccountSubtypeApprovalConfig(xSailPointExperimental: string, subtypeId: string, jsonPatchOperationV2026: Array<JsonPatchOperationV2026>, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MachineAccountSubtypeConfigDtoV2026>> {
|
|
105660
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateMachineAccountSubtypeApprovalConfig(xSailPointExperimental, subtypeId, jsonPatchOperationV2026, axiosOptions);
|
|
104538
105661
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
104539
|
-
const localVarOperationServerBasePath = operationServerMap['MachineAccountsV2026Api.
|
|
105662
|
+
const localVarOperationServerBasePath = operationServerMap['MachineAccountsV2026Api.updateMachineAccountSubtypeApprovalConfig']?.[localVarOperationServerIndex]?.url;
|
|
104540
105663
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
104541
105664
|
},
|
|
104542
105665
|
}
|
|
@@ -104562,12 +105685,12 @@ export const MachineAccountsV2026ApiFactory = function (configuration?: Configur
|
|
|
104562
105685
|
/**
|
|
104563
105686
|
* Delete a machine account subtype by source ID and technical name.
|
|
104564
105687
|
* @summary Delete subtype
|
|
104565
|
-
* @param {
|
|
105688
|
+
* @param {MachineAccountsV2026ApiDeleteMachineAccountSubtypeByTechnicalNameRequest} requestParameters Request parameters.
|
|
104566
105689
|
* @param {*} [axiosOptions] Override http request option.
|
|
104567
105690
|
* @throws {RequiredError}
|
|
104568
105691
|
*/
|
|
104569
|
-
|
|
104570
|
-
return localVarFp.
|
|
105692
|
+
deleteMachineAccountSubtypeByTechnicalName(requestParameters: MachineAccountsV2026ApiDeleteMachineAccountSubtypeByTechnicalNameRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
105693
|
+
return localVarFp.deleteMachineAccountSubtypeByTechnicalName(requestParameters.sourceId, requestParameters.technicalName, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));
|
|
104571
105694
|
},
|
|
104572
105695
|
/**
|
|
104573
105696
|
* Use this API to return the details for a single machine account by its ID.
|
|
@@ -104580,14 +105703,14 @@ export const MachineAccountsV2026ApiFactory = function (configuration?: Configur
|
|
|
104580
105703
|
return localVarFp.getMachineAccount(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));
|
|
104581
105704
|
},
|
|
104582
105705
|
/**
|
|
104583
|
-
* This endpoint retrieves the approval configuration for machine account deletion at the machine subtype level. By providing a specific subtypeId in the path, clients can fetch the approval rules and settings (such as required approvers and comments policy) that govern account deletion for that particular machine subtype. The response includes a MachineAccountSubtypeConfigDto object detailing these configurations, enabling clients to understand or display the approval workflow required for deleting machine accounts of the given subtype. Use this endpoint to get machine subtype level approval config for account deletion.
|
|
105706
|
+
* This endpoint retrieves the approval configuration for machine account creation and deletion at the machine subtype level. By providing a specific subtypeId in the path, clients can fetch the approval rules and settings (such as required approvers and comments policy) that govern account creation and deletion for that particular machine subtype. The response includes a MachineAccountSubtypeConfigDto object detailing these configurations, enabling clients to understand or display the approval workflow required for creating and deleting machine accounts of the given subtype. Use this endpoint to get machine subtype level approval config for account creation and deletion.
|
|
104584
105707
|
* @summary Machine Subtype Approval Config
|
|
104585
|
-
* @param {
|
|
105708
|
+
* @param {MachineAccountsV2026ApiGetMachineAccountSubtypeApprovalConfigRequest} requestParameters Request parameters.
|
|
104586
105709
|
* @param {*} [axiosOptions] Override http request option.
|
|
104587
105710
|
* @throws {RequiredError}
|
|
104588
105711
|
*/
|
|
104589
|
-
|
|
104590
|
-
return localVarFp.
|
|
105712
|
+
getMachineAccountSubtypeApprovalConfig(requestParameters: MachineAccountsV2026ApiGetMachineAccountSubtypeApprovalConfigRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<MachineAccountSubtypeConfigDtoV2026> {
|
|
105713
|
+
return localVarFp.getMachineAccountSubtypeApprovalConfig(requestParameters.xSailPointExperimental, requestParameters.subtypeId, axiosOptions).then((request) => request(axios, basePath));
|
|
104591
105714
|
},
|
|
104592
105715
|
/**
|
|
104593
105716
|
* Get a machine account subtype by its unique ID.
|
|
@@ -104629,15 +105752,25 @@ export const MachineAccountsV2026ApiFactory = function (configuration?: Configur
|
|
|
104629
105752
|
listMachineAccounts(requestParameters: MachineAccountsV2026ApiListMachineAccountsRequest = {}, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<MachineAccountV2026>> {
|
|
104630
105753
|
return localVarFp.listMachineAccounts(requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.filters, requestParameters.sorters, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));
|
|
104631
105754
|
},
|
|
105755
|
+
/**
|
|
105756
|
+
* This endpoint retrieves the subtypes for given subtypeIds.
|
|
105757
|
+
* @summary Bulk Retrieve of Source Subtypes
|
|
105758
|
+
* @param {MachineAccountsV2026ApiLoadBulkSourceSubtypesRequest} requestParameters Request parameters.
|
|
105759
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
105760
|
+
* @throws {RequiredError}
|
|
105761
|
+
*/
|
|
105762
|
+
loadBulkSourceSubtypes(requestParameters: MachineAccountsV2026ApiLoadBulkSourceSubtypesRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<SourceSubtypeWithSourceV2026>> {
|
|
105763
|
+
return localVarFp.loadBulkSourceSubtypes(requestParameters.xSailPointExperimental, requestParameters.requestBody, axiosOptions).then((request) => request(axios, basePath));
|
|
105764
|
+
},
|
|
104632
105765
|
/**
|
|
104633
105766
|
* Update fields of a machine account subtype by source ID and technical name. Patchable fields include: `displayName`, `description`.
|
|
104634
105767
|
* @summary Patch subtype
|
|
104635
|
-
* @param {
|
|
105768
|
+
* @param {MachineAccountsV2026ApiPatchMachineAccountSubtypeByTechnicalNameRequest} requestParameters Request parameters.
|
|
104636
105769
|
* @param {*} [axiosOptions] Override http request option.
|
|
104637
105770
|
* @throws {RequiredError}
|
|
104638
105771
|
*/
|
|
104639
|
-
|
|
104640
|
-
return localVarFp.
|
|
105772
|
+
patchMachineAccountSubtypeByTechnicalName(requestParameters: MachineAccountsV2026ApiPatchMachineAccountSubtypeByTechnicalNameRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<SourceSubtypeV2026> {
|
|
105773
|
+
return localVarFp.patchMachineAccountSubtypeByTechnicalName(requestParameters.sourceId, requestParameters.technicalName, requestParameters.requestBody, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));
|
|
104641
105774
|
},
|
|
104642
105775
|
/**
|
|
104643
105776
|
* Use this API to update machine accounts details.
|
|
@@ -104650,14 +105783,14 @@ export const MachineAccountsV2026ApiFactory = function (configuration?: Configur
|
|
|
104650
105783
|
return localVarFp.updateMachineAccount(requestParameters.id, requestParameters.requestBody, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));
|
|
104651
105784
|
},
|
|
104652
105785
|
/**
|
|
104653
|
-
* Updates the approval configuration for machine account deletion at the specified machine subtype level. This endpoint allows clients to modify approval rules and settings (such as required approvers and comments policy) for account deletion workflows associated with a given subtypeId. Use this to customize or enforce approval requirements for deleting machine accounts of a particular subtype.
|
|
105786
|
+
* Updates the approval configuration for machine account deletion at the specified machine subtype level. This endpoint allows clients to modify approval rules and settings (such as required approvers and comments policy) for account creation and deletion workflows associated with a given subtypeId. Use this to customize or enforce approval requirements for creating and deleting machine accounts of a particular subtype.
|
|
104654
105787
|
* @summary Machine Subtype Approval Config
|
|
104655
|
-
* @param {
|
|
105788
|
+
* @param {MachineAccountsV2026ApiUpdateMachineAccountSubtypeApprovalConfigRequest} requestParameters Request parameters.
|
|
104656
105789
|
* @param {*} [axiosOptions] Override http request option.
|
|
104657
105790
|
* @throws {RequiredError}
|
|
104658
105791
|
*/
|
|
104659
|
-
|
|
104660
|
-
return localVarFp.
|
|
105792
|
+
updateMachineAccountSubtypeApprovalConfig(requestParameters: MachineAccountsV2026ApiUpdateMachineAccountSubtypeApprovalConfigRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<MachineAccountSubtypeConfigDtoV2026> {
|
|
105793
|
+
return localVarFp.updateMachineAccountSubtypeApprovalConfig(requestParameters.xSailPointExperimental, requestParameters.subtypeId, requestParameters.jsonPatchOperationV2026, axiosOptions).then((request) => request(axios, basePath));
|
|
104661
105794
|
},
|
|
104662
105795
|
};
|
|
104663
105796
|
};
|
|
@@ -104691,29 +105824,29 @@ export interface MachineAccountsV2026ApiCreateMachineAccountSubtypeRequest {
|
|
|
104691
105824
|
}
|
|
104692
105825
|
|
|
104693
105826
|
/**
|
|
104694
|
-
* Request parameters for
|
|
105827
|
+
* Request parameters for deleteMachineAccountSubtypeByTechnicalName operation in MachineAccountsV2026Api.
|
|
104695
105828
|
* @export
|
|
104696
|
-
* @interface
|
|
105829
|
+
* @interface MachineAccountsV2026ApiDeleteMachineAccountSubtypeByTechnicalNameRequest
|
|
104697
105830
|
*/
|
|
104698
|
-
export interface
|
|
105831
|
+
export interface MachineAccountsV2026ApiDeleteMachineAccountSubtypeByTechnicalNameRequest {
|
|
104699
105832
|
/**
|
|
104700
105833
|
* The ID of the source.
|
|
104701
105834
|
* @type {string}
|
|
104702
|
-
* @memberof
|
|
105835
|
+
* @memberof MachineAccountsV2026ApiDeleteMachineAccountSubtypeByTechnicalName
|
|
104703
105836
|
*/
|
|
104704
105837
|
readonly sourceId: string
|
|
104705
105838
|
|
|
104706
105839
|
/**
|
|
104707
105840
|
* The technical name of the subtype.
|
|
104708
105841
|
* @type {string}
|
|
104709
|
-
* @memberof
|
|
105842
|
+
* @memberof MachineAccountsV2026ApiDeleteMachineAccountSubtypeByTechnicalName
|
|
104710
105843
|
*/
|
|
104711
105844
|
readonly technicalName: string
|
|
104712
105845
|
|
|
104713
105846
|
/**
|
|
104714
105847
|
* Use this header to enable this experimental API.
|
|
104715
105848
|
* @type {string}
|
|
104716
|
-
* @memberof
|
|
105849
|
+
* @memberof MachineAccountsV2026ApiDeleteMachineAccountSubtypeByTechnicalName
|
|
104717
105850
|
*/
|
|
104718
105851
|
readonly xSailPointExperimental?: string
|
|
104719
105852
|
}
|
|
@@ -104740,22 +105873,22 @@ export interface MachineAccountsV2026ApiGetMachineAccountRequest {
|
|
|
104740
105873
|
}
|
|
104741
105874
|
|
|
104742
105875
|
/**
|
|
104743
|
-
* Request parameters for
|
|
105876
|
+
* Request parameters for getMachineAccountSubtypeApprovalConfig operation in MachineAccountsV2026Api.
|
|
104744
105877
|
* @export
|
|
104745
|
-
* @interface
|
|
105878
|
+
* @interface MachineAccountsV2026ApiGetMachineAccountSubtypeApprovalConfigRequest
|
|
104746
105879
|
*/
|
|
104747
|
-
export interface
|
|
105880
|
+
export interface MachineAccountsV2026ApiGetMachineAccountSubtypeApprovalConfigRequest {
|
|
104748
105881
|
/**
|
|
104749
105882
|
* Use this header to enable this experimental API.
|
|
104750
105883
|
* @type {string}
|
|
104751
|
-
* @memberof
|
|
105884
|
+
* @memberof MachineAccountsV2026ApiGetMachineAccountSubtypeApprovalConfig
|
|
104752
105885
|
*/
|
|
104753
105886
|
readonly xSailPointExperimental: string
|
|
104754
105887
|
|
|
104755
105888
|
/**
|
|
104756
105889
|
* machine subtype id.
|
|
104757
105890
|
* @type {string}
|
|
104758
|
-
* @memberof
|
|
105891
|
+
* @memberof MachineAccountsV2026ApiGetMachineAccountSubtypeApprovalConfig
|
|
104759
105892
|
*/
|
|
104760
105893
|
readonly subtypeId: string
|
|
104761
105894
|
}
|
|
@@ -104915,36 +106048,57 @@ export interface MachineAccountsV2026ApiListMachineAccountsRequest {
|
|
|
104915
106048
|
}
|
|
104916
106049
|
|
|
104917
106050
|
/**
|
|
104918
|
-
* Request parameters for
|
|
106051
|
+
* Request parameters for loadBulkSourceSubtypes operation in MachineAccountsV2026Api.
|
|
106052
|
+
* @export
|
|
106053
|
+
* @interface MachineAccountsV2026ApiLoadBulkSourceSubtypesRequest
|
|
106054
|
+
*/
|
|
106055
|
+
export interface MachineAccountsV2026ApiLoadBulkSourceSubtypesRequest {
|
|
106056
|
+
/**
|
|
106057
|
+
* Use this header to enable this experimental API.
|
|
106058
|
+
* @type {string}
|
|
106059
|
+
* @memberof MachineAccountsV2026ApiLoadBulkSourceSubtypes
|
|
106060
|
+
*/
|
|
106061
|
+
readonly xSailPointExperimental: string
|
|
106062
|
+
|
|
106063
|
+
/**
|
|
106064
|
+
*
|
|
106065
|
+
* @type {Array<string>}
|
|
106066
|
+
* @memberof MachineAccountsV2026ApiLoadBulkSourceSubtypes
|
|
106067
|
+
*/
|
|
106068
|
+
readonly requestBody: Array<string>
|
|
106069
|
+
}
|
|
106070
|
+
|
|
106071
|
+
/**
|
|
106072
|
+
* Request parameters for patchMachineAccountSubtypeByTechnicalName operation in MachineAccountsV2026Api.
|
|
104919
106073
|
* @export
|
|
104920
|
-
* @interface
|
|
106074
|
+
* @interface MachineAccountsV2026ApiPatchMachineAccountSubtypeByTechnicalNameRequest
|
|
104921
106075
|
*/
|
|
104922
|
-
export interface
|
|
106076
|
+
export interface MachineAccountsV2026ApiPatchMachineAccountSubtypeByTechnicalNameRequest {
|
|
104923
106077
|
/**
|
|
104924
106078
|
* The ID of the source.
|
|
104925
106079
|
* @type {string}
|
|
104926
|
-
* @memberof
|
|
106080
|
+
* @memberof MachineAccountsV2026ApiPatchMachineAccountSubtypeByTechnicalName
|
|
104927
106081
|
*/
|
|
104928
106082
|
readonly sourceId: string
|
|
104929
106083
|
|
|
104930
106084
|
/**
|
|
104931
106085
|
* The technical name of the subtype.
|
|
104932
106086
|
* @type {string}
|
|
104933
|
-
* @memberof
|
|
106087
|
+
* @memberof MachineAccountsV2026ApiPatchMachineAccountSubtypeByTechnicalName
|
|
104934
106088
|
*/
|
|
104935
106089
|
readonly technicalName: string
|
|
104936
106090
|
|
|
104937
106091
|
/**
|
|
104938
106092
|
* A JSON of updated values [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
|
104939
106093
|
* @type {Array<object>}
|
|
104940
|
-
* @memberof
|
|
106094
|
+
* @memberof MachineAccountsV2026ApiPatchMachineAccountSubtypeByTechnicalName
|
|
104941
106095
|
*/
|
|
104942
106096
|
readonly requestBody: Array<object>
|
|
104943
106097
|
|
|
104944
106098
|
/**
|
|
104945
106099
|
* Use this header to enable this experimental API.
|
|
104946
106100
|
* @type {string}
|
|
104947
|
-
* @memberof
|
|
106101
|
+
* @memberof MachineAccountsV2026ApiPatchMachineAccountSubtypeByTechnicalName
|
|
104948
106102
|
*/
|
|
104949
106103
|
readonly xSailPointExperimental?: string
|
|
104950
106104
|
}
|
|
@@ -104978,29 +106132,29 @@ export interface MachineAccountsV2026ApiUpdateMachineAccountRequest {
|
|
|
104978
106132
|
}
|
|
104979
106133
|
|
|
104980
106134
|
/**
|
|
104981
|
-
* Request parameters for
|
|
106135
|
+
* Request parameters for updateMachineAccountSubtypeApprovalConfig operation in MachineAccountsV2026Api.
|
|
104982
106136
|
* @export
|
|
104983
|
-
* @interface
|
|
106137
|
+
* @interface MachineAccountsV2026ApiUpdateMachineAccountSubtypeApprovalConfigRequest
|
|
104984
106138
|
*/
|
|
104985
|
-
export interface
|
|
106139
|
+
export interface MachineAccountsV2026ApiUpdateMachineAccountSubtypeApprovalConfigRequest {
|
|
104986
106140
|
/**
|
|
104987
106141
|
* Use this header to enable this experimental API.
|
|
104988
106142
|
* @type {string}
|
|
104989
|
-
* @memberof
|
|
106143
|
+
* @memberof MachineAccountsV2026ApiUpdateMachineAccountSubtypeApprovalConfig
|
|
104990
106144
|
*/
|
|
104991
106145
|
readonly xSailPointExperimental: string
|
|
104992
106146
|
|
|
104993
106147
|
/**
|
|
104994
106148
|
* machine account subtype ID.
|
|
104995
106149
|
* @type {string}
|
|
104996
|
-
* @memberof
|
|
106150
|
+
* @memberof MachineAccountsV2026ApiUpdateMachineAccountSubtypeApprovalConfig
|
|
104997
106151
|
*/
|
|
104998
106152
|
readonly subtypeId: string
|
|
104999
106153
|
|
|
105000
106154
|
/**
|
|
105001
106155
|
* The JSONPatch payload used to update the object.
|
|
105002
106156
|
* @type {Array<JsonPatchOperationV2026>}
|
|
105003
|
-
* @memberof
|
|
106157
|
+
* @memberof MachineAccountsV2026ApiUpdateMachineAccountSubtypeApprovalConfig
|
|
105004
106158
|
*/
|
|
105005
106159
|
readonly jsonPatchOperationV2026: Array<JsonPatchOperationV2026>
|
|
105006
106160
|
}
|
|
@@ -105027,13 +106181,13 @@ export class MachineAccountsV2026Api extends BaseAPI {
|
|
|
105027
106181
|
/**
|
|
105028
106182
|
* Delete a machine account subtype by source ID and technical name.
|
|
105029
106183
|
* @summary Delete subtype
|
|
105030
|
-
* @param {
|
|
106184
|
+
* @param {MachineAccountsV2026ApiDeleteMachineAccountSubtypeByTechnicalNameRequest} requestParameters Request parameters.
|
|
105031
106185
|
* @param {*} [axiosOptions] Override http request option.
|
|
105032
106186
|
* @throws {RequiredError}
|
|
105033
106187
|
* @memberof MachineAccountsV2026Api
|
|
105034
106188
|
*/
|
|
105035
|
-
public
|
|
105036
|
-
return MachineAccountsV2026ApiFp(this.configuration).
|
|
106189
|
+
public deleteMachineAccountSubtypeByTechnicalName(requestParameters: MachineAccountsV2026ApiDeleteMachineAccountSubtypeByTechnicalNameRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
106190
|
+
return MachineAccountsV2026ApiFp(this.configuration).deleteMachineAccountSubtypeByTechnicalName(requestParameters.sourceId, requestParameters.technicalName, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
105037
106191
|
}
|
|
105038
106192
|
|
|
105039
106193
|
/**
|
|
@@ -105049,15 +106203,15 @@ export class MachineAccountsV2026Api extends BaseAPI {
|
|
|
105049
106203
|
}
|
|
105050
106204
|
|
|
105051
106205
|
/**
|
|
105052
|
-
* This endpoint retrieves the approval configuration for machine account deletion at the machine subtype level. By providing a specific subtypeId in the path, clients can fetch the approval rules and settings (such as required approvers and comments policy) that govern account deletion for that particular machine subtype. The response includes a MachineAccountSubtypeConfigDto object detailing these configurations, enabling clients to understand or display the approval workflow required for deleting machine accounts of the given subtype. Use this endpoint to get machine subtype level approval config for account deletion.
|
|
106206
|
+
* This endpoint retrieves the approval configuration for machine account creation and deletion at the machine subtype level. By providing a specific subtypeId in the path, clients can fetch the approval rules and settings (such as required approvers and comments policy) that govern account creation and deletion for that particular machine subtype. The response includes a MachineAccountSubtypeConfigDto object detailing these configurations, enabling clients to understand or display the approval workflow required for creating and deleting machine accounts of the given subtype. Use this endpoint to get machine subtype level approval config for account creation and deletion.
|
|
105053
106207
|
* @summary Machine Subtype Approval Config
|
|
105054
|
-
* @param {
|
|
106208
|
+
* @param {MachineAccountsV2026ApiGetMachineAccountSubtypeApprovalConfigRequest} requestParameters Request parameters.
|
|
105055
106209
|
* @param {*} [axiosOptions] Override http request option.
|
|
105056
106210
|
* @throws {RequiredError}
|
|
105057
106211
|
* @memberof MachineAccountsV2026Api
|
|
105058
106212
|
*/
|
|
105059
|
-
public
|
|
105060
|
-
return MachineAccountsV2026ApiFp(this.configuration).
|
|
106213
|
+
public getMachineAccountSubtypeApprovalConfig(requestParameters: MachineAccountsV2026ApiGetMachineAccountSubtypeApprovalConfigRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
106214
|
+
return MachineAccountsV2026ApiFp(this.configuration).getMachineAccountSubtypeApprovalConfig(requestParameters.xSailPointExperimental, requestParameters.subtypeId, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
105061
106215
|
}
|
|
105062
106216
|
|
|
105063
106217
|
/**
|
|
@@ -105108,16 +106262,28 @@ export class MachineAccountsV2026Api extends BaseAPI {
|
|
|
105108
106262
|
return MachineAccountsV2026ApiFp(this.configuration).listMachineAccounts(requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.filters, requestParameters.sorters, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
105109
106263
|
}
|
|
105110
106264
|
|
|
106265
|
+
/**
|
|
106266
|
+
* This endpoint retrieves the subtypes for given subtypeIds.
|
|
106267
|
+
* @summary Bulk Retrieve of Source Subtypes
|
|
106268
|
+
* @param {MachineAccountsV2026ApiLoadBulkSourceSubtypesRequest} requestParameters Request parameters.
|
|
106269
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
106270
|
+
* @throws {RequiredError}
|
|
106271
|
+
* @memberof MachineAccountsV2026Api
|
|
106272
|
+
*/
|
|
106273
|
+
public loadBulkSourceSubtypes(requestParameters: MachineAccountsV2026ApiLoadBulkSourceSubtypesRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
106274
|
+
return MachineAccountsV2026ApiFp(this.configuration).loadBulkSourceSubtypes(requestParameters.xSailPointExperimental, requestParameters.requestBody, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
106275
|
+
}
|
|
106276
|
+
|
|
105111
106277
|
/**
|
|
105112
106278
|
* Update fields of a machine account subtype by source ID and technical name. Patchable fields include: `displayName`, `description`.
|
|
105113
106279
|
* @summary Patch subtype
|
|
105114
|
-
* @param {
|
|
106280
|
+
* @param {MachineAccountsV2026ApiPatchMachineAccountSubtypeByTechnicalNameRequest} requestParameters Request parameters.
|
|
105115
106281
|
* @param {*} [axiosOptions] Override http request option.
|
|
105116
106282
|
* @throws {RequiredError}
|
|
105117
106283
|
* @memberof MachineAccountsV2026Api
|
|
105118
106284
|
*/
|
|
105119
|
-
public
|
|
105120
|
-
return MachineAccountsV2026ApiFp(this.configuration).
|
|
106285
|
+
public patchMachineAccountSubtypeByTechnicalName(requestParameters: MachineAccountsV2026ApiPatchMachineAccountSubtypeByTechnicalNameRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
106286
|
+
return MachineAccountsV2026ApiFp(this.configuration).patchMachineAccountSubtypeByTechnicalName(requestParameters.sourceId, requestParameters.technicalName, requestParameters.requestBody, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
105121
106287
|
}
|
|
105122
106288
|
|
|
105123
106289
|
/**
|
|
@@ -105133,15 +106299,15 @@ export class MachineAccountsV2026Api extends BaseAPI {
|
|
|
105133
106299
|
}
|
|
105134
106300
|
|
|
105135
106301
|
/**
|
|
105136
|
-
* Updates the approval configuration for machine account deletion at the specified machine subtype level. This endpoint allows clients to modify approval rules and settings (such as required approvers and comments policy) for account deletion workflows associated with a given subtypeId. Use this to customize or enforce approval requirements for deleting machine accounts of a particular subtype.
|
|
106302
|
+
* Updates the approval configuration for machine account deletion at the specified machine subtype level. This endpoint allows clients to modify approval rules and settings (such as required approvers and comments policy) for account creation and deletion workflows associated with a given subtypeId. Use this to customize or enforce approval requirements for creating and deleting machine accounts of a particular subtype.
|
|
105137
106303
|
* @summary Machine Subtype Approval Config
|
|
105138
|
-
* @param {
|
|
106304
|
+
* @param {MachineAccountsV2026ApiUpdateMachineAccountSubtypeApprovalConfigRequest} requestParameters Request parameters.
|
|
105139
106305
|
* @param {*} [axiosOptions] Override http request option.
|
|
105140
106306
|
* @throws {RequiredError}
|
|
105141
106307
|
* @memberof MachineAccountsV2026Api
|
|
105142
106308
|
*/
|
|
105143
|
-
public
|
|
105144
|
-
return MachineAccountsV2026ApiFp(this.configuration).
|
|
106309
|
+
public updateMachineAccountSubtypeApprovalConfig(requestParameters: MachineAccountsV2026ApiUpdateMachineAccountSubtypeApprovalConfigRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
106310
|
+
return MachineAccountsV2026ApiFp(this.configuration).updateMachineAccountSubtypeApprovalConfig(requestParameters.xSailPointExperimental, requestParameters.subtypeId, requestParameters.jsonPatchOperationV2026, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
105145
106311
|
}
|
|
105146
106312
|
}
|
|
105147
106313
|
|
|
@@ -134050,7 +135216,7 @@ export const SourcesV2026ApiAxiosParamCreator = function (configuration?: Config
|
|
|
134050
135216
|
* Deletes the provisioning policy with the specified usage on an application.
|
|
134051
135217
|
* @summary Delete provisioning policy by usagetype
|
|
134052
135218
|
* @param {string} sourceId The Source ID.
|
|
134053
|
-
* @param {UsageTypeV2026} usageType The type of provisioning policy usage. In IdentityNow, a source can support various provisioning operations. For example, when a joiner is added to a source, this may trigger both CREATE and UPDATE provisioning operations. Each usage type is considered a provisioning policy. A source can have any number of these provisioning policies defined. These are the common usage types: CREATE - This usage type relates to \'Create Account Profile\', the provisioning template for the account to be created. For example, this would be used for a joiner on a source. UPDATE - This usage type relates to \'Update Account Profile\', the provisioning template for the \'Update\' connector operations. For example, this would be used for an attribute sync on a source. ENABLE - This usage type relates to \'Enable Account Profile\', the provisioning template for the account to be enabled. For example, this could be used for a joiner on a source once the joiner\'s account is created. DISABLE - This usage type relates to \'Disable Account Profile\', the provisioning template for the account to be disabled. For example, this could be used when a leaver is removed temporarily from a source. You can use these four usage types for all your provisioning policy needs.
|
|
135219
|
+
* @param {UsageTypeV2026} usageType The type of provisioning policy usage. In IdentityNow, a source can support various provisioning operations. For example, when a joiner is added to a source, this may trigger both CREATE and UPDATE provisioning operations. Each usage type is considered a provisioning policy. A source can have any number of these provisioning policies defined. These are the common usage types: CREATE - This usage type relates to \'Create Account Profile\', the provisioning template for the account to be created. For example, this would be used for a joiner on a source. UPDATE - This usage type relates to \'Update Account Profile\', the provisioning template for the \'Update\' connector operations. For example, this would be used for an attribute sync on a source. ENABLE - This usage type relates to \'Enable Account Profile\', the provisioning template for the account to be enabled. For example, this could be used for a joiner on a source once the joiner\'s account is created. DISABLE - This usage type relates to \'Disable Account Profile\', the provisioning template for the account to be disabled. For example, this could be used when a leaver is removed temporarily from a source. You can use these four usage types for all your provisioning policy needs.
|
|
134054
135220
|
* @param {*} [axiosOptions] Override http request option.
|
|
134055
135221
|
* @throws {RequiredError}
|
|
134056
135222
|
*/
|
|
@@ -134507,7 +135673,7 @@ export const SourcesV2026ApiAxiosParamCreator = function (configuration?: Config
|
|
|
134507
135673
|
* This end-point retrieves the ProvisioningPolicy with the specified usage on the specified Source in IdentityNow.
|
|
134508
135674
|
* @summary Get provisioning policy by usagetype
|
|
134509
135675
|
* @param {string} sourceId The Source ID.
|
|
134510
|
-
* @param {UsageTypeV2026} usageType The type of provisioning policy usage. In IdentityNow, a source can support various provisioning operations. For example, when a joiner is added to a source, this may trigger both CREATE and UPDATE provisioning operations. Each usage type is considered a provisioning policy. A source can have any number of these provisioning policies defined. These are the common usage types: CREATE - This usage type relates to \'Create Account Profile\', the provisioning template for the account to be created. For example, this would be used for a joiner on a source. UPDATE - This usage type relates to \'Update Account Profile\', the provisioning template for the \'Update\' connector operations. For example, this would be used for an attribute sync on a source. ENABLE - This usage type relates to \'Enable Account Profile\', the provisioning template for the account to be enabled. For example, this could be used for a joiner on a source once the joiner\'s account is created. DISABLE - This usage type relates to \'Disable Account Profile\', the provisioning template for the account to be disabled. For example, this could be used when a leaver is removed temporarily from a source. You can use these four usage types for all your provisioning policy needs.
|
|
135676
|
+
* @param {UsageTypeV2026} usageType The type of provisioning policy usage. In IdentityNow, a source can support various provisioning operations. For example, when a joiner is added to a source, this may trigger both CREATE and UPDATE provisioning operations. Each usage type is considered a provisioning policy. A source can have any number of these provisioning policies defined. These are the common usage types: CREATE - This usage type relates to \'Create Account Profile\', the provisioning template for the account to be created. For example, this would be used for a joiner on a source. UPDATE - This usage type relates to \'Update Account Profile\', the provisioning template for the \'Update\' connector operations. For example, this would be used for an attribute sync on a source. ENABLE - This usage type relates to \'Enable Account Profile\', the provisioning template for the account to be enabled. For example, this could be used for a joiner on a source once the joiner\'s account is created. DISABLE - This usage type relates to \'Disable Account Profile\', the provisioning template for the account to be disabled. For example, this could be used when a leaver is removed temporarily from a source. You can use these four usage types for all your provisioning policy needs.
|
|
134511
135677
|
* @param {*} [axiosOptions] Override http request option.
|
|
134512
135678
|
* @throws {RequiredError}
|
|
134513
135679
|
*/
|
|
@@ -135417,10 +136583,12 @@ export const SourcesV2026ApiAxiosParamCreator = function (configuration?: Config
|
|
|
135417
136583
|
* This end-point lists all the ProvisioningPolicies in IdentityNow.
|
|
135418
136584
|
* @summary Lists provisioningpolicies
|
|
135419
136585
|
* @param {string} sourceId The Source id
|
|
136586
|
+
* @param {number} [offset] Offset Integer specifying the offset of the first result from the beginning of the collection. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). The offset value is record-based, not page-based, and the index starts at 0.
|
|
136587
|
+
* @param {number} [limit] Limit Integer specifying the maximum number of records to return in a single API call. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). If it is not specified, a default limit is used.
|
|
135420
136588
|
* @param {*} [axiosOptions] Override http request option.
|
|
135421
136589
|
* @throws {RequiredError}
|
|
135422
136590
|
*/
|
|
135423
|
-
listProvisioningPolicies: async (sourceId: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
136591
|
+
listProvisioningPolicies: async (sourceId: string, offset?: number, limit?: number, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
135424
136592
|
// verify required parameter 'sourceId' is not null or undefined
|
|
135425
136593
|
assertParamExists('listProvisioningPolicies', 'sourceId', sourceId)
|
|
135426
136594
|
const localVarPath = `/sources/{sourceId}/provisioning-policies`
|
|
@@ -135448,6 +136616,14 @@ export const SourcesV2026ApiAxiosParamCreator = function (configuration?: Config
|
|
|
135448
136616
|
// oauth required
|
|
135449
136617
|
await setOAuthToObject(localVarHeaderParameter, "applicationAuth", [], configuration)
|
|
135450
136618
|
|
|
136619
|
+
if (offset !== undefined) {
|
|
136620
|
+
localVarQueryParameter['offset'] = offset;
|
|
136621
|
+
}
|
|
136622
|
+
|
|
136623
|
+
if (limit !== undefined) {
|
|
136624
|
+
localVarQueryParameter['limit'] = limit;
|
|
136625
|
+
}
|
|
136626
|
+
|
|
135451
136627
|
|
|
135452
136628
|
|
|
135453
136629
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -135690,7 +136866,7 @@ export const SourcesV2026ApiAxiosParamCreator = function (configuration?: Config
|
|
|
135690
136866
|
* This end-point updates the provisioning policy with the specified usage on the specified source in IdentityNow. Transforms can be used in the provisioning policy to create a new attribute that you only need during provisioning. Refer to [Transforms in Provisioning Policies](https://developer.sailpoint.com/docs/extensibility/transforms/guides/transforms-in-provisioning-policies) for more information.
|
|
135691
136867
|
* @summary Update provisioning policy by usagetype
|
|
135692
136868
|
* @param {string} sourceId The Source ID.
|
|
135693
|
-
* @param {UsageTypeV2026} usageType The type of provisioning policy usage. In IdentityNow, a source can support various provisioning operations. For example, when a joiner is added to a source, this may trigger both CREATE and UPDATE provisioning operations. Each usage type is considered a provisioning policy. A source can have any number of these provisioning policies defined. These are the common usage types: CREATE - This usage type relates to \'Create Account Profile\', the provisioning template for the account to be created. For example, this would be used for a joiner on a source. UPDATE - This usage type relates to \'Update Account Profile\', the provisioning template for the \'Update\' connector operations. For example, this would be used for an attribute sync on a source. ENABLE - This usage type relates to \'Enable Account Profile\', the provisioning template for the account to be enabled. For example, this could be used for a joiner on a source once the joiner\'s account is created. DISABLE - This usage type relates to \'Disable Account Profile\', the provisioning template for the account to be disabled. For example, this could be used when a leaver is removed temporarily from a source. You can use these four usage types for all your provisioning policy needs.
|
|
136869
|
+
* @param {UsageTypeV2026} usageType The type of provisioning policy usage. In IdentityNow, a source can support various provisioning operations. For example, when a joiner is added to a source, this may trigger both CREATE and UPDATE provisioning operations. Each usage type is considered a provisioning policy. A source can have any number of these provisioning policies defined. These are the common usage types: CREATE - This usage type relates to \'Create Account Profile\', the provisioning template for the account to be created. For example, this would be used for a joiner on a source. UPDATE - This usage type relates to \'Update Account Profile\', the provisioning template for the \'Update\' connector operations. For example, this would be used for an attribute sync on a source. ENABLE - This usage type relates to \'Enable Account Profile\', the provisioning template for the account to be enabled. For example, this could be used for a joiner on a source once the joiner\'s account is created. DISABLE - This usage type relates to \'Disable Account Profile\', the provisioning template for the account to be disabled. For example, this could be used when a leaver is removed temporarily from a source. You can use these four usage types for all your provisioning policy needs.
|
|
135694
136870
|
* @param {ProvisioningPolicyDtoV2026} provisioningPolicyDtoV2026
|
|
135695
136871
|
* @param {*} [axiosOptions] Override http request option.
|
|
135696
136872
|
* @throws {RequiredError}
|
|
@@ -136300,7 +137476,7 @@ export const SourcesV2026ApiAxiosParamCreator = function (configuration?: Config
|
|
|
136300
137476
|
* This API selectively updates an existing Provisioning Policy using a JSONPatch payload. Transforms can be used in the provisioning policy to create a new attribute that you only need during provisioning. Refer to [Transforms in Provisioning Policies](https://developer.sailpoint.com/docs/extensibility/transforms/guides/transforms-in-provisioning-policies) for more information.
|
|
136301
137477
|
* @summary Partial update of provisioning policy
|
|
136302
137478
|
* @param {string} sourceId The Source id.
|
|
136303
|
-
* @param {UsageTypeV2026} usageType The type of provisioning policy usage. In IdentityNow, a source can support various provisioning operations. For example, when a joiner is added to a source, this may trigger both CREATE and UPDATE provisioning operations. Each usage type is considered a provisioning policy. A source can have any number of these provisioning policies defined. These are the common usage types: CREATE - This usage type relates to \'Create Account Profile\', the provisioning template for the account to be created. For example, this would be used for a joiner on a source. UPDATE - This usage type relates to \'Update Account Profile\', the provisioning template for the \'Update\' connector operations. For example, this would be used for an attribute sync on a source. ENABLE - This usage type relates to \'Enable Account Profile\', the provisioning template for the account to be enabled. For example, this could be used for a joiner on a source once the joiner\'s account is created. DISABLE - This usage type relates to \'Disable Account Profile\', the provisioning template for the account to be disabled. For example, this could be used when a leaver is removed temporarily from a source. You can use these four usage types for all your provisioning policy needs.
|
|
137479
|
+
* @param {UsageTypeV2026} usageType The type of provisioning policy usage. In IdentityNow, a source can support various provisioning operations. For example, when a joiner is added to a source, this may trigger both CREATE and UPDATE provisioning operations. Each usage type is considered a provisioning policy. A source can have any number of these provisioning policies defined. These are the common usage types: CREATE - This usage type relates to \'Create Account Profile\', the provisioning template for the account to be created. For example, this would be used for a joiner on a source. UPDATE - This usage type relates to \'Update Account Profile\', the provisioning template for the \'Update\' connector operations. For example, this would be used for an attribute sync on a source. ENABLE - This usage type relates to \'Enable Account Profile\', the provisioning template for the account to be enabled. For example, this could be used for a joiner on a source once the joiner\'s account is created. DISABLE - This usage type relates to \'Disable Account Profile\', the provisioning template for the account to be disabled. For example, this could be used when a leaver is removed temporarily from a source. You can use these four usage types for all your provisioning policy needs.
|
|
136304
137480
|
* @param {Array<JsonPatchOperationV2026>} jsonPatchOperationV2026 The JSONPatch payload used to update the schema.
|
|
136305
137481
|
* @param {*} [axiosOptions] Override http request option.
|
|
136306
137482
|
* @throws {RequiredError}
|
|
@@ -136664,7 +137840,7 @@ export const SourcesV2026ApiFp = function(configuration?: Configuration) {
|
|
|
136664
137840
|
* Deletes the provisioning policy with the specified usage on an application.
|
|
136665
137841
|
* @summary Delete provisioning policy by usagetype
|
|
136666
137842
|
* @param {string} sourceId The Source ID.
|
|
136667
|
-
* @param {UsageTypeV2026} usageType The type of provisioning policy usage. In IdentityNow, a source can support various provisioning operations. For example, when a joiner is added to a source, this may trigger both CREATE and UPDATE provisioning operations. Each usage type is considered a provisioning policy. A source can have any number of these provisioning policies defined. These are the common usage types: CREATE - This usage type relates to \'Create Account Profile\', the provisioning template for the account to be created. For example, this would be used for a joiner on a source. UPDATE - This usage type relates to \'Update Account Profile\', the provisioning template for the \'Update\' connector operations. For example, this would be used for an attribute sync on a source. ENABLE - This usage type relates to \'Enable Account Profile\', the provisioning template for the account to be enabled. For example, this could be used for a joiner on a source once the joiner\'s account is created. DISABLE - This usage type relates to \'Disable Account Profile\', the provisioning template for the account to be disabled. For example, this could be used when a leaver is removed temporarily from a source. You can use these four usage types for all your provisioning policy needs.
|
|
137843
|
+
* @param {UsageTypeV2026} usageType The type of provisioning policy usage. In IdentityNow, a source can support various provisioning operations. For example, when a joiner is added to a source, this may trigger both CREATE and UPDATE provisioning operations. Each usage type is considered a provisioning policy. A source can have any number of these provisioning policies defined. These are the common usage types: CREATE - This usage type relates to \'Create Account Profile\', the provisioning template for the account to be created. For example, this would be used for a joiner on a source. UPDATE - This usage type relates to \'Update Account Profile\', the provisioning template for the \'Update\' connector operations. For example, this would be used for an attribute sync on a source. ENABLE - This usage type relates to \'Enable Account Profile\', the provisioning template for the account to be enabled. For example, this could be used for a joiner on a source once the joiner\'s account is created. DISABLE - This usage type relates to \'Disable Account Profile\', the provisioning template for the account to be disabled. For example, this could be used when a leaver is removed temporarily from a source. You can use these four usage types for all your provisioning policy needs.
|
|
136668
137844
|
* @param {*} [axiosOptions] Override http request option.
|
|
136669
137845
|
* @throws {RequiredError}
|
|
136670
137846
|
*/
|
|
@@ -136798,7 +137974,7 @@ export const SourcesV2026ApiFp = function(configuration?: Configuration) {
|
|
|
136798
137974
|
* This end-point retrieves the ProvisioningPolicy with the specified usage on the specified Source in IdentityNow.
|
|
136799
137975
|
* @summary Get provisioning policy by usagetype
|
|
136800
137976
|
* @param {string} sourceId The Source ID.
|
|
136801
|
-
* @param {UsageTypeV2026} usageType The type of provisioning policy usage. In IdentityNow, a source can support various provisioning operations. For example, when a joiner is added to a source, this may trigger both CREATE and UPDATE provisioning operations. Each usage type is considered a provisioning policy. A source can have any number of these provisioning policies defined. These are the common usage types: CREATE - This usage type relates to \'Create Account Profile\', the provisioning template for the account to be created. For example, this would be used for a joiner on a source. UPDATE - This usage type relates to \'Update Account Profile\', the provisioning template for the \'Update\' connector operations. For example, this would be used for an attribute sync on a source. ENABLE - This usage type relates to \'Enable Account Profile\', the provisioning template for the account to be enabled. For example, this could be used for a joiner on a source once the joiner\'s account is created. DISABLE - This usage type relates to \'Disable Account Profile\', the provisioning template for the account to be disabled. For example, this could be used when a leaver is removed temporarily from a source. You can use these four usage types for all your provisioning policy needs.
|
|
137977
|
+
* @param {UsageTypeV2026} usageType The type of provisioning policy usage. In IdentityNow, a source can support various provisioning operations. For example, when a joiner is added to a source, this may trigger both CREATE and UPDATE provisioning operations. Each usage type is considered a provisioning policy. A source can have any number of these provisioning policies defined. These are the common usage types: CREATE - This usage type relates to \'Create Account Profile\', the provisioning template for the account to be created. For example, this would be used for a joiner on a source. UPDATE - This usage type relates to \'Update Account Profile\', the provisioning template for the \'Update\' connector operations. For example, this would be used for an attribute sync on a source. ENABLE - This usage type relates to \'Enable Account Profile\', the provisioning template for the account to be enabled. For example, this could be used for a joiner on a source once the joiner\'s account is created. DISABLE - This usage type relates to \'Disable Account Profile\', the provisioning template for the account to be disabled. For example, this could be used when a leaver is removed temporarily from a source. You can use these four usage types for all your provisioning policy needs.
|
|
136802
137978
|
* @param {*} [axiosOptions] Override http request option.
|
|
136803
137979
|
* @throws {RequiredError}
|
|
136804
137980
|
*/
|
|
@@ -137050,11 +138226,13 @@ export const SourcesV2026ApiFp = function(configuration?: Configuration) {
|
|
|
137050
138226
|
* This end-point lists all the ProvisioningPolicies in IdentityNow.
|
|
137051
138227
|
* @summary Lists provisioningpolicies
|
|
137052
138228
|
* @param {string} sourceId The Source id
|
|
138229
|
+
* @param {number} [offset] Offset Integer specifying the offset of the first result from the beginning of the collection. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). The offset value is record-based, not page-based, and the index starts at 0.
|
|
138230
|
+
* @param {number} [limit] Limit Integer specifying the maximum number of records to return in a single API call. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). If it is not specified, a default limit is used.
|
|
137053
138231
|
* @param {*} [axiosOptions] Override http request option.
|
|
137054
138232
|
* @throws {RequiredError}
|
|
137055
138233
|
*/
|
|
137056
|
-
async listProvisioningPolicies(sourceId: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProvisioningPolicyDtoV2026>>> {
|
|
137057
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listProvisioningPolicies(sourceId, axiosOptions);
|
|
138234
|
+
async listProvisioningPolicies(sourceId: string, offset?: number, limit?: number, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProvisioningPolicyDtoV2026>>> {
|
|
138235
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listProvisioningPolicies(sourceId, offset, limit, axiosOptions);
|
|
137058
138236
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
137059
138237
|
const localVarOperationServerBasePath = operationServerMap['SourcesV2026Api.listProvisioningPolicies']?.[localVarOperationServerIndex]?.url;
|
|
137060
138238
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -137123,7 +138301,7 @@ export const SourcesV2026ApiFp = function(configuration?: Configuration) {
|
|
|
137123
138301
|
* This end-point updates the provisioning policy with the specified usage on the specified source in IdentityNow. Transforms can be used in the provisioning policy to create a new attribute that you only need during provisioning. Refer to [Transforms in Provisioning Policies](https://developer.sailpoint.com/docs/extensibility/transforms/guides/transforms-in-provisioning-policies) for more information.
|
|
137124
138302
|
* @summary Update provisioning policy by usagetype
|
|
137125
138303
|
* @param {string} sourceId The Source ID.
|
|
137126
|
-
* @param {UsageTypeV2026} usageType The type of provisioning policy usage. In IdentityNow, a source can support various provisioning operations. For example, when a joiner is added to a source, this may trigger both CREATE and UPDATE provisioning operations. Each usage type is considered a provisioning policy. A source can have any number of these provisioning policies defined. These are the common usage types: CREATE - This usage type relates to \'Create Account Profile\', the provisioning template for the account to be created. For example, this would be used for a joiner on a source. UPDATE - This usage type relates to \'Update Account Profile\', the provisioning template for the \'Update\' connector operations. For example, this would be used for an attribute sync on a source. ENABLE - This usage type relates to \'Enable Account Profile\', the provisioning template for the account to be enabled. For example, this could be used for a joiner on a source once the joiner\'s account is created. DISABLE - This usage type relates to \'Disable Account Profile\', the provisioning template for the account to be disabled. For example, this could be used when a leaver is removed temporarily from a source. You can use these four usage types for all your provisioning policy needs.
|
|
138304
|
+
* @param {UsageTypeV2026} usageType The type of provisioning policy usage. In IdentityNow, a source can support various provisioning operations. For example, when a joiner is added to a source, this may trigger both CREATE and UPDATE provisioning operations. Each usage type is considered a provisioning policy. A source can have any number of these provisioning policies defined. These are the common usage types: CREATE - This usage type relates to \'Create Account Profile\', the provisioning template for the account to be created. For example, this would be used for a joiner on a source. UPDATE - This usage type relates to \'Update Account Profile\', the provisioning template for the \'Update\' connector operations. For example, this would be used for an attribute sync on a source. ENABLE - This usage type relates to \'Enable Account Profile\', the provisioning template for the account to be enabled. For example, this could be used for a joiner on a source once the joiner\'s account is created. DISABLE - This usage type relates to \'Disable Account Profile\', the provisioning template for the account to be disabled. For example, this could be used when a leaver is removed temporarily from a source. You can use these four usage types for all your provisioning policy needs.
|
|
137127
138305
|
* @param {ProvisioningPolicyDtoV2026} provisioningPolicyDtoV2026
|
|
137128
138306
|
* @param {*} [axiosOptions] Override http request option.
|
|
137129
138307
|
* @throws {RequiredError}
|
|
@@ -137292,7 +138470,7 @@ export const SourcesV2026ApiFp = function(configuration?: Configuration) {
|
|
|
137292
138470
|
* This API selectively updates an existing Provisioning Policy using a JSONPatch payload. Transforms can be used in the provisioning policy to create a new attribute that you only need during provisioning. Refer to [Transforms in Provisioning Policies](https://developer.sailpoint.com/docs/extensibility/transforms/guides/transforms-in-provisioning-policies) for more information.
|
|
137293
138471
|
* @summary Partial update of provisioning policy
|
|
137294
138472
|
* @param {string} sourceId The Source id.
|
|
137295
|
-
* @param {UsageTypeV2026} usageType The type of provisioning policy usage. In IdentityNow, a source can support various provisioning operations. For example, when a joiner is added to a source, this may trigger both CREATE and UPDATE provisioning operations. Each usage type is considered a provisioning policy. A source can have any number of these provisioning policies defined. These are the common usage types: CREATE - This usage type relates to \'Create Account Profile\', the provisioning template for the account to be created. For example, this would be used for a joiner on a source. UPDATE - This usage type relates to \'Update Account Profile\', the provisioning template for the \'Update\' connector operations. For example, this would be used for an attribute sync on a source. ENABLE - This usage type relates to \'Enable Account Profile\', the provisioning template for the account to be enabled. For example, this could be used for a joiner on a source once the joiner\'s account is created. DISABLE - This usage type relates to \'Disable Account Profile\', the provisioning template for the account to be disabled. For example, this could be used when a leaver is removed temporarily from a source. You can use these four usage types for all your provisioning policy needs.
|
|
138473
|
+
* @param {UsageTypeV2026} usageType The type of provisioning policy usage. In IdentityNow, a source can support various provisioning operations. For example, when a joiner is added to a source, this may trigger both CREATE and UPDATE provisioning operations. Each usage type is considered a provisioning policy. A source can have any number of these provisioning policies defined. These are the common usage types: CREATE - This usage type relates to \'Create Account Profile\', the provisioning template for the account to be created. For example, this would be used for a joiner on a source. UPDATE - This usage type relates to \'Update Account Profile\', the provisioning template for the \'Update\' connector operations. For example, this would be used for an attribute sync on a source. ENABLE - This usage type relates to \'Enable Account Profile\', the provisioning template for the account to be enabled. For example, this could be used for a joiner on a source once the joiner\'s account is created. DISABLE - This usage type relates to \'Disable Account Profile\', the provisioning template for the account to be disabled. For example, this could be used when a leaver is removed temporarily from a source. You can use these four usage types for all your provisioning policy needs.
|
|
137296
138474
|
* @param {Array<JsonPatchOperationV2026>} jsonPatchOperationV2026 The JSONPatch payload used to update the schema.
|
|
137297
138475
|
* @param {*} [axiosOptions] Override http request option.
|
|
137298
138476
|
* @throws {RequiredError}
|
|
@@ -137719,7 +138897,7 @@ export const SourcesV2026ApiFactory = function (configuration?: Configuration, b
|
|
|
137719
138897
|
* @throws {RequiredError}
|
|
137720
138898
|
*/
|
|
137721
138899
|
listProvisioningPolicies(requestParameters: SourcesV2026ApiListProvisioningPoliciesRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<ProvisioningPolicyDtoV2026>> {
|
|
137722
|
-
return localVarFp.listProvisioningPolicies(requestParameters.sourceId, axiosOptions).then((request) => request(axios, basePath));
|
|
138900
|
+
return localVarFp.listProvisioningPolicies(requestParameters.sourceId, requestParameters.offset, requestParameters.limit, axiosOptions).then((request) => request(axios, basePath));
|
|
137723
138901
|
},
|
|
137724
138902
|
/**
|
|
137725
138903
|
* This end-point lists all the sources in IdentityNow.
|
|
@@ -138060,7 +139238,7 @@ export interface SourcesV2026ApiDeleteProvisioningPolicyRequest {
|
|
|
138060
139238
|
readonly sourceId: string
|
|
138061
139239
|
|
|
138062
139240
|
/**
|
|
138063
|
-
* The type of provisioning policy usage. In IdentityNow, a source can support various provisioning operations. For example, when a joiner is added to a source, this may trigger both CREATE and UPDATE provisioning operations. Each usage type is considered a provisioning policy. A source can have any number of these provisioning policies defined. These are the common usage types: CREATE - This usage type relates to \'Create Account Profile\', the provisioning template for the account to be created. For example, this would be used for a joiner on a source. UPDATE - This usage type relates to \'Update Account Profile\', the provisioning template for the \'Update\' connector operations. For example, this would be used for an attribute sync on a source. ENABLE - This usage type relates to \'Enable Account Profile\', the provisioning template for the account to be enabled. For example, this could be used for a joiner on a source once the joiner\'s account is created. DISABLE - This usage type relates to \'Disable Account Profile\', the provisioning template for the account to be disabled. For example, this could be used when a leaver is removed temporarily from a source. You can use these four usage types for all your provisioning policy needs.
|
|
139241
|
+
* The type of provisioning policy usage. In IdentityNow, a source can support various provisioning operations. For example, when a joiner is added to a source, this may trigger both CREATE and UPDATE provisioning operations. Each usage type is considered a provisioning policy. A source can have any number of these provisioning policies defined. These are the common usage types: CREATE - This usage type relates to \'Create Account Profile\', the provisioning template for the account to be created. For example, this would be used for a joiner on a source. UPDATE - This usage type relates to \'Update Account Profile\', the provisioning template for the \'Update\' connector operations. For example, this would be used for an attribute sync on a source. ENABLE - This usage type relates to \'Enable Account Profile\', the provisioning template for the account to be enabled. For example, this could be used for a joiner on a source once the joiner\'s account is created. DISABLE - This usage type relates to \'Disable Account Profile\', the provisioning template for the account to be disabled. For example, this could be used when a leaver is removed temporarily from a source. You can use these four usage types for all your provisioning policy needs.
|
|
138064
139242
|
* @type {UsageTypeV2026}
|
|
138065
139243
|
* @memberof SourcesV2026ApiDeleteProvisioningPolicy
|
|
138066
139244
|
*/
|
|
@@ -138228,7 +139406,7 @@ export interface SourcesV2026ApiGetProvisioningPolicyRequest {
|
|
|
138228
139406
|
readonly sourceId: string
|
|
138229
139407
|
|
|
138230
139408
|
/**
|
|
138231
|
-
* The type of provisioning policy usage. In IdentityNow, a source can support various provisioning operations. For example, when a joiner is added to a source, this may trigger both CREATE and UPDATE provisioning operations. Each usage type is considered a provisioning policy. A source can have any number of these provisioning policies defined. These are the common usage types: CREATE - This usage type relates to \'Create Account Profile\', the provisioning template for the account to be created. For example, this would be used for a joiner on a source. UPDATE - This usage type relates to \'Update Account Profile\', the provisioning template for the \'Update\' connector operations. For example, this would be used for an attribute sync on a source. ENABLE - This usage type relates to \'Enable Account Profile\', the provisioning template for the account to be enabled. For example, this could be used for a joiner on a source once the joiner\'s account is created. DISABLE - This usage type relates to \'Disable Account Profile\', the provisioning template for the account to be disabled. For example, this could be used when a leaver is removed temporarily from a source. You can use these four usage types for all your provisioning policy needs.
|
|
139409
|
+
* The type of provisioning policy usage. In IdentityNow, a source can support various provisioning operations. For example, when a joiner is added to a source, this may trigger both CREATE and UPDATE provisioning operations. Each usage type is considered a provisioning policy. A source can have any number of these provisioning policies defined. These are the common usage types: CREATE - This usage type relates to \'Create Account Profile\', the provisioning template for the account to be created. For example, this would be used for a joiner on a source. UPDATE - This usage type relates to \'Update Account Profile\', the provisioning template for the \'Update\' connector operations. For example, this would be used for an attribute sync on a source. ENABLE - This usage type relates to \'Enable Account Profile\', the provisioning template for the account to be enabled. For example, this could be used for a joiner on a source once the joiner\'s account is created. DISABLE - This usage type relates to \'Disable Account Profile\', the provisioning template for the account to be disabled. For example, this could be used when a leaver is removed temporarily from a source. You can use these four usage types for all your provisioning policy needs.
|
|
138232
139410
|
* @type {UsageTypeV2026}
|
|
138233
139411
|
* @memberof SourcesV2026ApiGetProvisioningPolicy
|
|
138234
139412
|
*/
|
|
@@ -138604,6 +139782,20 @@ export interface SourcesV2026ApiListProvisioningPoliciesRequest {
|
|
|
138604
139782
|
* @memberof SourcesV2026ApiListProvisioningPolicies
|
|
138605
139783
|
*/
|
|
138606
139784
|
readonly sourceId: string
|
|
139785
|
+
|
|
139786
|
+
/**
|
|
139787
|
+
* Offset Integer specifying the offset of the first result from the beginning of the collection. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). The offset value is record-based, not page-based, and the index starts at 0.
|
|
139788
|
+
* @type {number}
|
|
139789
|
+
* @memberof SourcesV2026ApiListProvisioningPolicies
|
|
139790
|
+
*/
|
|
139791
|
+
readonly offset?: number
|
|
139792
|
+
|
|
139793
|
+
/**
|
|
139794
|
+
* Limit Integer specifying the maximum number of records to return in a single API call. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). If it is not specified, a default limit is used.
|
|
139795
|
+
* @type {number}
|
|
139796
|
+
* @memberof SourcesV2026ApiListProvisioningPolicies
|
|
139797
|
+
*/
|
|
139798
|
+
readonly limit?: number
|
|
138607
139799
|
}
|
|
138608
139800
|
|
|
138609
139801
|
/**
|
|
@@ -138732,7 +139924,7 @@ export interface SourcesV2026ApiPutProvisioningPolicyRequest {
|
|
|
138732
139924
|
readonly sourceId: string
|
|
138733
139925
|
|
|
138734
139926
|
/**
|
|
138735
|
-
* The type of provisioning policy usage. In IdentityNow, a source can support various provisioning operations. For example, when a joiner is added to a source, this may trigger both CREATE and UPDATE provisioning operations. Each usage type is considered a provisioning policy. A source can have any number of these provisioning policies defined. These are the common usage types: CREATE - This usage type relates to \'Create Account Profile\', the provisioning template for the account to be created. For example, this would be used for a joiner on a source. UPDATE - This usage type relates to \'Update Account Profile\', the provisioning template for the \'Update\' connector operations. For example, this would be used for an attribute sync on a source. ENABLE - This usage type relates to \'Enable Account Profile\', the provisioning template for the account to be enabled. For example, this could be used for a joiner on a source once the joiner\'s account is created. DISABLE - This usage type relates to \'Disable Account Profile\', the provisioning template for the account to be disabled. For example, this could be used when a leaver is removed temporarily from a source. You can use these four usage types for all your provisioning policy needs.
|
|
139927
|
+
* The type of provisioning policy usage. In IdentityNow, a source can support various provisioning operations. For example, when a joiner is added to a source, this may trigger both CREATE and UPDATE provisioning operations. Each usage type is considered a provisioning policy. A source can have any number of these provisioning policies defined. These are the common usage types: CREATE - This usage type relates to \'Create Account Profile\', the provisioning template for the account to be created. For example, this would be used for a joiner on a source. UPDATE - This usage type relates to \'Update Account Profile\', the provisioning template for the \'Update\' connector operations. For example, this would be used for an attribute sync on a source. ENABLE - This usage type relates to \'Enable Account Profile\', the provisioning template for the account to be enabled. For example, this could be used for a joiner on a source once the joiner\'s account is created. DISABLE - This usage type relates to \'Disable Account Profile\', the provisioning template for the account to be disabled. For example, this could be used when a leaver is removed temporarily from a source. You can use these four usage types for all your provisioning policy needs.
|
|
138736
139928
|
* @type {UsageTypeV2026}
|
|
138737
139929
|
* @memberof SourcesV2026ApiPutProvisioningPolicy
|
|
138738
139930
|
*/
|
|
@@ -138991,7 +140183,7 @@ export interface SourcesV2026ApiUpdateProvisioningPolicyRequest {
|
|
|
138991
140183
|
readonly sourceId: string
|
|
138992
140184
|
|
|
138993
140185
|
/**
|
|
138994
|
-
* The type of provisioning policy usage. In IdentityNow, a source can support various provisioning operations. For example, when a joiner is added to a source, this may trigger both CREATE and UPDATE provisioning operations. Each usage type is considered a provisioning policy. A source can have any number of these provisioning policies defined. These are the common usage types: CREATE - This usage type relates to \'Create Account Profile\', the provisioning template for the account to be created. For example, this would be used for a joiner on a source. UPDATE - This usage type relates to \'Update Account Profile\', the provisioning template for the \'Update\' connector operations. For example, this would be used for an attribute sync on a source. ENABLE - This usage type relates to \'Enable Account Profile\', the provisioning template for the account to be enabled. For example, this could be used for a joiner on a source once the joiner\'s account is created. DISABLE - This usage type relates to \'Disable Account Profile\', the provisioning template for the account to be disabled. For example, this could be used when a leaver is removed temporarily from a source. You can use these four usage types for all your provisioning policy needs.
|
|
140186
|
+
* The type of provisioning policy usage. In IdentityNow, a source can support various provisioning operations. For example, when a joiner is added to a source, this may trigger both CREATE and UPDATE provisioning operations. Each usage type is considered a provisioning policy. A source can have any number of these provisioning policies defined. These are the common usage types: CREATE - This usage type relates to \'Create Account Profile\', the provisioning template for the account to be created. For example, this would be used for a joiner on a source. UPDATE - This usage type relates to \'Update Account Profile\', the provisioning template for the \'Update\' connector operations. For example, this would be used for an attribute sync on a source. ENABLE - This usage type relates to \'Enable Account Profile\', the provisioning template for the account to be enabled. For example, this could be used for a joiner on a source once the joiner\'s account is created. DISABLE - This usage type relates to \'Disable Account Profile\', the provisioning template for the account to be disabled. For example, this could be used when a leaver is removed temporarily from a source. You can use these four usage types for all your provisioning policy needs.
|
|
138995
140187
|
* @type {UsageTypeV2026}
|
|
138996
140188
|
* @memberof SourcesV2026ApiUpdateProvisioningPolicy
|
|
138997
140189
|
*/
|
|
@@ -139527,7 +140719,7 @@ export class SourcesV2026Api extends BaseAPI {
|
|
|
139527
140719
|
* @memberof SourcesV2026Api
|
|
139528
140720
|
*/
|
|
139529
140721
|
public listProvisioningPolicies(requestParameters: SourcesV2026ApiListProvisioningPoliciesRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
139530
|
-
return SourcesV2026ApiFp(this.configuration).listProvisioningPolicies(requestParameters.sourceId, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
140722
|
+
return SourcesV2026ApiFp(this.configuration).listProvisioningPolicies(requestParameters.sourceId, requestParameters.offset, requestParameters.limit, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
139531
140723
|
}
|
|
139532
140724
|
|
|
139533
140725
|
/**
|