@memberjunction/core-actions 3.1.0 → 3.2.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 +24 -24
@@ -1,24 +1,18 @@
1
1
  import { ActionResultSimple, RunActionParams } from "@memberjunction/actions-base";
2
2
  import { BaseFileStorageAction } from "./base-file-storage.action";
3
3
  /**
4
- * Action for listing objects (files and directories) in a storage provider path.
4
+ * Action for listing objects (files and directories) in a storage account path.
5
5
  *
6
- * Supported storage providers:
7
- * - Azure Blob Storage (Active)
8
- * - AWS S3 Storage (Inactive)
9
- * - Google Cloud Storage (Inactive)
10
- * - Google Drive (Active)
11
- * - Dropbox (Active)
12
- * - Box.com (Active)
13
- * - SharePoint Storage (Active)
6
+ * Uses the enterprise credential model where storage accounts are configured
7
+ * with credentials managed at the organization level.
14
8
  *
15
9
  * @example
16
10
  * ```typescript
17
11
  * await runAction({
18
12
  * ActionName: 'File Storage: List Objects',
19
13
  * Params: [{
20
- * Name: 'StorageProvider',
21
- * Value: 'Azure Blob Storage'
14
+ * Name: 'StorageAccount',
15
+ * Value: 'My Google Drive'
22
16
  * }, {
23
17
  * Name: 'Path',
24
18
  * Value: 'documents/'
@@ -31,10 +25,10 @@ import { BaseFileStorageAction } from "./base-file-storage.action";
31
25
  */
