@leadping/sdk 1.0.47 → 1.0.49
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/automations/index.d.ts +1 -1
- package/dist/leadStatusChanges/index.d.ts +1 -1
- package/dist/leadStatuses/index.d.ts +1 -1
- package/dist/leads/index.d.ts +1 -1
- package/dist/models/index.d.ts +28 -0
- 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/notifications/index.d.ts +1 -1
- package/dist/organizations/apiKeys/index.d.ts +1 -1
- package/dist/paymentMethods/index.d.ts +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/sources/index.d.ts +1 -1
- package/dist/suppressions/index.d.ts +1 -1
- package/dist/tags/index.d.ts +1 -1
- package/dist/transactions/index.d.ts +1 -1
- package/dist/wallets/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -31,7 +31,7 @@ export interface NotificationsRequestBuilder extends BaseRequestBuilder<Notifica
|
|
|
31
31
|
get unreadCount(): UnreadCountRequestBuilder;
|
|
32
32
|
/**
|
|
33
33
|
* Gets an item from the leadping.notifications.item collection
|
|
34
|
-
* @param id
|
|
34
|
+
* @param id The notification ID.
|
|
35
35
|
* @returns {NotificationsItemRequestBuilder}
|
|
36
36
|
*/
|
|
37
37
|
byId(id: string): NotificationsItemRequestBuilder;
|
|
@@ -11,7 +11,7 @@ export interface ApiKeysRequestBuilder extends BaseRequestBuilder<ApiKeysRequest
|
|
|
11
11
|
get my(): MyRequestBuilder;
|
|
12
12
|
/**
|
|
13
13
|
* Gets an item from the leadping.organizations.apiKeys.item collection
|
|
14
|
-
* @param id
|
|
14
|
+
* @param id The API key ID.
|
|
15
15
|
* @returns {ApiKeysItemRequestBuilder}
|
|
16
16
|
*/
|
|
17
17
|
byId(id: string): ApiKeysItemRequestBuilder;
|
|
@@ -12,7 +12,7 @@ export interface PaymentMethodsRequestBuilder extends BaseRequestBuilder<Payment
|
|
|
12
12
|
get invoices(): InvoicesRequestBuilder;
|
|
13
13
|
/**
|
|
14
14
|
* Gets an item from the leadping.paymentMethods.item collection
|
|
15
|
-
* @param id
|
|
15
|
+
* @param id The ID of the payment method to retrieve.
|
|
16
16
|
* @returns {PaymentMethodsItemRequestBuilder}
|
|
17
17
|
*/
|
|
18
18
|
byId(id: string): PaymentMethodsItemRequestBuilder;
|
|
@@ -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"}
|
package/dist/sources/index.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export interface SourcesRequestBuilder extends BaseRequestBuilder<SourcesRequest
|
|
|
12
12
|
get all(): AllRequestBuilder;
|
|
13
13
|
/**
|
|
14
14
|
* Gets an item from the leadping.sources.item collection
|
|
15
|
-
* @param id
|
|
15
|
+
* @param id The ID of the source to update.
|
|
16
16
|
* @returns {SourcesItemRequestBuilder}
|
|
17
17
|
*/
|
|
18
18
|
byId(id: string): SourcesItemRequestBuilder;
|
|
@@ -22,7 +22,7 @@ export interface SuppressionsRequestBuilder extends BaseRequestBuilder<Suppressi
|
|
|
22
22
|
get release(): ReleaseRequestBuilder;
|
|
23
23
|
/**
|
|
24
24
|
* Gets an item from the leadping.suppressions.item collection
|
|
25
|
-
* @param id
|
|
25
|
+
* @param id The unique identifier of the suppression entry to retrieve.
|
|
26
26
|
* @returns {SuppressionsItemRequestBuilder}
|
|
27
27
|
*/
|
|
28
28
|
byId(id: string): SuppressionsItemRequestBuilder;
|
package/dist/tags/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type
|
|
|
7
7
|
export interface TagsRequestBuilder extends BaseRequestBuilder<TagsRequestBuilder> {
|
|
8
8
|
/**
|
|
9
9
|
* Gets an item from the leadping.tags.item collection
|
|
10
|
-
* @param id
|
|
10
|
+
* @param id The unique identifier of the tag to update.
|
|
11
11
|
* @returns {TagsItemRequestBuilder}
|
|
12
12
|
*/
|
|
13
13
|
byId(id: string): TagsItemRequestBuilder;
|
|
@@ -11,7 +11,7 @@ export interface TransactionsRequestBuilder extends BaseRequestBuilder<Transacti
|
|
|
11
11
|
get all(): AllRequestBuilder;
|
|
12
12
|
/**
|
|
13
13
|
* Gets an item from the leadping.transactions.item collection
|
|
14
|
-
* @param id
|
|
14
|
+
* @param id The ID of the transaction to retrieve.
|
|
15
15
|
* @returns {TransactionsItemRequestBuilder}
|
|
16
16
|
*/
|
|
17
17
|
byId(id: string): TransactionsItemRequestBuilder;
|
package/dist/wallets/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export interface WalletsRequestBuilder extends BaseRequestBuilder<WalletsRequest
|
|
|
11
11
|
get me(): MeRequestBuilder;
|
|
12
12
|
/**
|
|
13
13
|
* Gets an item from the leadping.wallets.item collection
|
|
14
|
-
* @param id
|
|
14
|
+
* @param id The ID of the wallet to retrieve.
|
|
15
15
|
* @returns {WalletsItemRequestBuilder}
|
|
16
16
|
*/
|
|
17
17
|
byId(id: string): WalletsItemRequestBuilder;
|
package/package.json
CHANGED