@coveo/quantic 3.37.9 → 3.37.10
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/quanticResultHighlightedTextField/quanticResultHighlightedTextField.js +10 -1
- package/force-app/main/default/lwc/quanticResultLink/quanticResultLink.js +11 -4
- package/force-app/main/default/lwc/quanticResultQuickview/quanticResultQuickview.js +14 -2
- package/force-app/main/default/lwc/quanticUtils/__tests__/quanticUtils.test.js +30 -0
- package/force-app/main/default/lwc/quanticUtils/quanticUtils.js +24 -0
- package/force-app/main/default/staticresources/coveoheadless/case-assist/headless.js +15 -15
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/knowledge/stream-answer-api.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/platform-client.d.ts +5 -0
- package/force-app/main/default/staticresources/coveoheadless/headless.js +17 -17
- package/force-app/main/default/staticresources/coveoheadless/insight/headless.js +16 -16
- package/force-app/main/default/staticresources/coveoheadless/recommendation/headless.js +14 -14
- package/package.json +4 -4
|
@@ -26,8 +26,8 @@ export declare const selectAnswer: (state: StreamAnswerAPIState) => ({
|
|
|
26
26
|
isError: false;
|
|
27
27
|
}) | ({
|
|
28
28
|
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
29
|
-
requestId: string;
|
|
30
29
|
error: undefined;
|
|
30
|
+
requestId: string;
|
|
31
31
|
endpointName: string;
|
|
32
32
|
originalArgs: AnswerApiQueryParams;
|
|
33
33
|
startedTimeStamp: number;
|
package/force-app/main/default/staticresources/coveoheadless/definitions/api/platform-client.d.ts
CHANGED
|
@@ -35,5 +35,10 @@ export declare class PlatformClient {
|
|
|
35
35
|
* @returns The endpoint URL for the organization.
|
|
36
36
|
*/
|
|
37
37
|
export declare function getOrganizationEndpoint(organizationId: string, environment?: PlatformEnvironment, endpointType?: 'admin' | 'analytics' | 'platform'): string;
|
|
38
|
+
/**
|
|
39
|
+
* Returns the provided API base URL (proxy) if set,
|
|
40
|
+
* otherwise falls back to the resolved organization endpoint.
|
|
41
|
+
*/
|
|
42
|
+
export declare function getApiBaseUrlOrOrganizationEndpoint(apiBaseUrl: string | undefined, organizationId: string, environment?: PlatformEnvironment): string;
|
|
38
43
|
export declare function getSearchApiBaseUrl(organizationId: string, environment?: PlatformEnvironment): string;
|
|
39
44
|
export declare function getAnalyticsNextApiBaseUrl(organizationId: string, environment?: PlatformEnvironment): string;
|