@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.
Files changed (214) hide show
  1. package/definitions/access-token-runtime.json +1 -0
  2. package/definitions/access-token.json +663 -0
  3. package/definitions/address-runtime.json +1 -0
  4. package/definitions/address-suggestions-runtime.json +1 -0
  5. package/definitions/address-suggestions.json +582 -0
  6. package/definitions/address.json +578 -0
  7. package/definitions/ai-agents-runtime.json +1 -0
  8. package/definitions/ai-agents.json +1711 -0
  9. package/definitions/app-runtime.json +1 -0
  10. package/definitions/app.json +4443 -0
  11. package/definitions/audit-logs-runtime.json +1 -0
  12. package/definitions/audit-logs.json +305 -0
  13. package/definitions/automation-runtime.json +1 -0
  14. package/definitions/automation.json +4850 -0
  15. package/definitions/billing-runtime.json +1 -0
  16. package/definitions/billing.json +837 -0
  17. package/definitions/blueprint-manifest-runtime.json +1 -0
  18. package/definitions/blueprint-manifest.json +3376 -0
  19. package/definitions/consent-runtime.json +1 -0
  20. package/definitions/consent.json +344 -0
  21. package/definitions/customer-portal-runtime.json +1 -0
  22. package/definitions/customer-portal.json +15000 -0
  23. package/definitions/dashboard-runtime.json +1 -0
  24. package/definitions/dashboard.json +484 -0
  25. package/definitions/data-management-runtime.json +1 -0
  26. package/definitions/data-management.json +962 -0
  27. package/definitions/deduplication-runtime.json +1 -0
  28. package/definitions/deduplication.json +183 -0
  29. package/definitions/design-runtime.json +1 -0
  30. package/definitions/design.json +1423 -0
  31. package/definitions/document-runtime.json +1 -0
  32. package/definitions/document.json +758 -0
  33. package/definitions/email-settings-runtime.json +1 -0
  34. package/definitions/email-settings.json +2627 -0
  35. package/definitions/email-template-runtime.json +1 -0
  36. package/definitions/email-template.json +1419 -0
  37. package/definitions/entity-mapping-runtime.json +1 -0
  38. package/definitions/entity-mapping.json +1642 -0
  39. package/definitions/entity-runtime.json +1 -0
  40. package/definitions/entity.json +10074 -0
  41. package/definitions/environments-runtime.json +1 -0
  42. package/definitions/environments.json +363 -0
  43. package/definitions/erp-integration-runtime.json +1 -0
  44. package/definitions/erp-integration.json +5845 -0
  45. package/definitions/event-catalog-runtime.json +1 -0
  46. package/definitions/event-catalog.json +1051 -0
  47. package/definitions/file-runtime.json +1 -0
  48. package/definitions/file.json +2842 -0
  49. package/definitions/iban-runtime.json +1 -0
  50. package/definitions/iban.json +132 -0
  51. package/definitions/journey-runtime.json +1 -0
  52. package/definitions/journey.json +2341 -0
  53. package/definitions/kanban-runtime.json +1 -0
  54. package/definitions/kanban.json +929 -0
  55. package/definitions/message-runtime.json +1 -0
  56. package/definitions/message.json +2660 -0
  57. package/definitions/metering-runtime.json +1 -0
  58. package/definitions/metering.json +2321 -0
  59. package/definitions/notes-runtime.json +1 -0
  60. package/definitions/notes.json +1531 -0
  61. package/definitions/notification-runtime.json +1 -0
  62. package/definitions/notification.json +1425 -0
  63. package/definitions/organization-runtime.json +1 -0
  64. package/definitions/organization.json +629 -0
  65. package/definitions/partner-directory-runtime.json +1 -0
  66. package/definitions/partner-directory.json +1718 -0
  67. package/definitions/permissions-runtime.json +1 -0
  68. package/definitions/permissions.json +1480 -0
  69. package/definitions/pricing-runtime.json +1 -0
  70. package/definitions/pricing-tier-runtime.json +1 -0
  71. package/definitions/pricing-tier.json +105 -0
  72. package/definitions/pricing.json +9884 -0
  73. package/definitions/purpose-runtime.json +1 -0
  74. package/definitions/purpose.json +524 -0
  75. package/definitions/sandbox-runtime.json +1 -0
  76. package/definitions/sandbox.json +453 -0
  77. package/definitions/submission-runtime.json +1 -0
  78. package/definitions/submission.json +313 -0
  79. package/definitions/targeting-runtime.json +1 -0
  80. package/definitions/targeting.json +1474 -0
  81. package/definitions/template-variables-runtime.json +1 -0
  82. package/definitions/template-variables.json +1408 -0
  83. package/definitions/user-runtime.json +1 -0
  84. package/definitions/user.json +2408 -0
  85. package/definitions/validation-rules-runtime.json +1 -0
  86. package/definitions/validation-rules.json +1491 -0
  87. package/definitions/webhooks-runtime.json +1 -0
  88. package/definitions/webhooks.json +1525 -0
  89. package/definitions/workflow-definition-runtime.json +1 -0
  90. package/definitions/workflow-definition.json +3417 -0
  91. package/definitions/workflow-runtime.json +1 -0
  92. package/definitions/workflow.json +4106 -0
  93. package/dist/apis/access-token.cjs +7 -7
  94. package/dist/apis/access-token.js +1 -1
  95. package/dist/apis/address-suggestions.cjs +7 -7
  96. package/dist/apis/address-suggestions.js +1 -1
  97. package/dist/apis/address.cjs +7 -7
  98. package/dist/apis/address.js +1 -1
  99. package/dist/apis/ai-agents.cjs +7 -7
  100. package/dist/apis/ai-agents.js +1 -1
  101. package/dist/apis/app.cjs +7 -7
  102. package/dist/apis/app.d.cts +2 -2
  103. package/dist/apis/app.d.ts +2 -2
  104. package/dist/apis/app.js +1 -1
  105. package/dist/apis/audit-logs.cjs +7 -7
  106. package/dist/apis/audit-logs.js +1 -1
  107. package/dist/apis/automation.cjs +7 -7
  108. package/dist/apis/automation.js +1 -1
  109. package/dist/apis/billing.cjs +7 -7
  110. package/dist/apis/billing.js +1 -1
  111. package/dist/apis/blueprint-manifest.cjs +8 -8
  112. package/dist/apis/blueprint-manifest.d.cts +2 -2
  113. package/dist/apis/blueprint-manifest.d.ts +2 -2
  114. package/dist/apis/blueprint-manifest.js +2 -2
  115. package/dist/apis/consent.cjs +7 -7
  116. package/dist/apis/consent.js +1 -1
  117. package/dist/apis/customer-portal.cjs +7 -7
  118. package/dist/apis/customer-portal.js +1 -1
  119. package/dist/apis/dashboard.cjs +7 -7
  120. package/dist/apis/dashboard.js +1 -1
  121. package/dist/apis/data-management.cjs +7 -7
  122. package/dist/apis/data-management.d.cts +2 -2
  123. package/dist/apis/data-management.d.ts +2 -2
  124. package/dist/apis/data-management.js +1 -1
  125. package/dist/apis/deduplication.cjs +7 -7
  126. package/dist/apis/deduplication.js +1 -1
  127. package/dist/apis/design.cjs +7 -7
  128. package/dist/apis/design.js +1 -1
  129. package/dist/apis/document.cjs +7 -7
  130. package/dist/apis/document.js +1 -1
  131. package/dist/apis/email-settings.cjs +7 -7
  132. package/dist/apis/email-settings.js +1 -1
  133. package/dist/apis/email-template.cjs +7 -7
  134. package/dist/apis/email-template.d.cts +2 -2
  135. package/dist/apis/email-template.d.ts +2 -2
  136. package/dist/apis/email-template.js +1 -1
  137. package/dist/apis/entity-mapping.cjs +7 -7
  138. package/dist/apis/entity-mapping.js +1 -1
  139. package/dist/apis/entity.cjs +8 -8
  140. package/dist/apis/entity.d.cts +2 -2
  141. package/dist/apis/entity.d.ts +2 -2
  142. package/dist/apis/entity.js +2 -2
  143. package/dist/apis/environments.cjs +7 -7
  144. package/dist/apis/environments.js +1 -1
  145. package/dist/apis/erp-integration.cjs +7 -7
  146. package/dist/apis/erp-integration.js +1 -1
  147. package/dist/apis/event-catalog.cjs +7 -7
  148. package/dist/apis/event-catalog.js +1 -1
  149. package/dist/apis/file.cjs +7 -7
  150. package/dist/apis/file.js +1 -1
  151. package/dist/apis/iban.cjs +7 -7
  152. package/dist/apis/iban.js +1 -1
  153. package/dist/apis/journey.cjs +7 -7
  154. package/dist/apis/journey.js +1 -1
  155. package/dist/apis/kanban.cjs +7 -7
  156. package/dist/apis/kanban.js +1 -1
  157. package/dist/apis/message.cjs +7 -7
  158. package/dist/apis/message.js +1 -1
  159. package/dist/apis/metering.cjs +7 -7
  160. package/dist/apis/metering.js +1 -1
  161. package/dist/apis/notes.cjs +7 -7
  162. package/dist/apis/notes.js +1 -1
  163. package/dist/apis/notification.cjs +7 -7
  164. package/dist/apis/notification.js +1 -1
  165. package/dist/apis/organization.cjs +7 -7
  166. package/dist/apis/organization.js +1 -1
  167. package/dist/apis/partner-directory.cjs +7 -7
  168. package/dist/apis/partner-directory.js +1 -1
  169. package/dist/apis/permissions.cjs +7 -7
  170. package/dist/apis/permissions.js +1 -1
  171. package/dist/apis/pricing-tier.cjs +7 -7
  172. package/dist/apis/pricing-tier.js +1 -1
  173. package/dist/apis/pricing.cjs +7 -7
  174. package/dist/apis/pricing.js +1 -1
  175. package/dist/apis/purpose.cjs +7 -7
  176. package/dist/apis/purpose.js +1 -1
  177. package/dist/apis/sandbox.cjs +7 -7
  178. package/dist/apis/sandbox.js +1 -1
  179. package/dist/apis/submission.cjs +7 -7
  180. package/dist/apis/submission.js +1 -1
  181. package/dist/apis/targeting.cjs +7 -7
  182. package/dist/apis/targeting.js +1 -1
  183. package/dist/apis/template-variables.cjs +7 -7
  184. package/dist/apis/template-variables.js +1 -1
  185. package/dist/apis/user.cjs +7 -7
  186. package/dist/apis/user.js +1 -1
  187. package/dist/apis/validation-rules.cjs +7 -7
  188. package/dist/apis/validation-rules.js +1 -1
  189. package/dist/apis/webhooks.cjs +7 -7
  190. package/dist/apis/webhooks.js +1 -1
  191. package/dist/apis/workflow-definition.cjs +7 -7
  192. package/dist/apis/workflow-definition.js +1 -1
  193. package/dist/apis/workflow.cjs +7 -7
  194. package/dist/apis/workflow.js +1 -1
  195. package/dist/{app.d-Dr03n4J4.d.cts → app.d-BXy_QUym.d.cts} +21 -3
  196. package/dist/{app.d-Dr03n4J4.d.ts → app.d-BXy_QUym.d.ts} +21 -3
  197. package/dist/bin/cli.js +123 -25
  198. package/dist/{blueprint-manifest.d-CEWRdF3i.d.ts → blueprint-manifest.d-DECw6HdM.d.cts} +110 -2
  199. package/dist/{blueprint-manifest.d-CEWRdF3i.d.cts → blueprint-manifest.d-DECw6HdM.d.ts} +110 -2
  200. package/dist/{chunk-QMQNMCOC.js → chunk-XE25WERA.js} +1 -1
  201. package/dist/{chunk-5LXNSDG2.cjs → chunk-XEQMAKGA.cjs} +1 -1
  202. package/dist/{data-management.d-pnuiRU2h.d.cts → data-management.d-CkDmJwpx.d.cts} +1 -2
  203. package/dist/{data-management.d-pnuiRU2h.d.ts → data-management.d-CkDmJwpx.d.ts} +1 -2
  204. package/dist/{email-template.d-BeqkDHtk.d.cts → email-template.d-gtQkdaXM.d.cts} +17 -3
  205. package/dist/{email-template.d-BeqkDHtk.d.ts → email-template.d-gtQkdaXM.d.ts} +17 -3
  206. package/dist/{entity.d-CrtZaZr8.d.cts → entity.d-DtiajmaY.d.cts} +292 -10
  207. package/dist/{entity.d-CrtZaZr8.d.ts → entity.d-DtiajmaY.d.ts} +292 -10
  208. package/dist/index.cjs +17 -17
  209. package/dist/index.d.cts +5 -5
  210. package/dist/index.d.ts +5 -5
  211. package/dist/index.js +10 -10
  212. package/dist/js-yaml-UPZKYVRY.js +2645 -0
  213. package/package.json +11 -10
  214. 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
