@getlatedev/node 0.2.1710 → 0.2.1712

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
@@ -15725,9 +15725,19 @@ type ImapDiscovery = {
15725
15725
  reconnectCause?: (string) | null;
15726
15726
  reason?: (string) | null;
15727
15727
  /**
15728
- * proton_requires_bridge: Proton Mail only works through its local bridge. forwarding_only: the domain forwards mail (Cloudflare Email Routing) and stores none, so connect the mailbox it forwards to.
15728
+ * Why an `unsupported` route cannot connect:
15729
+ *
15730
+ * - `proton_requires_bridge`: Proton Mail only works through its local bridge.
15731
+ * - `forwarding_only`: the domain forwards mail (Cloudflare Email Routing) and stores none, so connect the mailbox it forwards to.
15732
+ * - `domain_typo`: the domain takes no mail and looks like a mistyped consumer domain. `suggestedEmail` has the likely address.
15733
+ * - `no_mail_domain`: the domain has no MX and no address, so it cannot receive email.
15734
+ *
15735
+ */
15736
+ unsupportedReason?: ('proton_requires_bridge' | 'forwarding_only' | 'domain_typo' | 'no_mail_domain') | null;
15737
+ /**
15738
+ * With unsupportedReason domain_typo: the address the user most likely meant, such as ana7275@gmail.com for ana@7275gmail.com. Run discovery again with it once the user confirms.
15729
15739
  */
15730
- unsupportedReason?: ('proton_requires_bridge' | 'forwarding_only') | null;
15740
+ suggestedEmail?: (string) | null;
15731
15741
  /**
15732
15742
  * Google only: Gmail over IMAP with an app password, for accounts whose admin blocks Google sign-in for other apps.
15733
15743
  */
@@ -15743,9 +15753,15 @@ type source4 = 'preset' | 'mx' | 'autoconfig' | 'ispdb' | 'srv' | 'probe' | 'non
15743
15753
  type confidence = 'high' | 'medium' | 'low';
15744
15754
  type kind11 = 'password' | 'app_password' | 'oauth';
15745
15755
  /**
15746
- * proton_requires_bridge: Proton Mail only works through its local bridge. forwarding_only: the domain forwards mail (Cloudflare Email Routing) and stores none, so connect the mailbox it forwards to.
15756
+ * Why an `unsupported` route cannot connect:
15757
+ *
15758
+ * - `proton_requires_bridge`: Proton Mail only works through its local bridge.
15759
+ * - `forwarding_only`: the domain forwards mail (Cloudflare Email Routing) and stores none, so connect the mailbox it forwards to.
15760
+ * - `domain_typo`: the domain takes no mail and looks like a mistyped consumer domain. `suggestedEmail` has the likely address.
15761
+ * - `no_mail_domain`: the domain has no MX and no address, so it cannot receive email.
15762
+ *
15747
15763
  */
15748
- type unsupportedReason = 'proton_requires_bridge' | 'forwarding_only';
15764
+ type unsupportedReason = 'proton_requires_bridge' | 'forwarding_only' | 'domain_typo' | 'no_mail_domain';
15749
15765
  type ImessageAudienceContact = {
15750
15766
  conversationId?: string;
15751
15767
  accountId?: string;
@@ -30158,7 +30174,7 @@ type GetAnalyticsError = ({
30158
30174
  currentCount?: number;
30159
30175
  limit?: number;
30160
30176
  retryAfterSeconds?: number;
30161
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
30177
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
30162
30178
  window?: string;
30163
30179
  };
30164
30180
  });
@@ -30197,7 +30213,7 @@ type GetAnalyticsDeltaError = (ErrorResponse | {
30197
30213
  currentCount?: number;
30198
30214
  limit?: number;
30199
30215
  retryAfterSeconds?: number;
30200
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
30216
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
30201
30217
  window?: string;
30202
30218
  };
30203
30219
  });
@@ -31083,7 +31099,7 @@ type GetDailyMetricsError = (ErrorResponse | {
31083
31099
  currentCount?: number;
31084
31100
  limit?: number;
31085
31101
  retryAfterSeconds?: number;
31086
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
31102
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
31087
31103
  window?: string;
31088
31104
  };
31089
31105
  });
