@leadping/sdk 1.0.13 → 1.0.15

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 (57) hide show
  1. package/dist/leadpingOpenApiClient.d.ts +15 -0
  2. package/dist/leadpingOpenApiClient.d.ts.map +1 -1
  3. package/dist/leadpingOpenApiClient.js +16 -0
  4. package/dist/leadpingOpenApiClient.js.map +1 -1
  5. package/dist/models/index.d.ts +725 -2
  6. package/dist/models/index.d.ts.map +1 -1
  7. package/dist/models/index.js +615 -0
  8. package/dist/models/index.js.map +1 -1
  9. package/dist/phoneCall/index.d.ts +27 -0
  10. package/dist/phoneCall/index.d.ts.map +1 -0
  11. package/dist/phoneCall/index.js +26 -0
  12. package/dist/phoneCall/index.js.map +1 -0
  13. package/dist/phoneCall/initiate/index.d.ts +32 -0
  14. package/dist/phoneCall/initiate/index.d.ts.map +1 -0
  15. package/dist/phoneCall/initiate/index.js +30 -0
  16. package/dist/phoneCall/initiate/index.js.map +1 -0
  17. package/dist/phoneCall/item/hangup/index.d.ts +31 -0
  18. package/dist/phoneCall/item/hangup/index.d.ts.map +1 -0
  19. package/dist/phoneCall/item/hangup/index.js +28 -0
  20. package/dist/phoneCall/item/hangup/index.js.map +1 -0
  21. package/dist/phoneCall/item/index.d.ts +30 -0
  22. package/dist/phoneCall/item/index.d.ts.map +1 -0
  23. package/dist/phoneCall/item/index.js +30 -0
  24. package/dist/phoneCall/item/index.js.map +1 -0
  25. package/dist/phoneCall/item/status/index.d.ts +30 -0
  26. package/dist/phoneCall/item/status/index.d.ts.map +1 -0
  27. package/dist/phoneCall/item/status/index.js +27 -0
  28. package/dist/phoneCall/item/status/index.js.map +1 -0
  29. package/dist/phoneCall/item/transfer/index.d.ts +40 -0
  30. package/dist/phoneCall/item/transfer/index.d.ts.map +1 -0
  31. package/dist/phoneCall/item/transfer/index.js +28 -0
  32. package/dist/phoneCall/item/transfer/index.js.map +1 -0
  33. package/dist/suppressions/check/index.d.ts +32 -0
  34. package/dist/suppressions/check/index.d.ts.map +1 -0
  35. package/dist/suppressions/check/index.js +30 -0
  36. package/dist/suppressions/check/index.js.map +1 -0
  37. package/dist/suppressions/index.d.ts +46 -0
  38. package/dist/suppressions/index.d.ts.map +1 -0
  39. package/dist/suppressions/index.js +45 -0
  40. package/dist/suppressions/index.js.map +1 -0
  41. package/dist/suppressions/release/index.d.ts +32 -0
  42. package/dist/suppressions/release/index.d.ts.map +1 -0
  43. package/dist/suppressions/release/index.js +30 -0
  44. package/dist/suppressions/release/index.js.map +1 -0
  45. package/dist/telephony/index.d.ts +20 -0
  46. package/dist/telephony/index.d.ts.map +1 -0
  47. package/dist/telephony/index.js +20 -0
  48. package/dist/telephony/index.js.map +1 -0
  49. package/dist/telephony/login/index.d.ts +32 -0
  50. package/dist/telephony/login/index.d.ts.map +1 -0
  51. package/dist/telephony/login/index.js +30 -0
  52. package/dist/telephony/login/index.js.map +1 -0
  53. package/dist/transactions/all/my/index.d.ts +10 -3
  54. package/dist/transactions/all/my/index.d.ts.map +1 -1
  55. package/dist/transactions/all/my/index.js +1 -1
  56. package/dist/transactions/all/my/index.js.map +1 -1
  57. package/package.json +1 -1