@@ -61,7 +61,7 @@ var expand = (c) => {
61
61
  openapi: c.v || "3.0.2",
62
62
  info: { title: "", version: "" },
63
63
  paths,
64
- servers: [{ url: c.s }]
64
+ servers: c.s ? [{ url: c.s }] : []
65
65
  };
66
66
  if (c.cp) {
67
67
  const params = {};
@@ -61,7 +61,7 @@ var expand = (c) => {
61
61
  openapi: c.v || "3.0.2",
62
62
  info: { title: "", version: "" },
63
63
  paths,
64
- servers: [{ url: c.s }]
64
+ servers: c.s ? [{ url: c.s }] : []
65
65
  };
66
66
  if (c.cp) {
67
67
  const params = {};
@@ -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 CreateSystemTemplatesReq as j, type CreateSystemTemplatesResp as k, type CreatedAt as l, type CreatedBy as m, type CustomVariables as n, type EmailTemplateRequest as o, type EmailTemplateResponse as p, type OrgId as q, type PresignedRequest as r, type PresignedResponse as s, type TemplateType as t, type To as u, type UserResponse as v };
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 CreateSystemTemplatesReq as j, type CreateSystemTemplatesResp as k, type CreatedAt as l, type CreatedBy as m, type CustomVariables as n, type EmailTemplateRequest as o, type EmailTemplateResponse as p, type OrgId as q, type PresignedRequest as r, type PresignedResponse as s, type TemplateType as t, type To as u, type UserResponse as v };
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 };