@parra/parra-js-sdk 0.3.194 → 0.3.196

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 (2) hide show
  1. package/dist/ParraAPI.d.ts +11 -4
  2. package/package.json +1 -1
@@ -2471,6 +2471,16 @@ export interface CreateMailTemplateVersionRequestBody {
2471
2471
  text_content?: string | null;
2472
2472
  html_content?: string | null;
2473
2473
  }
2474
+ export interface Schema {
2475
+ id: string;
2476
+ created_at: string;
2477
+ updated_at: string;
2478
+ deleted_at?: string | null;
2479
+ name: string;
2480
+ type: string;
2481
+ content: object;
2482
+ description?: string | null;
2483
+ }
2474
2484
  export interface MailTemplateVersion {
2475
2485
  id: string;
2476
2486
  created_at: string;
@@ -2494,6 +2504,7 @@ export interface MailTemplateVersion {
2494
2504
  test_tenant?: object | null;
2495
2505
  test_subject?: string | null;
2496
2506
  test_recipient?: string | null;
2507
+ schema: Schema;
2497
2508
  template: MailTemplateStub;
2498
2509
  }
2499
2510
  export interface UpdateMailTemplateVersionRequestBody {
@@ -2530,10 +2541,6 @@ export interface GenerateMailTemplateVersionContentRequestBody {
2530
2541
  subject?: string;
2531
2542
  text_content?: string | null;
2532
2543
  html_content?: string | null;
2533
- test_data?: object | null;
2534
- test_user?: object | null;
2535
- test_user_id?: string | null;
2536
- test_tenant?: object | null;
2537
2544
  user_prompt: string;
2538
2545
  }
2539
2546
  export interface GenerateMailTemplateVersionContentResponseBody {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parra/parra-js-sdk",
3
- "version": "0.3.194",
3
+ "version": "0.3.196",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",