@in.pulse-crm/sdk 1.2.2 → 1.2.3
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/file.d.ts +1 -1
- package/package.json +1 -1
- package/src/file.ts +1 -1
package/dist/file.d.ts
CHANGED
|
@@ -86,7 +86,7 @@ declare class FileSDK {
|
|
|
86
86
|
* @param {number} id - ID do arquivo.
|
|
87
87
|
* @returns {string} URL de download do arquivo.
|
|
88
88
|
*/
|
|
89
|
-
getFileDownloadUrl(id: number):
|
|
89
|
+
getFileDownloadUrl(id: number): string;
|
|
90
90
|
/**
|
|
91
91
|
* Faz o upload de um arquivo.
|
|
92
92
|
* @param {UploadFileOptions} props - Opções para o upload do arquivo.
|
package/package.json
CHANGED
package/src/file.ts
CHANGED
|
@@ -111,7 +111,7 @@ class FileSDK {
|
|
|
111
111
|
* @param {number} id - ID do arquivo.
|
|
112
112
|
* @returns {string} URL de download do arquivo.
|
|
113
113
|
*/
|
|
114
|
-
public getFileDownloadUrl(id: number):
|
|
114
|
+
public getFileDownloadUrl(id: number): string {
|
|
115
115
|
return this.httpClient.defaults.baseURL + `/files/${id}`;
|
|
116
116
|
}
|
|
117
117
|
|