@nexgencloud/hyperstack-sdk-typescript 1.51.1-alpha → 1.52.0-alpha
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/README.md +2 -2
- package/api.ts +841 -0
- package/dist/api.d.ts +564 -0
- package/dist/api.js +519 -5
- package/dist/esm/api.d.ts +564 -0
- package/dist/esm/api.js +506 -0
- package/package.json +1 -1
package/dist/esm/api.d.ts
CHANGED
|
@@ -1778,6 +1778,103 @@ export interface ComplianceResponse {
|
|
|
1778
1778
|
*/
|
|
1779
1779
|
'status'?: boolean;
|
|
1780
1780
|
}
|
|
1781
|
+
/**
|
|
1782
|
+
*
|
|
1783
|
+
* @export
|
|
1784
|
+
* @interface ConsentActionResponse
|
|
1785
|
+
*/
|
|
1786
|
+
export interface ConsentActionResponse {
|
|
1787
|
+
/**
|
|
1788
|
+
*
|
|
1789
|
+
* @type {UserConsent}
|
|
1790
|
+
* @memberof ConsentActionResponse
|
|
1791
|
+
*/
|
|
1792
|
+
'consent'?: UserConsent;
|
|
1793
|
+
/**
|
|
1794
|
+
*
|
|
1795
|
+
* @type {string}
|
|
1796
|
+
* @memberof ConsentActionResponse
|
|
1797
|
+
*/
|
|
1798
|
+
'message'?: string;
|
|
1799
|
+
}
|
|
1800
|
+
/**
|
|
1801
|
+
*
|
|
1802
|
+
* @export
|
|
1803
|
+
* @interface ConsentBlock
|
|
1804
|
+
*/
|
|
1805
|
+
export interface ConsentBlock {
|
|
1806
|
+
/**
|
|
1807
|
+
* Block text, may contain ${variable} placeholders
|
|
1808
|
+
* @type {string}
|
|
1809
|
+
* @memberof ConsentBlock
|
|
1810
|
+
*/
|
|
1811
|
+
'text'?: string;
|
|
1812
|
+
/**
|
|
1813
|
+
* Block display type
|
|
1814
|
+
* @type {string}
|
|
1815
|
+
* @memberof ConsentBlock
|
|
1816
|
+
*/
|
|
1817
|
+
'type'?: ConsentBlockTypeEnum;
|
|
1818
|
+
}
|
|
1819
|
+
export declare const ConsentBlockTypeEnum: {
|
|
1820
|
+
readonly Text: "text";
|
|
1821
|
+
readonly Warning: "warning";
|
|
1822
|
+
readonly Info: "info";
|
|
1823
|
+
readonly Success: "success";
|
|
1824
|
+
readonly Failure: "failure";
|
|
1825
|
+
};
|
|
1826
|
+
export type ConsentBlockTypeEnum = typeof ConsentBlockTypeEnum[keyof typeof ConsentBlockTypeEnum];
|
|
1827
|
+
/**
|
|
1828
|
+
*
|
|
1829
|
+
* @export
|
|
1830
|
+
* @interface ConsentEventsResponse
|
|
1831
|
+
*/
|
|
1832
|
+
export interface ConsentEventsResponse {
|
|
1833
|
+
/**
|
|
1834
|
+
*
|
|
1835
|
+
* @type {UserConsent}
|
|
1836
|
+
* @memberof ConsentEventsResponse
|
|
1837
|
+
*/
|
|
1838
|
+
'consent'?: UserConsent;
|
|
1839
|
+
/**
|
|
1840
|
+
*
|
|
1841
|
+
* @type {Array<UserConsentEvent>}
|
|
1842
|
+
* @memberof ConsentEventsResponse
|
|
1843
|
+
*/
|
|
1844
|
+
'events'?: Array<UserConsentEvent>;
|
|
1845
|
+
}
|
|
1846
|
+
/**
|
|
1847
|
+
*
|
|
1848
|
+
* @export
|
|
1849
|
+
* @interface ConsentTemplate
|
|
1850
|
+
*/
|
|
1851
|
+
export interface ConsentTemplate {
|
|
1852
|
+
/**
|
|
1853
|
+
*
|
|
1854
|
+
* @type {Array<ConsentBlock>}
|
|
1855
|
+
* @memberof ConsentTemplate
|
|
1856
|
+
*/
|
|
1857
|
+
'blocks'?: Array<ConsentBlock>;
|
|
1858
|
+
/**
|
|
1859
|
+
* Template version identifier
|
|
1860
|
+
* @type {string}
|
|
1861
|
+
* @memberof ConsentTemplate
|
|
1862
|
+
*/
|
|
1863
|
+
'version'?: string;
|
|
1864
|
+
}
|
|
1865
|
+
/**
|
|
1866
|
+
*
|
|
1867
|
+
* @export
|
|
1868
|
+
* @interface ConsentTemplatesResponse
|
|
1869
|
+
*/
|
|
1870
|
+
export interface ConsentTemplatesResponse {
|
|
1871
|
+
/**
|
|
1872
|
+
* Templates keyed by consent type
|
|
1873
|
+
* @type {object}
|
|
1874
|
+
* @memberof ConsentTemplatesResponse
|
|
1875
|
+
*/
|
|
1876
|
+
'templates'?: object;
|
|
1877
|
+
}
|
|
1781
1878
|
/**
|
|
1782
1879
|
*
|
|
1783
1880
|
* @export
|
|
@@ -6927,6 +7024,58 @@ export interface RbacRoleFields {
|
|
|
6927
7024
|
*/
|
|
6928
7025
|
'policies'?: Array<RolePolicyFields>;
|
|
6929
7026
|
}
|
|
7027
|
+
/**
|
|
7028
|
+
*
|
|
7029
|
+
* @export
|
|
7030
|
+
* @interface RecordConsentRequest
|
|
7031
|
+
*/
|
|
7032
|
+
export interface RecordConsentRequest {
|
|
7033
|
+
/**
|
|
7034
|
+
*
|
|
7035
|
+
* @type {string}
|
|
7036
|
+
* @memberof RecordConsentRequest
|
|
7037
|
+
*/
|
|
7038
|
+
'action': RecordConsentRequestActionEnum;
|
|
7039
|
+
/**
|
|
7040
|
+
*
|
|
7041
|
+
* @type {string}
|
|
7042
|
+
* @memberof RecordConsentRequest
|
|
7043
|
+
*/
|
|
7044
|
+
'consent_method'?: RecordConsentRequestConsentMethodEnum;
|
|
7045
|
+
/**
|
|
7046
|
+
*
|
|
7047
|
+
* @type {string}
|
|
7048
|
+
* @memberof RecordConsentRequest
|
|
7049
|
+
*/
|
|
7050
|
+
'consent_type': RecordConsentRequestConsentTypeEnum;
|
|
7051
|
+
/**
|
|
7052
|
+
* Version identifier. Defaults to the current version for the consent type
|
|
7053
|
+
* @type {string}
|
|
7054
|
+
* @memberof RecordConsentRequest
|
|
7055
|
+
*/
|
|
7056
|
+
'consent_version'?: string;
|
|
7057
|
+
/**
|
|
7058
|
+
* Consent-type-specific metadata
|
|
7059
|
+
* @type {object}
|
|
7060
|
+
* @memberof RecordConsentRequest
|
|
7061
|
+
*/
|
|
7062
|
+
'metadata'?: object;
|
|
7063
|
+
}
|
|
7064
|
+
export declare const RecordConsentRequestActionEnum: {
|
|
7065
|
+
readonly Granted: "granted";
|
|
7066
|
+
readonly Revoked: "revoked";
|
|
7067
|
+
};
|
|
7068
|
+
export type RecordConsentRequestActionEnum = typeof RecordConsentRequestActionEnum[keyof typeof RecordConsentRequestActionEnum];
|
|
7069
|
+
export declare const RecordConsentRequestConsentMethodEnum: {
|
|
7070
|
+
readonly WebCheckbox: "web_checkbox";
|
|
7071
|
+
readonly Api: "api";
|
|
7072
|
+
readonly AdminOverride: "admin_override";
|
|
7073
|
+
};
|
|
7074
|
+
export type RecordConsentRequestConsentMethodEnum = typeof RecordConsentRequestConsentMethodEnum[keyof typeof RecordConsentRequestConsentMethodEnum];
|
|
7075
|
+
export declare const RecordConsentRequestConsentTypeEnum: {
|
|
7076
|
+
readonly AutoTopUp: "auto_top_up";
|
|
7077
|
+
};
|
|
7078
|
+
export type RecordConsentRequestConsentTypeEnum = typeof RecordConsentRequestConsentTypeEnum[keyof typeof RecordConsentRequestConsentTypeEnum];
|
|
6930
7079
|
/**
|
|
6931
7080
|
*
|
|
6932
7081
|
* @export
|
|
@@ -9058,6 +9207,48 @@ export interface UpdateClusterNodeGroupPayload {
|
|
|
9058
9207
|
*/
|
|
9059
9208
|
'min_count'?: number;
|
|
9060
9209
|
}
|
|
9210
|
+
/**
|
|
9211
|
+
*
|
|
9212
|
+
* @export
|
|
9213
|
+
* @interface UpdateConsentRequest
|
|
9214
|
+
*/
|
|
9215
|
+
export interface UpdateConsentRequest {
|
|
9216
|
+
/**
|
|
9217
|
+
*
|
|
9218
|
+
* @type {string}
|
|
9219
|
+
* @memberof UpdateConsentRequest
|
|
9220
|
+
*/
|
|
9221
|
+
'action': UpdateConsentRequestActionEnum;
|
|
9222
|
+
/**
|
|
9223
|
+
*
|
|
9224
|
+
* @type {string}
|
|
9225
|
+
* @memberof UpdateConsentRequest
|
|
9226
|
+
*/
|
|
9227
|
+
'consent_method'?: UpdateConsentRequestConsentMethodEnum;
|
|
9228
|
+
/**
|
|
9229
|
+
* Version identifier. Defaults to the current version for the consent type
|
|
9230
|
+
* @type {string}
|
|
9231
|
+
* @memberof UpdateConsentRequest
|
|
9232
|
+
*/
|
|
9233
|
+
'consent_version'?: string;
|
|
9234
|
+
/**
|
|
9235
|
+
* Consent-type-specific metadata
|
|
9236
|
+
* @type {object}
|
|
9237
|
+
* @memberof UpdateConsentRequest
|
|
9238
|
+
*/
|
|
9239
|
+
'metadata'?: object;
|
|
9240
|
+
}
|
|
9241
|
+
export declare const UpdateConsentRequestActionEnum: {
|
|
9242
|
+
readonly Granted: "granted";
|
|
9243
|
+
readonly Revoked: "revoked";
|
|
9244
|
+
};
|
|
9245
|
+
export type UpdateConsentRequestActionEnum = typeof UpdateConsentRequestActionEnum[keyof typeof UpdateConsentRequestActionEnum];
|
|
9246
|
+
export declare const UpdateConsentRequestConsentMethodEnum: {
|
|
9247
|
+
readonly WebCheckbox: "web_checkbox";
|
|
9248
|
+
readonly Api: "api";
|
|
9249
|
+
readonly AdminOverride: "admin_override";
|
|
9250
|
+
};
|
|
9251
|
+
export type UpdateConsentRequestConsentMethodEnum = typeof UpdateConsentRequestConsentMethodEnum[keyof typeof UpdateConsentRequestConsentMethodEnum];
|
|
9061
9252
|
/**
|
|
9062
9253
|
*
|
|
9063
9254
|
* @export
|
|
@@ -9223,6 +9414,129 @@ export interface UpdateVolumeResponse {
|
|
|
9223
9414
|
*/
|
|
9224
9415
|
'volume'?: VolumeFields;
|
|
9225
9416
|
}
|
|
9417
|
+
/**
|
|
9418
|
+
*
|
|
9419
|
+
* @export
|
|
9420
|
+
* @interface UserConsent
|
|
9421
|
+
*/
|
|
9422
|
+
export interface UserConsent {
|
|
9423
|
+
/**
|
|
9424
|
+
*
|
|
9425
|
+
* @type {string}
|
|
9426
|
+
* @memberof UserConsent
|
|
9427
|
+
*/
|
|
9428
|
+
'action'?: string;
|
|
9429
|
+
/**
|
|
9430
|
+
*
|
|
9431
|
+
* @type {string}
|
|
9432
|
+
* @memberof UserConsent
|
|
9433
|
+
*/
|
|
9434
|
+
'consent_method'?: string;
|
|
9435
|
+
/**
|
|
9436
|
+
*
|
|
9437
|
+
* @type {string}
|
|
9438
|
+
* @memberof UserConsent
|
|
9439
|
+
*/
|
|
9440
|
+
'consent_type'?: string;
|
|
9441
|
+
/**
|
|
9442
|
+
*
|
|
9443
|
+
* @type {string}
|
|
9444
|
+
* @memberof UserConsent
|
|
9445
|
+
*/
|
|
9446
|
+
'created_at'?: string;
|
|
9447
|
+
/**
|
|
9448
|
+
*
|
|
9449
|
+
* @type {number}
|
|
9450
|
+
* @memberof UserConsent
|
|
9451
|
+
*/
|
|
9452
|
+
'id'?: number;
|
|
9453
|
+
/**
|
|
9454
|
+
*
|
|
9455
|
+
* @type {string}
|
|
9456
|
+
* @memberof UserConsent
|
|
9457
|
+
*/
|
|
9458
|
+
'ip_address'?: string;
|
|
9459
|
+
/**
|
|
9460
|
+
*
|
|
9461
|
+
* @type {number}
|
|
9462
|
+
* @memberof UserConsent
|
|
9463
|
+
*/
|
|
9464
|
+
'org_id'?: number;
|
|
9465
|
+
/**
|
|
9466
|
+
*
|
|
9467
|
+
* @type {string}
|
|
9468
|
+
* @memberof UserConsent
|
|
9469
|
+
*/
|
|
9470
|
+
'updated_at'?: string;
|
|
9471
|
+
/**
|
|
9472
|
+
*
|
|
9473
|
+
* @type {number}
|
|
9474
|
+
* @memberof UserConsent
|
|
9475
|
+
*/
|
|
9476
|
+
'user_id'?: number;
|
|
9477
|
+
}
|
|
9478
|
+
/**
|
|
9479
|
+
*
|
|
9480
|
+
* @export
|
|
9481
|
+
* @interface UserConsentEvent
|
|
9482
|
+
*/
|
|
9483
|
+
export interface UserConsentEvent {
|
|
9484
|
+
/**
|
|
9485
|
+
*
|
|
9486
|
+
* @type {string}
|
|
9487
|
+
* @memberof UserConsentEvent
|
|
9488
|
+
*/
|
|
9489
|
+
'action'?: string;
|
|
9490
|
+
/**
|
|
9491
|
+
*
|
|
9492
|
+
* @type {number}
|
|
9493
|
+
* @memberof UserConsentEvent
|
|
9494
|
+
*/
|
|
9495
|
+
'consent_id'?: number;
|
|
9496
|
+
/**
|
|
9497
|
+
*
|
|
9498
|
+
* @type {string}
|
|
9499
|
+
* @memberof UserConsentEvent
|
|
9500
|
+
*/
|
|
9501
|
+
'consent_method'?: string;
|
|
9502
|
+
/**
|
|
9503
|
+
*
|
|
9504
|
+
* @type {string}
|
|
9505
|
+
* @memberof UserConsentEvent
|
|
9506
|
+
*/
|
|
9507
|
+
'created_at'?: string;
|
|
9508
|
+
/**
|
|
9509
|
+
*
|
|
9510
|
+
* @type {number}
|
|
9511
|
+
* @memberof UserConsentEvent
|
|
9512
|
+
*/
|
|
9513
|
+
'id'?: number;
|
|
9514
|
+
/**
|
|
9515
|
+
*
|
|
9516
|
+
* @type {string}
|
|
9517
|
+
* @memberof UserConsentEvent
|
|
9518
|
+
*/
|
|
9519
|
+
'ip_address'?: string;
|
|
9520
|
+
/**
|
|
9521
|
+
*
|
|
9522
|
+
* @type {number}
|
|
9523
|
+
* @memberof UserConsentEvent
|
|
9524
|
+
*/
|
|
9525
|
+
'user_id'?: number;
|
|
9526
|
+
}
|
|
9527
|
+
/**
|
|
9528
|
+
*
|
|
9529
|
+
* @export
|
|
9530
|
+
* @interface UserConsentsResponse
|
|
9531
|
+
*/
|
|
9532
|
+
export interface UserConsentsResponse {
|
|
9533
|
+
/**
|
|
9534
|
+
*
|
|
9535
|
+
* @type {Array<UserConsent>}
|
|
9536
|
+
* @memberof UserConsentsResponse
|
|
9537
|
+
*/
|
|
9538
|
+
'consents'?: Array<UserConsent>;
|
|
9539
|
+
}
|
|
9226
9540
|
/**
|
|
9227
9541
|
*
|
|
9228
9542
|
* @export
|
|
@@ -17152,6 +17466,256 @@ export declare class UserApi extends BaseAPI {
|
|
|
17152
17466
|
*/
|
|
17153
17467
|
updateUserBillingInfo(payload: UserInfoPostPayload, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AddUserInfoSuccessResponseModel, any, {}>>;
|
|
17154
17468
|
}
|
|
17469
|
+
/**
|
|
17470
|
+
* UserConsentApi - axios parameter creator
|
|
17471
|
+
* @export
|
|
17472
|
+
*/
|
|
17473
|
+
export declare const UserConsentApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
17474
|
+
/**
|
|
17475
|
+
* Add a new consent given by the User
|
|
17476
|
+
* @summary Add a new User consent
|
|
17477
|
+
* @param {RecordConsentRequest} payload
|
|
17478
|
+
* @param {*} [options] Override http request option.
|
|
17479
|
+
* @throws {RequiredError}
|
|
17480
|
+
*/
|
|
17481
|
+
addANewConsentForAUser: (payload: RecordConsentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17482
|
+
/**
|
|
17483
|
+
* Returns current consent templates for all consent types
|
|
17484
|
+
* @summary Get all consent templates
|
|
17485
|
+
* @param {*} [options] Override http request option.
|
|
17486
|
+
* @throws {RequiredError}
|
|
17487
|
+
*/
|
|
17488
|
+
getAllConsentTemplates: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17489
|
+
/**
|
|
17490
|
+
* Fetch all the recorded consents given from a User
|
|
17491
|
+
* @summary Get Consents for a User
|
|
17492
|
+
* @param {string} [consentType] Filter by consent type
|
|
17493
|
+
* @param {*} [options] Override http request option.
|
|
17494
|
+
* @throws {RequiredError}
|
|
17495
|
+
*/
|
|
17496
|
+
getAllConsentsForAUser: (consentType?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17497
|
+
/**
|
|
17498
|
+
* Returns the current consent template for a specific consent type
|
|
17499
|
+
* @summary Get consent template for a specific type
|
|
17500
|
+
* @param {string} consentType
|
|
17501
|
+
* @param {*} [options] Override http request option.
|
|
17502
|
+
* @throws {RequiredError}
|
|
17503
|
+
*/
|
|
17504
|
+
getConsentTemplateByType: (consentType: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17505
|
+
/**
|
|
17506
|
+
* Revoke or grant a consent to the User
|
|
17507
|
+
* @summary Grant or revoke an existing consent
|
|
17508
|
+
* @param {string} consentType
|
|
17509
|
+
* @param {UpdateConsentRequest} payload
|
|
17510
|
+
* @param {*} [options] Override http request option.
|
|
17511
|
+
* @throws {RequiredError}
|
|
17512
|
+
*/
|
|
17513
|
+
updateAConsentActionByType: (consentType: string, payload: UpdateConsentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17514
|
+
};
|
|
17515
|
+
/**
|
|
17516
|
+
* UserConsentApi - functional programming interface
|
|
17517
|
+
* @export
|
|
17518
|
+
*/
|
|
17519
|
+
export declare const UserConsentApiFp: (configuration?: Configuration) => {
|
|
17520
|
+
/**
|
|
17521
|
+
* Add a new consent given by the User
|
|
17522
|
+
* @summary Add a new User consent
|
|
17523
|
+
* @param {RecordConsentRequest} payload
|
|
17524
|
+
* @param {*} [options] Override http request option.
|
|
17525
|
+
* @throws {RequiredError}
|
|
17526
|
+
*/
|
|
17527
|
+
addANewConsentForAUser(payload: RecordConsentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsentActionResponse>>;
|
|
17528
|
+
/**
|
|
17529
|
+
* Returns current consent templates for all consent types
|
|
17530
|
+
* @summary Get all consent templates
|
|
17531
|
+
* @param {*} [options] Override http request option.
|
|
17532
|
+
* @throws {RequiredError}
|
|
17533
|
+
*/
|
|
17534
|
+
getAllConsentTemplates(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsentTemplatesResponse>>;
|
|
17535
|
+
/**
|
|
17536
|
+
* Fetch all the recorded consents given from a User
|
|
17537
|
+
* @summary Get Consents for a User
|
|
17538
|
+
* @param {string} [consentType] Filter by consent type
|
|
17539
|
+
* @param {*} [options] Override http request option.
|
|
17540
|
+
* @throws {RequiredError}
|
|
17541
|
+
*/
|
|
17542
|
+
getAllConsentsForAUser(consentType?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserConsentsResponse>>;
|
|
17543
|
+
/**
|
|
17544
|
+
* Returns the current consent template for a specific consent type
|
|
17545
|
+
* @summary Get consent template for a specific type
|
|
17546
|
+
* @param {string} consentType
|
|
17547
|
+
* @param {*} [options] Override http request option.
|
|
17548
|
+
* @throws {RequiredError}
|
|
17549
|
+
*/
|
|
17550
|
+
getConsentTemplateByType(consentType: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsentTemplate>>;
|
|
17551
|
+
/**
|
|
17552
|
+
* Revoke or grant a consent to the User
|
|
17553
|
+
* @summary Grant or revoke an existing consent
|
|
17554
|
+
* @param {string} consentType
|
|
17555
|
+
* @param {UpdateConsentRequest} payload
|
|
17556
|
+
* @param {*} [options] Override http request option.
|
|
17557
|
+
* @throws {RequiredError}
|
|
17558
|
+
*/
|
|
17559
|
+
updateAConsentActionByType(consentType: string, payload: UpdateConsentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsentActionResponse>>;
|
|
17560
|
+
};
|
|
17561
|
+
/**
|
|
17562
|
+
* UserConsentApi - factory interface
|
|
17563
|
+
* @export
|
|
17564
|
+
*/
|
|
17565
|
+
export declare const UserConsentApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
17566
|
+
/**
|
|
17567
|
+
* Add a new consent given by the User
|
|
17568
|
+
* @summary Add a new User consent
|
|
17569
|
+
* @param {RecordConsentRequest} payload
|
|
17570
|
+
* @param {*} [options] Override http request option.
|
|
17571
|
+
* @throws {RequiredError}
|
|
17572
|
+
*/
|
|
17573
|
+
addANewConsentForAUser(payload: RecordConsentRequest, options?: RawAxiosRequestConfig): AxiosPromise<ConsentActionResponse>;
|
|
17574
|
+
/**
|
|
17575
|
+
* Returns current consent templates for all consent types
|
|
17576
|
+
* @summary Get all consent templates
|
|
17577
|
+
* @param {*} [options] Override http request option.
|
|
17578
|
+
* @throws {RequiredError}
|
|
17579
|
+
*/
|
|
17580
|
+
getAllConsentTemplates(options?: RawAxiosRequestConfig): AxiosPromise<ConsentTemplatesResponse>;
|
|
17581
|
+
/**
|
|
17582
|
+
* Fetch all the recorded consents given from a User
|
|
17583
|
+
* @summary Get Consents for a User
|
|
17584
|
+
* @param {string} [consentType] Filter by consent type
|
|
17585
|
+
* @param {*} [options] Override http request option.
|
|
17586
|
+
* @throws {RequiredError}
|
|
17587
|
+
*/
|
|
17588
|
+
getAllConsentsForAUser(consentType?: string, options?: RawAxiosRequestConfig): AxiosPromise<UserConsentsResponse>;
|
|
17589
|
+
/**
|
|
17590
|
+
* Returns the current consent template for a specific consent type
|
|
17591
|
+
* @summary Get consent template for a specific type
|
|
17592
|
+
* @param {string} consentType
|
|
17593
|
+
* @param {*} [options] Override http request option.
|
|
17594
|
+
* @throws {RequiredError}
|
|
17595
|
+
*/
|
|
17596
|
+
getConsentTemplateByType(consentType: string, options?: RawAxiosRequestConfig): AxiosPromise<ConsentTemplate>;
|
|
17597
|
+
/**
|
|
17598
|
+
* Revoke or grant a consent to the User
|
|
17599
|
+
* @summary Grant or revoke an existing consent
|
|
17600
|
+
* @param {string} consentType
|
|
17601
|
+
* @param {UpdateConsentRequest} payload
|
|
17602
|
+
* @param {*} [options] Override http request option.
|
|
17603
|
+
* @throws {RequiredError}
|
|
17604
|
+
*/
|
|
17605
|
+
updateAConsentActionByType(consentType: string, payload: UpdateConsentRequest, options?: RawAxiosRequestConfig): AxiosPromise<ConsentActionResponse>;
|
|
17606
|
+
};
|
|
17607
|
+
/**
|
|
17608
|
+
* UserConsentApi - object-oriented interface
|
|
17609
|
+
* @export
|
|
17610
|
+
* @class UserConsentApi
|
|
17611
|
+
* @extends {BaseAPI}
|
|
17612
|
+
*/
|
|
17613
|
+
export declare class UserConsentApi extends BaseAPI {
|
|
17614
|
+
/**
|
|
17615
|
+
* Add a new consent given by the User
|
|
17616
|
+
* @summary Add a new User consent
|
|
17617
|
+
* @param {RecordConsentRequest} payload
|
|
17618
|
+
* @param {*} [options] Override http request option.
|
|
17619
|
+
* @throws {RequiredError}
|
|
17620
|
+
* @memberof UserConsentApi
|
|
17621
|
+
*/
|
|
17622
|
+
addANewConsentForAUser(payload: RecordConsentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ConsentActionResponse, any, {}>>;
|
|
17623
|
+
/**
|
|
17624
|
+
* Returns current consent templates for all consent types
|
|
17625
|
+
* @summary Get all consent templates
|
|
17626
|
+
* @param {*} [options] Override http request option.
|
|
17627
|
+
* @throws {RequiredError}
|
|
17628
|
+
* @memberof UserConsentApi
|
|
17629
|
+
*/
|
|
17630
|
+
getAllConsentTemplates(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ConsentTemplatesResponse, any, {}>>;
|
|
17631
|
+
/**
|
|
17632
|
+
* Fetch all the recorded consents given from a User
|
|
17633
|
+
* @summary Get Consents for a User
|
|
17634
|
+
* @param {string} [consentType] Filter by consent type
|
|
17635
|
+
* @param {*} [options] Override http request option.
|
|
17636
|
+
* @throws {RequiredError}
|
|
17637
|
+
* @memberof UserConsentApi
|
|
17638
|
+
*/
|
|
17639
|
+
getAllConsentsForAUser(consentType?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserConsentsResponse, any, {}>>;
|
|
17640
|
+
/**
|
|
17641
|
+
* Returns the current consent template for a specific consent type
|
|
17642
|
+
* @summary Get consent template for a specific type
|
|
17643
|
+
* @param {string} consentType
|
|
17644
|
+
* @param {*} [options] Override http request option.
|
|
17645
|
+
* @throws {RequiredError}
|
|
17646
|
+
* @memberof UserConsentApi
|
|
17647
|
+
*/
|
|
17648
|
+
getConsentTemplateByType(consentType: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ConsentTemplate, any, {}>>;
|
|
17649
|
+
/**
|
|
17650
|
+
* Revoke or grant a consent to the User
|
|
17651
|
+
* @summary Grant or revoke an existing consent
|
|
17652
|
+
* @param {string} consentType
|
|
17653
|
+
* @param {UpdateConsentRequest} payload
|
|
17654
|
+
* @param {*} [options] Override http request option.
|
|
17655
|
+
* @throws {RequiredError}
|
|
17656
|
+
* @memberof UserConsentApi
|
|
17657
|
+
*/
|
|
17658
|
+
updateAConsentActionByType(consentType: string, payload: UpdateConsentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ConsentActionResponse, any, {}>>;
|
|
17659
|
+
}
|
|
17660
|
+
/**
|
|
17661
|
+
* UserConsentEventsApi - axios parameter creator
|
|
17662
|
+
* @export
|
|
17663
|
+
*/
|
|
17664
|
+
export declare const UserConsentEventsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
17665
|
+
/**
|
|
17666
|
+
* Get all consent audit events
|
|
17667
|
+
* @summary Get audit trail for a consent
|
|
17668
|
+
* @param {string} consentType
|
|
17669
|
+
* @param {*} [options] Override http request option.
|
|
17670
|
+
* @throws {RequiredError}
|
|
17671
|
+
*/
|
|
17672
|
+
getConsentAuditEvents: (consentType: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17673
|
+
};
|
|
17674
|
+
/**
|
|
17675
|
+
* UserConsentEventsApi - functional programming interface
|
|
17676
|
+
* @export
|
|
17677
|
+
*/
|
|
17678
|
+
export declare const UserConsentEventsApiFp: (configuration?: Configuration) => {
|
|
17679
|
+
/**
|
|
17680
|
+
* Get all consent audit events
|
|
17681
|
+
* @summary Get audit trail for a consent
|
|
17682
|
+
* @param {string} consentType
|
|
17683
|
+
* @param {*} [options] Override http request option.
|
|
17684
|
+
* @throws {RequiredError}
|
|
17685
|
+
*/
|
|
17686
|
+
getConsentAuditEvents(consentType: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsentEventsResponse>>;
|
|
17687
|
+
};
|
|
17688
|
+
/**
|
|
17689
|
+
* UserConsentEventsApi - factory interface
|
|
17690
|
+
* @export
|
|
17691
|
+
*/
|
|
17692
|
+
export declare const UserConsentEventsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
17693
|
+
/**
|
|
17694
|
+
* Get all consent audit events
|
|
17695
|
+
* @summary Get audit trail for a consent
|
|
17696
|
+
* @param {string} consentType
|
|
17697
|
+
* @param {*} [options] Override http request option.
|
|
17698
|
+
* @throws {RequiredError}
|
|
17699
|
+
*/
|
|
17700
|
+
getConsentAuditEvents(consentType: string, options?: RawAxiosRequestConfig): AxiosPromise<ConsentEventsResponse>;
|
|
17701
|
+
};
|
|
17702
|
+
/**
|
|
17703
|
+
* UserConsentEventsApi - object-oriented interface
|
|
17704
|
+
* @export
|
|
17705
|
+
* @class UserConsentEventsApi
|
|
17706
|
+
* @extends {BaseAPI}
|
|
17707
|
+
*/
|
|
17708
|
+
export declare class UserConsentEventsApi extends BaseAPI {
|
|
17709
|
+
/**
|
|
17710
|
+
* Get all consent audit events
|
|
17711
|
+
* @summary Get audit trail for a consent
|
|
17712
|
+
* @param {string} consentType
|
|
17713
|
+
* @param {*} [options] Override http request option.
|
|
17714
|
+
* @throws {RequiredError}
|
|
17715
|
+
* @memberof UserConsentEventsApi
|
|
17716
|
+
*/
|
|
17717
|
+
getConsentAuditEvents(consentType: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ConsentEventsResponse, any, {}>>;
|
|
17718
|
+
}
|
|
17155
17719
|
/**
|
|
17156
17720
|
* UserDetailChoiceApi - axios parameter creator
|
|
17157
17721
|
* @export
|