@getlatedev/node 0.2.378 → 0.2.379

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.
package/dist/index.d.mts CHANGED
@@ -81,7 +81,7 @@ declare class Zernio {
81
81
  getYouTubeDemographics: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetYouTubeDemographicsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<YouTubeDemographicsResponse, GetYouTubeDemographicsError, ThrowOnError>;
82
82
  getDailyMetrics: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<GetDailyMetricsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetDailyMetricsResponse, GetDailyMetricsError, ThrowOnError>;
83
83
  getBestTimeToPost: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<GetBestTimeToPostData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetBestTimeToPostResponse, GetBestTimeToPostError, ThrowOnError>;
84
- getContentDecay: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<GetContentDecayData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetContentDecayResponse, GetContentDecayError, ThrowOnError>;
84
+ getContentDecay: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<GetContentDecayData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetContentDecayResponse, unknown, ThrowOnError>;
85
85
  getPostingFrequency: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<GetPostingFrequencyData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetPostingFrequencyResponse, GetPostingFrequencyError, ThrowOnError>;
86
86
  getPostTimeline: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetPostTimelineData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetPostTimelineResponse, GetPostTimelineError, ThrowOnError>;
87
87
  getGoogleBusinessPerformance: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetGoogleBusinessPerformanceData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetGoogleBusinessPerformanceResponse, GetGoogleBusinessPerformanceError, ThrowOnError>;
@@ -649,10 +649,10 @@ declare class Zernio {
649
649
  customfields: {
650
650
  setContactFieldValue: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<SetContactFieldValueData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, SetContactFieldValueError, ThrowOnError>;
651
651
  clearContactFieldValue: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ClearContactFieldValueData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, ClearContactFieldValueError, ThrowOnError>;
652
- listCustomFields: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListCustomFieldsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListCustomFieldsResponse, ListCustomFieldsError, ThrowOnError>;
652
+ listCustomFields: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListCustomFieldsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListCustomFieldsResponse, unknown, ThrowOnError>;
653
653
  createCustomField: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CreateCustomFieldData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CreateCustomFieldResponse, unknown, ThrowOnError>;
654
- updateCustomField: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateCustomFieldData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateCustomFieldResponse, UpdateCustomFieldError, ThrowOnError>;
655
- deleteCustomField: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteCustomFieldData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, DeleteCustomFieldError, ThrowOnError>;
654
+ updateCustomField: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateCustomFieldData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateCustomFieldResponse, unknown, ThrowOnError>;
655
+ deleteCustomField: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteCustomFieldData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, unknown, ThrowOnError>;
656
656
  };
657
657
  /**
658
658
  * broadcasts API
@@ -680,7 +680,7 @@ declare class Zernio {
680
680
  deleteWorkflow: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteWorkflowData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, DeleteWorkflowError, ThrowOnError>;
681
681
  activateWorkflow: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ActivateWorkflowData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ActivateWorkflowResponse, unknown, ThrowOnError>;
682
682
  pauseWorkflow: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<PauseWorkflowData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PauseWorkflowResponse, PauseWorkflowError, ThrowOnError>;
683
- listWorkflowExecutions: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ListWorkflowExecutionsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListWorkflowExecutionsResponse, ListWorkflowExecutionsError, ThrowOnError>;
683
+ listWorkflowExecutions: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ListWorkflowExecutionsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListWorkflowExecutionsResponse, unknown, ThrowOnError>;
684
684
  triggerWorkflow: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<TriggerWorkflowData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<TriggerWorkflowResponse, unknown, ThrowOnError>;
685
685
  listWorkflowExecutionEvents: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ListWorkflowExecutionEventsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListWorkflowExecutionEventsResponse, ListWorkflowExecutionEventsError, ThrowOnError>;
686
686
  duplicateWorkflow: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DuplicateWorkflowData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DuplicateWorkflowResponse, DuplicateWorkflowError, ThrowOnError>;
@@ -8109,7 +8109,7 @@ type GetContentDecayResponse = ({
8109
8109
  post_count?: number;
8110
8110
  }>;
8111
8111
  });
8112
- type GetContentDecayError = ({
8112
+ type GetContentDecayError = (unknown | {
8113
8113
  error?: string;
8114
8114
  } | {
8115
8115
  error?: string;
@@ -16673,9 +16673,9 @@ type EnableWhatsAppCallingLegacyResponse = ({
16673
16673
  sipHostname?: string;
16674
16674
  forwardTo?: string;
16675
16675
  });
16676
- type EnableWhatsAppCallingLegacyError = ({
16676
+ type EnableWhatsAppCallingLegacyError = (unknown | {
16677
16677
  error?: string;
16678
- } | unknown);
16678
+ });
16679
16679
  type UpdateWhatsAppCallingLegacyData = {
16680
16680
  body: {
16681
16681
  accountId: string;
@@ -16690,9 +16690,9 @@ type UpdateWhatsAppCallingLegacyData = {
16690
16690
  };
16691
16691
  };
16692
16692
  type UpdateWhatsAppCallingLegacyResponse = (unknown);
16693
- type UpdateWhatsAppCallingLegacyError = ({
16693
+ type UpdateWhatsAppCallingLegacyError = (unknown | {
16694
16694
  error?: string;
16695
- } | unknown);
16695
+ });
16696
16696
  type DisableWhatsAppCallingLegacyData = {
16697
16697
  path: {
16698
16698
  id: string;
@@ -16702,9 +16702,9 @@ type DisableWhatsAppCallingLegacyData = {
16702
16702
  };
16703
16703
  };
16704
16704
  type DisableWhatsAppCallingLegacyResponse = (unknown);
16705
- type DisableWhatsAppCallingLegacyError = ({
16705
+ type DisableWhatsAppCallingLegacyError = (unknown | {
16706
16706
  error?: string;
16707
- } | unknown);
16707
+ });
16708
16708
  type GetWhatsAppCallPermissionsData = {
16709
16709
  query: {
16710
16710
  accountId: string;
@@ -19703,9 +19703,9 @@ type GetWhatsAppCallingResponse = ({
19703
19703
  */
19704
19704
  outboundDisabled?: boolean;
19705
19705
  });
