@webitel/api-services 26.12.3 → 26.12.4

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 (185) hide show
  1. package/package.json +1 -1
  2. package/src/api/clients/outboundResourceGroups/outboundResourceGroups.ts +14 -12
  3. package/src/gen/_models/addUserAccessTokenBody.ts +2 -0
  4. package/src/gen/_models/addUserAccessTokenParams.ts +3 -4
  5. package/src/gen/_models/apiTokenExpiryWarning.ts +13 -0
  6. package/src/gen/_models/apiUserAccessToken.ts +2 -0
  7. package/src/gen/_models/apiUserWarningId.ts +2 -0
  8. package/src/gen/_models/apiWarningData.ts +2 -0
  9. package/src/gen/_models/engineSearchHistoryCallRequest.ts +1 -0
  10. package/src/gen/_models/engineSystemSettingName.ts +0 -1
  11. package/src/gen/_models/gateServiceListGatesParams.ts +7 -0
  12. package/src/gen/_models/gateServiceListGatesTypesItem.ts +1 -0
  13. package/src/gen/_models/googleProtobufAny.ts +117 -0
  14. package/src/gen/_models/googleProtobufNullValue.ts +3 -8
  15. package/src/gen/_models/googleRpcStatus.ts +23 -0
  16. package/src/gen/_models/index.ts +7 -4
  17. package/src/gen/_models/protobufNullValue.ts +3 -8
  18. package/src/gen/_models/searchHistoryCallParams.ts +1 -0
  19. package/src/gen/_models/searchSystemSettingNameItem.ts +0 -1
  20. package/src/gen/_models/threadManagementGetCountersParams.ts +21 -0
  21. package/src/gen/_models/threadManagementGetCountersTypesItem.ts +16 -0
  22. package/src/gen/_models/updateUserAccessToken2Body.ts +2 -0
  23. package/src/gen/_models/updateUserAccessTokenBody.ts +2 -0
  24. package/src/gen/_models/updateUserAccessTokenUpdateBody.ts +2 -0
  25. package/src/gen/_models/webitelImApiGatewayV1Contact.ts +2 -0
  26. package/src/gen/_models/webitelImApiGatewayV1GetCountersResponse.ts +19 -0
  27. package/src/gen/_models/webitelImApiGatewayV1Thread.ts +7 -0
  28. package/src/gen/_models/webitelImApiGatewayV1ThreadChannel.ts +27 -0
  29. package/src/gen/_models/webitelImApiGatewayV1ThreadChannelType.ts +22 -0
  30. package/src/gen/_models/webitelImApiGatewayV1ThreadCounters.ts +16 -0
  31. package/src/gen/_models/webitelImApiProviderV1ProviderType.ts +4 -0
  32. package/src/gen/_models/webitelImProviderV1ProviderSummary.ts +6 -0
  33. package/src/gen/_models/webitelImProviderV1ProviderType.ts +3 -0
  34. package/src/gen-wire/_models/addUserAccessTokenBody.ts +2 -0
  35. package/src/gen-wire/_models/addUserAccessTokenParams.ts +3 -4
  36. package/src/gen-wire/_models/apiTokenExpiryWarning.ts +13 -0
  37. package/src/gen-wire/_models/apiUserAccessToken.ts +2 -0
  38. package/src/gen-wire/_models/apiUserWarningId.ts +2 -0
  39. package/src/gen-wire/_models/apiWarningData.ts +2 -0
  40. package/src/gen-wire/_models/engineSearchHistoryCallRequest.ts +1 -0
  41. package/src/gen-wire/_models/engineSystemSettingName.ts +0 -1
  42. package/src/gen-wire/_models/gateServiceListGatesParams.ts +7 -0
  43. package/src/gen-wire/_models/gateServiceListGatesTypesItem.ts +1 -0
  44. package/src/gen-wire/_models/googleProtobufAny.ts +117 -0
  45. package/src/gen-wire/_models/googleProtobufNullValue.ts +3 -8
  46. package/src/gen-wire/_models/googleRpcStatus.ts +23 -0
  47. package/src/gen-wire/_models/index.ts +7 -4
  48. package/src/gen-wire/_models/protobufNullValue.ts +3 -8
  49. package/src/gen-wire/_models/searchHistoryCallParams.ts +1 -0
  50. package/src/gen-wire/_models/searchSystemSettingNameItem.ts +0 -1
  51. package/src/gen-wire/_models/threadManagementGetCountersParams.ts +21 -0
  52. package/src/gen-wire/_models/threadManagementGetCountersTypesItem.ts +16 -0
  53. package/src/gen-wire/_models/updateUserAccessToken2Body.ts +2 -0
  54. package/src/gen-wire/_models/updateUserAccessTokenBody.ts +2 -0
  55. package/src/gen-wire/_models/updateUserAccessTokenUpdateBody.ts +2 -0
  56. package/src/gen-wire/_models/webitelImApiGatewayV1Contact.ts +2 -0
  57. package/src/gen-wire/_models/webitelImApiGatewayV1GetCountersResponse.ts +19 -0
  58. package/src/gen-wire/_models/webitelImApiGatewayV1Thread.ts +7 -0
  59. package/src/gen-wire/_models/webitelImApiGatewayV1ThreadChannel.ts +27 -0
  60. package/src/gen-wire/_models/webitelImApiGatewayV1ThreadChannelType.ts +22 -0
  61. package/src/gen-wire/_models/webitelImApiGatewayV1ThreadCounters.ts +16 -0
  62. package/src/gen-wire/_models/webitelImApiProviderV1ProviderType.ts +4 -0
  63. package/src/gen-wire/_models/webitelImProviderV1ProviderSummary.ts +6 -0
  64. package/src/gen-wire/_models/webitelImProviderV1ProviderType.ts +3 -0
  65. package/src/gen-wire/call-service/call-service.zod.ts +2 -0
  66. package/src/gen-wire/cases/cases.zod.ts +32 -7
  67. package/src/gen-wire/customer/customer.zod.ts +32 -7
  68. package/src/gen-wire/customers/customers.ts +0 -8
  69. package/src/gen-wire/customers/customers.zod.ts +0 -4
  70. package/src/gen-wire/index.ts +6 -7
  71. package/src/gen-wire/index.zod.ts +0 -1
  72. package/src/gen-wire/list-service/list-service.zod.ts +32 -7
  73. package/src/gen-wire/member-service/member-service.zod.ts +32 -7
  74. package/src/gen-wire/messages/messages.zod.ts +32 -7
  75. package/src/gen-wire/pdf-service/pdf-service.zod.ts +128 -28
  76. package/src/gen-wire/system-setting-service/system-setting-service.zod.ts +0 -8
  77. package/src/gen-wire/user-access-tokens/user-access-tokens.zod.ts +85 -5
  78. package/src/gen-wire/users/users.zod.ts +10 -0
  79. package/src/gen-wire/webitel-im-api-gateway-v1-contacts/webitel-im-api-gateway-v1-contacts.zod.ts +6 -0
  80. package/src/gen-wire/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.zod.ts +96 -0
  81. package/src/gen-wire/webitel-im-api-gateway-v1-threadmanagement/webitel-im-api-gateway-v1-threadmanagement.ts +21 -0
  82. package/src/gen-wire/webitel-im-api-gateway-v1-threadmanagement/webitel-im-api-gateway-v1-threadmanagement.zod.ts +449 -0
  83. package/src/gen-wire/webitel-im-api-gateway-v1-threadpreviewservice/webitel-im-api-gateway-v1-threadpreviewservice.zod.ts +18 -0
  84. package/src/gen-wire/webitel-im-api-gateway-v1-updates/webitel-im-api-gateway-v1-updates.zod.ts +150 -0
  85. package/src/gen-wire/webitel-im-provider-v1-gateservice/webitel-im-provider-v1-gateservice.zod.ts +18 -2
  86. package/src/gen-wire/webitel-im-provider-v1-providermessageservice/webitel-im-provider-v1-providermessageservice.zod.ts +14 -7
  87. package/types/.tsbuildinfo +1 -1
  88. package/types/gen/_models/addUserAccessTokenBody.d.ts +2 -0
  89. package/types/gen/_models/addUserAccessTokenParams.d.ts +3 -4
  90. package/types/gen/_models/apiTokenExpiryWarning.d.ts +12 -0
  91. package/types/gen/_models/apiUserAccessToken.d.ts +2 -0
  92. package/types/gen/_models/apiUserWarningId.d.ts +2 -0
  93. package/types/gen/_models/apiWarningData.d.ts +2 -0
  94. package/types/gen/_models/engineSearchHistoryCallRequest.d.ts +1 -0
  95. package/types/gen/_models/engineSystemSettingName.d.ts +0 -1
  96. package/types/gen/_models/gateServiceListGatesParams.d.ts +7 -0
  97. package/types/gen/_models/gateServiceListGatesTypesItem.d.ts +1 -0
  98. package/types/gen/_models/googleProtobufAny.d.ts +117 -0
  99. package/types/gen/_models/googleProtobufNullValue.d.ts +3 -8
  100. package/types/gen/_models/googleRpcStatus.d.ts +23 -0
  101. package/types/gen/_models/index.d.ts +7 -4
  102. package/types/gen/_models/protobufNullValue.d.ts +3 -8
  103. package/types/gen/_models/searchHistoryCallParams.d.ts +1 -0
  104. package/types/gen/_models/searchSystemSettingNameItem.d.ts +0 -1
  105. package/types/gen/_models/threadManagementGetCountersParams.d.ts +20 -0
  106. package/types/gen/_models/threadManagementGetCountersTypesItem.d.ts +13 -0
  107. package/types/gen/_models/updateUserAccessToken2Body.d.ts +2 -0
  108. package/types/gen/_models/updateUserAccessTokenBody.d.ts +2 -0
  109. package/types/gen/_models/updateUserAccessTokenUpdateBody.d.ts +2 -0
  110. package/types/gen/_models/webitelImApiGatewayV1Contact.d.ts +2 -0
  111. package/types/gen/_models/webitelImApiGatewayV1GetCountersResponse.d.ts +18 -0
  112. package/types/gen/_models/webitelImApiGatewayV1Thread.d.ts +7 -0
  113. package/types/gen/_models/webitelImApiGatewayV1ThreadChannel.d.ts +26 -0
  114. package/types/gen/_models/webitelImApiGatewayV1ThreadChannelType.d.ts +19 -0
  115. package/types/gen/_models/webitelImApiGatewayV1ThreadCounters.d.ts +15 -0
  116. package/types/gen/_models/webitelImApiProviderV1ProviderType.d.ts +4 -0
  117. package/types/gen/_models/webitelImProviderV1ProviderSummary.d.ts +6 -0
  118. package/types/gen/_models/webitelImProviderV1ProviderType.d.ts +3 -0
  119. package/types/gen-wire/_models/addUserAccessTokenBody.d.ts +2 -0
  120. package/types/gen-wire/_models/addUserAccessTokenParams.d.ts +3 -4
  121. package/types/gen-wire/_models/apiTokenExpiryWarning.d.ts +12 -0
  122. package/types/gen-wire/_models/apiUserAccessToken.d.ts +2 -0
  123. package/types/gen-wire/_models/apiUserWarningId.d.ts +2 -0
  124. package/types/gen-wire/_models/apiWarningData.d.ts +2 -0
  125. package/types/gen-wire/_models/engineSearchHistoryCallRequest.d.ts +1 -0
  126. package/types/gen-wire/_models/engineSystemSettingName.d.ts +0 -1
  127. package/types/gen-wire/_models/gateServiceListGatesParams.d.ts +7 -0
  128. package/types/gen-wire/_models/gateServiceListGatesTypesItem.d.ts +1 -0
  129. package/types/gen-wire/_models/googleProtobufAny.d.ts +117 -0
  130. package/types/gen-wire/_models/googleProtobufNullValue.d.ts +3 -8
  131. package/types/gen-wire/_models/googleRpcStatus.d.ts +23 -0
  132. package/types/gen-wire/_models/index.d.ts +7 -4
  133. package/types/gen-wire/_models/protobufNullValue.d.ts +3 -8
  134. package/types/gen-wire/_models/searchHistoryCallParams.d.ts +1 -0
  135. package/types/gen-wire/_models/searchSystemSettingNameItem.d.ts +0 -1
  136. package/types/gen-wire/_models/threadManagementGetCountersParams.d.ts +20 -0
  137. package/types/gen-wire/_models/threadManagementGetCountersTypesItem.d.ts +13 -0
  138. package/types/gen-wire/_models/updateUserAccessToken2Body.d.ts +2 -0
  139. package/types/gen-wire/_models/updateUserAccessTokenBody.d.ts +2 -0
  140. package/types/gen-wire/_models/updateUserAccessTokenUpdateBody.d.ts +2 -0
  141. package/types/gen-wire/_models/webitelImApiGatewayV1Contact.d.ts +2 -0
  142. package/types/gen-wire/_models/webitelImApiGatewayV1GetCountersResponse.d.ts +18 -0
  143. package/types/gen-wire/_models/webitelImApiGatewayV1Thread.d.ts +7 -0
  144. package/types/gen-wire/_models/webitelImApiGatewayV1ThreadChannel.d.ts +26 -0
  145. package/types/gen-wire/_models/webitelImApiGatewayV1ThreadChannelType.d.ts +19 -0
  146. package/types/gen-wire/_models/webitelImApiGatewayV1ThreadCounters.d.ts +15 -0
  147. package/types/gen-wire/_models/webitelImApiProviderV1ProviderType.d.ts +4 -0
  148. package/types/gen-wire/_models/webitelImProviderV1ProviderSummary.d.ts +6 -0
  149. package/types/gen-wire/_models/webitelImProviderV1ProviderType.d.ts +3 -0
  150. package/types/gen-wire/call-service/call-service.zod.d.ts +2 -0
  151. package/types/gen-wire/customers/customers.d.ts +1 -3
  152. package/types/gen-wire/customers/customers.zod.d.ts +0 -3
  153. package/types/gen-wire/index.d.ts +2 -4
  154. package/types/gen-wire/index.zod.d.ts +0 -1
  155. package/types/gen-wire/system-setting-service/system-setting-service.zod.d.ts +0 -8
  156. package/types/gen-wire/user-access-tokens/user-access-tokens.zod.d.ts +46 -0
  157. package/types/gen-wire/users/users.zod.d.ts +8 -0
  158. package/types/gen-wire/webitel-im-api-gateway-v1-contacts/webitel-im-api-gateway-v1-contacts.zod.d.ts +1 -0
  159. package/types/gen-wire/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.zod.d.ts +16 -0
  160. package/types/gen-wire/webitel-im-api-gateway-v1-threadmanagement/webitel-im-api-gateway-v1-threadmanagement.d.ts +3 -1
  161. package/types/gen-wire/webitel-im-api-gateway-v1-threadmanagement/webitel-im-api-gateway-v1-threadmanagement.zod.d.ts +124 -0
  162. package/types/gen-wire/webitel-im-api-gateway-v1-threadpreviewservice/webitel-im-api-gateway-v1-threadpreviewservice.zod.d.ts +3 -0
  163. package/types/gen-wire/webitel-im-api-gateway-v1-updates/webitel-im-api-gateway-v1-updates.zod.d.ts +33 -0
  164. package/types/gen-wire/webitel-im-provider-v1-gateservice/webitel-im-provider-v1-gateservice.zod.d.ts +4 -0
  165. package/types/gen-wire/webitel-im-provider-v1-providermessageservice/webitel-im-provider-v1-providermessageservice.zod.d.ts +7 -0
  166. package/src/gen/_models/apiServerInfoResponse.ts +0 -10
  167. package/src/gen/_models/engineSchemaVersion.ts +0 -17
  168. package/src/gen/_models/engineSearchSchemaVersionResponse.ts +0 -12
  169. package/src/gen/_models/searchSchemaVersionParams.ts +0 -14
  170. package/src/gen-wire/_models/apiServerInfoResponse.ts +0 -10
  171. package/src/gen-wire/_models/engineSchemaVersion.ts +0 -16
  172. package/src/gen-wire/_models/engineSearchSchemaVersionResponse.ts +0 -12
  173. package/src/gen-wire/_models/searchSchemaVersionParams.ts +0 -14
  174. package/src/gen-wire/schema-version-service/schema-version-service.ts +0 -46
  175. package/src/gen-wire/schema-version-service/schema-version-service.zod.ts +0 -40
  176. package/types/gen/_models/apiServerInfoResponse.d.ts +0 -9
  177. package/types/gen/_models/engineSchemaVersion.d.ts +0 -16
  178. package/types/gen/_models/engineSearchSchemaVersionResponse.d.ts +0 -11
  179. package/types/gen/_models/searchSchemaVersionParams.d.ts +0 -13
  180. package/types/gen-wire/_models/apiServerInfoResponse.d.ts +0 -9
  181. package/types/gen-wire/_models/engineSchemaVersion.d.ts +0 -15
  182. package/types/gen-wire/_models/engineSearchSchemaVersionResponse.d.ts +0 -11
  183. package/types/gen-wire/_models/searchSchemaVersionParams.d.ts +0 -13
  184. package/types/gen-wire/schema-version-service/schema-version-service.d.ts +0 -13
  185. package/types/gen-wire/schema-version-service/schema-version-service.zod.d.ts +0 -31
