@deadair/sdk 0.67.1 → 0.68.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +11 -0
- package/dist/index.js.map +1 -1
- package/dist/settings/settings.client.d.ts +6 -1
- package/dist/settings/settings.client.d.ts.map +1 -1
- package/dist/settings/types/settings.types.d.ts +24 -0
- package/dist/settings/types/settings.types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4849,6 +4849,17 @@ var SettingsClient = class {
|
|
|
4849
4849
|
});
|
|
4850
4850
|
return await parseJson(result);
|
|
4851
4851
|
}
|
|
4852
|
+
/**
|
|
4853
|
+
* @name Preview invitation
|
|
4854
|
+
* @description Renders the invitation email as it would be sent now, in the station's saved wording, with sample values in place of a real link, inviter and date
|
|
4855
|
+
*/
|
|
4856
|
+
async previewInvitation(query) {
|
|
4857
|
+
const qs = buildQueryString(query);
|
|
4858
|
+
const result = await this.fetch(`/settings/mail/invitation/preview${qs}`, {
|
|
4859
|
+
method: "GET"
|
|
4860
|
+
});
|
|
4861
|
+
return await parseJson(result);
|
|
4862
|
+
}
|
|
4852
4863
|
};
|
|
4853
4864
|
|
|
4854
4865
|
// src/station/types/logs.types.ts
|