@sinequa/atomic 2.11.0 → 2.12.0
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 +75 -93
- package/dist/atomic.cjs +1 -1
- package/dist/atomic.js +1 -1
- package/dist/authentication/constants.d.ts +1 -1
- package/dist/authentication/events/auth-events.d.ts +2 -2
- package/dist/authentication/events/emit-authenticated-event.d.ts +1 -1
- package/dist/authentication/events/index.d.ts +2 -2
- package/dist/authentication/index.d.ts +4 -4
- package/dist/authentication/providers/index.d.ts +2 -2
- package/dist/authentication/providers/oauth-authentication.d.ts +1 -1
- package/dist/authentication/providers/redirect-to-identity-provider.d.ts +1 -1
- package/dist/authentication/providers/redirect-to-identity-provider.d.ts.map +1 -1
- package/dist/authentication/providers/saml-authentication.d.ts +1 -1
- package/dist/authentication/session/auth-mode-marker.d.ts +1 -1
- package/dist/authentication/session/auth-state.d.ts +1 -1
- package/dist/authentication/session/detect-auth-mode.d.ts +2 -2
- package/dist/authentication/session/has-session.d.ts +1 -1
- package/dist/authentication/session/index.d.ts +7 -7
- package/dist/authentication/session/login.d.ts +2 -2
- package/dist/authentication/session/logout.d.ts +4 -3
- package/dist/authentication/session/logout.d.ts.map +1 -1
- package/dist/authentication/session/redirect-guard.d.ts +1 -1
- package/dist/authentication/session/session-lost-latch.d.ts +1 -1
- package/dist/authentication/session/signed-out-guard.d.ts +1 -1
- package/dist/authentication/session/try-auto-authentication.d.ts +1 -1
- package/dist/authentication/session/try-auto-authentication.d.ts.map +1 -1
- package/dist/authentication/session/user-authentication.d.ts +1 -1
- package/dist/authentication/tokens/delete-web-token-cookie.d.ts +1 -1
- package/dist/authentication/tokens/delete-web-token-cookie.d.ts.map +1 -1
- package/dist/authentication/tokens/get-csrf-token.d.ts +1 -1
- package/dist/authentication/tokens/get-csrf-token.d.ts.map +1 -1
- package/dist/authentication/tokens/get-jwt-token.d.ts +2 -2
- package/dist/authentication/tokens/get-token.d.ts +1 -1
- package/dist/authentication/tokens/index.d.ts +5 -5
- package/dist/authentication/tokens/set-token.d.ts +1 -1
- package/dist/client/atomic-context.d.ts +4 -4
- package/dist/client/create-api.d.ts +49 -48
- package/dist/client/create-api.d.ts.map +1 -1
- package/dist/client/create-atomic-client.d.ts +8 -8
- package/dist/client/http-adapter.d.ts +1 -1
- package/dist/client/index.d.ts +4 -4
- package/dist/configurations/auth-options.d.ts +1 -1
- package/dist/configurations/global.config.d.ts +4 -4
- package/dist/configurations/index.d.ts +3 -3
- package/dist/helpers/aggregation-count.d.ts +3 -2
- package/dist/helpers/aggregation-count.d.ts.map +1 -1
- package/dist/helpers/column-resolver.d.ts +11 -3
- package/dist/helpers/column-resolver.d.ts.map +1 -1
- package/dist/helpers/columns.d.ts +1 -1
- package/dist/helpers/filters.d.ts +1 -1
- package/dist/helpers/index.d.ts +8 -8
- package/dist/helpers/metadata.d.ts +2 -2
- package/dist/helpers/pagination.d.ts +1 -1
- package/dist/helpers/to-aggregation-count.d.ts +11 -0
- package/dist/helpers/to-aggregation-count.d.ts.map +1 -0
- package/dist/index.d.ts +7 -7
- package/dist/polyfills/storage.d.ts +1 -1
- package/dist/spfx/index.cjs +1 -1
- package/dist/spfx/index.d.ts +3 -3
- package/dist/spfx/index.js +1 -1
- package/dist/src-CCjB0b1J.cjs +1 -0
- package/dist/{src-bQIJ_J2j.js → src-CK3j-Qz_.js} +819 -757
- package/dist/types/agent-workspace/index.d.ts +3 -3
- package/dist/types/aggregations/Aggregation.d.ts +2 -2
- package/dist/types/aggregations/ListAggregation.d.ts +1 -1
- package/dist/types/aggregations/TreeAggregation.d.ts +2 -2
- package/dist/types/aggregations/TreeAggregationNode.d.ts +1 -1
- package/dist/types/aggregations/index.d.ts +6 -6
- package/dist/types/audit/AuditEvent.d.ts +2 -2
- package/dist/types/audit/AuditRecord.d.ts +1 -1
- package/dist/types/audit/index.d.ts +4 -4
- package/dist/types/chunks/index.d.ts +2 -2
- package/dist/types/config/CCAggregation.d.ts +7 -1
- package/dist/types/config/CCAggregation.d.ts.map +1 -1
- package/dist/types/config/CCApp.d.ts +11 -7
- package/dist/types/config/CCApp.d.ts.map +1 -1
- package/dist/types/config/CCAppRefresh.d.ts +1 -1
- package/dist/types/config/CCAutocomplete.d.ts +1 -1
- package/dist/types/config/CCColumn.d.ts +3 -3
- package/dist/types/config/CCColumnsInfo.d.ts +1 -1
- package/dist/types/config/CCIndex.d.ts +2 -2
- package/dist/types/config/CCLabels.d.ts +1 -1
- package/dist/types/config/CCList.d.ts +2 -2
- package/dist/types/config/CCQuery.d.ts +9 -9
- package/dist/types/config/CCRFM.d.ts +1 -1
- package/dist/types/config/CCTab.d.ts +1 -1
- package/dist/types/config/CCTabSearch.d.ts +1 -1
- package/dist/types/config/CCWebService.d.ts +13 -1
- package/dist/types/config/CCWebService.d.ts.map +1 -1
- package/dist/types/config/index.d.ts +26 -26
- package/dist/types/filters/BetweenFilter.d.ts +1 -1
- package/dist/types/filters/ExprFilter.d.ts +1 -1
- package/dist/types/filters/InFilter.d.ts +1 -1
- package/dist/types/filters/NotNullFilter.d.ts +1 -1
- package/dist/types/filters/NullFilter.d.ts +1 -1
- package/dist/types/filters/SimpleFilter.d.ts +1 -1
- package/dist/types/filters/index.d.ts +8 -8
- package/dist/types/filters/legacy-filters.d.ts +1 -1
- package/dist/types/index.d.ts +19 -19
- package/dist/types/interfaces/Query.d.ts +5 -5
- package/dist/types/interfaces/index.d.ts +3 -3
- package/dist/types/link-results/index.d.ts +2 -2
- package/dist/types/link-results/links-results.d.ts +1 -1
- package/dist/types/preview/CategoryHighlightData.d.ts +1 -1
- package/dist/types/preview/HighlightDataPerCategory.d.ts +1 -1
- package/dist/types/preview/HighlightValue.d.ts +1 -1
- package/dist/types/preview/PreviewData.d.ts +4 -4
- package/dist/types/preview/index.d.ts +8 -8
- package/dist/types/principal/PrincipalChangedEvent.d.ts +1 -1
- package/dist/types/principal/index.d.ts +6 -6
- package/dist/types/search/AccessLists.d.ts +1 -1
- package/dist/types/search/Answer.d.ts +1 -1
- package/dist/types/search/Article.d.ts +5 -5
- package/dist/types/search/DidYouMean.d.ts +2 -2
- package/dist/types/search/DocumentAccessLists.d.ts +1 -1
- package/dist/types/search/MatchLocationsPerPartname.d.ts +1 -1
- package/dist/types/search/MatchingPassage.d.ts +1 -1
- package/dist/types/search/QueryAnalysis.d.ts +1 -1
- package/dist/types/search/QueryIntent.d.ts +4 -4
- package/dist/types/search/QueryIntentData.d.ts +2 -2
- package/dist/types/search/QueryIntentMatch.d.ts +1 -1
- package/dist/types/search/QueryIntentResponse.d.ts +1 -1
- package/dist/types/search/RFMActionDisplay.d.ts +1 -1
- package/dist/types/search/RFMData.d.ts +1 -1
- package/dist/types/search/Result.d.ts +17 -16
- package/dist/types/search/Result.d.ts.map +1 -1
- package/dist/types/search/TopPassage.d.ts +1 -1
- package/dist/types/search/index.d.ts +32 -32
- package/dist/types/security-principal/index.d.ts +1 -1
- package/dist/types/user-profile/user-profile.d.ts +5 -0
- package/dist/types/user-profile/user-profile.d.ts.map +1 -1
- package/dist/utils/aggregations.d.ts +3 -3
- package/dist/utils/index.d.ts +11 -11
- package/dist/utils/query-params.d.ts +1 -1
- package/dist/utils/to-sql.d.ts +1 -1
- package/dist/web-api/helpers/create-headers.d.ts +1 -1
- package/dist/web-api/helpers/errors/server-error.d.ts +1 -1
- package/dist/web-api/helpers/errors/timeout-error.d.ts +1 -1
- package/dist/web-api/helpers/errors/unauthorized-error.d.ts +1 -1
- package/dist/web-api/helpers/handle-response.d.ts +2 -2
- package/dist/web-api/helpers/handle-response.d.ts.map +1 -1
- package/dist/web-api/helpers/index.d.ts +16 -16
- package/dist/web-api/helpers/methods/del.d.ts +3 -3
- package/dist/web-api/helpers/methods/get.d.ts +3 -3
- package/dist/web-api/helpers/methods/patch-raw.d.ts +3 -3
- package/dist/web-api/helpers/methods/patch.d.ts +3 -3
- package/dist/web-api/helpers/methods/post.d.ts +3 -3
- package/dist/web-api/helpers/methods/put.d.ts +3 -3
- package/dist/web-api/helpers/methods/send-patch.d.ts +3 -3
- package/dist/web-api/helpers/methods/send-request.d.ts +2 -2
- package/dist/web-api/helpers/utils/build-request-url.d.ts +2 -2
- package/dist/web-api/helpers/utils/create-timeout-controller.d.ts +6 -1
- package/dist/web-api/helpers/utils/create-timeout-controller.d.ts.map +1 -1
- package/dist/web-api/helpers/utils/resolve-no-auto-authentication.d.ts +1 -1
- package/dist/web-api/index.d.ts +23 -23
- package/dist/web-api/v1/fetch-aggregation.d.ts +2 -2
- package/dist/web-api/v1/fetch-aggregation.d.ts.map +1 -1
- package/dist/web-api/v1/fetch-app.d.ts +2 -2
- package/dist/web-api/v1/fetch-audit.d.ts +2 -2
- package/dist/web-api/v1/fetch-dataset.d.ts +2 -2
- package/dist/web-api/v1/fetch-labels.d.ts +2 -2
- package/dist/web-api/v1/fetch-preview.d.ts +2 -2
- package/dist/web-api/v1/fetch-principal.d.ts +3 -3
- package/dist/web-api/v1/fetch-query-export.d.ts +9 -4
- package/dist/web-api/v1/fetch-query-export.d.ts.map +1 -1
- package/dist/web-api/v1/fetch-query-intent.d.ts +2 -2
- package/dist/web-api/v1/fetch-query.d.ts +3 -3
- package/dist/web-api/v1/fetch-security-principal.d.ts +2 -2
- package/dist/web-api/v1/fetch-similar-documents.d.ts +2 -2
- package/dist/web-api/v1/fetch-sponsored-links.d.ts +2 -2
- package/dist/web-api/v1/fetch-suggest.d.ts +2 -2
- package/dist/web-api/v1/fetch-text-chunk.d.ts +2 -2
- package/dist/web-api/v1/fetch-user-settings.d.ts +2 -2
- package/dist/web-api/v1/fetch-user-settings.d.ts.map +1 -1
- package/dist/web-api/v2/fetch-agent-workspace-status.d.ts +3 -3
- package/dist/web-api/v2/fetch-agent-workspace.d.ts +3 -3
- package/dist/web-api/v2/fetch-change-password.d.ts +1 -1
- package/dist/web-api/v2/fetch-forgot-password.d.ts +1 -1
- package/dist/web-api/v2/fetch-user-profile.d.ts +24 -6
- package/dist/web-api/v2/fetch-user-profile.d.ts.map +1 -1
- package/dist/web-api/v2/fetch-version.d.ts +1 -1
- package/package.json +2 -2
- package/dist/src-DwKhKgxj.cjs +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { deleteWebTokenCookie } from "./delete-web-token-cookie";
|
|
2
|
-
export { getCsrfToken } from "./get-csrf-token";
|
|
3
|
-
export { getJWToken, requestWebTokenSession } from "./get-jwt-token";
|
|
4
|
-
export { getToken } from "./get-token";
|
|
5
|
-
export { setToken } from "./set-token";
|
|
1
|
+
export { deleteWebTokenCookie } from "./delete-web-token-cookie.js";
|
|
2
|
+
export { getCsrfToken } from "./get-csrf-token.js";
|
|
3
|
+
export { getJWToken, requestWebTokenSession } from "./get-jwt-token.js";
|
|
4
|
+
export { getToken } from "./get-token.js";
|
|
5
|
+
export { setToken } from "./set-token.js";
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { type AuthEventBus } from "../authentication/events/auth-events";
|
|
2
|
-
import type { AtomicLogger, TokenStorage } from "../configurations/auth-options";
|
|
3
|
-
import type { AppGlobalConfig } from "../configurations/global.config";
|
|
4
|
-
import { type HttpAdapter } from "./http-adapter";
|
|
1
|
+
import { type AuthEventBus } from "../authentication/events/auth-events.js";
|
|
2
|
+
import type { AtomicLogger, TokenStorage } from "../configurations/auth-options.js";
|
|
3
|
+
import type { AppGlobalConfig } from "../configurations/global.config.js";
|
|
4
|
+
import { type HttpAdapter } from "./http-adapter.js";
|
|
5
5
|
/**
|
|
6
6
|
* Everything the authentication and HTTP layers read at runtime — configuration, event subscribers,
|
|
7
7
|
* storage namespace and transport. Every internal function takes one, so two clients configured for
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AtomicContext } from "./atomic-context";
|
|
1
|
+
import type { AtomicContext } from "./atomic-context.js";
|
|
2
2
|
/**
|
|
3
3
|
* The Sinequa API, bound to one client.
|
|
4
4
|
*
|
|
@@ -8,104 +8,105 @@ import type { AtomicContext } from "./atomic-context";
|
|
|
8
8
|
export declare function createApi(ctx: AtomicContext): {
|
|
9
9
|
app: {
|
|
10
10
|
/** Full application configuration. */
|
|
11
|
-
get: (appName?: string | undefined) => Promise<import("
|
|
11
|
+
get: (appName?: string | undefined) => Promise<import("../index.js").CCApp>;
|
|
12
12
|
/** Pre-login information (auth providers declared by the server). */
|
|
13
|
-
preLogin: () => Promise<import("
|
|
13
|
+
preLogin: () => Promise<import("../index.js").CCAppPreLogin>;
|
|
14
14
|
};
|
|
15
15
|
principal: {
|
|
16
|
-
get: (options?: import("
|
|
16
|
+
get: (options?: import("../index.js").RequestOptions | undefined) => Promise<import("../index.js").Principal>;
|
|
17
17
|
list: (options: {
|
|
18
18
|
search?: string;
|
|
19
19
|
isuser?: boolean;
|
|
20
20
|
isgroup?: boolean;
|
|
21
|
-
}) => Promise<import("
|
|
22
|
-
userid: (userid: string) => Promise<import("
|
|
23
|
-
userids: (userids: string[]) => Promise<import("
|
|
21
|
+
}) => Promise<import("../index.js").Principal[]>;
|
|
22
|
+
userid: (userid: string) => Promise<import("../index.js").Principal>;
|
|
23
|
+
userids: (userids: string[]) => Promise<import("../index.js").Principal[]>;
|
|
24
24
|
/** Search-as-you-type lookup over users and groups. */
|
|
25
25
|
search: (params: {
|
|
26
26
|
offset: number;
|
|
27
27
|
limit: number;
|
|
28
28
|
search: string;
|
|
29
|
-
}, signal?: AbortSignal | undefined) => Promise<import("
|
|
30
|
-
byIds: (userIds: string[]) => Promise<import("
|
|
29
|
+
}, signal?: AbortSignal | undefined) => Promise<import("../index.js").SecurityPrincipalSearchResponse>;
|
|
30
|
+
byIds: (userIds: string[]) => Promise<import("../index.js").SecurityPrincipal[]>;
|
|
31
31
|
};
|
|
32
32
|
query: {
|
|
33
|
-
search: (query: import("
|
|
34
|
-
bulk: (queries: import("
|
|
35
|
-
intent: (query: import("
|
|
33
|
+
search: (query: import("../index.js").Query, audit?: import("../index.js").AuditEvents | undefined, queryIntentData?: import("../index.js").QueryIntentData | undefined) => Promise<import("../index.js").Result & import("../index.js").ResultPages>;
|
|
34
|
+
bulk: (queries: import("../index.js").Query[], mode?: "parallel" | undefined, auditEvents?: import("../index.js").AuditEvents | undefined) => Promise<(import("../index.js").Result & import("../index.js").ResultPages)[]>;
|
|
35
|
+
intent: (query: import("../index.js").Query) => Promise<import("../index.js").QueryIntentMatch[]>;
|
|
36
36
|
export: (args_0: {
|
|
37
|
-
model: import("
|
|
37
|
+
model: import("../index.js").ExportQueryModel;
|
|
38
38
|
appName: string;
|
|
39
|
-
query: import("
|
|
40
|
-
article?: import("
|
|
39
|
+
query: import("../index.js").Query;
|
|
40
|
+
article?: import("../index.js").Article;
|
|
41
41
|
}) => Promise<Response>;
|
|
42
|
-
aggregate: (aggregation: import("
|
|
43
|
-
sponsoredLinks: (webservice: string, query: import("
|
|
44
|
-
similarDocuments: (documentId: string, queryName: string, signal?: AbortSignal | undefined) => Promise<import("
|
|
42
|
+
aggregate: (aggregation: import("../index.js").Aggregation, query: import("../index.js").Query, audit?: import("../index.js").AuditEvents | undefined, count?: number | undefined) => Promise<import("../index.js").Aggregation>;
|
|
43
|
+
sponsoredLinks: (webservice: string, query: import("../index.js").Query) => Promise<import("../index.js").LinkResult[]>;
|
|
44
|
+
similarDocuments: (documentId: string, queryName: string, signal?: AbortSignal | undefined) => Promise<import("../index.js").Article[]>;
|
|
45
45
|
};
|
|
46
46
|
suggest: {
|
|
47
|
-
get: (suggestQueryName: string, text: string, filter?: Record<string, unknown> | undefined, kinds?: string[] | undefined, showSource?: boolean | undefined) => Promise<import("
|
|
48
|
-
query: (suggestQueryName: string, text: string, queryName: string, fields?: string | string[] | undefined) => Promise<import("
|
|
49
|
-
field: (text: string, fields: string[], query?: import("
|
|
47
|
+
get: (suggestQueryName: string, text: string, filter?: Record<string, unknown> | undefined, kinds?: string[] | undefined, showSource?: boolean | undefined) => Promise<import("../index.js").Suggestion[]>;
|
|
48
|
+
query: (suggestQueryName: string, text: string, queryName: string, fields?: string | string[] | undefined) => Promise<import("../index.js").Suggestion[]>;
|
|
49
|
+
field: (text: string, fields: string[], query?: import("../index.js").Query | undefined) => Promise<import("../index.js").Suggestion[]>;
|
|
50
50
|
};
|
|
51
51
|
preview: {
|
|
52
|
-
get: (id: string, q: import("
|
|
53
|
-
textChunks: (id: string, textChunks: import("
|
|
54
|
-
chunks: import("
|
|
52
|
+
get: (id: string, q: import("../index.js").Query) => Promise<import("../index.js").PreviewData>;
|
|
53
|
+
textChunks: (id: string, textChunks: import("../index.js").TextLocation[], highlights: string[], query: import("../index.js").Query, leftSentencesCount: number, rightSentencesCount: number) => Promise<{
|
|
54
|
+
chunks: import("../index.js").TextChunk[];
|
|
55
55
|
}>;
|
|
56
56
|
};
|
|
57
57
|
labels: {
|
|
58
58
|
get: (prefix: string, publicOnly?: boolean | undefined, locale?: string | undefined) => Promise<string[]>;
|
|
59
|
-
rights: () => Promise<import("
|
|
59
|
+
rights: () => Promise<import("../index.js").LabelsRights>;
|
|
60
60
|
add: (labels: string[], ids: string[], publicOnly?: boolean | undefined) => Promise<void>;
|
|
61
61
|
remove: (labels: string[], ids: string[], publicOnly?: boolean | undefined) => Promise<void>;
|
|
62
62
|
rename: (labels: string[], newLabel: string, publicOnly?: boolean | undefined) => Promise<void>;
|
|
63
63
|
delete: (labels: string[], publicOnly?: boolean | undefined) => Promise<void>;
|
|
64
|
-
bulkAdd: (labels: string[], query: import("
|
|
65
|
-
bulkRemove: (labels: string[], query: import("
|
|
64
|
+
bulkAdd: (labels: string[], query: import("../index.js").Query, publicOnly?: boolean | undefined) => Promise<void>;
|
|
65
|
+
bulkRemove: (labels: string[], query: import("../index.js").Query, publicOnly?: boolean | undefined) => Promise<void>;
|
|
66
66
|
};
|
|
67
67
|
dataset: {
|
|
68
|
-
get: <T extends import("
|
|
69
|
-
getMany: <T extends import("
|
|
68
|
+
get: <T extends import("../index.js").Result = import("../index.js").Result>(webserviceName: string, datasetName: string, parameters?: {} | undefined) => Promise<T>;
|
|
69
|
+
getMany: <T extends import("../index.js").Result = import("../index.js").Result>(webserviceName: string, options: {
|
|
70
70
|
parameters?: {};
|
|
71
71
|
datasets?: string[];
|
|
72
|
-
}) => Promise<import("
|
|
73
|
-
list: (webserviceName: string) => Promise<import("
|
|
72
|
+
}) => Promise<import("../index.js").DataSet<T>>;
|
|
73
|
+
list: (webserviceName: string) => Promise<import("../index.js").DatasetDescription[]>;
|
|
74
74
|
};
|
|
75
75
|
userSettings: {
|
|
76
76
|
get: <T>() => Promise<T>;
|
|
77
|
-
save: <T>(userSettings: T, audit?: import("
|
|
78
|
-
patch: <T>(userSettings: Partial<T>, audit?: import("
|
|
77
|
+
save: <T>(userSettings: T, audit?: import("../index.js").AuditEvents | undefined) => Promise<void>;
|
|
78
|
+
patch: <T>(userSettings: Partial<T>, audit?: import("../index.js").AuditEvents | undefined) => Promise<T>;
|
|
79
79
|
reset: () => Promise<void>;
|
|
80
80
|
};
|
|
81
81
|
userProfile: {
|
|
82
|
-
get: (userId: string) => Promise<import("
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
82
|
+
get: (userId: string) => Promise<import("../index.js").UserProfile>;
|
|
83
|
+
getCustomData: <T = unknown>(userId: string, path?: import("../index.js").CustomDataPath | undefined) => Promise<T>;
|
|
84
|
+
create: (userProfile: Partial<import("../index.js").UserProfile>) => Promise<import("../index.js").UserProfile>;
|
|
85
|
+
patch: (userProfile: Partial<Omit<import("../index.js").UserProfile, "modified" | "created">>, category: string, propertyName: import("../index.js").CustomDataPath) => Promise<import("../index.js").UserProfile>;
|
|
86
|
+
deleteProperty: (userProfile: Partial<Omit<import("../index.js").UserProfile, "modified" | "created">>, category: string, propertyName: import("../index.js").CustomDataPath) => Promise<boolean>;
|
|
86
87
|
};
|
|
87
88
|
workspaces: {
|
|
88
89
|
list: (params?: {
|
|
89
90
|
page?: number;
|
|
90
91
|
pageSize?: number;
|
|
91
|
-
} | undefined) => Promise<import("
|
|
92
|
-
get: (id: string) => Promise<import("
|
|
93
|
-
create: (body: import("
|
|
94
|
-
update: (id: string, patch: import("
|
|
95
|
-
delete: (workspaceIds: string[]) => Promise<import("
|
|
92
|
+
} | undefined) => Promise<import("../index.js").WorkspaceListResponse>;
|
|
93
|
+
get: (id: string) => Promise<import("../index.js").Workspace>;
|
|
94
|
+
create: (body: import("../index.js").CreateWorkspaceInput) => Promise<import("../index.js").Workspace>;
|
|
95
|
+
update: (id: string, patch: import("../index.js").UpdateWorkspaceInput) => Promise<import("../index.js").Workspace>;
|
|
96
|
+
delete: (workspaceIds: string[]) => Promise<import("../index.js").DeleteWorkspacesResult>;
|
|
96
97
|
listDocuments: (id: string, params?: {
|
|
97
98
|
page?: number;
|
|
98
99
|
pageSize?: number;
|
|
99
|
-
} | undefined, options?: import("
|
|
100
|
-
addDocuments: (id: string, documents: import("
|
|
100
|
+
} | undefined, options?: import("../index.js").RequestOptions | undefined) => Promise<import("../index.js").WorkspaceDocumentListResponse>;
|
|
101
|
+
addDocuments: (id: string, documents: import("../index.js").NewWorkspaceDocumentInput[]) => Promise<import("../index.js").WorkspaceDocument[]>;
|
|
101
102
|
deleteDocuments: (id: string, fileIds: string[]) => Promise<void>;
|
|
102
|
-
uploadStatus: (params?: import("
|
|
103
|
+
uploadStatus: (params?: import("../index.js").UploadStatusParams | undefined, options?: import("../index.js").RequestOptions | undefined) => Promise<import("../index.js").UploadStatusResponse>;
|
|
103
104
|
};
|
|
104
105
|
password: {
|
|
105
|
-
change: (newPassword: string, currentPassword?: string | undefined) => Promise<import("
|
|
106
|
-
sendResetEmail: (userName: string, changePasswordRedirectUrl?: string | undefined) => Promise<import("
|
|
106
|
+
change: (newPassword: string, currentPassword?: string | undefined) => Promise<import("../index.js").ChangePasswordResponse>;
|
|
107
|
+
sendResetEmail: (userName: string, changePasswordRedirectUrl?: string | undefined) => Promise<import("../index.js").PasswordResetEmailResponse>;
|
|
107
108
|
};
|
|
108
|
-
version: () => Promise<import("
|
|
109
|
+
version: () => Promise<import("../index.js").VersionResponse>;
|
|
109
110
|
};
|
|
110
111
|
/** The API surface of a client. @see createApi */
|
|
111
112
|
export type AtomicApi = ReturnType<typeof createApi>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-api.d.ts","sourceRoot":"","sources":["../../src/client/create-api.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-api.d.ts","sourceRoot":"","sources":["../../src/client/create-api.ts"],"names":[],"mappings":"AA8CA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AA2BtD;;;;;GAKG;AACH,wBAAgB,SAAS,CAAC,GAAG,EAAE,aAAa;;QAGtC,sCAAsC;;QAEtC,qEAAqE;;;;;;;;;;;;QAQrE,uDAAuD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmE5D;AAED,kDAAkD;AAClD,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type { AuthEventMap, AuthEventName, Unsubscribe } from "../authentication/events/auth-events";
|
|
2
|
-
import type { AppGlobalConfig } from "../configurations/global.config";
|
|
3
|
-
import type { API_ENDPOINTS, CCAppPreLogin, Credentials } from "../types";
|
|
4
|
-
import { type DeleteOptions } from "../web-api/helpers/methods/del";
|
|
5
|
-
import type { RequestOptions } from "../web-api/helpers/request-options";
|
|
6
|
-
import { type AtomicContext } from "./atomic-context";
|
|
7
|
-
import { type AtomicApi } from "./create-api";
|
|
8
|
-
import type { HttpAdapter } from "./http-adapter";
|
|
1
|
+
import type { AuthEventMap, AuthEventName, Unsubscribe } from "../authentication/events/auth-events.js";
|
|
2
|
+
import type { AppGlobalConfig } from "../configurations/global.config.js";
|
|
3
|
+
import type { API_ENDPOINTS, CCAppPreLogin, Credentials } from "../types/index.js";
|
|
4
|
+
import { type DeleteOptions } from "../web-api/helpers/methods/del.js";
|
|
5
|
+
import type { RequestOptions } from "../web-api/helpers/request-options.js";
|
|
6
|
+
import { type AtomicContext } from "./atomic-context.js";
|
|
7
|
+
import { type AtomicApi } from "./create-api.js";
|
|
8
|
+
import type { HttpAdapter } from "./http-adapter.js";
|
|
9
9
|
/**
|
|
10
10
|
* Configuration of a client created with {@link createAtomicClient}.
|
|
11
11
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AadHttpClientLike, AadHttpResponseLike } from "../web-api/helpers/aad-http-client-manager";
|
|
1
|
+
import type { AadHttpClientLike, AadHttpResponseLike } from "../web-api/helpers/aad-http-client-manager.js";
|
|
2
2
|
/** The request shape an {@link HttpAdapter} receives, mirroring the `fetch` init object. */
|
|
3
3
|
export interface HttpAdapterRequest {
|
|
4
4
|
method: string;
|
package/dist/client/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export type { AtomicContext } from "./atomic-context";
|
|
2
|
-
export type { AtomicApi } from "./create-api";
|
|
3
|
-
export { type AtomicClient, type AtomicClientConfig, createAtomicClient, getDefaultClient, } from "./create-atomic-client";
|
|
4
|
-
export type { HttpAdapter, HttpAdapterRequest } from "./http-adapter";
|
|
1
|
+
export type { AtomicContext } from "./atomic-context.js";
|
|
2
|
+
export type { AtomicApi } from "./create-api.js";
|
|
3
|
+
export { type AtomicClient, type AtomicClientConfig, createAtomicClient, getDefaultClient, } from "./create-atomic-client.js";
|
|
4
|
+
export type { HttpAdapter, HttpAdapterRequest } from "./http-adapter.js";
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { UnauthorizedError } from "../web-api/helpers/errors/unauthorized-error";
|
|
1
|
+
import type { UnauthorizedError } from "../web-api/helpers/errors/unauthorized-error.js";
|
|
2
2
|
/**
|
|
3
3
|
* Minimal key/value storage contract. Inject one (per scope) via
|
|
4
4
|
* {@link AuthOptions.storage} to replace the Web Storage used for tokens and auth markers —
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { AggregationCounts } from "../helpers/aggregation-count";
|
|
2
|
-
import { type LogLevel } from "../utils/logger";
|
|
3
|
-
import { type AuthMode as AuthModeType } from "./auth-mode";
|
|
4
|
-
import type { AuthOptions } from "./auth-options";
|
|
1
|
+
import type { AggregationCounts } from "../helpers/aggregation-count.js";
|
|
2
|
+
import { type LogLevel } from "../utils/logger.js";
|
|
3
|
+
import { type AuthMode as AuthModeType } from "./auth-mode.js";
|
|
4
|
+
import type { AuthOptions } from "./auth-options.js";
|
|
5
5
|
/**
|
|
6
6
|
* Represents the configuration for the application.
|
|
7
7
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from "./auth-mode";
|
|
2
|
-
export type { AtomicLogger, AuthOptions, TokenStorage } from "./auth-options";
|
|
3
|
-
export * from "./global.config";
|
|
1
|
+
export * from "./auth-mode.js";
|
|
2
|
+
export type { AtomicLogger, AuthOptions, TokenStorage } from "./auth-options.js";
|
|
3
|
+
export * from "./global.config.js";
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Aggregation, Query } from "../types";
|
|
1
|
+
import type { Aggregation, Query } from "../types/index.js";
|
|
2
2
|
/**
|
|
3
3
|
* Page size assumed for an aggregation when nothing declares one.
|
|
4
4
|
*
|
|
@@ -37,7 +37,8 @@ export type AggregationCounts = Record<string, number>;
|
|
|
37
37
|
* 1. `query.aggregations[name].count` — what *this* call explicitly requested, as an
|
|
38
38
|
* `action: "aggregate"` page does;
|
|
39
39
|
* 2. `counts[name]` — what the application declared once from the app configuration
|
|
40
|
-
* (see {@link AggregationCounts});
|
|
40
|
+
* (see {@link AggregationCounts}); an empty string, as a server leaves `CCAggregation.count` when
|
|
41
|
+
* nobody set it, counts as "not declared";
|
|
41
42
|
* 3. {@link DEFAULT_AGGREGATION_COUNT}, when nothing is known.
|
|
42
43
|
*
|
|
43
44
|
* @param name - The name of the aggregation.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aggregation-count.d.ts","sourceRoot":"","sources":["../../src/helpers/aggregation-count.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"aggregation-count.d.ts","sourceRoot":"","sources":["../../src/helpers/aggregation-count.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAGnD;;;;;;;;GAQG;AACH,eAAO,MAAM,yBAAyB,KAAK,CAAC;AAE5C;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAmBvD;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,uBAAuB,CACrC,IAAI,EAAE,MAAM,EACZ,KAAK,CAAC,EAAE,IAAI,CAAC,KAAK,EAAE,cAAc,CAAC,EACnC,MAAM,CAAC,EAAE,iBAAiB,GACzB,MAAM,CAQR;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,kBAAkB,CAChC,WAAW,EAAE,IAAI,CAAC,WAAW,EAAE,gBAAgB,GAAG,QAAQ,CAAC,GAAG;IAC5D,KAAK,CAAC,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;CAC9B,EACD,KAAK,EAAE,MAAM,GACZ,OAAO,CAOT"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
|
-
import { CCApp } from "../types";
|
|
1
|
+
import { CCApp } from "../types/index.js";
|
|
2
2
|
/**
|
|
3
|
-
* Resolves an alias to a column name from a query or indexes schema
|
|
3
|
+
* Resolves an alias to a column name from a query or indexes schema.
|
|
4
|
+
*
|
|
5
|
+
* Only aliases resolve: a string that is already a real column name (and no alias) yields
|
|
6
|
+
* `undefined`, so write `resolveToColumnName(name, app, queryName) ?? name` when the input may be
|
|
7
|
+
* either. Matching of the alias is exact and case-sensitive; the aliases of a query are read as a
|
|
8
|
+
* comma-separated list whose items are trimmed (`"treepath, source"` declares `treepath` and `source`).
|
|
9
|
+
* The query name is matched without regard to case against the keys of `app.queries`, an exact key
|
|
10
|
+
* winning over a key that only differs by case (up to 2.11.1 only lower-case keys were found).
|
|
11
|
+
*
|
|
4
12
|
* @param alias alias of the column to resolve
|
|
5
13
|
* @param app CCApp object
|
|
6
|
-
* @param queryName name of the query to resolve the column from
|
|
14
|
+
* @param queryName name of the query to resolve the column from, in any case
|
|
7
15
|
* @returns column name if found, undefined otherwise
|
|
8
16
|
*/
|
|
9
17
|
export declare function resolveToColumnName(alias: string, app: CCApp, queryName?: string): string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"column-resolver.d.ts","sourceRoot":"","sources":["../../src/helpers/column-resolver.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAW,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"column-resolver.d.ts","sourceRoot":"","sources":["../../src/helpers/column-resolver.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAW,MAAM,UAAU,CAAC;AAgB1C;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,MAAM,EACb,GAAG,EAAE,KAAK,EACV,SAAS,CAAC,EAAE,MAAM,GACjB,MAAM,GAAG,SAAS,CAkCpB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BetweenFilter, ExprFilter, Filter, InFilter, LegacyFilter, NotNullFilter, NullFilter, SimpleFilter } from "../types/filters";
|
|
1
|
+
import type { BetweenFilter, ExprFilter, Filter, InFilter, LegacyFilter, NotNullFilter, NullFilter, SimpleFilter } from "../types/filters/index.js";
|
|
2
2
|
/** Scalar value accepted by a leaf filter. */
|
|
3
3
|
export type FilterValue = string | number | boolean;
|
|
4
4
|
/**
|
package/dist/helpers/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export * from "./aggregation-count";
|
|
2
|
-
export * from "./column-resolver";
|
|
3
|
-
export * from "./columns";
|
|
4
|
-
export * from "./filters";
|
|
5
|
-
export * from "./metadata";
|
|
6
|
-
export * from "./pagination";
|
|
7
|
-
export * from "./ts-helper";
|
|
8
|
-
export * from "./utils";
|
|
1
|
+
export * from "./aggregation-count.js";
|
|
2
|
+
export * from "./column-resolver.js";
|
|
3
|
+
export * from "./columns.js";
|
|
4
|
+
export * from "./filters.js";
|
|
5
|
+
export * from "./metadata.js";
|
|
6
|
+
export * from "./pagination.js";
|
|
7
|
+
export * from "./ts-helper.js";
|
|
8
|
+
export * from "./utils.js";
|
|
9
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A page size read from a configuration or a query, or `undefined` when it is not a usable one.
|
|
3
|
+
*
|
|
4
|
+
* `CCAggregation.count` is typed `number`, but the configuration of a real server leaves it as an
|
|
5
|
+
* empty string (`""`) on an aggregation whose administrator never set one. Anything that is not a
|
|
6
|
+
* finite number — `""`, `undefined`, `NaN` — is therefore "not declared", and a non-empty numeric
|
|
7
|
+
* string (`"20"`) is read as the number it spells. Using the raw value would compare
|
|
8
|
+
* `items.length > ""` (never true) and send `count: ""` to the server.
|
|
9
|
+
*/
|
|
10
|
+
export declare function toAggregationCount(value: unknown): number | undefined;
|
|
11
|
+
//# sourceMappingURL=to-aggregation-count.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"to-aggregation-count.d.ts","sourceRoot":"","sources":["../../src/helpers/to-aggregation-count.ts"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAOrE"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export * from "./authentication";
|
|
2
|
-
export * from "./client";
|
|
3
|
-
export * from "./configurations";
|
|
4
|
-
export * from "./helpers";
|
|
5
|
-
export * from "./types";
|
|
6
|
-
export * from "./utils";
|
|
7
|
-
export * from "./web-api";
|
|
1
|
+
export * from "./authentication/index.js";
|
|
2
|
+
export * from "./client/index.js";
|
|
3
|
+
export * from "./configurations/index.js";
|
|
4
|
+
export * from "./helpers/index.js";
|
|
5
|
+
export * from "./types/index.js";
|
|
6
|
+
export * from "./utils/index.js";
|
|
7
|
+
export * from "./web-api/index.js";
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { TokenStorage } from "../configurations/auth-options";
|
|
1
|
+
import type { TokenStorage } from "../configurations/auth-options.js";
|
|
2
2
|
type StorageScope = "session" | "local";
|
|
3
3
|
/**
|
|
4
4
|
* Resolves the storage backing a scope: the one injected through `auth.storage`, otherwise Web
|
package/dist/spfx/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../src-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../src-CCjB0b1J.cjs");exports.API=e.vt,exports.ApiError=e.Jn,exports.Audit=e.jt,exports.AuditEventType=e.an,exports.AuthMode=e.ar,exports.DEFAULT_AGGREGATION_COUNT=e.sn,exports.DidYouMeanKind=e.tn,exports.EngineType=e.in,exports.EngineTypeModifier=e.rn,exports.LogLevel=e.dr,exports.MINIMUM_COMPATIBLE_SERVER_API_VERSION=e.nn,exports.RFMDisplay=e.en,exports.ServerError=e.Gn,exports.TimeoutError=e.Rn,exports.UnauthorizedError=e.qn,exports.aadHttpClientManager=e.er,exports.addAuditAdditionalInfo=e.Mt,exports.addConcepts=e.b,exports.addSessionId=e.Nt,exports.addUrl=e.Pt,exports.addWorkspaceDocuments=e.G,exports.aggItemRegex=e.D,exports.aggregationHasMore=e.cn,exports.aggregationItemStrictCompare=e.O,exports.appInitializerFn=e.un,exports.applyConfig=e.nr,exports.assertNever=e.kn,exports.bisect=e.E,exports.buildPathsAndLevels=e.ht,exports.clearSessionTokens=e.Sn,exports.configureLogger=e.fr,exports.createAtomicClient=e.F,exports.createHeaders=e.Yn,exports.createHeadersWithContext=e.Xn,exports.createSpfxHttpAdapter=e.$n,exports.createTimeoutController=e.Ln,exports.createUserProfile=e.R,exports.createWorkspace=e.K,Object.defineProperty(exports,"debug",{enumerable:!0,get:function(){return e.pr}}),exports.del=e.vn,exports.delWithContext=e.yn,exports.deleteUserProfileProperty=e.z,exports.deleteUserSettings=e.et,exports.deleteWebTokenCookie=e.wn,exports.deleteWorkspaceDocuments=e.q,exports.deleteWorkspaces=e.J,exports.detectAuthMode=e.Pn,exports.emitAuthenticatedEvent=e.Qn,Object.defineProperty(exports,"error",{enumerable:!0,get:function(){return e.mr}}),exports.escapeExpr=e.Ft,exports.expiresSoon=e.n,exports.extraColumns=e.Qt,exports.fetchAggregation=e.At,exports.fetchApp=e.dn,exports.fetchAppPreLogin=e.fn,exports.fetchBulkQuery=e.gt,exports.fetchChangePassword=e.$,exports.fetchDataset=e.Dt,exports.fetchDatasetList=e.Ot,exports.fetchDatasets=e.kt,exports.fetchLabels=e.Tt,exports.fetchPreview=e.Ct,exports.fetchPreviewUrl=e.wt,exports.fetchPrincipal=e.yt,exports.fetchPrincipalList=e.bt,exports.fetchPrincipalUserid=e.xt,exports.fetchPrincipalUserids=e.St,exports.fetchPrincipalsByIds=e.dt,exports.fetchQuery=e._t,exports.fetchQueryExport=e.mt,exports.fetchQueryIntent=e.pt,exports.fetchSendPasswordResetEmail=e.U,exports.fetchSimilarDocuments=e.ut,exports.fetchSponsoredLinks=e.lt,exports.fetchSuggest=e.at,exports.fetchSuggestField=e.ot,exports.fetchSuggestQuery=e.st,exports.fetchTextChunks=e.it,exports.fetchUploadStatus=e.W,exports.fetchUserProfile=e.B,exports.fetchUserProfileCustomData=e.V,exports.fetchUserSettings=e.tt,exports.fetchVersion=e.L,exports.filter=e.Yt,exports.flattenLegacyFilterValues=e.Xt,exports.get=e.Mn,exports.getConcepts=e.x,exports.getCsrfToken=e.jn,exports.getDateMask=e.k,exports.getDefaultClient=e.I,exports.getFiltersFromURI=e.s,exports.getFiltersFromUrl=e.c,exports.getHelpIndexUrl=e.a,exports.getIdFromUrl=e.l,exports.getJWToken=e.Dn,exports.getMaskedDateBounds=e.A,exports.getMetadata=e.qt,exports.getMetadataWithValues=e.Jt,exports.getOffsetFromDates=e.v,exports.getQueryPageFromUrl=e.u,exports.getQueryParamsFromUrl=e.d,exports.getQueryTabFromUrl=e.f,exports.getQueryTextFromUrl=e.p,exports.getRelativeDate=e.y,exports.getTime=e.It,exports.getToken=e.Zn,exports.getUrlParamsFromQueryParams=e.m,exports.getWithContext=e.Nn,exports.getWorkspace=e.Y,exports.globalConfig=e.rr,exports.guid=e.Lt,exports.handleResponse=e.Un,exports.handleResponseWithContext=e.Wn,exports.hasSession=e.An,exports.hashString=e.Rt,Object.defineProperty(exports,"info",{enumerable:!0,get:function(){return e.hr}}),exports.initializeAadHttpClient=e.tr,exports.initializeAppConfig=e.pn,exports.isArrayBuffer=e.zt,exports.isAuthenticated=e.bn,exports.isBlob=e.Bt,exports.isDate=e.Vt,exports.isExpired=e.r,exports.isExternalAuthMode=e.or,exports.isJsonable=e.Ht,exports.isNotInputEvent=e._,exports.isObject=e.Ut,exports.isRedirectPending=e.xn,exports.isString=e.Wt,exports.labels=e.Et,exports.legacyBooleansToAuthMode=e.sr,exports.legacyFilterToFilter=e.Zt,exports.listWorkspaceDocuments=e.X,exports.listWorkspaces=e.Z,exports.login=e.Tn,exports.logout=e.Cn,exports.makeColumn=e.$t,exports.notify=e.g,exports.onAuthEvent=e._r,exports.openParentNodes=e.j,exports.parseText=e.S,exports.parseValueAndOperatorFromItem=e.M,exports.patch=e.gn,exports.patchUserProfile=e.H,exports.patchUserSettings=e.nt,exports.patchWithContext=e._n,exports.post=e.zn,exports.postWithContext=e.Bn,exports.put=e.mn,exports.putWithContext=e.hn,exports.queryParamsFromUrl=e.h,exports.removeConcept=e.C,exports.removeConcepts=e.w,exports.requestWebTokenSession=e.On,exports.resolveAggregationCount=e.ln,exports.resolveBearerToken=e.cr,exports.resolveNoAutoAuthentication=e.Vn,exports.resolveNoAutoAuthenticationWithContext=e.Hn,exports.resolveOAuthProvider=e.lr,exports.resolveSAMLProvider=e.ur,exports.resolveToColumnName=e.on,exports.resultPages=e.Kt,exports.rewriteText=e.T,exports.saveUserSettings=e.rt,exports.searchPrincipals=e.ft,exports.setGlobalConfig=e.ir,exports.setToken=e.Kn,exports.sha512=e.Gt,exports.suggestionsToTreeAggregationNodes=e.N,exports.sysLang=e.o,exports.toDate=e.i,exports.toSqlValue=e.ct,exports.translateAggregationToDateOptions=e.P,exports.tryAutoAuthentication=e.En,exports.tryOAuthAuthentication=e.In,exports.trySAMLAuthentication=e.Fn,exports.updateWorkspace=e.Q,Object.defineProperty(exports,"warn",{enumerable:!0,get:function(){return e.gr}}),exports.withRetry=e.t;
|
package/dist/spfx/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from "
|
|
2
|
-
export { createSpfxHttpAdapter } from "../client/http-adapter";
|
|
3
|
-
export * from "../web-api/helpers/aad-http-client-manager";
|
|
1
|
+
export * from "../index.js";
|
|
2
|
+
export { createSpfxHttpAdapter } from "../client/http-adapter.js";
|
|
3
|
+
export * from "../web-api/helpers/aad-http-client-manager.js";
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/spfx/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { vt as API, Jn as ApiError, jt as Audit, an as AuditEventType, ar as AuthMode, sn as DEFAULT_AGGREGATION_COUNT, tn as DidYouMeanKind, in as EngineType, rn as EngineTypeModifier, dr as LogLevel, nn as MINIMUM_COMPATIBLE_SERVER_API_VERSION, en as RFMDisplay, Gn as ServerError, Rn as TimeoutError, qn as UnauthorizedError, er as aadHttpClientManager, Mt as addAuditAdditionalInfo, b as addConcepts, Nt as addSessionId, Pt as addUrl, G as addWorkspaceDocuments, D as aggItemRegex, cn as aggregationHasMore, O as aggregationItemStrictCompare, un as appInitializerFn, nr as applyConfig, kn as assertNever, E as bisect, ht as buildPathsAndLevels, Sn as clearSessionTokens, fr as configureLogger, F as createAtomicClient, Yn as createHeaders, Xn as createHeadersWithContext, $n as createSpfxHttpAdapter, Ln as createTimeoutController, R as createUserProfile, K as createWorkspace, pr as debug, vn as del, yn as delWithContext, z as deleteUserProfileProperty, et as deleteUserSettings, wn as deleteWebTokenCookie, q as deleteWorkspaceDocuments, J as deleteWorkspaces, Pn as detectAuthMode, Qn as emitAuthenticatedEvent, mr as error, Ft as escapeExpr, n as expiresSoon, Qt as extraColumns, At as fetchAggregation, dn as fetchApp, fn as fetchAppPreLogin, gt as fetchBulkQuery, $ as fetchChangePassword, Dt as fetchDataset, Ot as fetchDatasetList, kt as fetchDatasets, Tt as fetchLabels, Ct as fetchPreview, wt as fetchPreviewUrl, yt as fetchPrincipal, bt as fetchPrincipalList, xt as fetchPrincipalUserid, St as fetchPrincipalUserids, dt as fetchPrincipalsByIds, _t as fetchQuery, mt as fetchQueryExport, pt as fetchQueryIntent, U as fetchSendPasswordResetEmail, ut as fetchSimilarDocuments, lt as fetchSponsoredLinks, at as fetchSuggest, ot as fetchSuggestField, st as fetchSuggestQuery, it as fetchTextChunks, W as fetchUploadStatus, B as fetchUserProfile, V as fetchUserProfileCustomData, tt as fetchUserSettings, L as fetchVersion, Yt as filter, Xt as flattenLegacyFilterValues, Mn as get, x as getConcepts, jn as getCsrfToken, k as getDateMask, I as getDefaultClient, s as getFiltersFromURI, c as getFiltersFromUrl, a as getHelpIndexUrl, l as getIdFromUrl, Dn as getJWToken, A as getMaskedDateBounds, qt as getMetadata, Jt as getMetadataWithValues, v as getOffsetFromDates, u as getQueryPageFromUrl, d as getQueryParamsFromUrl, f as getQueryTabFromUrl, p as getQueryTextFromUrl, y as getRelativeDate, It as getTime, Zn as getToken, m as getUrlParamsFromQueryParams, Nn as getWithContext, Y as getWorkspace, rr as globalConfig, Lt as guid, Un as handleResponse, Wn as handleResponseWithContext, An as hasSession, Rt as hashString, hr as info, tr as initializeAadHttpClient, pn as initializeAppConfig, zt as isArrayBuffer, bn as isAuthenticated, Bt as isBlob, Vt as isDate, r as isExpired, or as isExternalAuthMode, Ht as isJsonable, _ as isNotInputEvent, Ut as isObject, xn as isRedirectPending, Wt as isString, Et as labels, sr as legacyBooleansToAuthMode, Zt as legacyFilterToFilter, X as listWorkspaceDocuments, Z as listWorkspaces, Tn as login, Cn as logout, $t as makeColumn, g as notify, _r as onAuthEvent, j as openParentNodes, S as parseText, M as parseValueAndOperatorFromItem, gn as patch, H as patchUserProfile, nt as patchUserSettings, _n as patchWithContext, zn as post, Bn as postWithContext, mn as put, hn as putWithContext, h as queryParamsFromUrl, C as removeConcept, w as removeConcepts, On as requestWebTokenSession, ln as resolveAggregationCount, cr as resolveBearerToken, Vn as resolveNoAutoAuthentication, Hn as resolveNoAutoAuthenticationWithContext, lr as resolveOAuthProvider, ur as resolveSAMLProvider, on as resolveToColumnName, Kt as resultPages, T as rewriteText, rt as saveUserSettings, ft as searchPrincipals, ir as setGlobalConfig, Kn as setToken, Gt as sha512, N as suggestionsToTreeAggregationNodes, o as sysLang, i as toDate, ct as toSqlValue, P as translateAggregationToDateOptions, En as tryAutoAuthentication, In as tryOAuthAuthentication, Fn as trySAMLAuthentication, Q as updateWorkspace, gr as warn, t as withRetry } from "../src-CK3j-Qz_.js";
|