telnyx 7.10.0 → 7.12.0

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 (127) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/package.json +1 -1
  3. package/resources/ai/assistants/assistants.d.mts +16 -2
  4. package/resources/ai/assistants/assistants.d.mts.map +1 -1
  5. package/resources/ai/assistants/assistants.d.ts +16 -2
  6. package/resources/ai/assistants/assistants.d.ts.map +1 -1
  7. package/resources/ai/assistants/assistants.js.map +1 -1
  8. package/resources/ai/assistants/assistants.mjs.map +1 -1
  9. package/resources/calls/actions.d.mts +74 -6
  10. package/resources/calls/actions.d.mts.map +1 -1
  11. package/resources/calls/actions.d.ts +74 -6
  12. package/resources/calls/actions.d.ts.map +1 -1
  13. package/resources/calls/calls.d.mts +13 -0
  14. package/resources/calls/calls.d.mts.map +1 -1
  15. package/resources/calls/calls.d.ts +13 -0
  16. package/resources/calls/calls.d.ts.map +1 -1
  17. package/resources/calls/calls.js.map +1 -1
  18. package/resources/calls/calls.mjs.map +1 -1
  19. package/resources/conferences/actions.d.mts +4 -0
  20. package/resources/conferences/actions.d.mts.map +1 -1
  21. package/resources/conferences/actions.d.ts +4 -0
  22. package/resources/conferences/actions.d.ts.map +1 -1
  23. package/resources/faxes/faxes.d.mts +27 -0
  24. package/resources/faxes/faxes.d.mts.map +1 -1
  25. package/resources/faxes/faxes.d.ts +27 -0
  26. package/resources/faxes/faxes.d.ts.map +1 -1
  27. package/resources/faxes/faxes.js.map +1 -1
  28. package/resources/faxes/faxes.mjs.map +1 -1
  29. package/resources/legacy/reporting/usage-reports/index.d.mts +1 -1
  30. package/resources/legacy/reporting/usage-reports/index.d.mts.map +1 -1
  31. package/resources/legacy/reporting/usage-reports/index.d.ts +1 -1
  32. package/resources/legacy/reporting/usage-reports/index.d.ts.map +1 -1
  33. package/resources/legacy/reporting/usage-reports/index.js.map +1 -1
  34. package/resources/legacy/reporting/usage-reports/index.mjs.map +1 -1
  35. package/resources/legacy/reporting/usage-reports/number-lookup.d.mts +9 -8
  36. package/resources/legacy/reporting/usage-reports/number-lookup.d.mts.map +1 -1
  37. package/resources/legacy/reporting/usage-reports/number-lookup.d.ts +9 -8
  38. package/resources/legacy/reporting/usage-reports/number-lookup.d.ts.map +1 -1
  39. package/resources/legacy/reporting/usage-reports/number-lookup.js +7 -4
  40. package/resources/legacy/reporting/usage-reports/number-lookup.js.map +1 -1
  41. package/resources/legacy/reporting/usage-reports/number-lookup.mjs +7 -4
  42. package/resources/legacy/reporting/usage-reports/number-lookup.mjs.map +1 -1
  43. package/resources/legacy/reporting/usage-reports/usage-reports.d.mts +2 -2
  44. package/resources/legacy/reporting/usage-reports/usage-reports.d.mts.map +1 -1
  45. package/resources/legacy/reporting/usage-reports/usage-reports.d.ts +2 -2
  46. package/resources/legacy/reporting/usage-reports/usage-reports.d.ts.map +1 -1
  47. package/resources/legacy/reporting/usage-reports/usage-reports.js.map +1 -1
  48. package/resources/legacy/reporting/usage-reports/usage-reports.mjs.map +1 -1
  49. package/resources/messaging-10dlc/phone-number-campaigns.d.mts +8 -0
  50. package/resources/messaging-10dlc/phone-number-campaigns.d.mts.map +1 -1
  51. package/resources/messaging-10dlc/phone-number-campaigns.d.ts +8 -0
  52. package/resources/messaging-10dlc/phone-number-campaigns.d.ts.map +1 -1
  53. package/resources/phone-numbers/actions.d.mts +1 -1
  54. package/resources/phone-numbers/actions.d.mts.map +1 -1
  55. package/resources/phone-numbers/actions.d.ts +1 -1
  56. package/resources/phone-numbers/actions.d.ts.map +1 -1
  57. package/resources/shared.d.mts +3 -0
  58. package/resources/shared.d.mts.map +1 -1
  59. package/resources/shared.d.ts +3 -0
  60. package/resources/shared.d.ts.map +1 -1
  61. package/resources/short-codes.d.mts +3 -0
  62. package/resources/short-codes.d.mts.map +1 -1
  63. package/resources/short-codes.d.ts +3 -0
  64. package/resources/short-codes.d.ts.map +1 -1
  65. package/resources/speech-to-text/speech-to-text.d.mts +4 -4
  66. package/resources/speech-to-text/speech-to-text.d.mts.map +1 -1
  67. package/resources/speech-to-text/speech-to-text.d.ts +4 -4
  68. package/resources/speech-to-text/speech-to-text.d.ts.map +1 -1
  69. package/resources/speech-to-text/speech-to-text.js +1 -1
  70. package/resources/speech-to-text/speech-to-text.mjs +1 -1
  71. package/resources/text-to-speech/text-to-speech.d.mts +26 -5
  72. package/resources/text-to-speech/text-to-speech.d.mts.map +1 -1
  73. package/resources/text-to-speech/text-to-speech.d.ts +26 -5
  74. package/resources/text-to-speech/text-to-speech.d.ts.map +1 -1
  75. package/resources/text-to-speech/text-to-speech.js +2 -2
  76. package/resources/text-to-speech/text-to-speech.mjs +2 -2
  77. package/resources/webhooks.d.mts +8 -2
  78. package/resources/webhooks.d.mts.map +1 -1
  79. package/resources/webhooks.d.ts +8 -2
  80. package/resources/webhooks.d.ts.map +1 -1
  81. package/resources/whatsapp/phone-numbers/conversational-components.d.mts +104 -0
  82. package/resources/whatsapp/phone-numbers/conversational-components.d.mts.map +1 -0
  83. package/resources/whatsapp/phone-numbers/conversational-components.d.ts +104 -0
  84. package/resources/whatsapp/phone-numbers/conversational-components.d.ts.map +1 -0
  85. package/resources/whatsapp/phone-numbers/conversational-components.js +44 -0
  86. package/resources/whatsapp/phone-numbers/conversational-components.js.map +1 -0
  87. package/resources/whatsapp/phone-numbers/conversational-components.mjs +40 -0
  88. package/resources/whatsapp/phone-numbers/conversational-components.mjs.map +1 -0
  89. package/resources/whatsapp/phone-numbers/index.d.mts +1 -0
  90. package/resources/whatsapp/phone-numbers/index.d.mts.map +1 -1
  91. package/resources/whatsapp/phone-numbers/index.d.ts +1 -0
  92. package/resources/whatsapp/phone-numbers/index.d.ts.map +1 -1
  93. package/resources/whatsapp/phone-numbers/index.js +3 -1
  94. package/resources/whatsapp/phone-numbers/index.js.map +1 -1
  95. package/resources/whatsapp/phone-numbers/index.mjs +1 -0
  96. package/resources/whatsapp/phone-numbers/index.mjs.map +1 -1
  97. package/resources/whatsapp/phone-numbers/phone-numbers.d.mts +5 -1
  98. package/resources/whatsapp/phone-numbers/phone-numbers.d.mts.map +1 -1
  99. package/resources/whatsapp/phone-numbers/phone-numbers.d.ts +5 -1
  100. package/resources/whatsapp/phone-numbers/phone-numbers.d.ts.map +1 -1
  101. package/resources/whatsapp/phone-numbers/phone-numbers.js +4 -0
  102. package/resources/whatsapp/phone-numbers/phone-numbers.js.map +1 -1
  103. package/resources/whatsapp/phone-numbers/phone-numbers.mjs +4 -0
  104. package/resources/whatsapp/phone-numbers/phone-numbers.mjs.map +1 -1
  105. package/src/resources/ai/assistants/assistants.ts +17 -1
  106. package/src/resources/calls/actions.ts +81 -1
  107. package/src/resources/calls/calls.ts +14 -0
  108. package/src/resources/conferences/actions.ts +4 -0
  109. package/src/resources/faxes/faxes.ts +29 -0
  110. package/src/resources/legacy/reporting/usage-reports/index.ts +2 -1
  111. package/src/resources/legacy/reporting/usage-reports/number-lookup.ts +19 -11
  112. package/src/resources/legacy/reporting/usage-reports/usage-reports.ts +4 -2
  113. package/src/resources/messaging-10dlc/phone-number-campaigns.ts +10 -0
  114. package/src/resources/phone-numbers/actions.ts +1 -1
  115. package/src/resources/shared.ts +3 -0
  116. package/src/resources/short-codes.ts +3 -0
  117. package/src/resources/speech-to-text/speech-to-text.ts +6 -3
  118. package/src/resources/text-to-speech/text-to-speech.ts +39 -5
  119. package/src/resources/webhooks.ts +9 -2
  120. package/src/resources/whatsapp/phone-numbers/conversational-components.ts +145 -0
  121. package/src/resources/whatsapp/phone-numbers/index.ts +6 -0
  122. package/src/resources/whatsapp/phone-numbers/phone-numbers.ts +18 -1
  123. package/src/version.ts +1 -1
  124. package/version.d.mts +1 -1
  125. package/version.d.ts +1 -1
  126. package/version.js +1 -1
  127. package/version.mjs +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/whatsapp/phone-numbers/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,eAAe,EACf,KAAK,2BAA2B,EAChC,KAAK,8BAA8B,EACnC,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,GAChC,+BAA2B;AAC5B,OAAO,EACL,YAAY,EACZ,KAAK,uBAAuB,EAC5B,KAAK,6CAA6C,EAClD,KAAK,qBAAqB,EAC1B,KAAK,mCAAmC,EACxC,KAAK,uBAAuB,EAC5B,KAAK,2CAA2C,EAChD,KAAK,6CAA6C,GACnD,4BAAwB;AACzB,OAAO,EACL,OAAO,EACP,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,GACzB,4BAAwB"}
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/whatsapp/phone-numbers/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,eAAe,EACf,KAAK,2BAA2B,EAChC,KAAK,8BAA8B,EACnC,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,GAChC,+BAA2B;AAC5B,OAAO,EACL,wBAAwB,EACxB,KAAK,mCAAmC,EACxC,KAAK,uCAAuC,EAC5C,KAAK,qCAAqC,GAC3C,wCAAoC;AACrC,OAAO,EACL,YAAY,EACZ,KAAK,uBAAuB,EAC5B,KAAK,6CAA6C,EAClD,KAAK,qBAAqB,EAC1B,KAAK,mCAAmC,EACxC,KAAK,uBAAuB,EAC5B,KAAK,2CAA2C,EAChD,KAAK,6CAA6C,GACnD,4BAAwB;AACzB,OAAO,EACL,OAAO,EACP,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,GACzB,4BAAwB"}
@@ -1,4 +1,5 @@
1
1
  export { CallingSettings, type WhatsappCallingSettingsData, type CallingSettingRetrieveResponse, type CallingSettingUpdateResponse, type CallingSettingUpdateParams, } from "./calling-settings.js";
