@nomalism-com/api 0.51.16 → 0.51.17
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.cjs
CHANGED
|
@@ -974,6 +974,13 @@ var Repository21 = class {
|
|
|
974
974
|
}
|
|
975
975
|
);
|
|
976
976
|
}
|
|
977
|
+
async setPublic(data) {
|
|
978
|
+
const response = await this.api.post(
|
|
979
|
+
`${this.route}public`,
|
|
980
|
+
data
|
|
981
|
+
);
|
|
982
|
+
return response.data;
|
|
983
|
+
}
|
|
977
984
|
};
|
|
978
985
|
|
|
979
986
|
// src/modules/integration/emailLog.ts
|
package/dist/index.js
CHANGED
|
@@ -941,6 +941,13 @@ var Repository21 = class {
|
|
|
941
941
|
}
|
|
942
942
|
);
|
|
943
943
|
}
|
|
944
|
+
async setPublic(data) {
|
|
945
|
+
const response = await this.api.post(
|
|
946
|
+
`${this.route}public`,
|
|
947
|
+
data
|
|
948
|
+
);
|
|
949
|
+
return response.data;
|
|
950
|
+
}
|
|
944
951
|
};
|
|
945
952
|
|
|
946
953
|
// src/modules/integration/emailLog.ts
|
|
@@ -8,4 +8,5 @@ export default class Repository implements Nomalism.Multimedia.IApi {
|
|
|
8
8
|
getUrl(multimediaId: string, { download }?: Nomalism.Multimedia.IFindByIdRequest): string;
|
|
9
9
|
create(multipartFormData: unknown, headers?: RawAxiosRequestHeaders): Promise<Nomalism.Multimedia.Entity>;
|
|
10
10
|
update(id: string, multipartFormData: unknown, headers?: RawAxiosRequestHeaders): Promise<void>;
|
|
11
|
+
setPublic(data: Nomalism.Multimedia.ISetPublicRequest): Promise<Nomalism.Multimedia.ISetPublicResponse>;
|
|
11
12
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nomalism-com/api",
|
|
3
3
|
"description": "A nomalism API package for performing HTTP requests on API endpoints",
|
|
4
|
-
"version": "0.51.
|
|
4
|
+
"version": "0.51.17",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"prepare": "husky"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@nomalism-com/types": "^0.51.
|
|
33
|
+
"@nomalism-com/types": "^0.51.17",
|
|
34
34
|
"axios": "^1.21.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|