@leadping/sdk 1.0.15 → 1.0.17

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.
@@ -1,5 +1,6 @@
1
+ import { type StripePaymentMethodResponse } from '../models/index.js';
1
2
  import { type PaymentMethodsItemRequestBuilder } from './item/index.js';
2
- import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
3
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
3
4
  /**
4
5
  * Builds and executes requests for operations under /payment-methods
5
6
  */
@@ -10,6 +11,19 @@ export interface PaymentMethodsRequestBuilder extends BaseRequestBuilder<Payment
10
11
  * @returns {PaymentMethodsItemRequestBuilder}
11
12
  */
12
13
  byId(id: string): PaymentMethodsItemRequestBuilder;
14
+ /**
15
+ * Gets all cards attached to the current business billing customer.
16
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
17
+ * @returns {Promise<StripePaymentMethodResponse[]>}
18
+ * @throws {ProblemDetails} error when the service returns a 401 status code
19
+ */
20
+ get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<StripePaymentMethodResponse[] | undefined>;
21
+ /**
22
+ * Gets all cards attached to the current business billing customer.
23
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
24
+ * @returns {RequestInformation}
25
+ */
26
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
13
27
  }
14
28
  /**
15
29
  * Uri template for the request builder.
@@ -19,4 +33,8 @@ export declare const PaymentMethodsRequestBuilderUriTemplate = "{+baseurl}/payme
19
33
  * Metadata for all the navigation properties in the request builder.
20
34
  */
21
35
  export declare const PaymentMethodsRequestBuilderNavigationMetadata: Record<Exclude<keyof PaymentMethodsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
36
+ /**
37
+ * Metadata for all the requests in the request builder.
38
+ */
39
+ export declare const PaymentMethodsRequestBuilderRequestsMetadata: RequestsMetadata;
22
40
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../paymentMethods/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAoD,KAAK,gCAAgC,EAAE,MAAM,iBAAiB,CAAC;AAE1H,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAE1I;;GAEG;AACH,MAAM,WAAW,4BAA6B,SAAQ,kBAAkB,CAAC,4BAA4B,CAAC;IAClG;;;;OAIG;IACF,IAAI,CAAC,EAAE,EAAE,MAAM,GAAI,gCAAgC,CAAC;CACxD;AACD;;GAEG;AACH,eAAO,MAAM,uCAAuC,+BAA+B,CAAC;AACpF;;GAEG;AACH,eAAO,MAAM,8CAA8C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,4BAA4B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAKtK,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../paymentMethods/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA4H,KAAK,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AAEhM,OAAO,EAAwG,KAAK,gCAAgC,EAAE,MAAM,iBAAiB,CAAC;AAE9K,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,4BAA6B,SAAQ,kBAAkB,CAAC,4BAA4B,CAAC;IAClG;;;;OAIG;IACF,IAAI,CAAC,EAAE,EAAE,MAAM,GAAI,gCAAgC,CAAC;IACrD;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,2BAA2B,EAAE,GAAG,SAAS,CAAC,CAAC;IAC3H;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClH;AACD;;GAEG;AACH,eAAO,MAAM,uCAAuC,+BAA+B,CAAC;AACpF;;GAEG;AACH,eAAO,MAAM,8CAA8C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,4BAA4B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAMtK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,gBAU1D,CAAC"}
@@ -2,7 +2,9 @@
2
2
  /* eslint-disable */
3
3
  // Generated by Microsoft Kiota
4
4
  // @ts-ignore
5
- import { PaymentMethodsItemRequestBuilderRequestsMetadata } from './item/index.js';
5
+ import { createProblemDetailsFromDiscriminatorValue, createStripePaymentMethodResponseFromDiscriminatorValue } from '../models/index.js';
6
+ // @ts-ignore
7
+ import { PaymentMethodsItemRequestBuilderNavigationMetadata, PaymentMethodsItemRequestBuilderRequestsMetadata } from './item/index.js';
6
8
  /**
7
9
  * Uri template for the request builder.
8
10
  */
