@leadping/sdk 1.0.125 → 1.0.126

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.
Files changed (49) hide show
  1. package/dist/conversations/index.d.ts +4 -4
  2. package/dist/conversations/index.d.ts.map +1 -1
  3. package/dist/conversations/index.js +5 -5
  4. package/dist/conversations/index.js.map +1 -1
  5. package/dist/conversations/item/index.d.ts +10 -5
  6. package/dist/conversations/item/index.d.ts.map +1 -1
  7. package/dist/conversations/item/index.js +9 -4
  8. package/dist/conversations/item/index.js.map +1 -1
  9. package/dist/conversations/item/markHandled/index.d.ts +2 -2
  10. package/dist/conversations/item/markHandled/index.d.ts.map +1 -1
  11. package/dist/conversations/item/markHandled/index.js +1 -1
  12. package/dist/conversations/item/markHandled/index.js.map +1 -1
  13. package/dist/conversations/item/markRead/index.d.ts +2 -2
  14. package/dist/conversations/item/markRead/index.d.ts.map +1 -1
  15. package/dist/conversations/item/markRead/index.js +1 -1
  16. package/dist/conversations/item/markRead/index.js.map +1 -1
  17. package/dist/conversations/item/markReplyNeeded/index.d.ts +2 -2
  18. package/dist/conversations/item/markReplyNeeded/index.d.ts.map +1 -1
  19. package/dist/conversations/item/markReplyNeeded/index.js +1 -1
  20. package/dist/conversations/item/markReplyNeeded/index.js.map +1 -1
  21. package/dist/conversations/item/outboundReadiness/index.d.ts +2 -2
  22. package/dist/conversations/item/outboundReadiness/index.d.ts.map +1 -1
  23. package/dist/conversations/item/outboundReadiness/index.js +1 -1
  24. package/dist/conversations/item/outboundReadiness/index.js.map +1 -1
  25. package/dist/conversations/item/retry/index.d.ts +33 -0
  26. package/dist/conversations/item/retry/index.d.ts.map +1 -0
  27. package/dist/conversations/item/retry/index.js +31 -0
  28. package/dist/conversations/item/retry/index.js.map +1 -0
  29. package/dist/conversations/my/index.d.ts +8 -4
  30. package/dist/conversations/my/index.d.ts.map +1 -1
  31. package/dist/conversations/my/index.js +3 -3
  32. package/dist/conversations/my/index.js.map +1 -1
  33. package/dist/models/index.d.ts +98 -1
  34. package/dist/models/index.d.ts.map +1 -1
  35. package/dist/models/index.js +90 -0
  36. package/dist/models/index.js.map +1 -1
  37. package/dist/phoneCall/index.d.ts +5 -0
  38. package/dist/phoneCall/index.d.ts.map +1 -1
  39. package/dist/phoneCall/index.js +5 -0
  40. package/dist/phoneCall/index.js.map +1 -1
  41. package/dist/phoneCall/next/index.d.ts +22 -0
  42. package/dist/phoneCall/next/index.d.ts.map +1 -0
  43. package/dist/phoneCall/next/index.js +21 -0
  44. package/dist/phoneCall/next/index.js.map +1 -0
  45. package/dist/phoneCall/next/item/index.d.ts +39 -0
  46. package/dist/phoneCall/next/item/index.d.ts.map +1 -0
  47. package/dist/phoneCall/next/item/index.js +31 -0
  48. package/dist/phoneCall/next/item/index.js.map +1 -0
  49. package/package.json +1 -1
@@ -1,5 +1,6 @@
1
1
  import { type InitiateRequestBuilder } from './initiate/index.js';
2
2
  import { type WithCallItemRequestBuilder } from './item/index.js';
3
+ import { type NextRequestBuilder } from './next/index.js';
3
4
  import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
4
5
  /**
5
6
  * Builds and executes requests for operations under /phone-call
@@ -9,6 +10,10 @@ export interface PhoneCallRequestBuilder extends BaseRequestBuilder<PhoneCallReq
9
10
  * The initiate property
10
11
  */
11
12
  get initiate(): InitiateRequestBuilder;
13
+ /**
14
+ * The next property
15
+ */
16
+ get next(): NextRequestBuilder;
12
17
  /**
13
18
  * Gets an item from the leadping.phoneCall.item collection
14
19
  * @param callId The unique identifier of the call to end.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../phoneCall/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA0C,KAAK,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAE1G,OAAO,EAAE,KAAK,0BAA0B,EAAgD,MAAM,iBAAiB,CAAC;AAEhH,OAAO,EAAE,KAAK,k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,CAAC,EAAE,kBAAkB,CAW5J,CAAC"}
@@ -5,6 +5,8 @@
5
5
  import { InitiateRequestBuilderRequestsMetadata } from './initiate/index.js';
6
6
  // @ts-ignore
7
7
  import { WithCallItemRequestBuilderNavigationMetadata } from './item/index.js';
8
+ // @ts-ignore
9
+ import { NextRequestBuilderNavigationMetadata } from './next/index.js';
8
10
  /**
9
11
  * Uri template for the request builder.
10
12
  */
