@epilot/sdk 2.0.3 → 2.1.0-rc.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.
- package/definitions/access-token-runtime.json +1 -0
- package/definitions/access-token.json +663 -0
- package/definitions/address-runtime.json +1 -0
- package/definitions/address-suggestions-runtime.json +1 -0
- package/definitions/address-suggestions.json +582 -0
- package/definitions/address.json +578 -0
- package/definitions/ai-agents-runtime.json +1 -0
- package/definitions/ai-agents.json +1711 -0
- package/definitions/app-runtime.json +1 -0
- package/definitions/app.json +4443 -0
- package/definitions/audit-logs-runtime.json +1 -0
- package/definitions/audit-logs.json +305 -0
- package/definitions/automation-runtime.json +1 -0
- package/definitions/automation.json +4850 -0
- package/definitions/billing-runtime.json +1 -0
- package/definitions/billing.json +837 -0
- package/definitions/blueprint-manifest-runtime.json +1 -0
- package/definitions/blueprint-manifest.json +3376 -0
- package/definitions/consent-runtime.json +1 -0
- package/definitions/consent.json +344 -0
- package/definitions/customer-portal-runtime.json +1 -0
- package/definitions/customer-portal.json +15000 -0
- package/definitions/dashboard-runtime.json +1 -0
- package/definitions/dashboard.json +484 -0
- package/definitions/data-management-runtime.json +1 -0
- package/definitions/data-management.json +962 -0
- package/definitions/deduplication-runtime.json +1 -0
- package/definitions/deduplication.json +183 -0
- package/definitions/design-runtime.json +1 -0
- package/definitions/design.json +1423 -0
- package/definitions/document-runtime.json +1 -0
- package/definitions/document.json +758 -0
- package/definitions/email-settings-runtime.json +1 -0
- package/definitions/email-settings.json +2627 -0
- package/definitions/email-template-runtime.json +1 -0
- package/definitions/email-template.json +1419 -0
- package/definitions/entity-mapping-runtime.json +1 -0
- package/definitions/entity-mapping.json +1642 -0
- package/definitions/entity-runtime.json +1 -0
- package/definitions/entity.json +10074 -0
- package/definitions/environments-runtime.json +1 -0
- package/definitions/environments.json +363 -0
- package/definitions/erp-integration-runtime.json +1 -0
- package/definitions/erp-integration.json +5845 -0
- package/definitions/event-catalog-runtime.json +1 -0
- package/definitions/event-catalog.json +1051 -0
- package/definitions/file-runtime.json +1 -0
- package/definitions/file.json +2842 -0
- package/definitions/iban-runtime.json +1 -0
- package/definitions/iban.json +132 -0
- package/definitions/journey-runtime.json +1 -0
- package/definitions/journey.json +2341 -0
- package/definitions/kanban-runtime.json +1 -0
- package/definitions/kanban.json +929 -0
- package/definitions/message-runtime.json +1 -0
- package/definitions/message.json +2660 -0
- package/definitions/metering-runtime.json +1 -0
- package/definitions/metering.json +2321 -0
- package/definitions/notes-runtime.json +1 -0
- package/definitions/notes.json +1531 -0
- package/definitions/notification-runtime.json +1 -0
- package/definitions/notification.json +1425 -0
- package/definitions/organization-runtime.json +1 -0
- package/definitions/organization.json +629 -0
- package/definitions/partner-directory-runtime.json +1 -0
- package/definitions/partner-directory.json +1718 -0
- package/definitions/permissions-runtime.json +1 -0
- package/definitions/permissions.json +1480 -0
- package/definitions/pricing-runtime.json +1 -0
- package/definitions/pricing-tier-runtime.json +1 -0
- package/definitions/pricing-tier.json +105 -0
- package/definitions/pricing.json +9884 -0
- package/definitions/purpose-runtime.json +1 -0
- package/definitions/purpose.json +524 -0
- package/definitions/sandbox-runtime.json +1 -0
- package/definitions/sandbox.json +453 -0
- package/definitions/submission-runtime.json +1 -0
- package/definitions/submission.json +313 -0
- package/definitions/targeting-runtime.json +1 -0
- package/definitions/targeting.json +1474 -0
- package/definitions/template-variables-runtime.json +1 -0
- package/definitions/template-variables.json +1408 -0
- package/definitions/user-runtime.json +1 -0
- package/definitions/user.json +2408 -0
- package/definitions/validation-rules-runtime.json +1 -0
- package/definitions/validation-rules.json +1491 -0
- package/definitions/webhooks-runtime.json +1 -0
- package/definitions/webhooks.json +1525 -0
- package/definitions/workflow-definition-runtime.json +1 -0
- package/definitions/workflow-definition.json +3417 -0
- package/definitions/workflow-runtime.json +1 -0
- package/definitions/workflow.json +4106 -0
- package/dist/apis/access-token.cjs +7 -7
- package/dist/apis/access-token.js +1 -1
- package/dist/apis/address-suggestions.cjs +7 -7
- package/dist/apis/address-suggestions.js +1 -1
- package/dist/apis/address.cjs +7 -7
- package/dist/apis/address.js +1 -1
- package/dist/apis/ai-agents.cjs +7 -7
- package/dist/apis/ai-agents.js +1 -1
- package/dist/apis/app.cjs +7 -7
- package/dist/apis/app.d.cts +2 -2
- package/dist/apis/app.d.ts +2 -2
- package/dist/apis/app.js +1 -1
- package/dist/apis/audit-logs.cjs +7 -7
- package/dist/apis/audit-logs.js +1 -1
- package/dist/apis/automation.cjs +7 -7
- package/dist/apis/automation.js +1 -1
- package/dist/apis/billing.cjs +7 -7
- package/dist/apis/billing.js +1 -1
- package/dist/apis/blueprint-manifest.cjs +8 -8
- package/dist/apis/blueprint-manifest.d.cts +2 -2
- package/dist/apis/blueprint-manifest.d.ts +2 -2
- package/dist/apis/blueprint-manifest.js +2 -2
- package/dist/apis/consent.cjs +7 -7
- package/dist/apis/consent.js +1 -1
- package/dist/apis/customer-portal.cjs +7 -7
- package/dist/apis/customer-portal.js +1 -1
- package/dist/apis/dashboard.cjs +7 -7
- package/dist/apis/dashboard.js +1 -1
- package/dist/apis/data-management.cjs +7 -7
- package/dist/apis/data-management.d.cts +2 -2
- package/dist/apis/data-management.d.ts +2 -2
- package/dist/apis/data-management.js +1 -1
- package/dist/apis/deduplication.cjs +7 -7
- package/dist/apis/deduplication.js +1 -1
- package/dist/apis/design.cjs +7 -7
- package/dist/apis/design.js +1 -1
- package/dist/apis/document.cjs +7 -7
- package/dist/apis/document.js +1 -1
- package/dist/apis/email-settings.cjs +7 -7
- package/dist/apis/email-settings.js +1 -1
- package/dist/apis/email-template.cjs +7 -7
- package/dist/apis/email-template.d.cts +2 -2
- package/dist/apis/email-template.d.ts +2 -2
- package/dist/apis/email-template.js +1 -1
- package/dist/apis/entity-mapping.cjs +7 -7
- package/dist/apis/entity-mapping.js +1 -1
- package/dist/apis/entity.cjs +8 -8
- package/dist/apis/entity.d.cts +2 -2
- package/dist/apis/entity.d.ts +2 -2
- package/dist/apis/entity.js +2 -2
- package/dist/apis/environments.cjs +7 -7
- package/dist/apis/environments.js +1 -1
- package/dist/apis/erp-integration.cjs +7 -7
- package/dist/apis/erp-integration.js +1 -1
- package/dist/apis/event-catalog.cjs +7 -7
- package/dist/apis/event-catalog.js +1 -1
- package/dist/apis/file.cjs +7 -7
- package/dist/apis/file.js +1 -1
- package/dist/apis/iban.cjs +7 -7
- package/dist/apis/iban.js +1 -1
- package/dist/apis/journey.cjs +7 -7
- package/dist/apis/journey.js +1 -1
- package/dist/apis/kanban.cjs +7 -7
- package/dist/apis/kanban.js +1 -1
- package/dist/apis/message.cjs +7 -7
- package/dist/apis/message.js +1 -1
- package/dist/apis/metering.cjs +7 -7
- package/dist/apis/metering.js +1 -1
- package/dist/apis/notes.cjs +7 -7
- package/dist/apis/notes.js +1 -1
- package/dist/apis/notification.cjs +7 -7
- package/dist/apis/notification.js +1 -1
- package/dist/apis/organization.cjs +7 -7
- package/dist/apis/organization.js +1 -1
- package/dist/apis/partner-directory.cjs +7 -7
- package/dist/apis/partner-directory.js +1 -1
- package/dist/apis/permissions.cjs +7 -7
- package/dist/apis/permissions.js +1 -1
- package/dist/apis/pricing-tier.cjs +7 -7
- package/dist/apis/pricing-tier.js +1 -1
- package/dist/apis/pricing.cjs +7 -7
- package/dist/apis/pricing.js +1 -1
- package/dist/apis/purpose.cjs +7 -7
- package/dist/apis/purpose.js +1 -1
- package/dist/apis/sandbox.cjs +7 -7
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/submission.cjs +7 -7
- package/dist/apis/submission.js +1 -1
- package/dist/apis/targeting.cjs +7 -7
- package/dist/apis/targeting.js +1 -1
- package/dist/apis/template-variables.cjs +7 -7
- package/dist/apis/template-variables.js +1 -1
- package/dist/apis/user.cjs +7 -7
- package/dist/apis/user.js +1 -1
- package/dist/apis/validation-rules.cjs +7 -7
- package/dist/apis/validation-rules.js +1 -1
- package/dist/apis/webhooks.cjs +7 -7
- package/dist/apis/webhooks.js +1 -1
- package/dist/apis/workflow-definition.cjs +7 -7
- package/dist/apis/workflow-definition.js +1 -1
- package/dist/apis/workflow.cjs +7 -7
- package/dist/apis/workflow.js +1 -1
- package/dist/{app.d-Dr03n4J4.d.cts → app.d-BXy_QUym.d.cts} +21 -3
- package/dist/{app.d-Dr03n4J4.d.ts → app.d-BXy_QUym.d.ts} +21 -3
- package/dist/bin/cli.js +123 -25
- package/dist/{blueprint-manifest.d-CEWRdF3i.d.ts → blueprint-manifest.d-DECw6HdM.d.cts} +110 -2
- package/dist/{blueprint-manifest.d-CEWRdF3i.d.cts → blueprint-manifest.d-DECw6HdM.d.ts} +110 -2
- package/dist/{chunk-QMQNMCOC.js → chunk-XE25WERA.js} +1 -1
- package/dist/{chunk-5LXNSDG2.cjs → chunk-XEQMAKGA.cjs} +1 -1
- package/dist/{data-management.d-pnuiRU2h.d.cts → data-management.d-CkDmJwpx.d.cts} +1 -2
- package/dist/{data-management.d-pnuiRU2h.d.ts → data-management.d-CkDmJwpx.d.ts} +1 -2
- package/dist/{email-template.d-BeqkDHtk.d.cts → email-template.d-gtQkdaXM.d.cts} +17 -3
- package/dist/{email-template.d-BeqkDHtk.d.ts → email-template.d-gtQkdaXM.d.ts} +17 -3
- package/dist/{entity.d-CrtZaZr8.d.cts → entity.d-DtiajmaY.d.cts} +292 -10
- package/dist/{entity.d-CrtZaZr8.d.ts → entity.d-DtiajmaY.d.ts} +292 -10
- package/dist/index.cjs +17 -17
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +10 -10
- package/dist/js-yaml-UPZKYVRY.js +2645 -0
- package/package.json +11 -10
- package/LICENSE +0 -21
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { OpenAPIClient, Parameters, AxiosRequestConfig, OperationResponse, UnknownParamsObject } from 'openapi-client-axios';
|
|
2
2
|
|
|
3
3
|
/* Auto-copied from blueprint-manifest-client */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
|
|
6
4
|
|
|
7
5
|
|
|
8
6
|
declare namespace Components {
|
|
@@ -2378,6 +2376,34 @@ declare namespace Paths {
|
|
|
2378
2376
|
}
|
|
2379
2377
|
}
|
|
2380
2378
|
}
|
|
2379
|
+
namespace ListMarketplaceSlugs {
|
|
2380
|
+
namespace Responses {
|
|
2381
|
+
export interface $200 {
|
|
2382
|
+
results?: {
|
|
2383
|
+
/**
|
|
2384
|
+
* example:
|
|
2385
|
+
* wallbox_b2c
|
|
2386
|
+
*/
|
|
2387
|
+
slug?: string;
|
|
2388
|
+
/**
|
|
2389
|
+
* example:
|
|
2390
|
+
* v1.0.0
|
|
2391
|
+
*/
|
|
2392
|
+
version?: string;
|
|
2393
|
+
/**
|
|
2394
|
+
* example:
|
|
2395
|
+
* Wallbox B2C
|
|
2396
|
+
*/
|
|
2397
|
+
name?: string;
|
|
2398
|
+
/**
|
|
2399
|
+
* example:
|
|
2400
|
+
* https://portal.epilot.cloud/app/blueprints/install/marketplace/wallbox_b2c?s3Ref=https://example.com/blueprint.zip
|
|
2401
|
+
*/
|
|
2402
|
+
installation_link?: string;
|
|
2403
|
+
}[];
|
|
2404
|
+
}
|
|
2405
|
+
}
|
|
2406
|
+
}
|
|
2381
2407
|
namespace PreInstallBlueprint {
|
|
2382
2408
|
export interface RequestBody {
|
|
2383
2409
|
/**
|
|
@@ -2394,6 +2420,38 @@ declare namespace Paths {
|
|
|
2394
2420
|
export type $200 = /* Preview data for a blueprint before installation. Stored temporarily with TTL. */ Components.Schemas.BlueprintPreview;
|
|
2395
2421
|
}
|
|
2396
2422
|
}
|
|
2423
|
+
namespace PublishBlueprint {
|
|
2424
|
+
export interface RequestBody {
|
|
2425
|
+
blueprint_id: /**
|
|
2426
|
+
* ID of a blueprint
|
|
2427
|
+
* example:
|
|
2428
|
+
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
2429
|
+
*/
|
|
2430
|
+
Components.Schemas.BlueprintID;
|
|
2431
|
+
/**
|
|
2432
|
+
* The marketplace installation slug for the Webflow CMS item
|
|
2433
|
+
*/
|
|
2434
|
+
slug: string;
|
|
2435
|
+
/**
|
|
2436
|
+
* The version string to set on the marketplace CMS item (e.g. "1.0.0")
|
|
2437
|
+
*/
|
|
2438
|
+
version?: string;
|
|
2439
|
+
/**
|
|
2440
|
+
* The display name for the blueprint on the marketplace CMS item
|
|
2441
|
+
*/
|
|
2442
|
+
name?: string;
|
|
2443
|
+
}
|
|
2444
|
+
namespace Responses {
|
|
2445
|
+
export interface $202 {
|
|
2446
|
+
job_id?: /**
|
|
2447
|
+
* ID of a job
|
|
2448
|
+
* example:
|
|
2449
|
+
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
2450
|
+
*/
|
|
2451
|
+
Components.Schemas.BlueprintJobID;
|
|
2452
|
+
}
|
|
2453
|
+
}
|
|
2454
|
+
}
|
|
2397
2455
|
namespace SyncDependencies {
|
|
2398
2456
|
namespace Parameters {
|
|
2399
2457
|
export type BlueprintId = /**
|
|
@@ -2746,6 +2804,29 @@ interface OperationMethods {
|
|
|
2746
2804
|
data?: Paths.ExportBlueprint.RequestBody,
|
|
2747
2805
|
config?: AxiosRequestConfig
|
|
2748
2806
|
): OperationResponse<Paths.ExportBlueprint.Responses.$202>
|
|
2807
|
+
/**
|
|
2808
|
+
* listMarketplaceSlugs - listMarketplaceSlugs
|
|
2809
|
+
*
|
|
2810
|
+
* List all available marketplace blueprint slugs from Webflow CMS.
|
|
2811
|
+
* Returns cached results when available.
|
|
2812
|
+
*
|
|
2813
|
+
*/
|
|
2814
|
+
'listMarketplaceSlugs'(
|
|
2815
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2816
|
+
data?: any,
|
|
2817
|
+
config?: AxiosRequestConfig
|
|
2818
|
+
): OperationResponse<Paths.ListMarketplaceSlugs.Responses.$200>
|
|
2819
|
+
/**
|
|
2820
|
+
* publishBlueprint - publishBlueprint
|
|
2821
|
+
*
|
|
2822
|
+
* Publish a blueprint to the marketplace. Exports the blueprint, uploads it to file-api with public access, and updates the Webflow CMS listing.
|
|
2823
|
+
*
|
|
2824
|
+
*/
|
|
2825
|
+
'publishBlueprint'(
|
|
2826
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2827
|
+
data?: Paths.PublishBlueprint.RequestBody,
|
|
2828
|
+
config?: AxiosRequestConfig
|
|
2829
|
+
): OperationResponse<Paths.PublishBlueprint.Responses.$202>
|
|
2749
2830
|
/**
|
|
2750
2831
|
* formatBlueprintDescription - formatBlueprintDescription
|
|
2751
2832
|
*
|
|
@@ -3129,6 +3210,33 @@ interface PathsDictionary {
|
|
|
3129
3210
|
config?: AxiosRequestConfig
|
|
3130
3211
|
): OperationResponse<Paths.ExportBlueprint.Responses.$202>
|
|
3131
3212
|
}
|
|
3213
|
+
['/v2/blueprint-manifest/marketplace/slugs']: {
|
|
3214
|
+
/**
|
|
3215
|
+
* listMarketplaceSlugs - listMarketplaceSlugs
|
|
3216
|
+
*
|
|
3217
|
+
* List all available marketplace blueprint slugs from Webflow CMS.
|
|
3218
|
+
* Returns cached results when available.
|
|
3219
|
+
*
|
|
3220
|
+
*/
|
|
3221
|
+
'get'(
|
|
3222
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
3223
|
+
data?: any,
|
|
3224
|
+
config?: AxiosRequestConfig
|
|
3225
|
+
): OperationResponse<Paths.ListMarketplaceSlugs.Responses.$200>
|
|
3226
|
+
}
|
|
3227
|
+
['/v2/blueprint-manifest/blueprints:publish']: {
|
|
3228
|
+
/**
|
|
3229
|
+
* publishBlueprint - publishBlueprint
|
|
3230
|
+
*
|
|
3231
|
+
* Publish a blueprint to the marketplace. Exports the blueprint, uploads it to file-api with public access, and updates the Webflow CMS listing.
|
|
3232
|
+
*
|
|
3233
|
+
*/
|
|
3234
|
+
'post'(
|
|
3235
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
3236
|
+
data?: Paths.PublishBlueprint.RequestBody,
|
|
3237
|
+
config?: AxiosRequestConfig
|
|
3238
|
+
): OperationResponse<Paths.PublishBlueprint.Responses.$202>
|
|
3239
|
+
}
|
|
3132
3240
|
['/v2/blueprint-manifest/blueprints/{blueprint_id}:format-description']: {
|
|
3133
3241
|
/**
|
|
3134
3242
|
* formatBlueprintDescription - formatBlueprintDescription
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { OpenAPIClient, Parameters, AxiosRequestConfig, OperationResponse } from 'openapi-client-axios';
|
|
2
2
|
|
|
3
3
|
/* Auto-copied from data-management-client */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
|
|
6
4
|
|
|
7
5
|
|
|
8
6
|
declare namespace Components {
|
|
@@ -112,6 +110,7 @@ declare namespace Components {
|
|
|
112
110
|
type: QueryFilterType;
|
|
113
111
|
related_entity_schemas?: string[];
|
|
114
112
|
lookback_period_days?: number;
|
|
113
|
+
message_type?: ("SENT" | "RECEIVED")[];
|
|
115
114
|
}
|
|
116
115
|
export type QueryFilterType = "entity_workflows_only_in_closed_or_cancelled_status" | "no_related_entities" | "related_entities_all_in_closed_or_cancelled_status" | "related_entities_workflows_only_in_closed_or_cancelled_status" | "no_email_communication_since";
|
|
117
116
|
export interface UpdateJobRequest {
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { OpenAPIClient, Parameters, AxiosRequestConfig, OperationResponse } from 'openapi-client-axios';
|
|
2
2
|
|
|
3
3
|
/* Auto-copied from data-management-client */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
|
|
6
4
|
|
|
7
5
|
|
|
8
6
|
declare namespace Components {
|
|
@@ -112,6 +110,7 @@ declare namespace Components {
|
|
|
112
110
|
type: QueryFilterType;
|
|
113
111
|
related_entity_schemas?: string[];
|
|
114
112
|
lookback_period_days?: number;
|
|
113
|
+
message_type?: ("SENT" | "RECEIVED")[];
|
|
115
114
|
}
|
|
116
115
|
export type QueryFilterType = "entity_workflows_only_in_closed_or_cancelled_status" | "no_related_entities" | "related_entities_all_in_closed_or_cancelled_status" | "related_entities_workflows_only_in_closed_or_cancelled_status" | "no_email_communication_since";
|
|
117
116
|
export interface UpdateJobRequest {
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { OpenAPIClient, Parameters, UnknownParamsObject, AxiosRequestConfig, OperationResponse } from 'openapi-client-axios';
|
|
2
2
|
|
|
3
3
|
/* Auto-copied from email-template-client */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
|
|
6
4
|
|
|
7
5
|
|
|
8
6
|
declare namespace Components {
|
|
@@ -238,6 +236,7 @@ declare namespace Components {
|
|
|
238
236
|
*/
|
|
239
237
|
job_id: string;
|
|
240
238
|
skip_creating_entities?: /* When true, it lets to send only the email by skip creating the thread & message entities. */ SkipCreatingEntities;
|
|
239
|
+
complete_thread?: /* Whether the thread is marked as Done immediately after sending the message */ CompleteThread;
|
|
241
240
|
/**
|
|
242
241
|
* Status of the bulk message action
|
|
243
242
|
* * PROCESSING: Bulk message action is processing the request
|
|
@@ -350,6 +349,7 @@ declare namespace Components {
|
|
|
350
349
|
*/
|
|
351
350
|
export interface BulkSendMessageRequest {
|
|
352
351
|
skip_creating_entities?: /* When true, it lets to send only the email by skip creating the thread & message entities. */ SkipCreatingEntities;
|
|
352
|
+
complete_thread?: /* Whether the thread is marked as Done immediately after sending the message */ CompleteThread;
|
|
353
353
|
/**
|
|
354
354
|
* ID of email template to use for sending bulk emails
|
|
355
355
|
* example:
|
|
@@ -381,6 +381,7 @@ declare namespace Components {
|
|
|
381
381
|
*/
|
|
382
382
|
export interface BulkSendMessageRequestWithQuery {
|
|
383
383
|
skip_creating_entities?: /* When true, it lets to send only the email by skip creating the thread & message entities. */ SkipCreatingEntities;
|
|
384
|
+
complete_thread?: /* Whether the thread is marked as Done immediately after sending the message */ CompleteThread;
|
|
384
385
|
/**
|
|
385
386
|
* ID of email template to use for sending bulk emails
|
|
386
387
|
* example:
|
|
@@ -400,6 +401,10 @@ declare namespace Components {
|
|
|
400
401
|
recipient_query: string;
|
|
401
402
|
custom_variables?: /* Custom variables to be replaced in the email template */ CustomVariables;
|
|
402
403
|
}
|
|
404
|
+
/**
|
|
405
|
+
* Whether the thread is marked as Done immediately after sending the message
|
|
406
|
+
*/
|
|
407
|
+
export type CompleteThread = boolean;
|
|
403
408
|
export interface CreateSystemTemplatesReq {
|
|
404
409
|
/**
|
|
405
410
|
* example:
|
|
@@ -556,6 +561,10 @@ declare namespace Components {
|
|
|
556
561
|
* 1234
|
|
557
562
|
*/
|
|
558
563
|
updated_by?: string;
|
|
564
|
+
/**
|
|
565
|
+
* This field is used to store JSON templates. If this field is populated, then the Body html is derived from the JSON.
|
|
566
|
+
*/
|
|
567
|
+
json_template?: string;
|
|
559
568
|
/**
|
|
560
569
|
* If template is created by system (Double Opt-in, CMD invitation,...) then true, and some attributes can not be edited such as Name, To,...
|
|
561
570
|
* Remember to add default content of template to system_template enum for revert to original feature
|
|
@@ -664,6 +673,10 @@ declare namespace Components {
|
|
|
664
673
|
* 1234
|
|
665
674
|
*/
|
|
666
675
|
updated_by?: string;
|
|
676
|
+
/**
|
|
677
|
+
* This field is used to store JSON templates. If this field is populated, then the Body html is derived from the JSON.
|
|
678
|
+
*/
|
|
679
|
+
json_template?: string;
|
|
667
680
|
}
|
|
668
681
|
export interface EmailTemplateResponse {
|
|
669
682
|
entity?: EmailTemplateEntity;
|
|
@@ -1151,6 +1164,7 @@ type BaseEntity = Components.Schemas.BaseEntity;
|
|
|
1151
1164
|
type BulkSendMessageJob = Components.Schemas.BulkSendMessageJob;
|
|
1152
1165
|
type BulkSendMessageRequest = Components.Schemas.BulkSendMessageRequest;
|
|
1153
1166
|
type BulkSendMessageRequestWithQuery = Components.Schemas.BulkSendMessageRequestWithQuery;
|
|
1167
|
+
type CompleteThread = Components.Schemas.CompleteThread;
|
|
1154
1168
|
type CreateSystemTemplatesReq = Components.Schemas.CreateSystemTemplatesReq;
|
|
1155
1169
|
type CreateSystemTemplatesResp = Components.Schemas.CreateSystemTemplatesResp;
|
|
1156
1170
|
type CreatedAt = Components.Schemas.CreatedAt;
|
|
@@ -1171,4 +1185,4 @@ type UpdatedAt = Components.Schemas.UpdatedAt;
|
|
|
1171
1185
|
type UserResponse = Components.Schemas.UserResponse;
|
|
1172
1186
|
type VariableParameters = Components.Schemas.VariableParameters;
|
|
1173
1187
|
|
|
1174
|
-
export { type ApproveAction as A, type BaseEntity as B, type Client as C, type EmailTemplateEntity as E, type From as F, type OperationMethods as O, Paths as P, type SkipCreatingEntities as S, type TaskToken as T, type UpdatedAt as U, type VariableParameters as V, Components as a, type PathsDictionary as b, type ApprovedAt as c, type AsyncEmailTemplateResponse as d, type Attachment as e, type AttachmentResponse as f, type BulkSendMessageJob as g, type BulkSendMessageRequest as h, type BulkSendMessageRequestWithQuery as i, type
|
|
1188
|
+
export { type ApproveAction as A, type BaseEntity as B, type Client as C, type EmailTemplateEntity as E, type From as F, type OperationMethods as O, Paths as P, type SkipCreatingEntities as S, type TaskToken as T, type UpdatedAt as U, type VariableParameters as V, Components as a, type PathsDictionary as b, type ApprovedAt as c, type AsyncEmailTemplateResponse as d, type Attachment as e, type AttachmentResponse as f, type BulkSendMessageJob as g, type BulkSendMessageRequest as h, type BulkSendMessageRequestWithQuery as i, type CompleteThread as j, type CreateSystemTemplatesReq as k, type CreateSystemTemplatesResp as l, type CreatedAt as m, type CreatedBy as n, type CustomVariables as o, type EmailTemplateRequest as p, type EmailTemplateResponse as q, type OrgId as r, type PresignedRequest as s, type PresignedResponse as t, type TemplateType as u, type To as v, type UserResponse as w };
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { OpenAPIClient, Parameters, UnknownParamsObject, AxiosRequestConfig, OperationResponse } from 'openapi-client-axios';
|
|
2
2
|
|
|
3
3
|
/* Auto-copied from email-template-client */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
|
|
6
4
|
|
|
7
5
|
|
|
8
6
|
declare namespace Components {
|
|
@@ -238,6 +236,7 @@ declare namespace Components {
|
|
|
238
236
|
*/
|
|
239
237
|
job_id: string;
|
|
240
238
|
skip_creating_entities?: /* When true, it lets to send only the email by skip creating the thread & message entities. */ SkipCreatingEntities;
|
|
239
|
+
complete_thread?: /* Whether the thread is marked as Done immediately after sending the message */ CompleteThread;
|
|
241
240
|
/**
|
|
242
241
|
* Status of the bulk message action
|
|
243
242
|
* * PROCESSING: Bulk message action is processing the request
|
|
@@ -350,6 +349,7 @@ declare namespace Components {
|
|
|
350
349
|
*/
|
|
351
350
|
export interface BulkSendMessageRequest {
|
|
352
351
|
skip_creating_entities?: /* When true, it lets to send only the email by skip creating the thread & message entities. */ SkipCreatingEntities;
|
|
352
|
+
complete_thread?: /* Whether the thread is marked as Done immediately after sending the message */ CompleteThread;
|
|
353
353
|
/**
|
|
354
354
|
* ID of email template to use for sending bulk emails
|
|
355
355
|
* example:
|
|
@@ -381,6 +381,7 @@ declare namespace Components {
|
|
|
381
381
|
*/
|
|
382
382
|
export interface BulkSendMessageRequestWithQuery {
|
|
383
383
|
skip_creating_entities?: /* When true, it lets to send only the email by skip creating the thread & message entities. */ SkipCreatingEntities;
|
|
384
|
+
complete_thread?: /* Whether the thread is marked as Done immediately after sending the message */ CompleteThread;
|
|
384
385
|
/**
|
|
385
386
|
* ID of email template to use for sending bulk emails
|
|
386
387
|
* example:
|
|
@@ -400,6 +401,10 @@ declare namespace Components {
|
|
|
400
401
|
recipient_query: string;
|
|
401
402
|
custom_variables?: /* Custom variables to be replaced in the email template */ CustomVariables;
|
|
402
403
|
}
|
|
404
|
+
/**
|
|
405
|
+
* Whether the thread is marked as Done immediately after sending the message
|
|
406
|
+
*/
|
|
407
|
+
export type CompleteThread = boolean;
|
|
403
408
|
export interface CreateSystemTemplatesReq {
|
|
404
409
|
/**
|
|
405
410
|
* example:
|
|
@@ -556,6 +561,10 @@ declare namespace Components {
|
|
|
556
561
|
* 1234
|
|
557
562
|
*/
|
|
558
563
|
updated_by?: string;
|
|
564
|
+
/**
|
|
565
|
+
* This field is used to store JSON templates. If this field is populated, then the Body html is derived from the JSON.
|
|
566
|
+
*/
|
|
567
|
+
json_template?: string;
|
|
559
568
|
/**
|
|
560
569
|
* If template is created by system (Double Opt-in, CMD invitation,...) then true, and some attributes can not be edited such as Name, To,...
|
|
561
570
|
* Remember to add default content of template to system_template enum for revert to original feature
|
|
@@ -664,6 +673,10 @@ declare namespace Components {
|
|
|
664
673
|
* 1234
|
|
665
674
|
*/
|
|
666
675
|
updated_by?: string;
|
|
676
|
+
/**
|
|
677
|
+
* This field is used to store JSON templates. If this field is populated, then the Body html is derived from the JSON.
|
|
678
|
+
*/
|
|
679
|
+
json_template?: string;
|
|
667
680
|
}
|
|
668
681
|
export interface EmailTemplateResponse {
|
|
669
682
|
entity?: EmailTemplateEntity;
|
|
@@ -1151,6 +1164,7 @@ type BaseEntity = Components.Schemas.BaseEntity;
|
|
|
1151
1164
|
type BulkSendMessageJob = Components.Schemas.BulkSendMessageJob;
|
|
1152
1165
|
type BulkSendMessageRequest = Components.Schemas.BulkSendMessageRequest;
|
|
1153
1166
|
type BulkSendMessageRequestWithQuery = Components.Schemas.BulkSendMessageRequestWithQuery;
|
|
1167
|
+
type CompleteThread = Components.Schemas.CompleteThread;
|
|
1154
1168
|
type CreateSystemTemplatesReq = Components.Schemas.CreateSystemTemplatesReq;
|
|
1155
1169
|
type CreateSystemTemplatesResp = Components.Schemas.CreateSystemTemplatesResp;
|
|
1156
1170
|
type CreatedAt = Components.Schemas.CreatedAt;
|
|
@@ -1171,4 +1185,4 @@ type UpdatedAt = Components.Schemas.UpdatedAt;
|
|
|
1171
1185
|
type UserResponse = Components.Schemas.UserResponse;
|
|
1172
1186
|
type VariableParameters = Components.Schemas.VariableParameters;
|
|
1173
1187
|
|
|
1174
|
-
export { type ApproveAction as A, type BaseEntity as B, type Client as C, type EmailTemplateEntity as E, type From as F, type OperationMethods as O, Paths as P, type SkipCreatingEntities as S, type TaskToken as T, type UpdatedAt as U, type VariableParameters as V, Components as a, type PathsDictionary as b, type ApprovedAt as c, type AsyncEmailTemplateResponse as d, type Attachment as e, type AttachmentResponse as f, type BulkSendMessageJob as g, type BulkSendMessageRequest as h, type BulkSendMessageRequestWithQuery as i, type
|
|
1188
|
+
export { type ApproveAction as A, type BaseEntity as B, type Client as C, type EmailTemplateEntity as E, type From as F, type OperationMethods as O, Paths as P, type SkipCreatingEntities as S, type TaskToken as T, type UpdatedAt as U, type VariableParameters as V, Components as a, type PathsDictionary as b, type ApprovedAt as c, type AsyncEmailTemplateResponse as d, type Attachment as e, type AttachmentResponse as f, type BulkSendMessageJob as g, type BulkSendMessageRequest as h, type BulkSendMessageRequestWithQuery as i, type CompleteThread as j, type CreateSystemTemplatesReq as k, type CreateSystemTemplatesResp as l, type CreatedAt as m, type CreatedBy as n, type CustomVariables as o, type EmailTemplateRequest as p, type EmailTemplateResponse as q, type OrgId as r, type PresignedRequest as s, type PresignedResponse as t, type TemplateType as u, type To as v, type UserResponse as w };
|