@@ -0,0 +1,27 @@
1
+ import { type InitiateRequestBuilder } from './initiate/index.js';
2
+ import { type WithCallItemRequestBuilder } from './item/index.js';
3
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
4
+ /**
5
+ * Builds and executes requests for operations under /phone-call
6
+ */
7
+ export interface PhoneCallRequestBuilder extends BaseRequestBuilder<PhoneCallRequestBuilder> {
8
+ /**
9
+ * The initiate property
10
+ */
11
+ get initiate(): InitiateRequestBuilder;
12
+ /**
13
+ * Gets an item from the leadping.phoneCall.item collection
14
+ * @param callId The unique identifier of the call to end.
15
+ * @returns {WithCallItemRequestBuilder}
16
+ */
17
+ byCallId(callId: string): WithCallItemRequestBuilder;
18
+ }
19
+ /**
20
+ * Uri template for the request builder.
21
+ */
22
+ export declare const PhoneCallRequestBuilderUriTemplate = "{+baseurl}/phone-call";
23
+ /**
24
+ * Metadata for all the navigation properties in the request builder.
25
+ */
26
+ export declare const PhoneCallRequestBuilderNavigationMetadata: Record<Exclude<keyof PhoneCallRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
27
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +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,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAE1I;;GAEG;AACH,MAAM,WAAW,uBAAwB,SAAQ,kBAAkB,CAAC,uBAAuB,CAAC;IACxF;;OAEG;IACH,IAAI,QAAQ,IAAI,sBAAsB,CAAC;IACvC;;;;OAIG;IACF,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAI,0BAA0B,CAAC;CAC1D;AACD;;GAEG;AACH,eAAO,MAAM,kCAAkC,0BAA0B,CAAC;AAC1E;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,uBAAuB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAQ5J,CAAC"}
@@ -0,0 +1,26 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { InitiateRequestBuilderRequestsMetadata } from './initiate/index.js';
6
+ // @ts-ignore
7
+ import { WithCallItemRequestBuilderNavigationMetadata } from './item/index.js';
8
+ /**
9
+ * Uri template for the request builder.
10
+ */
11
+ export const PhoneCallRequestBuilderUriTemplate = "{+baseurl}/phone-call";
12
+ /**
13
+ * Metadata for all the navigation properties in the request builder.
14
+ */
15
+ export const PhoneCallRequestBuilderNavigationMetadata = {
16
+ byCallId: {
17
+ navigationMetadata: WithCallItemRequestBuilderNavigationMetadata,
18
+ pathParametersMappings: ["callId"],
19
+ },
20
+ initiate: {
21
+ requestsMetadata: InitiateRequestBuilderRequestsMetadata,
22
+ },
23
+ };
24
+ /* tslint:enable */
25
+ /* eslint-enable */
26
+ //# sourceMappingURL=index.js.map
@@ -0,0 +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"}
@@ -0,0 +1,32 @@
1
+ import { type InitiateCallRequest, type PhoneCallResponse } 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/initiate
5
+ */
6
+ export interface InitiateRequestBuilder extends BaseRequestBuilder<InitiateRequestBuilder> {
7
+ /**
8
+ * Returns the call details with a 200 status code.
9
+ * @param body Request schema for the Leadping API phone call initiation request, including the fields clients can send.
10
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
11
+ * @returns {Promise<PhoneCallResponse>}
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
+ */
15
+ post(body: InitiateCallRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PhoneCallResponse | undefined>;
16
+ /**
17
+ * Returns the call details with a 200 status code.
18
+ * @param body Request schema for the Leadping API phone call initiation request, including the fields clients can send.
19
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
20
+ * @returns {RequestInformation}
21
+ */
22
+ toPostRequestInformation(body: InitiateCallRequest, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
23
+ }
24
+ /**
25
+ * Uri template for the request builder.
26
+ */
27
+ export declare const InitiateRequestBuilderUriTemplate = "{+baseurl}/phone-call/initiate";
28
+ /**
29
+ * Metadata for all the requests in the request builder.
30
+ */
31
+ export declare const InitiateRequestBuilderRequestsMetadata: RequestsMetadata;
32
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../phoneCall/initiate/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAuJ,KAAK,mBAAmB,EAAE,KAAK,iBAAiB,EAAuB,MAAM,uBAAuB,CAAC;AAEnQ,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,sBAAuB,SAAQ,kBAAkB,CAAC,sBAAsB,CAAC;IACtF;;;;;;;OAOG;IACF,IAAI,CAAC,IAAI,EAAE,mBAAmB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,iBAAiB,GAAG,SAAS,CAAC,CAAC;IAC3I;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,mBAAmB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC9I;AACD;;GAEG;AACH,eAAO,MAAM,iCAAiC,mCAAmC,CAAC;AAClF;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,gBAcpD,CAAC"}
@@ -0,0 +1,30 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createPhoneCallResponseFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue, serializeInitiateCallRequest } from '../../models/index.js';
6
+ /**
7
+ * Uri template for the request builder.
8
+ */
9
+ export const InitiateRequestBuilderUriTemplate = "{+baseurl}/phone-call/initiate";
10
+ /**
11
+ * Metadata for all the requests in the request builder.
12
+ */
13
+ export const InitiateRequestBuilderRequestsMetadata = {
14
+ post: {
15
+ uriTemplate: InitiateRequestBuilderUriTemplate,
16
+ responseBodyContentType: "application/json",
17
+ errorMappings: {
18
+ 400: createProblemDetailsFromDiscriminatorValue,
19
+ 401: createProblemDetailsFromDiscriminatorValue,
20
+ },
21
+ adapterMethodName: "send",
22
+ responseBodyFactory: createPhoneCallResponseFromDiscriminatorValue,
23
+ requestBodyContentType: "application/json",
24
+ requestBodySerializer: serializeInitiateCallRequest,
25
+ requestInformationContentSetMethod: "setContentFromParsable",
26
+ },
27
+ };
28
+ /* tslint:enable */
29
+ /* eslint-enable */
30
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../phoneCall/initiate/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,6CAA6C,EAAE,0CAA0C,EAAE,4BAA4B,EAAqG,MAAM,uBAAuB,CAAC;AAyBnQ;;GAEG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAG,gCAAgC,CAAC;AAClF;;GAEG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAqB;IACpE,IAAI,EAAE;QACF,WAAW,EAAE,iCAAiC;QAC9C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,6CAA6C;QACnE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,4BAA4B;QACnD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,31 @@
1
+ import { type PhoneCallResponse } 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/{callId}/hangup
5
+ */
6
+ export interface HangupRequestBuilder extends BaseRequestBuilder<HangupRequestBuilder> {
7
+ /**
8
+ * Returns the call details with a 200 status code.
9
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
+ * @returns {Promise<PhoneCallResponse>}
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
+ * @throws {ProblemDetails} error when the service returns a 404 status code
14
+ */
15
+ post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PhoneCallResponse | undefined>;
16
+ /**
17
+ * Returns the call details with a 200 status code.
18
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
19
+ * @returns {RequestInformation}
20
+ */
21
+ toPostRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
22
+ }
23
+ /**
24
+ * Uri template for the request builder.
25
+ */
26
+ export declare const HangupRequestBuilderUriTemplate = "{+baseurl}/phone-call/{callId}/hangup";
27
+ /**
28
+ * Metadata for all the requests in the request builder.
29
+ */
30
+ export declare const HangupRequestBuilderRequestsMetadata: RequestsMetadata;
31
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../phoneCall/item/hangup/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA6F,KAAK,iBAAiB,EAAuB,MAAM,0BAA0B,CAAC;AAElL,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;;;;;;;OAOG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,iBAAiB,GAAG,SAAS,CAAC,CAAC;IAChH;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,+BAA+B,0CAA0C,CAAC;AACvF;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,gBAYlD,CAAC"}
@@ -0,0 +1,28 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createPhoneCallResponseFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue } from '../../../models/index.js';
6
+ /**
7
+ * Uri template for the request builder.
8
+ */
9
+ export const HangupRequestBuilderUriTemplate = "{+baseurl}/phone-call/{callId}/hangup";
10
+ /**
11
+ * Metadata for all the requests in the request builder.
12
+ */
13
+ export const HangupRequestBuilderRequestsMetadata = {
14
+ post: {
15
+ uriTemplate: HangupRequestBuilderUriTemplate,
16
+ responseBodyContentType: "application/json",
17
+ errorMappings: {
18
+ 400: createProblemDetailsFromDiscriminatorValue,
19
+ 401: createProblemDetailsFromDiscriminatorValue,
20
+ 404: createProblemDetailsFromDiscriminatorValue,
21
+ },
22
+ adapterMethodName: "send",
23
+ responseBodyFactory: createPhoneCallResponseFromDiscriminatorValue,
24
+ },
25
+ };
26
+ /* tslint:enable */
27
+ /* eslint-enable */
28
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../phoneCall/item/hangup/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,6CAA6C,EAAE,0CAA0C,EAA+C,MAAM,0BAA0B,CAAC;AAwBlL;;GAEG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG,uCAAuC,CAAC;AACvF;;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;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,6CAA6C;KACtE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,30 @@
1
+ import { type HangupRequestBuilder } from './hangup/index.js';
2
+ import { type StatusRequestBuilder } from './status/index.js';
3
+ import { type TransferRequestBuilder } from './transfer/index.js';
4
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
5
+ /**
6
+ * Builds and executes requests for operations under /phone-call/{callId}
7
+ */
8
+ export interface WithCallItemRequestBuilder extends BaseRequestBuilder<WithCallItemRequestBuilder> {
9
+ /**
10
+ * The hangup property
11
+ */
12
+ get hangup(): HangupRequestBuilder;
13
+ /**
14
+ * The status property
15
+ */
16
+ get status(): StatusRequestBuilder;
17
+ /**
18
+ * The transfer property
19
+ */
20
+ get transfer(): TransferRequestBuilder;
21
+ }
22
+ /**
23
+ * Uri template for the request builder.
24
+ */
25
+ export declare const WithCallItemRequestBuilderUriTemplate = "{+baseurl}/phone-call/{callId}";
26
+ /**
27
+ * Metadata for all the navigation properties in the request builder.
28
+ */
29
+ export declare const WithCallItemRequestBuilderNavigationMetadata: Record<Exclude<keyof WithCallItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
30
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../phoneCall/item/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAwC,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAEpG,OAAO,EAAwC,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAEpG,OAAO,EAA0C,KAAK,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAE1G,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAE1I;;GAEG;AACH,MAAM,WAAW,0BAA2B,SAAQ,kBAAkB,CAAC,0BAA0B,CAAC;IAC9F;;OAEG;IACH,IAAI,MAAM,IAAI,oBAAoB,CAAC;IACnC;;OAEG;IACH,IAAI,MAAM,IAAI,oBAAoB,CAAC;IACnC;;OAEG;IACH,IAAI,QAAQ,IAAI,sBAAsB,CAAC;CAC1C;AACD;;GAEG;AACH,eAAO,MAAM,qCAAqC,mCAAmC,CAAC;AACtF;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,0BAA0B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAUlK,CAAC"}
@@ -0,0 +1,30 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { HangupRequestBuilderRequestsMetadata } from './hangup/index.js';
6
+ // @ts-ignore
7
+ import { StatusRequestBuilderRequestsMetadata } from './status/index.js';
8
+ // @ts-ignore
9
+ import { TransferRequestBuilderRequestsMetadata } from './transfer/index.js';
10
+ /**
11
+ * Uri template for the request builder.
12
+ */
13
+ export const WithCallItemRequestBuilderUriTemplate = "{+baseurl}/phone-call/{callId}";
14
+ /**
15
+ * Metadata for all the navigation properties in the request builder.
16
+ */
17
+ export const WithCallItemRequestBuilderNavigationMetadata = {
18
+ hangup: {
19
+ requestsMetadata: HangupRequestBuilderRequestsMetadata,
20
+ },
21
+ status: {
22
+ requestsMetadata: StatusRequestBuilderRequestsMetadata,
23
+ },
24
+ transfer: {
25
+ requestsMetadata: TransferRequestBuilderRequestsMetadata,
26
+ },
27
+ };
28
+ /* tslint:enable */
29
+ /* eslint-enable */
30
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../phoneCall/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,oCAAoC,EAA6B,MAAM,mBAAmB,CAAC;AACpG,aAAa;AACb,OAAO,EAAE,oCAAoC,EAA6B,MAAM,mBAAmB,CAAC;AACpG,aAAa;AACb,OAAO,EAAE,sCAAsC,EAA+B,MAAM,qBAAqB,CAAC;AAqB1G;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAG,gCAAgC,CAAC;AACtF;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAA8G;IACnK,MAAM,EAAE;QACJ,gBAAgB,EAAE,oCAAoC;KACzD;IACD,MAAM,EAAE;QACJ,gBAAgB,EAAE,oCAAoC;KACzD;IACD,QAAQ,EAAE;QACN,gBAAgB,EAAE,sCAAsC;KAC3D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,30 @@
1
+ import { type PhoneCallResponse } 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/{callId}/status
5
+ */
6
+ export interface StatusRequestBuilder extends BaseRequestBuilder<StatusRequestBuilder> {
7
+ /**
8
+ * Returns the call details with a 200 status code.
9
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
+ * @returns {Promise<PhoneCallResponse>}
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
+ get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PhoneCallResponse | undefined>;
15
+ /**
16
+ * Returns the call details with a 200 status code.
17
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
18
+ * @returns {RequestInformation}
19
+ */
20
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
21
+ }
22
+ /**
23
+ * Uri template for the request builder.
24
+ */
25
+ export declare const StatusRequestBuilderUriTemplate = "{+baseurl}/phone-call/{callId}/status";
26
+ /**
27
+ * Metadata for all the requests in the request builder.
28
+ */
29
+ export declare const StatusRequestBuilderRequestsMetadata: RequestsMetadata;
30
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../phoneCall/item/status/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA6F,KAAK,iBAAiB,EAAuB,MAAM,0BAA0B,CAAC;AAElL,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;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,iBAAiB,GAAG,SAAS,CAAC,CAAC;IAC/G;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClH;AACD;;GAEG;AACH,eAAO,MAAM,+BAA+B,0CAA0C,CAAC;AACvF;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,gBAWlD,CAAC"}
@@ -0,0 +1,27 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createPhoneCallResponseFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue } from '../../../models/index.js';
6
+ /**
7
+ * Uri template for the request builder.
8
+ */
9
+ export const StatusRequestBuilderUriTemplate = "{+baseurl}/phone-call/{callId}/status";
10
+ /**
11
+ * Metadata for all the requests in the request builder.
12
+ */
13
+ export const StatusRequestBuilderRequestsMetadata = {
14
+ get: {
15
+ uriTemplate: StatusRequestBuilderUriTemplate,
16
+ responseBodyContentType: "application/json",
17
+ errorMappings: {
18
+ 400: createProblemDetailsFromDiscriminatorValue,
19
+ 401: createProblemDetailsFromDiscriminatorValue,
20
+ },
21
+ adapterMethodName: "send",
22
+ responseBodyFactory: createPhoneCallResponseFromDiscriminatorValue,
23
+ },
24
+ };
25
+ /* tslint:enable */
26
+ /* eslint-enable */
27
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../phoneCall/item/status/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,6CAA6C,EAAE,0CAA0C,EAA+C,MAAM,0BAA0B,CAAC;AAuBlL;;GAEG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG,uCAAuC,CAAC;AACvF;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAqB;IAClE,GAAG,EAAE;QACD,WAAW,EAAE,+BAA+B;QAC5C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,6CAA6C;KACtE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,40 @@
1
+ import { type PhoneCallResponse } 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/{callId}/transfer
5
+ */
6
+ export interface TransferRequestBuilder extends BaseRequestBuilder<TransferRequestBuilder> {
7
+ /**
8
+ * Returns the call details with a 200 status code.
9
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
+ * @returns {Promise<PhoneCallResponse>}
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
+ * @throws {ProblemDetails} error when the service returns a 404 status code
14
+ */
15
+ post(requestConfiguration?: RequestConfiguration<TransferRequestBuilderPostQueryParameters> | undefined): Promise<PhoneCallResponse | undefined>;
16
+ /**
17
+ * Returns the call details with a 200 status code.
18
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
19
+ * @returns {RequestInformation}
20
+ */
21
+ toPostRequestInformation(requestConfiguration?: RequestConfiguration<TransferRequestBuilderPostQueryParameters> | undefined): RequestInformation;
22
+ }
23
+ /**
24
+ * Returns the call details with a 200 status code.
25
+ */
26
+ export interface TransferRequestBuilderPostQueryParameters {
27
+ /**
28
+ * The phone number to transfer the call to.
29
+ */
30
+ newPhoneNumber?: string;
31
+ }
32
+ /**
33
+ * Uri template for the request builder.
34
+ */
35
+ export declare const TransferRequestBuilderUriTemplate = "{+baseurl}/phone-call/{callId}/transfer{?newPhoneNumber*}";
36
+ /**
37
+ * Metadata for all the requests in the request builder.
38
+ */
39
+ export declare const TransferRequestBuilderRequestsMetadata: RequestsMetadata;
40
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../phoneCall/item/transfer/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA6F,KAAK,iBAAiB,EAAuB,MAAM,0BAA0B,CAAC;AAElL,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,sBAAuB,SAAQ,kBAAkB,CAAC,sBAAsB,CAAC;IACtF;;;;;;;OAOG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,yCAAyC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,iBAAiB,GAAG,SAAS,CAAC,CAAC;IACnJ;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,yCAAyC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACtJ;AACD;;GAEG;AACH,MAAM,WAAW,yCAAyC;IACtD;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CAC3B;AACD;;GAEG;AACH,eAAO,MAAM,iCAAiC,8DAA8D,CAAC;AAC7G;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,gBAYpD,CAAC"}
@@ -0,0 +1,28 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createPhoneCallResponseFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue } from '../../../models/index.js';
6
+ /**
7
+ * Uri template for the request builder.
8
+ */
9
+ export const TransferRequestBuilderUriTemplate = "{+baseurl}/phone-call/{callId}/transfer{?newPhoneNumber*}";
10
+ /**
11
+ * Metadata for all the requests in the request builder.
12
+ */
13
+ export const TransferRequestBuilderRequestsMetadata = {
14
+ post: {
15
+ uriTemplate: TransferRequestBuilderUriTemplate,
16
+ responseBodyContentType: "application/json",
17
+ errorMappings: {
18
+ 400: createProblemDetailsFromDiscriminatorValue,
19
+ 401: createProblemDetailsFromDiscriminatorValue,
20
+ 404: createProblemDetailsFromDiscriminatorValue,
21
+ },
22
+ adapterMethodName: "send",
23
+ responseBodyFactory: createPhoneCallResponseFromDiscriminatorValue,
24
+ },
25
+ };
26
+ /* tslint:enable */
27
+ /* eslint-enable */
28
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../phoneCall/item/transfer/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,6CAA6C,EAAE,0CAA0C,EAA+C,MAAM,0BAA0B,CAAC;AAiClL;;GAEG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAG,2DAA2D,CAAC;AAC7G;;GAEG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAqB;IACpE,IAAI,EAAE;QACF,WAAW,EAAE,iCAAiC;QAC9C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,6CAA6C;KACtE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,32 @@
1
+ import { type SuppressionCheckResult, type SuppressionEntryRequest } 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 /suppressions/check
5
+ */
6
+ export interface CheckRequestBuilder extends BaseRequestBuilder<CheckRequestBuilder> {
7
+ /**
8
+ * Returns the suppression check result.
9
+ * @param body Request payload for suppression entry.
10
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
11
+ * @returns {Promise<SuppressionCheckResult>}
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
+ */
15
+ post(body: SuppressionEntryRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SuppressionCheckResult | undefined>;
16
+ /**
17
+ * Returns the suppression check result.
18
+ * @param body Request payload for suppression entry.
19
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
20
+ * @returns {RequestInformation}
21
+ */
22
+ toPostRequestInformation(body: SuppressionEntryRequest, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
23
+ }
24
+ /**
25
+ * Uri template for the request builder.
26
+ */
27
+ export declare const CheckRequestBuilderUriTemplate = "{+baseurl}/suppressions/check";
28
+ /**
29
+ * Metadata for all the requests in the request builder.
30
+ */
31
+ export declare const CheckRequestBuilderRequestsMetadata: RequestsMetadata;
32
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../suppressions/check/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA0L,KAAK,sBAAsB,EAAE,KAAK,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAE1R,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;;;;OAOG;IACF,IAAI,CAAC,IAAI,EAAE,uBAAuB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,sBAAsB,GAAG,SAAS,CAAC,CAAC;IACpJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,uBAAuB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClJ;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,kCAAkC,CAAC;AAC9E;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAcjD,CAAC"}
@@ -0,0 +1,30 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createProblemDetailsFromDiscriminatorValue, createSuppressionCheckResultFromDiscriminatorValue, serializeSuppressionEntryRequest } from '../../models/index.js';
6
+ /**
7
+ * Uri template for the request builder.
8
+ */
9
+ export const CheckRequestBuilderUriTemplate = "{+baseurl}/suppressions/check";
10
+ /**
11
+ * Metadata for all the requests in the request builder.
12
+ */
13
+ export const CheckRequestBuilderRequestsMetadata = {
14
+ post: {
15
+ uriTemplate: CheckRequestBuilderUriTemplate,
16
+ responseBodyContentType: "application/json",
17
+ errorMappings: {
18
+ 400: createProblemDetailsFromDiscriminatorValue,
19
+ 401: createProblemDetailsFromDiscriminatorValue,
20
+ },
21
+ adapterMethodName: "send",
22
+ responseBodyFactory: createSuppressionCheckResultFromDiscriminatorValue,
23
+ requestBodyContentType: "application/json",
24
+ requestBodySerializer: serializeSuppressionEntryRequest,
25
+ requestInformationContentSetMethod: "setContentFromParsable",
26
+ },
27
+ };
28
+ /* tslint:enable */
29
+ /* eslint-enable */
30
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../suppressions/check/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAE,kDAAkD,EAAmC,gCAAgC,EAAkF,MAAM,uBAAuB,CAAC;AAyB1R;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,+BAA+B,CAAC;AAC9E;;GAEG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAqB;IACjE,IAAI,EAAE;QACF,WAAW,EAAE,8BAA8B;QAC3C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,kDAAkD;QACxE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,gCAAgC;QACvD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,46 @@
1
+ import { type SuppressionEntryRequest, type SuppressionEntryResponse } from '../models/index.js';
2
+ import { type CheckRequestBuilder } from './check/index.js';
3
+ import { type ReleaseRequestBuilder } from './release/index.js';
4
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
5
+ /**
6
+ * Builds and executes requests for operations under /suppressions
7
+ */
8
+ export interface SuppressionsRequestBuilder extends BaseRequestBuilder<SuppressionsRequestBuilder> {
9
+ /**
10
+ * The check property
11
+ */
12
+ get check(): CheckRequestBuilder;
13
+ /**
14
+ * The release property
15
+ */
16
+ get release(): ReleaseRequestBuilder;
17
+ /**
18
+ * The suppression entry response was created successfully.
19
+ * @param body Request payload for suppression entry.
20
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
21
+ * @returns {Promise<SuppressionEntryResponse>}
22
+ * @throws {ProblemDetails} error when the service returns a 400 status code
23
+ * @throws {ProblemDetails} error when the service returns a 401 status code
24
+ */
25
+ post(body: SuppressionEntryRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SuppressionEntryResponse | undefined>;
26
+ /**
27
+ * The suppression entry response was created successfully.
28
+ * @param body Request payload for suppression entry.
29
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
30
+ * @returns {RequestInformation}
31
+ */
32
+ toPostRequestInformation(body: SuppressionEntryRequest, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
33
+ }
34
+ /**
35
+ * Uri template for the request builder.
36
+ */
37
+ export declare const SuppressionsRequestBuilderUriTemplate = "{+baseurl}/suppressions";
38
+ /**
39
+ * Metadata for all the navigation properties in the request builder.
40
+ */
41
+ export declare const SuppressionsRequestBuilderNavigationMetadata: Record<Exclude<keyof SuppressionsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
42
+ /**
43
+ * Metadata for all the requests in the request builder.
44
+ */
45
+ export declare const SuppressionsRequestBuilderRequestsMetadata: RequestsMetadata;
46
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../suppressions/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA8L,KAAK,uBAAuB,EAAE,KAAK,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AAE7R,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEjG,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,0BAA2B,SAAQ,kBAAkB,CAAC,0BAA0B,CAAC;IAC9F;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;OAEG;IACH,IAAI,OAAO,IAAI,qBAAqB,CAAC;IACrC;;;;;;;OAOG;IACF,IAAI,CAAC,IAAI,EAAE,uBAAuB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,wBAAwB,GAAG,SAAS,CAAC,CAAC;IACtJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,uBAAuB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClJ;AACD;;GAEG;AACH,eAAO,MAAM,qCAAqC,4BAA4B,CAAC;AAC/E;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,0BAA0B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAOlK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,0CAA0C,EAAE,gBAcxD,CAAC"}
@@ -0,0 +1,45 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createProblemDetailsFromDiscriminatorValue, createSuppressionEntryResponseFromDiscriminatorValue, serializeSuppressionEntryRequest } from '../models/index.js';
6
+ // @ts-ignore
7
+ import { CheckRequestBuilderRequestsMetadata } from './check/index.js';
8
+ // @ts-ignore
9
+ import { ReleaseRequestBuilderRequestsMetadata } from './release/index.js';
10
+ /**
11
+ * Uri template for the request builder.
12
+ */
13
+ export const SuppressionsRequestBuilderUriTemplate = "{+baseurl}/suppressions";
14
+ /**
15
+ * Metadata for all the navigation properties in the request builder.
16
+ */
17
+ export const SuppressionsRequestBuilderNavigationMetadata = {
18
+ check: {
19
+ requestsMetadata: CheckRequestBuilderRequestsMetadata,
20
+ },
21
+ release: {
22
+ requestsMetadata: ReleaseRequestBuilderRequestsMetadata,
23
+ },
24
+ };
25
+ /**
26
+ * Metadata for all the requests in the request builder.
27
+ */
28
+ export const SuppressionsRequestBuilderRequestsMetadata = {
29
+ post: {
30
+ uriTemplate: SuppressionsRequestBuilderUriTemplate,
31
+ responseBodyContentType: "application/json",
32
+ errorMappings: {
33
+ 400: createProblemDetailsFromDiscriminatorValue,
34
+ 401: createProblemDetailsFromDiscriminatorValue,
35
+ },
36
+ adapterMethodName: "send",
37
+ responseBodyFactory: createSuppressionEntryResponseFromDiscriminatorValue,
38
+ requestBodyContentType: "application/json",
39
+ requestBodySerializer: serializeSuppressionEntryRequest,
40
+ requestInformationContentSetMethod: "setContentFromParsable",
41
+ },
42
+ };
43
+ /* tslint:enable */
44
+ /* eslint-enable */
45
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../suppressions/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAE,oDAAoD,EAAE,gCAAgC,EAAuH,MAAM,oBAAoB,CAAC;AAC7R,aAAa;AACb,OAAO,EAAE,mCAAmC,EAA4B,MAAM,kBAAkB,CAAC;AACjG,aAAa;AACb,OAAO,EAAE,qCAAqC,EAA8B,MAAM,oBAAoB,CAAC;AAiCvG;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAG,yBAAyB,CAAC;AAC/E;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAA8G;IACnK,KAAK,EAAE;QACH,gBAAgB,EAAE,mCAAmC;KACxD;IACD,OAAO,EAAE;QACL,gBAAgB,EAAE,qCAAqC;KAC1D;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAqB;IACxE,IAAI,EAAE;QACF,WAAW,EAAE,qCAAqC;QAClD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,oDAAoD;QAC1E,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,gCAAgC;QACvD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,32 @@
1
+ import { type SuppressionEntryRequest, type SuppressionEntryResponse } 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 /suppressions/release
5
+ */
6
+ export interface ReleaseRequestBuilder extends BaseRequestBuilder<ReleaseRequestBuilder> {
7
+ /**
8
+ * Returns the suppression entry response.
9
+ * @param body Request payload for suppression entry.
10
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
11
+ * @returns {Promise<SuppressionEntryResponse>}
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
+ */
15
+ post(body: SuppressionEntryRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SuppressionEntryResponse | undefined>;
16
+ /**
17
+ * Returns the suppression entry response.
18
+ * @param body Request payload for suppression entry.
19
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
20
+ * @returns {RequestInformation}
21
+ */
22
+ toPostRequestInformation(body: SuppressionEntryRequest, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
23
+ }
24
+ /**
25
+ * Uri template for the request builder.
26
+ */
27
+ export declare const ReleaseRequestBuilderUriTemplate = "{+baseurl}/suppressions/release";
28
+ /**
29
+ * Metadata for all the requests in the request builder.
30
+ */
31
+ export declare const ReleaseRequestBuilderRequestsMetadata: RequestsMetadata;
32
+ //# sourceMappingURL=index.d.ts.map