@leadping/sdk 1.0.143 → 1.0.145

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 (131) hide show
  1. package/dist/appointments/bookedTimes/index.d.ts +13 -2
  2. package/dist/appointments/bookedTimes/index.d.ts.map +1 -1
  3. package/dist/appointments/bookedTimes/index.js +5 -4
  4. package/dist/appointments/bookedTimes/index.js.map +1 -1
  5. package/dist/appointments/index.d.ts +4 -0
  6. package/dist/appointments/index.d.ts.map +1 -1
  7. package/dist/appointments/index.js +5 -1
  8. package/dist/appointments/index.js.map +1 -1
  9. package/dist/appointments/item/cancel/index.d.ts +3 -0
  10. package/dist/appointments/item/cancel/index.d.ts.map +1 -1
  11. package/dist/appointments/item/cancel/index.js +3 -0
  12. package/dist/appointments/item/cancel/index.js.map +1 -1
  13. package/dist/appointments/item/complete/index.d.ts +3 -0
  14. package/dist/appointments/item/complete/index.d.ts.map +1 -1
  15. package/dist/appointments/item/complete/index.js +3 -0
  16. package/dist/appointments/item/complete/index.js.map +1 -1
  17. package/dist/appointments/item/dismiss/index.d.ts +3 -0
  18. package/dist/appointments/item/dismiss/index.d.ts.map +1 -1
  19. package/dist/appointments/item/dismiss/index.js +3 -0
  20. package/dist/appointments/item/dismiss/index.js.map +1 -1
  21. package/dist/appointments/item/index.d.ts +5 -0
  22. package/dist/appointments/item/index.d.ts.map +1 -1
  23. package/dist/appointments/item/index.js +6 -1
  24. package/dist/appointments/item/index.js.map +1 -1
  25. package/dist/appointments/item/snooze/index.d.ts +3 -0
  26. package/dist/appointments/item/snooze/index.d.ts.map +1 -1
  27. package/dist/appointments/item/snooze/index.js +3 -0
  28. package/dist/appointments/item/snooze/index.js.map +1 -1
  29. package/dist/automations/item/clone/index.d.ts +33 -0
  30. package/dist/automations/item/clone/index.d.ts.map +1 -0
  31. package/dist/automations/item/clone/index.js +31 -0
  32. package/dist/automations/item/clone/index.js.map +1 -0
  33. package/dist/automations/item/index.d.ts +5 -0
  34. package/dist/automations/item/index.d.ts.map +1 -1
  35. package/dist/automations/item/index.js +5 -0
  36. package/dist/automations/item/index.js.map +1 -1
  37. package/dist/automations/item/leads/index.d.ts +4 -3
  38. package/dist/automations/item/leads/index.d.ts.map +1 -1
  39. package/dist/automations/item/leads/index.js +2 -1
  40. package/dist/automations/item/leads/index.js.map +1 -1
  41. package/dist/automations/item/leads/item/run/index.d.ts +1 -1
  42. package/dist/automations/item/leads/item/run/item/index.d.ts +2 -0
  43. package/dist/automations/item/leads/item/run/item/index.d.ts.map +1 -1
  44. package/dist/automations/item/leads/item/run/item/index.js +3 -1
  45. package/dist/automations/item/leads/item/run/item/index.js.map +1 -1
  46. package/dist/automations/item/runForAudience/index.d.ts +2 -0
  47. package/dist/automations/item/runForAudience/index.d.ts.map +1 -1
  48. package/dist/automations/item/runForAudience/index.js +3 -1
  49. package/dist/automations/item/runForAudience/index.js.map +1 -1
  50. package/dist/automations/leadAudience/index.js +1 -1
  51. package/dist/conversations/item/retry/index.d.ts +5 -2
  52. package/dist/conversations/item/retry/index.d.ts.map +1 -1
  53. package/dist/conversations/item/retry/index.js +5 -2
  54. package/dist/conversations/item/retry/index.js.map +1 -1
  55. package/dist/invitations/decline/index.d.ts +5 -0
  56. package/dist/invitations/decline/index.d.ts.map +1 -1
  57. package/dist/invitations/decline/index.js +6 -1
  58. package/dist/invitations/decline/index.js.map +1 -1
  59. package/dist/invitations/index.d.ts +4 -1
  60. package/dist/invitations/index.d.ts.map +1 -1
  61. package/dist/invitations/index.js +1 -1
  62. package/dist/invitations/index.js.map +1 -1
  63. package/dist/invitations/item/accept/index.d.ts +6 -2
  64. package/dist/invitations/item/accept/index.d.ts.map +1 -1
  65. package/dist/invitations/item/accept/index.js +7 -4
  66. package/dist/invitations/item/accept/index.js.map +1 -1
  67. package/dist/invitations/item/decline/index.d.ts +6 -2
  68. package/dist/invitations/item/decline/index.d.ts.map +1 -1
  69. package/dist/invitations/item/decline/index.js +7 -4
  70. package/dist/invitations/item/decline/index.js.map +1 -1
  71. package/dist/leadStatusChanges/item/index.d.ts +1 -0
  72. package/dist/leadStatusChanges/item/index.d.ts.map +1 -1
  73. package/dist/leadStatusChanges/item/index.js +1 -0
  74. package/dist/leadStatusChanges/item/index.js.map +1 -1
  75. package/dist/messageTemplates/index.d.ts +3 -1
  76. package/dist/messageTemplates/index.d.ts.map +1 -1
  77. package/dist/messageTemplates/index.js +4 -2
  78. package/dist/messageTemplates/index.js.map +1 -1
  79. package/dist/messageTemplates/item/index.d.ts +4 -0
  80. package/dist/messageTemplates/item/index.d.ts.map +1 -1
  81. package/dist/messageTemplates/item/index.js +6 -2
  82. package/dist/messageTemplates/item/index.js.map +1 -1
  83. package/dist/models/index.d.ts +114 -2
  84. package/dist/models/index.d.ts.map +1 -1
  85. package/dist/models/index.js +99 -0
  86. package/dist/models/index.js.map +1 -1
  87. package/dist/notifications/item/markRead/index.d.ts +1 -0
  88. package/dist/notifications/item/markRead/index.d.ts.map +1 -1
  89. package/dist/notifications/item/markRead/index.js +1 -0
  90. package/dist/notifications/item/markRead/index.js.map +1 -1
  91. package/dist/notifications/markAllRead/index.d.ts +1 -0
  92. package/dist/notifications/markAllRead/index.d.ts.map +1 -1
  93. package/dist/notifications/markAllRead/index.js +1 -0
  94. package/dist/notifications/markAllRead/index.js.map +1 -1
  95. package/dist/paymentMethods/item/index.d.ts +1 -0
  96. package/dist/paymentMethods/item/index.d.ts.map +1 -1
  97. package/dist/paymentMethods/item/index.js +1 -0
  98. package/dist/paymentMethods/item/index.js.map +1 -1
  99. package/dist/phoneCall/budget/index.d.ts +2 -2
  100. package/dist/phoneCall/budget/index.js +1 -1
  101. package/dist/phoneCall/dial/index.d.ts +1 -1
  102. package/dist/phoneCall/dial/item/index.d.ts +2 -0
  103. package/dist/phoneCall/dial/item/index.d.ts.map +1 -1
  104. package/dist/phoneCall/dial/item/index.js +3 -1
  105. package/dist/phoneCall/dial/item/index.js.map +1 -1
  106. package/dist/phoneCall/item/hangup/index.d.ts +1 -0
  107. package/dist/phoneCall/item/hangup/index.d.ts.map +1 -1
  108. package/dist/phoneCall/item/hangup/index.js +1 -0
  109. package/dist/phoneCall/item/hangup/index.js.map +1 -1
  110. package/dist/phoneCall/item/transfer/index.d.ts +1 -0
  111. package/dist/phoneCall/item/transfer/index.d.ts.map +1 -1
  112. package/dist/phoneCall/item/transfer/index.js +1 -0
  113. package/dist/phoneCall/item/transfer/index.js.map +1 -1
  114. package/dist/phoneCall/next/index.d.ts +1 -1
  115. package/dist/phoneCall/next/item/index.d.ts +8 -3
  116. package/dist/phoneCall/next/item/index.d.ts.map +1 -1
  117. package/dist/phoneCall/next/item/index.js +6 -4
  118. package/dist/phoneCall/next/item/index.js.map +1 -1
  119. package/dist/phoneCall/next/mobile/index.d.ts +1 -1
  120. package/dist/phoneCall/next/mobile/item/index.d.ts +7 -5
  121. package/dist/phoneCall/next/mobile/item/index.d.ts.map +1 -1
  122. package/dist/phoneCall/next/mobile/item/index.js +6 -4
  123. package/dist/phoneCall/next/mobile/item/index.js.map +1 -1
  124. package/dist/suppressions/admin/leads/index.d.ts +1 -1
  125. package/dist/suppressions/admin/leads/item/index.d.ts +1 -1
  126. package/dist/suppressions/admin/leads/item/item/index.d.ts +1 -1
  127. package/dist/suppressions/admin/leads/item/item/item/index.d.ts +3 -2
  128. package/dist/suppressions/admin/leads/item/item/item/index.d.ts.map +1 -1
  129. package/dist/suppressions/admin/leads/item/item/item/index.js +2 -1
  130. package/dist/suppressions/admin/leads/item/item/item/index.js.map +1 -1
  131. package/package.json +1 -1
