@redhat-cloud-services/types 1.0.5 → 1.0.7

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/index.d.ts +2 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -131,6 +131,7 @@ export interface ChromeAPI {
131
131
  logout: () => void;
132
132
  /** @deprecated will be removed from useChrome hook */
133
133
  qe: any;
134
+ reAuthWithScopes: (...scopes: string[]) => Promise<void>;
134
135
  };
135
136
  createCase: (fields: Record<string, unknown>) => void;
136
137
  enable: {
@@ -232,6 +233,7 @@ export interface ChromeAPI {
232
233
  }) => T
233
234
  ) => T;
234
235
  enablePackagesDebug: () => void;
236
+ requestPdf: (options: { service: string; template: string; filename?: string; [key: string]: any }) => Promise<void>;
235
237
  }
236
238
 
237
239
  declare global {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@redhat-cloud-services/types",
3
3
  "description": "TypeScript definitions for @redhat-cloud-services common typings",
4
- "version": "1.0.5",
4
+ "version": "1.0.7",
5
5
  "main": "",
6
6
  "types": "index.d.ts",
7
7
  "publishConfig": {