@leadping/sdk 1.0.142 → 1.0.144

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 (129) 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/leads/index.d.ts +4 -3
  30. package/dist/automations/item/leads/index.d.ts.map +1 -1
  31. package/dist/automations/item/leads/index.js +2 -1
  32. package/dist/automations/item/leads/index.js.map +1 -1
  33. package/dist/automations/item/leads/item/run/index.d.ts +1 -1
  34. package/dist/automations/item/leads/item/run/item/index.d.ts +2 -0
  35. package/dist/automations/item/leads/item/run/item/index.d.ts.map +1 -1
  36. package/dist/automations/item/leads/item/run/item/index.js +3 -1
  37. package/dist/automations/item/leads/item/run/item/index.js.map +1 -1
  38. package/dist/automations/item/runForAudience/index.d.ts +2 -0
  39. package/dist/automations/item/runForAudience/index.d.ts.map +1 -1
  40. package/dist/automations/item/runForAudience/index.js +3 -1
  41. package/dist/automations/item/runForAudience/index.js.map +1 -1
  42. package/dist/automations/leadAudience/index.js +1 -1
  43. package/dist/conversations/item/retry/index.d.ts +5 -2
  44. package/dist/conversations/item/retry/index.d.ts.map +1 -1
  45. package/dist/conversations/item/retry/index.js +5 -2
  46. package/dist/conversations/item/retry/index.js.map +1 -1
  47. package/dist/invitations/decline/index.d.ts +5 -0
  48. package/dist/invitations/decline/index.d.ts.map +1 -1
  49. package/dist/invitations/decline/index.js +6 -1
  50. package/dist/invitations/decline/index.js.map +1 -1
  51. package/dist/invitations/index.d.ts +4 -1
  52. package/dist/invitations/index.d.ts.map +1 -1
  53. package/dist/invitations/index.js +1 -1
  54. package/dist/invitations/index.js.map +1 -1
  55. package/dist/invitations/item/accept/index.d.ts +6 -2
  56. package/dist/invitations/item/accept/index.d.ts.map +1 -1
  57. package/dist/invitations/item/accept/index.js +7 -4
  58. package/dist/invitations/item/accept/index.js.map +1 -1
  59. package/dist/invitations/item/decline/index.d.ts +6 -2
  60. package/dist/invitations/item/decline/index.d.ts.map +1 -1
  61. package/dist/invitations/item/decline/index.js +7 -4
  62. package/dist/invitations/item/decline/index.js.map +1 -1
  63. package/dist/leadStatusChanges/item/index.d.ts +1 -0
  64. package/dist/leadStatusChanges/item/index.d.ts.map +1 -1
  65. package/dist/leadStatusChanges/item/index.js +1 -0
  66. package/dist/leadStatusChanges/item/index.js.map +1 -1
  67. package/dist/messageTemplates/index.d.ts +3 -1
  68. package/dist/messageTemplates/index.d.ts.map +1 -1
  69. package/dist/messageTemplates/index.js +4 -2
  70. package/dist/messageTemplates/index.js.map +1 -1
  71. package/dist/messageTemplates/item/index.d.ts +4 -0
  72. package/dist/messageTemplates/item/index.d.ts.map +1 -1
  73. package/dist/messageTemplates/item/index.js +6 -2
  74. package/dist/messageTemplates/item/index.js.map +1 -1
  75. package/dist/models/index.d.ts +48 -1
  76. package/dist/models/index.d.ts.map +1 -1
  77. package/dist/models/index.js +45 -0
  78. package/dist/models/index.js.map +1 -1
  79. package/dist/notifications/item/markRead/index.d.ts +1 -0
  80. package/dist/notifications/item/markRead/index.d.ts.map +1 -1
  81. package/dist/notifications/item/markRead/index.js +1 -0
  82. package/dist/notifications/item/markRead/index.js.map +1 -1
  83. package/dist/notifications/markAllRead/index.d.ts +1 -0
  84. package/dist/notifications/markAllRead/index.d.ts.map +1 -1
  85. package/dist/notifications/markAllRead/index.js +1 -0
  86. package/dist/notifications/markAllRead/index.js.map +1 -1
  87. package/dist/paymentMethods/item/index.d.ts +1 -0
  88. package/dist/paymentMethods/item/index.d.ts.map +1 -1
  89. package/dist/paymentMethods/item/index.js +1 -0
  90. package/dist/paymentMethods/item/index.js.map +1 -1
  91. package/dist/phoneCall/budget/index.d.ts +2 -2
  92. package/dist/phoneCall/budget/index.js +1 -1
  93. package/dist/phoneCall/dial/index.d.ts +1 -1
  94. package/dist/phoneCall/dial/item/index.d.ts +2 -0
  95. package/dist/phoneCall/dial/item/index.d.ts.map +1 -1
  96. package/dist/phoneCall/dial/item/index.js +3 -1
  97. package/dist/phoneCall/dial/item/index.js.map +1 -1
  98. package/dist/phoneCall/item/hangup/index.d.ts +1 -0
  99. package/dist/phoneCall/item/hangup/index.d.ts.map +1 -1
  100. package/dist/phoneCall/item/hangup/index.js +1 -0
  101. package/dist/phoneCall/item/hangup/index.js.map +1 -1
  102. package/dist/phoneCall/item/transfer/index.d.ts +1 -0
  103. package/dist/phoneCall/item/transfer/index.d.ts.map +1 -1
  104. package/dist/phoneCall/item/transfer/index.js +1 -0
  105. package/dist/phoneCall/item/transfer/index.js.map +1 -1
  106. package/dist/phoneCall/next/index.d.ts +6 -1
  107. package/dist/phoneCall/next/index.d.ts.map +1 -1
  108. package/dist/phoneCall/next/index.js +5 -0
  109. package/dist/phoneCall/next/index.js.map +1 -1
  110. package/dist/phoneCall/next/item/index.d.ts +8 -3
  111. package/dist/phoneCall/next/item/index.d.ts.map +1 -1
  112. package/dist/phoneCall/next/item/index.js +6 -4
  113. package/dist/phoneCall/next/item/index.js.map +1 -1
  114. package/dist/phoneCall/next/mobile/index.d.ts +22 -0
  115. package/dist/phoneCall/next/mobile/index.d.ts.map +1 -0
  116. package/dist/phoneCall/next/mobile/index.js +21 -0
  117. package/dist/phoneCall/next/mobile/index.js.map +1 -0
  118. package/dist/phoneCall/next/mobile/item/index.d.ts +35 -0
  119. package/dist/phoneCall/next/mobile/item/index.d.ts.map +1 -0
  120. package/dist/phoneCall/next/mobile/item/index.js +33 -0
  121. package/dist/phoneCall/next/mobile/item/index.js.map +1 -0
  122. package/dist/suppressions/admin/leads/index.d.ts +1 -1
  123. package/dist/suppressions/admin/leads/item/index.d.ts +1 -1
  124. package/dist/suppressions/admin/leads/item/item/index.d.ts +1 -1
  125. package/dist/suppressions/admin/leads/item/item/item/index.d.ts +3 -2
  126. package/dist/suppressions/admin/leads/item/item/item/index.d.ts.map +1 -1
  127. package/dist/suppressions/admin/leads/item/item/item/index.js +2 -1
  128. package/dist/suppressions/admin/leads/item/item/item/index.js.map +1 -1
  129. package/package.json +1 -1
