@getlatedev/node 0.2.377 → 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;
@@ -10411,6 +10411,16 @@ type GetGoogleBusinessReviewsResponse = ({
10411
10411
  comment?: string;
10412
10412
  updateTime?: string;
10413
10413
  } | null;
10414
+ /**
10415
+ * Number of photos attached to the review (photos only, videos are not counted)
10416
+ */
10417
+ photoCount?: number;
10418
+ /**
10419
+ * Photos attached to the review by the reviewer
10420
+ */
10421
+ photos?: Array<{
10422
+ url?: string;
10423
+ }>;
10414
10424
  }>;
10415
10425
  /**
10416
10426
  * Overall average rating
@@ -16342,6 +16352,12 @@ type ListInboxReviewsResponse = ({
16342
16352
  * Number of photos attached to the review (photos only; videos are not counted). Google Business only; 0 for other platforms.
16343
16353
  */
16344
16354
  photoCount?: number;
16355
+ /**
16356
+ * Photos attached to the review. Google Business only; always an empty array for other platforms.
16357
+ */
16358
+ photos?: Array<{
16359
+ url?: string;
16360
+ }>;
16345
16361
  reply?: {
16346
16362
  id?: string;
16347
16363
  text?: string;
@@ -16657,9 +16673,9 @@ type EnableWhatsAppCallingLegacyResponse = ({
16657
16673
  sipHostname?: string;
16658
16674
  forwardTo?: string;
16659
16675
  });
16660
- type EnableWhatsAppCallingLegacyError = ({
16676
+ type EnableWhatsAppCallingLegacyError = (unknown | {
16661
16677
  error?: string;
16662
- } | unknown);
16678
+ });
16663
16679
  type UpdateWhatsAppCallingLegacyData = {
16664
16680
  body: {
16665
16681
  accountId: string;
@@ -16674,9 +16690,9 @@ type UpdateWhatsAppCallingLegacyData = {
16674
16690
  };
16675
16691
  };
16676
16692
  type UpdateWhatsAppCallingLegacyResponse = (unknown);
16677
- type UpdateWhatsAppCallingLegacyError = ({
16693
+ type UpdateWhatsAppCallingLegacyError = (unknown | {
16678
16694
  error?: string;
16679
- } | unknown);
16695
+ });
16680
16696
  type DisableWhatsAppCallingLegacyData = {
16681
16697
  path: {
16682
16698
  id: string;
@@ -16686,9 +16702,9 @@ type DisableWhatsAppCallingLegacyData = {
16686
16702
  };
16687
16703
  };
16688
16704
  type DisableWhatsAppCallingLegacyResponse = (unknown);
16689
- type DisableWhatsAppCallingLegacyError = ({
16705
+ type DisableWhatsAppCallingLegacyError = (unknown | {
16690
16706
  error?: string;
16691
- } | unknown);
16707
+ });
16692
16708
  type GetWhatsAppCallPermissionsData = {
16693
16709
  query: {
16694
16710
  accountId: string;
@@ -19687,9 +19703,9 @@ type GetWhatsAppCallingResponse = ({
19687
19703
  */
19688
19704
  outboundDisabled?: boolean;
19689
19705
  });
19690
- type GetWhatsAppCallingError = ({
19706
+ type GetWhatsAppCallingError = (unknown | {
19691
19707
  error?: string;
19692
- } | unknown);
19708
+ });
19693
19709
  type EnableWhatsAppCallingData = {
19694
19710
  body: {
19695
19711
  accountId: string;
@@ -19718,9 +19734,9 @@ type EnableWhatsAppCallingResponse = ({
19718
19734
  sipHostname?: string;
19719
19735
  forwardTo?: string;
19720
19736
  });
19721
- type EnableWhatsAppCallingError = ({
19737
+ type EnableWhatsAppCallingError = (unknown | {
19722
19738
  error?: string;
19723
- } | unknown);
19739
+ });
19724
19740
  type UpdateWhatsAppCallingData = {
19725
19741
  body: {
19726
19742
  accountId: string;
@@ -19735,9 +19751,9 @@ type UpdateWhatsAppCallingData = {
19735
19751
  };
19736
19752
  };
19737
19753
  type UpdateWhatsAppCallingResponse = (unknown);
19738
- type UpdateWhatsAppCallingError = ({
19754
+ type UpdateWhatsAppCallingError = (unknown | {
19739
19755
  error?: string;
19740
- } | unknown);
19756
+ });
19741
19757
  type DisableWhatsAppCallingData = {
19742
19758
  path: {
19743
19759
  id: string;
@@ -19747,9 +19763,9 @@ type DisableWhatsAppCallingData = {
19747
19763
  };
19748
19764
  };
19749
19765
  type DisableWhatsAppCallingResponse = (unknown);
19750
- type DisableWhatsAppCallingError = ({
19766
+ type DisableWhatsAppCallingError = (unknown | {
19751
19767
  error?: string;
19752
- } | unknown);
19768
+ });
19753
19769
  type GetWhatsAppPhoneNumberData = {
19754
19770
  path: {
19755
19771
  /**
@@ -20885,7 +20901,7 @@ type ListCustomFieldsResponse = ({
20885
20901
  createdAt?: string;
20886
20902
  }>;
20887
20903
  });
20888
- type ListCustomFieldsError = ({
20904
+ type ListCustomFieldsError = (unknown | {
20889
20905
  error?: string;
20890
20906
  });
20891
20907
  type CreateCustomFieldData = {
@@ -20914,11 +20930,11 @@ type CreateCustomFieldResponse = ({
20914
20930
  createdAt?: string;
20915
20931
  };
20916
20932
  });
20917
- type CreateCustomFieldError = ({
20933
+ type CreateCustomFieldError = (unknown | {
20918
20934
  error?: string;
20919
- } | unknown);
20935
+ });
20920
20936
  type UpdateCustomFieldData = {
20921
- body?: {
20937
+ body: {
20922
20938
  name?: string;
20923
20939
  options?: Array<(string)>;
20924
20940
  };
@@ -20936,7 +20952,7 @@ type UpdateCustomFieldResponse = ({
20936
20952
  options?: Array<(string)>;
20937
20953
  };
20938
20954
  });
20939
- type UpdateCustomFieldError = ({
20955
+ type UpdateCustomFieldError = (unknown | {
20940
20956
  error?: string;
20941
20957
  });
20942
20958
  type DeleteCustomFieldData = {
@@ -20945,7 +20961,7 @@ type DeleteCustomFieldData = {
20945
20961
  };
20946
20962
  };
20947
20963
  type DeleteCustomFieldResponse = (unknown);
20948
- type DeleteCustomFieldError = ({
20964
+ type DeleteCustomFieldError = (unknown | {
20949
20965
  error?: string;
20950
20966
  });
20951
20967
  type ListBroadcastsData = {
@@ -21497,7 +21513,7 @@ type ListWorkflowExecutionsResponse = ({
21497
21513
  hasMore?: boolean;
21498
21514
  };
21499
21515
  });
21500
- type ListWorkflowExecutionsError = ({
21516
+ type ListWorkflowExecutionsError = (unknown | {
21501
21517
  error?: string;
21502
21518
  });
21503
21519
  type TriggerWorkflowData = {
@@ -23912,7 +23928,16 @@ type CreateStandaloneAdData = {
23912
23928
  */
23913
23929
  organizationId?: string;
23914
23930
  /**
23915
- * ISO 3166-1 alpha-2 country codes (e.g. ['NL']). Defaults to ['US'] when no `cities` or `regions` are provided. (LinkedIn currently honours country-level targeting only.)
23931
+ * Nested targeting object the same TargetingSpec shape as `POST /v1/ads/boost`,
23932
+ * `POST /v1/ads/targeting/reach-estimate`, and `saved_targeting` audiences. Merged
23933
+ * UNDER the flat inline targeting fields below: `savedTargetingId` < `targeting` <
23934
+ * flat fields (a flat field present on the body replaces the nested value entirely).
23935
+ * Both forms are equivalent; use whichever your integration already builds.
23936
+ *
23937
+ */
23938
+ targeting?: (TargetingSpec);
23939
+ /**
23940
+ * ISO 3166-1 alpha-2 country codes (e.g. ['NL']). Defaults to ['US'] when no other geo targeting (flat or nested `targeting`) is provided. (LinkedIn currently honours country-level targeting only.)
23916
23941
  */
23917
23942
  countries?: Array<(string)>;
23918
23943
  /**
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;
@@ -10411,6 +10411,16 @@ type GetGoogleBusinessReviewsResponse = ({
10411
10411
  comment?: string;
10412
10412
  updateTime?: string;
10413
10413
  } | null;
10414
+ /**
10415
+ * Number of photos attached to the review (photos only, videos are not counted)
10416
+ */
10417
+ photoCount?: number;
10418
+ /**
10419
+ * Photos attached to the review by the reviewer
10420
+ */
10421
+ photos?: Array<{
10422
+ url?: string;
10423
+ }>;
10414
10424
  }>;
10415
10425
  /**
10416
10426
  * Overall average rating
@@ -16342,6 +16352,12 @@ type ListInboxReviewsResponse = ({
16342
16352
  * Number of photos attached to the review (photos only; videos are not counted). Google Business only; 0 for other platforms.
16343
16353
  */
16344
16354
  photoCount?: number;
16355
+ /**
16356
+ * Photos attached to the review. Google Business only; always an empty array for other platforms.
16357
+ */
16358
+ photos?: Array<{
16359
+ url?: string;
16360
+ }>;
16345
16361
  reply?: {
16346
16362
  id?: string;
16347
16363
  text?: string;
@@ -16657,9 +16673,9 @@ type EnableWhatsAppCallingLegacyResponse = ({
16657
16673
  sipHostname?: string;
16658
16674
  forwardTo?: string;
16659
16675
  });
16660
- type EnableWhatsAppCallingLegacyError = ({
16676
+ type EnableWhatsAppCallingLegacyError = (unknown | {
16661
16677
  error?: string;
16662
- } | unknown);
16678
+ });
16663
16679
  type UpdateWhatsAppCallingLegacyData = {
16664
16680
  body: {
16665
16681
  accountId: string;
@@ -16674,9 +16690,9 @@ type UpdateWhatsAppCallingLegacyData = {
16674
16690
  };
16675
16691
  };
16676
16692
  type UpdateWhatsAppCallingLegacyResponse = (unknown);
16677
- type UpdateWhatsAppCallingLegacyError = ({
16693
+ type UpdateWhatsAppCallingLegacyError = (unknown | {
16678
16694
  error?: string;
16679
- } | unknown);
16695
+ });
16680
16696
  type DisableWhatsAppCallingLegacyData = {
16681
16697
  path: {
16682
16698
  id: string;
@@ -16686,9 +16702,9 @@ type DisableWhatsAppCallingLegacyData = {
16686
16702
  };
16687
16703
  };
16688
16704
  type DisableWhatsAppCallingLegacyResponse = (unknown);
16689
- type DisableWhatsAppCallingLegacyError = ({
16705
+ type DisableWhatsAppCallingLegacyError = (unknown | {
16690
16706
  error?: string;
16691
- } | unknown);
16707
+ });
16692
16708
  type GetWhatsAppCallPermissionsData = {
16693
16709
  query: {
16694
16710
  accountId: string;
@@ -19687,9 +19703,9 @@ type GetWhatsAppCallingResponse = ({
19687
19703
  */
19688
19704
  outboundDisabled?: boolean;
19689
19705
  });
19690
- type GetWhatsAppCallingError = ({
19706
+ type GetWhatsAppCallingError = (unknown | {
19691
19707
  error?: string;
19692
- } | unknown);
19708
+ });
19693
19709
  type EnableWhatsAppCallingData = {
19694
19710
  body: {
19695
19711
  accountId: string;
@@ -19718,9 +19734,9 @@ type EnableWhatsAppCallingResponse = ({
19718
19734
  sipHostname?: string;
19719
19735
  forwardTo?: string;
19720
19736
  });
19721
- type EnableWhatsAppCallingError = ({
19737
+ type EnableWhatsAppCallingError = (unknown | {
19722
19738
  error?: string;
19723
- } | unknown);
19739
+ });
19724
19740
  type UpdateWhatsAppCallingData = {
19725
19741
  body: {
19726
19742
  accountId: string;
@@ -19735,9 +19751,9 @@ type UpdateWhatsAppCallingData = {
19735
19751
  };
19736
19752
  };
19737
19753
  type UpdateWhatsAppCallingResponse = (unknown);
19738
- type UpdateWhatsAppCallingError = ({
19754
+ type UpdateWhatsAppCallingError = (unknown | {
19739
19755
  error?: string;
19740
- } | unknown);
19756
+ });
19741
19757
  type DisableWhatsAppCallingData = {
19742
19758
  path: {
19743
19759
  id: string;
@@ -19747,9 +19763,9 @@ type DisableWhatsAppCallingData = {
19747
19763
  };
19748
19764
  };
19749
19765
  type DisableWhatsAppCallingResponse = (unknown);
19750
- type DisableWhatsAppCallingError = ({
19766
+ type DisableWhatsAppCallingError = (unknown | {
19751
19767
  error?: string;
19752
- } | unknown);
19768
+ });
19753
19769
  type GetWhatsAppPhoneNumberData = {
19754
19770
  path: {
19755
19771
  /**
@@ -20885,7 +20901,7 @@ type ListCustomFieldsResponse = ({
20885
20901
  createdAt?: string;
20886
20902
  }>;
20887
20903
  });
20888
- type ListCustomFieldsError = ({
20904
+ type ListCustomFieldsError = (unknown | {
20889
20905
  error?: string;
20890
20906
  });
20891
20907
  type CreateCustomFieldData = {
@@ -20914,11 +20930,11 @@ type CreateCustomFieldResponse = ({
20914
20930
  createdAt?: string;
20915
20931
  };
20916
20932
  });
20917
- type CreateCustomFieldError = ({
20933
+ type CreateCustomFieldError = (unknown | {
20918
20934
  error?: string;
20919
- } | unknown);
20935
+ });
20920
20936
  type UpdateCustomFieldData = {
20921
- body?: {
20937
+ body: {
20922
20938
  name?: string;
20923
20939
  options?: Array<(string)>;
20924
20940
  };
@@ -20936,7 +20952,7 @@ type UpdateCustomFieldResponse = ({
20936
20952
  options?: Array<(string)>;
20937
20953
  };
20938
20954
  });
20939
- type UpdateCustomFieldError = ({
20955
+ type UpdateCustomFieldError = (unknown | {
20940
20956
  error?: string;
20941
20957
  });
20942
20958
  type DeleteCustomFieldData = {
@@ -20945,7 +20961,7 @@ type DeleteCustomFieldData = {
20945
20961
  };
20946
20962
  };
20947
20963
  type DeleteCustomFieldResponse = (unknown);
20948
- type DeleteCustomFieldError = ({
20964
+ type DeleteCustomFieldError = (unknown | {
20949
20965
  error?: string;
20950
20966
  });
20951
20967
  type ListBroadcastsData = {
@@ -21497,7 +21513,7 @@ type ListWorkflowExecutionsResponse = ({
21497
21513
  hasMore?: boolean;
21498
21514
  };
21499
21515
  });
21500
- type ListWorkflowExecutionsError = ({
21516
+ type ListWorkflowExecutionsError = (unknown | {
21501
21517
  error?: string;
21502
21518
  });
21503
21519
  type TriggerWorkflowData = {
@@ -23912,7 +23928,16 @@ type CreateStandaloneAdData = {
23912
23928
  */
23913
23929
  organizationId?: string;
23914
23930
  /**
23915
- * ISO 3166-1 alpha-2 country codes (e.g. ['NL']). Defaults to ['US'] when no `cities` or `regions` are provided. (LinkedIn currently honours country-level targeting only.)
23931
+ * Nested targeting object the same TargetingSpec shape as `POST /v1/ads/boost`,
23932
+ * `POST /v1/ads/targeting/reach-estimate`, and `saved_targeting` audiences. Merged
23933
+ * UNDER the flat inline targeting fields below: `savedTargetingId` < `targeting` <
23934
+ * flat fields (a flat field present on the body replaces the nested value entirely).
23935
+ * Both forms are equivalent; use whichever your integration already builds.
23936
+ *
23937
+ */
23938
+ targeting?: (TargetingSpec);
23939
+ /**
23940
+ * ISO 3166-1 alpha-2 country codes (e.g. ['NL']). Defaults to ['US'] when no other geo targeting (flat or nested `targeting`) is provided. (LinkedIn currently honours country-level targeting only.)
23916
23941
  */
23917
23942
  countries?: Array<(string)>;
23918
23943
  /**
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.377",
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.377",
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.377",
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;
@@ -10033,6 +10033,16 @@ export type GetGoogleBusinessReviewsResponse = ({
10033
10033
  comment?: string;
10034
10034
  updateTime?: string;
10035
10035
  } | null;
10036
+ /**
10037
+ * Number of photos attached to the review (photos only, videos are not counted)
10038
+ */
10039
+ photoCount?: number;
10040
+ /**
10041
+ * Photos attached to the review by the reviewer
10042
+ */
10043
+ photos?: Array<{
10044
+ url?: string;
10045
+ }>;
10036
10046
  }>;
10037
10047
  /**
10038
10048
  * Overall average rating
@@ -16383,6 +16393,12 @@ export type ListInboxReviewsResponse = ({
16383
16393
  * Number of photos attached to the review (photos only; videos are not counted). Google Business only; 0 for other platforms.
16384
16394
  */
16385
16395
  photoCount?: number;
16396
+ /**
16397
+ * Photos attached to the review. Google Business only; always an empty array for other platforms.
16398
+ */
16399
+ photos?: Array<{
16400
+ url?: string;
16401
+ }>;
16386
16402
  reply?: {
16387
16403
  id?: string;
16388
16404
  text?: string;
@@ -16726,9 +16742,9 @@ export type EnableWhatsAppCallingLegacyResponse = ({
16726
16742
  forwardTo?: string;
16727
16743
  });
16728
16744
 
16729
- export type EnableWhatsAppCallingLegacyError = ({
16745
+ export type EnableWhatsAppCallingLegacyError = (unknown | {
16730
16746
  error?: string;
16731
- } | unknown);
16747
+ });
16732
16748
 
16733
16749
  export type UpdateWhatsAppCallingLegacyData = {
16734
16750
  body: {
@@ -16746,9 +16762,9 @@ export type UpdateWhatsAppCallingLegacyData = {
16746
16762
 
16747
16763
  export type UpdateWhatsAppCallingLegacyResponse = (unknown);
16748
16764
 
16749
- export type UpdateWhatsAppCallingLegacyError = ({
16765
+ export type UpdateWhatsAppCallingLegacyError = (unknown | {
16750
16766
  error?: string;
16751
- } | unknown);
16767
+ });
16752
16768
 
16753
16769
  export type DisableWhatsAppCallingLegacyData = {
16754
16770
  path: {
@@ -16761,9 +16777,9 @@ export type DisableWhatsAppCallingLegacyData = {
16761
16777
 
16762
16778
  export type DisableWhatsAppCallingLegacyResponse = (unknown);
16763
16779
 
16764
- export type DisableWhatsAppCallingLegacyError = ({
16780
+ export type DisableWhatsAppCallingLegacyError = (unknown | {
16765
16781
  error?: string;
16766
- } | unknown);
16782
+ });
16767
16783
 
16768
16784
  export type GetWhatsAppCallPermissionsData = {
16769
16785
  query: {
@@ -20016,9 +20032,9 @@ export type GetWhatsAppCallingResponse = ({
20016
20032
  outboundDisabled?: boolean;
20017
20033
  });
20018
20034
 
20019
- export type GetWhatsAppCallingError = ({
20035
+ export type GetWhatsAppCallingError = (unknown | {
20020
20036
  error?: string;
20021
- } | unknown);
20037
+ });
20022
20038
 
20023
20039
  export type EnableWhatsAppCallingData = {
20024
20040
  body: {
@@ -20050,9 +20066,9 @@ export type EnableWhatsAppCallingResponse = ({
20050
20066
  forwardTo?: string;
20051
20067
  });
20052
20068
 
20053
- export type EnableWhatsAppCallingError = ({
20069
+ export type EnableWhatsAppCallingError = (unknown | {
20054
20070
  error?: string;
20055
- } | unknown);
20071
+ });
20056
20072
 
20057
20073
  export type UpdateWhatsAppCallingData = {
20058
20074
  body: {
@@ -20070,9 +20086,9 @@ export type UpdateWhatsAppCallingData = {
20070
20086
 
20071
20087
  export type UpdateWhatsAppCallingResponse = (unknown);
20072
20088
 
20073
- export type UpdateWhatsAppCallingError = ({
20089
+ export type UpdateWhatsAppCallingError = (unknown | {
20074
20090
  error?: string;
20075
- } | unknown);
20091
+ });
20076
20092
 
20077
20093
  export type DisableWhatsAppCallingData = {
20078
20094
  path: {
@@ -20085,9 +20101,9 @@ export type DisableWhatsAppCallingData = {
20085
20101
 
20086
20102
  export type DisableWhatsAppCallingResponse = (unknown);
20087
20103
 
20088
- export type DisableWhatsAppCallingError = ({
20104
+ export type DisableWhatsAppCallingError = (unknown | {
20089
20105
  error?: string;
20090
- } | unknown);
20106
+ });
20091
20107
 
20092
20108
  export type GetWhatsAppPhoneNumberData = {
20093
20109
  path: {
@@ -21339,7 +21355,7 @@ export type ListCustomFieldsResponse = ({
21339
21355
  }>;
21340
21356
  });
21341
21357
 
21342
- export type ListCustomFieldsError = ({
21358
+ export type ListCustomFieldsError = (unknown | {
21343
21359
  error?: string;
21344
21360
  });
21345
21361
 
@@ -21371,12 +21387,12 @@ export type CreateCustomFieldResponse = ({
21371
21387
  };
21372
21388
  });
21373
21389
 
21374
- export type CreateCustomFieldError = ({
21390
+ export type CreateCustomFieldError = (unknown | {
21375
21391
  error?: string;
21376
- } | unknown);
21392
+ });
21377
21393
 
21378
21394
  export type UpdateCustomFieldData = {
21379
- body?: {
21395
+ body: {
21380
21396
  name?: string;
21381
21397
  options?: Array<(string)>;
21382
21398
  };
@@ -21396,7 +21412,7 @@ export type UpdateCustomFieldResponse = ({
21396
21412
  };
21397
21413
  });
21398
21414
 
21399
- export type UpdateCustomFieldError = ({
21415
+ export type UpdateCustomFieldError = (unknown | {
21400
21416
  error?: string;
21401
21417
  });
21402
21418
 
@@ -21408,7 +21424,7 @@ export type DeleteCustomFieldData = {
21408
21424
 
21409
21425
  export type DeleteCustomFieldResponse = (unknown);
21410
21426
 
21411
- export type DeleteCustomFieldError = ({
21427
+ export type DeleteCustomFieldError = (unknown | {
21412
21428
  error?: string;
21413
21429
  });
21414
21430
 
@@ -22014,7 +22030,7 @@ export type ListWorkflowExecutionsResponse = ({
22014
22030
  };
22015
22031
  });
22016
22032
 
22017
- export type ListWorkflowExecutionsError = ({
22033
+ export type ListWorkflowExecutionsError = (unknown | {
22018
22034
  error?: string;
22019
22035
  });
22020
22036
 
@@ -24574,7 +24590,16 @@ export type CreateStandaloneAdData = {
24574
24590
  */
24575
24591
  organizationId?: string;
24576
24592
  /**
24577
- * ISO 3166-1 alpha-2 country codes (e.g. ['NL']). Defaults to ['US'] when no `cities` or `regions` are provided. (LinkedIn currently honours country-level targeting only.)
24593
+ * Nested targeting object the same TargetingSpec shape as `POST /v1/ads/boost`,
24594
+ * `POST /v1/ads/targeting/reach-estimate`, and `saved_targeting` audiences. Merged
24595
+ * UNDER the flat inline targeting fields below: `savedTargetingId` < `targeting` <
24596
+ * flat fields (a flat field present on the body replaces the nested value entirely).
24597
+ * Both forms are equivalent; use whichever your integration already builds.
24598
+ *
24599
+ */
24600
+ targeting?: (TargetingSpec);
24601
+ /**
24602
+ * ISO 3166-1 alpha-2 country codes (e.g. ['NL']). Defaults to ['US'] when no other geo targeting (flat or nested `targeting`) is provided. (LinkedIn currently honours country-level targeting only.)
24578
24603
  */
24579
24604
  countries?: Array<(string)>;
24580
24605
  /**