@@ -31158,7 +31174,7 @@ type GetAnalyticsDashboardError = (ErrorResponse | unknown | {
31158
31174
  currentCount?: number;
31159
31175
  limit?: number;
31160
31176
  retryAfterSeconds?: number;
31161
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
31177
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
31162
31178
  window?: string;
31163
31179
  };
31164
31180
  });
@@ -31211,7 +31227,7 @@ type GetBestTimeToPostError = (ErrorResponse | {
31211
31227
  currentCount?: number;
31212
31228
  limit?: number;
31213
31229
  retryAfterSeconds?: number;
31214
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
31230
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
31215
31231
  window?: string;
31216
31232
  };
31217
31233
  });
@@ -31264,7 +31280,7 @@ type GetContentDecayError = (unknown | ErrorResponse | {
31264
31280
  currentCount?: number;
31265
31281
  limit?: number;
31266
31282
  retryAfterSeconds?: number;
31267
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
31283
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
31268
31284
  window?: string;
31269
31285
  };
31270
31286
  });
@@ -31318,7 +31334,7 @@ type GetPostingFrequencyError = (ErrorResponse | {
31318
31334
  currentCount?: number;
31319
31335
  limit?: number;
31320
31336
  retryAfterSeconds?: number;
31321
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
31337
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
31322
31338
  window?: string;
31323
31339
  };
31324
31340
  });
@@ -33013,7 +33029,7 @@ type GetPostTimelineError = ({
33013
33029
  currentCount?: number;
33014
33030
  limit?: number;
33015
33031
  retryAfterSeconds?: number;
33016
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
33032
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
33017
33033
  window?: string;
33018
33034
  };
33019
33035
  });
@@ -33322,7 +33338,7 @@ type ListTrackingWindowsError = (ErrorResponse | {
33322
33338
  currentCount?: number;
33323
33339
  limit?: number;
33324
33340
  retryAfterSeconds?: number;
33325
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
33341
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
33326
33342
  window?: string;
33327
33343
  };
33328
33344
  });
@@ -33341,7 +33357,7 @@ type GetTrackingWindowError = (ErrorResponse | {
33341
33357
  currentCount?: number;
33342
33358
  limit?: number;
33343
33359
  retryAfterSeconds?: number;
33344
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
33360
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
33345
33361
  window?: string;
33346
33362
  };
33347
33363
  });
@@ -33391,7 +33407,7 @@ type GetPostSamplesError = (ErrorResponse | {
33391
33407
  currentCount?: number;
33392
33408
  limit?: number;
33393
33409
  retryAfterSeconds?: number;
33394
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
33410
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
33395
33411
  window?: string;
33396
33412
  };
33397
33413
  });
@@ -33626,7 +33642,7 @@ type GetInboxVolumeError = ({
33626
33642
  currentCount?: number;
33627
33643
  limit?: number;
33628
33644
  retryAfterSeconds?: number;
33629
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
33645
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
33630
33646
  window?: string;
33631
33647
  };
33632
33648
  });
@@ -33670,7 +33686,7 @@ type GetInboxHeatmapError = ({
33670
33686
  currentCount?: number;
33671
33687
  limit?: number;
33672
33688
  retryAfterSeconds?: number;
33673
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
33689
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
33674
33690
  window?: string;
33675
33691
  };
33676
33692
  });
@@ -33711,7 +33727,7 @@ type GetInboxSourceBreakdownError = ({
33711
33727
  currentCount?: number;
33712
33728
  limit?: number;
33713
33729
  retryAfterSeconds?: number;
33714
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
33730
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
33715
33731
  window?: string;
33716
33732
  };
33717
33733
  });
@@ -33761,7 +33777,7 @@ type GetInboxResponseTimeError = ({
33761
33777
  currentCount?: number;
33762
33778
  limit?: number;
33763
33779
  retryAfterSeconds?: number;
33764
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
33780
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
33765
33781
  window?: string;
33766
33782
  };
33767
33783
  });
@@ -33812,7 +33828,7 @@ type GetInboxTopAccountsError = ({
33812
33828
  currentCount?: number;
33813
33829
  limit?: number;
33814
33830
  retryAfterSeconds?: number;
33815
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
33831
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
33816
33832
  window?: string;
33817
33833
  };
33818
33834
  });
@@ -33879,7 +33895,7 @@ type ListInboxConversationAnalyticsError = ({
33879
33895
  currentCount?: number;
33880
33896
  limit?: number;
33881
33897
  retryAfterSeconds?: number;
33882
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
33898
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
33883
33899
  window?: string;
33884
33900
  };
33885
33901
  });
