@leadping/sdk 1.0.98 → 1.0.100

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.
@@ -32,11 +32,15 @@ export interface MyRequestBuilderPostQueryParameters {
32
32
  * Optional filter selecting active, archived, or all lead conversations.
33
33
  */
34
34
  archiveFilter?: string;
35
+ /**
36
+ * Whether to include only conversations with contactable leads.
37
+ */
38
+ contactable?: boolean;
35
39
  }
36
40
  /**
37
41
  * Uri template for the request builder.
38
42
  */
39
- export declare const MyRequestBuilderUriTemplate = "{+baseurl}/conversations/my{?archiveFilter*}";
43
+ export declare const MyRequestBuilderUriTemplate = "{+baseurl}/conversations/my{?archiveFilter*,contactable*}";
40
44
  /**
41
45
  * Metadata for all the requests in the request builder.
42
46
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../conversations/my/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAsL,KAAK,iCAAiC,EAAuB,KAAK,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAEjT,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,gBAAiB,SAAQ,kBAAkB,CAAC,gBAAgB,CAAC;IAC1E;;;;;;;;;;OAUG;IACF,IAAI,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,mCAAmC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,iCAAiC,GAAG,SAAS,CAAC,CAAC;IACvL;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,mCAAmC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC1K;AACD;;GAEG;AACH,MAAM,WAAW,mCAAmC;IAChD;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CAC1B;AACD;;GAEG;AACH,eAAO,MAAM,2BAA2B,iDAAiD,CAAC;AAC1F;;GAEG;AACH,eAAO,MAAM,gCAAgC,EAAE,gBAiB9C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../conversations/my/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAsL,KAAK,iCAAiC,EAAuB,KAAK,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAEjT,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,gBAAiB,SAAQ,kBAAkB,CAAC,gBAAgB,CAAC;IAC1E;;;;;;;;;;OAUG;IACF,IAAI,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,mCAAmC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,iCAAiC,GAAG,SAAS,CAAC,CAAC;IACvL;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,mCAAmC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC1K;AACD;;GAEG;AACH,MAAM,WAAW,mCAAmC;IAChD;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACzB;AACD;;GAEG;AACH,eAAO,MAAM,2BAA2B,8DAA8D,CAAC;AACvG;;GAEG;AACH,eAAO,MAAM,gCAAgC,EAAE,gBAiB9C,CAAC"}
@@ -6,7 +6,7 @@ import { createPagedResultOfConversationResponseFromDiscriminatorValue, createPr
6
6
  /**
7
7
  * Uri template for the request builder.
8
8
  */
9
- export const MyRequestBuilderUriTemplate = "{+baseurl}/conversations/my{?archiveFilter*}";
9
+ export const MyRequestBuilderUriTemplate = "{+baseurl}/conversations/my{?archiveFilter*,contactable*}";
10
10
  /**
11
11
  * Metadata for all the requests in the request builder.
12
12
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../conversations/my/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,6DAA6D,EAAE,0CAA0C,EAA8C,2BAA2B,EAAwF,MAAM,uBAAuB,CAAC;AAqCjT;;GAEG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,8CAA8C,CAAC;AAC1F;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAqB;IAC9D,IAAI,EAAE;QACF,WAAW,EAAE,2BAA2B;QACxC,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,6DAA6D;QACnF,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,2BAA2B;QAClD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../conversations/my/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,6DAA6D,EAAE,0CAA0C,EAA8C,2BAA2B,EAAwF,MAAM,uBAAuB,CAAC;AAyCjT;;GAEG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,2DAA2D,CAAC;AACvG;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAqB;IAC9D,IAAI,EAAE;QACF,WAAW,EAAE,2BAA2B;QACxC,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,6DAA6D;QACnF,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,2BAA2B;QAClD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -1622,6 +1622,10 @@ export interface ConversationResponse extends AdditionalDataHolder, Parsable {
1622
1622
  * Optional profile image URL explicitly associated with the lead.
1623
1623
  */
1624
1624
  avatarUrl?: string | null;
1625
+ /**
1626
+ * Consent verification status of the associated lead; not a live call-readiness guarantee.
1627
+ */
1628
+ complianceStatus?: string | null;
1625
1629
  /**
1626
1630
  * Summary schema for Leadping API current lead status change summary data used in dashboards and reports.
1627
1631
  */
@@ -3086,6 +3090,12 @@ export declare function createPhoneNumberMessagingEventResponseFromDiscriminator
3086
3090
  * @returns {PhoneNumberOptOutMetricsResponse}
3087
3091
  */
3088
3092
  export declare function createPhoneNumberOptOutMetricsResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
3093
+ /**
3094
+ * Creates a new instance of the appropriate class based on discriminator value
3095
+ * @param parseNode The parse node to use to read the discriminator value and create the object
3096
+ * @returns {PhoneNumberReadiness_trafficHealth}
3097
+ */
3098
+ export declare function createPhoneNumberReadiness_trafficHealthFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
3089
3099
  /**
3090
3100
  * Creates a new instance of the appropriate class based on discriminator value
3091
3101
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -3176,6 +3186,12 @@ export declare function createPhoneNumberStatusResponseFromDiscriminatorValue(pa
3176
3186
  * @returns {PhoneNumberTableRow}
3177
3187
  */
