@leadping/sdk 1.0.76 → 1.0.78
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/index.d.ts +1 -1
- package/dist/conversations/index.d.ts.map +1 -1
- package/dist/conversations/index.js +2 -1
- package/dist/conversations/index.js.map +1 -1
- package/dist/conversations/item/index.d.ts +32 -1
- package/dist/conversations/item/index.d.ts.map +1 -1
- package/dist/conversations/item/index.js +29 -0
- package/dist/conversations/item/index.js.map +1 -1
- package/dist/conversations/item/markHandled/index.d.ts +39 -0
- package/dist/conversations/item/markHandled/index.d.ts.map +1 -0
- package/dist/{notifications/push/installations/item → conversations/item/markHandled}/index.js +6 -5
- package/dist/conversations/item/markHandled/index.js.map +1 -0
- package/dist/conversations/item/markRead/index.d.ts +14 -6
- package/dist/conversations/item/markRead/index.d.ts.map +1 -1
- package/dist/conversations/item/markRead/index.js +1 -2
- package/dist/conversations/item/markRead/index.js.map +1 -1
- package/dist/conversations/item/outboundReadiness/index.d.ts +41 -0
- package/dist/conversations/item/outboundReadiness/index.d.ts.map +1 -0
- package/dist/conversations/item/outboundReadiness/index.js +29 -0
- package/dist/conversations/item/outboundReadiness/index.js.map +1 -0
- package/dist/leads/followUps/index.d.ts +43 -0
- package/dist/leads/followUps/index.d.ts.map +1 -0
- package/dist/leads/followUps/index.js +28 -0
- package/dist/leads/followUps/index.js.map +1 -0
- package/dist/leads/index.d.ts +5 -0
- package/dist/leads/index.d.ts.map +1 -1
- package/dist/leads/index.js +5 -0
- package/dist/leads/index.js.map +1 -1
- package/dist/leads/item/followUp/index.d.ts +33 -0
- package/dist/leads/item/followUp/index.d.ts.map +1 -0
- package/dist/leads/item/followUp/index.js +31 -0
- package/dist/leads/item/followUp/index.js.map +1 -0
- 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/models/index.d.ts +149 -93
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +114 -85
- package/dist/models/index.js.map +1 -1
- package/dist/notifications/index.d.ts +0 -5
- package/dist/notifications/index.d.ts.map +1 -1
- package/dist/notifications/index.js +0 -5
- package/dist/notifications/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/notifications/push/index.d.ts +0 -20
- package/dist/notifications/push/index.d.ts.map +0 -1
- package/dist/notifications/push/index.js +0 -20
- package/dist/notifications/push/index.js.map +0 -1
- package/dist/notifications/push/installations/current/index.d.ts +0 -33
- package/dist/notifications/push/installations/current/index.d.ts.map +0 -1
- package/dist/notifications/push/installations/current/index.js +0 -31
- package/dist/notifications/push/installations/current/index.js.map +0 -1
- package/dist/notifications/push/installations/index.d.ts +0 -27
- package/dist/notifications/push/installations/index.d.ts.map +0 -1
- package/dist/notifications/push/installations/index.js +0 -26
- package/dist/notifications/push/installations/index.js.map +0 -1
- package/dist/notifications/push/installations/item/index.d.ts +0 -29
- package/dist/notifications/push/installations/item/index.d.ts.map +0 -1
- package/dist/notifications/push/installations/item/index.js.map +0 -1
|
@@ -16,7 +16,7 @@ export interface ConversationsRequestBuilder extends BaseRequestBuilder<Conversa
|
|
|
16
16
|
get my(): MyRequestBuilder;
|
|
17
17
|
/**
|
|
18
18
|
* Gets an item from the leadping.conversations.item collection
|
|
19
|
-
* @param id The ID of the conversation to
|
|
19
|
+
* @param id The ID of the conversation to retrieve.
|
|
20
20
|
* @returns {ConversationsItemRequestBuilder}
|
|
21
21
|
*/
|
|
22
22
|
byId(id: string): ConversationsItemRequestBuilder;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../conversations/index.ts"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../conversations/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAsG,KAAK,+BAA+B,EAAE,MAAM,iBAAiB,CAAC;AAE3K,OAAO,EAAwC,KAAK,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAEhG,OAAO,EAAoC,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAExF,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAE1I;;GAEG;AACH,MAAM,WAAW,2BAA4B,SAAQ,kBAAkB,CAAC,2BAA2B,CAAC;IAChG;;OAEG;IACH,IAAI,IAAI,IAAI,kBAAkB,CAAC;IAC/B;;OAEG;IACH,IAAI,EAAE,IAAI,gBAAgB,CAAC;IAC3B;;;;OAIG;IACF,IAAI,CAAC,EAAE,EAAE,MAAM,GAAI,+BAA+B,CAAC;CACvD;AACD;;GAEG;AACH,eAAO,MAAM,sCAAsC,6BAA6B,CAAC;AACjF;;GAEG;AACH,eAAO,MAAM,6CAA6C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,2BAA2B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAYpK,CAAC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
// Generated by Microsoft Kiota
|
|
4
4
|
// @ts-ignore
|
|
5
|
-
import { ConversationsItemRequestBuilderNavigationMetadata } from './item/index.js';
|
|
5
|
+
import { ConversationsItemRequestBuilderNavigationMetadata, ConversationsItemRequestBuilderRequestsMetadata } from './item/index.js';
|
|
6
6
|
// @ts-ignore
|
|
7
7
|
import { LeadRequestBuilderNavigationMetadata } from './lead/index.js';
|
|
8
8
|
// @ts-ignore
|
|
@@ -16,6 +16,7 @@ export const ConversationsRequestBuilderUriTemplate = "{+baseurl}/conversations"
|
|
|
16
16
|
*/
|
|
17
17
|
export const ConversationsRequestBuilderNavigationMetadata = {
|
|
18
18
|
byId: {
|
|
19
|
+
requestsMetadata: ConversationsItemRequestBuilderRequestsMetadata,
|
|
19
20
|
navigationMetadata: ConversationsItemRequestBuilderNavigationMetadata,
|
|
20
21
|
pathParametersMappings: ["id"],
|
|
21
22
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../conversations/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,iDAAiD,EAAwC,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../conversations/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,iDAAiD,EAAE,+CAA+C,EAAwC,MAAM,iBAAiB,CAAC;AAC3K,aAAa;AACb,OAAO,EAAE,oCAAoC,EAA2B,MAAM,iBAAiB,CAAC;AAChG,aAAa;AACb,OAAO,EAAE,gCAAgC,EAAyB,MAAM,eAAe,CAAC;AAuBxF;;GAEG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAG,0BAA0B,CAAC;AACjF;;GAEG;AACH,MAAM,CAAC,MAAM,6CAA6C,GAA+G;IACrK,IAAI,EAAE;QACF,gBAAgB,EAAE,+CAA+C;QACjE,kBAAkB,EAAE,iDAAiD;QACrE,sBAAsB,EAAE,CAAC,IAAI,CAAC;KACjC;IACD,IAAI,EAAE;QACF,kBAAkB,EAAE,oCAAoC;KAC3D;IACD,EAAE,EAAE;QACA,gBAAgB,EAAE,gCAAgC;KACrD;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -1,13 +1,40 @@
|
|
|
1
|
+
import { type ConversationResponse } from '../../models/index.js';
|
|
2
|
+
import { type MarkHandledRequestBuilder } from './markHandled/index.js';
|
|
1
3
|
import { type MarkReadRequestBuilder } from './markRead/index.js';
|
|
2
|
-
import { type
|
|
4
|
+
import { type OutboundReadinessRequestBuilder } from './outboundReadiness/index.js';
|
|
5
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
6
|
/**
|
|
4
7
|
* Builds and executes requests for operations under /conversations/{id}
|
|
5
8
|
*/
|
|
6
9
|
export interface ConversationsItemRequestBuilder extends BaseRequestBuilder<ConversationsItemRequestBuilder> {
|
|
10
|
+
/**
|
|
11
|
+
* The markHandled property
|
|
12
|
+
*/
|
|
13
|
+
get markHandled(): MarkHandledRequestBuilder;
|
|
7
14
|
/**
|
|
8
15
|
* The markRead property
|
|
9
16
|
*/
|
|
10
17
|
get markRead(): MarkReadRequestBuilder;
|
|
18
|
+
/**
|
|
19
|
+
* The outboundReadiness property
|
|
20
|
+
*/
|
|
21
|
+
get outboundReadiness(): OutboundReadinessRequestBuilder;
|
|
22
|
+
/**
|
|
23
|
+
* Returns a conversation accessible to the current user, including its current event version for tracking inbox updates.
|
|
24
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
25
|
+
* @returns {Promise<ConversationResponse>}
|
|
26
|
+
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
27
|
+
* @throws {ProblemDetails} error when the service returns a 403 status code
|
|
28
|
+
* @throws {ProblemDetails} error when the service returns a 404 status code
|
|
29
|
+
* @throws {ProblemDetails} error when the service returns a 429 status code
|
|
30
|
+
*/
|
|
31
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ConversationResponse | undefined>;
|
|
32
|
+
/**
|
|
33
|
+
* Returns a conversation accessible to the current user, including its current event version for tracking inbox updates.
|
|
34
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
35
|
+
* @returns {RequestInformation}
|
|
36
|
+
*/
|
|
37
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
11
38
|
}
|
|
12
39
|
/**
|
|
13
40
|
* Uri template for the request builder.
|
|
@@ -17,4 +44,8 @@ export declare const ConversationsItemRequestBuilderUriTemplate = "{+baseurl}/co
|
|
|
17
44
|
* Metadata for all the navigation properties in the request builder.
|
|
18
45
|
*/
|
|
19
46
|
export declare const ConversationsItemRequestBuilderNavigationMetadata: Record<Exclude<keyof ConversationsItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
47
|
+
/**
|
|
48
|
+
* Metadata for all the requests in the request builder.
|
|
49
|
+
*/
|
|
50
|
+
export declare const ConversationsItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
20
51
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../conversations/item/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA0C,KAAK,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAE1G,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;
|
|
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,CAU5K,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,+CAA+C,EAAE,gBAa7D,CAAC"}
|
|
@@ -2,7 +2,13 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
// Generated by Microsoft Kiota
|
|
4
4
|
// @ts-ignore
|
|
5
|
+
import { createConversationResponseFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue } from '../../models/index.js';
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
import { MarkHandledRequestBuilderRequestsMetadata } from './markHandled/index.js';
|
|
8
|
+
// @ts-ignore
|
|
5
9
|
import { MarkReadRequestBuilderRequestsMetadata } from './markRead/index.js';
|
|
10
|
+
// @ts-ignore
|
|
11
|
+
import { OutboundReadinessRequestBuilderRequestsMetadata } from './outboundReadiness/index.js';
|
|
6
12
|
/**
|
|
7
13
|
* Uri template for the request builder.
|
|
8
14
|
*/
|
|
@@ -11,9 +17,32 @@ export const ConversationsItemRequestBuilderUriTemplate = "{+baseurl}/conversati
|
|
|
11
17
|
* Metadata for all the navigation properties in the request builder.
|
|
12
18
|
*/
|
|
13
19
|
export const ConversationsItemRequestBuilderNavigationMetadata = {
|
|
20
|
+
markHandled: {
|
|
21
|
+
requestsMetadata: MarkHandledRequestBuilderRequestsMetadata,
|
|
22
|
+
},
|
|
14
23
|
markRead: {
|
|
15
24
|
requestsMetadata: MarkReadRequestBuilderRequestsMetadata,
|
|
16
25
|
},
|
|
26
|
+
outboundReadiness: {
|
|
27
|
+
requestsMetadata: OutboundReadinessRequestBuilderRequestsMetadata,
|
|
28
|
+
},
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Metadata for all the requests in the request builder.
|
|
32
|
+
*/
|
|
33
|
+
export const ConversationsItemRequestBuilderRequestsMetadata = {
|
|
34
|
+
get: {
|
|
35
|
+
uriTemplate: ConversationsItemRequestBuilderUriTemplate,
|
|
36
|
+
responseBodyContentType: "text/plain;q=0.9",
|
|
37
|
+
errorMappings: {
|
|
38
|
+
401: createProblemDetailsFromDiscriminatorValue,
|
|
39
|
+
403: createProblemDetailsFromDiscriminatorValue,
|
|
40
|
+
404: createProblemDetailsFromDiscriminatorValue,
|
|
41
|
+
429: createProblemDetailsFromDiscriminatorValue,
|
|
42
|
+
},
|
|
43
|
+
adapterMethodName: "send",
|
|
44
|
+
responseBodyFactory: createConversationResponseFromDiscriminatorValue,
|
|
45
|
+
},
|
|
17
46
|
};
|
|
18
47
|
/* tslint:enable */
|
|
19
48
|
/* eslint-enable */
|
|
@@ -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,sCAAsC,EAA+B,MAAM,qBAAqB,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,+CAA+C,EAAwC,MAAM,8BAA8B,CAAC;AAqCrI;;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,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-handled
|
|
4
|
+
*/
|
|
5
|
+
export interface MarkHandledRequestBuilder extends BaseRequestBuilder<MarkHandledRequestBuilder> {
|
|
6
|
+
/**
|
|
7
|
+
* Clears 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<MarkHandledRequestBuilderPostQueryParameters> | undefined): Promise<boolean | undefined>;
|
|
15
|
+
/**
|
|
16
|
+
* Clears 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<MarkHandledRequestBuilderPostQueryParameters> | undefined): RequestInformation;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Clears 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 MarkHandledRequestBuilderPostQueryParameters {
|
|
26
|
+
/**
|
|
27
|
+
* The customer 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 MarkHandledRequestBuilderUriTemplate = "{+baseurl}/conversations/{id}/mark-handled?replyVersion={replyVersion}";
|
|
35
|
+
/**
|
|
36
|
+
* Metadata for all the requests in the request builder.
|
|
37
|
+
*/
|
|
38
|
+
export declare const MarkHandledRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
39
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../conversations/item/markHandled/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,yBAA0B,SAAQ,kBAAkB,CAAC,yBAAyB,CAAC;IAC5F;;;;;;;OAOG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,4CAA4C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC5I;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,4CAA4C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACzJ;AACD;;GAEG;AACH,MAAM,WAAW,4CAA4C;IACzD;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACzB;AACD;;GAEG;AACH,eAAO,MAAM,oCAAoC,2EAA2E,CAAC;AAC7H;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,gBAYvD,CAAC"}
|
package/dist/{notifications/push/installations/item → conversations/item/markHandled}/index.js
RENAMED
|
@@ -2,20 +2,21 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
// Generated by Microsoft Kiota
|
|
4
4
|
// @ts-ignore
|
|
5
|
-
import { createProblemDetailsFromDiscriminatorValue } from '
|
|
5
|
+
import { createProblemDetailsFromDiscriminatorValue } from '../../../models/index.js';
|
|
6
6
|
/**
|
|
7
7
|
* Uri template for the request builder.
|
|
8
8
|
*/
|
|
9
|
-
export const
|
|
9
|
+
export const MarkHandledRequestBuilderUriTemplate = "{+baseurl}/conversations/{id}/mark-handled?replyVersion={replyVersion}";
|
|
10
10
|
/**
|
|
11
11
|
* Metadata for all the requests in the request builder.
|
|
12
12
|
*/
|
|
13
|
-
export const
|
|
14
|
-
|
|
15
|
-
uriTemplate:
|
|
13
|
+
export const MarkHandledRequestBuilderRequestsMetadata = {
|
|
14
|
+
post: {
|
|
15
|
+
uriTemplate: MarkHandledRequestBuilderUriTemplate,
|
|
16
16
|
responseBodyContentType: "text/plain;q=0.9",
|
|
17
17
|
errorMappings: {
|
|
18
18
|
401: createProblemDetailsFromDiscriminatorValue,
|
|
19
|
+
403: createProblemDetailsFromDiscriminatorValue,
|
|
19
20
|
429: createProblemDetailsFromDiscriminatorValue,
|
|
20
21
|
},
|
|
21
22
|
adapterMethodName: "sendPrimitive",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../conversations/item/markHandled/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,oCAAoC,GAAG,wEAAwE,CAAC;AAC7H;;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;SAC/E;QACD,iBAAiB,EAAE,eAAe;QAClC,mBAAmB,EAAG,SAAS;KAClC;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -4,26 +4,34 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
4
4
|
*/
|
|
5
5
|
export interface MarkReadRequestBuilder extends BaseRequestBuilder<MarkReadRequestBuilder> {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Clears unread state only at the observed event version. Returns false if the conversation changed or is inaccessible.
|
|
8
8
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
9
|
* @returns {Promise<boolean>}
|
|
10
10
|
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
11
11
|
* @throws {ProblemDetails} error when the service returns a 403 status code
|
|
12
|
-
* @throws {ProblemDetails} error when the service returns a 404 status code
|
|
13
12
|
* @throws {ProblemDetails} error when the service returns a 429 status code
|
|
14
13
|
*/
|
|
15
|
-
post(requestConfiguration?: RequestConfiguration<
|
|
14
|
+
post(requestConfiguration?: RequestConfiguration<MarkReadRequestBuilderPostQueryParameters> | undefined): Promise<boolean | undefined>;
|
|
16
15
|
/**
|
|
17
|
-
*
|
|
16
|
+
* Clears unread state only at the observed event version. Returns false if the conversation changed or is inaccessible.
|
|
18
17
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
19
18
|
* @returns {RequestInformation}
|
|
20
19
|
*/
|
|
21
|
-
toPostRequestInformation(requestConfiguration?: RequestConfiguration<
|
|
20
|
+
toPostRequestInformation(requestConfiguration?: RequestConfiguration<MarkReadRequestBuilderPostQueryParameters> | undefined): RequestInformation;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Clears unread state only at the observed event version. Returns false if the conversation changed or is inaccessible.
|
|
24
|
+
*/
|
|
25
|
+
export interface MarkReadRequestBuilderPostQueryParameters {
|
|
26
|
+
/**
|
|
27
|
+
* The event version observed by the reader.
|
|
28
|
+
*/
|
|
29
|
+
eventVersion?: number;
|
|
22
30
|
}
|
|
23
31
|
/**
|
|
24
32
|
* Uri template for the request builder.
|
|
25
33
|
*/
|
|
26
|
-
export declare const MarkReadRequestBuilderUriTemplate = "{+baseurl}/conversations/{id}/mark-read";
|
|
34
|
+
export declare const MarkReadRequestBuilderUriTemplate = "{+baseurl}/conversations/{id}/mark-read?eventVersion={eventVersion}";
|
|
27
35
|
/**
|
|
28
36
|
* Metadata for all the requests in the request builder.
|
|
29
37
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../conversations/item/markRead/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,sBAAuB,SAAQ,kBAAkB,CAAC,sBAAsB,CAAC;IACtF
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../conversations/item/markRead/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,sBAAuB,SAAQ,kBAAkB,CAAC,sBAAsB,CAAC;IACtF;;;;;;;OAOG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,yCAAyC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACzI;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,yCAAyC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACtJ;AACD;;GAEG;AACH,MAAM,WAAW,yCAAyC;IACtD;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACzB;AACD;;GAEG;AACH,eAAO,MAAM,iCAAiC,wEAAwE,CAAC;AACvH;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,gBAYpD,CAAC"}
|
|
@@ -6,7 +6,7 @@ import { createProblemDetailsFromDiscriminatorValue } from '../../../models/inde
|
|
|
6
6
|
/**
|
|
7
7
|
* Uri template for the request builder.
|
|
8
8
|
*/
|
|
9
|
-
export const MarkReadRequestBuilderUriTemplate = "{+baseurl}/conversations/{id}/mark-read";
|
|
9
|
+
export const MarkReadRequestBuilderUriTemplate = "{+baseurl}/conversations/{id}/mark-read?eventVersion={eventVersion}";
|
|
10
10
|
/**
|
|
11
11
|
* Metadata for all the requests in the request builder.
|
|
12
12
|
*/
|
|
@@ -17,7 +17,6 @@ export const MarkReadRequestBuilderRequestsMetadata = {
|
|
|
17
17
|
errorMappings: {
|
|
18
18
|
401: createProblemDetailsFromDiscriminatorValue,
|
|
19
19
|
403: createProblemDetailsFromDiscriminatorValue,
|
|
20
|
-
404: createProblemDetailsFromDiscriminatorValue,
|
|
21
20
|
429: createProblemDetailsFromDiscriminatorValue,
|
|
22
21
|
},
|
|
23
22
|
adapterMethodName: "sendPrimitive",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../conversations/item/markRead/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAuB,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../conversations/item/markRead/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,iCAAiC,GAAG,qEAAqE,CAAC;AACvH;;GAEG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAqB;IACpE,IAAI,EAAE;QACF,WAAW,EAAE,iCAAiC;QAC9C,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"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { type OutgoingNumberSelectionResponse } 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 /conversations/{id}/outbound-readiness
|
|
5
|
+
*/
|
|
6
|
+
export interface OutboundReadinessRequestBuilder extends BaseRequestBuilder<OutboundReadinessRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Checks outbound sender readiness for an accessible conversation without sending a message or placing a call.
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
* @returns {Promise<OutgoingNumberSelectionResponse>}
|
|
11
|
+
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
12
|
+
* @throws {ProblemDetails} error when the service returns a 403 status code
|
|
13
|
+
* @throws {ProblemDetails} error when the service returns a 404 status code
|
|
14
|
+
* @throws {ProblemDetails} error when the service returns a 429 status code
|
|
15
|
+
*/
|
|
16
|
+
get(requestConfiguration?: RequestConfiguration<OutboundReadinessRequestBuilderGetQueryParameters> | undefined): Promise<OutgoingNumberSelectionResponse | undefined>;
|
|
17
|
+
/**
|
|
18
|
+
* Checks outbound sender readiness for an accessible conversation without sending a message or placing a call.
|
|
19
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
20
|
+
* @returns {RequestInformation}
|
|
21
|
+
*/
|
|
22
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<OutboundReadinessRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Checks outbound sender readiness for an accessible conversation without sending a message or placing a call.
|
|
26
|
+
*/
|
|
27
|
+
export interface OutboundReadinessRequestBuilderGetQueryParameters {
|
|
28
|
+
/**
|
|
29
|
+
* Whether to check call readiness. When false, checks SMS readiness.
|
|
30
|
+
*/
|
|
31
|
+
voice?: boolean;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Uri template for the request builder.
|
|
35
|
+
*/
|
|
36
|
+
export declare const OutboundReadinessRequestBuilderUriTemplate = "{+baseurl}/conversations/{id}/outbound-readiness{?voice*}";
|
|
37
|
+
/**
|
|
38
|
+
* Metadata for all the requests in the request builder.
|
|
39
|
+
*/
|
|
40
|
+
export declare const OutboundReadinessRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
41
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../conversations/item/outboundReadiness/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA2G,KAAK,+BAA+B,EAAuB,MAAM,0BAA0B,CAAC;AAE9M,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,+BAAgC,SAAQ,kBAAkB,CAAC,+BAA+B,CAAC;IACxG;;;;;;;;OAQG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,iDAAiD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,+BAA+B,GAAG,SAAS,CAAC,CAAC;IACxK;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,iDAAiD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC7J;AACD;;GAEG;AACH,MAAM,WAAW,iDAAiD;IAC9D;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;CACnB;AACD;;GAEG;AACH,eAAO,MAAM,0CAA0C,8DAA8D,CAAC;AACtH;;GAEG;AACH,eAAO,MAAM,+CAA+C,EAAE,gBAa7D,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createOutgoingNumberSelectionResponseFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue } from '../../../models/index.js';
|
|
6
|
+
/**
|
|
7
|
+
* Uri template for the request builder.
|
|
8
|
+
*/
|
|
9
|
+
export const OutboundReadinessRequestBuilderUriTemplate = "{+baseurl}/conversations/{id}/outbound-readiness{?voice*}";
|
|
10
|
+
/**
|
|
11
|
+
* Metadata for all the requests in the request builder.
|
|
12
|
+
*/
|
|
13
|
+
export const OutboundReadinessRequestBuilderRequestsMetadata = {
|
|
14
|
+
get: {
|
|
15
|
+
uriTemplate: OutboundReadinessRequestBuilderUriTemplate,
|
|
16
|
+
responseBodyContentType: "text/plain;q=0.9",
|
|
17
|
+
errorMappings: {
|
|
18
|
+
401: createProblemDetailsFromDiscriminatorValue,
|
|
19
|
+
403: createProblemDetailsFromDiscriminatorValue,
|
|
20
|
+
404: createProblemDetailsFromDiscriminatorValue,
|
|
21
|
+
429: createProblemDetailsFromDiscriminatorValue,
|
|
22
|
+
},
|
|
23
|
+
adapterMethodName: "send",
|
|
24
|
+
responseBodyFactory: createOutgoingNumberSelectionResponseFromDiscriminatorValue,
|
|
25
|
+
},
|
|
26
|
+
};
|
|
27
|
+
/* tslint:enable */
|
|
28
|
+
/* eslint-enable */
|
|
29
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../conversations/item/outboundReadiness/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,2DAA2D,EAAE,0CAA0C,EAA6D,MAAM,0BAA0B,CAAC;AAkC9M;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAG,2DAA2D,CAAC;AACtH;;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,2DAA2D;KACpF;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
2
|
+
/**
|
|
3
|
+
* Builds and executes requests for operations under /leads/follow-ups
|
|
4
|
+
*/
|
|
5
|
+
export interface FollowUpsRequestBuilder extends BaseRequestBuilder<FollowUpsRequestBuilder> {
|
|
6
|
+
/**
|
|
7
|
+
* Returns a paginated list of current incomplete follow-ups accessible to the current user, with the option to include upcoming follow-ups.
|
|
8
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
+
* @returns {Promise<ArrayBuffer>}
|
|
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
|
+
get(requestConfiguration?: RequestConfiguration<FollowUpsRequestBuilderGetQueryParameters> | undefined): Promise<ArrayBuffer | undefined>;
|
|
15
|
+
/**
|
|
16
|
+
* Returns a paginated list of current incomplete follow-ups accessible to the current user, with the option to include upcoming follow-ups.
|
|
17
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
18
|
+
* @returns {RequestInformation}
|
|
19
|
+
*/
|
|
20
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<FollowUpsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Returns a paginated list of current incomplete follow-ups accessible to the current user, with the option to include upcoming follow-ups.
|
|
24
|
+
*/
|
|
25
|
+
export interface FollowUpsRequestBuilderGetQueryParameters {
|
|
26
|
+
/**
|
|
27
|
+
* The continuation token from a previous response, or null to retrieve the first page.
|
|
28
|
+
*/
|
|
29
|
+
continuation?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Whether to include future follow-ups. When false, returns only due and overdue follow-ups.
|
|
32
|
+
*/
|
|
33
|
+
includeUpcoming?: boolean;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Uri template for the request builder.
|
|
37
|
+
*/
|
|
38
|
+
export declare const FollowUpsRequestBuilderUriTemplate = "{+baseurl}/leads/follow-ups{?continuation*,includeUpcoming*}";
|
|
39
|
+
/**
|
|
40
|
+
* Metadata for all the requests in the request builder.
|
|
41
|
+
*/
|
|
42
|
+
export declare const FollowUpsRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
43
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../leads/followUps/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,uBAAwB,SAAQ,kBAAkB,CAAC,uBAAuB,CAAC;IACxF;;;;;;;OAOG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,yCAAyC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IAC5I;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,yCAAyC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACrJ;AACD;;GAEG;AACH,MAAM,WAAW,yCAAyC;IACtD;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;CAC7B;AACD;;GAEG;AACH,eAAO,MAAM,kCAAkC,iEAAiE,CAAC;AACjH;;GAEG;AACH,eAAO,MAAM,uCAAuC,EAAE,gBAYrD,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 FollowUpsRequestBuilderUriTemplate = "{+baseurl}/leads/follow-ups{?continuation*,includeUpcoming*}";
|
|
10
|
+
/**
|
|
11
|
+
* Metadata for all the requests in the request builder.
|
|
12
|
+
*/
|
|
13
|
+
export const FollowUpsRequestBuilderRequestsMetadata = {
|
|
14
|
+
get: {
|
|
15
|
+
uriTemplate: FollowUpsRequestBuilderUriTemplate,
|
|
16
|
+
responseBodyContentType: "application/problem+json",
|
|
17
|
+
errorMappings: {
|
|
18
|
+
401: createProblemDetailsFromDiscriminatorValue,
|
|
19
|
+
403: createProblemDetailsFromDiscriminatorValue,
|
|
20
|
+
429: createProblemDetailsFromDiscriminatorValue,
|
|
21
|
+
},
|
|
22
|
+
adapterMethodName: "sendPrimitive",
|
|
23
|
+
responseBodyFactory: "ArrayBuffer",
|
|
24
|
+
},
|
|
25
|
+
};
|
|
26
|
+
/* tslint:enable */
|
|
27
|
+
/* eslint-enable */
|
|
28
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../leads/followUps/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAuB,MAAM,uBAAuB,CAAC;AAqCxG;;GAEG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAAG,8DAA8D,CAAC;AACjH;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAqB;IACrE,GAAG,EAAE;QACD,WAAW,EAAE,kCAAkC;QAC/C,uBAAuB,EAAE,0BAA0B;QACnD,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,eAAe;QAClC,mBAAmB,EAAG,aAAa;KACtC;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
package/dist/leads/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type LeadRequest, type LeadResponse } from '../models/index.js';
|
|
2
2
|
import { type AllRequestBuilder } from './all/index.js';
|
|
3
|
+
import { type FollowUpsRequestBuilder } from './followUps/index.js';
|
|
3
4
|
import { type IntakeRequestBuilder } from './intake/index.js';
|
|
4
5
|
import { type ItemRequestBuilder } from './item/index.js';
|
|
5
6
|
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
@@ -11,6 +12,10 @@ export interface LeadsRequestBuilder extends BaseRequestBuilder<LeadsRequestBuil
|
|
|
11
12
|
* The all property
|
|
12
13
|
*/
|
|
13
14
|
get all(): AllRequestBuilder;
|
|
15
|
+
/**
|
|
16
|
+
* The followUps property
|
|
17
|
+
*/
|
|
18
|
+
get followUps(): FollowUpsRequestBuilder;
|
|
14
19
|
/**
|
|
15
20
|
* The intake property
|
|
16
21
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../leads/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAqI,KAAK,WAAW,EAAE,KAAK,YAAY,EAAuB,MAAM,oBA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AEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAiBjD,CAAC"}
|
package/dist/leads/index.js
CHANGED
|
@@ -6,6 +6,8 @@ import { createLeadResponseFromDiscriminatorValue, createProblemDetailsFromDiscr
|
|
|
6
6
|
// @ts-ignore
|
|
7
7
|
import { AllRequestBuilderNavigationMetadata } from './all/index.js';
|
|
8
8
|
// @ts-ignore
|
|
9
|
+
import { FollowUpsRequestBuilderRequestsMetadata } from './followUps/index.js';
|
|
10
|
+
// @ts-ignore
|
|
9
11
|
import { IntakeRequestBuilderRequestsMetadata } from './intake/index.js';
|
|
10
12
|
// @ts-ignore
|
|
11
13
|
import { ItemRequestBuilderNavigationMetadata, ItemRequestBuilderRequestsMetadata } from './item/index.js';
|
|
@@ -25,6 +27,9 @@ export const LeadsRequestBuilderNavigationMetadata = {
|
|
|
25
27
|
all: {
|
|
26
28
|
navigationMetadata: AllRequestBuilderNavigationMetadata,
|
|
27
29
|
},
|
|
30
|
+
followUps: {
|
|
31
|
+
requestsMetadata: FollowUpsRequestBuilderRequestsMetadata,
|
|
32
|
+
},
|
|
28
33
|
intake: {
|
|
29
34
|
requestsMetadata: IntakeRequestBuilderRequestsMetadata,
|
|
30
35
|
},
|
package/dist/leads/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../leads/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,wCAAwC,EAAE,0CAA0C,EAAE,oBAAoB,EAAmF,MAAM,oBAAoB,CAAC;AACjO,aAAa;AACb,OAAO,EAAE,mCAAmC,EAA0B,MAAM,gBAAgB,CAAC;AAC7F,aAAa;AACb,OAAO,EAAE,oCAAoC,EAA6B,MAAM,mBAAmB,CAAC;AACpG,aAAa;AACb,OAAO,EAAE,oCAAoC,EAAE,kCAAkC,EAA2B,MAAM,iBAAiB,CAAC;
|
|
1
|
+
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AsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,oBAAoB;QAC3C,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { type LeadFollowUpUpdateRequest } 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}/follow-up
|
|
5
|
+
*/
|
|
6
|
+
export interface FollowUpRequestBuilder extends BaseRequestBuilder<FollowUpRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Completes or reschedules a lead's follow-up using the version observed by the client. Returns a conflict if the follow-up has changed.
|
|
9
|
+
* @param body Completes or reschedules exactly the follow-up version the operator viewed.
|
|
10
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
11
|
+
* @returns {Promise<ArrayBuffer>}
|
|
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
|
+
put(body: LeadFollowUpUpdateRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
|
|
17
|
+
/**
|
|
18
|
+
* Completes or reschedules a lead's follow-up using the version observed by the client. Returns a conflict if the follow-up has changed.
|
|
19
|
+
* @param body Completes or reschedules exactly the follow-up version the operator viewed.
|
|
20
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
21
|
+
* @returns {RequestInformation}
|
|
22
|
+
*/
|
|
23
|
+
toPutRequestInformation(body: LeadFollowUpUpdateRequest, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Uri template for the request builder.
|
|
27
|
+
*/
|
|
28
|
+
export declare const FollowUpRequestBuilderUriTemplate = "{+baseurl}/leads/{%2Did}/follow-up";
|
|
29
|
+
/**
|
|
30
|
+
* Metadata for all the requests in the request builder.
|
|
31
|
+
*/
|
|
32
|
+
export declare const FollowUpRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
33
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../leads/item/followUp/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAkF,KAAK,yBAAyB,EAAuB,MAAM,0BAA0B,CAAC;AAE/K,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,sBAAuB,SAAQ,kBAAkB,CAAC,sBAAsB,CAAC;IACtF;;;;;;;;OAQG;IACF,GAAG,CAAC,IAAI,EAAE,yBAAyB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IAC1I;;;;;OAKG;IACF,uBAAuB,CAAC,IAAI,EAAE,yBAAyB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnJ;AACD;;GAEG;AACH,eAAO,MAAM,iCAAiC,uCAAuC,CAAC;AACtF;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,gBAepD,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createProblemDetailsFromDiscriminatorValue, serializeLeadFollowUpUpdateRequest } from '../../../models/index.js';
|
|
6
|
+
/**
|
|
7
|
+
* Uri template for the request builder.
|
|
8
|
+
*/
|
|
9
|
+
export const FollowUpRequestBuilderUriTemplate = "{+baseurl}/leads/{%2Did}/follow-up";
|
|
10
|
+
/**
|
|
11
|
+
* Metadata for all the requests in the request builder.
|
|
12
|
+
*/
|
|
13
|
+
export const FollowUpRequestBuilderRequestsMetadata = {
|
|
14
|
+
put: {
|
|
15
|
+
uriTemplate: FollowUpRequestBuilderUriTemplate,
|
|
16
|
+
responseBodyContentType: "application/problem+json",
|
|
17
|
+
errorMappings: {
|
|
18
|
+
401: createProblemDetailsFromDiscriminatorValue,
|
|
19
|
+
403: createProblemDetailsFromDiscriminatorValue,
|
|
20
|
+
429: createProblemDetailsFromDiscriminatorValue,
|
|
21
|
+
},
|
|
22
|
+
adapterMethodName: "sendPrimitive",
|
|
23
|
+
responseBodyFactory: "ArrayBuffer",
|
|
24
|
+
requestBodyContentType: "application/json",
|
|
25
|
+
requestBodySerializer: serializeLeadFollowUpUpdateRequest,
|
|
26
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
27
|
+
},
|
|
28
|
+
};
|
|
29
|
+
/* tslint:enable */
|
|
30
|
+
/* eslint-enable */
|
|
31
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../leads/item/followUp/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAE,kCAAkC,EAAuD,MAAM,0BAA0B,CAAC;AA0B/K;;GAEG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAG,oCAAoC,CAAC;AACtF;;GAEG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAqB;IACpE,GAAG,EAAE;QACD,WAAW,EAAE,iCAAiC;QAC9C,uBAAuB,EAAE,0BAA0B;QACnD,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,eAAe;QAClC,mBAAmB,EAAG,aAAa;QACnC,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,kCAAkC;QACzD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
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
|
+
import { type FollowUpRequestBuilder } from './followUp/index.js';
|
|
4
5
|
import { type StatusRequestBuilder } from './status/index.js';
|
|
5
6
|
import { type StatusHistoryRequestBuilder } from './statusHistory/index.js';
|
|
6
7
|
import { type TagsRequestBuilder } from './tags/index.js';
|
|
@@ -19,6 +20,10 @@ export interface ItemRequestBuilder extends BaseRequestBuilder<ItemRequestBuilde
|
|
|
19
20
|
* The assignment property
|
|
20
21
|
*/
|
|
21
22
|
get assignment(): AssignmentRequestBuilder;
|
|
23
|
+
/**
|
|
24
|
+
* The followUp property
|
|
25
|
+
*/
|
|
26
|
+
get followUp(): FollowUpRequestBuilder;
|
|
22
27
|
/**
|
|
23
28
|
* The status property
|
|
24
29
|
*/
|