@webitel/api-services 0.1.40 → 0.1.42

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 (199) hide show
  1. package/package.json +2 -2
  2. package/src/gen/_models/apiGeneratePasswordRequest.ts +12 -0
  3. package/src/gen/_models/apiGeneratePasswordRequest.zod.ts +12 -0
  4. package/src/gen/_models/{updateUser2BodyProfile.ts → apiGeneratePasswordResponse.ts} +3 -3
  5. package/src/gen/_models/{updateUser2BodyProfile.zod.ts → apiGeneratePasswordResponse.zod.ts} +3 -3
  6. package/src/gen/_models/{updateUserBody.ts → apiInputUser.ts} +9 -15
  7. package/src/gen/_models/{updateUserBody.zod.ts → apiInputUser.zod.ts} +9 -15
  8. package/src/gen/_models/apiInputUserBody.ts +12 -0
  9. package/src/gen/_models/apiInputUserBody.zod.ts +12 -0
  10. package/src/gen/_models/apiInputUserDevice.ts +13 -0
  11. package/src/gen/_models/apiInputUserDevice.zod.ts +13 -0
  12. package/src/gen/_models/{updateUserBodyProfile.ts → apiInputUserProfile.ts} +1 -1
  13. package/src/gen/_models/{updateUserBodyProfile.zod.ts → apiInputUserProfile.zod.ts} +1 -1
  14. package/src/gen/_models/apiUser.ts +7 -7
  15. package/src/gen/_models/apiUser.zod.ts +7 -7
  16. package/src/gen/_models/apiUserinfo.ts +1 -0
  17. package/src/gen/_models/apiUserinfo.zod.ts +1 -0
  18. package/src/gen/_models/contactsCreateContactError.ts +20 -0
  19. package/src/gen/_models/contactsCreateContactError.zod.ts +20 -0
  20. package/src/gen/_models/contactsCreateContactsBulkResponse.ts +20 -0
  21. package/src/gen/_models/contactsCreateContactsBulkResponse.zod.ts +20 -0
  22. package/src/gen/_models/createContactsParams.ts +13 -0
  23. package/src/gen/_models/createContactsParams.zod.ts +13 -0
  24. package/src/gen/_models/createUserParams.ts +31 -0
  25. package/src/gen/_models/createUserParams.zod.ts +31 -0
  26. package/src/gen/_models/engineSystemSettingName.ts +2 -0
  27. package/src/gen/_models/engineSystemSettingName.zod.ts +2 -0
  28. package/src/gen/_models/index.ts +15 -9
  29. package/src/gen/_models/index.zod.ts +15 -9
  30. package/src/gen/_models/messageHistorySearchLeftThreadsMessagesHistoryParams.ts +49 -0
  31. package/src/gen/_models/messageHistorySearchLeftThreadsMessagesHistoryParams.zod.ts +49 -0
  32. package/src/gen/_models/searchSystemSettingNameItem.ts +2 -0
  33. package/src/gen/_models/searchSystemSettingNameItem.zod.ts +2 -0
  34. package/src/gen/_models/signupParams.ts +5 -0
  35. package/src/gen/_models/signupParams.zod.ts +5 -0
  36. package/src/gen/_models/webitelCasesInputPriority.ts +5 -2
  37. package/src/gen/_models/webitelCasesInputPriority.zod.ts +5 -2
  38. package/src/gen/_models/webitelCasesPriority.ts +10 -7
  39. package/src/gen/_models/webitelCasesPriority.zod.ts +10 -7
  40. package/src/gen/_models/webitelImApiGatewayV1SendContactRequest.ts +2 -0
  41. package/src/gen/_models/webitelImApiGatewayV1SendContactRequest.zod.ts +2 -0
  42. package/src/gen/_models/webitelImApiGatewayV1SendDocumentRequest.ts +2 -0
  43. package/src/gen/_models/webitelImApiGatewayV1SendDocumentRequest.zod.ts +2 -0
  44. package/src/gen/_models/webitelImApiGatewayV1SendImageRequest.ts +2 -0
  45. package/src/gen/_models/webitelImApiGatewayV1SendImageRequest.zod.ts +2 -0
  46. package/src/gen/_models/webitelImApiGatewayV1SendInteractiveMessageRequest.ts +2 -0
  47. package/src/gen/_models/webitelImApiGatewayV1SendInteractiveMessageRequest.zod.ts +2 -0
  48. package/src/gen/_models/webitelImApiGatewayV1SendLocationRequest.ts +2 -0
  49. package/src/gen/_models/webitelImApiGatewayV1SendLocationRequest.zod.ts +2 -0
  50. package/src/gen/_models/webitelImApiGatewayV1SendTextRequest.ts +2 -0
  51. package/src/gen/_models/webitelImApiGatewayV1SendTextRequest.zod.ts +2 -0
  52. package/src/gen/_models/webitelImProviderV1CreateGateRequest.ts +17 -0
  53. package/src/gen/_models/webitelImProviderV1CreateGateRequest.zod.ts +17 -0
  54. package/src/gen/_models/webitelImProviderV1CreateWABAGateRequest.ts +14 -0
  55. package/src/gen/_models/webitelImProviderV1CreateWABAGateRequest.zod.ts +14 -0
  56. package/src/gen/_models/webitelImProviderV1GateResponse.ts +21 -0
  57. package/src/gen/_models/webitelImProviderV1GateResponse.zod.ts +21 -0
  58. package/src/gen/_models/webitelImProviderV1ProviderSendDocumentRequest.ts +1 -0
  59. package/src/gen/_models/webitelImProviderV1ProviderSendDocumentRequest.zod.ts +1 -0
  60. package/src/gen/_models/webitelImProviderV1ProviderSendImageRequest.ts +1 -0
  61. package/src/gen/_models/webitelImProviderV1ProviderSendImageRequest.zod.ts +1 -0
  62. package/src/gen/_models/webitelImProviderV1ProviderSendTextRequest.ts +1 -0
  63. package/src/gen/_models/webitelImProviderV1ProviderSendTextRequest.zod.ts +1 -0
  64. package/src/gen/_models/webitelImProviderV1WhatsAppBusinessAccount.ts +16 -0
  65. package/src/gen/_models/webitelImProviderV1WhatsAppBusinessAccount.zod.ts +16 -0
  66. package/src/gen/auth/auth.msw.ts +18 -0
  67. package/src/gen/auth/auth.zod.ts +8 -0
  68. package/src/gen/cases/cases.msw.ts +1093 -1387
  69. package/src/gen/cases/cases.zod.ts +210 -245
  70. package/src/gen/catalogs/catalogs.msw.ts +836 -1088
  71. package/src/gen/catalogs/catalogs.zod.ts +198 -216
  72. package/src/gen/contacts/contacts.msw.ts +2900 -1
  73. package/src/gen/contacts/contacts.ts +21 -0
  74. package/src/gen/contacts/contacts.zod.ts +2083 -0
  75. package/src/gen/priorities/priorities.msw.ts +408 -534
  76. package/src/gen/priorities/priorities.zod.ts +108 -113
  77. package/src/gen/services/services.msw.ts +613 -802
  78. package/src/gen/services/services.zod.ts +96 -108
  79. package/src/gen/system-setting-service/system-setting-service.zod.ts +16 -0
  80. package/src/gen/users/users.msw.ts +434 -397
  81. package/src/gen/users/users.ts +46 -57
  82. package/src/gen/users/users.zod.ts +443 -459
  83. package/src/gen/webitel-im-api-gateway-v1-message/webitel-im-api-gateway-v1-message.zod.ts +42 -0
  84. package/src/gen/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.msw.ts +931 -0
  85. package/src/gen/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.ts +27 -0
  86. package/src/gen/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.zod.ts +576 -0
  87. package/src/gen/webitel-im-provider-v1-providermessageservice/webitel-im-provider-v1-providermessageservice.zod.ts +3 -0
  88. package/src/gen/webitel-im-provider-v1-whatsappservice/webitel-im-provider-v1-whatsappservice.msw.ts +94 -19
  89. package/src/gen/webitel-im-provider-v1-whatsappservice/webitel-im-provider-v1-whatsappservice.ts +6 -8
  90. package/src/gen/webitel-im-provider-v1-whatsappservice/webitel-im-provider-v1-whatsappservice.zod.ts +64 -42
  91. package/types/gen/_models/apiGeneratePasswordRequest.d.ts +11 -0
  92. package/types/gen/_models/apiGeneratePasswordRequest.zod.d.ts +11 -0
  93. package/types/gen/_models/apiGeneratePasswordResponse.d.ts +9 -0
  94. package/types/gen/_models/apiGeneratePasswordResponse.zod.d.ts +9 -0
  95. package/types/gen/_models/{updateUserBody.d.ts → apiInputUser.d.ts} +9 -15
  96. package/types/gen/_models/{updateUserBody.zod.d.ts → apiInputUser.zod.d.ts} +9 -15
  97. package/types/gen/_models/apiInputUserBody.d.ts +11 -0
  98. package/types/gen/_models/apiInputUserBody.zod.d.ts +11 -0
  99. package/types/gen/_models/apiInputUserDevice.d.ts +12 -0
  100. package/types/gen/_models/apiInputUserDevice.zod.d.ts +12 -0
  101. package/types/gen/_models/{updateUserBodyProfile.d.ts → apiInputUserProfile.d.ts} +1 -1
  102. package/types/gen/_models/{updateUserBodyProfile.zod.d.ts → apiInputUserProfile.zod.d.ts} +1 -1
  103. package/types/gen/_models/apiUser.d.ts +7 -7
  104. package/types/gen/_models/apiUser.zod.d.ts +7 -7
  105. package/types/gen/_models/apiUserinfo.d.ts +1 -0
  106. package/types/gen/_models/apiUserinfo.zod.d.ts +1 -0
  107. package/types/gen/_models/contactsCreateContactError.d.ts +19 -0
  108. package/types/gen/_models/contactsCreateContactError.zod.d.ts +19 -0
  109. package/types/gen/_models/contactsCreateContactsBulkResponse.d.ts +19 -0
  110. package/types/gen/_models/contactsCreateContactsBulkResponse.zod.d.ts +19 -0
  111. package/types/gen/_models/createContactsParams.d.ts +12 -0
  112. package/types/gen/_models/createContactsParams.zod.d.ts +12 -0
  113. package/types/gen/_models/createUserParams.d.ts +30 -0
  114. package/types/gen/_models/createUserParams.zod.d.ts +30 -0
  115. package/types/gen/_models/engineSystemSettingName.d.ts +2 -0
  116. package/types/gen/_models/engineSystemSettingName.zod.d.ts +2 -0
  117. package/types/gen/_models/index.zod.d.ts +15 -9
  118. package/types/gen/_models/messageHistorySearchLeftThreadsMessagesHistoryParams.d.ts +48 -0
  119. package/types/gen/_models/messageHistorySearchLeftThreadsMessagesHistoryParams.zod.d.ts +48 -0
  120. package/types/gen/_models/searchSystemSettingNameItem.d.ts +2 -0
  121. package/types/gen/_models/searchSystemSettingNameItem.zod.d.ts +2 -0
  122. package/types/gen/_models/signupParams.d.ts +5 -0
  123. package/types/gen/_models/signupParams.zod.d.ts +5 -0
  124. package/types/gen/_models/webitelCasesInputPriority.d.ts +5 -2
  125. package/types/gen/_models/webitelCasesInputPriority.zod.d.ts +5 -2
  126. package/types/gen/_models/webitelCasesPriority.d.ts +10 -7
  127. package/types/gen/_models/webitelCasesPriority.zod.d.ts +10 -7
  128. package/types/gen/_models/webitelImApiGatewayV1SendContactRequest.d.ts +2 -0
  129. package/types/gen/_models/webitelImApiGatewayV1SendContactRequest.zod.d.ts +2 -0
  130. package/types/gen/_models/webitelImApiGatewayV1SendDocumentRequest.d.ts +2 -0
  131. package/types/gen/_models/webitelImApiGatewayV1SendDocumentRequest.zod.d.ts +2 -0
  132. package/types/gen/_models/webitelImApiGatewayV1SendImageRequest.d.ts +2 -0
  133. package/types/gen/_models/webitelImApiGatewayV1SendImageRequest.zod.d.ts +2 -0
  134. package/types/gen/_models/webitelImApiGatewayV1SendInteractiveMessageRequest.d.ts +2 -0
  135. package/types/gen/_models/webitelImApiGatewayV1SendInteractiveMessageRequest.zod.d.ts +2 -0
  136. package/types/gen/_models/webitelImApiGatewayV1SendLocationRequest.d.ts +2 -0
  137. package/types/gen/_models/webitelImApiGatewayV1SendLocationRequest.zod.d.ts +2 -0
  138. package/types/gen/_models/webitelImApiGatewayV1SendTextRequest.d.ts +2 -0
  139. package/types/gen/_models/webitelImApiGatewayV1SendTextRequest.zod.d.ts +2 -0
  140. package/types/gen/_models/webitelImProviderV1CreateGateRequest.d.ts +16 -0
  141. package/types/gen/_models/webitelImProviderV1CreateGateRequest.zod.d.ts +16 -0
  142. package/types/gen/_models/webitelImProviderV1CreateWABAGateRequest.d.ts +13 -0
  143. package/types/gen/_models/webitelImProviderV1CreateWABAGateRequest.zod.d.ts +13 -0
  144. package/types/gen/_models/webitelImProviderV1GateResponse.d.ts +20 -0
  145. package/types/gen/_models/webitelImProviderV1GateResponse.zod.d.ts +20 -0
  146. package/types/gen/_models/webitelImProviderV1ProviderSendDocumentRequest.d.ts +1 -0
  147. package/types/gen/_models/webitelImProviderV1ProviderSendDocumentRequest.zod.d.ts +1 -0
  148. package/types/gen/_models/webitelImProviderV1ProviderSendImageRequest.d.ts +1 -0
  149. package/types/gen/_models/webitelImProviderV1ProviderSendImageRequest.zod.d.ts +1 -0
  150. package/types/gen/_models/webitelImProviderV1ProviderSendTextRequest.d.ts +1 -0
  151. package/types/gen/_models/webitelImProviderV1ProviderSendTextRequest.zod.d.ts +1 -0
  152. package/types/gen/_models/webitelImProviderV1WhatsAppBusinessAccount.d.ts +15 -0
  153. package/types/gen/_models/webitelImProviderV1WhatsAppBusinessAccount.zod.d.ts +15 -0
  154. package/types/gen/auth/auth.zod.d.ts +3 -0
  155. package/types/gen/cases/cases.zod.d.ts +126 -126
  156. package/types/gen/catalogs/catalogs.zod.d.ts +108 -108
  157. package/types/gen/contacts/contacts.d.ts +3 -1
  158. package/types/gen/contacts/contacts.msw.d.ts +3 -1
  159. package/types/gen/contacts/contacts.zod.d.ts +665 -0
  160. package/types/gen/priorities/priorities.zod.d.ts +60 -60
  161. package/types/gen/services/services.zod.d.ts +54 -54
  162. package/types/gen/system-setting-service/system-setting-service.zod.d.ts +16 -0
  163. package/types/gen/users/users.d.ts +8 -25
  164. package/types/gen/users/users.msw.d.ts +7 -5
  165. package/types/gen/users/users.zod.d.ts +136 -139
  166. package/types/gen/webitel-im-api-gateway-v1-message/webitel-im-api-gateway-v1-message.zod.d.ts +30 -0
  167. package/types/gen/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.d.ts +3 -1
  168. package/types/gen/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.msw.d.ts +2 -0
  169. package/types/gen/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.zod.d.ts +167 -0
  170. package/types/gen/webitel-im-provider-v1-providermessageservice/webitel-im-provider-v1-providermessageservice.zod.d.ts +3 -0
  171. package/types/gen/webitel-im-provider-v1-whatsappservice/webitel-im-provider-v1-whatsappservice.d.ts +3 -3
  172. package/types/gen/webitel-im-provider-v1-whatsappservice/webitel-im-provider-v1-whatsappservice.msw.d.ts +3 -3
  173. package/types/gen/webitel-im-provider-v1-whatsappservice/webitel-im-provider-v1-whatsappservice.zod.d.ts +40 -17
  174. package/src/gen/_models/apiCreateUserRequest.ts +0 -13
  175. package/src/gen/_models/apiCreateUserRequest.zod.ts +0 -13
  176. package/src/gen/_models/updateUser2Body.ts +0 -45
  177. package/src/gen/_models/updateUser2Body.zod.ts +0 -45
  178. package/src/gen/_models/updateUserUserBody.ts +0 -45
  179. package/src/gen/_models/updateUserUserBody.zod.ts +0 -45
  180. package/src/gen/_models/updateUserUserBodyProfile.ts +0 -10
  181. package/src/gen/_models/updateUserUserBodyProfile.zod.ts +0 -10
  182. package/src/gen/_models/webitelImProviderV1ProviderCreateWhatsAppGateRequest.ts +0 -17
  183. package/src/gen/_models/webitelImProviderV1ProviderCreateWhatsAppGateRequest.zod.ts +0 -17
  184. package/src/gen/_models/webitelImProviderV1ProviderCreateWhatsAppGateResponse.ts +0 -14
  185. package/src/gen/_models/webitelImProviderV1ProviderCreateWhatsAppGateResponse.zod.ts +0 -14
  186. package/types/gen/_models/apiCreateUserRequest.d.ts +0 -12
  187. package/types/gen/_models/apiCreateUserRequest.zod.d.ts +0 -12
  188. package/types/gen/_models/updateUser2Body.d.ts +0 -44
  189. package/types/gen/_models/updateUser2Body.zod.d.ts +0 -44
  190. package/types/gen/_models/updateUser2BodyProfile.d.ts +0 -9
  191. package/types/gen/_models/updateUser2BodyProfile.zod.d.ts +0 -9
  192. package/types/gen/_models/updateUserUserBody.d.ts +0 -44
  193. package/types/gen/_models/updateUserUserBody.zod.d.ts +0 -44
  194. package/types/gen/_models/updateUserUserBodyProfile.d.ts +0 -9
  195. package/types/gen/_models/updateUserUserBodyProfile.zod.d.ts +0 -9
  196. package/types/gen/_models/webitelImProviderV1ProviderCreateWhatsAppGateRequest.d.ts +0 -16
  197. package/types/gen/_models/webitelImProviderV1ProviderCreateWhatsAppGateRequest.zod.d.ts +0 -16
  198. package/types/gen/_models/webitelImProviderV1ProviderCreateWhatsAppGateResponse.d.ts +0 -13
  199. package/types/gen/_models/webitelImProviderV1ProviderCreateWhatsAppGateResponse.zod.d.ts +0 -13
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Generated by orval v8.5.3 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ import type { ContactsInputContact } from './contactsInputContact';
8
+ import type { RpcStatus } from './rpcStatus';
9
+ /**
10
+ * Per-item failure of a bulk Contact create.
11
+ */
12
+ export interface ContactsCreateContactError {
13
+ /** Standardized error (code, message, details). */
14
+ error?: RpcStatus;
15
+ /** 0-based position in CreateContactsRequest.input. */
16
+ index?: number;
17
+ /** The InputContact that failed. */
18
+ input?: ContactsInputContact;
19
+ }
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Generated by orval v8.5.3 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ import type { ContactsCreateContactError } from './contactsCreateContactError';
8
+ import type { WebitelContactsContact } from './webitelContactsContact';
9
+ /**
10
+ * Bulk Create result: successfully created Contacts plus per-item failures.
11
+ */
12
+ export interface ContactsCreateContactsBulkResponse {
13
+ /** Successfully created Contacts. Position matches the corresponding
14
+ InputContact position in CreateContactsRequest.input, skipping
15
+ failures. */
16
+ data?: WebitelContactsContact[];
17
+ /** Per-item failures with original index and error details. */
18
+ failures?: ContactsCreateContactError[];
19
+ }
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Generated by orval v8.5.3 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ import type { ContactsCreateContactError } from './contactsCreateContactError';
8
+ import type { WebitelContactsContact } from './webitelContactsContact';
9
+ /**
10
+ * Bulk Create result: successfully created Contacts plus per-item failures.
11
+ */
12
+ export interface ContactsCreateContactsBulkResponse {
13
+ /** Successfully created Contacts. Position matches the corresponding
14
+ InputContact position in CreateContactsRequest.input, skipping
15
+ failures. */
16
+ data?: WebitelContactsContact[];
17
+ /** Per-item failures with original index and error details. */
18
+ failures?: ContactsCreateContactError[];
19
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Generated by orval v8.5.3 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ export type CreateContactsParams = {
8
+ /**
9
+ * Fields to be retrieved into result of changes.
10
+ */
11
+ fields?: string[];
12
+ };
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Generated by orval v8.5.3 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ export type CreateContactsParams = {
8
+ /**
9
+ * Fields to be retrieved into result of changes.
10
+ */
11
+ fields?: string[];
12
+ };
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Generated by orval v8.5.3 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ export type CreateUserParams = {
8
+ userPassword?: string;
9
+ confirmPassword?: string;
10
+ /**
11
+ * Generate credentials & assign SIP [device] for NEW [user]
12
+ */
13
+ generateDevice?: boolean;
14
+ /**
15
+ * SIP display name
16
+ */
17
+ deviceName?: string;
18
+ /**
19
+ * SIP auth-id
20
+ */
21
+ deviceAccount?: string;
22
+ /**
23
+ * SIP password
24
+ */
25
+ devicePassword?: string;
26
+ /**
27
+ * [re]generate SIP password ?
28
+ */
29
+ deviceGeneratePassword?: boolean;
30
+ };
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Generated by orval v8.5.3 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ export type CreateUserParams = {
8
+ userPassword?: string;
9
+ confirmPassword?: string;
10
+ /**
11
+ * Generate credentials & assign SIP [device] for NEW [user]
12
+ */
13
+ generateDevice?: boolean;
14
+ /**
15
+ * SIP display name
16
+ */
17
+ deviceName?: string;
18
+ /**
19
+ * SIP auth-id
20
+ */
21
+ deviceAccount?: string;
22
+ /**
23
+ * SIP password
24
+ */
25
+ devicePassword?: string;
26
+ /**
27
+ * [re]generate SIP password ?
28
+ */
29
+ deviceGeneratePassword?: boolean;
30
+ };
@@ -41,4 +41,6 @@ export declare const EngineSystemSettingName: {
41
41
  readonly PasswordWarningDays: "password_warning_days";
42
42
  readonly DefaultPassword: "default_password";
43
43
  readonly ExpandContactTabs: "expand_contact_tabs";
44
+ readonly DefaultWorkspaceTab: "default_workspace_tab";
45
+ readonly BlockAllMemberNumbersFromList: "block_all_member_numbers_from_list";
44
46
  };
@@ -41,4 +41,6 @@ export declare const EngineSystemSettingName: {
41
41
  readonly PasswordWarningDays: "password_warning_days";
42
42
  readonly DefaultPassword: "default_password";
43
43
  readonly ExpandContactTabs: "expand_contact_tabs";
44
+ readonly DefaultWorkspaceTab: "default_workspace_tab";
45
+ readonly BlockAllMemberNumbersFromList: "block_all_member_numbers_from_list";
44
46
  };
@@ -33,7 +33,6 @@ export * from './apiCreateDomainRequest.zod';
33
33
  export * from './apiCreateDomainResponse.zod';
34
34
  export * from './apiCreateRoleRequest.zod';
35
35
  export * from './apiCreateRoleResponse.zod';
36
- export * from './apiCreateUserRequest.zod';
37
36
  export * from './apiCreateUserResponse.zod';
38
37
  export * from './apiCustomer.zod';
39
38
  export * from './apiCustomerLimit.zod';
@@ -49,6 +48,8 @@ export * from './apiDeviceAudit.zod';
49
48
  export * from './apiDeviceAuditResponse.zod';
50
49
  export * from './apiDeviceId.zod';
51
50
  export * from './apiDeviceProvision.zod';
51
+ export * from './apiGeneratePasswordRequest.zod';
52
+ export * from './apiGeneratePasswordResponse.zod';
52
53
  export * from './apiGenerateUserTfaKeyResponse.zod';
53
54
  export * from './apiGetCustomerResponse.zod';
54
55
  export * from './apiGetPasswordSettingsResponse.zod';
@@ -56,6 +57,10 @@ export * from './apiGetPasswordSettingsResponseSettings.zod';
56
57
  export * from './apiGetUserTfaKeyResponse.zod';
57
58
  export * from './apiGetUserWarningsResponse.zod';
58
59
  export * from './apiGrantAccessRequestV1.zod';
60
+ export * from './apiInputUser.zod';
61
+ export * from './apiInputUserBody.zod';
62
+ export * from './apiInputUserDevice.zod';
63
+ export * from './apiInputUserProfile.zod';
59
64
  export * from './apiLDAPCatalog.zod';
60
65
  export * from './apiLDAPCatalogTLSConfig.zod';
61
66
  export * from './apiLDAPControl.zod';
@@ -176,6 +181,8 @@ export * from './contactsConditionList.zod';
176
181
  export * from './contactsContactGroup.zod';
177
182
  export * from './contactsContactGroupList.zod';
178
183
  export * from './contactsContactList.zod';
184
+ export * from './contactsCreateContactError.zod';
185
+ export * from './contactsCreateContactsBulkResponse.zod';
179
186
  export * from './contactsCreateDynamicGroupRequest.zod';
180
187
  export * from './contactsCreateGroupRequest.zod';
181
188
  export * from './contactsDayTimeline.zod';
@@ -247,6 +254,7 @@ export * from './createCatalogParams.zod';
247
254
  export * from './createCloseReasonGroupParams.zod';
248
255
  export * from './createCloseReasonParams.zod';
249
256
  export * from './createContactParams.zod';
257
+ export * from './createContactsParams.zod';
250
258
  export * from './createData200.zod';
251
259
  export * from './createDataBody.zod';
252
260
  export * from './createDataRecordBody.zod';
@@ -262,6 +270,7 @@ export * from './createSourceParams.zod';
262
270
  export * from './createSpaceParams.zod';
263
271
  export * from './createStatusConditionParams.zod';
264
272
  export * from './createStatusParams.zod';
273
+ export * from './createUserParams.zod';
265
274
  export * from './dataDataset.zod';
266
275
  export * from './dataDatasetDataItem.zod';
267
276
  export * from './dataField.zod';
@@ -901,6 +910,7 @@ export * from './mergeManagersParams.zod';
901
910
  export * from './mergePhonesParams.zod';
902
911
  export * from './mergeTimezonesParams.zod';
903
912
  export * from './mergeVariablesParams.zod';
913
+ export * from './messageHistorySearchLeftThreadsMessagesHistoryParams.zod';
904
914
  export * from './messageHistorySearchThreadMessagesHistoryParams.zod';
905
915
  export * from './messageReadParams.zod';
906
916
  export * from './oAuth2FederationDeleteOAuthServiceBody.zod';
@@ -1294,8 +1304,6 @@ export * from './updateTimezoneBody.zod';
1294
1304
  export * from './updateTimezoneInputBody.zod';
1295
1305
  export * from './updateTimezoneParams.zod';
1296
1306
  export * from './updateTypeParams.zod';
1297
- export * from './updateUser2Body.zod';
1298
- export * from './updateUser2BodyProfile.zod';
1299
1307
  export * from './updateUser2Params.zod';
1300
1308
  export * from './updateUserAccessToken2Body.zod';
1301
1309
  export * from './updateUserAccessToken2BodyUser.zod';
@@ -1305,11 +1313,7 @@ export * from './updateUserAccessTokenBodyUser.zod';
1305
1313
  export * from './updateUserAccessTokenParams.zod';
1306
1314
  export * from './updateUserAccessTokenUpdateBody.zod';
1307
1315
  export * from './updateUserAccessTokenUpdateBodyUser.zod';
1308
- export * from './updateUserBody.zod';
1309
- export * from './updateUserBodyProfile.zod';
1310
1316
  export * from './updateUserParams.zod';
1311
- export * from './updateUserUserBody.zod';
1312
- export * from './updateUserUserBodyProfile.zod';
1313
1317
  export * from './updateVariable2Body.zod';
1314
1318
  export * from './updateVariable2Params.zod';
1315
1319
  export * from './updateVariableBody.zod';
@@ -1641,7 +1645,10 @@ export * from './webitelImApiProviderV1ProviderUpdateMetaAppResponse.zod';
1641
1645
  export * from './webitelImApiProviderV1ProviderUpdateWhatsAppGateResponse.zod';
1642
1646
  export * from './webitelImApiProviderV1ProviderWhatsAppGate.zod';
1643
1647
  export * from './webitelImApiProviderV1WhatsAppServiceUpdateWhatsAppGateBody.zod';
1648
+ export * from './webitelImProviderV1CreateGateRequest.zod';
1649
+ export * from './webitelImProviderV1CreateWABAGateRequest.zod';
1644
1650
  export * from './webitelImProviderV1FacebookServiceUpdateFacebookGateBody.zod';
1651
+ export * from './webitelImProviderV1GateResponse.zod';
1645
1652
  export * from './webitelImProviderV1MetaAppServiceUpdateMetaAppBody.zod';
1646
1653
  export * from './webitelImProviderV1MetaOAuthServiceMetaOAuthCallbackBody.zod';
1647
1654
  export * from './webitelImProviderV1MetaOAuthServiceStartMetaOAuthBody.zod';
@@ -1650,8 +1657,6 @@ export * from './webitelImProviderV1ProviderCreateFacebookGateRequest.zod';
1650
1657
  export * from './webitelImProviderV1ProviderCreateFacebookGateResponse.zod';
1651
1658
  export * from './webitelImProviderV1ProviderCreateMetaAppRequest.zod';
1652
1659
  export * from './webitelImProviderV1ProviderCreateMetaAppResponse.zod';
1653
- export * from './webitelImProviderV1ProviderCreateWhatsAppGateRequest.zod';
1654
- export * from './webitelImProviderV1ProviderCreateWhatsAppGateResponse.zod';
1655
1660
  export * from './webitelImProviderV1ProviderDeleteFacebookGateResponse.zod';
1656
1661
  export * from './webitelImProviderV1ProviderDeleteMetaAppResponse.zod';
1657
1662
  export * from './webitelImProviderV1ProviderDeleteWhatsAppGateResponse.zod';
@@ -1677,6 +1682,7 @@ export * from './webitelImProviderV1ProviderUpdateFacebookGateResponse.zod';
1677
1682
  export * from './webitelImProviderV1ProviderUpdateMetaAppResponse.zod';
1678
1683
  export * from './webitelImProviderV1ProviderUpdateWhatsAppGateResponse.zod';
1679
1684
  export * from './webitelImProviderV1ProviderWhatsAppGate.zod';
1685
+ export * from './webitelImProviderV1WhatsAppBusinessAccount.zod';
1680
1686
  export * from './webitelImProviderV1WhatsAppServiceUpdateWhatsAppGateBody.zod';
1681
1687
  export * from './webitelKnowledgebaseAttachment.zod';
1682
1688
  export * from './webitelKnowledgebaseLookup.zod';
@@ -0,0 +1,48 @@
1
+ /**
2
+ * Generated by orval v8.5.3 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ export type MessageHistorySearchLeftThreadsMessagesHistoryParams = {
8
+ /**
9
+ * List of message fields to be returned.
10
+ Used to reduce payload size.
11
+ */
12
+ fields?: string[];
13
+ /**
14
+ * Filter messages by sender user IDs.
15
+ */
16
+ senderIds?: string[];
17
+ /**
18
+ * Filter messages by message types.
19
+ */
20
+ types?: number[];
21
+ /**
22
+ * Inclusive lower bound on the dialog interval (Unix time, milliseconds).
23
+ Zero means unbounded.
24
+ */
25
+ periodFrom?: string;
26
+ /**
27
+ * Inclusive upper bound on the dialog interval (Unix time, milliseconds).
28
+ Zero means unbounded.
29
+ */
30
+ periodTo?: string;
31
+ /**
32
+ * Cursor identifier.
33
+ Must be a valid UUID referencing an existing message.
34
+ Defines the starting point for pagination.
35
+ */
36
+ cursorId?: string;
37
+ /**
38
+ * Pagination direction flag.
39
+
40
+ true -> fetch newer messages (back before history)
41
+ false -> fetch older messages (back to older history)
42
+ */
43
+ cursorBefore?: boolean;
44
+ /**
45
+ * Maximum number of messages to return.
46
+ */
47
+ size?: number;
48
+ };
@@ -0,0 +1,48 @@
1
+ /**
2
+ * Generated by orval v8.5.3 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ export type MessageHistorySearchLeftThreadsMessagesHistoryParams = {
8
+ /**
9
+ * List of message fields to be returned.
10
+ Used to reduce payload size.
11
+ */
12
+ fields?: string[];
13
+ /**
14
+ * Filter messages by sender user IDs.
15
+ */
16
+ senderIds?: string[];
17
+ /**
18
+ * Filter messages by message types.
19
+ */
20
+ types?: number[];
21
+ /**
22
+ * Inclusive lower bound on the dialog interval (Unix time, milliseconds).
23
+ Zero means unbounded.
24
+ */
25
+ periodFrom?: string;
26
+ /**
27
+ * Inclusive upper bound on the dialog interval (Unix time, milliseconds).
28
+ Zero means unbounded.
29
+ */
30
+ periodTo?: string;
31
+ /**
32
+ * Cursor identifier.
33
+ Must be a valid UUID referencing an existing message.
34
+ Defines the starting point for pagination.
35
+ */
36
+ cursorId?: string;
37
+ /**
38
+ * Pagination direction flag.
39
+
40
+ true -> fetch newer messages (back before history)
41
+ false -> fetch older messages (back to older history)
42
+ */
43
+ cursorBefore?: boolean;
44
+ /**
45
+ * Maximum number of messages to return.
46
+ */
47
+ size?: number;
48
+ };
@@ -41,4 +41,6 @@ export declare const SearchSystemSettingNameItem: {
41
41
  readonly PasswordWarningDays: "password_warning_days";
42
42
  readonly DefaultPassword: "default_password";
43
43
  readonly ExpandContactTabs: "expand_contact_tabs";
44
+ readonly DefaultWorkspaceTab: "default_workspace_tab";
45
+ readonly BlockAllMemberNumbersFromList: "block_all_member_numbers_from_list";
44
46
  };