@@ -11,6 +11,7 @@ export interface MarkReadRequestBuilder extends BaseRequestBuilder<MarkReadReque
11
11
  * @throws {ProblemDetails} error when the service returns a 401 status code
12
12
  * @throws {ProblemDetails} error when the service returns a 403 status code
13
13
  * @throws {ProblemDetails} error when the service returns a 404 status code
14
+ * @throws {ProblemDetails} error when the service returns a 415 status code
14
15
  * @throws {ProblemDetails} error when the service returns a 429 status code
15
16
  * @throws {ProblemDetails} error when the service returns a 500 status code
16
17
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../notifications/item/markRead/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,sBAAuB,SAAQ,kBAAkB,CAAC,sBAAsB,CAAC;IACtF;;;;;;;;;;OAUG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACtG;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,iCAAiC,4CAA4C,CAAC;AAC3F;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,gBAepD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../notifications/item/markRead/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,sBAAuB,SAAQ,kBAAkB,CAAC,sBAAsB,CAAC;IACtF;;;;;;;;;;;OAWG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACtG;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,iCAAiC,4CAA4C,CAAC;AAC3F;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,gBAgBpD,CAAC"}
@@ -19,6 +19,7 @@ export const MarkReadRequestBuilderRequestsMetadata = {
19
19
  401: createProblemDetailsFromDiscriminatorValue,
20
20
  403: createProblemDetailsFromDiscriminatorValue,
21
21
  404: createProblemDetailsFromDiscriminatorValue,
22
+ 415: createProblemDetailsFromDiscriminatorValue,
22
23
  429: createProblemDetailsFromDiscriminatorValue,
23
24
  500: createProblemDetailsFromDiscriminatorValue,
24
25
  },
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../notifications/item/markRead/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAuB,MAAM,0BAA0B,CAAC;AA2B3G;;GAEG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAG,yCAAyC,CAAC;AAC3F;;GAEG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAqB;IACpE,IAAI,EAAE;QACF,WAAW,EAAE,iCAAiC;QAC9C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,eAAe;QAClC,mBAAmB,EAAG,SAAS;KAClC;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../notifications/item/markRead/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAuB,MAAM,0BAA0B,CAAC;AA4B3G;;GAEG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAG,yCAAyC,CAAC;AAC3F;;GAEG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAqB;IACpE,IAAI,EAAE;QACF,WAAW,EAAE,iCAAiC;QAC9C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,eAAe;QAClC,mBAAmB,EAAG,SAAS;KAClC;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -11,6 +11,7 @@ export interface MarkAllReadRequestBuilder extends BaseRequestBuilder<MarkAllRea
11
11
  * @throws {ProblemDetails} error when the service returns a 401 status code
