@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.
- package/index.d.ts +2 -0
- 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 {
|