@major-tech/resource-client 0.2.21 → 0.2.22

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.
@@ -8,7 +8,7 @@
8
8
  * npx @major-tech/resource-client remove <name>
9
9
  * npx @major-tech/resource-client list
10
10
  *
11
- * Types: database-postgresql | database-mssql | database-dynamodb | database-cosmosdb | database-snowflake | database-bigquery | api-hubspot | api-googlesheets | api-custom | api-lambda | api-salesforce | storage-s3
11
+ * Types: database-postgresql | database-mssql | database-dynamodb | database-cosmosdb | database-snowflake | database-bigquery | api-hubspot | api-googlesheets | api-outreach | api-custom | api-lambda | api-salesforce | storage-s3
12
12
  *
13
13
  * Examples:
14
14
  * npx @major-tech/resource-client add "abc-123" "orders-db" "database-postgresql" "Orders database" "app-123"
@@ -150,6 +150,7 @@ function getClientClass(type) {
150
150
  'api-hubspot': 'HubSpotResourceClient',
151
151
  'api-googlesheets': 'GoogleSheetsResourceClient',
152
152
  'api-lambda': 'LambdaResourceClient',
153
+ 'api-outreach': 'OutreachResourceClient',
153
154
  'api-salesforce': 'SalesforceResourceClient',
154
155
  'storage-s3': 'S3ResourceClient',
155
156
  };
@@ -185,7 +186,7 @@ function generateIndexFile(resources) {
185
186
  }
186
187
 
