@cellaware/utils 8.5.9 → 8.6.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/README.md
CHANGED
|
@@ -30,6 +30,10 @@ Connection string of Azure Storage account.
|
|
|
30
30
|
|
|
31
31
|
Connection string of Azure Communication Services account.
|
|
32
32
|
|
|
33
|
+
## BROWSERLESS_TOKEN
|
|
34
|
+
|
|
35
|
+
Browserless.io API key that ChatWMS instance will use.
|
|
36
|
+
|
|
33
37
|
### WEBSITE_SLOT_NAME
|
|
34
38
|
|
|
35
39
|
Slot name for Azure deployment slot.
|
package/dist/azure/storage.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare function storageContainerCreate(containerClientId: string): Promise<void>;
|
|
2
2
|
export declare function storageBlobUpload(containerClientId: string, blobId: string, data: any): Promise<void>;
|
|
3
3
|
export declare function storageBlobDelete(containerClientId: string, blobId: string): Promise<void>;
|
|
4
|
-
export declare function storageBlobDownload(containerClientId: string, blobId: string): Promise<any
|
|
4
|
+
export declare function storageBlobDownload(containerClientId: string, blobId: string): Promise<any>;
|
package/dist/azure/storage.js
CHANGED
|
@@ -46,7 +46,7 @@ export async function storageBlobDelete(containerClientId, blobId) {
|
|
|
46
46
|
export async function storageBlobDownload(containerClientId, blobId) {
|
|
47
47
|
if (!process.env.STORAGE_CONNECTION_STRING) {
|
|
48
48
|
console.log(`STORAGE: No connection string set`);
|
|
49
|
-
return
|
|
49
|
+
return undefined;
|
|
50
50
|
}
|
|
51
51
|
try {
|
|
52
52
|
const blobServiceClient = BlobServiceClient.fromConnectionString(process.env.STORAGE_CONNECTION_STRING ?? '');
|
|
@@ -63,5 +63,5 @@ export async function storageBlobDownload(containerClientId, blobId) {
|
|
|
63
63
|
catch (err) {
|
|
64
64
|
console.log(`STORAGE: BLOB download error: ${err.message}`);
|
|
65
65
|
}
|
|
66
|
-
return
|
|
66
|
+
return undefined;
|
|
67
67
|
}
|
|
@@ -2,4 +2,4 @@ export declare function chatwmsStorageGetBlobId(clientId: string, blobName: stri
|
|
|
2
2
|
export declare function chatwmsStorageContainerCreate(): Promise<void>;
|
|
3
3
|
export declare function chatwmsStorageBlobUpload(blobId: string, data: any): Promise<void>;
|
|
4
4
|
export declare function chatwmsStorageBlobDelete(blobId: string): Promise<void>;
|
|
5
|
-
export declare function chatwmsStorageBlobDownload(blobId: string): Promise<any
|
|
5
|
+
export declare function chatwmsStorageBlobDownload(blobId: string): Promise<any>;
|
package/dist/chatwms/report.d.ts
CHANGED
|
@@ -96,6 +96,7 @@ export interface ReportSchedule {
|
|
|
96
96
|
email?: boolean;
|
|
97
97
|
additionalEmails?: string[];
|
|
98
98
|
excel?: boolean;
|
|
99
|
+
parameterValues?: ReportParameterValue[];
|
|
99
100
|
clientId: string;
|
|
100
101
|
userId: string;
|
|
101
102
|
userDetails: string;
|
|
@@ -106,4 +107,5 @@ export interface InstanceReportSchedule {
|
|
|
106
107
|
popups: Set<string>;
|
|
107
108
|
emails: Set<string>;
|
|
108
109
|
excel: boolean;
|
|
110
|
+
parameterValues: ReportParameterValue[];
|
|
109
111
|
}
|
package/dist/chatwms/report.js
CHANGED