2
+ export { ConversationalComponents, type ConversationalComponentListResponse, type ConversationalComponentPatchAllResponse, type ConversationalComponentPatchAllParams, } from "./conversational-components.js";
2
3
  export { PhoneNumbers, type PhoneNumberListResponse, type PhoneNumberRetrieveConversationWindowResponse, type PhoneNumberListParams, type PhoneNumberResendVerificationParams, type PhoneNumberVerifyParams, type PhoneNumberRetrieveConversationWindowParams, type PhoneNumberListResponsesDefaultFlatPagination, } from "./phone-numbers.js";
3
4
  export { Profile, type WhatsappProfileData, type ProfileRetrieveResponse, type ProfileUpdateResponse, type ProfileUpdateParams, } from "./profile/index.js";
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/whatsapp/phone-numbers/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,eAAe,EACf,KAAK,2BAA2B,EAChC,KAAK,8BAA8B,EACnC,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,GAChC,8BAA2B;AAC5B,OAAO,EACL,YAAY,EACZ,KAAK,uBAAuB,EAC5B,KAAK,6CAA6C,EAClD,KAAK,qBAAqB,EAC1B,KAAK,mCAAmC,EACxC,KAAK,uBAAuB,EAC5B,KAAK,2CAA2C,EAChD,KAAK,6CAA6C,GACnD,2BAAwB;AACzB,OAAO,EACL,OAAO,EACP,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,GACzB,2BAAwB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/whatsapp/phone-numbers/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,eAAe,EACf,KAAK,2BAA2B,EAChC,KAAK,8BAA8B,EACnC,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,GAChC,8BAA2B;AAC5B,OAAO,EACL,wBAAwB,EACxB,KAAK,mCAAmC,EACxC,KAAK,uCAAuC,EAC5C,KAAK,qCAAqC,GAC3C,uCAAoC;AACrC,OAAO,EACL,YAAY,EACZ,KAAK,uBAAuB,EAC5B,KAAK,6CAA6C,EAClD,KAAK,qBAAqB,EAC1B,KAAK,mCAAmC,EACxC,KAAK,uBAAuB,EAC5B,KAAK,2CAA2C,EAChD,KAAK,6CAA6C,GACnD,2BAAwB;AACzB,OAAO,EACL,OAAO,EACP,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,GACzB,2BAAwB"}
@@ -1,9 +1,11 @@
1
1
  "use strict";
2
2
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Profile = exports.PhoneNumbers = exports.CallingSettings = void 0;
4
+ exports.Profile = exports.PhoneNumbers = exports.ConversationalComponents = exports.CallingSettings = void 0;
5
5
  var calling_settings_1 = require("./calling-settings.js");
6
6
  Object.defineProperty(exports, "CallingSettings", { enumerable: true, get: function () { return calling_settings_1.CallingSettings; } });
7
+ var conversational_components_1 = require("./conversational-components.js");
8
+ Object.defineProperty(exports, "ConversationalComponents", { enumerable: true, get: function () { return conversational_components_1.ConversationalComponents; } });
7
9
  var phone_numbers_1 = require("./phone-numbers.js");
8
10
  Object.defineProperty(exports, "PhoneNumbers", { enumerable: true, get: function () { return phone_numbers_1.PhoneNumbers; } });