@@ -22,6 +22,7 @@ export declare const GateServiceListGatesQueryParams: zod.ZodObject<{
22
22
  PROVIDER_TYPE_INSTAGRAM: "PROVIDER_TYPE_INSTAGRAM";
23
23
  PROVIDER_TYPE_WHATSAPP: "PROVIDER_TYPE_WHATSAPP";
24
24
  PROVIDER_TYPE_CUSTOM: "PROVIDER_TYPE_CUSTOM";
25
+ PROVIDER_TYPE_VIBER_BM: "PROVIDER_TYPE_VIBER_BM";
25
26
  }>>>;
26
27
  status: zod.ZodDefault<zod.ZodEnum<{
27
28
  PROVIDER_STATUS_UNSPECIFIED: "PROVIDER_STATUS_UNSPECIFIED";
@@ -30,11 +31,13 @@ export declare const GateServiceListGatesQueryParams: zod.ZodObject<{
30
31
  PROVIDER_STATUS_ERROR: "PROVIDER_STATUS_ERROR";
31
32
  }>>;
32
33
  q: zod.ZodOptional<zod.ZodString>;
34
+ domain_id: zod.ZodOptional<zod.ZodString>;
33
35
  }, zod.z.core.$strip>;
34
36
  export declare const gateServiceListGatesResponseItemsItemStatusDefault = "PROVIDER_STATUS_UNSPECIFIED";
