@leadping/sdk 1.0.28 → 1.0.30

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 (282) hide show
  1. package/dist/analytics/my/index.d.ts +3 -3
  2. package/dist/automations/index.d.ts +2 -2
  3. package/dist/automations/item/index.d.ts +6 -6
  4. package/dist/contact/index.d.ts +10 -1
  5. package/dist/contact/index.d.ts.map +1 -1
  6. package/dist/contact/index.js +10 -0
  7. package/dist/contact/index.js.map +1 -1
  8. package/dist/contact/website/index.d.ts +78 -0
  9. package/dist/contact/website/index.d.ts.map +1 -0
  10. package/dist/contact/website/index.js +74 -0
  11. package/dist/contact/website/index.js.map +1 -0
  12. package/dist/events/index.d.ts +5 -5
  13. package/dist/events/index.d.ts.map +1 -1
  14. package/dist/events/index.js +5 -5
  15. package/dist/events/index.js.map +1 -1
  16. package/dist/events/organizations/index.d.ts +22 -0
  17. package/dist/events/organizations/index.d.ts.map +1 -0
  18. package/dist/events/organizations/index.js +21 -0
  19. package/dist/events/organizations/index.js.map +1 -0
  20. package/dist/events/{businesses → organizations}/item/index.d.ts +10 -10
  21. package/dist/events/organizations/item/index.d.ts.map +1 -0
  22. package/dist/events/{businesses → organizations}/item/index.js +3 -3
  23. package/dist/events/organizations/item/index.js.map +1 -0
  24. package/dist/feedback/index.d.ts +2 -2
  25. package/dist/leadStatusChanges/all/index.d.ts +20 -0
  26. package/dist/leadStatusChanges/all/index.d.ts.map +1 -0
  27. package/dist/leadStatusChanges/all/index.js +20 -0
  28. package/dist/leadStatusChanges/all/index.js.map +1 -0
  29. package/dist/leadStatusChanges/all/my/index.d.ts +31 -0
  30. package/dist/leadStatusChanges/all/my/index.d.ts.map +1 -0
  31. package/dist/leadStatusChanges/all/my/index.js +29 -0
  32. package/dist/leadStatusChanges/all/my/index.js.map +1 -0
  33. package/dist/leadStatusChanges/index.d.ts +27 -0
  34. package/dist/leadStatusChanges/index.d.ts.map +1 -0
  35. package/dist/leadStatusChanges/index.js +26 -0
  36. package/dist/leadStatusChanges/index.js.map +1 -0
  37. package/dist/{dispositions → leadStatusChanges}/item/index.d.ts +18 -18
  38. package/dist/leadStatusChanges/item/index.d.ts.map +1 -0
  39. package/dist/{dispositions → leadStatusChanges}/item/index.js +9 -9
  40. package/dist/leadStatusChanges/item/index.js.map +1 -0
  41. package/dist/leadStatuses/index.d.ts +6 -6
  42. package/dist/leadStatuses/index.js +1 -1
  43. package/dist/leadStatuses/index.js.map +1 -1
  44. package/dist/leadStatuses/item/index.d.ts +6 -6
  45. package/dist/leadStatuses/item/index.js +1 -1
  46. package/dist/leadStatuses/item/index.js.map +1 -1
  47. package/dist/leadpingOpenApiClient.d.ts +10 -10
  48. package/dist/leadpingOpenApiClient.d.ts.map +1 -1
  49. package/dist/leadpingOpenApiClient.js +12 -12
  50. package/dist/leadpingOpenApiClient.js.map +1 -1
  51. package/dist/leads/index.d.ts +3 -3
  52. package/dist/leads/index.d.ts.map +1 -1
  53. package/dist/leads/index.js +4 -4
  54. package/dist/leads/index.js.map +1 -1
  55. package/dist/leads/intake/index.d.ts +4 -4
  56. package/dist/leads/item/archive/index.d.ts +2 -2
  57. package/dist/leads/item/archive/index.d.ts.map +1 -1
  58. package/dist/leads/item/archive/index.js +1 -1
  59. package/dist/leads/item/archive/index.js.map +1 -1
  60. package/dist/leads/item/index.d.ts +19 -9
  61. package/dist/leads/item/index.d.ts.map +1 -1
  62. package/dist/leads/item/index.js +17 -6
  63. package/dist/leads/item/index.js.map +1 -1
  64. package/dist/leads/item/status/index.d.ts +33 -0
  65. package/dist/leads/item/status/index.d.ts.map +1 -0
  66. package/dist/leads/item/status/index.js +31 -0
  67. package/dist/leads/item/status/index.js.map +1 -0
  68. package/dist/{dispositions/lead/item → leads/item/statusHistory}/exportEscaped/index.d.ts +7 -7
  69. package/dist/leads/item/statusHistory/exportEscaped/index.d.ts.map +1 -0
  70. package/dist/{dispositions/lead/item → leads/item/statusHistory}/exportEscaped/index.js +3 -3
  71. package/dist/leads/item/statusHistory/exportEscaped/index.js.map +1 -0
  72. package/dist/{dispositions/lead/item → leads/item/statusHistory}/index.d.ts +10 -10
  73. package/dist/leads/item/statusHistory/index.d.ts.map +1 -0
  74. package/dist/{dispositions/lead/item → leads/item/statusHistory}/index.js +6 -6
  75. package/dist/leads/item/statusHistory/index.js.map +1 -0
  76. package/dist/leads/item/tags/index.d.ts +6 -6
  77. package/dist/leads/item/tags/index.d.ts.map +1 -1
  78. package/dist/leads/item/tags/index.js +1 -1
  79. package/dist/leads/item/tags/index.js.map +1 -1
  80. package/dist/leads/item/tags/item/index.d.ts +4 -4
  81. package/dist/leads/item/tags/item/index.d.ts.map +1 -1
  82. package/dist/leads/item/tags/item/index.js +1 -1
  83. package/dist/leads/item/tags/item/index.js.map +1 -1
  84. package/dist/leads/item/unarchive/index.d.ts +2 -2
  85. package/dist/leads/item/unarchive/index.d.ts.map +1 -1
  86. package/dist/leads/item/unarchive/index.js +1 -1
  87. package/dist/leads/item/unarchive/index.js.map +1 -1
  88. package/dist/leads/item/workflowStatus/index.d.ts +4 -4
  89. package/dist/leads/item/workflowStatus/index.d.ts.map +1 -1
  90. package/dist/leads/item/workflowStatus/index.js +1 -1
  91. package/dist/leads/item/workflowStatus/index.js.map +1 -1
  92. package/dist/models/index.d.ts +4375 -3673
  93. package/dist/models/index.d.ts.map +1 -1
  94. package/dist/models/index.js +3845 -3249
  95. package/dist/models/index.js.map +1 -1
  96. package/dist/notifications/item/index.d.ts +2 -2
  97. package/dist/{businesses → organizations}/apiKeys/index.d.ts +2 -2
  98. package/dist/organizations/apiKeys/index.d.ts.map +1 -0
  99. package/dist/{businesses → organizations}/apiKeys/index.js +1 -1
  100. package/dist/organizations/apiKeys/index.js.map +1 -0
  101. package/dist/{businesses → organizations}/apiKeys/my/index.d.ts +7 -7
  102. package/dist/organizations/apiKeys/my/index.d.ts.map +1 -0
  103. package/dist/{businesses → organizations}/apiKeys/my/index.js +3 -3
  104. package/dist/organizations/apiKeys/my/index.js.map +1 -0
  105. package/dist/{businesses → organizations}/index.d.ts +4 -4
  106. package/dist/organizations/index.d.ts.map +1 -0
  107. package/dist/{businesses → organizations}/index.js +2 -2
  108. package/dist/organizations/index.js.map +1 -0
  109. package/dist/organizations/invitations/accept/index.d.ts +31 -0
  110. package/dist/organizations/invitations/accept/index.d.ts.map +1 -0
  111. package/dist/{businesses → organizations}/invitations/accept/index.js +4 -4
  112. package/dist/organizations/invitations/accept/index.js.map +1 -0
  113. package/dist/{businesses → organizations}/invitations/index.d.ts +2 -2
  114. package/dist/organizations/invitations/index.d.ts.map +1 -0
  115. package/dist/{businesses → organizations}/invitations/index.js +1 -1
  116. package/dist/organizations/invitations/index.js.map +1 -0
  117. package/dist/{businesses → organizations}/invitations/token/index.d.ts +3 -3
  118. package/dist/organizations/invitations/token/index.d.ts.map +1 -0
  119. package/dist/{businesses → organizations}/invitations/token/index.js +1 -1
  120. package/dist/organizations/invitations/token/index.js.map +1 -0
  121. package/dist/{businesses → organizations}/invitations/token/item/index.d.ts +7 -7
  122. package/dist/organizations/invitations/token/item/index.d.ts.map +1 -0
  123. package/dist/{businesses → organizations}/invitations/token/item/index.js +3 -3
  124. package/dist/organizations/invitations/token/item/index.js.map +1 -0
  125. package/dist/{businesses → organizations}/me/index.d.ts +26 -26
  126. package/dist/organizations/me/index.d.ts.map +1 -0
  127. package/dist/{businesses → organizations}/me/index.js +13 -13
  128. package/dist/organizations/me/index.js.map +1 -0
  129. package/dist/{businesses → organizations}/me/invitations/index.d.ts +16 -16
  130. package/dist/organizations/me/invitations/index.d.ts.map +1 -0
  131. package/dist/{businesses → organizations}/me/invitations/index.js +5 -5
  132. package/dist/organizations/me/invitations/index.js.map +1 -0
  133. package/dist/{businesses → organizations}/me/invitations/item/index.d.ts +4 -4
  134. package/dist/organizations/me/invitations/item/index.d.ts.map +1 -0
  135. package/dist/{businesses → organizations}/me/invitations/item/index.js +1 -1
  136. package/dist/organizations/me/invitations/item/index.js.map +1 -0
  137. package/dist/{businesses → organizations}/me/invitations/item/resend/index.d.ts +7 -7
  138. package/dist/organizations/me/invitations/item/resend/index.d.ts.map +1 -0
  139. package/dist/{businesses → organizations}/me/invitations/item/resend/index.js +3 -3
  140. package/dist/organizations/me/invitations/item/resend/index.js.map +1 -0
  141. package/dist/organizations/me/members/index.d.ts +57 -0
  142. package/dist/organizations/me/members/index.d.ts.map +1 -0
  143. package/dist/{businesses/me/users → organizations/me/members}/index.js +9 -9
  144. package/dist/organizations/me/members/index.js.map +1 -0
  145. package/dist/{businesses/me/users → organizations/me/members}/item/index.d.ts +12 -12
  146. package/dist/organizations/me/members/item/index.d.ts.map +1 -0
  147. package/dist/{businesses/me/users → organizations/me/members}/item/index.js +4 -4
  148. package/dist/organizations/me/members/item/index.js.map +1 -0
  149. package/dist/{businesses → organizations}/me/oneZerodlc/index.d.ts +2 -2
  150. package/dist/organizations/me/oneZerodlc/index.d.ts.map +1 -0
  151. package/dist/{businesses → organizations}/me/oneZerodlc/index.js +1 -1
  152. package/dist/organizations/me/oneZerodlc/index.js.map +1 -0
  153. package/dist/{businesses → organizations}/me/oneZerodlc/notes/index.d.ts +9 -9
  154. package/dist/organizations/me/oneZerodlc/notes/index.d.ts.map +1 -0
  155. package/dist/{businesses → organizations}/me/oneZerodlc/notes/index.js +3 -3
  156. package/dist/organizations/me/oneZerodlc/notes/index.js.map +1 -0
  157. package/dist/{businesses → organizations}/me/options/index.d.ts +7 -7
  158. package/dist/organizations/me/options/index.d.ts.map +1 -0
  159. package/dist/{businesses → organizations}/me/options/index.js +3 -3
  160. package/dist/organizations/me/options/index.js.map +1 -0
  161. package/dist/organizations/me/switchEscaped/index.d.ts +32 -0
  162. package/dist/organizations/me/switchEscaped/index.d.ts.map +1 -0
  163. package/dist/{businesses → organizations}/me/switchEscaped/index.js +4 -4
  164. package/dist/organizations/me/switchEscaped/index.js.map +1 -0
  165. package/dist/outbound/overview/index.d.ts +2 -2
  166. package/dist/paymentMethods/index.d.ts +2 -2
  167. package/dist/paymentMethods/invoices/index.d.ts +2 -2
  168. package/dist/paymentMethods/invoices/item/pdfAccess/index.d.ts +3 -3
  169. package/dist/paymentMethods/item/defaultEscaped/index.d.ts +2 -2
  170. package/dist/paymentMethods/item/index.d.ts +2 -2
  171. package/dist/phoneNumbers/all/index.d.ts +3 -3
  172. package/dist/phoneNumbers/all/index.d.ts.map +1 -1
  173. package/dist/phoneNumbers/all/index.js +3 -3
  174. package/dist/phoneNumbers/all/index.js.map +1 -1
  175. package/dist/phoneNumbers/all/{business → organization}/index.d.ts +6 -6
  176. package/dist/phoneNumbers/all/organization/index.d.ts.map +1 -0
  177. package/dist/phoneNumbers/all/{business → organization}/index.js +3 -3
  178. package/dist/phoneNumbers/all/organization/index.js.map +1 -0
  179. package/dist/phoneNumbers/index.d.ts +2 -2
  180. package/dist/phoneNumbers/isAvailableForPurchase/index.d.ts +2 -2
  181. package/dist/phoneNumbers/item/index.d.ts +2 -2
  182. package/dist/sms/index.d.ts +5 -0
  183. package/dist/sms/index.d.ts.map +1 -1
  184. package/dist/sms/index.js +5 -0
  185. package/dist/sms/index.js.map +1 -1
  186. package/dist/sms/media/index.d.ts +97 -0
  187. package/dist/sms/media/index.d.ts.map +1 -0
  188. package/dist/sms/media/index.js +104 -0
  189. package/dist/sms/media/index.js.map +1 -0
  190. package/dist/sms/send/index.d.ts +2 -2
  191. package/dist/sources/index.d.ts +2 -2
  192. package/dist/sources/item/index.d.ts +6 -6
  193. package/dist/sources/item/metrics/index.d.ts +3 -3
  194. package/dist/suppressions/all/index.d.ts +20 -0
  195. package/dist/suppressions/all/index.d.ts.map +1 -0
  196. package/dist/suppressions/all/index.js +20 -0
  197. package/dist/suppressions/all/index.js.map +1 -0
  198. package/dist/suppressions/all/my/index.d.ts +31 -0
  199. package/dist/suppressions/all/my/index.d.ts.map +1 -0
  200. package/dist/suppressions/all/my/index.js +29 -0
  201. package/dist/suppressions/all/my/index.js.map +1 -0
  202. package/dist/suppressions/index.d.ts +12 -0
  203. package/dist/suppressions/index.d.ts.map +1 -1
  204. package/dist/suppressions/index.js +11 -0
  205. package/dist/suppressions/index.js.map +1 -1
  206. package/dist/suppressions/item/index.d.ts +30 -0
  207. package/dist/suppressions/item/index.d.ts.map +1 -0
  208. package/dist/{users/me/lastLogin → suppressions/item}/index.js +6 -6
  209. package/dist/suppressions/item/index.js.map +1 -0
  210. package/dist/tags/index.d.ts +5 -5
  211. package/dist/tags/item/index.d.ts +4 -4
  212. package/dist/usage/all/my/index.d.ts +2 -2
  213. package/dist/usage/summary/my/index.d.ts +3 -3
  214. package/dist/users/compliance/index.d.ts +2 -2
  215. package/dist/users/me/index.d.ts +4 -9
  216. package/dist/users/me/index.d.ts.map +1 -1
  217. package/dist/users/me/index.js +0 -5
  218. package/dist/users/me/index.js.map +1 -1
  219. package/dist/wallets/me/index.d.ts +2 -2
  220. package/package.json +1 -1
  221. package/dist/businesses/apiKeys/index.d.ts.map +0 -1
  222. package/dist/businesses/apiKeys/index.js.map +0 -1
  223. package/dist/businesses/apiKeys/my/index.d.ts.map +0 -1
  224. package/dist/businesses/apiKeys/my/index.js.map +0 -1
  225. package/dist/businesses/index.d.ts.map +0 -1
  226. package/dist/businesses/index.js.map +0 -1
  227. package/dist/businesses/invitations/accept/index.d.ts +0 -31
  228. package/dist/businesses/invitations/accept/index.d.ts.map +0 -1
  229. package/dist/businesses/invitations/accept/index.js.map +0 -1
  230. package/dist/businesses/invitations/index.d.ts.map +0 -1
  231. package/dist/businesses/invitations/index.js.map +0 -1
  232. package/dist/businesses/invitations/token/index.d.ts.map +0 -1
  233. package/dist/businesses/invitations/token/index.js.map +0 -1
  234. package/dist/businesses/invitations/token/item/index.d.ts.map +0 -1
  235. package/dist/businesses/invitations/token/item/index.js.map +0 -1
  236. package/dist/businesses/me/index.d.ts.map +0 -1
  237. package/dist/businesses/me/index.js.map +0 -1
  238. package/dist/businesses/me/invitations/index.d.ts.map +0 -1
  239. package/dist/businesses/me/invitations/index.js.map +0 -1
  240. package/dist/businesses/me/invitations/item/index.d.ts.map +0 -1
  241. package/dist/businesses/me/invitations/item/index.js.map +0 -1
  242. package/dist/businesses/me/invitations/item/resend/index.d.ts.map +0 -1
  243. package/dist/businesses/me/invitations/item/resend/index.js.map +0 -1
  244. package/dist/businesses/me/oneZerodlc/index.d.ts.map +0 -1
  245. package/dist/businesses/me/oneZerodlc/index.js.map +0 -1
  246. package/dist/businesses/me/oneZerodlc/notes/index.d.ts.map +0 -1
  247. package/dist/businesses/me/oneZerodlc/notes/index.js.map +0 -1
  248. package/dist/businesses/me/options/index.d.ts.map +0 -1
  249. package/dist/businesses/me/options/index.js.map +0 -1
  250. package/dist/businesses/me/switchEscaped/index.d.ts +0 -32
  251. package/dist/businesses/me/switchEscaped/index.d.ts.map +0 -1
  252. package/dist/businesses/me/switchEscaped/index.js.map +0 -1
  253. package/dist/businesses/me/users/index.d.ts +0 -57
  254. package/dist/businesses/me/users/index.d.ts.map +0 -1
  255. package/dist/businesses/me/users/index.js.map +0 -1
  256. package/dist/businesses/me/users/item/index.d.ts.map +0 -1
  257. package/dist/businesses/me/users/item/index.js.map +0 -1
  258. package/dist/dispositions/index.d.ts +0 -49
  259. package/dist/dispositions/index.d.ts.map +0 -1
  260. package/dist/dispositions/index.js +0 -47
  261. package/dist/dispositions/index.js.map +0 -1
  262. package/dist/dispositions/item/index.d.ts.map +0 -1
  263. package/dist/dispositions/item/index.js.map +0 -1
  264. package/dist/dispositions/lead/index.d.ts +0 -22
  265. package/dist/dispositions/lead/index.d.ts.map +0 -1
  266. package/dist/dispositions/lead/index.js +0 -22
  267. package/dist/dispositions/lead/index.js.map +0 -1
  268. package/dist/dispositions/lead/item/exportEscaped/index.d.ts.map +0 -1
  269. package/dist/dispositions/lead/item/exportEscaped/index.js.map +0 -1
  270. package/dist/dispositions/lead/item/index.d.ts.map +0 -1
  271. package/dist/dispositions/lead/item/index.js.map +0 -1
  272. package/dist/events/businesses/index.d.ts +0 -22
  273. package/dist/events/businesses/index.d.ts.map +0 -1
  274. package/dist/events/businesses/index.js +0 -21
  275. package/dist/events/businesses/index.js.map +0 -1
  276. package/dist/events/businesses/item/index.d.ts.map +0 -1
  277. package/dist/events/businesses/item/index.js.map +0 -1
  278. package/dist/phoneNumbers/all/business/index.d.ts.map +0 -1
  279. package/dist/phoneNumbers/all/business/index.js.map +0 -1
  280. package/dist/users/me/lastLogin/index.d.ts +0 -30
  281. package/dist/users/me/lastLogin/index.d.ts.map +0 -1
  282. package/dist/users/me/lastLogin/index.js.map +0 -1
