@leadping/sdk 1.0.87 → 1.0.89
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/conversations/item/index.d.ts +5 -0
- package/dist/conversations/item/index.d.ts.map +1 -1
- package/dist/conversations/item/index.js +5 -0
- package/dist/conversations/item/index.js.map +1 -1
- package/dist/conversations/item/markReplyNeeded/index.d.ts +39 -0
- package/dist/conversations/item/markReplyNeeded/index.d.ts.map +1 -0
- package/dist/conversations/item/markReplyNeeded/index.js +28 -0
- package/dist/conversations/item/markReplyNeeded/index.js.map +1 -0
- package/dist/models/index.d.ts +134 -2
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +127 -0
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { type ConversationResponse } from '../../models/index.js';
|
|
2
2
|
import { type MarkHandledRequestBuilder } from './markHandled/index.js';
|
|
3
3
|
import { type MarkReadRequestBuilder } from './markRead/index.js';
|
|
4
|
+
import { type MarkReplyNeededRequestBuilder } from './markReplyNeeded/index.js';
|
|
4
5
|
import { type OutboundReadinessRequestBuilder } from './outboundReadiness/index.js';
|
|
5
6
|
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
6
7
|
/**
|
|
@@ -15,6 +16,10 @@ export interface ConversationsItemRequestBuilder extends BaseRequestBuilder<Conv
|
|
|
15
16
|
* The markRead property
|
|
16
17
|
*/
|
|
17
18
|
get markRead(): MarkReadRequestBuilder;
|
|
19
|
+
/**
|
|
20
|
+
* The markReplyNeeded property
|
|
21
|
+
*/
|
|
22
|
+
get markReplyNeeded(): MarkReplyNeededRequestBuilder;
|
|
18
23
|
/**
|
|
19
24
|
* The outboundReadiness property
|
|
20
25
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../conversations/item/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAgG,KAAK,oBAAoB,EAAuB,MAAM,uBAAuB,CAAC;AAErL,OAAO,EAA6C,KAAK,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAEnH,OAAO,EAA0C,KAAK,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAE1G,OAAO,EAAmD,KAAK,+BAA+B,EAAE,MAAM,8BAA8B,CAAC;AAErI,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,+BAAgC,SAAQ,kBAAkB,CAAC,+BAA+B,CAAC;IACxG;;OAEG;IACH,IAAI,WAAW,IAAI,yBAAyB,CAAC;IAC7C;;OAEG;IACH,IAAI,QAAQ,IAAI,sBAAsB,CAAC;IACvC;;OAEG;IACH,IAAI,iBAAiB,IAAI,+BAA+B,CAAC;IACzD;;;;;;;;OAQG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,oBAAoB,GAAG,SAAS,CAAC,CAAC;IAClH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClH;AACD;;GAEG;AACH,eAAO,MAAM,0CAA0C,kCAAkC,CAAC;AAC1F;;GAEG;AACH,eAAO,MAAM,iDAAiD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,+BAA+B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../conversations/item/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAgG,KAAK,oBAAoB,EAAuB,MAAM,uBAAuB,CAAC;AAErL,OAAO,EAA6C,KAAK,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAEnH,OAAO,EAA0C,KAAK,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAE1G,OAAO,EAAiD,KAAK,6BAA6B,EAAE,MAAM,4BAA4B,CAAC;AAE/H,OAAO,EAAmD,KAAK,+BAA+B,EAAE,MAAM,8BAA8B,CAAC;AAErI,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,+BAAgC,SAAQ,kBAAkB,CAAC,+BAA+B,CAAC;IACxG;;OAEG;IACH,IAAI,WAAW,IAAI,yBAAyB,CAAC;IAC7C;;OAEG;IACH,IAAI,QAAQ,IAAI,sBAAsB,CAAC;IACvC;;OAEG;IACH,IAAI,eAAe,IAAI,6BAA6B,CAAC;IACrD;;OAEG;IACH,IAAI,iBAAiB,IAAI,+BAA+B,CAAC;IACzD;;;;;;;;OAQG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,oBAAoB,GAAG,SAAS,CAAC,CAAC;IAClH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClH;AACD;;GAEG;AACH,eAAO,MAAM,0CAA0C,kCAAkC,CAAC;AAC1F;;GAEG;AACH,eAAO,MAAM,iDAAiD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,+BAA+B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAa5K,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,+CAA+C,EAAE,gBAa7D,CAAC"}
|
|
@@ -8,6 +8,8 @@ import { MarkHandledRequestBuilderRequestsMetadata } from './markHandled/index.j
|
|
|
8
8
|
// @ts-ignore
|
|
9
9
|
import { MarkReadRequestBuilderRequestsMetadata } from './markRead/index.js';
|
|
10
10
|
// @ts-ignore
|
|
11
|
+
import { MarkReplyNeededRequestBuilderRequestsMetadata } from './markReplyNeeded/index.js';
|
|
12
|
+
// @ts-ignore
|
|
11
13
|
import { OutboundReadinessRequestBuilderRequestsMetadata } from './outboundReadiness/index.js';
|
|
12
14
|
/**
|
|
13
15
|
* Uri template for the request builder.
|
|
@@ -23,6 +25,9 @@ export const ConversationsItemRequestBuilderNavigationMetadata = {
|
|
|
23
25
|
markRead: {
|
|
24
26
|
requestsMetadata: MarkReadRequestBuilderRequestsMetadata,
|
|
25
27
|
},
|
|
28
|
+
markReplyNeeded: {
|
|
29
|
+
requestsMetadata: MarkReplyNeededRequestBuilderRequestsMetadata,
|
|
30
|
+
},
|
|
26
31
|
outboundReadiness: {
|
|
27
32
|
requestsMetadata: OutboundReadinessRequestBuilderRequestsMetadata,
|
|
28
33
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../conversations/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,gDAAgD,EAAE,0CAA0C,EAAkD,MAAM,uBAAuB,CAAC;AACrL,aAAa;AACb,OAAO,EAAE,yCAAyC,EAAkC,MAAM,wBAAwB,CAAC;AACnH,aAAa;AACb,OAAO,EAAE,sCAAsC,EAA+B,MAAM,qBAAqB,CAAC;AAC1G,aAAa;AACb,OAAO,EAAE,+CAA+C,EAAwC,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../conversations/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,gDAAgD,EAAE,0CAA0C,EAAkD,MAAM,uBAAuB,CAAC;AACrL,aAAa;AACb,OAAO,EAAE,yCAAyC,EAAkC,MAAM,wBAAwB,CAAC;AACnH,aAAa;AACb,OAAO,EAAE,sCAAsC,EAA+B,MAAM,qBAAqB,CAAC;AAC1G,aAAa;AACb,OAAO,EAAE,6CAA6C,EAAsC,MAAM,4BAA4B,CAAC;AAC/H,aAAa;AACb,OAAO,EAAE,+CAA+C,EAAwC,MAAM,8BAA8B,CAAC;AAyCrI;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAG,+BAA+B,CAAC;AAC1F;;GAEG;AACH,MAAM,CAAC,MAAM,iDAAiD,GAAmH;IAC7K,WAAW,EAAE;QACT,gBAAgB,EAAE,yCAAyC;KAC9D;IACD,QAAQ,EAAE;QACN,gBAAgB,EAAE,sCAAsC;KAC3D;IACD,eAAe,EAAE;QACb,gBAAgB,EAAE,6CAA6C;KAClE;IACD,iBAAiB,EAAE;QACf,gBAAgB,EAAE,+CAA+C;KACpE;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,+CAA+C,GAAqB;IAC7E,GAAG,EAAE;QACD,WAAW,EAAE,0CAA0C;QACvD,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,gDAAgD;KACzE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
2
|
+
/**
|
|
3
|
+
* Builds and executes requests for operations under /conversations/{id}/mark-reply-needed
|
|
4
|
+
*/
|
|
5
|
+
export interface MarkReplyNeededRequestBuilder extends BaseRequestBuilder<MarkReplyNeededRequestBuilder> {
|
|
6
|
+
/**
|
|
7
|
+
* Sets the reply requirement only at the observed reply version. Returns false if the reply version changed or the conversation is inaccessible.
|
|
8
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
+
* @returns {Promise<boolean>}
|
|
10
|
+
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
11
|
+
* @throws {ProblemDetails} error when the service returns a 403 status code
|
|
12
|
+
* @throws {ProblemDetails} error when the service returns a 429 status code
|
|
13
|
+
*/
|
|
14
|
+
post(requestConfiguration?: RequestConfiguration<MarkReplyNeededRequestBuilderPostQueryParameters> | undefined): Promise<boolean | undefined>;
|
|
15
|
+
/**
|
|
16
|
+
* Sets the reply requirement only at the observed reply version. Returns false if the reply version changed or the conversation is inaccessible.
|
|
17
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
18
|
+
* @returns {RequestInformation}
|
|
19
|
+
*/
|
|
20
|
+
toPostRequestInformation(requestConfiguration?: RequestConfiguration<MarkReplyNeededRequestBuilderPostQueryParameters> | undefined): RequestInformation;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Sets the reply requirement only at the observed reply version. Returns false if the reply version changed or the conversation is inaccessible.
|
|
24
|
+
*/
|
|
25
|
+
export interface MarkReplyNeededRequestBuilderPostQueryParameters {
|
|
26
|
+
/**
|
|
27
|
+
* The reply version observed by the caller. Must be non-negative.
|
|
28
|
+
*/
|
|
29
|
+
replyVersion?: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Uri template for the request builder.
|
|
33
|
+
*/
|
|
34
|
+
export declare const MarkReplyNeededRequestBuilderUriTemplate = "{+baseurl}/conversations/{id}/mark-reply-needed?replyVersion={replyVersion}";
|
|
35
|
+
/**
|
|
36
|
+
* Metadata for all the requests in the request builder.
|
|
37
|
+
*/
|
|
38
|
+
export declare const MarkReplyNeededRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
39
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../conversations/item/markReplyNeeded/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,6BAA8B,SAAQ,kBAAkB,CAAC,6BAA6B,CAAC;IACpG;;;;;;;OAOG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,gDAAgD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAChJ;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,gDAAgD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC7J;AACD;;GAEG;AACH,MAAM,WAAW,gDAAgD;IAC7D;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACzB;AACD;;GAEG;AACH,eAAO,MAAM,wCAAwC,gFAAgF,CAAC;AACtI;;GAEG;AACH,eAAO,MAAM,6CAA6C,EAAE,gBAY3D,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createProblemDetailsFromDiscriminatorValue } from '../../../models/index.js';
|
|
6
|
+
/**
|
|
7
|
+
* Uri template for the request builder.
|
|
8
|
+
*/
|
|
9
|
+
export const MarkReplyNeededRequestBuilderUriTemplate = "{+baseurl}/conversations/{id}/mark-reply-needed?replyVersion={replyVersion}";
|
|
10
|
+
/**
|
|
11
|
+
* Metadata for all the requests in the request builder.
|
|
12
|
+
*/
|
|
13
|
+
export const MarkReplyNeededRequestBuilderRequestsMetadata = {
|
|
14
|
+
post: {
|
|
15
|
+
uriTemplate: MarkReplyNeededRequestBuilderUriTemplate,
|
|
16
|
+
responseBodyContentType: "text/plain;q=0.9",
|
|
17
|
+
errorMappings: {
|
|
18
|
+
401: createProblemDetailsFromDiscriminatorValue,
|
|
19
|
+
403: createProblemDetailsFromDiscriminatorValue,
|
|
20
|
+
429: createProblemDetailsFromDiscriminatorValue,
|
|
21
|
+
},
|
|
22
|
+
adapterMethodName: "sendPrimitive",
|
|
23
|
+
responseBodyFactory: "boolean",
|
|
24
|
+
},
|
|
25
|
+
};
|
|
26
|
+
/* tslint:enable */
|
|
27
|
+
/* eslint-enable */
|
|
28
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../conversations/item/markReplyNeeded/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAuB,MAAM,0BAA0B,CAAC;AAiC3G;;GAEG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAG,6EAA6E,CAAC;AACtI;;GAEG;AACH,MAAM,CAAC,MAAM,6CAA6C,GAAqB;IAC3E,IAAI,EAAE;QACF,WAAW,EAAE,wCAAwC;QACrD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,eAAe;QAClC,mBAAmB,EAAG,SAAS;KAClC;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1372,6 +1372,31 @@ export interface BlogSocialPost extends AdditionalDataHolder, Parsable {
|
|
|
1372
1372
|
*/
|
|
1373
1373
|
postId?: string | null;
|
|
1374
1374
|
}
|
|
1375
|
+
/**
|
|
1376
|
+
* Server-approved parameters for one outbound browser call.
|
|
1377
|
+
*/
|
|
1378
|
+
export interface BrowserCallApproval extends AdditionalDataHolder, Parsable {
|
|
1379
|
+
/**
|
|
1380
|
+
* The callerNumber property
|
|
1381
|
+
*/
|
|
1382
|
+
callerNumber?: string | null;
|
|
1383
|
+
/**
|
|
1384
|
+
* The clientState property
|
|
1385
|
+
*/
|
|
1386
|
+
clientState?: string | null;
|
|
1387
|
+
/**
|
|
1388
|
+
* The destinationNumber property
|
|
1389
|
+
*/
|
|
1390
|
+
destinationNumber?: string | null;
|
|
1391
|
+
/**
|
|
1392
|
+
* The expiresAt property
|
|
1393
|
+
*/
|
|
1394
|
+
expiresAt?: Date | null;
|
|
1395
|
+
/**
|
|
1396
|
+
* The maximumDurationSeconds property
|
|
1397
|
+
*/
|
|
1398
|
+
maximumDurationSeconds?: number | null;
|
|
1399
|
+
}
|
|
1375
1400
|
/**
|
|
1376
1401
|
* Summarizes call event data in paginated and searchable results.
|
|
1377
1402
|
*/
|
|
@@ -1971,6 +1996,12 @@ export declare function createBlogArticleResponseFromDiscriminatorValue(parseNod
|
|
|
1971
1996
|
* @returns {BlogSocialPost}
|
|
1972
1997
|
*/
|
|
1973
1998
|
export declare function createBlogSocialPostFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
1999
|
+
/**
|
|
2000
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
2001
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
2002
|
+
* @returns {BrowserCallApproval}
|
|
2003
|
+
*/
|
|
2004
|
+
export declare function createBrowserCallApprovalFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
1974
2005
|
/**
|
|
1975
2006
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
1976
2007
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -2097,6 +2128,12 @@ export declare function createCustomerCommunicationUsagePointFromDiscriminatorVa
|
|
|
2097
2128
|
* @returns {CustomerFailingAutomation}
|
|
2098
2129
|
*/
|
|
2099
2130
|
export declare function createCustomerFailingAutomationFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
2131
|
+
/**
|
|
2132
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
2133
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
2134
|
+
* @returns {CustomerLeadOutcomes}
|
|
2135
|
+
*/
|
|
2136
|
+
export declare function createCustomerLeadOutcomesFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
2100
2137
|
/**
|
|
2101
2138
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
2102
2139
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -2862,6 +2899,12 @@ export declare function createPagedResultOfTransactionTableRowFromDiscriminatorV
|
|
|
2862
2899
|
* @returns {PagedResultOfUsageLedgerTableRow}
|
|
2863
2900
|
*/
|
|
2864
2901
|
export declare function createPagedResultOfUsageLedgerTableRowFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
2902
|
+
/**
|
|
2903
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
2904
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
2905
|
+
* @returns {PhoneCallResponse_browserCallApproval}
|
|
2906
|
+
*/
|
|
2907
|
+
export declare function createPhoneCallResponse_browserCallApprovalFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
2865
2908
|
/**
|
|
2866
2909
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
2867
2910
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -3626,6 +3669,10 @@ export interface CustomerAnalyticsResponse extends AdditionalDataHolder, Parsabl
|
|
|
3626
3669
|
* Date and time when this Leadping customer analytics was generated.
|
|
3627
3670
|
*/
|
|
3628
3671
|
generatedAt?: Date | null;
|
|
3672
|
+
/**
|
|
3673
|
+
* Current outcomes for non-deleted, non-demo leads created in the selected period.
|
|
3674
|
+
*/
|
|
3675
|
+
leadOutcomes?: CustomerLeadOutcomes | null;
|
|
3629
3676
|
/**
|
|
3630
3677
|
* Collection of lead sources included with this Leadping customer analytics.
|
|
3631
3678
|
*/
|
|
@@ -3994,6 +4041,31 @@ export interface CustomerFailingAutomation extends AdditionalDataHolder, Parsabl
|
|
|
3994
4041
|
*/
|
|
3995
4042
|
name?: string | null;
|
|
3996
4043
|
}
|
|
4044
|
+
/**
|
|
4045
|
+
* Current outcomes for non-deleted, non-demo leads created in the selected period.
|
|
4046
|
+
*/
|
|
4047
|
+
export interface CustomerLeadOutcomes extends AdditionalDataHolder, Parsable {
|
|
4048
|
+
/**
|
|
4049
|
+
* Distinct leads with a prospect reply or answered call since creation, through generation time.
|
|
4050
|
+
*/
|
|
4051
|
+
contactedLeads?: number | null;
|
|
4052
|
+
/**
|
|
4053
|
+
* Leads whose current status category is Converted.
|
|
4054
|
+
*/
|
|
4055
|
+
convertedLeads?: number | null;
|
|
4056
|
+
/**
|
|
4057
|
+
* Median time to the first manual SMS send attempt or placed outbound call, among attempted leads only.
|
|
4058
|
+
*/
|
|
4059
|
+
medianFirstAttemptMinutes?: number | null;
|
|
4060
|
+
/**
|
|
4061
|
+
* Enabled, unarchived open or qualified leads with an overdue incomplete follow-up, or neither a manual attempt nor contact.
|
|
4062
|
+
*/
|
|
4063
|
+
needsFollowUpLeads?: number | null;
|
|
4064
|
+
/**
|
|
4065
|
+
* Number of non-deleted, non-demo leads created in the selected period.
|
|
4066
|
+
*/
|
|
4067
|
+
totalLeads?: number | null;
|
|
4068
|
+
}
|
|
3997
4069
|
/**
|
|
3998
4070
|
* Attributes an organization's lead volume, qualification, and conversion outcomes to a specific acquisition source.
|
|
3999
4071
|
*/
|
|
@@ -4457,6 +4529,12 @@ export declare function deserializeIntoBlogArticleResponse(blogArticleResponse?:
|
|
|
4457
4529
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
4458
4530
|
*/
|
|
4459
4531
|
export declare function deserializeIntoBlogSocialPost(blogSocialPost?: Partial<BlogSocialPost> | undefined): Record<string, (node: ParseNode) => void>;
|
|
4532
|
+
/**
|
|
4533
|
+
* The deserialization information for the current model
|
|
4534
|
+
* @param BrowserCallApproval The instance to deserialize into.
|
|
4535
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
4536
|
+
*/
|
|
4537
|
+
export declare function deserializeIntoBrowserCallApproval(browserCallApproval?: Partial<BrowserCallApproval> | undefined): Record<string, (node: ParseNode) => void>;
|
|
4460
4538
|
/**
|
|
4461
4539
|
* The deserialization information for the current model
|
|
4462
4540
|
* @param CallEventTableRow The instance to deserialize into.
|
|
@@ -4583,6 +4661,12 @@ export declare function deserializeIntoCustomerCommunicationUsagePoint(customerC
|
|
|
4583
4661
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
4584
4662
|
*/
|
|
4585
4663
|
export declare function deserializeIntoCustomerFailingAutomation(customerFailingAutomation?: Partial<CustomerFailingAutomation> | undefined): Record<string, (node: ParseNode) => void>;
|
|
4664
|
+
/**
|
|
4665
|
+
* The deserialization information for the current model
|
|
4666
|
+
* @param CustomerLeadOutcomes The instance to deserialize into.
|
|
4667
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
4668
|
+
*/
|
|
4669
|
+
export declare function deserializeIntoCustomerLeadOutcomes(customerLeadOutcomes?: Partial<CustomerLeadOutcomes> | undefined): Record<string, (node: ParseNode) => void>;
|
|
4586
4670
|
/**
|
|
4587
4671
|
* The deserialization information for the current model
|
|
4588
4672
|
* @param CustomerLeadSourceBreakdown The instance to deserialize into.
|
|
@@ -5351,6 +5435,12 @@ export declare function deserializeIntoPhone(phone?: Partial<Phone> | undefined)
|
|
|
5351
5435
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
5352
5436
|
*/
|
|
5353
5437
|
export declare function deserializeIntoPhoneCallResponse(phoneCallResponse?: Partial<PhoneCallResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
5438
|
+
/**
|
|
5439
|
+
* The deserialization information for the current model
|
|
5440
|
+
* @param PhoneCallResponse_browserCallApproval The instance to deserialize into.
|
|
5441
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
5442
|
+
*/
|
|
5443
|
+
export declare function deserializeIntoPhoneCallResponse_browserCallApproval(phoneCallResponse_browserCallApproval?: Partial<PhoneCallResponse_browserCallApproval> | undefined): Record<string, (node: ParseNode) => void>;
|
|
5354
5444
|
/**
|
|
5355
5445
|
* The deserialization information for the current model
|
|
5356
5446
|
* @param PhoneIdentityLookupAction The instance to deserialize into.
|
|
@@ -6275,6 +6365,10 @@ export interface EventTableRow extends AdditionalDataHolder, Parsable {
|
|
|
6275
6365
|
* Communication direction for this event timeline table row, such as inbound or outbound.
|
|
6276
6366
|
*/
|
|
6277
6367
|
direction?: string | null;
|
|
6368
|
+
/**
|
|
6369
|
+
* Confirmed call talk time in seconds, when available.
|
|
6370
|
+
*/
|
|
6371
|
+
durationSeconds?: number | null;
|
|
6278
6372
|
/**
|
|
6279
6373
|
* Machine-readable error code returned while processing this event timeline table row.
|
|
6280
6374
|
*/
|
|
@@ -6556,6 +6650,10 @@ export interface InitiateCallRequest extends AdditionalDataHolder, Parsable {
|
|
|
6556
6650
|
* Lead ID associated with the outbound call request.
|
|
6557
6651
|
*/
|
|
6558
6652
|
leadId?: string | null;
|
|
6653
|
+
/**
|
|
6654
|
+
* Approve a call for the Portal to originate through WebRTC instead of dialing from the server.
|
|
6655
|
+
*/
|
|
6656
|
+
originateFromBrowser?: boolean | null;
|
|
6559
6657
|
/**
|
|
6560
6658
|
* Idempotency key used to prevent duplicate outbound delivery.
|
|
6561
6659
|
*/
|
|
@@ -6565,7 +6663,7 @@ export interface InitiateCallRequest extends AdditionalDataHolder, Parsable {
|
|
|
6565
6663
|
*/
|
|
6566
6664
|
sourceId?: string | null;
|
|
6567
6665
|
/**
|
|
6568
|
-
* Connect the authenticated user's
|
|
6666
|
+
* Connect the authenticated user's phone to a server-controlled destination call.
|
|
6569
6667
|
*/
|
|
6570
6668
|
useBrowserPhone?: boolean | null;
|
|
6571
6669
|
/**
|
|
@@ -6808,7 +6906,7 @@ export interface LeadIntakeRequest extends AdditionalDataHolder, Parsable {
|
|
|
6808
6906
|
*/
|
|
6809
6907
|
company?: LeadIntakeRequest_company | null;
|
|
6810
6908
|
/**
|
|
6811
|
-
* Explicitly attests to SMS consent when consentCertificateType is Other. Allows manual texts only.
|
|
6909
|
+
* Explicitly attests to SMS consent when consentCertificateType is Other. Allows manual calls and texts only.
|
|
6812
6910
|
*/
|
|
6813
6911
|
consentAttested?: boolean | null;
|
|
6814
6912
|
/**
|
|
@@ -9343,6 +9441,10 @@ export interface OrganizationSwitchOption extends AdditionalDataHolder, Parsable
|
|
|
9343
9441
|
* UTC timestamp for last used at on this organization switch option.
|
|
9344
9442
|
*/
|
|
9345
9443
|
lastUsedAt?: Date | null;
|
|
9444
|
+
/**
|
|
9445
|
+
* Number of active members in this organization, excluding pending invitations.
|
|
9446
|
+
*/
|
|
9447
|
+
memberCount?: number | null;
|
|
9346
9448
|
/**
|
|
9347
9449
|
* The human-readable name shown for this organization switch option.
|
|
9348
9450
|
*/
|
|
@@ -10030,6 +10132,10 @@ export interface PhoneCallResponse extends AdditionalDataHolder, Parsable {
|
|
|
10030
10132
|
* Billing state for this communication, charge, or transaction.
|
|
10031
10133
|
*/
|
|
10032
10134
|
billingStatus?: string | null;
|
|
10135
|
+
/**
|
|
10136
|
+
* Server-approved parameters for one outbound browser call.
|
|
10137
|
+
*/
|
|
10138
|
+
browserCallApproval?: PhoneCallResponse_browserCallApproval | null;
|
|
10033
10139
|
/**
|
|
10034
10140
|
* Caller ID phone number presented during the outbound call.
|
|
10035
10141
|
*/
|
|
@@ -10131,6 +10237,11 @@ export interface PhoneCallResponse extends AdditionalDataHolder, Parsable {
|
|
|
10131
10237
|
*/
|
|
10132
10238
|
wasManuallyOverridden?: boolean | null;
|
|
10133
10239
|
}
|
|
10240
|
+
/**
|
|
10241
|
+
* Server-approved parameters for one outbound browser call.
|
|
10242
|
+
*/
|
|
10243
|
+
export interface PhoneCallResponse_browserCallApproval extends BrowserCallApproval, Parsable {
|
|
10244
|
+
}
|
|
10134
10245
|
export type PhoneCallResponse_selectionReason = (typeof PhoneCallResponse_selectionReasonObject)[keyof typeof PhoneCallResponse_selectionReasonObject];
|
|
10135
10246
|
export type PhoneCallStatus = (typeof PhoneCallStatusObject)[keyof typeof PhoneCallStatusObject];
|
|
10136
10247
|
/**
|
|
@@ -11498,6 +11609,13 @@ export declare function serializeBlogArticleResponse(writer: SerializationWriter
|
|
|
11498
11609
|
* @param writer Serialization writer to use to serialize this model
|
|
11499
11610
|
*/
|
|
11500
11611
|
export declare function serializeBlogSocialPost(writer: SerializationWriter, blogSocialPost?: Partial<BlogSocialPost> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
11612
|
+
/**
|
|
11613
|
+
* Serializes information the current object
|
|
11614
|
+
* @param BrowserCallApproval The instance to serialize from.
|
|
11615
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
11616
|
+
* @param writer Serialization writer to use to serialize this model
|
|
11617
|
+
*/
|
|
11618
|
+
export declare function serializeBrowserCallApproval(writer: SerializationWriter, browserCallApproval?: Partial<BrowserCallApproval> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
11501
11619
|
/**
|
|
11502
11620
|
* Serializes information the current object
|
|
11503
11621
|
* @param CallEventTableRow The instance to serialize from.
|
|
@@ -11645,6 +11763,13 @@ export declare function serializeCustomerCommunicationUsagePoint(writer: Seriali
|
|
|
11645
11763
|
* @param writer Serialization writer to use to serialize this model
|
|
11646
11764
|
*/
|
|
11647
11765
|
export declare function serializeCustomerFailingAutomation(writer: SerializationWriter, customerFailingAutomation?: Partial<CustomerFailingAutomation> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
11766
|
+
/**
|
|
11767
|
+
* Serializes information the current object
|
|
11768
|
+
* @param CustomerLeadOutcomes The instance to serialize from.
|
|
11769
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
11770
|
+
* @param writer Serialization writer to use to serialize this model
|
|
11771
|
+
*/
|
|
11772
|
+
export declare function serializeCustomerLeadOutcomes(writer: SerializationWriter, customerLeadOutcomes?: Partial<CustomerLeadOutcomes> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
11648
11773
|
/**
|
|
11649
11774
|
* Serializes information the current object
|
|
11650
11775
|
* @param CustomerLeadSourceBreakdown The instance to serialize from.
|
|
@@ -12541,6 +12666,13 @@ export declare function serializePhone(writer: SerializationWriter, phone?: Part
|
|
|
12541
12666
|
* @param writer Serialization writer to use to serialize this model
|
|
12542
12667
|
*/
|
|
12543
12668
|
export declare function serializePhoneCallResponse(writer: SerializationWriter, phoneCallResponse?: Partial<PhoneCallResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
12669
|
+
/**
|
|
12670
|
+
* Serializes information the current object
|
|
12671
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
12672
|
+
* @param PhoneCallResponse_browserCallApproval The instance to serialize from.
|
|
12673
|
+
* @param writer Serialization writer to use to serialize this model
|
|
12674
|
+
*/
|
|
12675
|
+
export declare function serializePhoneCallResponse_browserCallApproval(writer: SerializationWriter, phoneCallResponse_browserCallApproval?: Partial<PhoneCallResponse_browserCallApproval> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
12544
12676
|
/**
|
|
12545
12677
|
* Serializes information the current object
|
|
12546
12678
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|