@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
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
5
5
  */
6
6
  export interface MyRequestBuilder extends BaseRequestBuilder<MyRequestBuilder> {
7
7
  /**
8
- * Returns current-business analytics for lead communication, including event volume, response metrics, and date-range filtering.
8
+ * Returns current-organization analytics for lead communication, including event volume, response metrics, and date-range filtering.
9
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
10
  * @returns {Promise<CustomerAnalyticsResponse>}
11
11
  * @throws {ProblemDetails} error when the service returns a 400 status code
@@ -14,14 +14,14 @@ export interface MyRequestBuilder extends BaseRequestBuilder<MyRequestBuilder> {
14
14
  */
15
15
  get(requestConfiguration?: RequestConfiguration<MyRequestBuilderGetQueryParameters> | undefined): Promise<CustomerAnalyticsResponse | undefined>;
16
16
  /**
17
- * Returns current-business analytics for lead communication, including event volume, response metrics, and date-range filtering.
17
+ * Returns current-organization analytics for lead communication, including event volume, response metrics, and date-range filtering.
18
18
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
19
19
  * @returns {RequestInformation}
20
20
  */
21
21
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<MyRequestBuilderGetQueryParameters> | undefined): RequestInformation;
22
22
  }
23
23
  /**
24
- * Returns current-business analytics for lead communication, including event volume, response metrics, and date-range filtering.
24
+ * Returns current-organization analytics for lead communication, including event volume, response metrics, and date-range filtering.
25
25
  */
