@getlatedev/node 0.2.374 → 0.2.376

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
@@ -166,7 +166,7 @@ declare class Zernio {
166
166
  listProfiles: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListProfilesData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ProfilesListResponse, ListProfilesError, ThrowOnError>;
167
167
  createProfile: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CreateProfileData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ProfileCreateResponse, unknown, ThrowOnError>;
168
168
  getProfile: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetProfileData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ProfileGetResponse, GetProfileError, ThrowOnError>;
169
- updateProfile: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateProfileData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ProfileUpdateResponse, UpdateProfileError, ThrowOnError>;
169
+ updateProfile: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateProfileData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ProfileUpdateResponse, unknown, ThrowOnError>;
170
170
  deleteProfile: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteProfileData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ProfileDeleteResponse, unknown, ThrowOnError>;
171
171
  };
172
172
  /**
@@ -692,16 +692,16 @@ declare class Zernio {
692
692
  * sequences API
693
693
  */
694
694
  sequences: {
695
- listSequences: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListSequencesData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListSequencesResponse, ListSequencesError, ThrowOnError>;
696
- createSequence: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CreateSequenceData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CreateSequenceResponse, CreateSequenceError, ThrowOnError>;
697
- getSequence: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetSequenceData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetSequenceResponse, GetSequenceError, ThrowOnError>;
698
- updateSequence: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateSequenceData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateSequenceResponse, UpdateSequenceError, ThrowOnError>;
699
- deleteSequence: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteSequenceData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, DeleteSequenceError, ThrowOnError>;
695
+ listSequences: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListSequencesData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListSequencesResponse, unknown, ThrowOnError>;
696
+ createSequence: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CreateSequenceData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CreateSequenceResponse, unknown, ThrowOnError>;
697
+ getSequence: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetSequenceData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetSequenceResponse, unknown, ThrowOnError>;
698
+ updateSequence: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateSequenceData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateSequenceResponse, unknown, ThrowOnError>;
699
+ deleteSequence: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteSequenceData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, unknown, ThrowOnError>;
700
700
  activateSequence: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ActivateSequenceData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ActivateSequenceResponse, unknown, ThrowOnError>;
701
701
  pauseSequence: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<PauseSequenceData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PauseSequenceResponse, unknown, ThrowOnError>;
702
- enrollContacts: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<EnrollContactsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<EnrollContactsResponse, EnrollContactsError, ThrowOnError>;
703
- unenrollContact: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UnenrollContactData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, UnenrollContactError, ThrowOnError>;
704
- listSequenceEnrollments: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ListSequenceEnrollmentsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListSequenceEnrollmentsResponse, ListSequenceEnrollmentsError, ThrowOnError>;
702
+ enrollContacts: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<EnrollContactsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<EnrollContactsResponse, unknown, ThrowOnError>;
703
+ unenrollContact: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UnenrollContactData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, unknown, ThrowOnError>;
704
+ listSequenceEnrollments: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ListSequenceEnrollmentsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListSequenceEnrollmentsResponse, unknown, ThrowOnError>;
705
705
  };
706
706
  /**
707
707
  * commentautomations API
@@ -4538,7 +4538,7 @@ type TargetingSpec = {
4538
4538
  */
4539
4539
  incomeTier?: 'top_5' | 'top_10' | 'top_10_25' | 'top_25_50';
4540
4540
  /**
4541
- * Language codes (e.g. ['en']).
4541
+ * Language codes restricting the audience by language. On Meta, ISO 639-1 codes (e.g. ['en']); a bare code targets all regional variants ("en" = all English), or use a region-qualified code ("en_GB", "pt_BR") for a specific one. Unknown codes are rejected.
4542
4542
  */
4543
4543
  languages?: Array<(string)>;
4544
4544
  /**
@@ -9509,7 +9509,7 @@ type UpdateProfileData = {
9509
9509
  };
9510
9510
  };
9511
9511
  type UpdateProfileResponse = (ProfileUpdateResponse);
9512
- type UpdateProfileError = ({
9512
+ type UpdateProfileError = (unknown | {
9513
9513
  error?: string;
9514
9514
  });
9515
9515
  type DeleteProfileData = {
@@ -12673,6 +12673,10 @@ type GetGmbLocationsData = {
12673
12673
  * Raw Google Business Information API filter expression (advanced; takes precedence over search), e.g. storeCode="LH279411".
12674
12674
  */
