@codiac.io/codiac-cli 1.3.183 → 1.3.185

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 CHANGED
@@ -21,7 +21,7 @@ $ npm install -g @codiac.io/codiac-cli
21
21
  $ codiac COMMAND
22
22
  running command...
23
23
  $ codiac (--version|-v)
24
- @codiac.io/codiac-cli/1.3.183 linux-x64 node-v22.15.1
24
+ @codiac.io/codiac-cli/1.3.185 linux-x64 node-v22.15.1
25
25
  $ codiac --help [COMMAND]
26
26
  USAGE
27
27
  $ codiac COMMAND
@@ -885,6 +885,8 @@ declare class OtherOperations {
885
885
  csp_login_auth_code_catcher(request: Contracts.CspLoginAuthCodeCatcherRequest, options?: IRepoOptions): Promise<SingleResult<Contracts.CspLoginAuthCodeCatcherResponse>>;
886
886
  /** Invokes the OAuth 2.0 interactive login sequence for the given cloud service provider. */
887
887
  csp_login_interactive(request: Contracts.CspLoginInteractiveRequest, options?: IRepoOptions): Promise<SingleResult<Contracts.CspLoginInteractiveResponse>>;
888
+ /** Invokes the single request-response logout sequence for the given cloud service provider. */
889
+ csp_logout(request: Contracts.CspLogoutRequest, options?: IRepoOptions): Promise<SingleResult<Contracts.CspLogoutResponse>>;
888
890
  /** Target for the OAuth 2.0 sign-out redirect. Purges any existing tokens for the given csp and notifies the calling application (via websocket backchannel specified in the message). */
889
891
  csp_logout_catcher(request: Contracts.CspLogoutCatcherRequest, options?: IRepoOptions): Promise<SingleResult<Contracts.CspLoginAuthCodeCatcherResponse>>;
890
892
  /** Invokes the OAuth 2.0 interactive sign out sequence for the given cloud service provider (ensures that the browser and any other sso-related systems also get the sign-out message). */
@@ -903,6 +905,8 @@ declare class OtherOperations {
903
905
  get_autoscaling_metrics(request: Contracts.GetAutoscalingMetricsRequest, options?: IRepoOptions): Promise<SingleResult<Contracts.Schema>>;
904
906
  /** Returns the currently cached username for the given cloud service provider. */
905
907
  get_current_users_for(request: Contracts.GetCloudProviderUserRequest, options?: IRepoOptions): Promise<ListResult<Contracts.CspPrimaryCredsMeta>>;
908
+ /** Returns the current user's list of stored credentials for cloud service providers (CSP). */
909
+ get_csp_creds_list(request: Contracts.CspCredsListRequest, options?: IRepoOptions): Promise<ListResult<Contracts.CspPrimaryCredsMeta>>;
906
910
  /** Retrieves the list of k8s versions supported by the given cloud provider (and Codiac), for use in creating a cluster. */
907
911
  getAvailableK8sVersions(request: Contracts.GetAvailableK8sVersionsRequest, options?: IRepoOptions): Promise<ListResult<Contracts.AvailableK8sVersion>>;
908
912
  /** Retrieves the list of vm specs available for use as Aws cluster nodes. */
@@ -5437,6 +5437,12 @@ class OtherOperations {
5437
5437
  return yield this.core.request("post.csp.login.ui", request, options);
5438
5438
  });
5439
5439
  }
5440
+ /** Invokes the single request-response logout sequence for the given cloud service provider. */
5441
+ csp_logout(request, options) {
5442
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
5443
+ return yield this.core.request("post.csp.logout", request, options);
5444
+ });
5445
+ }
5440
5446
  /** Target for the OAuth 2.0 sign-out redirect. Purges any existing tokens for the given csp and notifies the calling application (via websocket backchannel specified in the message). */
5441
5447
  csp_logout_catcher(request, options) {
5442
5448
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
@@ -5491,6 +5497,12 @@ class OtherOperations {
5491
5497
  return yield this.core.request("get.current-users-for", request, options);
5492
5498
  });
5493
5499
  }
5500
+ /** Returns the current user's list of stored credentials for cloud service providers (CSP). */
5501
+ get_csp_creds_list(request, options) {
5502
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
5503
+ return yield this.core.request("get.csp.creds.list", request, options);
5504
+ });
5505
+ }
5494
5506
  /** Retrieves the list of k8s versions supported by the given cloud provider (and Codiac), for use in creating a cluster. */
5495
5507
  getAvailableK8sVersions(request, options) {
5496
5508
  return tslib_1.__awaiter(this, void 0, void 0, function* () {