9
11
  var index_1 = require("./profile/index.js");
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/whatsapp/phone-numbers/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0DAM4B;AAL1B,mHAAA,eAAe,OAAA;AAMjB,oDASyB;AARvB,6GAAA,YAAY,OAAA;AASd,4CAMyB;AALvB,gGAAA,OAAO,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/whatsapp/phone-numbers/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0DAM4B;AAL1B,mHAAA,eAAe,OAAA;AAMjB,4EAKqC;AAJnC,qIAAA,wBAAwB,OAAA;AAK1B,oDASyB;AARvB,6GAAA,YAAY,OAAA;AASd,4CAMyB;AALvB,gGAAA,OAAO,OAAA"}
@@ -1,5 +1,6 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
  export { CallingSettings, } from "./calling-settings.mjs";
3
+ export { ConversationalComponents, } from "./conversational-components.mjs";
3
4
  export { PhoneNumbers, } from "./phone-numbers.mjs";
4
5
  export { Profile, } from "./profile/index.mjs";
5
6
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/whatsapp/phone-numbers/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,eAAe,GAKhB,+BAA2B;AAC5B,OAAO,EACL,YAAY,GAQb,4BAAwB;AACzB,OAAO,EACL,OAAO,GAKR,4BAAwB"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/whatsapp/phone-numbers/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,eAAe,GAKhB,+BAA2B;AAC5B,OAAO,EACL,wBAAwB,GAIzB,wCAAoC;AACrC,OAAO,EACL,YAAY,GAQb,4BAAwB;AACzB,OAAO,EACL,OAAO,GAKR,4BAAwB"}
@@ -1,6 +1,8 @@
1
1
  import { APIResource } from "../../../core/resource.mjs";
2
2
  import * as CallingSettingsAPI from "./calling-settings.mjs";
3
3
  import { CallingSettingRetrieveResponse, CallingSettingUpdateParams, CallingSettingUpdateResponse, CallingSettings, WhatsappCallingSettingsData } from "./calling-settings.mjs";
4
+ import * as ConversationalComponentsAPI from "./conversational-components.mjs";
5
+ import { ConversationalComponentListResponse, ConversationalComponentPatchAllParams, ConversationalComponentPatchAllResponse, ConversationalComponents } from "./conversational-components.mjs";
4
6
  import * as ProfileAPI from "./profile/profile.mjs";
5
7
  import { Profile, ProfileRetrieveResponse, ProfileUpdateParams, ProfileUpdateResponse, WhatsappProfileData } from "./profile/profile.mjs";
6
8
  import { APIPromise } from "../../../core/api-promise.mjs";
