@leadping/sdk 1.0.68 → 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.
@@ -1253,10 +1253,30 @@ export interface BlogArticleResponse extends AdditionalDataHolder, Parsable {
1253
1253
  * The seoTitle property
1254
1254
  */
1255
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;
1256
1272
  /**
1257
1273
  * The slug property
1258
1274
  */
1259
1275
  slug?: string | null;
1276
+ /**
1277
+ * The socialPosts property
1278
+ */
1279
+ socialPosts?: BlogSocialPost[] | null;
1260
1280
  /**
1261
1281
  * The title property
1262
1282
  */
@@ -1266,6 +1286,28 @@ export interface BlogArticleResponse extends AdditionalDataHolder, Parsable {
1266
1286
  */
1267
1287
  unpublishedAt?: Date | null;
1268
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
+ }
1269
1311
  /**
1270
1312
  * Summarizes call event data in paginated and searchable results.
1271
1313
  */
@@ -1816,6 +1858,12 @@ export declare function createAutomationWorkflowStatusResponseFromDiscriminatorV
1816
1858
  * @returns {BlogArticleResponse}
1817
1859
  */
1818
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>);
1819
1867
  /**
1820
1868
  * Creates a new instance of the appropriate class based on discriminator value
1821
1869
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -4100,6 +4148,12 @@ export declare function deserializeIntoAutomationWorkflowStatusResponse(automati
4100
4148
  * @returns {Record<string, (node: ParseNode) => void>}
4101
4149
  */
4102
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>;
4103
4157
  /**
4104
4158
  * The deserialization information for the current model
4105
4159
  * @param CallEventTableRow The instance to deserialize into.
@@ -10502,6 +10556,13 @@ export declare function serializeAutomationWorkflowStatusResponse(writer: Serial
10502
10556
  * @param writer Serialization writer to use to serialize this model
10503
10557
  */
10504
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;
10505
10566
  /**
10506
10567
  * Serializes information the current object
10507
10568
  * @param CallEventTableRow The instance to serialize from.
@@ -14300,6 +14361,12 @@ export declare const BillingPlanObject: {
14300
14361
  readonly Annual: "Annual";
14301
14362
  readonly Monthly: "Monthly";
14302
14363
  };
14364
+ export declare const BlogSocialPlatformObject: {
14365
+ readonly Facebook: "facebook";
14366
+ readonly Instagram: "instagram";
14367
+ readonly X: "x";
14368
+ readonly Linkedin: "linkedin";
14369
+ };
14303
14370
  /**
14304
14371
  * Defines the source that requested outbound delivery.
14305
14372
  */