12
12
  * @throws {ProblemDetails} error when the service returns a 403 status code
13
13
  * @throws {ProblemDetails} error when the service returns a 404 status code
14
+ * @throws {ProblemDetails} error when the service returns a 415 status code
14
15
  * @throws {ProblemDetails} error when the service returns a 429 status code
15
16
  * @throws {ProblemDetails} error when the service returns a 500 status code
16
17
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../notifications/markAllRead/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,yBAA0B,SAAQ,kBAAkB,CAAC,yBAAyB,CAAC;IAC5F;;;;;;;;;;OAUG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACrG;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,oCAAoC,2CAA2C,CAAC;AAC7F;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,gBAevD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../notifications/markAllRead/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,yBAA0B,SAAQ,kBAAkB,CAAC,yBAAyB,CAAC;IAC5F;;;;;;;;;;;OAWG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACrG;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,oCAAoC,2CAA2C,CAAC;AAC7F;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,gBAgBvD,CAAC"}
@@ -19,6 +19,7 @@ export const MarkAllReadRequestBuilderRequestsMetadata = {
19
19
  401: createProblemDetailsFromDiscriminatorValue,
20
20
  403: createProblemDetailsFromDiscriminatorValue,
21
21
  404: createProblemDetailsFromDiscriminatorValue,
22
+ 415: createProblemDetailsFromDiscriminatorValue,
22
23
  429: createProblemDetailsFromDiscriminatorValue,
23
24
  500: createProblemDetailsFromDiscriminatorValue,
24
25
  },
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../notifications/markAllRead/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAuB,MAAM,uBAAuB,CAAC;AA2BxG;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAG,wCAAwC,CAAC;AAC7F;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAqB;IACvE,IAAI,EAAE;QACF,WAAW,EAAE,oCAAoC;QACjD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,eAAe;QAClC,mBAAmB,EAAG,QAAQ;KACjC;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../notifications/markAllRead/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAuB,MAAM,uBAAuB,CAAC;AA4BxG;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAG,wCAAwC,CAAC;AAC7F;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAqB;IACvE,IAAI,EAAE;QACF,WAAW,EAAE,oCAAoC;QACjD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,eAAe;QAClC,mBAAmB,EAAG,QAAQ;KACjC;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -17,6 +17,7 @@ export interface PaymentMethodsItemRequestBuilder extends BaseRequestBuilder<Pay
17
17
  * @throws {ProblemDetails} error when the service returns a 401 status code
18
18
  * @throws {ProblemDetails} error when the service returns a 403 status code
19
19
  * @throws {ProblemDetails} error when the service returns a 404 status code
20
+ * @throws {ProblemDetails} error when the service returns a 415 status code
20
21
  * @throws {ProblemDetails} error when the service returns a 429 status code
21
22
  * @throws {ProblemDetails} error when the service returns a 500 status code
22
23
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../paymentMethods/item/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA4H,KAAK,2BAA2B,EAAE,MAAM,uBAAuB,CAAC;AAEnM,OAAO,EAAyC,KAAK,qBAAqB,EAAE,MAAM,2BAA2B,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,gCAAiC,SAAQ,kBAAkB,CAAC,gCAAgC,CAAC;IAC1G;;OAEG;IACH,IAAI,cAAc,IAAI,qBAAqB,CAAC;IAC5C;;;;;;;;;;OAUG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACvG;;;;;;;;;;OAUG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,2BAA2B,GAAG,SAAS,CAAC,CAAC;IACzH;;;;OAIG;IACF,0BAA0B,CAAC,oBAAoB,CAAC,EA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ACF,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClH;AACD;;GAEG;AACH,eAAO,MAAM,2CAA2C,oCAAoC,CAAC;AAC7F;;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,gBA8B9D,CAAC"}
@@ -29,6 +29,7 @@ export const PaymentMethodsItemRequestBuilderRequestsMetadata = {
29
29
  401: createProblemDetailsFromDiscriminatorValue,
30
30
  403: createProblemDetailsFromDiscriminatorValue,
31
31
  404: createProblemDetailsFromDiscriminatorValue,
32
+ 415: createProblemDetailsFromDiscriminatorValue,
32
33
  429: createProblemDetailsFromDiscriminatorValue,
33
34
  500: createProblemDetailsFromDiscriminatorValue,
34
35
  },
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../paymentMethods/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAE,uDAAuD,EAAyD,MAAM,uBAAuB,CAAC;AACnM,aAAa;AACb,OAAO,EAAE,qCAAqC,EAA8B,MAAM,2BAA2B,CAAC;AAiD9G;;GAEG;AACH,MAAM,CAAC,MAAM,2CAA2C,GAAG,iCAAiC,CAAC;AAC7F;;GAEG;AACH,MAAM,CAAC,MAAM,kDAAkD,GAAoH;IAC/K,cAAc,EAAE;QACZ,gBAAgB,EAAE,qCAAqC;KAC1D;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,gDAAg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,2CAA2C;QACxD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,eAAe;QAClC,mBAAmB,EAAG,QAAQ;KACjC;IACD,GAAG,EAAE;QACD,WAAW,EAAE,2CAA2C;QACxD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,uDAAuD;KAChF;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
5
5
  */