@@ -41,4 +41,6 @@ export declare const SearchSystemSettingNameItem: {
41
41
  readonly PasswordWarningDays: "password_warning_days";
42
42
  readonly DefaultPassword: "default_password";
43
43
  readonly ExpandContactTabs: "expand_contact_tabs";
44
+ readonly DefaultWorkspaceTab: "default_workspace_tab";
45
+ readonly BlockAllMemberNumbersFromList: "block_all_member_numbers_from_list";
44
46
  };
@@ -18,6 +18,11 @@ export type SignupParams = {
18
18
  */
19
19
  password?: string;
20
20
  /**
21
+ * OPTIONAL. SIP (phone) number i.e. extension.
22
+ SIP Device will be auto-assigned ONLY if [number] specified.
23
+ */
24
+ extension?: string;
25
+ /**
21
26
  * scope request control
22
27
  */
23
28
  scope?: string[];
@@ -18,6 +18,11 @@ export type SignupParams = {
18
18
  */
19
19
  password?: string;
20
20
  /**
21
+ * OPTIONAL. SIP (phone) number i.e. extension.
22
+ SIP Device will be auto-assigned ONLY if [number] specified.
23
+ */
24
+ extension?: string;
25
+ /**
21
26
  * scope request control
22
27
  */
23
28
  scope?: string[];
@@ -4,8 +4,11 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
+ /**
8
+ * InputPriority message for creating a new priority
9
+ */
7
10
  export interface WebitelCasesInputPriority {
8
- color?: string;
11
+ color: string;
9
12
  description?: string;
10
- name?: string;
13
+ name: string;
11
14
  }
@@ -4,8 +4,11 @@
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
+ /**
8
+ * InputPriority message for creating a new priority
9
+ */
7
10
  export interface WebitelCasesInputPriority {
8
- color?: string;
11
+ color: string;
9
12
  description?: string;
10
- name?: string;
13
+ name: string;
11
14
  }
@@ -5,13 +5,16 @@
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
7
  import type { GeneralLookup } from './generalLookup';
8
+ /**
9
+ * Priority message represents a priority entity with metadata.
10
+ */
8
11
  export interface WebitelCasesPriority {
9
- color?: string;
10
- createdAt?: string;
11
- createdBy?: GeneralLookup;
12
+ color: string;
13
+ createdAt: string;
14
+ createdBy: GeneralLookup;
12
15
  description?: string;
13
- id?: string;
14
- name?: string;
15
- updatedAt?: string;
16
- updatedBy?: GeneralLookup;
16
+ id: string;
17
+ name: string;
18
+ updatedAt: string;
19
+ updatedBy: GeneralLookup;
17
20
  }
@@ -5,13 +5,16 @@
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
7
  import type { GeneralLookup } from './generalLookup';
8
+ /**
9
+ * Priority message represents a priority entity with metadata.
10
+ */
8
11
  export interface WebitelCasesPriority {
9
- color?: string;
10
- createdAt?: string;
11
- createdBy?: GeneralLookup;
12
+ color: string;
13
+ createdAt: string;
14
+ createdBy: GeneralLookup;
12
15
  description?: string;
13
- id?: string;
14
- name?: string;
15
- updatedAt?: string;
16
- updatedBy?: GeneralLookup;
16
+ id: string;
17
+ name: string;
18
+ updatedAt: string;
19
+ updatedBy: GeneralLookup;
17
20
  }
@@ -5,6 +5,7 @@
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
7
  import type { WebitelImApiGatewayV1Peer } from './webitelImApiGatewayV1Peer';
8
+ import type { WebitelImApiGatewayV1PeerIdentity } from './webitelImApiGatewayV1PeerIdentity';
8
9
  import type { WebitelImApiGatewayV1SendContactRequestMetadata } from './webitelImApiGatewayV1SendContactRequestMetadata';
9
10
  /**
10
11
  * SendContactRequest sends contact information.
@@ -18,6 +19,7 @@ export interface WebitelImApiGatewayV1SendContactRequest {
18
19
  name?: string;
19
20
  /** Phone number in E.164 format recommended. */
20
21
  phoneNumber?: string;
22
+ sendAs?: WebitelImApiGatewayV1PeerIdentity;
21
23
  /** Optional send ID for idempotency. */
22
24
  sendId?: string;
23
25
  /** Recipient of the message. */
@@ -5,6 +5,7 @@
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
7
  import type { WebitelImApiGatewayV1Peer } from './webitelImApiGatewayV1Peer';
8
+ import type { WebitelImApiGatewayV1PeerIdentity } from './webitelImApiGatewayV1PeerIdentity';
8
9
  import type { WebitelImApiGatewayV1SendContactRequestMetadata } from './webitelImApiGatewayV1SendContactRequestMetadata';
9
10
  /**
10
11
  * SendContactRequest sends contact information.
@@ -18,6 +19,7 @@ export interface WebitelImApiGatewayV1SendContactRequest {
18
19
  name?: string;
19
20
  /** Phone number in E.164 format recommended. */
20
21
  phoneNumber?: string;
22
+ sendAs?: WebitelImApiGatewayV1PeerIdentity;
21
23
  /** Optional send ID for idempotency. */
22
24
  sendId?: string;
23
25
  /** Recipient of the message. */
@@ -6,12 +6,14 @@
6
6
  */
7
7
  import type { WebitelImApiGatewayV1DocumentInput } from './webitelImApiGatewayV1DocumentInput';
8
8
  import type { WebitelImApiGatewayV1Peer } from './webitelImApiGatewayV1Peer';
9
+ import type { WebitelImApiGatewayV1PeerIdentity } from './webitelImApiGatewayV1PeerIdentity';
9
10
  /**
10
11
  * Represents a request to send a message with document.
11
12
  */
12
13
  export interface WebitelImApiGatewayV1SendDocumentRequest {
13
14
  body?: string;
14
15
  documents?: WebitelImApiGatewayV1DocumentInput[];
16
+ sendAs?: WebitelImApiGatewayV1PeerIdentity;
15
17
  sendId?: string;
16
18
  to?: WebitelImApiGatewayV1Peer;
17
19
  }
@@ -6,12 +6,14 @@
6
6
  */
7
7
  import type { WebitelImApiGatewayV1DocumentInput } from './webitelImApiGatewayV1DocumentInput';
8
8
  import type { WebitelImApiGatewayV1Peer } from './webitelImApiGatewayV1Peer';
9
+ import type { WebitelImApiGatewayV1PeerIdentity } from './webitelImApiGatewayV1PeerIdentity';
9
10
  /**
10
11
  * Represents a request to send a message with document.
11
12
  */
12
13
  export interface WebitelImApiGatewayV1SendDocumentRequest {
13
14
  body?: string;
14
15
  documents?: WebitelImApiGatewayV1DocumentInput[];
16
+ sendAs?: WebitelImApiGatewayV1PeerIdentity;
15
17
  sendId?: string;
16
18
  to?: WebitelImApiGatewayV1Peer;
17
19
  }
@@ -6,12 +6,14 @@
6
6
  */
7
7
  import type { WebitelImApiGatewayV1ImageInput } from './webitelImApiGatewayV1ImageInput';
8
8
  import type { WebitelImApiGatewayV1Peer } from './webitelImApiGatewayV1Peer';
9
+ import type { WebitelImApiGatewayV1PeerIdentity } from './webitelImApiGatewayV1PeerIdentity';
9
10
  /**
10
11
  * Represents a request to send an message with image.
11
12
  */
12
13
  export interface WebitelImApiGatewayV1SendImageRequest {
13
14
  body?: string;
14
15
  images?: WebitelImApiGatewayV1ImageInput[];
16
+ sendAs?: WebitelImApiGatewayV1PeerIdentity;
15
17
  sendId?: string;
16
18
  to?: WebitelImApiGatewayV1Peer;
17
19
  }
@@ -6,12 +6,14 @@
6
6
  */
7
7
  import type { WebitelImApiGatewayV1ImageInput } from './webitelImApiGatewayV1ImageInput';
8
8
  import type { WebitelImApiGatewayV1Peer } from './webitelImApiGatewayV1Peer';
9
+ import type { WebitelImApiGatewayV1PeerIdentity } from './webitelImApiGatewayV1PeerIdentity';
9
10
  /**
10
11
  * Represents a request to send an message with image.
11
12
  */
12
13
  export interface WebitelImApiGatewayV1SendImageRequest {
13
14
  body?: string;
14
15
  images?: WebitelImApiGatewayV1ImageInput[];
16
+ sendAs?: WebitelImApiGatewayV1PeerIdentity;
15
17
  sendId?: string;
16
18
  to?: WebitelImApiGatewayV1Peer;
17
19
  }
@@ -6,6 +6,7 @@
6
6
  */
7
7
  import type { WebitelImApiGatewayV1Interactive } from './webitelImApiGatewayV1Interactive';
8
8
  import type { WebitelImApiGatewayV1Peer } from './webitelImApiGatewayV1Peer';
9
+ import type { WebitelImApiGatewayV1PeerIdentity } from './webitelImApiGatewayV1PeerIdentity';
9
10
  import type { WebitelImApiGatewayV1SendInteractiveMessageRequestMetadata } from './webitelImApiGatewayV1SendInteractiveMessageRequestMetadata';
10
11
  /**
11
12
  * SendInteractiveMessageRequest sends a structured interactive message.
@@ -17,6 +18,7 @@ export interface WebitelImApiGatewayV1SendInteractiveMessageRequest {
17
18
  interactive?: WebitelImApiGatewayV1Interactive;
18
19
  /** Arbitrary metadata. */
19
20
  metadata?: WebitelImApiGatewayV1SendInteractiveMessageRequestMetadata;
21
+ sendAs?: WebitelImApiGatewayV1PeerIdentity;
20
22
  /** Optional idempotency key for deduplication. */
21
23
  sendId?: string;
22
24
  /** Recipient of the message. */
@@ -6,6 +6,7 @@
6
6
  */
7
7
  import type { WebitelImApiGatewayV1Interactive } from './webitelImApiGatewayV1Interactive';
8
8
  import type { WebitelImApiGatewayV1Peer } from './webitelImApiGatewayV1Peer';
9
+ import type { WebitelImApiGatewayV1PeerIdentity } from './webitelImApiGatewayV1PeerIdentity';
9
10
  import type { WebitelImApiGatewayV1SendInteractiveMessageRequestMetadata } from './webitelImApiGatewayV1SendInteractiveMessageRequestMetadata';
10
11
  /**
11
12
  * SendInteractiveMessageRequest sends a structured interactive message.
@@ -17,6 +18,7 @@ export interface WebitelImApiGatewayV1SendInteractiveMessageRequest {
17
18
  interactive?: WebitelImApiGatewayV1Interactive;
18
19
  /** Arbitrary metadata. */
19
20
  metadata?: WebitelImApiGatewayV1SendInteractiveMessageRequestMetadata;
21
+ sendAs?: WebitelImApiGatewayV1PeerIdentity;
20
22
  /** Optional idempotency key for deduplication. */
21
23
  sendId?: string;
22
24
  /** Recipient of the message. */
@@ -5,6 +5,7 @@
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
7
  import type { WebitelImApiGatewayV1Peer } from './webitelImApiGatewayV1Peer';
8
+ import type { WebitelImApiGatewayV1PeerIdentity } from './webitelImApiGatewayV1PeerIdentity';
8
9
  import type { WebitelImApiGatewayV1SendLocationRequestMetadata } from './webitelImApiGatewayV1SendLocationRequestMetadata';
9
10
  /**
10
11
  * SendLocationRequest sends a geographic location message.
@@ -20,6 +21,7 @@ export interface WebitelImApiGatewayV1SendLocationRequest {
20
21
  metadata?: WebitelImApiGatewayV1SendLocationRequestMetadata;
21
22
  /** Optional location name (e.g., "Central Park"). */
22
23
  name?: string;
24
+ sendAs?: WebitelImApiGatewayV1PeerIdentity;
23
25
  /** Optional send ID for idempotency. */
24
26
  sendId?: string;
25
27
  /** Recipient of the message. */
@@ -5,6 +5,7 @@
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
7
  import type { WebitelImApiGatewayV1Peer } from './webitelImApiGatewayV1Peer';
8
+ import type { WebitelImApiGatewayV1PeerIdentity } from './webitelImApiGatewayV1PeerIdentity';
8
9
  import type { WebitelImApiGatewayV1SendLocationRequestMetadata } from './webitelImApiGatewayV1SendLocationRequestMetadata';
9
10
  /**
10
11
  * SendLocationRequest sends a geographic location message.
@@ -20,6 +21,7 @@ export interface WebitelImApiGatewayV1SendLocationRequest {
20
21
  metadata?: WebitelImApiGatewayV1SendLocationRequestMetadata;
21
22
  /** Optional location name (e.g., "Central Park"). */
22
23
  name?: string;
24
+ sendAs?: WebitelImApiGatewayV1PeerIdentity;
23
25
  /** Optional send ID for idempotency. */
24
26
  sendId?: string;
25
27
  /** Recipient of the message. */