26
26
  export interface MyRequestBuilderGetQueryParameters {
27
27
  days?: number;
@@ -22,7 +22,7 @@ export interface AutomationsRequestBuilder extends BaseRequestBuilder<Automation
22
22
  */
23
23
  byId(id: string): AutomationsItemRequestBuilder;
24
24
  /**
25
- * Creates an automation for current-business leads, configuring triggers, message steps, and follow-up behavior.
25
+ * Creates an automation for current-organization leads, configuring triggers, message steps, and follow-up behavior.
26
26
  * @param body Request schema for the Leadping API automation configuration request, including the fields clients can send.
27
27
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
28
28
  * @returns {Promise<AutomationResponse>}
@@ -31,7 +31,7 @@ export interface AutomationsRequestBuilder extends BaseRequestBuilder<Automation
31
31
  */
32
32
  post(body: AutomationRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AutomationResponse | undefined>;
33
33
  /**
34
- * Creates an automation for current-business leads, configuring triggers, message steps, and follow-up behavior.
34
+ * Creates an automation for current-organization leads, configuring triggers, message steps, and follow-up behavior.
35
35
  * @param body Request schema for the Leadping API automation configuration request, including the fields clients can send.
36
36
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
37
37
  * @returns {RequestInformation}
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
5
5
  */
6
6
  export interface AutomationsItemRequestBuilder extends BaseRequestBuilder<AutomationsItemRequestBuilder> {
7
7
  /**
8
- * Deletes an automation for the current business so it no longer schedules follow-up or routing work for captured leads.
8
+ * Deletes an automation for the current organization so it no longer schedules follow-up or routing work for captured leads.
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 AutomationsItemRequestBuilder extends BaseRequestBuilder<Automa
13
13
  */
14
14
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<boolean | undefined>;
15
15
  /**
16
- * Returns one automation for the current business, including trigger criteria, message steps, routing settings, and enabled state.
16
+ * Returns one automation for the current organization, including trigger criteria, message steps, routing settings, and enabled state.
17
17
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
18
18
  * @returns {Promise<AutomationResponse>}
19
19
  * @throws {ProblemDetails} error when the service returns a 401 status code
@@ -21,7 +21,7 @@ export interface AutomationsItemRequestBuilder extends BaseRequestBuilder<Automa
21
21
  */
22
22
  get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AutomationResponse | undefined>;
23
23
  /**
24
- * Updates an automation for current-business leads, changing triggers, message steps, routing, or active follow-up settings.
24
+ * Updates an automation for current-organization leads, changing triggers, message steps, routing, or active follow-up settings.
25
25
  * @param body Request schema for the Leadping API automation configuration request, including the fields clients can send.
26
26
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
27
27
  * @returns {Promise<AutomationResponse>}
@@ -31,19 +31,19 @@ export interface AutomationsItemRequestBuilder extends BaseRequestBuilder<Automa
31
31
  */
32
32
  put(body: AutomationRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AutomationResponse | undefined>;
33
33
  /**
34
- * Deletes an automation for the current business so it no longer schedules follow-up or routing work for captured leads.
34
+ * Deletes an automation for the current organization so it no longer schedules follow-up or routing work for captured leads.
35
35
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
36
36
  * @returns {RequestInformation}
37
37
  */
38
38
  toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
39
39
  /**
40
- * Returns one automation for the current business, including trigger criteria, message steps, routing settings, and enabled state.
40
+ * Returns one automation for the current organization, including trigger criteria, message steps, routing settings, and enabled state.
41
41
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
42
42
  * @returns {RequestInformation}
43
43
  */
44
44
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
45
45
  /**
46
- * Updates an automation for current-business leads, changing triggers, message steps, routing, or active follow-up settings.
46
+ * Updates an automation for current-organization leads, changing triggers, message steps, routing, or active follow-up settings.
47
47
  * @param body Request schema for the Leadping API automation configuration request, including the fields clients can send.
48
48
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
49
49
  * @returns {RequestInformation}
@@ -1,9 +1,14 @@
1
1
  import { type ContactRequest, type ContactResponse } from '../models/index.js';
2
- import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
2
+ import { type WebsiteRequestBuilder } from './website/index.js';
3
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
3
4
  /**
4
5
  * Builds and executes requests for operations under /contact
5
6
  */
6
7
  export interface ContactRequestBuilder extends BaseRequestBuilder<ContactRequestBuilder> {
8
+ /**
9
+ * The website property
10
+ */
11
+ get website(): WebsiteRequestBuilder;
7
12
  /**
8
13
  * Submits a public contact request to Leadping support, capturing sender details and message content without requiring authentication.
9
14
  * @param body Request schema for the Leadping API contact form request, including the fields clients can send.
@@ -24,6 +29,10 @@ export interface ContactRequestBuilder extends BaseRequestBuilder<ContactRequest
24
29
  * Uri template for the request builder.
25
30
  */
26
31
  export declare const ContactRequestBuilderUriTemplate = "{+baseurl}/contact";
32
+ /**
33
+ * Metadata for all the navigation properties in the request builder.
34
+ */
35
+ export declare const ContactRequestBuilderNavigationMetadata: Record<Exclude<keyof ContactRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
27
36
  /**
28
37
  * Metadata for all the requests in the request builder.
29
38
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../contact/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA8I,KAAK,cAAc,EAAE,KAAK,eAAe,EAAuB,MAAM,oBAAoB,CAAC;AAEhP,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B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oB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACzI;AACD;;GAEG;AACH,eAAO,MAAM,gCAAgC,uBAAuB,CAAC;AACrE;;GAEG;AACH,eAAO,MAAM,uCAAuC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,qBAAqB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAIxJ,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBAanD,CAAC"}
@@ -3,10 +3,20 @@
3
3
  // Generated by Microsoft Kiota
4
4
  // @ts-ignore
5
5
  import { createContactResponseFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue, serializeContactRequest } from '../models/index.js';
6
+ // @ts-ignore
7
+ import { WebsiteRequestBuilderRequestsMetadata } from './website/index.js';
6
8
  /**
7
9
  * Uri template for the request builder.
8
10
  */
9
11
  export const ContactRequestBuilderUriTemplate = "{+baseurl}/contact";
12
+ /**
13
+ * Metadata for all the navigation properties in the request builder.
14
+ */
15
+ export const ContactRequestBuilderNavigationMetadata = {
16
+ website: {
17
+ requestsMetadata: WebsiteRequestBuilderRequestsMetadata,
18
+ },
19
+ };
10
20
  /**
11
21
  * Metadata for all the requests in the request builder.
12
22
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../contact/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,2CAA2C,EAAE,0CAA0C,EAAE,uBAAuB,EAA4F,MAAM,oBAAoB,CAAC;AAwBhP;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,oBAAoB,CAAC;AACrE;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAqB;IACnE,IAAI,EAAE;QACF,WAAW,EAAE,gCAAgC;QAC7C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,2CAA2C;QACjE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,uBAAuB;QAC9C,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../contact/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,2CAA2C,EAAE,0CAA0C,EAAE,uBAAuB,EAA4F,MAAM,oBAAoB,CAAC;AAChP,aAAa;AACb,OAAO,EAA8B,qCAAqC,EAAE,MAAM,oBAAoB,CAAC;AA4BvG;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,oBAAoB,CAAC;AACrE;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAyG;IACzJ,OAAO,EAAE;QACL,gBAAgB,EAAE,qCAAqC;KAC1D;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAqB;IACnE,IAAI,EAAE;QACF,WAAW,EAAE,gCAAgC;QAC7C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,2CAA2C;QACjE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,uBAAuB;QAC9C,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,78 @@
1
+ import { type AdditionalDataHolder, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
2
+ /**
3
+ * Creates a new instance of the appropriate class based on discriminator value
4
+ * @param parseNode The parse node to use to read the discriminator value and create the object
5
+ * @returns {WebsitePostRequestBody}
6
+ */
7
+ export declare function createWebsitePostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
8
+ /**
9
+ * The deserialization information for the current model
10
+ * @param WebsitePostRequestBody The instance to deserialize into.
11
+ * @returns {Record<string, (node: ParseNode) => void>}
12
+ */
13
+ export declare function deserializeIntoWebsitePostRequestBody(websitePostRequestBody?: Partial<WebsitePostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
14
+ /**
15
+ * Serializes information the current object
16
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
17
+ * @param WebsitePostRequestBody The instance to serialize from.
18
+ * @param writer Serialization writer to use to serialize this model
19
+ */
20
+ export declare function serializeWebsitePostRequestBody(writer: SerializationWriter, websitePostRequestBody?: Partial<WebsitePostRequestBody> | undefined | null, isSerializingDerivedType?: boolean): void;
21
+ export interface WebsitePostRequestBody extends AdditionalDataHolder, Parsable {
22
+ /**
23
+ * The CompanyWebsite property
24
+ */
25
+ companyWebsite?: string | null;
26
+ /**
27
+ * The Email property
28
+ */
29
+ email?: string | null;
30
+ /**
31
+ * The Message property
32
+ */
33
+ message?: string | null;
34
+ /**
35
+ * The Name property
36
+ */
37
+ name?: string | null;
38
+ /**
39
+ * The Phone property
40
+ */
41
+ phone?: string | null;
42
+ /**
43
+ * The ReturnUrl property
44
+ */
45
+ returnUrl?: string | null;
46
+ /**
47
+ * The SmsConsent property
48
+ */
49
+ smsConsent?: boolean | null;
50
+ }
51
+ /**
52
+ * Builds and executes requests for operations under /contact/website
53
+ */
54
+ export interface WebsiteRequestBuilder extends BaseRequestBuilder<WebsiteRequestBuilder> {
55
+ /**
56
+ * Delivers the inquiry to the generated website's provisioned support address, then redirects the visitor to the site's confirmation state.
57
+ * @param body The request body
58
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
59
+ * @throws {ProblemDetails} error when the service returns a 400 status code
60
+ */
61
+ post(body: WebsitePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
62
+ /**
63
+ * Delivers the inquiry to the generated website's provisioned support address, then redirects the visitor to the site's confirmation state.
64
+ * @param body The request body
65
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
66
+ * @returns {RequestInformation}
67
+ */
68
+ toPostRequestInformation(body: WebsitePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
69
+ }
70
+ /**
71
+ * Uri template for the request builder.
72
+ */
73
+ export declare const WebsiteRequestBuilderUriTemplate = "{+baseurl}/contact/website";
74
+ /**
75
+ * Metadata for all the requests in the request builder.
76
+ */
77
+ export declare const WebsiteRequestBuilderRequestsMetadata: RequestsMetadata;
78
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../contact/website/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAE7P;;;;GAIG;AAEH,wBAAgB,kDAAkD,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,GAAI,CAAC,CAAC,QAAQ,CAAC,EAAE,QAAQ,KAAK,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAAC,CAE1K;AACD;;;;GAIG;AAEH,wBAAgB,qCAAqC,CAAC,sBAAsB,GAAE,OAAO,CAAC,sBAAsB,CAAC,GAAG,SAAc,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAU1K;AACD;;;;;GAKG;AAEH,wBAAgB,+BAA+B,CAAC,MAAM,EAAE,mBAAmB,EAAE,sBAAsB,GAAE,OAAO,CAAC,sBAAsB,CAAC,GAAG,SAAS,GAAG,IAAS,EAAE,wBAAwB,GAAE,OAAe,GAAI,IAAI,CAU9M;AACD,MAAM,WAAW,sBAAuB,SAAQ,oBAAoB,EAAE,QAAQ;IAC1E;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;CAC/B;AACD;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,kBAAkB,CAAC,qBAAqB,CAAC;IACpF;;;;;OAKG;IACF,IAAI,CAAC,IAAI,EAAE,sBAAsB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACrH;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,sBAAsB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,eAAO,MAAM,gCAAgC,+BAA+B,CAAC;AAC7E;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBAYnD,CAAC"}
@@ -0,0 +1,74 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { 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 {WebsitePostRequestBody}
10
+ */
11
+ // @ts-ignore
12
+ export function createWebsitePostRequestBodyFromDiscriminatorValue(parseNode) {
13
+ return deserializeIntoWebsitePostRequestBody;
14
+ }
15
+ /**
16
+ * The deserialization information for the current model
17
+ * @param WebsitePostRequestBody The instance to deserialize into.
18
+ * @returns {Record<string, (node: ParseNode) => void>}
19
+ */
20
+ // @ts-ignore
21
+ export function deserializeIntoWebsitePostRequestBody(websitePostRequestBody = {}) {
22
+ return {
23
+ "CompanyWebsite": n => { websitePostRequestBody.companyWebsite = n.getStringValue(); },
24
+ "Email": n => { websitePostRequestBody.email = n.getStringValue(); },
25
+ "Message": n => { websitePostRequestBody.message = n.getStringValue(); },
26
+ "Name": n => { websitePostRequestBody.name = n.getStringValue(); },
27
+ "Phone": n => { websitePostRequestBody.phone = n.getStringValue(); },
28
+ "ReturnUrl": n => { websitePostRequestBody.returnUrl = n.getStringValue(); },
29
+ "SmsConsent": n => { websitePostRequestBody.smsConsent = n.getBooleanValue(); },
30
+ };
31
+ }
32
+ /**
33
+ * Serializes information the current object
34
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
35
+ * @param WebsitePostRequestBody The instance to serialize from.
36
+ * @param writer Serialization writer to use to serialize this model
37
+ */
38
+ // @ts-ignore
39
+ export function serializeWebsitePostRequestBody(writer, websitePostRequestBody = {}, isSerializingDerivedType = false) {
40
+ if (!websitePostRequestBody || isSerializingDerivedType) {
41
+ return;
42
+ }
43
+ writer.writeStringValue("CompanyWebsite", websitePostRequestBody.companyWebsite);
44
+ writer.writeStringValue("Email", websitePostRequestBody.email);
45
+ writer.writeStringValue("Message", websitePostRequestBody.message);
46
+ writer.writeStringValue("Name", websitePostRequestBody.name);
47
+ writer.writeStringValue("Phone", websitePostRequestBody.phone);
48
+ writer.writeStringValue("ReturnUrl", websitePostRequestBody.returnUrl);
49
+ writer.writeBooleanValue("SmsConsent", websitePostRequestBody.smsConsent);
50
+ writer.writeAdditionalData(websitePostRequestBody.additionalData);
51
+ }
52
+ /**
53
+ * Uri template for the request builder.
54
+ */
55
+ export const WebsiteRequestBuilderUriTemplate = "{+baseurl}/contact/website";
56
+ /**
57
+ * Metadata for all the requests in the request builder.
58
+ */
59
+ export const WebsiteRequestBuilderRequestsMetadata = {
60
+ post: {
61
+ uriTemplate: WebsiteRequestBuilderUriTemplate,
62
+ responseBodyContentType: "application/json, text/plain;q=0.9",
63
+ errorMappings: {
64
+ 400: createProblemDetailsFromDiscriminatorValue,
65
+ },
66
+ adapterMethodName: "sendNoResponseContent",
67
+ requestBodyContentType: "application/x-www-form-urlencoded",
68
+ requestBodySerializer: serializeWebsitePostRequestBody,
69
+ requestInformationContentSetMethod: "setContentFromParsable",
70
+ },
71
+ };
72
+ /* tslint:enable */
73
+ /* eslint-enable */
74
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../contact/website/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAuB,MAAM,uBAAuB,CAAC;AAIxG;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,kDAAkD,CAAC,SAAgC;IAC/F,OAAO,qCAAqC,CAAC;AACjD,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,qCAAqC,CAAC,yBAAsE,EAAE;IAC1H,OAAO;QACH,gBAAgB,EAAE,CAAC,CAAC,EAAE,GAAG,sBAAsB,CAAC,cAAc,GAAG,CAAC,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC;QACtF,OAAO,EAAE,CAAC,CAAC,EAAE,GAAG,sBAAsB,CAAC,KAAK,GAAG,CAAC,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC;QACpE,SAAS,EAAE,CA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B,CAAC,YAAY,EAAE,sBAAsB,CAAC,UAAU,CAAC,CAAC;IAC1E,MAAM,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,cAAc,CAAC,CAAC;AACtE,CAAC;AAkDD;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,4BAA4B,CAAC;AAC7E;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAqB;IACnE,IAAI,EAAE;QACF,WAAW,EAAE,gCAAgC;QAC7C,uBAAuB,EAAE,oCAAoC;QAC7D,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,uBAAuB;QAC1C,sBAAsB,EAAE,mCAAmC;QAC3D,qBAAqB,EAAE,+BAA+B;QACtD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -1,9 +1,9 @@
1
1
  import { type AllRequestBuilder } from './all/index.js';
2
- import { type BusinessesRequestBuilder } from './businesses/index.js';
3
2
  import { type CallsRequestBuilder } from './calls/index.js';
4
3
  import { type ConversationsRequestBuilder } from './conversations/index.js';
5
4
  import { type WithEventItemRequestBuilder } from './item/index.js';
6
5
  import { type LeadsRequestBuilder } from './leads/index.js';
6
+ import { type OrganizationsRequestBuilder } from './organizations/index.js';
7
7
  import { type SmsRequestBuilder } from './sms/index.js';
8
8
  import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
9
9
  /**
@@ -14,10 +14,6 @@ export interface EventsRequestBuilder extends BaseRequestBuilder<EventsRequestBu
14
14
  * The all property
15
15
  */
16
16
  get all(): AllRequestBuilder;
17
- /**
18
- * The businesses property
19
- */
20
- get businesses(): BusinessesRequestBuilder;
21
17
  /**
22
18
  * The calls property
23
19
  */
@@ -30,6 +26,10 @@ export interface EventsRequestBuilder extends BaseRequestBuilder<EventsRequestBu
30
26
  * The leads property
31
27
  */
32
28
  get leads(): LeadsRequestBuilder;
29
+ /**
30
+ * The organizations property
31
+ */
32
+ get organizations(): OrganizationsRequestBuilder;
33
33
  /**
34
34
  * The sms property
35
35
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../events/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAuC,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAE7F,OAAO,EAA8C,KAAK,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAElH,OAAO,EAAyC,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEnG,OAAO,EAAiD,KAAK,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAE3H,OAAO,EAAE,KAAK,2BAA2B,EAA8F,MAAM,iBAAiB,CAAC;AAE/J,OAAO,EAAyC,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEnG,OAAO,EAAuC,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAE7F,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAE1I;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,kBAAkB,CAAC,oBAAoB,CAAC;IAClF;;OAEG;IACH,IAAI,GAAG,IAAI,iBAAiB,CAAC;IAC7B;;OAEG;IACH,IAAI,UAAU,IAAI,wBAAwB,CAAC;IAC3C;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;OAEG;IACH,IAAI,aAAa,IAAI,2BAA2B,CAAC;IACjD;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;OAEG;IACH,IAAI,GAAG,IAAI,iBAAiB,CAAC;IAC7B;;;;OAIG;IACF,SAAS,CAAC,OAAO,EAAE,MAAM,GAAI,2BAA2B,CAAC;CAC7D;AACD;;GAEG;AACH,eAAO,MAAM,+BAA+B,sBAAsB,CAAC;AACnE;;GAEG;A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E;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,oBAAoB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAwBtJ,CAAC"}
@@ -4,8 +4,6 @@
4
4
  // @ts-ignore
5
5
  import { AllRequestBuilderNavigationMetadata } from './all/index.js';
6
6
  // @ts-ignore
7
- import { BusinessesRequestBuilderNavigationMetadata } from './businesses/index.js';
8
- // @ts-ignore
9
7
  import { CallsRequestBuilderNavigationMetadata } from './calls/index.js';
10
8
  // @ts-ignore
11
9
  import { ConversationsRequestBuilderNavigationMetadata } from './conversations/index.js';
@@ -14,6 +12,8 @@ import { WithEventItemRequestBuilderNavigationMetadata, WithEventItemRequestBuil
14
12
  // @ts-ignore
15
13
  import { LeadsRequestBuilderNavigationMetadata } from './leads/index.js';
16
14
  // @ts-ignore
15
+ import { OrganizationsRequestBuilderNavigationMetadata } from './organizations/index.js';
16
+ // @ts-ignore
17
17
  import { SmsRequestBuilderNavigationMetadata } from './sms/index.js';
18
18
  /**
19
19
  * Uri template for the request builder.
@@ -31,9 +31,6 @@ export const EventsRequestBuilderNavigationMetadata = {
31
31
  all: {
32
32
  navigationMetadata: AllRequestBuilderNavigationMetadata,
33
33
  },
34
- businesses: {
35
- navigationMetadata: BusinessesRequestBuilderNavigationMetadata,
36
- },
37
34
  calls: {
38
35
  navigationMetadata: CallsRequestBuilderNavigationMetadata,
39
36
  },
@@ -43,6 +40,9 @@ export const EventsRequestBuilderNavigationMetadata = {
43
40
  leads: {
44
41
  navigationMetadata: LeadsRequestBuilderNavigationMetadata,
45
42
  },
43
+ organizations: {
44
+ navigationMetadata: OrganizationsRequestBuilderNavigationMetadata,
45
+ },
46
46
  sms: {
47
47
  navigationMetadata: SmsRequestBuilderNavigationMetadata,
48
48
  },
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../events/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,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BAAgB,CAAC;AAC7F,aAAa;AACb,OAAO,EAAE,qCAAqC,EAA4B,MAAM,kBAAkB,CAAC;AACnG,aAAa;AACb,OAAO,EAAE,6CAA6C,EAAoC,MAAM,0BAA0B,CAAC;AAC3H,aAAa;AACb,OAAO,EAAoC,6CAA6C,EAAE,2CAA2C,EAAE,MAAM,iBAAiB,CAAC;AAC/J,aAAa;AACb,OAAO,EAAE,qCAAqC,EAA4B,MAAM,kBAAkB,CAAC;AACnG,aAAa;AACb,OAAO,EAAE,6CAA6C,EAAoC,MAAM,0BAA0B,CAAC;AAC3H,aAAa;AACb,OAAO,EAAE,mCAAmC,EAA0B,MAAM,gBAAgB,CAAC;AAuC7F;;GAEG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG,mBAAmB,CAAC;AACnE;;GAEG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAwG;IACvJ,SAAS,EAAE;QACP,gBAAgB,EAAE,2CAA2C;QAC7D,kBAAkB,EAAE,6CAA6C;QACjE,sBAAsB,EAAE,CAAC,SAAS,CAAC;KACtC;IACD,GAAG,EAAE;QACD,kBAAkB,EAAE,mCAAmC;KAC1D;IACD,KAAK,EAAE;QACH,kBAAkB,EAAE,qCAAqC;KAC5D;IACD,aAAa,EAAE;QACX,kBAAkB,EAAE,6CAA6C;KACpE;IACD,KAAK,EAAE;QACH,kBAAkB,EAAE,qCAAqC;KAC5D;IACD,aAAa,EAAE;QACX,kBAAkB,EAAE,6CAA6C;KACpE;IACD,GAAG,EAAE;QACD,kBAAkB,EAAE,mCAAmC;KAC1D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,22 @@
1
+ import { type WithOrganizationItemRequestBuilder } from './item/index.js';
2
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Builds and executes requests for operations under /events/organizations
5
+ */
6
+ export interface OrganizationsRequestBuilder extends BaseRequestBuilder<OrganizationsRequestBuilder> {
7
+ /**
8
+ * Gets an item from the leadping.events.organizations.item collection
9
+ * @param organizationId The organization identifier.
10
+ * @returns {WithOrganizationItemRequestBuilder}
11
+ */
12
+ byOrganizationId(organizationId: string): WithOrganizationItemRequestBuilder;
13
+ }
14
+ /**
15
+ * Uri template for the request builder.
16
+ */
17
+ export declare const OrganizationsRequestBuilderUriTemplate = "{+baseurl}/events/organizations";
18
+ /**
19
+ * Metadata for all the navigation properties in the request builder.
20
+ */
21
+ export declare const OrganizationsRequestBuilderNavigationMetadata: Record<Exclude<keyof OrganizationsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
22
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../events/organizations/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kCAAkC,EAAsD,MAAM,iBAAiB,CAAC;AAE9H,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAE1I;;GAEG;AACH,MAAM,WAAW,2BAA4B,SAAQ,kBAAkB,CAAC,2BAA2B,CAAC;IAChG;;;;OAIG;IACF,gBAAgB,CAAC,cAAc,EAAE,MAAM,GAAI,kCAAkC,CAAC;CAClF;AACD;;GAEG;AACH,eAAO,MAAM,sCAAsC,oCAAoC,CAAC;AACxF;;GAEG;AACH,eAAO,MAAM,6CAA6C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,2BAA2B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAKpK,CAAC"}
@@ -0,0 +1,21 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { WithOrganizationItemRequestBuilderRequestsMetadata } from './item/index.js';
6
+ /**
7
+ * Uri template for the request builder.
8
+ */
9
+ export const OrganizationsRequestBuilderUriTemplate = "{+baseurl}/events/organizations";
10
+ /**
11
+ * Metadata for all the navigation properties in the request builder.
12
+ */
13
+ export const OrganizationsRequestBuilderNavigationMetadata = {
14
+ byOrganizationId: {
15
+ requestsMetadata: WithOrganizationItemRequestBuilderRequestsMetadata,
16
+ pathParametersMappings: ["organizationId"],
17
+ },
18
+ };
19
+ /* tslint:enable */
20
+ /* eslint-enable */
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../events/organizations/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAA2C,kDAAkD,EAAE,MAAM,iBAAiB,CAAC;AAe9H;;GAEG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAG,iCAAiC,CAAC;AACxF;;GAEG;AACH,MAAM,CAAC,MAAM,6CAA6C,GAA+G;IACrK,gBAAgB,EAAE;QACd,gBAAgB,EAAE,kDAAkD;QACpE,sBAAsB,EAAE,CAAC,gBAAgB,CAAC;KAC7C;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -1,39 +1,39 @@
1
1
  import { type PagedResultOfEventTableRow, type RequestDataOptions } from '../../../models/index.js';
2
2
  import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
3
3
  /**
4
- * Builds and executes requests for operations under /events/businesses/{businessId}
4
+ * Builds and executes requests for operations under /events/organizations/{organizationId}
5
5
  */
6
- export interface WithBusinessItemRequestBuilder extends BaseRequestBuilder<WithBusinessItemRequestBuilder> {
6
+ export interface WithOrganizationItemRequestBuilder extends BaseRequestBuilder<WithOrganizationItemRequestBuilder> {
7
7
  /**
8
- * Lists event records for a business with paging and filters so admins can review lead communication and automation events.
8
+ * Lists event records for an organization with paging and filters so admins can review lead communication and automation events.
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<PagedResultOfEventTableRow>}
12
12
  * @throws {ProblemDetails} error when the service returns a 400 status code
13
13
  * @throws {ProblemDetails} error when the service returns a 401 status code
14
14
  */
15
- post(body: RequestDataOptions, requestConfiguration?: RequestConfiguration<WithBusinessItemRequestBuilderPostQueryParameters> | undefined): Promise<PagedResultOfEventTableRow | undefined>;
15
+ post(body: RequestDataOptions, requestConfiguration?: RequestConfiguration<WithOrganizationItemRequestBuilderPostQueryParameters> | undefined): Promise<PagedResultOfEventTableRow | undefined>;
16
16
  /**
17
- * Lists event records for a business with paging and filters so admins can review lead communication and automation events.
17
+ * Lists event records for an organization with paging and filters so admins can review lead communication and automation events.
18
18
  * @param body Options for flexible, efficient, and explicit querying in Cosmos DB or similar repositories.
19
19
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
20
20
  * @returns {RequestInformation}
21
21
  */
22
- toPostRequestInformation(body: RequestDataOptions, requestConfiguration?: RequestConfiguration<WithBusinessItemRequestBuilderPostQueryParameters> | undefined): RequestInformation;
22
+ toPostRequestInformation(body: RequestDataOptions, requestConfiguration?: RequestConfiguration<WithOrganizationItemRequestBuilderPostQueryParameters> | undefined): RequestInformation;
23
23
  }
24
24
  /**
25
- * Lists event records for a business with paging and filters so admins can review lead communication and automation events.
25
+ * Lists event records for an organization with paging and filters so admins can review lead communication and automation events.
26
26
  */
27
- export interface WithBusinessItemRequestBuilderPostQueryParameters {
27
+ export interface WithOrganizationItemRequestBuilderPostQueryParameters {
28
28
  endAt?: Date;
29
29
  startAt?: Date;
30
30
  }
31
31
  /**
32
32
  * Uri template for the request builder.
33
33
  */
34
- export declare const WithBusinessItemRequestBuilderUriTemplate = "{+baseurl}/events/businesses/{businessId}{?endAt*,startAt*}";
34
+ export declare const WithOrganizationItemRequestBuilderUriTemplate = "{+baseurl}/events/organizations/{organizationId}{?endAt*,startAt*}";
35
35
  /**
36
36
  * Metadata for all the requests in the request builder.
37
37
  */
38
- export declare const WithBusinessItemRequestBuilderRequestsMetadata: RequestsMetadata;
38
+ export declare const WithOrganizationItemRequestBuilderRequestsMetadata: RequestsMetadata;
39
39
  //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../events/organizations/item/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAwK,KAAK,0BAA0B,EAAuB,KAAK,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAE/R,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,kCAAmC,SAAQ,kBAAkB,CAAC,kCAAkC,CAAC;IAC9G;;;;;;;OAOG;IACF,IAAI,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qDAAqD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,0BAA0B,GAAG,SAAS,CAAC,CAAC;IAClM;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qDAAqD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC5L;AACD;;GAEG;AACH,MAAM,WAAW,qDAAqD;IAClE,KAAK,CAAC,EAAE,IAAI,CAAC;IACb,OAAO,CAAC,EAAE,IAAI,CAAC;CAClB;AACD;;GAEG;AACH,eAAO,MAAM,6CAA6C,uEAAuE,CAAC;AAClI;;GAEG;AACH,eAAO,MAAM,kDAAkD,EAAE,gBAchE,CAAC"}
@@ -6,13 +6,13 @@ import { createPagedResultOfEventTableRowFromDiscriminatorValue, createProblemDe
6
6
  /**
7
7
  * Uri template for the request builder.
8
8
  */
9
- export const WithBusinessItemRequestBuilderUriTemplate = "{+baseurl}/events/businesses/{businessId}{?endAt*,startAt*}";
9
+ export const WithOrganizationItemRequestBuilderUriTemplate = "{+baseurl}/events/organizations/{organizationId}{?endAt*,startAt*}";
10
10
  /**
11
11
  * Metadata for all the requests in the request builder.
12
12
  */
13
- export const WithBusinessItemRequestBuilderRequestsMetadata = {
13
+ export const WithOrganizationItemRequestBuilderRequestsMetadata = {
14
14
  post: {
15
- uriTemplate: WithBusinessItemRequestBuilderUriTemplate,
15
+ uriTemplate: WithOrganizationItemRequestBuilderUriTemplate,
16
16
  responseBodyContentType: "application/json",
17
17
  errorMappings: {
18
18
  400: createProblemDetailsFromDiscriminatorValue,
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../events/organizations/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,sDAAsD,EAAE,0CAA0C,EAAuC,2BAA2B,EAAiF,MAAM,0BAA0B,CAAC;AAgC/R;;GAEG;AACH,MAAM,CAAC,MAAM,6CAA6C,GAAG,oEAAoE,CAAC;AAClI;;GAEG;AACH,MAAM,CAAC,MAAM,kDAAkD,GAAqB;IAChF,IAAI,EAAE;QACF,WAAW,EAAE,6CAA6C;QAC1D,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,sDAAsD;QAC5E,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,2BAA2B;QAClD,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 FeedbackRequestBuilder extends BaseRequestBuilder<FeedbackRequestBuilder> {
7
7
  /**
8
- * Creates product feedback for the current business, capturing category, message, and context for operator review.
8
+ * Creates product feedback for the current organization, capturing category, message, and context for operator review.
9
9
  * @param body Request schema for the Leadping API feedback creation 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<FeedbackResponse>}
@@ -14,7 +14,7 @@ export interface FeedbackRequestBuilder extends BaseRequestBuilder<FeedbackReque
14
14
  */
15
15
  post(body: FeedbackCreateRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<FeedbackResponse | undefined>;
16
16
  /**
17
- * Creates product feedback for the current business, capturing category, message, and context for operator review.
17
+ * Creates product feedback for the current organization, capturing category, message, and context for operator review.
18
18
  * @param body Request schema for the Leadping API feedback creation request, including the fields clients can send.
19
19
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
20
20
  * @returns {RequestInformation}
@@ -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 /lead-status-changes/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}/lead-status-changes/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":["../../../leadStatusChanges/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,uCAAuC,CAAC;AACjF;;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}/lead-status-changes/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":["../../../leadStatusChanges/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,oCAAoC,CAAC;AACjF;;GAEG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAqG;IACjJ,EAAE,EAAE;QACA,gBAAgB,EAAE,gCAAgC;KACrD;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}