sailpoint-api-client 1.8.14 → 1.8.15
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/common.js +2 -2
- package/dist/v2026/api.d.ts +858 -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/common.ts +2 -2
- package/v2025/package.json +1 -1
- package/v2026/README.md +2 -2
- package/v2026/api.ts +1506 -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
|
*
|
|
@@ -29418,6 +29633,25 @@ export interface MachineIdentityV2026 {
|
|
|
29418
29633
|
*/
|
|
29419
29634
|
'uuid'?: string;
|
|
29420
29635
|
}
|
|
29636
|
+
/**
|
|
29637
|
+
*
|
|
29638
|
+
* @export
|
|
29639
|
+
* @interface MachineSubtypeApprovalConfigV2026
|
|
29640
|
+
*/
|
|
29641
|
+
export interface MachineSubtypeApprovalConfigV2026 {
|
|
29642
|
+
/**
|
|
29643
|
+
* 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.
|
|
29644
|
+
* @type {string}
|
|
29645
|
+
* @memberof MachineSubtypeApprovalConfigV2026
|
|
29646
|
+
*/
|
|
29647
|
+
'approvers'?: string;
|
|
29648
|
+
/**
|
|
29649
|
+
* Comment configurations for the approval request. Following are the options for comments: ALL, OFF, APPROVAL, REJECT.
|
|
29650
|
+
* @type {string}
|
|
29651
|
+
* @memberof MachineSubtypeApprovalConfigV2026
|
|
29652
|
+
*/
|
|
29653
|
+
'comments'?: string;
|
|
29654
|
+
}
|
|
29421
29655
|
/**
|
|
29422
29656
|
* MAIL FROM attributes for a domain / identity
|
|
29423
29657
|
* @export
|
|
@@ -47596,6 +47830,99 @@ export interface SourceSubtypeV2026 {
|
|
|
47596
47830
|
*/
|
|
47597
47831
|
'type'?: string;
|
|
47598
47832
|
}
|
|
47833
|
+
/**
|
|
47834
|
+
* Source reference of the subtype.
|
|
47835
|
+
* @export
|
|
47836
|
+
* @interface SourceSubtypeWithSourceSourceV2026
|
|
47837
|
+
*/
|
|
47838
|
+
export interface SourceSubtypeWithSourceSourceV2026 {
|
|
47839
|
+
/**
|
|
47840
|
+
* Type of the reference object.
|
|
47841
|
+
* @type {string}
|
|
47842
|
+
* @memberof SourceSubtypeWithSourceSourceV2026
|
|
47843
|
+
*/
|
|
47844
|
+
'type'?: SourceSubtypeWithSourceSourceV2026TypeV2026;
|
|
47845
|
+
/**
|
|
47846
|
+
* Unique identifier for the source.
|
|
47847
|
+
* @type {string}
|
|
47848
|
+
* @memberof SourceSubtypeWithSourceSourceV2026
|
|
47849
|
+
*/
|
|
47850
|
+
'id'?: string;
|
|
47851
|
+
/**
|
|
47852
|
+
* Name of the source.
|
|
47853
|
+
* @type {string}
|
|
47854
|
+
* @memberof SourceSubtypeWithSourceSourceV2026
|
|
47855
|
+
*/
|
|
47856
|
+
'name'?: string;
|
|
47857
|
+
}
|
|
47858
|
+
|
|
47859
|
+
export const SourceSubtypeWithSourceSourceV2026TypeV2026 = {
|
|
47860
|
+
Source: 'SOURCE'
|
|
47861
|
+
} as const;
|
|
47862
|
+
|
|
47863
|
+
export type SourceSubtypeWithSourceSourceV2026TypeV2026 = typeof SourceSubtypeWithSourceSourceV2026TypeV2026[keyof typeof SourceSubtypeWithSourceSourceV2026TypeV2026];
|
|
47864
|
+
|
|
47865
|
+
/**
|
|
47866
|
+
*
|
|
47867
|
+
* @export
|
|
47868
|
+
* @interface SourceSubtypeWithSourceV2026
|
|
47869
|
+
*/
|
|
47870
|
+
export interface SourceSubtypeWithSourceV2026 {
|
|
47871
|
+
/**
|
|
47872
|
+
* Unique identifier for the subtype.
|
|
47873
|
+
* @type {string}
|
|
47874
|
+
* @memberof SourceSubtypeWithSourceV2026
|
|
47875
|
+
*/
|
|
47876
|
+
'id'?: string;
|
|
47877
|
+
/**
|
|
47878
|
+
* The ID of the source.
|
|
47879
|
+
* @type {string}
|
|
47880
|
+
* @memberof SourceSubtypeWithSourceV2026
|
|
47881
|
+
*/
|
|
47882
|
+
'sourceId'?: string;
|
|
47883
|
+
/**
|
|
47884
|
+
* Technical name of the subtype.
|
|
47885
|
+
* @type {string}
|
|
47886
|
+
* @memberof SourceSubtypeWithSourceV2026
|
|
47887
|
+
*/
|
|
47888
|
+
'technicalName'?: string;
|
|
47889
|
+
/**
|
|
47890
|
+
* Display name of the subtype.
|
|
47891
|
+
* @type {string}
|
|
47892
|
+
* @memberof SourceSubtypeWithSourceV2026
|
|
47893
|
+
*/
|
|
47894
|
+
'displayName'?: string;
|
|
47895
|
+
/**
|
|
47896
|
+
* Description of the subtype.
|
|
47897
|
+
* @type {string}
|
|
47898
|
+
* @memberof SourceSubtypeWithSourceV2026
|
|
47899
|
+
*/
|
|
47900
|
+
'description'?: string;
|
|
47901
|
+
/**
|
|
47902
|
+
* Creation timestamp.
|
|
47903
|
+
* @type {string}
|
|
47904
|
+
* @memberof SourceSubtypeWithSourceV2026
|
|
47905
|
+
*/
|
|
47906
|
+
'created'?: string;
|
|
47907
|
+
/**
|
|
47908
|
+
* Last modified timestamp.
|
|
47909
|
+
* @type {string}
|
|
47910
|
+
* @memberof SourceSubtypeWithSourceV2026
|
|
47911
|
+
*/
|
|
47912
|
+
'modified'?: string;
|
|
47913
|
+
/**
|
|
47914
|
+
* Type of the subtype. Either MACHINE OR null.
|
|
47915
|
+
* @type {string}
|
|
47916
|
+
* @memberof SourceSubtypeWithSourceV2026
|
|
47917
|
+
*/
|
|
47918
|
+
'type'?: string;
|
|
47919
|
+
/**
|
|
47920
|
+
*
|
|
47921
|
+
* @type {SourceSubtypeWithSourceSourceV2026}
|
|
47922
|
+
* @memberof SourceSubtypeWithSourceV2026
|
|
47923
|
+
*/
|
|
47924
|
+
'source'?: SourceSubtypeWithSourceSourceV2026;
|
|
47925
|
+
}
|
|
47599
47926
|
/**
|
|
47600
47927
|
*
|
|
47601
47928
|
* @export
|
|
@@ -59120,7 +59447,7 @@ export const AccountDeletionRequestsV2026ApiFp = function(configuration?: Config
|
|
|
59120
59447
|
* @param {*} [axiosOptions] Override http request option.
|
|
59121
59448
|
* @throws {RequiredError}
|
|
59122
59449
|
*/
|
|
59123
|
-
async deleteAccountRequest(accountId: string, accountDeleteRequestInputV2026?: AccountDeleteRequestInputV2026, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
59450
|
+
async deleteAccountRequest(accountId: string, accountDeleteRequestInputV2026?: AccountDeleteRequestInputV2026, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountRequestAsyncResultV2026>> {
|
|
59124
59451
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAccountRequest(accountId, accountDeleteRequestInputV2026, axiosOptions);
|
|
59125
59452
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
59126
59453
|
const localVarOperationServerBasePath = operationServerMap['AccountDeletionRequestsV2026Api.deleteAccountRequest']?.[localVarOperationServerIndex]?.url;
|
|
@@ -59159,7 +59486,7 @@ export const AccountDeletionRequestsV2026ApiFactory = function (configuration?:
|
|
|
59159
59486
|
* @param {*} [axiosOptions] Override http request option.
|
|
59160
59487
|
* @throws {RequiredError}
|
|
59161
59488
|
*/
|
|
59162
|
-
deleteAccountRequest(requestParameters: AccountDeletionRequestsV2026ApiDeleteAccountRequestRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<
|
|
59489
|
+
deleteAccountRequest(requestParameters: AccountDeletionRequestsV2026ApiDeleteAccountRequestRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<AccountRequestAsyncResultV2026> {
|
|
59163
59490
|
return localVarFp.deleteAccountRequest(requestParameters.accountId, requestParameters.accountDeleteRequestInputV2026, axiosOptions).then((request) => request(axios, basePath));
|
|
59164
59491
|
},
|
|
59165
59492
|
/**
|
|
@@ -103216,6 +103543,386 @@ export const SendClassifyMachineAccountClassificationModeV2026 = {
|
|
|
103216
103543
|
export type SendClassifyMachineAccountClassificationModeV2026 = typeof SendClassifyMachineAccountClassificationModeV2026[keyof typeof SendClassifyMachineAccountClassificationModeV2026];
|
|
103217
103544
|
|
|
103218
103545
|
|
|
103546
|
+
/**
|
|
103547
|
+
* MachineAccountCreationRequestV2026Api - axios parameter creator
|
|
103548
|
+
* @export
|
|
103549
|
+
*/
|
|
103550
|
+
export const MachineAccountCreationRequestV2026ApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
103551
|
+
return {
|
|
103552
|
+
/**
|
|
103553
|
+
* 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.**
|
|
103554
|
+
* @summary Submit Machine Account Creation Request
|
|
103555
|
+
* @param {MachineAccountCreateRequestInputV2026} machineAccountCreateRequestInputV2026
|
|
103556
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
103557
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
103558
|
+
* @throws {RequiredError}
|
|
103559
|
+
*/
|
|
103560
|
+
createMachineAccountRequest: async (machineAccountCreateRequestInputV2026: MachineAccountCreateRequestInputV2026, xSailPointExperimental?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
103561
|
+
// verify required parameter 'machineAccountCreateRequestInputV2026' is not null or undefined
|
|
103562
|
+
assertParamExists('createMachineAccountRequest', 'machineAccountCreateRequestInputV2026', machineAccountCreateRequestInputV2026)
|
|
103563
|
+
if (xSailPointExperimental === undefined) {
|
|
103564
|
+
xSailPointExperimental = 'true';
|
|
103565
|
+
}
|
|
103566
|
+
|
|
103567
|
+
const localVarPath = `/account-requests/machine-account-create`;
|
|
103568
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
103569
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
103570
|
+
let baseOptions;
|
|
103571
|
+
if (configuration) {
|
|
103572
|
+
baseOptions = configuration.baseOptions;
|
|
103573
|
+
}
|
|
103574
|
+
|
|
103575
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};
|
|
103576
|
+
const localVarHeaderParameter = {} as any;
|
|
103577
|
+
const localVarQueryParameter = {} as any;
|
|
103578
|
+
|
|
103579
|
+
// authentication userAuth required
|
|
103580
|
+
// oauth required
|
|
103581
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
103582
|
+
|
|
103583
|
+
// authentication userAuth required
|
|
103584
|
+
// oauth required
|
|
103585
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
103586
|
+
|
|
103587
|
+
|
|
103588
|
+
|
|
103589
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
103590
|
+
|
|
103591
|
+
if (xSailPointExperimental != null) {
|
|
103592
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
103593
|
+
}
|
|
103594
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
103595
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
103596
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
103597
|
+
localVarRequestOptions.data = serializeDataIfNeeded(machineAccountCreateRequestInputV2026, localVarRequestOptions, configuration)
|
|
103598
|
+
|
|
103599
|
+
return {
|
|
103600
|
+
url: toPathString(localVarUrlObj),
|
|
103601
|
+
axiosOptions: localVarRequestOptions,
|
|
103602
|
+
};
|
|
103603
|
+
},
|
|
103604
|
+
/**
|
|
103605
|
+
* Retrieves a account request details for machine account creation. This allows the user to view all details for given account request.
|
|
103606
|
+
* @summary Get Machine Account Creation Request
|
|
103607
|
+
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
103608
|
+
* @param {string} accountRequestId Account Request ID
|
|
103609
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
103610
|
+
* @throws {RequiredError}
|
|
103611
|
+
*/
|
|
103612
|
+
getCreateMachineAccountRequest: async (xSailPointExperimental: string, accountRequestId: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
103613
|
+
if (xSailPointExperimental === undefined) {
|
|
103614
|
+
xSailPointExperimental = 'true';
|
|
103615
|
+
}
|
|
103616
|
+
|
|
103617
|
+
// verify required parameter 'xSailPointExperimental' is not null or undefined
|
|
103618
|
+
assertParamExists('getCreateMachineAccountRequest', 'xSailPointExperimental', xSailPointExperimental)
|
|
103619
|
+
// verify required parameter 'accountRequestId' is not null or undefined
|
|
103620
|
+
assertParamExists('getCreateMachineAccountRequest', 'accountRequestId', accountRequestId)
|
|
103621
|
+
const localVarPath = `/account-requests/machine-account-create/{accountRequestId}`
|
|
103622
|
+
.replace(`{${"accountRequestId"}}`, encodeURIComponent(String(accountRequestId)));
|
|
103623
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
103624
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
103625
|
+
let baseOptions;
|
|
103626
|
+
if (configuration) {
|
|
103627
|
+
baseOptions = configuration.baseOptions;
|
|
103628
|
+
}
|
|
103629
|
+
|
|
103630
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
|
|
103631
|
+
const localVarHeaderParameter = {} as any;
|
|
103632
|
+
const localVarQueryParameter = {} as any;
|
|
103633
|
+
|
|
103634
|
+
// authentication userAuth required
|
|
103635
|
+
// oauth required
|
|
103636
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
103637
|
+
|
|
103638
|
+
// authentication userAuth required
|
|
103639
|
+
// oauth required
|
|
103640
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
103641
|
+
|
|
103642
|
+
|
|
103643
|
+
|
|
103644
|
+
if (xSailPointExperimental != null) {
|
|
103645
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
103646
|
+
}
|
|
103647
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
103648
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
103649
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
103650
|
+
|
|
103651
|
+
return {
|
|
103652
|
+
url: toPathString(localVarUrlObj),
|
|
103653
|
+
axiosOptions: localVarRequestOptions,
|
|
103654
|
+
};
|
|
103655
|
+
},
|
|
103656
|
+
/**
|
|
103657
|
+
* 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.
|
|
103658
|
+
* @summary Machine Account Create Access
|
|
103659
|
+
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
103660
|
+
* @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.
|
|
103661
|
+
* @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.
|
|
103662
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
103663
|
+
* @throws {RequiredError}
|
|
103664
|
+
*/
|
|
103665
|
+
getMachineAccountCreateAccessInfo: async (xSailPointExperimental: string, offset?: number, limit?: number, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
103666
|
+
if (xSailPointExperimental === undefined) {
|
|
103667
|
+
xSailPointExperimental = 'true';
|
|
103668
|
+
}
|
|
103669
|
+
|
|
103670
|
+
// verify required parameter 'xSailPointExperimental' is not null or undefined
|
|
103671
|
+
assertParamExists('getMachineAccountCreateAccessInfo', 'xSailPointExperimental', xSailPointExperimental)
|
|
103672
|
+
const localVarPath = `/source-subtypes/machine-account-create-access`;
|
|
103673
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
103674
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
103675
|
+
let baseOptions;
|
|
103676
|
+
if (configuration) {
|
|
103677
|
+
baseOptions = configuration.baseOptions;
|
|
103678
|
+
}
|
|
103679
|
+
|
|
103680
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
|
|
103681
|
+
const localVarHeaderParameter = {} as any;
|
|
103682
|
+
const localVarQueryParameter = {} as any;
|
|
103683
|
+
|
|
103684
|
+
// authentication userAuth required
|
|
103685
|
+
// oauth required
|
|
103686
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
103687
|
+
|
|
103688
|
+
// authentication userAuth required
|
|
103689
|
+
// oauth required
|
|
103690
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
103691
|
+
|
|
103692
|
+
if (offset !== undefined) {
|
|
103693
|
+
localVarQueryParameter['offset'] = offset;
|
|
103694
|
+
}
|
|
103695
|
+
|
|
103696
|
+
if (limit !== undefined) {
|
|
103697
|
+
localVarQueryParameter['limit'] = limit;
|
|
103698
|
+
}
|
|
103699
|
+
|
|
103700
|
+
|
|
103701
|
+
|
|
103702
|
+
if (xSailPointExperimental != null) {
|
|
103703
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
103704
|
+
}
|
|
103705
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
103706
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
103707
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
103708
|
+
|
|
103709
|
+
return {
|
|
103710
|
+
url: toPathString(localVarUrlObj),
|
|
103711
|
+
axiosOptions: localVarRequestOptions,
|
|
103712
|
+
};
|
|
103713
|
+
},
|
|
103714
|
+
}
|
|
103715
|
+
};
|
|
103716
|
+
|
|
103717
|
+
/**
|
|
103718
|
+
* MachineAccountCreationRequestV2026Api - functional programming interface
|
|
103719
|
+
* @export
|
|
103720
|
+
*/
|
|
103721
|
+
export const MachineAccountCreationRequestV2026ApiFp = function(configuration?: Configuration) {
|
|
103722
|
+
const localVarAxiosParamCreator = MachineAccountCreationRequestV2026ApiAxiosParamCreator(configuration)
|
|
103723
|
+
return {
|
|
103724
|
+
/**
|
|
103725
|
+
* 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.**
|
|
103726
|
+
* @summary Submit Machine Account Creation Request
|
|
103727
|
+
* @param {MachineAccountCreateRequestInputV2026} machineAccountCreateRequestInputV2026
|
|
103728
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
103729
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
103730
|
+
* @throws {RequiredError}
|
|
103731
|
+
*/
|
|
103732
|
+
async createMachineAccountRequest(machineAccountCreateRequestInputV2026: MachineAccountCreateRequestInputV2026, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountRequestAsyncResultV2026>> {
|
|
103733
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createMachineAccountRequest(machineAccountCreateRequestInputV2026, xSailPointExperimental, axiosOptions);
|
|
103734
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
103735
|
+
const localVarOperationServerBasePath = operationServerMap['MachineAccountCreationRequestV2026Api.createMachineAccountRequest']?.[localVarOperationServerIndex]?.url;
|
|
103736
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
103737
|
+
},
|
|
103738
|
+
/**
|
|
103739
|
+
* Retrieves a account request details for machine account creation. This allows the user to view all details for given account request.
|
|
103740
|
+
* @summary Get Machine Account Creation Request
|
|
103741
|
+
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
103742
|
+
* @param {string} accountRequestId Account Request ID
|
|
103743
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
103744
|
+
* @throws {RequiredError}
|
|
103745
|
+
*/
|
|
103746
|
+
async getCreateMachineAccountRequest(xSailPointExperimental: string, accountRequestId: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountRequestDetailsDtoV2026>> {
|
|
103747
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getCreateMachineAccountRequest(xSailPointExperimental, accountRequestId, axiosOptions);
|
|
103748
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
103749
|
+
const localVarOperationServerBasePath = operationServerMap['MachineAccountCreationRequestV2026Api.getCreateMachineAccountRequest']?.[localVarOperationServerIndex]?.url;
|
|
103750
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
103751
|
+
},
|
|
103752
|
+
/**
|
|
103753
|
+
* 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.
|
|
103754
|
+
* @summary Machine Account Create Access
|
|
103755
|
+
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
103756
|
+
* @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.
|
|
103757
|
+
* @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.
|
|
103758
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
103759
|
+
* @throws {RequiredError}
|
|
103760
|
+
*/
|
|
103761
|
+
async getMachineAccountCreateAccessInfo(xSailPointExperimental: string, offset?: number, limit?: number, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MachineAccountCreateAccessDtoV2026>>> {
|
|
103762
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getMachineAccountCreateAccessInfo(xSailPointExperimental, offset, limit, axiosOptions);
|
|
103763
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
103764
|
+
const localVarOperationServerBasePath = operationServerMap['MachineAccountCreationRequestV2026Api.getMachineAccountCreateAccessInfo']?.[localVarOperationServerIndex]?.url;
|
|
103765
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
103766
|
+
},
|
|
103767
|
+
}
|
|
103768
|
+
};
|
|
103769
|
+
|
|
103770
|
+
/**
|
|
103771
|
+
* MachineAccountCreationRequestV2026Api - factory interface
|
|
103772
|
+
* @export
|
|
103773
|
+
*/
|
|
103774
|
+
export const MachineAccountCreationRequestV2026ApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
103775
|
+
const localVarFp = MachineAccountCreationRequestV2026ApiFp(configuration)
|
|
103776
|
+
return {
|
|
103777
|
+
/**
|
|
103778
|
+
* 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.**
|
|
103779
|
+
* @summary Submit Machine Account Creation Request
|
|
103780
|
+
* @param {MachineAccountCreationRequestV2026ApiCreateMachineAccountRequestRequest} requestParameters Request parameters.
|
|
103781
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
103782
|
+
* @throws {RequiredError}
|
|
103783
|
+
*/
|
|
103784
|
+
createMachineAccountRequest(requestParameters: MachineAccountCreationRequestV2026ApiCreateMachineAccountRequestRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<AccountRequestAsyncResultV2026> {
|
|
103785
|
+
return localVarFp.createMachineAccountRequest(requestParameters.machineAccountCreateRequestInputV2026, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));
|
|
103786
|
+
},
|
|
103787
|
+
/**
|
|
103788
|
+
* Retrieves a account request details for machine account creation. This allows the user to view all details for given account request.
|
|
103789
|
+
* @summary Get Machine Account Creation Request
|
|
103790
|
+
* @param {MachineAccountCreationRequestV2026ApiGetCreateMachineAccountRequestRequest} requestParameters Request parameters.
|
|
103791
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
103792
|
+
* @throws {RequiredError}
|
|
103793
|
+
*/
|
|
103794
|
+
getCreateMachineAccountRequest(requestParameters: MachineAccountCreationRequestV2026ApiGetCreateMachineAccountRequestRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<AccountRequestDetailsDtoV2026> {
|
|
103795
|
+
return localVarFp.getCreateMachineAccountRequest(requestParameters.xSailPointExperimental, requestParameters.accountRequestId, axiosOptions).then((request) => request(axios, basePath));
|
|
103796
|
+
},
|
|
103797
|
+
/**
|
|
103798
|
+
* 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.
|
|
103799
|
+
* @summary Machine Account Create Access
|
|
103800
|
+
* @param {MachineAccountCreationRequestV2026ApiGetMachineAccountCreateAccessInfoRequest} requestParameters Request parameters.
|
|
103801
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
103802
|
+
* @throws {RequiredError}
|
|
103803
|
+
*/
|
|
103804
|
+
getMachineAccountCreateAccessInfo(requestParameters: MachineAccountCreationRequestV2026ApiGetMachineAccountCreateAccessInfoRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<MachineAccountCreateAccessDtoV2026>> {
|
|
103805
|
+
return localVarFp.getMachineAccountCreateAccessInfo(requestParameters.xSailPointExperimental, requestParameters.offset, requestParameters.limit, axiosOptions).then((request) => request(axios, basePath));
|
|
103806
|
+
},
|
|
103807
|
+
};
|
|
103808
|
+
};
|
|
103809
|
+
|
|
103810
|
+
/**
|
|
103811
|
+
* Request parameters for createMachineAccountRequest operation in MachineAccountCreationRequestV2026Api.
|
|
103812
|
+
* @export
|
|
103813
|
+
* @interface MachineAccountCreationRequestV2026ApiCreateMachineAccountRequestRequest
|
|
103814
|
+
*/
|
|
103815
|
+
export interface MachineAccountCreationRequestV2026ApiCreateMachineAccountRequestRequest {
|
|
103816
|
+
/**
|
|
103817
|
+
*
|
|
103818
|
+
* @type {MachineAccountCreateRequestInputV2026}
|
|
103819
|
+
* @memberof MachineAccountCreationRequestV2026ApiCreateMachineAccountRequest
|
|
103820
|
+
*/
|
|
103821
|
+
readonly machineAccountCreateRequestInputV2026: MachineAccountCreateRequestInputV2026
|
|
103822
|
+
|
|
103823
|
+
/**
|
|
103824
|
+
* Use this header to enable this experimental API.
|
|
103825
|
+
* @type {string}
|
|
103826
|
+
* @memberof MachineAccountCreationRequestV2026ApiCreateMachineAccountRequest
|
|
103827
|
+
*/
|
|
103828
|
+
readonly xSailPointExperimental?: string
|
|
103829
|
+
}
|
|
103830
|
+
|
|
103831
|
+
/**
|
|
103832
|
+
* Request parameters for getCreateMachineAccountRequest operation in MachineAccountCreationRequestV2026Api.
|
|
103833
|
+
* @export
|
|
103834
|
+
* @interface MachineAccountCreationRequestV2026ApiGetCreateMachineAccountRequestRequest
|
|
103835
|
+
*/
|
|
103836
|
+
export interface MachineAccountCreationRequestV2026ApiGetCreateMachineAccountRequestRequest {
|
|
103837
|
+
/**
|
|
103838
|
+
* Use this header to enable this experimental API.
|
|
103839
|
+
* @type {string}
|
|
103840
|
+
* @memberof MachineAccountCreationRequestV2026ApiGetCreateMachineAccountRequest
|
|
103841
|
+
*/
|
|
103842
|
+
readonly xSailPointExperimental: string
|
|
103843
|
+
|
|
103844
|
+
/**
|
|
103845
|
+
* Account Request ID
|
|
103846
|
+
* @type {string}
|
|
103847
|
+
* @memberof MachineAccountCreationRequestV2026ApiGetCreateMachineAccountRequest
|
|
103848
|
+
*/
|
|
103849
|
+
readonly accountRequestId: string
|
|
103850
|
+
}
|
|
103851
|
+
|
|
103852
|
+
/**
|
|
103853
|
+
* Request parameters for getMachineAccountCreateAccessInfo operation in MachineAccountCreationRequestV2026Api.
|
|
103854
|
+
* @export
|
|
103855
|
+
* @interface MachineAccountCreationRequestV2026ApiGetMachineAccountCreateAccessInfoRequest
|
|
103856
|
+
*/
|
|
103857
|
+
export interface MachineAccountCreationRequestV2026ApiGetMachineAccountCreateAccessInfoRequest {
|
|
103858
|
+
/**
|
|
103859
|
+
* Use this header to enable this experimental API.
|
|
103860
|
+
* @type {string}
|
|
103861
|
+
* @memberof MachineAccountCreationRequestV2026ApiGetMachineAccountCreateAccessInfo
|
|
103862
|
+
*/
|
|
103863
|
+
readonly xSailPointExperimental: string
|
|
103864
|
+
|
|
103865
|
+
/**
|
|
103866
|
+
* 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.
|
|
103867
|
+
* @type {number}
|
|
103868
|
+
* @memberof MachineAccountCreationRequestV2026ApiGetMachineAccountCreateAccessInfo
|
|
103869
|
+
*/
|
|
103870
|
+
readonly offset?: number
|
|
103871
|
+
|
|
103872
|
+
/**
|
|
103873
|
+
* 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.
|
|
103874
|
+
* @type {number}
|
|
103875
|
+
* @memberof MachineAccountCreationRequestV2026ApiGetMachineAccountCreateAccessInfo
|
|
103876
|
+
*/
|
|
103877
|
+
readonly limit?: number
|
|
103878
|
+
}
|
|
103879
|
+
|
|
103880
|
+
/**
|
|
103881
|
+
* MachineAccountCreationRequestV2026Api - object-oriented interface
|
|
103882
|
+
* @export
|
|
103883
|
+
* @class MachineAccountCreationRequestV2026Api
|
|
103884
|
+
* @extends {BaseAPI}
|
|
103885
|
+
*/
|
|
103886
|
+
export class MachineAccountCreationRequestV2026Api extends BaseAPI {
|
|
103887
|
+
/**
|
|
103888
|
+
* 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.**
|
|
103889
|
+
* @summary Submit Machine Account Creation Request
|
|
103890
|
+
* @param {MachineAccountCreationRequestV2026ApiCreateMachineAccountRequestRequest} requestParameters Request parameters.
|
|
103891
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
103892
|
+
* @throws {RequiredError}
|
|
103893
|
+
* @memberof MachineAccountCreationRequestV2026Api
|
|
103894
|
+
*/
|
|
103895
|
+
public createMachineAccountRequest(requestParameters: MachineAccountCreationRequestV2026ApiCreateMachineAccountRequestRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
103896
|
+
return MachineAccountCreationRequestV2026ApiFp(this.configuration).createMachineAccountRequest(requestParameters.machineAccountCreateRequestInputV2026, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
103897
|
+
}
|
|
103898
|
+
|
|
103899
|
+
/**
|
|
103900
|
+
* Retrieves a account request details for machine account creation. This allows the user to view all details for given account request.
|
|
103901
|
+
* @summary Get Machine Account Creation Request
|
|
103902
|
+
* @param {MachineAccountCreationRequestV2026ApiGetCreateMachineAccountRequestRequest} requestParameters Request parameters.
|
|
103903
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
103904
|
+
* @throws {RequiredError}
|
|
103905
|
+
* @memberof MachineAccountCreationRequestV2026Api
|
|
103906
|
+
*/
|
|
103907
|
+
public getCreateMachineAccountRequest(requestParameters: MachineAccountCreationRequestV2026ApiGetCreateMachineAccountRequestRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
103908
|
+
return MachineAccountCreationRequestV2026ApiFp(this.configuration).getCreateMachineAccountRequest(requestParameters.xSailPointExperimental, requestParameters.accountRequestId, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
103909
|
+
}
|
|
103910
|
+
|
|
103911
|
+
/**
|
|
103912
|
+
* 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.
|
|
103913
|
+
* @summary Machine Account Create Access
|
|
103914
|
+
* @param {MachineAccountCreationRequestV2026ApiGetMachineAccountCreateAccessInfoRequest} requestParameters Request parameters.
|
|
103915
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
103916
|
+
* @throws {RequiredError}
|
|
103917
|
+
* @memberof MachineAccountCreationRequestV2026Api
|
|
103918
|
+
*/
|
|
103919
|
+
public getMachineAccountCreateAccessInfo(requestParameters: MachineAccountCreationRequestV2026ApiGetMachineAccountCreateAccessInfoRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
103920
|
+
return MachineAccountCreationRequestV2026ApiFp(this.configuration).getMachineAccountCreateAccessInfo(requestParameters.xSailPointExperimental, requestParameters.offset, requestParameters.limit, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
103921
|
+
}
|
|
103922
|
+
}
|
|
103923
|
+
|
|
103924
|
+
|
|
103925
|
+
|
|
103219
103926
|
/**
|
|
103220
103927
|
* MachineAccountMappingsV2026Api - axios parameter creator
|
|
103221
103928
|
* @export
|
|
@@ -103357,14 +104064,425 @@ export const MachineAccountMappingsV2026ApiAxiosParamCreator = function (configu
|
|
|
103357
104064
|
// oauth required
|
|
103358
104065
|
await setOAuthToObject(localVarHeaderParameter, "applicationAuth", [], configuration)
|
|
103359
104066
|
|
|
103360
|
-
if (limit !== undefined) {
|
|
103361
|
-
localVarQueryParameter['limit'] = limit;
|
|
103362
|
-
}
|
|
103363
|
-
|
|
103364
|
-
if (offset !== undefined) {
|
|
103365
|
-
localVarQueryParameter['offset'] = offset;
|
|
103366
|
-
}
|
|
103367
|
-
|
|
104067
|
+
if (limit !== undefined) {
|
|
104068
|
+
localVarQueryParameter['limit'] = limit;
|
|
104069
|
+
}
|
|
104070
|
+
|
|
104071
|
+
if (offset !== undefined) {
|
|
104072
|
+
localVarQueryParameter['offset'] = offset;
|
|
104073
|
+
}
|
|
104074
|
+
|
|
104075
|
+
|
|
104076
|
+
|
|
104077
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
104078
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
104079
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
104080
|
+
|
|
104081
|
+
return {
|
|
104082
|
+
url: toPathString(localVarUrlObj),
|
|
104083
|
+
axiosOptions: localVarRequestOptions,
|
|
104084
|
+
};
|
|
104085
|
+
},
|
|
104086
|
+
/**
|
|
104087
|
+
* 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.
|
|
104088
|
+
* @summary Update source\'s machine account mappings
|
|
104089
|
+
* @param {string} id Source ID.
|
|
104090
|
+
* @param {AttributeMappingsV2026} attributeMappingsV2026
|
|
104091
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
104092
|
+
* @throws {RequiredError}
|
|
104093
|
+
*/
|
|
104094
|
+
setMachineAccountMappings: async (id: string, attributeMappingsV2026: AttributeMappingsV2026, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
104095
|
+
// verify required parameter 'id' is not null or undefined
|
|
104096
|
+
assertParamExists('setMachineAccountMappings', 'id', id)
|
|
104097
|
+
// verify required parameter 'attributeMappingsV2026' is not null or undefined
|
|
104098
|
+
assertParamExists('setMachineAccountMappings', 'attributeMappingsV2026', attributeMappingsV2026)
|
|
104099
|
+
const localVarPath = `/sources/{sourceId}/machine-mappings`
|
|
104100
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
104101
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
104102
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
104103
|
+
let baseOptions;
|
|
104104
|
+
if (configuration) {
|
|
104105
|
+
baseOptions = configuration.baseOptions;
|
|
104106
|
+
}
|
|
104107
|
+
|
|
104108
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...axiosOptions};
|
|
104109
|
+
const localVarHeaderParameter = {} as any;
|
|
104110
|
+
const localVarQueryParameter = {} as any;
|
|
104111
|
+
|
|
104112
|
+
// authentication userAuth required
|
|
104113
|
+
// oauth required
|
|
104114
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
104115
|
+
|
|
104116
|
+
// authentication userAuth required
|
|
104117
|
+
// oauth required
|
|
104118
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
104119
|
+
|
|
104120
|
+
// authentication applicationAuth required
|
|
104121
|
+
// oauth required
|
|
104122
|
+
await setOAuthToObject(localVarHeaderParameter, "applicationAuth", [], configuration)
|
|
104123
|
+
|
|
104124
|
+
|
|
104125
|
+
|
|
104126
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
104127
|
+
|
|
104128
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
104129
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
104130
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
104131
|
+
localVarRequestOptions.data = serializeDataIfNeeded(attributeMappingsV2026, localVarRequestOptions, configuration)
|
|
104132
|
+
|
|
104133
|
+
return {
|
|
104134
|
+
url: toPathString(localVarUrlObj),
|
|
104135
|
+
axiosOptions: localVarRequestOptions,
|
|
104136
|
+
};
|
|
104137
|
+
},
|
|
104138
|
+
}
|
|
104139
|
+
};
|
|
104140
|
+
|
|
104141
|
+
/**
|
|
104142
|
+
* MachineAccountMappingsV2026Api - functional programming interface
|
|
104143
|
+
* @export
|
|
104144
|
+
*/
|
|
104145
|
+
export const MachineAccountMappingsV2026ApiFp = function(configuration?: Configuration) {
|
|
104146
|
+
const localVarAxiosParamCreator = MachineAccountMappingsV2026ApiAxiosParamCreator(configuration)
|
|
104147
|
+
return {
|
|
104148
|
+
/**
|
|
104149
|
+
* 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.
|
|
104150
|
+
* @summary Create machine account mappings
|
|
104151
|
+
* @param {string} id Source ID.
|
|
104152
|
+
* @param {AttributeMappingsV2026} attributeMappingsV2026
|
|
104153
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
104154
|
+
* @throws {RequiredError}
|
|
104155
|
+
*/
|
|
104156
|
+
async createMachineAccountMappings(id: string, attributeMappingsV2026: AttributeMappingsV2026, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AttributeMappingsV2026>>> {
|
|
104157
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createMachineAccountMappings(id, attributeMappingsV2026, axiosOptions);
|
|
104158
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
104159
|
+
const localVarOperationServerBasePath = operationServerMap['MachineAccountMappingsV2026Api.createMachineAccountMappings']?.[localVarOperationServerIndex]?.url;
|
|
104160
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
104161
|
+
},
|
|
104162
|
+
/**
|
|
104163
|
+
* 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.
|
|
104164
|
+
* @summary Delete source\'s machine account mappings
|
|
104165
|
+
* @param {string} id source ID.
|
|
104166
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
104167
|
+
* @throws {RequiredError}
|
|
104168
|
+
*/
|
|
104169
|
+
async deleteMachineAccountMappings(id: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
104170
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteMachineAccountMappings(id, axiosOptions);
|
|
104171
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
104172
|
+
const localVarOperationServerBasePath = operationServerMap['MachineAccountMappingsV2026Api.deleteMachineAccountMappings']?.[localVarOperationServerIndex]?.url;
|
|
104173
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
104174
|
+
},
|
|
104175
|
+
/**
|
|
104176
|
+
* Retrieves Machine account mappings for a specified source using Source ID.
|
|
104177
|
+
* @summary Machine account mapping for source
|
|
104178
|
+
* @param {string} id Source ID
|
|
104179
|
+
* @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.
|
|
104180
|
+
* @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.
|
|
104181
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
104182
|
+
* @throws {RequiredError}
|
|
104183
|
+
*/
|
|
104184
|
+
async listMachineAccountMappings(id: string, limit?: number, offset?: number, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AttributeMappingsV2026>>> {
|
|
104185
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listMachineAccountMappings(id, limit, offset, axiosOptions);
|
|
104186
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
104187
|
+
const localVarOperationServerBasePath = operationServerMap['MachineAccountMappingsV2026Api.listMachineAccountMappings']?.[localVarOperationServerIndex]?.url;
|
|
104188
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
104189
|
+
},
|
|
104190
|
+
/**
|
|
104191
|
+
* 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.
|
|
104192
|
+
* @summary Update source\'s machine account mappings
|
|
104193
|
+
* @param {string} id Source ID.
|
|
104194
|
+
* @param {AttributeMappingsV2026} attributeMappingsV2026
|
|
104195
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
104196
|
+
* @throws {RequiredError}
|
|
104197
|
+
*/
|
|
104198
|
+
async setMachineAccountMappings(id: string, attributeMappingsV2026: AttributeMappingsV2026, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AttributeMappingsV2026>>> {
|
|
104199
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.setMachineAccountMappings(id, attributeMappingsV2026, axiosOptions);
|
|
104200
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
104201
|
+
const localVarOperationServerBasePath = operationServerMap['MachineAccountMappingsV2026Api.setMachineAccountMappings']?.[localVarOperationServerIndex]?.url;
|
|
104202
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
104203
|
+
},
|
|
104204
|
+
}
|
|
104205
|
+
};
|
|
104206
|
+
|
|
104207
|
+
/**
|
|
104208
|
+
* MachineAccountMappingsV2026Api - factory interface
|
|
104209
|
+
* @export
|
|
104210
|
+
*/
|
|
104211
|
+
export const MachineAccountMappingsV2026ApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
104212
|
+
const localVarFp = MachineAccountMappingsV2026ApiFp(configuration)
|
|
104213
|
+
return {
|
|
104214
|
+
/**
|
|
104215
|
+
* 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.
|
|
104216
|
+
* @summary Create machine account mappings
|
|
104217
|
+
* @param {MachineAccountMappingsV2026ApiCreateMachineAccountMappingsRequest} requestParameters Request parameters.
|
|
104218
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
104219
|
+
* @throws {RequiredError}
|
|
104220
|
+
*/
|
|
104221
|
+
createMachineAccountMappings(requestParameters: MachineAccountMappingsV2026ApiCreateMachineAccountMappingsRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<AttributeMappingsV2026>> {
|
|
104222
|
+
return localVarFp.createMachineAccountMappings(requestParameters.id, requestParameters.attributeMappingsV2026, axiosOptions).then((request) => request(axios, basePath));
|
|
104223
|
+
},
|
|
104224
|
+
/**
|
|
104225
|
+
* 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.
|
|
104226
|
+
* @summary Delete source\'s machine account mappings
|
|
104227
|
+
* @param {MachineAccountMappingsV2026ApiDeleteMachineAccountMappingsRequest} requestParameters Request parameters.
|
|
104228
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
104229
|
+
* @throws {RequiredError}
|
|
104230
|
+
*/
|
|
104231
|
+
deleteMachineAccountMappings(requestParameters: MachineAccountMappingsV2026ApiDeleteMachineAccountMappingsRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
104232
|
+
return localVarFp.deleteMachineAccountMappings(requestParameters.id, axiosOptions).then((request) => request(axios, basePath));
|
|
104233
|
+
},
|
|
104234
|
+
/**
|
|
104235
|
+
* Retrieves Machine account mappings for a specified source using Source ID.
|
|
104236
|
+
* @summary Machine account mapping for source
|
|
104237
|
+
* @param {MachineAccountMappingsV2026ApiListMachineAccountMappingsRequest} requestParameters Request parameters.
|
|
104238
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
104239
|
+
* @throws {RequiredError}
|
|
104240
|
+
*/
|
|
104241
|
+
listMachineAccountMappings(requestParameters: MachineAccountMappingsV2026ApiListMachineAccountMappingsRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<AttributeMappingsV2026>> {
|
|
104242
|
+
return localVarFp.listMachineAccountMappings(requestParameters.id, requestParameters.limit, requestParameters.offset, axiosOptions).then((request) => request(axios, basePath));
|
|
104243
|
+
},
|
|
104244
|
+
/**
|
|
104245
|
+
* 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.
|
|
104246
|
+
* @summary Update source\'s machine account mappings
|
|
104247
|
+
* @param {MachineAccountMappingsV2026ApiSetMachineAccountMappingsRequest} requestParameters Request parameters.
|
|
104248
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
104249
|
+
* @throws {RequiredError}
|
|
104250
|
+
*/
|
|
104251
|
+
setMachineAccountMappings(requestParameters: MachineAccountMappingsV2026ApiSetMachineAccountMappingsRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<AttributeMappingsV2026>> {
|
|
104252
|
+
return localVarFp.setMachineAccountMappings(requestParameters.id, requestParameters.attributeMappingsV2026, axiosOptions).then((request) => request(axios, basePath));
|
|
104253
|
+
},
|
|
104254
|
+
};
|
|
104255
|
+
};
|
|
104256
|
+
|
|
104257
|
+
/**
|
|
104258
|
+
* Request parameters for createMachineAccountMappings operation in MachineAccountMappingsV2026Api.
|
|
104259
|
+
* @export
|
|
104260
|
+
* @interface MachineAccountMappingsV2026ApiCreateMachineAccountMappingsRequest
|
|
104261
|
+
*/
|
|
104262
|
+
export interface MachineAccountMappingsV2026ApiCreateMachineAccountMappingsRequest {
|
|
104263
|
+
/**
|
|
104264
|
+
* Source ID.
|
|
104265
|
+
* @type {string}
|
|
104266
|
+
* @memberof MachineAccountMappingsV2026ApiCreateMachineAccountMappings
|
|
104267
|
+
*/
|
|
104268
|
+
readonly id: string
|
|
104269
|
+
|
|
104270
|
+
/**
|
|
104271
|
+
*
|
|
104272
|
+
* @type {AttributeMappingsV2026}
|
|
104273
|
+
* @memberof MachineAccountMappingsV2026ApiCreateMachineAccountMappings
|
|
104274
|
+
*/
|
|
104275
|
+
readonly attributeMappingsV2026: AttributeMappingsV2026
|
|
104276
|
+
}
|
|
104277
|
+
|
|
104278
|
+
/**
|
|
104279
|
+
* Request parameters for deleteMachineAccountMappings operation in MachineAccountMappingsV2026Api.
|
|
104280
|
+
* @export
|
|
104281
|
+
* @interface MachineAccountMappingsV2026ApiDeleteMachineAccountMappingsRequest
|
|
104282
|
+
*/
|
|
104283
|
+
export interface MachineAccountMappingsV2026ApiDeleteMachineAccountMappingsRequest {
|
|
104284
|
+
/**
|
|
104285
|
+
* source ID.
|
|
104286
|
+
* @type {string}
|
|
104287
|
+
* @memberof MachineAccountMappingsV2026ApiDeleteMachineAccountMappings
|
|
104288
|
+
*/
|
|
104289
|
+
readonly id: string
|
|
104290
|
+
}
|
|
104291
|
+
|
|
104292
|
+
/**
|
|
104293
|
+
* Request parameters for listMachineAccountMappings operation in MachineAccountMappingsV2026Api.
|
|
104294
|
+
* @export
|
|
104295
|
+
* @interface MachineAccountMappingsV2026ApiListMachineAccountMappingsRequest
|
|
104296
|
+
*/
|
|
104297
|
+
export interface MachineAccountMappingsV2026ApiListMachineAccountMappingsRequest {
|
|
104298
|
+
/**
|
|
104299
|
+
* Source ID
|
|
104300
|
+
* @type {string}
|
|
104301
|
+
* @memberof MachineAccountMappingsV2026ApiListMachineAccountMappings
|
|
104302
|
+
*/
|
|
104303
|
+
readonly id: string
|
|
104304
|
+
|
|
104305
|
+
/**
|
|
104306
|
+
* Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
104307
|
+
* @type {number}
|
|
104308
|
+
* @memberof MachineAccountMappingsV2026ApiListMachineAccountMappings
|
|
104309
|
+
*/
|
|
104310
|
+
readonly limit?: number
|
|
104311
|
+
|
|
104312
|
+
/**
|
|
104313
|
+
* 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.
|
|
104314
|
+
* @type {number}
|
|
104315
|
+
* @memberof MachineAccountMappingsV2026ApiListMachineAccountMappings
|
|
104316
|
+
*/
|
|
104317
|
+
readonly offset?: number
|
|
104318
|
+
}
|
|
104319
|
+
|
|
104320
|
+
/**
|
|
104321
|
+
* Request parameters for setMachineAccountMappings operation in MachineAccountMappingsV2026Api.
|
|
104322
|
+
* @export
|
|
104323
|
+
* @interface MachineAccountMappingsV2026ApiSetMachineAccountMappingsRequest
|
|
104324
|
+
*/
|
|
104325
|
+
export interface MachineAccountMappingsV2026ApiSetMachineAccountMappingsRequest {
|
|
104326
|
+
/**
|
|
104327
|
+
* Source ID.
|
|
104328
|
+
* @type {string}
|
|
104329
|
+
* @memberof MachineAccountMappingsV2026ApiSetMachineAccountMappings
|
|
104330
|
+
*/
|
|
104331
|
+
readonly id: string
|
|
104332
|
+
|
|
104333
|
+
/**
|
|
104334
|
+
*
|
|
104335
|
+
* @type {AttributeMappingsV2026}
|
|
104336
|
+
* @memberof MachineAccountMappingsV2026ApiSetMachineAccountMappings
|
|
104337
|
+
*/
|
|
104338
|
+
readonly attributeMappingsV2026: AttributeMappingsV2026
|
|
104339
|
+
}
|
|
104340
|
+
|
|
104341
|
+
/**
|
|
104342
|
+
* MachineAccountMappingsV2026Api - object-oriented interface
|
|
104343
|
+
* @export
|
|
104344
|
+
* @class MachineAccountMappingsV2026Api
|
|
104345
|
+
* @extends {BaseAPI}
|
|
104346
|
+
*/
|
|
104347
|
+
export class MachineAccountMappingsV2026Api extends BaseAPI {
|
|
104348
|
+
/**
|
|
104349
|
+
* 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.
|
|
104350
|
+
* @summary Create machine account mappings
|
|
104351
|
+
* @param {MachineAccountMappingsV2026ApiCreateMachineAccountMappingsRequest} requestParameters Request parameters.
|
|
104352
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
104353
|
+
* @throws {RequiredError}
|
|
104354
|
+
* @memberof MachineAccountMappingsV2026Api
|
|
104355
|
+
*/
|
|
104356
|
+
public createMachineAccountMappings(requestParameters: MachineAccountMappingsV2026ApiCreateMachineAccountMappingsRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
104357
|
+
return MachineAccountMappingsV2026ApiFp(this.configuration).createMachineAccountMappings(requestParameters.id, requestParameters.attributeMappingsV2026, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
104358
|
+
}
|
|
104359
|
+
|
|
104360
|
+
/**
|
|
104361
|
+
* 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.
|
|
104362
|
+
* @summary Delete source\'s machine account mappings
|
|
104363
|
+
* @param {MachineAccountMappingsV2026ApiDeleteMachineAccountMappingsRequest} requestParameters Request parameters.
|
|
104364
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
104365
|
+
* @throws {RequiredError}
|
|
104366
|
+
* @memberof MachineAccountMappingsV2026Api
|
|
104367
|
+
*/
|
|
104368
|
+
public deleteMachineAccountMappings(requestParameters: MachineAccountMappingsV2026ApiDeleteMachineAccountMappingsRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
104369
|
+
return MachineAccountMappingsV2026ApiFp(this.configuration).deleteMachineAccountMappings(requestParameters.id, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
104370
|
+
}
|
|
104371
|
+
|
|
104372
|
+
/**
|
|
104373
|
+
* Retrieves Machine account mappings for a specified source using Source ID.
|
|
104374
|
+
* @summary Machine account mapping for source
|
|
104375
|
+
* @param {MachineAccountMappingsV2026ApiListMachineAccountMappingsRequest} requestParameters Request parameters.
|
|
104376
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
104377
|
+
* @throws {RequiredError}
|
|
104378
|
+
* @memberof MachineAccountMappingsV2026Api
|
|
104379
|
+
*/
|
|
104380
|
+
public listMachineAccountMappings(requestParameters: MachineAccountMappingsV2026ApiListMachineAccountMappingsRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
104381
|
+
return MachineAccountMappingsV2026ApiFp(this.configuration).listMachineAccountMappings(requestParameters.id, requestParameters.limit, requestParameters.offset, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
104382
|
+
}
|
|
104383
|
+
|
|
104384
|
+
/**
|
|
104385
|
+
* 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.
|
|
104386
|
+
* @summary Update source\'s machine account mappings
|
|
104387
|
+
* @param {MachineAccountMappingsV2026ApiSetMachineAccountMappingsRequest} requestParameters Request parameters.
|
|
104388
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
104389
|
+
* @throws {RequiredError}
|
|
104390
|
+
* @memberof MachineAccountMappingsV2026Api
|
|
104391
|
+
*/
|
|
104392
|
+
public setMachineAccountMappings(requestParameters: MachineAccountMappingsV2026ApiSetMachineAccountMappingsRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
104393
|
+
return MachineAccountMappingsV2026ApiFp(this.configuration).setMachineAccountMappings(requestParameters.id, requestParameters.attributeMappingsV2026, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
104394
|
+
}
|
|
104395
|
+
}
|
|
104396
|
+
|
|
104397
|
+
|
|
104398
|
+
|
|
104399
|
+
/**
|
|
104400
|
+
* MachineAccountSubtypesV2026Api - axios parameter creator
|
|
104401
|
+
* @export
|
|
104402
|
+
*/
|
|
104403
|
+
export const MachineAccountSubtypesV2026ApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
104404
|
+
return {
|
|
104405
|
+
/**
|
|
104406
|
+
* 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.
|
|
104407
|
+
* @summary Delete subtype by ID
|
|
104408
|
+
* @param {string} subtypeId The ID of the subtype.
|
|
104409
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
104410
|
+
* @throws {RequiredError}
|
|
104411
|
+
*/
|
|
104412
|
+
deleteMachineAccountSubtype: async (subtypeId: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
104413
|
+
// verify required parameter 'subtypeId' is not null or undefined
|
|
104414
|
+
assertParamExists('deleteMachineAccountSubtype', 'subtypeId', subtypeId)
|
|
104415
|
+
const localVarPath = `/source-subtypes/{subtypeId}`
|
|
104416
|
+
.replace(`{${"subtypeId"}}`, encodeURIComponent(String(subtypeId)));
|
|
104417
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
104418
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
104419
|
+
let baseOptions;
|
|
104420
|
+
if (configuration) {
|
|
104421
|
+
baseOptions = configuration.baseOptions;
|
|
104422
|
+
}
|
|
104423
|
+
|
|
104424
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...axiosOptions};
|
|
104425
|
+
const localVarHeaderParameter = {} as any;
|
|
104426
|
+
const localVarQueryParameter = {} as any;
|
|
104427
|
+
|
|
104428
|
+
// authentication userAuth required
|
|
104429
|
+
// oauth required
|
|
104430
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
104431
|
+
|
|
104432
|
+
// authentication userAuth required
|
|
104433
|
+
// oauth required
|
|
104434
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
104435
|
+
|
|
104436
|
+
// authentication applicationAuth required
|
|
104437
|
+
// oauth required
|
|
104438
|
+
await setOAuthToObject(localVarHeaderParameter, "applicationAuth", [], configuration)
|
|
104439
|
+
|
|
104440
|
+
|
|
104441
|
+
|
|
104442
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
104443
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
104444
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
104445
|
+
|
|
104446
|
+
return {
|
|
104447
|
+
url: toPathString(localVarUrlObj),
|
|
104448
|
+
axiosOptions: localVarRequestOptions,
|
|
104449
|
+
};
|
|
104450
|
+
},
|
|
104451
|
+
/**
|
|
104452
|
+
* Get a machine account subtype by subtype ID.
|
|
104453
|
+
* @summary Get subtype by ID
|
|
104454
|
+
* @param {string} subtypeId The ID of the subtype.
|
|
104455
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
104456
|
+
* @throws {RequiredError}
|
|
104457
|
+
*/
|
|
104458
|
+
getSourceSubtypeById: async (subtypeId: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
104459
|
+
// verify required parameter 'subtypeId' is not null or undefined
|
|
104460
|
+
assertParamExists('getSourceSubtypeById', 'subtypeId', subtypeId)
|
|
104461
|
+
const localVarPath = `/source-subtypes/{subtypeId}`
|
|
104462
|
+
.replace(`{${"subtypeId"}}`, encodeURIComponent(String(subtypeId)));
|
|
104463
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
104464
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
104465
|
+
let baseOptions;
|
|
104466
|
+
if (configuration) {
|
|
104467
|
+
baseOptions = configuration.baseOptions;
|
|
104468
|
+
}
|
|
104469
|
+
|
|
104470
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
|
|
104471
|
+
const localVarHeaderParameter = {} as any;
|
|
104472
|
+
const localVarQueryParameter = {} as any;
|
|
104473
|
+
|
|
104474
|
+
// authentication userAuth required
|
|
104475
|
+
// oauth required
|
|
104476
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
104477
|
+
|
|
104478
|
+
// authentication userAuth required
|
|
104479
|
+
// oauth required
|
|
104480
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
104481
|
+
|
|
104482
|
+
// authentication applicationAuth required
|
|
104483
|
+
// oauth required
|
|
104484
|
+
await setOAuthToObject(localVarHeaderParameter, "applicationAuth", [], configuration)
|
|
104485
|
+
|
|
103368
104486
|
|
|
103369
104487
|
|
|
103370
104488
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -103377,20 +104495,20 @@ export const MachineAccountMappingsV2026ApiAxiosParamCreator = function (configu
|
|
|
103377
104495
|
};
|
|
103378
104496
|
},
|
|
103379
104497
|
/**
|
|
103380
|
-
*
|
|
103381
|
-
* @summary
|
|
103382
|
-
* @param {string}
|
|
103383
|
-
* @param {
|
|
104498
|
+
* Update fields of a machine account subtype by subtype ID. Patchable fields only include: `displayName`, `description`.
|
|
104499
|
+
* @summary Patch subtype by ID
|
|
104500
|
+
* @param {string} subtypeId The ID of the subtype.
|
|
104501
|
+
* @param {Array<object>} requestBody A JSON of updated values [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
|
103384
104502
|
* @param {*} [axiosOptions] Override http request option.
|
|
103385
104503
|
* @throws {RequiredError}
|
|
103386
104504
|
*/
|
|
103387
|
-
|
|
103388
|
-
// verify required parameter '
|
|
103389
|
-
assertParamExists('
|
|
103390
|
-
// verify required parameter '
|
|
103391
|
-
assertParamExists('
|
|
103392
|
-
const localVarPath = `/
|
|
103393
|
-
.replace(`{${"
|
|
104505
|
+
patchMachineAccountSubtype: async (subtypeId: string, requestBody: Array<object>, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
104506
|
+
// verify required parameter 'subtypeId' is not null or undefined
|
|
104507
|
+
assertParamExists('patchMachineAccountSubtype', 'subtypeId', subtypeId)
|
|
104508
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
104509
|
+
assertParamExists('patchMachineAccountSubtype', 'requestBody', requestBody)
|
|
104510
|
+
const localVarPath = `/source-subtypes/{subtypeId}`
|
|
104511
|
+
.replace(`{${"subtypeId"}}`, encodeURIComponent(String(subtypeId)));
|
|
103394
104512
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
103395
104513
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
103396
104514
|
let baseOptions;
|
|
@@ -103398,7 +104516,7 @@ export const MachineAccountMappingsV2026ApiAxiosParamCreator = function (configu
|
|
|
103398
104516
|
baseOptions = configuration.baseOptions;
|
|
103399
104517
|
}
|
|
103400
104518
|
|
|
103401
|
-
const localVarRequestOptions = { method: '
|
|
104519
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...axiosOptions};
|
|
103402
104520
|
const localVarHeaderParameter = {} as any;
|
|
103403
104521
|
const localVarQueryParameter = {} as any;
|
|
103404
104522
|
|
|
@@ -103416,12 +104534,12 @@ export const MachineAccountMappingsV2026ApiAxiosParamCreator = function (configu
|
|
|
103416
104534
|
|
|
103417
104535
|
|
|
103418
104536
|
|
|
103419
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
104537
|
+
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
103420
104538
|
|
|
103421
104539
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
103422
104540
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
103423
104541
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
103424
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
104542
|
+
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
|
|
103425
104543
|
|
|
103426
104544
|
return {
|
|
103427
104545
|
url: toPathString(localVarUrlObj),
|
|
@@ -103432,258 +104550,185 @@ export const MachineAccountMappingsV2026ApiAxiosParamCreator = function (configu
|
|
|
103432
104550
|
};
|
|
103433
104551
|
|
|
103434
104552
|
/**
|
|
103435
|
-
*
|
|
104553
|
+
* MachineAccountSubtypesV2026Api - functional programming interface
|
|
103436
104554
|
* @export
|
|
103437
104555
|
*/
|
|
103438
|
-
export const
|
|
103439
|
-
const localVarAxiosParamCreator =
|
|
104556
|
+
export const MachineAccountSubtypesV2026ApiFp = function(configuration?: Configuration) {
|
|
104557
|
+
const localVarAxiosParamCreator = MachineAccountSubtypesV2026ApiAxiosParamCreator(configuration)
|
|
103440
104558
|
return {
|
|
103441
104559
|
/**
|
|
103442
|
-
*
|
|
103443
|
-
* @summary
|
|
103444
|
-
* @param {string}
|
|
103445
|
-
* @param {AttributeMappingsV2026} attributeMappingsV2026
|
|
104560
|
+
* 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.
|
|
104561
|
+
* @summary Delete subtype by ID
|
|
104562
|
+
* @param {string} subtypeId The ID of the subtype.
|
|
103446
104563
|
* @param {*} [axiosOptions] Override http request option.
|
|
103447
104564
|
* @throws {RequiredError}
|
|
103448
104565
|
*/
|
|
103449
|
-
async
|
|
103450
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
104566
|
+
async deleteMachineAccountSubtype(subtypeId: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
104567
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteMachineAccountSubtype(subtypeId, axiosOptions);
|
|
103451
104568
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
103452
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
104569
|
+
const localVarOperationServerBasePath = operationServerMap['MachineAccountSubtypesV2026Api.deleteMachineAccountSubtype']?.[localVarOperationServerIndex]?.url;
|
|
103453
104570
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
103454
104571
|
},
|
|
103455
104572
|
/**
|
|
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.
|
|
104573
|
+
* Get a machine account subtype by subtype ID.
|
|
104574
|
+
* @summary Get subtype by ID
|
|
104575
|
+
* @param {string} subtypeId The ID of the subtype.
|
|
103474
104576
|
* @param {*} [axiosOptions] Override http request option.
|
|
103475
104577
|
* @throws {RequiredError}
|
|
103476
104578
|
*/
|
|
103477
|
-
async
|
|
103478
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
104579
|
+
async getSourceSubtypeById(subtypeId: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SourceSubtypeWithSourceV2026>> {
|
|
104580
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSourceSubtypeById(subtypeId, axiosOptions);
|
|
103479
104581
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
103480
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
104582
|
+
const localVarOperationServerBasePath = operationServerMap['MachineAccountSubtypesV2026Api.getSourceSubtypeById']?.[localVarOperationServerIndex]?.url;
|
|
103481
104583
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
103482
104584
|
},
|
|
103483
104585
|
/**
|
|
103484
|
-
*
|
|
103485
|
-
* @summary
|
|
103486
|
-
* @param {string}
|
|
103487
|
-
* @param {
|
|
104586
|
+
* Update fields of a machine account subtype by subtype ID. Patchable fields only include: `displayName`, `description`.
|
|
104587
|
+
* @summary Patch subtype by ID
|
|
104588
|
+
* @param {string} subtypeId The ID of the subtype.
|
|
104589
|
+
* @param {Array<object>} requestBody A JSON of updated values [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
|
103488
104590
|
* @param {*} [axiosOptions] Override http request option.
|
|
103489
104591
|
* @throws {RequiredError}
|
|
103490
104592
|
*/
|
|
103491
|
-
async
|
|
103492
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
104593
|
+
async patchMachineAccountSubtype(subtypeId: string, requestBody: Array<object>, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SourceSubtypeWithSourceV2026>> {
|
|
104594
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.patchMachineAccountSubtype(subtypeId, requestBody, axiosOptions);
|
|
103493
104595
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
103494
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
104596
|
+
const localVarOperationServerBasePath = operationServerMap['MachineAccountSubtypesV2026Api.patchMachineAccountSubtype']?.[localVarOperationServerIndex]?.url;
|
|
103495
104597
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
103496
104598
|
},
|
|
103497
104599
|
}
|
|
103498
104600
|
};
|
|
103499
104601
|
|
|
103500
104602
|
/**
|
|
103501
|
-
*
|
|
104603
|
+
* MachineAccountSubtypesV2026Api - factory interface
|
|
103502
104604
|
* @export
|
|
103503
104605
|
*/
|
|
103504
|
-
export const
|
|
103505
|
-
const localVarFp =
|
|
104606
|
+
export const MachineAccountSubtypesV2026ApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
104607
|
+
const localVarFp = MachineAccountSubtypesV2026ApiFp(configuration)
|
|
103506
104608
|
return {
|
|
103507
104609
|
/**
|
|
103508
|
-
*
|
|
103509
|
-
* @summary
|
|
103510
|
-
* @param {
|
|
104610
|
+
* 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.
|
|
104611
|
+
* @summary Delete subtype by ID
|
|
104612
|
+
* @param {MachineAccountSubtypesV2026ApiDeleteMachineAccountSubtypeRequest} requestParameters Request parameters.
|
|
103511
104613
|
* @param {*} [axiosOptions] Override http request option.
|
|
103512
104614
|
* @throws {RequiredError}
|
|
103513
104615
|
*/
|
|
103514
|
-
|
|
103515
|
-
return localVarFp.
|
|
104616
|
+
deleteMachineAccountSubtype(requestParameters: MachineAccountSubtypesV2026ApiDeleteMachineAccountSubtypeRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
104617
|
+
return localVarFp.deleteMachineAccountSubtype(requestParameters.subtypeId, axiosOptions).then((request) => request(axios, basePath));
|
|
103516
104618
|
},
|
|
103517
104619
|
/**
|
|
103518
|
-
*
|
|
103519
|
-
* @summary
|
|
103520
|
-
* @param {
|
|
104620
|
+
* Get a machine account subtype by subtype ID.
|
|
104621
|
+
* @summary Get subtype by ID
|
|
104622
|
+
* @param {MachineAccountSubtypesV2026ApiGetSourceSubtypeByIdRequest} requestParameters Request parameters.
|
|
103521
104623
|
* @param {*} [axiosOptions] Override http request option.
|
|
103522
104624
|
* @throws {RequiredError}
|
|
103523
104625
|
*/
|
|
103524
|
-
|
|
103525
|
-
return localVarFp.
|
|
104626
|
+
getSourceSubtypeById(requestParameters: MachineAccountSubtypesV2026ApiGetSourceSubtypeByIdRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<SourceSubtypeWithSourceV2026> {
|
|
104627
|
+
return localVarFp.getSourceSubtypeById(requestParameters.subtypeId, axiosOptions).then((request) => request(axios, basePath));
|
|
103526
104628
|
},
|
|
103527
104629
|
/**
|
|
103528
|
-
*
|
|
103529
|
-
* @summary
|
|
103530
|
-
* @param {
|
|
104630
|
+
* Update fields of a machine account subtype by subtype ID. Patchable fields only include: `displayName`, `description`.
|
|
104631
|
+
* @summary Patch subtype by ID
|
|
104632
|
+
* @param {MachineAccountSubtypesV2026ApiPatchMachineAccountSubtypeRequest} requestParameters Request parameters.
|
|
103531
104633
|
* @param {*} [axiosOptions] Override http request option.
|
|
103532
104634
|
* @throws {RequiredError}
|
|
103533
104635
|
*/
|
|
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));
|
|
104636
|
+
patchMachineAccountSubtype(requestParameters: MachineAccountSubtypesV2026ApiPatchMachineAccountSubtypeRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<SourceSubtypeWithSourceV2026> {
|
|
104637
|
+
return localVarFp.patchMachineAccountSubtype(requestParameters.subtypeId, requestParameters.requestBody, axiosOptions).then((request) => request(axios, basePath));
|
|
103546
104638
|
},
|
|
103547
104639
|
};
|
|
103548
104640
|
};
|
|
103549
104641
|
|
|
103550
104642
|
/**
|
|
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.
|
|
104643
|
+
* Request parameters for deleteMachineAccountSubtype operation in MachineAccountSubtypesV2026Api.
|
|
103573
104644
|
* @export
|
|
103574
|
-
* @interface
|
|
104645
|
+
* @interface MachineAccountSubtypesV2026ApiDeleteMachineAccountSubtypeRequest
|
|
103575
104646
|
*/
|
|
103576
|
-
export interface
|
|
104647
|
+
export interface MachineAccountSubtypesV2026ApiDeleteMachineAccountSubtypeRequest {
|
|
103577
104648
|
/**
|
|
103578
|
-
*
|
|
104649
|
+
* The ID of the subtype.
|
|
103579
104650
|
* @type {string}
|
|
103580
|
-
* @memberof
|
|
104651
|
+
* @memberof MachineAccountSubtypesV2026ApiDeleteMachineAccountSubtype
|
|
103581
104652
|
*/
|
|
103582
|
-
readonly
|
|
104653
|
+
readonly subtypeId: string
|
|
103583
104654
|
}
|
|
103584
104655
|
|
|
103585
104656
|
/**
|
|
103586
|
-
* Request parameters for
|
|
104657
|
+
* Request parameters for getSourceSubtypeById operation in MachineAccountSubtypesV2026Api.
|
|
103587
104658
|
* @export
|
|
103588
|
-
* @interface
|
|
104659
|
+
* @interface MachineAccountSubtypesV2026ApiGetSourceSubtypeByIdRequest
|
|
103589
104660
|
*/
|
|
103590
|
-
export interface
|
|
104661
|
+
export interface MachineAccountSubtypesV2026ApiGetSourceSubtypeByIdRequest {
|
|
103591
104662
|
/**
|
|
103592
|
-
*
|
|
104663
|
+
* The ID of the subtype.
|
|
103593
104664
|
* @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
|
|
104665
|
+
* @memberof MachineAccountSubtypesV2026ApiGetSourceSubtypeById
|
|
103609
104666
|
*/
|
|
103610
|
-
readonly
|
|
104667
|
+
readonly subtypeId: string
|
|
103611
104668
|
}
|
|
103612
104669
|
|
|
103613
104670
|
/**
|
|
103614
|
-
* Request parameters for
|
|
104671
|
+
* Request parameters for patchMachineAccountSubtype operation in MachineAccountSubtypesV2026Api.
|
|
103615
104672
|
* @export
|
|
103616
|
-
* @interface
|
|
104673
|
+
* @interface MachineAccountSubtypesV2026ApiPatchMachineAccountSubtypeRequest
|
|
103617
104674
|
*/
|
|
103618
|
-
export interface
|
|
104675
|
+
export interface MachineAccountSubtypesV2026ApiPatchMachineAccountSubtypeRequest {
|
|
103619
104676
|
/**
|
|
103620
|
-
*
|
|
104677
|
+
* The ID of the subtype.
|
|
103621
104678
|
* @type {string}
|
|
103622
|
-
* @memberof
|
|
104679
|
+
* @memberof MachineAccountSubtypesV2026ApiPatchMachineAccountSubtype
|
|
103623
104680
|
*/
|
|
103624
|
-
readonly
|
|
104681
|
+
readonly subtypeId: string
|
|
103625
104682
|
|
|
103626
104683
|
/**
|
|
103627
|
-
*
|
|
103628
|
-
* @type {
|
|
103629
|
-
* @memberof
|
|
104684
|
+
* A JSON of updated values [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
|
104685
|
+
* @type {Array<object>}
|
|
104686
|
+
* @memberof MachineAccountSubtypesV2026ApiPatchMachineAccountSubtype
|
|
103630
104687
|
*/
|
|
103631
|
-
readonly
|
|
104688
|
+
readonly requestBody: Array<object>
|
|
103632
104689
|
}
|
|
103633
104690
|
|
|
103634
104691
|
/**
|
|
103635
|
-
*
|
|
104692
|
+
* MachineAccountSubtypesV2026Api - object-oriented interface
|
|
103636
104693
|
* @export
|
|
103637
|
-
* @class
|
|
104694
|
+
* @class MachineAccountSubtypesV2026Api
|
|
103638
104695
|
* @extends {BaseAPI}
|
|
103639
104696
|
*/
|
|
103640
|
-
export class
|
|
104697
|
+
export class MachineAccountSubtypesV2026Api extends BaseAPI {
|
|
103641
104698
|
/**
|
|
103642
|
-
*
|
|
103643
|
-
* @summary
|
|
103644
|
-
* @param {
|
|
104699
|
+
* 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.
|
|
104700
|
+
* @summary Delete subtype by ID
|
|
104701
|
+
* @param {MachineAccountSubtypesV2026ApiDeleteMachineAccountSubtypeRequest} requestParameters Request parameters.
|
|
103645
104702
|
* @param {*} [axiosOptions] Override http request option.
|
|
103646
104703
|
* @throws {RequiredError}
|
|
103647
|
-
* @memberof
|
|
104704
|
+
* @memberof MachineAccountSubtypesV2026Api
|
|
103648
104705
|
*/
|
|
103649
|
-
public
|
|
103650
|
-
return
|
|
104706
|
+
public deleteMachineAccountSubtype(requestParameters: MachineAccountSubtypesV2026ApiDeleteMachineAccountSubtypeRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
104707
|
+
return MachineAccountSubtypesV2026ApiFp(this.configuration).deleteMachineAccountSubtype(requestParameters.subtypeId, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
103651
104708
|
}
|
|
103652
104709
|
|
|
103653
104710
|
/**
|
|
103654
|
-
*
|
|
103655
|
-
* @summary
|
|
103656
|
-
* @param {
|
|
104711
|
+
* Get a machine account subtype by subtype ID.
|
|
104712
|
+
* @summary Get subtype by ID
|
|
104713
|
+
* @param {MachineAccountSubtypesV2026ApiGetSourceSubtypeByIdRequest} requestParameters Request parameters.
|
|
103657
104714
|
* @param {*} [axiosOptions] Override http request option.
|
|
103658
104715
|
* @throws {RequiredError}
|
|
103659
|
-
* @memberof
|
|
104716
|
+
* @memberof MachineAccountSubtypesV2026Api
|
|
103660
104717
|
*/
|
|
103661
|
-
public
|
|
103662
|
-
return
|
|
104718
|
+
public getSourceSubtypeById(requestParameters: MachineAccountSubtypesV2026ApiGetSourceSubtypeByIdRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
104719
|
+
return MachineAccountSubtypesV2026ApiFp(this.configuration).getSourceSubtypeById(requestParameters.subtypeId, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
103663
104720
|
}
|
|
103664
104721
|
|
|
103665
104722
|
/**
|
|
103666
|
-
*
|
|
103667
|
-
* @summary
|
|
103668
|
-
* @param {
|
|
104723
|
+
* Update fields of a machine account subtype by subtype ID. Patchable fields only include: `displayName`, `description`.
|
|
104724
|
+
* @summary Patch subtype by ID
|
|
104725
|
+
* @param {MachineAccountSubtypesV2026ApiPatchMachineAccountSubtypeRequest} requestParameters Request parameters.
|
|
103669
104726
|
* @param {*} [axiosOptions] Override http request option.
|
|
103670
104727
|
* @throws {RequiredError}
|
|
103671
|
-
* @memberof
|
|
104728
|
+
* @memberof MachineAccountSubtypesV2026Api
|
|
103672
104729
|
*/
|
|
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));
|
|
104730
|
+
public patchMachineAccountSubtype(requestParameters: MachineAccountSubtypesV2026ApiPatchMachineAccountSubtypeRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
104731
|
+
return MachineAccountSubtypesV2026ApiFp(this.configuration).patchMachineAccountSubtype(requestParameters.subtypeId, requestParameters.requestBody, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
103687
104732
|
}
|
|
103688
104733
|
}
|
|
103689
104734
|
|
|
@@ -103764,11 +104809,11 @@ export const MachineAccountsV2026ApiAxiosParamCreator = function (configuration?
|
|
|
103764
104809
|
* @param {*} [axiosOptions] Override http request option.
|
|
103765
104810
|
* @throws {RequiredError}
|
|
103766
104811
|
*/
|
|
103767
|
-
|
|
104812
|
+
deleteMachineAccountSubtypeByTechnicalName: async (sourceId: string, technicalName: string, xSailPointExperimental?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
103768
104813
|
// verify required parameter 'sourceId' is not null or undefined
|
|
103769
|
-
assertParamExists('
|
|
104814
|
+
assertParamExists('deleteMachineAccountSubtypeByTechnicalName', 'sourceId', sourceId)
|
|
103770
104815
|
// verify required parameter 'technicalName' is not null or undefined
|
|
103771
|
-
assertParamExists('
|
|
104816
|
+
assertParamExists('deleteMachineAccountSubtypeByTechnicalName', 'technicalName', technicalName)
|
|
103772
104817
|
if (xSailPointExperimental === undefined) {
|
|
103773
104818
|
xSailPointExperimental = 'true';
|
|
103774
104819
|
}
|
|
@@ -103864,22 +104909,22 @@ export const MachineAccountsV2026ApiAxiosParamCreator = function (configuration?
|
|
|
103864
104909
|
};
|
|
103865
104910
|
},
|
|
103866
104911
|
/**
|
|
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.
|
|
104912
|
+
* 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
104913
|
* @summary Machine Subtype Approval Config
|
|
103869
104914
|
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
103870
104915
|
* @param {string} subtypeId machine subtype id.
|
|
103871
104916
|
* @param {*} [axiosOptions] Override http request option.
|
|
103872
104917
|
* @throws {RequiredError}
|
|
103873
104918
|
*/
|
|
103874
|
-
|
|
104919
|
+
getMachineAccountSubtypeApprovalConfig: async (xSailPointExperimental: string, subtypeId: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
103875
104920
|
if (xSailPointExperimental === undefined) {
|
|
103876
104921
|
xSailPointExperimental = 'true';
|
|
103877
104922
|
}
|
|
103878
104923
|
|
|
103879
104924
|
// verify required parameter 'xSailPointExperimental' is not null or undefined
|
|
103880
|
-
assertParamExists('
|
|
104925
|
+
assertParamExists('getMachineAccountSubtypeApprovalConfig', 'xSailPointExperimental', xSailPointExperimental)
|
|
103881
104926
|
// verify required parameter 'subtypeId' is not null or undefined
|
|
103882
|
-
assertParamExists('
|
|
104927
|
+
assertParamExists('getMachineAccountSubtypeApprovalConfig', 'subtypeId', subtypeId)
|
|
103883
104928
|
const localVarPath = `/source-subtypes/{subtypeId}/machine-config`
|
|
103884
104929
|
.replace(`{${"subtypeId"}}`, encodeURIComponent(String(subtypeId)));
|
|
103885
104930
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -104177,6 +105222,64 @@ export const MachineAccountsV2026ApiAxiosParamCreator = function (configuration?
|
|
|
104177
105222
|
axiosOptions: localVarRequestOptions,
|
|
104178
105223
|
};
|
|
104179
105224
|
},
|
|
105225
|
+
/**
|
|
105226
|
+
* This endpoint retrieves the subtypes for given subtypeIds.
|
|
105227
|
+
* @summary Bulk Retrieve of Source Subtypes
|
|
105228
|
+
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
105229
|
+
* @param {Array<string>} requestBody
|
|
105230
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
105231
|
+
* @throws {RequiredError}
|
|
105232
|
+
*/
|
|
105233
|
+
loadBulkSourceSubtypes: async (xSailPointExperimental: string, requestBody: Array<string>, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
105234
|
+
if (xSailPointExperimental === undefined) {
|
|
105235
|
+
xSailPointExperimental = 'true';
|
|
105236
|
+
}
|
|
105237
|
+
|
|
105238
|
+
// verify required parameter 'xSailPointExperimental' is not null or undefined
|
|
105239
|
+
assertParamExists('loadBulkSourceSubtypes', 'xSailPointExperimental', xSailPointExperimental)
|
|
105240
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
105241
|
+
assertParamExists('loadBulkSourceSubtypes', 'requestBody', requestBody)
|
|
105242
|
+
const localVarPath = `/source-subtypes/bulk-retrieve`;
|
|
105243
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
105244
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
105245
|
+
let baseOptions;
|
|
105246
|
+
if (configuration) {
|
|
105247
|
+
baseOptions = configuration.baseOptions;
|
|
105248
|
+
}
|
|
105249
|
+
|
|
105250
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};
|
|
105251
|
+
const localVarHeaderParameter = {} as any;
|
|
105252
|
+
const localVarQueryParameter = {} as any;
|
|
105253
|
+
|
|
105254
|
+
// authentication userAuth required
|
|
105255
|
+
// oauth required
|
|
105256
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
105257
|
+
|
|
105258
|
+
// authentication userAuth required
|
|
105259
|
+
// oauth required
|
|
105260
|
+
await setOAuthToObject(localVarHeaderParameter, "userAuth", [], configuration)
|
|
105261
|
+
|
|
105262
|
+
// authentication applicationAuth required
|
|
105263
|
+
// oauth required
|
|
105264
|
+
await setOAuthToObject(localVarHeaderParameter, "applicationAuth", [], configuration)
|
|
105265
|
+
|
|
105266
|
+
|
|
105267
|
+
|
|
105268
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
105269
|
+
|
|
105270
|
+
if (xSailPointExperimental != null) {
|
|
105271
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
105272
|
+
}
|
|
105273
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
105274
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
105275
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
105276
|
+
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
|
|
105277
|
+
|
|
105278
|
+
return {
|
|
105279
|
+
url: toPathString(localVarUrlObj),
|
|
105280
|
+
axiosOptions: localVarRequestOptions,
|
|
105281
|
+
};
|
|
105282
|
+
},
|
|
104180
105283
|
/**
|
|
104181
105284
|
* Update fields of a machine account subtype by source ID and technical name. Patchable fields include: `displayName`, `description`.
|
|
104182
105285
|
* @summary Patch subtype
|
|
@@ -104187,13 +105290,13 @@ export const MachineAccountsV2026ApiAxiosParamCreator = function (configuration?
|
|
|
104187
105290
|
* @param {*} [axiosOptions] Override http request option.
|
|
104188
105291
|
* @throws {RequiredError}
|
|
104189
105292
|
*/
|
|
104190
|
-
|
|
105293
|
+
patchMachineAccountSubtypeByTechnicalName: async (sourceId: string, technicalName: string, requestBody: Array<object>, xSailPointExperimental?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
104191
105294
|
// verify required parameter 'sourceId' is not null or undefined
|
|
104192
|
-
assertParamExists('
|
|
105295
|
+
assertParamExists('patchMachineAccountSubtypeByTechnicalName', 'sourceId', sourceId)
|
|
104193
105296
|
// verify required parameter 'technicalName' is not null or undefined
|
|
104194
|
-
assertParamExists('
|
|
105297
|
+
assertParamExists('patchMachineAccountSubtypeByTechnicalName', 'technicalName', technicalName)
|
|
104195
105298
|
// verify required parameter 'requestBody' is not null or undefined
|
|
104196
|
-
assertParamExists('
|
|
105299
|
+
assertParamExists('patchMachineAccountSubtypeByTechnicalName', 'requestBody', requestBody)
|
|
104197
105300
|
if (xSailPointExperimental === undefined) {
|
|
104198
105301
|
xSailPointExperimental = 'true';
|
|
104199
105302
|
}
|
|
@@ -104302,7 +105405,7 @@ export const MachineAccountsV2026ApiAxiosParamCreator = function (configuration?
|
|
|
104302
105405
|
};
|
|
104303
105406
|
},
|
|
104304
105407
|
/**
|
|
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.
|
|
105408
|
+
* 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
105409
|
* @summary Machine Subtype Approval Config
|
|
104307
105410
|
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
104308
105411
|
* @param {string} subtypeId machine account subtype ID.
|
|
@@ -104310,17 +105413,17 @@ export const MachineAccountsV2026ApiAxiosParamCreator = function (configuration?
|
|
|
104310
105413
|
* @param {*} [axiosOptions] Override http request option.
|
|
104311
105414
|
* @throws {RequiredError}
|
|
104312
105415
|
*/
|
|
104313
|
-
|
|
105416
|
+
updateMachineAccountSubtypeApprovalConfig: async (xSailPointExperimental: string, subtypeId: string, jsonPatchOperationV2026: Array<JsonPatchOperationV2026>, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
104314
105417
|
if (xSailPointExperimental === undefined) {
|
|
104315
105418
|
xSailPointExperimental = 'true';
|
|
104316
105419
|
}
|
|
104317
105420
|
|
|
104318
105421
|
// verify required parameter 'xSailPointExperimental' is not null or undefined
|
|
104319
|
-
assertParamExists('
|
|
105422
|
+
assertParamExists('updateMachineAccountSubtypeApprovalConfig', 'xSailPointExperimental', xSailPointExperimental)
|
|
104320
105423
|
// verify required parameter 'subtypeId' is not null or undefined
|
|
104321
|
-
assertParamExists('
|
|
105424
|
+
assertParamExists('updateMachineAccountSubtypeApprovalConfig', 'subtypeId', subtypeId)
|
|
104322
105425
|
// verify required parameter 'jsonPatchOperationV2026' is not null or undefined
|
|
104323
|
-
assertParamExists('
|
|
105426
|
+
assertParamExists('updateMachineAccountSubtypeApprovalConfig', 'jsonPatchOperationV2026', jsonPatchOperationV2026)
|
|
104324
105427
|
const localVarPath = `/source-subtypes/{subtypeId}/machine-config`
|
|
104325
105428
|
.replace(`{${"subtypeId"}}`, encodeURIComponent(String(subtypeId)));
|
|
104326
105429
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -104393,10 +105496,10 @@ export const MachineAccountsV2026ApiFp = function(configuration?: Configuration)
|
|
|
104393
105496
|
* @param {*} [axiosOptions] Override http request option.
|
|
104394
105497
|
* @throws {RequiredError}
|
|
104395
105498
|
*/
|
|
104396
|
-
async
|
|
104397
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
105499
|
+
async deleteMachineAccountSubtypeByTechnicalName(sourceId: string, technicalName: string, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
105500
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteMachineAccountSubtypeByTechnicalName(sourceId, technicalName, xSailPointExperimental, axiosOptions);
|
|
104398
105501
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
104399
|
-
const localVarOperationServerBasePath = operationServerMap['MachineAccountsV2026Api.
|
|
105502
|
+
const localVarOperationServerBasePath = operationServerMap['MachineAccountsV2026Api.deleteMachineAccountSubtypeByTechnicalName']?.[localVarOperationServerIndex]?.url;
|
|
104400
105503
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
104401
105504
|
},
|
|
104402
105505
|
/**
|
|
@@ -104414,17 +105517,17 @@ export const MachineAccountsV2026ApiFp = function(configuration?: Configuration)
|
|
|
104414
105517
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
104415
105518
|
},
|
|
104416
105519
|
/**
|
|
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.
|
|
105520
|
+
* 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
105521
|
* @summary Machine Subtype Approval Config
|
|
104419
105522
|
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
104420
105523
|
* @param {string} subtypeId machine subtype id.
|
|
104421
105524
|
* @param {*} [axiosOptions] Override http request option.
|
|
104422
105525
|
* @throws {RequiredError}
|
|
104423
105526
|
*/
|
|
104424
|
-
async
|
|
104425
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
105527
|
+
async getMachineAccountSubtypeApprovalConfig(xSailPointExperimental: string, subtypeId: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MachineAccountSubtypeConfigDtoV2026>> {
|
|
105528
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getMachineAccountSubtypeApprovalConfig(xSailPointExperimental, subtypeId, axiosOptions);
|
|
104426
105529
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
104427
|
-
const localVarOperationServerBasePath = operationServerMap['MachineAccountsV2026Api.
|
|
105530
|
+
const localVarOperationServerBasePath = operationServerMap['MachineAccountsV2026Api.getMachineAccountSubtypeApprovalConfig']?.[localVarOperationServerIndex]?.url;
|
|
104428
105531
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
104429
105532
|
},
|
|
104430
105533
|
/**
|
|
@@ -104493,6 +105596,20 @@ export const MachineAccountsV2026ApiFp = function(configuration?: Configuration)
|
|
|
104493
105596
|
const localVarOperationServerBasePath = operationServerMap['MachineAccountsV2026Api.listMachineAccounts']?.[localVarOperationServerIndex]?.url;
|
|
104494
105597
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
104495
105598
|
},
|
|
105599
|
+
/**
|
|
105600
|
+
* This endpoint retrieves the subtypes for given subtypeIds.
|
|
105601
|
+
* @summary Bulk Retrieve of Source Subtypes
|
|
105602
|
+
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
105603
|
+
* @param {Array<string>} requestBody
|
|
105604
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
105605
|
+
* @throws {RequiredError}
|
|
105606
|
+
*/
|
|
105607
|
+
async loadBulkSourceSubtypes(xSailPointExperimental: string, requestBody: Array<string>, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SourceSubtypeWithSourceV2026>>> {
|
|
105608
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.loadBulkSourceSubtypes(xSailPointExperimental, requestBody, axiosOptions);
|
|
105609
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
105610
|
+
const localVarOperationServerBasePath = operationServerMap['MachineAccountsV2026Api.loadBulkSourceSubtypes']?.[localVarOperationServerIndex]?.url;
|
|
105611
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
105612
|
+
},
|
|
104496
105613
|
/**
|
|
104497
105614
|
* Update fields of a machine account subtype by source ID and technical name. Patchable fields include: `displayName`, `description`.
|
|
104498
105615
|
* @summary Patch subtype
|
|
@@ -104503,10 +105620,10 @@ export const MachineAccountsV2026ApiFp = function(configuration?: Configuration)
|
|
|
104503
105620
|
* @param {*} [axiosOptions] Override http request option.
|
|
104504
105621
|
* @throws {RequiredError}
|
|
104505
105622
|
*/
|
|
104506
|
-
async
|
|
104507
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
105623
|
+
async patchMachineAccountSubtypeByTechnicalName(sourceId: string, technicalName: string, requestBody: Array<object>, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SourceSubtypeV2026>> {
|
|
105624
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.patchMachineAccountSubtypeByTechnicalName(sourceId, technicalName, requestBody, xSailPointExperimental, axiosOptions);
|
|
104508
105625
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
104509
|
-
const localVarOperationServerBasePath = operationServerMap['MachineAccountsV2026Api.
|
|
105626
|
+
const localVarOperationServerBasePath = operationServerMap['MachineAccountsV2026Api.patchMachineAccountSubtypeByTechnicalName']?.[localVarOperationServerIndex]?.url;
|
|
104510
105627
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
104511
105628
|
},
|
|
104512
105629
|
/**
|
|
@@ -104525,7 +105642,7 @@ export const MachineAccountsV2026ApiFp = function(configuration?: Configuration)
|
|
|
104525
105642
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
104526
105643
|
},
|
|
104527
105644
|
/**
|
|
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.
|
|
105645
|
+
* 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
105646
|
* @summary Machine Subtype Approval Config
|
|
104530
105647
|
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
104531
105648
|
* @param {string} subtypeId machine account subtype ID.
|
|
@@ -104533,10 +105650,10 @@ export const MachineAccountsV2026ApiFp = function(configuration?: Configuration)
|
|
|
104533
105650
|
* @param {*} [axiosOptions] Override http request option.
|
|
104534
105651
|
* @throws {RequiredError}
|
|
104535
105652
|
*/
|
|
104536
|
-
async
|
|
104537
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
105653
|
+
async updateMachineAccountSubtypeApprovalConfig(xSailPointExperimental: string, subtypeId: string, jsonPatchOperationV2026: Array<JsonPatchOperationV2026>, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MachineAccountSubtypeConfigDtoV2026>> {
|
|
105654
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateMachineAccountSubtypeApprovalConfig(xSailPointExperimental, subtypeId, jsonPatchOperationV2026, axiosOptions);
|
|
104538
105655
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
104539
|
-
const localVarOperationServerBasePath = operationServerMap['MachineAccountsV2026Api.
|
|
105656
|
+
const localVarOperationServerBasePath = operationServerMap['MachineAccountsV2026Api.updateMachineAccountSubtypeApprovalConfig']?.[localVarOperationServerIndex]?.url;
|
|
104540
105657
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
104541
105658
|
},
|
|
104542
105659
|
}
|
|
@@ -104562,12 +105679,12 @@ export const MachineAccountsV2026ApiFactory = function (configuration?: Configur
|
|
|
104562
105679
|
/**
|
|
104563
105680
|
* Delete a machine account subtype by source ID and technical name.
|
|
104564
105681
|
* @summary Delete subtype
|
|
104565
|
-
* @param {
|
|
105682
|
+
* @param {MachineAccountsV2026ApiDeleteMachineAccountSubtypeByTechnicalNameRequest} requestParameters Request parameters.
|
|
104566
105683
|
* @param {*} [axiosOptions] Override http request option.
|
|
104567
105684
|
* @throws {RequiredError}
|
|
104568
105685
|
*/
|
|
104569
|
-
|
|
104570
|
-
return localVarFp.
|
|
105686
|
+
deleteMachineAccountSubtypeByTechnicalName(requestParameters: MachineAccountsV2026ApiDeleteMachineAccountSubtypeByTechnicalNameRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
105687
|
+
return localVarFp.deleteMachineAccountSubtypeByTechnicalName(requestParameters.sourceId, requestParameters.technicalName, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));
|
|
104571
105688
|
},
|
|
104572
105689
|
/**
|
|
104573
105690
|
* Use this API to return the details for a single machine account by its ID.
|
|
@@ -104580,14 +105697,14 @@ export const MachineAccountsV2026ApiFactory = function (configuration?: Configur
|
|
|
104580
105697
|
return localVarFp.getMachineAccount(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));
|
|
104581
105698
|
},
|
|
104582
105699
|
/**
|
|
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.
|
|
105700
|
+
* 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
105701
|
* @summary Machine Subtype Approval Config
|
|
104585
|
-
* @param {
|
|
105702
|
+
* @param {MachineAccountsV2026ApiGetMachineAccountSubtypeApprovalConfigRequest} requestParameters Request parameters.
|
|
104586
105703
|
* @param {*} [axiosOptions] Override http request option.
|
|
104587
105704
|
* @throws {RequiredError}
|
|
104588
105705
|
*/
|
|
104589
|
-
|
|
104590
|
-
return localVarFp.
|
|
105706
|
+
getMachineAccountSubtypeApprovalConfig(requestParameters: MachineAccountsV2026ApiGetMachineAccountSubtypeApprovalConfigRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<MachineAccountSubtypeConfigDtoV2026> {
|
|
105707
|
+
return localVarFp.getMachineAccountSubtypeApprovalConfig(requestParameters.xSailPointExperimental, requestParameters.subtypeId, axiosOptions).then((request) => request(axios, basePath));
|
|
104591
105708
|
},
|
|
104592
105709
|
/**
|
|
104593
105710
|
* Get a machine account subtype by its unique ID.
|
|
@@ -104629,15 +105746,25 @@ export const MachineAccountsV2026ApiFactory = function (configuration?: Configur
|
|
|
104629
105746
|
listMachineAccounts(requestParameters: MachineAccountsV2026ApiListMachineAccountsRequest = {}, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<MachineAccountV2026>> {
|
|
104630
105747
|
return localVarFp.listMachineAccounts(requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.filters, requestParameters.sorters, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));
|
|
104631
105748
|
},
|
|
105749
|
+
/**
|
|
105750
|
+
* This endpoint retrieves the subtypes for given subtypeIds.
|
|
105751
|
+
* @summary Bulk Retrieve of Source Subtypes
|
|
105752
|
+
* @param {MachineAccountsV2026ApiLoadBulkSourceSubtypesRequest} requestParameters Request parameters.
|
|
105753
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
105754
|
+
* @throws {RequiredError}
|
|
105755
|
+
*/
|
|
105756
|
+
loadBulkSourceSubtypes(requestParameters: MachineAccountsV2026ApiLoadBulkSourceSubtypesRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<SourceSubtypeWithSourceV2026>> {
|
|
105757
|
+
return localVarFp.loadBulkSourceSubtypes(requestParameters.xSailPointExperimental, requestParameters.requestBody, axiosOptions).then((request) => request(axios, basePath));
|
|
105758
|
+
},
|
|
104632
105759
|
/**
|
|
104633
105760
|
* Update fields of a machine account subtype by source ID and technical name. Patchable fields include: `displayName`, `description`.
|
|
104634
105761
|
* @summary Patch subtype
|
|
104635
|
-
* @param {
|
|
105762
|
+
* @param {MachineAccountsV2026ApiPatchMachineAccountSubtypeByTechnicalNameRequest} requestParameters Request parameters.
|
|
104636
105763
|
* @param {*} [axiosOptions] Override http request option.
|
|
104637
105764
|
* @throws {RequiredError}
|
|
104638
105765
|
*/
|
|
104639
|
-
|
|
104640
|
-
return localVarFp.
|
|
105766
|
+
patchMachineAccountSubtypeByTechnicalName(requestParameters: MachineAccountsV2026ApiPatchMachineAccountSubtypeByTechnicalNameRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<SourceSubtypeV2026> {
|
|
105767
|
+
return localVarFp.patchMachineAccountSubtypeByTechnicalName(requestParameters.sourceId, requestParameters.technicalName, requestParameters.requestBody, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));
|
|
104641
105768
|
},
|
|
104642
105769
|
/**
|
|
104643
105770
|
* Use this API to update machine accounts details.
|
|
@@ -104650,14 +105777,14 @@ export const MachineAccountsV2026ApiFactory = function (configuration?: Configur
|
|
|
104650
105777
|
return localVarFp.updateMachineAccount(requestParameters.id, requestParameters.requestBody, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(axios, basePath));
|
|
104651
105778
|
},
|
|
104652
105779
|
/**
|
|
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.
|
|
105780
|
+
* 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
105781
|
* @summary Machine Subtype Approval Config
|
|
104655
|
-
* @param {
|
|
105782
|
+
* @param {MachineAccountsV2026ApiUpdateMachineAccountSubtypeApprovalConfigRequest} requestParameters Request parameters.
|
|
104656
105783
|
* @param {*} [axiosOptions] Override http request option.
|
|
104657
105784
|
* @throws {RequiredError}
|
|
104658
105785
|
*/
|
|
104659
|
-
|
|
104660
|
-
return localVarFp.
|
|
105786
|
+
updateMachineAccountSubtypeApprovalConfig(requestParameters: MachineAccountsV2026ApiUpdateMachineAccountSubtypeApprovalConfigRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<MachineAccountSubtypeConfigDtoV2026> {
|
|
105787
|
+
return localVarFp.updateMachineAccountSubtypeApprovalConfig(requestParameters.xSailPointExperimental, requestParameters.subtypeId, requestParameters.jsonPatchOperationV2026, axiosOptions).then((request) => request(axios, basePath));
|
|
104661
105788
|
},
|
|
104662
105789
|
};
|
|
104663
105790
|
};
|
|
@@ -104691,29 +105818,29 @@ export interface MachineAccountsV2026ApiCreateMachineAccountSubtypeRequest {
|
|
|
104691
105818
|
}
|
|
104692
105819
|
|
|
104693
105820
|
/**
|
|
104694
|
-
* Request parameters for
|
|
105821
|
+
* Request parameters for deleteMachineAccountSubtypeByTechnicalName operation in MachineAccountsV2026Api.
|
|
104695
105822
|
* @export
|
|
104696
|
-
* @interface
|
|
105823
|
+
* @interface MachineAccountsV2026ApiDeleteMachineAccountSubtypeByTechnicalNameRequest
|
|
104697
105824
|
*/
|
|
104698
|
-
export interface
|
|
105825
|
+
export interface MachineAccountsV2026ApiDeleteMachineAccountSubtypeByTechnicalNameRequest {
|
|
104699
105826
|
/**
|
|
104700
105827
|
* The ID of the source.
|
|
104701
105828
|
* @type {string}
|
|
104702
|
-
* @memberof
|
|
105829
|
+
* @memberof MachineAccountsV2026ApiDeleteMachineAccountSubtypeByTechnicalName
|
|
104703
105830
|
*/
|
|
104704
105831
|
readonly sourceId: string
|
|
104705
105832
|
|
|
104706
105833
|
/**
|
|
104707
105834
|
* The technical name of the subtype.
|
|
104708
105835
|
* @type {string}
|
|
104709
|
-
* @memberof
|
|
105836
|
+
* @memberof MachineAccountsV2026ApiDeleteMachineAccountSubtypeByTechnicalName
|
|
104710
105837
|
*/
|
|
104711
105838
|
readonly technicalName: string
|
|
104712
105839
|
|
|
104713
105840
|
/**
|
|
104714
105841
|
* Use this header to enable this experimental API.
|
|
104715
105842
|
* @type {string}
|
|
104716
|
-
* @memberof
|
|
105843
|
+
* @memberof MachineAccountsV2026ApiDeleteMachineAccountSubtypeByTechnicalName
|
|
104717
105844
|
*/
|
|
104718
105845
|
readonly xSailPointExperimental?: string
|
|
104719
105846
|
}
|
|
@@ -104740,22 +105867,22 @@ export interface MachineAccountsV2026ApiGetMachineAccountRequest {
|
|
|
104740
105867
|
}
|
|
104741
105868
|
|
|
104742
105869
|
/**
|
|
104743
|
-
* Request parameters for
|
|
105870
|
+
* Request parameters for getMachineAccountSubtypeApprovalConfig operation in MachineAccountsV2026Api.
|
|
104744
105871
|
* @export
|
|
104745
|
-
* @interface
|
|
105872
|
+
* @interface MachineAccountsV2026ApiGetMachineAccountSubtypeApprovalConfigRequest
|
|
104746
105873
|
*/
|
|
104747
|
-
export interface
|
|
105874
|
+
export interface MachineAccountsV2026ApiGetMachineAccountSubtypeApprovalConfigRequest {
|
|
104748
105875
|
/**
|
|
104749
105876
|
* Use this header to enable this experimental API.
|
|
104750
105877
|
* @type {string}
|
|
104751
|
-
* @memberof
|
|
105878
|
+
* @memberof MachineAccountsV2026ApiGetMachineAccountSubtypeApprovalConfig
|
|
104752
105879
|
*/
|
|
104753
105880
|
readonly xSailPointExperimental: string
|
|
104754
105881
|
|
|
104755
105882
|
/**
|
|
104756
105883
|
* machine subtype id.
|
|
104757
105884
|
* @type {string}
|
|
104758
|
-
* @memberof
|
|
105885
|
+
* @memberof MachineAccountsV2026ApiGetMachineAccountSubtypeApprovalConfig
|
|
104759
105886
|
*/
|
|
104760
105887
|
readonly subtypeId: string
|
|
104761
105888
|
}
|
|
@@ -104915,36 +106042,57 @@ export interface MachineAccountsV2026ApiListMachineAccountsRequest {
|
|
|
104915
106042
|
}
|
|
104916
106043
|
|
|
104917
106044
|
/**
|
|
104918
|
-
* Request parameters for
|
|
106045
|
+
* Request parameters for loadBulkSourceSubtypes operation in MachineAccountsV2026Api.
|
|
106046
|
+
* @export
|
|
106047
|
+
* @interface MachineAccountsV2026ApiLoadBulkSourceSubtypesRequest
|
|
106048
|
+
*/
|
|
106049
|
+
export interface MachineAccountsV2026ApiLoadBulkSourceSubtypesRequest {
|
|
106050
|
+
/**
|
|
106051
|
+
* Use this header to enable this experimental API.
|
|
106052
|
+
* @type {string}
|
|
106053
|
+
* @memberof MachineAccountsV2026ApiLoadBulkSourceSubtypes
|
|
106054
|
+
*/
|
|
106055
|
+
readonly xSailPointExperimental: string
|
|
106056
|
+
|
|
106057
|
+
/**
|
|
106058
|
+
*
|
|
106059
|
+
* @type {Array<string>}
|
|
106060
|
+
* @memberof MachineAccountsV2026ApiLoadBulkSourceSubtypes
|
|
106061
|
+
*/
|
|
106062
|
+
readonly requestBody: Array<string>
|
|
106063
|
+
}
|
|
106064
|
+
|
|
106065
|
+
/**
|
|
106066
|
+
* Request parameters for patchMachineAccountSubtypeByTechnicalName operation in MachineAccountsV2026Api.
|
|
104919
106067
|
* @export
|
|
104920
|
-
* @interface
|
|
106068
|
+
* @interface MachineAccountsV2026ApiPatchMachineAccountSubtypeByTechnicalNameRequest
|
|
104921
106069
|
*/
|
|
104922
|
-
export interface
|
|
106070
|
+
export interface MachineAccountsV2026ApiPatchMachineAccountSubtypeByTechnicalNameRequest {
|
|
104923
106071
|
/**
|
|
104924
106072
|
* The ID of the source.
|
|
104925
106073
|
* @type {string}
|
|
104926
|
-
* @memberof
|
|
106074
|
+
* @memberof MachineAccountsV2026ApiPatchMachineAccountSubtypeByTechnicalName
|
|
104927
106075
|
*/
|
|
104928
106076
|
readonly sourceId: string
|
|
104929
106077
|
|
|
104930
106078
|
/**
|
|
104931
106079
|
* The technical name of the subtype.
|
|
104932
106080
|
* @type {string}
|
|
104933
|
-
* @memberof
|
|
106081
|
+
* @memberof MachineAccountsV2026ApiPatchMachineAccountSubtypeByTechnicalName
|
|
104934
106082
|
*/
|
|
104935
106083
|
readonly technicalName: string
|
|
104936
106084
|
|
|
104937
106085
|
/**
|
|
104938
106086
|
* A JSON of updated values [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
|
104939
106087
|
* @type {Array<object>}
|
|
104940
|
-
* @memberof
|
|
106088
|
+
* @memberof MachineAccountsV2026ApiPatchMachineAccountSubtypeByTechnicalName
|
|
104941
106089
|
*/
|
|
104942
106090
|
readonly requestBody: Array<object>
|
|
104943
106091
|
|
|
104944
106092
|
/**
|
|
104945
106093
|
* Use this header to enable this experimental API.
|
|
104946
106094
|
* @type {string}
|
|
104947
|
-
* @memberof
|
|
106095
|
+
* @memberof MachineAccountsV2026ApiPatchMachineAccountSubtypeByTechnicalName
|
|
104948
106096
|
*/
|
|
104949
106097
|
readonly xSailPointExperimental?: string
|
|
104950
106098
|
}
|
|
@@ -104978,29 +106126,29 @@ export interface MachineAccountsV2026ApiUpdateMachineAccountRequest {
|
|
|
104978
106126
|
}
|
|
104979
106127
|
|
|
104980
106128
|
/**
|
|
104981
|
-
* Request parameters for
|
|
106129
|
+
* Request parameters for updateMachineAccountSubtypeApprovalConfig operation in MachineAccountsV2026Api.
|
|
104982
106130
|
* @export
|
|
104983
|
-
* @interface
|
|
106131
|
+
* @interface MachineAccountsV2026ApiUpdateMachineAccountSubtypeApprovalConfigRequest
|
|
104984
106132
|
*/
|
|
104985
|
-
export interface
|
|
106133
|
+
export interface MachineAccountsV2026ApiUpdateMachineAccountSubtypeApprovalConfigRequest {
|
|
104986
106134
|
/**
|
|
104987
106135
|
* Use this header to enable this experimental API.
|
|
104988
106136
|
* @type {string}
|
|
104989
|
-
* @memberof
|
|
106137
|
+
* @memberof MachineAccountsV2026ApiUpdateMachineAccountSubtypeApprovalConfig
|
|
104990
106138
|
*/
|
|
104991
106139
|
readonly xSailPointExperimental: string
|
|
104992
106140
|
|
|
104993
106141
|
/**
|
|
104994
106142
|
* machine account subtype ID.
|
|
104995
106143
|
* @type {string}
|
|
104996
|
-
* @memberof
|
|
106144
|
+
* @memberof MachineAccountsV2026ApiUpdateMachineAccountSubtypeApprovalConfig
|
|
104997
106145
|
*/
|
|
104998
106146
|
readonly subtypeId: string
|
|
104999
106147
|
|
|
105000
106148
|
/**
|
|
105001
106149
|
* The JSONPatch payload used to update the object.
|
|
105002
106150
|
* @type {Array<JsonPatchOperationV2026>}
|
|
105003
|
-
* @memberof
|
|
106151
|
+
* @memberof MachineAccountsV2026ApiUpdateMachineAccountSubtypeApprovalConfig
|
|
105004
106152
|
*/
|
|
105005
106153
|
readonly jsonPatchOperationV2026: Array<JsonPatchOperationV2026>
|
|
105006
106154
|
}
|
|
@@ -105027,13 +106175,13 @@ export class MachineAccountsV2026Api extends BaseAPI {
|
|
|
105027
106175
|
/**
|
|
105028
106176
|
* Delete a machine account subtype by source ID and technical name.
|
|
105029
106177
|
* @summary Delete subtype
|
|
105030
|
-
* @param {
|
|
106178
|
+
* @param {MachineAccountsV2026ApiDeleteMachineAccountSubtypeByTechnicalNameRequest} requestParameters Request parameters.
|
|
105031
106179
|
* @param {*} [axiosOptions] Override http request option.
|
|
105032
106180
|
* @throws {RequiredError}
|
|
105033
106181
|
* @memberof MachineAccountsV2026Api
|
|
105034
106182
|
*/
|
|
105035
|
-
public
|
|
105036
|
-
return MachineAccountsV2026ApiFp(this.configuration).
|
|
106183
|
+
public deleteMachineAccountSubtypeByTechnicalName(requestParameters: MachineAccountsV2026ApiDeleteMachineAccountSubtypeByTechnicalNameRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
106184
|
+
return MachineAccountsV2026ApiFp(this.configuration).deleteMachineAccountSubtypeByTechnicalName(requestParameters.sourceId, requestParameters.technicalName, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
105037
106185
|
}
|
|
105038
106186
|
|
|
105039
106187
|
/**
|
|
@@ -105049,15 +106197,15 @@ export class MachineAccountsV2026Api extends BaseAPI {
|
|
|
105049
106197
|
}
|
|
105050
106198
|
|
|
105051
106199
|
/**
|
|
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.
|
|
106200
|
+
* 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
106201
|
* @summary Machine Subtype Approval Config
|
|
105054
|
-
* @param {
|
|
106202
|
+
* @param {MachineAccountsV2026ApiGetMachineAccountSubtypeApprovalConfigRequest} requestParameters Request parameters.
|
|
105055
106203
|
* @param {*} [axiosOptions] Override http request option.
|
|
105056
106204
|
* @throws {RequiredError}
|
|
105057
106205
|
* @memberof MachineAccountsV2026Api
|
|
105058
106206
|
*/
|
|
105059
|
-
public
|
|
105060
|
-
return MachineAccountsV2026ApiFp(this.configuration).
|
|
106207
|
+
public getMachineAccountSubtypeApprovalConfig(requestParameters: MachineAccountsV2026ApiGetMachineAccountSubtypeApprovalConfigRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
106208
|
+
return MachineAccountsV2026ApiFp(this.configuration).getMachineAccountSubtypeApprovalConfig(requestParameters.xSailPointExperimental, requestParameters.subtypeId, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
105061
106209
|
}
|
|
105062
106210
|
|
|
105063
106211
|
/**
|
|
@@ -105108,16 +106256,28 @@ export class MachineAccountsV2026Api extends BaseAPI {
|
|
|
105108
106256
|
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
106257
|
}
|
|
105110
106258
|
|
|
106259
|
+
/**
|
|
106260
|
+
* This endpoint retrieves the subtypes for given subtypeIds.
|
|
106261
|
+
* @summary Bulk Retrieve of Source Subtypes
|
|
106262
|
+
* @param {MachineAccountsV2026ApiLoadBulkSourceSubtypesRequest} requestParameters Request parameters.
|
|
106263
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
106264
|
+
* @throws {RequiredError}
|
|
106265
|
+
* @memberof MachineAccountsV2026Api
|
|
106266
|
+
*/
|
|
106267
|
+
public loadBulkSourceSubtypes(requestParameters: MachineAccountsV2026ApiLoadBulkSourceSubtypesRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
106268
|
+
return MachineAccountsV2026ApiFp(this.configuration).loadBulkSourceSubtypes(requestParameters.xSailPointExperimental, requestParameters.requestBody, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
106269
|
+
}
|
|
106270
|
+
|
|
105111
106271
|
/**
|
|
105112
106272
|
* Update fields of a machine account subtype by source ID and technical name. Patchable fields include: `displayName`, `description`.
|
|
105113
106273
|
* @summary Patch subtype
|
|
105114
|
-
* @param {
|
|
106274
|
+
* @param {MachineAccountsV2026ApiPatchMachineAccountSubtypeByTechnicalNameRequest} requestParameters Request parameters.
|
|
105115
106275
|
* @param {*} [axiosOptions] Override http request option.
|
|
105116
106276
|
* @throws {RequiredError}
|
|
105117
106277
|
* @memberof MachineAccountsV2026Api
|
|
105118
106278
|
*/
|
|
105119
|
-
public
|
|
105120
|
-
return MachineAccountsV2026ApiFp(this.configuration).
|
|
106279
|
+
public patchMachineAccountSubtypeByTechnicalName(requestParameters: MachineAccountsV2026ApiPatchMachineAccountSubtypeByTechnicalNameRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
106280
|
+
return MachineAccountsV2026ApiFp(this.configuration).patchMachineAccountSubtypeByTechnicalName(requestParameters.sourceId, requestParameters.technicalName, requestParameters.requestBody, requestParameters.xSailPointExperimental, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
105121
106281
|
}
|
|
105122
106282
|
|
|
105123
106283
|
/**
|
|
@@ -105133,15 +106293,15 @@ export class MachineAccountsV2026Api extends BaseAPI {
|
|
|
105133
106293
|
}
|
|
105134
106294
|
|
|
105135
106295
|
/**
|
|
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.
|
|
106296
|
+
* 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
106297
|
* @summary Machine Subtype Approval Config
|
|
105138
|
-
* @param {
|
|
106298
|
+
* @param {MachineAccountsV2026ApiUpdateMachineAccountSubtypeApprovalConfigRequest} requestParameters Request parameters.
|
|
105139
106299
|
* @param {*} [axiosOptions] Override http request option.
|
|
105140
106300
|
* @throws {RequiredError}
|
|
105141
106301
|
* @memberof MachineAccountsV2026Api
|
|
105142
106302
|
*/
|
|
105143
|
-
public
|
|
105144
|
-
return MachineAccountsV2026ApiFp(this.configuration).
|
|
106303
|
+
public updateMachineAccountSubtypeApprovalConfig(requestParameters: MachineAccountsV2026ApiUpdateMachineAccountSubtypeApprovalConfigRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
106304
|
+
return MachineAccountsV2026ApiFp(this.configuration).updateMachineAccountSubtypeApprovalConfig(requestParameters.xSailPointExperimental, requestParameters.subtypeId, requestParameters.jsonPatchOperationV2026, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
105145
106305
|
}
|
|
105146
106306
|
}
|
|
105147
106307
|
|
|
@@ -134050,7 +135210,7 @@ export const SourcesV2026ApiAxiosParamCreator = function (configuration?: Config
|
|
|
134050
135210
|
* Deletes the provisioning policy with the specified usage on an application.
|
|
134051
135211
|
* @summary Delete provisioning policy by usagetype
|
|
134052
135212
|
* @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.
|
|
135213
|
+
* @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
135214
|
* @param {*} [axiosOptions] Override http request option.
|
|
134055
135215
|
* @throws {RequiredError}
|
|
134056
135216
|
*/
|
|
@@ -134507,7 +135667,7 @@ export const SourcesV2026ApiAxiosParamCreator = function (configuration?: Config
|
|
|
134507
135667
|
* This end-point retrieves the ProvisioningPolicy with the specified usage on the specified Source in IdentityNow.
|
|
134508
135668
|
* @summary Get provisioning policy by usagetype
|
|
134509
135669
|
* @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.
|
|
135670
|
+
* @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
135671
|
* @param {*} [axiosOptions] Override http request option.
|
|
134512
135672
|
* @throws {RequiredError}
|
|
134513
135673
|
*/
|
|
@@ -135417,10 +136577,12 @@ export const SourcesV2026ApiAxiosParamCreator = function (configuration?: Config
|
|
|
135417
136577
|
* This end-point lists all the ProvisioningPolicies in IdentityNow.
|
|
135418
136578
|
* @summary Lists provisioningpolicies
|
|
135419
136579
|
* @param {string} sourceId The Source id
|
|
136580
|
+
* @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.
|
|
136581
|
+
* @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
136582
|
* @param {*} [axiosOptions] Override http request option.
|
|
135421
136583
|
* @throws {RequiredError}
|
|
135422
136584
|
*/
|
|
135423
|
-
listProvisioningPolicies: async (sourceId: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
136585
|
+
listProvisioningPolicies: async (sourceId: string, offset?: number, limit?: number, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
135424
136586
|
// verify required parameter 'sourceId' is not null or undefined
|
|
135425
136587
|
assertParamExists('listProvisioningPolicies', 'sourceId', sourceId)
|
|
135426
136588
|
const localVarPath = `/sources/{sourceId}/provisioning-policies`
|
|
@@ -135448,6 +136610,14 @@ export const SourcesV2026ApiAxiosParamCreator = function (configuration?: Config
|
|
|
135448
136610
|
// oauth required
|
|
135449
136611
|
await setOAuthToObject(localVarHeaderParameter, "applicationAuth", [], configuration)
|
|
135450
136612
|
|
|
136613
|
+
if (offset !== undefined) {
|
|
136614
|
+
localVarQueryParameter['offset'] = offset;
|
|
136615
|
+
}
|
|
136616
|
+
|
|
136617
|
+
if (limit !== undefined) {
|
|
136618
|
+
localVarQueryParameter['limit'] = limit;
|
|
136619
|
+
}
|
|
136620
|
+
|
|
135451
136621
|
|
|
135452
136622
|
|
|
135453
136623
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -135690,7 +136860,7 @@ export const SourcesV2026ApiAxiosParamCreator = function (configuration?: Config
|
|
|
135690
136860
|
* 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
136861
|
* @summary Update provisioning policy by usagetype
|
|
135692
136862
|
* @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.
|
|
136863
|
+
* @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
136864
|
* @param {ProvisioningPolicyDtoV2026} provisioningPolicyDtoV2026
|
|
135695
136865
|
* @param {*} [axiosOptions] Override http request option.
|
|
135696
136866
|
* @throws {RequiredError}
|
|
@@ -136300,7 +137470,7 @@ export const SourcesV2026ApiAxiosParamCreator = function (configuration?: Config
|
|
|
136300
137470
|
* 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
137471
|
* @summary Partial update of provisioning policy
|
|
136302
137472
|
* @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.
|
|
137473
|
+
* @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
137474
|
* @param {Array<JsonPatchOperationV2026>} jsonPatchOperationV2026 The JSONPatch payload used to update the schema.
|
|
136305
137475
|
* @param {*} [axiosOptions] Override http request option.
|
|
136306
137476
|
* @throws {RequiredError}
|
|
@@ -136664,7 +137834,7 @@ export const SourcesV2026ApiFp = function(configuration?: Configuration) {
|
|
|
136664
137834
|
* Deletes the provisioning policy with the specified usage on an application.
|
|
136665
137835
|
* @summary Delete provisioning policy by usagetype
|
|
136666
137836
|
* @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.
|
|
137837
|
+
* @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
137838
|
* @param {*} [axiosOptions] Override http request option.
|
|
136669
137839
|
* @throws {RequiredError}
|
|
136670
137840
|
*/
|
|
@@ -136798,7 +137968,7 @@ export const SourcesV2026ApiFp = function(configuration?: Configuration) {
|
|
|
136798
137968
|
* This end-point retrieves the ProvisioningPolicy with the specified usage on the specified Source in IdentityNow.
|
|
136799
137969
|
* @summary Get provisioning policy by usagetype
|
|
136800
137970
|
* @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.
|
|
137971
|
+
* @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
137972
|
* @param {*} [axiosOptions] Override http request option.
|
|
136803
137973
|
* @throws {RequiredError}
|
|
136804
137974
|
*/
|
|
@@ -137050,11 +138220,13 @@ export const SourcesV2026ApiFp = function(configuration?: Configuration) {
|
|
|
137050
138220
|
* This end-point lists all the ProvisioningPolicies in IdentityNow.
|
|
137051
138221
|
* @summary Lists provisioningpolicies
|
|
137052
138222
|
* @param {string} sourceId The Source id
|
|
138223
|
+
* @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.
|
|
138224
|
+
* @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
138225
|
* @param {*} [axiosOptions] Override http request option.
|
|
137054
138226
|
* @throws {RequiredError}
|
|
137055
138227
|
*/
|
|
137056
|
-
async listProvisioningPolicies(sourceId: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProvisioningPolicyDtoV2026>>> {
|
|
137057
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listProvisioningPolicies(sourceId, axiosOptions);
|
|
138228
|
+
async listProvisioningPolicies(sourceId: string, offset?: number, limit?: number, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProvisioningPolicyDtoV2026>>> {
|
|
138229
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listProvisioningPolicies(sourceId, offset, limit, axiosOptions);
|
|
137058
138230
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
137059
138231
|
const localVarOperationServerBasePath = operationServerMap['SourcesV2026Api.listProvisioningPolicies']?.[localVarOperationServerIndex]?.url;
|
|
137060
138232
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -137123,7 +138295,7 @@ export const SourcesV2026ApiFp = function(configuration?: Configuration) {
|
|
|
137123
138295
|
* 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
138296
|
* @summary Update provisioning policy by usagetype
|
|
137125
138297
|
* @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.
|
|
138298
|
+
* @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
138299
|
* @param {ProvisioningPolicyDtoV2026} provisioningPolicyDtoV2026
|
|
137128
138300
|
* @param {*} [axiosOptions] Override http request option.
|
|
137129
138301
|
* @throws {RequiredError}
|
|
@@ -137292,7 +138464,7 @@ export const SourcesV2026ApiFp = function(configuration?: Configuration) {
|
|
|
137292
138464
|
* 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
138465
|
* @summary Partial update of provisioning policy
|
|
137294
138466
|
* @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.
|
|
138467
|
+
* @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
138468
|
* @param {Array<JsonPatchOperationV2026>} jsonPatchOperationV2026 The JSONPatch payload used to update the schema.
|
|
137297
138469
|
* @param {*} [axiosOptions] Override http request option.
|
|
137298
138470
|
* @throws {RequiredError}
|
|
@@ -137719,7 +138891,7 @@ export const SourcesV2026ApiFactory = function (configuration?: Configuration, b
|
|
|
137719
138891
|
* @throws {RequiredError}
|
|
137720
138892
|
*/
|
|
137721
138893
|
listProvisioningPolicies(requestParameters: SourcesV2026ApiListProvisioningPoliciesRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<ProvisioningPolicyDtoV2026>> {
|
|
137722
|
-
return localVarFp.listProvisioningPolicies(requestParameters.sourceId, axiosOptions).then((request) => request(axios, basePath));
|
|
138894
|
+
return localVarFp.listProvisioningPolicies(requestParameters.sourceId, requestParameters.offset, requestParameters.limit, axiosOptions).then((request) => request(axios, basePath));
|
|
137723
138895
|
},
|
|
137724
138896
|
/**
|
|
137725
138897
|
* This end-point lists all the sources in IdentityNow.
|
|
@@ -138060,7 +139232,7 @@ export interface SourcesV2026ApiDeleteProvisioningPolicyRequest {
|
|
|
138060
139232
|
readonly sourceId: string
|
|
138061
139233
|
|
|
138062
139234
|
/**
|
|
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.
|
|
139235
|
+
* 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
139236
|
* @type {UsageTypeV2026}
|
|
138065
139237
|
* @memberof SourcesV2026ApiDeleteProvisioningPolicy
|
|
138066
139238
|
*/
|
|
@@ -138228,7 +139400,7 @@ export interface SourcesV2026ApiGetProvisioningPolicyRequest {
|
|
|
138228
139400
|
readonly sourceId: string
|
|
138229
139401
|
|
|
138230
139402
|
/**
|
|
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.
|
|
139403
|
+
* 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
139404
|
* @type {UsageTypeV2026}
|
|
138233
139405
|
* @memberof SourcesV2026ApiGetProvisioningPolicy
|
|
138234
139406
|
*/
|
|
@@ -138604,6 +139776,20 @@ export interface SourcesV2026ApiListProvisioningPoliciesRequest {
|
|
|
138604
139776
|
* @memberof SourcesV2026ApiListProvisioningPolicies
|
|
138605
139777
|
*/
|
|
138606
139778
|
readonly sourceId: string
|
|
139779
|
+
|
|
139780
|
+
/**
|
|
139781
|
+
* 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.
|
|
139782
|
+
* @type {number}
|
|
139783
|
+
* @memberof SourcesV2026ApiListProvisioningPolicies
|
|
139784
|
+
*/
|
|
139785
|
+
readonly offset?: number
|
|
139786
|
+
|
|
139787
|
+
/**
|
|
139788
|
+
* 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.
|
|
139789
|
+
* @type {number}
|
|
139790
|
+
* @memberof SourcesV2026ApiListProvisioningPolicies
|
|
139791
|
+
*/
|
|
139792
|
+
readonly limit?: number
|
|
138607
139793
|
}
|
|
138608
139794
|
|
|
138609
139795
|
/**
|
|
@@ -138732,7 +139918,7 @@ export interface SourcesV2026ApiPutProvisioningPolicyRequest {
|
|
|
138732
139918
|
readonly sourceId: string
|
|
138733
139919
|
|
|
138734
139920
|
/**
|
|
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.
|
|
139921
|
+
* 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
139922
|
* @type {UsageTypeV2026}
|
|
138737
139923
|
* @memberof SourcesV2026ApiPutProvisioningPolicy
|
|
138738
139924
|
*/
|
|
@@ -138991,7 +140177,7 @@ export interface SourcesV2026ApiUpdateProvisioningPolicyRequest {
|
|
|
138991
140177
|
readonly sourceId: string
|
|
138992
140178
|
|
|
138993
140179
|
/**
|
|
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.
|
|
140180
|
+
* 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
140181
|
* @type {UsageTypeV2026}
|
|
138996
140182
|
* @memberof SourcesV2026ApiUpdateProvisioningPolicy
|
|
138997
140183
|
*/
|
|
@@ -139527,7 +140713,7 @@ export class SourcesV2026Api extends BaseAPI {
|
|
|
139527
140713
|
* @memberof SourcesV2026Api
|
|
139528
140714
|
*/
|
|
139529
140715
|
public listProvisioningPolicies(requestParameters: SourcesV2026ApiListProvisioningPoliciesRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
139530
|
-
return SourcesV2026ApiFp(this.configuration).listProvisioningPolicies(requestParameters.sourceId, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
140716
|
+
return SourcesV2026ApiFp(this.configuration).listProvisioningPolicies(requestParameters.sourceId, requestParameters.offset, requestParameters.limit, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
139531
140717
|
}
|
|
139532
140718
|
|
|
139533
140719
|
/**
|