@@ -13,9 +15,24 @@ export const PaymentMethodsRequestBuilderUriTemplate = "{+baseurl}/payment-metho
13
15
  export const PaymentMethodsRequestBuilderNavigationMetadata = {
14
16
  byId: {
15
17
  requestsMetadata: PaymentMethodsItemRequestBuilderRequestsMetadata,
18
+ navigationMetadata: PaymentMethodsItemRequestBuilderNavigationMetadata,
16
19
  pathParametersMappings: ["id"],
17
20
  },
18
21
  };
22
+ /**
23
+ * Metadata for all the requests in the request builder.
24
+ */
25
+ export const PaymentMethodsRequestBuilderRequestsMetadata = {
26
+ get: {
27
+ uriTemplate: PaymentMethodsRequestBuilderUriTemplate,
28
+ responseBodyContentType: "application/json",
29
+ errorMappings: {
30
+ 401: createProblemDetailsFromDiscriminatorValue,
31
+ },
32
+ adapterMethodName: "sendCollection",
33
+ responseBodyFactory: createStripePaymentMethodResponseFromDiscriminatorValue,
34
+ },
35
+ };
19
36
  /* tslint:enable */
20
37
  /* eslint-enable */
21
38
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../paymentMethods/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,gDAAgD,EAAyC,MAAM,iBAAiB,CAAC;AAe1H;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAG,4BAA4B,CAAC;AACpF;;GAEG;AACH,MAAM,CAAC,MAAM,8CAA8C,GAAgH;IACvK,IAAI,EAAE;QACF,gBAAgB,EAAE,gDAAgD;QAClE,sBAAsB,EAAE,CAAC,IAAI,CAAC;KACjC;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../paymentMethods/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAE,uDAAuD,EAAyD,MAAM,oBAAoB,CAAC;AAChM,aAAa;AACb,OAAO,EAAE,kDAAkD,EAAE,gDAAgD,EAAyC,MAAM,iBAAiB,CAAC;AA4B9K;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAG,4BAA4B,CAAC;AACpF;;GAEG;AACH,MAAM,CAAC,MAAM,8CAA8C,GAAgH;IACvK,IAAI,EAAE;QACF,gBAAgB,EAAE,gDAAgD;QAClE,kBAAkB,EAAE,kDAAkD;QACtE,sBAAsB,EAAE,CAAC,IAAI,CAAC;KACjC;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAAqB;IAC1E,GAAG,EAAE;QACD,WAAW,EAAE,uCAAuC;QACpD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,gBAAgB;QACnC,mBAAmB,EAAG,uDAAuD;KAChF;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,30 @@
1
+ import { type StripePaymentMethodResponse } 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 /payment-methods/{id}/default
5
+ */
6
+ export interface DefaultRequestBuilder extends BaseRequestBuilder<DefaultRequestBuilder> {
7
+ /**
8
+ * Makes a card the default payment method for the current business.
9
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
+ * @returns {Promise<StripePaymentMethodResponse>}
11
+ * @throws {ProblemDetails} error when the service returns a 400 status code
12
+ * @throws {ProblemDetails} error when the service returns a 401 status code
13
+ */
14
+ post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<StripePaymentMethodResponse | undefined>;
15
+ /**
16
+ * Makes a card the default payment method for the current business.
17
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
18
+ * @returns {RequestInformation}
19
+ */
20
+ toPostRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
21
+ }
22
+ /**
23
+ * Uri template for the request builder.
24
+ */
25
+ export declare const DefaultRequestBuilderUriTemplate = "{+baseurl}/payment-methods/{id}/default";
26
+ /**
27
+ * Metadata for all the requests in the request builder.
28
+ */
29
+ export declare const DefaultRequestBuilderRequestsMetadata: RequestsMetadata;
30
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../paymentMethods/item/defaultEscaped/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,qBAAsB,SAAQ,kBAAkB,CAAC,qBAAqB,CAAC;IACpF;;;;;;OAMG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,2BAA2B,GAAG,SAAS,CAAC,CAAC;IAC1H;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,gCAAgC,4CAA4C,CAAC;AAC1F;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBAWnD,CAAC"}
@@ -0,0 +1,27 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createProblemDetailsFromDiscriminatorValue, createStripePaymentMethodResponseFromDiscriminatorValue } from '../../../models/index.js';
6
+ /**
7
+ * Uri template for the request builder.
8
+ */
9
+ export const DefaultRequestBuilderUriTemplate = "{+baseurl}/payment-methods/{id}/default";
10
+ /**
11
+ * Metadata for all the requests in the request builder.
12
+ */
13
+ export const DefaultRequestBuilderRequestsMetadata = {
14
+ post: {
15
+ uriTemplate: DefaultRequestBuilderUriTemplate,
16
+ responseBodyContentType: "application/json",
17
+ errorMappings: {
18
+ 400: createProblemDetailsFromDiscriminatorValue,
19
+ 401: createProblemDetailsFromDiscriminatorValue,
20
+ },
21
+ adapterMethodName: "send",
22
+ responseBodyFactory: createStripePaymentMethodResponseFromDiscriminatorValue,
23
+ },
24
+ };
25
+ /* tslint:enable */
26
+ /* eslint-enable */
27
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../paymentMethods/item/defaultEscaped/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAE,uDAAuD,EAAyD,MAAM,0BAA0B,CAAC;AAuBtM;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,yCAAyC,CAAC;AAC1F;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAqB;IACnE,IAAI,EAAE;QACF,WAAW,EAAE,gCAAgC;QAC7C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,uDAAuD;KAChF;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -1,9 +1,14 @@
1
1
  import { type StripePaymentMethodResponse } from '../../models/index.js';
