@leadping/sdk 1.0.98 → 1.0.99

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
+ * Stored compliance 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
  */
@@ -11114,6 +11151,15 @@ export interface PhoneNumberTableRow extends AdditionalDataHolder, Parsable {
11114
11151
  }
11115
11152
  export type PhoneNumberTableRow_smsRampDirection = (typeof PhoneNumberTableRow_smsRampDirectionObject)[keyof typeof PhoneNumberTableRow_smsRampDirectionObject];
11116
11153
  export type PhoneNumberTableRow_voiceRampDirection = (typeof PhoneNumberTableRow_voiceRampDirectionObject)[keyof typeof PhoneNumberTableRow_voiceRampDirectionObject];
11154
+ /**
11155
+ * Hourly local reputation-risk estimate using 24-hour, seven-day, and thirty-day traffic evidence.
11156
+ */
11157
+ export interface PhoneNumberTrafficHealth extends AdditionalDataHolder, Parsable {
11158
+ /**
11159
+ * The lower evaluated channel score, or null when neither channel has sufficient evidence.
11160
+ */
11161
+ score?: number | null;
11162
+ }
11117
11163
  /**
11118
11164
  * Describes phone number traffic metrics data returned by Leadping.
11119
11165
  */
@@ -12921,6 +12967,13 @@ export declare function serializePhoneNumberOptOutMetricsResponse(writer: Serial
12921
12967
  * @param writer Serialization writer to use to serialize this model
12922
12968
  */
12923
12969
  export declare function serializePhoneNumberReadiness(writer: SerializationWriter, phoneNumberReadiness?: Partial<PhoneNumberReadiness> | undefined | null, isSerializingDerivedType?: boolean): void;
12970
+ /**
12971
+ * Serializes information the current object
12972
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
12973
+ * @param PhoneNumberReadiness_trafficHealth The instance to serialize from.
12974
+ * @param writer Serialization writer to use to serialize this model
12975
+ */
12976
+ export declare function serializePhoneNumberReadiness_trafficHealth(writer: SerializationWriter, phoneNumberReadiness_trafficHealth?: Partial<PhoneNumberReadiness_trafficHealth> | undefined | null, isSerializingDerivedType?: boolean): void;
12924
12977
  /**
12925
12978
  * Serializes information the current object
12926
12979
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -13019,6 +13072,13 @@ export declare function serializePhoneNumberStatusResponse_smsWarmup(writer: Ser
13019
13072
  * @param writer Serialization writer to use to serialize this model
13020
13073
  */
13021
13074
  export declare function serializePhoneNumberTableRow(writer: SerializationWriter, phoneNumberTableRow?: Partial<PhoneNumberTableRow> | undefined | null, isSerializingDerivedType?: boolean): void;
13075
+ /**
13076
+ * Serializes information the current object
13077
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
13078
+ * @param PhoneNumberTrafficHealth The instance to serialize from.
13079
+ * @param writer Serialization writer to use to serialize this model
13080
+ */
13081
+ export declare function serializePhoneNumberTrafficHealth(writer: SerializationWriter, phoneNumberTrafficHealth?: Partial<PhoneNumberTrafficHealth> | undefined | null, isSerializingDerivedType?: boolean): void;
13022
13082
  /**
13023
13083
  * Serializes information the current object
13024
13084
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -15656,6 +15716,10 @@ export interface UserResponse extends AdditionalDataHolder, Parsable {
15656
15716
  * The isDemo property
15657
15717
  */
15658
15718
  isDemo?: boolean | null;
15719
+ /**
15720
+ * The lastActiveAt property
15721
+ */
15722
+ lastActiveAt?: Date | null;
15659
15723
  /**
15660
15724
  * The date and time when this user last completed the Leadping sign-in flow.
15661
15725
  */