@bcrumbs.net/inbox 0.0.33 → 0.0.37

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.
@@ -512,6 +512,47 @@ export type BroadcastsPayload = {
512
512
  nodes?: Maybe<Array<Broadcast>>;
513
513
  pageInfo?: Maybe<PageInfo>;
514
514
  };
515
+ /** BulkImportContactsInput is an input for the bulk import contacts mutation. */
516
+ export type BulkImportContactsInput = {
517
+ /** The name of the CSV file in the blob storage container. */
518
+ fileName: Scalars['String']['input'];
519
+ /** Whether to skip rows with errors and continue processing (default: false). */
520
+ skipErrors?: InputMaybe<Scalars['Boolean']['input']>;
521
+ workspaceId: Scalars['Int']['input'];
522
+ };
523
+ /** BulkImportContactsJobStatus is the status of a bulk import contacts job. */
524
+ export type BulkImportContactsJobStatus = {
525
+ __typename?: 'BulkImportContactsJobStatus';
526
+ /** Timestamp when the job completed or failed. */
527
+ completedAt?: Maybe<Scalars['DateTime']['output']>;
528
+ /** Error message if the job failed (only available when status is failed). */
529
+ error?: Maybe<Scalars['String']['output']>;
530
+ /** Number of rows with errors (only available when status is completed or failed). */
531
+ errors?: Maybe<Scalars['Int']['output']>;
532
+ /** Number of rows skipped (only available when status is completed). */
533
+ skipped?: Maybe<Scalars['Int']['output']>;
534
+ /** Timestamp when the job started processing. */
535
+ startedAt?: Maybe<Scalars['DateTime']['output']>;
536
+ /** The current status of the job. */
537
+ status: JobStatus;
538
+ /** Number of clients successfully created (only available when status is completed). */
539
+ success?: Maybe<Scalars['Int']['output']>;
540
+ /** Total number of rows processed (only available when status is completed or failed). */
541
+ totalProcessed?: Maybe<Scalars['Int']['output']>;
542
+ };
543
+ /** BulkImportContactsJobStatusInput is an input for querying bulk import contacts job status. */
544
+ export type BulkImportContactsJobStatusInput = {
545
+ /** The job ID returned from bulkImportContacts mutation. */
546
+ jobId: Scalars['String']['input'];
547
+ /** The workspace ID for the job. */
548
+ workspaceId: Scalars['Int']['input'];
549
+ };
550
+ /** BulkImportContactsResult is the result of a bulk import contacts mutation (returns job ID). */
551
+ export type BulkImportContactsResult = {
552
+ __typename?: 'BulkImportContactsResult';
553
+ /** The job ID to track the import progress. */
554
+ jobId: Scalars['String']['output'];
555
+ };
515
556
  /** Client is an entity that represents a client (The contact that is sending messages to a workspace channel). */
