@learnorama/mozaik-sdk 0.12.3-staging.46.1 → 0.13.0-staging.48.1
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 +25 -0
- package/dist/api/account.d.ts +1 -1
- package/dist/api/account.js.map +1 -1
- package/dist/api/admin-catalogue.d.ts +1 -1
- package/dist/api/admin-catalogue.js.map +1 -1
- package/dist/api/admin-consumption.d.ts +1 -1
- package/dist/api/admin-consumption.js.map +1 -1
- package/dist/api/admin-contracts.d.ts +1 -1
- package/dist/api/admin-contracts.js.map +1 -1
- package/dist/api/admin-desk.d.ts +1 -1
- package/dist/api/admin-desk.js.map +1 -1
- package/dist/api/admin-licenses.d.ts +1 -1
- package/dist/api/admin-licenses.js.map +1 -1
- package/dist/api/admin-partner-selections.d.ts +1 -1
- package/dist/api/admin-partner-selections.js.map +1 -1
- package/dist/api/admin-patrons.d.ts +1 -1
- package/dist/api/admin-patrons.js.map +1 -1
- package/dist/api/admin-reviews.d.ts +1 -1
- package/dist/api/admin-reviews.js.map +1 -1
- package/dist/api/admin-roles.d.ts +1 -1
- package/dist/api/admin-roles.js.map +1 -1
- package/dist/api/admin-support.d.ts +1 -1
- package/dist/api/admin-support.js.map +1 -1
- package/dist/api/admin-tenants.d.ts +1 -1
- package/dist/api/admin-tenants.js.map +1 -1
- package/dist/api/admin-tutoring.d.ts +1 -1
- package/dist/api/admin-tutoring.js.map +1 -1
- package/dist/api/auth.d.ts +1 -1
- package/dist/api/auth.js.map +1 -1
- package/dist/api/biblio-billing-webhooks.d.ts +18 -0
- package/dist/api/biblio-billing-webhooks.js +62 -0
- package/dist/api/biblio-billing-webhooks.js.map +1 -0
- package/dist/api/biblio-billing.d.ts +192 -0
- package/dist/api/biblio-billing.js +645 -0
- package/dist/api/biblio-billing.js.map +1 -0
- package/dist/api/biblio-catalogue.d.ts +1 -1
- package/dist/api/biblio-catalogue.js.map +1 -1
- package/dist/api/biblio-home.d.ts +1 -1
- package/dist/api/biblio-home.js.map +1 -1
- package/dist/api/biblio-learning-author-profiles.d.ts +108 -0
- package/dist/api/biblio-learning-author-profiles.js +331 -0
- package/dist/api/biblio-learning-author-profiles.js.map +1 -0
- package/dist/api/biblio-learning-authoring.d.ts +168 -0
- package/dist/api/biblio-learning-authoring.js +586 -0
- package/dist/api/biblio-learning-authoring.js.map +1 -0
- package/dist/api/biblio-learning-editorial.d.ts +54 -0
- package/dist/api/biblio-learning-editorial.js +149 -0
- package/dist/api/biblio-learning-editorial.js.map +1 -0
- package/dist/api/biblio-learning-feedback.d.ts +60 -0
- package/dist/api/biblio-learning-feedback.js +180 -0
- package/dist/api/biblio-learning-feedback.js.map +1 -0
- package/dist/api/biblio-learning-finance.d.ts +186 -0
- package/dist/api/biblio-learning-finance.js +622 -0
- package/dist/api/biblio-learning-finance.js.map +1 -0
- package/dist/api/biblio-learning-integrations.d.ts +60 -0
- package/dist/api/biblio-learning-integrations.js +215 -0
- package/dist/api/biblio-learning-integrations.js.map +1 -0
- package/dist/api/biblio-learning-membership.d.ts +24 -0
- package/dist/api/biblio-learning-membership.js +69 -0
- package/dist/api/biblio-learning-membership.js.map +1 -0
- package/dist/api/biblio-learning.d.ts +222 -0
- package/dist/api/biblio-learning.js +697 -0
- package/dist/api/biblio-learning.js.map +1 -0
- package/dist/api/biblio-library.d.ts +1 -1
- package/dist/api/biblio-library.js.map +1 -1
- package/dist/api/biblio-nextory.d.ts +1 -1
- package/dist/api/biblio-nextory.js.map +1 -1
- package/dist/api/biblio-press.d.ts +1 -1
- package/dist/api/biblio-press.js.map +1 -1
- package/dist/api/biblio-search.d.ts +1 -1
- package/dist/api/biblio-search.js.map +1 -1
- package/dist/api/biblio-telemetry.d.ts +1 -1
- package/dist/api/biblio-telemetry.js.map +1 -1
- package/dist/api/consumption.d.ts +1 -1
- package/dist/api/consumption.js.map +1 -1
- package/dist/api/cvs-app.d.ts +1 -1
- package/dist/api/cvs-app.js.map +1 -1
- package/dist/api/cvs-documents.d.ts +1 -1
- package/dist/api/cvs-documents.js.map +1 -1
- package/dist/api/cvs-favorites.d.ts +1 -1
- package/dist/api/cvs-favorites.js.map +1 -1
- package/dist/api/cvs-ils.d.ts +1 -1
- package/dist/api/cvs-ils.js.map +1 -1
- package/dist/api/cvs-loans.d.ts +1 -1
- package/dist/api/cvs-loans.js.map +1 -1
- package/dist/api/cvs-payments.d.ts +1 -1
- package/dist/api/cvs-payments.js.map +1 -1
- package/dist/api/cvs-streaming.d.ts +1 -1
- package/dist/api/cvs-streaming.js.map +1 -1
- package/dist/api/index.d.ts +11 -1
- package/dist/api/index.js +11 -1
- package/dist/api/partner-catalogue.d.ts +1 -1
- package/dist/api/partner-catalogue.js.map +1 -1
- package/dist/api/partner-reader.d.ts +1 -1
- package/dist/api/partner-reader.js.map +1 -1
- package/dist/api/profiles.d.ts +1 -1
- package/dist/api/profiles.js.map +1 -1
- package/dist/api/search.d.ts +1 -1
- package/dist/api/search.js.map +1 -1
- package/dist/api/tutoring-catalogue.d.ts +1 -1
- package/dist/api/tutoring-catalogue.js.map +1 -1
- package/dist/api/tutoring-chat.d.ts +1 -1
- package/dist/api/tutoring-chat.js.map +1 -1
- package/dist/api/tutoring-dispatch.d.ts +1 -1
- package/dist/api/tutoring-dispatch.js.map +1 -1
- package/dist/api/tutoring-practitioner.d.ts +1 -1
- package/dist/api/tutoring-practitioner.js.map +1 -1
- package/dist/api/tutoring-requests.d.ts +1 -1
- package/dist/api/tutoring-requests.js.map +1 -1
- package/dist/chunks/client2.d.ts +1 -1
- package/dist/chunks/connection.d.ts +1 -1
- package/dist/chunks/index.d.ts +10062 -3487
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/models.d.ts +2 -2
- package/dist/models.js +329 -1
- package/dist/models.js.map +1 -1
- package/dist/react/account.d.ts +1 -1
- package/dist/react/account.js +1 -1
- package/dist/react/account.js.map +1 -1
- package/dist/react/admin-catalogue.d.ts +1 -1
- package/dist/react/admin-catalogue.js +1 -1
- package/dist/react/admin-catalogue.js.map +1 -1
- package/dist/react/admin-consumption.d.ts +1 -1
- package/dist/react/admin-consumption.js +1 -1
- package/dist/react/admin-consumption.js.map +1 -1
- package/dist/react/admin-contracts.d.ts +1 -1
- package/dist/react/admin-contracts.js +1 -1
- package/dist/react/admin-contracts.js.map +1 -1
- package/dist/react/admin-desk.d.ts +1 -1
- package/dist/react/admin-desk.js +1 -1
- package/dist/react/admin-desk.js.map +1 -1
- package/dist/react/admin-licenses.d.ts +1 -1
- package/dist/react/admin-licenses.js +1 -1
- package/dist/react/admin-licenses.js.map +1 -1
- package/dist/react/admin-partner-selections.d.ts +1 -1
- package/dist/react/admin-partner-selections.js +1 -1
- package/dist/react/admin-partner-selections.js.map +1 -1
- package/dist/react/admin-patrons.d.ts +1 -1
- package/dist/react/admin-patrons.js +1 -1
- package/dist/react/admin-patrons.js.map +1 -1
- package/dist/react/admin-reviews.d.ts +1 -1
- package/dist/react/admin-reviews.js +1 -1
- package/dist/react/admin-reviews.js.map +1 -1
- package/dist/react/admin-roles.d.ts +1 -1
- package/dist/react/admin-roles.js +1 -1
- package/dist/react/admin-roles.js.map +1 -1
- package/dist/react/admin-support.d.ts +1 -1
- package/dist/react/admin-support.js +1 -1
- package/dist/react/admin-support.js.map +1 -1
- package/dist/react/admin-tenants.d.ts +1 -1
- package/dist/react/admin-tenants.js +1 -1
- package/dist/react/admin-tenants.js.map +1 -1
- package/dist/react/admin-tutoring.d.ts +1 -1
- package/dist/react/admin-tutoring.js +1 -1
- package/dist/react/admin-tutoring.js.map +1 -1
- package/dist/react/auth.d.ts +1 -1
- package/dist/react/auth.js +1 -1
- package/dist/react/auth.js.map +1 -1
- package/dist/react/biblio-billing-webhooks.d.ts +56 -0
- package/dist/react/biblio-billing-webhooks.js +126 -0
- package/dist/react/biblio-billing-webhooks.js.map +1 -0
- package/dist/react/biblio-billing.d.ts +876 -0
- package/dist/react/biblio-billing.js +1491 -0
- package/dist/react/biblio-billing.js.map +1 -0
- package/dist/react/biblio-catalogue.d.ts +1 -1
- package/dist/react/biblio-catalogue.js +1 -1
- package/dist/react/biblio-catalogue.js.map +1 -1
- package/dist/react/biblio-home.d.ts +1 -1
- package/dist/react/biblio-home.js +1 -1
- package/dist/react/biblio-home.js.map +1 -1
- package/dist/react/biblio-learning-author-profiles.d.ts +513 -0
- package/dist/react/biblio-learning-author-profiles.js +795 -0
- package/dist/react/biblio-learning-author-profiles.js.map +1 -0
- package/dist/react/biblio-learning-authoring.d.ts +745 -0
- package/dist/react/biblio-learning-authoring.js +1335 -0
- package/dist/react/biblio-learning-authoring.js.map +1 -0
- package/dist/react/biblio-learning-editorial.d.ts +264 -0
- package/dist/react/biblio-learning-editorial.js +371 -0
- package/dist/react/biblio-learning-editorial.js.map +1 -0
- package/dist/react/biblio-learning-feedback.d.ts +280 -0
- package/dist/react/biblio-learning-feedback.js +433 -0
- package/dist/react/biblio-learning-feedback.js.map +1 -0
- package/dist/react/biblio-learning-finance.d.ts +868 -0
- package/dist/react/biblio-learning-finance.js +1439 -0
- package/dist/react/biblio-learning-finance.js.map +1 -0
- package/dist/react/biblio-learning-integrations.d.ts +237 -0
- package/dist/react/biblio-learning-integrations.js +483 -0
- package/dist/react/biblio-learning-integrations.js.map +1 -0
- package/dist/react/biblio-learning-membership.d.ts +99 -0
- package/dist/react/biblio-learning-membership.js +165 -0
- package/dist/react/biblio-learning-membership.js.map +1 -0
- package/dist/react/biblio-learning.d.ts +1047 -0
- package/dist/react/biblio-learning.js +1667 -0
- package/dist/react/biblio-learning.js.map +1 -0
- package/dist/react/biblio-library.d.ts +1 -1
- package/dist/react/biblio-library.js +1 -1
- package/dist/react/biblio-library.js.map +1 -1
- package/dist/react/biblio-nextory.d.ts +1 -1
- package/dist/react/biblio-nextory.js +1 -1
- package/dist/react/biblio-nextory.js.map +1 -1
- package/dist/react/biblio-press.d.ts +1 -1
- package/dist/react/biblio-press.js +1 -1
- package/dist/react/biblio-press.js.map +1 -1
- package/dist/react/biblio-search.d.ts +1 -1
- package/dist/react/biblio-search.js +1 -1
- package/dist/react/biblio-search.js.map +1 -1
- package/dist/react/biblio-telemetry.d.ts +1 -1
- package/dist/react/biblio-telemetry.js +1 -1
- package/dist/react/biblio-telemetry.js.map +1 -1
- package/dist/react/chat.d.ts +1 -1
- package/dist/react/consumption.d.ts +1 -1
- package/dist/react/consumption.js +1 -1
- package/dist/react/consumption.js.map +1 -1
- package/dist/react/cvs-app.d.ts +1 -1
- package/dist/react/cvs-app.js +1 -1
- package/dist/react/cvs-app.js.map +1 -1
- package/dist/react/cvs-documents.d.ts +1 -1
- package/dist/react/cvs-documents.js +1 -1
- package/dist/react/cvs-documents.js.map +1 -1
- package/dist/react/cvs-favorites.d.ts +1 -1
- package/dist/react/cvs-favorites.js +1 -1
- package/dist/react/cvs-favorites.js.map +1 -1
- package/dist/react/cvs-ils.d.ts +1 -1
- package/dist/react/cvs-ils.js +1 -1
- package/dist/react/cvs-ils.js.map +1 -1
- package/dist/react/cvs-loans.d.ts +1 -1
- package/dist/react/cvs-loans.js +1 -1
- package/dist/react/cvs-loans.js.map +1 -1
- package/dist/react/cvs-payments.d.ts +1 -1
- package/dist/react/cvs-payments.js +1 -1
- package/dist/react/cvs-payments.js.map +1 -1
- package/dist/react/cvs-streaming.d.ts +1 -1
- package/dist/react/cvs-streaming.js +1 -1
- package/dist/react/cvs-streaming.js.map +1 -1
- package/dist/react/index.d.ts +11 -1
- package/dist/react/index.js +11 -1
- package/dist/react/partner-catalogue.d.ts +1 -1
- package/dist/react/partner-catalogue.js +1 -1
- package/dist/react/partner-catalogue.js.map +1 -1
- package/dist/react/partner-reader.d.ts +1 -1
- package/dist/react/partner-reader.js +1 -1
- package/dist/react/partner-reader.js.map +1 -1
- package/dist/react/profiles.d.ts +1 -1
- package/dist/react/profiles.js +1 -1
- package/dist/react/profiles.js.map +1 -1
- package/dist/react/search.d.ts +1 -1
- package/dist/react/search.js +1 -1
- package/dist/react/search.js.map +1 -1
- package/dist/react/tutoring-catalogue.d.ts +1 -1
- package/dist/react/tutoring-catalogue.js +1 -1
- package/dist/react/tutoring-catalogue.js.map +1 -1
- package/dist/react/tutoring-chat.d.ts +1 -1
- package/dist/react/tutoring-chat.js +1 -1
- package/dist/react/tutoring-chat.js.map +1 -1
- package/dist/react/tutoring-dispatch.d.ts +1 -1
- package/dist/react/tutoring-dispatch.js +1 -1
- package/dist/react/tutoring-dispatch.js.map +1 -1
- package/dist/react/tutoring-practitioner.d.ts +1 -1
- package/dist/react/tutoring-practitioner.js +1 -1
- package/dist/react/tutoring-practitioner.js.map +1 -1
- package/dist/react/tutoring-requests.d.ts +1 -1
- package/dist/react/tutoring-requests.js +1 -1
- package/dist/react/tutoring-requests.js.map +1 -1
- package/package.json +7 -7
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
|
|
2
|
+
import { Cp as CourseRevisionRead, Ho as LearningContractMemberRead, Mi as LearningSalesforceBindingWrite, a as ValidationErrorResponse, bo as LearningEngagementRead, di as LearningTypeformWebhookBody, fc as HTTPExceptionResponse, fo as LearningIntegrationResolutionWrite, mo as LearningIntegrationDeliveryRead, wa as LearningPartnerFeedWrite, xi as LearningSsoProofWrite, yo as LearningEngagementWrite } from "../chunks/index.js";
|
|
3
|
+
import { a as ErrorType, c as request, n as BodyType } from "../chunks/client.js";
|
|
4
|
+
import { DataTag, DefinedInitialDataOptions, DefinedUseQueryResult, QueryClient, QueryKey, UndefinedInitialDataOptions, UseMutationOptions, UseMutationResult, UseQueryOptions, UseQueryResult } from "@tanstack/react-query";
|
|
5
|
+
//#region src/react/biblio-learning-integrations/biblio-learning-integrations.d.ts
|
|
6
|
+
type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
7
|
+
export declare const getLearningImportPartnerFeedUrl: (courseId: number, provider: 'codes-rousseau' | 'les-bons-profs' | 'loecsen') => string;
|
|
8
|
+
/**
|
|
9
|
+
* Authors import content for an existing course they may edit. Select provider=codes-rousseau for a 17-column semicolon CSV (default skipRows=1, title required); les-bons-profs for JSON section objects encoded in the content string; or loecsen for a 20-column comma CSV (default skipRows=4), reviewed template, languageName, languageCode and templateAudio mappings. Examples set skipRows=0 because they contain data rows only. assetMap translates source references to already imported assets the caller may use. Import validates the entire definition, creates a draft and does not download media, publish the course or provision a provider account. The response describes the new revision; retrieve its author definition to inspect the generated chapters and lessons.
|
|
10
|
+
* @summary Import a partner feed as a native draft revision
|
|
11
|
+
*/
|
|
12
|
+
export declare const learningImportPartnerFeed: (courseId: number, provider: 'codes-rousseau' | 'les-bons-profs' | 'loecsen', learningPartnerFeedWrite: LearningPartnerFeedWrite, options?: Parameters<typeof request>[1]) => Promise<CourseRevisionRead>;
|
|
13
|
+
export declare const getLearningImportPartnerFeedMutationKey: () => readonly ['learningImportPartnerFeed'];
|
|
14
|
+
export declare const getLearningImportPartnerFeedMutationOptions: <TError = ErrorType<HTTPExceptionResponse | ValidationErrorResponse>, TContext = unknown>(options?: {
|
|
15
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof learningImportPartnerFeed>>, TError, LearningImportPartnerFeedMutationVariables, TContext>;
|
|
16
|
+
request?: SecondParameter<typeof request>;
|
|
17
|
+
}) => UseMutationOptions<Awaited<ReturnType<typeof learningImportPartnerFeed>>, TError, LearningImportPartnerFeedMutationVariables, TContext>;
|
|
18
|
+
export type LearningImportPartnerFeedMutationResult = NonNullable<Awaited<ReturnType<typeof learningImportPartnerFeed>>>;
|
|
19
|
+
export type LearningImportPartnerFeedMutationBody = BodyType<LearningPartnerFeedWrite>;
|
|
20
|
+
export type LearningImportPartnerFeedMutationError = ErrorType<HTTPExceptionResponse | ValidationErrorResponse>;
|
|
21
|
+
export type LearningImportPartnerFeedMutationVariables = {
|
|
22
|
+
courseId: number;
|
|
23
|
+
provider: 'codes-rousseau' | 'les-bons-profs' | 'loecsen';
|
|
24
|
+
data: BodyType<LearningPartnerFeedWrite>;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* @summary Import a partner feed as a native draft revision
|
|
28
|
+
*/
|
|
29
|
+
export declare const useLearningImportPartnerFeed: <TError = ErrorType<HTTPExceptionResponse | ValidationErrorResponse>, TContext = unknown>(options?: {
|
|
30
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof learningImportPartnerFeed>>, TError, LearningImportPartnerFeedMutationVariables, TContext>;
|
|
31
|
+
request?: SecondParameter<typeof request>;
|
|
32
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof learningImportPartnerFeed>>, TError, LearningImportPartnerFeedMutationVariables, TContext>;
|
|
33
|
+
export declare const getLearningDispatchEngagementUrl: (deliveryId: number) => string;
|
|
34
|
+
/**
|
|
35
|
+
* A global integration operator dispatches the existing pending delivery after checking current consent and earlier deliveries for the same profile. Nonpending rows are returned unchanged. The result can be sent, failed, uncertain or cancelled; HTTP 200 alone does not confirm delivery. A timeout or ambiguous provider acknowledgement becomes uncertain and is never blindly retried. Resolve uncertainty using external evidence before redispatching; newer deliveries wait for earlier unresolved rows.
|
|
36
|
+
* @summary Dispatch one pending Braze delivery
|
|
37
|
+
*/
|
|
38
|
+
export declare const learningDispatchEngagement: (deliveryId: number, options?: Parameters<typeof request>[1]) => Promise<LearningIntegrationDeliveryRead>;
|
|
39
|
+
export declare const getLearningDispatchEngagementMutationKey: () => readonly ['learningDispatchEngagement'];
|
|
40
|
+
export declare const getLearningDispatchEngagementMutationOptions: <TError = ErrorType<HTTPExceptionResponse | ValidationErrorResponse>, TContext = unknown>(options?: {
|
|
41
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof learningDispatchEngagement>>, TError, LearningDispatchEngagementMutationVariables, TContext>;
|
|
42
|
+
request?: SecondParameter<typeof request>;
|
|
43
|
+
}) => UseMutationOptions<Awaited<ReturnType<typeof learningDispatchEngagement>>, TError, LearningDispatchEngagementMutationVariables, TContext>;
|
|
44
|
+
export type LearningDispatchEngagementMutationResult = NonNullable<Awaited<ReturnType<typeof learningDispatchEngagement>>>;
|
|
45
|
+
export type LearningDispatchEngagementMutationError = ErrorType<HTTPExceptionResponse | ValidationErrorResponse>;
|
|
46
|
+
export type LearningDispatchEngagementMutationVariables = {
|
|
47
|
+
deliveryId: number;
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* @summary Dispatch one pending Braze delivery
|
|
51
|
+
*/
|
|
52
|
+
export declare const useLearningDispatchEngagement: <TError = ErrorType<HTTPExceptionResponse | ValidationErrorResponse>, TContext = unknown>(options?: {
|
|
53
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof learningDispatchEngagement>>, TError, LearningDispatchEngagementMutationVariables, TContext>;
|
|
54
|
+
request?: SecondParameter<typeof request>;
|
|
55
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof learningDispatchEngagement>>, TError, LearningDispatchEngagementMutationVariables, TContext>;
|
|
56
|
+
export declare const getLearningResolveEngagementUrl: (deliveryId: number) => string;
|
|
57
|
+
/**
|
|
58
|
+
* A global integration operator records a reviewed provider outcome for a failed, uncertain or stale sending delivery. confirmed_sent marks it sent and clears stored properties; confirmed_not_sent returns it to pending for a later explicit dispatch. A sending claim younger than 120 seconds cannot be resolved. This operation records evidence and never sends to Braze itself.
|
|
59
|
+
* @summary Resolve an uncertain or failed Braze delivery
|
|
60
|
+
*/
|
|
61
|
+
export declare const learningResolveEngagement: (deliveryId: number, learningIntegrationResolutionWrite: LearningIntegrationResolutionWrite, options?: Parameters<typeof request>[1]) => Promise<LearningIntegrationDeliveryRead>;
|
|
62
|
+
export declare const getLearningResolveEngagementMutationKey: () => readonly ['learningResolveEngagement'];
|
|
63
|
+
export declare const getLearningResolveEngagementMutationOptions: <TError = ErrorType<HTTPExceptionResponse | ValidationErrorResponse>, TContext = unknown>(options?: {
|
|
64
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof learningResolveEngagement>>, TError, LearningResolveEngagementMutationVariables, TContext>;
|
|
65
|
+
request?: SecondParameter<typeof request>;
|
|
66
|
+
}) => UseMutationOptions<Awaited<ReturnType<typeof learningResolveEngagement>>, TError, LearningResolveEngagementMutationVariables, TContext>;
|
|
67
|
+
export type LearningResolveEngagementMutationResult = NonNullable<Awaited<ReturnType<typeof learningResolveEngagement>>>;
|
|
68
|
+
export type LearningResolveEngagementMutationBody = BodyType<LearningIntegrationResolutionWrite>;
|
|
69
|
+
export type LearningResolveEngagementMutationError = ErrorType<HTTPExceptionResponse | ValidationErrorResponse>;
|
|
70
|
+
export type LearningResolveEngagementMutationVariables = {
|
|
71
|
+
deliveryId: number;
|
|
72
|
+
data: BodyType<LearningIntegrationResolutionWrite>;
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* @summary Resolve an uncertain or failed Braze delivery
|
|
76
|
+
*/
|
|
77
|
+
export declare const useLearningResolveEngagement: <TError = ErrorType<HTTPExceptionResponse | ValidationErrorResponse>, TContext = unknown>(options?: {
|
|
78
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof learningResolveEngagement>>, TError, LearningResolveEngagementMutationVariables, TContext>;
|
|
79
|
+
request?: SecondParameter<typeof request>;
|
|
80
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof learningResolveEngagement>>, TError, LearningResolveEngagementMutationVariables, TContext>;
|
|
81
|
+
export declare const getLearningBindSalesforceUrl: (tenantId: number) => string;
|
|
82
|
+
/**
|
|
83
|
+
* A global commercial operator maps one customer tenant to an exact Salesforce Account, community, catalogue and exclusive institution learning agreement. Repeating the same identity can update isActive and clockZone; moving an already bound identity or agreement returns 409. clockZone is the reviewed IANA source timezone used to interpret source access dates. Support impersonation and dependent profiles are refused. Returns 204 with no response body.
|
|
84
|
+
* @summary Bind a reviewed Salesforce customer identity
|
|
85
|
+
*/
|
|
86
|
+
export declare const learningBindSalesforce: (tenantId: number, learningSalesforceBindingWrite: LearningSalesforceBindingWrite, options?: Parameters<typeof request>[1]) => Promise<void>;
|
|
87
|
+
export declare const getLearningBindSalesforceMutationKey: () => readonly ['learningBindSalesforce'];
|
|
88
|
+
export declare const getLearningBindSalesforceMutationOptions: <TError = ErrorType<HTTPExceptionResponse | ValidationErrorResponse>, TContext = unknown>(options?: {
|
|
89
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof learningBindSalesforce>>, TError, LearningBindSalesforceMutationVariables, TContext>;
|
|
90
|
+
request?: SecondParameter<typeof request>;
|
|
91
|
+
}) => UseMutationOptions<Awaited<ReturnType<typeof learningBindSalesforce>>, TError, LearningBindSalesforceMutationVariables, TContext>;
|
|
92
|
+
export type LearningBindSalesforceMutationResult = NonNullable<Awaited<ReturnType<typeof learningBindSalesforce>>>;
|
|
93
|
+
export type LearningBindSalesforceMutationBody = BodyType<LearningSalesforceBindingWrite>;
|
|
94
|
+
export type LearningBindSalesforceMutationError = ErrorType<HTTPExceptionResponse | ValidationErrorResponse>;
|
|
95
|
+
export type LearningBindSalesforceMutationVariables = {
|
|
96
|
+
tenantId: number;
|
|
97
|
+
data: BodyType<LearningSalesforceBindingWrite>;
|
|
98
|
+
};
|
|
99
|
+
/**
|
|
100
|
+
* @summary Bind a reviewed Salesforce customer identity
|
|
101
|
+
*/
|
|
102
|
+
export declare const useLearningBindSalesforce: <TError = ErrorType<HTTPExceptionResponse | ValidationErrorResponse>, TContext = unknown>(options?: {
|
|
103
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof learningBindSalesforce>>, TError, LearningBindSalesforceMutationVariables, TContext>;
|
|
104
|
+
request?: SecondParameter<typeof request>;
|
|
105
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof learningBindSalesforce>>, TError, LearningBindSalesforceMutationVariables, TContext>;
|
|
106
|
+
export declare const getLearningEngagementPreferenceUrl: () => string;
|
|
107
|
+
/**
|
|
108
|
+
* Return the local engagement consent state without contacting Braze. An absent preference is enabled=false and emailOptIn=null. Null emailOptIn means no explicit email subscription preference was supplied; it is distinct from a confirmed opt-out.
|
|
109
|
+
* @summary Read the current profile's engagement preference
|
|
110
|
+
*/
|
|
111
|
+
export declare const learningEngagementPreference: (options?: Parameters<typeof request>[1]) => Promise<LearningEngagementRead>;
|
|
112
|
+
export declare const getLearningEngagementPreferenceQueryKey: () => readonly [`/learning/me/engagement`];
|
|
113
|
+
export declare const getLearningEngagementPreferenceQueryOptions: <TData = Awaited<ReturnType<typeof learningEngagementPreference>>, TError = ErrorType<HTTPExceptionResponse | ValidationErrorResponse>>(options?: {
|
|
114
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof learningEngagementPreference>>, TError, TData>>;
|
|
115
|
+
request?: SecondParameter<typeof request>;
|
|
116
|
+
}) => UseQueryOptions<Awaited<ReturnType<typeof learningEngagementPreference>>, TError, TData> & {
|
|
117
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
118
|
+
};
|
|
119
|
+
export type LearningEngagementPreferenceQueryResult = NonNullable<Awaited<ReturnType<typeof learningEngagementPreference>>>;
|
|
120
|
+
export type LearningEngagementPreferenceQueryError = ErrorType<HTTPExceptionResponse | ValidationErrorResponse>;
|
|
121
|
+
export declare function useLearningEngagementPreference<TData = Awaited<ReturnType<typeof learningEngagementPreference>>, TError = ErrorType<HTTPExceptionResponse | ValidationErrorResponse>>(options: {
|
|
122
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof learningEngagementPreference>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof learningEngagementPreference>>, TError, Awaited<ReturnType<typeof learningEngagementPreference>>>, 'initialData'>;
|
|
123
|
+
request?: SecondParameter<typeof request>;
|
|
124
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
125
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
126
|
+
};
|
|
127
|
+
export declare function useLearningEngagementPreference<TData = Awaited<ReturnType<typeof learningEngagementPreference>>, TError = ErrorType<HTTPExceptionResponse | ValidationErrorResponse>>(options?: {
|
|
128
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof learningEngagementPreference>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof learningEngagementPreference>>, TError, Awaited<ReturnType<typeof learningEngagementPreference>>>, 'initialData'>;
|
|
129
|
+
request?: SecondParameter<typeof request>;
|
|
130
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
131
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
132
|
+
};
|
|
133
|
+
export declare function useLearningEngagementPreference<TData = Awaited<ReturnType<typeof learningEngagementPreference>>, TError = ErrorType<HTTPExceptionResponse | ValidationErrorResponse>>(options?: {
|
|
134
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof learningEngagementPreference>>, TError, TData>>;
|
|
135
|
+
request?: SecondParameter<typeof request>;
|
|
136
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
137
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
138
|
+
};
|
|
139
|
+
export declare const getLearningSetEngagementPreferenceUrl: () => string;
|
|
140
|
+
/**
|
|
141
|
+
* An independent profile explicitly enables or disables engagement and supplies an optional email opt-in. Enabling queues provider attributes; disabling cancels pending/failed deliveries and queues deletion when previously enabled. Personal email is sent only with emailOptIn=true. The response confirms local consent storage, not provider delivery. Repeating unchanged preferences queues no duplicate update. Support impersonation and dependent profiles are refused.
|
|
142
|
+
* @summary Set engagement consent and email preference
|
|
143
|
+
*/
|
|
144
|
+
export declare const learningSetEngagementPreference: (learningEngagementWrite: LearningEngagementWrite, options?: Parameters<typeof request>[1]) => Promise<LearningEngagementRead>;
|
|
145
|
+
export declare const getLearningSetEngagementPreferenceMutationKey: () => readonly ['learningSetEngagementPreference'];
|
|
146
|
+
export declare const getLearningSetEngagementPreferenceMutationOptions: <TError = ErrorType<HTTPExceptionResponse | ValidationErrorResponse>, TContext = unknown>(options?: {
|
|
147
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof learningSetEngagementPreference>>, TError, LearningSetEngagementPreferenceMutationVariables, TContext>;
|
|
148
|
+
request?: SecondParameter<typeof request>;
|
|
149
|
+
}) => UseMutationOptions<Awaited<ReturnType<typeof learningSetEngagementPreference>>, TError, LearningSetEngagementPreferenceMutationVariables, TContext>;
|
|
150
|
+
export type LearningSetEngagementPreferenceMutationResult = NonNullable<Awaited<ReturnType<typeof learningSetEngagementPreference>>>;
|
|
151
|
+
export type LearningSetEngagementPreferenceMutationBody = BodyType<LearningEngagementWrite>;
|
|
152
|
+
export type LearningSetEngagementPreferenceMutationError = ErrorType<HTTPExceptionResponse | ValidationErrorResponse>;
|
|
153
|
+
export type LearningSetEngagementPreferenceMutationVariables = {
|
|
154
|
+
data: BodyType<LearningEngagementWrite>;
|
|
155
|
+
};
|
|
156
|
+
/**
|
|
157
|
+
* @summary Set engagement consent and email preference
|
|
158
|
+
*/
|
|
159
|
+
export declare const useLearningSetEngagementPreference: <TError = ErrorType<HTTPExceptionResponse | ValidationErrorResponse>, TContext = unknown>(options?: {
|
|
160
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof learningSetEngagementPreference>>, TError, LearningSetEngagementPreferenceMutationVariables, TContext>;
|
|
161
|
+
request?: SecondParameter<typeof request>;
|
|
162
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof learningSetEngagementPreference>>, TError, LearningSetEngagementPreferenceMutationVariables, TContext>;
|
|
163
|
+
export declare const getLearningLinkPartnerIdentityUrl: (bindingKey: string) => string;
|
|
164
|
+
/**
|
|
165
|
+
* An already authenticated independent profile presents a one-use partner proof for a reviewed bindingKey. The configured CAS, Wizbii or Iguana protocol verifies the proof before linking the identity and bounded catalogue membership. Wizbii also requires username. This endpoint returns membership, not an OAuth token or a seamless login redirect. It cannot select another beneficiary, replace a revoked membership, or claim an identity linked to someone else. A stronger login with entitlement-change authority is required; support impersonation is refused. Proof replay is blocked for 24 hours.
|
|
166
|
+
* @summary Link a verified partner identity to the current profile
|
|
167
|
+
*/
|
|
168
|
+
export declare const learningLinkPartnerIdentity: (bindingKey: string, learningSsoProofWrite: LearningSsoProofWrite, options?: Parameters<typeof request>[1]) => Promise<LearningContractMemberRead>;
|
|
169
|
+
export declare const getLearningLinkPartnerIdentityMutationKey: () => readonly ['learningLinkPartnerIdentity'];
|
|
170
|
+
export declare const getLearningLinkPartnerIdentityMutationOptions: <TError = ErrorType<HTTPExceptionResponse | ValidationErrorResponse>, TContext = unknown>(options?: {
|
|
171
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof learningLinkPartnerIdentity>>, TError, LearningLinkPartnerIdentityMutationVariables, TContext>;
|
|
172
|
+
request?: SecondParameter<typeof request>;
|
|
173
|
+
}) => UseMutationOptions<Awaited<ReturnType<typeof learningLinkPartnerIdentity>>, TError, LearningLinkPartnerIdentityMutationVariables, TContext>;
|
|
174
|
+
export type LearningLinkPartnerIdentityMutationResult = NonNullable<Awaited<ReturnType<typeof learningLinkPartnerIdentity>>>;
|
|
175
|
+
export type LearningLinkPartnerIdentityMutationBody = BodyType<LearningSsoProofWrite>;
|
|
176
|
+
export type LearningLinkPartnerIdentityMutationError = ErrorType<HTTPExceptionResponse | ValidationErrorResponse>;
|
|
177
|
+
export type LearningLinkPartnerIdentityMutationVariables = {
|
|
178
|
+
bindingKey: string;
|
|
179
|
+
data: BodyType<LearningSsoProofWrite>;
|
|
180
|
+
};
|
|
181
|
+
/**
|
|
182
|
+
* @summary Link a verified partner identity to the current profile
|
|
183
|
+
*/
|
|
184
|
+
export declare const useLearningLinkPartnerIdentity: <TError = ErrorType<HTTPExceptionResponse | ValidationErrorResponse>, TContext = unknown>(options?: {
|
|
185
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof learningLinkPartnerIdentity>>, TError, LearningLinkPartnerIdentityMutationVariables, TContext>;
|
|
186
|
+
request?: SecondParameter<typeof request>;
|
|
187
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof learningLinkPartnerIdentity>>, TError, LearningLinkPartnerIdentityMutationVariables, TContext>;
|
|
188
|
+
export declare const getLearningSalesforceWebhookUrl: () => string;
|
|
189
|
+
/**
|
|
190
|
+
* Accept a SOAP XML Account notification batch up to 1 MiB with 1–100 unique notification IDs. OrganizationId and EnterpriseUrl must exactly match the configured source. Salesforce Send Session ID must be enabled: the server verifies that session, then fetches authoritative Account snapshots before updating only reviewed customer bindings. Embedded notification fields do not themselves grant authority. Replay receipts prevent conflicting reuse; unknown bindings or ambiguous source data require review. Successful processing returns the Salesforce text/xml Ack envelope. The synthetic session below is a transport fixture and cannot authenticate against a real source.
|
|
191
|
+
* @summary Receive a verified Salesforce SOAP notification
|
|
192
|
+
*/
|
|
193
|
+
export declare const learningSalesforceWebhook: (learningSalesforceWebhookBody: string, options?: Parameters<typeof request>[1]) => Promise<string>;
|
|
194
|
+
export declare const getLearningSalesforceWebhookMutationKey: () => readonly ['learningSalesforceWebhook'];
|
|
195
|
+
export declare const getLearningSalesforceWebhookMutationOptions: <TError = ErrorType<HTTPExceptionResponse | ValidationErrorResponse>, TContext = unknown>(options?: {
|
|
196
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof learningSalesforceWebhook>>, TError, LearningSalesforceWebhookMutationVariables, TContext>;
|
|
197
|
+
request?: SecondParameter<typeof request>;
|
|
198
|
+
}) => UseMutationOptions<Awaited<ReturnType<typeof learningSalesforceWebhook>>, TError, LearningSalesforceWebhookMutationVariables, TContext>;
|
|
199
|
+
export type LearningSalesforceWebhookMutationResult = NonNullable<Awaited<ReturnType<typeof learningSalesforceWebhook>>>;
|
|
200
|
+
export type LearningSalesforceWebhookMutationBody = BodyType<string>;
|
|
201
|
+
export type LearningSalesforceWebhookMutationError = ErrorType<HTTPExceptionResponse | ValidationErrorResponse>;
|
|
202
|
+
export type LearningSalesforceWebhookMutationVariables = {
|
|
203
|
+
data: BodyType<string>;
|
|
204
|
+
};
|
|
205
|
+
/**
|
|
206
|
+
* @summary Receive a verified Salesforce SOAP notification
|
|
207
|
+
*/
|
|
208
|
+
export declare const useLearningSalesforceWebhook: <TError = ErrorType<HTTPExceptionResponse | ValidationErrorResponse>, TContext = unknown>(options?: {
|
|
209
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof learningSalesforceWebhook>>, TError, LearningSalesforceWebhookMutationVariables, TContext>;
|
|
210
|
+
request?: SecondParameter<typeof request>;
|
|
211
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof learningSalesforceWebhook>>, TError, LearningSalesforceWebhookMutationVariables, TContext>;
|
|
212
|
+
export declare const getLearningTypeformWebhookUrl: () => string;
|
|
213
|
+
/**
|
|
214
|
+
* Verify typeform-signature as sha256= followed by base64 HMAC-SHA256 of the exact raw request bytes using the configured shared secret. This callback authenticates the provider signature, not a user bearer token. form_response.hidden.mozaik_token must be the existing opaque 43-character invitation; it binds the profile, course, tenant and progress. The configured form ID and exactly one integer answer for the configured rating field are required; at most 100 answers and 1 MiB of raw body are accepted. Only configured text comment fields are collected. First acceptance consumes the invitation; an identical normalized response token/body retry is idempotent, a changed response conflicts, and an unconsumed expired invitation returns 410. Success returns no body.
|
|
215
|
+
* @summary Accept a signed Typeform course survey
|
|
216
|
+
*/
|
|
217
|
+
export declare const learningTypeformWebhook: (learningTypeformWebhookBody: LearningTypeformWebhookBody, options?: Parameters<typeof request>[1]) => Promise<void>;
|
|
218
|
+
export declare const getLearningTypeformWebhookMutationKey: () => readonly ['learningTypeformWebhook'];
|
|
219
|
+
export declare const getLearningTypeformWebhookMutationOptions: <TError = ErrorType<HTTPExceptionResponse | ValidationErrorResponse>, TContext = unknown>(options?: {
|
|
220
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof learningTypeformWebhook>>, TError, LearningTypeformWebhookMutationVariables, TContext>;
|
|
221
|
+
request?: SecondParameter<typeof request>;
|
|
222
|
+
}) => UseMutationOptions<Awaited<ReturnType<typeof learningTypeformWebhook>>, TError, LearningTypeformWebhookMutationVariables, TContext>;
|
|
223
|
+
export type LearningTypeformWebhookMutationResult = NonNullable<Awaited<ReturnType<typeof learningTypeformWebhook>>>;
|
|
224
|
+
export type LearningTypeformWebhookMutationBody = BodyType<LearningTypeformWebhookBody>;
|
|
225
|
+
export type LearningTypeformWebhookMutationError = ErrorType<HTTPExceptionResponse | ValidationErrorResponse>;
|
|
226
|
+
export type LearningTypeformWebhookMutationVariables = {
|
|
227
|
+
data: BodyType<LearningTypeformWebhookBody>;
|
|
228
|
+
};
|
|
229
|
+
/**
|
|
230
|
+
* @summary Accept a signed Typeform course survey
|
|
231
|
+
*/
|
|
232
|
+
export declare const useLearningTypeformWebhook: <TError = ErrorType<HTTPExceptionResponse | ValidationErrorResponse>, TContext = unknown>(options?: {
|
|
233
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof learningTypeformWebhook>>, TError, LearningTypeformWebhookMutationVariables, TContext>;
|
|
234
|
+
request?: SecondParameter<typeof request>;
|
|
235
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof learningTypeformWebhook>>, TError, LearningTypeformWebhookMutationVariables, TContext>;
|
|
236
|
+
//#endregion
|
|
237
|
+
//# sourceMappingURL=biblio-learning-integrations.d.ts.map
|