2
- import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
2
+ import { type DefaultRequestBuilder } from './defaultEscaped/index.js';
3
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
3
4
  /**
4
5
  * Builds and executes requests for operations under /payment-methods/{id}
5
6
  */
6
7
  export interface PaymentMethodsItemRequestBuilder extends BaseRequestBuilder<PaymentMethodsItemRequestBuilder> {
8
+ /**
9
+ * The default property
10
+ */
11
+ get defaultEscaped(): DefaultRequestBuilder;
7
12
  /**
8
13
  * Deletes a payment method so it is no longer available for wallet funding, invoices, or billing account management.
9
14
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
@@ -38,6 +43,10 @@ export interface PaymentMethodsItemRequestBuilder extends BaseRequestBuilder<Pay
38
43
  * Uri template for the request builder.
39
44
  */
40
45
  export declare const PaymentMethodsItemRequestBuilderUriTemplate = "{+baseurl}/payment-methods/{id}";
46
+ /**
47
+ * Metadata for all the navigation properties in the request builder.
48
+ */
49
+ export declare const PaymentMethodsItemRequestBuilderNavigationMetadata: Record<Exclude<keyof PaymentMethodsItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
41
50
  /**
42
51
  * Metadata for all the requests in the request builder.
43
52
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../paymentMethods/item/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA4H,KAAK,2BAA2B,EAAE,MAAM,uBAAuB,CAAC;AAEnM,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,gCAAiC,SAAQ,kBAAkB,CAAC,gCAAgC,CAAC;IAC1G;;;;;;OAMG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;;;;OAOG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,2BAA2B,GAAG,SAAS,CAAC,CAAC;IACzH;;;;OAIG;IACF,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClH;AACD;;GAEG;AACH,eAAO,MAAM,2CAA2C,oCAAoC,CAAC;AAC7F;;GAEG;AACH,eAAO,MAAM,gDAAgD,EAAE,gBAsB9D,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../paymentMethods/item/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA4H,KAAK,2BAA2B,EAAE,MAAM,uBAAuB,CAAC;AAEnM,OAAO,EAAyC,KAAK,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAE9G,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,gCAAiC,SAAQ,kBAAkB,CAAC,gCAAgC,CAAC;IAC1G;;OAEG;IACH,IAAI,cAAc,IAAI,qBAAqB,CAAC;IAC5C;;;;;;OAMG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;;;;OAOG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,2BAA2B,GAAG,SAAS,CAAC,CAAC;IACzH;;;;OAIG;IACF,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClH;AACD;;GAEG;AACH,eAAO,MAAM,2CAA2C,oCAAoC,CAAC;AAC7F;;GAEG;AACH,eAAO,MAAM,kDAAkD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,gCAAgC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAI9K,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,gDAAgD,EAAE,gBAsB9D,CAAC"}
@@ -3,10 +3,20 @@
3
3
  // Generated by Microsoft Kiota
4
4
  // @ts-ignore
5
5
  import { createProblemDetailsFromDiscriminatorValue, createStripePaymentMethodResponseFromDiscriminatorValue } from '../../models/index.js';
6
+ // @ts-ignore
7
+ import { DefaultRequestBuilderRequestsMetadata } from './defaultEscaped/index.js';
6
8
  /**
7
9
  * Uri template for the request builder.
8
10
  */
9
11
  export const PaymentMethodsItemRequestBuilderUriTemplate = "{+baseurl}/payment-methods/{id}";
12
+ /**
13
+ * Metadata for all the navigation properties in the request builder.
14
+ */
15
+ export const PaymentMethodsItemRequestBuilderNavigationMetadata = {
16
+ defaultEscaped: {
17
+ requestsMetadata: DefaultRequestBuilderRequestsMetadata,
18
+ },
19
+ };
10
20
  /**
11
21
  * Metadata for all the requests in the request builder.
12
22
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../paymentMethods/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAE,uDAAuD,EAAyD,MAAM,uBAAuB,CAAC;AAsCnM;;GAEG;AACH,MAAM,CAAC,MAAM,2CAA2C,GAAG,iCAAiC,CAAC;AAC7F;;GAEG;AACH,MAAM,CAAC,MAAM,gDAAgD,GAAqB;IAC9E,MAAM,EAAE;QACJ,WAAW,EAAE,2CAA2C;QACxD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,uBAAuB;KAC7C;IACD,GAAG,EAAE;QACD,WAAW,EAAE,2CAA2C;QACxD,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,uDAAuD;KAChF;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../paymentMethods/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAE,uDAAuD,EAAyD,MAAM,uBAAuB,CAAC;AACnM,aAAa;AACb,OAAO,EAAE,qCAAqC,EAA8B,MAAM,2BAA2B,CAAC;AA0C9G;;GAEG;AACH,MAAM,CAAC,MAAM,2CAA2C,GAAG,iCAAiC,CAAC;AAC7F;;GAEG;AACH,MAAM,CAAC,MAAM,kDAAkD,GAAoH;IAC/K,cAAc,EAAE;QACZ,gBAAgB,EAAE,qCAAqC;KAC1D;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,gDAAgD,GAAqB;IAC9E,MAAM,EAAE;QACJ,WAAW,EAAE,2CAA2C;QACxD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,uBAAuB;KAC7C;IACD,GAAG,EAAE;QACD,WAAW,EAAE,2CAA2C;QACxD,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,uDAAuD;KAChF;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
5
5
  */
6
6
  export interface InitiateRequestBuilder extends BaseRequestBuilder<InitiateRequestBuilder> {
7
7
  /**
8
- * Returns the call details with a 200 status code.
8
+ * Starts an outbound Leadping phone call for an authenticated user and returns the provider call identifiers, status, and routing details.
9
9
  * @param body Request schema for the Leadping API phone call initiation request, including the fields clients can send.
10
10
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
11
11
  * @returns {Promise<PhoneCallResponse>}
@@ -14,7 +14,7 @@ export interface InitiateRequestBuilder extends BaseRequestBuilder<InitiateReque
14
14
  */
15
15
  post(body: InitiateCallRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PhoneCallResponse | undefined>;
16
16
  /**
17
- * Returns the call details with a 200 status code.
17
+ * Starts an outbound Leadping phone call for an authenticated user and returns the provider call identifiers, status, and routing details.
18
18
  * @param body Request schema for the Leadping API phone call initiation request, including the fields clients can send.
19
19
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
20
20
  * @returns {RequestInformation}
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
5
5
  */
6
6
  export interface HangupRequestBuilder extends BaseRequestBuilder<HangupRequestBuilder> {
7
7
  /**
8
- * Returns the call details with a 200 status code.
8
+ * Ends an active Leadping phone call by call ID and returns the updated call record, including status and provider routing details.
9
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
10
  * @returns {Promise<PhoneCallResponse>}
11
11
  * @throws {ProblemDetails} error when the service returns a 400 status code
@@ -14,7 +14,7 @@ export interface HangupRequestBuilder extends BaseRequestBuilder<HangupRequestBu
14
14
  */
15
15
  post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PhoneCallResponse | undefined>;
16
16
  /**
17
- * Returns the call details with a 200 status code.
17
+ * Ends an active Leadping phone call by call ID and returns the updated call record, including status and provider routing details.
18
18
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
19
19
  * @returns {RequestInformation}
20
20
  */
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
5
5
  */
6
6
  export interface StatusRequestBuilder extends BaseRequestBuilder<StatusRequestBuilder> {
7
7
  /**
8
- * Returns the call details with a 200 status code.
8
+ * Retrieves the latest status for a Leadping phone call by call ID, including provider state and call details for tracking progress.
9
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
10
  * @returns {Promise<PhoneCallResponse>}
11
11
  * @throws {ProblemDetails} error when the service returns a 400 status code
@@ -13,7 +13,7 @@ export interface StatusRequestBuilder extends BaseRequestBuilder<StatusRequestBu
13
13
  */
14
14
  get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PhoneCallResponse | undefined>;
15
15
  /**
16
- * Returns the call details with a 200 status code.
16
+ * Retrieves the latest status for a Leadping phone call by call ID, including provider state and call details for tracking progress.
17
17
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
18
18
  * @returns {RequestInformation}
19
19
  */
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
5
5
  */
6
6
  export interface TransferRequestBuilder extends BaseRequestBuilder<TransferRequestBuilder> {
7
7
  /**
8
- * Returns the call details with a 200 status code.
8
+ * Transfers an active Leadping phone call to a new phone number and returns the updated call record with status and routing details.
9
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
10
  * @returns {Promise<PhoneCallResponse>}
11
11
  * @throws {ProblemDetails} error when the service returns a 400 status code
@@ -14,14 +14,14 @@ export interface TransferRequestBuilder extends BaseRequestBuilder<TransferReque
14
14
  */
15
15
  post(requestConfiguration?: RequestConfiguration<TransferRequestBuilderPostQueryParameters> | undefined): Promise<PhoneCallResponse | undefined>;
16
16
  /**
17
- * Returns the call details with a 200 status code.
17
+ * Transfers an active Leadping phone call to a new phone number and returns the updated call record with status and routing details.
18
18
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
19
19
  * @returns {RequestInformation}
20
20
  */
21
21
  toPostRequestInformation(requestConfiguration?: RequestConfiguration<TransferRequestBuilderPostQueryParameters> | undefined): RequestInformation;
22
22
  }
23
23
  /**
24
- * Returns the call details with a 200 status code.
24
+ * Transfers an active Leadping phone call to a new phone number and returns the updated call record with status and routing details.
25
25
  */
26
26
  export interface TransferRequestBuilderPostQueryParameters {
27
27
  /**
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
5
5
  */
6
6
  export interface CheckRequestBuilder extends BaseRequestBuilder<CheckRequestBuilder> {
7
7
  /**
8
- * Returns the suppression check result.
8
+ * Checks whether a recipient is blocked by an active Leadping suppression entry before sending messages or placing calls through the selected channel.
9
9
  * @param body Request payload for suppression entry.
10
10
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
11
11
  * @returns {Promise<SuppressionCheckResult>}
@@ -14,7 +14,7 @@ export interface CheckRequestBuilder extends BaseRequestBuilder<CheckRequestBuil
14
14
  */
15
15
  post(body: SuppressionEntryRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SuppressionCheckResult | undefined>;
16
16
  /**
17
- * Returns the suppression check result.
17
+ * Checks whether a recipient is blocked by an active Leadping suppression entry before sending messages or placing calls through the selected channel.
18
18
  * @param body Request payload for suppression entry.
19
19
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
20
20
  * @returns {RequestInformation}
@@ -15,7 +15,7 @@ export interface SuppressionsRequestBuilder extends BaseRequestBuilder<Suppressi
15
15
  */
16
16
  get release(): ReleaseRequestBuilder;
17
17
  /**
18
- * The suppression entry response was created successfully.
18
+ * Creates or reactivates a Leadping suppression entry that blocks future outreach to a recipient across the selected communication channel.
19
19
  * @param body Request payload for suppression entry.
20
20
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
21
21
  * @returns {Promise<SuppressionEntryResponse>}
@@ -24,7 +24,7 @@ export interface SuppressionsRequestBuilder extends BaseRequestBuilder<Suppressi
24
24
  */
25
25
  post(body: SuppressionEntryRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SuppressionEntryResponse | undefined>;
26
26
  /**
27
- * The suppression entry response was created successfully.
27
+ * Creates or reactivates a Leadping suppression entry that blocks future outreach to a recipient across the selected communication channel.
28
28
  * @param body Request payload for suppression entry.
29
29
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
30
30
  * @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
- * Returns the suppression entry response.
8
+ * Releases an active Leadping suppression entry so a recipient can be contacted again, returning the updated suppression record when available.
9
9
  * @param body Request payload for suppression entry.
10
10
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
11
11
  * @returns {Promise<SuppressionEntryResponse>}
@@ -14,7 +14,7 @@ export interface ReleaseRequestBuilder extends BaseRequestBuilder<ReleaseRequest
14
14
  */
15
15
  post(body: SuppressionEntryRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SuppressionEntryResponse | undefined>;
16
16
  /**
17
- * Returns the suppression entry response.
17
+ * Releases an active Leadping suppression entry so a recipient can be contacted again, returning the updated suppression record when available.
18
18
  * @param body Request payload for suppression entry.
19
19
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
20
20
  * @returns {RequestInformation}
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
5
5
  */
6
6
  export interface LoginRequestBuilder extends BaseRequestBuilder<LoginRequestBuilder> {
7
7
  /**
8
- * Returns the telephony login response with a 200 status code.
8
+ * Generates a Leadping WebRTC login token so authenticated agents can connect to telephony services and place or receive browser-based calls.
9
9
  * @param body Request model for telephony login token generation.
10
10
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
11
11
  * @returns {Promise<TelephonyLoginResponse>}
@@ -14,7 +14,7 @@ export interface LoginRequestBuilder extends BaseRequestBuilder<LoginRequestBuil
14
14
  */
15
15
  post(body: TelephonyLoginRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<TelephonyLoginResponse | undefined>;
16
16
  /**
17
- * Returns the telephony login response with a 200 status code.
17
+ * Generates a Leadping WebRTC login token so authenticated agents can connect to telephony services and place or receive browser-based calls.
18
18
  * @param body Request model for telephony login token generation.
19
19
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
20
20
  * @returns {RequestInformation}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leadping/sdk",
3
- "version": "1.0.15",
3
+ "version": "1.0.17",
4
4
  "description": "Typed TypeScript client for the Leadping API, generated from the Leadping OpenAPI document with Microsoft Kiota.",
5
5
  "type": "module",
6
6
  "license": "MIT",