@heymantle/core-api-client 0.1.17 → 0.1.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -354,6 +354,7 @@ interface Contact {
|
|
|
354
354
|
id: string;
|
|
355
355
|
name?: string;
|
|
356
356
|
email?: string;
|
|
357
|
+
secondaryEmails?: string[];
|
|
357
358
|
phone?: string;
|
|
358
359
|
jobTitle?: string;
|
|
359
360
|
notes?: string;
|
|
@@ -388,6 +389,7 @@ interface ContactListResponse extends PaginatedResponse {
|
|
|
388
389
|
interface ContactCreateParams {
|
|
389
390
|
name?: string;
|
|
390
391
|
email?: string;
|
|
392
|
+
secondaryEmails?: string[];
|
|
391
393
|
phone?: string;
|
|
392
394
|
jobTitle?: string;
|
|
393
395
|
notes?: string;
|
|
@@ -4114,7 +4116,7 @@ declare class FlowExtensionsResource extends BaseResource {
|
|
|
4114
4116
|
/**
|
|
4115
4117
|
* Resource for managing AI agent runs
|
|
4116
4118
|
*/
|
|
4117
|
-
declare class
|
|
4119
|
+
declare class AiAgentRunsResource extends BaseResource {
|
|
4118
4120
|
/**
|
|
4119
4121
|
* Create a new AI agent run
|
|
4120
4122
|
* Returns 202 Accepted as the run executes asynchronously
|
|
@@ -4203,7 +4205,7 @@ declare class MantleCoreClient {
|
|
|
4203
4205
|
readonly journalEntries: JournalEntriesResource;
|
|
4204
4206
|
readonly emailUnsubscribeGroups: EmailUnsubscribeGroupsResource;
|
|
4205
4207
|
readonly flowExtensions: FlowExtensionsResource;
|
|
4206
|
-
readonly aiAgentRuns:
|
|
4208
|
+
readonly aiAgentRuns: AiAgentRunsResource;
|
|
4207
4209
|
constructor(config: MantleCoreClientConfig);
|
|
4208
4210
|
/**
|
|
4209
4211
|
* Register a middleware function
|
package/dist/index.d.ts
CHANGED
|
@@ -354,6 +354,7 @@ interface Contact {
|
|
|
354
354
|
id: string;
|
|
355
355
|
name?: string;
|
|
356
356
|
email?: string;
|
|
357
|
+
secondaryEmails?: string[];
|
|
357
358
|
phone?: string;
|
|
358
359
|
jobTitle?: string;
|
|
359
360
|
notes?: string;
|
|
@@ -388,6 +389,7 @@ interface ContactListResponse extends PaginatedResponse {
|
|
|
388
389
|
interface ContactCreateParams {
|
|
389
390
|
name?: string;
|
|
390
391
|
email?: string;
|
|
392
|
+
secondaryEmails?: string[];
|
|
391
393
|
phone?: string;
|
|
392
394
|
jobTitle?: string;
|
|
393
395
|
notes?: string;
|
|
@@ -4114,7 +4116,7 @@ declare class FlowExtensionsResource extends BaseResource {
|
|
|
4114
4116
|
/**
|
|
4115
4117
|
* Resource for managing AI agent runs
|
|
4116
4118
|
*/
|
|
4117
|
-
declare class
|
|
4119
|
+
declare class AiAgentRunsResource extends BaseResource {
|
|
4118
4120
|
/**
|
|
4119
4121
|
* Create a new AI agent run
|
|
4120
4122
|
* Returns 202 Accepted as the run executes asynchronously
|
|
@@ -4203,7 +4205,7 @@ declare class MantleCoreClient {
|
|
|
4203
4205
|
readonly journalEntries: JournalEntriesResource;
|
|
4204
4206
|
readonly emailUnsubscribeGroups: EmailUnsubscribeGroupsResource;
|
|
4205
4207
|
readonly flowExtensions: FlowExtensionsResource;
|
|
4206
|
-
readonly aiAgentRuns:
|
|
4208
|
+
readonly aiAgentRuns: AiAgentRunsResource;
|
|
4207
4209
|
constructor(config: MantleCoreClientConfig);
|
|
4208
4210
|
/**
|
|
4209
4211
|
* Register a middleware function
|
package/dist/index.js
CHANGED
|
@@ -2310,7 +2310,7 @@ var FlowExtensionsResource = class extends BaseResource {
|
|
|
2310
2310
|
};
|
|
2311
2311
|
|
|
2312
2312
|
// src/resources/ai-agent-runs.ts
|
|
2313
|
-
var
|
|
2313
|
+
var AiAgentRunsResource = class extends BaseResource {
|
|
2314
2314
|
/**
|
|
2315
2315
|
* Create a new AI agent run
|
|
2316
2316
|
* Returns 202 Accepted as the run executes asynchronously
|
|
@@ -2415,7 +2415,7 @@ var MantleCoreClient = class {
|
|
|
2415
2415
|
this.journalEntries = new JournalEntriesResource(this);
|
|
2416
2416
|
this.emailUnsubscribeGroups = new EmailUnsubscribeGroupsResource(this);
|
|
2417
2417
|
this.flowExtensions = new FlowExtensionsResource(this);
|
|
2418
|
-
this.aiAgentRuns = new
|
|
2418
|
+
this.aiAgentRuns = new AiAgentRunsResource(this);
|
|
2419
2419
|
}
|
|
2420
2420
|
/**
|
|
2421
2421
|
* Register a middleware function
|
package/dist/index.mjs
CHANGED
|
@@ -2244,7 +2244,7 @@ var FlowExtensionsResource = class extends BaseResource {
|
|
|
2244
2244
|
};
|
|
2245
2245
|
|
|
2246
2246
|
// src/resources/ai-agent-runs.ts
|
|
2247
|
-
var
|
|
2247
|
+
var AiAgentRunsResource = class extends BaseResource {
|
|
2248
2248
|
/**
|
|
2249
2249
|
* Create a new AI agent run
|
|
2250
2250
|
* Returns 202 Accepted as the run executes asynchronously
|
|
@@ -2349,7 +2349,7 @@ var MantleCoreClient = class {
|
|
|
2349
2349
|
this.journalEntries = new JournalEntriesResource(this);
|
|
2350
2350
|
this.emailUnsubscribeGroups = new EmailUnsubscribeGroupsResource(this);
|
|
2351
2351
|
this.flowExtensions = new FlowExtensionsResource(this);
|
|
2352
|
-
this.aiAgentRuns = new
|
|
2352
|
+
this.aiAgentRuns = new AiAgentRunsResource(this);
|
|
2353
2353
|
}
|
|
2354
2354
|
/**
|
|
2355
2355
|
* Register a middleware function
|