@getlatedev/node 0.2.1159 → 0.2.1161

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.
@@ -38745,7 +38745,7 @@ export type AddBroadcastRecipientsError = (unknown | ErrorResponse | {
38745
38745
  error?: string;
38746
38746
  });
38747
38747
 
38748
- export type CreateSupportRunData = {
38748
+ export type AskSupportQuestionData = {
38749
38749
  body: {
38750
38750
  /**
38751
38751
  * The question. Leading and trailing whitespace is trimmed.
@@ -38776,7 +38776,7 @@ export type CreateSupportRunData = {
38776
38776
  };
38777
38777
  };
38778
38778
 
38779
- export type CreateSupportRunResponse = ({
38779
+ export type AskSupportQuestionResponse = ({
38780
38780
  runId: string;
38781
38781
  threadId: string;
38782
38782
  status: 'queued';
@@ -38786,17 +38786,17 @@ export type CreateSupportRunResponse = ({
38786
38786
  pollAfterSeconds: number;
38787
38787
  });
38788
38788
 
38789
- export type CreateSupportRunError = (ErrorResponse);
38789
+ export type AskSupportQuestionError = (ErrorResponse);
38790
38790
 
38791
- export type GetSupportRunData = {
38791
+ export type GetSupportAnswerData = {
38792
38792
  path: {
38793
38793
  runId: string;
38794
38794
  };
38795
38795
  };
38796
38796
 
38797
- export type GetSupportRunResponse = (SupportRun);
38797
+ export type GetSupportAnswerResponse = (SupportRun);
38798
38798
 
38799
- export type GetSupportRunError = (ErrorResponse);
38799
+ export type GetSupportAnswerError = (ErrorResponse);
38800
38800
 
38801
38801
  export type ListWorkflowsData = {
38802
38802
  query?: {
@@ -43351,11 +43351,11 @@ export type GetAdReviewResponse = ({
43351
43351
  platformAdId?: string;
43352
43352
  review?: {
43353
43353
  /**
43354
- * TikTok `is_approved`.
43354
+ * TikTok `is_approved`. Google and Meta: derived from the platform status (see the description).
43355
43355
  */
43356
43356
  approved?: (boolean) | null;
43357
43357
  /**
43358
- * TikTok `review_status`, verbatim: ALL_AVAILABLE (approved everywhere), PART_AVAILABLE (approved for part of the targeting), UNAVAILABLE (rejected).
43358
+ * TikTok `review_status`, verbatim: ALL_AVAILABLE (approved everywhere), PART_AVAILABLE (approved for part of the targeting), UNAVAILABLE (rejected). Google: `review_status`. Meta: the ad's `effective_status`.
43359
43359
  */
43360
43360
  reviewStatus?: (string) | null;
43361
43361
  forbiddenPlacements?: Array<(string)>;
@@ -43414,6 +43414,31 @@ export type GetAdReviewResponse = ({
43414
43414
  [key: string]: unknown;
43415
43415
  }>;
43416
43416
  }>;
43417
+ /**
43418
+ * Meta only. The Ad's `ad_review_feedback`, verbatim. Both maps are empty when Meta returned no feedback (approved or in-review ad).
43419
+ */
43420
+ reviewFeedback?: {
43421
+ /**
43422
+ * Meta `global`: policy or reason -> Meta's explanation.
43423
+ */
43424
+ global?: {
43425
+ [key: string]: (string);
43426
+ };
43427
+ /**
43428
+ * Meta `placement_specific`: placement (facebook, instagram, ...) -> reason -> Meta's explanation.
43429
+ */
43430
+ placementSpecific?: {
43431
+ [key: string]: {
43432
+ [key: string]: (string);
43433
+ };
43434
+ };
43435
+ };
43436
+ /**
43437
+ * Meta only. The Ad's `issues_info` objects (`error_code`, `error_message`, `error_summary`, `error_type`, `level`), verbatim.
43438
+ */
43439
+ issues?: Array<{
43440
+ [key: string]: unknown;
43441
+ }>;
43417
43442
  /**
43418
43443
  * When the verdict was read from the platform.
43419
43444
  */