@leadping/sdk 1.0.59 → 1.0.61

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.
@@ -1233,6 +1233,10 @@ export interface BlogArticleResponse extends AdditionalDataHolder, Parsable {
1233
1233
  * The title property
1234
1234
  */
1235
1235
  title?: string | null;
1236
+ /**
1237
+ * The unpublishedAt property
1238
+ */
1239
+ unpublishedAt?: Date | null;
1236
1240
  }
1237
1241
  /**
1238
1242
  * Summarizes call event data in paginated and searchable results.
@@ -2709,6 +2713,12 @@ export declare function createPhoneNumberSearchResult_locationFromDiscriminatorV
2709
2713
  * @returns {PhoneNumberSearchResult}
2710
2714
  */
2711
2715
  export declare function createPhoneNumberSearchResultFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
2716
+ /**
2717
+ * Creates a new instance of the appropriate class based on discriminator value
2718
+ * @param parseNode The parse node to use to read the discriminator value and create the object
2719
+ * @returns {PhoneNumberStatusResponse_location}
2720
+ */
2721
+ export declare function createPhoneNumberStatusResponse_locationFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
2712
2722
  /**
2713
2723
  * Creates a new instance of the appropriate class based on discriminator value
2714
2724
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -4990,6 +5000,12 @@ export declare function deserializeIntoPhoneNumberSearchResult_location(phoneNum
4990
5000
  * @returns {Record<string, (node: ParseNode) => void>}
4991
5001
  */
4992
5002
  export declare function deserializeIntoPhoneNumberStatusResponse(phoneNumberStatusResponse?: Partial<PhoneNumberStatusResponse> | undefined): Record<string, (node: ParseNode) => void>;
5003
+ /**
5004
+ * The deserialization information for the current model
5005
+ * @param PhoneNumberStatusResponse_location The instance to deserialize into.
5006
+ * @returns {Record<string, (node: ParseNode) => void>}
5007
+ */
5008
+ export declare function deserializeIntoPhoneNumberStatusResponse_location(phoneNumberStatusResponse_location?: Partial<PhoneNumberStatusResponse_location> | undefined): Record<string, (node: ParseNode) => void>;
4993
5009
  /**
4994
5010
  * The deserialization information for the current model
4995
5011
  * @param PhoneNumberStatusResponse_outboundCapacity The instance to deserialize into.
@@ -5652,6 +5668,10 @@ export interface EventTableRow extends AdditionalDataHolder, Parsable {
5652
5668
  * User ID for the person or system that created this event timeline table row.
5653
5669
  */
5654
5670
  actorUserId?: string | null;
5671
+ /**
5672
+ * Automation run ID opened from this automation event.
5673
+ */
5674
+ automationRunId?: string | null;
5655
5675
  /**
5656
5676
  * Monetary amount billed for this Leadping communication or transaction.
5657
5677
  */
@@ -8405,6 +8425,10 @@ export interface OutboundPhoneNumberCapacity extends AdditionalDataHolder, Parsa
8405
8425
  * The next time SMS capacity becomes available in the rolling minute window.
8406
8426
  */
8407
8427
  smsMinutelyResetsAt?: Date | null;
8428
+ /**
8429
+ * Indicates whether a phone number's channel capacity is increasing, decreasing, or stable.
8430
+ */
8431
+ smsRampDirection?: OutboundPhoneNumberCapacity_smsRampDirection | null;
8408
8432
  /**
8409
8433
  * Indicates whether SMS limits for this phone number are still ramping up.
8410
8434
  */
@@ -8457,6 +8481,10 @@ export interface OutboundPhoneNumberCapacity extends AdditionalDataHolder, Parsa
8457
8481
  * The next time voice capacity becomes available in the rolling minute window.
8458
8482
  */
8459
8483
  voiceMinutelyResetsAt?: Date | null;
8484
+ /**
8485
+ * Indicates whether a phone number's channel capacity is increasing, decreasing, or stable.
8486
+ */
8487
+ voiceRampDirection?: OutboundPhoneNumberCapacity_voiceRampDirection | null;
8460
8488
  /**
8461
8489
  * Indicates whether call limits for this phone number are still ramping up.
8462
8490
  */
@@ -8486,6 +8514,8 @@ export interface OutboundPhoneNumberCapacity extends AdditionalDataHolder, Parsa
8486
8514
  */
8487
8515
  voiceUsedToday?: number | null;
8488
8516
  }
