@learnorama/mozaik-sdk 0.22.10-staging.78.1 → 0.23.0-staging.79.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/CUSTOMER-ADMIN.md +18 -2
- package/FRONTEND-REQUESTS.md +130 -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-customer.d.ts +176 -3
- package/dist/api/admin-customer.js +470 -5
- package/dist/api/admin-customer.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 +61 -1
- package/dist/api/admin-tenants.js +222 -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/admin-vod.d.ts +1 -1
- package/dist/api/admin-vod.js.map +1 -1
- package/dist/api/auth-device.d.ts +1 -1
- package/dist/api/auth-device.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 +1 -1
- package/dist/api/biblio-billing-webhooks.js.map +1 -1
- package/dist/api/biblio-billing.d.ts +1 -1
- package/dist/api/biblio-billing.js.map +1 -1
- 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 +1 -1
- package/dist/api/biblio-learning-author-profiles.js.map +1 -1
- package/dist/api/biblio-learning-authoring.d.ts +1 -1
- package/dist/api/biblio-learning-authoring.js.map +1 -1
- package/dist/api/biblio-learning-editorial.d.ts +1 -1
- package/dist/api/biblio-learning-editorial.js.map +1 -1
- package/dist/api/biblio-learning-feedback.d.ts +1 -1
- package/dist/api/biblio-learning-feedback.js.map +1 -1
- package/dist/api/biblio-learning-finance.d.ts +1 -1
- package/dist/api/biblio-learning-finance.js.map +1 -1
- package/dist/api/biblio-learning-integrations.d.ts +1 -1
- package/dist/api/biblio-learning-integrations.js.map +1 -1
- package/dist/api/biblio-learning-membership.d.ts +1 -1
- package/dist/api/biblio-learning-membership.js.map +1 -1
- package/dist/api/biblio-learning.d.ts +1 -1
- package/dist/api/biblio-learning.js.map +1 -1
- 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/biblio-youscribe.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 +3 -3
- package/dist/api/index.js +3 -3
- package/dist/api/partner-catalogue.d.ts +1 -1
- package/dist/api/partner-catalogue.js.map +1 -1
- package/dist/api/partner-reader-nextory.d.ts +1 -1
- package/dist/api/partner-reader-nextory.js.map +1 -1
- package/dist/api/partner-reader-youscribe.d.ts +1 -1
- package/dist/api/partner-reader-youscribe.js.map +1 -1
- package/dist/api/partner-reading.d.ts +1 -1
- package/dist/api/partner-reading.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.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 +2047 -840
- package/dist/chunks/index2.d.ts +1 -1
- 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 +236 -3
- 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-customer.d.ts +690 -3
- package/dist/react/admin-customer.js +1128 -97
- package/dist/react/admin-customer.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 +257 -1
- package/dist/react/admin-tenants.js +499 -2
- 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/admin-vod.d.ts +1 -1
- package/dist/react/admin-vod.js +1 -1
- package/dist/react/admin-vod.js.map +1 -1
- package/dist/react/auth-device.d.ts +1 -1
- package/dist/react/auth-device.js +1 -1
- package/dist/react/auth-device.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 +1 -1
- package/dist/react/biblio-billing-webhooks.js +1 -1
- package/dist/react/biblio-billing-webhooks.js.map +1 -1
- package/dist/react/biblio-billing.d.ts +1 -1
- package/dist/react/biblio-billing.js +1 -1
- package/dist/react/biblio-billing.js.map +1 -1
- 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 +1 -1
- package/dist/react/biblio-learning-author-profiles.js +1 -1
- package/dist/react/biblio-learning-author-profiles.js.map +1 -1
- package/dist/react/biblio-learning-authoring.d.ts +1 -1
- package/dist/react/biblio-learning-authoring.js +1 -1
- package/dist/react/biblio-learning-authoring.js.map +1 -1
- package/dist/react/biblio-learning-editorial.d.ts +1 -1
- package/dist/react/biblio-learning-editorial.js +1 -1
- package/dist/react/biblio-learning-editorial.js.map +1 -1
- package/dist/react/biblio-learning-feedback.d.ts +1 -1
- package/dist/react/biblio-learning-feedback.js +1 -1
- package/dist/react/biblio-learning-feedback.js.map +1 -1
- package/dist/react/biblio-learning-finance.d.ts +1 -1
- package/dist/react/biblio-learning-finance.js +1 -1
- package/dist/react/biblio-learning-finance.js.map +1 -1
- package/dist/react/biblio-learning-integrations.d.ts +1 -1
- package/dist/react/biblio-learning-integrations.js +1 -1
- package/dist/react/biblio-learning-integrations.js.map +1 -1
- package/dist/react/biblio-learning-membership.d.ts +1 -1
- package/dist/react/biblio-learning-membership.js +1 -1
- package/dist/react/biblio-learning-membership.js.map +1 -1
- package/dist/react/biblio-learning.d.ts +1 -1
- package/dist/react/biblio-learning.js +1 -1
- package/dist/react/biblio-learning.js.map +1 -1
- 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/biblio-youscribe.d.ts +1 -1
- package/dist/react/biblio-youscribe.js +1 -1
- package/dist/react/biblio-youscribe.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 +3 -3
- package/dist/react/index.js +3 -3
- 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-nextory.d.ts +1 -1
- package/dist/react/partner-reader-nextory.js +1 -1
- package/dist/react/partner-reader-nextory.js.map +1 -1
- package/dist/react/partner-reader-youscribe.d.ts +1 -1
- package/dist/react/partner-reader-youscribe.js +1 -1
- package/dist/react/partner-reader-youscribe.js.map +1 -1
- package/dist/react/partner-reading.d.ts +1 -1
- package/dist/react/partner-reading.js +1 -1
- package/dist/react/partner-reading.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
|
@@ -7,7 +7,7 @@ import { useMutation, useQuery } from "@tanstack/react-query";
|
|
|
7
7
|
* Do not edit manually.
|
|
8
8
|
* Mozaik backend
|
|
9
9
|
* Four products behind one API — Biblio, Médiathèques, the partner catalogues (Nextory and YouScribe) and Prof Express. Authentication is Keycloak SSO only, once, for all of them: see the **auth** section below for the browser flow and the three failure modes.
|
|
10
|
-
* OpenAPI spec version: 0.
|
|
10
|
+
* OpenAPI spec version: 0.23.0
|
|
11
11
|
*/
|
|
12
12
|
const withQueryKey = (query, queryKey) => {
|
|
13
13
|
const result = { queryKey };
|
|
@@ -21,6 +21,192 @@ const withQueryKey = (query, queryKey) => {
|
|
|
21
21
|
}
|
|
22
22
|
return result;
|
|
23
23
|
};
|
|
24
|
+
const getListConsoleItemsUrl = () => {
|
|
25
|
+
return `/admin/customer-console/items`;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Every console item, shown or not, with its audience and display window.
|
|
29
|
+
* @summary List Console Items
|
|
30
|
+
*/
|
|
31
|
+
const listConsoleItems = async (options) => {
|
|
32
|
+
return request(getListConsoleItemsUrl(), {
|
|
33
|
+
...options,
|
|
34
|
+
method: "GET"
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
const getListConsoleItemsQueryKey = () => {
|
|
38
|
+
return [`/admin/customer-console/items`];
|
|
39
|
+
};
|
|
40
|
+
const getListConsoleItemsQueryOptions = (options) => {
|
|
41
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
42
|
+
const queryKey = queryOptions?.queryKey ?? getListConsoleItemsQueryKey();
|
|
43
|
+
const queryFn = ({ signal }) => listConsoleItems({
|
|
44
|
+
signal,
|
|
45
|
+
...requestOptions
|
|
46
|
+
});
|
|
47
|
+
return {
|
|
48
|
+
queryKey,
|
|
49
|
+
queryFn,
|
|
50
|
+
...queryOptions
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* @summary List Console Items
|
|
55
|
+
*/
|
|
56
|
+
function useListConsoleItems(options, queryClient) {
|
|
57
|
+
const queryOptions = getListConsoleItemsQueryOptions(options);
|
|
58
|
+
const query = useQuery(queryOptions, queryClient);
|
|
59
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
60
|
+
}
|
|
61
|
+
const getCreateConsoleItemUrl = () => {
|
|
62
|
+
return `/admin/customer-console/items`;
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* Publish a webinar, event, news, banner, kit support or orderable paper support to customer administrators.
|
|
66
|
+
* @summary Create Console Item
|
|
67
|
+
*/
|
|
68
|
+
const createConsoleItem = async (consoleItemWrite, options) => {
|
|
69
|
+
const getHeaders = (h) => {
|
|
70
|
+
if (!h) return {};
|
|
71
|
+
if (h instanceof Headers) return Object.fromEntries(h.entries());
|
|
72
|
+
if (Symbol.iterator in h) return Object.fromEntries(Array.from(h, (entry) => Array.from(entry)));
|
|
73
|
+
const headers = {};
|
|
74
|
+
for (const [name, value] of Object.entries(h)) if (value !== void 0) headers[name] = value;
|
|
75
|
+
return headers;
|
|
76
|
+
};
|
|
77
|
+
return request(getCreateConsoleItemUrl(), {
|
|
78
|
+
...options,
|
|
79
|
+
method: "POST",
|
|
80
|
+
headers: {
|
|
81
|
+
"Content-Type": "application/json",
|
|
82
|
+
...getHeaders(options?.headers)
|
|
83
|
+
},
|
|
84
|
+
body: JSON.stringify(consoleItemWrite)
|
|
85
|
+
});
|
|
86
|
+
};
|
|
87
|
+
const getCreateConsoleItemMutationKey = () => ["createConsoleItem"];
|
|
88
|
+
const getCreateConsoleItemMutationOptions = (options) => {
|
|
89
|
+
const mutationKey = getCreateConsoleItemMutationKey();
|
|
90
|
+
const { mutation: mutationOptions, request: requestOptions } = options ? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey ? options : {
|
|
91
|
+
...options,
|
|
92
|
+
mutation: {
|
|
93
|
+
...options.mutation,
|
|
94
|
+
mutationKey
|
|
95
|
+
}
|
|
96
|
+
} : {
|
|
97
|
+
mutation: { mutationKey },
|
|
98
|
+
request: void 0
|
|
99
|
+
};
|
|
100
|
+
const mutationFn = (props) => {
|
|
101
|
+
const { data } = props ?? {};
|
|
102
|
+
return createConsoleItem(data, requestOptions);
|
|
103
|
+
};
|
|
104
|
+
return {
|
|
105
|
+
mutationFn,
|
|
106
|
+
...mutationOptions
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
/**
|
|
110
|
+
* @summary Create Console Item
|
|
111
|
+
*/
|
|
112
|
+
const useCreateConsoleItem = (options, queryClient) => {
|
|
113
|
+
return useMutation(getCreateConsoleItemMutationOptions(options), queryClient);
|
|
114
|
+
};
|
|
115
|
+
const getRemoveConsoleItemUrl = (itemId) => {
|
|
116
|
+
return `/admin/customer-console/items/${itemId}`;
|
|
117
|
+
};
|
|
118
|
+
/**
|
|
119
|
+
* Withdraw a console item. Orders already placed keep their wording.
|
|
120
|
+
* @summary Remove Console Item
|
|
121
|
+
*/
|
|
122
|
+
const removeConsoleItem = async (itemId, options) => {
|
|
123
|
+
return request(getRemoveConsoleItemUrl(itemId), {
|
|
124
|
+
...options,
|
|
125
|
+
method: "DELETE"
|
|
126
|
+
});
|
|
127
|
+
};
|
|
128
|
+
const getRemoveConsoleItemMutationKey = () => ["removeConsoleItem"];
|
|
129
|
+
const getRemoveConsoleItemMutationOptions = (options) => {
|
|
130
|
+
const mutationKey = getRemoveConsoleItemMutationKey();
|
|
131
|
+
const { mutation: mutationOptions, request: requestOptions } = options ? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey ? options : {
|
|
132
|
+
...options,
|
|
133
|
+
mutation: {
|
|
134
|
+
...options.mutation,
|
|
135
|
+
mutationKey
|
|
136
|
+
}
|
|
137
|
+
} : {
|
|
138
|
+
mutation: { mutationKey },
|
|
139
|
+
request: void 0
|
|
140
|
+
};
|
|
141
|
+
const mutationFn = (props) => {
|
|
142
|
+
const { itemId } = props ?? {};
|
|
143
|
+
return removeConsoleItem(itemId, requestOptions);
|
|
144
|
+
};
|
|
145
|
+
return {
|
|
146
|
+
mutationFn,
|
|
147
|
+
...mutationOptions
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
/**
|
|
151
|
+
* @summary Remove Console Item
|
|
152
|
+
*/
|
|
153
|
+
const useRemoveConsoleItem = (options, queryClient) => {
|
|
154
|
+
return useMutation(getRemoveConsoleItemMutationOptions(options), queryClient);
|
|
155
|
+
};
|
|
156
|
+
const getReplaceConsoleItemUrl = (itemId) => {
|
|
157
|
+
return `/admin/customer-console/items/${itemId}`;
|
|
158
|
+
};
|
|
159
|
+
/**
|
|
160
|
+
* Replace a console item with the complete desired content.
|
|
161
|
+
* @summary Replace Console Item
|
|
162
|
+
*/
|
|
163
|
+
const replaceConsoleItem = async (itemId, consoleItemWrite, options) => {
|
|
164
|
+
const getHeaders = (h) => {
|
|
165
|
+
if (!h) return {};
|
|
166
|
+
if (h instanceof Headers) return Object.fromEntries(h.entries());
|
|
167
|
+
if (Symbol.iterator in h) return Object.fromEntries(Array.from(h, (entry) => Array.from(entry)));
|
|
168
|
+
const headers = {};
|
|
169
|
+
for (const [name, value] of Object.entries(h)) if (value !== void 0) headers[name] = value;
|
|
170
|
+
return headers;
|
|
171
|
+
};
|
|
172
|
+
return request(getReplaceConsoleItemUrl(itemId), {
|
|
173
|
+
...options,
|
|
174
|
+
method: "PUT",
|
|
175
|
+
headers: {
|
|
176
|
+
"Content-Type": "application/json",
|
|
177
|
+
...getHeaders(options?.headers)
|
|
178
|
+
},
|
|
179
|
+
body: JSON.stringify(consoleItemWrite)
|
|
180
|
+
});
|
|
181
|
+
};
|
|
182
|
+
const getReplaceConsoleItemMutationKey = () => ["replaceConsoleItem"];
|
|
183
|
+
const getReplaceConsoleItemMutationOptions = (options) => {
|
|
184
|
+
const mutationKey = getReplaceConsoleItemMutationKey();
|
|
185
|
+
const { mutation: mutationOptions, request: requestOptions } = options ? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey ? options : {
|
|
186
|
+
...options,
|
|
187
|
+
mutation: {
|
|
188
|
+
...options.mutation,
|
|
189
|
+
mutationKey
|
|
190
|
+
}
|
|
191
|
+
} : {
|
|
192
|
+
mutation: { mutationKey },
|
|
193
|
+
request: void 0
|
|
194
|
+
};
|
|
195
|
+
const mutationFn = (props) => {
|
|
196
|
+
const { itemId, data } = props ?? {};
|
|
197
|
+
return replaceConsoleItem(itemId, data, requestOptions);
|
|
198
|
+
};
|
|
199
|
+
return {
|
|
200
|
+
mutationFn,
|
|
201
|
+
...mutationOptions
|
|
202
|
+
};
|
|
203
|
+
};
|
|
204
|
+
/**
|
|
205
|
+
* @summary Replace Console Item
|
|
206
|
+
*/
|
|
207
|
+
const useReplaceConsoleItem = (options, queryClient) => {
|
|
208
|
+
return useMutation(getReplaceConsoleItemMutationOptions(options), queryClient);
|
|
209
|
+
};
|
|
24
210
|
const getListStaffCustomerRequestsUrl = (params) => {
|
|
25
211
|
const normalizedParams = new URLSearchParams();
|
|
26
212
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -497,6 +683,168 @@ const getUpdateTenantMutationOptions = (options) => {
|
|
|
497
683
|
const useUpdateTenant = (options, queryClient) => {
|
|
498
684
|
return useMutation(getUpdateTenantMutationOptions(options), queryClient);
|
|
499
685
|
};
|
|
686
|
+
const getCreateCustomerSegmentUrl = (tenantId) => {
|
|
687
|
+
return `/admin/tenants/${tenantId}/access-codes/segments`;
|
|
688
|
+
};
|
|
689
|
+
/**
|
|
690
|
+
* Mozaik staff create a segment with its own registration code and cap.
|
|
691
|
+
* @summary Create Customer Segment
|
|
692
|
+
*/
|
|
693
|
+
const createCustomerSegment = async (tenantId, customerSegmentWrite, options) => {
|
|
694
|
+
const getHeaders = (h) => {
|
|
695
|
+
if (!h) return {};
|
|
696
|
+
if (h instanceof Headers) return Object.fromEntries(h.entries());
|
|
697
|
+
if (Symbol.iterator in h) return Object.fromEntries(Array.from(h, (entry) => Array.from(entry)));
|
|
698
|
+
const headers = {};
|
|
699
|
+
for (const [name, value] of Object.entries(h)) if (value !== void 0) headers[name] = value;
|
|
700
|
+
return headers;
|
|
701
|
+
};
|
|
702
|
+
return request(getCreateCustomerSegmentUrl(tenantId), {
|
|
703
|
+
...options,
|
|
704
|
+
method: "POST",
|
|
705
|
+
headers: {
|
|
706
|
+
"Content-Type": "application/json",
|
|
707
|
+
...getHeaders(options?.headers)
|
|
708
|
+
},
|
|
709
|
+
body: JSON.stringify(customerSegmentWrite)
|
|
710
|
+
});
|
|
711
|
+
};
|
|
712
|
+
const getCreateCustomerSegmentMutationKey = () => ["createCustomerSegment"];
|
|
713
|
+
const getCreateCustomerSegmentMutationOptions = (options) => {
|
|
714
|
+
const mutationKey = getCreateCustomerSegmentMutationKey();
|
|
715
|
+
const { mutation: mutationOptions, request: requestOptions } = options ? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey ? options : {
|
|
716
|
+
...options,
|
|
717
|
+
mutation: {
|
|
718
|
+
...options.mutation,
|
|
719
|
+
mutationKey
|
|
720
|
+
}
|
|
721
|
+
} : {
|
|
722
|
+
mutation: { mutationKey },
|
|
723
|
+
request: void 0
|
|
724
|
+
};
|
|
725
|
+
const mutationFn = (props) => {
|
|
726
|
+
const { tenantId, data } = props ?? {};
|
|
727
|
+
return createCustomerSegment(tenantId, data, requestOptions);
|
|
728
|
+
};
|
|
729
|
+
return {
|
|
730
|
+
mutationFn,
|
|
731
|
+
...mutationOptions
|
|
732
|
+
};
|
|
733
|
+
};
|
|
734
|
+
/**
|
|
735
|
+
* @summary Create Customer Segment
|
|
736
|
+
*/
|
|
737
|
+
const useCreateCustomerSegment = (options, queryClient) => {
|
|
738
|
+
return useMutation(getCreateCustomerSegmentMutationOptions(options), queryClient);
|
|
739
|
+
};
|
|
740
|
+
const getUpdateCustomerSegmentUrl = (tenantId, segmentId) => {
|
|
741
|
+
return `/admin/tenants/${tenantId}/access-codes/segments/${segmentId}`;
|
|
742
|
+
};
|
|
743
|
+
/**
|
|
744
|
+
* Rename a segment, change its cap or validity, or withdraw its code. A cap never drops below registrations already made.
|
|
745
|
+
* @summary Update Customer Segment
|
|
746
|
+
*/
|
|
747
|
+
const updateCustomerSegment = async (tenantId, segmentId, customerSegmentUpdateWrite, options) => {
|
|
748
|
+
const getHeaders = (h) => {
|
|
749
|
+
if (!h) return {};
|
|
750
|
+
if (h instanceof Headers) return Object.fromEntries(h.entries());
|
|
751
|
+
if (Symbol.iterator in h) return Object.fromEntries(Array.from(h, (entry) => Array.from(entry)));
|
|
752
|
+
const headers = {};
|
|
753
|
+
for (const [name, value] of Object.entries(h)) if (value !== void 0) headers[name] = value;
|
|
754
|
+
return headers;
|
|
755
|
+
};
|
|
756
|
+
return request(getUpdateCustomerSegmentUrl(tenantId, segmentId), {
|
|
757
|
+
...options,
|
|
758
|
+
method: "PATCH",
|
|
759
|
+
headers: {
|
|
760
|
+
"Content-Type": "application/json",
|
|
761
|
+
...getHeaders(options?.headers)
|
|
762
|
+
},
|
|
763
|
+
body: JSON.stringify(customerSegmentUpdateWrite)
|
|
764
|
+
});
|
|
765
|
+
};
|
|
766
|
+
const getUpdateCustomerSegmentMutationKey = () => ["updateCustomerSegment"];
|
|
767
|
+
const getUpdateCustomerSegmentMutationOptions = (options) => {
|
|
768
|
+
const mutationKey = getUpdateCustomerSegmentMutationKey();
|
|
769
|
+
const { mutation: mutationOptions, request: requestOptions } = options ? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey ? options : {
|
|
770
|
+
...options,
|
|
771
|
+
mutation: {
|
|
772
|
+
...options.mutation,
|
|
773
|
+
mutationKey
|
|
774
|
+
}
|
|
775
|
+
} : {
|
|
776
|
+
mutation: { mutationKey },
|
|
777
|
+
request: void 0
|
|
778
|
+
};
|
|
779
|
+
const mutationFn = (props) => {
|
|
780
|
+
const { tenantId, segmentId, data } = props ?? {};
|
|
781
|
+
return updateCustomerSegment(tenantId, segmentId, data, requestOptions);
|
|
782
|
+
};
|
|
783
|
+
return {
|
|
784
|
+
mutationFn,
|
|
785
|
+
...mutationOptions
|
|
786
|
+
};
|
|
787
|
+
};
|
|
788
|
+
/**
|
|
789
|
+
* @summary Update Customer Segment
|
|
790
|
+
*/
|
|
791
|
+
const useUpdateCustomerSegment = (options, queryClient) => {
|
|
792
|
+
return useMutation(getUpdateCustomerSegmentMutationOptions(options), queryClient);
|
|
793
|
+
};
|
|
794
|
+
const getCreateCustomerSingleUseCodesUrl = (tenantId) => {
|
|
795
|
+
return `/admin/tenants/${tenantId}/access-codes/single-use`;
|
|
796
|
+
};
|
|
797
|
+
/**
|
|
798
|
+
* Mozaik staff add a batch of codes, each admitting one registration.
|
|
799
|
+
* @summary Create Customer Single Use Codes
|
|
800
|
+
*/
|
|
801
|
+
const createCustomerSingleUseCodes = async (tenantId, customerSingleUseBatchWrite, options) => {
|
|
802
|
+
const getHeaders = (h) => {
|
|
803
|
+
if (!h) return {};
|
|
804
|
+
if (h instanceof Headers) return Object.fromEntries(h.entries());
|
|
805
|
+
if (Symbol.iterator in h) return Object.fromEntries(Array.from(h, (entry) => Array.from(entry)));
|
|
806
|
+
const headers = {};
|
|
807
|
+
for (const [name, value] of Object.entries(h)) if (value !== void 0) headers[name] = value;
|
|
808
|
+
return headers;
|
|
809
|
+
};
|
|
810
|
+
return request(getCreateCustomerSingleUseCodesUrl(tenantId), {
|
|
811
|
+
...options,
|
|
812
|
+
method: "POST",
|
|
813
|
+
headers: {
|
|
814
|
+
"Content-Type": "application/json",
|
|
815
|
+
...getHeaders(options?.headers)
|
|
816
|
+
},
|
|
817
|
+
body: JSON.stringify(customerSingleUseBatchWrite)
|
|
818
|
+
});
|
|
819
|
+
};
|
|
820
|
+
const getCreateCustomerSingleUseCodesMutationKey = () => ["createCustomerSingleUseCodes"];
|
|
821
|
+
const getCreateCustomerSingleUseCodesMutationOptions = (options) => {
|
|
822
|
+
const mutationKey = getCreateCustomerSingleUseCodesMutationKey();
|
|
823
|
+
const { mutation: mutationOptions, request: requestOptions } = options ? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey ? options : {
|
|
824
|
+
...options,
|
|
825
|
+
mutation: {
|
|
826
|
+
...options.mutation,
|
|
827
|
+
mutationKey
|
|
828
|
+
}
|
|
829
|
+
} : {
|
|
830
|
+
mutation: { mutationKey },
|
|
831
|
+
request: void 0
|
|
832
|
+
};
|
|
833
|
+
const mutationFn = (props) => {
|
|
834
|
+
const { tenantId, data } = props ?? {};
|
|
835
|
+
return createCustomerSingleUseCodes(tenantId, data, requestOptions);
|
|
836
|
+
};
|
|
837
|
+
return {
|
|
838
|
+
mutationFn,
|
|
839
|
+
...mutationOptions
|
|
840
|
+
};
|
|
841
|
+
};
|
|
842
|
+
/**
|
|
843
|
+
* @summary Create Customer Single Use Codes
|
|
844
|
+
*/
|
|
845
|
+
const useCreateCustomerSingleUseCodes = (options, queryClient) => {
|
|
846
|
+
return useMutation(getCreateCustomerSingleUseCodesMutationOptions(options), queryClient);
|
|
847
|
+
};
|
|
500
848
|
const getConfigureCustomerActivationUrl = (tenantId) => {
|
|
501
849
|
return `/admin/tenants/${tenantId}/activation-code`;
|
|
502
850
|
};
|
|
@@ -551,6 +899,155 @@ const getConfigureCustomerActivationMutationOptions = (options) => {
|
|
|
551
899
|
const useConfigureCustomerActivation = (options, queryClient) => {
|
|
552
900
|
return useMutation(getConfigureCustomerActivationMutationOptions(options), queryClient);
|
|
553
901
|
};
|
|
902
|
+
const getPlanCustomerCalendarStepUrl = (tenantId) => {
|
|
903
|
+
return `/admin/tenants/${tenantId}/calendar`;
|
|
904
|
+
};
|
|
905
|
+
/**
|
|
906
|
+
* Add a step to the communication plan Mozaik writes for one customer.
|
|
907
|
+
* @summary Plan Customer Calendar Step
|
|
908
|
+
*/
|
|
909
|
+
const planCustomerCalendarStep = async (tenantId, staffCalendarEventWrite, options) => {
|
|
910
|
+
const getHeaders = (h) => {
|
|
911
|
+
if (!h) return {};
|
|
912
|
+
if (h instanceof Headers) return Object.fromEntries(h.entries());
|
|
913
|
+
if (Symbol.iterator in h) return Object.fromEntries(Array.from(h, (entry) => Array.from(entry)));
|
|
914
|
+
const headers = {};
|
|
915
|
+
for (const [name, value] of Object.entries(h)) if (value !== void 0) headers[name] = value;
|
|
916
|
+
return headers;
|
|
917
|
+
};
|
|
918
|
+
return request(getPlanCustomerCalendarStepUrl(tenantId), {
|
|
919
|
+
...options,
|
|
920
|
+
method: "POST",
|
|
921
|
+
headers: {
|
|
922
|
+
"Content-Type": "application/json",
|
|
923
|
+
...getHeaders(options?.headers)
|
|
924
|
+
},
|
|
925
|
+
body: JSON.stringify(staffCalendarEventWrite)
|
|
926
|
+
});
|
|
927
|
+
};
|
|
928
|
+
const getPlanCustomerCalendarStepMutationKey = () => ["planCustomerCalendarStep"];
|
|
929
|
+
const getPlanCustomerCalendarStepMutationOptions = (options) => {
|
|
930
|
+
const mutationKey = getPlanCustomerCalendarStepMutationKey();
|
|
931
|
+
const { mutation: mutationOptions, request: requestOptions } = options ? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey ? options : {
|
|
932
|
+
...options,
|
|
933
|
+
mutation: {
|
|
934
|
+
...options.mutation,
|
|
935
|
+
mutationKey
|
|
936
|
+
}
|
|
937
|
+
} : {
|
|
938
|
+
mutation: { mutationKey },
|
|
939
|
+
request: void 0
|
|
940
|
+
};
|
|
941
|
+
const mutationFn = (props) => {
|
|
942
|
+
const { tenantId, data } = props ?? {};
|
|
943
|
+
return planCustomerCalendarStep(tenantId, data, requestOptions);
|
|
944
|
+
};
|
|
945
|
+
return {
|
|
946
|
+
mutationFn,
|
|
947
|
+
...mutationOptions
|
|
948
|
+
};
|
|
949
|
+
};
|
|
950
|
+
/**
|
|
951
|
+
* @summary Plan Customer Calendar Step
|
|
952
|
+
*/
|
|
953
|
+
const usePlanCustomerCalendarStep = (options, queryClient) => {
|
|
954
|
+
return useMutation(getPlanCustomerCalendarStepMutationOptions(options), queryClient);
|
|
955
|
+
};
|
|
956
|
+
const getRemoveCustomerCalendarStepUrl = (tenantId, eventId) => {
|
|
957
|
+
return `/admin/tenants/${tenantId}/calendar/${eventId}`;
|
|
958
|
+
};
|
|
959
|
+
/**
|
|
960
|
+
* Withdraw a step of the plan Mozaik wrote for one customer.
|
|
961
|
+
* @summary Remove Customer Calendar Step
|
|
962
|
+
*/
|
|
963
|
+
const removeCustomerCalendarStep = async (tenantId, eventId, options) => {
|
|
964
|
+
return request(getRemoveCustomerCalendarStepUrl(tenantId, eventId), {
|
|
965
|
+
...options,
|
|
966
|
+
method: "DELETE"
|
|
967
|
+
});
|
|
968
|
+
};
|
|
969
|
+
const getRemoveCustomerCalendarStepMutationKey = () => ["removeCustomerCalendarStep"];
|
|
970
|
+
const getRemoveCustomerCalendarStepMutationOptions = (options) => {
|
|
971
|
+
const mutationKey = getRemoveCustomerCalendarStepMutationKey();
|
|
972
|
+
const { mutation: mutationOptions, request: requestOptions } = options ? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey ? options : {
|
|
973
|
+
...options,
|
|
974
|
+
mutation: {
|
|
975
|
+
...options.mutation,
|
|
976
|
+
mutationKey
|
|
977
|
+
}
|
|
978
|
+
} : {
|
|
979
|
+
mutation: { mutationKey },
|
|
980
|
+
request: void 0
|
|
981
|
+
};
|
|
982
|
+
const mutationFn = (props) => {
|
|
983
|
+
const { tenantId, eventId } = props ?? {};
|
|
984
|
+
return removeCustomerCalendarStep(tenantId, eventId, requestOptions);
|
|
985
|
+
};
|
|
986
|
+
return {
|
|
987
|
+
mutationFn,
|
|
988
|
+
...mutationOptions
|
|
989
|
+
};
|
|
990
|
+
};
|
|
991
|
+
/**
|
|
992
|
+
* @summary Remove Customer Calendar Step
|
|
993
|
+
*/
|
|
994
|
+
const useRemoveCustomerCalendarStep = (options, queryClient) => {
|
|
995
|
+
return useMutation(getRemoveCustomerCalendarStepMutationOptions(options), queryClient);
|
|
996
|
+
};
|
|
997
|
+
const getChangeCustomerCalendarStepUrl = (tenantId, eventId) => {
|
|
998
|
+
return `/admin/tenants/${tenantId}/calendar/${eventId}`;
|
|
999
|
+
};
|
|
1000
|
+
/**
|
|
1001
|
+
* Change a step of the plan. The customer's own internal events are not staff's to change (404).
|
|
1002
|
+
* @summary Change Customer Calendar Step
|
|
1003
|
+
*/
|
|
1004
|
+
const changeCustomerCalendarStep = async (tenantId, eventId, staffCalendarEventWrite, options) => {
|
|
1005
|
+
const getHeaders = (h) => {
|
|
1006
|
+
if (!h) return {};
|
|
1007
|
+
if (h instanceof Headers) return Object.fromEntries(h.entries());
|
|
1008
|
+
if (Symbol.iterator in h) return Object.fromEntries(Array.from(h, (entry) => Array.from(entry)));
|
|
1009
|
+
const headers = {};
|
|
1010
|
+
for (const [name, value] of Object.entries(h)) if (value !== void 0) headers[name] = value;
|
|
1011
|
+
return headers;
|
|
1012
|
+
};
|
|
1013
|
+
return request(getChangeCustomerCalendarStepUrl(tenantId, eventId), {
|
|
1014
|
+
...options,
|
|
1015
|
+
method: "PUT",
|
|
1016
|
+
headers: {
|
|
1017
|
+
"Content-Type": "application/json",
|
|
1018
|
+
...getHeaders(options?.headers)
|
|
1019
|
+
},
|
|
1020
|
+
body: JSON.stringify(staffCalendarEventWrite)
|
|
1021
|
+
});
|
|
1022
|
+
};
|
|
1023
|
+
const getChangeCustomerCalendarStepMutationKey = () => ["changeCustomerCalendarStep"];
|
|
1024
|
+
const getChangeCustomerCalendarStepMutationOptions = (options) => {
|
|
1025
|
+
const mutationKey = getChangeCustomerCalendarStepMutationKey();
|
|
1026
|
+
const { mutation: mutationOptions, request: requestOptions } = options ? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey ? options : {
|
|
1027
|
+
...options,
|
|
1028
|
+
mutation: {
|
|
1029
|
+
...options.mutation,
|
|
1030
|
+
mutationKey
|
|
1031
|
+
}
|
|
1032
|
+
} : {
|
|
1033
|
+
mutation: { mutationKey },
|
|
1034
|
+
request: void 0
|
|
1035
|
+
};
|
|
1036
|
+
const mutationFn = (props) => {
|
|
1037
|
+
const { tenantId, eventId, data } = props ?? {};
|
|
1038
|
+
return changeCustomerCalendarStep(tenantId, eventId, data, requestOptions);
|
|
1039
|
+
};
|
|
1040
|
+
return {
|
|
1041
|
+
mutationFn,
|
|
1042
|
+
...mutationOptions
|
|
1043
|
+
};
|
|
1044
|
+
};
|
|
1045
|
+
/**
|
|
1046
|
+
* @summary Change Customer Calendar Step
|
|
1047
|
+
*/
|
|
1048
|
+
const useChangeCustomerCalendarStep = (options, queryClient) => {
|
|
1049
|
+
return useMutation(getChangeCustomerCalendarStepMutationOptions(options), queryClient);
|
|
1050
|
+
};
|
|
554
1051
|
const getConfigureCustomerHelpUrl = (tenantId) => {
|
|
555
1052
|
return `/admin/tenants/${tenantId}/customer-help`;
|
|
556
1053
|
};
|
|
@@ -766,6 +1263,6 @@ const useConfigureUniversePalette = (options, queryClient) => {
|
|
|
766
1263
|
return useMutation(getConfigureUniversePaletteMutationOptions(options), queryClient);
|
|
767
1264
|
};
|
|
768
1265
|
//#endregion
|
|
769
|
-
export { configureCustomerActivation, configureCustomerHelp, configureEditorPresentation, configurePackPresentation, configurePartnerPresentation, configureService, configureServiceCredential, configureUniversePalette, getConfigureCustomerActivationMutationKey, getConfigureCustomerActivationMutationOptions, getConfigureCustomerActivationUrl, getConfigureCustomerHelpMutationKey, getConfigureCustomerHelpMutationOptions, getConfigureCustomerHelpUrl, getConfigureEditorPresentationMutationKey, getConfigureEditorPresentationMutationOptions, getConfigureEditorPresentationUrl, getConfigurePackPresentationMutationKey, getConfigurePackPresentationMutationOptions, getConfigurePackPresentationUrl, getConfigurePartnerPresentationMutationKey, getConfigurePartnerPresentationMutationOptions, getConfigurePartnerPresentationUrl, getConfigureServiceCredentialMutationKey, getConfigureServiceCredentialMutationOptions, getConfigureServiceCredentialUrl, getConfigureServiceMutationKey, getConfigureServiceMutationOptions, getConfigureServiceUrl, getConfigureUniversePaletteMutationKey, getConfigureUniversePaletteMutationOptions, getConfigureUniversePaletteUrl, getListStaffCustomerRequestsQueryKey, getListStaffCustomerRequestsQueryOptions, getListStaffCustomerRequestsUrl, getListTenantsQueryKey, getListTenantsQueryOptions, getListTenantsUrl, getReadTenantQueryKey, getReadTenantQueryOptions, getReadTenantUrl, getSearchTenantsQueryKey, getSearchTenantsQueryOptions, getSearchTenantsUrl, getTenantDirectoryQueryKey, getTenantDirectoryQueryOptions, getTenantDirectoryUrl, getUpdateCustomerRequestMutationKey, getUpdateCustomerRequestMutationOptions, getUpdateCustomerRequestUrl, getUpdateTenantMutationKey, getUpdateTenantMutationOptions, getUpdateTenantUrl, listStaffCustomerRequests, listTenants, readTenant, searchTenants, tenantDirectory, updateCustomerRequest, updateTenant, useConfigureCustomerActivation, useConfigureCustomerHelp, useConfigureEditorPresentation, useConfigurePackPresentation, useConfigurePartnerPresentation, useConfigureService, useConfigureServiceCredential, useConfigureUniversePalette, useListStaffCustomerRequests, useListTenants, useReadTenant, useSearchTenants, useTenantDirectory, useUpdateCustomerRequest, useUpdateTenant };
|
|
1266
|
+
export { changeCustomerCalendarStep, configureCustomerActivation, configureCustomerHelp, configureEditorPresentation, configurePackPresentation, configurePartnerPresentation, configureService, configureServiceCredential, configureUniversePalette, createConsoleItem, createCustomerSegment, createCustomerSingleUseCodes, getChangeCustomerCalendarStepMutationKey, getChangeCustomerCalendarStepMutationOptions, getChangeCustomerCalendarStepUrl, getConfigureCustomerActivationMutationKey, getConfigureCustomerActivationMutationOptions, getConfigureCustomerActivationUrl, getConfigureCustomerHelpMutationKey, getConfigureCustomerHelpMutationOptions, getConfigureCustomerHelpUrl, getConfigureEditorPresentationMutationKey, getConfigureEditorPresentationMutationOptions, getConfigureEditorPresentationUrl, getConfigurePackPresentationMutationKey, getConfigurePackPresentationMutationOptions, getConfigurePackPresentationUrl, getConfigurePartnerPresentationMutationKey, getConfigurePartnerPresentationMutationOptions, getConfigurePartnerPresentationUrl, getConfigureServiceCredentialMutationKey, getConfigureServiceCredentialMutationOptions, getConfigureServiceCredentialUrl, getConfigureServiceMutationKey, getConfigureServiceMutationOptions, getConfigureServiceUrl, getConfigureUniversePaletteMutationKey, getConfigureUniversePaletteMutationOptions, getConfigureUniversePaletteUrl, getCreateConsoleItemMutationKey, getCreateConsoleItemMutationOptions, getCreateConsoleItemUrl, getCreateCustomerSegmentMutationKey, getCreateCustomerSegmentMutationOptions, getCreateCustomerSegmentUrl, getCreateCustomerSingleUseCodesMutationKey, getCreateCustomerSingleUseCodesMutationOptions, getCreateCustomerSingleUseCodesUrl, getListConsoleItemsQueryKey, getListConsoleItemsQueryOptions, getListConsoleItemsUrl, getListStaffCustomerRequestsQueryKey, getListStaffCustomerRequestsQueryOptions, getListStaffCustomerRequestsUrl, getListTenantsQueryKey, getListTenantsQueryOptions, getListTenantsUrl, getPlanCustomerCalendarStepMutationKey, getPlanCustomerCalendarStepMutationOptions, getPlanCustomerCalendarStepUrl, getReadTenantQueryKey, getReadTenantQueryOptions, getReadTenantUrl, getRemoveConsoleItemMutationKey, getRemoveConsoleItemMutationOptions, getRemoveConsoleItemUrl, getRemoveCustomerCalendarStepMutationKey, getRemoveCustomerCalendarStepMutationOptions, getRemoveCustomerCalendarStepUrl, getReplaceConsoleItemMutationKey, getReplaceConsoleItemMutationOptions, getReplaceConsoleItemUrl, getSearchTenantsQueryKey, getSearchTenantsQueryOptions, getSearchTenantsUrl, getTenantDirectoryQueryKey, getTenantDirectoryQueryOptions, getTenantDirectoryUrl, getUpdateCustomerRequestMutationKey, getUpdateCustomerRequestMutationOptions, getUpdateCustomerRequestUrl, getUpdateCustomerSegmentMutationKey, getUpdateCustomerSegmentMutationOptions, getUpdateCustomerSegmentUrl, getUpdateTenantMutationKey, getUpdateTenantMutationOptions, getUpdateTenantUrl, listConsoleItems, listStaffCustomerRequests, listTenants, planCustomerCalendarStep, readTenant, removeConsoleItem, removeCustomerCalendarStep, replaceConsoleItem, searchTenants, tenantDirectory, updateCustomerRequest, updateCustomerSegment, updateTenant, useChangeCustomerCalendarStep, useConfigureCustomerActivation, useConfigureCustomerHelp, useConfigureEditorPresentation, useConfigurePackPresentation, useConfigurePartnerPresentation, useConfigureService, useConfigureServiceCredential, useConfigureUniversePalette, useCreateConsoleItem, useCreateCustomerSegment, useCreateCustomerSingleUseCodes, useListConsoleItems, useListStaffCustomerRequests, useListTenants, usePlanCustomerCalendarStep, useReadTenant, useRemoveConsoleItem, useRemoveCustomerCalendarStep, useReplaceConsoleItem, useSearchTenants, useTenantDirectory, useUpdateCustomerRequest, useUpdateCustomerSegment, useUpdateTenant };
|
|
770
1267
|
|
|
771
1268
|
//# sourceMappingURL=admin-tenants.js.map
|