12675
12675
  filter?: string;
12676
+ /**
12677
+ * Max locations to return (default 100, max 500). Raise it to enumerate an account with more than 100 locations; for accounts with thousands, use search/filter instead.
12678
+ */
12679
+ limit?: number;
12676
12680
  /**
12677
12681
  * Free-text search on the business name, applied server-side by Google. Use for accounts with many locations.
12678
12682
  */
@@ -12697,9 +12701,9 @@ type GetGmbLocationsResponse = ({
12697
12701
  selectedLocationId?: string;
12698
12702
  cached?: boolean;
12699
12703
  });
12700
- type GetGmbLocationsError = ({
12704
+ type GetGmbLocationsError = (unknown | {
12701
12705
  error?: string;
12702
- } | unknown);
12706
+ });
12703
12707
  type UpdateGmbLocationData = {
12704
12708
  body: {
12705
12709
  selectedLocationId: string;
@@ -13663,7 +13667,7 @@ type ListQueueSlotsData = {
13663
13667
  /**
13664
13668
  * Set to 'true' to list all queues for the profile
13665
13669
  */
13666
- all?: 'true';
13670
+ all?: 'true' | 'false';
13667
13671
  /**
13668
13672
  * Profile ID to get queues for
13669
13673
  */
@@ -13739,9 +13743,9 @@ type DeleteQueueSlotData = {
13739
13743
  query: {
13740
13744
  profileId: string;
13741
13745
  /**
13742
- * Queue ID to delete
13746
+ * Queue ID to delete. Omit to delete all queues for the profile
13743
13747
  */
13744
- queueId: string;
13748
+ queueId?: string;
13745
13749
  };
13746
13750
  };
13747
13751
  type DeleteQueueSlotResponse = (QueueDeleteResponse);
@@ -21705,7 +21709,7 @@ type ListSequencesResponse = ({
21705
21709
  hasMore?: boolean;
21706
21710
  };
21707
21711
  });
21708
- type ListSequencesError = ({
21712
+ type ListSequencesError = (unknown | {
21709
21713
  error?: string;
21710
21714
  });
21711
21715
  type CreateSequenceData = {
@@ -21754,7 +21758,7 @@ type CreateSequenceResponse = ({
21754
21758
  createdAt?: string;
21755
21759
  };
21756
21760
  });
21757
- type CreateSequenceError = ({
21761
+ type CreateSequenceError = (unknown | {
21758
21762
  error?: string;
21759
21763
  });
21760
21764
  type GetSequenceData = {
@@ -21794,7 +21798,7 @@ type GetSequenceResponse = ({
21794
21798
  updatedAt?: string;
21795
21799
  };
21796
21800
  });
21797
- type GetSequenceError = ({
21801
+ type GetSequenceError = (unknown | {
21798
21802
  error?: string;
21799
21803
  });
21800
21804
  type UpdateSequenceData = {
@@ -21843,7 +21847,7 @@ type UpdateSequenceResponse = ({
21843
21847
  updatedAt?: string;
21844
21848
  };
21845
21849
  });
21846
- type UpdateSequenceError = ({
21850
+ type UpdateSequenceError = (unknown | {
21847
21851
  error?: string;
21848
21852
  });
21849
21853
  type DeleteSequenceData = {
@@ -21852,7 +21856,7 @@ type DeleteSequenceData = {
21852
21856
  };
21853
21857
  };
21854
21858
  type DeleteSequenceResponse = (unknown);
21855
- type DeleteSequenceError = ({
21859
+ type DeleteSequenceError = (unknown | {
21856
21860
  error?: string;
21857
21861
  });
21858
21862
  type ActivateSequenceData = {
@@ -21904,11 +21908,22 @@ type EnrollContactsResponse = ({
21904
21908
  */
21905
21909
  enrolled?: number;
21906
21910
  /**
21907
- * Number skipped (already enrolled or missing channel)
21911
+ * Number that failed (already enrolled, or no subscribed channel on the sequence platform)
21908
21912
  */
21909
- skipped?: number;
21913
+ failed?: number;
21914
+ /**
21915
+ * Per-contact outcome
21916
+ */
21917
+ results?: Array<{
21918
+ contactId?: string;
21919
+ success?: boolean;
21920
+ /**
21921
+ * Present when success is false
21922
+ */
21923
+ error?: string;
21924
+ }>;
21910
21925
  });
21911
- type EnrollContactsError = ({
21926
+ type EnrollContactsError = (unknown | {
21912
21927
  error?: string;
21913
21928
  });
21914
21929
  type UnenrollContactData = {
@@ -21918,7 +21933,7 @@ type UnenrollContactData = {
21918
21933
  };
21919
21934
  };
21920
21935
  type UnenrollContactResponse = (unknown);
21921
- type UnenrollContactError = ({
21936
+ type UnenrollContactError = (unknown | {
21922
21937
  error?: string;
21923
21938
  });
21924
21939
  type ListSequenceEnrollmentsData = {
@@ -21954,7 +21969,7 @@ type ListSequenceEnrollmentsResponse = ({
21954
21969
  hasMore?: boolean;
21955
21970
  };
21956
21971
  });
21957
- type ListSequenceEnrollmentsError = ({
21972
+ type ListSequenceEnrollmentsError = (unknown | {
21958
21973
  error?: string;
21959
21974
  });
21960
21975
  type ListCommentAutomationsData = {
@@ -23921,7 +23936,7 @@ type CreateStandaloneAdData = {
23921
23936
  */
23922
23937
  incomeTier?: 'top_5' | 'top_10' | 'top_10_25' | 'top_25_50';
23923
23938
  /**
23924
- * Language codes (e.g. ['en']). Restricts the audience by language.
23939
+ * Language codes restricting the audience by language. On Meta, ISO 639-1 codes (e.g. ['en'], ['de']); a bare code targets all regional variants ("en" = all English), or use a region-qualified code for a specific one ("en_GB", "pt_BR", "zh_TW"). Unknown codes are rejected. Other ad platforms use their own language-code systems.
23925
23940
  */
23926
23941
  languages?: Array<(string)>;
23927
23942
  /**
package/dist/index.d.ts CHANGED
@@ -166,7 +166,7 @@ declare class Zernio {
166
166
  listProfiles: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListProfilesData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ProfilesListResponse, ListProfilesError, ThrowOnError>;
167
167
  createProfile: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CreateProfileData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ProfileCreateResponse, unknown, ThrowOnError>;
168
168
  getProfile: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetProfileData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ProfileGetResponse, GetProfileError, ThrowOnError>;
169
- updateProfile: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateProfileData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ProfileUpdateResponse, UpdateProfileError, ThrowOnError>;
169
+ updateProfile: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateProfileData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ProfileUpdateResponse, unknown, ThrowOnError>;
170
170
  deleteProfile: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteProfileData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ProfileDeleteResponse, unknown, ThrowOnError>;
171
171
  };
172
172
  /**
@@ -692,16 +692,16 @@ declare class Zernio {
692
692
  * sequences API
693
693
  */
694
694
  sequences: {
695
- listSequences: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListSequencesData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListSequencesResponse, ListSequencesError, ThrowOnError>;
696
- createSequence: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CreateSequenceData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CreateSequenceResponse, CreateSequenceError, ThrowOnError>;
697
- getSequence: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetSequenceData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetSequenceResponse, GetSequenceError, ThrowOnError>;
698
- updateSequence: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateSequenceData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateSequenceResponse, UpdateSequenceError, ThrowOnError>;
699
- deleteSequence: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteSequenceData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, DeleteSequenceError, ThrowOnError>;
695
+ listSequences: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListSequencesData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListSequencesResponse, unknown, ThrowOnError>;
696
+ createSequence: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CreateSequenceData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CreateSequenceResponse, unknown, ThrowOnError>;
697
+ getSequence: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetSequenceData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetSequenceResponse, unknown, ThrowOnError>;
698
+ updateSequence: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateSequenceData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateSequenceResponse, unknown, ThrowOnError>;
699
+ deleteSequence: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteSequenceData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, unknown, ThrowOnError>;
700
700
  activateSequence: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ActivateSequenceData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ActivateSequenceResponse, unknown, ThrowOnError>;
701
701
  pauseSequence: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<PauseSequenceData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PauseSequenceResponse, unknown, ThrowOnError>;
702
- enrollContacts: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<EnrollContactsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<EnrollContactsResponse, EnrollContactsError, ThrowOnError>;
703
- unenrollContact: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UnenrollContactData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, UnenrollContactError, ThrowOnError>;
704
- listSequenceEnrollments: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ListSequenceEnrollmentsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListSequenceEnrollmentsResponse, ListSequenceEnrollmentsError, ThrowOnError>;
702
+ enrollContacts: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<EnrollContactsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<EnrollContactsResponse, unknown, ThrowOnError>;
703
+ unenrollContact: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UnenrollContactData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, unknown, ThrowOnError>;
704
+ listSequenceEnrollments: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ListSequenceEnrollmentsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListSequenceEnrollmentsResponse, unknown, ThrowOnError>;
705
705
  };
706
706
  /**
707
707
  * commentautomations API
@@ -4538,7 +4538,7 @@ type TargetingSpec = {
4538
4538
  */
4539
4539
  incomeTier?: 'top_5' | 'top_10' | 'top_10_25' | 'top_25_50';
4540
4540
  /**
4541
- * Language codes (e.g. ['en']).
4541
+ * Language codes restricting the audience by language. On Meta, ISO 639-1 codes (e.g. ['en']); a bare code targets all regional variants ("en" = all English), or use a region-qualified code ("en_GB", "pt_BR") for a specific one. Unknown codes are rejected.
4542
4542
  */
4543
4543
  languages?: Array<(string)>;
4544
4544
  /**
@@ -9509,7 +9509,7 @@ type UpdateProfileData = {
9509
9509
  };
9510
9510
  };
9511
9511
  type UpdateProfileResponse = (ProfileUpdateResponse);
9512
- type UpdateProfileError = ({
9512
+ type UpdateProfileError = (unknown | {
9513
9513
  error?: string;
9514
9514
  });
9515
9515
  type DeleteProfileData = {
@@ -12673,6 +12673,10 @@ type GetGmbLocationsData = {
12673
12673
  * Raw Google Business Information API filter expression (advanced; takes precedence over search), e.g. storeCode="LH279411".
12674
12674
  */
12675
12675
  filter?: string;
12676
+ /**
12677
+ * Max locations to return (default 100, max 500). Raise it to enumerate an account with more than 100 locations; for accounts with thousands, use search/filter instead.
12678
+ */
12679
+ limit?: number;
12676
12680
  /**
12677
12681
  * Free-text search on the business name, applied server-side by Google. Use for accounts with many locations.
12678
12682
  */
@@ -12697,9 +12701,9 @@ type GetGmbLocationsResponse = ({
12697
12701
  selectedLocationId?: string;
12698
12702
  cached?: boolean;
12699
12703
  });
12700
- type GetGmbLocationsError = ({
12704
+ type GetGmbLocationsError = (unknown | {
12701
12705
  error?: string;
12702
- } | unknown);
12706
+ });
12703
12707
  type UpdateGmbLocationData = {
12704
12708
  body: {
12705
12709
  selectedLocationId: string;
@@ -13663,7 +13667,7 @@ type ListQueueSlotsData = {
13663
13667
  /**
13664
13668
  * Set to 'true' to list all queues for the profile
13665
13669
  */
13666
- all?: 'true';
13670
+ all?: 'true' | 'false';
13667
13671
  /**
13668
13672
  * Profile ID to get queues for
13669
13673
  */
@@ -13739,9 +13743,9 @@ type DeleteQueueSlotData = {
13739
13743
  query: {
13740
13744
  profileId: string;
13741
13745
  /**
13742
- * Queue ID to delete
13746
+ * Queue ID to delete. Omit to delete all queues for the profile
13743
13747
  */
13744
- queueId: string;
13748
+ queueId?: string;
13745
13749
  };
13746
13750
  };
13747
13751
  type DeleteQueueSlotResponse = (QueueDeleteResponse);
@@ -21705,7 +21709,7 @@ type ListSequencesResponse = ({
21705
21709
  hasMore?: boolean;
21706
21710
  };
21707
21711
  });
21708
- type ListSequencesError = ({
21712
+ type ListSequencesError = (unknown | {
21709
21713
  error?: string;
21710
21714
  });
21711
21715
  type CreateSequenceData = {
@@ -21754,7 +21758,7 @@ type CreateSequenceResponse = ({
21754
21758
  createdAt?: string;
21755
21759
  };
21756
21760
  });
21757
- type CreateSequenceError = ({
21761
+ type CreateSequenceError = (unknown | {
21758
21762
  error?: string;
21759
21763
  });
21760
21764
  type GetSequenceData = {
@@ -21794,7 +21798,7 @@ type GetSequenceResponse = ({
21794
21798
  updatedAt?: string;
21795
21799
  };
21796
21800
  });
21797
- type GetSequenceError = ({
21801
+ type GetSequenceError = (unknown | {
21798
21802
  error?: string;
21799
21803
  });
21800
21804
  type UpdateSequenceData = {
@@ -21843,7 +21847,7 @@ type UpdateSequenceResponse = ({
21843
21847
  updatedAt?: string;
21844
21848
  };
21845
21849
  });
21846
- type UpdateSequenceError = ({
21850
+ type UpdateSequenceError = (unknown | {
21847
21851
  error?: string;
21848
21852
  });
21849
21853
  type DeleteSequenceData = {
@@ -21852,7 +21856,7 @@ type DeleteSequenceData = {
21852
21856
  };
21853
21857
  };
21854
21858
  type DeleteSequenceResponse = (unknown);
21855
- type DeleteSequenceError = ({
21859
+ type DeleteSequenceError = (unknown | {
21856
21860
  error?: string;
21857
21861
  });
21858
21862
  type ActivateSequenceData = {
@@ -21904,11 +21908,22 @@ type EnrollContactsResponse = ({
21904
21908
  */
21905
21909
  enrolled?: number;
21906
21910
  /**
21907
- * Number skipped (already enrolled or missing channel)
21911
+ * Number that failed (already enrolled, or no subscribed channel on the sequence platform)
21908
21912
  */
21909
- skipped?: number;
21913
+ failed?: number;
21914
+ /**
21915
+ * Per-contact outcome
21916
+ */
21917
+ results?: Array<{
21918
+ contactId?: string;
21919
+ success?: boolean;
21920
+ /**
21921
+ * Present when success is false
21922
+ */
21923
+ error?: string;
21924
+ }>;
21910
21925
  });
21911
- type EnrollContactsError = ({
21926
+ type EnrollContactsError = (unknown | {
21912
21927
  error?: string;
21913
21928
  });
21914
21929
  type UnenrollContactData = {
@@ -21918,7 +21933,7 @@ type UnenrollContactData = {
21918
21933
  };
21919
21934
  };
21920
21935
  type UnenrollContactResponse = (unknown);
21921
- type UnenrollContactError = ({
21936
+ type UnenrollContactError = (unknown | {
21922
21937
  error?: string;
21923
21938
  });
21924
21939
  type ListSequenceEnrollmentsData = {
@@ -21954,7 +21969,7 @@ type ListSequenceEnrollmentsResponse = ({
21954
21969
  hasMore?: boolean;
21955
21970
  };
21956
21971
  });
21957
- type ListSequenceEnrollmentsError = ({
21972
+ type ListSequenceEnrollmentsError = (unknown | {
21958
21973
  error?: string;
21959
21974
  });
21960
21975
  type ListCommentAutomationsData = {
@@ -23921,7 +23936,7 @@ type CreateStandaloneAdData = {
23921
23936
  */
23922
23937
  incomeTier?: 'top_5' | 'top_10' | 'top_10_25' | 'top_25_50';
23923
23938
  /**
23924
- * Language codes (e.g. ['en']). Restricts the audience by language.
23939
+ * Language codes restricting the audience by language. On Meta, ISO 639-1 codes (e.g. ['en'], ['de']); a bare code targets all regional variants ("en" = all English), or use a region-qualified code for a specific one ("en_GB", "pt_BR", "zh_TW"). Unknown codes are rejected. Other ad platforms use their own language-code systems.
23925
23940
  */
23926
23941
  languages?: Array<(string)>;
23927
23942
  /**
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.374",
39
+ version: "0.2.376",
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.374",
8
+ version: "0.2.376",
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.374",
3
+ "version": "0.2.376",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -2027,7 +2027,7 @@ export const updateYoutubeDefaultPlaylist = <ThrowOnError extends boolean = fals
2027
2027
 
2028
2028
  /**
2029
2029
  * List GBP locations
2030
- * Returns Google Business Profile locations the connected account can access, plus the currently selected location. The list is bounded (see hasMore); for accounts that own many locations, use the search or filter query params to find a specific one instead of loading them all.
2030
+ * Returns Google Business Profile locations the connected account can access, plus the currently selected location. The list is bounded (see hasMore); for accounts that own many locations, use the search or filter query params to find a specific one instead of loading them all, or raise limit to enumerate an account with more than 100 locations.
2031
2031
  *
2032
2032
  */
2033
2033
  export const getGmbLocations = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetGmbLocationsData, ThrowOnError>) => {
@@ -2567,7 +2567,8 @@ export const updateQueueSlot = <ThrowOnError extends boolean = false>(options: O
2567
2567
 
2568
2568
  /**
2569
2569
  * Delete schedule
2570
- * Delete a queue from a profile. Requires queueId to specify which queue to delete.
2570
+ * Delete a queue from a profile. Pass queueId to delete a specific queue;
2571
+ * omit it to delete all queues for the profile.
2571
2572
  * If deleting the default queue, another queue will be promoted to default.
2572
2573
  *
2573
2574
  */
@@ -3810,7 +3810,7 @@ export type TargetingSpec = {
3810
3810
  */
3811
3811
  incomeTier?: 'top_5' | 'top_10' | 'top_10_25' | 'top_25_50';
3812
3812
  /**
3813
- * Language codes (e.g. ['en']).
3813
+ * Language codes restricting the audience by language. On Meta, ISO 639-1 codes (e.g. ['en']); a bare code targets all regional variants ("en" = all English), or use a region-qualified code ("en_GB", "pt_BR") for a specific one. Unknown codes are rejected.
3814
3814
  */
3815
3815
  languages?: Array<(string)>;
3816
3816
  /**
@@ -9067,7 +9067,7 @@ export type UpdateProfileData = {
9067
9067
 
9068
9068
  export type UpdateProfileResponse = (ProfileUpdateResponse);
9069
9069
 
9070
- export type UpdateProfileError = ({
9070
+ export type UpdateProfileError = (unknown | {
9071
9071
  error?: string;
9072
9072
  });
9073
9073
 
@@ -12456,6 +12456,10 @@ export type GetGmbLocationsData = {
12456
12456
  * Raw Google Business Information API filter expression (advanced; takes precedence over search), e.g. storeCode="LH279411".
12457
12457
  */
12458
12458
  filter?: string;
12459
+ /**
12460
+ * Max locations to return (default 100, max 500). Raise it to enumerate an account with more than 100 locations; for accounts with thousands, use search/filter instead.
12461
+ */
12462
+ limit?: number;
12459
12463
  /**
12460
12464
  * Free-text search on the business name, applied server-side by Google. Use for accounts with many locations.
12461
12465
  */
@@ -12482,9 +12486,9 @@ export type GetGmbLocationsResponse = ({
12482
12486
  cached?: boolean;
12483
12487
  });
12484
12488
 
12485
- export type GetGmbLocationsError = ({
12489
+ export type GetGmbLocationsError = (unknown | {
12486
12490
  error?: string;
12487
- } | unknown);
12491
+ });
12488
12492
 
12489
12493
  export type UpdateGmbLocationData = {
12490
12494
  body: {
@@ -13539,7 +13543,7 @@ export type ListQueueSlotsData = {
13539
13543
  /**
13540
13544
  * Set to 'true' to list all queues for the profile
13541
13545
  */
13542
- all?: 'true';
13546
+ all?: 'true' | 'false';
13543
13547
  /**
13544
13548
  * Profile ID to get queues for
13545
13549
  */
@@ -13624,9 +13628,9 @@ export type DeleteQueueSlotData = {
13624
13628
  query: {
13625
13629
  profileId: string;
13626
13630
  /**
13627
- * Queue ID to delete
13631
+ * Queue ID to delete. Omit to delete all queues for the profile
13628
13632
  */
13629
- queueId: string;
13633
+ queueId?: string;
13630
13634
  };
13631
13635
  };
13632
13636
 
@@ -22243,7 +22247,7 @@ export type ListSequencesResponse = ({
22243
22247
  };
22244
22248
  });
22245
22249
 
22246
- export type ListSequencesError = ({
22250
+ export type ListSequencesError = (unknown | {
22247
22251
  error?: string;
22248
22252
  });
22249
22253
 
@@ -22295,7 +22299,7 @@ export type CreateSequenceResponse = ({
22295
22299
  };
22296
22300
  });
22297
22301
 
22298
- export type CreateSequenceError = ({
22302
+ export type CreateSequenceError = (unknown | {
22299
22303
  error?: string;
22300
22304
  });
22301
22305
 
@@ -22338,7 +22342,7 @@ export type GetSequenceResponse = ({
22338
22342
  };
22339
22343
  });
22340
22344
 
22341
- export type GetSequenceError = ({
22345
+ export type GetSequenceError = (unknown | {
22342
22346
  error?: string;
22343
22347
  });
22344
22348
 
@@ -22390,7 +22394,7 @@ export type UpdateSequenceResponse = ({
22390
22394
  };
22391
22395
  });
22392
22396
 
22393
- export type UpdateSequenceError = ({
22397
+ export type UpdateSequenceError = (unknown | {
22394
22398
  error?: string;
22395
22399
  });
22396
22400
 
@@ -22402,7 +22406,7 @@ export type DeleteSequenceData = {
22402
22406
 
22403
22407
  export type DeleteSequenceResponse = (unknown);
22404
22408
 
22405
- export type DeleteSequenceError = ({
22409
+ export type DeleteSequenceError = (unknown | {
22406
22410
  error?: string;
22407
22411
  });
22408
22412
 
@@ -22462,12 +22466,23 @@ export type EnrollContactsResponse = ({
22462
22466
  */
22463
22467
  enrolled?: number;
22464
22468
  /**
22465
- * Number skipped (already enrolled or missing channel)
22469
+ * Number that failed (already enrolled, or no subscribed channel on the sequence platform)
22466
22470
  */
22467
- skipped?: number;
22471
+ failed?: number;
22472
+ /**
22473
+ * Per-contact outcome
22474
+ */
22475
+ results?: Array<{
22476
+ contactId?: string;
22477
+ success?: boolean;
22478
+ /**
22479
+ * Present when success is false
22480
+ */
22481
+ error?: string;
22482
+ }>;
22468
22483
  });
22469
22484
 
22470
- export type EnrollContactsError = ({
22485
+ export type EnrollContactsError = (unknown | {
22471
22486
  error?: string;
22472
22487
  });
22473
22488
 
@@ -22480,7 +22495,7 @@ export type UnenrollContactData = {
22480
22495
 
22481
22496
  export type UnenrollContactResponse = (unknown);
22482
22497
 
22483
- export type UnenrollContactError = ({
22498
+ export type UnenrollContactError = (unknown | {
22484
22499
  error?: string;
22485
22500
  });
22486
22501
 
@@ -22519,7 +22534,7 @@ export type ListSequenceEnrollmentsResponse = ({
22519
22534
  };
22520
22535
  });
22521
22536
 
22522
- export type ListSequenceEnrollmentsError = ({
22537
+ export type ListSequenceEnrollmentsError = (unknown | {
22523
22538
  error?: string;
22524
22539
  });
22525
22540
 
@@ -24583,7 +24598,7 @@ export type CreateStandaloneAdData = {
24583
24598
  */
24584
24599
  incomeTier?: 'top_5' | 'top_10' | 'top_10_25' | 'top_25_50';
24585
24600
  /**
24586
- * Language codes (e.g. ['en']). Restricts the audience by language.
24601
+ * Language codes restricting the audience by language. On Meta, ISO 639-1 codes (e.g. ['en'], ['de']); a bare code targets all regional variants ("en" = all English), or use a region-qualified code for a specific one ("en_GB", "pt_BR", "zh_TW"). Unknown codes are rejected. Other ad platforms use their own language-code systems.
24587
24602
  */
24588
24603
  languages?: Array<(string)>;
24589
24604
  /**