@@ -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,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,QAAQ,EAAE,oBAAoB,CAAC,MAAM,CAAC,CAAC;IAC/D,MAAM,CAAC,gBAAgB,CAAC,MAAM,EAAE,oBAAoB,CAAC,IAAI,CAAC,CAAC;IAC3D,MAAM,CAAC,mBAAmB,CAAC,oBAAoB,CAAC,cAAc,CAAC,CAAC;AACpE,CAAC;AACD;;;;;GAKG;AACH,aAAa;AACb,MAAM,UAAU,qCAAqC,CAAC,MAA2B,EAAE,+BAAyF,EAAE,EAAE,2BAAoC,KAAK;IACrN,IAAI,CAAC,4BAA4B,IAAI,wBAAwB,EAAE,CAAC;QAAC,OAAO;IAAC,CAAC;IAC1E,MAAM,CAAC,mBAAmB,CAAC,4BAA4B,CAAC,cAAc,CAAC,CAAC;AAC5E,CAAC;AACD;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,sBAAsB,CAAC;AACrE;;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;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"}
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
5
5
  */
6
6
  export interface SendRequestBuilder extends BaseRequestBuilder<SendRequestBuilder> {
7
7
  /**
8
- * Sends an SMS message to a lead or phone number, applying current-business sender selection, scheduling, and delivery rules.
8
+ * Sends an SMS message to a lead or phone number, applying current-organization sender selection, scheduling, and delivery rules.
9
9
  * @param body Request schema for the Leadping API SMS send request, including the fields clients can send.
10
10
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
11
11
  * @returns {Promise<SmsResponse>}
@@ -15,7 +15,7 @@ export interface SendRequestBuilder extends BaseRequestBuilder<SendRequestBuilde
15
15
  */
16
16
  post(body: SendSmsRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SmsResponse | undefined>;
17
17
  /**
18
- * Sends an SMS message to a lead or phone number, applying current-business sender selection, scheduling, and delivery rules.
18
+ * Sends an SMS message to a lead or phone number, applying current-organization sender selection, scheduling, and delivery rules.
19
19
  * @param body Request schema for the Leadping API SMS send request, including the fields clients can send.
20
20
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
21
21
  * @returns {RequestInformation}
@@ -17,7 +17,7 @@ export interface SourcesRequestBuilder extends BaseRequestBuilder<SourcesRequest
17
17
  */
18
18
  byId(id: string): SourcesItemRequestBuilder;
19
19
  /**
20
- * Creates a lead source for the current business, storing intake credentials and routing context for captured external leads.
20
+ * Creates a lead source for the current organization, storing intake credentials and routing context for captured external leads.
21
21
  * @param body Request schema for the Leadping API lead source request, including the fields clients can send.
22
22
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
23
23
  * @returns {Promise<SourceResponse>}
@@ -26,7 +26,7 @@ export interface SourcesRequestBuilder extends BaseRequestBuilder<SourcesRequest
26
26
  */
27
27
  post(body: SourceRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SourceResponse | undefined>;
28
28
  /**
29
- * Creates a lead source for the current business, storing intake credentials and routing context for captured external leads.
29
+ * Creates a lead source for the current organization, storing intake credentials and routing context for captured external leads.
30
30
  * @param body Request schema for the Leadping API lead source request, including the fields clients can send.
31
31
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
32
32
  * @returns {RequestInformation}
@@ -10,14 +10,14 @@ export interface SourcesItemRequestBuilder extends BaseRequestBuilder<SourcesIte
10
10
  */
11
11
  get metrics(): MetricsRequestBuilder;
12
12
  /**
13
- * Deletes a lead source from the current business so it can no longer accept or route newly captured leads.
13
+ * Deletes a lead source from the current organization so it can no longer accept or route newly captured leads.
14
14
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
15
  * @throws {ProblemDetails} error when the service returns a 401 status code
16
16
  * @throws {ProblemDetails} error when the service returns a 404 status code
17
17
  */
18
18
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
19
19
  /**
20
- * Returns one lead source for the current business, including intake settings, credentials metadata, and routing context.
20
+ * Returns one lead source for the current organization, including intake settings, credentials metadata, and routing context.
21
21
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
22
  * @returns {Promise<SourceResponse>}
23
23
  * @throws {ProblemDetails} error when the service returns a 401 status code
@@ -25,7 +25,7 @@ export interface SourcesItemRequestBuilder extends BaseRequestBuilder<SourcesIte
25
25
  */
26
26
  get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SourceResponse | undefined>;
27
27
  /**
28
- * Updates a lead source for the current business, changing intake settings, credentials, routing context, or active status.
28
+ * Updates a lead source for the current organization, changing intake settings, credentials, routing context, or active status.
29
29
  * @param body Request schema for the Leadping API lead source request, including the fields clients can send.
30
30
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
31
31
  * @returns {Promise<SourceResponse>}
@@ -34,19 +34,19 @@ export interface SourcesItemRequestBuilder extends BaseRequestBuilder<SourcesIte
34
34
  */
35
35
  put(body: SourceRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SourceResponse | undefined>;
36
36
  /**
37
- * Deletes a lead source from the current business so it can no longer accept or route newly captured leads.
37
+ * Deletes a lead source from the current organization so it can no longer accept or route newly captured leads.
38
38
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
39
39
  * @returns {RequestInformation}
40
40
  */
41
41
  toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
42
42
  /**
43
- * Returns one lead source for the current business, including intake settings, credentials metadata, and routing context.
43
+ * Returns one lead source for the current organization, including intake settings, credentials metadata, and routing context.
44
44
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
45
45
  * @returns {RequestInformation}
46
46
  */
47
47
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
48
48
  /**
49
- * Updates a lead source for the current business, changing intake settings, credentials, routing context, or active status.
49
+ * Updates a lead source for the current organization, changing intake settings, credentials, routing context, or active status.
50
50
  * @param body Request schema for the Leadping API lead source request, including the fields clients can send.
51
51
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
52
52
  * @returns {RequestInformation}
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
5
5
  */
6
6
  export interface MetricsRequestBuilder extends BaseRequestBuilder<MetricsRequestBuilder> {
7
7
  /**
8
- * Returns lead creation metrics for one business intake source, including accepted, rejected, duplicate, validation, and recent activity counts for monitoring.
8
+ * Returns lead creation metrics for one organization intake source, including accepted, rejected, duplicate, validation, and recent activity counts for monitoring.
9
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
10
  * @returns {Promise<SourceMetricsResponse>}
11
11
  * @throws {ProblemDetails} error when the service returns a 401 status code
@@ -13,14 +13,14 @@ export interface MetricsRequestBuilder extends BaseRequestBuilder<MetricsRequest
13
13
  */
14
14
  get(requestConfiguration?: RequestConfiguration<MetricsRequestBuilderGetQueryParameters> | undefined): Promise<SourceMetricsResponse | undefined>;
15
15
  /**
16
- * Returns lead creation metrics for one business intake source, including accepted, rejected, duplicate, validation, and recent activity counts for monitoring.
16
+ * Returns lead creation metrics for one organization intake source, including accepted, rejected, duplicate, validation, and recent activity counts for monitoring.
17
17
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
18
18
  * @returns {RequestInformation}
19
19
  */
20
20
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<MetricsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
21
21
  }
22
22
  /**
23
- * Returns lead creation metrics for one business intake source, including accepted, rejected, duplicate, validation, and recent activity counts for monitoring.
23
+ * Returns lead creation metrics for one organization intake source, including accepted, rejected, duplicate, validation, and recent activity counts for monitoring.
24
24
  */
25
25
  export interface MetricsRequestBuilderGetQueryParameters {
26
26
  /**
@@ -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 organization
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 organization
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,EAA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BAcxD,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,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,E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AAK,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"}
@@ -12,14 +12,14 @@ export interface TagsRequestBuilder extends BaseRequestBuilder<TagsRequestBuilde
12
12
  */
13
13
  byId(id: string): TagsItemRequestBuilder;
14
14
  /**
15
- * Lists tags for the current business, optionally including archived tags, for lead segmentation, filters, and routing labels.
15
+ * Lists tags for the current organization, optionally including archived tags, for lead segmentation, filters, and routing labels.
16
16
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
17
17
  * @returns {Promise<TagResponse[]>}
18
18
  * @throws {ProblemDetails} error when the service returns a 401 status code
19
19
  */
20
20
  get(requestConfiguration?: RequestConfiguration<TagsRequestBuilderGetQueryParameters> | undefined): Promise<TagResponse[] | undefined>;
21
21
  /**
22
- * Creates a tag for the current business so leads can be segmented, filtered, routed, and reviewed by label.
22
+ * Creates a tag for the current organization so leads can be segmented, filtered, routed, and reviewed by label.
23
23
  * @param body Request schema for the Leadping API tag request, including the fields clients can send.
24
24
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
25
25
  * @returns {Promise<TagResponse>}
@@ -28,13 +28,13 @@ export interface TagsRequestBuilder extends BaseRequestBuilder<TagsRequestBuilde
28
28
  */
29
29
  post(body: TagRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<TagResponse | undefined>;
30
30
  /**
31
- * Lists tags for the current business, optionally including archived tags, for lead segmentation, filters, and routing labels.
31
+ * Lists tags for the current organization, optionally including archived tags, for lead segmentation, filters, and routing labels.
32
32
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
33
33
  * @returns {RequestInformation}
34
34
  */
35
35
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<TagsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
36
36
  /**
37
- * Creates a tag for the current business so leads can be segmented, filtered, routed, and reviewed by label.
37
+ * Creates a tag for the current organization so leads can be segmented, filtered, routed, and reviewed by label.
38
38
  * @param body Request schema for the Leadping API tag request, including the fields clients can send.
39
39
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
40
40
  * @returns {RequestInformation}
@@ -42,7 +42,7 @@ export interface TagsRequestBuilder extends BaseRequestBuilder<TagsRequestBuilde
42
42
  toPostRequestInformation(body: TagRequest, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
43
43
  }
44
44
  /**
45
- * Lists tags for the current business, optionally including archived tags, for lead segmentation, filters, and routing labels.
45
+ * Lists tags for the current organization, optionally including archived tags, for lead segmentation, filters, and routing labels.
46
46
  */
47
47
  export interface TagsRequestBuilderGetQueryParameters {
48
48
  includeArchived?: boolean;
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
5
5
  */
6
6
  export interface TagsItemRequestBuilder extends BaseRequestBuilder<TagsItemRequestBuilder> {
7
7
  /**
8
- * Archives a tag for the current business so it stops being used for new segmentation while historical lead labels remain available.
8
+ * Archives a tag for the current organization so it stops being used for new segmentation while historical lead labels remain available.
9
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
10
  * @returns {Promise<boolean>}
11
11
  * @throws {ProblemDetails} error when the service returns a 401 status code
@@ -13,7 +13,7 @@ export interface TagsItemRequestBuilder extends BaseRequestBuilder<TagsItemReque
13
13
  */
14
14
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<boolean | undefined>;
15
15
  /**
16
- * Updates a current-business tag's name, color, or archived state so lead segmentation and filters stay consistent.
16
+ * Updates a current-organization tag's name, color, or archived state so lead segmentation and filters stay consistent.
17
17
  * @param body Request schema for the Leadping API tag request, including the fields clients can send.
18
18
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
19
19
  * @returns {Promise<TagResponse>}
@@ -23,13 +23,13 @@ export interface TagsItemRequestBuilder extends BaseRequestBuilder<TagsItemReque
23
23
  */
24
24
  put(body: TagRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<TagResponse | undefined>;
25
25
  /**
26
- * Archives a tag for the current business so it stops being used for new segmentation while historical lead labels remain available.
26
+ * Archives a tag for the current organization so it stops being used for new segmentation while historical lead labels remain available.
27
27
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
28
28
  * @returns {RequestInformation}
29
29
  */
30
30
  toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
31
31
  /**
32
- * Updates a current-business tag's name, color, or archived state so lead segmentation and filters stay consistent.
32
+ * Updates a current-organization tag's name, color, or archived state so lead segmentation and filters stay consistent.
33
33
  * @param body Request schema for the Leadping API tag request, including the fields clients can send.
34
34
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
35
35
  * @returns {RequestInformation}
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
5
5
  */
6
6
  export interface MyRequestBuilder extends BaseRequestBuilder<MyRequestBuilder> {
7
7
  /**
8
- * Lists current-business usage ledger entries with paging, sorting, and filters for messaging, billing, and wallet review.
8
+ * Lists current-organization usage ledger entries with paging, sorting, and filters for messaging, billing, and wallet review.
9
9
  * @param body Options for flexible, efficient, and explicit querying in Cosmos DB or similar repositories.
10
10
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
11
11
  * @returns {Promise<PagedResultOfUsageLedgerTableRow>}
@@ -13,7 +13,7 @@ export interface MyRequestBuilder extends BaseRequestBuilder<MyRequestBuilder> {
13
13
  */
14
14
  post(body: RequestDataOptions, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PagedResultOfUsageLedgerTableRow | undefined>;
15
15
  /**
16
- * Lists current-business usage ledger entries with paging, sorting, and filters for messaging, billing, and wallet review.
16
+ * Lists current-organization usage ledger entries with paging, sorting, and filters for messaging, billing, and wallet review.
17
17
  * @param body Options for flexible, efficient, and explicit querying in Cosmos DB or similar repositories.
18
18
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
19
19
  * @returns {RequestInformation}
@@ -5,21 +5,21 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
5
5
  */
6
6
  export interface MyRequestBuilder extends BaseRequestBuilder<MyRequestBuilder> {
7
7
  /**
8
- * Returns current-business usage totals for the active billing period, including spend, limits, and event summary data.
8
+ * Returns current-organization usage totals for the active billing period, including spend, limits, and event summary data.
9
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
10
  * @returns {Promise<UsageSummaryResponse>}
11
11
  * @throws {ProblemDetails} error when the service returns a 401 status code
12
12
  */
13
13
  get(requestConfiguration?: RequestConfiguration<MyRequestBuilderGetQueryParameters> | undefined): Promise<UsageSummaryResponse | undefined>;
14
14
  /**
15
- * Returns current-business usage totals for the active billing period, including spend, limits, and event summary data.
15
+ * Returns current-organization usage totals for the active billing period, including spend, limits, and event summary data.
16
16
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
17
17
  * @returns {RequestInformation}
18
18
  */
19
19
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<MyRequestBuilderGetQueryParameters> | undefined): RequestInformation;
20
20
  }
21
21
  /**
22
- * Returns current-business usage totals for the active billing period, including spend, limits, and event summary data.
22
+ * Returns current-organization usage totals for the active billing period, including spend, limits, and event summary data.
23
23
  */
24
24
  export interface MyRequestBuilderGetQueryParameters {
25
25
  /**