@leadping/sdk 1.0.86 → 1.0.87
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.
- package/dist/leads/item/index.d.ts +5 -0
- package/dist/leads/item/index.d.ts.map +1 -1
- package/dist/leads/item/index.js +5 -0
- package/dist/leads/item/index.js.map +1 -1
- package/dist/leads/item/phoneLookup/index.d.ts +32 -0
- package/dist/leads/item/phoneLookup/index.d.ts.map +1 -0
- package/dist/leads/item/phoneLookup/index.js +29 -0
- package/dist/leads/item/phoneLookup/index.js.map +1 -0
- package/dist/models/index.d.ts +54 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +37 -0
- package/dist/models/index.js.map +1 -1
- package/dist/outbound/index.d.ts +7 -0
- package/dist/outbound/index.d.ts.map +1 -1
- package/dist/outbound/index.js +6 -0
- package/dist/outbound/index.js.map +1 -1
- package/dist/outbound/item/capacity/index.d.ts +32 -0
- package/dist/outbound/item/capacity/index.d.ts.map +1 -0
- package/dist/outbound/item/capacity/index.js +29 -0
- package/dist/outbound/item/capacity/index.js.map +1 -0
- package/dist/outbound/item/index.d.ts +20 -0
- package/dist/outbound/item/index.d.ts.map +1 -0
- package/dist/outbound/item/index.js +20 -0
- package/dist/outbound/item/index.js.map +1 -0
- package/package.json +1 -1
|
@@ -2,6 +2,7 @@ import { type LeadRequest, type LeadResponse } from '../../models/index.js';
|
|
|
2
2
|
import { type ArchiveRequestBuilder } from './archive/index.js';
|
|
3
3
|
import { type AssignmentRequestBuilder } from './assignment/index.js';
|
|
4
4
|
import { type FollowUpRequestBuilder } from './followUp/index.js';
|
|
5
|
+
import { type PhoneLookupRequestBuilder } from './phoneLookup/index.js';
|
|
5
6
|
import { type StatusRequestBuilder } from './status/index.js';
|
|
6
7
|
import { type StatusHistoryRequestBuilder } from './statusHistory/index.js';
|
|
7
8
|
import { type TagsRequestBuilder } from './tags/index.js';
|
|
@@ -24,6 +25,10 @@ export interface ItemRequestBuilder extends BaseRequestBuilder<ItemRequestBuilde
|
|
|
24
25
|
* The followUp property
|
|
25
26
|
*/
|
|
26
27
|
get followUp(): FollowUpRequestBuilder;
|
|
28
|
+
/**
|
|
29
|
+
* The phoneLookup property
|
|
30
|
+
*/
|
|
31
|
+
get phoneLookup(): PhoneLookupRequestBuilder;
|
|
27
32
|
/**
|
|
28
33
|
* The status property
|
|
29
34
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../leads/item/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAqI,KAAK,WAAW,EAAE,KAAK,YAAY,EAAuB,MAAM,uBAAuB,CAAC;AAEpO,OAAO,EAAyC,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAEvG,OAAO,EAA4C,KAAK,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAEhH,OAAO,EAA0C,KAAK,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAE1G,OAAO,EAAwC,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAEpG,OAAO,EAA8F,KAAK,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAExK,OAAO,EAA4E,KAAK,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAEpI,OAAO,EAAE,KAAK,uBAAuB,EAA2C,MAAM,sBAAsB,CAAC;AAE7G,OAAO,EAAE,KAAK,4BAA4B,EAAgD,MAAM,2BAA2B,CAAC;AAE5H,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,kBAAmB,SAAQ,kBAAkB,CAAC,kBAAkB,CAAC;IAC9E;;OAEG;IACH,IAAI,OAAO,IAAI,qBAAqB,CAAC;IACrC;;OAEG;IACH,IAAI,UA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,kCAAkC,CAAC,EAAE,kBAAkB,CA8BlJ,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,kCAAkC,EAAE,gBAwChD,CAAC"}
|
package/dist/leads/item/index.js
CHANGED
|
@@ -10,6 +10,8 @@ import { AssignmentRequestBuilderRequestsMetadata } from './assignment/index.js'
|
|
|
10
10
|
// @ts-ignore
|
|
11
11
|
import { FollowUpRequestBuilderRequestsMetadata } from './followUp/index.js';
|
|
12
12
|
// @ts-ignore
|
|
13
|
+
import { PhoneLookupRequestBuilderRequestsMetadata } from './phoneLookup/index.js';
|
|
14
|
+
// @ts-ignore
|
|
13
15
|
import { StatusRequestBuilderRequestsMetadata } from './status/index.js';
|
|
14
16
|
// @ts-ignore
|
|
15
17
|
import { StatusHistoryRequestBuilderNavigationMetadata, StatusHistoryRequestBuilderRequestsMetadata } from './statusHistory/index.js';
|
|
@@ -36,6 +38,9 @@ export const ItemRequestBuilderNavigationMetadata = {
|
|
|
36
38
|
followUp: {
|
|
37
39
|
requestsMetadata: FollowUpRequestBuilderRequestsMetadata,
|
|
38
40
|
},
|
|
41
|
+
phoneLookup: {
|
|
42
|
+
requestsMetadata: PhoneLookupRequestBuilderRequestsMetadata,
|
|
43
|
+
},
|
|
39
44
|
status: {
|
|
40
45
|
requestsMetadata: StatusRequestBuilderRequestsMetadata,
|
|
41
46
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../leads/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,wCAAwC,EAAE,0CAA0C,EAAE,oBAAoB,EAAmF,MAAM,uBAAuB,CAAC;AACpO,aAAa;AACb,OAAO,EAAE,qCAAqC,EAA8B,MAAM,oBAAoB,CAAC;AACvG,aAAa;AACb,OAAO,EAAE,wCAAwC,EAAiC,MAAM,uBAAuB,CAAC;AAChH,aAAa;AACb,OAAO,EAAE,sCA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,EAAE,6BAA6B;QAC1C,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,wCAAwC;QAC9D,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,oBAAoB;QAC3C,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { type LeadResponse } from '../../../models/index.js';
|
|
2
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Builds and executes requests for operations under /leads/{-id}/phone-lookup
|
|
5
|
+
*/
|
|
6
|
+
export interface PhoneLookupRequestBuilder extends BaseRequestBuilder<PhoneLookupRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Queues a phone identity lookup for a lead visible to the current user and returns the lead after the lookup request is accepted.The lookup runs asynchronously and incurs a charge.
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
* @returns {Promise<LeadResponse>}
|
|
11
|
+
* @throws {ProblemDetails} error when the service returns a 400 status code
|
|
12
|
+
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
13
|
+
* @throws {ProblemDetails} error when the service returns a 403 status code
|
|
14
|
+
* @throws {ProblemDetails} error when the service returns a 429 status code
|
|
15
|
+
*/
|
|
16
|
+
post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<LeadResponse | undefined>;
|
|
17
|
+
/**
|
|
18
|
+
* Queues a phone identity lookup for a lead visible to the current user and returns the lead after the lookup request is accepted.The lookup runs asynchronously and incurs a charge.
|
|
19
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
20
|
+
* @returns {RequestInformation}
|
|
21
|
+
*/
|
|
22
|
+
toPostRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Uri template for the request builder.
|
|
26
|
+
*/
|
|
27
|
+
export declare const PhoneLookupRequestBuilderUriTemplate = "{+baseurl}/leads/{%2Did}/phone-lookup";
|
|
28
|
+
/**
|
|
29
|
+
* Metadata for all the requests in the request builder.
|
|
30
|
+
*/
|
|
31
|
+
export declare const PhoneLookupRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
32
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../leads/item/phoneLookup/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAwF,KAAK,YAAY,EAAuB,MAAM,0BAA0B,CAAC;AAExK,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,yBAA0B,SAAQ,kBAAkB,CAAC,yBAAyB,CAAC;IAC5F;;;;;;;;OAQG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,YAAY,GAAG,SAAS,CAAC,CAAC;IAC3G;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,oCAAoC,0CAA0C,CAAC;AAC5F;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,gBAavD,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createLeadResponseFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue } from '../../../models/index.js';
|
|
6
|
+
/**
|
|
7
|
+
* Uri template for the request builder.
|
|
8
|
+
*/
|
|
9
|
+
export const PhoneLookupRequestBuilderUriTemplate = "{+baseurl}/leads/{%2Did}/phone-lookup";
|
|
10
|
+
/**
|
|
11
|
+
* Metadata for all the requests in the request builder.
|
|
12
|
+
*/
|
|
13
|
+
export const PhoneLookupRequestBuilderRequestsMetadata = {
|
|
14
|
+
post: {
|
|
15
|
+
uriTemplate: PhoneLookupRequestBuilderUriTemplate,
|
|
16
|
+
responseBodyContentType: "text/plain;q=0.9",
|
|
17
|
+
errorMappings: {
|
|
18
|
+
400: createProblemDetailsFromDiscriminatorValue,
|
|
19
|
+
401: createProblemDetailsFromDiscriminatorValue,
|
|
20
|
+
403: createProblemDetailsFromDiscriminatorValue,
|
|
21
|
+
429: createProblemDetailsFromDiscriminatorValue,
|
|
22
|
+
},
|
|
23
|
+
adapterMethodName: "send",
|
|
24
|
+
responseBodyFactory: createLeadResponseFromDiscriminatorValue,
|
|
25
|
+
},
|
|
26
|
+
};
|
|
27
|
+
/* tslint:enable */
|
|
28
|
+
/* eslint-enable */
|
|
29
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../leads/item/phoneLookup/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,wCAAwC,EAAE,0CAA0C,EAA0C,MAAM,0BAA0B,CAAC;AAyBxK;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAG,uCAAuC,CAAC;AAC5F;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAqB;IACvE,IAAI,EAAE;QACF,WAAW,EAAE,oCAAoC;QACjD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,wCAAwC;KACjE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1227,6 +1227,7 @@ export interface AutomationWorkflowStatusResponse extends AdditionalDataHolder,
|
|
|
1227
1227
|
runs?: AutomationWorkflowRunResponse[] | null;
|
|
1228
1228
|
}
|
|
1229
1229
|
export type BillableUnit = (typeof BillableUnitObject)[keyof typeof BillableUnitObject];
|
|
1230
|
+
export type BillingPaymentMethodType = (typeof BillingPaymentMethodTypeObject)[keyof typeof BillingPaymentMethodTypeObject];
|
|
1230
1231
|
export type BillingPlan = (typeof BillingPlanObject)[keyof typeof BillingPlanObject];
|
|
1231
1232
|
/**
|
|
1232
1233
|
* Represents a blog article response.
|
|
@@ -1407,6 +1408,10 @@ export interface CallEventTableRow extends AdditionalDataHolder, Parsable {
|
|
|
1407
1408
|
* UTC timestamp when this call event table row was created.
|
|
1408
1409
|
*/
|
|
1409
1410
|
createdAt?: Date | null;
|
|
1411
|
+
/**
|
|
1412
|
+
* Stored description of the call event.
|
|
1413
|
+
*/
|
|
1414
|
+
description?: string | null;
|
|
1410
1415
|
/**
|
|
1411
1416
|
* Communication direction for this call event table row, such as inbound or outbound.
|
|
1412
1417
|
*/
|
|
@@ -7095,6 +7100,10 @@ export interface LeadMetadata extends AdditionalDataHolder, Parsable {
|
|
|
7095
7100
|
* Organization ID that owns this lead's attribution metadata.
|
|
7096
7101
|
*/
|
|
7097
7102
|
organizationId?: string | null;
|
|
7103
|
+
/**
|
|
7104
|
+
* Organization name captured at intake for searching lead attribution.
|
|
7105
|
+
*/
|
|
7106
|
+
organizationName?: string | null;
|
|
7098
7107
|
/**
|
|
7099
7108
|
* System or workflow that created this event.
|
|
7100
7109
|
*/
|
|
@@ -7147,6 +7156,10 @@ export interface LeadMetadata extends AdditionalDataHolder, Parsable {
|
|
|
7147
7156
|
* Source-provided key-value metadata retained for lead attribution and integration troubleshooting.
|
|
7148
7157
|
*/
|
|
7149
7158
|
sourceMetadata?: LeadMetadata_sourceMetadata | null;
|
|
7159
|
+
/**
|
|
7160
|
+
* Source name captured at intake for searching lead attribution.
|
|
7161
|
+
*/
|
|
7162
|
+
sourceName?: string | null;
|
|
7150
7163
|
/**
|
|
7151
7164
|
* Affiliate or publisher sub ID captured for lead attribution.
|
|
7152
7165
|
*/
|
|
@@ -10886,6 +10899,10 @@ export interface PhoneNumberTableRow extends AdditionalDataHolder, Parsable {
|
|
|
10886
10899
|
* Human-readable routing summary for this phone number.
|
|
10887
10900
|
*/
|
|
10888
10901
|
routingSummary?: string | null;
|
|
10902
|
+
/**
|
|
10903
|
+
* Indicates whether a phone number's channel capacity is increasing, decreasing, or stable.
|
|
10904
|
+
*/
|
|
10905
|
+
smsRampDirection?: PhoneNumberTableRow_smsRampDirection | null;
|
|
10889
10906
|
/**
|
|
10890
10907
|
* Indicates whether SMS messaging is ready for this organization or phone number.
|
|
10891
10908
|
*/
|
|
@@ -10898,6 +10915,10 @@ export interface PhoneNumberTableRow extends AdditionalDataHolder, Parsable {
|
|
|
10898
10915
|
* Type classification used to route and interpret this phone number table row in the Leadping API.
|
|
10899
10916
|
*/
|
|
10900
10917
|
type?: string | null;
|
|
10918
|
+
/**
|
|
10919
|
+
* Indicates whether a phone number's channel capacity is increasing, decreasing, or stable.
|
|
10920
|
+
*/
|
|
10921
|
+
voiceRampDirection?: PhoneNumberTableRow_voiceRampDirection | null;
|
|
10901
10922
|
/**
|
|
10902
10923
|
* Indicates whether voice calling is ready for this organization or phone number.
|
|
10903
10924
|
*/
|
|
@@ -10907,6 +10928,8 @@ export interface PhoneNumberTableRow extends AdditionalDataHolder, Parsable {
|
|
|
10907
10928
|
*/
|
|
10908
10929
|
warmup?: PhoneNumberReadiness | null;
|
|
10909
10930
|
}
|
|
10931
|
+
export type PhoneNumberTableRow_smsRampDirection = (typeof PhoneNumberTableRow_smsRampDirectionObject)[keyof typeof PhoneNumberTableRow_smsRampDirectionObject];
|
|
10932
|
+
export type PhoneNumberTableRow_voiceRampDirection = (typeof PhoneNumberTableRow_voiceRampDirectionObject)[keyof typeof PhoneNumberTableRow_voiceRampDirectionObject];
|
|
10910
10933
|
/**
|
|
10911
10934
|
* Describes phone number traffic metrics data returned by Leadping.
|
|
10912
10935
|
*/
|
|
@@ -14140,6 +14163,14 @@ export interface StripePaymentMethodResponse extends AdditionalDataHolder, Parsa
|
|
|
14140
14163
|
* Last four digits of the payment card number.
|
|
14141
14164
|
*/
|
|
14142
14165
|
last4?: string | null;
|
|
14166
|
+
/**
|
|
14167
|
+
* Reusable payment types supported for immediate billing payments.
|
|
14168
|
+
*/
|
|
14169
|
+
type?: BillingPaymentMethodType | null;
|
|
14170
|
+
/**
|
|
14171
|
+
* The wallet name when supplied by a digital wallet.
|
|
14172
|
+
*/
|
|
14173
|
+
walletName?: string | null;
|
|
14143
14174
|
}
|
|
14144
14175
|
/**
|
|
14145
14176
|
* Reports whether Leadping may contact a recipient and identifies the active suppression when contact is blocked.
|
|
@@ -15512,6 +15543,13 @@ export declare const BillableUnitObject: {
|
|
|
15512
15543
|
readonly Connection_action: "connection_action";
|
|
15513
15544
|
readonly Automation_run: "automation_run";
|
|
15514
15545
|
};
|
|
15546
|
+
/**
|
|
15547
|
+
* Reusable payment types supported for immediate billing payments.
|
|
15548
|
+
*/
|
|
15549
|
+
export declare const BillingPaymentMethodTypeObject: {
|
|
15550
|
+
readonly Card: "card";
|
|
15551
|
+
readonly Link: "link";
|
|
15552
|
+
};
|
|
15515
15553
|
/**
|
|
15516
15554
|
* Identifies the Leadping subscription plan that determines organization features, allowances, and billing behavior.
|
|
15517
15555
|
*/
|
|
@@ -16355,6 +16393,22 @@ export declare const PhoneNumberReadiness_stateObject: {
|
|
|
16355
16393
|
readonly Blocked: "Blocked";
|
|
16356
16394
|
readonly Ready: "Ready";
|
|
16357
16395
|
};
|
|
16396
|
+
/**
|
|
16397
|
+
* Indicates whether a phone number's channel capacity is increasing, decreasing, or stable.
|
|
16398
|
+
*/
|
|
16399
|
+
export declare const PhoneNumberTableRow_smsRampDirectionObject: {
|
|
16400
|
+
readonly Up: "up";
|
|
16401
|
+
readonly Down: "down";
|
|
16402
|
+
readonly None: "none";
|
|
16403
|
+
};
|
|
16404
|
+
/**
|
|
16405
|
+
* Indicates whether a phone number's channel capacity is increasing, decreasing, or stable.
|
|
16406
|
+
*/
|
|
16407
|
+
export declare const PhoneNumberTableRow_voiceRampDirectionObject: {
|
|
16408
|
+
readonly Up: "up";
|
|
16409
|
+
readonly Down: "down";
|
|
16410
|
+
readonly None: "none";
|
|
16411
|
+
};
|
|
16358
16412
|
/**
|
|
16359
16413
|
* Defines the source that requested outbound delivery.
|
|
16360
16414
|
*/
|