@@ -9,7 +9,12 @@ export interface DeclineRequestBuilder extends BaseRequestBuilder<DeclineRequest
9
9
  * @param body Supplies the secret invitation token from the recipient’s email link.
10
10
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
11
11
  * @returns {Promise<ArrayBuffer>}
12
+ * @throws {ProblemDetails} error when the service returns a 400 status code
13
+ * @throws {ProblemDetails} error when the service returns a 404 status code
14
+ * @throws {ProblemDetails} error when the service returns a 409 status code
15
+ * @throws {ProblemDetails} error when the service returns a 415 status code
12
16
  * @throws {ProblemDetails} error when the service returns a 429 status code
17
+ * @throws {ProblemDetails} error when the service returns a 503 status code
13
18
  */
14
19
  post(body: OrganizationInvitationTokenRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
15
20
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../invitations/decline/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA2F,KAAK,kCAAkC,EAAuB,MAAM,uBAAuB,CAAC;AAE9L,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,kBAAkB,CAAC,qBAAqB,CAAC;IACpF;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,kCAAkC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IACpJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,kCAAkC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC7J;AACD;;GAEG;AACH,eAAO,MAAM,gCAAgC,mCAAmC,CAAC;AACjF;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBAanD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../invitations/decline/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA2F,KAAK,kCAAkC,EAAuB,MAAM,uBAAuB,CAAC;AAE9L,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,kBAAkB,CAAC,qBAAqB,CAAC;IACpF;;;;;;;;;;;OAWG;IACF,IAAI,CAAC,IAAI,EAAE,kCAAkC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IACpJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,kCAAkC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC7J;AACD;;GAEG;AACH,eAAO,MAAM,gCAAgC,mCAAmC,CAAC;AACjF;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBAkBnD,CAAC"}
@@ -13,9 +13,14 @@ export const DeclineRequestBuilderUriTemplate = "{+baseurl}/invitations/decline"
13
13
  export const DeclineRequestBuilderRequestsMetadata = {
14
14
  post: {
15
15
  uriTemplate: DeclineRequestBuilderUriTemplate,
16
- responseBodyContentType: "application/problem+json",
16
+ responseBodyContentType: "application/json, application/problem+json",
17
17
  errorMappings: {
18
+ 400: createProblemDetailsFromDiscriminatorValue,
19
+ 404: createProblemDetailsFromDiscriminatorValue,
20
+ 409: createProblemDetailsFromDiscriminatorValue,
21
+ 415: createProblemDetailsFromDiscriminatorValue,
18
22
  429: createProblemDetailsFromDiscriminatorValue,
23
+ 503: createProblemDetailsFromDiscriminatorValue,
19
24
  },
20
25
  adapterMethodName: "sendPrimitive",
21
26
  responseBodyFactory: "ArrayBuffer",
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../invitations/decline/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAE,2CAA2C,EAAgE,MAAM,uBAAuB,CAAC;AAwB9L;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,gCAAgC,CAAC;AACjF;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAqB;IACnE,IAAI,EAAE;QACF,WAAW,EAAE,gCAAgC;QAC7C,uBAAuB,EAAE,0BAA0B;QACnD,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,eAAe;QAClC,mBAAmB,EAAG,aAAa;QACnC,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,2CAA2C;QAClE,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../invitations/decline/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAE,2CAA2C,EAAgE,MAAM,uBAAuB,CAAC;AA6B9L;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,gCAAgC,CAAC;AACjF;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAqB;IACnE,IAAI,EAAE;QACF,WAAW,EAAE,gCAAgC;QAC7C,uBAAuB,EAAE,4CAA4C;QACrE,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,aAAa;QACnC,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,2CAA2C;QAClE,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -12,7 +12,7 @@ export interface InvitationsRequestBuilder extends BaseRequestBuilder<Invitation
12
12
  get decline(): DeclineRequestBuilder;
13
13
  /**
14
14
  * Gets an item from the leadping.invitations.item collection
15
- * @param id Unique identifier of the item
15
+ * @param id The invitation identifier.
16
16
  * @returns {InvitationsItemRequestBuilder}
17
17
  */
18
18
  byId(id: string): InvitationsItemRequestBuilder;
@@ -36,6 +36,9 @@ export interface InvitationsRequestBuilder extends BaseRequestBuilder<Invitation
36
36
  * List open, unexpired organization invitations for the signed-in recipient’s verified email address, or use an invitation token to look up one invite.
37
37
  */
38
38
  export interface InvitationsRequestBuilderGetQueryParameters {
39
+ /**
40
+ * The optional invitation link token for the recipient.
41
+ */
39
42
  token?: string;
40
43
  }
41
44
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../invitations/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA0G,KAAK,8BAA8B,EAAuB,MAAM,oBAAoB,CAAC;AAEtM,OAAO,EAAyC,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAEvG,OAAO,EAAmD,KAAK,6BAA6B,EAAE,MAAM,iBAAiB,CAAC;AAEtH,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;;OAEG;IACH,IAAI,OAAO,IAAI,qBAAqB,CAAC;IACrC;;;;OAIG;IACF,IAAI,CAAC,EAAE,EAAE,MAAM,GAAI,6BAA6B,CAAC;IAClD;;;;;;;OAOG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,2CAA2C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,8BAA8B,EAAE,GAAG,SAAS,CAAC,CAAC;IACnK;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CA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,CAAC,2CAA2C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACvJ;AACD;;GAEG;AACH,MAAM,WAAW,2CAA2C;IACxD;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AACD;;GAEG;AACH,eAAO,MAAM,oCAAoC,oCAAoC,CAAC;AACtF;;GAEG;AACH,eAAO,MAAM,2CAA2C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,yBAAyB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAQhK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,gBAYvD,CAAC"}
@@ -29,7 +29,7 @@ export const InvitationsRequestBuilderNavigationMetadata = {
29
29
  export const InvitationsRequestBuilderRequestsMetadata = {
30
30
  get: {
31
31
  uriTemplate: InvitationsRequestBuilderUriTemplate,
32
- responseBodyContentType: "text/plain;q=0.9",
32
+ responseBodyContentType: "application/json",
33
33
  errorMappings: {
34
34
  401: createProblemDetailsFromDiscriminatorValue,
35
35
  403: createProblemDetailsFromDiscriminatorValue,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../invitations/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0DAA0D,EAAE,0CAA0C,EAA4D,MAAM,oBAAoB,CAAC;AACtM,aAAa;AACb,OAAO,EAAE,qCAAqC,EAA8B,MAAM,oBAAoB,CAAC;AACvG,aAAa;AACb,OAAO,EAAE,+CAA+C,EAAsC,MAAM,iBAAiB,CAAC;AAwCtH;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAG,iCAAiC,CAAC;AACtF;;GAEG;AACH,MAAM,CAAC,MAAM,2CAA2C,GAA6G;IACjK,IAAI,EAAE;QACF,kBAAkB,EAAE,+CAA+C;QACnE,sBAAsB,EAAE,CAAC,IAAI,CAAC;KACjC;IACD,OAAO,EAAE;QACL,gB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AAmB,EAAG,0DAA0D;KACnF;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -1,3 +1,4 @@
1
+ import { type OrganizationInvitationResponse } from '../../../models/index.js';
1
2
  import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
2
3
  /**
3
4
  * Builds and executes requests for operations under /invitations/{id}/accept
@@ -6,12 +7,15 @@ export interface AcceptRequestBuilder extends BaseRequestBuilder<AcceptRequestBu
6
7
  /**
7
8
  * Accept a pending organization invitation in Leadping. Sign in as the invited recipient and submit the invitation ID to join the organization.
8
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
- * @returns {Promise<ArrayBuffer>}
10
+ * @returns {Promise<OrganizationInvitationResponse>}
10
11
  * @throws {ProblemDetails} error when the service returns a 401 status code
11
12
  * @throws {ProblemDetails} error when the service returns a 403 status code
13
+ * @throws {ProblemDetails} error when the service returns a 404 status code
14
+ * @throws {ProblemDetails} error when the service returns a 409 status code
12
15
  * @throws {ProblemDetails} error when the service returns a 429 status code
16
+ * @throws {ProblemDetails} error when the service returns a 503 status code
13
17
  */
14
- post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
18
+ post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<OrganizationInvitationResponse | undefined>;
15
19
  /**
16
20
  * Accept a pending organization invitation in Leadping. Sign in as the invited recipient and submit the invitation ID to join the organization.
17
21
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../invitations/item/accept/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,oBAAqB,SAAQ,kBAAkB,CAAC,oBAAoB,CAAC;IAClF;;;;;;;OAOG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IAC1G;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,+BAA+B,uCAAuC,CAAC;AACpF;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,gBAYlD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../invitations/item/accept/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA0G,KAAK,8BAA8B,EAAuB,MAAM,0BAA0B,CAAC;AAE5M,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,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,uCAAuC,CAAC;AACpF;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,gBAelD,CAAC"}
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  // Generated by Microsoft Kiota
4
4
  // @ts-ignore
5
- import { 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
  */
@@ -13,14 +13,17 @@ export const AcceptRequestBuilderUriTemplate = "{+baseurl}/invitations/{id}/acce
13
13
  export const AcceptRequestBuilderRequestsMetadata = {
14
14
  post: {
15
15
  uriTemplate: AcceptRequestBuilderUriTemplate,
16
- responseBodyContentType: "application/problem+json",
16
+ responseBodyContentType: "application/json",
17
17
  errorMappings: {
18
18
  401: createProblemDetailsFromDiscriminatorValue,
19
19
  403: createProblemDetailsFromDiscriminatorValue,
20
+ 404: createProblemDetailsFromDiscriminatorValue,
21
+ 409: createProblemDetailsFromDiscriminatorValue,
20
22
  429: createProblemDetailsFromDiscriminatorValue,
23
+ 503: createProblemDetailsFromDiscriminatorValue,
21
24
  },
22
- adapterMethodName: "sendPrimitive",
23
- responseBodyFactory: "ArrayBuffer",
25
+ adapterMethodName: "send",
26
+ responseBodyFactory: createOrganizationInvitationResponseFromDiscriminatorValue,
24
27
  },
25
28
  };
26
29
  /* tslint:enable */
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../invitations/item/accept/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAuB,MAAM,0BAA0B,CAAC;AAwB3G;;GAEG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG,oCAAoC,CAAC;AACpF;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAqB;IAClE,IAAI,EAAE;QACF,WAAW,EAAE,+BAA+B;QAC5C,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;KACtC;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../invitations/item/accept/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0DAA0D,EAAE,0CAA0C,EAA4D,MAAM,0BAA0B,CAAC;AA2B5M;;GAEG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG,oCAAoC,CAAC;AACpF;;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,0DAA0D;KACnF;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -1,3 +1,4 @@
1
+ import { type OrganizationInvitationResponse } from '../../../models/index.js';
1
2
  import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
2
3
  /**
3
4
  * Builds and executes requests for operations under /invitations/{id}/decline
@@ -6,12 +7,15 @@ export interface DeclineRequestBuilder extends BaseRequestBuilder<DeclineRequest
6
7
  /**
7
8
  * Decline a pending Leadping organization invitation by ID while signed in as the recipient. Use this endpoint to turn down the invitation to join.
8
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
- * @returns {Promise<ArrayBuffer>}
10
+ * @returns {Promise<OrganizationInvitationResponse>}
10
11
  * @throws {ProblemDetails} error when the service returns a 401 status code
11
12
  * @throws {ProblemDetails} error when the service returns a 403 status code
13
+ * @throws {ProblemDetails} error when the service returns a 404 status code
14
+ * @throws {ProblemDetails} error when the service returns a 409 status code
12
15
  * @throws {ProblemDetails} error when the service returns a 429 status code
16
+ * @throws {ProblemDetails} error when the service returns a 503 status code
13
17
  */
14
- post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
18
+ post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<OrganizationInvitationResponse | undefined>;
15
19
  /**
16
20
  * Decline a pending Leadping organization invitation by ID while signed in as the recipient. Use this endpoint to turn down the invitation to join.
17
21
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../invitations/item/decline/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,qBAAsB,SAAQ,kBAAkB,CAAC,qBAAqB,CAAC;IACpF;;;;;;;OAOG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IAC1G;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,gCAAgC,wCAAwC,CAAC;AACtF;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBAYnD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../invitations/item/decline/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA0G,KAAK,8BAA8B,EAAuB,MAAM,0BAA0B,CAAC;AAE5M,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,kBAAkB,CAAC,qBAAqB,CAAC;IACpF;;;;;;;;;;OAUG;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,gCAAgC,wCAAwC,CAAC;AACtF;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBAenD,CAAC"}
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  // Generated by Microsoft Kiota
4
4
  // @ts-ignore
5
- import { 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
  */
@@ -13,14 +13,17 @@ export const DeclineRequestBuilderUriTemplate = "{+baseurl}/invitations/{id}/dec
13
13
  export const DeclineRequestBuilderRequestsMetadata = {
14
14
  post: {
15
15
  uriTemplate: DeclineRequestBuilderUriTemplate,
16
- responseBodyContentType: "application/problem+json",
16
+ responseBodyContentType: "application/json",
17
17
  errorMappings: {
18
18
  401: createProblemDetailsFromDiscriminatorValue,
19
19
  403: createProblemDetailsFromDiscriminatorValue,
20
+ 404: createProblemDetailsFromDiscriminatorValue,
21
+ 409: createProblemDetailsFromDiscriminatorValue,
20
22
  429: createProblemDetailsFromDiscriminatorValue,
23
+ 503: createProblemDetailsFromDiscriminatorValue,
21
24
  },
22
- adapterMethodName: "sendPrimitive",
23
- responseBodyFactory: "ArrayBuffer",
25
+ adapterMethodName: "send",
26
+ responseBodyFactory: createOrganizationInvitationResponseFromDiscriminatorValue,
24
27
  },
25
28
  };
26
29
  /* tslint:enable */
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../invitations/item/decline/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAuB,MAAM,0BAA0B,CAAC;AAwB3G;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,qCAAqC,CAAC;AACtF;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAqB;IACnE,IAAI,EAAE;QACF,WAAW,EAAE,gCAAgC;QAC7C,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;KACtC;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../invitations/item/decline/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0DAA0D,EAAE,0CAA0C,EAA4D,MAAM,0BAA0B,CAAC;AA2B5M;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,qCAAqC,CAAC;AACtF;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAqB;IACnE,IAAI,EAAE;QACF,WAAW,EAAE,gCAAgC;QAC7C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;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,0DAA0D;KACnF;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -12,6 +12,7 @@ export interface LeadStatusChangesItemRequestBuilder extends BaseRequestBuilder<
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
14
  * @throws {ProblemDetails} error when the service returns a 409 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":["../../../leadStatusChanges/item/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAyK,KAAK,uBAAuB,EAAE,KAAK,wBAAwB,EAAuB,MAAM,uBAAuB,CAAC;AAEhS,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,mCAAoC,SAAQ,kBAAkB,CAAC,mCAAmC,CAAC;IAChH;;;;;;;;;;OAUG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;;;;;;;OAUG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,wBAAwB,GAAG,SAAS,CAAC,CAAC;IACtH;;;;;;;;;;;;;OAaG;IACF,GAAG,CAAC,IAAI,EAAE,uBAAuB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CA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;;;OAaG;IACF,GAAG,CAAC,IAAI,EAAE,uBAAuB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,wBAAwB,GAAG,SAAS,CAAC,CAAC;IACrJ;;;;OAIG;IACF,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;IAC/G;;;;;OAKG;IACF,uBAAuB,CAAC,IAAI,EAAE,uBAAuB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,eAAO,MAAM,8CAA8C,wCAAwC,CAAC;AACpG;;GAEG;AACH,eAAO,MAAM,mDAAmD,EAAE,gBAiDjE,CAAC"}
@@ -20,6 +20,7 @@ export const LeadStatusChangesItemRequestBuilderRequestsMetadata = {
20
20
  403: createProblemDetailsFromDiscriminatorValue,
21
21
  404: createProblemDetailsFromDiscriminatorValue,
22
22
  409: createProblemDetailsFromDiscriminatorValue,
23
+ 415: createProblemDetailsFromDiscriminatorValue,
23
24
  429: createProblemDetailsFromDiscriminatorValue,
24
25
  500: createProblemDetailsFromDiscriminatorValue,
25
26
  },
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../leadStatusChanges/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,oDAAoD,EAAE,0CAA0C,EAAE,gCAAgC,EAAuH,MAAM,uBAAuB,CAAC;AAmEhS;;GAEG;AACH,MAAM,CAAC,MAAM,8CAA8C,GAAG,qCAAqC,CAAC;AACpG;;GAEG;A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C5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,oDAAoD;QAC1E,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,gCAAgC;QACvD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -7,7 +7,7 @@ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type
7
7
  export interface MessageTemplatesRequestBuilder extends BaseRequestBuilder<MessageTemplatesRequestBuilder> {
8
8
  /**
9
9
  * Gets an item from the leadping.messageTemplates.item collection
10
- * @param id Unique identifier of the item
10
+ * @param id The message template identifier.
11
11
  * @returns {MessageTemplatesItemRequestBuilder}
12
12
  */
13
13
  byId(id: string): MessageTemplatesItemRequestBuilder;
@@ -25,8 +25,10 @@ export interface MessageTemplatesRequestBuilder extends BaseRequestBuilder<Messa
25
25
  * @param body The editable fields of an organization message template.
26
26
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
27
27
  * @returns {Promise<MessageTemplate>}
28
+ * @throws {ProblemDetails} error when the service returns a 400 status code
28
29
  * @throws {ProblemDetails} error when the service returns a 401 status code
29
30
  * @throws {ProblemDetails} error when the service returns a 403 status code
31
+ * @throws {ProblemDetails} error when the service returns a 415 status code
30
32
  * @throws {ProblemDetails} error when the service returns a 429 status code
31
33
  */
32
34
  post(body: MessageTemplateRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<MessageTemplate | undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../messageTemplates/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAsJ,KAAK,eAAe,EAAE,KAAK,sBAAsB,EAAuB,MAAM,oBAAoB,CAAC;AAEhQ,OAAO,EAAsD,KAAK,kCAAkC,EAAE,MAAM,iBAAiB,CAAC;AAE9H,OAAO,EAAE,KAAK,kBA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CAAC"}
@@ -24,7 +24,7 @@ export const MessageTemplatesRequestBuilderNavigationMetadata = {
24
24
  export const MessageTemplatesRequestBuilderRequestsMetadata = {
25
25
  get: {
26
26
  uriTemplate: MessageTemplatesRequestBuilderUriTemplate,
27
- responseBodyContentType: "text/plain;q=0.9",
27
+ responseBodyContentType: "application/json",
28
28
  errorMappings: {
29
29
  401: createProblemDetailsFromDiscriminatorValue,
30
30
  403: createProblemDetailsFromDiscriminatorValue,
@@ -35,10 +35,12 @@ export const MessageTemplatesRequestBuilderRequestsMetadata = {
35
35
  },
36
36
  post: {
37
37
  uriTemplate: MessageTemplatesRequestBuilderUriTemplate,
38
- responseBodyContentType: "text/plain;q=0.9",
38
+ responseBodyContentType: "application/json",
39
39
  errorMappings: {
40
+ 400: createProblemDetailsFromDiscriminatorValue,
40
41
  401: createProblemDetailsFromDiscriminatorValue,
41
42
  403: createProblemDetailsFromDiscriminatorValue,
43
+ 415: createProblemDetailsFromDiscriminatorValue,
42
44
  429: createProblemDetailsFromDiscriminatorValue,
43
45
  },
44
46
  adapterMethodName: "send",
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../messageTemplates/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,2CAA2C,EAAE,0CAA0C,EAA4B,+BAA+B,EAA0E,MAAM,oBAAoB,CAAC;AAChQ,aAAa;AACb,OAAO,EAAE,kDAAkD,EAA2C,MAAM,iBAAiB,CAAC;AA+C9H;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAG,8BAA8B,CAAC;AACxF;;GAEG;AACH,MAAM,CAAC,MAAM,gDAAgD,GAAkH;IAC3K,IAAI,EAAE;QACF,gBAAgB,EAAE,kDAAkD;QACpE,sBAAsB,EAAE,CAAC,IAAI,CAAC;KACjC;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,8CAA8C,GAAqB;I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QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,gBAAgB;QACnC,mBAAmB,EAAG,2CAA2C;KACpE;IACD,IAAI,EAAE;QACF,WAAW,EAAE,yCAAyC;QACtD,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,2CAA2C;QACjE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,+BAA+B;QACtD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -10,6 +10,7 @@ export interface MessageTemplatesItemRequestBuilder extends BaseRequestBuilder<M
10
10
  * @returns {Promise<boolean>}
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
+ * @throws {ProblemDetails} error when the service returns a 404 status code
13
14
  * @throws {ProblemDetails} error when the service returns a 429 status code
14
15
  */
15
16
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<boolean | undefined>;
@@ -18,8 +19,11 @@ export interface MessageTemplatesItemRequestBuilder extends BaseRequestBuilder<M
18
19
  * @param body The editable fields of an organization message template.
19
20
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
20
21
  * @returns {Promise<MessageTemplate>}
22
+ * @throws {ProblemDetails} error when the service returns a 400 status code
21
23
  * @throws {ProblemDetails} error when the service returns a 401 status code
22
24
  * @throws {ProblemDetails} error when the service returns a 403 status code
25
+ * @throws {ProblemDetails} error when the service returns a 404 status code
26
+ * @throws {ProblemDetails} error when the service returns a 415 status code
23
27
  * @throws {ProblemDetails} error when the service returns a 429 status code
24
28
  */
25
29
  put(body: MessageTemplateRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<MessageTemplate | undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../messageTemplates/item/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAsJ,KAAK,eAAe,EAAE,KAAK,sBAAsB,EAAuB,MAAM,uBAAuB,CAAC;AAEnQ,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,kCAAmC,SAAQ,kBAAkB,CAAC,kCAAkC,CAAC;IAC9G;;;;;;;OAOG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACxG;;;;;;;;OAQG;IACF,GAAG,CAAC,IAAI,EAAE,sBAAsB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,eAAe,GAAG,SAAS,CAAC,CAAC;IAC3I;;;;OAIG;IACF,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClH;;;;;OAKG;IACF,uBAAuB,CAAC,IAAI,EAAE,sBAAsB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAChJ;AACD;;GAEG;AACH,eAAO,MAAM,6CAA6C,sCAAsC,CAAC;AACjG;;GAEG;AACH,eAAO,MAAM,kDAAkD,EAAE,gBA0BhE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../messageTemplates/item/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAsJ,KAAK,eAAe,EAAE,KAAK,sBAAsB,EAAuB,MAAM,uBAAuB,CAAC;AAEnQ,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,kCAAmC,SAAQ,kBAAkB,CAAC,kCAAkC,CAAC;IAC9G;;;;;;;;OAQG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACxG;;;;;;;;;;;OAWG;IACF,GAAG,CAAC,IAAI,EAAE,sBAAsB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,eAAe,GAAG,SAAS,CAAC,CAAC;IAC3I;;;;OAIG;IACF,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClH;;;;;OAKG;IACF,uBAAuB,CAAC,IAAI,EAAE,sBAAsB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAChJ;AACD;;GAEG;AACH,eAAO,MAAM,6CAA6C,sCAAsC,CAAC;AACjG;;GAEG;AACH,eAAO,MAAM,kDAAkD,EAAE,gBA8BhE,CAAC"}
@@ -13,10 +13,11 @@ export const MessageTemplatesItemRequestBuilderUriTemplate = "{+baseurl}/message
13
13
  export const MessageTemplatesItemRequestBuilderRequestsMetadata = {
14
14
  delete: {
15
15
  uriTemplate: MessageTemplatesItemRequestBuilderUriTemplate,
16
- responseBodyContentType: "text/plain;q=0.9",
16
+ responseBodyContentType: "application/json",
17
17
  errorMappings: {
18
18
  401: createProblemDetailsFromDiscriminatorValue,
19
19
  403: createProblemDetailsFromDiscriminatorValue,
20
+ 404: createProblemDetailsFromDiscriminatorValue,
20
21
  429: createProblemDetailsFromDiscriminatorValue,
21
22
  },
22
23
  adapterMethodName: "sendPrimitive",
@@ -24,10 +25,13 @@ export const MessageTemplatesItemRequestBuilderRequestsMetadata = {
24
25
  },
25
26
  put: {
26
27
  uriTemplate: MessageTemplatesItemRequestBuilderUriTemplate,
27
- responseBodyContentType: "text/plain;q=0.9",
28
+ responseBodyContentType: "application/json",
28
29
  errorMappings: {
30
+ 400: createProblemDetailsFromDiscriminatorValue,
29
31
  401: createProblemDetailsFromDiscriminatorValue,
30
32
  403: createProblemDetailsFromDiscriminatorValue,
33
+ 404: createProblemDetailsFromDiscriminatorValue,
34
+ 415: createProblemDetailsFromDiscriminatorValue,
31
35
  429: createProblemDetailsFromDiscriminatorValue,
32
36
  },
33
37
  adapterMethodName: "send",
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../messageTemplates/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,2CAA2C,EAAE,0CAA0C,EAA4B,+BAA+B,EAA0E,MAAM,uBAAuB,CAAC;AAyCnQ;;GAEG;AACH,MAAM,CAAC,MAAM,6CAA6C,GAAG,mCAAmC,CAAC;AACjG;;GAEG;AACH,MAAM,CAAC,MAAM,kDAAkD,GAAqB;IAChF,MAAM,EAAE;QACJ,WAAW,EAAE,6CAA6C;QAC1D,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;YAC5E,GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,eAAe;QAClC,mBAAmB,EAAG,SAAS;KAClC;IACD,GAAG,EAAE;QACD,WAAW,EAAE,6CAA6C;QAC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2CAA2C;QACjE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,+BAA+B;QACtD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -247,6 +247,19 @@ export interface AppointmentActivity extends AdditionalDataHolder, Parsable {
247
247
  */
248
248
  type?: string | null;
249
249
  }
250
+ /**
251
+ * An occupied interval ending at the first available instant.
252
+ */
253
+ export interface AppointmentInterval extends AdditionalDataHolder, Parsable {
254
+ /**
255
+ * The endAt property
256
+ */
257
+ endAt?: Date | null;
258
+ /**
259
+ * The startAt property
260
+ */
261
+ startAt?: Date | null;
262
+ }
250
263
  /**
251
264
  * Creates or reschedules an agent's callback appointment.
252
265
  */
@@ -2176,6 +2189,12 @@ export declare function createAppointmentActionRequestFromDiscriminatorValue(par
2176
2189
  * @returns {AppointmentActivity}
2177
2190
  */
2178
2191
  export declare function createAppointmentActivityFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
2192
+ /**
2193
+ * Creates a new instance of the appropriate class based on discriminator value
2194
+ * @param parseNode The parse node to use to read the discriminator value and create the object
2195
+ * @returns {AppointmentInterval}
2196
+ */
2197
+ export declare function createAppointmentIntervalFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
2179
2198
  /**
2180
2199
  * Creates a new instance of the appropriate class based on discriminator value
2181
2200
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -4859,6 +4878,12 @@ export declare function deserializeIntoAppointmentActionRequest(appointmentActio
4859
4878
  * @returns {Record<string, (node: ParseNode) => void>}
4860
4879
  */
4861
4880
  export declare function deserializeIntoAppointmentActivity(appointmentActivity?: Partial<AppointmentActivity> | undefined): Record<string, (node: ParseNode) => void>;
4881
+ /**
4882
+ * The deserialization information for the current model
4883
+ * @param AppointmentInterval The instance to deserialize into.
4884
+ * @returns {Record<string, (node: ParseNode) => void>}
4885
+ */
4886
+ export declare function deserializeIntoAppointmentInterval(appointmentInterval?: Partial<AppointmentInterval> | undefined): Record<string, (node: ParseNode) => void>;
4862
4887
  /**
4863
4888
  * The deserialization information for the current model
4864
4889
  * @param AppointmentRequest The instance to deserialize into.
@@ -10115,6 +10140,10 @@ export interface OrganizationRequest extends AdditionalDataHolder, Parsable {
10115
10140
  * Whether the organization was formed less than 90 days ago.
10116
10141
  */
10117
10142
  isYoungerThan90?: boolean | null;
10143
+ /**
10144
+ * Wallet balance in USD at or below which the organization receives a low-balance warning.
10145
+ */
10146
+ lowBalanceWarningThreshold?: number | null;
10118
10147
  /**
10119
10148
  * Destination status for delivered outbound messages.
10120
10149
  */
@@ -10281,6 +10310,10 @@ export interface OrganizationResponse extends AdditionalDataHolder, Parsable {
10281
10310
  * Whether this record belongs to demo data.
10282
10311
  */
10283
10312
  isDemo?: boolean | null;
10313
+ /**
10314
+ * Wallet balance in USD at or below which the organization receives a low-balance warning.
10315
+ */
10316
+ lowBalanceWarningThreshold?: number | null;
10284
10317
  /**
10285
10318
  * Destination status for delivered outbound messages.
10286
10319
  */
@@ -11343,9 +11376,13 @@ export interface PhoneIdentityResponse extends AdditionalDataHolder, Parsable {
11343
11376
  */
11344
11377
  number?: string | null;
11345
11378
  /**
11346
- * Whether Telnyx rejected SMS routing to this destination with error 40001.
11379
+ * Whether a recipient-specific carrier rejection currently blocks texting.
11347
11380
  */
11348
11381
  smsNotRoutable?: boolean | null;
11382
+ /**
11383
+ * The provider error code responsible for the current texting restriction.
11384
+ */
11385
+ smsRestrictionCode?: string | null;
11349
11386
  }
11350
11387
  /**
11351
11388
  * Public Leadping API schema for phone lookup result data.
@@ -12387,6 +12424,13 @@ export declare function serializeAppointmentActionRequest(writer: SerializationW
12387
12424
  * @param writer Serialization writer to use to serialize this model
12388
12425
  */
12389
12426
  export declare function serializeAppointmentActivity(writer: SerializationWriter, appointmentActivity?: Partial<AppointmentActivity> | undefined | null, isSerializingDerivedType?: boolean): void;
12427
+ /**
12428
+ * Serializes information the current object
12429
+ * @param AppointmentInterval The instance to serialize from.
12430
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
12431
+ * @param writer Serialization writer to use to serialize this model
12432
+ */
12433
+ export declare function serializeAppointmentInterval(writer: SerializationWriter, appointmentInterval?: Partial<AppointmentInterval> | undefined | null, isSerializingDerivedType?: boolean): void;
12390
12434
  /**
12391
12435
  * Serializes information the current object
12392
12436
  * @param AppointmentRequest The instance to serialize from.
@@ -17121,6 +17165,7 @@ export declare const BillableUnitObject: {
17121
17165
  readonly Payment_processing_fee: "payment_processing_fee";
17122
17166
  readonly Connection_action: "connection_action";
17123
17167
  readonly Automation_run: "automation_run";
17168
+ readonly Ai_credit: "ai_credit";
17124
17169
  };
17125
17170
  /**
17126
17171
  * Reusable payment types supported for immediate billing payments.
@@ -18162,6 +18207,7 @@ export declare const TransactionResponse_billableUnitObject: {
18162
18207
  readonly Payment_processing_fee: "payment_processing_fee";
18163
18208
  readonly Connection_action: "connection_action";
18164
18209
  readonly Automation_run: "automation_run";
18210
+ readonly Ai_credit: "ai_credit";
18165
18211
  };
18166
18212
  /**
18167
18213
  * Identifies the messaging, calling, phone-number, lookup, or platform channel that generated billable usage.
@@ -18212,6 +18258,7 @@ export declare const TransactionTableRow_billableUnitObject: {
18212
18258
  readonly Payment_processing_fee: "payment_processing_fee";
18213
18259
  readonly Connection_action: "connection_action";
18214
18260
  readonly Automation_run: "automation_run";
18261
+ readonly Ai_credit: "ai_credit";
18215
18262
  };
18216
18263
  /**
18217
18264
  * Identifies the messaging, calling, phone-number, lookup, or platform channel that generated billable usage.