@@ -33943,7 +33959,7 @@ type GetInboxConversationAnalyticsError = ({
33943
33959
  currentCount?: number;
33944
33960
  limit?: number;
33945
33961
  retryAfterSeconds?: number;
33946
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
33962
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
33947
33963
  window?: string;
33948
33964
  };
33949
33965
  });
@@ -59409,7 +59425,7 @@ type ListAdsError = (ErrorResponse | unknown | {
59409
59425
  currentCount?: number;
59410
59426
  limit?: number;
59411
59427
  retryAfterSeconds?: number;
59412
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
59428
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
59413
59429
  window?: string;
59414
59430
  };
59415
59431
  });
@@ -61234,7 +61250,7 @@ type ListAdCampaignsError = (ErrorResponse | unknown | {
61234
61250
  currentCount?: number;
61235
61251
  limit?: number;
61236
61252
  retryAfterSeconds?: number;
61237
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
61253
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
61238
61254
  window?: string;
61239
61255
  };
61240
61256
  });
@@ -63179,7 +63195,7 @@ type GetAdTreeError = (ErrorResponse | unknown | {
63179
63195
  currentCount?: number;
63180
63196
  limit?: number;
63181
63197
  retryAfterSeconds?: number;
63182
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
63198
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
63183
63199
  window?: string;
63184
63200
  };
63185
63201
  });
@@ -63227,7 +63243,7 @@ type ListAdsByPerformanceError = (ErrorResponse | unknown | {
63227
63243
  currentCount?: number;
63228
63244
  limit?: number;
63229
63245
  retryAfterSeconds?: number;
63230
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
63246
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
63231
63247
  window?: string;
63232
63248
  };
63233
63249
  });
@@ -63271,7 +63287,7 @@ type GetAdsTimelineError = (ErrorResponse | unknown | {
63271
63287
  currentCount?: number;
63272
63288
  limit?: number;
63273
63289
  retryAfterSeconds?: number;
63274
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
63290
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
63275
63291
  window?: string;
63276
63292
  };
63277
63293
  });
@@ -64722,7 +64738,7 @@ type GetAdAnalyticsError = (ErrorResponse | unknown | {
64722
64738
  currentCount?: number;
64723
64739
  limit?: number;
64724
64740
  retryAfterSeconds?: number;
64725
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
64741
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
64726
64742
  window?: string;
64727
64743
  };
64728
64744
  });
@@ -65065,7 +65081,7 @@ type ListAdsAlertsError = (ErrorResponse | unknown | {
65065
65081
  currentCount?: number;
65066
65082
  limit?: number;
65067
65083
  retryAfterSeconds?: number;
65068
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
65084
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
65069
65085
  window?: string;
65070
65086
  };
65071
65087
  });
