@webitel/api-services 0.1.41 → 0.1.43
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/src/validations/casePriority/casePriority.validations.ts +9 -0
- package/src/validations/caseSource/caseSource.validations.ts +7 -16
- package/src/validations/caseStatus/caseStatus.validations.ts +8 -0
- package/src/validations/caseStatusCondition/caseStatusCondition.validations.ts +10 -0
- package/src/validations/index.ts +4 -0
- package/src/validations/types.ts +9 -0
- 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/types/validations/casePriority/casePriority.validations.d.ts +11 -0
- package/types/validations/caseSource/caseSource.validations.d.ts +11 -1
- package/types/validations/caseStatus/caseStatus.validations.d.ts +10 -0
- package/types/validations/caseStatusCondition/caseStatusCondition.validations.d.ts +13 -0
- package/types/validations/index.d.ts +4 -0
- package/types/validations/types.d.ts +8 -0
- 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
|
@@ -19,10 +19,10 @@ For example, "chat_name" is shown when an agent connects to chats with clients.
|
|
|
19
19
|
chatName?: string;
|
|
20
20
|
/** [optional] contact connected to this user */
|
|
21
21
|
contact?: ApiObjectId;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
createdAt?: string;
|
|
23
|
+
createdBy?: ApiUserId;
|
|
24
|
+
deletedAt?: string;
|
|
25
|
+
deletedBy?: ApiUserId;
|
|
26
26
|
device?: ApiObjectId;
|
|
27
27
|
/** [editable] list of unique `regular` devices, attached to this user */
|
|
28
28
|
devices?: ApiObjectId[];
|
|
@@ -31,7 +31,7 @@ For example, "chat_name" is shown when an agent connects to chats with clients.
|
|
|
31
31
|
/** When set to true, the user will be required to change their password on next login. */
|
|
32
32
|
forcePasswordChange?: boolean;
|
|
33
33
|
hotdesks?: ApiObjectId[];
|
|
34
|
-
|
|
34
|
+
id?: string;
|
|
35
35
|
license?: ApiLicenseUser[];
|
|
36
36
|
name?: string;
|
|
37
37
|
password?: string;
|
|
@@ -42,7 +42,7 @@ For example, "chat_name" is shown when an agent connects to chats with clients.
|
|
|
42
42
|
profile?: ApiUserProfile;
|
|
43
43
|
roles?: ApiObjectId[];
|
|
44
44
|
totpUrl?: string;
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
updatedAt?: string;
|
|
46
|
+
updatedBy?: ApiUserId;
|
|
47
47
|
username?: string;
|
|
48
48
|
}
|
|
@@ -9,6 +9,7 @@ import type { ApiObjclass } from './apiObjclass';
|
|
|
9
9
|
import type { ApiObjectId } from './apiObjectId';
|
|
10
10
|
import type { ApiPermission } from './apiPermission';
|
|
11
11
|
export interface ApiUserinfo {
|
|
12
|
+
chatName?: string;
|
|
12
13
|
dc?: string;
|
|
13
14
|
domain?: string;
|
|
14
15
|
expiresAt?: string;
|
|
@@ -9,6 +9,7 @@ import type { ApiObjclass } from './apiObjclass';
|
|
|
9
9
|
import type { ApiObjectId } from './apiObjectId';
|
|
10
10
|
import type { ApiPermission } from './apiPermission';
|
|
11
11
|
export interface ApiUserinfo {
|
|
12
|
+
chatName?: string;
|
|
12
13
|
dc?: string;
|
|
13
14
|
domain?: string;
|
|
14
15
|
expiresAt?: string;
|
|
@@ -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 { 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,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
|
|
11
|
+
color: string;
|
|
9
12
|
description?: string;
|
|
10
|
-
name
|
|
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
|
|
11
|
+
color: string;
|
|
9
12
|
description?: string;
|
|
10
|
-
name
|
|
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
|
|
10
|
-
createdAt
|
|
11
|
-
createdBy
|
|
12
|
+
color: string;
|
|
13
|
+
createdAt: string;
|
|
14
|
+
createdBy: GeneralLookup;
|
|
12
15
|
description?: string;
|
|
13
|
-
id
|
|
14
|
-
name
|
|
15
|
-
updatedAt
|
|
16
|
-
updatedBy
|
|
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
|
|
10
|
-
createdAt
|
|
11
|
-
createdBy
|
|
12
|
+
color: string;
|
|
13
|
+
createdAt: string;
|
|
14
|
+
createdBy: GeneralLookup;
|
|
12
15
|
description?: string;
|
|
13
|
-
id
|
|
14
|
-
name
|
|
15
|
-
updatedAt
|
|
16
|
-
updatedBy
|
|
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
|
}
|