19706
- type GetWhatsAppCallingError = ({
19706
+ type GetWhatsAppCallingError = (unknown | {
19707
19707
  error?: string;
19708
- } | unknown);
19708
+ });
19709
19709
  type EnableWhatsAppCallingData = {
19710
19710
  body: {
19711
19711
  accountId: string;
@@ -19734,9 +19734,9 @@ type EnableWhatsAppCallingResponse = ({
19734
19734
  sipHostname?: string;
19735
19735
  forwardTo?: string;
19736
19736
  });
19737
- type EnableWhatsAppCallingError = ({
19737
+ type EnableWhatsAppCallingError = (unknown | {
19738
19738
  error?: string;
19739
- } | unknown);
19739
+ });
19740
19740
  type UpdateWhatsAppCallingData = {
19741
19741
  body: {
19742
19742
  accountId: string;
@@ -19751,9 +19751,9 @@ type UpdateWhatsAppCallingData = {
19751
19751
  };
19752
19752
  };
19753
19753
  type UpdateWhatsAppCallingResponse = (unknown);
19754
- type UpdateWhatsAppCallingError = ({
19754
+ type UpdateWhatsAppCallingError = (unknown | {
19755
19755
  error?: string;
19756
- } | unknown);
19756
+ });
19757
19757
  type DisableWhatsAppCallingData = {
19758
19758
  path: {
19759
19759
  id: string;
@@ -19763,9 +19763,9 @@ type DisableWhatsAppCallingData = {
19763
19763
  };
19764
19764
  };
19765
19765
  type DisableWhatsAppCallingResponse = (unknown);
19766
- type DisableWhatsAppCallingError = ({
19766
+ type DisableWhatsAppCallingError = (unknown | {
19767
19767
  error?: string;
19768
- } | unknown);
19768
+ });
19769
19769
  type GetWhatsAppPhoneNumberData = {
19770
19770
  path: {
19771
19771
  /**
@@ -20901,7 +20901,7 @@ type ListCustomFieldsResponse = ({
20901
20901
  createdAt?: string;
20902
20902
  }>;
20903
20903
  });
20904
- type ListCustomFieldsError = ({
20904
+ type ListCustomFieldsError = (unknown | {
20905
20905
  error?: string;
20906
20906
  });
20907
20907
  type CreateCustomFieldData = {
@@ -20930,11 +20930,11 @@ type CreateCustomFieldResponse = ({
20930
20930
  createdAt?: string;
20931
20931
  };
20932
20932
  });
20933
- type CreateCustomFieldError = ({
20933
+ type CreateCustomFieldError = (unknown | {
20934
20934
  error?: string;
20935
- } | unknown);
20935
+ });
20936
20936
  type UpdateCustomFieldData = {
20937
- body?: {
20937
+ body: {
20938
20938
  name?: string;
20939
20939
  options?: Array<(string)>;
20940
20940
  };
@@ -20952,7 +20952,7 @@ type UpdateCustomFieldResponse = ({
20952
20952
  options?: Array<(string)>;
20953
20953
  };
20954
20954
  });
20955
- type UpdateCustomFieldError = ({
20955
+ type UpdateCustomFieldError = (unknown | {
20956
20956
  error?: string;
20957
20957
  });
20958
20958
  type DeleteCustomFieldData = {
@@ -20961,7 +20961,7 @@ type DeleteCustomFieldData = {
20961
20961
  };
20962
20962
  };
20963
20963
  type DeleteCustomFieldResponse = (unknown);
20964
- type DeleteCustomFieldError = ({
20964
+ type DeleteCustomFieldError = (unknown | {
20965
20965
  error?: string;
20966
20966
  });
20967
20967
  type ListBroadcastsData = {
@@ -21513,7 +21513,7 @@ type ListWorkflowExecutionsResponse = ({
21513
21513
  hasMore?: boolean;
21514
21514
  };
21515
21515
  });
21516
- type ListWorkflowExecutionsError = ({
21516
+ type ListWorkflowExecutionsError = (unknown | {
21517
21517
  error?: string;
21518
21518
  });
21519
21519
  type TriggerWorkflowData = {
package/dist/index.d.ts CHANGED
@@ -81,7 +81,7 @@ declare class Zernio {
81
81
  getYouTubeDemographics: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetYouTubeDemographicsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<YouTubeDemographicsResponse, GetYouTubeDemographicsError, ThrowOnError>;
82
82
  getDailyMetrics: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<GetDailyMetricsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetDailyMetricsResponse, GetDailyMetricsError, ThrowOnError>;
83
83
  getBestTimeToPost: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<GetBestTimeToPostData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetBestTimeToPostResponse, GetBestTimeToPostError, ThrowOnError>;
84
- getContentDecay: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<GetContentDecayData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetContentDecayResponse, GetContentDecayError, ThrowOnError>;
84
+ getContentDecay: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<GetContentDecayData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetContentDecayResponse, unknown, ThrowOnError>;
85
85
  getPostingFrequency: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<GetPostingFrequencyData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetPostingFrequencyResponse, GetPostingFrequencyError, ThrowOnError>;
86
86
  getPostTimeline: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetPostTimelineData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetPostTimelineResponse, GetPostTimelineError, ThrowOnError>;
87
87
  getGoogleBusinessPerformance: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetGoogleBusinessPerformanceData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetGoogleBusinessPerformanceResponse, GetGoogleBusinessPerformanceError, ThrowOnError>;
@@ -649,10 +649,10 @@ declare class Zernio {
649
649
  customfields: {
650
650
  setContactFieldValue: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<SetContactFieldValueData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, SetContactFieldValueError, ThrowOnError>;
651
651
  clearContactFieldValue: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ClearContactFieldValueData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, ClearContactFieldValueError, ThrowOnError>;
652
- listCustomFields: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListCustomFieldsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListCustomFieldsResponse, ListCustomFieldsError, ThrowOnError>;
652
+ listCustomFields: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListCustomFieldsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListCustomFieldsResponse, unknown, ThrowOnError>;
653
653
  createCustomField: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CreateCustomFieldData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CreateCustomFieldResponse, unknown, ThrowOnError>;
654
- updateCustomField: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateCustomFieldData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateCustomFieldResponse, UpdateCustomFieldError, ThrowOnError>;
655
- deleteCustomField: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteCustomFieldData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, DeleteCustomFieldError, ThrowOnError>;
654
+ updateCustomField: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateCustomFieldData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateCustomFieldResponse, unknown, ThrowOnError>;
655
+ deleteCustomField: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteCustomFieldData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, unknown, ThrowOnError>;
656
656
  };
657
657
  /**
658
658
  * broadcasts API
@@ -680,7 +680,7 @@ declare class Zernio {
680
680
  deleteWorkflow: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteWorkflowData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, DeleteWorkflowError, ThrowOnError>;
681
681
  activateWorkflow: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ActivateWorkflowData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ActivateWorkflowResponse, unknown, ThrowOnError>;
682
682
  pauseWorkflow: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<PauseWorkflowData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PauseWorkflowResponse, PauseWorkflowError, ThrowOnError>;
683
- listWorkflowExecutions: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ListWorkflowExecutionsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListWorkflowExecutionsResponse, ListWorkflowExecutionsError, ThrowOnError>;
683
+ listWorkflowExecutions: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ListWorkflowExecutionsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListWorkflowExecutionsResponse, unknown, ThrowOnError>;
684
684
  triggerWorkflow: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<TriggerWorkflowData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<TriggerWorkflowResponse, unknown, ThrowOnError>;
685
685
  listWorkflowExecutionEvents: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ListWorkflowExecutionEventsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListWorkflowExecutionEventsResponse, ListWorkflowExecutionEventsError, ThrowOnError>;
686
686
  duplicateWorkflow: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DuplicateWorkflowData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DuplicateWorkflowResponse, DuplicateWorkflowError, ThrowOnError>;
@@ -8109,7 +8109,7 @@ type GetContentDecayResponse = ({
8109
8109
  post_count?: number;
8110
8110
  }>;
8111
8111
  });
8112
- type GetContentDecayError = ({
8112
+ type GetContentDecayError = (unknown | {
8113
8113
  error?: string;
8114
8114
  } | {
8115
8115
  error?: string;
@@ -16673,9 +16673,9 @@ type EnableWhatsAppCallingLegacyResponse = ({
16673
16673
  sipHostname?: string;
16674
16674
  forwardTo?: string;
16675
16675
  });
16676
- type EnableWhatsAppCallingLegacyError = ({
16676
+ type EnableWhatsAppCallingLegacyError = (unknown | {
16677
16677
  error?: string;
16678
- } | unknown);
16678
+ });
16679
16679
  type UpdateWhatsAppCallingLegacyData = {
16680
16680
  body: {
16681
16681
  accountId: string;
@@ -16690,9 +16690,9 @@ type UpdateWhatsAppCallingLegacyData = {
16690
16690
  };
16691
16691
  };
16692
16692
  type UpdateWhatsAppCallingLegacyResponse = (unknown);
16693
- type UpdateWhatsAppCallingLegacyError = ({
16693
+ type UpdateWhatsAppCallingLegacyError = (unknown | {
16694
16694
  error?: string;
16695
- } | unknown);
16695
+ });
16696
16696
  type DisableWhatsAppCallingLegacyData = {
16697
16697
  path: {
16698
16698
  id: string;
@@ -16702,9 +16702,9 @@ type DisableWhatsAppCallingLegacyData = {
16702
16702
  };
16703
16703
  };
16704
16704
  type DisableWhatsAppCallingLegacyResponse = (unknown);
16705
- type DisableWhatsAppCallingLegacyError = ({
16705
+ type DisableWhatsAppCallingLegacyError = (unknown | {
16706
16706
  error?: string;
16707
- } | unknown);
16707
+ });
16708
16708
  type GetWhatsAppCallPermissionsData = {
16709
16709
  query: {
16710
16710
  accountId: string;
@@ -19703,9 +19703,9 @@ type GetWhatsAppCallingResponse = ({
19703
19703
  */
19704
19704
  outboundDisabled?: boolean;
19705
19705
  });
19706
- type GetWhatsAppCallingError = ({
19706
+ type GetWhatsAppCallingError = (unknown | {
19707
19707
  error?: string;
19708
- } | unknown);
19708
+ });
19709
19709
  type EnableWhatsAppCallingData = {
19710
19710
  body: {
19711
19711
  accountId: string;
@@ -19734,9 +19734,9 @@ type EnableWhatsAppCallingResponse = ({
19734
19734
  sipHostname?: string;
19735
19735
  forwardTo?: string;
19736
19736
  });
19737
- type EnableWhatsAppCallingError = ({
19737
+ type EnableWhatsAppCallingError = (unknown | {
19738
19738
  error?: string;
19739
- } | unknown);
19739
+ });
19740
19740
  type UpdateWhatsAppCallingData = {
19741
19741
  body: {
19742
19742
  accountId: string;
@@ -19751,9 +19751,9 @@ type UpdateWhatsAppCallingData = {
19751
19751
  };
19752
19752
  };
19753
19753
  type UpdateWhatsAppCallingResponse = (unknown);
19754
- type UpdateWhatsAppCallingError = ({
19754
+ type UpdateWhatsAppCallingError = (unknown | {
19755
19755
  error?: string;
19756
- } | unknown);
19756
+ });
19757
19757
  type DisableWhatsAppCallingData = {
19758
19758
  path: {
19759
19759
  id: string;
@@ -19763,9 +19763,9 @@ type DisableWhatsAppCallingData = {
19763
19763
  };
19764
19764
  };
19765
19765
  type DisableWhatsAppCallingResponse = (unknown);
19766
- type DisableWhatsAppCallingError = ({
19766
+ type DisableWhatsAppCallingError = (unknown | {
19767
19767
  error?: string;
19768
- } | unknown);
19768
+ });
19769
19769
  type GetWhatsAppPhoneNumberData = {
19770
19770
  path: {
19771
19771
  /**
@@ -20901,7 +20901,7 @@ type ListCustomFieldsResponse = ({
20901
20901
  createdAt?: string;
20902
20902
  }>;
20903
20903
  });
20904
- type ListCustomFieldsError = ({
20904
+ type ListCustomFieldsError = (unknown | {
20905
20905
  error?: string;
20906
20906
  });
20907
20907
  type CreateCustomFieldData = {
@@ -20930,11 +20930,11 @@ type CreateCustomFieldResponse = ({
20930
20930
  createdAt?: string;
20931
20931
  };
20932
20932
  });
20933
- type CreateCustomFieldError = ({
20933
+ type CreateCustomFieldError = (unknown | {
20934
20934
  error?: string;
20935
- } | unknown);
20935
+ });
20936
20936
  type UpdateCustomFieldData = {
20937
- body?: {
20937
+ body: {
20938
20938
  name?: string;
20939
20939
  options?: Array<(string)>;
20940
20940
  };
@@ -20952,7 +20952,7 @@ type UpdateCustomFieldResponse = ({
20952
20952
  options?: Array<(string)>;
20953
20953
  };
20954
20954
  });
20955
- type UpdateCustomFieldError = ({
20955
+ type UpdateCustomFieldError = (unknown | {
20956
20956
  error?: string;
20957
20957
  });
20958
20958
  type DeleteCustomFieldData = {
@@ -20961,7 +20961,7 @@ type DeleteCustomFieldData = {
20961
20961
  };
20962
20962
  };
20963
20963
  type DeleteCustomFieldResponse = (unknown);
20964
- type DeleteCustomFieldError = ({
20964
+ type DeleteCustomFieldError = (unknown | {
20965
20965
  error?: string;
20966
20966
  });
20967
20967
  type ListBroadcastsData = {
@@ -21513,7 +21513,7 @@ type ListWorkflowExecutionsResponse = ({
21513
21513
  hasMore?: boolean;
21514
21514
  };
21515
21515
  });
21516
- type ListWorkflowExecutionsError = ({
21516
+ type ListWorkflowExecutionsError = (unknown | {
21517
21517
  error?: string;
21518
21518
  });
21519
21519
  type TriggerWorkflowData = {
package/dist/index.js CHANGED
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
36
36
  // package.json
37
37
  var package_default = {
38
38
  name: "@getlatedev/node",
39
- version: "0.2.378",
39
+ version: "0.2.379",
40
40
  description: "The official Node.js library for the Zernio API",
41
41
  main: "dist/index.js",
42
42
  module: "dist/index.mjs",
package/dist/index.mjs CHANGED
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
5
5
  // package.json
6
6
  var package_default = {
7
7
  name: "@getlatedev/node",
8
- version: "0.2.378",
8
+ version: "0.2.379",
9
9
  description: "The official Node.js library for the Zernio API",
10
10
  main: "dist/index.js",
11
11
  module: "dist/index.mjs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlatedev/node",
3
- "version": "0.2.378",
3
+ "version": "0.2.379",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -7548,7 +7548,7 @@ export type GetContentDecayResponse = ({
7548
7548
  }>;
7549
7549
  });
7550
7550
 
7551
- export type GetContentDecayError = ({
7551
+ export type GetContentDecayError = (unknown | {
7552
7552
  error?: string;
7553
7553
  } | {
7554
7554
  error?: string;
@@ -16742,9 +16742,9 @@ export type EnableWhatsAppCallingLegacyResponse = ({
16742
16742
  forwardTo?: string;
16743
16743
  });
16744
16744
 
16745
- export type EnableWhatsAppCallingLegacyError = ({
16745
+ export type EnableWhatsAppCallingLegacyError = (unknown | {
16746
16746
  error?: string;
16747
- } | unknown);
16747
+ });
16748
16748
 
16749
16749
  export type UpdateWhatsAppCallingLegacyData = {
16750
16750
  body: {
@@ -16762,9 +16762,9 @@ export type UpdateWhatsAppCallingLegacyData = {
16762
16762
 
16763
16763
  export type UpdateWhatsAppCallingLegacyResponse = (unknown);
16764
16764
 
16765
- export type UpdateWhatsAppCallingLegacyError = ({
16765
+ export type UpdateWhatsAppCallingLegacyError = (unknown | {
16766
16766
  error?: string;
16767
- } | unknown);
16767
+ });
16768
16768
 
16769
16769
  export type DisableWhatsAppCallingLegacyData = {
16770
16770
  path: {
@@ -16777,9 +16777,9 @@ export type DisableWhatsAppCallingLegacyData = {
16777
16777
 
16778
16778
  export type DisableWhatsAppCallingLegacyResponse = (unknown);
16779
16779
 
16780
- export type DisableWhatsAppCallingLegacyError = ({
16780
+ export type DisableWhatsAppCallingLegacyError = (unknown | {
16781
16781
  error?: string;
16782
- } | unknown);
16782
+ });
16783
16783
 
16784
16784
  export type GetWhatsAppCallPermissionsData = {
16785
16785
  query: {
@@ -20032,9 +20032,9 @@ export type GetWhatsAppCallingResponse = ({
20032
20032
  outboundDisabled?: boolean;
20033
20033
  });
20034
20034
 
20035
- export type GetWhatsAppCallingError = ({
20035
+ export type GetWhatsAppCallingError = (unknown | {
20036
20036
  error?: string;
20037
- } | unknown);
20037
+ });
20038
20038
 
20039
20039
  export type EnableWhatsAppCallingData = {
20040
20040
  body: {
@@ -20066,9 +20066,9 @@ export type EnableWhatsAppCallingResponse = ({
20066
20066
  forwardTo?: string;
20067
20067
  });
20068
20068
 
20069
- export type EnableWhatsAppCallingError = ({
20069
+ export type EnableWhatsAppCallingError = (unknown | {
20070
20070
  error?: string;
20071
- } | unknown);
20071
+ });
20072
20072
 
20073
20073
  export type UpdateWhatsAppCallingData = {
20074
20074
  body: {
@@ -20086,9 +20086,9 @@ export type UpdateWhatsAppCallingData = {
20086
20086
 
20087
20087
  export type UpdateWhatsAppCallingResponse = (unknown);
20088
20088
 
20089
- export type UpdateWhatsAppCallingError = ({
20089
+ export type UpdateWhatsAppCallingError = (unknown | {
20090
20090
  error?: string;
20091
- } | unknown);
20091
+ });
20092
20092
 
20093
20093
  export type DisableWhatsAppCallingData = {
20094
20094
  path: {
@@ -20101,9 +20101,9 @@ export type DisableWhatsAppCallingData = {
20101
20101
 
20102
20102
  export type DisableWhatsAppCallingResponse = (unknown);
20103
20103
 
20104
- export type DisableWhatsAppCallingError = ({
20104
+ export type DisableWhatsAppCallingError = (unknown | {
20105
20105
  error?: string;
20106
- } | unknown);
20106
+ });
20107
20107
 
20108
20108
  export type GetWhatsAppPhoneNumberData = {
20109
20109
  path: {
@@ -21355,7 +21355,7 @@ export type ListCustomFieldsResponse = ({
21355
21355
  }>;
21356
21356
  });
21357
21357
 
21358
- export type ListCustomFieldsError = ({
21358
+ export type ListCustomFieldsError = (unknown | {
21359
21359
  error?: string;
21360
21360
  });
21361
21361
 
@@ -21387,12 +21387,12 @@ export type CreateCustomFieldResponse = ({
21387
21387
  };
21388
21388
  });
21389
21389
 
21390
- export type CreateCustomFieldError = ({
21390
+ export type CreateCustomFieldError = (unknown | {
21391
21391
  error?: string;
21392
- } | unknown);
21392
+ });
21393
21393
 
21394
21394
  export type UpdateCustomFieldData = {
21395
- body?: {
21395
+ body: {
21396
21396
  name?: string;
21397
21397
  options?: Array<(string)>;
21398
21398
  };
@@ -21412,7 +21412,7 @@ export type UpdateCustomFieldResponse = ({
21412
21412
  };
21413
21413
  });
21414
21414
 
21415
- export type UpdateCustomFieldError = ({
21415
+ export type UpdateCustomFieldError = (unknown | {
21416
21416
  error?: string;
21417
21417
  });
21418
21418
 
@@ -21424,7 +21424,7 @@ export type DeleteCustomFieldData = {
21424
21424
 
21425
21425
  export type DeleteCustomFieldResponse = (unknown);
21426
21426
 
21427
- export type DeleteCustomFieldError = ({
21427
+ export type DeleteCustomFieldError = (unknown | {
21428
21428
  error?: string;
21429
21429
  });
21430
21430
 
@@ -22030,7 +22030,7 @@ export type ListWorkflowExecutionsResponse = ({
22030
22030
  };
22031
22031
  });
22032
22032
 
22033
- export type ListWorkflowExecutionsError = ({
22033
+ export type ListWorkflowExecutionsError = (unknown | {
22034
22034
  error?: string;
22035
22035
  });
22036
22036