package/dist/index.d.ts CHANGED
@@ -15725,9 +15725,19 @@ type ImapDiscovery = {
15725
15725
  reconnectCause?: (string) | null;
15726
15726
  reason?: (string) | null;
15727
15727
  /**
15728
- * proton_requires_bridge: Proton Mail only works through its local bridge. forwarding_only: the domain forwards mail (Cloudflare Email Routing) and stores none, so connect the mailbox it forwards to.
15728
+ * Why an `unsupported` route cannot connect:
15729
+ *
15730
+ * - `proton_requires_bridge`: Proton Mail only works through its local bridge.
15731
+ * - `forwarding_only`: the domain forwards mail (Cloudflare Email Routing) and stores none, so connect the mailbox it forwards to.
15732
+ * - `domain_typo`: the domain takes no mail and looks like a mistyped consumer domain. `suggestedEmail` has the likely address.
15733
+ * - `no_mail_domain`: the domain has no MX and no address, so it cannot receive email.
15734
+ *
15735
+ */
15736
+ unsupportedReason?: ('proton_requires_bridge' | 'forwarding_only' | 'domain_typo' | 'no_mail_domain') | null;
15737
+ /**
15738
+ * With unsupportedReason domain_typo: the address the user most likely meant, such as ana7275@gmail.com for ana@7275gmail.com. Run discovery again with it once the user confirms.
15729
15739
  */
15730
- unsupportedReason?: ('proton_requires_bridge' | 'forwarding_only') | null;
15740
+ suggestedEmail?: (string) | null;
15731
15741
  /**
15732
15742
  * Google only: Gmail over IMAP with an app password, for accounts whose admin blocks Google sign-in for other apps.
15733
15743
  */
@@ -15743,9 +15753,15 @@ type source4 = 'preset' | 'mx' | 'autoconfig' | 'ispdb' | 'srv' | 'probe' | 'non
15743
15753
  type confidence = 'high' | 'medium' | 'low';
15744
15754
  type kind11 = 'password' | 'app_password' | 'oauth';
15745
15755
  /**
15746
- * proton_requires_bridge: Proton Mail only works through its local bridge. forwarding_only: the domain forwards mail (Cloudflare Email Routing) and stores none, so connect the mailbox it forwards to.
15756
+ * Why an `unsupported` route cannot connect:
15757
+ *
15758
+ * - `proton_requires_bridge`: Proton Mail only works through its local bridge.
15759
+ * - `forwarding_only`: the domain forwards mail (Cloudflare Email Routing) and stores none, so connect the mailbox it forwards to.
15760
+ * - `domain_typo`: the domain takes no mail and looks like a mistyped consumer domain. `suggestedEmail` has the likely address.
15761
+ * - `no_mail_domain`: the domain has no MX and no address, so it cannot receive email.
15762
+ *
15747
15763
  */
15748
- type unsupportedReason = 'proton_requires_bridge' | 'forwarding_only';
15764
+ type unsupportedReason = 'proton_requires_bridge' | 'forwarding_only' | 'domain_typo' | 'no_mail_domain';
15749
15765
  type ImessageAudienceContact = {
15750
15766
  conversationId?: string;
15751
15767
  accountId?: string;
@@ -30158,7 +30174,7 @@ type GetAnalyticsError = ({
30158
30174
  currentCount?: number;
30159
30175
  limit?: number;
30160
30176
  retryAfterSeconds?: number;
30161
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
30177
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
30162
30178
  window?: string;
30163
30179
  };
30164
30180
  });
@@ -30197,7 +30213,7 @@ type GetAnalyticsDeltaError = (ErrorResponse | {
30197
30213
  currentCount?: number;
30198
30214
  limit?: number;
30199
30215
  retryAfterSeconds?: number;
30200
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
30216
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
30201
30217
  window?: string;
30202
30218
  };
30203
30219
  });
@@ -31083,7 +31099,7 @@ type GetDailyMetricsError = (ErrorResponse | {
31083
31099
  currentCount?: number;
31084
31100
  limit?: number;
31085
31101
  retryAfterSeconds?: number;
31086
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
31102
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
31087
31103
  window?: string;
31088
31104
  };
31089
31105
  });
@@ -31158,7 +31174,7 @@ type GetAnalyticsDashboardError = (ErrorResponse | unknown | {
31158
31174
  currentCount?: number;
31159
31175
  limit?: number;
31160
31176
  retryAfterSeconds?: number;
31161
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
31177
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
31162
31178
  window?: string;
31163
31179
  };
31164
31180
  });
@@ -31211,7 +31227,7 @@ type GetBestTimeToPostError = (ErrorResponse | {
31211
31227
  currentCount?: number;
31212
31228
  limit?: number;
31213
31229
  retryAfterSeconds?: number;
31214
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
31230
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
31215
31231
  window?: string;
31216
31232
  };
31217
31233
  });
@@ -31264,7 +31280,7 @@ type GetContentDecayError = (unknown | ErrorResponse | {
31264
31280
  currentCount?: number;
31265
31281
  limit?: number;
31266
31282
  retryAfterSeconds?: number;
31267
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
31283
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
31268
31284
  window?: string;
31269
31285
  };
31270
31286
  });
@@ -31318,7 +31334,7 @@ type GetPostingFrequencyError = (ErrorResponse | {
31318
31334
  currentCount?: number;
31319
31335
  limit?: number;
31320
31336
  retryAfterSeconds?: number;
31321
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
31337
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
31322
31338
  window?: string;
31323
31339
  };
31324
31340
  });
@@ -33013,7 +33029,7 @@ type GetPostTimelineError = ({
33013
33029
  currentCount?: number;
33014
33030
  limit?: number;
33015
33031
  retryAfterSeconds?: number;
33016
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
33032
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
33017
33033
  window?: string;
33018
33034
  };
33019
33035
  });
