@cellaware/utils 8.5.9 → 8.5.10

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.
@@ -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>;
@@ -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>;
@@ -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;
@@ -42,6 +42,7 @@ export function initReportSchedule() {
42
42
  additionalEmails: [],
43
43
  // subscriptions: [],
44
44
  excel: false,
45
+ parameterValues: [],
45
46
  clientId: '',
46
47
  userId: '',
47
48
  userDetails: ''
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cellaware/utils",
3
- "version": "8.5.9",
3
+ "version": "8.5.10",
4
4
  "description": "Cellaware Utilities for Node.js",
5
5
  "author": "Cellaware Technologies",
6
6
  "type": "module",