cf-service-sdk-dharani 0.0.69 → 0.0.70

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.
@@ -2565,14 +2565,8 @@ export type RecentlyContactedContactType = {
2565
2565
  /** ReduceSpam - Reduce spam score of email content using Claude LLM */
2566
2566
  export type ReduceSpam = {
2567
2567
  __typename?: 'ReduceSpam';
2568
- changesMade?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
2569
- cleanedContent?: Maybe<Scalars['String']['output']>;
2570
- cleanedSubject?: Maybe<Scalars['String']['output']>;
2571
2568
  message?: Maybe<Scalars['String']['output']>;
2572
- noChangesNeeded?: Maybe<Scalars['Boolean']['output']>;
2573
- noOfChanges?: Maybe<Scalars['Int']['output']>;
2574
- originalContent?: Maybe<Scalars['String']['output']>;
2575
- originalSubject?: Maybe<Scalars['String']['output']>;
2569
+ reduceSpamResponse?: Maybe<ReduceSpamResponse>;
2576
2570
  success?: Maybe<Scalars['Boolean']['output']>;
2577
2571
  };
2578
2572
  /** ReduceSpamInput for reducing spam score of email content */
@@ -2580,7 +2574,20 @@ export type ReduceSpamInput = {
2580
2574
  /** Original email content */
2581
2575
  emailContent: Scalars['String']['input'];
2582
2576
  /** Original email subject (optional) */
2583
- subject: Scalars['String']['input'];
2577
+ subject?: InputMaybe<Scalars['String']['input']>;
2578
+ };
2579
+ /** ReduceSpamResponse - Response for spam reduction */
2580
+ export type ReduceSpamResponse = {
2581
+ __typename?: 'ReduceSpamResponse';
2582
+ changesMade?: Maybe<Scalars['JSONString']['output']>;
2583
+ cleanedContent?: Maybe<Scalars['String']['output']>;
2584
+ cleanedSubject?: Maybe<Scalars['String']['output']>;
2585
+ message?: Maybe<Scalars['String']['output']>;
2586
+ noChangesNeeded?: Maybe<Scalars['Boolean']['output']>;
2587
+ noOfChanges?: Maybe<Scalars['Int']['output']>;
2588
+ originalContent?: Maybe<Scalars['String']['output']>;
2589
+ originalSubject?: Maybe<Scalars['String']['output']>;
2590
+ success?: Maybe<Scalars['Boolean']['output']>;
2584
2591
  };
2585
2592
  /** RejectInvitation - Reject an invitation to join an account */
2586
2593
  export type RejectInvitation = {
@@ -5433,12 +5440,18 @@ export type ReduceSpamMutation = {
5433
5440
  __typename?: 'ReduceSpam';
5434
5441
  success?: boolean | null;
5435
5442
  message?: string | null;
5436
- originalSubject?: string | null;
5437
- cleanedSubject?: string | null;
5438
- originalContent?: string | null;
5439
- cleanedContent?: string | null;
5440
- noOfChanges?: number | null;
5441
- noChangesNeeded?: boolean | null;
5443
+ reduceSpamResponse?: {
5444
+ __typename?: 'ReduceSpamResponse';
5445
+ success?: boolean | null;
5446
+ message?: string | null;
5447
+ originalSubject?: string | null;
5448
+ cleanedSubject?: string | null;
5449
+ originalContent?: string | null;
5450
+ cleanedContent?: string | null;
5451
+ changesMade?: any | null;
5452
+ noOfChanges?: number | null;
5453
+ noChangesNeeded?: boolean | null;
5454
+ } | null;
5442
5455
  } | null;
5443
5456
  };
5444
5457
  export type RejectInvitationMutationVariables = Exact<{
@@ -3538,12 +3538,17 @@ exports.ReduceSpamDocument = (0, client_1.gql) `
3538
3538
  reduceSpam(input: $input) {
3539
3539
  success
3540
3540
  message
3541
- originalSubject
3542
- cleanedSubject
3543
- originalContent
3544
- cleanedContent
3545
- noOfChanges
3546
- noChangesNeeded
3541
+ reduceSpamResponse {
3542
+ success
3543
+ message
3544
+ originalSubject
3545
+ cleanedSubject
3546
+ originalContent
3547
+ cleanedContent
3548
+ changesMade
3549
+ noOfChanges
3550
+ noChangesNeeded
3551
+ }
3547
3552
  }
3548
3553
  }
3549
3554
  `;
package/dist/mutations.js CHANGED
@@ -2729,12 +2729,17 @@ mutation ReduceSpam($input: ReduceSpamInput!) {
2729
2729
  reduceSpam(input: $input) {
2730
2730
  success
2731
2731
  message
2732
- originalSubject
2733
- cleanedSubject
2734
- originalContent
2735
- cleanedContent
2736
- noOfChanges
2737
- noChangesNeeded
2732
+ reduceSpamResponse {
2733
+ success
2734
+ message
2735
+ originalSubject
2736
+ cleanedSubject
2737
+ originalContent
2738
+ cleanedContent
2739
+ changesMade
2740
+ noOfChanges
2741
+ noChangesNeeded
2742
+ }
2738
2743
  }
2739
2744
  }`;
2740
2745
  exports.SAVE_NYLAS_CONNECTION = (0, client_1.gql) `
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cf-service-sdk-dharani",
3
- "version": "0.0.69",
3
+ "version": "0.0.70",
4
4
  "type": "commonjs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",