@leadping/sdk 1.0.142 → 1.0.143

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,9 +1,14 @@
1
1
  import { type WithRequestItemRequestBuilder } from './item/index.js';
2
+ import { type MobileRequestBuilder } from './mobile/index.js';
2
3
  import { type BaseRequestBuilder, type Guid, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
3
4
  /**
4
5
  * Builds and executes requests for operations under /phone-call/next
5
6
  */
6
7
  export interface NextRequestBuilder extends BaseRequestBuilder<NextRequestBuilder> {
8
+ /**
9
+ * The mobile property
10
+ */
11
+ get mobile(): MobileRequestBuilder;
7
12
  /**
8
13
  * Gets an item from the leadping.phoneCall.next.item collection
9
14
  * @param requestId Unique identifier of the item
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../phoneCall/next/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,6BAA6B,EAAiD,MAAM,iBAAiB,CAAC;AAEpH,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,IAAI,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAErJ;;GAEG;AACH,MAAM,WAAW,kBAAmB,SAAQ,kBAAkB,CAAC,kBAAkB,CAAC;IAC9E;;;;OAIG;IACF,WAAW,CAAC,SAAS,EAAE,IAAI,GAAI,6BAA6B,CAAC;CACjE;AACD;;GAEG;AACH,eAAO,MAAM,6BAA6B,+BAA+B,CAAC;AAC1E;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,kBAAkB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAKlJ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../phoneCall/next/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,6BAA6B,EAAiD,MAAM,iBAAiB,CAAC;AAEpH,OAAO,EAA0C,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAEtG,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,IAAI,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAErJ;;GAEG;AACH,MAAM,WAAW,kBAAmB,SAAQ,kBAAkB,CAAC,kBAAkB,CAAC;IAC9E;;OAEG;IACH,IAAI,MAAM,IAAI,oBAAoB,CAAC;IACnC;;;;OAIG;IACF,WAAW,CAAC,SAAS,EAAE,IAAI,GAAI,6BAA6B,CAAC;CACjE;AACD;;GAEG;AACH,eAAO,MAAM,6BAA6B,+BAA+B,CAAC;AAC1E;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,kBAAkB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAQlJ,CAAC"}
@@ -3,6 +3,8 @@
3
3
  // Generated by Microsoft Kiota
4
4
  // @ts-ignore
5
5
  import { WithRequestItemRequestBuilderRequestsMetadata } from './item/index.js';
6
+ // @ts-ignore
7
+ import { MobileRequestBuilderNavigationMetadata } from './mobile/index.js';
6
8
  /**
7
9
  * Uri template for the request builder.
8
10
  */
@@ -15,6 +17,9 @@ export const NextRequestBuilderNavigationMetadata = {
15
17
  requestsMetadata: WithRequestItemRequestBuilderRequestsMetadata,
16
18
  pathParametersMappings: ["requestId"],
17
19
  },
20
+ mobile: {
21
+ navigationMetadata: MobileRequestBuilderNavigationMetadata,
22
+ },
18
23
  };
19
24
  /* tslint:enable */
20
25
  /* eslint-enable */
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../phoneCall/next/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAsC,6CAA6C,EAAE,MAAM,iBAAiB,CAAC;AAepH;;GAEG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAG,4BAA4B,CAAC;AAC1E;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAsG;IACnJ,WAAW,EAAE;QACT,gBAAgB,EAAE,6CAA6C;QAC/D,sBAAsB,EAAE,CAAC,WAAW,CAAC;KACxC;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../phoneCall/next/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAsC,6CAA6C,EAAE,MAAM,iBAAiB,CAAC;AACpH,aAAa;AACb,OAAO,EAAE,sCAAsC,EAA6B,MAAM,mBAAmB,CAAC;AAmBtG;;GAEG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAG,4BAA4B,CAAC;AAC1E;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAsG;IACnJ,WAAW,EAAE;QACT,gBAAgB,EAAE,6CAA6C;QAC/D,sBAAsB,EAAE,CAAC,WAAW,CAAC;KACxC;IACD,MAAM,EAAE;QACJ,kBAAkB,EAAE,sCAAsC;KAC7D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,22 @@
1
+ import { type WithRequestItemRequestBuilder } from './item/index.js';
2
+ import { type BaseRequestBuilder, type Guid, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Builds and executes requests for operations under /phone-call/next/mobile
5
+ */
6
+ export interface MobileRequestBuilder extends BaseRequestBuilder<MobileRequestBuilder> {
7
+ /**
8
+ * Gets an item from the leadping.phoneCall.next.mobile.item collection
9
+ * @param requestId Unique identifier of the item
10
+ * @returns {WithRequestItemRequestBuilder}
11
+ */
12
+ byRequestId(requestId: Guid): WithRequestItemRequestBuilder;
13
+ }
14
+ /**
15
+ * Uri template for the request builder.
16
+ */
17
+ export declare const MobileRequestBuilderUriTemplate = "{+baseurl}/phone-call/next/mobile";
18
+ /**
19
+ * Metadata for all the navigation properties in the request builder.
20
+ */
21
+ export declare const MobileRequestBuilderNavigationMetadata: Record<Exclude<keyof MobileRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
22
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../phoneCall/next/mobile/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,6BAA6B,EAAiD,MAAM,iBAAiB,CAAC;AAEpH,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,IAAI,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAErJ;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,kBAAkB,CAAC,oBAAoB,CAAC;IAClF;;;;OAIG;IACF,WAAW,CAAC,SAAS,EAAE,IAAI,GAAI,6BAA6B,CAAC;CACjE;AACD;;GAEG;AACH,eAAO,MAAM,+BAA+B,sCAAsC,CAAC;AACnF;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,oBAAoB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAKtJ,CAAC"}
@@ -0,0 +1,21 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { WithRequestItemRequestBuilderRequestsMetadata } from './item/index.js';
6
+ /**
7
+ * Uri template for the request builder.
8
+ */
9
+ export const MobileRequestBuilderUriTemplate = "{+baseurl}/phone-call/next/mobile";
10
+ /**
11
+ * Metadata for all the navigation properties in the request builder.
12
+ */
13
+ export const MobileRequestBuilderNavigationMetadata = {
14
+ byRequestId: {
15
+ requestsMetadata: WithRequestItemRequestBuilderRequestsMetadata,
16
+ pathParametersMappings: ["requestId"],
17
+ },
18
+ };
19
+ /* tslint:enable */
20
+ /* eslint-enable */
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../phoneCall/next/mobile/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAsC,6CAA6C,EAAE,MAAM,iBAAiB,CAAC;AAepH;;GAEG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG,mCAAmC,CAAC;AACnF;;GAEG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAwG;IACvJ,WAAW,EAAE;QACT,gBAAgB,EAAE,6CAA6C;QAC/D,sBAAsB,EAAE,CAAC,WAAW,CAAC;KACxC;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,33 @@
1
+ import { type RequestDataOptions } 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 /phone-call/next/mobile/{requestId}
5
+ */
6
+ export interface WithRequestItemRequestBuilder extends BaseRequestBuilder<WithRequestItemRequestBuilder> {
7
+ /**
8
+ * Starts the next eligible call using the mobile phone bridge.
9
+ * @param body Defines cursor pagination, sorting, search, exact-match filters, and range filters for a structured API query.
10
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
11
+ * @returns {Promise<ArrayBuffer>}
12
+ * @throws {ProblemDetails} error when the service returns a 401 status code
13
+ * @throws {ProblemDetails} error when the service returns a 403 status code
14
+ * @throws {ProblemDetails} error when the service returns a 429 status code
15
+ */
16
+ post(body: RequestDataOptions, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
17
+ /**
18
+ * Starts the next eligible call using the mobile phone bridge.
19
+ * @param body Defines cursor pagination, sorting, search, exact-match filters, and range filters for a structured API query.
20
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
21
+ * @returns {RequestInformation}
22
+ */
23
+ toPostRequestInformation(body: RequestDataOptions, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
24
+ }
25
+ /**
26
+ * Uri template for the request builder.
27
+ */
28
+ export declare const WithRequestItemRequestBuilderUriTemplate = "{+baseurl}/phone-call/next/mobile/{requestId}";
29
+ /**
30
+ * Metadata for all the requests in the request builder.
31
+ */
32
+ export declare const WithRequestItemRequestBuilderRequestsMetadata: RequestsMetadata;
33
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../phoneCall/next/mobile/item/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAgG,KAAK,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAEpK,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,6BAA8B,SAAQ,kBAAkB,CAAC,6BAA6B,CAAC;IACpG;;;;;;;;OAQG;IACF,IAAI,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IACpI;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC7I;AACD;;GAEG;AACH,eAAO,MAAM,wCAAwC,kDAAkD,CAAC;AACxG;;GAEG;AACH,eAAO,MAAM,6CAA6C,EAAE,gBAe3D,CAAC"}
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createProblemDetailsFromDiscriminatorValue, serializeRequestDataOptions } from '../../../../models/index.js';
6
+ /**
7
+ * Uri template for the request builder.
8
+ */
9
+ export const WithRequestItemRequestBuilderUriTemplate = "{+baseurl}/phone-call/next/mobile/{requestId}";
10
+ /**
11
+ * Metadata for all the requests in the request builder.
12
+ */
13
+ export const WithRequestItemRequestBuilderRequestsMetadata = {
14
+ post: {
15
+ uriTemplate: WithRequestItemRequestBuilderUriTemplate,
16
+ responseBodyContentType: "application/problem+json",
17
+ errorMappings: {
18
+ 401: createProblemDetailsFromDiscriminatorValue,
19
+ 403: createProblemDetailsFromDiscriminatorValue,
20
+ 429: createProblemDetailsFromDiscriminatorValue,
21
+ },
22
+ adapterMethodName: "sendPrimitive",
23
+ responseBodyFactory: "ArrayBuffer",
24
+ requestBodyContentType: "application/json",
25
+ requestBodySerializer: serializeRequestDataOptions,
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":["../../../../../phoneCall/next/mobile/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAE,2BAA2B,EAAgD,MAAM,6BAA6B,CAAC;AA0BpK;;GAEG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAG,+CAA+C,CAAC;AACxG;;GAEG;AACH,MAAM,CAAC,MAAM,6CAA6C,GAAqB;IAC3E,IAAI,EAAE;QACF,WAAW,EAAE,wCAAwC;QACrD,uBAAuB,EAAE,0BAA0B;QACnD,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,eAAe;QAClC,mBAAmB,EAAG,aAAa;QACnC,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,2BAA2B;QAClD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leadping/sdk",
3
- "version": "1.0.142",
3
+ "version": "1.0.143",
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",