8517
+ export type OutboundPhoneNumberCapacity_smsRampDirection = (typeof OutboundPhoneNumberCapacity_smsRampDirectionObject)[keyof typeof OutboundPhoneNumberCapacity_smsRampDirectionObject];
8518
+ export type OutboundPhoneNumberCapacity_voiceRampDirection = (typeof OutboundPhoneNumberCapacity_voiceRampDirectionObject)[keyof typeof OutboundPhoneNumberCapacity_voiceRampDirectionObject];
8489
8519
  /**
8490
8520
  * Describes a queued or recently evaluated outbound delivery request and the pacing decision that controls when it may be sent.
8491
8521
  */
@@ -9597,6 +9627,14 @@ export interface PhoneNumberResponse extends AdditionalDataHolder, Parsable {
9597
9627
  * Public Leadping API schema for phone number routing metadata data.
9598
9628
  */
9599
9629
  routing?: PhoneNumberRoutingMetadata | null;
9630
+ /**
9631
+ * Whether provider, routing, and health checks allow SMS.
9632
+ */
9633
+ smsReady?: boolean | null;
9634
+ /**
9635
+ * Whether provider, routing, and health checks allow calls.
9636
+ */
9637
+ voiceReady?: boolean | null;
9600
9638
  /**
9601
9639
  * Messaging and calling warmup for a Leadping phone number.
9602
9640
  */
@@ -9689,6 +9727,10 @@ export interface PhoneNumberStatusResponse extends AdditionalDataHolder, Parsabl
9689
9727
  * Indicates whether this phone number can currently place outbound calls.
9690
9728
  */
9691
9729
  callsPossible?: number | null;
9730
+ /**
9731
+ * Public Leadping API schema for phone number location data.
9732
+ */
9733
+ location?: PhoneNumberStatusResponse_location | null;
9692
9734
  /**
9693
9735
  * Indicates whether this phone number can currently send SMS messages.
9694
9736
  */
@@ -9718,6 +9760,11 @@ export interface PhoneNumberStatusResponse extends AdditionalDataHolder, Parsabl
9718
9760
  */
9719
9761
  trafficMetrics?: PhoneNumberTrafficMetricsResponse | null;
9720
9762
  }
9763
+ /**
9764
+ * Public Leadping API schema for phone number location data.
9765
+ */
9766
+ export interface PhoneNumberStatusResponse_location extends Parsable, PhoneNumberLocation {
9767
+ }
9721
9768
  /**
9722
9769
  * Reports the sending capacity, current load, and availability of a phone number considered for outbound delivery.
9723
9770
  */
@@ -11464,6 +11511,13 @@ export declare function serializePhoneNumberSearchResult_location(writer: Serial
11464
11511
  * @param writer Serialization writer to use to serialize this model
11465
11512
  */
11466
11513
  export declare function serializePhoneNumberStatusResponse(writer: SerializationWriter, phoneNumberStatusResponse?: Partial<PhoneNumberStatusResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
11514
+ /**
11515
+ * Serializes information the current object
11516
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
11517
+ * @param PhoneNumberStatusResponse_location The instance to serialize from.
11518
+ * @param writer Serialization writer to use to serialize this model
11519
+ */
11520
+ export declare function serializePhoneNumberStatusResponse_location(writer: SerializationWriter, phoneNumberStatusResponse_location?: Partial<PhoneNumberStatusResponse_location> | undefined | null, isSerializingDerivedType?: boolean): void;
11467
11521
  /**
11468
11522
  * Serializes information the current object
11469
11523
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -14736,6 +14790,22 @@ export declare const OutboundDeliveryStatusObject: {
14736
14790
  readonly Blocked: "blocked";
14737
14791
  readonly Cancelled: "cancelled";
14738
14792
  };
14793
+ /**
14794
+ * Indicates whether a phone number's channel capacity is increasing, decreasing, or stable.
14795
+ */
14796
+ export declare const OutboundPhoneNumberCapacity_smsRampDirectionObject: {
14797
+ readonly Up: "up";
14798
+ readonly Down: "down";
14799
+ readonly None: "none";
14800
+ };
14801
+ /**
14802
+ * Indicates whether a phone number's channel capacity is increasing, decreasing, or stable.
14803
+ */
14804
+ export declare const OutboundPhoneNumberCapacity_voiceRampDirectionObject: {
14805
+ readonly Up: "up";
14806
+ readonly Down: "down";
14807
+ readonly None: "none";
14808
+ };
14739
14809
  /**
14740
14810
  * Structured reason codes for outbound pacing and blocking decisions.
14741
14811
  */