32
26
  export declare class ListObjectsAction extends BaseFileStorageAction {
33
27
  /**
34
- * List objects in a storage provider path
28
+ * List objects in a storage account path
35
29
  *
36
30
  * @param params - The action parameters:
37
- * - StorageProvider: Required - Name of the storage provider
31
+ * - StorageAccount: Required - Name of the storage account
38
32
  * - Path: Optional - Directory path to list (default: "/")
39
33
  * - Delimiter: Optional - Path delimiter (default: "/")
40
34
  *
@@ -1 +1 @@
1
- {"version":3,"file":"list-objects.action.d.ts","sourceRoot":"","sources":["../../../src/custom/files/list-objects.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAInF,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAEnE;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,qBACa,iBAAkB,SAAQ,qBAAqB;IAExD;;;;;;;;;;;;;OAaG;cACa,iBAAiB,CAAC,MAAM,EAAE,eAAe,GAAG,OAAO,CAAC,kBAAkB,CAAC;CAmC1F;AAED,wBAAgB,qBAAqB,SAEpC"}
1
+ {"version":3,"file":"list-objects.action.d.ts","sourceRoot":"","sources":["../../../src/custom/files/list-objects.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAInF,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAEnE;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,qBACa,iBAAkB,SAAQ,qBAAqB;IAExD;;;;;;;;;;;;;OAaG;cACa,iBAAiB,CAAC,MAAM,EAAE,eAAe,GAAG,OAAO,CAAC,kBAAkB,CAAC;CAmC1F;AAED,wBAAgB,qBAAqB,SAEpC"}
@@ -11,24 +11,18 @@ const global_1 = require("@memberjunction/global");
11
11
  const actions_1 = require("@memberjunction/actions");
12
12
  const base_file_storage_action_1 = require("./base-file-storage.action");
13
13
  /**
14
- * Action for listing objects (files and directories) in a storage provider path.
14
+ * Action for listing objects (files and directories) in a storage account path.
15
15
  *
16
- * Supported storage providers:
17
- * - Azure Blob Storage (Active)
18
- * - AWS S3 Storage (Inactive)
19
- * - Google Cloud Storage (Inactive)
20
- * - Google Drive (Active)
21
- * - Dropbox (Active)
22
- * - Box.com (Active)
23
- * - SharePoint Storage (Active)
16
+ * Uses the enterprise credential model where storage accounts are configured
17
+ * with credentials managed at the organization level.
24
18
  *
25
19
  * @example
26
20
  * ```typescript
27
21
  * await runAction({
28
22
  * ActionName: 'File Storage: List Objects',
29
23
  * Params: [{
30
- * Name: 'StorageProvider',
31
- * Value: 'Azure Blob Storage'
24
+ * Name: 'StorageAccount',
25
+ * Value: 'My Google Drive'
32
26
  * }, {
33
27
  * Name: 'Path',
34
28
  * Value: 'documents/'
@@ -41,10 +35,10 @@ const base_file_storage_action_1 = require("./base-file-storage.action");
41
35
  */
42
36
  let ListObjectsAction = class ListObjectsAction extends base_file_storage_action_1.BaseFileStorageAction {
43
37
  /**
44
- * List objects in a storage provider path
38
+ * List objects in a storage account path
45
39
  *
46
40
  * @param params - The action parameters:
47
- * - StorageProvider: Required - Name of the storage provider
41
+ * - StorageAccount: Required - Name of the storage account
48
42
  * - Path: Optional - Directory path to list (default: "/")
49
43
  * - Delimiter: Optional - Path delimiter (default: "/")
50
44
  *
@@ -1 +1 @@
1
- {"version":3,"file":"list-objects.action.js","sourceRoot":"","sources":["../../../src/custom/files/list-objects.action.ts"],"names":[],"mappings":";;;;;;;;;AACA,mDAAuD;AAEvD,qDAAqD;AACrD,yEAAmE;AAEnE;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAEI,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,gDAAqB;IAExD;;;;;;;;;;;;;OAaG;IACO,KAAK,CAAC,iBAAiB,CAAC,MAAuB;QACrD,IAAI,CAAC;YACD,oCAAoC;YACpC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,IAAI,CAAC,mBAAmB,CAAC,MAAM,CAAC,CAAC;YACjE,IAAI,KAAK;gBAAE,OAAO,KAAK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IAAI,CAAC,cAAc,CAAC,MAAM,EAAE,gBAAgB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;YAEtE,OAAO,IAAI,CAAC,mBAAmB,CAAC;gBAC5B,SAAS,EAAE,aAAa;gBACxB,IAAI;gBACJ,WAAW,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM;gBAClC,cAAc,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM;gBACtC,OAAO,EAAE,MAAM,CAAC,OAAO;gBACvB,QAAQ,EAAE,MAAM,CAAC,QAAQ;aAC5B,EAAE,MAAM,CAAC,CAAC;QAEf,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACb,OAAO,IAAI,CAAC,iBAAiB,CACzB,kCAAkC,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,EAC1F,kBAAkB,CACrB,CAAC;QACN,CAAC;IACL,CAAC;CACJ,CAAA;AAnDY,8CAAiB;4BAAjB,iBAAiB;IAD7B,IAAA,sBAAa,EAAC,oBAAU,EAAE,4BAA4B,CAAC;GAC3C,iBAAiB,CAmD7B;AAED,SAAgB,qBAAqB;IACjC,wCAAwC;AAC5C,CAAC;AAFD,sDAEC"}
@@ -1,35 +1,26 @@
1
1
  import { ActionResultSimple, RunActionParams } from "@memberjunction/actions-base";
2
2
  import { BaseFileStorageAction } from "./base-file-storage.action";
3
3
  /**
4
- * Action that retrieves a list of active and available file storage providers.
4
+ * Action that retrieves a list of configured file storage accounts.
5
5
  *
6
- * This action returns storage providers that are:
7
- * 1. Marked as IsActive=true in the database
8
- * 2. Actually available/configured in the running environment
6
+ * This action returns storage accounts that are configured in the enterprise model,
7
+ * along with their associated provider information. Storage accounts link to
8
+ * providers (Google Drive, Dropbox, etc.) and credentials managed at the org level.
9
9
  *
10
- * This is useful for AI agents (particularly Research Agent) to discover
11
- * what storage providers are available before attempting to search or access files.
12
- *
13
- * Providers are configured in the File Storage Providers entity and can include:
14
- * - Google Drive
15
- * - SharePoint
16
- * - Dropbox
17
- * - Box
18
- * - AWS S3
19
- * - Azure Blob Storage
20
- * - Google Cloud Storage
10
+ * This is useful for AI agents to discover what storage accounts are available
11
+ * before attempting to search or access files.
21
12
  *
22
13
  * @example
23
14
  * ```typescript
24
- * // Get all available storage providers
15
+ * // Get all available storage accounts
25
16
  * await runAction({
26
- * ActionName: 'List Storage Providers',
17
+ * ActionName: 'List Storage Accounts',
27
18
  * Params: []
28
19
  * });
29
20
  *
30
- * // Get only providers that support search
21
+ * // Get only accounts that support search
31
22
  * await runAction({
32
- * ActionName: 'List Storage Providers',
23
+ * ActionName: 'List Storage Accounts',
33
24
  * Params: [{
34
25
  * Name: 'SearchSupportedOnly',
35
26
  * Value: true
@@ -37,11 +28,11 @@ import { BaseFileStorageAction } from "./base-file-storage.action";
37
28
  * });
38
29
  * ```
39
30
  */
40
- export declare class ListStorageProvidersAction extends BaseFileStorageAction {
31
+ export declare class ListStorageAccountsAction extends BaseFileStorageAction {
41
32
  protected InternalRunAction(params: RunActionParams): Promise<ActionResultSimple>;
42
33
  }
43
34
  /**
44
35
  * Load function to ensure the class is registered and not tree-shaken
45
36
  */
46
- export declare function LoadListStorageProvidersAction(): void;
37
+ export declare function LoadListStorageAccountsAction(): void;
47
38
  //# sourceMappingURL=list-storage-providers.action.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-storage-providers.action.d.ts","sourceRoot":"","sources":["../../../src/custom/files/list-storage-providers.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAe,MAAM,8BAA8B,CAAC;AAMhG,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAGnE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,qBACa,0BAA2B,SAAQ,qBAAqB;cAEjD,iBAAiB,CAAC,MAAM,EAAE,eAAe,GAAG,OAAO,CAAC,kBAAkB,CAAC;CAiK1F;AAED;;GAEG;AACH,wBAAgB,8BAA8B,SAG7C"}
1
+ {"version":3,"file":"list-storage-providers.action.d.ts","sourceRoot":"","sources":["../../../src/custom/files/list-storage-providers.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAe,MAAM,8BAA8B,CAAC;AAKhG,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAGnE;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,qBACa,yBAA0B,SAAQ,qBAAqB;cAEhD,iBAAiB,CAAC,MAAM,EAAE,eAAe,GAAG,OAAO,CAAC,kBAAkB,CAAC;CAmI1F;AAED;;GAEG;AACH,wBAAgB,6BAA6B,SAG5C"}
@@ -6,43 +6,33 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
6
6
  return c > 3 && r && Object.defineProperty(target, key, r), r;
7
7
  };
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.LoadListStorageProvidersAction = exports.ListStorageProvidersAction = void 0;
9
+ exports.LoadListStorageAccountsAction = exports.ListStorageAccountsAction = void 0;
10
10
  const global_1 = require("@memberjunction/global");
11
11
  const global_2 = require("@memberjunction/global");
12
12
  const core_1 = require("@memberjunction/core");
13
- const storage_1 = require("@memberjunction/storage");
14
13
  const base_file_storage_action_1 = require("./base-file-storage.action");
15
14
  const actions_1 = require("@memberjunction/actions");
16
15
  /**
17
- * Action that retrieves a list of active and available file storage providers.
16
+ * Action that retrieves a list of configured file storage accounts.
18
17
  *
19
- * This action returns storage providers that are:
20
- * 1. Marked as IsActive=true in the database
21
- * 2. Actually available/configured in the running environment
18
+ * This action returns storage accounts that are configured in the enterprise model,
19
+ * along with their associated provider information. Storage accounts link to
20
+ * providers (Google Drive, Dropbox, etc.) and credentials managed at the org level.
22
21
  *
23
- * This is useful for AI agents (particularly Research Agent) to discover
24
- * what storage providers are available before attempting to search or access files.
25
- *
26
- * Providers are configured in the File Storage Providers entity and can include:
27
- * - Google Drive
28
- * - SharePoint
29
- * - Dropbox
30
- * - Box
31
- * - AWS S3
32
- * - Azure Blob Storage
33
- * - Google Cloud Storage
22
+ * This is useful for AI agents to discover what storage accounts are available
23
+ * before attempting to search or access files.
34
24
  *
35
25
  * @example
36
26
  * ```typescript
37
- * // Get all available storage providers
27
+ * // Get all available storage accounts
38
28
  * await runAction({
39
- * ActionName: 'List Storage Providers',
29
+ * ActionName: 'List Storage Accounts',
40
30
  * Params: []
41
31
  * });
42
32
  *
43
- * // Get only providers that support search
33
+ * // Get only accounts that support search
44
34
  * await runAction({
45
- * ActionName: 'List Storage Providers',
35
+ * ActionName: 'List Storage Accounts',
46
36
  * Params: [{
47
37
  * Name: 'SearchSupportedOnly',
48
38
  * Value: true
@@ -50,112 +40,82 @@ const actions_1 = require("@memberjunction/actions");
50
40
  * });
51
41
  * ```
52
42
  */
53
- let ListStorageProvidersAction = class ListStorageProvidersAction extends base_file_storage_action_1.BaseFileStorageAction {
43
+ let ListStorageAccountsAction = class ListStorageAccountsAction extends base_file_storage_action_1.BaseFileStorageAction {
54
44
  async InternalRunAction(params) {
55
- // Optional parameter to filter only providers that support search
45
+ // Optional parameter to filter only accounts whose provider supports search
56
46
  const searchSupportedOnly = this.getBooleanParam(params, "searchsupportedonly", false);
57
47
  try {
58
- // Build filter for active providers, optionally filtering for search support
59
- let extraFilter = "IsActive=1";
60
- if (searchSupportedOnly) {
61
- extraFilter += " AND SupportsSearch=1";
62
- }
63
- // Query for active file storage providers from database
64
48
  const rv = new core_1.RunView();
65
- const result = await rv.RunView({
66
- EntityName: 'File Storage Providers',
67
- ExtraFilter: extraFilter,
68
- OrderBy: 'Priority, Name',
69
- ResultType: 'entity_object'
70
- }, params.ContextUser);
71
- if (!result.Success) {
72
- return this.createErrorResult(`Failed to retrieve storage providers: ${result.ErrorMessage}`, "QUERY_FAILED");
49
+ // Load accounts and providers in parallel
50
+ const [accountsResult, providersResult] = await rv.RunViews([
51
+ {
52
+ EntityName: 'MJ: File Storage Accounts',
53
+ ExtraFilter: '',
54
+ OrderBy: 'Name',
55
+ ResultType: 'entity_object'
56
+ },
57
+ {
58
+ EntityName: 'File Storage Providers',
59
+ ExtraFilter: 'IsActive=1',
60
+ OrderBy: 'Name',
61
+ ResultType: 'entity_object'
62
+ }
63
+ ], params.ContextUser);
64
+ if (!accountsResult.Success) {
65
+ return this.createErrorResult(`Failed to retrieve storage accounts: ${accountsResult.ErrorMessage}`, "QUERY_FAILED");
73
66
  }
74
- const dbProviders = result.Results || [];
75
- const availableProviders = [];
76
- // Check which providers are actually available in the running environment
77
- for (const provider of dbProviders) {
78
- // Get SupportsSearch from database column (using Get() until CodeGen regenerates entity class)
67
+ if (!providersResult.Success) {
68
+ return this.createErrorResult(`Failed to retrieve storage providers: ${providersResult.ErrorMessage}`, "QUERY_FAILED");
69
+ }
70
+ const accounts = accountsResult.Results || [];
71
+ const providers = providersResult.Results || [];
72
+ // Create provider lookup map
73
+ const providerMap = new Map();
74
+ providers.forEach(p => providerMap.set(p.ID, p));
75
+ const availableAccounts = [];
76
+ for (const account of accounts) {
77
+ const provider = providerMap.get(account.ProviderID);
78
+ if (!provider) {
79
+ continue; // Skip accounts with inactive/missing providers
80
+ }
79
81
  const supportsSearch = provider.Get('SupportsSearch') ?? false;
80
82
  // Skip if filtering for search-only and this provider doesn't support it
81
83
  if (searchSupportedOnly && !supportsSearch) {
82
84
  continue;
83
85
  }
84
- try {
85
- // Instantiate the provider and check if it's properly configured
86
- const driver = global_2.MJGlobal.Instance.ClassFactory.CreateInstance(storage_1.FileStorageBase, provider.ServerDriverKey);
87
- if (driver) {
88
- // Provider is registered - check if it has required configuration
89
- const isConfigured = driver.IsConfigured;
90
- availableProviders.push({
91
- Name: provider.Name,
92
- Description: provider.Description || '',
93
- ServerDriverKey: provider.ServerDriverKey,
94
- SupportsSearch: supportsSearch,
95
- IsConfigured: isConfigured,
96
- ConfigurationError: isConfigured ? undefined : 'Missing required configuration (API keys, credentials, etc.)'
97
- });
98
- }
99
- else {
100
- // Provider exists in DB but not registered in class factory
101
- availableProviders.push({
102
- Name: provider.Name,
103
- Description: provider.Description || '',
104
- ServerDriverKey: provider.ServerDriverKey,
105
- SupportsSearch: supportsSearch,
106
- IsConfigured: false,
107
- ConfigurationError: 'Provider not registered in class factory'
108
- });
109
- }
110
- }
111
- catch (error) {
112
- // Provider exists in DB but failed to instantiate
113
- const errorMessage = error instanceof Error ? error.message : String(error);
114
- availableProviders.push({
115
- Name: provider.Name,
116
- Description: provider.Description || '',
117
- ServerDriverKey: provider.ServerDriverKey,
118
- SupportsSearch: supportsSearch,
119
- IsConfigured: false,
120
- ConfigurationError: `Instantiation failed: ${errorMessage}`
121
- });
122
- }
86
+ availableAccounts.push({
87
+ Name: account.Name,
88
+ Description: account.Description || '',
89
+ ProviderName: provider.Name,
90
+ ProviderType: provider.ServerDriverKey,
91
+ SupportsSearch: supportsSearch,
92
+ HasCredential: !!account.CredentialID
93
+ });
123
94
  }
124
95
  // Calculate counts
125
- const configuredProviders = availableProviders.filter(p => p.IsConfigured);
126
- const searchSupportedCount = configuredProviders.filter(p => p.SupportsSearch).length;
127
- const totalCount = availableProviders.length;
128
- const configuredCount = configuredProviders.length;
129
- // Create detailed result message with provider list
130
- let message = `Found ${totalCount} active storage provider(s) in database`;
131
- if (configuredCount < totalCount) {
132
- message += `, ${configuredCount} configured and available`;
133
- }
134
- else {
135
- message += `, all configured and available`;
136
- }
96
+ const searchSupportedCount = availableAccounts.filter(a => a.SupportsSearch).length;
97
+ const totalCount = availableAccounts.length;
98
+ // Create detailed result message
99
+ let message = `Found ${totalCount} storage account(s)`;
137
100
  if (searchSupportedOnly) {
138
101
  message += ` with search support`;
139
102
  }
140
103
  else {
141
104
  message += ` (${searchSupportedCount} support search)`;
142
105
  }
143
- // Add provider details to message for LLM visibility
144
- message += '\n\nAvailable Providers:';
145
- for (const provider of availableProviders) {
146
- message += `\n- ${provider.Name}`;
147
- if (provider.IsConfigured) {
148
- message += ` (Configured, ${provider.SupportsSearch ? 'Supports Search' : 'No Search Support'})`;
149
- }
150
- else {
151
- message += ` (Not Configured: ${provider.ConfigurationError})`;
106
+ // Add account details to message for LLM visibility
107
+ message += '\n\nAvailable Storage Accounts:';
108
+ for (const account of availableAccounts) {
109
+ message += `\n- ${account.Name} (${account.ProviderName})`;
110
+ if (account.SupportsSearch) {
111
+ message += ' - Supports Search';
152
112
  }
153
113
  }
154
- // Build output parameters array per ActionResultSimple spec
114
+ // Build output parameters array
155
115
  const outputParams = [
156
116
  {
157
- Name: 'Providers',
158
- Value: availableProviders,
117
+ Name: 'Accounts',
118
+ Value: availableAccounts,
159
119
  Type: 'Output'
160
120
  },
161
121
  {
@@ -163,18 +123,12 @@ let ListStorageProvidersAction = class ListStorageProvidersAction extends base_f
163
123
  Value: totalCount,
164
124
  Type: 'Output'
165
125
  },
166
- {
167
- Name: 'ConfiguredCount',
168
- Value: configuredCount,
169
- Type: 'Output'
170
- },
171
126
  {
172
127
  Name: 'SearchSupportedCount',
173
128
  Value: searchSupportedCount,
174
129
  Type: 'Output'
175
130
  }
176
131
  ];
177
- // Return results
178
132
  return {
179
133
  Success: true,
180
134
  ResultCode: "SUCCESS",
@@ -184,20 +138,20 @@ let ListStorageProvidersAction = class ListStorageProvidersAction extends base_f
184
138
  }
185
139
  catch (error) {
186
140
  const errorMessage = error instanceof Error ? error.message : String(error);
187
- return this.createErrorResult(`Failed to list storage providers: ${errorMessage}`, "LIST_FAILED");
141
+ return this.createErrorResult(`Failed to list storage accounts: ${errorMessage}`, "LIST_FAILED");
188
142
  }
189
143
  }
190
144
  };
191
- exports.ListStorageProvidersAction = ListStorageProvidersAction;
192
- exports.ListStorageProvidersAction = ListStorageProvidersAction = __decorate([
193
- (0, global_1.RegisterClass)(actions_1.BaseAction, "List Storage Providers")
194
- ], ListStorageProvidersAction);
145
+ exports.ListStorageAccountsAction = ListStorageAccountsAction;
146
+ exports.ListStorageAccountsAction = ListStorageAccountsAction = __decorate([
147
+ (0, global_1.RegisterClass)(actions_1.BaseAction, "List Storage Accounts")
148
+ ], ListStorageAccountsAction);
195
149
  /**
196
150
  * Load function to ensure the class is registered and not tree-shaken
197
151
  */
198
- function LoadListStorageProvidersAction() {
152
+ function LoadListStorageAccountsAction() {
199
153
  // This function call ensures the class decorator executes
200
- global_2.MJGlobal.Instance.ClassFactory.GetRegistration(base_file_storage_action_1.BaseFileStorageAction, "List Storage Providers");
154
+ global_2.MJGlobal.Instance.ClassFactory.GetRegistration(base_file_storage_action_1.BaseFileStorageAction, "List Storage Accounts");
201
155
  }
202
- exports.LoadListStorageProvidersAction = LoadListStorageProvidersAction;
156
+ exports.LoadListStorageAccountsAction = LoadListStorageAccountsAction;
203
157
  //# sourceMappingURL=list-storage-providers.action.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-storage-providers.action.js","sourceRoot":"","sources":["../../../src/custom/files/list-storage-providers.action.ts"],"names":[],"mappings":";;;;;;;;;AACA,mDAAuD;AACvD,mDAAkD;AAClD,+CAA+C;AAE/C,qDAA0D;AAC1D,yEAAmE;AACnE,qDAAqD;AAErD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AAEI,IAAM,0BAA0B,GAAhC,MAAM,0BAA2B,SAAQ,gDAAqB;IAEvD,KAAK,CAAC,iBAAiB,CAAC,MAAuB;QACrD,kEAAkE;QAClE,MAAM,mBAAmB,GAAG,IAAI,CAAC,eAAe,CAAC,MAAM,EAAE,qBAAqB,EAAE,KAAK,CAAC,CAAC;QAEvF,IAAI,CAAC;YACD,6EAA6E;YAC7E,IAAI,WAAW,GAAG,YAAY,CAAC;YAC/B,IAAI,mBAAmB,EAAE,CAAC;gBACtB,WAAW,IAAI,uBAAuB,CAAC;YAC3C,CAAC;YAED,wDAAwD;YACxD,MAAM,EAAE,GAAG,IAAI,cAAO,EAAE,CAAC;YACzB,MAAM,MAAM,GAAG,MAAM,EAAE,CAAC,OAAO,CAA4B;gBACv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AAM,EAAE,YAAY;aACD,CAAC;QAE5B,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACb,MAAM,YAAY,GAAG,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;YAC5E,OAAO,IAAI,CAAC,iBAAiB,CACzB,qCAAqC,YAAY,EAAE,EACnD,aAAa,CAChB,CAAC;QACN,CAAC;IACL,CAAC;CACJ,CAAA;AAnKY,gEAA0B;qCAA1B,0BAA0B;IADtC,IAAA,sBAAa,EAAC,oBAAU,EAAE,wBAAwB,CAAC;GACvC,0BAA0B,CAmKtC;AAED;;GAEG;AACH,SAAgB,8BAA8B;IAC1C,0DAA0D;IAC1D,iBAAQ,CAAC,QAAQ,CAAC,YAAY,CAAC,eAAe,CAAC,gDAAqB,EAAE,wBAAwB,CAAC,CAAC;AACpG,CAAC;AAHD,wEAGC"}
1
+ {"version":3,"file":"list-storage-providers.action.js","sourceRoot":"","sources":["../../../src/custom/files/list-storage-providers.action.ts"],"names":[],"mappings":";;;;;;;;;AACA,mDAAuD;AACvD,mDAAkD;AAClD,+CAA+C;AAE/C,yEAAmE;AACnE,qDAAqD;AAErD;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEI,IAAM,yBAAyB,GAA/B,MAAM,yBAA0B,SAAQ,gDAAqB;IAEtD,KAAK,CAAC,iBAAiB,CAAC,MAAuB;QACrD,4EAA4E;QAC5E,MAAM,mBAAmB,GAAG,IAAI,CAAC,eAAe,CAAC,MAAM,EAAE,qBAAqB,EAAE,KAAK,CAAC,CAAC;QAEvF,IAAI,CAAC;YACD,MAAM,EAAE,GAAG,IAAI,cAAO,EAAE,CAAC;YAEzB,0CAA0C;YAC1C,MAAM,CAAC,cAAc,EAAE,eAAe,CAAC,GAAG,MAAM,EAAE,CAAC,QAAQ,CAAC;gBACxD;oBACI,UAAU,EAAE,2BAA2B;oBACvC,WAAW,EAAE,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E,QAAQ;iBACjB;gBACD;oBACI,IAAI,EAAE,sBAAsB;oBAC5B,KAAK,EAAE,oBAAoB;oBAC3B,IAAI,EAAE,QAAQ;iBACjB;aACJ,CAAC;YAEF,OAAO;gBACH,OAAO,EAAE,IAAI;gBACb,UAAU,EAAE,SAAS;gBACrB,OAAO,EAAE,OAAO;gBAChB,MAAM,EAAE,YAAY;aACD,CAAC;QAE5B,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACb,MAAM,YAAY,GAAG,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;YAC5E,OAAO,IAAI,CAAC,iBAAiB,CACzB,oCAAoC,YAAY,EAAE,EAClD,aAAa,CAChB,CAAC;QACN,CAAC;IACL,CAAC;CACJ,CAAA;AArIY,8DAAyB;oCAAzB,yBAAyB;IADrC,IAAA,sBAAa,EAAC,oBAAU,EAAE,uBAAuB,CAAC;GACtC,yBAAyB,CAqIrC;AAED;;GAEG;AACH,SAAgB,6BAA6B;IACzC,0DAA0D;IAC1D,iBAAQ,CAAC,QAAQ,CAAC,YAAY,CAAC,eAAe,CAAC,gDAAqB,EAAE,uBAAuB,CAAC,CAAC;AACnG,CAAC;AAHD,sEAGC"}
@@ -8,7 +8,7 @@ import { BaseFileStorageAction } from "./base-file-storage.action";
8
8
  * await runAction({
9
9
  * ActionName: 'Move Storage Object',
10
10
  * Params: [{
11
- * Name: 'StorageProvider',
11
+ * Name: 'StorageAccount',
12
12
  * Value: 'Box.com'
13
13
  * }, {
14
14
  * Name: 'SourceObjectName',
@@ -25,7 +25,7 @@ export declare class MoveObjectAction extends BaseFileStorageAction {
25
25
  * Move/rename 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: 'Move Storage Object',
20
20
  * Params: [{
21
- * Name: 'StorageProvider',
21
+ * Name: 'StorageAccount',
22
22
  * Value: 'Box.com'
23
23
  * }, {
24
24
  * Name: 'SourceObjectName',
@@ -35,7 +35,7 @@ let MoveObjectAction = class MoveObjectAction extends base_file_storage_action_1
35
35
  * Move/rename 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: 'Check Storage Object Exists',
10
10
  * Params: [{
11
- * Name: 'StorageProvider',
11
+ * Name: 'StorageAccount',
12
12
  * Value: 'Google Drive'
13
13
  * }, {
14
14
  * Name: 'ObjectName',
@@ -22,7 +22,7 @@ export declare class ObjectExistsAction extends BaseFileStorageAction {
22
22
  * Check if a file object 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
  * - 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: 'Check Storage Object Exists',
20
20
  * Params: [{
21
- * Name: 'StorageProvider',
21
+ * Name: 'StorageAccount',
22
22
  * Value: 'Google Drive'
23
23
  * }, {
24
24
  * Name: 'ObjectName',
@@ -32,7 +32,7 @@ let ObjectExistsAction = class ObjectExistsAction extends base_file_storage_acti
32
32
  * Check if a file object 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
  * - ObjectName: Required - Name/path of the object
37
37
  *
38
38
  * @returns Operation result with:
@@ -21,7 +21,7 @@ import { BaseFileStorageAction } from "./base-file-storage.action";
21
21
  * Name: 'Query',
22
22
  * Value: 'quarterly report'
23
23
  * }, {
24
- * Name: 'StorageProvider',
24
+ * Name: 'StorageAccount',
25
25
  * Value: 'Google Drive - Marketing'
26
26
  * }]
27
27
  * });
@@ -33,7 +33,7 @@ import { BaseFileStorageAction } from "./base-file-storage.action";
33
33
  * Name: 'Query',
34
34
  * Value: 'budget 2024'
35
35
  * }, {
36
- * Name: 'StorageProvider',
36
+ * Name: 'StorageAccount',
37
37
  * Value: 'SharePoint - Finance'
38
38
  * }, {
39
39
  * Name: 'FileTypes',
@@ -33,7 +33,7 @@ const actions_1 = require("@memberjunction/actions");
33
33
  * Name: 'Query',
34
34
  * Value: 'quarterly report'
35
35
  * }, {
36
- * Name: 'StorageProvider',
36
+ * Name: 'StorageAccount',
37
37
  * Value: 'Google Drive - Marketing'
38
38
  * }]
39
39
  * });
@@ -45,7 +45,7 @@ const actions_1 = require("@memberjunction/actions");
45
45
  * Name: 'Query',
46
46
  * Value: 'budget 2024'
47
47
  * }, {
48
- * Name: 'StorageProvider',
48
+ * Name: 'StorageAccount',
49
49
  * Value: 'SharePoint - Finance'
50
50
  * }, {
51
51
  * Name: 'FileTypes',
@@ -70,7 +70,7 @@ let SearchStorageFilesAction = class SearchStorageFilesAction extends base_file_
70
70
  if (!query) {
71
71
  return this.createErrorResult("Query parameter is required", "MISSING_QUERY");
72
72
  }
73
- // Get storage driver (uses StorageProvider parameter via base class)
73
+ // Get storage driver (uses StorageAccount parameter via base class)
74
74
  const { driver, error } = await this.getDriverFromParams(params);
75
75
  if (error) {
76
76
  return error;
@@ -1 +1 @@
1
- {"version":3,"file":"search-storage-files.action.js","sourceRoot":"","sources":["../../../src/custom/files/search-storage-files.action.ts"],"names":[],"mappings":";;;;;;;;;AACA,mDAAuD;AACvD,mDAAkD;AAClD,qDAIiC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,IAAI,EAAE,eAAe;oBACrB,KAAK,EAAE,aAAa,CAAC,aAAa;oBAClC,IAAI,EAAE,QAAQ;iBACjB;aACJ,CAAC;YAEF,OAAO;gBACH,OAAO,EAAE,IAAI;gBACb,UAAU,EAAE,SAAS;gBACrB,OAAO,EAAE,SAAS,aAAa,CAAC,OAAO,CAAC,MAAM,4BAA4B,KAAK,GAAG;gBAClF,MAAM,EAAE,YAAY;aACD,CAAC;QAE5B,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACb,8BAA8B;YAC9B,IAAI,KAAK,YAAY,mCAAyB,EAAE,CAAC;gBAC7C,OAAO,IAAI,CAAC,iBAAiB,CACzB,kMAAkM,EAClM,sBAAsB,CACzB,CAAC;YACN,CAAC;YAED,sBAAsB;YACtB,MAAM,YAAY,GAAG,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;YAC5E,OAAO,IAAI,CAAC,iBAAiB,CACzB,kBAAkB,YAAY,EAAE,EAChC,eAAe,CAClB,CAAC;QACN,CAAC;IACL,CAAC;CACJ,CAAA;AAtJY,4DAAwB;mCAAxB,wBAAwB;IADpC,IAAA,sBAAa,EAAC,oBAAU,EAAE,sBAAsB,CAAC;GACrC,wBAAwB,CAsJpC;AAED;;GAEG;AACH,SAAgB,4BAA4B;IACxC,0DAA0D;IAC1D,iBAAQ,CAAC,QAAQ,CAAC,YAAY,CAAC,eAAe,CAAC,gDAAqB,EAAE,sBAAsB,CAAC,CAAC;AAClG,CAAC;AAHD,oEAGC"}
1
+ {"version":3,"file":"search-storage-files.action.js","sourceRoot":"","sources":["../../../src/custom/files/search-storage-files.action.ts"],"names":[],"mappings":";;;;;;;;;AACA,mDAAuD;AACvD,mDAAkD;AAClD,qDAIiC;AACjC,yEAAmE;AACnE,qDAAqD;AAErD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA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AAC;YAEF,OAAO;gBACH,OAAO,EAAE,IAAI;gBACb,UAAU,EAAE,SAAS;gBACrB,OAAO,EAAE,SAAS,aAAa,CAAC,OAAO,CAAC,MAAM,4BAA4B,KAAK,GAAG;gBAClF,MAAM,EAAE,YAAY;aACD,CAAC;QAE5B,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACb,8BAA8B;YAC9B,IAAI,KAAK,YAAY,mCAAyB,EAAE,CAAC;gBAC7C,OAAO,IAAI,CAAC,iBAAiB,CACzB,kMAAkM,EAClM,sBAAsB,CACzB,CAAC;YACN,CAAC;YAED,sBAAsB;YACtB,MAAM,YAAY,GAAG,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;YAC5E,OAAO,IAAI,CAAC,iBAAiB,CACzB,kBAAkB,YAAY,EAAE,EAChC,eAAe,CAClB,CAAC;QACN,CAAC;IACL,CAAC;CACJ,CAAA;AAtJY,4DAAwB;mCAAxB,wBAAwB;IADpC,IAAA,sBAAa,EAAC,oBAAU,EAAE,sBAAsB,CAAC;GACrC,wBAAwB,CAsJpC;AAED;;GAEG;AACH,SAAgB,4BAA4B;IACxC,0DAA0D;IAC1D,iBAAQ,CAAC,QAAQ,CAAC,YAAY,CAAC,eAAe,CAAC,gDAAqB,EAAE,sBAAsB,CAAC,CAAC;AAClG,CAAC;AAHD,oEAGC"}
package/dist/index.js CHANGED
@@ -256,7 +256,7 @@ function LoadAllCoreActions() {
256
256
  (0, create_directory_action_1.LoadCreateDirectoryAction)();
257
257
  (0, delete_directory_action_1.LoadDeleteDirectoryAction)();
258
258
  (0, search_storage_files_action_1.LoadSearchStorageFilesAction)();
259
- (0, list_storage_providers_action_1.LoadListStorageProvidersAction)();
259
+ (0, list_storage_providers_action_1.LoadListStorageAccountsAction)();
260
260
  (0, http_request_action_1.LoadHTTPRequestAction)();
261
261
  (0, graphql_query_action_1.LoadGraphQLQueryAction)();
262
262
  (0, oauth_flow_action_1.LoadOAuthFlowAction)();