@@ -33322,7 +33338,7 @@ type ListTrackingWindowsError = (ErrorResponse | {
33322
33338
  currentCount?: number;
33323
33339
  limit?: number;
33324
33340
  retryAfterSeconds?: number;
33325
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
33341
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
33326
33342
  window?: string;
33327
33343
  };
33328
33344
  });
@@ -33341,7 +33357,7 @@ type GetTrackingWindowError = (ErrorResponse | {
33341
33357
  currentCount?: number;
33342
33358
  limit?: number;
33343
33359
  retryAfterSeconds?: number;
33344
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
33360
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
33345
33361
  window?: string;
33346
33362
  };
33347
33363
  });
@@ -33391,7 +33407,7 @@ type GetPostSamplesError = (ErrorResponse | {
33391
33407
  currentCount?: number;
33392
33408
  limit?: number;
33393
33409
  retryAfterSeconds?: number;
33394
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
33410
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
33395
33411
  window?: string;
33396
33412
  };
33397
33413
  });
@@ -33626,7 +33642,7 @@ type GetInboxVolumeError = ({
33626
33642
  currentCount?: number;
33627
33643
  limit?: number;
33628
33644
  retryAfterSeconds?: number;
33629
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
33645
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
33630
33646
  window?: string;
33631
33647
  };
33632
33648
  });
@@ -33670,7 +33686,7 @@ type GetInboxHeatmapError = ({
33670
33686
  currentCount?: number;
33671
33687
  limit?: number;
33672
33688
  retryAfterSeconds?: number;
33673
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
33689
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
33674
33690
  window?: string;
33675
33691
  };
33676
33692
  });
@@ -33711,7 +33727,7 @@ type GetInboxSourceBreakdownError = ({
33711
33727
  currentCount?: number;
33712
33728
  limit?: number;
33713
33729
  retryAfterSeconds?: number;
33714
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
33730
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
33715
33731
  window?: string;
33716
33732
  };
33717
33733
  });
@@ -33761,7 +33777,7 @@ type GetInboxResponseTimeError = ({
33761
33777
  currentCount?: number;
33762
33778
  limit?: number;
33763
33779
  retryAfterSeconds?: number;
33764
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
33780
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
33765
33781
  window?: string;
33766
33782
  };
33767
33783
  });
@@ -33812,7 +33828,7 @@ type GetInboxTopAccountsError = ({
33812
33828
  currentCount?: number;
33813
33829
  limit?: number;
33814
33830
  retryAfterSeconds?: number;
33815
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
33831
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
33816
33832
  window?: string;
33817
33833
  };
33818
33834
  });
@@ -33879,7 +33895,7 @@ type ListInboxConversationAnalyticsError = ({
33879
33895
  currentCount?: number;
33880
33896
  limit?: number;
33881
33897
  retryAfterSeconds?: number;
33882
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
33898
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
33883
33899
  window?: string;
33884
33900
  };
33885
33901
  });
@@ -33943,7 +33959,7 @@ type GetInboxConversationAnalyticsError = ({
33943
33959
  currentCount?: number;
33944
33960
  limit?: number;
33945
33961
  retryAfterSeconds?: number;
33946
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
33962
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
33947
33963
  window?: string;
33948
33964
  };
33949
33965
  });
@@ -59409,7 +59425,7 @@ type ListAdsError = (ErrorResponse | unknown | {
59409
59425
  currentCount?: number;
59410
59426
  limit?: number;
59411
59427
  retryAfterSeconds?: number;
59412
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
59428
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
59413
59429
  window?: string;
59414
59430
  };
59415
59431
  });
@@ -61234,7 +61250,7 @@ type ListAdCampaignsError = (ErrorResponse | unknown | {
61234
61250
  currentCount?: number;
61235
61251
  limit?: number;
61236
61252
  retryAfterSeconds?: number;
61237
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
61253
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
61238
61254
  window?: string;
61239
61255
  };
61240
61256
  });
@@ -63179,7 +63195,7 @@ type GetAdTreeError = (ErrorResponse | unknown | {
63179
63195
  currentCount?: number;
63180
63196
  limit?: number;
63181
63197
  retryAfterSeconds?: number;
63182
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
63198
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
63183
63199
  window?: string;
63184
63200
  };
63185
63201
  });
