@leadping/sdk 1.0.28 → 1.0.29

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 (66) hide show
  1. package/dist/businesses/me/oneZerodlc/notes/index.d.ts +2 -2
  2. package/dist/contact/index.d.ts +10 -1
  3. package/dist/contact/index.d.ts.map +1 -1
  4. package/dist/contact/index.js +10 -0
  5. package/dist/contact/index.js.map +1 -1
  6. package/dist/contact/website/index.d.ts +78 -0
  7. package/dist/contact/website/index.d.ts.map +1 -0
  8. package/dist/contact/website/index.js +74 -0
  9. package/dist/contact/website/index.js.map +1 -0
  10. package/dist/dispositions/all/index.d.ts +20 -0
  11. package/dist/dispositions/all/index.d.ts.map +1 -0
  12. package/dist/dispositions/all/index.js +20 -0
  13. package/dist/dispositions/all/index.js.map +1 -0
  14. package/dist/dispositions/all/my/index.d.ts +31 -0
  15. package/dist/dispositions/all/my/index.d.ts.map +1 -0
  16. package/dist/dispositions/all/my/index.js +29 -0
  17. package/dist/dispositions/all/my/index.js.map +1 -0
  18. package/dist/dispositions/index.d.ts +5 -0
  19. package/dist/dispositions/index.d.ts.map +1 -1
  20. package/dist/dispositions/index.js +5 -0
  21. package/dist/dispositions/index.js.map +1 -1
  22. package/dist/leadStatuses/index.d.ts +2 -2
  23. package/dist/leadStatuses/index.js +1 -1
  24. package/dist/leadStatuses/index.js.map +1 -1
  25. package/dist/leadStatuses/item/index.d.ts +2 -2
  26. package/dist/leadStatuses/item/index.js +1 -1
  27. package/dist/leadStatuses/item/index.js.map +1 -1
  28. package/dist/leadpingOpenApiClient.d.ts.map +1 -1
  29. package/dist/leadpingOpenApiClient.js +2 -1
  30. package/dist/leadpingOpenApiClient.js.map +1 -1
  31. package/dist/models/index.d.ts +752 -98
  32. package/dist/models/index.d.ts.map +1 -1
  33. package/dist/models/index.js +717 -145
  34. package/dist/models/index.js.map +1 -1
  35. package/dist/sms/index.d.ts +5 -0
  36. package/dist/sms/index.d.ts.map +1 -1
  37. package/dist/sms/index.js +5 -0
  38. package/dist/sms/index.js.map +1 -1
  39. package/dist/sms/media/index.d.ts +97 -0
  40. package/dist/sms/media/index.d.ts.map +1 -0
  41. package/dist/sms/media/index.js +104 -0
  42. package/dist/sms/media/index.js.map +1 -0
  43. package/dist/suppressions/all/index.d.ts +20 -0
  44. package/dist/suppressions/all/index.d.ts.map +1 -0
  45. package/dist/suppressions/all/index.js +20 -0
  46. package/dist/suppressions/all/index.js.map +1 -0
  47. package/dist/suppressions/all/my/index.d.ts +31 -0
  48. package/dist/suppressions/all/my/index.d.ts.map +1 -0
  49. package/dist/suppressions/all/my/index.js +29 -0
  50. package/dist/suppressions/all/my/index.js.map +1 -0
  51. package/dist/suppressions/index.d.ts +12 -0
  52. package/dist/suppressions/index.d.ts.map +1 -1
  53. package/dist/suppressions/index.js +11 -0
  54. package/dist/suppressions/index.js.map +1 -1
  55. package/dist/suppressions/item/index.d.ts +30 -0
  56. package/dist/suppressions/item/index.d.ts.map +1 -0
  57. package/dist/{users/me/lastLogin → suppressions/item}/index.js +6 -6
  58. package/dist/suppressions/item/index.js.map +1 -0
  59. package/dist/users/me/index.d.ts +0 -5
  60. package/dist/users/me/index.d.ts.map +1 -1
  61. package/dist/users/me/index.js +0 -5
  62. package/dist/users/me/index.js.map +1 -1
  63. package/package.json +1 -1
  64. package/dist/users/me/lastLogin/index.d.ts +0 -30
  65. package/dist/users/me/lastLogin/index.d.ts.map +0 -1
  66. package/dist/users/me/lastLogin/index.js.map +0 -1
@@ -1,10 +1,15 @@
1
1
  import { type WithSmsEventItemRequestBuilder } from './item/index.js';
2
+ import { type MediaRequestBuilder } from './media/index.js';
2
3
  import { type SendRequestBuilder } from './send/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 /sms
6
7
  */
