@leadping/sdk 1.0.29 → 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 (245) 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/events/index.d.ts +5 -5
  5. package/dist/events/index.d.ts.map +1 -1
  6. package/dist/events/index.js +5 -5
  7. package/dist/events/index.js.map +1 -1
  8. package/dist/events/organizations/index.d.ts +22 -0
  9. package/dist/events/organizations/index.d.ts.map +1 -0
  10. package/dist/events/organizations/index.js +21 -0
  11. package/dist/events/organizations/index.js.map +1 -0
  12. package/dist/events/{businesses → organizations}/item/index.d.ts +10 -10
  13. package/dist/events/organizations/item/index.d.ts.map +1 -0
  14. package/dist/events/{businesses → organizations}/item/index.js +3 -3
  15. package/dist/events/organizations/item/index.js.map +1 -0
  16. package/dist/feedback/index.d.ts +2 -2
  17. package/dist/{dispositions → leadStatusChanges}/all/index.d.ts +2 -2
  18. package/dist/leadStatusChanges/all/index.d.ts.map +1 -0
  19. package/dist/{dispositions → leadStatusChanges}/all/index.js +1 -1
  20. package/dist/leadStatusChanges/all/index.js.map +1 -0
  21. package/dist/{dispositions → leadStatusChanges}/all/my/index.d.ts +7 -7
  22. package/dist/leadStatusChanges/all/my/index.d.ts.map +1 -0
  23. package/dist/{dispositions → leadStatusChanges}/all/my/index.js +3 -3
  24. package/dist/leadStatusChanges/all/my/index.js.map +1 -0
  25. package/dist/leadStatusChanges/index.d.ts +27 -0
  26. package/dist/leadStatusChanges/index.d.ts.map +1 -0
  27. package/dist/leadStatusChanges/index.js +26 -0
  28. package/dist/leadStatusChanges/index.js.map +1 -0
  29. package/dist/{dispositions → leadStatusChanges}/item/index.d.ts +18 -18
  30. package/dist/leadStatusChanges/item/index.d.ts.map +1 -0
  31. package/dist/{dispositions → leadStatusChanges}/item/index.js +9 -9
  32. package/dist/leadStatusChanges/item/index.js.map +1 -0
  33. package/dist/leadStatuses/index.d.ts +4 -4
  34. package/dist/leadStatuses/item/index.d.ts +4 -4
  35. package/dist/leadpingOpenApiClient.d.ts +10 -10
  36. package/dist/leadpingOpenApiClient.d.ts.map +1 -1
  37. package/dist/leadpingOpenApiClient.js +10 -11
  38. package/dist/leadpingOpenApiClient.js.map +1 -1
  39. package/dist/leads/index.d.ts +3 -3
  40. package/dist/leads/index.d.ts.map +1 -1
  41. package/dist/leads/index.js +4 -4
  42. package/dist/leads/index.js.map +1 -1
  43. package/dist/leads/intake/index.d.ts +4 -4
  44. package/dist/leads/item/archive/index.d.ts +2 -2
  45. package/dist/leads/item/archive/index.d.ts.map +1 -1
  46. package/dist/leads/item/archive/index.js +1 -1
  47. package/dist/leads/item/archive/index.js.map +1 -1
  48. package/dist/leads/item/index.d.ts +19 -9
  49. package/dist/leads/item/index.d.ts.map +1 -1
  50. package/dist/leads/item/index.js +17 -6
  51. package/dist/leads/item/index.js.map +1 -1
  52. package/dist/leads/item/status/index.d.ts +33 -0
  53. package/dist/leads/item/status/index.d.ts.map +1 -0
  54. package/dist/leads/item/status/index.js +31 -0
  55. package/dist/leads/item/status/index.js.map +1 -0
  56. package/dist/{dispositions/lead/item → leads/item/statusHistory}/exportEscaped/index.d.ts +7 -7
  57. package/dist/leads/item/statusHistory/exportEscaped/index.d.ts.map +1 -0
  58. package/dist/{dispositions/lead/item → leads/item/statusHistory}/exportEscaped/index.js +3 -3
  59. package/dist/leads/item/statusHistory/exportEscaped/index.js.map +1 -0
  60. package/dist/{dispositions/lead/item → leads/item/statusHistory}/index.d.ts +10 -10
  61. package/dist/leads/item/statusHistory/index.d.ts.map +1 -0
  62. package/dist/{dispositions/lead/item → leads/item/statusHistory}/index.js +6 -6
  63. package/dist/leads/item/statusHistory/index.js.map +1 -0
  64. package/dist/leads/item/tags/index.d.ts +6 -6
  65. package/dist/leads/item/tags/index.d.ts.map +1 -1
  66. package/dist/leads/item/tags/index.js +1 -1
  67. package/dist/leads/item/tags/index.js.map +1 -1
  68. package/dist/leads/item/tags/item/index.d.ts +4 -4
  69. package/dist/leads/item/tags/item/index.d.ts.map +1 -1
  70. package/dist/leads/item/tags/item/index.js +1 -1
  71. package/dist/leads/item/tags/item/index.js.map +1 -1
  72. package/dist/leads/item/unarchive/index.d.ts +2 -2
  73. package/dist/leads/item/unarchive/index.d.ts.map +1 -1
  74. package/dist/leads/item/unarchive/index.js +1 -1
  75. package/dist/leads/item/unarchive/index.js.map +1 -1
  76. package/dist/leads/item/workflowStatus/index.d.ts +4 -4
  77. package/dist/leads/item/workflowStatus/index.d.ts.map +1 -1
  78. package/dist/leads/item/workflowStatus/index.js +1 -1
  79. package/dist/leads/item/workflowStatus/index.js.map +1 -1
  80. package/dist/models/index.d.ts +3766 -3718
  81. package/dist/models/index.d.ts.map +1 -1
  82. package/dist/models/index.js +4056 -4032
  83. package/dist/models/index.js.map +1 -1
  84. package/dist/notifications/item/index.d.ts +2 -2
  85. package/dist/{businesses → organizations}/apiKeys/index.d.ts +2 -2
  86. package/dist/organizations/apiKeys/index.d.ts.map +1 -0
  87. package/dist/{businesses → organizations}/apiKeys/index.js +1 -1
  88. package/dist/organizations/apiKeys/index.js.map +1 -0
  89. package/dist/{businesses → organizations}/apiKeys/my/index.d.ts +7 -7
  90. package/dist/organizations/apiKeys/my/index.d.ts.map +1 -0
  91. package/dist/{businesses → organizations}/apiKeys/my/index.js +3 -3
  92. package/dist/organizations/apiKeys/my/index.js.map +1 -0
  93. package/dist/{businesses → organizations}/index.d.ts +4 -4
  94. package/dist/organizations/index.d.ts.map +1 -0
  95. package/dist/{businesses → organizations}/index.js +2 -2
  96. package/dist/organizations/index.js.map +1 -0
  97. package/dist/organizations/invitations/accept/index.d.ts +31 -0
  98. package/dist/organizations/invitations/accept/index.d.ts.map +1 -0
  99. package/dist/{businesses → organizations}/invitations/accept/index.js +4 -4
  100. package/dist/organizations/invitations/accept/index.js.map +1 -0
  101. package/dist/{businesses → organizations}/invitations/index.d.ts +2 -2
  102. package/dist/organizations/invitations/index.d.ts.map +1 -0
  103. package/dist/{businesses → organizations}/invitations/index.js +1 -1
  104. package/dist/organizations/invitations/index.js.map +1 -0
  105. package/dist/{businesses → organizations}/invitations/token/index.d.ts +3 -3
  106. package/dist/organizations/invitations/token/index.d.ts.map +1 -0
  107. package/dist/{businesses → organizations}/invitations/token/index.js +1 -1
  108. package/dist/organizations/invitations/token/index.js.map +1 -0
  109. package/dist/{businesses → organizations}/invitations/token/item/index.d.ts +7 -7
  110. package/dist/organizations/invitations/token/item/index.d.ts.map +1 -0
  111. package/dist/{businesses → organizations}/invitations/token/item/index.js +3 -3
  112. package/dist/organizations/invitations/token/item/index.js.map +1 -0
  113. package/dist/{businesses → organizations}/me/index.d.ts +26 -26
  114. package/dist/organizations/me/index.d.ts.map +1 -0
  115. package/dist/{businesses → organizations}/me/index.js +13 -13
  116. package/dist/organizations/me/index.js.map +1 -0
  117. package/dist/{businesses → organizations}/me/invitations/index.d.ts +16 -16
  118. package/dist/organizations/me/invitations/index.d.ts.map +1 -0
  119. package/dist/{businesses → organizations}/me/invitations/index.js +5 -5
  120. package/dist/organizations/me/invitations/index.js.map +1 -0
  121. package/dist/{businesses → organizations}/me/invitations/item/index.d.ts +4 -4
  122. package/dist/organizations/me/invitations/item/index.d.ts.map +1 -0
  123. package/dist/{businesses → organizations}/me/invitations/item/index.js +1 -1
  124. package/dist/organizations/me/invitations/item/index.js.map +1 -0
  125. package/dist/{businesses → organizations}/me/invitations/item/resend/index.d.ts +7 -7
  126. package/dist/organizations/me/invitations/item/resend/index.d.ts.map +1 -0
  127. package/dist/{businesses → organizations}/me/invitations/item/resend/index.js +3 -3
  128. package/dist/organizations/me/invitations/item/resend/index.js.map +1 -0
  129. package/dist/organizations/me/members/index.d.ts +57 -0
  130. package/dist/organizations/me/members/index.d.ts.map +1 -0
  131. package/dist/{businesses/me/users → organizations/me/members}/index.js +9 -9
  132. package/dist/organizations/me/members/index.js.map +1 -0
  133. package/dist/{businesses/me/users → organizations/me/members}/item/index.d.ts +12 -12
  134. package/dist/organizations/me/members/item/index.d.ts.map +1 -0
  135. package/dist/{businesses/me/users → organizations/me/members}/item/index.js +4 -4
  136. package/dist/organizations/me/members/item/index.js.map +1 -0
  137. package/dist/{businesses → organizations}/me/oneZerodlc/index.d.ts +2 -2
  138. package/dist/organizations/me/oneZerodlc/index.d.ts.map +1 -0
  139. package/dist/{businesses → organizations}/me/oneZerodlc/index.js +1 -1
  140. package/dist/organizations/me/oneZerodlc/index.js.map +1 -0
  141. package/dist/{businesses → organizations}/me/oneZerodlc/notes/index.d.ts +7 -7
  142. package/dist/organizations/me/oneZerodlc/notes/index.d.ts.map +1 -0
  143. package/dist/{businesses → organizations}/me/oneZerodlc/notes/index.js +3 -3
  144. package/dist/organizations/me/oneZerodlc/notes/index.js.map +1 -0
  145. package/dist/{businesses → organizations}/me/options/index.d.ts +7 -7
  146. package/dist/organizations/me/options/index.d.ts.map +1 -0
  147. package/dist/{businesses → organizations}/me/options/index.js +3 -3
  148. package/dist/organizations/me/options/index.js.map +1 -0
  149. package/dist/organizations/me/switchEscaped/index.d.ts +32 -0
  150. package/dist/organizations/me/switchEscaped/index.d.ts.map +1 -0
  151. package/dist/{businesses → organizations}/me/switchEscaped/index.js +4 -4
  152. package/dist/organizations/me/switchEscaped/index.js.map +1 -0
  153. package/dist/outbound/overview/index.d.ts +2 -2
  154. package/dist/paymentMethods/index.d.ts +2 -2
  155. package/dist/paymentMethods/invoices/index.d.ts +2 -2
  156. package/dist/paymentMethods/invoices/item/pdfAccess/index.d.ts +3 -3
  157. package/dist/paymentMethods/item/defaultEscaped/index.d.ts +2 -2
  158. package/dist/paymentMethods/item/index.d.ts +2 -2
  159. package/dist/phoneNumbers/all/index.d.ts +3 -3
  160. package/dist/phoneNumbers/all/index.d.ts.map +1 -1
  161. package/dist/phoneNumbers/all/index.js +3 -3
  162. package/dist/phoneNumbers/all/index.js.map +1 -1
  163. package/dist/phoneNumbers/all/{business → organization}/index.d.ts +6 -6
  164. package/dist/phoneNumbers/all/organization/index.d.ts.map +1 -0
  165. package/dist/phoneNumbers/all/{business → organization}/index.js +3 -3
  166. package/dist/phoneNumbers/all/organization/index.js.map +1 -0
  167. package/dist/phoneNumbers/index.d.ts +2 -2
  168. package/dist/phoneNumbers/isAvailableForPurchase/index.d.ts +2 -2
  169. package/dist/phoneNumbers/item/index.d.ts +2 -2
  170. package/dist/sms/send/index.d.ts +2 -2
  171. package/dist/sources/index.d.ts +2 -2
  172. package/dist/sources/item/index.d.ts +6 -6
  173. package/dist/sources/item/metrics/index.d.ts +3 -3
  174. package/dist/suppressions/all/my/index.d.ts +2 -2
  175. package/dist/tags/index.d.ts +5 -5
  176. package/dist/tags/item/index.d.ts +4 -4
  177. package/dist/usage/all/my/index.d.ts +2 -2
  178. package/dist/usage/summary/my/index.d.ts +3 -3
  179. package/dist/users/compliance/index.d.ts +2 -2
  180. package/dist/users/me/index.d.ts +4 -4
  181. package/dist/wallets/me/index.d.ts +2 -2
  182. package/package.json +1 -1
  183. package/dist/businesses/apiKeys/index.d.ts.map +0 -1
  184. package/dist/businesses/apiKeys/index.js.map +0 -1
  185. package/dist/businesses/apiKeys/my/index.d.ts.map +0 -1
  186. package/dist/businesses/apiKeys/my/index.js.map +0 -1
  187. package/dist/businesses/index.d.ts.map +0 -1
  188. package/dist/businesses/index.js.map +0 -1
  189. package/dist/businesses/invitations/accept/index.d.ts +0 -31
  190. package/dist/businesses/invitations/accept/index.d.ts.map +0 -1
  191. package/dist/businesses/invitations/accept/index.js.map +0 -1
  192. package/dist/businesses/invitations/index.d.ts.map +0 -1
  193. package/dist/businesses/invitations/index.js.map +0 -1
  194. package/dist/businesses/invitations/token/index.d.ts.map +0 -1
  195. package/dist/businesses/invitations/token/index.js.map +0 -1
  196. package/dist/businesses/invitations/token/item/index.d.ts.map +0 -1
  197. package/dist/businesses/invitations/token/item/index.js.map +0 -1
  198. package/dist/businesses/me/index.d.ts.map +0 -1
  199. package/dist/businesses/me/index.js.map +0 -1
  200. package/dist/businesses/me/invitations/index.d.ts.map +0 -1
  201. package/dist/businesses/me/invitations/index.js.map +0 -1
  202. package/dist/businesses/me/invitations/item/index.d.ts.map +0 -1
  203. package/dist/businesses/me/invitations/item/index.js.map +0 -1
  204. package/dist/businesses/me/invitations/item/resend/index.d.ts.map +0 -1
  205. package/dist/businesses/me/invitations/item/resend/index.js.map +0 -1
  206. package/dist/businesses/me/oneZerodlc/index.d.ts.map +0 -1
  207. package/dist/businesses/me/oneZerodlc/index.js.map +0 -1
  208. package/dist/businesses/me/oneZerodlc/notes/index.d.ts.map +0 -1
  209. package/dist/businesses/me/oneZerodlc/notes/index.js.map +0 -1
  210. package/dist/businesses/me/options/index.d.ts.map +0 -1
  211. package/dist/businesses/me/options/index.js.map +0 -1
  212. package/dist/businesses/me/switchEscaped/index.d.ts +0 -32
  213. package/dist/businesses/me/switchEscaped/index.d.ts.map +0 -1
  214. package/dist/businesses/me/switchEscaped/index.js.map +0 -1
  215. package/dist/businesses/me/users/index.d.ts +0 -57
  216. package/dist/businesses/me/users/index.d.ts.map +0 -1
  217. package/dist/businesses/me/users/index.js.map +0 -1
  218. package/dist/businesses/me/users/item/index.d.ts.map +0 -1
  219. package/dist/businesses/me/users/item/index.js.map +0 -1
  220. package/dist/dispositions/all/index.d.ts.map +0 -1
  221. package/dist/dispositions/all/index.js.map +0 -1
  222. package/dist/dispositions/all/my/index.d.ts.map +0 -1
  223. package/dist/dispositions/all/my/index.js.map +0 -1
  224. package/dist/dispositions/index.d.ts +0 -54
  225. package/dist/dispositions/index.d.ts.map +0 -1
  226. package/dist/dispositions/index.js +0 -52
  227. package/dist/dispositions/index.js.map +0 -1
  228. package/dist/dispositions/item/index.d.ts.map +0 -1
  229. package/dist/dispositions/item/index.js.map +0 -1
  230. package/dist/dispositions/lead/index.d.ts +0 -22
  231. package/dist/dispositions/lead/index.d.ts.map +0 -1
  232. package/dist/dispositions/lead/index.js +0 -22
  233. package/dist/dispositions/lead/index.js.map +0 -1
  234. package/dist/dispositions/lead/item/exportEscaped/index.d.ts.map +0 -1
  235. package/dist/dispositions/lead/item/exportEscaped/index.js.map +0 -1
  236. package/dist/dispositions/lead/item/index.d.ts.map +0 -1
  237. package/dist/dispositions/lead/item/index.js.map +0 -1
  238. package/dist/events/businesses/index.d.ts +0 -22
  239. package/dist/events/businesses/index.d.ts.map +0 -1
  240. package/dist/events/businesses/index.js +0 -21
  241. package/dist/events/businesses/index.js.map +0 -1
  242. package/dist/events/businesses/item/index.d.ts.map +0 -1
  243. package/dist/events/businesses/item/index.js.map +0 -1
  244. package/dist/phoneNumbers/all/business/index.d.ts.map +0 -1
  245. package/dist/phoneNumbers/all/business/index.js.map +0 -1
