sailpoint-api-client 1.2.2 → 1.2.3
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/api.ts +2238 -188
- package/beta/common.ts +2 -2
- package/beta/package.json +1 -1
- package/cc/README.md +2 -2
- package/cc/common.ts +2 -2
- package/cc/package.json +1 -1
- package/dist/beta/api.d.ts +1910 -134
- package/dist/beta/api.js +985 -157
- package/dist/beta/api.js.map +1 -1
- package/dist/beta/common.js +2 -2
- package/dist/cc/common.js +2 -2
- package/dist/paginator.d.ts +1 -10
- package/dist/paginator.js +10 -6
- package/dist/paginator.js.map +1 -1
- package/dist/v2/common.js +2 -2
- package/dist/v3/api.d.ts +1138 -113
- package/dist/v3/api.js +1300 -42
- package/dist/v3/api.js.map +1 -1
- package/dist/v3/common.js +2 -2
- package/package.json +2 -2
- package/paginator.ts +105 -89
- package/v2/README.md +2 -2
- package/v2/common.ts +2 -2
- package/v2/package.json +1 -1
- package/v3/README.md +2 -2
- package/v3/api.ts +1734 -123
- package/v3/common.ts +2 -2
- package/v3/package.json +1 -1
package/v3/api.ts
CHANGED
|
@@ -2317,6 +2317,25 @@ export interface AccountUnlockRequest {
|
|
|
2317
2317
|
*/
|
|
2318
2318
|
'forceProvisioning'?: boolean;
|
|
2319
2319
|
}
|
|
2320
|
+
/**
|
|
2321
|
+
*
|
|
2322
|
+
* @export
|
|
2323
|
+
* @interface AccountUsage
|
|
2324
|
+
*/
|
|
2325
|
+
export interface AccountUsage {
|
|
2326
|
+
/**
|
|
2327
|
+
* The first day of the month for which activity is aggregated.
|
|
2328
|
+
* @type {string}
|
|
2329
|
+
* @memberof AccountUsage
|
|
2330
|
+
*/
|
|
2331
|
+
'date'?: string;
|
|
2332
|
+
/**
|
|
2333
|
+
* The number of days within the month that the account was active in a source.
|
|
2334
|
+
* @type {number}
|
|
2335
|
+
* @memberof AccountUsage
|
|
2336
|
+
*/
|
|
2337
|
+
'count'?: number;
|
|
2338
|
+
}
|
|
2320
2339
|
/**
|
|
2321
2340
|
* Accounts async response containing details on started async process
|
|
2322
2341
|
* @export
|
|
@@ -4561,6 +4580,105 @@ export interface CampaignReportsConfig {
|
|
|
4561
4580
|
*/
|
|
4562
4581
|
'identityAttributeColumns'?: Array<string>;
|
|
4563
4582
|
}
|
|
4583
|
+
/**
|
|
4584
|
+
* Campaign Template
|
|
4585
|
+
* @export
|
|
4586
|
+
* @interface CampaignTemplate
|
|
4587
|
+
*/
|
|
4588
|
+
export interface CampaignTemplate {
|
|
4589
|
+
/**
|
|
4590
|
+
* Id of the campaign template
|
|
4591
|
+
* @type {string}
|
|
4592
|
+
* @memberof CampaignTemplate
|
|
4593
|
+
*/
|
|
4594
|
+
'id'?: string;
|
|
4595
|
+
/**
|
|
4596
|
+
* This template\'s name. Has no bearing on generated campaigns\' names.
|
|
4597
|
+
* @type {string}
|
|
4598
|
+
* @memberof CampaignTemplate
|
|
4599
|
+
*/
|
|
4600
|
+
'name': string;
|
|
4601
|
+
/**
|
|
4602
|
+
* This template\'s description. Has no bearing on generated campaigns\' descriptions.
|
|
4603
|
+
* @type {string}
|
|
4604
|
+
* @memberof CampaignTemplate
|
|
4605
|
+
*/
|
|
4606
|
+
'description': string;
|
|
4607
|
+
/**
|
|
4608
|
+
* Creation date of Campaign Template
|
|
4609
|
+
* @type {string}
|
|
4610
|
+
* @memberof CampaignTemplate
|
|
4611
|
+
*/
|
|
4612
|
+
'created': string;
|
|
4613
|
+
/**
|
|
4614
|
+
* Modification date of Campaign Template
|
|
4615
|
+
* @type {string}
|
|
4616
|
+
* @memberof CampaignTemplate
|
|
4617
|
+
*/
|
|
4618
|
+
'modified': string;
|
|
4619
|
+
/**
|
|
4620
|
+
* Indicates if this campaign template has been scheduled.
|
|
4621
|
+
* @type {boolean}
|
|
4622
|
+
* @memberof CampaignTemplate
|
|
4623
|
+
*/
|
|
4624
|
+
'scheduled'?: boolean;
|
|
4625
|
+
/**
|
|
4626
|
+
*
|
|
4627
|
+
* @type {CampaignTemplateOwnerRef}
|
|
4628
|
+
* @memberof CampaignTemplate
|
|
4629
|
+
*/
|
|
4630
|
+
'ownerRef'?: CampaignTemplateOwnerRef;
|
|
4631
|
+
/**
|
|
4632
|
+
* The time period during which the campaign should be completed, formatted as an ISO-8601 Duration. When this template generates a campaign, the campaign\'s deadline will be the current date plus this duration. For example, if generation occurred on 2020-01-01 and this field was \"P2W\" (two weeks), the resulting campaign\'s deadline would be 2020-01-15 (the current date plus 14 days).
|
|
4633
|
+
* @type {string}
|
|
4634
|
+
* @memberof CampaignTemplate
|
|
4635
|
+
*/
|
|
4636
|
+
'deadlineDuration'?: string;
|
|
4637
|
+
/**
|
|
4638
|
+
* This will hold campaign related information like name, description etc.
|
|
4639
|
+
* @type {Campaign}
|
|
4640
|
+
* @memberof CampaignTemplate
|
|
4641
|
+
*/
|
|
4642
|
+
'campaign': Campaign;
|
|
4643
|
+
}
|
|
4644
|
+
/**
|
|
4645
|
+
* The owner of this template, and the owner of campaigns generated from this template via a schedule. This field is automatically populated at creation time with the current user.
|
|
4646
|
+
* @export
|
|
4647
|
+
* @interface CampaignTemplateOwnerRef
|
|
4648
|
+
*/
|
|
4649
|
+
export interface CampaignTemplateOwnerRef {
|
|
4650
|
+
/**
|
|
4651
|
+
* Id of the owner
|
|
4652
|
+
* @type {string}
|
|
4653
|
+
* @memberof CampaignTemplateOwnerRef
|
|
4654
|
+
*/
|
|
4655
|
+
'id'?: string;
|
|
4656
|
+
/**
|
|
4657
|
+
* Type of the owner
|
|
4658
|
+
* @type {string}
|
|
4659
|
+
* @memberof CampaignTemplateOwnerRef
|
|
4660
|
+
*/
|
|
4661
|
+
'type'?: CampaignTemplateOwnerRefTypeEnum;
|
|
4662
|
+
/**
|
|
4663
|
+
* Name of the owner
|
|
4664
|
+
* @type {string}
|
|
4665
|
+
* @memberof CampaignTemplateOwnerRef
|
|
4666
|
+
*/
|
|
4667
|
+
'name'?: string;
|
|
4668
|
+
/**
|
|
4669
|
+
* Email of the owner
|
|
4670
|
+
* @type {string}
|
|
4671
|
+
* @memberof CampaignTemplateOwnerRef
|
|
4672
|
+
*/
|
|
4673
|
+
'email'?: string;
|
|
4674
|
+
}
|
|
4675
|
+
|
|
4676
|
+
export const CampaignTemplateOwnerRefTypeEnum = {
|
|
4677
|
+
Identity: 'IDENTITY'
|
|
4678
|
+
} as const;
|
|
4679
|
+
|
|
4680
|
+
export type CampaignTemplateOwnerRefTypeEnum = typeof CampaignTemplateOwnerRefTypeEnum[keyof typeof CampaignTemplateOwnerRefTypeEnum];
|
|
4681
|
+
|
|
4564
4682
|
/**
|
|
4565
4683
|
*
|
|
4566
4684
|
* @export
|
|
@@ -7741,23 +7859,23 @@ export type IdentityAccess = AccessProfileEntitlement | AccessProfileRole | Acce
|
|
|
7741
7859
|
*/
|
|
7742
7860
|
export interface IdentityAttribute {
|
|
7743
7861
|
/**
|
|
7744
|
-
* The
|
|
7862
|
+
* The attribute key
|
|
7745
7863
|
* @type {string}
|
|
7746
7864
|
* @memberof IdentityAttribute
|
|
7747
7865
|
*/
|
|
7748
|
-
'
|
|
7866
|
+
'key'?: string;
|
|
7749
7867
|
/**
|
|
7750
|
-
*
|
|
7751
|
-
* @type {
|
|
7868
|
+
* Human-readable display name of the attribute
|
|
7869
|
+
* @type {string}
|
|
7752
7870
|
* @memberof IdentityAttribute
|
|
7753
7871
|
*/
|
|
7754
|
-
'
|
|
7872
|
+
'name'?: string;
|
|
7755
7873
|
/**
|
|
7756
|
-
*
|
|
7757
|
-
* @type {
|
|
7874
|
+
* The attribute value
|
|
7875
|
+
* @type {string}
|
|
7758
7876
|
* @memberof IdentityAttribute
|
|
7759
7877
|
*/
|
|
7760
|
-
'
|
|
7878
|
+
'value'?: string;
|
|
7761
7879
|
}
|
|
7762
7880
|
/**
|
|
7763
7881
|
*
|
|
@@ -7766,23 +7884,23 @@ export interface IdentityAttribute {
|
|
|
7766
7884
|
*/
|
|
7767
7885
|
export interface IdentityAttribute1 {
|
|
7768
7886
|
/**
|
|
7769
|
-
* The attribute
|
|
7887
|
+
* The system (camel-cased) name of the identity attribute to bring in
|
|
7770
7888
|
* @type {string}
|
|
7771
7889
|
* @memberof IdentityAttribute1
|
|
7772
7890
|
*/
|
|
7773
|
-
'
|
|
7891
|
+
'name': string;
|
|
7774
7892
|
/**
|
|
7775
|
-
*
|
|
7776
|
-
* @type {
|
|
7893
|
+
* A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process
|
|
7894
|
+
* @type {boolean}
|
|
7777
7895
|
* @memberof IdentityAttribute1
|
|
7778
7896
|
*/
|
|
7779
|
-
'
|
|
7897
|
+
'requiresPeriodicRefresh'?: boolean;
|
|
7780
7898
|
/**
|
|
7781
|
-
*
|
|
7782
|
-
* @type {string}
|
|
7899
|
+
* This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI.
|
|
7900
|
+
* @type {{ [key: string]: any; }}
|
|
7783
7901
|
* @memberof IdentityAttribute1
|
|
7784
7902
|
*/
|
|
7785
|
-
'
|
|
7903
|
+
'input'?: { [key: string]: any; };
|
|
7786
7904
|
}
|
|
7787
7905
|
/**
|
|
7788
7906
|
* Defines all the identity attribute mapping configurations. This defines how to generate or collect data for each identity attributes in identity refresh process.
|
|
@@ -11924,10 +12042,10 @@ export interface PublicIdentity {
|
|
|
11924
12042
|
'manager'?: IdentityReference | null;
|
|
11925
12043
|
/**
|
|
11926
12044
|
* The public identity attributes of the identity
|
|
11927
|
-
* @type {Array<
|
|
12045
|
+
* @type {Array<IdentityAttribute>}
|
|
11928
12046
|
* @memberof PublicIdentity
|
|
11929
12047
|
*/
|
|
11930
|
-
'attributes'?: Array<
|
|
12048
|
+
'attributes'?: Array<IdentityAttribute>;
|
|
11931
12049
|
}
|
|
11932
12050
|
/**
|
|
11933
12051
|
* Used to map an attribute key for an Identity to its display name.
|
|
@@ -16312,6 +16430,46 @@ export const SourceSchemasInnerTypeEnum = {
|
|
|
16312
16430
|
|
|
16313
16431
|
export type SourceSchemasInnerTypeEnum = typeof SourceSchemasInnerTypeEnum[keyof typeof SourceSchemasInnerTypeEnum];
|
|
16314
16432
|
|
|
16433
|
+
/**
|
|
16434
|
+
*
|
|
16435
|
+
* @export
|
|
16436
|
+
* @interface SourceUsage
|
|
16437
|
+
*/
|
|
16438
|
+
export interface SourceUsage {
|
|
16439
|
+
/**
|
|
16440
|
+
* The first day of the month for which activity is aggregated.
|
|
16441
|
+
* @type {string}
|
|
16442
|
+
* @memberof SourceUsage
|
|
16443
|
+
*/
|
|
16444
|
+
'date'?: string;
|
|
16445
|
+
/**
|
|
16446
|
+
* The average number of days that accounts were active within this source, for the month.
|
|
16447
|
+
* @type {number}
|
|
16448
|
+
* @memberof SourceUsage
|
|
16449
|
+
*/
|
|
16450
|
+
'count'?: number;
|
|
16451
|
+
}
|
|
16452
|
+
/**
|
|
16453
|
+
*
|
|
16454
|
+
* @export
|
|
16455
|
+
* @interface SourceUsageStatus
|
|
16456
|
+
*/
|
|
16457
|
+
export interface SourceUsageStatus {
|
|
16458
|
+
/**
|
|
16459
|
+
* Source Usage Status. Acceptable values are: - COMPLETE - This status means that an activity data source has been setup and usage insights are available for the source. - INCOMPLETE - This status means that an activity data source has not been setup and usage insights are not available for the source.
|
|
16460
|
+
* @type {string}
|
|
16461
|
+
* @memberof SourceUsageStatus
|
|
16462
|
+
*/
|
|
16463
|
+
'status'?: SourceUsageStatusStatusEnum;
|
|
16464
|
+
}
|
|
16465
|
+
|
|
16466
|
+
export const SourceUsageStatusStatusEnum = {
|
|
16467
|
+
Complete: 'COMPLETE',
|
|
16468
|
+
Incomplete: 'INCOMPLETE'
|
|
16469
|
+
} as const;
|
|
16470
|
+
|
|
16471
|
+
export type SourceUsageStatusStatusEnum = typeof SourceUsageStatusStatusEnum[keyof typeof SourceUsageStatusStatusEnum];
|
|
16472
|
+
|
|
16315
16473
|
/**
|
|
16316
16474
|
* Message model for Config Import/Export.
|
|
16317
16475
|
* @export
|
|
@@ -16622,17 +16780,17 @@ export interface TextQuery {
|
|
|
16622
16780
|
'contains'?: boolean;
|
|
16623
16781
|
}
|
|
16624
16782
|
/**
|
|
16625
|
-
*
|
|
16783
|
+
*
|
|
16626
16784
|
* @export
|
|
16627
16785
|
* @interface Transform
|
|
16628
16786
|
*/
|
|
16629
16787
|
export interface Transform {
|
|
16630
16788
|
/**
|
|
16631
|
-
*
|
|
16632
|
-
* @type {
|
|
16789
|
+
*
|
|
16790
|
+
* @type {TransformUpdateAttributes}
|
|
16633
16791
|
* @memberof Transform
|
|
16634
16792
|
*/
|
|
16635
|
-
'
|
|
16793
|
+
'attributes': TransformUpdateAttributes;
|
|
16636
16794
|
/**
|
|
16637
16795
|
* Unique name of this transform
|
|
16638
16796
|
* @type {string}
|
|
@@ -16645,21 +16803,169 @@ export interface Transform {
|
|
|
16645
16803
|
* @memberof Transform
|
|
16646
16804
|
*/
|
|
16647
16805
|
'type': TransformTypeEnum;
|
|
16806
|
+
}
|
|
16807
|
+
|
|
16808
|
+
export const TransformTypeEnum = {
|
|
16809
|
+
AccountAttribute: 'accountAttribute',
|
|
16810
|
+
Base64Decode: 'base64Decode',
|
|
16811
|
+
Base64Encode: 'base64Encode',
|
|
16812
|
+
Concat: 'concat',
|
|
16813
|
+
Conditional: 'conditional',
|
|
16814
|
+
DateCompare: 'dateCompare',
|
|
16815
|
+
DateFormat: 'dateFormat',
|
|
16816
|
+
DateMath: 'dateMath',
|
|
16817
|
+
DecomposeDiacriticalMarks: 'decomposeDiacriticalMarks',
|
|
16818
|
+
E164phone: 'e164phone',
|
|
16819
|
+
FirstValid: 'firstValid',
|
|
16820
|
+
Rule: 'rule',
|
|
16821
|
+
IdentityAttribute: 'identityAttribute',
|
|
16822
|
+
IndexOf: 'indexOf',
|
|
16823
|
+
Iso3166: 'iso3166',
|
|
16824
|
+
LastIndexOf: 'lastIndexOf',
|
|
16825
|
+
LeftPad: 'leftPad',
|
|
16826
|
+
Lookup: 'lookup',
|
|
16827
|
+
Lower: 'lower',
|
|
16828
|
+
NormalizeNames: 'normalizeNames',
|
|
16829
|
+
RandomAlphaNumeric: 'randomAlphaNumeric',
|
|
16830
|
+
RandomNumeric: 'randomNumeric',
|
|
16831
|
+
Reference: 'reference',
|
|
16832
|
+
ReplaceAll: 'replaceAll',
|
|
16833
|
+
Replace: 'replace',
|
|
16834
|
+
RightPad: 'rightPad',
|
|
16835
|
+
Split: 'split',
|
|
16836
|
+
Static: 'static',
|
|
16837
|
+
Substring: 'substring',
|
|
16838
|
+
Trim: 'trim',
|
|
16839
|
+
Upper: 'upper',
|
|
16840
|
+
UsernameGenerator: 'usernameGenerator',
|
|
16841
|
+
Uuid: 'uuid'
|
|
16842
|
+
} as const;
|
|
16843
|
+
|
|
16844
|
+
export type TransformTypeEnum = typeof TransformTypeEnum[keyof typeof TransformTypeEnum];
|
|
16845
|
+
|
|
16846
|
+
/**
|
|
16847
|
+
* The representation of an internally- or customer-defined transform.
|
|
16848
|
+
* @export
|
|
16849
|
+
* @interface TransformAllOf
|
|
16850
|
+
*/
|
|
16851
|
+
export interface TransformAllOf {
|
|
16852
|
+
/**
|
|
16853
|
+
* Unique name of this transform
|
|
16854
|
+
* @type {string}
|
|
16855
|
+
* @memberof TransformAllOf
|
|
16856
|
+
*/
|
|
16857
|
+
'name': string;
|
|
16858
|
+
/**
|
|
16859
|
+
* The type of transform operation
|
|
16860
|
+
* @type {string}
|
|
16861
|
+
* @memberof TransformAllOf
|
|
16862
|
+
*/
|
|
16863
|
+
'type': TransformAllOfTypeEnum;
|
|
16864
|
+
}
|
|
16865
|
+
|
|
16866
|
+
export const TransformAllOfTypeEnum = {
|
|
16867
|
+
AccountAttribute: 'accountAttribute',
|
|
16868
|
+
Base64Decode: 'base64Decode',
|
|
16869
|
+
Base64Encode: 'base64Encode',
|
|
16870
|
+
Concat: 'concat',
|
|
16871
|
+
Conditional: 'conditional',
|
|
16872
|
+
DateCompare: 'dateCompare',
|
|
16873
|
+
DateFormat: 'dateFormat',
|
|
16874
|
+
DateMath: 'dateMath',
|
|
16875
|
+
DecomposeDiacriticalMarks: 'decomposeDiacriticalMarks',
|
|
16876
|
+
E164phone: 'e164phone',
|
|
16877
|
+
FirstValid: 'firstValid',
|
|
16878
|
+
Rule: 'rule',
|
|
16879
|
+
IdentityAttribute: 'identityAttribute',
|
|
16880
|
+
IndexOf: 'indexOf',
|
|
16881
|
+
Iso3166: 'iso3166',
|
|
16882
|
+
LastIndexOf: 'lastIndexOf',
|
|
16883
|
+
LeftPad: 'leftPad',
|
|
16884
|
+
Lookup: 'lookup',
|
|
16885
|
+
Lower: 'lower',
|
|
16886
|
+
NormalizeNames: 'normalizeNames',
|
|
16887
|
+
RandomAlphaNumeric: 'randomAlphaNumeric',
|
|
16888
|
+
RandomNumeric: 'randomNumeric',
|
|
16889
|
+
Reference: 'reference',
|
|
16890
|
+
ReplaceAll: 'replaceAll',
|
|
16891
|
+
Replace: 'replace',
|
|
16892
|
+
RightPad: 'rightPad',
|
|
16893
|
+
Split: 'split',
|
|
16894
|
+
Static: 'static',
|
|
16895
|
+
Substring: 'substring',
|
|
16896
|
+
Trim: 'trim',
|
|
16897
|
+
Upper: 'upper',
|
|
16898
|
+
UsernameGenerator: 'usernameGenerator',
|
|
16899
|
+
Uuid: 'uuid'
|
|
16900
|
+
} as const;
|
|
16901
|
+
|
|
16902
|
+
export type TransformAllOfTypeEnum = typeof TransformAllOfTypeEnum[keyof typeof TransformAllOfTypeEnum];
|
|
16903
|
+
|
|
16904
|
+
/**
|
|
16905
|
+
*
|
|
16906
|
+
* @export
|
|
16907
|
+
* @interface TransformDefinition
|
|
16908
|
+
*/
|
|
16909
|
+
export interface TransformDefinition {
|
|
16910
|
+
/**
|
|
16911
|
+
* The type of the transform definition.
|
|
16912
|
+
* @type {string}
|
|
16913
|
+
* @memberof TransformDefinition
|
|
16914
|
+
*/
|
|
16915
|
+
'type'?: string;
|
|
16916
|
+
/**
|
|
16917
|
+
* Arbitrary key-value pairs to store any metadata for the object
|
|
16918
|
+
* @type {{ [key: string]: TransformDefinitionAttributesValue; }}
|
|
16919
|
+
* @memberof TransformDefinition
|
|
16920
|
+
*/
|
|
16921
|
+
'attributes'?: { [key: string]: TransformDefinitionAttributesValue; };
|
|
16922
|
+
}
|
|
16923
|
+
/**
|
|
16924
|
+
*
|
|
16925
|
+
* @export
|
|
16926
|
+
* @interface TransformDefinitionAttributesValue
|
|
16927
|
+
*/
|
|
16928
|
+
export interface TransformDefinitionAttributesValue {
|
|
16929
|
+
}
|
|
16930
|
+
/**
|
|
16931
|
+
*
|
|
16932
|
+
* @export
|
|
16933
|
+
* @interface TransformRead
|
|
16934
|
+
*/
|
|
16935
|
+
export interface TransformRead {
|
|
16648
16936
|
/**
|
|
16649
16937
|
*
|
|
16650
|
-
* @type {
|
|
16651
|
-
* @memberof
|
|
16938
|
+
* @type {TransformUpdateAttributes}
|
|
16939
|
+
* @memberof TransformRead
|
|
16652
16940
|
*/
|
|
16653
|
-
'attributes':
|
|
16941
|
+
'attributes': TransformUpdateAttributes;
|
|
16942
|
+
/**
|
|
16943
|
+
* Unique name of this transform
|
|
16944
|
+
* @type {string}
|
|
16945
|
+
* @memberof TransformRead
|
|
16946
|
+
*/
|
|
16947
|
+
'name': string;
|
|
16948
|
+
/**
|
|
16949
|
+
* The type of transform operation
|
|
16950
|
+
* @type {string}
|
|
16951
|
+
* @memberof TransformRead
|
|
16952
|
+
*/
|
|
16953
|
+
'type': TransformReadTypeEnum;
|
|
16954
|
+
/**
|
|
16955
|
+
* Unique ID of this transform
|
|
16956
|
+
* @type {string}
|
|
16957
|
+
* @memberof TransformRead
|
|
16958
|
+
*/
|
|
16959
|
+
'id': string;
|
|
16654
16960
|
/**
|
|
16655
16961
|
* Indicates whether this is an internal SailPoint-created transform or a customer-created transform
|
|
16656
16962
|
* @type {boolean}
|
|
16657
|
-
* @memberof
|
|
16963
|
+
* @memberof TransformRead
|
|
16658
16964
|
*/
|
|
16659
16965
|
'internal'?: boolean;
|
|
16660
16966
|
}
|
|
16661
16967
|
|
|
16662
|
-
export const
|
|
16968
|
+
export const TransformReadTypeEnum = {
|
|
16663
16969
|
AccountAttribute: 'accountAttribute',
|
|
16664
16970
|
Base64Decode: 'base64Decode',
|
|
16665
16971
|
Base64Encode: 'base64Encode',
|
|
@@ -16695,41 +17001,47 @@ export const TransformTypeEnum = {
|
|
|
16695
17001
|
Uuid: 'uuid'
|
|
16696
17002
|
} as const;
|
|
16697
17003
|
|
|
16698
|
-
export type
|
|
16699
|
-
|
|
16700
|
-
/**
|
|
16701
|
-
* @type TransformAttributes
|
|
16702
|
-
* Meta-data about the transform. Values in this list are specific to the type of transform to be executed.
|
|
16703
|
-
* @export
|
|
16704
|
-
*/
|
|
16705
|
-
export type TransformAttributes = AccountAttribute | Base64Decode | Base64Encode | Concatenation | Conditional | DateCompare | DateFormat | DateMath | DecomposeDiacriticalMarks | E164phone | FirstValid | ISO3166 | IdentityAttribute | IndexOf | LeftPad | Lookup | Lower | NameNormalizer | RandomAlphaNumeric | RandomNumeric | Reference | Replace | ReplaceAll | RightPad | Rule | Split | Static | Substring | Trim | UUIDGenerator | Upper;
|
|
17004
|
+
export type TransformReadTypeEnum = typeof TransformReadTypeEnum[keyof typeof TransformReadTypeEnum];
|
|
16706
17005
|
|
|
16707
17006
|
/**
|
|
16708
17007
|
*
|
|
16709
17008
|
* @export
|
|
16710
|
-
* @interface
|
|
17009
|
+
* @interface TransformReadAllOf
|
|
16711
17010
|
*/
|
|
16712
|
-
export interface
|
|
17011
|
+
export interface TransformReadAllOf {
|
|
16713
17012
|
/**
|
|
16714
|
-
*
|
|
17013
|
+
* Unique ID of this transform
|
|
16715
17014
|
* @type {string}
|
|
16716
|
-
* @memberof
|
|
17015
|
+
* @memberof TransformReadAllOf
|
|
16717
17016
|
*/
|
|
16718
|
-
'
|
|
17017
|
+
'id': string;
|
|
16719
17018
|
/**
|
|
16720
|
-
*
|
|
16721
|
-
* @type {
|
|
16722
|
-
* @memberof
|
|
17019
|
+
* Indicates whether this is an internal SailPoint-created transform or a customer-created transform
|
|
17020
|
+
* @type {boolean}
|
|
17021
|
+
* @memberof TransformReadAllOf
|
|
16723
17022
|
*/
|
|
16724
|
-
'
|
|
17023
|
+
'internal'?: boolean;
|
|
16725
17024
|
}
|
|
16726
17025
|
/**
|
|
16727
|
-
*
|
|
17026
|
+
* The representation of an internally- or customer-defined transform.
|
|
16728
17027
|
* @export
|
|
16729
|
-
* @interface
|
|
17028
|
+
* @interface TransformUpdate
|
|
16730
17029
|
*/
|
|
16731
|
-
export interface
|
|
17030
|
+
export interface TransformUpdate {
|
|
17031
|
+
/**
|
|
17032
|
+
*
|
|
17033
|
+
* @type {TransformUpdateAttributes}
|
|
17034
|
+
* @memberof TransformUpdate
|
|
17035
|
+
*/
|
|
17036
|
+
'attributes': TransformUpdateAttributes;
|
|
16732
17037
|
}
|
|
17038
|
+
/**
|
|
17039
|
+
* @type TransformUpdateAttributes
|
|
17040
|
+
* Meta-data about the transform. Values in this list are specific to the type of transform to be executed.
|
|
17041
|
+
* @export
|
|
17042
|
+
*/
|
|
17043
|
+
export type TransformUpdateAttributes = AccountAttribute | Base64Decode | Base64Encode | Concatenation | Conditional | DateCompare | DateFormat | DateMath | DecomposeDiacriticalMarks | E164phone | FirstValid | ISO3166 | IdentityAttribute1 | IndexOf | LeftPad | Lookup | Lower | NameNormalizer | RandomAlphaNumeric | RandomNumeric | Reference | Replace | ReplaceAll | RightPad | Rule | Split | Static | Substring | Trim | UUIDGenerator | Upper;
|
|
17044
|
+
|
|
16733
17045
|
/**
|
|
16734
17046
|
*
|
|
16735
17047
|
* @export
|
|
@@ -16779,6 +17091,12 @@ export interface TypeAheadQuery {
|
|
|
16779
17091
|
* @memberof TypeAheadQuery
|
|
16780
17092
|
*/
|
|
16781
17093
|
'maxExpansions'?: number;
|
|
17094
|
+
/**
|
|
17095
|
+
* The max amount of records the search will return.
|
|
17096
|
+
* @type {number}
|
|
17097
|
+
* @memberof TypeAheadQuery
|
|
17098
|
+
*/
|
|
17099
|
+
'size'?: number;
|
|
16782
17100
|
}
|
|
16783
17101
|
/**
|
|
16784
17102
|
* A typed reference to the object.
|
|
@@ -19645,6 +19963,189 @@ export class AccountActivitiesApi extends BaseAPI {
|
|
|
19645
19963
|
}
|
|
19646
19964
|
|
|
19647
19965
|
|
|
19966
|
+
/**
|
|
19967
|
+
* AccountUsagesApi - axios parameter creator
|
|
19968
|
+
* @export
|
|
19969
|
+
*/
|
|
19970
|
+
export const AccountUsagesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
19971
|
+
return {
|
|
19972
|
+
/**
|
|
19973
|
+
* This API returns a summary of account usage insights for past 12 months.
|
|
19974
|
+
* @summary Returns account usage insights
|
|
19975
|
+
* @param {string} accountId ID of IDN account
|
|
19976
|
+
* @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.
|
|
19977
|
+
* @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.
|
|
19978
|
+
* @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
19979
|
+
* @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **date**
|
|
19980
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
19981
|
+
* @throws {RequiredError}
|
|
19982
|
+
*/
|
|
19983
|
+
getUsagesByAccountId: async (accountId: string, limit?: number, offset?: number, count?: boolean, sorters?: string, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19984
|
+
// verify required parameter 'accountId' is not null or undefined
|
|
19985
|
+
assertParamExists('getUsagesByAccountId', 'accountId', accountId)
|
|
19986
|
+
const localVarPath = `/account-usages/{accountId}/summaries`
|
|
19987
|
+
.replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)));
|
|
19988
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19989
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19990
|
+
let baseOptions;
|
|
19991
|
+
if (configuration) {
|
|
19992
|
+
baseOptions = configuration.baseOptions;
|
|
19993
|
+
}
|
|
19994
|
+
|
|
19995
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
|
|
19996
|
+
const localVarHeaderParameter = {} as any;
|
|
19997
|
+
const localVarQueryParameter = {} as any;
|
|
19998
|
+
|
|
19999
|
+
// authentication UserContextAuth required
|
|
20000
|
+
// oauth required
|
|
20001
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
20002
|
+
|
|
20003
|
+
// authentication UserContextAuth required
|
|
20004
|
+
// oauth required
|
|
20005
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
20006
|
+
|
|
20007
|
+
if (limit !== undefined) {
|
|
20008
|
+
localVarQueryParameter['limit'] = limit;
|
|
20009
|
+
}
|
|
20010
|
+
|
|
20011
|
+
if (offset !== undefined) {
|
|
20012
|
+
localVarQueryParameter['offset'] = offset;
|
|
20013
|
+
}
|
|
20014
|
+
|
|
20015
|
+
if (count !== undefined) {
|
|
20016
|
+
localVarQueryParameter['count'] = count;
|
|
20017
|
+
}
|
|
20018
|
+
|
|
20019
|
+
if (sorters !== undefined) {
|
|
20020
|
+
localVarQueryParameter['sorters'] = sorters;
|
|
20021
|
+
}
|
|
20022
|
+
|
|
20023
|
+
|
|
20024
|
+
|
|
20025
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20026
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20027
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
20028
|
+
|
|
20029
|
+
return {
|
|
20030
|
+
url: toPathString(localVarUrlObj),
|
|
20031
|
+
axiosOptions: localVarRequestOptions,
|
|
20032
|
+
};
|
|
20033
|
+
},
|
|
20034
|
+
}
|
|
20035
|
+
};
|
|
20036
|
+
|
|
20037
|
+
/**
|
|
20038
|
+
* AccountUsagesApi - functional programming interface
|
|
20039
|
+
* @export
|
|
20040
|
+
*/
|
|
20041
|
+
export const AccountUsagesApiFp = function(configuration?: Configuration) {
|
|
20042
|
+
const localVarAxiosParamCreator = AccountUsagesApiAxiosParamCreator(configuration)
|
|
20043
|
+
return {
|
|
20044
|
+
/**
|
|
20045
|
+
* This API returns a summary of account usage insights for past 12 months.
|
|
20046
|
+
* @summary Returns account usage insights
|
|
20047
|
+
* @param {string} accountId ID of IDN account
|
|
20048
|
+
* @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.
|
|
20049
|
+
* @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.
|
|
20050
|
+
* @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
20051
|
+
* @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **date**
|
|
20052
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
20053
|
+
* @throws {RequiredError}
|
|
20054
|
+
*/
|
|
20055
|
+
async getUsagesByAccountId(accountId: string, limit?: number, offset?: number, count?: boolean, sorters?: string, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AccountUsage>>> {
|
|
20056
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUsagesByAccountId(accountId, limit, offset, count, sorters, axiosOptions);
|
|
20057
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
20058
|
+
},
|
|
20059
|
+
}
|
|
20060
|
+
};
|
|
20061
|
+
|
|
20062
|
+
/**
|
|
20063
|
+
* AccountUsagesApi - factory interface
|
|
20064
|
+
* @export
|
|
20065
|
+
*/
|
|
20066
|
+
export const AccountUsagesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
20067
|
+
const localVarFp = AccountUsagesApiFp(configuration)
|
|
20068
|
+
return {
|
|
20069
|
+
/**
|
|
20070
|
+
* This API returns a summary of account usage insights for past 12 months.
|
|
20071
|
+
* @summary Returns account usage insights
|
|
20072
|
+
* @param {string} accountId ID of IDN account
|
|
20073
|
+
* @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.
|
|
20074
|
+
* @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.
|
|
20075
|
+
* @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
20076
|
+
* @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **date**
|
|
20077
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
20078
|
+
* @throws {RequiredError}
|
|
20079
|
+
*/
|
|
20080
|
+
getUsagesByAccountId(accountId: string, limit?: number, offset?: number, count?: boolean, sorters?: string, axiosOptions?: any): AxiosPromise<Array<AccountUsage>> {
|
|
20081
|
+
return localVarFp.getUsagesByAccountId(accountId, limit, offset, count, sorters, axiosOptions).then((request) => request(axios, basePath));
|
|
20082
|
+
},
|
|
20083
|
+
};
|
|
20084
|
+
};
|
|
20085
|
+
|
|
20086
|
+
/**
|
|
20087
|
+
* Request parameters for getUsagesByAccountId operation in AccountUsagesApi.
|
|
20088
|
+
* @export
|
|
20089
|
+
* @interface AccountUsagesApiGetUsagesByAccountIdRequest
|
|
20090
|
+
*/
|
|
20091
|
+
export interface AccountUsagesApiGetUsagesByAccountIdRequest {
|
|
20092
|
+
/**
|
|
20093
|
+
* ID of IDN account
|
|
20094
|
+
* @type {string}
|
|
20095
|
+
* @memberof AccountUsagesApiGetUsagesByAccountId
|
|
20096
|
+
*/
|
|
20097
|
+
readonly accountId: string
|
|
20098
|
+
|
|
20099
|
+
/**
|
|
20100
|
+
* Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
20101
|
+
* @type {number}
|
|
20102
|
+
* @memberof AccountUsagesApiGetUsagesByAccountId
|
|
20103
|
+
*/
|
|
20104
|
+
readonly limit?: number
|
|
20105
|
+
|
|
20106
|
+
/**
|
|
20107
|
+
* 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.
|
|
20108
|
+
* @type {number}
|
|
20109
|
+
* @memberof AccountUsagesApiGetUsagesByAccountId
|
|
20110
|
+
*/
|
|
20111
|
+
readonly offset?: number
|
|
20112
|
+
|
|
20113
|
+
/**
|
|
20114
|
+
* If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
20115
|
+
* @type {boolean}
|
|
20116
|
+
* @memberof AccountUsagesApiGetUsagesByAccountId
|
|
20117
|
+
*/
|
|
20118
|
+
readonly count?: boolean
|
|
20119
|
+
|
|
20120
|
+
/**
|
|
20121
|
+
* Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **date**
|
|
20122
|
+
* @type {string}
|
|
20123
|
+
* @memberof AccountUsagesApiGetUsagesByAccountId
|
|
20124
|
+
*/
|
|
20125
|
+
readonly sorters?: string
|
|
20126
|
+
}
|
|
20127
|
+
|
|
20128
|
+
/**
|
|
20129
|
+
* AccountUsagesApi - object-oriented interface
|
|
20130
|
+
* @export
|
|
20131
|
+
* @class AccountUsagesApi
|
|
20132
|
+
* @extends {BaseAPI}
|
|
20133
|
+
*/
|
|
20134
|
+
export class AccountUsagesApi extends BaseAPI {
|
|
20135
|
+
/**
|
|
20136
|
+
* This API returns a summary of account usage insights for past 12 months.
|
|
20137
|
+
* @summary Returns account usage insights
|
|
20138
|
+
* @param {AccountUsagesApiGetUsagesByAccountIdRequest} requestParameters Request parameters.
|
|
20139
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
20140
|
+
* @throws {RequiredError}
|
|
20141
|
+
* @memberof AccountUsagesApi
|
|
20142
|
+
*/
|
|
20143
|
+
public getUsagesByAccountId(requestParameters: AccountUsagesApiGetUsagesByAccountIdRequest, axiosOptions?: AxiosRequestConfig) {
|
|
20144
|
+
return AccountUsagesApiFp(this.configuration).getUsagesByAccountId(requestParameters.accountId, requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.sorters, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
20145
|
+
}
|
|
20146
|
+
}
|
|
20147
|
+
|
|
20148
|
+
|
|
19648
20149
|
/**
|
|
19649
20150
|
* AccountsApi - axios parameter creator
|
|
19650
20151
|
* @export
|
|
@@ -21165,6 +21666,50 @@ export const CertificationCampaignsApiAxiosParamCreator = function (configuratio
|
|
|
21165
21666
|
axiosOptions: localVarRequestOptions,
|
|
21166
21667
|
};
|
|
21167
21668
|
},
|
|
21669
|
+
/**
|
|
21670
|
+
* Create a campaign Template based on campaign.
|
|
21671
|
+
* @summary Create a Campaign Template
|
|
21672
|
+
* @param {CampaignTemplate} campaignTemplate
|
|
21673
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
21674
|
+
* @throws {RequiredError}
|
|
21675
|
+
*/
|
|
21676
|
+
createCampaignTemplate: async (campaignTemplate: CampaignTemplate, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21677
|
+
// verify required parameter 'campaignTemplate' is not null or undefined
|
|
21678
|
+
assertParamExists('createCampaignTemplate', 'campaignTemplate', campaignTemplate)
|
|
21679
|
+
const localVarPath = `/campaign-templates`;
|
|
21680
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21681
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21682
|
+
let baseOptions;
|
|
21683
|
+
if (configuration) {
|
|
21684
|
+
baseOptions = configuration.baseOptions;
|
|
21685
|
+
}
|
|
21686
|
+
|
|
21687
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};
|
|
21688
|
+
const localVarHeaderParameter = {} as any;
|
|
21689
|
+
const localVarQueryParameter = {} as any;
|
|
21690
|
+
|
|
21691
|
+
// authentication UserContextAuth required
|
|
21692
|
+
// oauth required
|
|
21693
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
21694
|
+
|
|
21695
|
+
// authentication UserContextAuth required
|
|
21696
|
+
// oauth required
|
|
21697
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
21698
|
+
|
|
21699
|
+
|
|
21700
|
+
|
|
21701
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
21702
|
+
|
|
21703
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21704
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21705
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
21706
|
+
localVarRequestOptions.data = serializeDataIfNeeded(campaignTemplate, localVarRequestOptions, configuration)
|
|
21707
|
+
|
|
21708
|
+
return {
|
|
21709
|
+
url: toPathString(localVarUrlObj),
|
|
21710
|
+
axiosOptions: localVarRequestOptions,
|
|
21711
|
+
};
|
|
21712
|
+
},
|
|
21168
21713
|
/**
|
|
21169
21714
|
* Deletes campaigns whose Ids are specified in the provided list of campaign Ids. Authorized callers must be an ORG_ADMIN or a CERT_ADMIN.
|
|
21170
21715
|
* @summary Deletes Campaigns
|
|
@@ -21390,6 +21935,69 @@ export const CertificationCampaignsApiAxiosParamCreator = function (configuratio
|
|
|
21390
21935
|
|
|
21391
21936
|
|
|
21392
21937
|
|
|
21938
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21939
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21940
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
21941
|
+
|
|
21942
|
+
return {
|
|
21943
|
+
url: toPathString(localVarUrlObj),
|
|
21944
|
+
axiosOptions: localVarRequestOptions,
|
|
21945
|
+
};
|
|
21946
|
+
},
|
|
21947
|
+
/**
|
|
21948
|
+
* Lists all CampaignTemplates. Scope can be reduced via standard V3 query params. All CampaignTemplates matching the query params
|
|
21949
|
+
* @summary List Campaign Templates
|
|
21950
|
+
* @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.
|
|
21951
|
+
* @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.
|
|
21952
|
+
* @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
21953
|
+
* @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **name, created, modified**
|
|
21954
|
+
* @param {string} [filters] Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields: **name, id**
|
|
21955
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
21956
|
+
* @throws {RequiredError}
|
|
21957
|
+
*/
|
|
21958
|
+
listCampaignTemplates: async (limit?: number, offset?: number, count?: boolean, sorters?: string, filters?: string, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21959
|
+
const localVarPath = `/campaign-templates`;
|
|
21960
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21961
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21962
|
+
let baseOptions;
|
|
21963
|
+
if (configuration) {
|
|
21964
|
+
baseOptions = configuration.baseOptions;
|
|
21965
|
+
}
|
|
21966
|
+
|
|
21967
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
|
|
21968
|
+
const localVarHeaderParameter = {} as any;
|
|
21969
|
+
const localVarQueryParameter = {} as any;
|
|
21970
|
+
|
|
21971
|
+
// authentication UserContextAuth required
|
|
21972
|
+
// oauth required
|
|
21973
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
21974
|
+
|
|
21975
|
+
// authentication UserContextAuth required
|
|
21976
|
+
// oauth required
|
|
21977
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
21978
|
+
|
|
21979
|
+
if (limit !== undefined) {
|
|
21980
|
+
localVarQueryParameter['limit'] = limit;
|
|
21981
|
+
}
|
|
21982
|
+
|
|
21983
|
+
if (offset !== undefined) {
|
|
21984
|
+
localVarQueryParameter['offset'] = offset;
|
|
21985
|
+
}
|
|
21986
|
+
|
|
21987
|
+
if (count !== undefined) {
|
|
21988
|
+
localVarQueryParameter['count'] = count;
|
|
21989
|
+
}
|
|
21990
|
+
|
|
21991
|
+
if (sorters !== undefined) {
|
|
21992
|
+
localVarQueryParameter['sorters'] = sorters;
|
|
21993
|
+
}
|
|
21994
|
+
|
|
21995
|
+
if (filters !== undefined) {
|
|
21996
|
+
localVarQueryParameter['filters'] = filters;
|
|
21997
|
+
}
|
|
21998
|
+
|
|
21999
|
+
|
|
22000
|
+
|
|
21393
22001
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21394
22002
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21395
22003
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
@@ -21447,6 +22055,54 @@ export const CertificationCampaignsApiAxiosParamCreator = function (configuratio
|
|
|
21447
22055
|
axiosOptions: localVarRequestOptions,
|
|
21448
22056
|
};
|
|
21449
22057
|
},
|
|
22058
|
+
/**
|
|
22059
|
+
* Allows updating individual fields on a campaign template using the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
|
22060
|
+
* @summary Update a Campaign Template
|
|
22061
|
+
* @param {string} id The ID of the campaign template being modified.
|
|
22062
|
+
* @param {Array<JsonPatchOperation>} jsonPatchOperation A list of campaign update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The following fields are patchable: * name * description * deadlineDuration * campaign (all fields that are allowed during create)
|
|
22063
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
22064
|
+
* @throws {RequiredError}
|
|
22065
|
+
*/
|
|
22066
|
+
patchCampaignTemplate: async (id: string, jsonPatchOperation: Array<JsonPatchOperation>, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22067
|
+
// verify required parameter 'id' is not null or undefined
|
|
22068
|
+
assertParamExists('patchCampaignTemplate', 'id', id)
|
|
22069
|
+
// verify required parameter 'jsonPatchOperation' is not null or undefined
|
|
22070
|
+
assertParamExists('patchCampaignTemplate', 'jsonPatchOperation', jsonPatchOperation)
|
|
22071
|
+
const localVarPath = `/campaign-templates/{id}`
|
|
22072
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
22073
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22074
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
22075
|
+
let baseOptions;
|
|
22076
|
+
if (configuration) {
|
|
22077
|
+
baseOptions = configuration.baseOptions;
|
|
22078
|
+
}
|
|
22079
|
+
|
|
22080
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...axiosOptions};
|
|
22081
|
+
const localVarHeaderParameter = {} as any;
|
|
22082
|
+
const localVarQueryParameter = {} as any;
|
|
22083
|
+
|
|
22084
|
+
// authentication UserContextAuth required
|
|
22085
|
+
// oauth required
|
|
22086
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
22087
|
+
|
|
22088
|
+
// authentication UserContextAuth required
|
|
22089
|
+
// oauth required
|
|
22090
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
22091
|
+
|
|
22092
|
+
|
|
22093
|
+
|
|
22094
|
+
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
22095
|
+
|
|
22096
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22097
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22098
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
22099
|
+
localVarRequestOptions.data = serializeDataIfNeeded(jsonPatchOperation, localVarRequestOptions, configuration)
|
|
22100
|
+
|
|
22101
|
+
return {
|
|
22102
|
+
url: toPathString(localVarUrlObj),
|
|
22103
|
+
axiosOptions: localVarRequestOptions,
|
|
22104
|
+
};
|
|
22105
|
+
},
|
|
21450
22106
|
/**
|
|
21451
22107
|
* Overwrites configuration for campaign reports. Requires roles CERT_ADMIN and ORG_ADMIN.
|
|
21452
22108
|
* @summary Set Campaign Reports Configuration
|
|
@@ -21616,6 +22272,48 @@ export const CertificationCampaignsApiAxiosParamCreator = function (configuratio
|
|
|
21616
22272
|
|
|
21617
22273
|
|
|
21618
22274
|
|
|
22275
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22276
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22277
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
22278
|
+
|
|
22279
|
+
return {
|
|
22280
|
+
url: toPathString(localVarUrlObj),
|
|
22281
|
+
axiosOptions: localVarRequestOptions,
|
|
22282
|
+
};
|
|
22283
|
+
},
|
|
22284
|
+
/**
|
|
22285
|
+
* Generates a new campaign from a campaign template. The campaign object contained in the template has special formatting applied to its name and description fields in order to determine the generated campaign\'s name/description. Placeholders in those fields are formatted with the current date and time upon generation. Placeholders consist of a percent sign followed by a letter indicating what should be inserted; for example, \"%Y\" will insert the current year; a campaign template named \"Campaign for %y\" would generate a campaign called \"Campaign for 2020\" (assuming the year at generation time is 2020). Valid placeholders are the date/time conversion suffix characters supported by [java.util.Formatter](https://docs.oracle.com/javase/8/docs/api/java/util/Formatter.html). Requires roles ORG_ADMIN.
|
|
22286
|
+
* @summary Generate a Campaign from Template
|
|
22287
|
+
* @param {string} id The ID of the campaign template to use for generation.
|
|
22288
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
22289
|
+
* @throws {RequiredError}
|
|
22290
|
+
*/
|
|
22291
|
+
startGenerateCampaignTemplate: async (id: string, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22292
|
+
// verify required parameter 'id' is not null or undefined
|
|
22293
|
+
assertParamExists('startGenerateCampaignTemplate', 'id', id)
|
|
22294
|
+
const localVarPath = `/campaign-templates/{id}/generate`
|
|
22295
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
22296
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22297
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
22298
|
+
let baseOptions;
|
|
22299
|
+
if (configuration) {
|
|
22300
|
+
baseOptions = configuration.baseOptions;
|
|
22301
|
+
}
|
|
22302
|
+
|
|
22303
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};
|
|
22304
|
+
const localVarHeaderParameter = {} as any;
|
|
22305
|
+
const localVarQueryParameter = {} as any;
|
|
22306
|
+
|
|
22307
|
+
// authentication UserContextAuth required
|
|
22308
|
+
// oauth required
|
|
22309
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
22310
|
+
|
|
22311
|
+
// authentication UserContextAuth required
|
|
22312
|
+
// oauth required
|
|
22313
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
22314
|
+
|
|
22315
|
+
|
|
22316
|
+
|
|
21619
22317
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21620
22318
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21621
22319
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
@@ -21706,6 +22404,17 @@ export const CertificationCampaignsApiFp = function(configuration?: Configuratio
|
|
|
21706
22404
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createCampaign(campaign, axiosOptions);
|
|
21707
22405
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21708
22406
|
},
|
|
22407
|
+
/**
|
|
22408
|
+
* Create a campaign Template based on campaign.
|
|
22409
|
+
* @summary Create a Campaign Template
|
|
22410
|
+
* @param {CampaignTemplate} campaignTemplate
|
|
22411
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
22412
|
+
* @throws {RequiredError}
|
|
22413
|
+
*/
|
|
22414
|
+
async createCampaignTemplate(campaignTemplate: CampaignTemplate, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CampaignTemplate>> {
|
|
22415
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createCampaignTemplate(campaignTemplate, axiosOptions);
|
|
22416
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22417
|
+
},
|
|
21709
22418
|
/**
|
|
21710
22419
|
* Deletes campaigns whose Ids are specified in the provided list of campaign Ids. Authorized callers must be an ORG_ADMIN or a CERT_ADMIN.
|
|
21711
22420
|
* @summary Deletes Campaigns
|
|
@@ -21765,6 +22474,21 @@ export const CertificationCampaignsApiFp = function(configuration?: Configuratio
|
|
|
21765
22474
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getCampaignReportsConfig(axiosOptions);
|
|
21766
22475
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21767
22476
|
},
|
|
22477
|
+
/**
|
|
22478
|
+
* Lists all CampaignTemplates. Scope can be reduced via standard V3 query params. All CampaignTemplates matching the query params
|
|
22479
|
+
* @summary List Campaign Templates
|
|
22480
|
+
* @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.
|
|
22481
|
+
* @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.
|
|
22482
|
+
* @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
22483
|
+
* @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **name, created, modified**
|
|
22484
|
+
* @param {string} [filters] Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields: **name, id**
|
|
22485
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
22486
|
+
* @throws {RequiredError}
|
|
22487
|
+
*/
|
|
22488
|
+
async listCampaignTemplates(limit?: number, offset?: number, count?: boolean, sorters?: string, filters?: string, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CampaignTemplate>>> {
|
|
22489
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listCampaignTemplates(limit, offset, count, sorters, filters, axiosOptions);
|
|
22490
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22491
|
+
},
|
|
21768
22492
|
/**
|
|
21769
22493
|
* This API reassigns the specified certifications from one identity to another. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API.
|
|
21770
22494
|
* @summary Reassign Certifications
|
|
@@ -21777,6 +22501,18 @@ export const CertificationCampaignsApiFp = function(configuration?: Configuratio
|
|
|
21777
22501
|
const localVarAxiosArgs = await localVarAxiosParamCreator.move(id, adminReviewReassign, axiosOptions);
|
|
21778
22502
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21779
22503
|
},
|
|
22504
|
+
/**
|
|
22505
|
+
* Allows updating individual fields on a campaign template using the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
|
22506
|
+
* @summary Update a Campaign Template
|
|
22507
|
+
* @param {string} id The ID of the campaign template being modified.
|
|
22508
|
+
* @param {Array<JsonPatchOperation>} jsonPatchOperation A list of campaign update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The following fields are patchable: * name * description * deadlineDuration * campaign (all fields that are allowed during create)
|
|
22509
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
22510
|
+
* @throws {RequiredError}
|
|
22511
|
+
*/
|
|
22512
|
+
async patchCampaignTemplate(id: string, jsonPatchOperation: Array<JsonPatchOperation>, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CampaignTemplate>> {
|
|
22513
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.patchCampaignTemplate(id, jsonPatchOperation, axiosOptions);
|
|
22514
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22515
|
+
},
|
|
21780
22516
|
/**
|
|
21781
22517
|
* Overwrites configuration for campaign reports. Requires roles CERT_ADMIN and ORG_ADMIN.
|
|
21782
22518
|
* @summary Set Campaign Reports Configuration
|
|
@@ -21823,6 +22559,17 @@ export const CertificationCampaignsApiFp = function(configuration?: Configuratio
|
|
|
21823
22559
|
const localVarAxiosArgs = await localVarAxiosParamCreator.startCampaignReport(id, type, axiosOptions);
|
|
21824
22560
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21825
22561
|
},
|
|
22562
|
+
/**
|
|
22563
|
+
* Generates a new campaign from a campaign template. The campaign object contained in the template has special formatting applied to its name and description fields in order to determine the generated campaign\'s name/description. Placeholders in those fields are formatted with the current date and time upon generation. Placeholders consist of a percent sign followed by a letter indicating what should be inserted; for example, \"%Y\" will insert the current year; a campaign template named \"Campaign for %y\" would generate a campaign called \"Campaign for 2020\" (assuming the year at generation time is 2020). Valid placeholders are the date/time conversion suffix characters supported by [java.util.Formatter](https://docs.oracle.com/javase/8/docs/api/java/util/Formatter.html). Requires roles ORG_ADMIN.
|
|
22564
|
+
* @summary Generate a Campaign from Template
|
|
22565
|
+
* @param {string} id The ID of the campaign template to use for generation.
|
|
22566
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
22567
|
+
* @throws {RequiredError}
|
|
22568
|
+
*/
|
|
22569
|
+
async startGenerateCampaignTemplate(id: string, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CampaignReference>> {
|
|
22570
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.startGenerateCampaignTemplate(id, axiosOptions);
|
|
22571
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22572
|
+
},
|
|
21826
22573
|
/**
|
|
21827
22574
|
* Allows updating individual fields on a campaign using the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
|
21828
22575
|
* @summary Update a Campaign
|
|
@@ -21866,6 +22613,16 @@ export const CertificationCampaignsApiFactory = function (configuration?: Config
|
|
|
21866
22613
|
createCampaign(campaign: Campaign, axiosOptions?: any): AxiosPromise<Campaign> {
|
|
21867
22614
|
return localVarFp.createCampaign(campaign, axiosOptions).then((request) => request(axios, basePath));
|
|
21868
22615
|
},
|
|
22616
|
+
/**
|
|
22617
|
+
* Create a campaign Template based on campaign.
|
|
22618
|
+
* @summary Create a Campaign Template
|
|
22619
|
+
* @param {CampaignTemplate} campaignTemplate
|
|
22620
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
22621
|
+
* @throws {RequiredError}
|
|
22622
|
+
*/
|
|
22623
|
+
createCampaignTemplate(campaignTemplate: CampaignTemplate, axiosOptions?: any): AxiosPromise<CampaignTemplate> {
|
|
22624
|
+
return localVarFp.createCampaignTemplate(campaignTemplate, axiosOptions).then((request) => request(axios, basePath));
|
|
22625
|
+
},
|
|
21869
22626
|
/**
|
|
21870
22627
|
* Deletes campaigns whose Ids are specified in the provided list of campaign Ids. Authorized callers must be an ORG_ADMIN or a CERT_ADMIN.
|
|
21871
22628
|
* @summary Deletes Campaigns
|
|
@@ -21920,6 +22677,20 @@ export const CertificationCampaignsApiFactory = function (configuration?: Config
|
|
|
21920
22677
|
getCampaignReportsConfig(axiosOptions?: any): AxiosPromise<CampaignReportsConfig> {
|
|
21921
22678
|
return localVarFp.getCampaignReportsConfig(axiosOptions).then((request) => request(axios, basePath));
|
|
21922
22679
|
},
|
|
22680
|
+
/**
|
|
22681
|
+
* Lists all CampaignTemplates. Scope can be reduced via standard V3 query params. All CampaignTemplates matching the query params
|
|
22682
|
+
* @summary List Campaign Templates
|
|
22683
|
+
* @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.
|
|
22684
|
+
* @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.
|
|
22685
|
+
* @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
22686
|
+
* @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **name, created, modified**
|
|
22687
|
+
* @param {string} [filters] Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields: **name, id**
|
|
22688
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
22689
|
+
* @throws {RequiredError}
|
|
22690
|
+
*/
|
|
22691
|
+
listCampaignTemplates(limit?: number, offset?: number, count?: boolean, sorters?: string, filters?: string, axiosOptions?: any): AxiosPromise<Array<CampaignTemplate>> {
|
|
22692
|
+
return localVarFp.listCampaignTemplates(limit, offset, count, sorters, filters, axiosOptions).then((request) => request(axios, basePath));
|
|
22693
|
+
},
|
|
21923
22694
|
/**
|
|
21924
22695
|
* This API reassigns the specified certifications from one identity to another. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API.
|
|
21925
22696
|
* @summary Reassign Certifications
|
|
@@ -21931,6 +22702,17 @@ export const CertificationCampaignsApiFactory = function (configuration?: Config
|
|
|
21931
22702
|
move(id: string, adminReviewReassign: AdminReviewReassign, axiosOptions?: any): AxiosPromise<CertificationTask> {
|
|
21932
22703
|
return localVarFp.move(id, adminReviewReassign, axiosOptions).then((request) => request(axios, basePath));
|
|
21933
22704
|
},
|
|
22705
|
+
/**
|
|
22706
|
+
* Allows updating individual fields on a campaign template using the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
|
22707
|
+
* @summary Update a Campaign Template
|
|
22708
|
+
* @param {string} id The ID of the campaign template being modified.
|
|
22709
|
+
* @param {Array<JsonPatchOperation>} jsonPatchOperation A list of campaign update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The following fields are patchable: * name * description * deadlineDuration * campaign (all fields that are allowed during create)
|
|
22710
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
22711
|
+
* @throws {RequiredError}
|
|
22712
|
+
*/
|
|
22713
|
+
patchCampaignTemplate(id: string, jsonPatchOperation: Array<JsonPatchOperation>, axiosOptions?: any): AxiosPromise<CampaignTemplate> {
|
|
22714
|
+
return localVarFp.patchCampaignTemplate(id, jsonPatchOperation, axiosOptions).then((request) => request(axios, basePath));
|
|
22715
|
+
},
|
|
21934
22716
|
/**
|
|
21935
22717
|
* Overwrites configuration for campaign reports. Requires roles CERT_ADMIN and ORG_ADMIN.
|
|
21936
22718
|
* @summary Set Campaign Reports Configuration
|
|
@@ -21973,6 +22755,16 @@ export const CertificationCampaignsApiFactory = function (configuration?: Config
|
|
|
21973
22755
|
startCampaignReport(id: string, type: ReportType, axiosOptions?: any): AxiosPromise<object> {
|
|
21974
22756
|
return localVarFp.startCampaignReport(id, type, axiosOptions).then((request) => request(axios, basePath));
|
|
21975
22757
|
},
|
|
22758
|
+
/**
|
|
22759
|
+
* Generates a new campaign from a campaign template. The campaign object contained in the template has special formatting applied to its name and description fields in order to determine the generated campaign\'s name/description. Placeholders in those fields are formatted with the current date and time upon generation. Placeholders consist of a percent sign followed by a letter indicating what should be inserted; for example, \"%Y\" will insert the current year; a campaign template named \"Campaign for %y\" would generate a campaign called \"Campaign for 2020\" (assuming the year at generation time is 2020). Valid placeholders are the date/time conversion suffix characters supported by [java.util.Formatter](https://docs.oracle.com/javase/8/docs/api/java/util/Formatter.html). Requires roles ORG_ADMIN.
|
|
22760
|
+
* @summary Generate a Campaign from Template
|
|
22761
|
+
* @param {string} id The ID of the campaign template to use for generation.
|
|
22762
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
22763
|
+
* @throws {RequiredError}
|
|
22764
|
+
*/
|
|
22765
|
+
startGenerateCampaignTemplate(id: string, axiosOptions?: any): AxiosPromise<CampaignReference> {
|
|
22766
|
+
return localVarFp.startGenerateCampaignTemplate(id, axiosOptions).then((request) => request(axios, basePath));
|
|
22767
|
+
},
|
|
21976
22768
|
/**
|
|
21977
22769
|
* Allows updating individual fields on a campaign using the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
|
21978
22770
|
* @summary Update a Campaign
|
|
@@ -22022,6 +22814,20 @@ export interface CertificationCampaignsApiCreateCampaignRequest {
|
|
|
22022
22814
|
readonly campaign: Campaign
|
|
22023
22815
|
}
|
|
22024
22816
|
|
|
22817
|
+
/**
|
|
22818
|
+
* Request parameters for createCampaignTemplate operation in CertificationCampaignsApi.
|
|
22819
|
+
* @export
|
|
22820
|
+
* @interface CertificationCampaignsApiCreateCampaignTemplateRequest
|
|
22821
|
+
*/
|
|
22822
|
+
export interface CertificationCampaignsApiCreateCampaignTemplateRequest {
|
|
22823
|
+
/**
|
|
22824
|
+
*
|
|
22825
|
+
* @type {CampaignTemplate}
|
|
22826
|
+
* @memberof CertificationCampaignsApiCreateCampaignTemplate
|
|
22827
|
+
*/
|
|
22828
|
+
readonly campaignTemplate: CampaignTemplate
|
|
22829
|
+
}
|
|
22830
|
+
|
|
22025
22831
|
/**
|
|
22026
22832
|
* Request parameters for deleteCampaigns operation in CertificationCampaignsApi.
|
|
22027
22833
|
* @export
|
|
@@ -22113,6 +22919,48 @@ export interface CertificationCampaignsApiGetCampaignReportsRequest {
|
|
|
22113
22919
|
readonly campaignId: string
|
|
22114
22920
|
}
|
|
22115
22921
|
|
|
22922
|
+
/**
|
|
22923
|
+
* Request parameters for listCampaignTemplates operation in CertificationCampaignsApi.
|
|
22924
|
+
* @export
|
|
22925
|
+
* @interface CertificationCampaignsApiListCampaignTemplatesRequest
|
|
22926
|
+
*/
|
|
22927
|
+
export interface CertificationCampaignsApiListCampaignTemplatesRequest {
|
|
22928
|
+
/**
|
|
22929
|
+
* Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
22930
|
+
* @type {number}
|
|
22931
|
+
* @memberof CertificationCampaignsApiListCampaignTemplates
|
|
22932
|
+
*/
|
|
22933
|
+
readonly limit?: number
|
|
22934
|
+
|
|
22935
|
+
/**
|
|
22936
|
+
* 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.
|
|
22937
|
+
* @type {number}
|
|
22938
|
+
* @memberof CertificationCampaignsApiListCampaignTemplates
|
|
22939
|
+
*/
|
|
22940
|
+
readonly offset?: number
|
|
22941
|
+
|
|
22942
|
+
/**
|
|
22943
|
+
* If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
22944
|
+
* @type {boolean}
|
|
22945
|
+
* @memberof CertificationCampaignsApiListCampaignTemplates
|
|
22946
|
+
*/
|
|
22947
|
+
readonly count?: boolean
|
|
22948
|
+
|
|
22949
|
+
/**
|
|
22950
|
+
* Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **name, created, modified**
|
|
22951
|
+
* @type {string}
|
|
22952
|
+
* @memberof CertificationCampaignsApiListCampaignTemplates
|
|
22953
|
+
*/
|
|
22954
|
+
readonly sorters?: string
|
|
22955
|
+
|
|
22956
|
+
/**
|
|
22957
|
+
* Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields: **name, id**
|
|
22958
|
+
* @type {string}
|
|
22959
|
+
* @memberof CertificationCampaignsApiListCampaignTemplates
|
|
22960
|
+
*/
|
|
22961
|
+
readonly filters?: string
|
|
22962
|
+
}
|
|
22963
|
+
|
|
22116
22964
|
/**
|
|
22117
22965
|
* Request parameters for move operation in CertificationCampaignsApi.
|
|
22118
22966
|
* @export
|
|
@@ -22134,6 +22982,27 @@ export interface CertificationCampaignsApiMoveRequest {
|
|
|
22134
22982
|
readonly adminReviewReassign: AdminReviewReassign
|
|
22135
22983
|
}
|
|
22136
22984
|
|
|
22985
|
+
/**
|
|
22986
|
+
* Request parameters for patchCampaignTemplate operation in CertificationCampaignsApi.
|
|
22987
|
+
* @export
|
|
22988
|
+
* @interface CertificationCampaignsApiPatchCampaignTemplateRequest
|
|
22989
|
+
*/
|
|
22990
|
+
export interface CertificationCampaignsApiPatchCampaignTemplateRequest {
|
|
22991
|
+
/**
|
|
22992
|
+
* The ID of the campaign template being modified.
|
|
22993
|
+
* @type {string}
|
|
22994
|
+
* @memberof CertificationCampaignsApiPatchCampaignTemplate
|
|
22995
|
+
*/
|
|
22996
|
+
readonly id: string
|
|
22997
|
+
|
|
22998
|
+
/**
|
|
22999
|
+
* A list of campaign update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The following fields are patchable: * name * description * deadlineDuration * campaign (all fields that are allowed during create)
|
|
23000
|
+
* @type {Array<JsonPatchOperation>}
|
|
23001
|
+
* @memberof CertificationCampaignsApiPatchCampaignTemplate
|
|
23002
|
+
*/
|
|
23003
|
+
readonly jsonPatchOperation: Array<JsonPatchOperation>
|
|
23004
|
+
}
|
|
23005
|
+
|
|
22137
23006
|
/**
|
|
22138
23007
|
* Request parameters for setCampaignReportsConfig operation in CertificationCampaignsApi.
|
|
22139
23008
|
* @export
|
|
@@ -22204,6 +23073,20 @@ export interface CertificationCampaignsApiStartCampaignReportRequest {
|
|
|
22204
23073
|
readonly type: ReportType
|
|
22205
23074
|
}
|
|
22206
23075
|
|
|
23076
|
+
/**
|
|
23077
|
+
* Request parameters for startGenerateCampaignTemplate operation in CertificationCampaignsApi.
|
|
23078
|
+
* @export
|
|
23079
|
+
* @interface CertificationCampaignsApiStartGenerateCampaignTemplateRequest
|
|
23080
|
+
*/
|
|
23081
|
+
export interface CertificationCampaignsApiStartGenerateCampaignTemplateRequest {
|
|
23082
|
+
/**
|
|
23083
|
+
* The ID of the campaign template to use for generation.
|
|
23084
|
+
* @type {string}
|
|
23085
|
+
* @memberof CertificationCampaignsApiStartGenerateCampaignTemplate
|
|
23086
|
+
*/
|
|
23087
|
+
readonly id: string
|
|
23088
|
+
}
|
|
23089
|
+
|
|
22207
23090
|
/**
|
|
22208
23091
|
* Request parameters for updateCampaign operation in CertificationCampaignsApi.
|
|
22209
23092
|
* @export
|
|
@@ -22256,6 +23139,18 @@ export class CertificationCampaignsApi extends BaseAPI {
|
|
|
22256
23139
|
return CertificationCampaignsApiFp(this.configuration).createCampaign(requestParameters.campaign, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
22257
23140
|
}
|
|
22258
23141
|
|
|
23142
|
+
/**
|
|
23143
|
+
* Create a campaign Template based on campaign.
|
|
23144
|
+
* @summary Create a Campaign Template
|
|
23145
|
+
* @param {CertificationCampaignsApiCreateCampaignTemplateRequest} requestParameters Request parameters.
|
|
23146
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
23147
|
+
* @throws {RequiredError}
|
|
23148
|
+
* @memberof CertificationCampaignsApi
|
|
23149
|
+
*/
|
|
23150
|
+
public createCampaignTemplate(requestParameters: CertificationCampaignsApiCreateCampaignTemplateRequest, axiosOptions?: AxiosRequestConfig) {
|
|
23151
|
+
return CertificationCampaignsApiFp(this.configuration).createCampaignTemplate(requestParameters.campaignTemplate, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
23152
|
+
}
|
|
23153
|
+
|
|
22259
23154
|
/**
|
|
22260
23155
|
* Deletes campaigns whose Ids are specified in the provided list of campaign Ids. Authorized callers must be an ORG_ADMIN or a CERT_ADMIN.
|
|
22261
23156
|
* @summary Deletes Campaigns
|
|
@@ -22315,6 +23210,18 @@ export class CertificationCampaignsApi extends BaseAPI {
|
|
|
22315
23210
|
return CertificationCampaignsApiFp(this.configuration).getCampaignReportsConfig(axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
22316
23211
|
}
|
|
22317
23212
|
|
|
23213
|
+
/**
|
|
23214
|
+
* Lists all CampaignTemplates. Scope can be reduced via standard V3 query params. All CampaignTemplates matching the query params
|
|
23215
|
+
* @summary List Campaign Templates
|
|
23216
|
+
* @param {CertificationCampaignsApiListCampaignTemplatesRequest} requestParameters Request parameters.
|
|
23217
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
23218
|
+
* @throws {RequiredError}
|
|
23219
|
+
* @memberof CertificationCampaignsApi
|
|
23220
|
+
*/
|
|
23221
|
+
public listCampaignTemplates(requestParameters: CertificationCampaignsApiListCampaignTemplatesRequest = {}, axiosOptions?: AxiosRequestConfig) {
|
|
23222
|
+
return CertificationCampaignsApiFp(this.configuration).listCampaignTemplates(requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.sorters, requestParameters.filters, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
23223
|
+
}
|
|
23224
|
+
|
|
22318
23225
|
/**
|
|
22319
23226
|
* This API reassigns the specified certifications from one identity to another. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API.
|
|
22320
23227
|
* @summary Reassign Certifications
|
|
@@ -22327,6 +23234,18 @@ export class CertificationCampaignsApi extends BaseAPI {
|
|
|
22327
23234
|
return CertificationCampaignsApiFp(this.configuration).move(requestParameters.id, requestParameters.adminReviewReassign, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
22328
23235
|
}
|
|
22329
23236
|
|
|
23237
|
+
/**
|
|
23238
|
+
* Allows updating individual fields on a campaign template using the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
|
23239
|
+
* @summary Update a Campaign Template
|
|
23240
|
+
* @param {CertificationCampaignsApiPatchCampaignTemplateRequest} requestParameters Request parameters.
|
|
23241
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
23242
|
+
* @throws {RequiredError}
|
|
23243
|
+
* @memberof CertificationCampaignsApi
|
|
23244
|
+
*/
|
|
23245
|
+
public patchCampaignTemplate(requestParameters: CertificationCampaignsApiPatchCampaignTemplateRequest, axiosOptions?: AxiosRequestConfig) {
|
|
23246
|
+
return CertificationCampaignsApiFp(this.configuration).patchCampaignTemplate(requestParameters.id, requestParameters.jsonPatchOperation, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
23247
|
+
}
|
|
23248
|
+
|
|
22330
23249
|
/**
|
|
22331
23250
|
* Overwrites configuration for campaign reports. Requires roles CERT_ADMIN and ORG_ADMIN.
|
|
22332
23251
|
* @summary Set Campaign Reports Configuration
|
|
@@ -22375,6 +23294,18 @@ export class CertificationCampaignsApi extends BaseAPI {
|
|
|
22375
23294
|
return CertificationCampaignsApiFp(this.configuration).startCampaignReport(requestParameters.id, requestParameters.type, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
22376
23295
|
}
|
|
22377
23296
|
|
|
23297
|
+
/**
|
|
23298
|
+
* Generates a new campaign from a campaign template. The campaign object contained in the template has special formatting applied to its name and description fields in order to determine the generated campaign\'s name/description. Placeholders in those fields are formatted with the current date and time upon generation. Placeholders consist of a percent sign followed by a letter indicating what should be inserted; for example, \"%Y\" will insert the current year; a campaign template named \"Campaign for %y\" would generate a campaign called \"Campaign for 2020\" (assuming the year at generation time is 2020). Valid placeholders are the date/time conversion suffix characters supported by [java.util.Formatter](https://docs.oracle.com/javase/8/docs/api/java/util/Formatter.html). Requires roles ORG_ADMIN.
|
|
23299
|
+
* @summary Generate a Campaign from Template
|
|
23300
|
+
* @param {CertificationCampaignsApiStartGenerateCampaignTemplateRequest} requestParameters Request parameters.
|
|
23301
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
23302
|
+
* @throws {RequiredError}
|
|
23303
|
+
* @memberof CertificationCampaignsApi
|
|
23304
|
+
*/
|
|
23305
|
+
public startGenerateCampaignTemplate(requestParameters: CertificationCampaignsApiStartGenerateCampaignTemplateRequest, axiosOptions?: AxiosRequestConfig) {
|
|
23306
|
+
return CertificationCampaignsApiFp(this.configuration).startGenerateCampaignTemplate(requestParameters.id, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
23307
|
+
}
|
|
23308
|
+
|
|
22378
23309
|
/**
|
|
22379
23310
|
* Allows updating individual fields on a campaign using the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
|
22380
23311
|
* @summary Update a Campaign
|
|
@@ -23054,22 +23985,25 @@ export const CertificationsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
23054
23985
|
};
|
|
23055
23986
|
},
|
|
23056
23987
|
/**
|
|
23057
|
-
* This API returns
|
|
23058
|
-
* @summary
|
|
23059
|
-
* @param {string}
|
|
23988
|
+
* This API returns the permissions associated with an entitlement certification item based on the certification item\'s ID. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. Reviewers for this certification can also call this API.
|
|
23989
|
+
* @summary Permissions for Entitlement Certification Item
|
|
23990
|
+
* @param {string} certificationId The certification ID
|
|
23991
|
+
* @param {string} itemId The certification item ID
|
|
23992
|
+
* @param {string} [filters] Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Supported fields and primitive operators: **target**: *eq, sw* **rights**: *ca* Supported composite operators: *and, or* All field values (second filter operands) are case-insensitive for this API. Only a single *and* or *or* composite filter operator may be used. It must also be used between a target filter and a rights filter, not between 2 filters for the same field. For example, The following is valid: *?filters=rights+ca+(%22CREATE%22)+and+target+eq+%22SYS.OBJAUTH2%22* The following is invalid: *?filters=rights+ca+(%22CREATE%22)+and+rights+ca+(%SELECT%22)*
|
|
23060
23993
|
* @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.
|
|
23061
23994
|
* @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.
|
|
23062
23995
|
* @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
23063
|
-
* @param {string} [filters] Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators (Filtering is done by reviewer\'s fields): **id**: *eq, in* **name**: *eq, sw* **email**: *eq, sw*
|
|
23064
|
-
* @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **name, email**
|
|
23065
23996
|
* @param {*} [axiosOptions] Override http request option.
|
|
23066
23997
|
* @throws {RequiredError}
|
|
23067
23998
|
*/
|
|
23068
|
-
|
|
23069
|
-
// verify required parameter '
|
|
23070
|
-
assertParamExists('
|
|
23071
|
-
|
|
23072
|
-
|
|
23999
|
+
getIdentityCertificationItemPermissions: async (certificationId: string, itemId: string, filters?: string, limit?: number, offset?: number, count?: boolean, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24000
|
+
// verify required parameter 'certificationId' is not null or undefined
|
|
24001
|
+
assertParamExists('getIdentityCertificationItemPermissions', 'certificationId', certificationId)
|
|
24002
|
+
// verify required parameter 'itemId' is not null or undefined
|
|
24003
|
+
assertParamExists('getIdentityCertificationItemPermissions', 'itemId', itemId)
|
|
24004
|
+
const localVarPath = `/certifications/{certificationId}/access-review-items/{itemId}/permissions`
|
|
24005
|
+
.replace(`{${"certificationId"}}`, encodeURIComponent(String(certificationId)))
|
|
24006
|
+
.replace(`{${"itemId"}}`, encodeURIComponent(String(itemId)));
|
|
23073
24007
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23074
24008
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23075
24009
|
let baseOptions;
|
|
@@ -23089,6 +24023,10 @@ export const CertificationsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
23089
24023
|
// oauth required
|
|
23090
24024
|
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
23091
24025
|
|
|
24026
|
+
if (filters !== undefined) {
|
|
24027
|
+
localVarQueryParameter['filters'] = filters;
|
|
24028
|
+
}
|
|
24029
|
+
|
|
23092
24030
|
if (limit !== undefined) {
|
|
23093
24031
|
localVarQueryParameter['limit'] = limit;
|
|
23094
24032
|
}
|
|
@@ -23101,14 +24039,6 @@ export const CertificationsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
23101
24039
|
localVarQueryParameter['count'] = count;
|
|
23102
24040
|
}
|
|
23103
24041
|
|
|
23104
|
-
if (filters !== undefined) {
|
|
23105
|
-
localVarQueryParameter['filters'] = filters;
|
|
23106
|
-
}
|
|
23107
|
-
|
|
23108
|
-
if (sorters !== undefined) {
|
|
23109
|
-
localVarQueryParameter['sorters'] = sorters;
|
|
23110
|
-
}
|
|
23111
|
-
|
|
23112
24042
|
|
|
23113
24043
|
|
|
23114
24044
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -23121,25 +24051,18 @@ export const CertificationsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
23121
24051
|
};
|
|
23122
24052
|
},
|
|
23123
24053
|
/**
|
|
23124
|
-
* This API returns a list of
|
|
23125
|
-
* @summary List of
|
|
23126
|
-
* @param {string}
|
|
24054
|
+
* This API returns a list of pending (`QUEUED` or `IN_PROGRESS`) certification tasks. Any authenticated token can call this API, but only certification tasks you are authorized to review will be returned.
|
|
24055
|
+
* @summary List of Pending Certification Tasks
|
|
24056
|
+
* @param {string} [reviewerIdentity] The ID of reviewer identity. *me* indicates the current user.
|
|
23127
24057
|
* @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.
|
|
23128
24058
|
* @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.
|
|
23129
24059
|
* @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
23130
|
-
* @param {string} [filters] Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **
|
|
23131
|
-
* @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **identitySummary.name, access.name, access.type, entitlement.sourceName, accessProfile.sourceName**
|
|
23132
|
-
* @param {string} [entitlements] Filter results to view access review items that pertain to any of the specified comma-separated entitlement IDs. An error will occur if this param is used with **access-profiles** or **roles** as only one of these query params can be used at a time.
|
|
23133
|
-
* @param {string} [accessProfiles] Filter results to view access review items that pertain to any of the specified comma-separated access-profle IDs. An error will occur if this param is used with **entitlements** or **roles** as only one of these query params can be used at a time.
|
|
23134
|
-
* @param {string} [roles] Filter results to view access review items that pertain to any of the specified comma-separated role IDs. An error will occur if this param is used with **entitlements** or **access-profiles** as only one of these query params can be used at a time.
|
|
24060
|
+
* @param {string} [filters] Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **targetId**: *eq, in* **type**: *eq, in*
|
|
23135
24061
|
* @param {*} [axiosOptions] Override http request option.
|
|
23136
24062
|
* @throws {RequiredError}
|
|
23137
24063
|
*/
|
|
23138
|
-
|
|
23139
|
-
|
|
23140
|
-
assertParamExists('listIdentityAccessReviewItems', 'id', id)
|
|
23141
|
-
const localVarPath = `/certifications/{id}/access-review-items`
|
|
23142
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
24064
|
+
getPendingCertificationTasks: async (reviewerIdentity?: string, limit?: number, offset?: number, count?: boolean, filters?: string, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24065
|
+
const localVarPath = `/certification-tasks`;
|
|
23143
24066
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23144
24067
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23145
24068
|
let baseOptions;
|
|
@@ -23159,6 +24082,10 @@ export const CertificationsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
23159
24082
|
// oauth required
|
|
23160
24083
|
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
23161
24084
|
|
|
24085
|
+
if (reviewerIdentity !== undefined) {
|
|
24086
|
+
localVarQueryParameter['reviewer-identity'] = reviewerIdentity;
|
|
24087
|
+
}
|
|
24088
|
+
|
|
23162
24089
|
if (limit !== undefined) {
|
|
23163
24090
|
localVarQueryParameter['limit'] = limit;
|
|
23164
24091
|
}
|
|
@@ -23175,22 +24102,6 @@ export const CertificationsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
23175
24102
|
localVarQueryParameter['filters'] = filters;
|
|
23176
24103
|
}
|
|
23177
24104
|
|
|
23178
|
-
if (sorters !== undefined) {
|
|
23179
|
-
localVarQueryParameter['sorters'] = sorters;
|
|
23180
|
-
}
|
|
23181
|
-
|
|
23182
|
-
if (entitlements !== undefined) {
|
|
23183
|
-
localVarQueryParameter['entitlements'] = entitlements;
|
|
23184
|
-
}
|
|
23185
|
-
|
|
23186
|
-
if (accessProfiles !== undefined) {
|
|
23187
|
-
localVarQueryParameter['access-profiles'] = accessProfiles;
|
|
23188
|
-
}
|
|
23189
|
-
|
|
23190
|
-
if (roles !== undefined) {
|
|
23191
|
-
localVarQueryParameter['roles'] = roles;
|
|
23192
|
-
}
|
|
23193
|
-
|
|
23194
24105
|
|
|
23195
24106
|
|
|
23196
24107
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -23203,19 +24114,22 @@ export const CertificationsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
23203
24114
|
};
|
|
23204
24115
|
},
|
|
23205
24116
|
/**
|
|
23206
|
-
* This API returns a list of
|
|
23207
|
-
* @summary
|
|
23208
|
-
* @param {string}
|
|
24117
|
+
* This API returns a list of reviewers for the certification. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. Reviewers for this certification can also call this API.
|
|
24118
|
+
* @summary List of Reviewers for certification
|
|
24119
|
+
* @param {string} id The certification ID
|
|
23209
24120
|
* @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.
|
|
23210
24121
|
* @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.
|
|
23211
24122
|
* @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
23212
|
-
* @param {string} [filters] Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results)
|
|
23213
|
-
* @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results)
|
|
24123
|
+
* @param {string} [filters] Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators (Filtering is done by reviewer\'s fields): **id**: *eq, in* **name**: *eq, sw* **email**: *eq, sw*
|
|
24124
|
+
* @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **name, email**
|
|
23214
24125
|
* @param {*} [axiosOptions] Override http request option.
|
|
23215
24126
|
* @throws {RequiredError}
|
|
23216
24127
|
*/
|
|
23217
|
-
|
|
23218
|
-
|
|
24128
|
+
listCertificationReviewers: async (id: string, limit?: number, offset?: number, count?: boolean, filters?: string, sorters?: string, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24129
|
+
// verify required parameter 'id' is not null or undefined
|
|
24130
|
+
assertParamExists('listCertificationReviewers', 'id', id)
|
|
24131
|
+
const localVarPath = `/certifications/{id}/reviewers`
|
|
24132
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
23219
24133
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23220
24134
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23221
24135
|
let baseOptions;
|
|
@@ -23235,10 +24149,156 @@ export const CertificationsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
23235
24149
|
// oauth required
|
|
23236
24150
|
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
23237
24151
|
|
|
23238
|
-
if (
|
|
23239
|
-
localVarQueryParameter['
|
|
23240
|
-
}
|
|
23241
|
-
|
|
24152
|
+
if (limit !== undefined) {
|
|
24153
|
+
localVarQueryParameter['limit'] = limit;
|
|
24154
|
+
}
|
|
24155
|
+
|
|
24156
|
+
if (offset !== undefined) {
|
|
24157
|
+
localVarQueryParameter['offset'] = offset;
|
|
24158
|
+
}
|
|
24159
|
+
|
|
24160
|
+
if (count !== undefined) {
|
|
24161
|
+
localVarQueryParameter['count'] = count;
|
|
24162
|
+
}
|
|
24163
|
+
|
|
24164
|
+
if (filters !== undefined) {
|
|
24165
|
+
localVarQueryParameter['filters'] = filters;
|
|
24166
|
+
}
|
|
24167
|
+
|
|
24168
|
+
if (sorters !== undefined) {
|
|
24169
|
+
localVarQueryParameter['sorters'] = sorters;
|
|
24170
|
+
}
|
|
24171
|
+
|
|
24172
|
+
|
|
24173
|
+
|
|
24174
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24175
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24176
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
24177
|
+
|
|
24178
|
+
return {
|
|
24179
|
+
url: toPathString(localVarUrlObj),
|
|
24180
|
+
axiosOptions: localVarRequestOptions,
|
|
24181
|
+
};
|
|
24182
|
+
},
|
|
24183
|
+
/**
|
|
24184
|
+
* This API returns a list of access review items for an identity campaign certification. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. Reviewers for this certification can also call this API. This API does not support requests for certifications assigned to Governance Groups.
|
|
24185
|
+
* @summary List of Access Review Items
|
|
24186
|
+
* @param {string} id The identity campaign certification ID
|
|
24187
|
+
* @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.
|
|
24188
|
+
* @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.
|
|
24189
|
+
* @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
24190
|
+
* @param {string} [filters] Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **type / access.type**: *eq* **completed**: *eq, ne* **identitySummary.id**: *eq, in* **identitySummary.name**: *eq, sw* **access.id**: *eq, in* **access.name**: *eq, sw* **entitlement.sourceName**: *eq, sw* **accessProfile.sourceName**: *eq, sw*
|
|
24191
|
+
* @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **identitySummary.name, access.name, access.type, entitlement.sourceName, accessProfile.sourceName**
|
|
24192
|
+
* @param {string} [entitlements] Filter results to view access review items that pertain to any of the specified comma-separated entitlement IDs. An error will occur if this param is used with **access-profiles** or **roles** as only one of these query params can be used at a time.
|
|
24193
|
+
* @param {string} [accessProfiles] Filter results to view access review items that pertain to any of the specified comma-separated access-profle IDs. An error will occur if this param is used with **entitlements** or **roles** as only one of these query params can be used at a time.
|
|
24194
|
+
* @param {string} [roles] Filter results to view access review items that pertain to any of the specified comma-separated role IDs. An error will occur if this param is used with **entitlements** or **access-profiles** as only one of these query params can be used at a time.
|
|
24195
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
24196
|
+
* @throws {RequiredError}
|
|
24197
|
+
*/
|
|
24198
|
+
listIdentityAccessReviewItems: async (id: string, limit?: number, offset?: number, count?: boolean, filters?: string, sorters?: string, entitlements?: string, accessProfiles?: string, roles?: string, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24199
|
+
// verify required parameter 'id' is not null or undefined
|
|
24200
|
+
assertParamExists('listIdentityAccessReviewItems', 'id', id)
|
|
24201
|
+
const localVarPath = `/certifications/{id}/access-review-items`
|
|
24202
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
24203
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24204
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24205
|
+
let baseOptions;
|
|
24206
|
+
if (configuration) {
|
|
24207
|
+
baseOptions = configuration.baseOptions;
|
|
24208
|
+
}
|
|
24209
|
+
|
|
24210
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
|
|
24211
|
+
const localVarHeaderParameter = {} as any;
|
|
24212
|
+
const localVarQueryParameter = {} as any;
|
|
24213
|
+
|
|
24214
|
+
// authentication UserContextAuth required
|
|
24215
|
+
// oauth required
|
|
24216
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
24217
|
+
|
|
24218
|
+
// authentication UserContextAuth required
|
|
24219
|
+
// oauth required
|
|
24220
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
24221
|
+
|
|
24222
|
+
if (limit !== undefined) {
|
|
24223
|
+
localVarQueryParameter['limit'] = limit;
|
|
24224
|
+
}
|
|
24225
|
+
|
|
24226
|
+
if (offset !== undefined) {
|
|
24227
|
+
localVarQueryParameter['offset'] = offset;
|
|
24228
|
+
}
|
|
24229
|
+
|
|
24230
|
+
if (count !== undefined) {
|
|
24231
|
+
localVarQueryParameter['count'] = count;
|
|
24232
|
+
}
|
|
24233
|
+
|
|
24234
|
+
if (filters !== undefined) {
|
|
24235
|
+
localVarQueryParameter['filters'] = filters;
|
|
24236
|
+
}
|
|
24237
|
+
|
|
24238
|
+
if (sorters !== undefined) {
|
|
24239
|
+
localVarQueryParameter['sorters'] = sorters;
|
|
24240
|
+
}
|
|
24241
|
+
|
|
24242
|
+
if (entitlements !== undefined) {
|
|
24243
|
+
localVarQueryParameter['entitlements'] = entitlements;
|
|
24244
|
+
}
|
|
24245
|
+
|
|
24246
|
+
if (accessProfiles !== undefined) {
|
|
24247
|
+
localVarQueryParameter['access-profiles'] = accessProfiles;
|
|
24248
|
+
}
|
|
24249
|
+
|
|
24250
|
+
if (roles !== undefined) {
|
|
24251
|
+
localVarQueryParameter['roles'] = roles;
|
|
24252
|
+
}
|
|
24253
|
+
|
|
24254
|
+
|
|
24255
|
+
|
|
24256
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24257
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24258
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
24259
|
+
|
|
24260
|
+
return {
|
|
24261
|
+
url: toPathString(localVarUrlObj),
|
|
24262
|
+
axiosOptions: localVarRequestOptions,
|
|
24263
|
+
};
|
|
24264
|
+
},
|
|
24265
|
+
/**
|
|
24266
|
+
* This API returns a list of identity campaign certifications that satisfy the given query parameters. Any authenticated token can call this API, but only certifications you are authorized to review will be returned. This API does not support requests for certifications assigned to Governance Groups.
|
|
24267
|
+
* @summary Identity Campaign Certifications by IDs
|
|
24268
|
+
* @param {string} [reviewerIdentity] The ID of reviewer identity. *me* indicates the current user.
|
|
24269
|
+
* @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.
|
|
24270
|
+
* @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.
|
|
24271
|
+
* @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
24272
|
+
* @param {string} [filters] Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **campaign.id**: *eq, in* **phase**: *eq* **completed**: *eq, ne*
|
|
24273
|
+
* @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **name, due, signed**
|
|
24274
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
24275
|
+
* @throws {RequiredError}
|
|
24276
|
+
*/
|
|
24277
|
+
listIdentityCertifications: async (reviewerIdentity?: string, limit?: number, offset?: number, count?: boolean, filters?: string, sorters?: string, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24278
|
+
const localVarPath = `/certifications`;
|
|
24279
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24280
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24281
|
+
let baseOptions;
|
|
24282
|
+
if (configuration) {
|
|
24283
|
+
baseOptions = configuration.baseOptions;
|
|
24284
|
+
}
|
|
24285
|
+
|
|
24286
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
|
|
24287
|
+
const localVarHeaderParameter = {} as any;
|
|
24288
|
+
const localVarQueryParameter = {} as any;
|
|
24289
|
+
|
|
24290
|
+
// authentication UserContextAuth required
|
|
24291
|
+
// oauth required
|
|
24292
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
24293
|
+
|
|
24294
|
+
// authentication UserContextAuth required
|
|
24295
|
+
// oauth required
|
|
24296
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
24297
|
+
|
|
24298
|
+
if (reviewerIdentity !== undefined) {
|
|
24299
|
+
localVarQueryParameter['reviewer-identity'] = reviewerIdentity;
|
|
24300
|
+
}
|
|
24301
|
+
|
|
23242
24302
|
if (limit !== undefined) {
|
|
23243
24303
|
localVarQueryParameter['limit'] = limit;
|
|
23244
24304
|
}
|
|
@@ -23403,6 +24463,54 @@ export const CertificationsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
23403
24463
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23404
24464
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
23405
24465
|
|
|
24466
|
+
return {
|
|
24467
|
+
url: toPathString(localVarUrlObj),
|
|
24468
|
+
axiosOptions: localVarRequestOptions,
|
|
24469
|
+
};
|
|
24470
|
+
},
|
|
24471
|
+
/**
|
|
24472
|
+
* This API initiates a task to reassign up to 500 identities or items in an identity campaign certification to another reviewer. The `certification-tasks` API can be used to get an updated status on the task and determine when the reassignment is complete. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. Reviewers for this certification can also call this API.
|
|
24473
|
+
* @summary Reassign Certifications Asynchronously
|
|
24474
|
+
* @param {string} id The identity campaign certification ID
|
|
24475
|
+
* @param {ReviewReassign} reviewReassign
|
|
24476
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
24477
|
+
* @throws {RequiredError}
|
|
24478
|
+
*/
|
|
24479
|
+
submitReassignCertsAsync: async (id: string, reviewReassign: ReviewReassign, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24480
|
+
// verify required parameter 'id' is not null or undefined
|
|
24481
|
+
assertParamExists('submitReassignCertsAsync', 'id', id)
|
|
24482
|
+
// verify required parameter 'reviewReassign' is not null or undefined
|
|
24483
|
+
assertParamExists('submitReassignCertsAsync', 'reviewReassign', reviewReassign)
|
|
24484
|
+
const localVarPath = `/certifications/{id}/reassign-async`
|
|
24485
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
24486
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24487
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24488
|
+
let baseOptions;
|
|
24489
|
+
if (configuration) {
|
|
24490
|
+
baseOptions = configuration.baseOptions;
|
|
24491
|
+
}
|
|
24492
|
+
|
|
24493
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};
|
|
24494
|
+
const localVarHeaderParameter = {} as any;
|
|
24495
|
+
const localVarQueryParameter = {} as any;
|
|
24496
|
+
|
|
24497
|
+
// authentication UserContextAuth required
|
|
24498
|
+
// oauth required
|
|
24499
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
24500
|
+
|
|
24501
|
+
// authentication UserContextAuth required
|
|
24502
|
+
// oauth required
|
|
24503
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
24504
|
+
|
|
24505
|
+
|
|
24506
|
+
|
|
24507
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
24508
|
+
|
|
24509
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24510
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24511
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
24512
|
+
localVarRequestOptions.data = serializeDataIfNeeded(reviewReassign, localVarRequestOptions, configuration)
|
|
24513
|
+
|
|
23406
24514
|
return {
|
|
23407
24515
|
url: toPathString(localVarUrlObj),
|
|
23408
24516
|
axiosOptions: localVarRequestOptions,
|
|
@@ -23440,6 +24548,37 @@ export const CertificationsApiFp = function(configuration?: Configuration) {
|
|
|
23440
24548
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getIdentityCertification(id, axiosOptions);
|
|
23441
24549
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23442
24550
|
},
|
|
24551
|
+
/**
|
|
24552
|
+
* This API returns the permissions associated with an entitlement certification item based on the certification item\'s ID. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. Reviewers for this certification can also call this API.
|
|
24553
|
+
* @summary Permissions for Entitlement Certification Item
|
|
24554
|
+
* @param {string} certificationId The certification ID
|
|
24555
|
+
* @param {string} itemId The certification item ID
|
|
24556
|
+
* @param {string} [filters] Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Supported fields and primitive operators: **target**: *eq, sw* **rights**: *ca* Supported composite operators: *and, or* All field values (second filter operands) are case-insensitive for this API. Only a single *and* or *or* composite filter operator may be used. It must also be used between a target filter and a rights filter, not between 2 filters for the same field. For example, The following is valid: *?filters=rights+ca+(%22CREATE%22)+and+target+eq+%22SYS.OBJAUTH2%22* The following is invalid: *?filters=rights+ca+(%22CREATE%22)+and+rights+ca+(%SELECT%22)*
|
|
24557
|
+
* @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.
|
|
24558
|
+
* @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.
|
|
24559
|
+
* @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
24560
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
24561
|
+
* @throws {RequiredError}
|
|
24562
|
+
*/
|
|
24563
|
+
async getIdentityCertificationItemPermissions(certificationId: string, itemId: string, filters?: string, limit?: number, offset?: number, count?: boolean, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PermissionDto>>> {
|
|
24564
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getIdentityCertificationItemPermissions(certificationId, itemId, filters, limit, offset, count, axiosOptions);
|
|
24565
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24566
|
+
},
|
|
24567
|
+
/**
|
|
24568
|
+
* This API returns a list of pending (`QUEUED` or `IN_PROGRESS`) certification tasks. Any authenticated token can call this API, but only certification tasks you are authorized to review will be returned.
|
|
24569
|
+
* @summary List of Pending Certification Tasks
|
|
24570
|
+
* @param {string} [reviewerIdentity] The ID of reviewer identity. *me* indicates the current user.
|
|
24571
|
+
* @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.
|
|
24572
|
+
* @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.
|
|
24573
|
+
* @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
24574
|
+
* @param {string} [filters] Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **targetId**: *eq, in* **type**: *eq, in*
|
|
24575
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
24576
|
+
* @throws {RequiredError}
|
|
24577
|
+
*/
|
|
24578
|
+
async getPendingCertificationTasks(reviewerIdentity?: string, limit?: number, offset?: number, count?: boolean, filters?: string, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CertificationTask>>> {
|
|
24579
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPendingCertificationTasks(reviewerIdentity, limit, offset, count, filters, axiosOptions);
|
|
24580
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24581
|
+
},
|
|
23443
24582
|
/**
|
|
23444
24583
|
* This API returns a list of reviewers for the certification. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. Reviewers for this certification can also call this API.
|
|
23445
24584
|
* @summary List of Reviewers for certification
|
|
@@ -23526,6 +24665,18 @@ export const CertificationsApiFp = function(configuration?: Configuration) {
|
|
|
23526
24665
|
const localVarAxiosArgs = await localVarAxiosParamCreator.signOffIdentityCertification(id, axiosOptions);
|
|
23527
24666
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23528
24667
|
},
|
|
24668
|
+
/**
|
|
24669
|
+
* This API initiates a task to reassign up to 500 identities or items in an identity campaign certification to another reviewer. The `certification-tasks` API can be used to get an updated status on the task and determine when the reassignment is complete. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. Reviewers for this certification can also call this API.
|
|
24670
|
+
* @summary Reassign Certifications Asynchronously
|
|
24671
|
+
* @param {string} id The identity campaign certification ID
|
|
24672
|
+
* @param {ReviewReassign} reviewReassign
|
|
24673
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
24674
|
+
* @throws {RequiredError}
|
|
24675
|
+
*/
|
|
24676
|
+
async submitReassignCertsAsync(id: string, reviewReassign: ReviewReassign, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CertificationTask>> {
|
|
24677
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.submitReassignCertsAsync(id, reviewReassign, axiosOptions);
|
|
24678
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24679
|
+
},
|
|
23529
24680
|
}
|
|
23530
24681
|
};
|
|
23531
24682
|
|
|
@@ -23556,6 +24707,35 @@ export const CertificationsApiFactory = function (configuration?: Configuration,
|
|
|
23556
24707
|
getIdentityCertification(id: string, axiosOptions?: any): AxiosPromise<IdentityCertificationDto> {
|
|
23557
24708
|
return localVarFp.getIdentityCertification(id, axiosOptions).then((request) => request(axios, basePath));
|
|
23558
24709
|
},
|
|
24710
|
+
/**
|
|
24711
|
+
* This API returns the permissions associated with an entitlement certification item based on the certification item\'s ID. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. Reviewers for this certification can also call this API.
|
|
24712
|
+
* @summary Permissions for Entitlement Certification Item
|
|
24713
|
+
* @param {string} certificationId The certification ID
|
|
24714
|
+
* @param {string} itemId The certification item ID
|
|
24715
|
+
* @param {string} [filters] Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Supported fields and primitive operators: **target**: *eq, sw* **rights**: *ca* Supported composite operators: *and, or* All field values (second filter operands) are case-insensitive for this API. Only a single *and* or *or* composite filter operator may be used. It must also be used between a target filter and a rights filter, not between 2 filters for the same field. For example, The following is valid: *?filters=rights+ca+(%22CREATE%22)+and+target+eq+%22SYS.OBJAUTH2%22* The following is invalid: *?filters=rights+ca+(%22CREATE%22)+and+rights+ca+(%SELECT%22)*
|
|
24716
|
+
* @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.
|
|
24717
|
+
* @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.
|
|
24718
|
+
* @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
24719
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
24720
|
+
* @throws {RequiredError}
|
|
24721
|
+
*/
|
|
24722
|
+
getIdentityCertificationItemPermissions(certificationId: string, itemId: string, filters?: string, limit?: number, offset?: number, count?: boolean, axiosOptions?: any): AxiosPromise<Array<PermissionDto>> {
|
|
24723
|
+
return localVarFp.getIdentityCertificationItemPermissions(certificationId, itemId, filters, limit, offset, count, axiosOptions).then((request) => request(axios, basePath));
|
|
24724
|
+
},
|
|
24725
|
+
/**
|
|
24726
|
+
* This API returns a list of pending (`QUEUED` or `IN_PROGRESS`) certification tasks. Any authenticated token can call this API, but only certification tasks you are authorized to review will be returned.
|
|
24727
|
+
* @summary List of Pending Certification Tasks
|
|
24728
|
+
* @param {string} [reviewerIdentity] The ID of reviewer identity. *me* indicates the current user.
|
|
24729
|
+
* @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.
|
|
24730
|
+
* @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.
|
|
24731
|
+
* @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
24732
|
+
* @param {string} [filters] Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **targetId**: *eq, in* **type**: *eq, in*
|
|
24733
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
24734
|
+
* @throws {RequiredError}
|
|
24735
|
+
*/
|
|
24736
|
+
getPendingCertificationTasks(reviewerIdentity?: string, limit?: number, offset?: number, count?: boolean, filters?: string, axiosOptions?: any): AxiosPromise<Array<CertificationTask>> {
|
|
24737
|
+
return localVarFp.getPendingCertificationTasks(reviewerIdentity, limit, offset, count, filters, axiosOptions).then((request) => request(axios, basePath));
|
|
24738
|
+
},
|
|
23559
24739
|
/**
|
|
23560
24740
|
* This API returns a list of reviewers for the certification. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. Reviewers for this certification can also call this API.
|
|
23561
24741
|
* @summary List of Reviewers for certification
|
|
@@ -23636,6 +24816,17 @@ export const CertificationsApiFactory = function (configuration?: Configuration,
|
|
|
23636
24816
|
signOffIdentityCertification(id: string, axiosOptions?: any): AxiosPromise<IdentityCertificationDto> {
|
|
23637
24817
|
return localVarFp.signOffIdentityCertification(id, axiosOptions).then((request) => request(axios, basePath));
|
|
23638
24818
|
},
|
|
24819
|
+
/**
|
|
24820
|
+
* This API initiates a task to reassign up to 500 identities or items in an identity campaign certification to another reviewer. The `certification-tasks` API can be used to get an updated status on the task and determine when the reassignment is complete. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. Reviewers for this certification can also call this API.
|
|
24821
|
+
* @summary Reassign Certifications Asynchronously
|
|
24822
|
+
* @param {string} id The identity campaign certification ID
|
|
24823
|
+
* @param {ReviewReassign} reviewReassign
|
|
24824
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
24825
|
+
* @throws {RequiredError}
|
|
24826
|
+
*/
|
|
24827
|
+
submitReassignCertsAsync(id: string, reviewReassign: ReviewReassign, axiosOptions?: any): AxiosPromise<CertificationTask> {
|
|
24828
|
+
return localVarFp.submitReassignCertsAsync(id, reviewReassign, axiosOptions).then((request) => request(axios, basePath));
|
|
24829
|
+
},
|
|
23639
24830
|
};
|
|
23640
24831
|
};
|
|
23641
24832
|
|
|
@@ -23667,6 +24858,97 @@ export interface CertificationsApiGetIdentityCertificationRequest {
|
|
|
23667
24858
|
readonly id: string
|
|
23668
24859
|
}
|
|
23669
24860
|
|
|
24861
|
+
/**
|
|
24862
|
+
* Request parameters for getIdentityCertificationItemPermissions operation in CertificationsApi.
|
|
24863
|
+
* @export
|
|
24864
|
+
* @interface CertificationsApiGetIdentityCertificationItemPermissionsRequest
|
|
24865
|
+
*/
|
|
24866
|
+
export interface CertificationsApiGetIdentityCertificationItemPermissionsRequest {
|
|
24867
|
+
/**
|
|
24868
|
+
* The certification ID
|
|
24869
|
+
* @type {string}
|
|
24870
|
+
* @memberof CertificationsApiGetIdentityCertificationItemPermissions
|
|
24871
|
+
*/
|
|
24872
|
+
readonly certificationId: string
|
|
24873
|
+
|
|
24874
|
+
/**
|
|
24875
|
+
* The certification item ID
|
|
24876
|
+
* @type {string}
|
|
24877
|
+
* @memberof CertificationsApiGetIdentityCertificationItemPermissions
|
|
24878
|
+
*/
|
|
24879
|
+
readonly itemId: string
|
|
24880
|
+
|
|
24881
|
+
/**
|
|
24882
|
+
* Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Supported fields and primitive operators: **target**: *eq, sw* **rights**: *ca* Supported composite operators: *and, or* All field values (second filter operands) are case-insensitive for this API. Only a single *and* or *or* composite filter operator may be used. It must also be used between a target filter and a rights filter, not between 2 filters for the same field. For example, The following is valid: *?filters=rights+ca+(%22CREATE%22)+and+target+eq+%22SYS.OBJAUTH2%22* The following is invalid: *?filters=rights+ca+(%22CREATE%22)+and+rights+ca+(%SELECT%22)*
|
|
24883
|
+
* @type {string}
|
|
24884
|
+
* @memberof CertificationsApiGetIdentityCertificationItemPermissions
|
|
24885
|
+
*/
|
|
24886
|
+
readonly filters?: string
|
|
24887
|
+
|
|
24888
|
+
/**
|
|
24889
|
+
* Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
24890
|
+
* @type {number}
|
|
24891
|
+
* @memberof CertificationsApiGetIdentityCertificationItemPermissions
|
|
24892
|
+
*/
|
|
24893
|
+
readonly limit?: number
|
|
24894
|
+
|
|
24895
|
+
/**
|
|
24896
|
+
* 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.
|
|
24897
|
+
* @type {number}
|
|
24898
|
+
* @memberof CertificationsApiGetIdentityCertificationItemPermissions
|
|
24899
|
+
*/
|
|
24900
|
+
readonly offset?: number
|
|
24901
|
+
|
|
24902
|
+
/**
|
|
24903
|
+
* If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
24904
|
+
* @type {boolean}
|
|
24905
|
+
* @memberof CertificationsApiGetIdentityCertificationItemPermissions
|
|
24906
|
+
*/
|
|
24907
|
+
readonly count?: boolean
|
|
24908
|
+
}
|
|
24909
|
+
|
|
24910
|
+
/**
|
|
24911
|
+
* Request parameters for getPendingCertificationTasks operation in CertificationsApi.
|
|
24912
|
+
* @export
|
|
24913
|
+
* @interface CertificationsApiGetPendingCertificationTasksRequest
|
|
24914
|
+
*/
|
|
24915
|
+
export interface CertificationsApiGetPendingCertificationTasksRequest {
|
|
24916
|
+
/**
|
|
24917
|
+
* The ID of reviewer identity. *me* indicates the current user.
|
|
24918
|
+
* @type {string}
|
|
24919
|
+
* @memberof CertificationsApiGetPendingCertificationTasks
|
|
24920
|
+
*/
|
|
24921
|
+
readonly reviewerIdentity?: string
|
|
24922
|
+
|
|
24923
|
+
/**
|
|
24924
|
+
* Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
24925
|
+
* @type {number}
|
|
24926
|
+
* @memberof CertificationsApiGetPendingCertificationTasks
|
|
24927
|
+
*/
|
|
24928
|
+
readonly limit?: number
|
|
24929
|
+
|
|
24930
|
+
/**
|
|
24931
|
+
* 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.
|
|
24932
|
+
* @type {number}
|
|
24933
|
+
* @memberof CertificationsApiGetPendingCertificationTasks
|
|
24934
|
+
*/
|
|
24935
|
+
readonly offset?: number
|
|
24936
|
+
|
|
24937
|
+
/**
|
|
24938
|
+
* If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
24939
|
+
* @type {boolean}
|
|
24940
|
+
* @memberof CertificationsApiGetPendingCertificationTasks
|
|
24941
|
+
*/
|
|
24942
|
+
readonly count?: boolean
|
|
24943
|
+
|
|
24944
|
+
/**
|
|
24945
|
+
* Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **targetId**: *eq, in* **type**: *eq, in*
|
|
24946
|
+
* @type {string}
|
|
24947
|
+
* @memberof CertificationsApiGetPendingCertificationTasks
|
|
24948
|
+
*/
|
|
24949
|
+
readonly filters?: string
|
|
24950
|
+
}
|
|
24951
|
+
|
|
23670
24952
|
/**
|
|
23671
24953
|
* Request parameters for listCertificationReviewers operation in CertificationsApi.
|
|
23672
24954
|
* @export
|
|
@@ -23891,6 +25173,27 @@ export interface CertificationsApiSignOffIdentityCertificationRequest {
|
|
|
23891
25173
|
readonly id: string
|
|
23892
25174
|
}
|
|
23893
25175
|
|
|
25176
|
+
/**
|
|
25177
|
+
* Request parameters for submitReassignCertsAsync operation in CertificationsApi.
|
|
25178
|
+
* @export
|
|
25179
|
+
* @interface CertificationsApiSubmitReassignCertsAsyncRequest
|
|
25180
|
+
*/
|
|
25181
|
+
export interface CertificationsApiSubmitReassignCertsAsyncRequest {
|
|
25182
|
+
/**
|
|
25183
|
+
* The identity campaign certification ID
|
|
25184
|
+
* @type {string}
|
|
25185
|
+
* @memberof CertificationsApiSubmitReassignCertsAsync
|
|
25186
|
+
*/
|
|
25187
|
+
readonly id: string
|
|
25188
|
+
|
|
25189
|
+
/**
|
|
25190
|
+
*
|
|
25191
|
+
* @type {ReviewReassign}
|
|
25192
|
+
* @memberof CertificationsApiSubmitReassignCertsAsync
|
|
25193
|
+
*/
|
|
25194
|
+
readonly reviewReassign: ReviewReassign
|
|
25195
|
+
}
|
|
25196
|
+
|
|
23894
25197
|
/**
|
|
23895
25198
|
* CertificationsApi - object-oriented interface
|
|
23896
25199
|
* @export
|
|
@@ -23922,6 +25225,30 @@ export class CertificationsApi extends BaseAPI {
|
|
|
23922
25225
|
return CertificationsApiFp(this.configuration).getIdentityCertification(requestParameters.id, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
23923
25226
|
}
|
|
23924
25227
|
|
|
25228
|
+
/**
|
|
25229
|
+
* This API returns the permissions associated with an entitlement certification item based on the certification item\'s ID. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. Reviewers for this certification can also call this API.
|
|
25230
|
+
* @summary Permissions for Entitlement Certification Item
|
|
25231
|
+
* @param {CertificationsApiGetIdentityCertificationItemPermissionsRequest} requestParameters Request parameters.
|
|
25232
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
25233
|
+
* @throws {RequiredError}
|
|
25234
|
+
* @memberof CertificationsApi
|
|
25235
|
+
*/
|
|
25236
|
+
public getIdentityCertificationItemPermissions(requestParameters: CertificationsApiGetIdentityCertificationItemPermissionsRequest, axiosOptions?: AxiosRequestConfig) {
|
|
25237
|
+
return CertificationsApiFp(this.configuration).getIdentityCertificationItemPermissions(requestParameters.certificationId, requestParameters.itemId, requestParameters.filters, requestParameters.limit, requestParameters.offset, requestParameters.count, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
25238
|
+
}
|
|
25239
|
+
|
|
25240
|
+
/**
|
|
25241
|
+
* This API returns a list of pending (`QUEUED` or `IN_PROGRESS`) certification tasks. Any authenticated token can call this API, but only certification tasks you are authorized to review will be returned.
|
|
25242
|
+
* @summary List of Pending Certification Tasks
|
|
25243
|
+
* @param {CertificationsApiGetPendingCertificationTasksRequest} requestParameters Request parameters.
|
|
25244
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
25245
|
+
* @throws {RequiredError}
|
|
25246
|
+
* @memberof CertificationsApi
|
|
25247
|
+
*/
|
|
25248
|
+
public getPendingCertificationTasks(requestParameters: CertificationsApiGetPendingCertificationTasksRequest = {}, axiosOptions?: AxiosRequestConfig) {
|
|
25249
|
+
return CertificationsApiFp(this.configuration).getPendingCertificationTasks(requestParameters.reviewerIdentity, requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.filters, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
25250
|
+
}
|
|
25251
|
+
|
|
23925
25252
|
/**
|
|
23926
25253
|
* This API returns a list of reviewers for the certification. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. Reviewers for this certification can also call this API.
|
|
23927
25254
|
* @summary List of Reviewers for certification
|
|
@@ -23993,6 +25320,18 @@ export class CertificationsApi extends BaseAPI {
|
|
|
23993
25320
|
public signOffIdentityCertification(requestParameters: CertificationsApiSignOffIdentityCertificationRequest, axiosOptions?: AxiosRequestConfig) {
|
|
23994
25321
|
return CertificationsApiFp(this.configuration).signOffIdentityCertification(requestParameters.id, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
23995
25322
|
}
|
|
25323
|
+
|
|
25324
|
+
/**
|
|
25325
|
+
* This API initiates a task to reassign up to 500 identities or items in an identity campaign certification to another reviewer. The `certification-tasks` API can be used to get an updated status on the task and determine when the reassignment is complete. A token with ORG_ADMIN or CERT_ADMIN authority is required to call this API. Reviewers for this certification can also call this API.
|
|
25326
|
+
* @summary Reassign Certifications Asynchronously
|
|
25327
|
+
* @param {CertificationsApiSubmitReassignCertsAsyncRequest} requestParameters Request parameters.
|
|
25328
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
25329
|
+
* @throws {RequiredError}
|
|
25330
|
+
* @memberof CertificationsApi
|
|
25331
|
+
*/
|
|
25332
|
+
public submitReassignCertsAsync(requestParameters: CertificationsApiSubmitReassignCertsAsyncRequest, axiosOptions?: AxiosRequestConfig) {
|
|
25333
|
+
return CertificationsApiFp(this.configuration).submitReassignCertsAsync(requestParameters.id, requestParameters.reviewReassign, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
25334
|
+
}
|
|
23996
25335
|
}
|
|
23997
25336
|
|
|
23998
25337
|
|
|
@@ -37931,6 +39270,278 @@ export class ServiceDeskIntegrationApi extends BaseAPI {
|
|
|
37931
39270
|
}
|
|
37932
39271
|
|
|
37933
39272
|
|
|
39273
|
+
/**
|
|
39274
|
+
* SourceUsagesApi - axios parameter creator
|
|
39275
|
+
* @export
|
|
39276
|
+
*/
|
|
39277
|
+
export const SourceUsagesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
39278
|
+
return {
|
|
39279
|
+
/**
|
|
39280
|
+
* This API returns the status of the source usage insights setup by IDN source ID.
|
|
39281
|
+
* @summary Finds status of source usage
|
|
39282
|
+
* @param {string} sourceId ID of IDN source
|
|
39283
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
39284
|
+
* @throws {RequiredError}
|
|
39285
|
+
*/
|
|
39286
|
+
getStatusBySourceId: async (sourceId: string, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
39287
|
+
// verify required parameter 'sourceId' is not null or undefined
|
|
39288
|
+
assertParamExists('getStatusBySourceId', 'sourceId', sourceId)
|
|
39289
|
+
const localVarPath = `/source-usages/{sourceId}/status`
|
|
39290
|
+
.replace(`{${"sourceId"}}`, encodeURIComponent(String(sourceId)));
|
|
39291
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
39292
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
39293
|
+
let baseOptions;
|
|
39294
|
+
if (configuration) {
|
|
39295
|
+
baseOptions = configuration.baseOptions;
|
|
39296
|
+
}
|
|
39297
|
+
|
|
39298
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
|
|
39299
|
+
const localVarHeaderParameter = {} as any;
|
|
39300
|
+
const localVarQueryParameter = {} as any;
|
|
39301
|
+
|
|
39302
|
+
// authentication UserContextAuth required
|
|
39303
|
+
// oauth required
|
|
39304
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
39305
|
+
|
|
39306
|
+
// authentication UserContextAuth required
|
|
39307
|
+
// oauth required
|
|
39308
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
39309
|
+
|
|
39310
|
+
|
|
39311
|
+
|
|
39312
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
39313
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
39314
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
39315
|
+
|
|
39316
|
+
return {
|
|
39317
|
+
url: toPathString(localVarUrlObj),
|
|
39318
|
+
axiosOptions: localVarRequestOptions,
|
|
39319
|
+
};
|
|
39320
|
+
},
|
|
39321
|
+
/**
|
|
39322
|
+
* This API returns a summary of source usage insights for past 12 months.
|
|
39323
|
+
* @summary Returns source usage insights
|
|
39324
|
+
* @param {string} sourceId ID of IDN source
|
|
39325
|
+
* @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.
|
|
39326
|
+
* @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.
|
|
39327
|
+
* @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
39328
|
+
* @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **date**
|
|
39329
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
39330
|
+
* @throws {RequiredError}
|
|
39331
|
+
*/
|
|
39332
|
+
getUsagesBySourceId: async (sourceId: string, limit?: number, offset?: number, count?: boolean, sorters?: string, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
39333
|
+
// verify required parameter 'sourceId' is not null or undefined
|
|
39334
|
+
assertParamExists('getUsagesBySourceId', 'sourceId', sourceId)
|
|
39335
|
+
const localVarPath = `/source-usages/{sourceId}/summaries`
|
|
39336
|
+
.replace(`{${"sourceId"}}`, encodeURIComponent(String(sourceId)));
|
|
39337
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
39338
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
39339
|
+
let baseOptions;
|
|
39340
|
+
if (configuration) {
|
|
39341
|
+
baseOptions = configuration.baseOptions;
|
|
39342
|
+
}
|
|
39343
|
+
|
|
39344
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
|
|
39345
|
+
const localVarHeaderParameter = {} as any;
|
|
39346
|
+
const localVarQueryParameter = {} as any;
|
|
39347
|
+
|
|
39348
|
+
// authentication UserContextAuth required
|
|
39349
|
+
// oauth required
|
|
39350
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
39351
|
+
|
|
39352
|
+
// authentication UserContextAuth required
|
|
39353
|
+
// oauth required
|
|
39354
|
+
await setOAuthToObject(localVarHeaderParameter, "UserContextAuth", [], configuration)
|
|
39355
|
+
|
|
39356
|
+
if (limit !== undefined) {
|
|
39357
|
+
localVarQueryParameter['limit'] = limit;
|
|
39358
|
+
}
|
|
39359
|
+
|
|
39360
|
+
if (offset !== undefined) {
|
|
39361
|
+
localVarQueryParameter['offset'] = offset;
|
|
39362
|
+
}
|
|
39363
|
+
|
|
39364
|
+
if (count !== undefined) {
|
|
39365
|
+
localVarQueryParameter['count'] = count;
|
|
39366
|
+
}
|
|
39367
|
+
|
|
39368
|
+
if (sorters !== undefined) {
|
|
39369
|
+
localVarQueryParameter['sorters'] = sorters;
|
|
39370
|
+
}
|
|
39371
|
+
|
|
39372
|
+
|
|
39373
|
+
|
|
39374
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
39375
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
39376
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
39377
|
+
|
|
39378
|
+
return {
|
|
39379
|
+
url: toPathString(localVarUrlObj),
|
|
39380
|
+
axiosOptions: localVarRequestOptions,
|
|
39381
|
+
};
|
|
39382
|
+
},
|
|
39383
|
+
}
|
|
39384
|
+
};
|
|
39385
|
+
|
|
39386
|
+
/**
|
|
39387
|
+
* SourceUsagesApi - functional programming interface
|
|
39388
|
+
* @export
|
|
39389
|
+
*/
|
|
39390
|
+
export const SourceUsagesApiFp = function(configuration?: Configuration) {
|
|
39391
|
+
const localVarAxiosParamCreator = SourceUsagesApiAxiosParamCreator(configuration)
|
|
39392
|
+
return {
|
|
39393
|
+
/**
|
|
39394
|
+
* This API returns the status of the source usage insights setup by IDN source ID.
|
|
39395
|
+
* @summary Finds status of source usage
|
|
39396
|
+
* @param {string} sourceId ID of IDN source
|
|
39397
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
39398
|
+
* @throws {RequiredError}
|
|
39399
|
+
*/
|
|
39400
|
+
async getStatusBySourceId(sourceId: string, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SourceUsageStatus>> {
|
|
39401
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getStatusBySourceId(sourceId, axiosOptions);
|
|
39402
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
39403
|
+
},
|
|
39404
|
+
/**
|
|
39405
|
+
* This API returns a summary of source usage insights for past 12 months.
|
|
39406
|
+
* @summary Returns source usage insights
|
|
39407
|
+
* @param {string} sourceId ID of IDN source
|
|
39408
|
+
* @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.
|
|
39409
|
+
* @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.
|
|
39410
|
+
* @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
39411
|
+
* @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **date**
|
|
39412
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
39413
|
+
* @throws {RequiredError}
|
|
39414
|
+
*/
|
|
39415
|
+
async getUsagesBySourceId(sourceId: string, limit?: number, offset?: number, count?: boolean, sorters?: string, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SourceUsage>>> {
|
|
39416
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUsagesBySourceId(sourceId, limit, offset, count, sorters, axiosOptions);
|
|
39417
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
39418
|
+
},
|
|
39419
|
+
}
|
|
39420
|
+
};
|
|
39421
|
+
|
|
39422
|
+
/**
|
|
39423
|
+
* SourceUsagesApi - factory interface
|
|
39424
|
+
* @export
|
|
39425
|
+
*/
|
|
39426
|
+
export const SourceUsagesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
39427
|
+
const localVarFp = SourceUsagesApiFp(configuration)
|
|
39428
|
+
return {
|
|
39429
|
+
/**
|
|
39430
|
+
* This API returns the status of the source usage insights setup by IDN source ID.
|
|
39431
|
+
* @summary Finds status of source usage
|
|
39432
|
+
* @param {string} sourceId ID of IDN source
|
|
39433
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
39434
|
+
* @throws {RequiredError}
|
|
39435
|
+
*/
|
|
39436
|
+
getStatusBySourceId(sourceId: string, axiosOptions?: any): AxiosPromise<SourceUsageStatus> {
|
|
39437
|
+
return localVarFp.getStatusBySourceId(sourceId, axiosOptions).then((request) => request(axios, basePath));
|
|
39438
|
+
},
|
|
39439
|
+
/**
|
|
39440
|
+
* This API returns a summary of source usage insights for past 12 months.
|
|
39441
|
+
* @summary Returns source usage insights
|
|
39442
|
+
* @param {string} sourceId ID of IDN source
|
|
39443
|
+
* @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.
|
|
39444
|
+
* @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.
|
|
39445
|
+
* @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
39446
|
+
* @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **date**
|
|
39447
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
39448
|
+
* @throws {RequiredError}
|
|
39449
|
+
*/
|
|
39450
|
+
getUsagesBySourceId(sourceId: string, limit?: number, offset?: number, count?: boolean, sorters?: string, axiosOptions?: any): AxiosPromise<Array<SourceUsage>> {
|
|
39451
|
+
return localVarFp.getUsagesBySourceId(sourceId, limit, offset, count, sorters, axiosOptions).then((request) => request(axios, basePath));
|
|
39452
|
+
},
|
|
39453
|
+
};
|
|
39454
|
+
};
|
|
39455
|
+
|
|
39456
|
+
/**
|
|
39457
|
+
* Request parameters for getStatusBySourceId operation in SourceUsagesApi.
|
|
39458
|
+
* @export
|
|
39459
|
+
* @interface SourceUsagesApiGetStatusBySourceIdRequest
|
|
39460
|
+
*/
|
|
39461
|
+
export interface SourceUsagesApiGetStatusBySourceIdRequest {
|
|
39462
|
+
/**
|
|
39463
|
+
* ID of IDN source
|
|
39464
|
+
* @type {string}
|
|
39465
|
+
* @memberof SourceUsagesApiGetStatusBySourceId
|
|
39466
|
+
*/
|
|
39467
|
+
readonly sourceId: string
|
|
39468
|
+
}
|
|
39469
|
+
|
|
39470
|
+
/**
|
|
39471
|
+
* Request parameters for getUsagesBySourceId operation in SourceUsagesApi.
|
|
39472
|
+
* @export
|
|
39473
|
+
* @interface SourceUsagesApiGetUsagesBySourceIdRequest
|
|
39474
|
+
*/
|
|
39475
|
+
export interface SourceUsagesApiGetUsagesBySourceIdRequest {
|
|
39476
|
+
/**
|
|
39477
|
+
* ID of IDN source
|
|
39478
|
+
* @type {string}
|
|
39479
|
+
* @memberof SourceUsagesApiGetUsagesBySourceId
|
|
39480
|
+
*/
|
|
39481
|
+
readonly sourceId: string
|
|
39482
|
+
|
|
39483
|
+
/**
|
|
39484
|
+
* Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
39485
|
+
* @type {number}
|
|
39486
|
+
* @memberof SourceUsagesApiGetUsagesBySourceId
|
|
39487
|
+
*/
|
|
39488
|
+
readonly limit?: number
|
|
39489
|
+
|
|
39490
|
+
/**
|
|
39491
|
+
* 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.
|
|
39492
|
+
* @type {number}
|
|
39493
|
+
* @memberof SourceUsagesApiGetUsagesBySourceId
|
|
39494
|
+
*/
|
|
39495
|
+
readonly offset?: number
|
|
39496
|
+
|
|
39497
|
+
/**
|
|
39498
|
+
* If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
39499
|
+
* @type {boolean}
|
|
39500
|
+
* @memberof SourceUsagesApiGetUsagesBySourceId
|
|
39501
|
+
*/
|
|
39502
|
+
readonly count?: boolean
|
|
39503
|
+
|
|
39504
|
+
/**
|
|
39505
|
+
* Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **date**
|
|
39506
|
+
* @type {string}
|
|
39507
|
+
* @memberof SourceUsagesApiGetUsagesBySourceId
|
|
39508
|
+
*/
|
|
39509
|
+
readonly sorters?: string
|
|
39510
|
+
}
|
|
39511
|
+
|
|
39512
|
+
/**
|
|
39513
|
+
* SourceUsagesApi - object-oriented interface
|
|
39514
|
+
* @export
|
|
39515
|
+
* @class SourceUsagesApi
|
|
39516
|
+
* @extends {BaseAPI}
|
|
39517
|
+
*/
|
|
39518
|
+
export class SourceUsagesApi extends BaseAPI {
|
|
39519
|
+
/**
|
|
39520
|
+
* This API returns the status of the source usage insights setup by IDN source ID.
|
|
39521
|
+
* @summary Finds status of source usage
|
|
39522
|
+
* @param {SourceUsagesApiGetStatusBySourceIdRequest} requestParameters Request parameters.
|
|
39523
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
39524
|
+
* @throws {RequiredError}
|
|
39525
|
+
* @memberof SourceUsagesApi
|
|
39526
|
+
*/
|
|
39527
|
+
public getStatusBySourceId(requestParameters: SourceUsagesApiGetStatusBySourceIdRequest, axiosOptions?: AxiosRequestConfig) {
|
|
39528
|
+
return SourceUsagesApiFp(this.configuration).getStatusBySourceId(requestParameters.sourceId, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
39529
|
+
}
|
|
39530
|
+
|
|
39531
|
+
/**
|
|
39532
|
+
* This API returns a summary of source usage insights for past 12 months.
|
|
39533
|
+
* @summary Returns source usage insights
|
|
39534
|
+
* @param {SourceUsagesApiGetUsagesBySourceIdRequest} requestParameters Request parameters.
|
|
39535
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
39536
|
+
* @throws {RequiredError}
|
|
39537
|
+
* @memberof SourceUsagesApi
|
|
39538
|
+
*/
|
|
39539
|
+
public getUsagesBySourceId(requestParameters: SourceUsagesApiGetUsagesBySourceIdRequest, axiosOptions?: AxiosRequestConfig) {
|
|
39540
|
+
return SourceUsagesApiFp(this.configuration).getUsagesBySourceId(requestParameters.sourceId, requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.sorters, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
39541
|
+
}
|
|
39542
|
+
}
|
|
39543
|
+
|
|
39544
|
+
|
|
37934
39545
|
/**
|
|
37935
39546
|
* SourcesApi - axios parameter creator
|
|
37936
39547
|
* @export
|
|
@@ -41726,11 +43337,11 @@ export const TransformsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
41726
43337
|
* Replaces the transform specified by the given ID with the transform provided in the request body. Only the \"attributes\" field is mutable. Attempting to change other properties (ex. \"name\" and \"type\") will result in an error. A token with transform write authority is required to call this API.
|
|
41727
43338
|
* @summary Update a transform
|
|
41728
43339
|
* @param {string} id ID of the transform to update
|
|
41729
|
-
* @param {
|
|
43340
|
+
* @param {TransformUpdate} [transformUpdate] The updated transform object (must include \"name\", \"type\", and \"attributes\" fields).
|
|
41730
43341
|
* @param {*} [axiosOptions] Override http request option.
|
|
41731
43342
|
* @throws {RequiredError}
|
|
41732
43343
|
*/
|
|
41733
|
-
updateTransform: async (id: string,
|
|
43344
|
+
updateTransform: async (id: string, transformUpdate?: TransformUpdate, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41734
43345
|
// verify required parameter 'id' is not null or undefined
|
|
41735
43346
|
assertParamExists('updateTransform', 'id', id)
|
|
41736
43347
|
const localVarPath = `/transforms/{id}`
|
|
@@ -41761,7 +43372,7 @@ export const TransformsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
41761
43372
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
41762
43373
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
41763
43374
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
41764
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
43375
|
+
localVarRequestOptions.data = serializeDataIfNeeded(transformUpdate, localVarRequestOptions, configuration)
|
|
41765
43376
|
|
|
41766
43377
|
return {
|
|
41767
43378
|
url: toPathString(localVarUrlObj),
|
|
@@ -41785,7 +43396,7 @@ export const TransformsApiFp = function(configuration?: Configuration) {
|
|
|
41785
43396
|
* @param {*} [axiosOptions] Override http request option.
|
|
41786
43397
|
* @throws {RequiredError}
|
|
41787
43398
|
*/
|
|
41788
|
-
async createTransform(transform: Transform, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
43399
|
+
async createTransform(transform: Transform, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransformRead>> {
|
|
41789
43400
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createTransform(transform, axiosOptions);
|
|
41790
43401
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
41791
43402
|
},
|
|
@@ -41807,7 +43418,7 @@ export const TransformsApiFp = function(configuration?: Configuration) {
|
|
|
41807
43418
|
* @param {*} [axiosOptions] Override http request option.
|
|
41808
43419
|
* @throws {RequiredError}
|
|
41809
43420
|
*/
|
|
41810
|
-
async getTransform(id: string, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
43421
|
+
async getTransform(id: string, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransformRead>> {
|
|
41811
43422
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getTransform(id, axiosOptions);
|
|
41812
43423
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
41813
43424
|
},
|
|
@@ -41822,7 +43433,7 @@ export const TransformsApiFp = function(configuration?: Configuration) {
|
|
|
41822
43433
|
* @param {*} [axiosOptions] Override http request option.
|
|
41823
43434
|
* @throws {RequiredError}
|
|
41824
43435
|
*/
|
|
41825
|
-
async listTransforms(offset?: number, limit?: number, count?: boolean, name?: string, filters?: string, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<
|
|
43436
|
+
async listTransforms(offset?: number, limit?: number, count?: boolean, name?: string, filters?: string, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TransformRead>>> {
|
|
41826
43437
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listTransforms(offset, limit, count, name, filters, axiosOptions);
|
|
41827
43438
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
41828
43439
|
},
|
|
@@ -41830,12 +43441,12 @@ export const TransformsApiFp = function(configuration?: Configuration) {
|
|
|
41830
43441
|
* Replaces the transform specified by the given ID with the transform provided in the request body. Only the \"attributes\" field is mutable. Attempting to change other properties (ex. \"name\" and \"type\") will result in an error. A token with transform write authority is required to call this API.
|
|
41831
43442
|
* @summary Update a transform
|
|
41832
43443
|
* @param {string} id ID of the transform to update
|
|
41833
|
-
* @param {
|
|
43444
|
+
* @param {TransformUpdate} [transformUpdate] The updated transform object (must include \"name\", \"type\", and \"attributes\" fields).
|
|
41834
43445
|
* @param {*} [axiosOptions] Override http request option.
|
|
41835
43446
|
* @throws {RequiredError}
|
|
41836
43447
|
*/
|
|
41837
|
-
async updateTransform(id: string,
|
|
41838
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateTransform(id,
|
|
43448
|
+
async updateTransform(id: string, transformUpdate?: TransformUpdate, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransformRead>> {
|
|
43449
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateTransform(id, transformUpdate, axiosOptions);
|
|
41839
43450
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
41840
43451
|
},
|
|
41841
43452
|
}
|
|
@@ -41855,7 +43466,7 @@ export const TransformsApiFactory = function (configuration?: Configuration, bas
|
|
|
41855
43466
|
* @param {*} [axiosOptions] Override http request option.
|
|
41856
43467
|
* @throws {RequiredError}
|
|
41857
43468
|
*/
|
|
41858
|
-
createTransform(transform: Transform, axiosOptions?: any): AxiosPromise<
|
|
43469
|
+
createTransform(transform: Transform, axiosOptions?: any): AxiosPromise<TransformRead> {
|
|
41859
43470
|
return localVarFp.createTransform(transform, axiosOptions).then((request) => request(axios, basePath));
|
|
41860
43471
|
},
|
|
41861
43472
|
/**
|
|
@@ -41875,7 +43486,7 @@ export const TransformsApiFactory = function (configuration?: Configuration, bas
|
|
|
41875
43486
|
* @param {*} [axiosOptions] Override http request option.
|
|
41876
43487
|
* @throws {RequiredError}
|
|
41877
43488
|
*/
|
|
41878
|
-
getTransform(id: string, axiosOptions?: any): AxiosPromise<
|
|
43489
|
+
getTransform(id: string, axiosOptions?: any): AxiosPromise<TransformRead> {
|
|
41879
43490
|
return localVarFp.getTransform(id, axiosOptions).then((request) => request(axios, basePath));
|
|
41880
43491
|
},
|
|
41881
43492
|
/**
|
|
@@ -41889,19 +43500,19 @@ export const TransformsApiFactory = function (configuration?: Configuration, bas
|
|
|
41889
43500
|
* @param {*} [axiosOptions] Override http request option.
|
|
41890
43501
|
* @throws {RequiredError}
|
|
41891
43502
|
*/
|
|
41892
|
-
listTransforms(offset?: number, limit?: number, count?: boolean, name?: string, filters?: string, axiosOptions?: any): AxiosPromise<Array<
|
|
43503
|
+
listTransforms(offset?: number, limit?: number, count?: boolean, name?: string, filters?: string, axiosOptions?: any): AxiosPromise<Array<TransformRead>> {
|
|
41893
43504
|
return localVarFp.listTransforms(offset, limit, count, name, filters, axiosOptions).then((request) => request(axios, basePath));
|
|
41894
43505
|
},
|
|
41895
43506
|
/**
|
|
41896
43507
|
* Replaces the transform specified by the given ID with the transform provided in the request body. Only the \"attributes\" field is mutable. Attempting to change other properties (ex. \"name\" and \"type\") will result in an error. A token with transform write authority is required to call this API.
|
|
41897
43508
|
* @summary Update a transform
|
|
41898
43509
|
* @param {string} id ID of the transform to update
|
|
41899
|
-
* @param {
|
|
43510
|
+
* @param {TransformUpdate} [transformUpdate] The updated transform object (must include \"name\", \"type\", and \"attributes\" fields).
|
|
41900
43511
|
* @param {*} [axiosOptions] Override http request option.
|
|
41901
43512
|
* @throws {RequiredError}
|
|
41902
43513
|
*/
|
|
41903
|
-
updateTransform(id: string,
|
|
41904
|
-
return localVarFp.updateTransform(id,
|
|
43514
|
+
updateTransform(id: string, transformUpdate?: TransformUpdate, axiosOptions?: any): AxiosPromise<TransformRead> {
|
|
43515
|
+
return localVarFp.updateTransform(id, transformUpdate, axiosOptions).then((request) => request(axios, basePath));
|
|
41905
43516
|
},
|
|
41906
43517
|
};
|
|
41907
43518
|
};
|
|
@@ -42005,10 +43616,10 @@ export interface TransformsApiUpdateTransformRequest {
|
|
|
42005
43616
|
|
|
42006
43617
|
/**
|
|
42007
43618
|
* The updated transform object (must include \"name\", \"type\", and \"attributes\" fields).
|
|
42008
|
-
* @type {
|
|
43619
|
+
* @type {TransformUpdate}
|
|
42009
43620
|
* @memberof TransformsApiUpdateTransform
|
|
42010
43621
|
*/
|
|
42011
|
-
readonly
|
|
43622
|
+
readonly transformUpdate?: TransformUpdate
|
|
42012
43623
|
}
|
|
42013
43624
|
|
|
42014
43625
|
/**
|
|
@@ -42075,7 +43686,7 @@ export class TransformsApi extends BaseAPI {
|
|
|
42075
43686
|
* @memberof TransformsApi
|
|
42076
43687
|
*/
|
|
42077
43688
|
public updateTransform(requestParameters: TransformsApiUpdateTransformRequest, axiosOptions?: AxiosRequestConfig) {
|
|
42078
|
-
return TransformsApiFp(this.configuration).updateTransform(requestParameters.id, requestParameters.
|
|
43689
|
+
return TransformsApiFp(this.configuration).updateTransform(requestParameters.id, requestParameters.transformUpdate, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
42079
43690
|
}
|
|
42080
43691
|
}
|
|
42081
43692
|
|