@@ -63227,7 +63243,7 @@ type ListAdsByPerformanceError = (ErrorResponse | unknown | {
63227
63243
  currentCount?: number;
63228
63244
  limit?: number;
63229
63245
  retryAfterSeconds?: number;
63230
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
63246
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
63231
63247
  window?: string;
63232
63248
  };
63233
63249
  });
@@ -63271,7 +63287,7 @@ type GetAdsTimelineError = (ErrorResponse | unknown | {
63271
63287
  currentCount?: number;
63272
63288
  limit?: number;
63273
63289
  retryAfterSeconds?: number;
63274
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
63290
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
63275
63291
  window?: string;
63276
63292
  };
63277
63293
  });
@@ -64722,7 +64738,7 @@ type GetAdAnalyticsError = (ErrorResponse | unknown | {
64722
64738
  currentCount?: number;
64723
64739
  limit?: number;
64724
64740
  retryAfterSeconds?: number;
64725
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
64741
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
64726
64742
  window?: string;
64727
64743
  };
64728
64744
  });
@@ -65065,7 +65081,7 @@ type ListAdsAlertsError = (ErrorResponse | unknown | {
65065
65081
  currentCount?: number;
65066
65082
  limit?: number;
65067
65083
  retryAfterSeconds?: number;
65068
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
65084
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
65069
65085
  window?: string;
65070
65086
  };
65071
65087
  });
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.1710",
39
+ version: "0.2.1712",
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.1710",
8
+ version: "0.2.1712",
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.1710",
3
+ "version": "0.2.1712",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -13801,9 +13801,19 @@ export type ImapDiscovery = {
13801
13801
  reconnectCause?: (string) | null;
13802
13802
  reason?: (string) | null;
13803
13803
  /**
13804
- * proton_requires_bridge: Proton Mail only works through its local bridge. forwarding_only: the domain forwards mail (Cloudflare Email Routing) and stores none, so connect the mailbox it forwards to.
13804
+ * Why an `unsupported` route cannot connect:
13805
+ *
13806
+ * - `proton_requires_bridge`: Proton Mail only works through its local bridge.
13807
+ * - `forwarding_only`: the domain forwards mail (Cloudflare Email Routing) and stores none, so connect the mailbox it forwards to.
13808
+ * - `domain_typo`: the domain takes no mail and looks like a mistyped consumer domain. `suggestedEmail` has the likely address.
13809
+ * - `no_mail_domain`: the domain has no MX and no address, so it cannot receive email.
13810
+ *
13811
+ */
13812
+ unsupportedReason?: ('proton_requires_bridge' | 'forwarding_only' | 'domain_typo' | 'no_mail_domain') | null;
13813
+ /**
13814
+ * With unsupportedReason domain_typo: the address the user most likely meant, such as ana7275@gmail.com for ana@7275gmail.com. Run discovery again with it once the user confirms.
13805
13815
  */
13806
- unsupportedReason?: ('proton_requires_bridge' | 'forwarding_only') | null;
13816
+ suggestedEmail?: (string) | null;
13807
13817
  /**
13808
13818
  * Google only: Gmail over IMAP with an app password, for accounts whose admin blocks Google sign-in for other apps.
13809
13819
  */
@@ -13824,9 +13834,15 @@ export type confidence = 'high' | 'medium' | 'low';
13824
13834
  export type kind11 = 'password' | 'app_password' | 'oauth';
13825
13835
 
13826
13836
  /**
13827
- * proton_requires_bridge: Proton Mail only works through its local bridge. forwarding_only: the domain forwards mail (Cloudflare Email Routing) and stores none, so connect the mailbox it forwards to.
13837
+ * Why an `unsupported` route cannot connect:
13838
+ *
13839
+ * - `proton_requires_bridge`: Proton Mail only works through its local bridge.
13840
+ * - `forwarding_only`: the domain forwards mail (Cloudflare Email Routing) and stores none, so connect the mailbox it forwards to.
13841
+ * - `domain_typo`: the domain takes no mail and looks like a mistyped consumer domain. `suggestedEmail` has the likely address.
13842
+ * - `no_mail_domain`: the domain has no MX and no address, so it cannot receive email.
13843
+ *
13828
13844
  */
13829
- export type unsupportedReason = 'proton_requires_bridge' | 'forwarding_only';
13845
+ export type unsupportedReason = 'proton_requires_bridge' | 'forwarding_only' | 'domain_typo' | 'no_mail_domain';
13830
13846
 
13831
13847
  export type ImessageAudienceContact = {
13832
13848
  conversationId?: string;
@@ -28882,7 +28898,7 @@ export type GetAnalyticsError = ({
28882
28898
  currentCount?: number;
28883
28899
  limit?: number;
28884
28900
  retryAfterSeconds?: number;
28885
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
28901
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
28886
28902
  window?: string;
28887
28903
  };
28888
28904
  });
@@ -28924,7 +28940,7 @@ export type GetAnalyticsDeltaError = (ErrorResponse | {
28924
28940
  currentCount?: number;
28925
28941
  limit?: number;
28926
28942
  retryAfterSeconds?: number;
28927
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
28943
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
28928
28944
  window?: string;
28929
28945
  };
28930
28946
  });
