@leadping/sdk 1.0.67 → 1.0.69

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.
@@ -1245,14 +1245,38 @@ export interface BlogArticleResponse extends AdditionalDataHolder, Parsable {
1245
1245
  * The publishedAt property
1246
1246
  */
1247
1247
  publishedAt?: Date | null;
1248
+ /**
1249
+ * The renderedHtml property
1250
+ */
1251
+ renderedHtml?: string | null;
1248
1252
  /**
1249
1253
  * The seoTitle property
1250
1254
  */
1251
1255
  seoTitle?: string | null;
1256
+ /**
1257
+ * Whether to create a Facebook post after publication.
1258
+ */
1259
+ shareOnFacebook?: boolean | null;
1260
+ /**
1261
+ * Whether to create a Instagram post after publication.
1262
+ */
1263
+ shareOnInstagram?: boolean | null;
1264
+ /**
1265
+ * Whether to create a LinkedIn post after publication.
1266
+ */
1267
+ shareOnLinkedIn?: boolean | null;
1268
+ /**
1269
+ * Whether to create a X post after publication.
1270
+ */
1271
+ shareOnX?: boolean | null;
1252
1272
  /**
1253
1273
  * The slug property
1254
1274
  */
1255
1275
  slug?: string | null;
1276
+ /**
1277
+ * The socialPosts property
1278
+ */
1279
+ socialPosts?: BlogSocialPost[] | null;
1256
1280
  /**
1257
1281
  * The title property
1258
1282
  */
@@ -1262,6 +1286,28 @@ export interface BlogArticleResponse extends AdditionalDataHolder, Parsable {
1262
1286
  */
1263
1287
  unpublishedAt?: Date | null;
1264
1288
  }
1289
+ export type BlogSocialPlatform = (typeof BlogSocialPlatformObject)[keyof typeof BlogSocialPlatformObject];
1290
+ /**
1291
+ * Records a social publication attempt. An attempt without a post ID must be reviewed before retrying.
1292
+ */
1293
+ export interface BlogSocialPost extends AdditionalDataHolder, Parsable {
1294
+ /**
1295
+ * The attemptedAt property
1296
+ */
1297
+ attemptedAt?: Date | null;
1298
+ /**
1299
+ * The error property
1300
+ */
1301
+ errorEscaped?: string | null;
1302
+ /**
1303
+ * The platform property
1304
+ */
1305
+ platform?: BlogSocialPlatform | null;
1306
+ /**
1307
+ * The postId property
1308
+ */
1309
+ postId?: string | null;
1310
+ }
1265
1311
  /**
1266
1312
  * Summarizes call event data in paginated and searchable results.
1267
1313
  */
@@ -1812,6 +1858,12 @@ export declare function createAutomationWorkflowStatusResponseFromDiscriminatorV
1812
1858
  * @returns {BlogArticleResponse}
1813
1859
  */
1814
1860
  export declare function createBlogArticleResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
1861
+ /**
1862
+ * Creates a new instance of the appropriate class based on discriminator value
1863
+ * @param parseNode The parse node to use to read the discriminator value and create the object
1864
+ * @returns {BlogSocialPost}
1865
+ */
1866
+ export declare function createBlogSocialPostFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
1815
1867
  /**
1816
1868
  * Creates a new instance of the appropriate class based on discriminator value
1817
1869
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -4096,6 +4148,12 @@ export declare function deserializeIntoAutomationWorkflowStatusResponse(automati
4096
4148
  * @returns {Record<string, (node: ParseNode) => void>}
4097
4149
  */
4098
4150
  export declare function deserializeIntoBlogArticleResponse(blogArticleResponse?: Partial<BlogArticleResponse> | undefined): Record<string, (node: ParseNode) => void>;
4151
+ /**
4152
+ * The deserialization information for the current model
4153
+ * @param BlogSocialPost The instance to deserialize into.
4154
+ * @returns {Record<string, (node: ParseNode) => void>}
4155
+ */
4156
+ export declare function deserializeIntoBlogSocialPost(blogSocialPost?: Partial<BlogSocialPost> | undefined): Record<string, (node: ParseNode) => void>;
4099
4157
  /**
4100
4158
  * The deserialization information for the current model
4101
4159
  * @param CallEventTableRow The instance to deserialize into.
@@ -10498,6 +10556,13 @@ export declare function serializeAutomationWorkflowStatusResponse(writer: Serial
10498
10556
  * @param writer Serialization writer to use to serialize this model
10499
10557
  */
10500
10558
  export declare function serializeBlogArticleResponse(writer: SerializationWriter, blogArticleResponse?: Partial<BlogArticleResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
10559
+ /**
10560
+ * Serializes information the current object
10561
+ * @param BlogSocialPost The instance to serialize from.
10562
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
10563
+ * @param writer Serialization writer to use to serialize this model
10564
+ */
10565
+ export declare function serializeBlogSocialPost(writer: SerializationWriter, blogSocialPost?: Partial<BlogSocialPost> | undefined | null, isSerializingDerivedType?: boolean): void;
10501
10566
  /**
10502
10567
  * Serializes information the current object
10503
10568
  * @param CallEventTableRow The instance to serialize from.
@@ -14296,6 +14361,12 @@ export declare const BillingPlanObject: {
14296
14361
  readonly Annual: "Annual";
14297
14362
  readonly Monthly: "Monthly";
14298
14363
  };
14364
+ export declare const BlogSocialPlatformObject: {
14365
+ readonly Facebook: "facebook";
14366
+ readonly Instagram: "instagram";
14367
+ readonly X: "x";
14368
+ readonly Linkedin: "linkedin";
14369
+ };
14299
14370
  /**
14300
14371
  * Defines the source that requested outbound delivery.
14301
14372
  */