35
37
  export declare const gateServiceListGatesResponseItemsItemTypeDefault = "PROVIDER_TYPE_UNSPECIFIED";
36
38
  export declare const GateServiceListGatesResponse: zod.ZodObject<{
37
39
  items: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
40
+ address: zod.ZodOptional<zod.ZodString>;
38
41
  capabilities: zod.ZodOptional<zod.ZodObject<{
39
42
  delivered: zod.ZodOptional<zod.ZodBoolean>;
40
43
  failed: zod.ZodOptional<zod.ZodBoolean>;
@@ -62,6 +65,7 @@ export declare const GateServiceListGatesResponse: zod.ZodObject<{
62
65
  PROVIDER_TYPE_INSTAGRAM: "PROVIDER_TYPE_INSTAGRAM";
63
66
  PROVIDER_TYPE_WHATSAPP: "PROVIDER_TYPE_WHATSAPP";
64
67
  PROVIDER_TYPE_CUSTOM: "PROVIDER_TYPE_CUSTOM";
68
+ PROVIDER_TYPE_VIBER_BM: "PROVIDER_TYPE_VIBER_BM";
65
69
  }>>;
66
70
  updated_at: zod.ZodOptional<zod.ZodString>;
67
71
  webhook_url: zod.ZodOptional<zod.ZodString>;
@@ -28,6 +28,7 @@ export declare const ProviderMessageServiceSendContactBody: zod.ZodObject<{
28
28
  PROVIDER_TYPE_INSTAGRAM: "PROVIDER_TYPE_INSTAGRAM";
29
29
  PROVIDER_TYPE_WHATSAPP: "PROVIDER_TYPE_WHATSAPP";
30
30
  PROVIDER_TYPE_CUSTOM: "PROVIDER_TYPE_CUSTOM";
31
+ PROVIDER_TYPE_VIBER_BM: "PROVIDER_TYPE_VIBER_BM";
31
32
  }>>;
32
33
  }, zod.z.core.$strip>;
33
34
  export declare const ProviderMessageServiceSendContactResponse: zod.ZodObject<{
@@ -70,6 +71,7 @@ export declare const ProviderMessageServiceSendDocumentBody: zod.ZodObject<{
70
71
  PROVIDER_TYPE_INSTAGRAM: "PROVIDER_TYPE_INSTAGRAM";
71
72
  PROVIDER_TYPE_WHATSAPP: "PROVIDER_TYPE_WHATSAPP";
72
73
  PROVIDER_TYPE_CUSTOM: "PROVIDER_TYPE_CUSTOM";
74
+ PROVIDER_TYPE_VIBER_BM: "PROVIDER_TYPE_VIBER_BM";
73
75
  }>>;
74
76
  }, zod.z.core.$strip>;
75
77
  export declare const ProviderMessageServiceSendDocumentResponse: zod.ZodObject<{
@@ -106,6 +108,7 @@ export declare const ProviderMessageServiceSendImageBody: zod.ZodObject<{
106
108
  PROVIDER_TYPE_INSTAGRAM: "PROVIDER_TYPE_INSTAGRAM";
107
109
  PROVIDER_TYPE_WHATSAPP: "PROVIDER_TYPE_WHATSAPP";
108
110
  PROVIDER_TYPE_CUSTOM: "PROVIDER_TYPE_CUSTOM";
111
+ PROVIDER_TYPE_VIBER_BM: "PROVIDER_TYPE_VIBER_BM";
109
112
  }>>;
110
113
  }, zod.z.core.$strip>;
111
114
  export declare const ProviderMessageServiceSendImageResponse: zod.ZodObject<{
@@ -206,6 +209,7 @@ export declare const ProviderMessageServiceSendLocationBody: zod.ZodObject<{
206
209
  PROVIDER_TYPE_INSTAGRAM: "PROVIDER_TYPE_INSTAGRAM";
207
210
  PROVIDER_TYPE_WHATSAPP: "PROVIDER_TYPE_WHATSAPP";
208
211
  PROVIDER_TYPE_CUSTOM: "PROVIDER_TYPE_CUSTOM";
212
+ PROVIDER_TYPE_VIBER_BM: "PROVIDER_TYPE_VIBER_BM";
209
213
  }>>;
210
214
  }, zod.z.core.$strip>;
211
215
  export declare const ProviderMessageServiceSendLocationResponse: zod.ZodObject<{
@@ -238,6 +242,7 @@ export declare const ProviderMessageServiceSendReactionBody: zod.ZodObject<{
238
242
  PROVIDER_TYPE_INSTAGRAM: "PROVIDER_TYPE_INSTAGRAM";
239
243
  PROVIDER_TYPE_WHATSAPP: "PROVIDER_TYPE_WHATSAPP";
240
244
  PROVIDER_TYPE_CUSTOM: "PROVIDER_TYPE_CUSTOM";
245
+ PROVIDER_TYPE_VIBER_BM: "PROVIDER_TYPE_VIBER_BM";
241
246
  }>>;
242
247
  }, zod.z.core.$strip>;
243
248
  export declare const ProviderMessageServiceSendReactionResponse: zod.ZodObject<{}, zod.z.core.$loose>;
@@ -289,6 +294,7 @@ export declare const ProviderMessageServiceSendTextBody: zod.ZodObject<{
289
294
  PROVIDER_TYPE_INSTAGRAM: "PROVIDER_TYPE_INSTAGRAM";
290
295
  PROVIDER_TYPE_WHATSAPP: "PROVIDER_TYPE_WHATSAPP";
291
296
  PROVIDER_TYPE_CUSTOM: "PROVIDER_TYPE_CUSTOM";
297
+ PROVIDER_TYPE_VIBER_BM: "PROVIDER_TYPE_VIBER_BM";
292
298
  }>>;
293
299
  }, zod.z.core.$strip>;
