cf-service-sdk-dharani 0.0.53 → 0.0.55

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.
@@ -574,10 +574,6 @@ export type CampaignContactItemType = {
574
574
  email?: Maybe<Scalars['String']['output']>;
575
575
  /** First name of the contact */
576
576
  firstName?: Maybe<Scalars['String']['output']>;
577
- /** Whether the contact is a customer */
578
- isCustomer?: Maybe<Scalars['Boolean']['output']>;
579
- /** Whether the contact is a prospect */
580
- isProspect?: Maybe<Scalars['Boolean']['output']>;
581
577
  /** Last name of the contact */
582
578
  lastName?: Maybe<Scalars['String']['output']>;
583
579
  /** Phone of the contact */
@@ -1358,7 +1354,9 @@ export type EmailTemplateInput = {
1358
1354
  /** Template name */
1359
1355
  name: Scalars['String']['input'];
1360
1356
  /** Template content */
1361
- template: Scalars['String']['input'];
1357
+ template?: InputMaybe<Scalars['String']['input']>;
1358
+ /** Template data as JSON */
1359
+ templateData: Scalars['JSONString']['input'];
1362
1360
  };
1363
1361
  export type EmailTemplateObject = {
1364
1362
  __typename?: 'EmailTemplateObject';
@@ -1381,6 +1379,7 @@ export type EmailTemplateType = {
1381
1379
  name: Scalars['String']['output'];
1382
1380
  subject?: Maybe<Scalars['String']['output']>;
1383
1381
  template: Scalars['String']['output'];
1382
+ templateData?: Maybe<Scalars['JSONString']['output']>;
1384
1383
  updatedAt: Scalars['DateTime']['output'];
1385
1384
  uuid: Scalars['UUID']['output'];
1386
1385
  };
@@ -4601,6 +4600,7 @@ export type CreateEmailTemplateMutation = {
4601
4600
  description: string;
4602
4601
  subject?: string | null;
4603
4602
  template: string;
4603
+ templateData?: any | null;
4604
4604
  campaignType: AppEmailTemplateCampaignTypeChoices;
4605
4605
  isDefault: boolean;
4606
4606
  } | null;
@@ -7180,6 +7180,7 @@ export type UpdateEmailTemplateMutation = {
7180
7180
  description: string;
7181
7181
  subject?: string | null;
7182
7182
  template: string;
7183
+ templateData?: any | null;
7183
7184
  campaignType: AppEmailTemplateCampaignTypeChoices;
7184
7185
  isDefault: boolean;
7185
7186
  } | null;
@@ -8283,8 +8284,6 @@ export type CampaignContactsQuery = {
8283
8284
  phone?: string | null;
8284
8285
  contactId?: string | null;
8285
8286
  customContactId?: string | null;
8286
- isCustomer?: boolean | null;
8287
- isProspect?: boolean | null;
8288
8287
  } | null> | null;
8289
8288
  pagination?: {
8290
8289
  __typename?: 'PaginationInfo';
@@ -10758,6 +10757,7 @@ export type EmailTemplateQuery = {
10758
10757
  description: string;
10759
10758
  subject?: string | null;
10760
10759
  template: string;
10760
+ templateData?: any | null;
10761
10761
  campaignType: AppEmailTemplateCampaignTypeChoices;
10762
10762
  isDefault: boolean;
10763
10763
  } | null;
@@ -10777,6 +10777,7 @@ export type EmailTemplatesQuery = {
10777
10777
  description: string;
10778
10778
  subject?: string | null;
10779
10779
  template: string;
10780
+ templateData?: any | null;
10780
10781
  campaignType: AppEmailTemplateCampaignTypeChoices;
10781
10782
  isDefault: boolean;
10782
10783
  } | null> | null;
@@ -2437,6 +2437,7 @@ exports.CreateEmailTemplateDocument = (0, client_1.gql) `
2437
2437
  description
2438
2438
  subject
2439
2439
  template
2440
+ templateData
2440
2441
  campaignType
2441
2442
  isDefault
2442
2443
  }
@@ -5713,6 +5714,7 @@ exports.UpdateEmailTemplateDocument = (0, client_1.gql) `
5713
5714
  description
5714
5715
  subject
5715
5716
  template
5717
+ templateData
5716
5718
  campaignType
5717
5719
  isDefault
5718
5720
  }
@@ -7118,8 +7120,6 @@ exports.CampaignContactsDocument = (0, client_1.gql) `
7118
7120
  phone
7119
7121
  contactId
7120
7122
  customContactId
7121
- isCustomer
7122
- isProspect
7123
7123
  }
7124
7124
  pagination {
7125
7125
  currentPage
@@ -9741,6 +9741,7 @@ exports.EmailTemplateDocument = (0, client_1.gql) `
9741
9741
  description
9742
9742
  subject
9743
9743
  template
9744
+ templateData
9744
9745
  campaignType
9745
9746
  isDefault
9746
9747
  }
@@ -9784,6 +9785,7 @@ exports.EmailTemplatesDocument = (0, client_1.gql) `
9784
9785
  description
9785
9786
  subject
9786
9787
  template
9788
+ templateData
9787
9789
  campaignType
9788
9790
  isDefault
9789
9791
  }
package/dist/mutations.js CHANGED
@@ -2490,6 +2490,7 @@ mutation CreateEmailTemplate($input: EmailTemplateInput!) {
2490
2490
  description
2491
2491
  subject
2492
2492
  template
2493
+ templateData
2493
2494
  campaignType
2494
2495
  isDefault
2495
2496
  }
@@ -2508,6 +2509,7 @@ mutation UpdateEmailTemplate($input: EmailTemplateInput!, $uuid: UUID!) {
2508
2509
  description
2509
2510
  subject
2510
2511
  template
2512
+ templateData
2511
2513
  campaignType
2512
2514
  isDefault
2513
2515
  }
package/dist/queries.js CHANGED
@@ -2150,6 +2150,7 @@ query EmailTemplate($uuid: UUID!) {
2150
2150
  description
2151
2151
  subject
2152
2152
  template
2153
+ templateData
2153
2154
  campaignType
2154
2155
  isDefault
2155
2156
  }
@@ -2164,6 +2165,7 @@ query EmailTemplates($campaignType: String, $campaignTypes: [String]) {
2164
2165
  description
2165
2166
  subject
2166
2167
  template
2168
+ templateData
2167
2169
  campaignType
2168
2170
  isDefault
2169
2171
  }
@@ -2562,8 +2564,6 @@ query CampaignContacts($campaignUuid: ID!, $page: Int, $pageSize: Int) {
2562
2564
  phone
2563
2565
  contactId
2564
2566
  customContactId
2565
- isCustomer
2566
- isProspect
2567
2567
  }
2568
2568
  pagination {
2569
2569
  currentPage
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cf-service-sdk-dharani",
3
- "version": "0.0.53",
3
+ "version": "0.0.55",
4
4
  "type": "commonjs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",