516
557
  export type Client = {
517
558
  __typename?: 'Client';
@@ -1113,6 +1154,18 @@ export type IntegrationsPayload = {
1113
1154
  /** The nodes of the integrations. */
1114
1155
  nodes?: Maybe<Array<Integration>>;
1115
1156
  };
1157
+ /** JobStatus represents the possible statuses of a job. */
1158
+ export declare const JobStatus: {
1159
+ /** Job completed successfully. */
1160
+ readonly COMPLETED: "completed";
1161
+ /** Job failed with an error. */
1162
+ readonly FAILED: "failed";
1163
+ /** Job is queued and waiting to be processed. */
1164
+ readonly PENDING: "pending";
1165
+ /** Job is currently being processed. */
1166
+ readonly PROCESSING: "processing";
1167
+ };
1168
+ export type JobStatus = typeof JobStatus[keyof typeof JobStatus];
1116
1169
  export declare const MediaFormat: {
1117
1170
  readonly GIF: "gif";
1118
1171
  readonly JPG: "jpg";
@@ -1262,12 +1315,32 @@ export type MessageTemplate = {
1262
1315
  __typename?: 'MessageTemplate';
1263
1316
  /** The category of the template. */
1264
1317
  category: Scalars['String']['output'];
1318
+ /** The ID of the template. */
1319
+ id: Scalars['String']['output'];
1320
+ /** The language of the template. */
1321
+ language: Scalars['String']['output'];
1322
+ library_template_name?: Maybe<Scalars['String']['output']>;
1323
+ /** The name of the template in WhatsApp manager. */
1324
+ name: Scalars['String']['output'];
1325
+ parameter_format?: Maybe<Scalars['String']['output']>;
1326
+ /** The status of the template. */
1327
+ status: TemplateState;
1328
+ };
1329
+ /** MessageTemplateDetails is a type for the full WhatsApp message template details including components. */
1330
+ export type MessageTemplateDetails = {
1331
+ __typename?: 'MessageTemplateDetails';
1332
+ /** The category of the template. */
1333
+ category: Scalars['String']['output'];
1334
+ /** The components of the template (header, body, footer, buttons). */
1335
+ components?: Maybe<Scalars['JSON']['output']>;
1265
1336
  id: Scalars['String']['output'];
1266
1337
  /** The language of the template. */
1267
1338
  language: Scalars['String']['output'];
1339
+ /** The library template name of the template. */
1268
1340
  library_template_name?: Maybe<Scalars['String']['output']>;
1269
1341
  /** The name of the template in WhatsApp manager. */
1270
1342
  name: Scalars['String']['output'];
1343
+ /** The parameter format of the template. */
1271
1344
  parameter_format?: Maybe<Scalars['String']['output']>;
1272
1345
  /** The status of the template. */
1273
1346
  status: TemplateState;
@@ -1335,6 +1408,8 @@ export type Mutation = {
1335
1408
  assignConv: Conversation;
1336
1409
  assignOwner: UserRole;
1337
1410
  assignUserRole: UserRole;
1411
+ /** Bulk import contacts from a CSV file stored in blob storage. Returns a job ID to track progress. You should have the MANAGE_CLIENTS permission to bulk import contacts. */
1412
+ bulkImportContacts: BulkImportContactsResult;
1338
1413
  /** Bulk patch tags. You should have the MANAGE_WORKSPACE permission to bulk patch tags. */
1339
1414
  bulkPatchTags: Scalars['Boolean']['output'];
1340
1415
  /** Create an agent. You should have the MANAGE_WORKSPACE permission to create an agent. */
@@ -1426,6 +1501,9 @@ export type MutationAssignOwnerArgs = {
1426
1501
  export type MutationAssignUserRoleArgs = {
1427
1502
  input: InputAssignUserRole;
1428
1503
  };
1504
+ export type MutationBulkImportContactsArgs = {
1505
+ input: BulkImportContactsInput;
1506
+ };
1429
1507
  export type MutationBulkPatchTagsArgs = {
1430
1508
  input: TagBulkPatchInput;
1431
1509
  };
@@ -1621,6 +1699,8 @@ export type Query = {
1621
1699
  broadcastStateCounts: Array<BroadcastStateCount>;
1622
1700
  /** Get the broadcasts. You should have the MANAGE_CONVS permission to get the broadcasts. */
1623
1701
  broadcasts: BroadcastsPayload;
1702
+ /** Get the status of a bulk import contacts job. You should have the MANAGE_CLIENTS permission to query job status. */
1703
+ bulkImportContactsJobStatus?: Maybe<BulkImportContactsJobStatus>;
1624
1704
  /** Get a client. You should have the MANAGE_CLIENTS permission to get a client. */
1625
1705
  client: Client;
1626
1706
  /** Get a client by phone number. You should have the MANAGE_CLIENTS permission to get a client. */
@@ -1645,6 +1725,10 @@ export type Query = {
1645
1725
  /** Get the upload signature which can be used to upload a file to the cloud storage. */
1646
1726
  uploadSignature: UploadSignatureResult;
1647
1727
  usersRoles: UsersRolesPayload;
1728
+ /** Validate a bulk import contacts CSV file before importing. Returns validation errors for each row. You should have the MANAGE_CLIENTS permission to validate files. */
1729
+ validateBulkImportContacts: ValidateBulkImportContactsResult;
1730
+ /** Get the WhatsApp message template details including components. */
1731
+ wabaMessageTemplateDetails: MessageTemplateDetails;
1648
1732
  /** Get the WhatsApp message templates. */
1649
1733
  wabaMessageTemplates: MessageTemplatesPayload;
1650
1734
  webhooks: WebhooksPayload;
@@ -1684,6 +1768,9 @@ export type QueryBroadcastsArgs = {
1684
1768
  input: BroadcastsInput;
1685
1769
  pageInfo?: InputMaybe<PageInfoInput>;
1686
1770
  };
1771
+ export type QueryBulkImportContactsJobStatusArgs = {
1772
+ input: BulkImportContactsJobStatusInput;
1773
+ };
1687
1774
  export type QueryClientArgs = {
1688
1775
  input: ClientInput;
1689
1776
  };
@@ -1726,6 +1813,12 @@ export type QueryUploadSignatureArgs = {
1726
1813
  export type QueryUsersRolesArgs = {
1727
1814
  input: InputUsersRoles;
1728
1815
  };
1816
+ export type QueryValidateBulkImportContactsArgs = {
1817
+ input: ValidateBulkImportContactsInput;
1818
+ };
1819
+ export type QueryWabaMessageTemplateDetailsArgs = {
1820
+ input: WabaMessageTemplateDetailsInput;
1821
+ };
1729
1822
  export type QueryWabaMessageTemplatesArgs = {
1730
1823
  input: WabaMessageTemplatesInput;
1731
1824
  };
@@ -1938,6 +2031,40 @@ export type UsersRolesPayload = {
1938
2031
  __typename?: 'UsersRolesPayload';
1939
2032
  nodes?: Maybe<Array<UserRole>>;
1940
2033
  };
2034
+ /** ValidateBulkImportContactsInput is an input for validating a bulk import contacts file. */
2035
+ export type ValidateBulkImportContactsInput = {
2036
+ /** The name of the CSV file in the blob storage container. */
2037
+ fileName: Scalars['String']['input'];
2038
+ /** The workspace ID for the validation. */
2039
+ workspaceId: Scalars['Int']['input'];
2040
+ };
2041
+ /** ValidateBulkImportContactsResult is the result of validating a bulk import contacts file. */
2042
+ export type ValidateBulkImportContactsResult = {
2043
+ __typename?: 'ValidateBulkImportContactsResult';
2044
+ /** List of validation errors with row numbers and error messages. */
2045
+ errors: Array<ValidationError>;
2046
+ /** Number of rows that failed validation. */
2047
+ invalidRows: Scalars['Int']['output'];
2048
+ /** Total number of rows in the CSV file. */
2049
+ totalRows: Scalars['Int']['output'];
2050
+ /** Number of rows that passed validation. */
2051
+ validRows: Scalars['Int']['output'];
2052
+ };
2053
+ /** ValidationError represents a validation error for a specific row in the CSV file. */
2054
+ export type ValidationError = {
2055
+ __typename?: 'ValidationError';
2056
+ /** The error message describing the validation issue. */
2057
+ message: Scalars['String']['output'];
2058
+ /** The row number (1-based) where the error occurred. */
2059
+ row: Scalars['Int']['output'];
2060
+ };
2061
+ /** WabaMessageTemplateDetailsInput is an input for getting WhatsApp message template details. */
2062
+ export type WabaMessageTemplateDetailsInput = {
2063
+ integrationId: Scalars['ID']['input'];
2064
+ /** The template ID from WhatsApp. */
2065
+ templateId: Scalars['String']['input'];
2066
+ workspaceId: Scalars['Int']['input'];
2067
+ };
1941
2068
  /** WabaMessageTemplatesInput is an input for the WhatsApp message templates. */
1942
2069
  export type WabaMessageTemplatesInput = {
1943
2070
  integrationId: Scalars['ID']['input'];
@@ -2265,6 +2392,8 @@ export type BroadcastFragment = {
2265
2392
  clientStageId?: string | null;
2266
2393
  templateName: string;
2267
2394
  templateLang?: string | null;
2395
+ country?: string | null;
2396
+ templateComponents?: any | null;
2268
2397
  createdAt: any;
2269
2398
  scheduledAt?: any | null;
2270
2399
  startedAt?: any | null;
@@ -2289,6 +2418,7 @@ export type ClientFragment = {
2289
2418
  tags?: Array<string> | null;
2290
2419
  createdAt: any;
2291
2420
  stageId?: string | null;
2421
+ defaultAgentId?: string | null;
2292
2422
  };
2293
2423
  export type ConversationFragment = {
2294
2424
  __typename?: 'Conversation';
@@ -2367,6 +2497,17 @@ export type TagFragment = {
2367
2497
  type: TagType;
2368
2498
  createdAt: any;
2369
2499
  };
2500
+ export type MessageTemplateDetailsFragment = {
2501
+ __typename?: 'MessageTemplateDetails';
2502
+ id: string;
2503
+ name: string;
2504
+ language: string;
2505
+ status: TemplateState;
2506
+ category: string;
2507
+ library_template_name?: string | null;
2508
+ parameter_format?: string | null;
2509
+ components?: any | null;
2510
+ };
2370
2511
  export type MessageTemplateFragment = {
2371
2512
  __typename?: 'MessageTemplate';
2372
2513
  id: string;
@@ -2519,6 +2660,8 @@ export type BroadcastQuery = {
2519
2660
  clientStageId?: string | null;
2520
2661
  templateName: string;
2521
2662
  templateLang?: string | null;
2663
+ country?: string | null;
2664
+ templateComponents?: any | null;
2522
2665
  createdAt: any;
2523
2666
  scheduledAt?: any | null;
2524
2667
  startedAt?: any | null;
@@ -2593,6 +2736,8 @@ export type BroadcastsQuery = {
2593
2736
  clientStageId?: string | null;
2594
2737
  templateName: string;
2595
2738
  templateLang?: string | null;
2739
+ country?: string | null;
2740
+ templateComponents?: any | null;
2596
2741
  createdAt: any;
2597
2742
  scheduledAt?: any | null;
2598
2743
  startedAt?: any | null;
@@ -2609,6 +2754,33 @@ export type BroadcastsQuery = {
2609
2754
  } | null;
2610
2755
  };
2611
2756
  };
2757
+ export type BulkImportContactsMutationVariables = Exact<{
2758
+ input: BulkImportContactsInput;
2759
+ }>;
2760
+ export type BulkImportContactsMutation = {
2761
+ __typename?: 'Mutation';
2762
+ bulkImportContacts: {
2763
+ __typename?: 'BulkImportContactsResult';
2764
+ jobId: string;
2765
+ };
2766
+ };
2767
+ export type BulkImportContactsJobStatusQueryVariables = Exact<{
2768
+ input: BulkImportContactsJobStatusInput;
2769
+ }>;
2770
+ export type BulkImportContactsJobStatusQuery = {
2771
+ __typename?: 'Query';
2772
+ bulkImportContactsJobStatus?: {
2773
+ __typename?: 'BulkImportContactsJobStatus';
2774
+ status: JobStatus;
2775
+ startedAt?: any | null;
2776
+ completedAt?: any | null;
2777
+ error?: string | null;
2778
+ totalProcessed?: number | null;
2779
+ success?: number | null;
2780
+ errors?: number | null;
2781
+ skipped?: number | null;
2782
+ } | null;
2783
+ };
2612
2784
  export type ClientQueryVariables = Exact<{
2613
2785
  input: ClientInput;
2614
2786
  }>;
@@ -2630,6 +2802,7 @@ export type ClientQuery = {
2630
2802
  tags?: Array<string> | null;
2631
2803
  createdAt: any;
2632
2804
  stageId?: string | null;
2805
+ defaultAgentId?: string | null;
2633
2806
  };
2634
2807
  };
2635
2808
  export type ClientByPhoneQueryVariables = Exact<{
@@ -2653,6 +2826,7 @@ export type ClientByPhoneQuery = {
2653
2826
  tags?: Array<string> | null;
2654
2827
  createdAt: any;
2655
2828
  stageId?: string | null;
2829
+ defaultAgentId?: string | null;
2656
2830
  };
2657
2831
  };
2658
2832
  export type ClientsQueryVariables = Exact<{
@@ -2679,6 +2853,7 @@ export type ClientsQuery = {
2679
2853
  tags?: Array<string> | null;
2680
2854
  createdAt: any;
2681
2855
  stageId?: string | null;
2856
+ defaultAgentId?: string | null;
2682
2857
  }> | null;
2683
2858
  pageInfo?: {
2684
2859
  __typename?: 'PageInfo';
@@ -2788,6 +2963,8 @@ export type CreateBroadcastMutation = {
2788
2963
  clientStageId?: string | null;
2789
2964
  templateName: string;
2790
2965
  templateLang?: string | null;
2966
+ country?: string | null;
2967
+ templateComponents?: any | null;
2791
2968
  createdAt: any;
2792
2969
  scheduledAt?: any | null;
2793
2970
  startedAt?: any | null;
@@ -2818,6 +2995,7 @@ export type CreateClientMutation = {
2818
2995
  tags?: Array<string> | null;
2819
2996
  createdAt: any;
2820
2997
  stageId?: string | null;
2998
+ defaultAgentId?: string | null;
2821
2999
  };
2822
3000
  };
2823
3001
  export type DeleteAgentMutationVariables = Exact<{
@@ -2853,6 +3031,8 @@ export type DeleteBroadcastMutation = {
2853
3031
  clientStageId?: string | null;
2854
3032
  templateName: string;
2855
3033
  templateLang?: string | null;
3034
+ country?: string | null;
3035
+ templateComponents?: any | null;
2856
3036
  createdAt: any;
2857
3037
  scheduledAt?: any | null;
2858
3038
  startedAt?: any | null;
@@ -2935,6 +3115,8 @@ export type LaunchBroadcastMutation = {
2935
3115
  clientStageId?: string | null;
2936
3116
  templateName: string;
2937
3117
  templateLang?: string | null;
3118
+ country?: string | null;
3119
+ templateComponents?: any | null;
2938
3120
  createdAt: any;
2939
3121
  scheduledAt?: any | null;
2940
3122
  startedAt?: any | null;
@@ -3012,6 +3194,8 @@ export type PatchBroadcastMutation = {
3012
3194
  clientStageId?: string | null;
3013
3195
  templateName: string;
3014
3196
  templateLang?: string | null;
3197
+ country?: string | null;
3198
+ templateComponents?: any | null;
3015
3199
  createdAt: any;
3016
3200
  scheduledAt?: any | null;
3017
3201
  startedAt?: any | null;
@@ -3042,6 +3226,7 @@ export type PatchClientMutation = {
3042
3226
  tags?: Array<string> | null;
3043
3227
  createdAt: any;
3044
3228
  stageId?: string | null;
3229
+ defaultAgentId?: string | null;
3045
3230
  };
3046
3231
  };
3047
3232
  export type PatchConvMutationVariables = Exact<{
@@ -3179,6 +3364,7 @@ export type TagClientMutation = {
3179
3364
  tags?: Array<string> | null;
3180
3365
  createdAt: any;
3181
3366
  stageId?: string | null;
3367
+ defaultAgentId?: string | null;
3182
3368
  };
3183
3369
  };
3184
3370
  export type TagConvMutationVariables = Exact<{
@@ -3275,6 +3461,7 @@ export type UntagClientMutation = {
3275
3461
  tags?: Array<string> | null;
3276
3462
  createdAt: any;
3277
3463
  stageId?: string | null;
3464
+ defaultAgentId?: string | null;
3278
3465
  };
3279
3466
  };
3280
3467
  export type UntagConvMutationVariables = Exact<{
@@ -3334,6 +3521,40 @@ export type UntagConvMutation = {
3334
3521
  } | null> | null;
3335
3522
  };
3336
3523
  };
3524
+ export type ValidateBulkImportContactsQueryVariables = Exact<{
3525
+ input: ValidateBulkImportContactsInput;
3526
+ }>;
3527
+ export type ValidateBulkImportContactsQuery = {
3528
+ __typename?: 'Query';
3529
+ validateBulkImportContacts: {
3530
+ __typename?: 'ValidateBulkImportContactsResult';
3531
+ totalRows: number;
3532
+ validRows: number;
3533
+ invalidRows: number;
3534
+ errors: Array<{
3535
+ __typename?: 'ValidationError';
3536
+ row: number;
3537
+ message: string;
3538
+ }>;
3539
+ };
3540
+ };
3541
+ export type WabaMessageTemplateDetailsQueryVariables = Exact<{
3542
+ input: WabaMessageTemplateDetailsInput;
3543
+ }>;
3544
+ export type WabaMessageTemplateDetailsQuery = {
3545
+ __typename?: 'Query';
3546
+ wabaMessageTemplateDetails: {
3547
+ __typename?: 'MessageTemplateDetails';
3548
+ id: string;
3549
+ name: string;
3550
+ language: string;
3551
+ status: TemplateState;
3552
+ category: string;
3553
+ library_template_name?: string | null;
3554
+ parameter_format?: string | null;
3555
+ components?: any | null;
3556
+ };
3557
+ };
3337
3558
  export type WabaMessageTemplatesQueryVariables = Exact<{
3338
3559
  input: WabaMessageTemplatesInput;
3339
3560
  }>;
@@ -3743,6 +3964,7 @@ export declare const ClientFragmentDoc: Apollo.DocumentNode;
3743
3964
  export declare const MessageFragmentDoc: Apollo.DocumentNode;
3744
3965
  export declare const ConversationFragmentDoc: Apollo.DocumentNode;
3745
3966
  export declare const TagFragmentDoc: Apollo.DocumentNode;
3967
+ export declare const MessageTemplateDetailsFragmentDoc: Apollo.DocumentNode;
3746
3968
  export declare const MessageTemplateFragmentDoc: Apollo.DocumentNode;
3747
3969
  export declare const AiFragmentDoc: Apollo.DocumentNode;
3748
3970
  export declare const ApiKeyFragmentDoc: Apollo.DocumentNode;
@@ -4426,6 +4648,72 @@ export declare function refetchBroadcastsQuery(variables: BroadcastsQueryVariabl
4426
4648
  pageInfo?: InputMaybe<PageInfoInput> | undefined;
4427
4649
  }>;
4428
4650
  };
4651
+ export declare const BulkImportContactsDocument: Apollo.DocumentNode;
4652
+ export type BulkImportContactsMutationFn = Apollo.MutationFunction<BulkImportContactsMutation, BulkImportContactsMutationVariables>;
4653
+ /**
4654
+ * __useBulkImportContactsMutation__
4655
+ *
4656
+ * To run a mutation, you first call `useBulkImportContactsMutation` within a React component and pass it any options that fit your needs.
4657
+ * When your component renders, `useBulkImportContactsMutation` returns a tuple that includes:
4658
+ * - A mutate function that you can call at any time to execute the mutation
4659
+ * - An object with fields that represent the current status of the mutation's execution
4660
+ *
4661
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
4662
+ *
4663
+ * @example
4664
+ * const [bulkImportContactsMutation, { data, loading, error }] = useBulkImportContactsMutation({
4665
+ * variables: {
4666
+ * input: // value for 'input'
4667
+ * },
4668
+ * });
4669
+ */
4670
+ export declare function useBulkImportContactsMutation(baseOptions?: Apollo.MutationHookOptions<BulkImportContactsMutation, BulkImportContactsMutationVariables>): Apollo.MutationTuple<BulkImportContactsMutation, Exact<{
4671
+ input: BulkImportContactsInput;
4672
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
4673
+ export type BulkImportContactsMutationHookResult = ReturnType<typeof useBulkImportContactsMutation>;
4674
+ export type BulkImportContactsMutationResult = Apollo.MutationResult<BulkImportContactsMutation>;
4675
+ export type BulkImportContactsMutationOptions = Apollo.BaseMutationOptions<BulkImportContactsMutation, BulkImportContactsMutationVariables>;
4676
+ export declare const BulkImportContactsJobStatusDocument: Apollo.DocumentNode;
4677
+ /**
4678
+ * __useBulkImportContactsJobStatusQuery__
4679
+ *
4680
+ * To run a query within a React component, call `useBulkImportContactsJobStatusQuery` and pass it any options that fit your needs.
4681
+ * When your component renders, `useBulkImportContactsJobStatusQuery` returns an object from Apollo Client that contains loading, error, and data properties
4682
+ * you can use to render your UI.
4683
+ *
4684
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
4685
+ *
4686
+ * @example
4687
+ * const { data, loading, error } = useBulkImportContactsJobStatusQuery({
4688
+ * variables: {
4689
+ * input: // value for 'input'
4690
+ * },
4691
+ * });
4692
+ */
4693
+ export declare function useBulkImportContactsJobStatusQuery(baseOptions: Apollo.QueryHookOptions<BulkImportContactsJobStatusQuery, BulkImportContactsJobStatusQueryVariables> & ({
4694
+ variables: BulkImportContactsJobStatusQueryVariables;
4695
+ skip?: boolean;
4696
+ } | {
4697
+ skip: boolean;
4698
+ })): Apollo.QueryResult<BulkImportContactsJobStatusQuery, Exact<{
4699
+ input: BulkImportContactsJobStatusInput;
4700
+ }>>;
4701
+ export declare function useBulkImportContactsJobStatusLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<BulkImportContactsJobStatusQuery, BulkImportContactsJobStatusQueryVariables>): Apollo.LazyQueryResultTuple<BulkImportContactsJobStatusQuery, Exact<{
4702
+ input: BulkImportContactsJobStatusInput;
4703
+ }>>;
4704
+ export declare function useBulkImportContactsJobStatusSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<BulkImportContactsJobStatusQuery, BulkImportContactsJobStatusQueryVariables>): Apollo.UseSuspenseQueryResult<BulkImportContactsJobStatusQuery | undefined, Exact<{
4705
+ input: BulkImportContactsJobStatusInput;
4706
+ }>>;
4707
+ export type BulkImportContactsJobStatusQueryHookResult = ReturnType<typeof useBulkImportContactsJobStatusQuery>;
4708
+ export type BulkImportContactsJobStatusLazyQueryHookResult = ReturnType<typeof useBulkImportContactsJobStatusLazyQuery>;
4709
+ export type BulkImportContactsJobStatusSuspenseQueryHookResult = ReturnType<typeof useBulkImportContactsJobStatusSuspenseQuery>;
4710
+ export type BulkImportContactsJobStatusQueryResult = Apollo.QueryResult<BulkImportContactsJobStatusQuery, BulkImportContactsJobStatusQueryVariables>;
4711
+ export declare function refetchBulkImportContactsJobStatusQuery(variables: BulkImportContactsJobStatusQueryVariables): {
4712
+ query: Apollo.DocumentNode;
4713
+ variables: Exact<{
4714
+ input: BulkImportContactsJobStatusInput;
4715
+ }>;
4716
+ };
4429
4717
  export declare const ClientDocument: Apollo.DocumentNode;
4430
4718
  /**
4431
4719
  * __useClientQuery__
@@ -5087,6 +5375,88 @@ export declare function useUntagConvMutation(baseOptions?: Apollo.MutationHookOp
5087
5375
  export type UntagConvMutationHookResult = ReturnType<typeof useUntagConvMutation>;
5088
5376
  export type UntagConvMutationResult = Apollo.MutationResult<UntagConvMutation>;
5089
5377
  export type UntagConvMutationOptions = Apollo.BaseMutationOptions<UntagConvMutation, UntagConvMutationVariables>;
5378
+ export declare const ValidateBulkImportContactsDocument: Apollo.DocumentNode;
5379
+ /**
5380
+ * __useValidateBulkImportContactsQuery__
5381
+ *
5382
+ * To run a query within a React component, call `useValidateBulkImportContactsQuery` and pass it any options that fit your needs.
5383
+ * When your component renders, `useValidateBulkImportContactsQuery` returns an object from Apollo Client that contains loading, error, and data properties
5384
+ * you can use to render your UI.
5385
+ *
5386
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
5387
+ *
5388
+ * @example
5389
+ * const { data, loading, error } = useValidateBulkImportContactsQuery({
5390
+ * variables: {
5391
+ * input: // value for 'input'
5392
+ * },
5393
+ * });
5394
+ */
5395
+ export declare function useValidateBulkImportContactsQuery(baseOptions: Apollo.QueryHookOptions<ValidateBulkImportContactsQuery, ValidateBulkImportContactsQueryVariables> & ({
5396
+ variables: ValidateBulkImportContactsQueryVariables;
5397
+ skip?: boolean;
5398
+ } | {
5399
+ skip: boolean;
5400
+ })): Apollo.QueryResult<ValidateBulkImportContactsQuery, Exact<{
5401
+ input: ValidateBulkImportContactsInput;
5402
+ }>>;
5403
+ export declare function useValidateBulkImportContactsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ValidateBulkImportContactsQuery, ValidateBulkImportContactsQueryVariables>): Apollo.LazyQueryResultTuple<ValidateBulkImportContactsQuery, Exact<{
5404
+ input: ValidateBulkImportContactsInput;
5405
+ }>>;
5406
+ export declare function useValidateBulkImportContactsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<ValidateBulkImportContactsQuery, ValidateBulkImportContactsQueryVariables>): Apollo.UseSuspenseQueryResult<ValidateBulkImportContactsQuery | undefined, Exact<{
5407
+ input: ValidateBulkImportContactsInput;
5408
+ }>>;
5409
+ export type ValidateBulkImportContactsQueryHookResult = ReturnType<typeof useValidateBulkImportContactsQuery>;
5410
+ export type ValidateBulkImportContactsLazyQueryHookResult = ReturnType<typeof useValidateBulkImportContactsLazyQuery>;
5411
+ export type ValidateBulkImportContactsSuspenseQueryHookResult = ReturnType<typeof useValidateBulkImportContactsSuspenseQuery>;
5412
+ export type ValidateBulkImportContactsQueryResult = Apollo.QueryResult<ValidateBulkImportContactsQuery, ValidateBulkImportContactsQueryVariables>;
5413
+ export declare function refetchValidateBulkImportContactsQuery(variables: ValidateBulkImportContactsQueryVariables): {
5414
+ query: Apollo.DocumentNode;
5415
+ variables: Exact<{
5416
+ input: ValidateBulkImportContactsInput;
5417
+ }>;
5418
+ };
5419
+ export declare const WabaMessageTemplateDetailsDocument: Apollo.DocumentNode;
5420
+ /**
5421
+ * __useWabaMessageTemplateDetailsQuery__
5422
+ *
5423
+ * To run a query within a React component, call `useWabaMessageTemplateDetailsQuery` and pass it any options that fit your needs.
5424
+ * When your component renders, `useWabaMessageTemplateDetailsQuery` returns an object from Apollo Client that contains loading, error, and data properties
5425
+ * you can use to render your UI.
5426
+ *
5427
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
5428
+ *
5429
+ * @example
5430
+ * const { data, loading, error } = useWabaMessageTemplateDetailsQuery({
5431
+ * variables: {
5432
+ * input: // value for 'input'
5433
+ * },
5434
+ * });
5435
+ */
5436
+ export declare function useWabaMessageTemplateDetailsQuery(baseOptions: Apollo.QueryHookOptions<WabaMessageTemplateDetailsQuery, WabaMessageTemplateDetailsQueryVariables> & ({
5437
+ variables: WabaMessageTemplateDetailsQueryVariables;
5438
+ skip?: boolean;
5439
+ } | {
5440
+ skip: boolean;
5441
+ })): Apollo.QueryResult<WabaMessageTemplateDetailsQuery, Exact<{
5442
+ input: WabaMessageTemplateDetailsInput;
5443
+ }>>;
5444
+ export declare function useWabaMessageTemplateDetailsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<WabaMessageTemplateDetailsQuery, WabaMessageTemplateDetailsQueryVariables>): Apollo.LazyQueryResultTuple<WabaMessageTemplateDetailsQuery, Exact<{
5445
+ input: WabaMessageTemplateDetailsInput;
5446
+ }>>;
5447
+ export declare function useWabaMessageTemplateDetailsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<WabaMessageTemplateDetailsQuery, WabaMessageTemplateDetailsQueryVariables>): Apollo.UseSuspenseQueryResult<WabaMessageTemplateDetailsQuery | undefined, Exact<{
5448
+ input: WabaMessageTemplateDetailsInput;
5449
+ }>>;
5450
+ export type WabaMessageTemplateDetailsQueryHookResult = ReturnType<typeof useWabaMessageTemplateDetailsQuery>;
5451
+ export type WabaMessageTemplateDetailsLazyQueryHookResult = ReturnType<typeof useWabaMessageTemplateDetailsLazyQuery>;
5452
+ export type WabaMessageTemplateDetailsSuspenseQueryHookResult = ReturnType<typeof useWabaMessageTemplateDetailsSuspenseQuery>;
5453
+ export type WabaMessageTemplateDetailsQueryResult = Apollo.QueryResult<WabaMessageTemplateDetailsQuery, WabaMessageTemplateDetailsQueryVariables>;
5454
+ export declare function refetchWabaMessageTemplateDetailsQuery(variables: WabaMessageTemplateDetailsQueryVariables): {
5455
+ query: Apollo.DocumentNode;
5456
+ variables: Exact<{
5457
+ input: WabaMessageTemplateDetailsInput;
5458
+ }>;
5459
+ };
5090
5460
  export declare const WabaMessageTemplatesDocument: Apollo.DocumentNode;
5091
5461
  /**
5092
5462
  * __useWabaMessageTemplatesQuery__