@memberjunction/core-actions 3.1.1 → 3.3.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.
Files changed (46) hide show
  1. package/dist/custom/files/base-file-storage.action.d.ts +18 -9
  2. package/dist/custom/files/base-file-storage.action.d.ts.map +1 -1
  3. package/dist/custom/files/base-file-storage.action.js +46 -20
  4. package/dist/custom/files/base-file-storage.action.js.map +1 -1
  5. package/dist/custom/files/copy-object.action.d.ts +2 -2
  6. package/dist/custom/files/copy-object.action.js +2 -2
  7. package/dist/custom/files/create-directory.action.d.ts +2 -2
  8. package/dist/custom/files/create-directory.action.js +2 -2
  9. package/dist/custom/files/delete-directory.action.d.ts +2 -2
  10. package/dist/custom/files/delete-directory.action.js +2 -2
  11. package/dist/custom/files/delete-object.action.d.ts +2 -2
  12. package/dist/custom/files/delete-object.action.js +2 -2
  13. package/dist/custom/files/directory-exists.action.d.ts +2 -2
  14. package/dist/custom/files/directory-exists.action.js +2 -2
  15. package/dist/custom/files/get-download-url.action.d.ts +2 -2
  16. package/dist/custom/files/get-download-url.action.js +2 -2
  17. package/dist/custom/files/get-file-content.action.d.ts +3 -3
  18. package/dist/custom/files/get-file-content.action.js +3 -3
  19. package/dist/custom/files/get-metadata.action.d.ts +2 -2
  20. package/dist/custom/files/get-metadata.action.js +2 -2
  21. package/dist/custom/files/get-object.action.d.ts +2 -2
  22. package/dist/custom/files/get-object.action.js +2 -2
  23. package/dist/custom/files/get-upload-url.action.d.ts +2 -2
  24. package/dist/custom/files/get-upload-url.action.js +2 -2
  25. package/dist/custom/files/index.d.ts +1 -1
  26. package/dist/custom/files/index.d.ts.map +1 -1
  27. package/dist/custom/files/index.js +2 -2
  28. package/dist/custom/files/index.js.map +1 -1
  29. package/dist/custom/files/list-objects.action.d.ts +7 -13
  30. package/dist/custom/files/list-objects.action.d.ts.map +1 -1
  31. package/dist/custom/files/list-objects.action.js +7 -13
  32. package/dist/custom/files/list-objects.action.js.map +1 -1
  33. package/dist/custom/files/list-storage-providers.action.d.ts +12 -21
  34. package/dist/custom/files/list-storage-providers.action.d.ts.map +1 -1
  35. package/dist/custom/files/list-storage-providers.action.js +73 -119
  36. package/dist/custom/files/list-storage-providers.action.js.map +1 -1
  37. package/dist/custom/files/move-object.action.d.ts +2 -2
  38. package/dist/custom/files/move-object.action.js +2 -2
  39. package/dist/custom/files/object-exists.action.d.ts +2 -2
  40. package/dist/custom/files/object-exists.action.js +2 -2
  41. package/dist/custom/files/search-storage-files.action.d.ts +2 -2
  42. package/dist/custom/files/search-storage-files.action.js +3 -3
  43. package/dist/custom/files/search-storage-files.action.js.map +1 -1
  44. package/dist/index.js +1 -1
  45. package/dist/index.js.map +1 -1
  46. package/package.json +27 -27
@@ -1,7 +1,7 @@
1
1
  import { ActionResultSimple, RunActionParams } from "@memberjunction/actions-base";
2
2
  import { BaseAction } from "@memberjunction/actions";
3
3
  import { UserInfo } from "@memberjunction/core";
4
- import { FileStorageProviderEntity } from "@memberjunction/core-entities";
4
+ import { FileStorageAccountEntity, FileStorageProviderEntity } from "@memberjunction/core-entities";
5
5
  import { FileStorageBase } from "@memberjunction/storage";
6
6
  /**
7
7
  * Abstract base class for file storage operations.
@@ -13,21 +13,30 @@ import { FileStorageBase } from "@memberjunction/storage";
13
13
  */
