@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
|
@@ -13,6 +13,81 @@ const listCustomerTutorials = async (options) => {
|
|
|
13
13
|
method: "GET"
|
|
14
14
|
});
|
|
15
15
|
};
|
|
16
|
+
const getListCustomerSegmentsUrl = () => {
|
|
17
|
+
return `/admin/me/access-codes/segments`;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Segments of this administrator's site with their code, registrations and cap. Segments are created by Mozaik.
|
|
21
|
+
* @summary List Customer Segments
|
|
22
|
+
*/
|
|
23
|
+
const listCustomerSegments = async (options) => {
|
|
24
|
+
return request(getListCustomerSegmentsUrl(), {
|
|
25
|
+
...options,
|
|
26
|
+
method: "GET"
|
|
27
|
+
});
|
|
28
|
+
};
|
|
29
|
+
const getRenewCustomerSegmentUrl = (segmentId) => {
|
|
30
|
+
return `/admin/me/access-codes/segments/${segmentId}/renew`;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Rotate one segment's code, retaining its registrations, cap and validity.
|
|
34
|
+
* @summary Renew Customer Segment
|
|
35
|
+
*/
|
|
36
|
+
const renewCustomerSegment = async (segmentId, options) => {
|
|
37
|
+
return request(getRenewCustomerSegmentUrl(segmentId), {
|
|
38
|
+
...options,
|
|
39
|
+
method: "POST"
|
|
40
|
+
});
|
|
41
|
+
};
|
|
42
|
+
const getListCustomerSingleUseCodesUrl = (params) => {
|
|
43
|
+
const normalizedParams = new URLSearchParams();
|
|
44
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
45
|
+
if (value !== void 0) normalizedParams.append(key, value === null ? "null" : String(value));
|
|
46
|
+
});
|
|
47
|
+
const stringifiedParams = normalizedParams.toString();
|
|
48
|
+
return stringifiedParams.length > 0 ? `/admin/me/access-codes/single-use?${stringifiedParams}` : `/admin/me/access-codes/single-use`;
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* Single-use codes of this administrator's site, optionally in one state, with the total of each state.
|
|
52
|
+
* @summary List Customer Single Use Codes
|
|
53
|
+
*/
|
|
54
|
+
const listCustomerSingleUseCodes = async (params, options) => {
|
|
55
|
+
return request(getListCustomerSingleUseCodesUrl(params), {
|
|
56
|
+
...options,
|
|
57
|
+
method: "GET"
|
|
58
|
+
});
|
|
59
|
+
};
|
|
60
|
+
const getExportCustomerSingleUseCodesUrl = (params) => {
|
|
61
|
+
const normalizedParams = new URLSearchParams();
|
|
62
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
63
|
+
if (value !== void 0) normalizedParams.append(key, value === null ? "null" : String(value));
|
|
64
|
+
});
|
|
65
|
+
const stringifiedParams = normalizedParams.toString();
|
|
66
|
+
return stringifiedParams.length > 0 ? `/admin/me/access-codes/single-use/export?${stringifiedParams}` : `/admin/me/access-codes/single-use/export`;
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* Audited XLSX of the single-use codes in the same optional state as the list: code, state, date of use, validity.
|
|
70
|
+
* @summary Export Customer Single Use Codes
|
|
71
|
+
*/
|
|
72
|
+
const exportCustomerSingleUseCodes = async (params, options) => {
|
|
73
|
+
return request(getExportCustomerSingleUseCodesUrl(params), {
|
|
74
|
+
...options,
|
|
75
|
+
method: "GET"
|
|
76
|
+
});
|
|
77
|
+
};
|
|
78
|
+
const getDisableCustomerSingleUseCodeUrl = (codeId) => {
|
|
79
|
+
return `/admin/me/access-codes/single-use/${codeId}/disable`;
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* Withdraw an unused code. A used code stays used; repeating the call changes nothing.
|
|
83
|
+
* @summary Disable Customer Single Use Code
|
|
84
|
+
*/
|
|
85
|
+
const disableCustomerSingleUseCode = async (codeId, options) => {
|
|
86
|
+
return request(getDisableCustomerSingleUseCodeUrl(codeId), {
|
|
87
|
+
...options,
|
|
88
|
+
method: "POST"
|
|
89
|
+
});
|
|
90
|
+
};
|
|
16
91
|
const getReadCustomerActivationUrl = () => {
|
|
17
92
|
return `/admin/me/activation-code`;
|
|
18
93
|
};
|
|
@@ -209,6 +284,10 @@ const getReadBeneficiaryImportUrl = (importId) => {
|
|
|
209
284
|
return `/admin/me/beneficiaries/imports/${importId}`;
|
|
210
285
|
};
|
|
211
286
|
/**
|
|
287
|
+
* Progress and issues of an import this administrator created.
|
|
288
|
+
*
|
|
289
|
+
* Its author can always follow it: the report describes their own file, not
|
|
290
|
+
* the beneficiary directory.
|
|
212
291
|
* @summary Read Beneficiary Import
|
|
213
292
|
*/
|
|
214
293
|
const readBeneficiaryImport = async (importId, options) => {
|
|
@@ -217,19 +296,41 @@ const readBeneficiaryImport = async (importId, options) => {
|
|
|
217
296
|
method: "GET"
|
|
218
297
|
});
|
|
219
298
|
};
|
|
220
|
-
const getApplyBeneficiaryImportUrl = (importId) => {
|
|
221
|
-
|
|
299
|
+
const getApplyBeneficiaryImportUrl = (importId, params) => {
|
|
300
|
+
const normalizedParams = new URLSearchParams();
|
|
301
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
302
|
+
if (value !== void 0) normalizedParams.append(key, value === null ? "null" : String(value));
|
|
303
|
+
});
|
|
304
|
+
const stringifiedParams = normalizedParams.toString();
|
|
305
|
+
return stringifiedParams.length > 0 ? `/admin/me/beneficiaries/imports/${importId}/apply?${stringifiedParams}` : `/admin/me/beneficiaries/imports/${importId}/apply`;
|
|
222
306
|
};
|
|
223
307
|
/**
|
|
224
308
|
* Approve the saved preview. Background tasks apply 100 records per atomic batch; no emails or provider subscriptions are created by import.
|
|
309
|
+
*
|
|
310
|
+
* A preview with rejected rows is refused (409) unless `skipRejected` is
|
|
311
|
+
* true: the import is then applied without them, and they stay listed as
|
|
312
|
+
* skipped issues. A row the file names is never treated as absent.
|
|
225
313
|
* @summary Apply Beneficiary Import
|
|
226
314
|
*/
|
|
227
|
-
const applyBeneficiaryImport = async (importId, options) => {
|
|
228
|
-
return request(getApplyBeneficiaryImportUrl(importId), {
|
|
315
|
+
const applyBeneficiaryImport = async (importId, params, options) => {
|
|
316
|
+
return request(getApplyBeneficiaryImportUrl(importId, params), {
|
|
229
317
|
...options,
|
|
230
318
|
method: "POST"
|
|
231
319
|
});
|
|
232
320
|
};
|
|
321
|
+
const getDownloadRejectedImportRowsUrl = (importId) => {
|
|
322
|
+
return `/admin/me/beneficiaries/imports/${importId}/rejected`;
|
|
323
|
+
};
|
|
324
|
+
/**
|
|
325
|
+
* XLSX of every rejected row of the administrator's own import: source row, the address typed there and a coded reason.
|
|
326
|
+
* @summary Download Rejected Import Rows
|
|
327
|
+
*/
|
|
328
|
+
const downloadRejectedImportRows = async (importId, options) => {
|
|
329
|
+
return request(getDownloadRejectedImportRowsUrl(importId), {
|
|
330
|
+
...options,
|
|
331
|
+
method: "GET"
|
|
332
|
+
});
|
|
333
|
+
};
|
|
233
334
|
const getRetryBeneficiaryImportUrl = (importId) => {
|
|
234
335
|
return `/admin/me/beneficiaries/imports/${importId}/retry`;
|
|
235
336
|
};
|
|
@@ -243,6 +344,22 @@ const retryBeneficiaryImport = async (importId, options) => {
|
|
|
243
344
|
method: "POST"
|
|
244
345
|
});
|
|
245
346
|
};
|
|
347
|
+
const getReviewBeneficiaryImportUrl = (importId) => {
|
|
348
|
+
return `/admin/me/beneficiaries/imports/${importId}/review`;
|
|
349
|
+
};
|
|
350
|
+
/**
|
|
351
|
+
* Before approving: who a replace import would disable, and homonyms to check.
|
|
352
|
+
*
|
|
353
|
+
* Counts are whole; each list holds the first hundred. Both are empty once
|
|
354
|
+
* the import is applied, because its rows are not kept.
|
|
355
|
+
* @summary Review Beneficiary Import
|
|
356
|
+
*/
|
|
357
|
+
const reviewBeneficiaryImport = async (importId, options) => {
|
|
358
|
+
return request(getReviewBeneficiaryImportUrl(importId), {
|
|
359
|
+
...options,
|
|
360
|
+
method: "GET"
|
|
361
|
+
});
|
|
362
|
+
};
|
|
246
363
|
const getInviteBeneficiaryUrl = () => {
|
|
247
364
|
return `/admin/me/beneficiaries/invitations`;
|
|
248
365
|
};
|
|
@@ -376,6 +493,117 @@ const resendBeneficiaryInvitation = async (userId, options) => {
|
|
|
376
493
|
method: "POST"
|
|
377
494
|
});
|
|
378
495
|
};
|
|
496
|
+
const getListCustomerCalendarUrl = (params) => {
|
|
497
|
+
const normalizedParams = new URLSearchParams();
|
|
498
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
499
|
+
if (value !== void 0) normalizedParams.append(key, value === null ? "null" : String(value));
|
|
500
|
+
});
|
|
501
|
+
const stringifiedParams = normalizedParams.toString();
|
|
502
|
+
return stringifiedParams.length > 0 ? `/admin/me/calendar?${stringifiedParams}` : `/admin/me/calendar`;
|
|
503
|
+
};
|
|
504
|
+
/**
|
|
505
|
+
* The organisation's communication calendar for one year (the current one by default): the plan written by Mozaik and its own internal events.
|
|
506
|
+
* @summary List Customer Calendar
|
|
507
|
+
*/
|
|
508
|
+
const listCustomerCalendar = async (params, options) => {
|
|
509
|
+
return request(getListCustomerCalendarUrl(params), {
|
|
510
|
+
...options,
|
|
511
|
+
method: "GET"
|
|
512
|
+
});
|
|
513
|
+
};
|
|
514
|
+
const getAddCustomerCalendarEventUrl = () => {
|
|
515
|
+
return `/admin/me/calendar`;
|
|
516
|
+
};
|
|
517
|
+
/**
|
|
518
|
+
* A principal or a manager adds an internal event of the organisation.
|
|
519
|
+
* @summary Add Customer Calendar Event
|
|
520
|
+
*/
|
|
521
|
+
const addCustomerCalendarEvent = async (calendarEventWrite, options) => {
|
|
522
|
+
const getHeaders = (h) => {
|
|
523
|
+
if (!h) return {};
|
|
524
|
+
if (h instanceof Headers) return Object.fromEntries(h.entries());
|
|
525
|
+
if (Symbol.iterator in h) return Object.fromEntries(Array.from(h, (entry) => Array.from(entry)));
|
|
526
|
+
const headers = {};
|
|
527
|
+
for (const [name, value] of Object.entries(h)) if (value !== void 0) headers[name] = value;
|
|
528
|
+
return headers;
|
|
529
|
+
};
|
|
530
|
+
return request(getAddCustomerCalendarEventUrl(), {
|
|
531
|
+
...options,
|
|
532
|
+
method: "POST",
|
|
533
|
+
headers: {
|
|
534
|
+
"Content-Type": "application/json",
|
|
535
|
+
...getHeaders(options?.headers)
|
|
536
|
+
},
|
|
537
|
+
body: JSON.stringify(calendarEventWrite)
|
|
538
|
+
});
|
|
539
|
+
};
|
|
540
|
+
const getRemoveCustomerCalendarEventUrl = (eventId) => {
|
|
541
|
+
return `/admin/me/calendar/${eventId}`;
|
|
542
|
+
};
|
|
543
|
+
/**
|
|
544
|
+
* Withdraw an internal event of the organisation.
|
|
545
|
+
* @summary Remove Customer Calendar Event
|
|
546
|
+
*/
|
|
547
|
+
const removeCustomerCalendarEvent = async (eventId, options) => {
|
|
548
|
+
return request(getRemoveCustomerCalendarEventUrl(eventId), {
|
|
549
|
+
...options,
|
|
550
|
+
method: "DELETE"
|
|
551
|
+
});
|
|
552
|
+
};
|
|
553
|
+
const getChangeCustomerCalendarEventUrl = (eventId) => {
|
|
554
|
+
return `/admin/me/calendar/${eventId}`;
|
|
555
|
+
};
|
|
556
|
+
/**
|
|
557
|
+
* Change an internal event. Steps of the plan written by Mozaik are not the organisation's to change (404).
|
|
558
|
+
* @summary Change Customer Calendar Event
|
|
559
|
+
*/
|
|
560
|
+
const changeCustomerCalendarEvent = async (eventId, calendarEventWrite, options) => {
|
|
561
|
+
const getHeaders = (h) => {
|
|
562
|
+
if (!h) return {};
|
|
563
|
+
if (h instanceof Headers) return Object.fromEntries(h.entries());
|
|
564
|
+
if (Symbol.iterator in h) return Object.fromEntries(Array.from(h, (entry) => Array.from(entry)));
|
|
565
|
+
const headers = {};
|
|
566
|
+
for (const [name, value] of Object.entries(h)) if (value !== void 0) headers[name] = value;
|
|
567
|
+
return headers;
|
|
568
|
+
};
|
|
569
|
+
return request(getChangeCustomerCalendarEventUrl(eventId), {
|
|
570
|
+
...options,
|
|
571
|
+
method: "PUT",
|
|
572
|
+
headers: {
|
|
573
|
+
"Content-Type": "application/json",
|
|
574
|
+
...getHeaders(options?.headers)
|
|
575
|
+
},
|
|
576
|
+
body: JSON.stringify(calendarEventWrite)
|
|
577
|
+
});
|
|
578
|
+
};
|
|
579
|
+
const getListCustomerConsoleUrl = (params) => {
|
|
580
|
+
const normalizedParams = new URLSearchParams();
|
|
581
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
582
|
+
if (Array.isArray(value) && ["kind"].includes(key)) {
|
|
583
|
+
value.forEach((v) => {
|
|
584
|
+
normalizedParams.append(key, v === null ? "null" : String(v));
|
|
585
|
+
});
|
|
586
|
+
return;
|
|
587
|
+
}
|
|
588
|
+
});
|
|
589
|
+
const stringifiedParams = normalizedParams.toString();
|
|
590
|
+
return stringifiedParams.length > 0 ? `/admin/me/console?${stringifiedParams}` : `/admin/me/console`;
|
|
591
|
+
};
|
|
592
|
+
/**
|
|
593
|
+
* What Mozaik currently publishes to this organisation, soonest first.
|
|
594
|
+
*
|
|
595
|
+
* Webinars, events and news to come, the announcement banner, the
|
|
596
|
+
* communication kit and the paper supports that can be ordered. Items are
|
|
597
|
+
* chosen for the organisation's kind and phase and for today; a webinar or
|
|
598
|
+
* an event leaves the list once it has started.
|
|
599
|
+
* @summary List Customer Console
|
|
600
|
+
*/
|
|
601
|
+
const listCustomerConsole = async (params, options) => {
|
|
602
|
+
return request(getListCustomerConsoleUrl(params), {
|
|
603
|
+
...options,
|
|
604
|
+
method: "GET"
|
|
605
|
+
});
|
|
606
|
+
};
|
|
379
607
|
const getListCustomerContactsUrl = () => {
|
|
380
608
|
return `/admin/me/contacts`;
|
|
381
609
|
};
|
|
@@ -445,6 +673,140 @@ const readCustomerDashboard = async (params, options) => {
|
|
|
445
673
|
method: "GET"
|
|
446
674
|
});
|
|
447
675
|
};
|
|
676
|
+
const getReadCustomerFilmCreditsUrl = (params) => {
|
|
677
|
+
const normalizedParams = new URLSearchParams();
|
|
678
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
679
|
+
if (value !== void 0) normalizedParams.append(key, value === null ? "null" : String(value));
|
|
680
|
+
});
|
|
681
|
+
const stringifiedParams = normalizedParams.toString();
|
|
682
|
+
return stringifiedParams.length > 0 ? `/admin/me/film-credits?${stringifiedParams}` : `/admin/me/film-credits`;
|
|
683
|
+
};
|
|
684
|
+
/**
|
|
685
|
+
* Monthly film allowance of each beneficiary, and the bounds the offer leaves the organisation.
|
|
686
|
+
* @summary Read Customer Film Credits
|
|
687
|
+
*/
|
|
688
|
+
const readCustomerFilmCredits = async (params, options) => {
|
|
689
|
+
return request(getReadCustomerFilmCreditsUrl(params), {
|
|
690
|
+
...options,
|
|
691
|
+
method: "GET"
|
|
692
|
+
});
|
|
693
|
+
};
|
|
694
|
+
const getSetCustomerFilmCreditsUrl = (params) => {
|
|
695
|
+
const normalizedParams = new URLSearchParams();
|
|
696
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
697
|
+
if (value !== void 0) normalizedParams.append(key, value === null ? "null" : String(value));
|
|
698
|
+
});
|
|
699
|
+
const stringifiedParams = normalizedParams.toString();
|
|
700
|
+
return stringifiedParams.length > 0 ? `/admin/me/film-credits?${stringifiedParams}` : `/admin/me/film-credits`;
|
|
701
|
+
};
|
|
702
|
+
/**
|
|
703
|
+
* Principal-only choice of the monthly film allowance, within the offer's bounds.
|
|
704
|
+
*
|
|
705
|
+
* 409 when Mozaik set no bounds or no allowance for this customer; 422
|
|
706
|
+
* outside the bounds. It applies at once to every beneficiary without an
|
|
707
|
+
* individual allowance.
|
|
708
|
+
* @summary Set Customer Film Credits
|
|
709
|
+
*/
|
|
710
|
+
const setCustomerFilmCredits = async (customerFilmCreditsWrite, params, options) => {
|
|
711
|
+
const getHeaders = (h) => {
|
|
712
|
+
if (!h) return {};
|
|
713
|
+
if (h instanceof Headers) return Object.fromEntries(h.entries());
|
|
714
|
+
if (Symbol.iterator in h) return Object.fromEntries(Array.from(h, (entry) => Array.from(entry)));
|
|
715
|
+
const headers = {};
|
|
716
|
+
for (const [name, value] of Object.entries(h)) if (value !== void 0) headers[name] = value;
|
|
717
|
+
return headers;
|
|
718
|
+
};
|
|
719
|
+
return request(getSetCustomerFilmCreditsUrl(params), {
|
|
720
|
+
...options,
|
|
721
|
+
method: "PUT",
|
|
722
|
+
headers: {
|
|
723
|
+
"Content-Type": "application/json",
|
|
724
|
+
...getHeaders(options?.headers)
|
|
725
|
+
},
|
|
726
|
+
body: JSON.stringify(customerFilmCreditsWrite)
|
|
727
|
+
});
|
|
728
|
+
};
|
|
729
|
+
const getReadCustomerLaunchUrl = () => {
|
|
730
|
+
return `/admin/me/launch`;
|
|
731
|
+
};
|
|
732
|
+
/**
|
|
733
|
+
* Launch steps and their dates. The list step is the organisation's first applied import; the others are recorded by its account manager.
|
|
734
|
+
* @summary Read Customer Launch
|
|
735
|
+
*/
|
|
736
|
+
const readCustomerLaunch = async (options) => {
|
|
737
|
+
return request(getReadCustomerLaunchUrl(), {
|
|
738
|
+
...options,
|
|
739
|
+
method: "GET"
|
|
740
|
+
});
|
|
741
|
+
};
|
|
742
|
+
const getListCustomerMaterialOrdersUrl = (params) => {
|
|
743
|
+
const normalizedParams = new URLSearchParams();
|
|
744
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
745
|
+
if (value !== void 0) normalizedParams.append(key, value === null ? "null" : String(value));
|
|
746
|
+
});
|
|
747
|
+
const stringifiedParams = normalizedParams.toString();
|
|
748
|
+
return stringifiedParams.length > 0 ? `/admin/me/material-orders?${stringifiedParams}` : `/admin/me/material-orders`;
|
|
749
|
+
};
|
|
750
|
+
/**
|
|
751
|
+
* Paper orders of the organisation, latest first, whoever placed them.
|
|
752
|
+
* @summary List Customer Material Orders
|
|
753
|
+
*/
|
|
754
|
+
const listCustomerMaterialOrders = async (params, options) => {
|
|
755
|
+
return request(getListCustomerMaterialOrdersUrl(params), {
|
|
756
|
+
...options,
|
|
757
|
+
method: "GET"
|
|
758
|
+
});
|
|
759
|
+
};
|
|
760
|
+
const getOrderCustomerMaterialsUrl = () => {
|
|
761
|
+
return `/admin/me/material-orders`;
|
|
762
|
+
};
|
|
763
|
+
/**
|
|
764
|
+
* Order paper supports among those `GET /admin/me/console?kind=material` offers.
|
|
765
|
+
*
|
|
766
|
+
* The order is a request to Mozaik: its state and the reply telling when it
|
|
767
|
+
* was delivered follow the request states. Retry with the same key safely.
|
|
768
|
+
* @summary Order Customer Materials
|
|
769
|
+
*/
|
|
770
|
+
const orderCustomerMaterials = async (materialOrderWrite, options) => {
|
|
771
|
+
const getHeaders = (h) => {
|
|
772
|
+
if (!h) return {};
|
|
773
|
+
if (h instanceof Headers) return Object.fromEntries(h.entries());
|
|
774
|
+
if (Symbol.iterator in h) return Object.fromEntries(Array.from(h, (entry) => Array.from(entry)));
|
|
775
|
+
const headers = {};
|
|
776
|
+
for (const [name, value] of Object.entries(h)) if (value !== void 0) headers[name] = value;
|
|
777
|
+
return headers;
|
|
778
|
+
};
|
|
779
|
+
return request(getOrderCustomerMaterialsUrl(), {
|
|
780
|
+
...options,
|
|
781
|
+
method: "POST",
|
|
782
|
+
headers: {
|
|
783
|
+
"Content-Type": "application/json",
|
|
784
|
+
...getHeaders(options?.headers)
|
|
785
|
+
},
|
|
786
|
+
body: JSON.stringify(materialOrderWrite)
|
|
787
|
+
});
|
|
788
|
+
};
|
|
789
|
+
const getReadCustomerOfferUrl = (params) => {
|
|
790
|
+
const normalizedParams = new URLSearchParams();
|
|
791
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
792
|
+
if (value !== void 0) normalizedParams.append(key, value === null ? "null" : String(value));
|
|
793
|
+
});
|
|
794
|
+
const stringifiedParams = normalizedParams.toString();
|
|
795
|
+
return stringifiedParams.length > 0 ? `/admin/me/offer?${stringifiedParams}` : `/admin/me/offer`;
|
|
796
|
+
};
|
|
797
|
+
/**
|
|
798
|
+
* The offer's name and every catalogue pack, marked included when a current contract of the organisation grants it.
|
|
799
|
+
*
|
|
800
|
+
* Contracts and their dates are in `GET /admin/me/contracts`. A quote is
|
|
801
|
+
* asked through `POST /admin/me/requests`.
|
|
802
|
+
* @summary Read Customer Offer
|
|
803
|
+
*/
|
|
804
|
+
const readCustomerOffer = async (params, options) => {
|
|
805
|
+
return request(getReadCustomerOfferUrl(params), {
|
|
806
|
+
...options,
|
|
807
|
+
method: "GET"
|
|
808
|
+
});
|
|
809
|
+
};
|
|
448
810
|
const getReadCustomerOrganizationUrl = () => {
|
|
449
811
|
return `/admin/me/organisation`;
|
|
450
812
|
};
|
|
@@ -587,6 +949,35 @@ const readCustomerOrganizationOverview = async (params, options) => {
|
|
|
587
949
|
method: "GET"
|
|
588
950
|
});
|
|
589
951
|
};
|
|
952
|
+
const getRenameCustomerSiteUrl = (tenantId) => {
|
|
953
|
+
return `/admin/me/organisation/sites/${tenantId}`;
|
|
954
|
+
};
|
|
955
|
+
/**
|
|
956
|
+
* Principal-only name of one library of the network.
|
|
957
|
+
*
|
|
958
|
+
* The library-system identifier is set with Mozaik support, and a new
|
|
959
|
+
* library is opened by Mozaik: ask through `POST /admin/me/requests`.
|
|
960
|
+
* @summary Rename Customer Site
|
|
961
|
+
*/
|
|
962
|
+
const renameCustomerSite = async (tenantId, customerSiteUpdateWrite, options) => {
|
|
963
|
+
const getHeaders = (h) => {
|
|
964
|
+
if (!h) return {};
|
|
965
|
+
if (h instanceof Headers) return Object.fromEntries(h.entries());
|
|
966
|
+
if (Symbol.iterator in h) return Object.fromEntries(Array.from(h, (entry) => Array.from(entry)));
|
|
967
|
+
const headers = {};
|
|
968
|
+
for (const [name, value] of Object.entries(h)) if (value !== void 0) headers[name] = value;
|
|
969
|
+
return headers;
|
|
970
|
+
};
|
|
971
|
+
return request(getRenameCustomerSiteUrl(tenantId), {
|
|
972
|
+
...options,
|
|
973
|
+
method: "PATCH",
|
|
974
|
+
headers: {
|
|
975
|
+
"Content-Type": "application/json",
|
|
976
|
+
...getHeaders(options?.headers)
|
|
977
|
+
},
|
|
978
|
+
body: JSON.stringify(customerSiteUpdateWrite)
|
|
979
|
+
});
|
|
980
|
+
};
|
|
590
981
|
const getListCustomerRequestsUrl = (params) => {
|
|
591
982
|
const normalizedParams = new URLSearchParams();
|
|
592
983
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -631,6 +1022,80 @@ const createCustomerRequest = async (customerRequestWrite, options) => {
|
|
|
631
1022
|
body: JSON.stringify(customerRequestWrite)
|
|
632
1023
|
});
|
|
633
1024
|
};
|
|
1025
|
+
const getQueryCustomerStatisticsUrl = () => {
|
|
1026
|
+
return `/admin/me/statistics`;
|
|
1027
|
+
};
|
|
1028
|
+
/**
|
|
1029
|
+
* Aggregate usage of the administrator's organisation, from a typed query.
|
|
1030
|
+
*
|
|
1031
|
+
* The organisation and its sites come from the administrator's grant and
|
|
1032
|
+
* statistics must be enabled for the customer. `site` only narrows. A title
|
|
1033
|
+
* or a publication is listed only once `audienceFloor` distinct identified
|
|
1034
|
+
* readers opened it, before any ranking or page.
|
|
1035
|
+
* @summary Query Customer Statistics
|
|
1036
|
+
*/
|
|
1037
|
+
const queryCustomerStatistics = async (customerStatsQuery, options) => {
|
|
1038
|
+
const getHeaders = (h) => {
|
|
1039
|
+
if (!h) return {};
|
|
1040
|
+
if (h instanceof Headers) return Object.fromEntries(h.entries());
|
|
1041
|
+
if (Symbol.iterator in h) return Object.fromEntries(Array.from(h, (entry) => Array.from(entry)));
|
|
1042
|
+
const headers = {};
|
|
1043
|
+
for (const [name, value] of Object.entries(h)) if (value !== void 0) headers[name] = value;
|
|
1044
|
+
return headers;
|
|
1045
|
+
};
|
|
1046
|
+
return request(getQueryCustomerStatisticsUrl(), {
|
|
1047
|
+
...options,
|
|
1048
|
+
method: "POST",
|
|
1049
|
+
headers: {
|
|
1050
|
+
"Content-Type": "application/json",
|
|
1051
|
+
...getHeaders(options?.headers)
|
|
1052
|
+
},
|
|
1053
|
+
body: JSON.stringify(customerStatsQuery)
|
|
1054
|
+
});
|
|
1055
|
+
};
|
|
1056
|
+
const getExportCustomerStatisticsUrl = (params) => {
|
|
1057
|
+
const normalizedParams = new URLSearchParams();
|
|
1058
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
1059
|
+
if (value !== void 0) normalizedParams.append(key, value === null ? "null" : String(value));
|
|
1060
|
+
});
|
|
1061
|
+
const stringifiedParams = normalizedParams.toString();
|
|
1062
|
+
return stringifiedParams.length > 0 ? `/admin/me/statistics/export?${stringifiedParams}` : `/admin/me/statistics/export`;
|
|
1063
|
+
};
|
|
1064
|
+
/**
|
|
1065
|
+
* XLSX of the organisation's usage over an inclusive Europe/Paris date range.
|
|
1066
|
+
*
|
|
1067
|
+
* One sheet of aggregates (block, measure, group, value): totals, months,
|
|
1068
|
+
* universes, packs, sites and the hundred most opened titles. It holds no
|
|
1069
|
+
* row about a person, and titles follow the same audience floor as the query.
|
|
1070
|
+
* @summary Export Customer Statistics
|
|
1071
|
+
*/
|
|
1072
|
+
const exportCustomerStatistics = async (params, options) => {
|
|
1073
|
+
return request(getExportCustomerStatisticsUrl(params), {
|
|
1074
|
+
...options,
|
|
1075
|
+
method: "GET"
|
|
1076
|
+
});
|
|
1077
|
+
};
|
|
1078
|
+
const getDownloadCustomerStatisticsReportUrl = (params) => {
|
|
1079
|
+
const normalizedParams = new URLSearchParams();
|
|
1080
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
1081
|
+
if (value !== void 0) normalizedParams.append(key, value === null ? "null" : String(value));
|
|
1082
|
+
});
|
|
1083
|
+
const stringifiedParams = normalizedParams.toString();
|
|
1084
|
+
return stringifiedParams.length > 0 ? `/admin/me/statistics/report?${stringifiedParams}` : `/admin/me/statistics/report`;
|
|
1085
|
+
};
|
|
1086
|
+
/**
|
|
1087
|
+
* PDF usage report over an inclusive Europe/Paris date range, a quarter for instance.
|
|
1088
|
+
*
|
|
1089
|
+
* The same aggregates as the export, one table per block: totals, months,
|
|
1090
|
+
* universes, packs, sites and the most opened titles.
|
|
1091
|
+
* @summary Download Customer Statistics Report
|
|
1092
|
+
*/
|
|
1093
|
+
const downloadCustomerStatisticsReport = async (params, options) => {
|
|
1094
|
+
return request(getDownloadCustomerStatisticsReportUrl(params), {
|
|
1095
|
+
...options,
|
|
1096
|
+
method: "GET"
|
|
1097
|
+
});
|
|
1098
|
+
};
|
|
634
1099
|
const getListCustomerAdministratorsUrl = () => {
|
|
635
1100
|
return `/admin/organisation/admins`;
|
|
636
1101
|
};
|
|
@@ -786,6 +1251,6 @@ const configureCustomerAdministration = async (tenantId, customerSettingsWrite,
|
|
|
786
1251
|
});
|
|
787
1252
|
};
|
|
788
1253
|
//#endregion
|
|
789
|
-
export { acceptCustomerAdminInvitation, applyBeneficiaryImport, approveBeneficiary, configureCustomerAdministration, configureCustomerDomains, correctBeneficiaryInvitation, createCustomerRequest, downloadBeneficiaryImportTemplate, exportBeneficiaries, exportCustomerAudit, getAcceptCustomerAdminInvitationUrl, getApplyBeneficiaryImportUrl, getApproveBeneficiaryUrl, getConfigureCustomerAdministrationUrl, getConfigureCustomerDomainsUrl, getCorrectBeneficiaryInvitationUrl, getCreateCustomerRequestUrl, getDownloadBeneficiaryImportTemplateUrl, getExportBeneficiariesUrl, getExportCustomerAuditUrl, getInviteBeneficiaryUrl, getInviteCustomerAdministratorUrl, getInviteFirstCustomerAdministratorUrl, getListBeneficiaryImportsUrl, getListBeneficiaryPackChoicesUrl, getListCustomerAdministratorsUrl, getListCustomerAuditUrl, getListCustomerBeneficiariesUrl, getListCustomerContactsUrl, getListCustomerContractsUrl, getListCustomerRequestsUrl, getListCustomerTutorialsUrl, getPreviewBeneficiaryFileUrl, getPreviewBeneficiaryRowsUrl, getReadBeneficiaryImportUrl, getReadCustomerActivationUrl, getReadCustomerContractUsageUrl, getReadCustomerDashboardUrl, getReadCustomerOrganizationOverviewUrl, getReadCustomerOrganizationUrl, getReadOrganizationContactsUrl, getRenewCustomerActivationUrl, getResendBeneficiaryInvitationUrl, getRetryBeneficiaryImportUrl, getRevokeBeneficiaryInvitationUrl, getRevokeCustomerAdministratorInvitationUrl, getRevokeCustomerAdministratorUrl, getUpdateBeneficiariesBulkUrl, getUpdateBeneficiaryUrl, getUpdateCustomerAdministratorUrl, getUpdateCustomerOrganizationUrl, getUpdateOrganizationContactsUrl, getUploadOrganizationLogoUrl, inviteBeneficiary, inviteCustomerAdministrator, inviteFirstCustomerAdministrator, listBeneficiaryImports, listBeneficiaryPackChoices, listCustomerAdministrators, listCustomerAudit, listCustomerBeneficiaries, listCustomerContacts, listCustomerContracts, listCustomerRequests, listCustomerTutorials, previewBeneficiaryFile, previewBeneficiaryRows, readBeneficiaryImport, readCustomerActivation, readCustomerContractUsage, readCustomerDashboard, readCustomerOrganization, readCustomerOrganizationOverview, readOrganizationContacts, renewCustomerActivation, resendBeneficiaryInvitation, retryBeneficiaryImport, revokeBeneficiaryInvitation, revokeCustomerAdministrator, revokeCustomerAdministratorInvitation, updateBeneficiariesBulk, updateBeneficiary, updateCustomerAdministrator, updateCustomerOrganization, updateOrganizationContacts, uploadOrganizationLogo };
|
|
1254
|
+
export { acceptCustomerAdminInvitation, addCustomerCalendarEvent, applyBeneficiaryImport, approveBeneficiary, changeCustomerCalendarEvent, configureCustomerAdministration, configureCustomerDomains, correctBeneficiaryInvitation, createCustomerRequest, disableCustomerSingleUseCode, downloadBeneficiaryImportTemplate, downloadCustomerStatisticsReport, downloadRejectedImportRows, exportBeneficiaries, exportCustomerAudit, exportCustomerSingleUseCodes, exportCustomerStatistics, getAcceptCustomerAdminInvitationUrl, getAddCustomerCalendarEventUrl, getApplyBeneficiaryImportUrl, getApproveBeneficiaryUrl, getChangeCustomerCalendarEventUrl, getConfigureCustomerAdministrationUrl, getConfigureCustomerDomainsUrl, getCorrectBeneficiaryInvitationUrl, getCreateCustomerRequestUrl, getDisableCustomerSingleUseCodeUrl, getDownloadBeneficiaryImportTemplateUrl, getDownloadCustomerStatisticsReportUrl, getDownloadRejectedImportRowsUrl, getExportBeneficiariesUrl, getExportCustomerAuditUrl, getExportCustomerSingleUseCodesUrl, getExportCustomerStatisticsUrl, getInviteBeneficiaryUrl, getInviteCustomerAdministratorUrl, getInviteFirstCustomerAdministratorUrl, getListBeneficiaryImportsUrl, getListBeneficiaryPackChoicesUrl, getListCustomerAdministratorsUrl, getListCustomerAuditUrl, getListCustomerBeneficiariesUrl, getListCustomerCalendarUrl, getListCustomerConsoleUrl, getListCustomerContactsUrl, getListCustomerContractsUrl, getListCustomerMaterialOrdersUrl, getListCustomerRequestsUrl, getListCustomerSegmentsUrl, getListCustomerSingleUseCodesUrl, getListCustomerTutorialsUrl, getOrderCustomerMaterialsUrl, getPreviewBeneficiaryFileUrl, getPreviewBeneficiaryRowsUrl, getQueryCustomerStatisticsUrl, getReadBeneficiaryImportUrl, getReadCustomerActivationUrl, getReadCustomerContractUsageUrl, getReadCustomerDashboardUrl, getReadCustomerFilmCreditsUrl, getReadCustomerLaunchUrl, getReadCustomerOfferUrl, getReadCustomerOrganizationOverviewUrl, getReadCustomerOrganizationUrl, getReadOrganizationContactsUrl, getRemoveCustomerCalendarEventUrl, getRenameCustomerSiteUrl, getRenewCustomerActivationUrl, getRenewCustomerSegmentUrl, getResendBeneficiaryInvitationUrl, getRetryBeneficiaryImportUrl, getReviewBeneficiaryImportUrl, getRevokeBeneficiaryInvitationUrl, getRevokeCustomerAdministratorInvitationUrl, getRevokeCustomerAdministratorUrl, getSetCustomerFilmCreditsUrl, getUpdateBeneficiariesBulkUrl, getUpdateBeneficiaryUrl, getUpdateCustomerAdministratorUrl, getUpdateCustomerOrganizationUrl, getUpdateOrganizationContactsUrl, getUploadOrganizationLogoUrl, inviteBeneficiary, inviteCustomerAdministrator, inviteFirstCustomerAdministrator, listBeneficiaryImports, listBeneficiaryPackChoices, listCustomerAdministrators, listCustomerAudit, listCustomerBeneficiaries, listCustomerCalendar, listCustomerConsole, listCustomerContacts, listCustomerContracts, listCustomerMaterialOrders, listCustomerRequests, listCustomerSegments, listCustomerSingleUseCodes, listCustomerTutorials, orderCustomerMaterials, previewBeneficiaryFile, previewBeneficiaryRows, queryCustomerStatistics, readBeneficiaryImport, readCustomerActivation, readCustomerContractUsage, readCustomerDashboard, readCustomerFilmCredits, readCustomerLaunch, readCustomerOffer, readCustomerOrganization, readCustomerOrganizationOverview, readOrganizationContacts, removeCustomerCalendarEvent, renameCustomerSite, renewCustomerActivation, renewCustomerSegment, resendBeneficiaryInvitation, retryBeneficiaryImport, reviewBeneficiaryImport, revokeBeneficiaryInvitation, revokeCustomerAdministrator, revokeCustomerAdministratorInvitation, setCustomerFilmCredits, updateBeneficiariesBulk, updateBeneficiary, updateCustomerAdministrator, updateCustomerOrganization, updateOrganizationContacts, uploadOrganizationLogo };
|
|
790
1255
|
|
|
791
1256
|
//# sourceMappingURL=admin-customer.js.map
|