187
188
  function addResource(resourceId, name, type, description, applicationId, framework) {
188
- const validTypes = ['database-postgresql', 'database-mssql', 'database-dynamodb', 'database-cosmosdb', 'database-snowflake', 'database-bigquery', 'api-hubspot', 'api-googlesheets', 'api-custom', 'api-lambda', 'api-salesforce', 'storage-s3'];
189
+ const validTypes = ['database-postgresql', 'database-mssql', 'database-dynamodb', 'database-cosmosdb', 'database-snowflake', 'database-bigquery', 'api-hubspot', 'api-googlesheets', 'api-outreach', 'api-custom', 'api-lambda', 'api-salesforce', 'storage-s3'];
189
190
  if (!validTypes.includes(type)) {
190
191
  console.error(`❌ Invalid type: ${type}`);
191
192
  console.error(` Valid types: ${validTypes.join(', ')}`);
@@ -322,7 +323,7 @@ function main() {
322
323
  console.log(' npx @major-tech/resource-client add <resource_id> <name> <type> <description> <application_id> [--framework <nextjs|vite>]');
323
324
  console.log(' npx @major-tech/resource-client remove <name> [--framework <nextjs|vite>]');
324
325
  console.log(' npx @major-tech/resource-client list');
325
- console.log('\nTypes: database-postgresql | database-mssql | database-dynamodb | database-cosmosdb | database-snowflake | database-bigquery | api-hubspot | api-googlesheets | api-custom | api-lambda | api-salesforce | storage-s3');
326
+ console.log('\nTypes: database-postgresql | database-mssql | database-dynamodb | database-cosmosdb | database-snowflake | database-bigquery | api-hubspot | api-googlesheets | api-outreach | api-custom | api-lambda | api-salesforce | storage-s3');
326
327
  return;
327
328
  }
328
329
 
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+ var outreach_exports = {};
21
+ __export(outreach_exports, {
22
+ OutreachResourceClient: () => OutreachResourceClient
23
+ });
24
+ module.exports = __toCommonJS(outreach_exports);
25
+ var import_base = require("../base");
26
+ class OutreachResourceClient extends import_base.BaseResourceClient {
27
+ static {
28
+ __name(this, "OutreachResourceClient");
29
+ }
30
+ /**
31
+ * Invoke an Outreach API endpoint
32
+ *
33
+ * @param method - HTTP method (GET, POST, PUT, PATCH, DELETE)
34
+ * @param path - Outreach API path (e.g., "/api/v2/prospects")
35
+ * @param invocationKey - Unique key for this invocation (for idempotency/tracking)
36
+ * @param options - Optional query params, body, and timeout
37
+ */
38
+ async invoke(method, path, invocationKey, options = {}) {
39
+ const payload = {
40
+ type: "api",
41
+ subtype: "outreach",
42
+ method,
43
+ path,
44
+ queryParams: options.queryParams,
45
+ body: options.body,
46
+ timeoutMs: options.timeoutMs || 3e4
47
+ };
48
+ return this.invokeRaw(payload, invocationKey);
49
+ }
50
+ }
51
+ //# sourceMappingURL=outreach.cjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/clients/outreach.ts"],
4
+ "sourcesContent": ["import type {\n HttpMethod,\n QueryParams,\n ApiOutreachPayload,\n OutreachInvokeResponse,\n} from \"../schemas\";\nimport { BaseResourceClient } from \"../base\";\n\nexport class OutreachResourceClient extends BaseResourceClient {\n /**\n * Invoke an Outreach API endpoint\n *\n * @param method - HTTP method (GET, POST, PUT, PATCH, DELETE)\n * @param path - Outreach API path (e.g., \"/api/v2/prospects\")\n * @param invocationKey - Unique key for this invocation (for idempotency/tracking)\n * @param options - Optional query params, body, and timeout\n */\n async invoke(\n method: HttpMethod,\n path: string,\n invocationKey: string,\n options: {\n queryParams?: QueryParams;\n body?: Record<string, unknown>;\n timeoutMs?: number;\n } = {}\n ): Promise<OutreachInvokeResponse> {\n const payload: ApiOutreachPayload = {\n type: \"api\",\n subtype: \"outreach\",\n method,\n path,\n queryParams: options.queryParams,\n body: options.body,\n timeoutMs: options.timeoutMs || 30000,\n };\n\n return this.invokeRaw(payload, invocationKey) as Promise<OutreachInvokeResponse>;\n }\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;AAMA;;;;;AAAA,kBAAmC;AAE7B,MAAO,+BAA+B,+BAAkB;EAF9D,OAE8D;;;;;;;;;;;EAS5D,MAAM,OACJ,QACA,MACA,eACA,UAII,CAAA,GAAE;AAEN,UAAM,UAA8B;MAClC,MAAM;MACN,SAAS;MACT;MACA;MACA,aAAa,QAAQ;MACrB,MAAM,QAAQ;MACd,WAAW,QAAQ,aAAa;;AAGlC,WAAO,KAAK,UAAU,SAAS,aAAa;EAC9C;;",
6
+ "names": []
7
+ }
@@ -0,0 +1,18 @@
1
+ import type { HttpMethod, QueryParams, OutreachInvokeResponse } from "../schemas";
2
+ import { BaseResourceClient } from "../base";
3
+ export declare class OutreachResourceClient extends BaseResourceClient {
4
+ /**
5
+ * Invoke an Outreach API endpoint
6
+ *
7
+ * @param method - HTTP method (GET, POST, PUT, PATCH, DELETE)
8
+ * @param path - Outreach API path (e.g., "/api/v2/prospects")
9
+ * @param invocationKey - Unique key for this invocation (for idempotency/tracking)
10
+ * @param options - Optional query params, body, and timeout
11
+ */
12
+ invoke(method: HttpMethod, path: string, invocationKey: string, options?: {
13
+ queryParams?: QueryParams;
14
+ body?: Record<string, unknown>;
15
+ timeoutMs?: number;
16
+ }): Promise<OutreachInvokeResponse>;
17
+ }
18
+ //# sourceMappingURL=outreach.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"outreach.d.ts","sourceRoot":"","sources":["../../src/clients/outreach.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,UAAU,EACV,WAAW,EAEX,sBAAsB,EACvB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAE7C,qBAAa,sBAAuB,SAAQ,kBAAkB;IAC5D;;;;;;;OAOG;IACG,MAAM,CACV,MAAM,EAAE,UAAU,EAClB,IAAI,EAAE,MAAM,EACZ,aAAa,EAAE,MAAM,EACrB,OAAO,GAAE;QACP,WAAW,CAAC,EAAE,WAAW,CAAC;QAC1B,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;QAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;KACf,GACL,OAAO,CAAC,sBAAsB,CAAC;CAanC"}
@@ -0,0 +1,24 @@
1
+ import { BaseResourceClient } from "../base";
2
+ export class OutreachResourceClient extends BaseResourceClient {
3
+ /**
4
+ * Invoke an Outreach API endpoint
5
+ *
6
+ * @param method - HTTP method (GET, POST, PUT, PATCH, DELETE)
7
+ * @param path - Outreach API path (e.g., "/api/v2/prospects")
8
+ * @param invocationKey - Unique key for this invocation (for idempotency/tracking)
9
+ * @param options - Optional query params, body, and timeout
10
+ */
11
+ async invoke(method, path, invocationKey, options = {}) {
12
+ const payload = {
13
+ type: "api",
14
+ subtype: "outreach",
15
+ method,
16
+ path,
17
+ queryParams: options.queryParams,
18
+ body: options.body,
19
+ timeoutMs: options.timeoutMs || 30000,
20
+ };
21
+ return this.invokeRaw(payload, invocationKey);
22
+ }
23
+ }
24
+ //# sourceMappingURL=outreach.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"outreach.js","sourceRoot":"","sources":["../../src/clients/outreach.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAE7C,MAAM,OAAO,sBAAuB,SAAQ,kBAAkB;IAC5D;;;;;;;OAOG;IACH,KAAK,CAAC,MAAM,CACV,MAAkB,EAClB,IAAY,EACZ,aAAqB,EACrB,UAII,EAAE;QAEN,MAAM,OAAO,GAAuB;YAClC,IAAI,EAAE,KAAK;YACX,OAAO,EAAE,UAAU;YACnB,MAAM;YACN,IAAI;YACJ,WAAW,EAAE,OAAO,CAAC,WAAW;YAChC,IAAI,EAAE,OAAO,CAAC,IAAI;YAClB,SAAS,EAAE,OAAO,CAAC,SAAS,IAAI,KAAK;SACtC,CAAC;QAEF,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,EAAE,aAAa,CAAoC,CAAC;IACnF,CAAC;CACF"}
package/dist/index.cjs CHANGED
@@ -28,6 +28,7 @@ __export(index_exports, {
28
28
  HubSpotResourceClient: () => import_hubspot.HubSpotResourceClient,
29
29
  LambdaResourceClient: () => import_lambda.LambdaResourceClient,
30
30
  MssqlResourceClient: () => import_mssql.MssqlResourceClient,
31
+ OutreachResourceClient: () => import_outreach.OutreachResourceClient,
31
32
  PostgresResourceClient: () => import_postgres.PostgresResourceClient,
32
33
  ResourceInvokeError: () => import_errors.ResourceInvokeError,
33
34
  S3ResourceClient: () => import_s3.S3ResourceClient,
@@ -50,5 +51,6 @@ var import_googlesheets = require("./clients/googlesheets");
50
51
  var import_s3 = require("./clients/s3");
51
52
  var import_lambda = require("./clients/lambda");
52
53
  var import_bigquery = require("./clients/bigquery");
54
+ var import_outreach = require("./clients/outreach");
53
55
  __reExport(index_exports, require("./payload-builders"), module.exports);
54
56
  //# sourceMappingURL=index.cjs.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../src/index.ts"],
4
- "sourcesContent": ["// Export all schemas and types\nexport * from \"./schemas\";\n\n// Export base client and config\nexport { BaseResourceClient, type BaseClientConfig } from \"./base\";\n\n// Export errors\nexport { ResourceInvokeError } from \"./errors\";\n\n// Export individual clients\nexport { PostgresResourceClient } from \"./clients/postgres\";\nexport { MssqlResourceClient } from \"./clients/mssql\";\nexport { DynamoDBResourceClient } from \"./clients/dynamodb\";\nexport { CosmosDBResourceClient } from \"./clients/cosmosdb\";\nexport { SnowflakeResourceClient } from \"./clients/snowflake\";\nexport { CustomApiResourceClient } from \"./clients/api-custom\";\nexport { HubSpotResourceClient } from \"./clients/hubspot\";\nexport { SalesforceResourceClient } from \"./clients/salesforce\";\nexport { GoogleSheetsResourceClient } from \"./clients/googlesheets\";\nexport { S3ResourceClient } from \"./clients/s3\";\nexport { LambdaResourceClient } from \"./clients/lambda\";\nexport { BigQueryResourceClient } from \"./clients/bigquery\";\n\n// Export payload builders (for use in testing UIs, etc.)\nexport * from \"./payload-builders\";\n\n// Re-export common response types for convenience\nexport type {\n DatabaseInvokeResponse,\n DynamoDBInvokeResponse,\n CosmosDBInvokeResponse,\n SnowflakeInvokeResponse,\n ApiInvokeResponse,\n StorageInvokeResponse,\n LambdaInvokeResponse,\n BigQueryInvokeResponse,\n BaseInvokeSuccess,\n} from \"./schemas/response\";\n\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;AACA,0BAAc,sBADd;AAIA,kBAA0D;AAG1D,oBAAoC;AAGpC,sBAAuC;AACvC,mBAAoC;AACpC,sBAAuC;AACvC,sBAAuC;AACvC,uBAAwC;AACxC,wBAAwC;AACxC,qBAAsC;AACtC,wBAAyC;AACzC,0BAA2C;AAC3C,gBAAiC;AACjC,oBAAqC;AACrC,sBAAuC;AAGvC,0BAAc,+BAxBd;",
4
+ "sourcesContent": ["// Export all schemas and types\nexport * from \"./schemas\";\n\n// Export base client and config\nexport { BaseResourceClient, type BaseClientConfig } from \"./base\";\n\n// Export errors\nexport { ResourceInvokeError } from \"./errors\";\n\n// Export individual clients\nexport { PostgresResourceClient } from \"./clients/postgres\";\nexport { MssqlResourceClient } from \"./clients/mssql\";\nexport { DynamoDBResourceClient } from \"./clients/dynamodb\";\nexport { CosmosDBResourceClient } from \"./clients/cosmosdb\";\nexport { SnowflakeResourceClient } from \"./clients/snowflake\";\nexport { CustomApiResourceClient } from \"./clients/api-custom\";\nexport { HubSpotResourceClient } from \"./clients/hubspot\";\nexport { SalesforceResourceClient } from \"./clients/salesforce\";\nexport { GoogleSheetsResourceClient } from \"./clients/googlesheets\";\nexport { S3ResourceClient } from \"./clients/s3\";\nexport { LambdaResourceClient } from \"./clients/lambda\";\nexport { BigQueryResourceClient } from \"./clients/bigquery\";\nexport { OutreachResourceClient } from \"./clients/outreach\";\n\n// Export payload builders (for use in testing UIs, etc.)\nexport * from \"./payload-builders\";\n\n// Re-export common response types for convenience\nexport type {\n DatabaseInvokeResponse,\n DynamoDBInvokeResponse,\n CosmosDBInvokeResponse,\n SnowflakeInvokeResponse,\n ApiInvokeResponse,\n StorageInvokeResponse,\n LambdaInvokeResponse,\n BigQueryInvokeResponse,\n OutreachInvokeResponse,\n BaseInvokeSuccess,\n} from \"./schemas/response\";\n\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;AACA,0BAAc,sBADd;AAIA,kBAA0D;AAG1D,oBAAoC;AAGpC,sBAAuC;AACvC,mBAAoC;AACpC,sBAAuC;AACvC,sBAAuC;AACvC,uBAAwC;AACxC,wBAAwC;AACxC,qBAAsC;AACtC,wBAAyC;AACzC,0BAA2C;AAC3C,gBAAiC;AACjC,oBAAqC;AACrC,sBAAuC;AACvC,sBAAuC;AAGvC,0BAAc,+BAzBd;",
6
6
  "names": []
7
7
  }
package/dist/index.d.ts CHANGED
@@ -13,6 +13,7 @@ export { GoogleSheetsResourceClient } from "./clients/googlesheets";
13
13
  export { S3ResourceClient } from "./clients/s3";
14
14
  export { LambdaResourceClient } from "./clients/lambda";
15
15
  export { BigQueryResourceClient } from "./clients/bigquery";
16
+ export { OutreachResourceClient } from "./clients/outreach";
16
17
  export * from "./payload-builders";
17
- export type { DatabaseInvokeResponse, DynamoDBInvokeResponse, CosmosDBInvokeResponse, SnowflakeInvokeResponse, ApiInvokeResponse, StorageInvokeResponse, LambdaInvokeResponse, BigQueryInvokeResponse, BaseInvokeSuccess, } from "./schemas/response";
18
+ export type { DatabaseInvokeResponse, DynamoDBInvokeResponse, CosmosDBInvokeResponse, SnowflakeInvokeResponse, ApiInvokeResponse, StorageInvokeResponse, LambdaInvokeResponse, BigQueryInvokeResponse, OutreachInvokeResponse, BaseInvokeSuccess, } from "./schemas/response";
18
19
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,WAAW,CAAC;AAG1B,OAAO,EAAE,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAGnE,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAG/C,OAAO,EAAE,sBAA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AAoB,CAAC;AAC5D,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAG5D,cAAc,oBAAoB,CAAC;AAGnC,YAAY,EACV,sBAAsB,EACtB,sBAAsB,EACtB,sBAAsB,EACtB,uBAAuB,EACvB,iBAAiB,EACjB,qBAAqB,EACrB,oBAAoB,EACpB,sBAAsB,EACtB,sBAAsB,EACtB,iBAAiB,GAClB,MAAM,oBAAoB,CAAC"}
package/dist/index.js CHANGED
@@ -17,6 +17,7 @@ export { GoogleSheetsResourceClient } from "./clients/googlesheets";
17
17
  export { S3ResourceClient } from "./clients/s3";
18
18
  export { LambdaResourceClient } from "./clients/lambda";
19
19
  export { BigQueryResourceClient } from "./clients/bigquery";
20
+ export { OutreachResourceClient } from "./clients/outreach";
20
21
  // Export payload builders (for use in testing UIs, etc.)
21
22
  export * from "./payload-builders";
22
23
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,cAAc,WAAW,CAAC;AAE1B,gCAAgC;AAChC,OAAO,EAAE,kBAAkB,EAAyB,MAAM,QAAQ,CAAC;AAEnE,gBAAgB;AAChB,OAAO,EAAE,mBAAmB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,qBAAqB,CAAC;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAE5D,yDAAyD;AACzD,cAAc,oBAAoB,CAAC"}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
+ var api_outreach_exports = {};
16
+ module.exports = __toCommonJS(api_outreach_exports);
17
+ //# sourceMappingURL=api-outreach.cjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["api-outreach.js"],
4
+ "sourcesContent": ["export {};\n//# sourceMappingURL=api-outreach.js.map"],
5
+ "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;",
6
+ "names": []
7
+ }
@@ -0,0 +1,32 @@
1
+ import type { HttpMethod, QueryParams } from "./common";
2
+ /**
3
+ * Payload for invoking an Outreach API resource
4
+ * Note: Outreach S2S authentication is handled automatically by the API
5
+ */
6
+ export interface ApiOutreachPayload {
7
+ type: "api";
8
+ subtype: "outreach";
9
+ /** HTTP method to use */
10
+ method: HttpMethod;
11
+ /** Outreach API path (e.g., "/api/v2/prospects") */
12
+ path: string;
13
+ /** Optional query parameters */
14
+ queryParams?: QueryParams;
15
+ /** Optional JSON body */
16
+ body?: Record<string, unknown>;
17
+ /** Optional timeout in milliseconds (default: 30000) */
18
+ timeoutMs?: number;
19
+ }
20
+ /**
21
+ * Result from an Outreach API invocation
22
+ */
23
+ export interface ApiOutreachResult {
24
+ kind: "outreach";
25
+ /** HTTP status code from Outreach API */
26
+ statusCode: number;
27
+ /** Response data from Outreach API */
28
+ data: unknown;
29
+ /** Response headers (optional) */
30
+ headers?: Record<string, string>;
31
+ }
32
+ //# sourceMappingURL=api-outreach.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api-outreach.d.ts","sourceRoot":"","sources":["../../src/schemas/api-outreach.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAExD;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,KAAK,CAAC;IACZ,OAAO,EAAE,UAAU,CAAC;IACpB,yBAAyB;IACzB,MAAM,EAAE,UAAU,CAAC;IACnB,oDAAoD;IACpD,IAAI,EAAE,MAAM,CAAC;IACb,gCAAgC;IAChC,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,yBAAyB;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/B,wDAAwD;IACxD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,UAAU,CAAC;IACjB,yCAAyC;IACzC,UAAU,EAAE,MAAM,CAAC;IACnB,sCAAsC;IACtC,IAAI,EAAE,OAAO,CAAC;IACd,kCAAkC;IAClC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAClC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=api-outreach.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api-outreach.js","sourceRoot":"","sources":["../../src/schemas/api-outreach.ts"],"names":[],"mappings":""}
@@ -26,6 +26,7 @@ __reExport(index_exports, require("./api-custom"), module.exports);
26
26
  __reExport(index_exports, require("./api-hubspot"), module.exports);
27
27
  __reExport(index_exports, require("./api-salesforce"), module.exports);
28
28
  __reExport(index_exports, require("./api-googlesheets"), module.exports);
29
+ __reExport(index_exports, require("./api-outreach"), module.exports);
29
30
  __reExport(index_exports, require("./lambda"), module.exports);
30
31
  __reExport(index_exports, require("./bigquery"), module.exports);
31
32
  __reExport(index_exports, require("./request"), module.exports);
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/schemas/index.ts"],
4
- "sourcesContent": ["// Re-export all types\nexport * from \"./common\";\nexport * from \"./postgres\";\nexport * from \"./mssql\";\nexport * from \"./dynamodb\";\nexport * from \"./cosmosdb\";\nexport * from \"./snowflake\";\nexport * from \"./s3\";\nexport * from \"./api-custom\";\nexport * from \"./api-hubspot\";\nexport * from \"./api-salesforce\";\nexport * from \"./api-googlesheets\";\nexport * from \"./lambda\";\nexport * from \"./bigquery\";\nexport * from \"./request\";\nexport * from \"./response\";\n\n// Import for discriminated union\nimport type { ApiCustomPayload } from \"./api-custom\";\nimport type { ApiHubSpotPayload } from \"./api-hubspot\";\nimport type { ApiSalesforcePayload } from \"./api-salesforce\";\nimport type { ApiGoogleSheetsPayload } from \"./api-googlesheets\";\nimport type { DbPostgresPayload } from \"./postgres\";\nimport type { DbMssqlPayload } from \"./mssql\";\nimport type { DbDynamoDBPayload } from \"./dynamodb\";\nimport type { DbCosmosDBPayload } from \"./cosmosdb\";\nimport type { DbSnowflakePayload } from \"./snowflake\";\nimport type { StorageS3Payload } from \"./s3\";\nimport type { ApiLambdaPayload } from \"./lambda\";\nimport type { DbBigQueryPayload } from \"./bigquery\";\n\n/**\n * Discriminated union of all resource payload types\n * Use the 'subtype' field to narrow the type\n */\nexport type ResourceInvokePayload =\n | ApiCustomPayload\n | DbPostgresPayload\n | DbMssqlPayload\n | DbDynamoDBPayload\n | DbCosmosDBPayload\n | DbSnowflakePayload\n | ApiHubSpotPayload\n | ApiSalesforcePayload\n | ApiGoogleSheetsPayload\n | StorageS3Payload\n | ApiLambdaPayload\n | DbBigQueryPayload;\n\n"],
5
- "mappings": ";;;;;;;;;;;;;;;AAAA;;AACA,0BAAc,qBADd;AAEA,0BAAc,uBAFd;AAGA,0BAAc,oBAHd;AAIA,0BAAc,uBAJd;AAKA,0BAAc,uBALd;AAMA,0BAAc,wBANd;AAOA,0BAAc,iBAPd;AAQA,0BAAc,yBARd;AASA,0BAAc,0BATd;AAUA,0BAAc,6BAVd;AAWA,0BAAc,+BAXd;AAYA,0BAAc,qBAZd;AAaA,0BAAc,uBAbd;AAcA,0BAAc,sBAdd;AAeA,0BAAc,uBAfd;",
4
+ "sourcesContent": ["// Re-export all types\nexport * from \"./common\";\nexport * from \"./postgres\";\nexport * from \"./mssql\";\nexport * from \"./dynamodb\";\nexport * from \"./cosmosdb\";\nexport * from \"./snowflake\";\nexport * from \"./s3\";\nexport * from \"./api-custom\";\nexport * from \"./api-hubspot\";\nexport * from \"./api-salesforce\";\nexport * from \"./api-googlesheets\";\nexport * from \"./api-outreach\";\nexport * from \"./lambda\";\nexport * from \"./bigquery\";\nexport * from \"./request\";\nexport * from \"./response\";\n\n// Import for discriminated union\nimport type { ApiCustomPayload } from \"./api-custom\";\nimport type { ApiHubSpotPayload } from \"./api-hubspot\";\nimport type { ApiSalesforcePayload } from \"./api-salesforce\";\nimport type { ApiGoogleSheetsPayload } from \"./api-googlesheets\";\nimport type { ApiOutreachPayload } from \"./api-outreach\";\nimport type { DbPostgresPayload } from \"./postgres\";\nimport type { DbMssqlPayload } from \"./mssql\";\nimport type { DbDynamoDBPayload } from \"./dynamodb\";\nimport type { DbCosmosDBPayload } from \"./cosmosdb\";\nimport type { DbSnowflakePayload } from \"./snowflake\";\nimport type { StorageS3Payload } from \"./s3\";\nimport type { ApiLambdaPayload } from \"./lambda\";\nimport type { DbBigQueryPayload } from \"./bigquery\";\n\n/**\n * Discriminated union of all resource payload types\n * Use the 'subtype' field to narrow the type\n */\nexport type ResourceInvokePayload =\n | ApiCustomPayload\n | DbPostgresPayload\n | DbMssqlPayload\n | DbDynamoDBPayload\n | DbCosmosDBPayload\n | DbSnowflakePayload\n | ApiHubSpotPayload\n | ApiSalesforcePayload\n | ApiGoogleSheetsPayload\n | ApiOutreachPayload\n | StorageS3Payload\n | ApiLambdaPayload\n | DbBigQueryPayload;\n\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;AAAA;;AACA,0BAAc,qBADd;AAEA,0BAAc,uBAFd;AAGA,0BAAc,oBAHd;AAIA,0BAAc,uBAJd;AAKA,0BAAc,uBALd;AAMA,0BAAc,wBANd;AAOA,0BAAc,iBAPd;AAQA,0BAAc,yBARd;AASA,0BAAc,0BATd;AAUA,0BAAc,6BAVd;AAWA,0BAAc,+BAXd;AAYA,0BAAc,2BAZd;AAaA,0BAAc,qBAbd;AAcA,0BAAc,uBAdd;AAeA,0BAAc,sBAfd;AAgBA,0BAAc,uBAhBd;",
6
6
  "names": []
7
7
  }
@@ -9,6 +9,7 @@ export * from "./api-custom";
9
9
  export * from "./api-hubspot";
10
10
  export * from "./api-salesforce";
11
11
  export * from "./api-googlesheets";
12
+ export * from "./api-outreach";
12
13
  export * from "./lambda";
13
14
  export * from "./bigquery";
14
15
  export * from "./request";
@@ -17,6 +18,7 @@ import type { ApiCustomPayload } from "./api-custom";
17
18
  import type { ApiHubSpotPayload } from "./api-hubspot";
18
19
  import type { ApiSalesforcePayload } from "./api-salesforce";
19
20
  import type { ApiGoogleSheetsPayload } from "./api-googlesheets";
21
+ import type { ApiOutreachPayload } from "./api-outreach";
20
22
  import type { DbPostgresPayload } from "./postgres";
21
23
  import type { DbMssqlPayload } from "./mssql";
22
24
  import type { DbDynamoDBPayload } from "./dynamodb";
@@ -29,5 +31,5 @@ import type { DbBigQueryPayload } from "./bigquery";
29
31
  * Discriminated union of all resource payload types
30
32
  * Use the 'subtype' field to narrow the type
31
33
  */
32
- export type ResourceInvokePayload = ApiCustomPayload | DbPostgresPayload | DbMssqlPayload | DbDynamoDBPayload | DbCosmosDBPayload | DbSnowflakePayload | ApiHubSpotPayload | ApiSalesforcePayload | ApiGoogleSheetsPayload | StorageS3Payload | ApiLambdaPayload | DbBigQueryPayload;
34
+ export type ResourceInvokePayload = ApiCustomPayload | DbPostgresPayload | DbMssqlPayload | DbDynamoDBPayload | DbCosmosDBPayload | DbSnowflakePayload | ApiHubSpotPayload | ApiSalesforcePayload | ApiGoogleSheetsPayload | ApiOutreachPayload | StorageS3Payload | ApiLambdaPayload | DbBigQueryPayload;
33
35
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AACA,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,MAAM,CAAC;AACrB,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAG3B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,KAAK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zB,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAG3B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AACjE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AACpD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAC9C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AACpD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AACpD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AACtD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,MAAM,CAAC;AAC7C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AACjD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAEpD;;;GAGG;AACH,MAAM,MAAM,qBAAqB,GAC7B,gBAAgB,GAChB,iBAAiB,GACjB,cAAc,GACd,iBAAiB,GACjB,iBAAiB,GACjB,kBAAkB,GAClB,iBAAiB,GACjB,oBAAoB,GACpB,sBAAsB,GACtB,kBAAkB,GAClB,gBAAgB,GAChB,gBAAgB,GAChB,iBAAiB,CAAC"}
@@ -10,6 +10,7 @@ export * from "./api-custom";
10
10
  export * from "./api-hubspot";
11
11
  export * from "./api-salesforce";
12
12
  export * from "./api-googlesheets";
13
+ export * from "./api-outreach";
13
14
  export * from "./lambda";
14
15
  export * from "./bigquery";
15
16
  export * from "./request";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,sBAAsB;AACtB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,MAAM,CAAC;AACrB,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,sBAAsB;AACtB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,MAAM,CAAC;AACrB,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC"}
@@ -6,10 +6,11 @@ import type { DbCosmosDBResult, DbCosmosDBResultGeneric } from "./cosmosdb";
6
6
  import type { DbSnowflakeResult } from "./snowflake";
7
7
  import type { ApiLambdaResult } from "./lambda";
8
8
  import type { DbBigQueryResult } from "./bigquery";
9
+ import type { ApiOutreachResult } from "./api-outreach";
9
10
  /**
10
11
  * Union of all possible resource invocation result types
11
12
  */
12
- export type ResourceInvokeSuccess = ApiResult | DbResult | StorageS3Result | DbDynamoDBResult | DbCosmosDBResult | DbSnowflakeResult | ApiLambdaResult | DbBigQueryResult;
13
+ export type ResourceInvokeSuccess = ApiResult | DbResult | StorageS3Result | DbDynamoDBResult | DbCosmosDBResult | DbSnowflakeResult | ApiLambdaResult | DbBigQueryResult | ApiOutreachResult;
13
14
  /**
14
15
  * Base successful invocation response - generic over result type
15
16
  */
@@ -73,4 +74,8 @@ export type LambdaInvokeResponse = BaseInvokeSuccess<ApiLambdaResult> | InvokeFa
73
74
  * Response from BigQuery database resource invocation
74
75
  */
75
76
  export type BigQueryInvokeResponse = BaseInvokeSuccess<DbBigQueryResult> | InvokeFailure;
77
+ /**
78
+ * Response from Outreach API resource invocation
79
+ */
80
+ export type OutreachInvokeResponse = BaseInvokeSuccess<ApiOutreachResult> | InvokeFailure;
76
81
  //# sourceMappingURL=response.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"response.d.ts","sourceRoot":"","sources":["../../src/schemas/response.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AAC5C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,KAAK,EAAE,gBAAgB,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAC5E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAEnD;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,SAAS,GAAG,QAAQ,GAAG,eAAe,GAAG,gBAAgB,GAAG,gBAAgB,GAAG,iBAAiB,GAAG,eAAe,GAAG,gBAAgB,CAAC;A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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@major-tech/resource-client",
3
- "version": "0.2.21",
3
+ "version": "0.2.22",
4
4
  "description": "TypeScript client library for invoking Major resources (PostgreSQL, Custom APIs, HubSpot, S3)",
5
5
  "type": "module",
6
6
  "sideEffects": false,