14
14
  export declare abstract class BaseFileStorageAction extends BaseAction {
15
15
  /**
16
- * Get storage provider entity by name
17
- * @param providerName - Name of the storage provider
16
+ * Get storage account entity by name
17
+ * @param accountName - Name of the storage account
18
+ * @param contextUser - User context for the operation
19
+ * @returns FileStorageAccountEntity or null if not found
20
+ */
21
+ protected getStorageAccount(accountName: string, contextUser: UserInfo): Promise<FileStorageAccountEntity | null>;
22
+ /**
23
+ * Get storage provider entity by ID
24
+ * @param providerId - ID of the storage provider
18
25
  * @param contextUser - User context for the operation
19
26
  * @returns FileStorageProviderEntity or null if not found
20
27
  */
21
- protected getStorageProvider(providerName: string, contextUser: UserInfo): Promise<FileStorageProviderEntity | null>;
28
+ protected getStorageProviderById(providerId: string, contextUser: UserInfo): Promise<FileStorageProviderEntity | null>;
22
29
  /**
23
- * Initialize storage driver from provider entity
24
- * @param provider - FileStorageProviderEntity to initialize
30
+ * Initialize storage driver using the enterprise credential model
31
+ * @param accountEntity - FileStorageAccountEntity to initialize
32
+ * @param providerEntity - FileStorageProviderEntity for the account
33
+ * @param contextUser - User context for credential access
25
34
  * @returns Initialized FileStorageBase driver
26
35
  */
27
- protected initializeDriver(provider: FileStorageProviderEntity): Promise<FileStorageBase>;
36
+ protected initializeDriver(accountEntity: FileStorageAccountEntity, providerEntity: FileStorageProviderEntity, contextUser: UserInfo): Promise<FileStorageBase>;
28
37
  /**
29
- * Get storage provider and initialize driver in one step
30
- * @param params - Action parameters containing StorageProvider
38
+ * Get storage account and initialize driver in one step using enterprise model
39
+ * @param params - Action parameters containing StorageAccount
31
40
  * @returns Initialized driver and result if error occurred
32
41
  */
33
42
  protected getDriverFromParams(params: RunActionParams): Promise<{
@@ -1 +1 @@
1
- {"version":3,"file":"base-file-storage.action.d.ts","sourceRoot":"","sources":["../../../src/custom/files/base-file-storage.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AACnF,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAW,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAC1E,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAG1D;;;;;;;GAOG;AACH,8BAAsB,qBAAsB,SAAQ,UAAU;IAE1D;;;;;OAKG;cACa,kBAAkB,CAAC,YAAY,EAAE,MAAM,EAAE,WAAW,EAAE,QAAQ,GAAG,OAAO,CAAC,yBAAyB,GAAG,IAAI,CAAC;IAe1H;;;;OAIG;cACa,gBAAgB,CAAC,QAAQ,EAAE,yBAAyB,GA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,EAAE,MAAM,GAAG,kBAAkB;IAQ9E;;OAEG;IACH,SAAS,CAAC,aAAa,CAAC,MAAM,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;IAKvF;;OAEG;IACH,SAAS,CAAC,cAAc,CAAC,MAAM,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;IAMxF;;OAEG;IACH,SAAS,CAAC,yBAAyB,CAAC,MAAM,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,GAAG,MAAM;IAI7G;;OAEG;IACH,SAAS,CAAC,eAAe,CAAC,MAAM,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,EAAE,YAAY,GAAE,OAAe,GAAG,OAAO;IAM7G;;OAEG;IACH,SAAS,CAAC,eAAe,CAAC,MAAM,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,EAAE,YAAY,GAAE,MAAU,GAAG,MAAM;CAM1G"}
@@ -4,7 +4,6 @@ exports.BaseFileStorageAction = void 0;
4
4
  const actions_1 = require("@memberjunction/actions");
5
5
  const core_1 = require("@memberjunction/core");
6
6
  const storage_1 = require("@memberjunction/storage");
7
- const global_1 = require("@memberjunction/global");
8
7
  /**
9
8
  * Abstract base class for file storage operations.
10
9
  * Provides shared functionality for all file storage action implementations:
@@ -15,16 +14,34 @@ const global_1 = require("@memberjunction/global");
15
14
  */
16
15
  class BaseFileStorageAction extends actions_1.BaseAction {
17
16
  /**
18
- * Get storage provider entity by name
19
- * @param providerName - Name of the storage provider
17
+ * Get storage account entity by name
18
+ * @param accountName - Name of the storage account
19
+ * @param contextUser - User context for the operation
20
+ * @returns FileStorageAccountEntity or null if not found
21
+ */
22
+ async getStorageAccount(accountName, contextUser) {
23
+ const rv = new core_1.RunView();
24
+ const result = await rv.RunView({
25
+ EntityName: 'MJ: File Storage Accounts',
26
+ ExtraFilter: `Name='${accountName.replace(/'/g, "''")}'`,
27
+ ResultType: 'entity_object'
28
+ }, contextUser);
29
+ if (result.Success && result.Results && result.Results.length > 0) {
30
+ return result.Results[0];
31
+ }
32
+ return null;
33
+ }
34
+ /**
35
+ * Get storage provider entity by ID
36
+ * @param providerId - ID of the storage provider
20
37
  * @param contextUser - User context for the operation
21
38
  * @returns FileStorageProviderEntity or null if not found
22
39
  */
23
- async getStorageProvider(providerName, contextUser) {
40
+ async getStorageProviderById(providerId, contextUser) {
24
41
  const rv = new core_1.RunView();
25
42
  const result = await rv.RunView({
26
43
  EntityName: 'File Storage Providers',
27
- ExtraFilter: `Name='${providerName.replace(/'/g, "''")}'`,
44
+ ExtraFilter: `ID='${providerId}'`,
28
45
  ResultType: 'entity_object'
29
46
  }, contextUser);
30
47
  if (result.Success && result.Results && result.Results.length > 0) {
@@ -33,35 +50,44 @@ class BaseFileStorageAction extends actions_1.BaseAction {
33
50
  return null;
34
51
  }
35
52
  /**
36
- * Initialize storage driver from provider entity
37
- * @param provider - FileStorageProviderEntity to initialize
53
+ * Initialize storage driver using the enterprise credential model
54
+ * @param accountEntity - FileStorageAccountEntity to initialize
55
+ * @param providerEntity - FileStorageProviderEntity for the account
56
+ * @param contextUser - User context for credential access
38
57
  * @returns Initialized FileStorageBase driver
39
58
  */
40
- async initializeDriver(provider) {
41
- const driver = global_1.MJGlobal.Instance.ClassFactory.CreateInstance(storage_1.FileStorageBase, provider.ServerDriverKey);
42
- // Initialize the driver if it has an initialize method
43
- await driver.initialize();
44
- return driver;
59
+ async initializeDriver(accountEntity, providerEntity, contextUser) {
60
+ return (0, storage_1.initializeDriverWithAccountCredentials)({
61
+ accountEntity,
62
+ providerEntity,
63
+ contextUser
64
+ });
45
65
  }
46
66
  /**
47
- * Get storage provider and initialize driver in one step
48
- * @param params - Action parameters containing StorageProvider
67
+ * Get storage account and initialize driver in one step using enterprise model
68
+ * @param params - Action parameters containing StorageAccount
49
69
  * @returns Initialized driver and result if error occurred
50
70
  */
51
71
  async getDriverFromParams(params) {
52
- const providerName = this.getStringParam(params, 'storageprovider');
53
- if (!providerName) {
72
+ const accountName = this.getStringParam(params, 'storageaccount');
73
+ if (!accountName) {
74
+ return {
75
+ error: this.createErrorResult("StorageAccount parameter is required", "MISSING_ACCOUNT")
76
+ };
77
+ }
78
+ const account = await this.getStorageAccount(accountName, params.ContextUser);
79
+ if (!account) {
54
80
  return {
55
- error: this.createErrorResult("StorageProvider parameter is required", "MISSING_PROVIDER")
81
+ error: this.createErrorResult(`Storage account '${accountName}' not found`, "ACCOUNT_NOT_FOUND")
56
82
  };
57
83
  }
58
- const provider = await this.getStorageProvider(providerName, params.ContextUser);
84
+ const provider = await this.getStorageProviderById(account.ProviderID, params.ContextUser);
59
85
  if (!provider) {
60
86
  return {
61
- error: this.createErrorResult(`Storage provider '${providerName}' not found`, "PROVIDER_NOT_FOUND")
87
+ error: this.createErrorResult(`Storage provider not found for account '${accountName}'`, "PROVIDER_NOT_FOUND")
62
88
  };
63
89
  }
64
- const driver = await this.initializeDriver(provider);
90
+ const driver = await this.initializeDriver(account, provider, params.ContextUser);
65
91
  return { driver };
66
92
  }
67
93
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"base-file-storage.action.js","sourceRoot":"","sources":["../../../src/custom/files/base-file-storage.action.ts"],"names":[],"mappings":";;;AACA,qDAAqD;AACrD,+CAAyD;AAEzD,qDAA0D;AAC1D,mDAAkD;AAElD;;;;;;;GAOG;AACH,MAAsB,qBAAsB,SAAQ,oBAAU;IAE1D;;;;;OAKG;IACO,KAAK,CAAC,kBAAkB,CAAC,YAAoB,EAAE,WAAqB;QAC1E,MAAM,EAAE,GAAG,IAAI,cAAO,EAAE,CAAC;QACzB,MAAM,MAAM,GAAG,MAAM,EAAE,CAAC,OAAO,CAA4B;YACvD,UAAU,EAAE,wBAAwB;YACpC,WAAW,EAAE,SAAS,YAAY,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC,GAAG;YACzD,UAAU,EAAE,eAAe;SAC9B,EAAE,WAAW,CAAC,CA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O,eAAe,CAAC,MAAuB,EAAE,SAAiB,EAAE,eAAwB,KAAK;QAC/F,MAAM,KAAK,GAAG,IAAI,CAAC,aAAa,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;QACpD,IAAI,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,IAAI;YAAE,OAAO,YAAY,CAAC;QAC/D,OAAO,MAAM,CAAC,KAAK,CAAC,CAAC,WAAW,EAAE,KAAK,MAAM,CAAC;IAClD,CAAC;IAED;;OAEG;IACO,eAAe,CAAC,MAAuB,EAAE,SAAiB,EAAE,eAAuB,CAAC;QAC1F,MAAM,KAAK,GAAG,IAAI,CAAC,aAAa,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;QACpD,IAAI,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,IAAI;YAAE,OAAO,YAAY,CAAC;QAC/D,MAAM,GAAG,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;QAC1B,OAAO,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,GAAG,CAAC;IAC3C,CAAC;CACJ;AA7ID,sDA6IC"}
1
+ {"version":3,"file":"base-file-storage.action.js","sourceRoot":"","sources":["../../../src/custom/files/base-file-storage.action.ts"],"names":[],"mappings":";;;AACA,qDAAqD;AACrD,+CAAyD;AAEzD,qDAAkG;AAElG;;;;;;;GAOG;AACH,MAAsB,qBAAsB,SAAQ,oBAAU;IAE1D;;;;;OAKG;IACO,KAAK,CAAC,iBAAiB,CAAC,WAAmB,EAAE,WAAqB;QACxE,MAAM,EAAE,GAAG,IAAI,cAAO,EAAE,CAAC;QACzB,MAAM,MAAM,GAAG,MAAM,EAAE,CAAC,OAAO,CAA2B;YACtD,UAAU,EAAE,2BAA2B;YACvC,WAAW,EAAE,SAAS,WAAW,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC,GAAG;YACxD,UAAU,EAAE,eAAe;SAC9B,EAAE,WAAW,CAAC,CAAC;QAEh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C;QAC/D,MAAM,GAAG,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;QAC1B,OAAO,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,GAAG,CAAC;IAC3C,CAAC;CACJ;AA3KD,sDA2KC"}
@@ -8,7 +8,7 @@ import { BaseFileStorageAction } from "./base-file-storage.action";
8
8
  * await runAction({
9
9
  * ActionName: 'Copy Storage Object',
10
10
  * Params: [{
11
- * Name: 'StorageProvider',
11
+ * Name: 'StorageAccount',
12
12
  * Value: 'Azure Blob Storage'
13
13
  * }, {
14
14
  * Name: 'SourceObjectName',
@@ -25,7 +25,7 @@ export declare class CopyObjectAction extends BaseFileStorageAction {
25
25
  * Copy a file object
26
26
  *
27
27
  * @param params - The action parameters:
28
- * - StorageProvider: Required - Name of the storage provider
28
+ * - StorageAccount: Required - Name of the storage provider
29
29
  * - SourceObjectName: Required - Source file path
30
30
  * - DestinationObjectName: Required - Destination file path
31
31
  *
@@ -18,7 +18,7 @@ const base_file_storage_action_1 = require("./base-file-storage.action");
18
18
  * await runAction({
19
19
  * ActionName: 'Copy Storage Object',
20
20
  * Params: [{
21
- * Name: 'StorageProvider',
21
+ * Name: 'StorageAccount',
22
22
  * Value: 'Azure Blob Storage'
23
23
  * }, {
24
24
  * Name: 'SourceObjectName',
@@ -35,7 +35,7 @@ let CopyObjectAction = class CopyObjectAction extends base_file_storage_action_1
35
35
  * Copy a file object
36
36
  *
37
37
  * @param params - The action parameters:
38
- * - StorageProvider: Required - Name of the storage provider
38
+ * - StorageAccount: Required - Name of the storage provider
39
39
  * - SourceObjectName: Required - Source file path
40
40
  * - DestinationObjectName: Required - Destination file path
41
41
  *
@@ -8,7 +8,7 @@ import { BaseFileStorageAction } from "./base-file-storage.action";
8
8
  * await runAction({
9
9
  * ActionName: 'Create Storage Directory',
10
10
  * Params: [{
11
- * Name: 'StorageProvider',
11
+ * Name: 'StorageAccount',
12
12
  * Value: 'Google Drive'
13
13
  * }, {
14
14
  * Name: 'DirectoryPath',
@@ -22,7 +22,7 @@ export declare class CreateDirectoryAction extends BaseFileStorageAction {
22
22
  * Create a directory
23
23
  *
24
24
  * @param params - The action parameters:
25
- * - StorageProvider: Required - Name of the storage provider
25
+ * - StorageAccount: Required - Name of the storage provider
26
26
  * - DirectoryPath: Required - Path for the new directory
27
27
  *
28
28
  * @returns Operation result with:
@@ -18,7 +18,7 @@ const base_file_storage_action_1 = require("./base-file-storage.action");
18
18
  * await runAction({
19
19
  * ActionName: 'Create Storage Directory',
20
20
  * Params: [{
21
- * Name: 'StorageProvider',
21
+ * Name: 'StorageAccount',
22
22
  * Value: 'Google Drive'
23
23
  * }, {
24
24
  * Name: 'DirectoryPath',
@@ -32,7 +32,7 @@ let CreateDirectoryAction = class CreateDirectoryAction extends base_file_storag
32
32
  * Create a directory
33
33
  *
34
34
  * @param params - The action parameters:
35
- * - StorageProvider: Required - Name of the storage provider
35
+ * - StorageAccount: Required - Name of the storage provider
36
36
  * - DirectoryPath: Required - Path for the new directory
37
37
  *
38
38
  * @returns Operation result with:
@@ -8,7 +8,7 @@ import { BaseFileStorageAction } from "./base-file-storage.action";
8
8
  * await runAction({
9
9
  * ActionName: 'Delete Storage Directory',
10
10
  * Params: [{
11
- * Name: 'StorageProvider',
11
+ * Name: 'StorageAccount',
12
12
  * Value: 'Dropbox'
13
13
  * }, {
14
14
  * Name: 'DirectoryPath',
@@ -25,7 +25,7 @@ export declare class DeleteDirectoryAction extends BaseFileStorageAction {
25
25
  * Delete a directory
26
26
  *
27
27
  * @param params - The action parameters:
28
- * - StorageProvider: Required - Name of the storage provider
28
+ * - StorageAccount: Required - Name of the storage provider
29
29
  * - DirectoryPath: Required - Path to the directory to delete
30
30
  * - Recursive: Optional - Delete recursively (default: false)
31
31
  *
@@ -18,7 +18,7 @@ const base_file_storage_action_1 = require("./base-file-storage.action");
18
18
  * await runAction({
19
19
  * ActionName: 'Delete Storage Directory',
20
20
  * Params: [{
21
- * Name: 'StorageProvider',
21
+ * Name: 'StorageAccount',
22
22
  * Value: 'Dropbox'
23
23
  * }, {
24
24
  * Name: 'DirectoryPath',
@@ -35,7 +35,7 @@ let DeleteDirectoryAction = class DeleteDirectoryAction extends base_file_storag
35
35
  * Delete a directory
36
36
  *
37
37
  * @param params - The action parameters:
38
- * - StorageProvider: Required - Name of the storage provider
38
+ * - StorageAccount: Required - Name of the storage provider
39
39
  * - DirectoryPath: Required - Path to the directory to delete
40
40
  * - Recursive: Optional - Delete recursively (default: false)
41
41
  *
@@ -8,7 +8,7 @@ import { BaseFileStorageAction } from "./base-file-storage.action";
8
8
  * await runAction({
9
9
  * ActionName: 'Delete Storage Object',
10
10
  * Params: [{
11
- * Name: 'StorageProvider',
11
+ * Name: 'StorageAccount',
12
12
  * Value: 'SharePoint Storage'
13
13
  * }, {
14
14
  * Name: 'ObjectName',
@@ -22,7 +22,7 @@ export declare class DeleteObjectAction extends BaseFileStorageAction {
22
22
  * Delete a file object
23
23
  *
24
24
  * @param params - The action parameters:
25
- * - StorageProvider: Required - Name of the storage provider
25
+ * - StorageAccount: Required - Name of the storage provider
26
26
  * - ObjectName: Required - Name/path of the object to delete
27
27
  *
28
28
  * @returns Operation result with:
@@ -18,7 +18,7 @@ const base_file_storage_action_1 = require("./base-file-storage.action");
18
18
  * await runAction({
19
19
  * ActionName: 'Delete Storage Object',
20
20
  * Params: [{
21
- * Name: 'StorageProvider',
21
+ * Name: 'StorageAccount',
22
22
  * Value: 'SharePoint Storage'
23
23
  * }, {
24
24
  * Name: 'ObjectName',
@@ -32,7 +32,7 @@ let DeleteObjectAction = class DeleteObjectAction extends base_file_storage_acti
32
32
  * Delete a file object
33
33
  *
34
34
  * @param params - The action parameters:
35
- * - StorageProvider: Required - Name of the storage provider
35
+ * - StorageAccount: Required - Name of the storage provider
36
36
  * - ObjectName: Required - Name/path of the object to delete
37
37
  *
38
38
  * @returns Operation result with:
@@ -8,7 +8,7 @@ import { BaseFileStorageAction } from "./base-file-storage.action";
8
8
  * await runAction({
9
9
  * ActionName: 'Check Storage Directory Exists',
10
10
  * Params: [{
11
- * Name: 'StorageProvider',
11
+ * Name: 'StorageAccount',
12
12
  * Value: 'Dropbox'
13
13
  * }, {
14
14
  * Name: 'DirectoryPath',
@@ -22,7 +22,7 @@ export declare class DirectoryExistsAction extends BaseFileStorageAction {
22
22
  * Check if a directory exists
23
23
  *
24
24
  * @param params - The action parameters:
25
- * - StorageProvider: Required - Name of the storage provider
25
+ * - StorageAccount: Required - Name of the storage provider
26
26
  * - DirectoryPath: Required - Path to the directory
27
27
  *
28
28
  * @returns Operation result with:
@@ -18,7 +18,7 @@ const base_file_storage_action_1 = require("./base-file-storage.action");
18
18
  * await runAction({
19
19
  * ActionName: 'Check Storage Directory Exists',
20
20
  * Params: [{
21
- * Name: 'StorageProvider',
21
+ * Name: 'StorageAccount',
22
22
  * Value: 'Dropbox'
23
23
  * }, {
24
24
  * Name: 'DirectoryPath',
@@ -32,7 +32,7 @@ let DirectoryExistsAction = class DirectoryExistsAction extends base_file_storag
32
32
  * Check if a directory exists
33
33
  *
34
34
  * @param params - The action parameters:
35
- * - StorageProvider: Required - Name of the storage provider
35
+ * - StorageAccount: Required - Name of the storage provider
36
36
  * - DirectoryPath: Required - Path to the directory
37
37
  *
38
38
  * @returns Operation result with:
@@ -8,7 +8,7 @@ import { BaseFileStorageAction } from "./base-file-storage.action";
8
8
  * await runAction({
9
9
  * ActionName: 'Get Storage Download URL',
10
10
  * Params: [{
11
- * Name: 'StorageProvider',
11
+ * Name: 'StorageAccount',
12
12
  * Value: 'Azure Blob Storage'
13
13
  * }, {
14
14
  * Name: 'ObjectName',
@@ -22,7 +22,7 @@ export declare class GetDownloadUrlAction extends BaseFileStorageAction {
22
22
  * Generate a pre-authenticated download URL
23
23
  *
24
24
  * @param params - The action parameters:
25
- * - StorageProvider: Required - Name of the storage provider
25
+ * - StorageAccount: Required - Name of the storage provider
26
26
  * - ObjectName: Required - Name/path of the object
27
27
  *
28
28
  * @returns Operation result with:
@@ -18,7 +18,7 @@ const base_file_storage_action_1 = require("./base-file-storage.action");
18
18
  * await runAction({
19
19
  * ActionName: 'Get Storage Download URL',
20
20
  * Params: [{
21
- * Name: 'StorageProvider',
21
+ * Name: 'StorageAccount',
22
22
  * Value: 'Azure Blob Storage'
23
23
  * }, {
24
24
  * Name: 'ObjectName',
@@ -32,7 +32,7 @@ let GetDownloadUrlAction = class GetDownloadUrlAction extends base_file_storage_
32
32
  * Generate a pre-authenticated download URL
33
33
  *
34
34
  * @param params - The action parameters:
35
- * - StorageProvider: Required - Name of the storage provider
35
+ * - StorageAccount: Required - Name of the storage provider
36
36
  * - ObjectName: Required - Name/path of the object
37
37
  *
38
38
  * @returns Operation result with:
@@ -18,7 +18,7 @@ import { BaseFileStorageAction } from "./base-file-storage.action";
18
18
  * await runAction({
19
19
  * ActionName: 'File Storage: Get File Content',
20
20
  * Params: [{
21
- * Name: 'StorageProvider',
21
+ * Name: 'StorageAccount',
22
22
  * Value: 'Box'
23
23
  * }, {
24
24
  * Name: 'ObjectID',
@@ -31,7 +31,7 @@ import { BaseFileStorageAction } from "./base-file-storage.action";
31
31
  * await runAction({
32
32
  * ActionName: 'File Storage: Get File Content',
33
33
  * Params: [{
34
- * Name: 'StorageProvider',
34
+ * Name: 'StorageAccount',
35
35
  * Value: 'Google Drive'
36
36
  * }, {
37
37
  * Name: 'ObjectName',
@@ -46,7 +46,7 @@ export declare class GetFileContentAction extends BaseFileStorageAction {
46
46
  * Retrieve file content with automatic extraction based on file type
47
47
  *
48
48
  * @param params - The action parameters:
49
- * - StorageProvider: Required - Name of the storage provider
49
+ * - StorageAccount: Required - Name of the storage provider
50
50
  * - ObjectName: Required if ObjectID not provided - Name/path of the object
51
51
  * - ObjectID: Optional - Provider-specific object ID (bypasses path resolution)
52
52
  *
@@ -54,7 +54,7 @@ const ExcelJS = __importStar(require("exceljs"));
54
54
  * await runAction({
55
55
  * ActionName: 'File Storage: Get File Content',
56
56
  * Params: [{
57
- * Name: 'StorageProvider',
57
+ * Name: 'StorageAccount',
58
58
  * Value: 'Box'
59
59
  * }, {
60
60
  * Name: 'ObjectID',
@@ -67,7 +67,7 @@ const ExcelJS = __importStar(require("exceljs"));
67
67
  * await runAction({
68
68
  * ActionName: 'File Storage: Get File Content',
69
69
  * Params: [{
70
- * Name: 'StorageProvider',
70
+ * Name: 'StorageAccount',
71
71
  * Value: 'Google Drive'
72
72
  * }, {
73
73
  * Name: 'ObjectName',
@@ -82,7 +82,7 @@ let GetFileContentAction = class GetFileContentAction extends base_file_storage_
82
82
  * Retrieve file content with automatic extraction based on file type
83
83
  *
84
84
  * @param params - The action parameters:
85
- * - StorageProvider: Required - Name of the storage provider
85
+ * - StorageAccount: Required - Name of the storage provider
86
86
  * - ObjectName: Required if ObjectID not provided - Name/path of the object
87
87
  * - ObjectID: Optional - Provider-specific object ID (bypasses path resolution)
88
88
  *
@@ -8,7 +8,7 @@ import { BaseFileStorageAction } from "./base-file-storage.action";
8
8
  * await runAction({
9
9
  * ActionName: 'Get Storage Object Metadata',
10
10
  * Params: [{
11
- * Name: 'StorageProvider',
11
+ * Name: 'StorageAccount',
12
12
  * Value: 'AWS S3 Storage'
13
13
  * }, {
14
14
  * Name: 'ObjectName',
@@ -22,7 +22,7 @@ export declare class GetMetadataAction extends BaseFileStorageAction {
22
22
  * Get metadata for a storage object
23
23
  *
24
24
  * @param params - The action parameters:
25
- * - StorageProvider: Required - Name of the storage provider
25
+ * - StorageAccount: Required - Name of the storage provider
26
26
  * - ObjectName: Required if ObjectID not provided - Name/path of the object
27
27
  * - ObjectID: Optional - Provider-specific object ID (bypasses path resolution for faster access)
28
28
  *
@@ -18,7 +18,7 @@ const base_file_storage_action_1 = require("./base-file-storage.action");
18
18
  * await runAction({
19
19
  * ActionName: 'Get Storage Object Metadata',
20
20
  * Params: [{
21
- * Name: 'StorageProvider',
21
+ * Name: 'StorageAccount',
22
22
  * Value: 'AWS S3 Storage'
23
23
  * }, {
24
24
  * Name: 'ObjectName',
@@ -32,7 +32,7 @@ let GetMetadataAction = class GetMetadataAction extends base_file_storage_action
32
32
  * Get metadata for a storage object
33
33
  *
34
34
  * @param params - The action parameters:
35
- * - StorageProvider: Required - Name of the storage provider
35
+ * - StorageAccount: Required - Name of the storage provider
36
36
  * - ObjectName: Required if ObjectID not provided - Name/path of the object
37
37
  * - ObjectID: Optional - Provider-specific object ID (bypasses path resolution for faster access)
38
38
  *
@@ -8,7 +8,7 @@ import { BaseFileStorageAction } from "./base-file-storage.action";
8
8
  * await runAction({
9
9
  * ActionName: 'Get Storage Object',
10
10
  * Params: [{
11
- * Name: 'StorageProvider',
11
+ * Name: 'StorageAccount',
12
12
  * Value: 'Google Cloud Storage'
13
13
  * }, {
14
14
  * Name: 'ObjectName',
@@ -22,7 +22,7 @@ export declare class GetObjectAction extends BaseFileStorageAction {
22
22
  * Download file content from storage
23
23
  *
24
24
  * @param params - The action parameters:
25
- * - StorageProvider: Required - Name of the storage provider
25
+ * - StorageAccount: Required - Name of the storage provider
26
26
  * - ObjectName: Required if ObjectID not provided - Name/path of the object
27
27
  * - ObjectID: Optional - Provider-specific object ID (bypasses path resolution for faster access)
28
28
  *
@@ -18,7 +18,7 @@ const base_file_storage_action_1 = require("./base-file-storage.action");
18
18
  * await runAction({
19
19
  * ActionName: 'Get Storage Object',
20
20
  * Params: [{
21
- * Name: 'StorageProvider',
21
+ * Name: 'StorageAccount',
22
22
  * Value: 'Google Cloud Storage'
23
23
  * }, {
24
24
  * Name: 'ObjectName',
@@ -32,7 +32,7 @@ let GetObjectAction = class GetObjectAction extends base_file_storage_action_1.B
32
32
  * Download file content from storage
33
33
  *
34
34
  * @param params - The action parameters:
35
- * - StorageProvider: Required - Name of the storage provider
35
+ * - StorageAccount: Required - Name of the storage provider
36
36
  * - ObjectName: Required if ObjectID not provided - Name/path of the object
37
37
  * - ObjectID: Optional - Provider-specific object ID (bypasses path resolution for faster access)
38
38
  *
@@ -8,7 +8,7 @@ import { BaseFileStorageAction } from "./base-file-storage.action";
8
8
  * await runAction({
9
9
  * ActionName: 'Get Storage Upload URL',
10
10
  * Params: [{
11
- * Name: 'StorageProvider',
11
+ * Name: 'StorageAccount',
12
12
  * Value: 'AWS S3 Storage'
13
13
  * }, {
14
14
  * Name: 'ObjectName',
@@ -22,7 +22,7 @@ export declare class GetUploadUrlAction extends BaseFileStorageAction {
22
22
  * Generate a pre-authenticated upload URL
23
23
  *
24
24
  * @param params - The action parameters:
25
- * - StorageProvider: Required - Name of the storage provider
25
+ * - StorageAccount: Required - Name of the storage provider
26
26
  * - ObjectName: Required - Name/path of the object to upload
27
27
  *
28
28
  * @returns Operation result with:
@@ -18,7 +18,7 @@ const base_file_storage_action_1 = require("./base-file-storage.action");
18
18
  * await runAction({
19
19
  * ActionName: 'Get Storage Upload URL',
20
20
  * Params: [{
21
- * Name: 'StorageProvider',
21
+ * Name: 'StorageAccount',
22
22
  * Value: 'AWS S3 Storage'
23
23
  * }, {
24
24
  * Name: 'ObjectName',
@@ -32,7 +32,7 @@ let GetUploadUrlAction = class GetUploadUrlAction extends base_file_storage_acti
32
32
  * Generate a pre-authenticated upload URL
33
33
  *
34
34
  * @param params - The action parameters:
35
- * - StorageProvider: Required - Name of the storage provider
35
+ * - StorageAccount: Required - Name of the storage provider
36
36
  * - ObjectName: Required - Name/path of the object to upload
37
37
  *
38
38
  * @returns Operation result with:
@@ -21,5 +21,5 @@ export { DeleteObjectAction } from './delete-object.action';
21
21
  export { CreateDirectoryAction } from './create-directory.action';
22
22
  export { DeleteDirectoryAction } from './delete-directory.action';
23
23
  export { SearchStorageFilesAction } from './search-storage-files.action';
24
- export { ListStorageProvidersAction } from './list-storage-providers.action';
24
+ export { ListStorageAccountsAction } from './list-storage-providers.action';
25
25
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/custom/files/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAA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AM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC"}
@@ -9,7 +9,7 @@
9
9
  * All actions extend BaseFileStorageAction for shared functionality.
10
10
  */
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.ListStorageProvidersAction = exports.SearchStorageFilesAction = exports.DeleteDirectoryAction = exports.CreateDirectoryAction = exports.DeleteObjectAction = exports.MoveObjectAction = exports.CopyObjectAction = exports.DirectoryExistsAction = exports.ObjectExistsAction = exports.GetUploadUrlAction = exports.GetDownloadUrlAction = exports.GetObjectAction = exports.GetMetadataAction = exports.ListObjectsAction = exports.BaseFileStorageAction = void 0;
12
+ exports.ListStorageAccountsAction = exports.SearchStorageFilesAction = exports.DeleteDirectoryAction = exports.CreateDirectoryAction = exports.DeleteObjectAction = exports.MoveObjectAction = exports.CopyObjectAction = exports.DirectoryExistsAction = exports.ObjectExistsAction = exports.GetUploadUrlAction = exports.GetDownloadUrlAction = exports.GetObjectAction = exports.GetMetadataAction = exports.ListObjectsAction = exports.BaseFileStorageAction = void 0;
13
13
  var base_file_storage_action_1 = require("./base-file-storage.action");
14
14
  Object.defineProperty(exports, "BaseFileStorageAction", { enumerable: true, get: function () { return base_file_storage_action_1.BaseFileStorageAction; } });
15
15
  var list_objects_action_1 = require("./list-objects.action");
@@ -39,5 +39,5 @@ Object.defineProperty(exports, "DeleteDirectoryAction", { enumerable: true, get:
39
39
  var search_storage_files_action_1 = require("./search-storage-files.action");
40
40
  Object.defineProperty(exports, "SearchStorageFilesAction", { enumerable: true, get: function () { return search_storage_files_action_1.SearchStorageFilesAction; } });
41
41
  var list_storage_providers_action_1 = require("./list-storage-providers.action");
42
- Object.defineProperty(exports, "ListStorageProvidersAction", { enumerable: true, get: function () { return list_storage_providers_action_1.ListStorageProvidersAction; } });
42
+ Object.defineProperty(exports, "ListStorageAccountsAction", { enumerable: true, get: function () { return list_storage_providers_action_1.ListStorageAccountsAction; } });
43
43
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/custom/files/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;GAQG;;;AAEH,uEAAmE;AAA1D,iIAAA,qBAAqB,OAAA;AAC9B,6DAA0D;AAAjD,wHAAA,iBAAiB,OAAA;AAC1B,6DAA0D;AAAjD,wHAAA,iBAAiB,OAAA;AAC1B,yDAAsD;AAA7C,oHAAA,eAAe,OAAA;AACxB,qEAAiE;AAAxD,+HAAA,oBAAoB,OAAA;AAC7B,iEAA6D;AAApD,2HAAA,kBAAkB,OAAA;AAC3B,+DAA4D;AAAnD,0HAAA,kBAAkB,OAAA;AAC3B,qEAAkE;AAAzD,gIAAA,qBAAqB,OAAA;AAC9B,2DAAwD;AAA/C,sHAAA,gBAAgB,OAAA;AACzB,2DAAwD;AAA/C,sHAAA,gBAAgB,OAAA;AACzB,+DAA4D;AAAnD,0HAAA,kBAAkB,OAAA;AAC3B,qEAAkE;AAAzD,gIAAA,qBAAqB,OAAA;AAC9B,qEAAkE;AAAzD,gIAAA,qBAAqB,OAAA;AAC9B,6EAAyE;AAAhE,uIAAA,wBAAwB,OAAA;AACjC,iFAA6E;AAApE,2IAAA,0BAA0B,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/custom/files/index.ts"],"names":[],"mappings":";AAAA;;;;;;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