@coveo/quantic 3.28.2-pre.6818cf8f76 → 3.28.2-pre.8d9d6d2a21
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/force-app/main/default/lwc/quanticTab/quanticTab.js +11 -1
- package/force-app/main/default/staticresources/coveoheadless/case-assist/headless.js +8 -8
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/platform-client.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/utils/errors.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/headless.js +10 -10
- package/force-app/main/default/staticresources/coveoheadless/insight/headless.js +9 -9
- package/force-app/main/default/staticresources/coveoheadless/recommendation/headless.js +7 -7
- package/package.json +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/error/error-actions.d.ts +0 -16
package/force-app/main/default/staticresources/coveoheadless/definitions/api/platform-client.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Logger } from 'pino';
|
|
2
|
-
import { DisconnectedError,
|
|
2
|
+
import { DisconnectedError, ExpiredTokenError } from '../utils/errors.js';
|
|
3
3
|
import type { PlatformEnvironment } from '../utils/url-utils.js';
|
|
4
4
|
import type { PlatformClientOrigin, PreprocessRequest, RequestMetadata } from './preprocess-request.js';
|
|
5
5
|
export type HttpMethods = 'POST' | 'GET' | 'DELETE' | 'PUT';
|
|
@@ -21,7 +21,7 @@ export interface PlatformResponse<T> {
|
|
|
21
21
|
body: T;
|
|
22
22
|
response: Response;
|
|
23
23
|
}
|
|
24
|
-
export type PlatformClientCallError =
|
|
24
|
+
export type PlatformClientCallError = ExpiredTokenError | DisconnectedError | Error;
|
|
25
25
|
export declare class PlatformClient {
|
|
26
26
|
static call(options: PlatformClientCallOptions): Promise<Response | PlatformClientCallError>;
|
|
27
27
|
private static preprocessRequest;
|