@leadping/sdk 1.0.46 → 1.0.48
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/a2a/index.d.ts +30 -0
- package/dist/a2a/index.d.ts.map +1 -0
- package/dist/a2a/index.js +28 -0
- package/dist/a2a/index.js.map +1 -0
- package/dist/leadpingOpenApiClient.d.ts +10 -0
- package/dist/leadpingOpenApiClient.d.ts.map +1 -1
- package/dist/leadpingOpenApiClient.js +10 -0
- package/dist/leadpingOpenApiClient.js.map +1 -1
- package/dist/models/index.d.ts +31 -3
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +34 -0
- package/dist/models/index.js.map +1 -1
- package/dist/reports/exports/item/download/index.d.ts +8 -2
- package/dist/reports/exports/item/download/index.d.ts.map +1 -1
- package/dist/reports/exports/item/download/index.js +5 -4
- package/dist/reports/exports/item/download/index.js.map +1 -1
- package/dist/wellKnown/agentCardJson/index.d.ts +28 -0
- package/dist/wellKnown/agentCardJson/index.d.ts.map +1 -0
- package/dist/wellKnown/agentCardJson/index.js +26 -0
- package/dist/wellKnown/agentCardJson/index.js.map +1 -0
- package/dist/wellKnown/index.d.ts +20 -0
- package/dist/wellKnown/index.d.ts.map +1 -0
- package/dist/wellKnown/index.js +20 -0
- package/dist/wellKnown/index.js.map +1 -0
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type UserDataExportDownloadResponse } from '../../../../models/index.js';
|
|
1
2
|
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
2
3
|
/**
|
|
3
4
|
* Builds and executes requests for operations under /reports/exports/{exportId}/download
|
|
@@ -6,11 +7,12 @@ export interface DownloadRequestBuilder extends BaseRequestBuilder<DownloadReque
|
|
|
6
7
|
/**
|
|
7
8
|
* Validates an export download token and redirects to the generated file when the current-user report is ready.
|
|
8
9
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
* @returns {Promise<UserDataExportDownloadResponse>}
|
|
9
11
|
* @throws {ProblemDetails} error when the service returns a 404 status code
|
|
10
12
|
* @throws {ProblemDetails} error when the service returns a 410 status code
|
|
11
13
|
* @throws {ProblemDetails} error when the service returns a 429 status code
|
|
12
14
|
*/
|
|
13
|
-
get(requestConfiguration?: RequestConfiguration<DownloadRequestBuilderGetQueryParameters> | undefined): Promise<
|
|
15
|
+
get(requestConfiguration?: RequestConfiguration<DownloadRequestBuilderGetQueryParameters> | undefined): Promise<UserDataExportDownloadResponse | undefined>;
|
|
14
16
|
/**
|
|
15
17
|
* Validates an export download token and redirects to the generated file when the current-user report is ready.
|
|
16
18
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
@@ -22,6 +24,10 @@ export interface DownloadRequestBuilder extends BaseRequestBuilder<DownloadReque
|
|
|
22
24
|
* Validates an export download token and redirects to the generated file when the current-user report is ready.
|
|
23
25
|
*/
|
|
24
26
|
export interface DownloadRequestBuilderGetQueryParameters {
|
|
27
|
+
/**
|
|
28
|
+
* Whether to redirect to the temporary file URL. Set to false to return the URL as JSON.
|
|
29
|
+
*/
|
|
30
|
+
redirect?: boolean;
|
|
25
31
|
/**
|
|
26
32
|
* The short-lived download token issued for this export.
|
|
27
33
|
*/
|
|
@@ -30,7 +36,7 @@ export interface DownloadRequestBuilderGetQueryParameters {
|
|
|
30
36
|
/**
|
|
31
37
|
* Uri template for the request builder.
|
|
32
38
|
*/
|
|
33
|
-
export declare const DownloadRequestBuilderUriTemplate = "{+baseurl}/reports/exports/{exportId}/download?token={token}";
|
|
39
|
+
export declare const DownloadRequestBuilderUriTemplate = "{+baseurl}/reports/exports/{exportId}/download?token={token}{&redirect*}";
|
|
34
40
|
/**
|
|
35
41
|
* Metadata for all the requests in the request builder.
|
|
36
42
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../reports/exports/item/download/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../reports/exports/item/download/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA+H,KAAK,8BAA8B,EAAE,MAAM,6BAA6B,CAAC;AAE/M,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,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,wCAAwC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,8BAA8B,GAAG,SAAS,CAAC,CAAC;IAC9J;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,wCAAwC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACpJ;AACD;;GAEG;AACH,MAAM,WAAW,wCAAwC;IACrD;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AACD;;GAEG;AACH,eAAO,MAAM,iCAAiC,6EAA6E,CAAC;AAC5H;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,gBAYpD,CAAC"}
|
|
@@ -2,24 +2,25 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
// Generated by Microsoft Kiota
|
|
4
4
|
// @ts-ignore
|
|
5
|
-
import { createProblemDetailsFromDiscriminatorValue } from '../../../../models/index.js';
|
|
5
|
+
import { createProblemDetailsFromDiscriminatorValue, createUserDataExportDownloadResponseFromDiscriminatorValue } from '../../../../models/index.js';
|
|
6
6
|
/**
|
|
7
7
|
* Uri template for the request builder.
|
|
8
8
|
*/
|
|
9
|
-
export const DownloadRequestBuilderUriTemplate = "{+baseurl}/reports/exports/{exportId}/download?token={token}";
|
|
9
|
+
export const DownloadRequestBuilderUriTemplate = "{+baseurl}/reports/exports/{exportId}/download?token={token}{&redirect*}";
|
|
10
10
|
/**
|
|
11
11
|
* Metadata for all the requests in the request builder.
|
|
12
12
|
*/
|
|
13
13
|
export const DownloadRequestBuilderRequestsMetadata = {
|
|
14
14
|
get: {
|
|
15
15
|
uriTemplate: DownloadRequestBuilderUriTemplate,
|
|
16
|
-
responseBodyContentType: "
|
|
16
|
+
responseBodyContentType: "text/plain;q=0.9",
|
|
17
17
|
errorMappings: {
|
|
18
18
|
404: createProblemDetailsFromDiscriminatorValue,
|
|
19
19
|
410: createProblemDetailsFromDiscriminatorValue,
|
|
20
20
|
429: createProblemDetailsFromDiscriminatorValue,
|
|
21
21
|
},
|
|
22
|
-
adapterMethodName: "
|
|
22
|
+
adapterMethodName: "send",
|
|
23
|
+
responseBodyFactory: createUserDataExportDownloadResponseFromDiscriminatorValue,
|
|
23
24
|
},
|
|
24
25
|
};
|
|
25
26
|
/* tslint:enable */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../reports/exports/item/download/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../reports/exports/item/download/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAE,0DAA0D,EAA4D,MAAM,6BAA6B,CAAC;AAqC/M;;GAEG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAG,0EAA0E,CAAC;AAC5H;;GAEG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAqB;IACpE,GAAG,EAAE;QACD,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,MAAM;QACzB,mBAAmB,EAAG,0DAA0D;KACnF;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
2
|
+
/**
|
|
3
|
+
* Builds and executes requests for operations under /.well-known/agent-card.json
|
|
4
|
+
*/
|
|
5
|
+
export interface AgentCardJsonRequestBuilder extends BaseRequestBuilder<AgentCardJsonRequestBuilder> {
|
|
6
|
+
/**
|
|
7
|
+
* Returns Leadping's public A2A Agent Card, including protocol capabilities, authentication requirements, input and output modes, and supported skills.
|
|
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 429 status code
|
|
11
|
+
*/
|
|
12
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
|
|
13
|
+
/**
|
|
14
|
+
* Returns Leadping's public A2A Agent Card, including protocol capabilities, authentication requirements, input and output modes, and supported skills.
|
|
15
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
+
* @returns {RequestInformation}
|
|
17
|
+
*/
|
|
18
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Uri template for the request builder.
|
|
22
|
+
*/
|
|
23
|
+
export declare const AgentCardJsonRequestBuilderUriTemplate = "{+baseurl}/.well-known/agent-card.json";
|
|
24
|
+
/**
|
|
25
|
+
* Metadata for all the requests in the request builder.
|
|
26
|
+
*/
|
|
27
|
+
export declare const AgentCardJsonRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
28
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../wellKnown/agentCardJson/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,2BAA4B,SAAQ,kBAAkB,CAAC,2BAA2B,CAAC;IAChG;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IACzG;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClH;AACD;;GAEG;AACH,eAAO,MAAM,sCAAsC,2CAA2C,CAAC;AAC/F;;GAEG;AACH,eAAO,MAAM,2CAA2C,EAAE,gBAUzD,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
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 AgentCardJsonRequestBuilderUriTemplate = "{+baseurl}/.well-known/agent-card.json";
|
|
10
|
+
/**
|
|
11
|
+
* Metadata for all the requests in the request builder.
|
|
12
|
+
*/
|
|
13
|
+
export const AgentCardJsonRequestBuilderRequestsMetadata = {
|
|
14
|
+
get: {
|
|
15
|
+
uriTemplate: AgentCardJsonRequestBuilderUriTemplate,
|
|
16
|
+
responseBodyContentType: "application/problem+json",
|
|
17
|
+
errorMappings: {
|
|
18
|
+
429: createProblemDetailsFromDiscriminatorValue,
|
|
19
|
+
},
|
|
20
|
+
adapterMethodName: "sendPrimitive",
|
|
21
|
+
responseBodyFactory: "ArrayBuffer",
|
|
22
|
+
},
|
|
23
|
+
};
|
|
24
|
+
/* tslint:enable */
|
|
25
|
+
/* eslint-enable */
|
|
26
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../wellKnown/agentCardJson/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAuB,MAAM,uBAAuB,CAAC;AAsBxG;;GAEG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAG,wCAAwC,CAAC;AAC/F;;GAEG;AACH,MAAM,CAAC,MAAM,2CAA2C,GAAqB;IACzE,GAAG,EAAE;QACD,WAAW,EAAE,sCAAsC;QACnD,uBAAuB,EAAE,0BAA0B;QACnD,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,eAAe;QAClC,mBAAmB,EAAG,aAAa;KACtC;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { type AgentCardJsonRequestBuilder } from './agentCardJson/index.js';
|
|
2
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Builds and executes requests for operations under /.well-known
|
|
5
|
+
*/
|
|
6
|
+
export interface WellKnownRequestBuilder extends BaseRequestBuilder<WellKnownRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* The agentCardJson property
|
|
9
|
+
*/
|
|
10
|
+
get agentCardJson(): AgentCardJsonRequestBuilder;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Uri template for the request builder.
|
|
14
|
+
*/
|
|
15
|
+
export declare const WellKnownRequestBuilderUriTemplate = "{+baseurl}/.well-known";
|
|
16
|
+
/**
|
|
17
|
+
* Metadata for all the navigation properties in the request builder.
|
|
18
|
+
*/
|
|
19
|
+
export declare const WellKnownRequestBuilderNavigationMetadata: Record<Exclude<keyof WellKnownRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
20
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../wellKnown/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA+C,KAAK,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAEzH,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAE1I;;GAEG;AACH,MAAM,WAAW,uBAAwB,SAAQ,kBAAkB,CAAC,uBAAuB,CAAC;IACxF;;OAEG;IACH,IAAI,aAAa,IAAI,2BAA2B,CAAC;CACpD;AACD;;GAEG;AACH,eAAO,MAAM,kCAAkC,2BAA2B,CAAC;AAC3E;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,uBAAuB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAI5J,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { AgentCardJsonRequestBuilderRequestsMetadata } from './agentCardJson/index.js';
|
|
6
|
+
/**
|
|
7
|
+
* Uri template for the request builder.
|
|
8
|
+
*/
|
|
9
|
+
export const WellKnownRequestBuilderUriTemplate = "{+baseurl}/.well-known";
|
|
10
|
+
/**
|
|
11
|
+
* Metadata for all the navigation properties in the request builder.
|
|
12
|
+
*/
|
|
13
|
+
export const WellKnownRequestBuilderNavigationMetadata = {
|
|
14
|
+
agentCardJson: {
|
|
15
|
+
requestsMetadata: AgentCardJsonRequestBuilderRequestsMetadata,
|
|
16
|
+
},
|
|
17
|
+
};
|
|
18
|
+
/* tslint:enable */
|
|
19
|
+
/* eslint-enable */
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../wellKnown/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,2CAA2C,EAAoC,MAAM,0BAA0B,CAAC;AAazH;;GAEG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAAG,wBAAwB,CAAC;AAC3E;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAA2G;IAC7J,aAAa,EAAE;QACX,gBAAgB,EAAE,2CAA2C;KAChE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
package/package.json
CHANGED