294
300
  export declare const ProviderMessageServiceSendTextResponse: zod.ZodObject<{
@@ -317,6 +323,7 @@ export declare const ProviderMessageServiceSendTypingBody: zod.ZodObject<{
317
323
  PROVIDER_TYPE_INSTAGRAM: "PROVIDER_TYPE_INSTAGRAM";
318
324
  PROVIDER_TYPE_WHATSAPP: "PROVIDER_TYPE_WHATSAPP";
319
325
  PROVIDER_TYPE_CUSTOM: "PROVIDER_TYPE_CUSTOM";
326
+ PROVIDER_TYPE_VIBER_BM: "PROVIDER_TYPE_VIBER_BM";
320
327
  }>>;
321
328
  typing_on: zod.ZodOptional<zod.ZodBoolean>;
322
329
  }, zod.z.core.$strip>;
@@ -1,10 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Webitel API
5
- * OpenAPI spec version: 24.04.0
6
- */
7
-
8
- export interface ApiServerInfoResponse {
9
- key?: string;
10
- }
@@ -1,17 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Webitel API
5
- * OpenAPI spec version: 24.04.0
6
- */
7
- import type { EngineLookup } from './engineLookup';
8
-
9
- export interface EngineSchemaVersion {
10
- createdAt?: string;
11
- createdBy?: EngineLookup;
12
- id?: string;
13
- note?: string;
14
- schema?: unknown;
15
- schemaId?: string;
16
- version?: string;
17
- }
@@ -1,12 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Webitel API
5
- * OpenAPI spec version: 24.04.0
6
- */
7
- import type { EngineSchemaVersion } from './engineSchemaVersion';
8
-
9
- export interface EngineSearchSchemaVersionResponse {
10
- items?: EngineSchemaVersion[];
11
- next?: boolean;
12
- }
@@ -1,14 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Webitel API
5
- * OpenAPI spec version: 24.04.0
6
- */
7
-
8
- export type SearchSchemaVersionParams = {
9
- page?: number;
10
- size?: number;
11
- q?: string;
12
- sort?: string;
13
- fields?: string[];
14
- };
@@ -1,10 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Webitel API
5
- * OpenAPI spec version: 24.04.0
6
- */
7
-
8
- export interface ApiServerInfoResponse {
9
- key?: string;
10
- }
@@ -1,16 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Webitel API
5
- * OpenAPI spec version: 24.04.0
6
- */
7
- import type { EngineLookup } from './engineLookup';
8
-
9
- export interface EngineSchemaVersion {
10
- created_at?: string;
11
- created_by?: EngineLookup;
12
- id?: string;
13
- note?: string;
14
- schema_id?: string;
15
- version?: string;
16
- }
@@ -1,12 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Webitel API
5
- * OpenAPI spec version: 24.04.0
6
- */
7
- import type { EngineSchemaVersion } from './engineSchemaVersion';
8
-
9
- export interface EngineSearchSchemaVersionResponse {
10
- items?: EngineSchemaVersion[];
11
- next?: boolean;
12
- }
@@ -1,14 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Webitel API
5
- * OpenAPI spec version: 24.04.0
6
- */
7
-
8
- export type SearchSchemaVersionParams = {
9
- page?: number;
10
- size?: number;
11
- q?: string;
12
- sort?: string;
13
- fields?: string[];
14
- };
@@ -1,46 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Webitel API
5
- * OpenAPI spec version: 24.04.0
6
- */
7
- import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
-
9
- import axios from '../../api/axios/genClient';
10
-
11
- import type {
12
- EngineSearchSchemaVersionResponse,
13
- SearchSchemaVersionParams,
14
- } from '../_models';
15
-
16
- // --- header start
17
- //
18
-
19
- export const // --- title start
20
- getSchemaVersionService =
21
- // --- title end
22
- (axiosInstance: AxiosInstance = axios) => {
23
- // --- header end
24
- const searchSchemaVersion = (
25
- schemaId: string,
26
- params?: SearchSchemaVersionParams,
27
- options?: AxiosRequestConfig,
28
- ): Promise<AxiosResponse<EngineSearchSchemaVersionResponse>> => {
29
- return axiosInstance.get(`/routing/schema/${schemaId}/versions`, {
30
- ...options,
31
- params: {
32
- ...params,
33
- ...options?.params,
34
- },
35
- });
36
- };
37
-
38
- // --- footer start
39
- return {
40
- searchSchemaVersion,
41
- };
42
- };
43
- export type SearchSchemaVersionResult =
44
- AxiosResponse<EngineSearchSchemaVersionResponse>;
45
-
46
- // --- footer end
@@ -1,40 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Webitel API
5
- * OpenAPI spec version: 24.04.0
6
- */
7
- import * as zod from 'zod';
8
-
9
- export const SearchSchemaVersionParams = zod.object({
10
- schema_id: zod.string(),
11
- });
12
-
13
- export const SearchSchemaVersionQueryParams = zod.object({
14
- page: zod.int().optional(),
15
- size: zod.int().optional(),
16
- q: zod.string().optional(),
17
- sort: zod.string().optional(),
18
- fields: zod.array(zod.string()).optional(),
19
- });
20
-
21
- export const SearchSchemaVersionResponse = zod.object({
22
- items: zod
23
- .array(
24
- zod.object({
25
- created_at: zod.string().optional(),
26
- created_by: zod
27
- .object({
28
- id: zod.string().optional(),
29
- name: zod.string().optional(),
30
- })
31
- .optional(),
32
- id: zod.string().optional(),
33
- note: zod.string().optional(),
34
- schema_id: zod.string().optional(),
35
- version: zod.string().optional(),
36
- }),
37
- )
38
- .optional(),
39
- next: zod.boolean().optional(),
40
- });
@@ -1,9 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Webitel API
5
- * OpenAPI spec version: 24.04.0
6
- */
7
- export interface ApiServerInfoResponse {
8
- key?: string;
9
- }
@@ -1,16 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Webitel API
5
- * OpenAPI spec version: 24.04.0
6
- */
7
- import type { EngineLookup } from './engineLookup';
8
- export interface EngineSchemaVersion {
9
- createdAt?: string;
10
- createdBy?: EngineLookup;
11
- id?: string;
12
- note?: string;
13
- schema?: unknown;
14
- schemaId?: string;
15
- version?: string;
16
- }
@@ -1,11 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Webitel API
5
- * OpenAPI spec version: 24.04.0
6
- */
7
- import type { EngineSchemaVersion } from './engineSchemaVersion';
8
- export interface EngineSearchSchemaVersionResponse {
9
- items?: EngineSchemaVersion[];
10
- next?: boolean;
11
- }
@@ -1,13 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Webitel API
5
- * OpenAPI spec version: 24.04.0
6
- */
7
- export type SearchSchemaVersionParams = {
8
- page?: number;
9
- size?: number;
10
- q?: string;
11
- sort?: string;
12
- fields?: string[];
13
- };
@@ -1,9 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Webitel API
5
- * OpenAPI spec version: 24.04.0
6
- */
7
- export interface ApiServerInfoResponse {
8
- key?: string;
9
- }
@@ -1,15 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Webitel API
5
- * OpenAPI spec version: 24.04.0
6
- */
7
- import type { EngineLookup } from './engineLookup';
8
- export interface EngineSchemaVersion {
9
- created_at?: string;
10
- created_by?: EngineLookup;
11
- id?: string;
12
- note?: string;
13
- schema_id?: string;
14
- version?: string;
15
- }
@@ -1,11 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Webitel API
5
- * OpenAPI spec version: 24.04.0
6
- */
7
- import type { EngineSchemaVersion } from './engineSchemaVersion';
8
- export interface EngineSearchSchemaVersionResponse {
9
- items?: EngineSchemaVersion[];
10
- next?: boolean;
11
- }
@@ -1,13 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Webitel API
5
- * OpenAPI spec version: 24.04.0
6
- */
7
- export type SearchSchemaVersionParams = {
8
- page?: number;
9
- size?: number;
10
- q?: string;
11
- sort?: string;
12
- fields?: string[];
13
- };
@@ -1,13 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Webitel API
5
- * OpenAPI spec version: 24.04.0
6
- */
7
- import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
8
- import type { EngineSearchSchemaVersionResponse, SearchSchemaVersionParams } from '../_models';
9
- export declare const // --- title start
10
- getSchemaVersionService: (axiosInstance?: AxiosInstance) => {
11
- searchSchemaVersion: (schemaId: string, params?: SearchSchemaVersionParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<EngineSearchSchemaVersionResponse>>;
12
- };
13
- export type SearchSchemaVersionResult = AxiosResponse<EngineSearchSchemaVersionResponse>;
@@ -1,31 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Webitel API
5
- * OpenAPI spec version: 24.04.0
6
- */
7
- import * as zod from 'zod';
8
- export declare const SearchSchemaVersionParams: zod.ZodObject<{
9
- schema_id: zod.ZodString;
10
- }, zod.z.core.$strip>;
11
- export declare const SearchSchemaVersionQueryParams: zod.ZodObject<{
12
- page: zod.ZodOptional<zod.ZodInt>;
13
- size: zod.ZodOptional<zod.ZodInt>;
14
- q: zod.ZodOptional<zod.ZodString>;
15
- sort: zod.ZodOptional<zod.ZodString>;
16
- fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
17
- }, zod.z.core.$strip>;
18
- export declare const SearchSchemaVersionResponse: zod.ZodObject<{
19
- items: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
20
- created_at: zod.ZodOptional<zod.ZodString>;
21
- created_by: zod.ZodOptional<zod.ZodObject<{
22
- id: zod.ZodOptional<zod.ZodString>;
23
- name: zod.ZodOptional<zod.ZodString>;
24
- }, zod.z.core.$strip>>;
25
- id: zod.ZodOptional<zod.ZodString>;
26
- note: zod.ZodOptional<zod.ZodString>;
27
- schema_id: zod.ZodOptional<zod.ZodString>;
28
- version: zod.ZodOptional<zod.ZodString>;
29
- }, zod.z.core.$strip>>>;
30
- next: zod.ZodOptional<zod.ZodBoolean>;
31
- }, zod.z.core.$strip>;