@@ -20,6 +22,9 @@ export const PhoneCallRequestBuilderNavigationMetadata = {
20
22
  initiate: {
21
23
  requestsMetadata: InitiateRequestBuilderRequestsMetadata,
22
24
  },
25
+ next: {
26
+ navigationMetadata: NextRequestBuilderNavigationMetadata,
27
+ },
23
28
  };
24
29
  /* tslint:enable */
25
30
  /* eslint-enable */
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../phoneCall/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,sCAAsC,EAA+B,MAAM,qBAAqB,CAAC;AAC1G,aAAa;AACb,OAAO,EAAmC,4CAA4C,EAAE,MAAM,iBAAiB,CAAC;AAmBhH;;GAEG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAAG,uBAAuB,CAAC;AAC1E;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAA2G;IAC7J,QAAQ,EAAE;QACN,kBAAkB,EAAE,4CAA4C;QAChE,sBAAsB,EAAE,CAAC,QAAQ,CAAC;KACrC;IACD,QAAQ,EAAE;QACN,gBAAgB,EAAE,sCAAsC;KAC3D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../phoneCall/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,sCAAsC,EAA+B,MAAM,qBAAqB,CAAC;AAC1G,aAAa;AACb,OAAO,EAAmC,4CAA4C,EAAE,MAAM,iBAAiB,CAAC;AAChH,aAAa;AACb,OAAO,EAAE,oCAAoC,EAA2B,MAAM,iBAAiB,CAAC;AAuBhG;;GAEG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAAG,uBAAuB,CAAC;AAC1E;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAA2G;IAC7J,QAAQ,EAAE;QACN,kBAAkB,EAAE,4CAA4C;QAChE,sBAAsB,EAAE,CAAC,QAAQ,CAAC;KACrC;IACD,QAAQ,EAAE;QACN,gBAAgB,EAAE,sCAAsC;KAC3D;IACD,IAAI,EAAE;QACF,kBAAkB,EAAE,oCAAoC;KAC3D;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
5
+ */
6
+ export interface NextRequestBuilder extends BaseRequestBuilder<NextRequestBuilder> {
7
+ /**
8
+ * Gets an item from the leadping.phoneCall.next.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 NextRequestBuilderUriTemplate = "{+baseurl}/phone-call/next";
18
+ /**
19
+ * Metadata for all the navigation properties in the request builder.
20
+ */
21
+ export declare const NextRequestBuilderNavigationMetadata: Record<Exclude<keyof NextRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
22
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +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"}
@@ -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 NextRequestBuilderUriTemplate = "{+baseurl}/phone-call/next";
10
+ /**
11
+ * Metadata for all the navigation properties in the request builder.
12
+ */
13
+ export const NextRequestBuilderNavigationMetadata = {
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/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"}
@@ -0,0 +1,39 @@
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/{requestId}
5
+ */
6
+ export interface WithRequestItemRequestBuilder extends BaseRequestBuilder<WithRequestItemRequestBuilder> {
7
+ /**
8
+ * Starts the next eligible call in the rep's filtered inbox.
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<WithRequestItemRequestBuilderPostQueryParameters> | undefined): Promise<ArrayBuffer | undefined>;
17
+ /**
18
+ * Starts the next eligible call in the rep's filtered inbox.
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<WithRequestItemRequestBuilderPostQueryParameters> | undefined): RequestInformation;
24
+ }
25
+ /**
26
+ * Starts the next eligible call in the rep's filtered inbox.
27
+ */
28
+ export interface WithRequestItemRequestBuilderPostQueryParameters {
29
+ texting?: boolean;
30
+ }
31
+ /**
32
+ * Uri template for the request builder.
33
+ */
34
+ export declare const WithRequestItemRequestBuilderUriTemplate = "{+baseurl}/phone-call/next/{requestId}{?texting*}";
35
+ /**
36
+ * Metadata for all the requests in the request builder.
37
+ */
38
+ export declare const WithRequestItemRequestBuilderRequestsMetadata: RequestsMetadata;
39
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../phoneCall/next/item/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAgG,KAAK,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAEjK,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,gDAAgD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IAC9K;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,gDAAgD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACvL;AACD;;GAEG;AACH,MAAM,WAAW,gDAAgD;IAC7D,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,wCAAwC,sDAAsD,CAAC;AAC5G;;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/{requestId}{?texting*}";
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/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAE,2BAA2B,EAAgD,MAAM,0BAA0B,CAAC;AAgCjK;;GAEG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAG,mDAAmD,CAAC;AAC5G;;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.125",
3
+ "version": "1.0.126",
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",