@webitel/api-services 0.1.41 → 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.
- package/package.json +2 -2
- package/src/gen/_models/apiGeneratePasswordRequest.ts +12 -0
- package/src/gen/_models/apiGeneratePasswordRequest.zod.ts +12 -0
- package/src/gen/_models/{updateUser2BodyProfile.ts → apiGeneratePasswordResponse.ts} +3 -3
- package/src/gen/_models/{updateUser2BodyProfile.zod.ts → apiGeneratePasswordResponse.zod.ts} +3 -3
- package/src/gen/_models/{updateUserBody.ts → apiInputUser.ts} +9 -15
- package/src/gen/_models/{updateUserBody.zod.ts → apiInputUser.zod.ts} +9 -15
- package/src/gen/_models/apiInputUserBody.ts +12 -0
- package/src/gen/_models/apiInputUserBody.zod.ts +12 -0
- package/src/gen/_models/apiInputUserDevice.ts +13 -0
- package/src/gen/_models/apiInputUserDevice.zod.ts +13 -0
- package/src/gen/_models/{updateUserBodyProfile.ts → apiInputUserProfile.ts} +1 -1
- package/src/gen/_models/{updateUserBodyProfile.zod.ts → apiInputUserProfile.zod.ts} +1 -1
- package/src/gen/_models/apiUser.ts +7 -7
- package/src/gen/_models/apiUser.zod.ts +7 -7
- package/src/gen/_models/apiUserinfo.ts +1 -0
- package/src/gen/_models/apiUserinfo.zod.ts +1 -0
- package/src/gen/_models/contactsCreateContactError.ts +20 -0
- package/src/gen/_models/contactsCreateContactError.zod.ts +20 -0
- package/src/gen/_models/contactsCreateContactsBulkResponse.ts +20 -0
- package/src/gen/_models/contactsCreateContactsBulkResponse.zod.ts +20 -0
- package/src/gen/_models/createContactsParams.ts +13 -0
- package/src/gen/_models/createContactsParams.zod.ts +13 -0
- package/src/gen/_models/createUserParams.ts +31 -0
- package/src/gen/_models/createUserParams.zod.ts +31 -0
- package/src/gen/_models/engineSystemSettingName.ts +2 -0
- package/src/gen/_models/engineSystemSettingName.zod.ts +2 -0
- package/src/gen/_models/index.ts +15 -9
- package/src/gen/_models/index.zod.ts +15 -9
- package/src/gen/_models/messageHistorySearchLeftThreadsMessagesHistoryParams.ts +49 -0
- package/src/gen/_models/messageHistorySearchLeftThreadsMessagesHistoryParams.zod.ts +49 -0
- package/src/gen/_models/searchSystemSettingNameItem.ts +2 -0
- package/src/gen/_models/searchSystemSettingNameItem.zod.ts +2 -0
- package/src/gen/_models/signupParams.ts +5 -0
- package/src/gen/_models/signupParams.zod.ts +5 -0
- package/src/gen/_models/webitelCasesInputPriority.ts +5 -2
- package/src/gen/_models/webitelCasesInputPriority.zod.ts +5 -2
- package/src/gen/_models/webitelCasesPriority.ts +10 -7
- package/src/gen/_models/webitelCasesPriority.zod.ts +10 -7
- package/src/gen/_models/webitelImApiGatewayV1SendContactRequest.ts +2 -0
- package/src/gen/_models/webitelImApiGatewayV1SendContactRequest.zod.ts +2 -0
- package/src/gen/_models/webitelImApiGatewayV1SendDocumentRequest.ts +2 -0
- package/src/gen/_models/webitelImApiGatewayV1SendDocumentRequest.zod.ts +2 -0
- package/src/gen/_models/webitelImApiGatewayV1SendImageRequest.ts +2 -0
- package/src/gen/_models/webitelImApiGatewayV1SendImageRequest.zod.ts +2 -0
- package/src/gen/_models/webitelImApiGatewayV1SendInteractiveMessageRequest.ts +2 -0
- package/src/gen/_models/webitelImApiGatewayV1SendInteractiveMessageRequest.zod.ts +2 -0
- package/src/gen/_models/webitelImApiGatewayV1SendLocationRequest.ts +2 -0
- package/src/gen/_models/webitelImApiGatewayV1SendLocationRequest.zod.ts +2 -0
- package/src/gen/_models/webitelImApiGatewayV1SendTextRequest.ts +2 -0
- package/src/gen/_models/webitelImApiGatewayV1SendTextRequest.zod.ts +2 -0
- package/src/gen/_models/webitelImProviderV1CreateGateRequest.ts +17 -0
- package/src/gen/_models/webitelImProviderV1CreateGateRequest.zod.ts +17 -0
- package/src/gen/_models/webitelImProviderV1CreateWABAGateRequest.ts +14 -0
- package/src/gen/_models/webitelImProviderV1CreateWABAGateRequest.zod.ts +14 -0
- package/src/gen/_models/webitelImProviderV1GateResponse.ts +21 -0
- package/src/gen/_models/webitelImProviderV1GateResponse.zod.ts +21 -0
- package/src/gen/_models/webitelImProviderV1ProviderSendDocumentRequest.ts +1 -0
- package/src/gen/_models/webitelImProviderV1ProviderSendDocumentRequest.zod.ts +1 -0
- package/src/gen/_models/webitelImProviderV1ProviderSendImageRequest.ts +1 -0
- package/src/gen/_models/webitelImProviderV1ProviderSendImageRequest.zod.ts +1 -0
- package/src/gen/_models/webitelImProviderV1ProviderSendTextRequest.ts +1 -0
- package/src/gen/_models/webitelImProviderV1ProviderSendTextRequest.zod.ts +1 -0
- package/src/gen/_models/webitelImProviderV1WhatsAppBusinessAccount.ts +16 -0
- package/src/gen/_models/webitelImProviderV1WhatsAppBusinessAccount.zod.ts +16 -0
- package/src/gen/auth/auth.msw.ts +18 -0
- package/src/gen/auth/auth.zod.ts +8 -0
- package/src/gen/cases/cases.msw.ts +1093 -1387
- package/src/gen/cases/cases.zod.ts +210 -245
- package/src/gen/catalogs/catalogs.msw.ts +836 -1088
- package/src/gen/catalogs/catalogs.zod.ts +198 -216
- package/src/gen/contacts/contacts.msw.ts +2900 -1
- package/src/gen/contacts/contacts.ts +21 -0
- package/src/gen/contacts/contacts.zod.ts +2083 -0
- package/src/gen/priorities/priorities.msw.ts +408 -534
- package/src/gen/priorities/priorities.zod.ts +108 -113
- package/src/gen/services/services.msw.ts +613 -802
- package/src/gen/services/services.zod.ts +96 -108
- package/src/gen/system-setting-service/system-setting-service.zod.ts +16 -0
- package/src/gen/users/users.msw.ts +434 -397
- package/src/gen/users/users.ts +46 -57
- package/src/gen/users/users.zod.ts +443 -459
- package/src/gen/webitel-im-api-gateway-v1-message/webitel-im-api-gateway-v1-message.zod.ts +42 -0
- package/src/gen/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.msw.ts +931 -0
- package/src/gen/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.ts +27 -0
- package/src/gen/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.zod.ts +576 -0
- package/src/gen/webitel-im-provider-v1-providermessageservice/webitel-im-provider-v1-providermessageservice.zod.ts +3 -0
- package/src/gen/webitel-im-provider-v1-whatsappservice/webitel-im-provider-v1-whatsappservice.msw.ts +94 -19
- package/src/gen/webitel-im-provider-v1-whatsappservice/webitel-im-provider-v1-whatsappservice.ts +6 -8
- package/src/gen/webitel-im-provider-v1-whatsappservice/webitel-im-provider-v1-whatsappservice.zod.ts +64 -42
- package/types/gen/_models/apiGeneratePasswordRequest.d.ts +11 -0
- package/types/gen/_models/apiGeneratePasswordRequest.zod.d.ts +11 -0
- package/types/gen/_models/apiGeneratePasswordResponse.d.ts +9 -0
- package/types/gen/_models/apiGeneratePasswordResponse.zod.d.ts +9 -0
- package/types/gen/_models/{updateUserBody.d.ts → apiInputUser.d.ts} +9 -15
- package/types/gen/_models/{updateUserBody.zod.d.ts → apiInputUser.zod.d.ts} +9 -15
- package/types/gen/_models/apiInputUserBody.d.ts +11 -0
- package/types/gen/_models/apiInputUserBody.zod.d.ts +11 -0
- package/types/gen/_models/apiInputUserDevice.d.ts +12 -0
- package/types/gen/_models/apiInputUserDevice.zod.d.ts +12 -0
- package/types/gen/_models/{updateUserBodyProfile.d.ts → apiInputUserProfile.d.ts} +1 -1
- package/types/gen/_models/{updateUserBodyProfile.zod.d.ts → apiInputUserProfile.zod.d.ts} +1 -1
- package/types/gen/_models/apiUser.d.ts +7 -7
- package/types/gen/_models/apiUser.zod.d.ts +7 -7
- package/types/gen/_models/apiUserinfo.d.ts +1 -0
- package/types/gen/_models/apiUserinfo.zod.d.ts +1 -0
- package/types/gen/_models/contactsCreateContactError.d.ts +19 -0
- package/types/gen/_models/contactsCreateContactError.zod.d.ts +19 -0
- package/types/gen/_models/contactsCreateContactsBulkResponse.d.ts +19 -0
- package/types/gen/_models/contactsCreateContactsBulkResponse.zod.d.ts +19 -0
- package/types/gen/_models/createContactsParams.d.ts +12 -0
- package/types/gen/_models/createContactsParams.zod.d.ts +12 -0
- package/types/gen/_models/createUserParams.d.ts +30 -0
- package/types/gen/_models/createUserParams.zod.d.ts +30 -0
- package/types/gen/_models/engineSystemSettingName.d.ts +2 -0
- package/types/gen/_models/engineSystemSettingName.zod.d.ts +2 -0
- package/types/gen/_models/index.zod.d.ts +15 -9
- package/types/gen/_models/messageHistorySearchLeftThreadsMessagesHistoryParams.d.ts +48 -0
- package/types/gen/_models/messageHistorySearchLeftThreadsMessagesHistoryParams.zod.d.ts +48 -0
- package/types/gen/_models/searchSystemSettingNameItem.d.ts +2 -0
- package/types/gen/_models/searchSystemSettingNameItem.zod.d.ts +2 -0
- package/types/gen/_models/signupParams.d.ts +5 -0
- package/types/gen/_models/signupParams.zod.d.ts +5 -0
- package/types/gen/_models/webitelCasesInputPriority.d.ts +5 -2
- package/types/gen/_models/webitelCasesInputPriority.zod.d.ts +5 -2
- package/types/gen/_models/webitelCasesPriority.d.ts +10 -7
- package/types/gen/_models/webitelCasesPriority.zod.d.ts +10 -7
- package/types/gen/_models/webitelImApiGatewayV1SendContactRequest.d.ts +2 -0
- package/types/gen/_models/webitelImApiGatewayV1SendContactRequest.zod.d.ts +2 -0
- package/types/gen/_models/webitelImApiGatewayV1SendDocumentRequest.d.ts +2 -0
- package/types/gen/_models/webitelImApiGatewayV1SendDocumentRequest.zod.d.ts +2 -0
- package/types/gen/_models/webitelImApiGatewayV1SendImageRequest.d.ts +2 -0
- package/types/gen/_models/webitelImApiGatewayV1SendImageRequest.zod.d.ts +2 -0
- package/types/gen/_models/webitelImApiGatewayV1SendInteractiveMessageRequest.d.ts +2 -0
- package/types/gen/_models/webitelImApiGatewayV1SendInteractiveMessageRequest.zod.d.ts +2 -0
- package/types/gen/_models/webitelImApiGatewayV1SendLocationRequest.d.ts +2 -0
- package/types/gen/_models/webitelImApiGatewayV1SendLocationRequest.zod.d.ts +2 -0
- package/types/gen/_models/webitelImApiGatewayV1SendTextRequest.d.ts +2 -0
- package/types/gen/_models/webitelImApiGatewayV1SendTextRequest.zod.d.ts +2 -0
- package/types/gen/_models/webitelImProviderV1CreateGateRequest.d.ts +16 -0
- package/types/gen/_models/webitelImProviderV1CreateGateRequest.zod.d.ts +16 -0
- package/types/gen/_models/webitelImProviderV1CreateWABAGateRequest.d.ts +13 -0
- package/types/gen/_models/webitelImProviderV1CreateWABAGateRequest.zod.d.ts +13 -0
- package/types/gen/_models/webitelImProviderV1GateResponse.d.ts +20 -0
- package/types/gen/_models/webitelImProviderV1GateResponse.zod.d.ts +20 -0
- package/types/gen/_models/webitelImProviderV1ProviderSendDocumentRequest.d.ts +1 -0
- package/types/gen/_models/webitelImProviderV1ProviderSendDocumentRequest.zod.d.ts +1 -0
- package/types/gen/_models/webitelImProviderV1ProviderSendImageRequest.d.ts +1 -0
- package/types/gen/_models/webitelImProviderV1ProviderSendImageRequest.zod.d.ts +1 -0
- package/types/gen/_models/webitelImProviderV1ProviderSendTextRequest.d.ts +1 -0
- package/types/gen/_models/webitelImProviderV1ProviderSendTextRequest.zod.d.ts +1 -0
- package/types/gen/_models/webitelImProviderV1WhatsAppBusinessAccount.d.ts +15 -0
- package/types/gen/_models/webitelImProviderV1WhatsAppBusinessAccount.zod.d.ts +15 -0
- package/types/gen/auth/auth.zod.d.ts +3 -0
- package/types/gen/cases/cases.zod.d.ts +126 -126
- package/types/gen/catalogs/catalogs.zod.d.ts +108 -108
- package/types/gen/contacts/contacts.d.ts +3 -1
- package/types/gen/contacts/contacts.msw.d.ts +3 -1
- package/types/gen/contacts/contacts.zod.d.ts +665 -0
- package/types/gen/priorities/priorities.zod.d.ts +60 -60
- package/types/gen/services/services.zod.d.ts +54 -54
- package/types/gen/system-setting-service/system-setting-service.zod.d.ts +16 -0
- package/types/gen/users/users.d.ts +8 -25
- package/types/gen/users/users.msw.d.ts +7 -5
- package/types/gen/users/users.zod.d.ts +136 -139
- package/types/gen/webitel-im-api-gateway-v1-message/webitel-im-api-gateway-v1-message.zod.d.ts +30 -0
- package/types/gen/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.d.ts +3 -1
- package/types/gen/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.msw.d.ts +2 -0
- package/types/gen/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.zod.d.ts +167 -0
- package/types/gen/webitel-im-provider-v1-providermessageservice/webitel-im-provider-v1-providermessageservice.zod.d.ts +3 -0
- package/types/gen/webitel-im-provider-v1-whatsappservice/webitel-im-provider-v1-whatsappservice.d.ts +3 -3
- package/types/gen/webitel-im-provider-v1-whatsappservice/webitel-im-provider-v1-whatsappservice.msw.d.ts +3 -3
- package/types/gen/webitel-im-provider-v1-whatsappservice/webitel-im-provider-v1-whatsappservice.zod.d.ts +40 -17
- package/src/gen/_models/apiCreateUserRequest.ts +0 -13
- package/src/gen/_models/apiCreateUserRequest.zod.ts +0 -13
- package/src/gen/_models/updateUser2Body.ts +0 -45
- package/src/gen/_models/updateUser2Body.zod.ts +0 -45
- package/src/gen/_models/updateUserUserBody.ts +0 -45
- package/src/gen/_models/updateUserUserBody.zod.ts +0 -45
- package/src/gen/_models/updateUserUserBodyProfile.ts +0 -10
- package/src/gen/_models/updateUserUserBodyProfile.zod.ts +0 -10
- package/src/gen/_models/webitelImProviderV1ProviderCreateWhatsAppGateRequest.ts +0 -17
- package/src/gen/_models/webitelImProviderV1ProviderCreateWhatsAppGateRequest.zod.ts +0 -17
- package/src/gen/_models/webitelImProviderV1ProviderCreateWhatsAppGateResponse.ts +0 -14
- package/src/gen/_models/webitelImProviderV1ProviderCreateWhatsAppGateResponse.zod.ts +0 -14
- package/types/gen/_models/apiCreateUserRequest.d.ts +0 -12
- package/types/gen/_models/apiCreateUserRequest.zod.d.ts +0 -12
- package/types/gen/_models/updateUser2Body.d.ts +0 -44
- package/types/gen/_models/updateUser2Body.zod.d.ts +0 -44
- package/types/gen/_models/updateUser2BodyProfile.d.ts +0 -9
- package/types/gen/_models/updateUser2BodyProfile.zod.d.ts +0 -9
- package/types/gen/_models/updateUserUserBody.d.ts +0 -44
- package/types/gen/_models/updateUserUserBody.zod.d.ts +0 -44
- package/types/gen/_models/updateUserUserBodyProfile.d.ts +0 -9
- package/types/gen/_models/updateUserUserBodyProfile.zod.d.ts +0 -9
- package/types/gen/_models/webitelImProviderV1ProviderCreateWhatsAppGateRequest.d.ts +0 -16
- package/types/gen/_models/webitelImProviderV1ProviderCreateWhatsAppGateRequest.zod.d.ts +0 -16
- package/types/gen/_models/webitelImProviderV1ProviderCreateWhatsAppGateResponse.d.ts +0 -13
- package/types/gen/_models/webitelImProviderV1ProviderCreateWhatsAppGateResponse.zod.d.ts +0 -13
|
@@ -34,7 +34,6 @@ export * from './apiCreateDomainRequest.zod';
|
|
|
34
34
|
export * from './apiCreateDomainResponse.zod';
|
|
35
35
|
export * from './apiCreateRoleRequest.zod';
|
|
36
36
|
export * from './apiCreateRoleResponse.zod';
|
|
37
|
-
export * from './apiCreateUserRequest.zod';
|
|
38
37
|
export * from './apiCreateUserResponse.zod';
|
|
39
38
|
export * from './apiCustomer.zod';
|
|
40
39
|
export * from './apiCustomerLimit.zod';
|
|
@@ -50,6 +49,8 @@ export * from './apiDeviceAudit.zod';
|
|
|
50
49
|
export * from './apiDeviceAuditResponse.zod';
|
|
51
50
|
export * from './apiDeviceId.zod';
|
|
52
51
|
export * from './apiDeviceProvision.zod';
|
|
52
|
+
export * from './apiGeneratePasswordRequest.zod';
|
|
53
|
+
export * from './apiGeneratePasswordResponse.zod';
|
|
53
54
|
export * from './apiGenerateUserTfaKeyResponse.zod';
|
|
54
55
|
export * from './apiGetCustomerResponse.zod';
|
|
55
56
|
export * from './apiGetPasswordSettingsResponse.zod';
|
|
@@ -57,6 +58,10 @@ export * from './apiGetPasswordSettingsResponseSettings.zod';
|
|
|
57
58
|
export * from './apiGetUserTfaKeyResponse.zod';
|
|
58
59
|
export * from './apiGetUserWarningsResponse.zod';
|
|
59
60
|
export * from './apiGrantAccessRequestV1.zod';
|
|
61
|
+
export * from './apiInputUser.zod';
|
|
62
|
+
export * from './apiInputUserBody.zod';
|
|
63
|
+
export * from './apiInputUserDevice.zod';
|
|
64
|
+
export * from './apiInputUserProfile.zod';
|
|
60
65
|
export * from './apiLDAPCatalog.zod';
|
|
61
66
|
export * from './apiLDAPCatalogTLSConfig.zod';
|
|
62
67
|
export * from './apiLDAPControl.zod';
|
|
@@ -177,6 +182,8 @@ export * from './contactsConditionList.zod';
|
|
|
177
182
|
export * from './contactsContactGroup.zod';
|
|
178
183
|
export * from './contactsContactGroupList.zod';
|
|
179
184
|
export * from './contactsContactList.zod';
|
|
185
|
+
export * from './contactsCreateContactError.zod';
|
|
186
|
+
export * from './contactsCreateContactsBulkResponse.zod';
|
|
180
187
|
export * from './contactsCreateDynamicGroupRequest.zod';
|
|
181
188
|
export * from './contactsCreateGroupRequest.zod';
|
|
182
189
|
export * from './contactsDayTimeline.zod';
|
|
@@ -248,6 +255,7 @@ export * from './createCatalogParams.zod';
|
|
|
248
255
|
export * from './createCloseReasonGroupParams.zod';
|
|
249
256
|
export * from './createCloseReasonParams.zod';
|
|
250
257
|
export * from './createContactParams.zod';
|
|
258
|
+
export * from './createContactsParams.zod';
|
|
251
259
|
export * from './createData200.zod';
|
|
252
260
|
export * from './createDataBody.zod';
|
|
253
261
|
export * from './createDataRecordBody.zod';
|
|
@@ -263,6 +271,7 @@ export * from './createSourceParams.zod';
|
|
|
263
271
|
export * from './createSpaceParams.zod';
|
|
264
272
|
export * from './createStatusConditionParams.zod';
|
|
265
273
|
export * from './createStatusParams.zod';
|
|
274
|
+
export * from './createUserParams.zod';
|
|
266
275
|
export * from './dataDataset.zod';
|
|
267
276
|
export * from './dataDatasetDataItem.zod';
|
|
268
277
|
export * from './dataField.zod';
|
|
@@ -902,6 +911,7 @@ export * from './mergeManagersParams.zod';
|
|
|
902
911
|
export * from './mergePhonesParams.zod';
|
|
903
912
|
export * from './mergeTimezonesParams.zod';
|
|
904
913
|
export * from './mergeVariablesParams.zod';
|
|
914
|
+
export * from './messageHistorySearchLeftThreadsMessagesHistoryParams.zod';
|
|
905
915
|
export * from './messageHistorySearchThreadMessagesHistoryParams.zod';
|
|
906
916
|
export * from './messageReadParams.zod';
|
|
907
917
|
export * from './oAuth2FederationDeleteOAuthServiceBody.zod';
|
|
@@ -1295,8 +1305,6 @@ export * from './updateTimezoneBody.zod';
|
|
|
1295
1305
|
export * from './updateTimezoneInputBody.zod';
|
|
1296
1306
|
export * from './updateTimezoneParams.zod';
|
|
1297
1307
|
export * from './updateTypeParams.zod';
|
|
1298
|
-
export * from './updateUser2Body.zod';
|
|
1299
|
-
export * from './updateUser2BodyProfile.zod';
|
|
1300
1308
|
export * from './updateUser2Params.zod';
|
|
1301
1309
|
export * from './updateUserAccessToken2Body.zod';
|
|
1302
1310
|
export * from './updateUserAccessToken2BodyUser.zod';
|
|
@@ -1306,11 +1314,7 @@ export * from './updateUserAccessTokenBodyUser.zod';
|
|
|
1306
1314
|
export * from './updateUserAccessTokenParams.zod';
|
|
1307
1315
|
export * from './updateUserAccessTokenUpdateBody.zod';
|
|
1308
1316
|
export * from './updateUserAccessTokenUpdateBodyUser.zod';
|
|
1309
|
-
export * from './updateUserBody.zod';
|
|
1310
|
-
export * from './updateUserBodyProfile.zod';
|
|
1311
1317
|
export * from './updateUserParams.zod';
|
|
1312
|
-
export * from './updateUserUserBody.zod';
|
|
1313
|
-
export * from './updateUserUserBodyProfile.zod';
|
|
1314
1318
|
export * from './updateVariable2Body.zod';
|
|
1315
1319
|
export * from './updateVariable2Params.zod';
|
|
1316
1320
|
export * from './updateVariableBody.zod';
|
|
@@ -1642,7 +1646,10 @@ export * from './webitelImApiProviderV1ProviderUpdateMetaAppResponse.zod';
|
|
|
1642
1646
|
export * from './webitelImApiProviderV1ProviderUpdateWhatsAppGateResponse.zod';
|
|
1643
1647
|
export * from './webitelImApiProviderV1ProviderWhatsAppGate.zod';
|
|
1644
1648
|
export * from './webitelImApiProviderV1WhatsAppServiceUpdateWhatsAppGateBody.zod';
|
|
1649
|
+
export * from './webitelImProviderV1CreateGateRequest.zod';
|
|
1650
|
+
export * from './webitelImProviderV1CreateWABAGateRequest.zod';
|
|
1645
1651
|
export * from './webitelImProviderV1FacebookServiceUpdateFacebookGateBody.zod';
|
|
1652
|
+
export * from './webitelImProviderV1GateResponse.zod';
|
|
1646
1653
|
export * from './webitelImProviderV1MetaAppServiceUpdateMetaAppBody.zod';
|
|
1647
1654
|
export * from './webitelImProviderV1MetaOAuthServiceMetaOAuthCallbackBody.zod';
|
|
1648
1655
|
export * from './webitelImProviderV1MetaOAuthServiceStartMetaOAuthBody.zod';
|
|
@@ -1651,8 +1658,6 @@ export * from './webitelImProviderV1ProviderCreateFacebookGateRequest.zod';
|
|
|
1651
1658
|
export * from './webitelImProviderV1ProviderCreateFacebookGateResponse.zod';
|
|
1652
1659
|
export * from './webitelImProviderV1ProviderCreateMetaAppRequest.zod';
|
|
1653
1660
|
export * from './webitelImProviderV1ProviderCreateMetaAppResponse.zod';
|
|
1654
|
-
export * from './webitelImProviderV1ProviderCreateWhatsAppGateRequest.zod';
|
|
1655
|
-
export * from './webitelImProviderV1ProviderCreateWhatsAppGateResponse.zod';
|
|
1656
1661
|
export * from './webitelImProviderV1ProviderDeleteFacebookGateResponse.zod';
|
|
1657
1662
|
export * from './webitelImProviderV1ProviderDeleteMetaAppResponse.zod';
|
|
1658
1663
|
export * from './webitelImProviderV1ProviderDeleteWhatsAppGateResponse.zod';
|
|
@@ -1678,6 +1683,7 @@ export * from './webitelImProviderV1ProviderUpdateFacebookGateResponse.zod';
|
|
|
1678
1683
|
export * from './webitelImProviderV1ProviderUpdateMetaAppResponse.zod';
|
|
1679
1684
|
export * from './webitelImProviderV1ProviderUpdateWhatsAppGateResponse.zod';
|
|
1680
1685
|
export * from './webitelImProviderV1ProviderWhatsAppGate.zod';
|
|
1686
|
+
export * from './webitelImProviderV1WhatsAppBusinessAccount.zod';
|
|
1681
1687
|
export * from './webitelImProviderV1WhatsAppServiceUpdateWhatsAppGateBody.zod';
|
|
1682
1688
|
export * from './webitelKnowledgebaseAttachment.zod';
|
|
1683
1689
|
export * from './webitelKnowledgebaseLookup.zod';
|
|
@@ -0,0 +1,49 @@
|
|
|
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
|
+
|
|
8
|
+
export type MessageHistorySearchLeftThreadsMessagesHistoryParams = {
|
|
9
|
+
/**
|
|
10
|
+
* List of message fields to be returned.
|
|
11
|
+
Used to reduce payload size.
|
|
12
|
+
*/
|
|
13
|
+
fields?: string[];
|
|
14
|
+
/**
|
|
15
|
+
* Filter messages by sender user IDs.
|
|
16
|
+
*/
|
|
17
|
+
senderIds?: string[];
|
|
18
|
+
/**
|
|
19
|
+
* Filter messages by message types.
|
|
20
|
+
*/
|
|
21
|
+
types?: number[];
|
|
22
|
+
/**
|
|
23
|
+
* Inclusive lower bound on the dialog interval (Unix time, milliseconds).
|
|
24
|
+
Zero means unbounded.
|
|
25
|
+
*/
|
|
26
|
+
periodFrom?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Inclusive upper bound on the dialog interval (Unix time, milliseconds).
|
|
29
|
+
Zero means unbounded.
|
|
30
|
+
*/
|
|
31
|
+
periodTo?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Cursor identifier.
|
|
34
|
+
Must be a valid UUID referencing an existing message.
|
|
35
|
+
Defines the starting point for pagination.
|
|
36
|
+
*/
|
|
37
|
+
cursorId?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Pagination direction flag.
|
|
40
|
+
|
|
41
|
+
true -> fetch newer messages (back before history)
|
|
42
|
+
false -> fetch older messages (back to older history)
|
|
43
|
+
*/
|
|
44
|
+
cursorBefore?: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Maximum number of messages to return.
|
|
47
|
+
*/
|
|
48
|
+
size?: number;
|
|
49
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
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
|
+
|
|
8
|
+
export type MessageHistorySearchLeftThreadsMessagesHistoryParams = {
|
|
9
|
+
/**
|
|
10
|
+
* List of message fields to be returned.
|
|
11
|
+
Used to reduce payload size.
|
|
12
|
+
*/
|
|
13
|
+
fields?: string[];
|
|
14
|
+
/**
|
|
15
|
+
* Filter messages by sender user IDs.
|
|
16
|
+
*/
|
|
17
|
+
senderIds?: string[];
|
|
18
|
+
/**
|
|
19
|
+
* Filter messages by message types.
|
|
20
|
+
*/
|
|
21
|
+
types?: number[];
|
|
22
|
+
/**
|
|
23
|
+
* Inclusive lower bound on the dialog interval (Unix time, milliseconds).
|
|
24
|
+
Zero means unbounded.
|
|
25
|
+
*/
|
|
26
|
+
periodFrom?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Inclusive upper bound on the dialog interval (Unix time, milliseconds).
|
|
29
|
+
Zero means unbounded.
|
|
30
|
+
*/
|
|
31
|
+
periodTo?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Cursor identifier.
|
|
34
|
+
Must be a valid UUID referencing an existing message.
|
|
35
|
+
Defines the starting point for pagination.
|
|
36
|
+
*/
|
|
37
|
+
cursorId?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Pagination direction flag.
|
|
40
|
+
|
|
41
|
+
true -> fetch newer messages (back before history)
|
|
42
|
+
false -> fetch older messages (back to older history)
|
|
43
|
+
*/
|
|
44
|
+
cursorBefore?: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Maximum number of messages to return.
|
|
47
|
+
*/
|
|
48
|
+
size?: number;
|
|
49
|
+
};
|
|
@@ -44,4 +44,6 @@ export const SearchSystemSettingNameItem = {
|
|
|
44
44
|
PasswordWarningDays: 'password_warning_days',
|
|
45
45
|
DefaultPassword: 'default_password',
|
|
46
46
|
ExpandContactTabs: 'expand_contact_tabs',
|
|
47
|
+
DefaultWorkspaceTab: 'default_workspace_tab',
|
|
48
|
+
BlockAllMemberNumbersFromList: 'block_all_member_numbers_from_list',
|
|
47
49
|
} as const;
|
|
@@ -44,4 +44,6 @@ export const SearchSystemSettingNameItem = {
|
|
|
44
44
|
PasswordWarningDays: 'password_warning_days',
|
|
45
45
|
DefaultPassword: 'default_password',
|
|
46
46
|
ExpandContactTabs: 'expand_contact_tabs',
|
|
47
|
+
DefaultWorkspaceTab: 'default_workspace_tab',
|
|
48
|
+
BlockAllMemberNumbersFromList: 'block_all_member_numbers_from_list',
|
|
47
49
|
} as const;
|
|
@@ -19,6 +19,11 @@ export type SignupParams = {
|
|
|
19
19
|
*/
|
|
20
20
|
password?: string;
|
|
21
21
|
/**
|
|
22
|
+
* OPTIONAL. SIP (phone) number i.e. extension.
|
|
23
|
+
SIP Device will be auto-assigned ONLY if [number] specified.
|
|
24
|
+
*/
|
|
25
|
+
extension?: string;
|
|
26
|
+
/**
|
|
22
27
|
* scope request control
|
|
23
28
|
*/
|
|
24
29
|
scope?: string[];
|
|
@@ -19,6 +19,11 @@ export type SignupParams = {
|
|
|
19
19
|
*/
|
|
20
20
|
password?: string;
|
|
21
21
|
/**
|
|
22
|
+
* OPTIONAL. SIP (phone) number i.e. extension.
|
|
23
|
+
SIP Device will be auto-assigned ONLY if [number] specified.
|
|
24
|
+
*/
|
|
25
|
+
extension?: string;
|
|
26
|
+
/**
|
|
22
27
|
* scope request control
|
|
23
28
|
*/
|
|
24
29
|
scope?: string[];
|
|
@@ -5,8 +5,11 @@
|
|
|
5
5
|
* OpenAPI spec version: 24.04.0
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
+
/**
|
|
9
|
+
* InputPriority message for creating a new priority
|
|
10
|
+
*/
|
|
8
11
|
export interface WebitelCasesInputPriority {
|
|
9
|
-
color
|
|
12
|
+
color: string;
|
|
10
13
|
description?: string;
|
|
11
|
-
name
|
|
14
|
+
name: string;
|
|
12
15
|
}
|
|
@@ -5,8 +5,11 @@
|
|
|
5
5
|
* OpenAPI spec version: 24.04.0
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
+
/**
|
|
9
|
+
* InputPriority message for creating a new priority
|
|
10
|
+
*/
|
|
8
11
|
export interface WebitelCasesInputPriority {
|
|
9
|
-
color
|
|
12
|
+
color: string;
|
|
10
13
|
description?: string;
|
|
11
|
-
name
|
|
14
|
+
name: string;
|
|
12
15
|
}
|
|
@@ -6,13 +6,16 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import type { GeneralLookup } from './generalLookup';
|
|
8
8
|
|
|
9
|
+
/**
|
|
10
|
+
* Priority message represents a priority entity with metadata.
|
|
11
|
+
*/
|
|
9
12
|
export interface WebitelCasesPriority {
|
|
10
|
-
color
|
|
11
|
-
createdAt
|
|
12
|
-
createdBy
|
|
13
|
+
color: string;
|
|
14
|
+
createdAt: string;
|
|
15
|
+
createdBy: GeneralLookup;
|
|
13
16
|
description?: string;
|
|
14
|
-
id
|
|
15
|
-
name
|
|
16
|
-
updatedAt
|
|
17
|
-
updatedBy
|
|
17
|
+
id: string;
|
|
18
|
+
name: string;
|
|
19
|
+
updatedAt: string;
|
|
20
|
+
updatedBy: GeneralLookup;
|
|
18
21
|
}
|
|
@@ -6,13 +6,16 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import type { GeneralLookup } from './generalLookup';
|
|
8
8
|
|
|
9
|
+
/**
|
|
10
|
+
* Priority message represents a priority entity with metadata.
|
|
11
|
+
*/
|
|
9
12
|
export interface WebitelCasesPriority {
|
|
10
|
-
color
|
|
11
|
-
createdAt
|
|
12
|
-
createdBy
|
|
13
|
+
color: string;
|
|
14
|
+
createdAt: string;
|
|
15
|
+
createdBy: GeneralLookup;
|
|
13
16
|
description?: string;
|
|
14
|
-
id
|
|
15
|
-
name
|
|
16
|
-
updatedAt
|
|
17
|
-
updatedBy
|
|
17
|
+
id: string;
|
|
18
|
+
name: string;
|
|
19
|
+
updatedAt: string;
|
|
20
|
+
updatedBy: GeneralLookup;
|
|
18
21
|
}
|
|
@@ -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
|
/**
|
|
@@ -19,6 +20,7 @@ export interface WebitelImApiGatewayV1SendContactRequest {
|
|
|
19
20
|
name?: string;
|
|
20
21
|
/** Phone number in E.164 format recommended. */
|
|
21
22
|
phoneNumber?: string;
|
|
23
|
+
sendAs?: WebitelImApiGatewayV1PeerIdentity;
|
|
22
24
|
/** Optional send ID for idempotency. */
|
|
23
25
|
sendId?: string;
|
|
24
26
|
/** 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
|
/**
|
|
@@ -19,6 +20,7 @@ export interface WebitelImApiGatewayV1SendContactRequest {
|
|
|
19
20
|
name?: string;
|
|
20
21
|
/** Phone number in E.164 format recommended. */
|
|
21
22
|
phoneNumber?: string;
|
|
23
|
+
sendAs?: WebitelImApiGatewayV1PeerIdentity;
|
|
22
24
|
/** Optional send ID for idempotency. */
|
|
23
25
|
sendId?: string;
|
|
24
26
|
/** Recipient of the message. */
|
|
@@ -6,6 +6,7 @@
|
|
|
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
|
/**
|
|
11
12
|
* Represents a request to send a message with document.
|
|
@@ -13,6 +14,7 @@ import type { WebitelImApiGatewayV1Peer } from './webitelImApiGatewayV1Peer';
|
|
|
13
14
|
export interface WebitelImApiGatewayV1SendDocumentRequest {
|
|
14
15
|
body?: string;
|
|
15
16
|
documents?: WebitelImApiGatewayV1DocumentInput[];
|
|
17
|
+
sendAs?: WebitelImApiGatewayV1PeerIdentity;
|
|
16
18
|
sendId?: string;
|
|
17
19
|
to?: WebitelImApiGatewayV1Peer;
|
|
18
20
|
}
|
|
@@ -6,6 +6,7 @@
|
|
|
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
|
/**
|
|
11
12
|
* Represents a request to send a message with document.
|
|
@@ -13,6 +14,7 @@ import type { WebitelImApiGatewayV1Peer } from './webitelImApiGatewayV1Peer';
|
|
|
13
14
|
export interface WebitelImApiGatewayV1SendDocumentRequest {
|
|
14
15
|
body?: string;
|
|
15
16
|
documents?: WebitelImApiGatewayV1DocumentInput[];
|
|
17
|
+
sendAs?: WebitelImApiGatewayV1PeerIdentity;
|
|
16
18
|
sendId?: string;
|
|
17
19
|
to?: WebitelImApiGatewayV1Peer;
|
|
18
20
|
}
|
|
@@ -6,6 +6,7 @@
|
|
|
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
|
/**
|
|
11
12
|
* Represents a request to send an message with image.
|
|
@@ -13,6 +14,7 @@ import type { WebitelImApiGatewayV1Peer } from './webitelImApiGatewayV1Peer';
|
|
|
13
14
|
export interface WebitelImApiGatewayV1SendImageRequest {
|
|
14
15
|
body?: string;
|
|
15
16
|
images?: WebitelImApiGatewayV1ImageInput[];
|
|
17
|
+
sendAs?: WebitelImApiGatewayV1PeerIdentity;
|
|
16
18
|
sendId?: string;
|
|
17
19
|
to?: WebitelImApiGatewayV1Peer;
|
|
18
20
|
}
|
|
@@ -6,6 +6,7 @@
|
|
|
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
|
/**
|
|
11
12
|
* Represents a request to send an message with image.
|
|
@@ -13,6 +14,7 @@ import type { WebitelImApiGatewayV1Peer } from './webitelImApiGatewayV1Peer';
|
|
|
13
14
|
export interface WebitelImApiGatewayV1SendImageRequest {
|
|
14
15
|
body?: string;
|
|
15
16
|
images?: WebitelImApiGatewayV1ImageInput[];
|
|
17
|
+
sendAs?: WebitelImApiGatewayV1PeerIdentity;
|
|
16
18
|
sendId?: string;
|
|
17
19
|
to?: WebitelImApiGatewayV1Peer;
|
|
18
20
|
}
|
|
@@ -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
|
/**
|
|
@@ -18,6 +19,7 @@ export interface WebitelImApiGatewayV1SendInteractiveMessageRequest {
|
|
|
18
19
|
interactive?: WebitelImApiGatewayV1Interactive;
|
|
19
20
|
/** Arbitrary metadata. */
|
|
20
21
|
metadata?: WebitelImApiGatewayV1SendInteractiveMessageRequestMetadata;
|
|
22
|
+
sendAs?: WebitelImApiGatewayV1PeerIdentity;
|
|
21
23
|
/** Optional idempotency key for deduplication. */
|
|
22
24
|
sendId?: string;
|
|
23
25
|
/** 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
|
/**
|
|
@@ -18,6 +19,7 @@ export interface WebitelImApiGatewayV1SendInteractiveMessageRequest {
|
|
|
18
19
|
interactive?: WebitelImApiGatewayV1Interactive;
|
|
19
20
|
/** Arbitrary metadata. */
|
|
20
21
|
metadata?: WebitelImApiGatewayV1SendInteractiveMessageRequestMetadata;
|
|
22
|
+
sendAs?: WebitelImApiGatewayV1PeerIdentity;
|
|
21
23
|
/** Optional idempotency key for deduplication. */
|
|
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 { WebitelImApiGatewayV1SendLocationRequestMetadata } from './webitelImApiGatewayV1SendLocationRequestMetadata';
|
|
9
10
|
|
|
10
11
|
/**
|
|
@@ -21,6 +22,7 @@ export interface WebitelImApiGatewayV1SendLocationRequest {
|
|
|
21
22
|
metadata?: WebitelImApiGatewayV1SendLocationRequestMetadata;
|
|
22
23
|
/** Optional location name (e.g., "Central Park"). */
|
|
23
24
|
name?: string;
|
|
25
|
+
sendAs?: WebitelImApiGatewayV1PeerIdentity;
|
|
24
26
|
/** Optional send ID for idempotency. */
|
|
25
27
|
sendId?: string;
|
|
26
28
|
/** 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
|
/**
|
|
@@ -21,6 +22,7 @@ export interface WebitelImApiGatewayV1SendLocationRequest {
|
|
|
21
22
|
metadata?: WebitelImApiGatewayV1SendLocationRequestMetadata;
|
|
22
23
|
/** Optional location name (e.g., "Central Park"). */
|
|
23
24
|
name?: string;
|
|
25
|
+
sendAs?: WebitelImApiGatewayV1PeerIdentity;
|
|
24
26
|
/** Optional send ID for idempotency. */
|
|
25
27
|
sendId?: string;
|
|
26
28
|
/** Recipient of the message. */
|
|
@@ -5,12 +5,14 @@
|
|
|
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
|
|
|
9
10
|
/**
|
|
10
11
|
* Represents a request to send a text message.
|
|
11
12
|
*/
|
|
12
13
|
export interface WebitelImApiGatewayV1SendTextRequest {
|
|
13
14
|
body?: string;
|
|
15
|
+
sendAs?: WebitelImApiGatewayV1PeerIdentity;
|
|
14
16
|
sendId?: string;
|
|
15
17
|
to?: WebitelImApiGatewayV1Peer;
|
|
16
18
|
}
|
|
@@ -5,12 +5,14 @@
|
|
|
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
|
|
|
9
10
|
/**
|
|
10
11
|
* Represents a request to send a text message.
|
|
11
12
|
*/
|
|
12
13
|
export interface WebitelImApiGatewayV1SendTextRequest {
|
|
13
14
|
body?: string;
|
|
15
|
+
sendAs?: WebitelImApiGatewayV1PeerIdentity;
|
|
14
16
|
sendId?: string;
|
|
15
17
|
to?: WebitelImApiGatewayV1Peer;
|
|
16
18
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
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 { WebitelImProviderV1CreateWABAGateRequest } from './webitelImProviderV1CreateWABAGateRequest';
|
|
8
|
+
import type { WebitelImProviderV1Peer } from './webitelImProviderV1Peer';
|
|
9
|
+
import type { WebitelImProviderV1ProviderCreateFacebookGateRequest } from './webitelImProviderV1ProviderCreateFacebookGateRequest';
|
|
10
|
+
|
|
11
|
+
export interface WebitelImProviderV1CreateGateRequest {
|
|
12
|
+
bot?: WebitelImProviderV1Peer;
|
|
13
|
+
enabled?: boolean;
|
|
14
|
+
fb?: WebitelImProviderV1ProviderCreateFacebookGateRequest;
|
|
15
|
+
name?: string;
|
|
16
|
+
waba?: WebitelImProviderV1CreateWABAGateRequest;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
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 { WebitelImProviderV1CreateWABAGateRequest } from './webitelImProviderV1CreateWABAGateRequest';
|
|
8
|
+
import type { WebitelImProviderV1Peer } from './webitelImProviderV1Peer';
|
|
9
|
+
import type { WebitelImProviderV1ProviderCreateFacebookGateRequest } from './webitelImProviderV1ProviderCreateFacebookGateRequest';
|
|
10
|
+
|
|
11
|
+
export interface WebitelImProviderV1CreateGateRequest {
|
|
12
|
+
bot?: WebitelImProviderV1Peer;
|
|
13
|
+
enabled?: boolean;
|
|
14
|
+
fb?: WebitelImProviderV1ProviderCreateFacebookGateRequest;
|
|
15
|
+
name?: string;
|
|
16
|
+
waba?: WebitelImProviderV1CreateWABAGateRequest;
|
|
17
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
|
|
8
|
+
export interface WebitelImProviderV1CreateWABAGateRequest {
|
|
9
|
+
accessToken?: string;
|
|
10
|
+
businessId?: string;
|
|
11
|
+
metaAppId?: string;
|
|
12
|
+
phoneNumber?: string;
|
|
13
|
+
phoneNumberId?: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
|
|
8
|
+
export interface WebitelImProviderV1CreateWABAGateRequest {
|
|
9
|
+
accessToken?: string;
|
|
10
|
+
businessId?: string;
|
|
11
|
+
metaAppId?: string;
|
|
12
|
+
phoneNumber?: string;
|
|
13
|
+
phoneNumberId?: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
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 { WebitelImProviderV1Peer } from './webitelImProviderV1Peer';
|
|
8
|
+
import type { WebitelImProviderV1WhatsAppBusinessAccount } from './webitelImProviderV1WhatsAppBusinessAccount';
|
|
9
|
+
|
|
10
|
+
export interface WebitelImProviderV1GateResponse {
|
|
11
|
+
bot?: WebitelImProviderV1Peer;
|
|
12
|
+
createdAt?: string;
|
|
13
|
+
createdBy?: string;
|
|
14
|
+
enabled?: boolean;
|
|
15
|
+
id?: string;
|
|
16
|
+
name?: string;
|
|
17
|
+
type?: string;
|
|
18
|
+
updatedAt?: string;
|
|
19
|
+
updatedBy?: string;
|
|
20
|
+
waba?: WebitelImProviderV1WhatsAppBusinessAccount;
|
|
21
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
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 { WebitelImProviderV1Peer } from './webitelImProviderV1Peer';
|
|
8
|
+
import type { WebitelImProviderV1WhatsAppBusinessAccount } from './webitelImProviderV1WhatsAppBusinessAccount';
|
|
9
|
+
|
|
10
|
+
export interface WebitelImProviderV1GateResponse {
|
|
11
|
+
bot?: WebitelImProviderV1Peer;
|
|
12
|
+
createdAt?: string;
|
|
13
|
+
createdBy?: string;
|
|
14
|
+
enabled?: boolean;
|
|
15
|
+
id?: string;
|
|
16
|
+
name?: string;
|
|
17
|
+
type?: string;
|
|
18
|
+
updatedAt?: string;
|
|
19
|
+
updatedBy?: string;
|
|
20
|
+
waba?: WebitelImProviderV1WhatsAppBusinessAccount;
|
|
21
|
+
}
|
|
@@ -13,6 +13,7 @@ import type { WebitelImProviderV1ProviderType } from './webitelImProviderV1Provi
|
|
|
13
13
|
export interface WebitelImProviderV1ProviderSendDocumentRequest {
|
|
14
14
|
caption?: string;
|
|
15
15
|
documents?: WebitelImProviderV1ProviderFile[];
|
|
16
|
+
domainId?: number;
|
|
16
17
|
externalUserId?: string;
|
|
17
18
|
gateId?: string;
|
|
18
19
|
type?: WebitelImProviderV1ProviderType;
|
|
@@ -13,6 +13,7 @@ import type { WebitelImProviderV1ProviderType } from './webitelImProviderV1Provi
|
|
|
13
13
|
export interface WebitelImProviderV1ProviderSendDocumentRequest {
|
|
14
14
|
caption?: string;
|
|
15
15
|
documents?: WebitelImProviderV1ProviderFile[];
|
|
16
|
+
domainId?: number;
|
|
16
17
|
externalUserId?: string;
|
|
17
18
|
gateId?: string;
|
|
18
19
|
type?: WebitelImProviderV1ProviderType;
|