@@ -29861,7 +29877,7 @@ export type GetDailyMetricsError = (ErrorResponse | {
29861
29877
  currentCount?: number;
29862
29878
  limit?: number;
29863
29879
  retryAfterSeconds?: number;
29864
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
29880
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
29865
29881
  window?: string;
29866
29882
  };
29867
29883
  });
@@ -29939,7 +29955,7 @@ export type GetAnalyticsDashboardError = (ErrorResponse | unknown | {
29939
29955
  currentCount?: number;
29940
29956
  limit?: number;
29941
29957
  retryAfterSeconds?: number;
29942
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
29958
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
29943
29959
  window?: string;
29944
29960
  };
29945
29961
  });
@@ -29995,7 +30011,7 @@ export type GetBestTimeToPostError = (ErrorResponse | {
29995
30011
  currentCount?: number;
29996
30012
  limit?: number;
29997
30013
  retryAfterSeconds?: number;
29998
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
30014
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
29999
30015
  window?: string;
30000
30016
  };
30001
30017
  });
@@ -30051,7 +30067,7 @@ export type GetContentDecayError = (unknown | ErrorResponse | {
30051
30067
  currentCount?: number;
30052
30068
  limit?: number;
30053
30069
  retryAfterSeconds?: number;
30054
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
30070
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
30055
30071
  window?: string;
30056
30072
  };
30057
30073
  });
@@ -30108,7 +30124,7 @@ export type GetPostingFrequencyError = (ErrorResponse | {
30108
30124
  currentCount?: number;
30109
30125
  limit?: number;
30110
30126
  retryAfterSeconds?: number;
30111
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
30127
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
30112
30128
  window?: string;
30113
30129
  };
30114
30130
  });
@@ -31906,7 +31922,7 @@ export type GetPostTimelineError = ({
31906
31922
  currentCount?: number;
31907
31923
  limit?: number;
31908
31924
  retryAfterSeconds?: number;
31909
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
31925
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
31910
31926
  window?: string;
31911
31927
  };
31912
31928
  });
@@ -32239,7 +32255,7 @@ export type ListTrackingWindowsError = (ErrorResponse | {
32239
32255
  currentCount?: number;
32240
32256
  limit?: number;
32241
32257
  retryAfterSeconds?: number;
32242
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
32258
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
32243
32259
  window?: string;
32244
32260
  };
32245
32261
  });
@@ -32261,7 +32277,7 @@ export type GetTrackingWindowError = (ErrorResponse | {
32261
32277
  currentCount?: number;
32262
32278
  limit?: number;
32263
32279
  retryAfterSeconds?: number;
32264
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
32280
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
32265
32281
  window?: string;
32266
32282
  };
32267
32283
  });
@@ -32317,7 +32333,7 @@ export type GetPostSamplesError = (ErrorResponse | {
32317
32333
  currentCount?: number;
32318
32334
  limit?: number;
32319
32335
  retryAfterSeconds?: number;
32320
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
32336
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
32321
32337
  window?: string;
32322
32338
  };
32323
32339
  });
@@ -32567,7 +32583,7 @@ export type GetInboxVolumeError = ({
32567
32583
  currentCount?: number;
32568
32584
  limit?: number;
32569
32585
  retryAfterSeconds?: number;
32570
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
32586
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
32571
32587
  window?: string;
32572
32588
  };
32573
32589
  });
@@ -32614,7 +32630,7 @@ export type GetInboxHeatmapError = ({
32614
32630
  currentCount?: number;
32615
32631
  limit?: number;
32616
32632
  retryAfterSeconds?: number;
32617
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
32633
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
32618
32634
  window?: string;
32619
32635
  };
32620
32636
  });