3178
3188
  export declare function createPhoneNumberTableRowFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
3189
+ /**
3190
+ * Creates a new instance of the appropriate class based on discriminator value
3191
+ * @param parseNode The parse node to use to read the discriminator value and create the object
3192
+ * @returns {PhoneNumberTrafficHealth}
3193
+ */
3194
+ export declare function createPhoneNumberTrafficHealthFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
3179
3195
  /**
3180
3196
  * Creates a new instance of the appropriate class based on discriminator value
3181
3197
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -5632,6 +5648,12 @@ export declare function deserializeIntoPhoneNumberOptOutMetricsResponse(phoneNum
5632
5648
  * @returns {Record<string, (node: ParseNode) => void>}
5633
5649
  */
5634
5650
  export declare function deserializeIntoPhoneNumberReadiness(phoneNumberReadiness?: Partial<PhoneNumberReadiness> | undefined): Record<string, (node: ParseNode) => void>;
5651
+ /**
5652
+ * The deserialization information for the current model
5653
+ * @param PhoneNumberReadiness_trafficHealth The instance to deserialize into.
5654
+ * @returns {Record<string, (node: ParseNode) => void>}
5655
+ */
5656
+ export declare function deserializeIntoPhoneNumberReadiness_trafficHealth(phoneNumberReadiness_trafficHealth?: Partial<PhoneNumberReadiness_trafficHealth> | undefined): Record<string, (node: ParseNode) => void>;
5635
5657
  /**
5636
5658
  * The deserialization information for the current model
5637
5659
  * @param PhoneNumberRequest The instance to deserialize into.
@@ -5716,6 +5738,12 @@ export declare function deserializeIntoPhoneNumberStatusResponse_smsWarmup(phone
5716
5738
  * @returns {Record<string, (node: ParseNode) => void>}
5717
5739
  */
5718
5740
  export declare function deserializeIntoPhoneNumberTableRow(phoneNumberTableRow?: Partial<PhoneNumberTableRow> | undefined): Record<string, (node: ParseNode) => void>;
5741
+ /**
5742
+ * The deserialization information for the current model
5743
+ * @param PhoneNumberTrafficHealth The instance to deserialize into.
5744
+ * @returns {Record<string, (node: ParseNode) => void>}
5745
+ */
5746
+ export declare function deserializeIntoPhoneNumberTrafficHealth(phoneNumberTrafficHealth?: Partial<PhoneNumberTrafficHealth> | undefined): Record<string, (node: ParseNode) => void>;
5719
5747
  /**
5720
5748
  * The deserialization information for the current model
5721
5749
  * @param PhoneNumberTrafficMetricsResponse The instance to deserialize into.
@@ -10818,10 +10846,19 @@ export interface PhoneNumberReadiness extends AdditionalDataHolder, Parsable {
10818
10846
  * Describes whether an organization is configured and permitted to send SMS or MMS traffic through Leadping.
10819
10847
  */
10820
10848
  state?: PhoneNumberReadiness_state | null;
10849
+ /**
10850
+ * Hourly local reputation-risk estimate using 24-hour, seven-day, and thirty-day traffic evidence.
10851
+ */
10852
+ trafficHealth?: PhoneNumberReadiness_trafficHealth | null;
10821
10853
  }
10822
10854
  export type PhoneNumberReadiness_callStage = (typeof PhoneNumberReadiness_callStageObject)[keyof typeof PhoneNumberReadiness_callStageObject];
10823
10855
  export type PhoneNumberReadiness_healthStatus = (typeof PhoneNumberReadiness_healthStatusObject)[keyof typeof PhoneNumberReadiness_healthStatusObject];
10824
10856
  export type PhoneNumberReadiness_state = (typeof PhoneNumberReadiness_stateObject)[keyof typeof PhoneNumberReadiness_stateObject];
10857
+ /**
10858
+ * Hourly local reputation-risk estimate using 24-hour, seven-day, and thirty-day traffic evidence.
10859
+ */
10860
+ export interface PhoneNumberReadiness_trafficHealth extends Parsable, PhoneNumberTrafficHealth {
10861
+ }
10825
10862
  /**
10826
10863
  * Defines the fields clients can send when working with phone number update.
10827
10864
  */