7
8
  export interface SmsRequestBuilder extends BaseRequestBuilder<SmsRequestBuilder> {
9
+ /**
10
+ * The media property
11
+ */
12
+ get media(): MediaRequestBuilder;
8
13
  /**
9
14
  * The send property
10
15
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../sms/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,8BAA8B,EAAoD,MAAM,iBAAiB,CAAC;AAExH,OAAO,EAAsC,KAAK,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAE9F,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAE1I;;GAEG;AACH,MAAM,WAAW,iBAAkB,SAAQ,kBAAkB,CAAC,iBAAiB,CAAC;IAC5E;;OAEG;IACH,IAAI,IAAI,IAAI,kBAAkB,CAAC;IAC/B;;;;OAIG;IACF,YAAY,CAAC,UAAU,EAAE,MAAM,GAAI,8BAA8B,CAAC;CACtE;AACD;;GAEG;AACH,eAAO,MAAM,4BAA4B,mBAAmB,CAAC;AAC7D;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,iBAAiB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAQhJ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../sms/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,8BAA8B,EAAoD,MAAM,iBAAiB,CAAC;AAExH,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEjG,OAAO,EAAsC,KAAK,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAE9F,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAE1I;;GAEG;AACH,MAAM,WAAW,iBAAkB,SAAQ,kBAAkB,CAAC,iBAAiB,CAAC;IAC5E;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;OAEG;IACH,IAAI,IAAI,IAAI,kBAAkB,CAAC;IAC/B;;;;OAIG;IACF,YAAY,CAAC,UAAU,EAAE,MAAM,GAAI,8BAA8B,CAAC;CACtE;AACD;;GAEG;AACH,eAAO,MAAM,4BAA4B,mBAAmB,CAAC;AAC7D;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,iBAAiB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAWhJ,CAAC"}
package/dist/sms/index.js CHANGED
@@ -4,6 +4,8 @@
4
4
  // @ts-ignore
5
5
  import { WithSmsEventItemRequestBuilderNavigationMetadata } from './item/index.js';
6
6
  // @ts-ignore
7
+ import { MediaRequestBuilderRequestsMetadata } from './media/index.js';
8
+ // @ts-ignore
7
9
  import { SendRequestBuilderRequestsMetadata } from './send/index.js';
8
10
  /**
9
11
  * Uri template for the request builder.
@@ -17,6 +19,9 @@ export const SmsRequestBuilderNavigationMetadata = {
17
19
  navigationMetadata: WithSmsEventItemRequestBuilderNavigationMetadata,
18
20
  pathParametersMappings: ["smsEventId"],
19
21
  },
22
+ media: {
23
+ requestsMetadata: MediaRequestBuilderRequestsMetadata,
24
+ },
20
25
  send: {
21
26
  requestsMetadata: SendRequestBuilderRequestsMetadata,
22
27
  },
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../sms/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAuC,gDAAgD,EAAE,MAAM,iBAAiB,CAAC;AACxH,aAAa;AACb,OAAO,EAAE,kCAAkC,EAA2B,MAAM,iBAAiB,CAAC;AAmB9F;;GAEG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG,gBAAgB,CAAC;AAC7D;;GAEG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAqG;IACjJ,YAAY,EAAE;QACV,kBAAkB,EAAE,gDAAgD;QACpE,sBAAsB,EAAE,CAAC,YAAY,CAAC;KACzC;IACD,IAAI,EAAE;QACF,gBAAgB,EAAE,kCAAkC;KACvD;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../sms/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAuC,gDAAgD,EAAE,MAAM,iBAAiB,CAAC;AACxH,aAAa;AACb,OAAO,EAAE,mCAAmC,EAA4B,MAAM,kBAAkB,CAAC;AACjG,aAAa;AACb,OAAO,EAAE,kCAAkC,EAA2B,MAAM,iBAAiB,CAAC;AAuB9F;;GAEG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG,gBAAgB,CAAC;AAC7D;;GAEG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAqG;IACjJ,YAAY,EAAE;QACV,kBAAkB,EAAE,gDAAgD;QACpE,sBAAsB,EAAE,CAAC,YAAY,CAAC;KACzC;IACD,KAAK,EAAE;QACH,gBAAgB,EAAE,mCAAmC;KACxD;IACD,IAAI,EAAE;QACF,gBAAgB,EAAE,kCAAkC;KACvD;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,97 @@
1
+ import { type MessageMediaAttachment } from '../../models/index.js';
2
+ import { type AdditionalDataHolder, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Creates a new instance of the appropriate class based on discriminator value
5
+ * @param parseNode The parse node to use to read the discriminator value and create the object
6
+ * @returns {MediaPostRequestBody_Headers}
7
+ */
8
+ export declare function createMediaPostRequestBody_HeadersFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
9
+ /**
10
+ * Creates a new instance of the appropriate class based on discriminator value
11
+ * @param parseNode The parse node to use to read the discriminator value and create the object
12
+ * @returns {MediaPostRequestBody}
13
+ */
14
+ export declare function createMediaPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
15
+ /**
16
+ * The deserialization information for the current model
17
+ * @param MediaPostRequestBody The instance to deserialize into.
18
+ * @returns {Record<string, (node: ParseNode) => void>}
19
+ */
20
+ export declare function deserializeIntoMediaPostRequestBody(mediaPostRequestBody?: Partial<MediaPostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
21
+ /**
22
+ * The deserialization information for the current model
23
+ * @param MediaPostRequestBody_Headers The instance to deserialize into.
24
+ * @returns {Record<string, (node: ParseNode) => void>}
25
+ */
26
+ export declare function deserializeIntoMediaPostRequestBody_Headers(mediaPostRequestBody_Headers?: Partial<MediaPostRequestBody_Headers> | undefined): Record<string, (node: ParseNode) => void>;
27
+ export interface MediaPostRequestBody extends AdditionalDataHolder, Parsable {
28
+ /**
29
+ * The ContentDisposition property
30
+ */
31
+ contentDisposition?: string | null;
32
+ /**
33
+ * The ContentType property
34
+ */
35
+ contentType?: string | null;
36
+ /**
37
+ * The FileName property
38
+ */
39
+ fileName?: string | null;
40
+ /**
41
+ * The Headers property
42
+ */
43
+ headers?: MediaPostRequestBody_Headers | null;
44
+ /**
45
+ * The Length property
46
+ */
47
+ length?: number | null;
48
+ /**
49
+ * The Name property
50
+ */
51
+ name?: string | null;
52
+ }
53
+ export interface MediaPostRequestBody_Headers extends AdditionalDataHolder, Parsable {
54
+ }
55
+ /**
56
+ * Builds and executes requests for operations under /sms/media
57
+ */
58
+ export interface MediaRequestBuilder extends BaseRequestBuilder<MediaRequestBuilder> {
59
+ /**
60
+ * Uploads media for a subsequent MMS send.
61
+ * @param body The request body
62
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
63
+ * @returns {Promise<MessageMediaAttachment>}
64
+ * @throws {ProblemDetails} error when the service returns a 400 status code
65
+ */
66
+ post(body: MediaPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<MessageMediaAttachment | undefined>;
67
+ /**
68
+ * Uploads media for a subsequent MMS send.
69
+ * @param body The request body
70
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
71
+ * @returns {RequestInformation}
72
+ */
73
+ toPostRequestInformation(body: MediaPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
74
+ }
75
+ /**
76
+ * Serializes information the current object
77
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
78
+ * @param MediaPostRequestBody The instance to serialize from.
79
+ * @param writer Serialization writer to use to serialize this model
80
+ */
81
+ export declare function serializeMediaPostRequestBody(writer: SerializationWriter, mediaPostRequestBody?: Partial<MediaPostRequestBody> | undefined | null, isSerializingDerivedType?: boolean): void;
82
+ /**
83
+ * Serializes information the current object
84
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
85
+ * @param MediaPostRequestBody_Headers The instance to serialize from.
86
+ * @param writer Serialization writer to use to serialize this model
87
+ */
88
+ export declare function serializeMediaPostRequestBody_Headers(writer: SerializationWriter, mediaPostRequestBody_Headers?: Partial<MediaPostRequestBody_Headers> | undefined | null, isSerializingDerivedType?: boolean): void;
89
+ /**
90
+ * Uri template for the request builder.
91
+ */
92
+ export declare const MediaRequestBuilderUriTemplate = "{+baseurl}/sms/media";
93
+ /**
94
+ * Metadata for all the requests in the request builder.
95
+ */
96
+ export declare const MediaRequestBuilderRequestsMetadata: RequestsMetadata;
97
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../sms/media/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAmI,KAAK,sBAAsB,EAAuB,MAAM,uBAAuB,CAAC;AAE1N,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KA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,CAAC;IACvB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB;AACD,MAAM,WAAW,4BAA6B,SAAQ,oBAAoB,EAAE,QAAQ;CACnF;AACD;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,sBAAsB,GAAG,SAAS,CAAC,CAAC;IACjJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC/I;AACD;;;;;GAKG;AAEH,wBAAgB,6BAA6B,CAAC,MAAM,EAAE,mBAAmB,EAAE,oBAAoB,GAAE,OAAO,CAAC,oBAAoB,CAAC,GAAG,SAAS,GAAG,IAAS,EAAE,wBAAwB,GAAE,OAAe,GAAI,IAAI,CASxM;AACD;;;;;GAKG;AAEH,wBAAgB,qCAAqC,CAAC,MAAM,EAAE,mBAAmB,EAAE,4BAA4B,GAAE,OAAO,CAAC,4BAA4B,CAAC,GAAG,SAAS,GAAG,IAAS,EAAE,wBAAwB,GAAE,OAAe,GAAI,IAAI,CAGhO;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,yBAAyB,CAAC;AACrE;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAajD,CAAC"}
@@ -0,0 +1,104 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createMessageMediaAttachmentFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue } from '../../models/index.js';
6
+ /**
7
+ * Creates a new instance of the appropriate class based on discriminator value
8
+ * @param parseNode The parse node to use to read the discriminator value and create the object
9
+ * @returns {MediaPostRequestBody_Headers}
10
+ */
11
+ // @ts-ignore
12
+ export function createMediaPostRequestBody_HeadersFromDiscriminatorValue(parseNode) {
13
+ return deserializeIntoMediaPostRequestBody_Headers;
14
+ }
15
+ /**
16
+ * Creates a new instance of the appropriate class based on discriminator value
17
+ * @param parseNode The parse node to use to read the discriminator value and create the object
18
+ * @returns {MediaPostRequestBody}
19
+ */
20
+ // @ts-ignore
21
+ export function createMediaPostRequestBodyFromDiscriminatorValue(parseNode) {
22
+ return deserializeIntoMediaPostRequestBody;
23
+ }
24
+ /**
25
+ * The deserialization information for the current model
26
+ * @param MediaPostRequestBody The instance to deserialize into.
27
+ * @returns {Record<string, (node: ParseNode) => void>}
28
+ */
29
+ // @ts-ignore
30
+ export function deserializeIntoMediaPostRequestBody(mediaPostRequestBody = {}) {
31
+ return {
32
+ "ContentDisposition": n => { mediaPostRequestBody.contentDisposition = n.getStringValue(); },
33
+ "ContentType": n => { mediaPostRequestBody.contentType = n.getStringValue(); },
34
+ "FileName": n => { mediaPostRequestBody.fileName = n.getStringValue(); },
35
+ "Headers": n => { mediaPostRequestBody.headers = n.getObjectValue(createMediaPostRequestBody_HeadersFromDiscriminatorValue); },
36
+ "Length": n => { mediaPostRequestBody.length = n.getNumberValue(); },
37
+ "Name": n => { mediaPostRequestBody.name = n.getStringValue(); },
38
+ };
39
+ }
40
+ /**
41
+ * The deserialization information for the current model
42
+ * @param MediaPostRequestBody_Headers The instance to deserialize into.
43
+ * @returns {Record<string, (node: ParseNode) => void>}
44
+ */
45
+ // @ts-ignore
46
+ export function deserializeIntoMediaPostRequestBody_Headers(mediaPostRequestBody_Headers = {}) {
47
+ return {};
48
+ }
49
+ /**
50
+ * Serializes information the current object
51
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
52
+ * @param MediaPostRequestBody The instance to serialize from.
53
+ * @param writer Serialization writer to use to serialize this model
54
+ */
55
+ // @ts-ignore
56
+ export function serializeMediaPostRequestBody(writer, mediaPostRequestBody = {}, isSerializingDerivedType = false) {
57
+ if (!mediaPostRequestBody || isSerializingDerivedType) {
58
+ return;
59
+ }
60
+ writer.writeStringValue("ContentDisposition", mediaPostRequestBody.contentDisposition);
61
+ writer.writeStringValue("ContentType", mediaPostRequestBody.contentType);
62
+ writer.writeStringValue("FileName", mediaPostRequestBody.fileName);
63
+ writer.writeObjectValue("Headers", mediaPostRequestBody.headers, serializeMediaPostRequestBody_Headers);
64
+ writer.writeNumberValue("Length", mediaPostRequestBody.length);
65
+ writer.writeStringValue("Name", mediaPostRequestBody.name);
66
+ writer.writeAdditionalData(mediaPostRequestBody.additionalData);
67
+ }
68
+ /**
69
+ * Serializes information the current object
70
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
71
+ * @param MediaPostRequestBody_Headers The instance to serialize from.
72
+ * @param writer Serialization writer to use to serialize this model
73
+ */
74
+ // @ts-ignore
75
+ export function serializeMediaPostRequestBody_Headers(writer, mediaPostRequestBody_Headers = {}, isSerializingDerivedType = false) {
76
+ if (!mediaPostRequestBody_Headers || isSerializingDerivedType) {
77
+ return;
78
+ }
79
+ writer.writeAdditionalData(mediaPostRequestBody_Headers.additionalData);
80
+ }
81
+ /**
82
+ * Uri template for the request builder.
83
+ */
84
+ export const MediaRequestBuilderUriTemplate = "{+baseurl}/sms/media";
85
+ /**
86
+ * Metadata for all the requests in the request builder.
87
+ */
88
+ export const MediaRequestBuilderRequestsMetadata = {
89
+ post: {
90
+ uriTemplate: MediaRequestBuilderUriTemplate,
91
+ responseBodyContentType: "text/plain;q=0.9",
92
+ errorMappings: {
93
+ 400: createProblemDetailsFromDiscriminatorValue,
94
+ },
95
+ adapterMethodName: "send",
96
+ responseBodyFactory: createMessageMediaAttachmentFromDiscriminatorValue,
97
+ requestBodyContentType: "application/x-www-form-urlencoded",
98
+ requestBodySerializer: serializeMediaPostRequestBody,
99
+ requestInformationContentSetMethod: "setContentFromParsable",
100
+ },
101
+ };
102
+ /* tslint:enable */
103
+ /* eslint-enable */
104
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../sms/media/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,kDAAkD,EAAE,0CAA0C,EAAqF,MAAM,uBAAuB,CAAC;AAI1N;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,wDAAwD,CAAC,SAAgC;IACrG,OAAO,2CAA2C,CAAC;AACvD,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,gDAAgD,CAAC,SAAgC;IAC7F,OAAO,mCAAmC,CAAC;AAC/C,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,mCAAmC,CAAC,uBAAkE,EAAE;IACpH,OAAO;QACH,oBAAoB,EAAE,CAAC,CAAC,EAAE,GAAG,oBAAoB,CAAC,kBAAkB,GAAG,CAAC,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC;QAC5F,aAAa,EAAE,CAAC,CAAC,EAAE,GAAG,oBAAoB,CAAC,WAAW,GAAG,CAAC,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC;QAC9E,UAAU,EAAE,CAAC,CAAC,EAAE,GAAG,oBAAoB,CAAC,QAAQ,GAAG,CAAC,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC;QACxE,SAAS,EAAE,CAAC,CAAC,EAAE,GAAG,oBAAoB,CAAC,OAAO,GAAG,CAAC,CAAC,cAAc,CAA+B,wDAAwD,CAAC,CAAC,CAAC,CAAC;QAC5J,QAAQ,EAAE,CAAC,CAAC,EAAE,GAAG,oBAAoB,CAAC,MAAM,GAAG,CAAC,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC;QACpE,MAAM,EAAE,CAAC,CAAC,EAAE,GAAG,oBAAoB,CAAC,IAAI,GAAG,CAAC,CAAC,cAAc,EAAE,CAAC,CAAC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AAM,CAAC,MAAM,mCAAmC,GAAqB;IACjE,IAAI,EAAE;QACF,WAAW,EAAE,8BAA8B;QAC3C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,kDAAkD;QACxE,sBAAsB,EAAE,mCAAmC;QAC3D,qBAAqB,EAAE,6BAA6B;QACpD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,20 @@
1
+ import { type MyRequestBuilder } from './my/index.js';
2
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Builds and executes requests for operations under /suppressions/all
5
+ */
6
+ export interface AllRequestBuilder extends BaseRequestBuilder<AllRequestBuilder> {
7
+ /**
8
+ * The my property
9
+ */
10
+ get my(): MyRequestBuilder;
11
+ }
12
+ /**
13
+ * Uri template for the request builder.
14
+ */
15
+ export declare const AllRequestBuilderUriTemplate = "{+baseurl}/suppressions/all";
16
+ /**
17
+ * Metadata for all the navigation properties in the request builder.
18
+ */
19
+ export declare const AllRequestBuilderNavigationMetadata: Record<Exclude<keyof AllRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
20
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../suppressions/all/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAoC,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAExF,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAE1I;;GAEG;AACH,MAAM,WAAW,iBAAkB,SAAQ,kBAAkB,CAAC,iBAAiB,CAAC;IAC5E;;OAEG;IACH,IAAI,EAAE,IAAI,gBAAgB,CAAC;CAC9B;AACD;;GAEG;AACH,eAAO,MAAM,4BAA4B,gCAAgC,CAAC;AAC1E;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,iBAAiB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAIhJ,CAAC"}
@@ -0,0 +1,20 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { MyRequestBuilderRequestsMetadata } from './my/index.js';
6
+ /**
7
+ * Uri template for the request builder.
8
+ */
9
+ export const AllRequestBuilderUriTemplate = "{+baseurl}/suppressions/all";
10
+ /**
11
+ * Metadata for all the navigation properties in the request builder.
12
+ */
13
+ export const AllRequestBuilderNavigationMetadata = {
14
+ my: {
15
+ requestsMetadata: MyRequestBuilderRequestsMetadata,
16
+ },
17
+ };
18
+ /* tslint:enable */
19
+ /* eslint-enable */
20
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../suppressions/all/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,gCAAgC,EAAyB,MAAM,eAAe,CAAC;AAaxF;;GAEG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG,6BAA6B,CAAC;AAC1E;;GAEG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAqG;IACjJ,EAAE,EAAE;QACA,gBAAgB,EAAE,gCAAgC;KACrD;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,31 @@
1
+ import { type PagedResultOfSuppressionEntryResponse, 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 /suppressions/all/my
5
+ */
6
+ export interface MyRequestBuilder extends BaseRequestBuilder<MyRequestBuilder> {
7
+ /**
8
+ * Get all for current business
9
+ * @param body Options for flexible, efficient, and explicit querying in Cosmos DB or similar repositories.
10
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
11
+ * @returns {Promise<PagedResultOfSuppressionEntryResponse>}
12
+ * @throws {ProblemDetails} error when the service returns a 401 status code
13
+ */
14
+ post(body: RequestDataOptions, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PagedResultOfSuppressionEntryResponse | undefined>;
15
+ /**
16
+ * Get all for current business
17
+ * @param body Options for flexible, efficient, and explicit querying in Cosmos DB or similar repositories.
18
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
19
+ * @returns {RequestInformation}
20
+ */
21
+ toPostRequestInformation(body: RequestDataOptions, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
22
+ }
23
+ /**
24
+ * Uri template for the request builder.
25
+ */
26
+ export declare const MyRequestBuilderUriTemplate = "{+baseurl}/suppressions/all/my";
27
+ /**
28
+ * Metadata for all the requests in the request builder.
29
+ */
30
+ export declare const MyRequestBuilderRequestsMetadata: RequestsMetadata;
31
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../suppressions/all/my/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA8L,KAAK,qCAAqC,EAAuB,KAAK,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAEhU,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,gBAAiB,SAAQ,kBAAkB,CAAC,gBAAgB,CAAC;IAC1E;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,qCAAqC,GAAG,SAAS,CAAC,CAAC;IAC9J;;;;;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,2BAA2B,mCAAmC,CAAC;AAC5E;;GAEG;AACH,eAAO,MAAM,gCAAgC,EAAE,gBAa9C,CAAC"}
@@ -0,0 +1,29 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createPagedResultOfSuppressionEntryResponseFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue, serializeRequestDataOptions } from '../../../models/index.js';
6
+ /**
7
+ * Uri template for the request builder.
8
+ */
9
+ export const MyRequestBuilderUriTemplate = "{+baseurl}/suppressions/all/my";
10
+ /**
11
+ * Metadata for all the requests in the request builder.
12
+ */
13
+ export const MyRequestBuilderRequestsMetadata = {
14
+ post: {
15
+ uriTemplate: MyRequestBuilderUriTemplate,
16
+ responseBodyContentType: "application/json",
17
+ errorMappings: {
18
+ 401: createProblemDetailsFromDiscriminatorValue,
19
+ },
20
+ adapterMethodName: "send",
21
+ responseBodyFactory: createPagedResultOfSuppressionEntryResponseFromDiscriminatorValue,
22
+ requestBodyContentType: "application/json",
23
+ requestBodySerializer: serializeRequestDataOptions,
24
+ requestInformationContentSetMethod: "setContentFromParsable",
25
+ },
26
+ };
27
+ /* tslint:enable */
28
+ /* eslint-enable */
29
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../suppressions/all/my/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,iEAAiE,EAAE,0CAA0C,EAAkD,2BAA2B,EAA4F,MAAM,0BAA0B,CAAC;AAwBhU;;GAEG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,gCAAgC,CAAC;AAC5E;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAqB;IAC9D,IAAI,EAAE;QACF,WAAW,EAAE,2BAA2B;QACxC,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,iEAAiE;QACvF,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,2BAA2B;QAClD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -1,11 +1,17 @@
1
1
  import { type SuppressionEntryRequest, type SuppressionEntryResponse } from '../models/index.js';
2
+ import { type AllRequestBuilder } from './all/index.js';
2
3
  import { type CheckRequestBuilder } from './check/index.js';
4
+ import { type SuppressionsItemRequestBuilder } from './item/index.js';
3
5
  import { type ReleaseRequestBuilder } from './release/index.js';
4
6
  import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
5
7
  /**
6
8
  * Builds and executes requests for operations under /suppressions
7
9
  */
8
10
  export interface SuppressionsRequestBuilder extends BaseRequestBuilder<SuppressionsRequestBuilder> {
11
+ /**
12
+ * The all property
13
+ */
14
+ get all(): AllRequestBuilder;
9
15
  /**
10
16
  * The check property
11
17
  */
@@ -14,6 +20,12 @@ export interface SuppressionsRequestBuilder extends BaseRequestBuilder<Suppressi
14
20
  * The release property
15
21
  */
16
22
  get release(): ReleaseRequestBuilder;
23
+ /**
24
+ * Gets an item from the leadping.suppressions.item collection
25
+ * @param id Unique identifier of the item
26
+ * @returns {SuppressionsItemRequestBuilder}
27
+ */
28
+ byId(id: string): SuppressionsItemRequestBuilder;
17
29
  /**
18
30
  * Creates or reactivates a Leadping suppression entry that blocks future outreach to a recipient across the selected communication channel.
19
31
  * @param body Request payload for suppression entry.
@@ -1 +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;;GA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;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,CAclK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,0CAA0C,EAAE,gBAcxD,CAAC"}
@@ -4,8 +4,12 @@
4
4
  // @ts-ignore
5
5
  import { createProblemDetailsFromDiscriminatorValue, createSuppressionEntryResponseFromDiscriminatorValue, serializeSuppressionEntryRequest } from '../models/index.js';
6
6
  // @ts-ignore
7
+ import { AllRequestBuilderNavigationMetadata } from './all/index.js';
8
+ // @ts-ignore
7
9
  import { CheckRequestBuilderRequestsMetadata } from './check/index.js';
8
10
  // @ts-ignore
11
+ import { SuppressionsItemRequestBuilderRequestsMetadata } from './item/index.js';
12
+ // @ts-ignore
9
13
  import { ReleaseRequestBuilderRequestsMetadata } from './release/index.js';
10
14
  /**
11
15
  * Uri template for the request builder.
@@ -15,6 +19,13 @@ export const SuppressionsRequestBuilderUriTemplate = "{+baseurl}/suppressions";
15
19
  * Metadata for all the navigation properties in the request builder.
16
20
  */
17
21
  export const SuppressionsRequestBuilderNavigationMetadata = {
22
+ byId: {
23
+ requestsMetadata: SuppressionsItemRequestBuilderRequestsMetadata,
24
+ pathParametersMappings: ["id"],
25
+ },
26
+ all: {
27
+ navigationMetadata: AllRequestBuilderNavigationMetadata,
28
+ },
18
29
  check: {
19
30
  requestsMetadata: CheckRequestBuilderRequestsMetadata,
20
31
  },
@@ -1 +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,mCAA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qCAAqC,GAAG,yBAAyB,CAAC;AAC/E;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAA8G;IACnK,IAAI,EAAE;QACF,gBAAgB,EAAE,8CAA8C;QAChE,sBAAsB,EAAE,CAAC,IAAI,CAAC;KACjC;IACD,GAAG,EAAE;QACD,kBAAkB,EAAE,mCAAmC;KAC1D;IACD,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,30 @@
1
+ import { 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/{id}
5
+ */
6
+ export interface SuppressionsItemRequestBuilder extends BaseRequestBuilder<SuppressionsItemRequestBuilder> {
7
+ /**
8
+ * Get
9
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
+ * @returns {Promise<SuppressionEntryResponse>}
11
+ * @throws {ProblemDetails} error when the service returns a 401 status code
12
+ * @throws {ProblemDetails} error when the service returns a 404 status code
13
+ */
14
+ get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SuppressionEntryResponse | undefined>;
15
+ /**
16
+ * Get
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 SuppressionsItemRequestBuilderUriTemplate = "{+baseurl}/suppressions/{id}";
26
+ /**
27
+ * Metadata for all the requests in the request builder.
28
+ */
29
+ export declare const SuppressionsItemRequestBuilderRequestsMetadata: RequestsMetadata;
30
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../suppressions/item/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAyH,KAAK,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAE7L,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,8BAA+B,SAAQ,kBAAkB,CAAC,8BAA8B,CAAC;IACtG;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,wBAAwB,GAAG,SAAS,CAAC,CAAC;IACtH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClH;AACD;;GAEG;AACH,eAAO,MAAM,yCAAyC,iCAAiC,CAAC;AACxF;;GAEG;AACH,eAAO,MAAM,8CAA8C,EAAE,gBAW5D,CAAC"}
@@ -2,24 +2,24 @@
2
2
  /* eslint-disable */
3
3
  // Generated by Microsoft Kiota
4
4
  // @ts-ignore
5
- import { createProblemDetailsFromDiscriminatorValue, createUserResponseFromDiscriminatorValue } from '../../../models/index.js';
5
+ import { createProblemDetailsFromDiscriminatorValue, createSuppressionEntryResponseFromDiscriminatorValue } from '../../models/index.js';
6
6
  /**
7
7
  * Uri template for the request builder.
8
8
  */
9
- export const LastLoginRequestBuilderUriTemplate = "{+baseurl}/users/me/last-login";
9
+ export const SuppressionsItemRequestBuilderUriTemplate = "{+baseurl}/suppressions/{id}";
10
10
  /**
11
11
  * Metadata for all the requests in the request builder.
12
12
  */
13
- export const LastLoginRequestBuilderRequestsMetadata = {
14
- post: {
15
- uriTemplate: LastLoginRequestBuilderUriTemplate,
13
+ export const SuppressionsItemRequestBuilderRequestsMetadata = {
14
+ get: {
15
+ uriTemplate: SuppressionsItemRequestBuilderUriTemplate,
16
16
  responseBodyContentType: "application/json",
17
17
  errorMappings: {
18
18
  401: createProblemDetailsFromDiscriminatorValue,
19
19
  404: createProblemDetailsFromDiscriminatorValue,
20
20
  },
21
21
  adapterMethodName: "send",
22
- responseBodyFactory: createUserResponseFromDiscriminatorValue,
22
+ responseBodyFactory: createSuppressionEntryResponseFromDiscriminatorValue,
23
23
  },
24
24
  };
25
25
  /* tslint:enable */
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../suppressions/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAE,oDAAoD,EAAsD,MAAM,uBAAuB,CAAC;AAuB7L;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAG,8BAA8B,CAAC;AACxF;;GAEG;AACH,MAAM,CAAC,MAAM,8CAA8C,GAAqB;IAC5E,GAAG,EAAE;QACD,WAAW,EAAE,yCAAyC;QACtD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,oDAAoD;KAC7E;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -1,15 +1,10 @@
1
1
  import { type UserRequest, type UserResponse } from '../../models/index.js';
2
- import { type LastLoginRequestBuilder } from './lastLogin/index.js';
3
2
  import { type PaymentmethodRequestBuilder } from './paymentmethod/index.js';
4
3
  import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
5
4
  /**
6
5
  * Builds and executes requests for operations under /users/me
7
6
  */
8
7
  export interface MeRequestBuilder extends BaseRequestBuilder<MeRequestBuilder> {
9
- /**
10
- * The lastLogin property
11
- */
12
- get lastLogin(): LastLoginRequestBuilder;
13
8
  /**
14
9
  * The paymentmethod property
15
10
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../users/me/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA0J,KAAK,WAAW,EAAE,KAAK,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAEpO,OAAO,EAA2C,KAAK,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAE7G,OAAO,EAA+C,KAAK,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAEzH,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,gBAAiB,SAAQ,kBAAkB,CAAC,gBAAgB,CAAC;IAC1E;;OAEG;IACH,IAAI,SAAS,IAAI,uBAAuB,CAAC;IACzC;;OAEG;IACH,IAAI,aAAa,IAAI,2BAA2B,CAAC;IACjD;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,YAAY,GAAG,SAAS,CAAC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AE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,YAAY,GAAG,SAAS,CAAC,CAAC;IAC1G;;;;;;;OAOG;IACF,GAAG,CAAC,IAAI,EAAE,WAAW,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,YAAY,GAAG,SAAS,CAAC,CAAC;IAC7H;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC/G;;;;;OAKG;IACF,uBAAuB,CAAC,IAAI,EAAE,WAAW,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACrI;AACD;;GAEG;AACH,eAAO,MAAM,2BAA2B,wBAAwB,CAAC;AACjE;;GAEG;AACH,eAAO,MAAM,kCAAkC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,gBAAgB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAI9I,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,gCAAgC,EAAE,gBAwB9C,CAAC"}
@@ -4,8 +4,6 @@
4
4
  // @ts-ignore
5
5
  import { createProblemDetailsFromDiscriminatorValue, createUserResponseFromDiscriminatorValue, serializeUserRequest } from '../../models/index.js';
6
6
  // @ts-ignore
7
- import { LastLoginRequestBuilderRequestsMetadata } from './lastLogin/index.js';
8
- // @ts-ignore
9
7
  import { PaymentmethodRequestBuilderRequestsMetadata } from './paymentmethod/index.js';
10
8
  /**
11
9
  * Uri template for the request builder.
@@ -15,9 +13,6 @@ export const MeRequestBuilderUriTemplate = "{+baseurl}/users/me";
15
13
  * Metadata for all the navigation properties in the request builder.
16
14
  */
17
15
  export const MeRequestBuilderNavigationMetadata = {
18
- lastLogin: {
19
- requestsMetadata: LastLoginRequestBuilderRequestsMetadata,
20
- },
21
16
  paymentmethod: {
22
17
  requestsMetadata: PaymentmethodRequestBuilderRequestsMetadata,
23
18
  },
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../users/me/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAE,wCAAwC,EAAE,oBAAoB,EAAmF,MAAM,uBAAuB,CAAC;AACpO,aAAa;AACb,OAAO,EAAE,uCAAuC,EAAgC,MAAM,sBAAsB,CAAC;AAC7G,aAAa;AACb,OAAO,EAAE,2CAA2C,EAAoC,MAAM,0BAA0B,CAAC;AA+CzH;;GAEG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,qBAAqB,CAAC;AACjE;;GAEG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAAoG;IAC/I,SAAS,EAAE;QACP,gBAAgB,EAAE,uCAAuC;KAC5D;IACD,aAAa,EAAE;QACX,gBAAgB,EAAE,2CAA2C;KAChE;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAqB;IAC9D,GAAG,EAAE;QACD,WAAW,EAAE,2BAA2B;QACxC,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,wCAAwC;KACjE;IACD,GAAG,EAAE;QACD,WAAW,EAAE,2BAA2B;QACxC,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,wCAAwC;QAC9D,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,oBAAoB;QAC3C,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../users/me/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAE,wCAAwC,EAAE,oBAAoB,EAAmF,MAAM,uBAAuB,CAAC;AACpO,aAAa;AACb,OAAO,EAAE,2CAA2C,EAAoC,MAAM,0BAA0B,CAAC;AA2CzH;;GAEG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,qBAAqB,CAAC;AACjE;;GAEG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAAoG;IAC/I,aAAa,EAAE;QACX,gBAAgB,EAAE,2CAA2C;KAChE;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAqB;IAC9D,GAAG,EAAE;QACD,WAAW,EAAE,2BAA2B;QACxC,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,wCAAwC;KACjE;IACD,GAAG,EAAE;QACD,WAAW,EAAE,2BAA2B;QACxC,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,wCAAwC;QAC9D,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,oBAAoB;QAC3C,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.28",
3
+ "version": "1.0.29",
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",
@@ -1,30 +0,0 @@
1
- import { type UserResponse } 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 /users/me/last-login
5
- */
6
- export interface LastLoginRequestBuilder extends BaseRequestBuilder<LastLoginRequestBuilder> {
7
- /**
8
- * Records a successful sign-in for the current user, updating login metadata used for auditing and account events.
9
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
- * @returns {Promise<UserResponse>}
11
- * @throws {ProblemDetails} error when the service returns a 401 status code
12
- * @throws {ProblemDetails} error when the service returns a 404 status code
13
- */
14
- post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<UserResponse | undefined>;
15
- /**
16
- * Records a successful sign-in for the current user, updating login metadata used for auditing and account events.
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 LastLoginRequestBuilderUriTemplate = "{+baseurl}/users/me/last-login";
26
- /**
27
- * Metadata for all the requests in the request builder.
28
- */
29
- export declare const LastLoginRequestBuilderRequestsMetadata: RequestsMetadata;
30
- //# sourceMappingURL=index.d.ts.map