@@ -32658,7 +32674,7 @@ export type GetInboxSourceBreakdownError = ({
32658
32674
  currentCount?: number;
32659
32675
  limit?: number;
32660
32676
  retryAfterSeconds?: number;
32661
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
32677
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
32662
32678
  window?: string;
32663
32679
  };
32664
32680
  });
@@ -32711,7 +32727,7 @@ export type GetInboxResponseTimeError = ({
32711
32727
  currentCount?: number;
32712
32728
  limit?: number;
32713
32729
  retryAfterSeconds?: number;
32714
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
32730
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
32715
32731
  window?: string;
32716
32732
  };
32717
32733
  });
@@ -32765,7 +32781,7 @@ export type GetInboxTopAccountsError = ({
32765
32781
  currentCount?: number;
32766
32782
  limit?: number;
32767
32783
  retryAfterSeconds?: number;
32768
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
32784
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
32769
32785
  window?: string;
32770
32786
  };
32771
32787
  });
@@ -32835,7 +32851,7 @@ export type ListInboxConversationAnalyticsError = ({
32835
32851
  currentCount?: number;
32836
32852
  limit?: number;
32837
32853
  retryAfterSeconds?: number;
32838
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
32854
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
32839
32855
  window?: string;
32840
32856
  };
32841
32857
  });
@@ -32902,7 +32918,7 @@ export type GetInboxConversationAnalyticsError = ({
32902
32918
  currentCount?: number;
32903
32919
  limit?: number;
32904
32920
  retryAfterSeconds?: number;
32905
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
32921
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
32906
32922
  window?: string;
32907
32923
  };
32908
32924
  });
@@ -60365,7 +60381,7 @@ export type ListAdsError = (ErrorResponse | unknown | {
60365
60381
  currentCount?: number;
60366
60382
  limit?: number;
60367
60383
  retryAfterSeconds?: number;
60368
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
60384
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
60369
60385
  window?: string;
60370
60386
  };
60371
60387
  });
@@ -62384,7 +62400,7 @@ export type ListAdCampaignsError = (ErrorResponse | unknown | {
62384
62400
  currentCount?: number;
62385
62401
  limit?: number;
62386
62402
  retryAfterSeconds?: number;
62387
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
62403
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
62388
62404
  window?: string;
62389
62405
  };
62390
62406
  });
@@ -64401,7 +64417,7 @@ export type GetAdTreeError = (ErrorResponse | unknown | {
64401
64417
  currentCount?: number;
64402
64418
  limit?: number;
64403
64419
  retryAfterSeconds?: number;
64404
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
64420
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
64405
64421
  window?: string;
64406
64422
  };
64407
64423
  });
@@ -64452,7 +64468,7 @@ export type ListAdsByPerformanceError = (ErrorResponse | unknown | {
64452
64468
  currentCount?: number;
64453
64469
  limit?: number;
64454
64470
  retryAfterSeconds?: number;
64455
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
64471
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
64456
64472
  window?: string;
64457
64473
  };
64458
64474
  });
@@ -64499,7 +64515,7 @@ export type GetAdsTimelineError = (ErrorResponse | unknown | {
64499
64515
  currentCount?: number;
64500
64516
  limit?: number;
64501
64517
  retryAfterSeconds?: number;
64502
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
64518
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
64503
64519
  window?: string;
64504
64520
  };
64505
64521
  });
@@ -66022,7 +66038,7 @@ export type GetAdAnalyticsError = (ErrorResponse | unknown | {
66022
66038
  currentCount?: number;
66023
66039
  limit?: number;
66024
66040
  retryAfterSeconds?: number;
66025
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
66041
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
66026
66042
  window?: string;
66027
66043
  };
66028
66044
  });
@@ -66389,7 +66405,7 @@ export type ListAdsAlertsError = (ErrorResponse | unknown | {
66389
66405
  currentCount?: number;
66390
66406
  limit?: number;
66391
66407
  retryAfterSeconds?: number;
66392
- scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics';
66408
+ scope?: 'campaign-analytics' | 'ad-analytics' | 'ads-listings' | 'post-analytics' | 'account-insights' | 'account_route';
66393
66409
  window?: string;
66394
66410
  };
66395
66411
  });