@rasadov/lumoar 2.1.4 → 2.1.6
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/dist/api.d.ts +32 -2
- package/dist/api.js +10 -0
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
|
14
14
|
import type { RequestArgs } from './base';
|
|
15
15
|
import { BaseAPI } from './base';
|
|
16
16
|
/**
|
|
17
|
-
* Response for AWS setup info: values
|
|
17
|
+
* Response for AWS setup info: values for cross-account IAM trust policy. User gets quick_connect_url to deploy the CloudFormation stack, then completes POST /aws/setup with account_id and role_arn. external_id is stored briefly; complete POST /aws/setup within the TTL.
|
|
18
18
|
* @export
|
|
19
19
|
* @interface AWSSetupInfoResponse
|
|
20
20
|
*/
|
|
@@ -31,6 +31,12 @@ export interface AWSSetupInfoResponse {
|
|
|
31
31
|
* @memberof AWSSetupInfoResponse
|
|
32
32
|
*/
|
|
33
33
|
'external_id': string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof AWSSetupInfoResponse
|
|
38
|
+
*/
|
|
39
|
+
'quick_connect_url'?: string | null;
|
|
34
40
|
}
|
|
35
41
|
/**
|
|
36
42
|
* Schema for actor information in API responses.
|
|
@@ -1094,7 +1100,7 @@ export interface ComplianceReportUploadConfirmRequest {
|
|
|
1094
1100
|
'period_end'?: string | null;
|
|
1095
1101
|
}
|
|
1096
1102
|
/**
|
|
1097
|
-
* Request to setup an AWS provider via cross-account IAM role access.
|
|
1103
|
+
* Request to setup an AWS provider via cross-account IAM role access. One-click: create an IAM role that trusts Lumoar\'s account ID and submit the role ARN here. Optional: call GET /aws/setup-info and add the returned external_id to your trust policy for stronger security.
|
|
1098
1104
|
* @export
|
|
1099
1105
|
* @interface ConnectAWSProviderRequest
|
|
1100
1106
|
*/
|
|
@@ -2430,6 +2436,19 @@ export interface HTTPValidationError {
|
|
|
2430
2436
|
*/
|
|
2431
2437
|
'detail'?: Array<ValidationError>;
|
|
2432
2438
|
}
|
|
2439
|
+
/**
|
|
2440
|
+
* Response for initiating a GitHub connection
|
|
2441
|
+
* @export
|
|
2442
|
+
* @interface InitiateGitHubConnectionResponse
|
|
2443
|
+
*/
|
|
2444
|
+
export interface InitiateGitHubConnectionResponse {
|
|
2445
|
+
/**
|
|
2446
|
+
*
|
|
2447
|
+
* @type {string}
|
|
2448
|
+
* @memberof InitiateGitHubConnectionResponse
|
|
2449
|
+
*/
|
|
2450
|
+
'install_url': string;
|
|
2451
|
+
}
|
|
2433
2452
|
/**
|
|
2434
2453
|
*
|
|
2435
2454
|
* @export
|
|
@@ -3853,6 +3872,17 @@ export interface SubscriptionResponse {
|
|
|
3853
3872
|
*/
|
|
3854
3873
|
'subscribed_till': string;
|
|
3855
3874
|
}
|
|
3875
|
+
/**
|
|
3876
|
+
* Subscription tiers ordered from lowest to highest.
|
|
3877
|
+
* @export
|
|
3878
|
+
* @enum {string}
|
|
3879
|
+
*/
|
|
3880
|
+
export declare const SubscriptionTier: {
|
|
3881
|
+
readonly Trial: "trial";
|
|
3882
|
+
readonly Starter: "starter";
|
|
3883
|
+
readonly Professional: "professional";
|
|
3884
|
+
};
|
|
3885
|
+
export type SubscriptionTier = typeof SubscriptionTier[keyof typeof SubscriptionTier];
|
|
3856
3886
|
/**
|
|
3857
3887
|
*
|
|
3858
3888
|
* @export
|
package/dist/api.js
CHANGED
|
@@ -159,6 +159,16 @@ export const RiskLikelihood = {
|
|
|
159
159
|
Likely: 'likely',
|
|
160
160
|
VeryLikely: 'very_likely'
|
|
161
161
|
};
|
|
162
|
+
/**
|
|
163
|
+
* Subscription tiers ordered from lowest to highest.
|
|
164
|
+
* @export
|
|
165
|
+
* @enum {string}
|
|
166
|
+
*/
|
|
167
|
+
export const SubscriptionTier = {
|
|
168
|
+
Trial: 'trial',
|
|
169
|
+
Starter: 'starter',
|
|
170
|
+
Professional: 'professional'
|
|
171
|
+
};
|
|
162
172
|
/**
|
|
163
173
|
*
|
|
164
174
|
* @export
|