@@ -1,50 +1,50 @@
1
- import { type BusinessInvitationRequest, type BusinessInvitationResponse, type BusinessInvitationTableRow } from '../../../models/index.js';
1
+ import { type OrganizationInvitationRequest, type OrganizationInvitationResponse, type OrganizationInvitationTableRow } from '../../../models/index.js';
2
2
  import { type WithInvitationItemRequestBuilder } from './item/index.js';
3
3
  import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
4
4
  /**
5
- * Builds and executes requests for operations under /businesses/me/invitations
5
+ * Builds and executes requests for operations under /organizations/me/invitations
6
6
  */
7
7
  export interface InvitationsRequestBuilder extends BaseRequestBuilder<InvitationsRequestBuilder> {
8
8
  /**
9
- * Gets an item from the leadping.businesses.me.invitations.item collection
10
- * @param invitationId The ID of the current-business invitation to revoke.
9
+ * Gets an item from the leadping.organizations.me.invitations.item collection
10
+ * @param invitationId The ID of the current-organization invitation to revoke.
11
11
  * @returns {WithInvitationItemRequestBuilder}
12
12
  */
13
13
  byInvitationId(invitationId: string): WithInvitationItemRequestBuilder;
14
14
  /**
15
- * Lists pending and historical invitations for the current business, including recipient, role, status, and expiration.
15
+ * Lists pending and historical invitations for the current organization, including recipient, role, status, and expiration.
16
16
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
17
- * @returns {Promise<BusinessInvitationTableRow[]>}
17
+ * @returns {Promise<OrganizationInvitationTableRow[]>}
18
18
  * @throws {ProblemDetails} error when the service returns a 401 status code
19
19
  */
20
- get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<BusinessInvitationTableRow[] | undefined>;
20
+ get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<OrganizationInvitationTableRow[] | undefined>;
21
21
  /**
22
- * Creates an invitation for the current business so another user can join with the requested role and account access.
23
- * @param body Request payload for business invitation.
22
+ * Creates an invitation for the current organization so another user can join with the requested role and account access.
23
+ * @param body Request payload for organization invitation.
24
24
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
25
- * @returns {Promise<BusinessInvitationResponse>}
25
+ * @returns {Promise<OrganizationInvitationResponse>}
26
26
  * @throws {ProblemDetails} error when the service returns a 400 status code
27
27
  * @throws {ProblemDetails} error when the service returns a 401 status code
28
28
  */
29
- post(body: BusinessInvitationRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<BusinessInvitationResponse | undefined>;
29
+ post(body: OrganizationInvitationRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<OrganizationInvitationResponse | undefined>;
30
30
  /**
31
- * Lists pending and historical invitations for the current business, including recipient, role, status, and expiration.
31
+ * Lists pending and historical invitations for the current organization, including recipient, role, status, and expiration.
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<object> | undefined): RequestInformation;
36
36
  /**
37
- * Creates an invitation for the current business so another user can join with the requested role and account access.
38
- * @param body Request payload for business invitation.
37
+ * Creates an invitation for the current organization so another user can join with the requested role and account access.
38
+ * @param body Request payload for organization invitation.
39
39
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
40
40
  * @returns {RequestInformation}
41
41
  */
42
- toPostRequestInformation(body: BusinessInvitationRequest, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
42
+ toPostRequestInformation(body: OrganizationInvitationRequest, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
43
43
  }
44
44
  /**
45
45
  * Uri template for the request builder.
46
46
  */
47
- export declare const InvitationsRequestBuilderUriTemplate = "{+baseurl}/businesses/me/invitations";
47
+ export declare const InvitationsRequestBuilderUriTemplate = "{+baseurl}/organizations/me/invitations";
48
48
  /**
49
49
  * Metadata for all the navigation properties in the request builder.
50
50
  */
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../organizations/me/invitations/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAuP,KAAK,6BAA6B,EAAE,KAAK,8BAA8B,EAAE,KAAK,8BAA8B,EAAuB,MAAM,0BAA0B,CAAC;AAEla,OAAO,EAAE,KAAK,gCAAgC,EAAwG,MAAM,iBAAiB,CAAC;AAE9K,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,yBAA0B,SAAQ,kBAAkB,CAAC,yBAAyB,CAAC;IAC5F;;;;OAIG;IACF,cAAc,CAAC,YAAY,EAAE,MAAM,GAAI,gCAAgC,CAAC;IACzE;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,8BAA8B,EAAE,GAAG,SAAS,CAAC,CAAC;IAC9H;;;;;;;OAOG;IACF,IAAI,CAAC,IAAI,EAAE,6BAA6B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,8BAA8B,GAAG,SAAS,CAAC,CAAC;IAClK;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC/G;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,6BAA6B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACxJ;AACD;;GAEG;AACH,eAAO,MAAM,oCAAoC,4CAA4C,CAAC;AAC9F;;GAEG;AACH,eAAO,MAAM,2CAA2C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,yBAAyB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAMhK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,gBAuBvD,CAAC"}
@@ -2,13 +2,13 @@
2
2
  /* eslint-disable */
3
3
  // Generated by Microsoft Kiota
4
4
  // @ts-ignore
5
- import { createBusinessInvitationResponseFromDiscriminatorValue, createBusinessInvitationTableRowFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue, serializeBusinessInvitationRequest } from '../../../models/index.js';
5
+ import { createOrganizationInvitationResponseFromDiscriminatorValue, createOrganizationInvitationTableRowFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue, serializeOrganizationInvitationRequest } from '../../../models/index.js';
6
6
  // @ts-ignore
7
7
  import { WithInvitationItemRequestBuilderNavigationMetadata, WithInvitationItemRequestBuilderRequestsMetadata } from './item/index.js';
8
8
  /**
9
9
  * Uri template for the request builder.
10
10
  */
11
- export const InvitationsRequestBuilderUriTemplate = "{+baseurl}/businesses/me/invitations";
11
+ export const InvitationsRequestBuilderUriTemplate = "{+baseurl}/organizations/me/invitations";
12
12
  /**
13
13
  * Metadata for all the navigation properties in the request builder.
14
14
  */
@@ -30,7 +30,7 @@ export const InvitationsRequestBuilderRequestsMetadata = {
30
30
  401: createProblemDetailsFromDiscriminatorValue,
31
31
  },
32
32
  adapterMethodName: "sendCollection",
33
- responseBodyFactory: createBusinessInvitationTableRowFromDiscriminatorValue,
33
+ responseBodyFactory: createOrganizationInvitationTableRowFromDiscriminatorValue,
34
34
  },
35
35
  post: {
36
36
  uriTemplate: InvitationsRequestBuilderUriTemplate,
@@ -40,9 +40,9 @@ export const InvitationsRequestBuilderRequestsMetadata = {
40
40
  401: createProblemDetailsFromDiscriminatorValue,
41
41
  },
42
42
  adapterMethodName: "send",
43
- responseBodyFactory: createBusinessInvitationResponseFromDiscriminatorValue,
43
+ responseBodyFactory: createOrganizationInvitationResponseFromDiscriminatorValue,
44
44
  requestBodyContentType: "application/json",
45
- requestBodySerializer: serializeBusinessInvitationRequest,
45
+ requestBodySerializer: serializeOrganizationInvitationRequest,
46
46
  requestInformationContentSetMethod: "setContentFromParsable",
47
47
  },
48
48
  };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../organizations/me/invitations/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0DAA0D,EAAE,0DAA0D,EAAE,0CAA0C,EAAE,sCAAsC,EAA8K,MAAM,0BAA0B,CAAC;AACla,aAAa;AACb,OAAO,EAAyC,kDAAkD,EAAE,gDAAgD,EAAE,MAAM,iBAAiB,CAAC;AA4C9K;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAG,yCAAyC,CAAC;AAC9F;;GAEG;AACH,MAAM,CAAC,MAAM,2CAA2C,GAA6G;IACjK,cAAc,EAAE;QACZ,gBAAgB,EAAE,gDAAgD;QAClE,kBAAkB,EAAE,kDAAkD;QACtE,sBAAsB,EAAE,CAAC,cAAc,CAAC;KAC3C;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAqB;IACvE,GAAG,EAAE;QACD,WAAW,EAAE,oCAAoC;QACjD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,gBAAgB;QACnC,mBAAmB,EAAG,0DAA0D;KACnF;IACD,IAAI,EAAE;QACF,WAAW,EAAE,oCAAoC;QACjD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,0DAA0D;QAChF,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,sCAAsC;QAC7D,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -1,7 +1,7 @@
1
1
  import { type ResendRequestBuilder } from './resend/index.js';
2
2
  import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
3
3
  /**
4
- * Builds and executes requests for operations under /businesses/me/invitations/{invitationId}
4
+ * Builds and executes requests for operations under /organizations/me/invitations/{invitationId}
5
5
  */
6
6
  export interface WithInvitationItemRequestBuilder extends BaseRequestBuilder<WithInvitationItemRequestBuilder> {
7
7
  /**
@@ -9,14 +9,14 @@ export interface WithInvitationItemRequestBuilder extends BaseRequestBuilder<Wit
9
9
  */
10
10
  get resend(): ResendRequestBuilder;
11
11
  /**
12
- * Revokes a pending current-business invitation so the recipient can no longer use it to join the business.
12
+ * Revokes a pending current-organization invitation so the recipient can no longer use it to join the organization.
13
13
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
14
14
  * @throws {ProblemDetails} error when the service returns a 400 status code
15
15
  * @throws {ProblemDetails} error when the service returns a 401 status code
16
16
  */
17
17
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
18
18
  /**
19
- * Revokes a pending current-business invitation so the recipient can no longer use it to join the business.
19
+ * Revokes a pending current-organization invitation so the recipient can no longer use it to join the organization.
20
20
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
21
21
  * @returns {RequestInformation}
22
22
  */
@@ -25,7 +25,7 @@ export interface WithInvitationItemRequestBuilder extends BaseRequestBuilder<Wit
25
25
  /**
26
26
  * Uri template for the request builder.
27
27
  */
28
- export declare const WithInvitationItemRequestBuilderUriTemplate = "{+baseurl}/businesses/me/invitations/{invitationId}";
28
+ export declare const WithInvitationItemRequestBuilderUriTemplate = "{+baseurl}/organizations/me/invitations/{invitationId}";
29
29
  /**
30
30
  * Metadata for all the navigation properties in the request builder.
31
31
  */
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../organizations/me/invitations/item/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAwC,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAEpG,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,gCAAiC,SAAQ,kBAAkB,CAAC,gCAAgC,CAAC;IAC1G;;OAEG;IACH,IAAI,MAAM,IAAI,oBAAoB,CAAC;IACnC;;;;;OAKG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;OAIG;IACF,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACrH;AACD;;GAEG;AACH,eAAO,MAAM,2CAA2C,2DAA2D,CAAC;AACpH;;GAEG;AACH,eAAO,MAAM,kDAAkD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,gCAAgC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAI9K,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,gDAAgD,EAAE,gBAU9D,CAAC"}
@@ -8,7 +8,7 @@ import { ResendRequestBuilderRequestsMetadata } from './resend/index.js';
8
8
  /**
9
9
  * Uri template for the request builder.
10
10
  */
11
- export const WithInvitationItemRequestBuilderUriTemplate = "{+baseurl}/businesses/me/invitations/{invitationId}";
11
+ export const WithInvitationItemRequestBuilderUriTemplate = "{+baseurl}/organizations/me/invitations/{invitationId}";
12
12
  /**
13
13
  * Metadata for all the navigation properties in the request builder.
14
14
  */
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../organizations/me/invitations/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAuB,MAAM,6BAA6B,CAAC;AAC9G,aAAa;AACb,OAAO,EAAE,oCAAoC,EAA6B,MAAM,mBAAmB,CAAC;AA0BpG;;GAEG;AACH,MAAM,CAAC,MAAM,2CAA2C,GAAG,wDAAwD,CAAC;AACpH;;GAEG;AACH,MAAM,CAAC,MAAM,kDAAkD,GAAoH;IAC/K,MAAM,EAAE;QACJ,gBAAgB,EAAE,oCAAoC;KACzD;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,gDAAgD,GAAqB;IAC9E,MAAM,EAAE;QACJ,WAAW,EAAE,2CAA2C;QACxD,uBAAuB,EAAE,oCAAoC;QAC7D,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,uBAAuB;KAC7C;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -1,19 +1,19 @@
1
- import { type BusinessInvitationResponse } from '../../../../../models/index.js';
1
+ import { type OrganizationInvitationResponse } 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 /businesses/me/invitations/{invitationId}/resend
4
+ * Builds and executes requests for operations under /organizations/me/invitations/{invitationId}/resend
5
5
  */
6
6
  export interface ResendRequestBuilder extends BaseRequestBuilder<ResendRequestBuilder> {
7
7
  /**
8
- * Resends a pending current-business invitation, refreshing delivery while preserving recipient, role, and acceptance token.
8
+ * Resends a pending current-organization invitation, refreshing delivery while preserving recipient, role, and acceptance token.
9
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
- * @returns {Promise<BusinessInvitationResponse>}
10
+ * @returns {Promise<OrganizationInvitationResponse>}
11
11
  * @throws {ProblemDetails} error when the service returns a 400 status code
12
12
  * @throws {ProblemDetails} error when the service returns a 401 status code
13
13
  */
14
- post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<BusinessInvitationResponse | undefined>;
14
+ post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<OrganizationInvitationResponse | undefined>;
15
15
  /**
16
- * Resends a pending current-business invitation, refreshing delivery while preserving recipient, role, and acceptance token.
16
+ * Resends a pending current-organization invitation, refreshing delivery while preserving recipient, role, and acceptance token.
17
17
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
18
18
  * @returns {RequestInformation}
19
19
  */
@@ -22,7 +22,7 @@ export interface ResendRequestBuilder extends BaseRequestBuilder<ResendRequestBu
22
22
  /**
23
23
  * Uri template for the request builder.
24
24
  */
25
- export declare const ResendRequestBuilderUriTemplate = "{+baseurl}/businesses/me/invitations/{invitationId}/resend";
25
+ export declare const ResendRequestBuilderUriTemplate = "{+baseurl}/organizations/me/invitations/{invitationId}/resend";
26
26
  /**
27
27
  * Metadata for all the requests in the request builder.
28
28
  */
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../organizations/me/invitations/item/resend/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA0G,KAAK,8BAA8B,EAAuB,MAAM,gCAAgC,CAAC;AAElN,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,kBAAkB,CAAC,oBAAoB,CAAC;IAClF;;;;;;OAMG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,8BAA8B,GAAG,SAAS,CAAC,CAAC;IAC7H;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,+BAA+B,kEAAkE,CAAC;AAC/G;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,gBAWlD,CAAC"}
@@ -2,11 +2,11 @@
2
2
  /* eslint-disable */
3
3
  // Generated by Microsoft Kiota
4
4
  // @ts-ignore
5
- import { createBusinessInvitationResponseFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue } from '../../../../../models/index.js';
5
+ import { createOrganizationInvitationResponseFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue } from '../../../../../models/index.js';
6
6
  /**
7
7
  * Uri template for the request builder.
8
8
  */
9
- export const ResendRequestBuilderUriTemplate = "{+baseurl}/businesses/me/invitations/{invitationId}/resend";
9
+ export const ResendRequestBuilderUriTemplate = "{+baseurl}/organizations/me/invitations/{invitationId}/resend";
10
10
  /**
11
11
  * Metadata for all the requests in the request builder.
12
12
  */
@@ -19,7 +19,7 @@ export const ResendRequestBuilderRequestsMetadata = {
19
19
  401: createProblemDetailsFromDiscriminatorValue,
20
20
  },
21
21
  adapterMethodName: "send",
22
- responseBodyFactory: createBusinessInvitationResponseFromDiscriminatorValue,
22
+ responseBodyFactory: createOrganizationInvitationResponseFromDiscriminatorValue,
23
23
  },
24
24
  };
25
25
  /* tslint:enable */
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../organizations/me/invitations/item/resend/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0DAA0D,EAAE,0CAA0C,EAA4D,MAAM,gCAAgC,CAAC;AAuBlN;;GAEG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG,+DAA+D,CAAC;AAC/G;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAqB;IAClE,IAAI,EAAE;QACF,WAAW,EAAE,+BAA+B;QAC5C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,0DAA0D;KACnF;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,57 @@
1
+ import { type OrganizationMemberRequest, type OrganizationMemberResponse, type OrganizationMemberTableRow } from '../../../models/index.js';
2
+ import { type WithUserItemRequestBuilder } from './item/index.js';
3
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
4
+ /**
5
+ * Builds and executes requests for operations under /organizations/me/members
6
+ */
7
+ export interface MembersRequestBuilder extends BaseRequestBuilder<MembersRequestBuilder> {
8
+ /**
9
+ * Gets an item from the leadping.organizations.me.members.item collection
10
+ * @param userId The ID of the user whose current-organization role is changing.
11
+ * @returns {WithUserItemRequestBuilder}
12
+ */
13
+ byUserId(userId: string): WithUserItemRequestBuilder;
14
+ /**
15
+ * Lists users assigned to the current organization, including roles and membership details for access management.
16
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
17
+ * @returns {Promise<OrganizationMemberTableRow[]>}
18
+ * @throws {ProblemDetails} error when the service returns a 401 status code
19
+ */
20
+ get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<OrganizationMemberTableRow[] | undefined>;
21
+ /**
22
+ * Adds an existing user to the current organization with the requested role for shared lead communication and account access.
23
+ * @param body Request schema for the Leadping API organization user request, including the fields clients can send.
24
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
25
+ * @returns {Promise<OrganizationMemberResponse>}
26
+ * @throws {ProblemDetails} error when the service returns a 400 status code
27
+ * @throws {ProblemDetails} error when the service returns a 401 status code
28
+ * @throws {ProblemDetails} error when the service returns a 403 status code
29
+ */
30
+ post(body: OrganizationMemberRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<OrganizationMemberResponse | undefined>;
31
+ /**
32
+ * Lists users assigned to the current organization, including roles and membership details for access management.
33
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
34
+ * @returns {RequestInformation}
35
+ */
36
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
37
+ /**
38
+ * Adds an existing user to the current organization with the requested role for shared lead communication and account access.
39
+ * @param body Request schema for the Leadping API organization user request, including the fields clients can send.
40
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
41
+ * @returns {RequestInformation}
42
+ */
43
+ toPostRequestInformation(body: OrganizationMemberRequest, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
44
+ }
45
+ /**
46
+ * Uri template for the request builder.
47
+ */
48
+ export declare const MembersRequestBuilderUriTemplate = "{+baseurl}/organizations/me/members";
49
+ /**
50
+ * Metadata for all the navigation properties in the request builder.
51
+ */
52
+ export declare const MembersRequestBuilderNavigationMetadata: Record<Exclude<keyof MembersRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
53
+ /**
54
+ * Metadata for all the requests in the request builder.
55
+ */
56
+ export declare const MembersRequestBuilderRequestsMetadata: RequestsMetadata;
57
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../organizations/me/members/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAuO,KAAK,yBAAyB,EAAE,KAAK,0BAA0B,EAAE,KAAK,0BAA0B,EAAuB,MAAM,0BAA0B,CAAC;AAEtY,OAAO,EAAE,KAAK,0BAA0B,EAA8C,MAAM,iBAAiB,CAAC;AAE9G,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,kBAAkB,CAAC,qBAAqB,CAAC;IACpF;;;;OAIG;IACF,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAI,0BAA0B,CAAC;IACvD;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,0BAA0B,EAAE,GAAG,SAAS,CAAC,CAAC;IAC1H;;;;;;;;OAQG;IACF,IAAI,CAAC,IAAI,EAAE,yBAAyB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,0BAA0B,GAAG,SAAS,CAAC,CAAC;IAC1J;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC/G;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,yBAAyB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACpJ;AACD;;GAEG;AACH,eAAO,MAAM,gCAAgC,wCAAwC,CAAC;AACtF;;GAEG;AACH,eAAO,MAAM,uCAAuC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,qBAAqB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAKxJ,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBAwBnD,CAAC"}
@@ -2,17 +2,17 @@
2
2
  /* eslint-disable */
3
3
  // Generated by Microsoft Kiota
4
4
  // @ts-ignore
5
- import { createBusinessUserResponseFromDiscriminatorValue, createBusinessUserTableRowFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue, serializeBusinessUserRequest } from '../../../models/index.js';
5
+ import { createOrganizationMemberResponseFromDiscriminatorValue, createOrganizationMemberTableRowFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue, serializeOrganizationMemberRequest } from '../../../models/index.js';
6
6
  // @ts-ignore
7
7
  import { WithUserItemRequestBuilderRequestsMetadata } from './item/index.js';
8
8
  /**
9
9
  * Uri template for the request builder.
10
10
  */
11
- export const UsersRequestBuilderUriTemplate = "{+baseurl}/businesses/me/users";
11
+ export const MembersRequestBuilderUriTemplate = "{+baseurl}/organizations/me/members";
12
12
  /**
13
13
  * Metadata for all the navigation properties in the request builder.
14
14
  */
15
- export const UsersRequestBuilderNavigationMetadata = {
15
+ export const MembersRequestBuilderNavigationMetadata = {
16
16
  byUserId: {
17
17
  requestsMetadata: WithUserItemRequestBuilderRequestsMetadata,
18
18
  pathParametersMappings: ["userId"],
@@ -21,18 +21,18 @@ export const UsersRequestBuilderNavigationMetadata = {
21
21
  /**
22
22
  * Metadata for all the requests in the request builder.
23
23
  */
24
- export const UsersRequestBuilderRequestsMetadata = {
24
+ export const MembersRequestBuilderRequestsMetadata = {
25
25
  get: {
26
- uriTemplate: UsersRequestBuilderUriTemplate,
26
+ uriTemplate: MembersRequestBuilderUriTemplate,
27
27
  responseBodyContentType: "application/json",
28
28
  errorMappings: {
29
29
  401: createProblemDetailsFromDiscriminatorValue,
30
30
  },
31
31
  adapterMethodName: "sendCollection",
32
- responseBodyFactory: createBusinessUserTableRowFromDiscriminatorValue,
32
+ responseBodyFactory: createOrganizationMemberTableRowFromDiscriminatorValue,
33
33
  },
34
34
  post: {
35
- uriTemplate: UsersRequestBuilderUriTemplate,
35
+ uriTemplate: MembersRequestBuilderUriTemplate,
36
36
  responseBodyContentType: "application/json",
37
37
  errorMappings: {
38
38
  400: createProblemDetailsFromDiscriminatorValue,
@@ -40,9 +40,9 @@ export const UsersRequestBuilderRequestsMetadata = {
40
40
  403: createProblemDetailsFromDiscriminatorValue,
41
41
  },
42
42
  adapterMethodName: "send",
43
- responseBodyFactory: createBusinessUserResponseFromDiscriminatorValue,
43
+ responseBodyFactory: createOrganizationMemberResponseFromDiscriminatorValue,
44
44
  requestBodyContentType: "application/json",
45
- requestBodySerializer: serializeBusinessUserRequest,
45
+ requestBodySerializer: serializeOrganizationMemberRequest,
46
46
  requestInformationContentSetMethod: "setContentFromParsable",
47
47
  },
48
48
  };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../organizations/me/members/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,sDAAsD,EAAE,sDAAsD,EAAE,0CAA0C,EAAE,kCAAkC,EAA8J,MAAM,0BAA0B,CAAC;AACtY,aAAa;AACb,OAAO,EAAmC,0CAA0C,EAAE,MAAM,iBAAiB,CAAC;AA6C9G;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,qCAAqC,CAAC;AACtF;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAyG;IACzJ,QAAQ,EAAE;QACN,gBAAgB,EAAE,0CAA0C;QAC5D,sBAAsB,EAAE,CAAC,QAAQ,CAAC;KACrC;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAqB;IACnE,GAAG,EAAE;QACD,WAAW,EAAE,gCAAgC;QAC7C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,gBAAgB;QACnC,mBAAmB,EAAG,sDAAsD;KAC/E;IACD,IAAI,EAAE;QACF,WAAW,EAAE,gCAAgC;QAC7C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,sDAAsD;QAC5E,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,kCAAkC;QACzD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -1,11 +1,11 @@
1
- import { type BusinessUserRequest, type BusinessUserResponse } from '../../../../models/index.js';
1
+ import { type OrganizationMemberRequest, type OrganizationMemberResponse } 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 /businesses/me/users/{userId}
4
+ * Builds and executes requests for operations under /organizations/me/members/{userId}
5
5
  */
6
6
  export interface WithUserItemRequestBuilder extends BaseRequestBuilder<WithUserItemRequestBuilder> {
7
7
  /**
8
- * Removes a user from the current business, revoking their access to its leads, settings, billing, and communication data.
8
+ * Removes a user from the current organization, revoking their access to its leads, settings, billing, and communication data.
9
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
10
  * @throws {ProblemDetails} error when the service returns a 400 status code
11
11
  * @throws {ProblemDetails} error when the service returns a 401 status code
@@ -13,33 +13,33 @@ export interface WithUserItemRequestBuilder extends BaseRequestBuilder<WithUserI
13
13
  */
14
14
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
15
15
  /**
16
- * Changes a user's role in the current business, updating access to lead, automation, billing, and admin workflows.
17
- * @param body Request schema for the Leadping API business user request, including the fields clients can send.
16
+ * Changes a user's role in the current organization, updating access to lead, automation, billing, and admin workflows.
17
+ * @param body Request schema for the Leadping API organization user request, including the fields clients can send.
18
18
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
19
- * @returns {Promise<BusinessUserResponse>}
19
+ * @returns {Promise<OrganizationMemberResponse>}
20
20
  * @throws {ProblemDetails} error when the service returns a 400 status code
21
21
  * @throws {ProblemDetails} error when the service returns a 401 status code
22
22
  * @throws {ProblemDetails} error when the service returns a 403 status code
23
23
  */
24
- put(body: BusinessUserRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<BusinessUserResponse | undefined>;
24
+ put(body: OrganizationMemberRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<OrganizationMemberResponse | undefined>;
25
25
  /**
26
- * Removes a user from the current business, revoking their access to its leads, settings, billing, and communication data.
26
+ * Removes a user from the current organization, revoking their access to its leads, settings, billing, and communication data.
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
- * Changes a user's role in the current business, updating access to lead, automation, billing, and admin workflows.
33
- * @param body Request schema for the Leadping API business user request, including the fields clients can send.
32
+ * Changes a user's role in the current organization, updating access to lead, automation, billing, and admin workflows.
33
+ * @param body Request schema for the Leadping API organization user 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}
36
36
  */
37
- toPutRequestInformation(body: BusinessUserRequest, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
37
+ toPutRequestInformation(body: OrganizationMemberRequest, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
38
38
  }
39
39
  /**
40
40
  * Uri template for the request builder.
41
41
  */
42
- export declare const WithUserItemRequestBuilderUriTemplate = "{+baseurl}/businesses/me/users/{userId}";
42
+ export declare const WithUserItemRequestBuilderUriTemplate = "{+baseurl}/organizations/me/members/{userId}";
43
43
  /**
44
44
  * Metadata for all the requests in the request builder.
45
45
  */
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../organizations/me/members/item/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA+K,KAAK,yBAAyB,EAAE,KAAK,0BAA0B,EAAuB,MAAM,6BAA6B,CAAC;AAEhT,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,0BAA2B,SAAQ,kBAAkB,CAAC,0BAA0B,CAAC;IAC9F;;;;;;OAMG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;;;;;OAQG;IACF,GAAG,CAAC,IAAI,EAAE,yBAAyB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,0BAA0B,GAAG,SAAS,CAAC,CAAC;IACzJ;;;;OAIG;IACF,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClH;;;;;OAKG;IACF,uBAAuB,CAAC,IAAI,EAAE,yBAAyB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnJ;AACD;;GAEG;AACH,eAAO,MAAM,qCAAqC,iDAAiD,CAAC;AACpG;;GAEG;AACH,eAAO,MAAM,0CAA0C,EAAE,gBAyBxD,CAAC"}
@@ -2,11 +2,11 @@
2
2
  /* eslint-disable */
3
3
  // Generated by Microsoft Kiota
4
4
  // @ts-ignore
5
- import { createBusinessUserResponseFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue, serializeBusinessUserRequest } from '../../../../models/index.js';
5
+ import { createOrganizationMemberResponseFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue, serializeOrganizationMemberRequest } from '../../../../models/index.js';
6
6
  /**
7
7
  * Uri template for the request builder.
8
8
  */
9
- export const WithUserItemRequestBuilderUriTemplate = "{+baseurl}/businesses/me/users/{userId}";
9
+ export const WithUserItemRequestBuilderUriTemplate = "{+baseurl}/organizations/me/members/{userId}";
10
10
  /**
11
11
  * Metadata for all the requests in the request builder.
12
12
  */
@@ -30,9 +30,9 @@ export const WithUserItemRequestBuilderRequestsMetadata = {
30
30
  403: createProblemDetailsFromDiscriminatorValue,
31
31
  },
32
32
  adapterMethodName: "send",
33
- responseBodyFactory: createBusinessUserResponseFromDiscriminatorValue,
33
+ responseBodyFactory: createOrganizationMemberResponseFromDiscriminatorValue,
34
34
  requestBodyContentType: "application/json",
35
- requestBodySerializer: serializeBusinessUserRequest,
35
+ requestBodySerializer: serializeOrganizationMemberRequest,
36
36
  requestInformationContentSetMethod: "setContentFromParsable",
37
37
  },
38
38
  };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../organizations/me/members/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,sDAAsD,EAAE,0CAA0C,EAAE,kCAAkC,EAA6H,MAAM,6BAA6B,CAAC;AAwChT;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAG,8CAA8C,CAAC;AACpG;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAqB;IACxE,MAAM,EAAE;QACJ,WAAW,EAAE,qCAAqC;QAClD,uBAAuB,EAAE,oCAAoC;QAC7D,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,uBAAuB;KAC7C;IACD,GAAG,EAAE;QACD,WAAW,EAAE,qCAAqC;QAClD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,sDAAsD;QAC5E,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,kCAAkC;QACzD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -1,7 +1,7 @@
1
1
  import { type NotesRequestBuilder } from './notes/index.js';
2
2
  import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
3
3
  /**
4
- * Builds and executes requests for operations under /businesses/me/10dlc
4
+ * Builds and executes requests for operations under /organizations/me/10dlc
5
5
  */
6
6
  export interface OneZerodlcRequestBuilder extends BaseRequestBuilder<OneZerodlcRequestBuilder> {
7
7
  /**
@@ -12,7 +12,7 @@ export interface OneZerodlcRequestBuilder extends BaseRequestBuilder<OneZerodlcR
12
12
  /**
13
13
  * Uri template for the request builder.
14
14
  */
15
- export declare const OneZerodlcRequestBuilderUriTemplate = "{+baseurl}/businesses/me/10dlc";
15
+ export declare const OneZerodlcRequestBuilderUriTemplate = "{+baseurl}/organizations/me/10dlc";
16
16
  /**
17
17
  * Metadata for all the navigation properties in the request builder.
18
18
  */
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../organizations/me/oneZerodlc/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEjG,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAE1I;;GAEG;AACH,MAAM,WAAW,wBAAyB,SAAQ,kBAAkB,CAAC,wBAAwB,CAAC;IAC1F;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;CACpC;AACD;;GAEG;AACH,eAAO,MAAM,mCAAmC,sCAAsC,CAAC;AACvF;;GAEG;AACH,eAAO,MAAM,0CAA0C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,wBAAwB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAI9J,CAAC"}
@@ -6,7 +6,7 @@ import { NotesRequestBuilderRequestsMetadata } from './notes/index.js';
6
6
  /**
7
7
  * Uri template for the request builder.
8
8
  */
9
- export const OneZerodlcRequestBuilderUriTemplate = "{+baseurl}/businesses/me/10dlc";
9
+ export const OneZerodlcRequestBuilderUriTemplate = "{+baseurl}/organizations/me/10dlc";
10
10
  /**
11
11
  * Metadata for all the navigation properties in the request builder.
12
12
  */
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../organizations/me/oneZerodlc/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,mCAAmC,EAA4B,MAAM,kBAAkB,CAAC;AAajG;;GAEG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAG,mCAAmC,CAAC;AACvF;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAA4G;IAC/J,KAAK,EAAE;QACH,gBAAgB,EAAE,mCAAmC;KACxD;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -1,20 +1,20 @@
1
- import { type BusinessResponse, type TenDlcNotesRequest } from '../../../../models/index.js';
1
+ import { type OrganizationResponse, type TenDlcNotesRequest } 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 /businesses/me/10dlc/notes
4
+ * Builds and executes requests for operations under /organizations/me/10dlc/notes
5
5
  */
6
6
  export interface NotesRequestBuilder extends BaseRequestBuilder<NotesRequestBuilder> {
7
7
  /**
8
- * Updates the shared 10DLC registration notes for the current business, keeping carrier review context and messaging compliance details current.
8
+ * Updates the shared 10DLC registration notes for the current organization, keeping carrier review context and messaging compliance details current.
9
9
  * @param body Updates the internal notes associated with a 10DLC application.
10
10
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
11
- * @returns {Promise<BusinessResponse>}
11
+ * @returns {Promise<OrganizationResponse>}
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
- put(body: TenDlcNotesRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<BusinessResponse | undefined>;
15
+ put(body: TenDlcNotesRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<OrganizationResponse | undefined>;
16
16
  /**
17
- * Updates the shared 10DLC registration notes for the current business, keeping carrier review context and messaging compliance details current.
17
+ * Updates the shared 10DLC registration notes for the current organization, keeping carrier review context and messaging compliance details current.
18
18
  * @param body Updates the internal notes associated with a 10DLC application.
19
19
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
20
20
  * @returns {RequestInformation}
@@ -24,7 +24,7 @@ export interface NotesRequestBuilder extends BaseRequestBuilder<NotesRequestBuil
24
24
  /**
25
25
  * Uri template for the request builder.
26
26
  */
27
- export declare const NotesRequestBuilderUriTemplate = "{+baseurl}/businesses/me/10dlc/notes";
27
+ export declare const NotesRequestBuilderUriTemplate = "{+baseurl}/organizations/me/10dlc/notes";
28
28
  /**
29
29
  * Metadata for all the requests in the request builder.
30
30
  */
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../organizations/me/oneZerodlc/notes/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA4J,KAAK,oBAAoB,EAAuB,KAAK,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAEhR,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;;;;OAOG;IACF,GAAG,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,oBAAoB,GAAG,SAAS,CAAC,CAAC;IAC5I;;;;;OAKG;IACF,uBAAuB,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC5I;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,4CAA4C,CAAC;AACxF;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAcjD,CAAC"}
@@ -2,11 +2,11 @@
2
2
  /* eslint-disable */
3
3
  // Generated by Microsoft Kiota
4
4
  // @ts-ignore
5
- import { createBusinessResponseFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue, serializeTenDlcNotesRequest } from '../../../../models/index.js';
5
+ import { createOrganizationResponseFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue, serializeTenDlcNotesRequest } from '../../../../models/index.js';
6
6
  /**
7
7
  * Uri template for the request builder.
8
8
  */
9
- export const NotesRequestBuilderUriTemplate = "{+baseurl}/businesses/me/10dlc/notes";
9
+ export const NotesRequestBuilderUriTemplate = "{+baseurl}/organizations/me/10dlc/notes";
10
10
  /**
11
11
  * Metadata for all the requests in the request builder.
12
12
  */
@@ -19,7 +19,7 @@ export const NotesRequestBuilderRequestsMetadata = {
19
19
  401: createProblemDetailsFromDiscriminatorValue,
20
20
  },
21
21
  adapterMethodName: "send",
22
- responseBodyFactory: createBusinessResponseFromDiscriminatorValue,
22
+ responseBodyFactory: createOrganizationResponseFromDiscriminatorValue,
23
23
  requestBodyContentType: "application/json",
24
24
  requestBodySerializer: serializeTenDlcNotesRequest,
25
25
  requestInformationContentSetMethod: "setContentFromParsable",
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../organizations/me/oneZerodlc/notes/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,gDAAgD,EAAE,0CAA0C,EAAiC,2BAA2B,EAA2E,MAAM,6BAA6B,CAAC;AAyBhR;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,yCAAyC,CAAC;AACxF;;GAEG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAqB;IACjE,GAAG,EAAE;QACD,WAAW,EAAE,8BAA8B;QAC3C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,gDAAgD;QACtE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,2BAA2B;QAClD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -1,18 +1,18 @@
1
- import { type BusinessSwitchOption } from '../../../models/index.js';
1
+ import { type OrganizationSwitchOption } 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 /businesses/me/options
4
+ * Builds and executes requests for operations under /organizations/me/options
5
5
  */
6
6
  export interface OptionsRequestBuilder extends BaseRequestBuilder<OptionsRequestBuilder> {
7
7
  /**
8
- * Lists businesses the authenticated user can switch into, including membership role and current-business selection data.
8
+ * Lists organizations the authenticated user can switch into, including membership role and current-organization selection data.
9
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
- * @returns {Promise<BusinessSwitchOption[]>}
10
+ * @returns {Promise<OrganizationSwitchOption[]>}
11
11
  * @throws {ProblemDetails} error when the service returns a 401 status code
12
12
  */
13
- get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<BusinessSwitchOption[] | undefined>;
13
+ get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<OrganizationSwitchOption[] | undefined>;
14
14
  /**
15
- * Lists businesses the authenticated user can switch into, including membership role and current-business selection data.
15
+ * Lists organizations the authenticated user can switch into, including membership role and current-organization selection data.
16
16
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
17
17
  * @returns {RequestInformation}
18
18
  */
@@ -21,7 +21,7 @@ export interface OptionsRequestBuilder extends BaseRequestBuilder<OptionsRequest
21
21
  /**
22
22
  * Uri template for the request builder.
23
23
  */
24
- export declare const OptionsRequestBuilderUriTemplate = "{+baseurl}/businesses/me/options";
24
+ export declare const OptionsRequestBuilderUriTemplate = "{+baseurl}/organizations/me/options";
25
25
  /**
26
26
  * Metadata for all the requests in the request builder.
27
27
  */