@leadping/sdk 1.0.48 → 1.0.50
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/automations/preview/index.d.ts +14 -5
- package/dist/automations/preview/index.d.ts.map +1 -1
- package/dist/automations/preview/index.js +8 -1
- package/dist/automations/preview/index.js.map +1 -1
- package/dist/blog/index.d.ts +40 -0
- package/dist/blog/index.d.ts.map +1 -0
- package/dist/blog/index.js +37 -0
- package/dist/blog/index.js.map +1 -0
- package/dist/blog/item/index.d.ts +30 -0
- package/dist/blog/item/index.d.ts.map +1 -0
- package/dist/blog/item/index.js +27 -0
- package/dist/blog/item/index.js.map +1 -0
- package/dist/conversations/index.d.ts +7 -0
- package/dist/conversations/index.d.ts.map +1 -1
- package/dist/conversations/index.js +6 -0
- package/dist/conversations/index.js.map +1 -1
- package/dist/conversations/item/index.d.ts +20 -0
- package/dist/conversations/item/index.d.ts.map +1 -0
- package/dist/conversations/item/index.js +20 -0
- package/dist/conversations/item/index.js.map +1 -0
- package/dist/conversations/item/markRead/index.d.ts +31 -0
- package/dist/conversations/item/markRead/index.d.ts.map +1 -0
- package/dist/conversations/item/markRead/index.js +29 -0
- package/dist/conversations/item/markRead/index.js.map +1 -0
- package/dist/leadStatusChanges/index.d.ts +1 -1
- package/dist/leadStatuses/index.d.ts +1 -1
- package/dist/leadpingOpenApiClient.d.ts +5 -0
- package/dist/leadpingOpenApiClient.d.ts.map +1 -1
- package/dist/leadpingOpenApiClient.js +6 -0
- package/dist/leadpingOpenApiClient.js.map +1 -1
- package/dist/leads/index.d.ts +1 -1
- package/dist/leads/item/assignment/index.d.ts +35 -0
- package/dist/leads/item/assignment/index.d.ts.map +1 -0
- package/dist/leads/item/assignment/index.js +33 -0
- package/dist/leads/item/assignment/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 +295 -8
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +272 -4
- 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/organizations/apiKeys/item/index.d.ts +6 -6
- package/dist/organizations/apiKeys/my/index.d.ts +2 -2
- package/dist/organizations/me/index.d.ts +5 -0
- package/dist/organizations/me/index.d.ts.map +1 -1
- package/dist/organizations/me/index.js +5 -0
- package/dist/organizations/me/index.js.map +1 -1
- package/dist/organizations/me/membership/index.d.ts +30 -0
- package/dist/organizations/me/membership/index.d.ts.map +1 -0
- package/dist/organizations/me/membership/index.js +28 -0
- package/dist/organizations/me/membership/index.js.map +1 -0
- package/dist/paymentMethods/index.d.ts +2 -1
- package/dist/paymentMethods/index.d.ts.map +1 -1
- package/dist/paymentMethods/index.js +1 -0
- package/dist/paymentMethods/index.js.map +1 -1
- package/dist/paymentMethods/invoices/index.d.ts +1 -0
- package/dist/paymentMethods/invoices/index.d.ts.map +1 -1
- package/dist/paymentMethods/invoices/index.js +1 -0
- package/dist/paymentMethods/invoices/index.js.map +1 -1
- package/dist/paymentMethods/invoices/item/pdfAccess/index.d.ts +1 -0
- package/dist/paymentMethods/invoices/item/pdfAccess/index.d.ts.map +1 -1
- package/dist/paymentMethods/invoices/item/pdfAccess/index.js +1 -0
- package/dist/paymentMethods/invoices/item/pdfAccess/index.js.map +1 -1
- package/dist/paymentMethods/item/defaultEscaped/index.d.ts +1 -0
- package/dist/paymentMethods/item/defaultEscaped/index.d.ts.map +1 -1
- package/dist/paymentMethods/item/defaultEscaped/index.js +1 -0
- package/dist/paymentMethods/item/defaultEscaped/index.js.map +1 -1
- package/dist/paymentMethods/item/index.d.ts +2 -0
- package/dist/paymentMethods/item/index.d.ts.map +1 -1
- package/dist/paymentMethods/item/index.js +2 -0
- package/dist/paymentMethods/item/index.js.map +1 -1
- package/dist/phoneCall/initiate/index.d.ts +2 -2
- package/dist/phoneCall/item/hangup/index.d.ts +2 -2
- package/dist/phoneCall/item/status/index.d.ts +2 -2
- package/dist/phoneCall/item/transfer/index.d.ts +3 -3
- package/dist/sms/item/cancel/index.d.ts +2 -2
- package/dist/sources/index.d.ts +4 -4
- package/dist/sources/index.d.ts.map +1 -1
- package/dist/sources/index.js +2 -2
- package/dist/sources/index.js.map +1 -1
- package/dist/sources/item/credentials/index.d.ts +20 -0
- package/dist/sources/item/credentials/index.d.ts.map +1 -0
- package/dist/sources/item/credentials/index.js +20 -0
- package/dist/sources/item/credentials/index.js.map +1 -0
- package/dist/sources/item/credentials/rotate/index.d.ts +32 -0
- package/dist/sources/item/credentials/rotate/index.d.ts.map +1 -0
- package/dist/sources/item/credentials/rotate/index.js +29 -0
- package/dist/sources/item/credentials/rotate/index.js.map +1 -0
- package/dist/sources/item/index.d.ts +5 -0
- package/dist/sources/item/index.d.ts.map +1 -1
- package/dist/sources/item/index.js +5 -0
- package/dist/sources/item/index.js.map +1 -1
- package/dist/suppressions/check/index.d.ts +2 -2
- package/dist/suppressions/index.d.ts +3 -3
- package/dist/suppressions/release/index.d.ts +2 -2
- package/dist/tags/index.d.ts +1 -1
- package/dist/telephony/login/index.d.ts +2 -2
- package/dist/transactions/index.d.ts +1 -1
- package/dist/users/changeBillingPlan/index.d.ts +1 -0
- package/dist/users/changeBillingPlan/index.d.ts.map +1 -1
- package/dist/users/changeBillingPlan/index.js +1 -0
- package/dist/users/changeBillingPlan/index.js.map +1 -1
- package/dist/users/me/index.d.ts +5 -0
- package/dist/users/me/index.d.ts.map +1 -1
- package/dist/users/me/index.js +5 -0
- package/dist/users/me/index.js.map +1 -1
- package/dist/users/me/notificationPreferences/index.d.ts +33 -0
- package/dist/users/me/notificationPreferences/index.d.ts.map +1 -0
- package/dist/users/me/notificationPreferences/index.js +31 -0
- package/dist/users/me/notificationPreferences/index.js.map +1 -0
- package/dist/users/me/paymentmethod/index.d.ts +1 -0
- package/dist/users/me/paymentmethod/index.d.ts.map +1 -1
- package/dist/users/me/paymentmethod/index.js +1 -0
- package/dist/users/me/paymentmethod/index.js.map +1 -1
- package/dist/wallets/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { type RotateRequestBuilder } from './rotate/index.js';
|
|
2
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Builds and executes requests for operations under /sources/{id}/credentials
|
|
5
|
+
*/
|
|
6
|
+
export interface CredentialsRequestBuilder extends BaseRequestBuilder<CredentialsRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* The rotate property
|
|
9
|
+
*/
|
|
10
|
+
get rotate(): RotateRequestBuilder;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Uri template for the request builder.
|
|
14
|
+
*/
|
|
15
|
+
export declare const CredentialsRequestBuilderUriTemplate = "{+baseurl}/sources/{id}/credentials";
|
|
16
|
+
/**
|
|
17
|
+
* Metadata for all the navigation properties in the request builder.
|
|
18
|
+
*/
|
|
19
|
+
export declare const CredentialsRequestBuilderNavigationMetadata: Record<Exclude<keyof CredentialsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
20
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../sources/item/credentials/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAwC,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAEpG,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAE1I;;GAEG;AACH,MAAM,WAAW,yBAA0B,SAAQ,kBAAkB,CAAC,yBAAyB,CAAC;IAC5F;;OAEG;IACH,IAAI,MAAM,IAAI,oBAAoB,CAAC;CACtC;AACD;;GAEG;AACH,eAAO,MAAM,oCAAoC,wCAAwC,CAAC;AAC1F;;GAEG;AACH,eAAO,MAAM,2CAA2C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,yBAAyB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAIhK,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { RotateRequestBuilderRequestsMetadata } from './rotate/index.js';
|
|
6
|
+
/**
|
|
7
|
+
* Uri template for the request builder.
|
|
8
|
+
*/
|
|
9
|
+
export const CredentialsRequestBuilderUriTemplate = "{+baseurl}/sources/{id}/credentials";
|
|
10
|
+
/**
|
|
11
|
+
* Metadata for all the navigation properties in the request builder.
|
|
12
|
+
*/
|
|
13
|
+
export const CredentialsRequestBuilderNavigationMetadata = {
|
|
14
|
+
rotate: {
|
|
15
|
+
requestsMetadata: RotateRequestBuilderRequestsMetadata,
|
|
16
|
+
},
|
|
17
|
+
};
|
|
18
|
+
/* tslint:enable */
|
|
19
|
+
/* eslint-enable */
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../sources/item/credentials/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,oCAAoC,EAA6B,MAAM,mBAAmB,CAAC;AAapG;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAG,qCAAqC,CAAC;AAC1F;;GAEG;AACH,MAAM,CAAC,MAAM,2CAA2C,GAA6G;IACjK,MAAM,EAAE;QACJ,gBAAgB,EAAE,oCAAoC;KACzD;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { type SourceCredentialIssueResponse } 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 /sources/{id}/credentials/rotate
|
|
5
|
+
*/
|
|
6
|
+
export interface RotateRequestBuilder extends BaseRequestBuilder<RotateRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Invalidates the current credential and returns the replacement secret once. Only its hash and short preview are retained.
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
* @returns {Promise<SourceCredentialIssueResponse>}
|
|
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
|
+
post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SourceCredentialIssueResponse | undefined>;
|
|
17
|
+
/**
|
|
18
|
+
* Invalidates the current credential and returns the replacement secret once. Only its hash and short preview are retained.
|
|
19
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
20
|
+
* @returns {RequestInformation}
|
|
21
|
+
*/
|
|
22
|
+
toPostRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Uri template for the request builder.
|
|
26
|
+
*/
|
|
27
|
+
export declare const RotateRequestBuilderUriTemplate = "{+baseurl}/sources/{id}/credentials/rotate";
|
|
28
|
+
/**
|
|
29
|
+
* Metadata for all the requests in the request builder.
|
|
30
|
+
*/
|
|
31
|
+
export declare const RotateRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
32
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../sources/item/credentials/rotate/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA8H,KAAK,6BAA6B,EAAE,MAAM,6BAA6B,CAAC;AAE7M,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,kBAAkB,CAAC,oBAAoB,CAAC;IAClF;;;;;;;;OAQG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,6BAA6B,GAAG,SAAS,CAAC,CAAC;IAC5H;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,+BAA+B,+CAA+C,CAAC;AAC5F;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,gBAalD,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createProblemDetailsFromDiscriminatorValue, createSourceCredentialIssueResponseFromDiscriminatorValue } from '../../../../models/index.js';
|
|
6
|
+
/**
|
|
7
|
+
* Uri template for the request builder.
|
|
8
|
+
*/
|
|
9
|
+
export const RotateRequestBuilderUriTemplate = "{+baseurl}/sources/{id}/credentials/rotate";
|
|
10
|
+
/**
|
|
11
|
+
* Metadata for all the requests in the request builder.
|
|
12
|
+
*/
|
|
13
|
+
export const RotateRequestBuilderRequestsMetadata = {
|
|
14
|
+
post: {
|
|
15
|
+
uriTemplate: RotateRequestBuilderUriTemplate,
|
|
16
|
+
responseBodyContentType: "application/json",
|
|
17
|
+
errorMappings: {
|
|
18
|
+
401: createProblemDetailsFromDiscriminatorValue,
|
|
19
|
+
403: createProblemDetailsFromDiscriminatorValue,
|
|
20
|
+
404: createProblemDetailsFromDiscriminatorValue,
|
|
21
|
+
429: createProblemDetailsFromDiscriminatorValue,
|
|
22
|
+
},
|
|
23
|
+
adapterMethodName: "send",
|
|
24
|
+
responseBodyFactory: createSourceCredentialIssueResponseFromDiscriminatorValue,
|
|
25
|
+
},
|
|
26
|
+
};
|
|
27
|
+
/* tslint:enable */
|
|
28
|
+
/* eslint-enable */
|
|
29
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../sources/item/credentials/rotate/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAE,yDAAyD,EAA2D,MAAM,6BAA6B,CAAC;AAyB7M;;GAEG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG,4CAA4C,CAAC;AAC5F;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAqB;IAClE,IAAI,EAAE;QACF,WAAW,EAAE,+BAA+B;QAC5C,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,yDAAyD;KAClF;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import { type SourceRequest, type SourceResponse } from '../../models/index.js';
|
|
2
|
+
import { type CredentialsRequestBuilder } from './credentials/index.js';
|
|
2
3
|
import { type MetricsRequestBuilder } from './metrics/index.js';
|
|
3
4
|
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
4
5
|
/**
|
|
5
6
|
* Builds and executes requests for operations under /sources/{id}
|
|
6
7
|
*/
|
|
7
8
|
export interface SourcesItemRequestBuilder extends BaseRequestBuilder<SourcesItemRequestBuilder> {
|
|
9
|
+
/**
|
|
10
|
+
* The credentials property
|
|
11
|
+
*/
|
|
12
|
+
get credentials(): CredentialsRequestBuilder;
|
|
8
13
|
/**
|
|
9
14
|
* The metrics property
|
|
10
15
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../sources/item/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAgK,KAAK,aAAa,EAAE,KAAK,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAE9O,OAAO,EAAyC,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAEvG,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,yBAA0B,SAAQ,kBAAkB,CAAC,yBAAyB,CAAC;IAC5F;;OAEG;IACH,IAAI,OAAO,IAAI,qBAAqB,CAAC;IACrC;;;;;;;OAOG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;;;;;OAQG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,cAAc,GAAG,SAAS,CAAC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
5
|
import { createProblemDetailsFromDiscriminatorValue, createSourceResponseFromDiscriminatorValue, serializeSourceRequest } from '../../models/index.js';
|
|
6
6
|
// @ts-ignore
|
|
7
|
+
import { CredentialsRequestBuilderNavigationMetadata } from './credentials/index.js';
|
|
8
|
+
// @ts-ignore
|
|
7
9
|
import { MetricsRequestBuilderRequestsMetadata } from './metrics/index.js';
|
|
8
10
|
/**
|
|
9
11
|
* Uri template for the request builder.
|
|
@@ -13,6 +15,9 @@ export const SourcesItemRequestBuilderUriTemplate = "{+baseurl}/sources/{id}";
|
|
|
13
15
|
* Metadata for all the navigation properties in the request builder.
|
|
14
16
|
*/
|
|
15
17
|
export const SourcesItemRequestBuilderNavigationMetadata = {
|
|
18
|
+
credentials: {
|
|
19
|
+
navigationMetadata: CredentialsRequestBuilderNavigationMetadata,
|
|
20
|
+
},
|
|
16
21
|
metrics: {
|
|
17
22
|
requestsMetadata: MetricsRequestBuilderRequestsMetadata,
|
|
18
23
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../sources/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAE,0CAA0C,EAAE,sBAAsB,EAAyF,MAAM,uBAAuB,CAAC;AAC9O,aAAa;AACb,OAAO,EAAE,qCAAqC,EAA8B,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../sources/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAE,0CAA0C,EAAE,sBAAsB,EAAyF,MAAM,uBAAuB,CAAC;AAC9O,aAAa;AACb,OAAO,EAAE,2CAA2C,EAAkC,MAAM,wBAAwB,CAAC;AACrH,aAAa;AACb,OAAO,EAAE,qCAAqC,EAA8B,MA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@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
5
5
|
*/
|
|
6
6
|
export interface CheckRequestBuilder extends BaseRequestBuilder<CheckRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* The result reflects the effective compliance state after normalization, organization scoping, and suppression-history checks.
|
|
9
9
|
* @param body Defines a recipient and communication channel to suppress, release, or check before Leadping sends outreach.
|
|
10
10
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
11
11
|
* @returns {Promise<SuppressionCheckResult>}
|
|
@@ -16,7 +16,7 @@ export interface CheckRequestBuilder extends BaseRequestBuilder<CheckRequestBuil
|
|
|
16
16
|
*/
|
|
17
17
|
post(body: SuppressionEntryRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SuppressionCheckResult | undefined>;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* The result reflects the effective compliance state after normalization, organization scoping, and suppression-history checks.
|
|
20
20
|
* @param body Defines a recipient and communication channel to suppress, release, or check before Leadping sends outreach.
|
|
21
21
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
22
|
* @returns {RequestInformation}
|
|
@@ -22,12 +22,12 @@ 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;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* The result reflects the effective compliance state after normalization, organization scoping, and suppression-history checks.
|
|
31
31
|
* @param body Defines a recipient and communication channel to suppress, release, or check before Leadping sends outreach.
|
|
32
32
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
33
33
|
* @returns {Promise<SuppressionEntryResponse>}
|
|
@@ -38,7 +38,7 @@ export interface SuppressionsRequestBuilder extends BaseRequestBuilder<Suppressi
|
|
|
38
38
|
*/
|
|
39
39
|
post(body: SuppressionEntryRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SuppressionEntryResponse | undefined>;
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
41
|
+
* The result reflects the effective compliance state after normalization, organization scoping, and suppression-history checks.
|
|
42
42
|
* @param body Defines a recipient and communication channel to suppress, release, or check before Leadping sends outreach.
|
|
43
43
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
44
44
|
* @returns {RequestInformation}
|
|
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
5
5
|
*/
|
|
6
6
|
export interface ReleaseRequestBuilder extends BaseRequestBuilder<ReleaseRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* The result reflects the effective compliance state after normalization, organization scoping, and suppression-history checks.
|
|
9
9
|
* @param body Defines a recipient and communication channel to suppress, release, or check before Leadping sends outreach.
|
|
10
10
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
11
11
|
* @returns {Promise<SuppressionEntryResponse>}
|
|
@@ -16,7 +16,7 @@ export interface ReleaseRequestBuilder extends BaseRequestBuilder<ReleaseRequest
|
|
|
16
16
|
*/
|
|
17
17
|
post(body: SuppressionEntryRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SuppressionEntryResponse | undefined>;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* The result reflects the effective compliance state after normalization, organization scoping, and suppression-history checks.
|
|
20
20
|
* @param body Defines a recipient and communication channel to suppress, release, or check before Leadping sends outreach.
|
|
21
21
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
22
|
* @returns {RequestInformation}
|
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;
|
|
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
5
5
|
*/
|
|
6
6
|
export interface LoginRequestBuilder extends BaseRequestBuilder<LoginRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* The issued client configuration is scoped to the authenticated user and contains only the short-lived credentials required by the calling client.
|
|
9
9
|
* @param body Identifies the Leadping user and calling context for which a short-lived telephony client token should be issued.
|
|
10
10
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
11
11
|
* @returns {Promise<TelephonyLoginResponse>}
|
|
@@ -16,7 +16,7 @@ export interface LoginRequestBuilder extends BaseRequestBuilder<LoginRequestBuil
|
|
|
16
16
|
*/
|
|
17
17
|
post(body: TelephonyLoginRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<TelephonyLoginResponse | undefined>;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* The issued client configuration is scoped to the authenticated user and contains only the short-lived credentials required by the calling client.
|
|
20
20
|
* @param body Identifies the Leadping user and calling context for which a short-lived telephony client token should be issued.
|
|
21
21
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
22
|
* @returns {RequestInformation}
|
|
@@ -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;
|
|
@@ -11,6 +11,7 @@ export interface ChangeBillingPlanRequestBuilder extends BaseRequestBuilder<Chan
|
|
|
11
11
|
* @returns {Promise<UserResponse>}
|
|
12
12
|
* @throws {ProblemDetails} error when the service returns a 400 status code
|
|
13
13
|
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
14
|
+
* @throws {ProblemDetails} error when the service returns a 403 status code
|
|
14
15
|
* @throws {ProblemDetails} error when the service returns a 404 status code
|
|
15
16
|
* @throws {ProblemDetails} error when the service returns a 429 status code
|
|
16
17
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../users/changeBillingPlan/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAkJ,KAAK,wBAAwB,EAAuB,KAAK,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAE9P,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
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../users/changeBillingPlan/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAkJ,KAAK,wBAAwB,EAAuB,KAAK,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAE9P,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;;;;;;;;;;OAUG;IACF,GAAG,CAAC,IAAI,EAAE,wBAAwB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,YAAY,GAAG,SAAS,CAAC,CAAC;IAC1I;;;;;OAKG;IACF,uBAAuB,CAAC,IAAI,EAAE,wBAAwB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClJ;AACD;;GAEG;AACH,eAAO,MAAM,0CAA0C,yCAAyC,CAAC;AACjG;;GAEG;AACH,eAAO,MAAM,+CAA+C,EAAE,gBAiB7D,CAAC"}
|
|
@@ -17,6 +17,7 @@ export const ChangeBillingPlanRequestBuilderRequestsMetadata = {
|
|
|
17
17
|
errorMappings: {
|
|
18
18
|
400: createProblemDetailsFromDiscriminatorValue,
|
|
19
19
|
401: createProblemDetailsFromDiscriminatorValue,
|
|
20
|
+
403: createProblemDetailsFromDiscriminatorValue,
|
|
20
21
|
404: createProblemDetailsFromDiscriminatorValue,
|
|
21
22
|
429: createProblemDetailsFromDiscriminatorValue,
|
|
22
23
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../users/changeBillingPlan/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAE,wCAAwC,EAAE,iCAAiC,EAAgG,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../users/changeBillingPlan/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAE,wCAAwC,EAAE,iCAAiC,EAAgG,MAAM,uBAAuB,CAAC;AA4B9P;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAG,sCAAsC,CAAC;AACjG;;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;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,wCAAwC;QAC9D,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,iCAAiC;QACxD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
package/dist/users/me/index.d.ts
CHANGED
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import { type UserRequest, type UserResponse } from '../../models/index.js';
|
|
2
|
+
import { type NotificationPreferencesRequestBuilder } from './notificationPreferences/index.js';
|
|
2
3
|
import { type PaymentmethodRequestBuilder } from './paymentmethod/index.js';
|
|
3
4
|
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
4
5
|
/**
|
|
5
6
|
* Builds and executes requests for operations under /users/me
|
|
6
7
|
*/
|
|
7
8
|
export interface MeRequestBuilder extends BaseRequestBuilder<MeRequestBuilder> {
|
|
9
|
+
/**
|
|
10
|
+
* The notificationPreferences property
|
|
11
|
+
*/
|
|
12
|
+
get notificationPreferences(): NotificationPreferencesRequestBuilder;
|
|
8
13
|
/**
|
|
9
14
|
* The paymentmethod property
|
|
10
15
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../users/me/index.ts"],"names":[],"mappings":"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E,MAAM,CAAC,OAAO,CAAC,MAAM,gBAAgB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAO9I,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,gCAAgC,EAAE,gBA0B9C,CAAC"}
|
package/dist/users/me/index.js
CHANGED
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
// @ts-ignore
|
|
5
5
|
import { createProblemDetailsFromDiscriminatorValue, createUserResponseFromDiscriminatorValue, serializeUserRequest } from '../../models/index.js';
|
|
6
6
|
// @ts-ignore
|
|
7
|
+
import { NotificationPreferencesRequestBuilderRequestsMetadata } from './notificationPreferences/index.js';
|
|
8
|
+
// @ts-ignore
|
|
7
9
|
import { PaymentmethodRequestBuilderRequestsMetadata } from './paymentmethod/index.js';
|
|
8
10
|
/**
|
|
9
11
|
* Uri template for the request builder.
|
|
@@ -13,6 +15,9 @@ export const MeRequestBuilderUriTemplate = "{+baseurl}/users/me";
|
|
|
13
15
|
* Metadata for all the navigation properties in the request builder.
|
|
14
16
|
*/
|
|
15
17
|
export const MeRequestBuilderNavigationMetadata = {
|
|
18
|
+
notificationPreferences: {
|
|
19
|
+
requestsMetadata: NotificationPreferencesRequestBuilderRequestsMetadata,
|
|
20
|
+
},
|
|
16
21
|
paymentmethod: {
|
|
17
22
|
requestsMetadata: PaymentmethodRequestBuilderRequestsMetadata,
|
|
18
23
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../users/me/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAE,wCAAwC,EAAE,oBAAoB,EAAmF,MAAM,uBAAuB,CAAC;AACpO,aAAa;AACb,OAAO,EAAE,2CAA2C,EAAoC,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../users/me/index.ts"],"names":[],"mappings":"AAAA,oB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../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 /users/me/notification-preferences
|
|
5
|
+
*/
|
|
6
|
+
export interface NotificationPreferencesRequestBuilder extends BaseRequestBuilder<NotificationPreferencesRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Replaces the notification channel and delivery preferences stored for the authenticated user.
|
|
9
|
+
* @param body Describes user notification preferences data used in Leadping API requests and responses.
|
|
10
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
11
|
+
* @returns {Promise<UserResponse>}
|
|
12
|
+
* @throws {ProblemDetails} error when the service returns a 400 status code
|
|
13
|
+
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
14
|
+
* @throws {ProblemDetails} error when the service returns a 429 status code
|
|
15
|
+
*/
|
|
16
|
+
put(body: UserNotificationPreferences, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<UserResponse | undefined>;
|
|
17
|
+
/**
|
|
18
|
+
* Replaces the notification channel and delivery preferences stored for the authenticated user.
|
|
19
|
+
* @param body Describes user notification preferences data used in Leadping API requests and responses.
|
|
20
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
21
|
+
* @returns {RequestInformation}
|
|
22
|
+
*/
|
|
23
|
+
toPutRequestInformation(body: UserNotificationPreferences, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Uri template for the request builder.
|
|
27
|
+
*/
|
|
28
|
+
export declare const NotificationPreferencesRequestBuilderUriTemplate = "{+baseurl}/users/me/notification-preferences";
|
|
29
|
+
/**
|
|
30
|
+
* Metadata for all the requests in the request builder.
|
|
31
|
+
*/
|
|
32
|
+
export declare const NotificationPreferencesRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
33
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../users/me/notificationPreferences/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA0K,KAAK,2BAA2B,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAEvQ,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,qCAAsC,SAAQ,kBAAkB,CAAC,qCAAqC,CAAC;IACpH;;;;;;;;OAQG;IACF,GAAG,CAAC,IAAI,EAAE,2BAA2B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,YAAY,GAAG,SAAS,CAAC,CAAC;IAC7I;;;;;OAKG;IACF,uBAAuB,CAAC,IAAI,EAAE,2BAA2B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACrJ;AACD;;GAEG;AACH,eAAO,MAAM,gDAAgD,iDAAiD,CAAC;AAC/G;;GAEG;AACH,eAAO,MAAM,qDAAqD,EAAE,gBAenE,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createProblemDetailsFromDiscriminatorValue, createUserResponseFromDiscriminatorValue, serializeUserNotificationPreferences } from '../../../models/index.js';
|
|
6
|
+
/**
|
|
7
|
+
* Uri template for the request builder.
|
|
8
|
+
*/
|
|
9
|
+
export const NotificationPreferencesRequestBuilderUriTemplate = "{+baseurl}/users/me/notification-preferences";
|
|
10
|
+
/**
|
|
11
|
+
* Metadata for all the requests in the request builder.
|
|
12
|
+
*/
|
|
13
|
+
export const NotificationPreferencesRequestBuilderRequestsMetadata = {
|
|
14
|
+
put: {
|
|
15
|
+
uriTemplate: NotificationPreferencesRequestBuilderUriTemplate,
|
|
16
|
+
responseBodyContentType: "application/json",
|
|
17
|
+
errorMappings: {
|
|
18
|
+
400: createProblemDetailsFromDiscriminatorValue,
|
|
19
|
+
401: createProblemDetailsFromDiscriminatorValue,
|
|
20
|
+
429: createProblemDetailsFromDiscriminatorValue,
|
|
21
|
+
},
|
|
22
|
+
adapterMethodName: "send",
|
|
23
|
+
responseBodyFactory: createUserResponseFromDiscriminatorValue,
|
|
24
|
+
requestBodyContentType: "application/json",
|
|
25
|
+
requestBodySerializer: serializeUserNotificationPreferences,
|
|
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":["../../../../users/me/notificationPreferences/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAE,wCAAwC,EAAE,oCAAoC,EAAmG,MAAM,0BAA0B,CAAC;AA0BvQ;;GAEG;AACH,MAAM,CAAC,MAAM,gDAAgD,GAAG,8CAA8C,CAAC;AAC/G;;GAEG;AACH,MAAM,CAAC,MAAM,qDAAqD,GAAqB;IACnF,GAAG,EAAE;QACD,WAAW,EAAE,gDAAgD;QAC7D,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,wCAAwC;QAC9D,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,oCAAoC;QAC3D,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -10,6 +10,7 @@ export interface PaymentmethodRequestBuilder extends BaseRequestBuilder<Paymentm
|
|
|
10
10
|
* @returns {Promise<StripePaymentMethodResponse>}
|
|
11
11
|
* @throws {ProblemDetails} error when the service returns a 400 status code
|
|
12
12
|
* @throws {ProblemDetails} error when the service returns a 401 status code
|
|
13
|
+
* @throws {ProblemDetails} error when the service returns a 403 status code
|
|
13
14
|
* @throws {ProblemDetails} error when the service returns a 429 status code
|
|
14
15
|
*/
|
|
15
16
|
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<StripePaymentMethodResponse | undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../users/me/paymentmethod/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA4H,KAAK,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAEtM,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
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../users/me/paymentmethod/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA4H,KAAK,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAEtM,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;;;;;;;;OAQG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,2BAA2B,GAAG,SAAS,CAAC,CAAC;IACzH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClH;AACD;;GAEG;AACH,eAAO,MAAM,sCAAsC,sCAAsC,CAAC;AAC1F;;GAEG;AACH,eAAO,MAAM,2CAA2C,EAAE,gBAazD,CAAC"}
|
|
@@ -17,6 +17,7 @@ export const PaymentmethodRequestBuilderRequestsMetadata = {
|
|
|
17
17
|
errorMappings: {
|
|
18
18
|
400: createProblemDetailsFromDiscriminatorValue,
|
|
19
19
|
401: createProblemDetailsFromDiscriminatorValue,
|
|
20
|
+
403: createProblemDetailsFromDiscriminatorValue,
|
|
20
21
|
429: createProblemDetailsFromDiscriminatorValue,
|
|
21
22
|
},
|
|
22
23
|
adapterMethodName: "send",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../users/me/paymentmethod/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAE,uDAAuD,EAAyD,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../users/me/paymentmethod/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAE,uDAAuD,EAAyD,MAAM,0BAA0B,CAAC;AAyBtM;;GAEG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAG,mCAAmC,CAAC;AAC1F;;GAEG;AACH,MAAM,CAAC,MAAM,2CAA2C,GAAqB;IACzE,GAAG,EAAE;QACD,WAAW,EAAE,sCAAsC;QACnD,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,uDAAuD;KAChF;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
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