@@ -11083,10 +11120,6 @@ export interface PhoneNumberTableRow extends AdditionalDataHolder, Parsable {
11083
11120
  * Human-readable routing summary for this phone number.
11084
11121
  */
11085
11122
  routingSummary?: string | null;
11086
- /**
11087
- * Indicates whether a phone number's channel capacity is increasing, decreasing, or stable.
11088
- */
11089
- smsRampDirection?: PhoneNumberTableRow_smsRampDirection | null;
11090
11123
  /**
11091
11124
  * Indicates whether SMS messaging is ready for this organization or phone number.
11092
11125
  */
@@ -11099,10 +11132,6 @@ export interface PhoneNumberTableRow extends AdditionalDataHolder, Parsable {
11099
11132
  * Type classification used to route and interpret this phone number table row in the Leadping API.
11100
11133
  */
11101
11134
  type?: string | null;
11102
- /**
11103
- * Indicates whether a phone number's channel capacity is increasing, decreasing, or stable.
11104
- */
11105
- voiceRampDirection?: PhoneNumberTableRow_voiceRampDirection | null;
11106
11135
  /**
11107
11136
  * Indicates whether voice calling is ready for this organization or phone number.
11108
11137
  */
@@ -11112,8 +11141,15 @@ export interface PhoneNumberTableRow extends AdditionalDataHolder, Parsable {
11112
11141
  */
11113
11142
  warmup?: PhoneNumberReadiness | null;
11114
11143
  }
11115
- export type PhoneNumberTableRow_smsRampDirection = (typeof PhoneNumberTableRow_smsRampDirectionObject)[keyof typeof PhoneNumberTableRow_smsRampDirectionObject];
11116
- export type PhoneNumberTableRow_voiceRampDirection = (typeof PhoneNumberTableRow_voiceRampDirectionObject)[keyof typeof PhoneNumberTableRow_voiceRampDirectionObject];
11144
+ /**
11145
+ * Hourly local reputation-risk estimate using 24-hour, seven-day, and thirty-day traffic evidence.
11146
+ */
11147
+ export interface PhoneNumberTrafficHealth extends AdditionalDataHolder, Parsable {
11148
+ /**
11149
+ * The lower evaluated channel score, or null when neither channel has sufficient evidence.
11150
+ */
11151
+ score?: number | null;
11152
+ }
11117
11153
  /**
11118
11154
  * Describes phone number traffic metrics data returned by Leadping.
11119
11155
  */
@@ -12921,6 +12957,13 @@ export declare function serializePhoneNumberOptOutMetricsResponse(writer: Serial
12921
12957
  * @param writer Serialization writer to use to serialize this model
12922
12958
  */
12923
12959
  export declare function serializePhoneNumberReadiness(writer: SerializationWriter, phoneNumberReadiness?: Partial<PhoneNumberReadiness> | undefined | null, isSerializingDerivedType?: boolean): void;
12960
+ /**
12961
+ * Serializes information the current object
12962
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
12963
+ * @param PhoneNumberReadiness_trafficHealth The instance to serialize from.
12964
+ * @param writer Serialization writer to use to serialize this model
12965
+ */
12966
+ export declare function serializePhoneNumberReadiness_trafficHealth(writer: SerializationWriter, phoneNumberReadiness_trafficHealth?: Partial<PhoneNumberReadiness_trafficHealth> | undefined | null, isSerializingDerivedType?: boolean): void;
12924
12967
  /**
12925
12968
  * Serializes information the current object
12926
12969
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -13019,6 +13062,13 @@ export declare function serializePhoneNumberStatusResponse_smsWarmup(writer: Ser
13019
13062
  * @param writer Serialization writer to use to serialize this model
13020
13063
  */
13021
13064
  export declare function serializePhoneNumberTableRow(writer: SerializationWriter, phoneNumberTableRow?: Partial<PhoneNumberTableRow> | undefined | null, isSerializingDerivedType?: boolean): void;
13065
+ /**
13066
+ * Serializes information the current object
13067
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
13068
+ * @param PhoneNumberTrafficHealth The instance to serialize from.
13069
+ * @param writer Serialization writer to use to serialize this model
13070
+ */
13071
+ export declare function serializePhoneNumberTrafficHealth(writer: SerializationWriter, phoneNumberTrafficHealth?: Partial<PhoneNumberTrafficHealth> | undefined | null, isSerializingDerivedType?: boolean): void;
13022
13072
  /**
13023
13073
  * Serializes information the current object
13024
13074
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -15656,6 +15706,10 @@ export interface UserResponse extends AdditionalDataHolder, Parsable {
15656
15706
  * The isDemo property
15657
15707
  */
15658
15708
  isDemo?: boolean | null;
15709
+ /**
15710
+ * The lastActiveAt property
15711
+ */
15712
+ lastActiveAt?: Date | null;
15659
15713
  /**
15660
15714
  * The date and time when this user last completed the Leadping sign-in flow.
15661
15715
  */
@@ -16761,22 +16815,6 @@ export declare const PhoneNumberReadiness_stateObject: {
16761
16815
  readonly Blocked: "Blocked";
16762
16816
  readonly Ready: "Ready";
16763
16817
  };
16764
- /**
16765
- * Indicates whether a phone number's channel capacity is increasing, decreasing, or stable.
16766
- */
16767
- export declare const PhoneNumberTableRow_smsRampDirectionObject: {
16768
- readonly Up: "up";
16769
- readonly Down: "down";
16770
- readonly None: "none";
16771
- };
16772
- /**
16773
- * Indicates whether a phone number's channel capacity is increasing, decreasing, or stable.
16774
- */
16775
- export declare const PhoneNumberTableRow_voiceRampDirectionObject: {
16776
- readonly Up: "up";
16777
- readonly Down: "down";
16778
- readonly None: "none";
16779
- };
16780
16818
  /**
16781
16819
  * Defines the source that requested outbound delivery.
16782
16820
  */