@pitcher/js-api 1.21.0-beta.12 → 1.21.0-beta.13
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/js-api.esm.js +4 -3
- package/js-api.esm.js.map +1 -1
- package/js-api.umd.min.js +1 -1
- package/js-api.umd.min.js.map +1 -1
- package/lib/main.lib.d.ts +1 -0
- package/lib/sdk/api/HighLevelApi.d.ts +2 -1
- package/lib/sdk/api/modules/admin/types.admin.d.ts +1 -1
- package/lib/sdk/api/modules/files.d.ts +2 -1
- package/lib/sdk/main.d.ts +6 -3
- package/package.json +1 -1
package/js-api.esm.js
CHANGED
|
@@ -2448,7 +2448,8 @@ function getAppConfig$1(payload) {
|
|
|
2448
2448
|
return this.API.request("get_app_config", payload);
|
|
2449
2449
|
}
|
|
2450
2450
|
function getFile$1(payload) {
|
|
2451
|
-
|
|
2451
|
+
const { id, file_id } = payload;
|
|
2452
|
+
return this.API.request("get_file", { file_id: id || file_id });
|
|
2452
2453
|
}
|
|
2453
2454
|
function updateFile(payload) {
|
|
2454
2455
|
return this.API.request("update_file", payload);
|
|
@@ -3423,10 +3424,10 @@ const ADMIN_API_METHOD_TYPES = {
|
|
|
3423
3424
|
GET_ENV: "admin_get_env",
|
|
3424
3425
|
GET_FILE: "admin_get_file",
|
|
3425
3426
|
GET_FILES: "admin_get_files",
|
|
3426
|
-
SELECT_CONTENT: "admin_select_content",
|
|
3427
3427
|
GET_INSTANCE_METADATA_TEMPLATES: "admin_get_instance_metadata_templates",
|
|
3428
3428
|
TOAST: "admin_toast",
|
|
3429
|
-
UPDATE_CANVAS: "admin_update_canvas"
|
|
3429
|
+
UPDATE_CANVAS: "admin_update_canvas",
|
|
3430
|
+
SELECT_CONTENT: "admin_select_content"
|
|
3430
3431
|
};
|
|
3431
3432
|
|
|
3432
3433
|
async function getEnv$1() {
|