@rasadov/lumoar 2.1.4 → 2.1.5

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.
Files changed (2) hide show
  1. package/dist/api.d.ts +8 -2
  2. 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 the user must add to their IAM role trust policy for cross-account access. external_id is generated by the backend and stored briefly; the user must complete POST /aws/setup within the TTL window.
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. Users create an IAM role in their AWS account using lumoar_account_id and external_id from GET /aws/setup-info, then provide the role ARN here. External ID is supplied by the backend (from setup-info), not the client.
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
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rasadov/lumoar",
3
- "version": "2.1.4",
3
+ "version": "2.1.5",
4
4
  "description": "Lumoar API SDK for public use (API key authentication)",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",