6
6
  export interface BudgetRequestBuilder extends BaseRequestBuilder<BudgetRequestBuilder> {
7
7
  /**
8
- * Checks whether wallet credit and spending limits allow the current organization to start a call.
8
+ * Uses the current organization to determine the wallet and spending limits that apply.
9
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
10
  * @returns {Promise<CallBudgetResponse>}
11
11
  * @throws {ProblemDetails} error when the service returns a 401 status code
@@ -14,7 +14,7 @@ export interface BudgetRequestBuilder extends BaseRequestBuilder<BudgetRequestBu
14
14
  */
15
15
  get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CallBudgetResponse | undefined>;
16
16
  /**
17
- * Checks whether wallet credit and spending limits allow the current organization to start a call.
17
+ * Uses the current organization to determine the wallet and spending limits that apply.
18
18
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
19
19
  * @returns {RequestInformation}
20
20
  */
@@ -13,7 +13,7 @@ export const BudgetRequestBuilderUriTemplate = "{+baseurl}/phone-call/budget";
13
13
  export const BudgetRequestBuilderRequestsMetadata = {
14
14
  get: {
15
15
  uriTemplate: BudgetRequestBuilderUriTemplate,
16
- responseBodyContentType: "text/plain;q=0.9",
16
+ responseBodyContentType: "application/json",
17
17
  errorMappings: {
18
18
  401: createProblemDetailsFromDiscriminatorValue,
19
19
  403: createProblemDetailsFromDiscriminatorValue,
@@ -6,7 +6,7 @@ import { type BaseRequestBuilder, type Guid, type KeysToExcludeForNavigationMeta
6
6
  export interface DialRequestBuilder extends BaseRequestBuilder<DialRequestBuilder> {
7
7
  /**
8
8
  * Gets an item from the leadping.phoneCall.dial.item collection
9
- * @param requestId Unique identifier of the item
9
+ * @param requestId The identifier to reuse when retrying the same request.
10
10
  * @returns {WithRequestItemRequestBuilder}
11
11
  */
12
12
  byRequestId(requestId: Guid): WithRequestItemRequestBuilder;
@@ -9,8 +9,10 @@ export interface WithRequestItemRequestBuilder extends BaseRequestBuilder<WithRe
9
9
  * @param body Requests a manual browser call to a number entered by the agent.
10
10
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
11
11
  * @returns {Promise<PhoneCallResponse>}
12
+ * @throws {ProblemDetails} error when the service returns a 400 status code
12
13
  * @throws {ProblemDetails} error when the service returns a 401 status code
13
14
  * @throws {ProblemDetails} error when the service returns a 403 status code
15
+ * @throws {ProblemDetails} error when the service returns a 415 status code
14
16
  * @throws {ProblemDetails} error when the service returns a 429 status code
15
17
  */
16
18
  post(body: ManualDialRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PhoneCallResponse | undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../phoneCall/dial/item/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAqJ,KAAK,iBAAiB,EAAE,KAAK,iBAAiB,E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AAI,EAAE,iBAAiB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC5I;AACD;;GAEG;AACH,eAAO,MAAM,wCAAwC,2CAA2C,CAAC;AACjG;;GAEG;AACH,eAAO,MAAM,6CAA6C,EAAE,gBAiB3D,CAAC"}
@@ -13,10 +13,12 @@ export const WithRequestItemRequestBuilderUriTemplate = "{+baseurl}/phone-call/d
13
13
  export const WithRequestItemRequestBuilderRequestsMetadata = {
14
14
  post: {
15
15
  uriTemplate: WithRequestItemRequestBuilderUriTemplate,
16
- responseBodyContentType: "text/plain;q=0.9",
16
+ responseBodyContentType: "application/json",
17
17
  errorMappings: {
18
+ 400: createProblemDetailsFromDiscriminatorValue,
18
19
  401: createProblemDetailsFromDiscriminatorValue,
19
20
  403: createProblemDetailsFromDiscriminatorValue,
21
+ 415: createProblemDetailsFromDiscriminatorValue,
20
22
  429: createProblemDetailsFromDiscriminatorValue,
21
23
  },
22
24
  adapterMethodName: "send",
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../phoneCall/dial/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,6CAA6C,EAAE,0CAA0C,EAAE,0BAA0B,EAAmG,MAAM,0BAA0B,CAAC;AA0BlQ;;GAEG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAG,wCAAwC,CAAC;AACjG;;GAEG;AACH,MAAM,CAAC,MAAM,6CAA6C,GAAqB;IAC3E,IAAI,EAAE;QACF,WAAW,EAAE,wCAAwC;QACrD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,6CAA6C;QACnE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,0BAA0B;QACjD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../phoneCall/dial/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,6CAA6C,EAAE,0CAA0C,EAAE,0BAA0B,EAAmG,MAAM,0BAA0B,CAAC;AA4BlQ;;GAEG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAG,wCAAwC,CAAC;AACjG;;GAEG;AACH,MAAM,CAAC,MAAM,6CAA6C,GAAqB;IAC3E,IAAI,EAAE;QACF,WAAW,EAAE,wCAAwC;QACrD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,6CAA6C;QACnE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,0BAA0B;QACjD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -12,6 +12,7 @@ export interface HangupRequestBuilder extends BaseRequestBuilder<HangupRequestBu
12
12
  * @throws {ProblemDetails} error when the service returns a 401 status code
13
13
  * @throws {ProblemDetails} error when the service returns a 403 status code
14
14
  * @throws {ProblemDetails} error when the service returns a 404 status code
15
+ * @throws {ProblemDetails} error when the service returns a 415 status code
15
16
  * @throws {ProblemDetails} error when the service returns a 429 status code
16
17
  * @throws {ProblemDetails} error when the service returns a 500 status code
17
18
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../phoneCall/item/hangup/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA6F,KAAK,iBAAiB,EAAuB,MAAM,0BAA0B,CAAC;AAElL,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,kBAAkB,CAAC,oBAAoB,CAAC;IAClF;;;;;;;;;;OAUG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,iBAAiB,GAAG,SAAS,CAAC,CAAC;IAChH;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,+BAA+B,0CAA0C,CAAC;AACvF;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,gBAelD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../phoneCall/item/hangup/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA6F,KAAK,iBAAiB,EAAuB,MAAM,0BAA0B,CAAC;AAElL,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,kBAAkB,CAAC,oBAAoB,CAAC;IAClF;;;;;;;;;;;OAWG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,iBAAiB,GAAG,SAAS,CAAC,CAAC;IAChH;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,+BAA+B,0CAA0C,CAAC;AACvF;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,gBAgBlD,CAAC"}
@@ -19,6 +19,7 @@ export const HangupRequestBuilderRequestsMetadata = {
19
19
  401: createProblemDetailsFromDiscriminatorValue,
20
20
  403: createProblemDetailsFromDiscriminatorValue,
21
21
  404: createProblemDetailsFromDiscriminatorValue,
22
+ 415: createProblemDetailsFromDiscriminatorValue,
22
23
  429: createProblemDetailsFromDiscriminatorValue,
23
24
  500: createProblemDetailsFromDiscriminatorValue,
24
25
  },
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../phoneCall/item/hangup/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,6CAA6C,EAAE,0CAA0C,EAA+C,MAAM,0BAA0B,CAAC;AA2BlL;;GAEG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG,uCAAuC,CAAC;AACvF;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAqB;IAClE,IAAI,EAAE;QACF,WAAW,EAAE,+BAA+B;QAC5C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,6CAA6C;KACtE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../phoneCall/item/hangup/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,6CAA6C,EAAE,0CAA0C,EAA+C,MAAM,0BAA0B,CAAC;AA4BlL;;GAEG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG,uCAAuC,CAAC;AACvF;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAqB;IAClE,IAAI,EAAE;QACF,WAAW,EAAE,+BAA+B;QAC5C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,6CAA6C;KACtE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -12,6 +12,7 @@ export interface TransferRequestBuilder extends BaseRequestBuilder<TransferReque
12
12
  * @throws {ProblemDetails} error when the service returns a 401 status code
13
13
  * @throws {ProblemDetails} error when the service returns a 403 status code
14
14
  * @throws {ProblemDetails} error when the service returns a 404 status code
15
+ * @throws {ProblemDetails} error when the service returns a 415 status code
15
16
  * @throws {ProblemDetails} error when the service returns a 429 status code
16
17
  * @throws {ProblemDetails} error when the service returns a 500 status code
17
18
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../phoneCall/item/transfer/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA6F,KAAK,iBAAiB,EAAuB,MAAM,0BAA0B,CAAC;AAElL,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,sBAAuB,SAAQ,k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ACH,eAAO,MAAM,iCAAiC,8DAA8D,CAAC;AAC7G;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,gBAgBpD,CAAC"}
@@ -19,6 +19,7 @@ export const TransferRequestBuilderRequestsMetadata = {
19
19
  401: createProblemDetailsFromDiscriminatorValue,
20
20
  403: createProblemDetailsFromDiscriminatorValue,
21
21
  404: createProblemDetailsFromDiscriminatorValue,
22
+ 415: createProblemDetailsFromDiscriminatorValue,
22
23
  429: createProblemDetailsFromDiscriminatorValue,
23
24
  500: createProblemDetailsFromDiscriminatorValue,
24
25
  },
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../phoneCall/item/transfer/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,6CAA6C,EAAE,0CAA0C,EAA+C,MAAM,0BAA0B,CAAC;AAoClL;;GAEG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAG,2DAA2D,CAAC;AAC7G;;GAEG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAqB;IACpE,IAAI,EAAE;QACF,WAAW,EAAE,iCAAiC;QAC9C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,6CAA6C;KACtE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../phoneCall/item/transfer/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,6CAA6C,EAAE,0CAA0C,EAA+C,MAAM,0BAA0B,CAAC;AAqClL;;GAEG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAG,2DAA2D,CAAC;AAC7G;;GAEG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAqB;IACpE,IAAI,EAAE;QACF,WAAW,EAAE,iCAAiC;QAC9C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,6CAA6C;KACtE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -11,7 +11,7 @@ export interface NextRequestBuilder extends BaseRequestBuilder<NextRequestBuilde
11
11
  get mobile(): MobileRequestBuilder;
12
12
  /**
13
13
  * Gets an item from the leadping.phoneCall.next.item collection
14
- * @param requestId Unique identifier of the item
14
+ * @param requestId The identifier to reuse when retrying the same request.
15
15
  * @returns {WithRequestItemRequestBuilder}
16
16
  */
17
17
  byRequestId(requestId: Guid): WithRequestItemRequestBuilder;
@@ -1,4 +1,4 @@
1
- import { type RequestDataOptions } from '../../../models/index.js';
1
+ import { type PhoneCallResponse, type RequestDataOptions } from '../../../models/index.js';
2
2
  import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
3
3
  /**
4
4
  * Builds and executes requests for operations under /phone-call/next/{requestId}
@@ -8,12 +8,14 @@ export interface WithRequestItemRequestBuilder extends BaseRequestBuilder<WithRe
8
8
  * Start the next eligible call from a rep’s Leadping inbox. Supply the inbox filters so the next call comes from the leads in the rep’s current view.
9
9
  * @param body Defines cursor pagination, sorting, search, exact-match filters, and range filters for a structured API query.
10
10
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
11
- * @returns {Promise<ArrayBuffer>}
11
+ * @returns {Promise<PhoneCallResponse>}
12
+ * @throws {ProblemDetails} error when the service returns a 400 status code
12
13
  * @throws {ProblemDetails} error when the service returns a 401 status code
13
14
  * @throws {ProblemDetails} error when the service returns a 403 status code
15
+ * @throws {ProblemDetails} error when the service returns a 415 status code
14
16
  * @throws {ProblemDetails} error when the service returns a 429 status code
15
17
  */
16
- post(body: RequestDataOptions, requestConfiguration?: RequestConfiguration<WithRequestItemRequestBuilderPostQueryParameters> | undefined): Promise<ArrayBuffer | undefined>;
18
+ post(body: RequestDataOptions, requestConfiguration?: RequestConfiguration<WithRequestItemRequestBuilderPostQueryParameters> | undefined): Promise<PhoneCallResponse | undefined>;
17
19
  /**
18
20
  * Start the next eligible call from a rep’s Leadping inbox. Supply the inbox filters so the next call comes from the leads in the rep’s current view.
19
21
  * @param body Defines cursor pagination, sorting, search, exact-match filters, and range filters for a structured API query.
@@ -26,6 +28,9 @@ export interface WithRequestItemRequestBuilder extends BaseRequestBuilder<WithRe
26
28
  * Start the next eligible call from a rep’s Leadping inbox. Supply the inbox filters so the next call comes from the leads in the rep’s current view.
27
29
  */
28
30
  export interface WithRequestItemRequestBuilderPostQueryParameters {
31
+ /**
32
+ * Whether to use the texting inbox filters when selecting the next lead.
33
+ */
29
34
  texting?: boolean;
30
35
  }
31
36
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../phoneCall/next/item/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAgG,KAAK,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAEjK,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,6BAA8B,SAAQ,kBAAkB,CAAC,6BAA6B,CAAC;IACpG;;;;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gD;IAC7D;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,wCAAwC,sDAAsD,CAAC;AAC5G;;GAEG;AACH,eAAO,MAAM,6CAA6C,EAAE,gBAiB3D,CAAC"}
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  // Generated by Microsoft Kiota
4
4
  // @ts-ignore
5
- import { createProblemDetailsFromDiscriminatorValue, serializeRequestDataOptions } from '../../../models/index.js';
5
+ import { createPhoneCallResponseFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue, serializeRequestDataOptions } from '../../../models/index.js';
6
6
  /**
7
7
  * Uri template for the request builder.
8
8
  */
@@ -13,14 +13,16 @@ export const WithRequestItemRequestBuilderUriTemplate = "{+baseurl}/phone-call/n
13
13
  export const WithRequestItemRequestBuilderRequestsMetadata = {
14
14
  post: {
15
15
  uriTemplate: WithRequestItemRequestBuilderUriTemplate,
16
- responseBodyContentType: "application/problem+json",
16
+ responseBodyContentType: "application/json",
17
17
  errorMappings: {
18
+ 400: createProblemDetailsFromDiscriminatorValue,
18
19
  401: createProblemDetailsFromDiscriminatorValue,
19
20
  403: createProblemDetailsFromDiscriminatorValue,
21
+ 415: createProblemDetailsFromDiscriminatorValue,
20
22
  429: createProblemDetailsFromDiscriminatorValue,
21
23
  },
22
- adapterMethodName: "sendPrimitive",
23
- responseBodyFactory: "ArrayBuffer",
24
+ adapterMethodName: "send",
25
+ responseBodyFactory: createPhoneCallResponseFromDiscriminatorValue,
24
26
  requestBodyContentType: "application/json",
25
27
  requestBodySerializer: serializeRequestDataOptions,
26
28
  requestInformationContentSetMethod: "setContentFromParsable",
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../phoneCall/next/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAE,2BAA2B,EAAgD,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J,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -6,7 +6,7 @@ import { type BaseRequestBuilder, type Guid, type KeysToExcludeForNavigationMeta
6
6
  export interface MobileRequestBuilder extends BaseRequestBuilder<MobileRequestBuilder> {
7
7
  /**
8
8
  * Gets an item from the leadping.phoneCall.next.mobile.item collection
9
- * @param requestId Unique identifier of the item
9
+ * @param requestId The identifier to reuse when retrying the same request.
10
10
  * @returns {WithRequestItemRequestBuilder}
11
11
  */
12
12
  byRequestId(requestId: Guid): WithRequestItemRequestBuilder;
@@ -1,21 +1,23 @@
1
- import { type RequestDataOptions } from '../../../../models/index.js';
1
+ import { type PhoneCallResponse, type RequestDataOptions } from '../../../../models/index.js';
2
2
  import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
3
3
  /**
4
4
  * Builds and executes requests for operations under /phone-call/next/mobile/{requestId}
5
5
  */
6
6
  export interface WithRequestItemRequestBuilder extends BaseRequestBuilder<WithRequestItemRequestBuilder> {
7
7
  /**
8
- * Starts the next eligible call using the mobile phone bridge.
8
+ * Applies the supplied inbox filters and uses the mobile dialing flow.
9
9
  * @param body Defines cursor pagination, sorting, search, exact-match filters, and range filters for a structured API query.
10
10
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
11
- * @returns {Promise<ArrayBuffer>}
11
+ * @returns {Promise<PhoneCallResponse>}
12
+ * @throws {ProblemDetails} error when the service returns a 400 status code
12
13
  * @throws {ProblemDetails} error when the service returns a 401 status code
13
14
  * @throws {ProblemDetails} error when the service returns a 403 status code
15
+ * @throws {ProblemDetails} error when the service returns a 415 status code
14
16
  * @throws {ProblemDetails} error when the service returns a 429 status code
15
17
  */
16
- post(body: RequestDataOptions, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
18
+ post(body: RequestDataOptions, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PhoneCallResponse | undefined>;
17
19
  /**
18
- * Starts the next eligible call using the mobile phone bridge.
20
+ * Applies the supplied inbox filters and uses the mobile dialing flow.
19
21
  * @param body Defines cursor pagination, sorting, search, exact-match filters, and range filters for a structured API query.
20
22
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
21
23
  * @returns {RequestInformation}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../phoneCall/next/mobile/item/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAgG,KAAK,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAEpK,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,6BAA8B,SAAQ,kBAAkB,CAAC,6BAA6B,CAAC;IACpG;;;;;;;;OAQG;IACF,IAAI,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IACpI;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC7I;AACD;;GAEG;AACH,eAAO,MAAM,wCAAwC,kDAAkD,CAAC;AACxG;;GAEG;AACH,eAAO,MAAM,6CAA6C,EAAE,gBAe3D,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../phoneCall/next/mobile/item/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAsJ,KAAK,iBAAiB,EAAuB,KAAK,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAEvQ,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,6BAA8B,SAAQ,kBAAkB,CAAC,6BAA6B,CAAC;IACpG;;;;;;;;;;OAUG;IACF,IAAI,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,iBAAiB,GAAG,SAAS,CAAC,CAAC;IAC1I;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC7I;AACD;;GAEG;AACH,eAAO,MAAM,wCAAwC,kDAAkD,CAAC;AACxG;;GAEG;AACH,eAAO,MAAM,6CAA6C,EAAE,gBAiB3D,CAAC"}
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  // Generated by Microsoft Kiota
4
4
  // @ts-ignore
5
- import { createProblemDetailsFromDiscriminatorValue, serializeRequestDataOptions } from '../../../../models/index.js';
5
+ import { createPhoneCallResponseFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue, serializeRequestDataOptions } from '../../../../models/index.js';
6
6
  /**
7
7
  * Uri template for the request builder.
8
8
  */
@@ -13,14 +13,16 @@ export const WithRequestItemRequestBuilderUriTemplate = "{+baseurl}/phone-call/n
13
13
  export const WithRequestItemRequestBuilderRequestsMetadata = {
14
14
  post: {
15
15
  uriTemplate: WithRequestItemRequestBuilderUriTemplate,
16
- responseBodyContentType: "application/problem+json",
16
+ responseBodyContentType: "application/json",
17
17
  errorMappings: {
18
+ 400: createProblemDetailsFromDiscriminatorValue,
18
19
  401: createProblemDetailsFromDiscriminatorValue,
19
20
  403: createProblemDetailsFromDiscriminatorValue,
21
+ 415: createProblemDetailsFromDiscriminatorValue,
20
22
  429: createProblemDetailsFromDiscriminatorValue,
21
23
  },
22
- adapterMethodName: "sendPrimitive",
23
- responseBodyFactory: "ArrayBuffer",
24
+ adapterMethodName: "send",
25
+ responseBodyFactory: createPhoneCallResponseFromDiscriminatorValue,
24
26
  requestBodyContentType: "application/json",
25
27
  requestBodySerializer: serializeRequestDataOptions,
26
28
  requestInformationContentSetMethod: "setContentFromParsable",
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../phoneCall/next/mobile/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAE,2BAA2B,EAAgD,MAAM,6BAA6B,CAAC;AA0BpK;;GAEG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAG,+CAA+C,CAAC;AACxG;;GAEG;AACH,MAAM,CAAC,MAAM,6CAA6C,GAAqB;IAC3E,IAAI,EAAE;QACF,WAAW,EAAE,wCAAwC;QACrD,uBAAuB,EAAE,0BAA0B;QACnD,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,eAAe;QAClC,mBAAmB,EAAG,aAAa;QACnC,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,2BAA2B;QAClD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../phoneCall/next/mobile/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,6CAA6C,EAAE,0CAA0C,EAA8B,2BAA2B,EAAwE,MAAM,6BAA6B,CAAC;AA4BvQ;;GAEG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAG,+CAA+C,CAAC;AACxG;;GAEG;AACH,MAAM,CAAC,MAAM,6CAA6C,GAAqB;IAC3E,IAAI,EAAE;QACF,WAAW,EAAE,wCAAwC;QACrD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,6CAA6C;QACnE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,2BAA2B;QAClD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -6,7 +6,7 @@ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type
6
6
  export interface LeadsRequestBuilder extends BaseRequestBuilder<LeadsRequestBuilder> {
7
7
  /**
8
8
  * Gets an item from the leadping.suppressions.admin.leads.item collection
9
- * @param leadId Unique identifier of the item
9
+ * @param leadId The lead identifier.
10
10
  * @returns {WithLeadItemRequestBuilder}
11
11
  */
12
12
  byLeadId(leadId: string): WithLeadItemRequestBuilder;
@@ -6,7 +6,7 @@ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type
6
6
  export interface WithLeadItemRequestBuilder extends BaseRequestBuilder<WithLeadItemRequestBuilder> {
7
7
  /**
8
8
  * Gets an item from the leadping.suppressions.admin.leads.item.item collection
9
- * @param channel Unique identifier of the item
9
+ * @param channel The consent channel, SMS or voice.
10
10
  * @returns {WithChannelItemRequestBuilder}
11
11
  */
12
12
  byChannel(channel: string): WithChannelItemRequestBuilder;
@@ -6,7 +6,7 @@ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type
6
6
  export interface WithChannelItemRequestBuilder extends BaseRequestBuilder<WithChannelItemRequestBuilder> {
7
7
  /**
8
8
  * Gets an item from the leadping.suppressions.admin.leads.item.item.item collection
9
- * @param optedIn Unique identifier of the item
9
+ * @param optedIn Whether the lead opted in to the specified channel.
10
10
  * @returns {WithOptedInItemRequestBuilder}
11
11
  */
12
12
  byOptedIn(optedIn: boolean): WithOptedInItemRequestBuilder;
@@ -5,16 +5,17 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
5
5
  */
6
6
  export interface WithOptedInItemRequestBuilder extends BaseRequestBuilder<WithOptedInItemRequestBuilder> {
7
7
  /**
8
- * Record a lead's SMS or voice opt-in or opt-out as a platform administrator.
8
+ * Records the opt-in or opt-out for the specified lead and channel.
9
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
10
  * @returns {Promise<SuppressionCheckResult>}
11
+ * @throws {ProblemDetails} error when the service returns a 400 status code
11
12
  * @throws {ProblemDetails} error when the service returns a 401 status code
12
13
  * @throws {ProblemDetails} error when the service returns a 403 status code
13
14
  * @throws {ProblemDetails} error when the service returns a 429 status code
14
15
  */
15
16
  post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SuppressionCheckResult | undefined>;
16
17
  /**
17
- * Record a lead's SMS or voice opt-in or opt-out as a platform administrator.
18
+ * Records the opt-in or opt-out for the specified lead and channel.
18
19
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
19
20
  * @returns {RequestInformation}
20
21
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../suppressions/admin/leads/item/item/item/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAuH,KAAK,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAErM,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,6BAA8B,SAAQ,kBAAkB,CAAC,6BAA6B,CAAC;IACpG;;;;;;;OAOG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,sBAAsB,GAAG,SAAS,CAAC,CAAC;IACrH;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,wCAAwC,qEAAqE,CAAC;AAC3H;;GAEG;AACH,eAAO,MAAM,6CAA6C,EAAE,gBAY3D,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../suppressions/admin/leads/item/item/item/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAuH,KAAK,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAErM,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,6BAA8B,SAAQ,kBAAkB,CAAC,6BAA6B,CAAC;IACpG;;;;;;;;OAQG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,sBAAsB,GAAG,SAAS,CAAC,CAAC;IACrH;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,wCAAwC,qEAAqE,CAAC;AAC3H;;GAEG;AACH,eAAO,MAAM,6CAA6C,EAAE,gBAa3D,CAAC"}
@@ -13,8 +13,9 @@ export const WithOptedInItemRequestBuilderUriTemplate = "{+baseurl}/suppressions
13
13
  export const WithOptedInItemRequestBuilderRequestsMetadata = {
14
14
  post: {
15
15
  uriTemplate: WithOptedInItemRequestBuilderUriTemplate,
16
- responseBodyContentType: "text/plain;q=0.9",
16
+ responseBodyContentType: "application/json",
17
17
  errorMappings: {
18
+ 400: createProblemDetailsFromDiscriminatorValue,
18
19
  401: createProblemDetailsFromDiscriminatorValue,
19
20
  403: createProblemDetailsFromDiscriminatorValue,
20
21
  429: createProblemDetailsFromDiscriminatorValue,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../suppressions/admin/leads/item/item/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAE,kDAAkD,EAAoD,MAAM,mCAAmC,CAAC;AAwBrM;;GAEG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAG,kEAAkE,CAAC;AAC3H;;GAEG;AACH,MAAM,CAAC,MAAM,6CAA6C,GAAqB;IAC3E,IAAI,EAAE;QACF,WAAW,EAAE,wCAAwC;QACrD,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,kDAAkD;KAC3E;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../suppressions/admin/leads/item/item/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAE,kDAAkD,EAAoD,MAAM,mCAAmC,CAAC;AAyBrM;;GAEG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAG,kEAAkE,CAAC;AAC3H;;GAEG;AACH,MAAM,CAAC,MAAM,6CAA6C,GAAqB;IAC3E,IAAI,EAAE;QACF,WAAW,EAAE,wCAAwC;QACrD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,kDAAkD;KAC3E;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leadping/sdk",
3
- "version": "1.0.143",
3
+ "version": "1.0.145",
4
4
  "description": "Typed TypeScript client for the Leadping API, generated from the Leadping OpenAPI document with Microsoft Kiota.",
5
5
  "type": "module",
6
6
  "license": "MIT",