@@ -12,6 +14,7 @@ import { RequestOptions } from "../../../internal/request-options.mjs";
12
14
  export declare class PhoneNumbers extends APIResource {
13
15
  callingSettings: CallingSettingsAPI.CallingSettings;
14
16
  profile: ProfileAPI.Profile;
17
+ conversationalComponents: ConversationalComponentsAPI.ConversationalComponents;
15
18
  /**
16
19
  * List Whatsapp phone numbers
17
20
  *
@@ -116,7 +119,7 @@ export declare namespace PhoneNumberRetrieveConversationWindowResponse {
116
119
  /**
117
120
  * When the window closes. Null if no active window.
118
121
  */
119
- window_expires_at?: string;
122
+ window_expires_at?: string | null;
120
123
  /**
121
124
  * Window type. Currently always 24h when present.
122
125
  */
@@ -141,5 +144,6 @@ export declare namespace PhoneNumbers {
141
144
  export { type PhoneNumberListResponse as PhoneNumberListResponse, type PhoneNumberRetrieveConversationWindowResponse as PhoneNumberRetrieveConversationWindowResponse, type PhoneNumberListResponsesDefaultFlatPagination as PhoneNumberListResponsesDefaultFlatPagination, type PhoneNumberListParams as PhoneNumberListParams, type PhoneNumberResendVerificationParams as PhoneNumberResendVerificationParams, type PhoneNumberVerifyParams as PhoneNumberVerifyParams, type PhoneNumberRetrieveConversationWindowParams as PhoneNumberRetrieveConversationWindowParams, };
142
145
  export { CallingSettings as CallingSettings, type WhatsappCallingSettingsData as WhatsappCallingSettingsData, type CallingSettingRetrieveResponse as CallingSettingRetrieveResponse, type CallingSettingUpdateResponse as CallingSettingUpdateResponse, type CallingSettingUpdateParams as CallingSettingUpdateParams, };
143
146
  export { Profile as Profile, type WhatsappProfileData as WhatsappProfileData, type ProfileRetrieveResponse as ProfileRetrieveResponse, type ProfileUpdateResponse as ProfileUpdateResponse, type ProfileUpdateParams as ProfileUpdateParams, };
147
+ export { ConversationalComponents as ConversationalComponents, type ConversationalComponentListResponse as ConversationalComponentListResponse, type ConversationalComponentPatchAllResponse as ConversationalComponentPatchAllResponse, type ConversationalComponentPatchAllParams as ConversationalComponentPatchAllParams, };
144
148
  }
145
149
  //# sourceMappingURL=phone-numbers.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"phone-numbers.d.mts","sourceRoot":"","sources":["../../../src/resources/whatsapp/phone-numbers/phone-numbers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,kBAAkB,+BAA2B;AACzD,OAAO,EACL,8BAA8B,EAC9B,0BAA0B,EAC1B,4BAA4B,EAC5B,eAAe,EACf,2BAA2B,EAC5B,+BAA2B;AAC5B,OAAO,KAAK,UAAU,8BAA0B;AAChD,OAAO,EACL,OAAO,EACP,uBAAuB,EACvB,mBAAmB,EACnB,qBAAqB,EACrB,mBAAmB,EACpB,8BAA0B;AAC3B,OAAO,EAAE,UAAU,EAAE,sCAAkC;AACvD,OAAO,EACL,qBAAqB,EACrB,KAAK,2BAA2B,EAChC,WAAW,EACZ,qCAAiC;AAElC,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAGnE;;GAEG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C,eAAe,EAAE,kBAAkB,CAAC,eAAe,CAAwD;IAC3G,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IAEnE;;;;;;;;;;OAUG;IACH,IAAI,CACF,KAAK,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,6CAA6C,EAAE,uBAAuB,CAAC;IAQtF;;;;;;;OAOG;IACH,MAAM,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAOvE;;;;;;;;;OASG;IACH,kBAAkB,CAChB,WAAW,EAAE,MAAM,EACnB,IAAI,EAAE,mCAAmC,EACzC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,IAAI,CAAC;IAQnB;;;;;;;;;OASG;IACH,MAAM,CAAC,WAAW,EAAE,MAAM,EAAE,IAAI,EAAE,uBAAuB,EAAE,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AAG,OAAO,CAAC;CACvC;AAED,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,2CAA2C;IAC1D;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;CAC5B;AAKD,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,6CAA6C,IAAI,6CAA6C,EACnG,KAAK,6CAA6C,IAAI,6CAA6C,EACnG,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,2CAA2C,IAAI,2CAA2C,GAChG,CAAC;IAEF,OAAO,EACL,eAAe,IAAI,eAAe,EAClC,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;IAEF,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
1
+ {"version":3,"file":"phone-numbers.d.mts","sourceRoot":"","sources":["../../../src/resources/whatsapp/phone-numbers/phone-numbers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,kBAAkB,+BAA2B;AACzD,OAAO,EACL,8BAA8B,EAC9B,0BAA0B,EAC1B,4BAA4B,EAC5B,eAAe,EACf,2BAA2B,EAC5B,+BAA2B;AAC5B,OAAO,KAAK,2BAA2B,wCAAoC;AAC3E,OAAO,EACL,mCAAmC,EACnC,qCAAqC,EACrC,uCAAuC,EACvC,wBAAwB,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,IAAI,uBAAuB,EACvD,KAAK,6CAA6C,IAAI,6CAA6C,EACnG,KAAK,6CAA6C,IAAI,6CAA6C,EACnG,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,2CAA2C,IAAI,2CAA2C,GAChG,CAAC;IAEF,OAAO,EACL,eAAe,IAAI,eAAe,EAClC,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;IAEF,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;IAEF,OAAO,EACL,wBAAwB,IAAI,wBAAwB,EACpD,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,uCAAuC,IAAI,uCAAuC,EACvF,KAAK,qCAAqC,IAAI,qCAAqC,GACpF,CAAC;CACH"}
@@ -1,6 +1,8 @@
1
1
  import { APIResource } from "../../../core/resource.js";
2
2
  import * as CallingSettingsAPI from "./calling-settings.js";
3
3
  import { CallingSettingRetrieveResponse, CallingSettingUpdateParams, CallingSettingUpdateResponse, CallingSettings, WhatsappCallingSettingsData } from "./calling-settings.js";
4
+ import * as ConversationalComponentsAPI from "./conversational-components.js";
5
+ import { ConversationalComponentListResponse, ConversationalComponentPatchAllParams, ConversationalComponentPatchAllResponse, ConversationalComponents } from "./conversational-components.js";
4
6
  import * as ProfileAPI from "./profile/profile.js";
5
7
  import { Profile, ProfileRetrieveResponse, ProfileUpdateParams, ProfileUpdateResponse, WhatsappProfileData } from "./profile/profile.js";
6
8
  import { APIPromise } from "../../../core/api-promise.js";
@@ -12,6 +14,7 @@ import { RequestOptions } from "../../../internal/request-options.js";
12
14
  export declare class PhoneNumbers extends APIResource {
13
15
  callingSettings: CallingSettingsAPI.CallingSettings;
14
16
  profile: ProfileAPI.Profile;
17
+ conversationalComponents: ConversationalComponentsAPI.ConversationalComponents;
15
18
  /**
16
19
  * List Whatsapp phone numbers
17
20
  *
@@ -116,7 +119,7 @@ export declare namespace PhoneNumberRetrieveConversationWindowResponse {
116
119
  /**
117
120
  * When the window closes. Null if no active window.
118
121
  */
119
- window_expires_at?: string;
122
+ window_expires_at?: string | null;
120
123
  /**
121
124
  * Window type. Currently always 24h when present.
122
125
  */
@@ -141,5 +144,6 @@ export declare namespace PhoneNumbers {
141
144
  export { type PhoneNumberListResponse as PhoneNumberListResponse, type PhoneNumberRetrieveConversationWindowResponse as PhoneNumberRetrieveConversationWindowResponse, type PhoneNumberListResponsesDefaultFlatPagination as PhoneNumberListResponsesDefaultFlatPagination, type PhoneNumberListParams as PhoneNumberListParams, type PhoneNumberResendVerificationParams as PhoneNumberResendVerificationParams, type PhoneNumberVerifyParams as PhoneNumberVerifyParams, type PhoneNumberRetrieveConversationWindowParams as PhoneNumberRetrieveConversationWindowParams, };
142
145
  export { CallingSettings as CallingSettings, type WhatsappCallingSettingsData as WhatsappCallingSettingsData, type CallingSettingRetrieveResponse as CallingSettingRetrieveResponse, type CallingSettingUpdateResponse as CallingSettingUpdateResponse, type CallingSettingUpdateParams as CallingSettingUpdateParams, };
143
146
  export { Profile as Profile, type WhatsappProfileData as WhatsappProfileData, type ProfileRetrieveResponse as ProfileRetrieveResponse, type ProfileUpdateResponse as ProfileUpdateResponse, type ProfileUpdateParams as ProfileUpdateParams, };
147
+ export { ConversationalComponents as ConversationalComponents, type ConversationalComponentListResponse as ConversationalComponentListResponse, type ConversationalComponentPatchAllResponse as ConversationalComponentPatchAllResponse, type ConversationalComponentPatchAllParams as ConversationalComponentPatchAllParams, };
144
148
  }
145
149
  //# sourceMappingURL=phone-numbers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"phone-numbers.d.ts","sourceRoot":"","sources":["../../../src/resources/whatsapp/phone-numbers/phone-numbers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,kBAAkB,8BAA2B;AACzD,OAAO,EACL,8BAA8B,EAC9B,0BAA0B,EAC1B,4BAA4B,EAC5B,eAAe,EACf,2BAA2B,EAC5B,8BAA2B;AAC5B,OAAO,KAAK,UAAU,6BAA0B;AAChD,OAAO,EACL,OAAO,EACP,uBAAuB,EACvB,mBAAmB,EACnB,qBAAqB,EACrB,mBAAmB,EACpB,6BAA0B;AAC3B,OAAO,EAAE,UAAU,EAAE,qCAAkC;AACvD,OAAO,EACL,qBAAqB,EACrB,KAAK,2BAA2B,EAChC,WAAW,EACZ,oCAAiC;AAElC,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAGnE;;GAEG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C,eAAe,EAAE,kBAAkB,CAAC,eAAe,CAAwD;IAC3G,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IAEnE;;;;;;;;;;OAUG;IACH,IAAI,CACF,KAAK,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,6CAA6C,EAAE,uBAAuB,CAAC;IAQtF;;;;;;;OAOG;IACH,MAAM,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAOvE;;;;;;;;;OASG;IACH,kBAAkB,CAChB,WAAW,EAAE,MAAM,EACnB,IAAI,EAAE,mCAAmC,EACzC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,IAAI,CAAC;IAQnB;;;;;;;;;OASG;IACH,MAAM,CAAC,WAAW,EAAE,MAAM,EAAE,IAAI,EAAE,uBAAuB,EAAE,OAAO,CAAC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CAAC;CACvC;AAED,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,2CAA2C;IAC1D;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;CAC5B;AAKD,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,6CAA6C,IAAI,6CAA6C,EACnG,KAAK,6CAA6C,IAAI,6CAA6C,EACnG,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,2CAA2C,IAAI,2CAA2C,GAChG,CAAC;IAEF,OAAO,EACL,eAAe,IAAI,eAAe,EAClC,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;IAEF,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
1
+ {"version":3,"file":"phone-numbers.d.ts","sourceRoot":"","sources":["../../../src/resources/whatsapp/phone-numbers/phone-numbers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,kBAAkB,8BAA2B;AACzD,OAAO,EACL,8BAA8B,EAC9B,0BAA0B,EAC1B,4BAA4B,EAC5B,eAAe,EACf,2BAA2B,EAC5B,8BAA2B;AAC5B,OAAO,KAAK,2BAA2B,uCAAoC;AAC3E,OAAO,EACL,mCAAmC,EACnC,qCAAqC,EACrC,uCAAuC,EACvC,wBAAwB,EACzB,uCAA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AuB,EACvD,KAAK,6CAA6C,IAAI,6CAA6C,EACnG,KAAK,6CAA6C,IAAI,6CAA6C,EACnG,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,2CAA2C,IAAI,2CAA2C,GAChG,CAAC;IAEF,OAAO,EACL,eAAe,IAAI,eAAe,EAClC,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;IAEF,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;IAEF,OAAO,EACL,wBAAwB,IAAI,wBAAwB,EACpD,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,uCAAuC,IAAI,uCAAuC,EACvF,KAAK,qCAAqC,IAAI,qCAAqC,GACpF,CAAC;CACH"}
@@ -6,6 +6,8 @@ const tslib_1 = require("../../../internal/tslib.js");
6
6
  const resource_1 = require("../../../core/resource.js");
7
7
  const CallingSettingsAPI = tslib_1.__importStar(require("./calling-settings.js"));
8
8
  const calling_settings_1 = require("./calling-settings.js");
9
+ const ConversationalComponentsAPI = tslib_1.__importStar(require("./conversational-components.js"));
10
+ const conversational_components_1 = require("./conversational-components.js");
9
11
  const ProfileAPI = tslib_1.__importStar(require("./profile/profile.js"));
10
12
  const profile_1 = require("./profile/profile.js");
11
13
  const pagination_1 = require("../../../core/pagination.js");
@@ -19,6 +21,7 @@ class PhoneNumbers extends resource_1.APIResource {
19
21
  super(...arguments);
20
22
  this.callingSettings = new CallingSettingsAPI.CallingSettings(this._client);
21
23
  this.profile = new ProfileAPI.Profile(this._client);
24
+ this.conversationalComponents = new ConversationalComponentsAPI.ConversationalComponents(this._client);
22
25
  }
23
26
  /**
24
27
  * List Whatsapp phone numbers
@@ -106,4 +109,5 @@ class PhoneNumbers extends resource_1.APIResource {
106
109
  exports.PhoneNumbers = PhoneNumbers;
107
110
  PhoneNumbers.CallingSettings = calling_settings_1.CallingSettings;
108
111
  PhoneNumbers.Profile = profile_1.Profile;
112
+ PhoneNumbers.ConversationalComponents = conversational_components_1.ConversationalComponents;
109
113
  //# sourceMappingURL=phone-numbers.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"phone-numbers.js","sourceRoot":"","sources":["../../../src/resources/whatsapp/phone-numbers/phone-numbers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AACrD,kFAAyD;AACzD,4DAM4B;AAC5B,yEAAgD;AAChD,kDAM2B;AAE3B,4DAIkC;AAClC,0DAAyD;AAEzD,0DAAoD;AAEpD;;GAEG;AACH,MAAa,YAAa,SAAQ,sBAAW;IAA7C;;QACE,oBAAe,GAAuC,IAAI,kBAAkB,CAAC,eAAe,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC3G,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAuGrE,CAAC;IArGC;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,4BAA4B,EAC5B,CAAA,kCAA8C,CAAA,EAC9C,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,WAAmB,EAAE,OAAwB;QAClD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,8BAA8B,WAAW,EAAE,EAAE;YAC1E,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;OASG;IACH,kBAAkB,CAChB,WAAmB,EACnB,IAAyC,EACzC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,8BAA8B,WAAW,sBAAsB,EAAE;YAC5F,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;OASG;IACH,MAAM,CAAC,WAAmB,EAAE,IAA6B,EAAE,OAAwB;QACjF,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,8BAA8B,WAAW,SAAS,EAAE;YAC/E,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,0BAA0B,CACxB,WAAmB,EACnB,KAAkD,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,8BAA8B,WAAW,sBAAsB,EAAE;YAC3F,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AAzGD,oCAyGC;AAwFD,YAAY,CAAC,eAAe,GAAG,kCAAe,CAAC;AAC/C,YAAY,CAAC,OAAO,GAAG,iBAAO,CAAC"}
1
+ {"version":3,"file":"phone-numbers.js","sourceRoot":"","sources":["../../../src/resources/whatsapp/phone-numbers/phone-numbers.ts"],"names":[],"mappings":";AAA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,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;OASG;IACH,MAAM,CAAC,WAAmB,EAAE,IAA6B,EAAE,OAAwB;QACjF,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,8BAA8B,WAAW,SAAS,EAAE;YAC/E,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,0BAA0B,CACxB,WAAmB,EACnB,KAAkD,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,8BAA8B,WAAW,sBAAsB,EAAE;YAC3F,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AA3GD,oCA2GC;AAwFD,YAAY,CAAC,eAAe,GAAG,kCAAe,CAAC;AAC/C,YAAY,CAAC,OAAO,GAAG,iBAAO,CAAC;AAC/B,YAAY,CAAC,wBAAwB,GAAG,oDAAwB,CAAC"}
@@ -2,6 +2,8 @@
2
2
  import { APIResource } from "../../../core/resource.mjs";
3
3
  import * as CallingSettingsAPI from "./calling-settings.mjs";
4
4
  import { CallingSettings, } from "./calling-settings.mjs";
5
+ import * as ConversationalComponentsAPI from "./conversational-components.mjs";
6
+ import { ConversationalComponents, } from "./conversational-components.mjs";
5
7
  import * as ProfileAPI from "./profile/profile.mjs";
6
8
  import { Profile, } from "./profile/profile.mjs";
7
9
  import { DefaultFlatPagination, } from "../../../core/pagination.mjs";
@@ -15,6 +17,7 @@ export class PhoneNumbers extends APIResource {
15
17
  super(...arguments);
16
18
  this.callingSettings = new CallingSettingsAPI.CallingSettings(this._client);
17
19
  this.profile = new ProfileAPI.Profile(this._client);
20
+ this.conversationalComponents = new ConversationalComponentsAPI.ConversationalComponents(this._client);
18
21
  }
19
22
  /**
20
23
  * List Whatsapp phone numbers
@@ -101,4 +104,5 @@ export class PhoneNumbers extends APIResource {
101
104
  }
102
105
  PhoneNumbers.CallingSettings = CallingSettings;
103
106
  PhoneNumbers.Profile = Profile;
107
+ PhoneNumbers.ConversationalComponents = ConversationalComponents;
104
108
  //# sourceMappingURL=phone-numbers.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"phone-numbers.mjs","sourceRoot":"","sources":["../../../src/resources/whatsapp/phone-numbers/phone-numbers.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,kBAAkB,+BAA2B;AACzD,OAAO,EAIL,eAAe,GAEhB,+BAA2B;AAC5B,OAAO,KAAK,UAAU,8BAA0B;AAChD,OAAO,EACL,OAAO,GAKR,8BAA0B;AAE3B,OAAO,EACL,qBAAqB,GAGtB,qCAAiC;AAClC,OAAO,EAAE,YAAY,EAAE,sCAAkC;AAEzD,OAAO,EAAE,IAAI,EAAE,yCAAqC;AAEpD;;GAEG;AACH,MAAM,OAAO,YAAa,SAAQ,WAAW;IAA7C;;QACE,oBAAe,GAAuC,IAAI,kBAAkB,CAAC,eAAe,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC3G,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAuGrE,CAAC;IArGC;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,4BAA4B,EAC5B,CAAA,qBAA8C,CAAA,EAC9C,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;IACH,MAA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AAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;OASG;IACH,kBAAkB,CAChB,WAAmB,EACnB,IAAyC,EACzC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,8BAA8B,WAAW,sBAAsB,EAAE;YAC5F,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;OASG;IACH,MAAM,CAAC,WAAmB,EAAE,IAA6B,EAAE,OAAwB;QACjF,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,8BAA8B,WAAW,SAAS,EAAE;YAC/E,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,0BAA0B,CACxB,WAAmB,EACnB,KAAkD,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,8BAA8B,WAAW,sBAAsB,EAAE;YAC3F,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AAwFD,YAAY,CAAC,eAAe,GAAG,eAAe,CAAC;AAC/C,YAAY,CAAC,OAAO,GAAG,OAAO,CAAC;AAC/B,YAAY,CAAC,wBAAwB,GAAG,wBAAwB,CAAC"}
@@ -2511,7 +2511,11 @@ export interface TranscriptionSettings {
2511
2511
  * hint), `multi` (no language hint), and language-specific hints `en`, `es`, `fr`,
2512
2512
  * `de`, `hi`, `ru`, `pt`, `ja`, `it`, and `nl`. For `soniox/stt-rt-v4`, `auto`
2513
2513
  * omits the language hint and lets Soniox auto-detect; ISO 639-1 codes (e.g. `en`,
2514
- * `es`) bias detection toward that language.
2514
+ * `es`) bias detection toward that language. For `humain/realtime`, supported
2515
+ * values are `ar`, `en`, `codeswitch` (Arabic/English code-switching), and `auto`
2516
+ * (resolves server-side to code-switching). Unlike other models, `humain/realtime`
2517
+ * does not fall back to `auto` when `language` is omitted — omitting it applies
2518
+ * `en` instead.
2515
2519
  */
2516
2520
  language?: string;
2517
2521
 
@@ -2530,6 +2534,8 @@ export interface TranscriptionSettings {
2530
2534
  * detection and configurable endpointing.
2531
2535
  * - `nvidia/parakeet-v3` is a multilingual transcription model with automatic
2532
2536
  * language detection.
2537
+ * - `humain/realtime` is a streaming model with native Arabic and Arabic/English
2538
+ * code-switching support.
2533
2539
  */
2534
2540
  model?:
2535
2541
  | 'deepgram/flux'
@@ -2540,6 +2546,7 @@ export interface TranscriptionSettings {
2540
2546
  | 'xai/grok-stt'
2541
2547
  | 'soniox/stt-rt-v4'
2542
2548
  | 'nvidia/parakeet-v3'
2549
+ | 'humain/realtime'
2543
2550
  | 'distil-whisper/distil-large-v2'
2544
2551
  | 'openai/whisper-large-v3-turbo';
2545
2552
 
@@ -3433,6 +3440,15 @@ export interface AssistantChatParams {
3433
3440
  * The optional display name of the user sending the message
3434
3441
  */
3435
3442
  name?: string;
3443
+
3444
+ /**
3445
+ * When true, the response is streamed as Server-Sent Events (`text/event-stream`):
3446
+ * `delta` events carry content fragments as they are generated, a final `done`
3447
+ * event carries the full content plus `whatsapp_template`, and a terminal `error`
3448
+ * event reports failures that happen after streaming started. When false
3449
+ * (default), the response is a single JSON object.
3450
+ */
3451
+ stream?: boolean;
3436
3452
  }
3437
3453
 
3438
3454
  export interface AssistantSendSMSParams {
@@ -1593,7 +1593,10 @@ export interface TranscriptionConfig {
1593
1593
  * `assemblyai/universal-streaming`, `auto` (or unset) enables native multilingual
1594
1594
  * code-switching; ISO 639-1 codes (`en`, `es`, `de`, `fr`, `pt`, `it`, `tr`, `nl`,
1595
1595
  * `sv`, `no`, `da`, `fi`, `hi`, `vi`, `ar`, `he`, `ja`, `zh`) bias the session to
1596
- * that language.
1596
+ * that language. For `humain/realtime`, supported values are `ar`, `en`,
1597
+ * `codeswitch` (Arabic/English code-switching), and `auto` (resolves server-side
1598
+ * to code-switching). Unlike other models, `humain/realtime` does not fall back to
1599
+ * `auto` when `language` is omitted — omitting it applies `en` instead.
1597
1600
  */
1598
1601
  language?: string;
1599
1602
 
@@ -1611,6 +1614,8 @@ export interface TranscriptionConfig {
1611
1614
  * automatic language detection.
1612
1615
  * - `nvidia/parakeet-v3` for multilingual transcription with automatic language
1613
1616
  * detection.
1617
+ * - `humain/realtime` for live streaming transcription with native Arabic and
1618
+ * Arabic/English code-switching support.
1614
1619
  * - `azure/fast` and `azure/realtime`; Azure models require `region`, and
1615
1620
  * unsupported regions require `api_key_ref`.
1616
1621
  * - `google/latest_long` for non-streaming multilingual transcription.
@@ -1630,6 +1635,7 @@ export interface TranscriptionConfig {
1630
1635
  | 'xai/grok-stt'
1631
1636
  | 'soniox/stt-rt-v4'
1632
1637
  | 'nvidia/parakeet-v3'
1638
+ | 'humain/realtime'
1633
1639
  | 'azure/fast'
1634
1640
  | 'azure/realtime'
1635
1641
  | 'google/latest_long'
@@ -2114,6 +2120,7 @@ export interface TranscriptionStartRequest {
2114
2120
  | 'Speechmatics'
2115
2121
  | 'Soniox'
2116
2122
  | 'Parakeet'
2123
+ | 'Humain'
2117
2124
  | 'A'
2118
2125
  | 'B';
2119
2126
 
@@ -2126,6 +2133,7 @@ export interface TranscriptionStartRequest {
2126
2133
  | TranscriptionEngineSpeechmaticsConfig
2127
2134
  | TranscriptionEngineSonioxConfig
2128
2135
  | TranscriptionEngineParakeetConfig
2136
+ | TranscriptionStartRequest.TranscriptionEngineHumainConfig
2129
2137
  | TranscriptionEngineAConfig
2130
2138
  | TranscriptionEngineBConfig
2131
2139
  | DeepgramNova2Config
@@ -2139,6 +2147,26 @@ export interface TranscriptionStartRequest {
2139
2147
  transcription_tracks?: string;
2140
2148
  }
2141
2149
 
2150
+ export namespace TranscriptionStartRequest {
2151
+ export interface TranscriptionEngineHumainConfig {
2152
+ /**
2153
+ * The language of the audio to be transcribed. `codeswitch` enables Arabic/English
2154
+ * code-switching. `auto` resolves server-side to code-switching.
2155
+ */
2156
+ language?: 'ar' | 'en' | 'codeswitch' | 'auto';
2157
+
2158
+ /**
2159
+ * Engine identifier for Humain transcription service
2160
+ */
2161
+ transcription_engine?: 'Humain';
2162
+
2163
+ /**
2164
+ * The model to use for transcription.
2165
+ */
2166
+ transcription_model?: 'humain/realtime';
2167
+ }
2168
+ }
2169
+
2142
2170
  /**
2143
2171
  * Messages sent by an end user
2144
2172
  */
@@ -2430,6 +2458,10 @@ export interface ActionStartAIAssistantParams {
2430
2458
  * `s1`. `VoiceId` is a Fish Voice-Library reference ID.
2431
2459
  * - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
2432
2460
  * `ara`, `rex`, `sal`, `leo`.
2461
+ * - **Humain:** Use `Humain.<VoiceId>` (e.g., `Humain.sara-ar`). Available voices:
2462
+ * `sara-en`, `abdulaziz-en`, `sara-ar`, `abdulaziz-ar`, `nourah-ar`,
2463
+ * `abdullah-ar`. Native Arabic (Saudi dialect) and English voices only — no
2464
+ * `ModelId` segment.
2433
2465
  */
2434
2466
  voice?: string;
2435
2467
 
@@ -3142,6 +3174,10 @@ export interface ActionGatherUsingAIParams {
3142
3174
  * `s1`. `VoiceId` is a Fish Voice-Library reference ID.
3143
3175
  * - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
3144
3176
  * `ara`, `rex`, `sal`, `leo`.
3177
+ * - **Humain:** Use `Humain.<VoiceId>` (e.g., `Humain.sara-ar`). Available voices:
3178
+ * `sara-en`, `abdulaziz-en`, `sara-ar`, `abdulaziz-ar`, `nourah-ar`,
3179
+ * `abdullah-ar`. Native Arabic (Saudi dialect) and English voices only — no
3180
+ * `ModelId` segment.
3145
3181
  */
3146
3182
  voice?: string;
3147
3183
 
@@ -3312,6 +3348,10 @@ export interface ActionGatherUsingSpeakParams {
3312
3348
  * `s1`. `VoiceId` is a Fish Voice-Library reference ID.
3313
3349
  * - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
3314
3350
  * `ara`, `rex`, `sal`, `leo`.
3351
+ * - **Humain:** Use `Humain.<VoiceId>` (e.g., `Humain.sara-ar`). Available voices:
3352
+ * `sara-en`, `abdulaziz-en`, `sara-ar`, `abdulaziz-ar`, `nourah-ar`,
3353
+ * `abdullah-ar`. Native Arabic (Saudi dialect) and English voices only — no
3354
+ * `ModelId` segment.
3315
3355
  *
3316
3356
  * For service_level basic, you may define the gender of the speaker (male or
3317
3357
  * female).
@@ -4201,6 +4241,10 @@ export interface ActionSpeakParams {
4201
4241
  * `s1`. `VoiceId` is a Fish Voice-Library reference ID.
4202
4242
  * - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
4203
4243
  * `ara`, `rex`, `sal`, `leo`.
4244
+ * - **Humain:** Use `Humain.<VoiceId>` (e.g., `Humain.sara-ar`). Available voices:
4245
+ * `sara-en`, `abdulaziz-en`, `sara-ar`, `abdulaziz-ar`, `nourah-ar`,
4246
+ * `abdullah-ar`. Native Arabic (Saudi dialect) and English voices only — no
4247
+ * `ModelId` segment.
4204
4248
  *
4205
4249
  * For service_level basic, you may define the gender of the speaker (male or
4206
4250
  * female).
@@ -4550,6 +4594,7 @@ export interface ActionStartTranscriptionParams {
4550
4594
  | 'Speechmatics'
4551
4595
  | 'Soniox'
4552
4596
  | 'Parakeet'
4597
+ | 'Humain'
4553
4598
  | 'A'
4554
4599
  | 'B';
4555
4600
 
@@ -4562,6 +4607,7 @@ export interface ActionStartTranscriptionParams {
4562
4607
  | TranscriptionEngineSpeechmaticsConfig
4563
4608
  | TranscriptionEngineSonioxConfig
4564
4609
  | TranscriptionEngineParakeetConfig
4610
+ | ActionStartTranscriptionParams.TranscriptionEngineHumainConfig
4565
4611
  | TranscriptionEngineAConfig
4566
4612
  | TranscriptionEngineBConfig
4567
4613
  | DeepgramNova2Config
@@ -4575,6 +4621,26 @@ export interface ActionStartTranscriptionParams {
4575
4621
  transcription_tracks?: string;
4576
4622
  }
4577
4623
 
4624
+ export namespace ActionStartTranscriptionParams {
4625
+ export interface TranscriptionEngineHumainConfig {
4626
+ /**
4627
+ * The language of the audio to be transcribed. `codeswitch` enables Arabic/English
4628
+ * code-switching. `auto` resolves server-side to code-switching.
4629
+ */
4630
+ language?: 'ar' | 'en' | 'codeswitch' | 'auto';
4631
+
4632
+ /**
4633
+ * Engine identifier for Humain transcription service
4634
+ */
4635
+ transcription_engine?: 'Humain';
4636
+
4637
+ /**
4638
+ * The model to use for transcription.
4639
+ */
4640
+ transcription_model?: 'humain/realtime';
4641
+ }
4642
+ }
4643
+
4578
4644
  export interface ActionStopTranscriptionParams {
4579
4645
  /**
4580
4646
  * Use this field to add state to every subsequent webhook. It must be a valid
@@ -4768,6 +4834,16 @@ export interface ActionTransferParams {
4768
4834
  */
4769
4835
  record_trim?: 'trim-silence';
4770
4836
 
4837
+ /**
4838
+ * When set to true, routes the call directly to the mobile device associated with
4839
+ * the destination Telnyx Mobile number, bypassing Inbound Calls Interception
4840
+ * configured in the Telnyx Portal under Mobile Numbers → select the number → Voice
4841
+ * → Call Interception. Use this when transferring an intercepted call to the
4842
+ * mobile device to prevent the call from being intercepted again. Defaults to
4843
+ * false.
4844
+ */
4845
+ route_to_mobile?: boolean;
4846
+
4771
4847
  /**
4772
4848
  * DTMF digits to send automatically after the transfer destination answers. Useful
4773
4849
  * for reaching an extension behind an IVR (e.g. `"200"` to dial extension 200 once
@@ -5150,6 +5226,10 @@ export interface ActionStartConversationRelayParams {
5150
5226
  * `s1`. `VoiceId` is a Fish Voice-Library reference ID.
5151
5227
  * - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
5152
5228
  * `ara`, `rex`, `sal`, `leo`.
5229
+ * - **Humain:** Use `Humain.<VoiceId>` (e.g., `Humain.sara-ar`). Available voices:
5230
+ * `sara-en`, `abdulaziz-en`, `sara-ar`, `abdulaziz-ar`, `nourah-ar`,
5231
+ * `abdullah-ar`. Native Arabic (Saudi dialect) and English voices only — no
5232
+ * `ModelId` segment.
5153
5233
  */
5154
5234
  voice?: string;
5155
5235
 
@@ -530,6 +530,10 @@ export interface ConversationRelayEmbeddedConfig {
530
530
  * `s1`. `VoiceId` is a Fish Voice-Library reference ID.
531
531
  * - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
532
532
  * `ara`, `rex`, `sal`, `leo`.
533
+ * - **Humain:** Use `Humain.<VoiceId>` (e.g., `Humain.sara-ar`). Available voices:
534
+ * `sara-en`, `abdulaziz-en`, `sara-ar`, `abdulaziz-ar`, `nourah-ar`,
535
+ * `abdullah-ar`. Native Arabic (Saudi dialect) and English voices only — no
536
+ * `ModelId` segment.
533
537
  */
534
538
  voice?: string;
535
539
 
@@ -1117,6 +1121,16 @@ export interface CallDialParams {
1117
1121
  */
1118
1122
  retry_on_timeout?: boolean;
1119
1123
 
1124
+ /**
1125
+ * When set to true, routes the call directly to the mobile device associated with
1126
+ * the destination Telnyx Mobile number, bypassing Inbound Calls Interception
1127
+ * configured in the Telnyx Portal under Mobile Numbers → select the number → Voice
1128
+ * → Call Interception. Use this when transferring an intercepted call to the
1129
+ * mobile device to prevent the call from being intercepted again. Defaults to
1130
+ * false.
1131
+ */
1132
+ route_to_mobile?: boolean;
1133
+
1120
1134
  /**
1121
1135
  * DTMF digits to send automatically after the called party answers. Useful for
1122
1136
  * reaching an extension behind an IVR (e.g. `"200"` to dial extension 200 once the
@@ -800,6 +800,10 @@ export interface ActionSpeakParams {
800
800
  * `s1`. `VoiceId` is a Fish Voice-Library reference ID.
801
801
  * - **xAI:** Use `xAI.<VoiceId>` (e.g., `xAI.eve`). Available voices: `eve`,
802
802
  * `ara`, `rex`, `sal`, `leo`.
803
+ * - **Humain:** Use `Humain.<VoiceId>` (e.g., `Humain.sara-ar`). Available voices:
804
+ * `sara-en`, `abdulaziz-en`, `sara-ar`, `abdulaziz-ar`, `nourah-ar`,
805
+ * `abdullah-ar`. Native Arabic (Saudi dialect) and English voices only — no
806
+ * `ModelId` segment.
803
807
  *
804
808
  * For service_level basic, you may define the gender of the speaker (male or
805
809
  * female).
@@ -132,6 +132,28 @@ export interface Fax {
132
132
  */
133
133
  direction?: 'inbound' | 'outbound';
134
134
 
135
+ /**
136
+ * Customer-facing failure reason for the fax. Present on every fax object (null
137
+ * when the fax has not failed). Mapped from the more granular
138
+ * `internal_failure_reason`. Common values include: `receiver_call_dropped`,
139
+ * `sender_call_dropped`, `sender_canceled`, `carrier_lost`, `service_unavailable`,
140
+ * `fax_signaling_error`, `receiver_communication_error`,
141
+ * `sender_communication_error`, `receiver_decline`,
142
+ * `receiver_recovery_on_timer_expire`, `receiver_no_response`,
143
+ * `receiver_invalid_number_format`, `receiver_no_answer`,
144
+ * `receiver_incompatible_destination`, `receiver_unallocated_number`,
145
+ * `destination_unreachable`, `user_busy`, `invalid_ecm_response_from_receiver`,
146
+ * `fax_initial_communication_timeout`, `destination_not_in_service_plan`,
147
+ * `account_disabled`, `destination_invalid`, `no_outbound_profile`,
148
+ * `destination_not_in_countries_whitelist`, `user_channel_limit_exceeded`,
149
+ * `outbound_profile_channel_limit_exceeded`, `connection_channel_limit_exceeded`,
150
+ * `outbound_profile_daily_spend_limit_exceeded`, `unverified_origination_number`,
151
+ * `unverified_destination_not_allowed`, `file_format_invalid`,
152
+ * `file_download_failed`, `file_size_limit_exceeded`, `page_count_limit_exceeded`,
153
+ * `media_processing_exception`.
154
+ */
155
+ failure_reason?: string | null;
156
+
135
157
  /**
136
158
  * The phone number, in E.164 format, the fax will be sent from.
137
159
  */
@@ -143,6 +165,13 @@ export interface Fax {
143
165
  */
144
166
  from_display_name?: string;
145
167
 
168
+ /**
169
+ * Internal, more granular failure reason for the fax. Present on every fax object
170
+ * (null when the fax has not failed). Useful for deeper debugging beyond the
171
+ * customer-facing `failure_reason`.
172
+ */
173
+ internal_failure_reason?: string | null;
174
+
146
175
  /**
147
176
  * The media_name used for the fax's media. Must point to a file previously
148
177
  * uploaded to api.telnyx.com/v2/media by the same user/organization. Supported
@@ -18,8 +18,9 @@ export {
18
18
  type TelcoDataUsageReportResponse,
19
19
  type NumberLookupCreateResponse,
20
20
  type NumberLookupRetrieveResponse,
21
- type NumberLookupListResponse,
21
+ type NumberLookupListParams,
22
22
  type NumberLookupCreateParams,
23
+ type TelcoDataUsageReportResponsesPerPagePagination,
23
24
  } from './number-lookup';
24
25
  export {
25
26
  UsageReports,
@@ -1,8 +1,8 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  import { APIResource } from '../../../../core/resource';
4
- import * as MessagingAPI from './messaging';
5
4
  import { APIPromise } from '../../../../core/api-promise';
5
+ import { PagePromise, PerPagePagination, type PerPagePaginationParams } from '../../../../core/pagination';
6
6
  import { buildHeaders } from '../../../../internal/headers';
7
7
  import { RequestOptions } from '../../../../internal/request-options';
8
8
  import { path } from '../../../../internal/utils/path';
@@ -16,12 +16,21 @@ export class NumberLookup extends APIResource {
16
16
  *
17
17
  * @example
18
18
  * ```ts
19
- * const numberLookups =
20
- * await client.legacy.reporting.usageReports.numberLookup.list();
19
+ * // Automatically fetches more pages as needed.
20
+ * for await (const telcoDataUsageReportResponse of client.legacy.reporting.usageReports.numberLookup.list()) {
21
+ * // ...
22
+ * }
21
23
  * ```
22
24
  */
23
- list(options?: RequestOptions): APIPromise<NumberLookupListResponse> {
24
- return this._client.get('/legacy/reporting/usage_reports/number_lookup', options);
25
+ list(
26
+ query: NumberLookupListParams | null | undefined = {},
27
+ options?: RequestOptions,
28
+ ): PagePromise<TelcoDataUsageReportResponsesPerPagePagination, TelcoDataUsageReportResponse> {
29
+ return this._client.getAPIList(
30
+ '/legacy/reporting/usage_reports/number_lookup',
31
+ PerPagePagination<TelcoDataUsageReportResponse>,
32
+ { query, ...options },
33
+ );
25
34
  }
26
35
 
27
36
  /**
@@ -74,6 +83,8 @@ export class NumberLookup extends APIResource {
74
83
  }
75
84
  }
76
85
 
86
+ export type TelcoDataUsageReportResponsesPerPagePagination = PerPagePagination<TelcoDataUsageReportResponse>;
87
+
77
88
  export interface TelcoDataAggregation {
78
89
  /**
79
90
  * Currency code
@@ -187,11 +198,7 @@ export interface NumberLookupRetrieveResponse {
187
198
  data?: TelcoDataUsageReportResponse;
188
199
  }
189
200
 
190
- export interface NumberLookupListResponse {
191
- data?: Array<TelcoDataUsageReportResponse>;
192
-
193
- meta?: MessagingAPI.StandardPaginationMeta;
194
- }
201
+ export interface NumberLookupListParams extends PerPagePaginationParams {}
195
202
 
196
203
  export interface NumberLookupCreateParams {
197
204
  /**
@@ -222,7 +229,8 @@ export declare namespace NumberLookup {
222
229
  type TelcoDataUsageReportResponse as TelcoDataUsageReportResponse,
223
230
  type NumberLookupCreateResponse as NumberLookupCreateResponse,
224
231
  type NumberLookupRetrieveResponse as NumberLookupRetrieveResponse,
225
- type NumberLookupListResponse as NumberLookupListResponse,
232
+ type TelcoDataUsageReportResponsesPerPagePagination as TelcoDataUsageReportResponsesPerPagePagination,
233
+ type NumberLookupListParams as NumberLookupListParams,
226
234
  type NumberLookupCreateParams as NumberLookupCreateParams,
227
235
  };
228
236
  }