@webitel/api-services 0.1.40 → 0.1.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { RequestHandlerOptions } from 'msw';
|
|
2
2
|
import { http } from 'msw';
|
|
3
|
-
import type {
|
|
4
|
-
export declare const getWhatsAppServiceCreateWhatsAppGateResponseMock: (overrideResponse?: Partial<Extract<
|
|
3
|
+
import type { WebitelImProviderV1GateResponse, WebitelImProviderV1ProviderDeleteWhatsAppGateResponse, WebitelImProviderV1ProviderGetWhatsAppGateResponse, WebitelImProviderV1ProviderUpdateWhatsAppGateResponse } from '../_models';
|
|
4
|
+
export declare const getWhatsAppServiceCreateWhatsAppGateResponseMock: (overrideResponse?: Partial<Extract<WebitelImProviderV1GateResponse, object>>) => WebitelImProviderV1GateResponse;
|
|
5
5
|
export declare const getWhatsAppServiceDeleteWhatsAppGateResponseMock: (overrideResponse?: Partial<Extract<WebitelImProviderV1ProviderDeleteWhatsAppGateResponse, object>>) => WebitelImProviderV1ProviderDeleteWhatsAppGateResponse;
|
|
6
6
|
export declare const getWhatsAppServiceGetWhatsAppGateResponseMock: (overrideResponse?: Partial<Extract<WebitelImProviderV1ProviderGetWhatsAppGateResponse, object>>) => WebitelImProviderV1ProviderGetWhatsAppGateResponse;
|
|
7
7
|
export declare const getWhatsAppServiceUpdateWhatsAppGateResponseMock: (overrideResponse?: Partial<Extract<WebitelImProviderV1ProviderUpdateWhatsAppGateResponse, object>>) => WebitelImProviderV1ProviderUpdateWhatsAppGateResponse;
|
|
8
|
-
export declare const getWhatsAppServiceCreateWhatsAppGateMockHandler: (overrideResponse?:
|
|
8
|
+
export declare const getWhatsAppServiceCreateWhatsAppGateMockHandler: (overrideResponse?: WebitelImProviderV1GateResponse | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<WebitelImProviderV1GateResponse> | WebitelImProviderV1GateResponse), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
9
9
|
export declare const getWhatsAppServiceDeleteWhatsAppGateMockHandler: (overrideResponse?: WebitelImProviderV1ProviderDeleteWhatsAppGateResponse | ((info: Parameters<Parameters<typeof http.delete>[1]>[0]) => Promise<WebitelImProviderV1ProviderDeleteWhatsAppGateResponse> | WebitelImProviderV1ProviderDeleteWhatsAppGateResponse), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
10
10
|
export declare const getWhatsAppServiceGetWhatsAppGateMockHandler: (overrideResponse?: WebitelImProviderV1ProviderGetWhatsAppGateResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<WebitelImProviderV1ProviderGetWhatsAppGateResponse> | WebitelImProviderV1ProviderGetWhatsAppGateResponse), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
11
11
|
export declare const getWhatsAppServiceUpdateWhatsAppGateMockHandler: (overrideResponse?: WebitelImProviderV1ProviderUpdateWhatsAppGateResponse | ((info: Parameters<Parameters<typeof http.patch>[1]>[0]) => Promise<WebitelImProviderV1ProviderUpdateWhatsAppGateResponse> | WebitelImProviderV1ProviderUpdateWhatsAppGateResponse), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
@@ -9,29 +9,52 @@ import * as zod from 'zod';
|
|
|
9
9
|
* @summary / CreateWhatsAppGate registers a WhatsApp Business Account (WABA) gateway.
|
|
10
10
|
*/
|
|
11
11
|
export declare const WhatsAppServiceCreateWhatsAppGateBody: zod.ZodObject<{
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
bot: zod.ZodOptional<zod.ZodObject<{
|
|
13
|
+
iss: zod.ZodOptional<zod.ZodString>;
|
|
14
|
+
sub: zod.ZodOptional<zod.ZodString>;
|
|
15
|
+
}, zod.z.core.$strip>>;
|
|
16
|
+
enabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
17
|
+
fb: zod.ZodOptional<zod.ZodObject<{
|
|
18
|
+
enabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
19
|
+
metaAppId: zod.ZodOptional<zod.ZodString>;
|
|
20
|
+
name: zod.ZodOptional<zod.ZodString>;
|
|
21
|
+
pageId: zod.ZodOptional<zod.ZodString>;
|
|
22
|
+
pageToken: zod.ZodOptional<zod.ZodString>;
|
|
23
|
+
peer: zod.ZodOptional<zod.ZodObject<{
|
|
24
|
+
iss: zod.ZodOptional<zod.ZodString>;
|
|
25
|
+
sub: zod.ZodOptional<zod.ZodString>;
|
|
26
|
+
}, zod.z.core.$strip>>;
|
|
27
|
+
}, zod.z.core.$strip>>;
|
|
14
28
|
name: zod.ZodOptional<zod.ZodString>;
|
|
15
|
-
|
|
16
|
-
|
|
29
|
+
waba: zod.ZodOptional<zod.ZodObject<{
|
|
30
|
+
accessToken: zod.ZodOptional<zod.ZodString>;
|
|
31
|
+
businessId: zod.ZodOptional<zod.ZodString>;
|
|
32
|
+
metaAppId: zod.ZodOptional<zod.ZodString>;
|
|
33
|
+
phoneNumber: zod.ZodOptional<zod.ZodString>;
|
|
34
|
+
phoneNumberId: zod.ZodOptional<zod.ZodString>;
|
|
35
|
+
}, zod.z.core.$strip>>;
|
|
17
36
|
}, zod.z.core.$strip>;
|
|
18
|
-
export declare const whatsAppServiceCreateWhatsAppGateResponseItemStatusDefault = "PROVIDER_STATUS_UNSPECIFIED";
|
|
19
37
|
export declare const WhatsAppServiceCreateWhatsAppGateResponse: zod.ZodObject<{
|
|
20
|
-
|
|
21
|
-
|
|
38
|
+
bot: zod.ZodOptional<zod.ZodObject<{
|
|
39
|
+
iss: zod.ZodOptional<zod.ZodString>;
|
|
40
|
+
sub: zod.ZodOptional<zod.ZodString>;
|
|
41
|
+
}, zod.z.core.$strip>>;
|
|
42
|
+
createdAt: zod.ZodOptional<zod.ZodString>;
|
|
43
|
+
createdBy: zod.ZodOptional<zod.ZodString>;
|
|
44
|
+
enabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
45
|
+
id: zod.ZodOptional<zod.ZodString>;
|
|
46
|
+
name: zod.ZodOptional<zod.ZodString>;
|
|
47
|
+
type: zod.ZodOptional<zod.ZodString>;
|
|
48
|
+
updatedAt: zod.ZodOptional<zod.ZodString>;
|
|
49
|
+
updatedBy: zod.ZodOptional<zod.ZodString>;
|
|
50
|
+
waba: zod.ZodOptional<zod.ZodObject<{
|
|
51
|
+
accessToken: zod.ZodOptional<zod.ZodString>;
|
|
52
|
+
accessTokenExpiresAt: zod.ZodOptional<zod.ZodString>;
|
|
53
|
+
businessId: zod.ZodOptional<zod.ZodString>;
|
|
22
54
|
id: zod.ZodOptional<zod.ZodString>;
|
|
23
55
|
metaAppId: zod.ZodOptional<zod.ZodString>;
|
|
24
|
-
|
|
25
|
-
phoneDisplay: zod.ZodOptional<zod.ZodString>;
|
|
56
|
+
phoneNumber: zod.ZodOptional<zod.ZodString>;
|
|
26
57
|
phoneNumberId: zod.ZodOptional<zod.ZodString>;
|
|
27
|
-
status: zod.ZodDefault<zod.ZodEnum<{
|
|
28
|
-
PROVIDER_STATUS_UNSPECIFIED: "PROVIDER_STATUS_UNSPECIFIED";
|
|
29
|
-
PROVIDER_STATUS_ACTIVE: "PROVIDER_STATUS_ACTIVE";
|
|
30
|
-
PROVIDER_STATUS_INACTIVE: "PROVIDER_STATUS_INACTIVE";
|
|
31
|
-
PROVIDER_STATUS_ERROR: "PROVIDER_STATUS_ERROR";
|
|
32
|
-
}>>;
|
|
33
|
-
updatedAt: zod.ZodOptional<zod.ZodString>;
|
|
34
|
-
wabaId: zod.ZodOptional<zod.ZodString>;
|
|
35
58
|
}, zod.z.core.$strip>>;
|
|
36
59
|
}, zod.z.core.$strip>;
|
|
37
60
|
/**
|
|
@@ -1,13 +0,0 @@
|
|
|
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 { ApiUser } from './apiUser';
|
|
8
|
-
|
|
9
|
-
export interface ApiCreateUserRequest {
|
|
10
|
-
readonly confirmPassword?: string;
|
|
11
|
-
user?: ApiUser;
|
|
12
|
-
readonly userPassword?: string;
|
|
13
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
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 { ApiUser } from './apiUser';
|
|
8
|
-
|
|
9
|
-
export interface ApiCreateUserRequest {
|
|
10
|
-
readonly confirmPassword?: string;
|
|
11
|
-
user?: ApiUser;
|
|
12
|
-
readonly userPassword?: string;
|
|
13
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
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 { ApiLicenseUser } from './apiLicenseUser';
|
|
8
|
-
import type { ApiObjectId } from './apiObjectId';
|
|
9
|
-
import type { ApiPermission } from './apiPermission';
|
|
10
|
-
import type { ApiUserId } from './apiUserId';
|
|
11
|
-
import type { ApiUserPresence } from './apiUserPresence';
|
|
12
|
-
import type { UpdateUser2BodyProfile } from './updateUser2BodyProfile';
|
|
13
|
-
|
|
14
|
-
export type UpdateUser2Body = {
|
|
15
|
-
/** The "chat_name" field is used to store the name displayed externally on the platform.
|
|
16
|
-
For example, "chat_name" is shown when an agent connects to chats with clients. */
|
|
17
|
-
chatName?: string;
|
|
18
|
-
/** [optional] contact connected to this user */
|
|
19
|
-
contact?: ApiObjectId;
|
|
20
|
-
readonly createdAt?: string;
|
|
21
|
-
readonly createdBy?: ApiUserId;
|
|
22
|
-
readonly deletedAt?: string;
|
|
23
|
-
readonly deletedBy?: ApiUserId;
|
|
24
|
-
device?: ApiObjectId;
|
|
25
|
-
/** [editable] list of unique `regular` devices, attached to this user */
|
|
26
|
-
devices?: ApiObjectId[];
|
|
27
|
-
email?: string;
|
|
28
|
-
extension?: string;
|
|
29
|
-
/** When set to true, the user will be required to change their password on next login. */
|
|
30
|
-
forcePasswordChange?: boolean;
|
|
31
|
-
hotdesks?: ApiObjectId[];
|
|
32
|
-
license?: ApiLicenseUser[];
|
|
33
|
-
name?: string;
|
|
34
|
-
password?: string;
|
|
35
|
-
permissions?: ApiPermission[];
|
|
36
|
-
/** string presence = 7; // unique set of <user> presentity <status:basic> tuples open[ed]
|
|
37
|
-
string status = 8; // short display status (short description) */
|
|
38
|
-
presence?: ApiUserPresence;
|
|
39
|
-
profile?: UpdateUser2BodyProfile;
|
|
40
|
-
roles?: ApiObjectId[];
|
|
41
|
-
totpUrl?: string;
|
|
42
|
-
readonly updatedAt?: string;
|
|
43
|
-
readonly updatedBy?: ApiUserId;
|
|
44
|
-
username?: string;
|
|
45
|
-
};
|
|
@@ -1,45 +0,0 @@
|
|
|
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 { ApiLicenseUser } from './apiLicenseUser';
|
|
8
|
-
import type { ApiObjectId } from './apiObjectId';
|
|
9
|
-
import type { ApiPermission } from './apiPermission';
|
|
10
|
-
import type { ApiUserId } from './apiUserId';
|
|
11
|
-
import type { ApiUserPresence } from './apiUserPresence';
|
|
12
|
-
import type { UpdateUser2BodyProfile } from './updateUser2BodyProfile';
|
|
13
|
-
|
|
14
|
-
export type UpdateUser2Body = {
|
|
15
|
-
/** The "chat_name" field is used to store the name displayed externally on the platform.
|
|
16
|
-
For example, "chat_name" is shown when an agent connects to chats with clients. */
|
|
17
|
-
chatName?: string;
|
|
18
|
-
/** [optional] contact connected to this user */
|
|
19
|
-
contact?: ApiObjectId;
|
|
20
|
-
readonly createdAt?: string;
|
|
21
|
-
readonly createdBy?: ApiUserId;
|
|
22
|
-
readonly deletedAt?: string;
|
|
23
|
-
readonly deletedBy?: ApiUserId;
|
|
24
|
-
device?: ApiObjectId;
|
|
25
|
-
/** [editable] list of unique `regular` devices, attached to this user */
|
|
26
|
-
devices?: ApiObjectId[];
|
|
27
|
-
email?: string;
|
|
28
|
-
extension?: string;
|
|
29
|
-
/** When set to true, the user will be required to change their password on next login. */
|
|
30
|
-
forcePasswordChange?: boolean;
|
|
31
|
-
hotdesks?: ApiObjectId[];
|
|
32
|
-
license?: ApiLicenseUser[];
|
|
33
|
-
name?: string;
|
|
34
|
-
password?: string;
|
|
35
|
-
permissions?: ApiPermission[];
|
|
36
|
-
/** string presence = 7; // unique set of <user> presentity <status:basic> tuples open[ed]
|
|
37
|
-
string status = 8; // short display status (short description) */
|
|
38
|
-
presence?: ApiUserPresence;
|
|
39
|
-
profile?: UpdateUser2BodyProfile;
|
|
40
|
-
roles?: ApiObjectId[];
|
|
41
|
-
totpUrl?: string;
|
|
42
|
-
readonly updatedAt?: string;
|
|
43
|
-
readonly updatedBy?: ApiUserId;
|
|
44
|
-
username?: string;
|
|
45
|
-
};
|
|
@@ -1,45 +0,0 @@
|
|
|
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 { ApiLicenseUser } from './apiLicenseUser';
|
|
8
|
-
import type { ApiObjectId } from './apiObjectId';
|
|
9
|
-
import type { ApiPermission } from './apiPermission';
|
|
10
|
-
import type { ApiUserId } from './apiUserId';
|
|
11
|
-
import type { ApiUserPresence } from './apiUserPresence';
|
|
12
|
-
import type { UpdateUserUserBodyProfile } from './updateUserUserBodyProfile';
|
|
13
|
-
|
|
14
|
-
export type UpdateUserUserBody = {
|
|
15
|
-
/** The "chat_name" field is used to store the name displayed externally on the platform.
|
|
16
|
-
For example, "chat_name" is shown when an agent connects to chats with clients. */
|
|
17
|
-
chat_name?: string;
|
|
18
|
-
/** [optional] contact connected to this user */
|
|
19
|
-
contact?: ApiObjectId;
|
|
20
|
-
readonly created_at?: string;
|
|
21
|
-
readonly created_by?: ApiUserId;
|
|
22
|
-
readonly deleted_at?: string;
|
|
23
|
-
readonly deleted_by?: ApiUserId;
|
|
24
|
-
device?: ApiObjectId;
|
|
25
|
-
/** [editable] list of unique `regular` devices, attached to this user */
|
|
26
|
-
devices?: ApiObjectId[];
|
|
27
|
-
email?: string;
|
|
28
|
-
extension?: string;
|
|
29
|
-
/** When set to true, the user will be required to change their password on next login. */
|
|
30
|
-
force_password_change?: boolean;
|
|
31
|
-
hotdesks?: ApiObjectId[];
|
|
32
|
-
license?: ApiLicenseUser[];
|
|
33
|
-
name?: string;
|
|
34
|
-
password?: string;
|
|
35
|
-
permissions?: ApiPermission[];
|
|
36
|
-
/** string presence = 7; // unique set of <user> presentity <status:basic> tuples open[ed]
|
|
37
|
-
string status = 8; // short display status (short description) */
|
|
38
|
-
presence?: ApiUserPresence;
|
|
39
|
-
profile?: UpdateUserUserBodyProfile;
|
|
40
|
-
roles?: ApiObjectId[];
|
|
41
|
-
totp_url?: string;
|
|
42
|
-
readonly updated_at?: string;
|
|
43
|
-
readonly updated_by?: ApiUserId;
|
|
44
|
-
username?: string;
|
|
45
|
-
};
|
|
@@ -1,45 +0,0 @@
|
|
|
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 { ApiLicenseUser } from './apiLicenseUser';
|
|
8
|
-
import type { ApiObjectId } from './apiObjectId';
|
|
9
|
-
import type { ApiPermission } from './apiPermission';
|
|
10
|
-
import type { ApiUserId } from './apiUserId';
|
|
11
|
-
import type { ApiUserPresence } from './apiUserPresence';
|
|
12
|
-
import type { UpdateUserUserBodyProfile } from './updateUserUserBodyProfile';
|
|
13
|
-
|
|
14
|
-
export type UpdateUserUserBody = {
|
|
15
|
-
/** The "chat_name" field is used to store the name displayed externally on the platform.
|
|
16
|
-
For example, "chat_name" is shown when an agent connects to chats with clients. */
|
|
17
|
-
chat_name?: string;
|
|
18
|
-
/** [optional] contact connected to this user */
|
|
19
|
-
contact?: ApiObjectId;
|
|
20
|
-
readonly created_at?: string;
|
|
21
|
-
readonly created_by?: ApiUserId;
|
|
22
|
-
readonly deleted_at?: string;
|
|
23
|
-
readonly deleted_by?: ApiUserId;
|
|
24
|
-
device?: ApiObjectId;
|
|
25
|
-
/** [editable] list of unique `regular` devices, attached to this user */
|
|
26
|
-
devices?: ApiObjectId[];
|
|
27
|
-
email?: string;
|
|
28
|
-
extension?: string;
|
|
29
|
-
/** When set to true, the user will be required to change their password on next login. */
|
|
30
|
-
force_password_change?: boolean;
|
|
31
|
-
hotdesks?: ApiObjectId[];
|
|
32
|
-
license?: ApiLicenseUser[];
|
|
33
|
-
name?: string;
|
|
34
|
-
password?: string;
|
|
35
|
-
permissions?: ApiPermission[];
|
|
36
|
-
/** string presence = 7; // unique set of <user> presentity <status:basic> tuples open[ed]
|
|
37
|
-
string status = 8; // short display status (short description) */
|
|
38
|
-
presence?: ApiUserPresence;
|
|
39
|
-
profile?: UpdateUserUserBodyProfile;
|
|
40
|
-
roles?: ApiObjectId[];
|
|
41
|
-
totp_url?: string;
|
|
42
|
-
readonly updated_at?: string;
|
|
43
|
-
readonly updated_by?: ApiUserId;
|
|
44
|
-
username?: string;
|
|
45
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
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
|
-
/**
|
|
9
|
-
* / ProviderCreateWhatsAppGateRequest connects a WhatsApp Business Account (WABA).
|
|
10
|
-
*/
|
|
11
|
-
export interface WebitelImProviderV1ProviderCreateWhatsAppGateRequest {
|
|
12
|
-
accessToken?: string;
|
|
13
|
-
metaAppId?: string;
|
|
14
|
-
name?: string;
|
|
15
|
-
phoneNumberId?: string;
|
|
16
|
-
wabaId?: string;
|
|
17
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
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
|
-
/**
|
|
9
|
-
* / ProviderCreateWhatsAppGateRequest connects a WhatsApp Business Account (WABA).
|
|
10
|
-
*/
|
|
11
|
-
export interface WebitelImProviderV1ProviderCreateWhatsAppGateRequest {
|
|
12
|
-
accessToken?: string;
|
|
13
|
-
metaAppId?: string;
|
|
14
|
-
name?: string;
|
|
15
|
-
phoneNumberId?: string;
|
|
16
|
-
wabaId?: string;
|
|
17
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
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 { WebitelImProviderV1ProviderWhatsAppGate } from './webitelImProviderV1ProviderWhatsAppGate';
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* / ProviderCreateWhatsAppGateResponse returns the registered WhatsApp provider.
|
|
11
|
-
*/
|
|
12
|
-
export interface WebitelImProviderV1ProviderCreateWhatsAppGateResponse {
|
|
13
|
-
item?: WebitelImProviderV1ProviderWhatsAppGate;
|
|
14
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
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 { WebitelImProviderV1ProviderWhatsAppGate } from './webitelImProviderV1ProviderWhatsAppGate';
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* / ProviderCreateWhatsAppGateResponse returns the registered WhatsApp provider.
|
|
11
|
-
*/
|
|
12
|
-
export interface WebitelImProviderV1ProviderCreateWhatsAppGateResponse {
|
|
13
|
-
item?: WebitelImProviderV1ProviderWhatsAppGate;
|
|
14
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
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 { ApiUser } from './apiUser';
|
|
8
|
-
export interface ApiCreateUserRequest {
|
|
9
|
-
readonly confirmPassword?: string;
|
|
10
|
-
user?: ApiUser;
|
|
11
|
-
readonly userPassword?: string;
|
|
12
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
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 { ApiUser } from './apiUser';
|
|
8
|
-
export interface ApiCreateUserRequest {
|
|
9
|
-
readonly confirmPassword?: string;
|
|
10
|
-
user?: ApiUser;
|
|
11
|
-
readonly userPassword?: string;
|
|
12
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
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 { ApiLicenseUser } from './apiLicenseUser';
|
|
8
|
-
import type { ApiObjectId } from './apiObjectId';
|
|
9
|
-
import type { ApiPermission } from './apiPermission';
|
|
10
|
-
import type { ApiUserId } from './apiUserId';
|
|
11
|
-
import type { ApiUserPresence } from './apiUserPresence';
|
|
12
|
-
import type { UpdateUser2BodyProfile } from './updateUser2BodyProfile';
|
|
13
|
-
export type UpdateUser2Body = {
|
|
14
|
-
/** The "chat_name" field is used to store the name displayed externally on the platform.
|
|
15
|
-
For example, "chat_name" is shown when an agent connects to chats with clients. */
|
|
16
|
-
chatName?: string;
|
|
17
|
-
/** [optional] contact connected to this user */
|
|
18
|
-
contact?: ApiObjectId;
|
|
19
|
-
readonly createdAt?: string;
|
|
20
|
-
readonly createdBy?: ApiUserId;
|
|
21
|
-
readonly deletedAt?: string;
|
|
22
|
-
readonly deletedBy?: ApiUserId;
|
|
23
|
-
device?: ApiObjectId;
|
|
24
|
-
/** [editable] list of unique `regular` devices, attached to this user */
|
|
25
|
-
devices?: ApiObjectId[];
|
|
26
|
-
email?: string;
|
|
27
|
-
extension?: string;
|
|
28
|
-
/** When set to true, the user will be required to change their password on next login. */
|
|
29
|
-
forcePasswordChange?: boolean;
|
|
30
|
-
hotdesks?: ApiObjectId[];
|
|
31
|
-
license?: ApiLicenseUser[];
|
|
32
|
-
name?: string;
|
|
33
|
-
password?: string;
|
|
34
|
-
permissions?: ApiPermission[];
|
|
35
|
-
/** string presence = 7; // unique set of <user> presentity <status:basic> tuples open[ed]
|
|
36
|
-
string status = 8; // short display status (short description) */
|
|
37
|
-
presence?: ApiUserPresence;
|
|
38
|
-
profile?: UpdateUser2BodyProfile;
|
|
39
|
-
roles?: ApiObjectId[];
|
|
40
|
-
totpUrl?: string;
|
|
41
|
-
readonly updatedAt?: string;
|
|
42
|
-
readonly updatedBy?: ApiUserId;
|
|
43
|
-
username?: string;
|
|
44
|
-
};
|
|
@@ -1,44 +0,0 @@
|
|
|
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 { ApiLicenseUser } from './apiLicenseUser';
|
|
8
|
-
import type { ApiObjectId } from './apiObjectId';
|
|
9
|
-
import type { ApiPermission } from './apiPermission';
|
|
10
|
-
import type { ApiUserId } from './apiUserId';
|
|
11
|
-
import type { ApiUserPresence } from './apiUserPresence';
|
|
12
|
-
import type { UpdateUser2BodyProfile } from './updateUser2BodyProfile';
|
|
13
|
-
export type UpdateUser2Body = {
|
|
14
|
-
/** The "chat_name" field is used to store the name displayed externally on the platform.
|
|
15
|
-
For example, "chat_name" is shown when an agent connects to chats with clients. */
|
|
16
|
-
chatName?: string;
|
|
17
|
-
/** [optional] contact connected to this user */
|
|
18
|
-
contact?: ApiObjectId;
|
|
19
|
-
readonly createdAt?: string;
|
|
20
|
-
readonly createdBy?: ApiUserId;
|
|
21
|
-
readonly deletedAt?: string;
|
|
22
|
-
readonly deletedBy?: ApiUserId;
|
|
23
|
-
device?: ApiObjectId;
|
|
24
|
-
/** [editable] list of unique `regular` devices, attached to this user */
|
|
25
|
-
devices?: ApiObjectId[];
|
|
26
|
-
email?: string;
|
|
27
|
-
extension?: string;
|
|
28
|
-
/** When set to true, the user will be required to change their password on next login. */
|
|
29
|
-
forcePasswordChange?: boolean;
|
|
30
|
-
hotdesks?: ApiObjectId[];
|
|
31
|
-
license?: ApiLicenseUser[];
|
|
32
|
-
name?: string;
|
|
33
|
-
password?: string;
|
|
34
|
-
permissions?: ApiPermission[];
|
|
35
|
-
/** string presence = 7; // unique set of <user> presentity <status:basic> tuples open[ed]
|
|
36
|
-
string status = 8; // short display status (short description) */
|
|
37
|
-
presence?: ApiUserPresence;
|
|
38
|
-
profile?: UpdateUser2BodyProfile;
|
|
39
|
-
roles?: ApiObjectId[];
|
|
40
|
-
totpUrl?: string;
|
|
41
|
-
readonly updatedAt?: string;
|
|
42
|
-
readonly updatedBy?: ApiUserId;
|
|
43
|
-
username?: string;
|
|
44
|
-
};
|
|
@@ -1,44 +0,0 @@
|
|
|
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 { ApiLicenseUser } from './apiLicenseUser';
|
|
8
|
-
import type { ApiObjectId } from './apiObjectId';
|
|
9
|
-
import type { ApiPermission } from './apiPermission';
|
|
10
|
-
import type { ApiUserId } from './apiUserId';
|
|
11
|
-
import type { ApiUserPresence } from './apiUserPresence';
|
|
12
|
-
import type { UpdateUserUserBodyProfile } from './updateUserUserBodyProfile';
|
|
13
|
-
export type UpdateUserUserBody = {
|
|
14
|
-
/** The "chat_name" field is used to store the name displayed externally on the platform.
|
|
15
|
-
For example, "chat_name" is shown when an agent connects to chats with clients. */
|
|
16
|
-
chat_name?: string;
|
|
17
|
-
/** [optional] contact connected to this user */
|
|
18
|
-
contact?: ApiObjectId;
|
|
19
|
-
readonly created_at?: string;
|
|
20
|
-
readonly created_by?: ApiUserId;
|
|
21
|
-
readonly deleted_at?: string;
|
|
22
|
-
readonly deleted_by?: ApiUserId;
|
|
23
|
-
device?: ApiObjectId;
|
|
24
|
-
/** [editable] list of unique `regular` devices, attached to this user */
|
|
25
|
-
devices?: ApiObjectId[];
|
|
26
|
-
email?: string;
|
|
27
|
-
extension?: string;
|
|
28
|
-
/** When set to true, the user will be required to change their password on next login. */
|
|
29
|
-
force_password_change?: boolean;
|
|
30
|
-
hotdesks?: ApiObjectId[];
|
|
31
|
-
license?: ApiLicenseUser[];
|
|
32
|
-
name?: string;
|
|
33
|
-
password?: string;
|
|
34
|
-
permissions?: ApiPermission[];
|
|
35
|
-
/** string presence = 7; // unique set of <user> presentity <status:basic> tuples open[ed]
|
|
36
|
-
string status = 8; // short display status (short description) */
|
|
37
|
-
presence?: ApiUserPresence;
|
|
38
|
-
profile?: UpdateUserUserBodyProfile;
|
|
39
|
-
roles?: ApiObjectId[];
|
|
40
|
-
totp_url?: string;
|
|
41
|
-
readonly updated_at?: string;
|
|
42
|
-
readonly updated_by?: ApiUserId;
|
|
43
|
-
username?: string;
|
|
44
|
-
};
|
|
@@ -1,44 +0,0 @@
|
|
|
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 { ApiLicenseUser } from './apiLicenseUser';
|
|
8
|
-
import type { ApiObjectId } from './apiObjectId';
|
|
9
|
-
import type { ApiPermission } from './apiPermission';
|
|
10
|
-
import type { ApiUserId } from './apiUserId';
|
|
11
|
-
import type { ApiUserPresence } from './apiUserPresence';
|
|
12
|
-
import type { UpdateUserUserBodyProfile } from './updateUserUserBodyProfile';
|
|
13
|
-
export type UpdateUserUserBody = {
|
|
14
|
-
/** The "chat_name" field is used to store the name displayed externally on the platform.
|
|
15
|
-
For example, "chat_name" is shown when an agent connects to chats with clients. */
|
|
16
|
-
chat_name?: string;
|
|
17
|
-
/** [optional] contact connected to this user */
|
|
18
|
-
contact?: ApiObjectId;
|
|
19
|
-
readonly created_at?: string;
|
|
20
|
-
readonly created_by?: ApiUserId;
|
|
21
|
-
readonly deleted_at?: string;
|
|
22
|
-
readonly deleted_by?: ApiUserId;
|
|
23
|
-
device?: ApiObjectId;
|
|
24
|
-
/** [editable] list of unique `regular` devices, attached to this user */
|
|
25
|
-
devices?: ApiObjectId[];
|
|
26
|
-
email?: string;
|
|
27
|
-
extension?: string;
|
|
28
|
-
/** When set to true, the user will be required to change their password on next login. */
|
|
29
|
-
force_password_change?: boolean;
|
|
30
|
-
hotdesks?: ApiObjectId[];
|
|
31
|
-
license?: ApiLicenseUser[];
|
|
32
|
-
name?: string;
|
|
33
|
-
password?: string;
|
|
34
|
-
permissions?: ApiPermission[];
|
|
35
|
-
/** string presence = 7; // unique set of <user> presentity <status:basic> tuples open[ed]
|
|
36
|
-
string status = 8; // short display status (short description) */
|
|
37
|
-
presence?: ApiUserPresence;
|
|
38
|
-
profile?: UpdateUserUserBodyProfile;
|
|
39
|
-
roles?: ApiObjectId[];
|
|
40
|
-
totp_url?: string;
|
|
41
|
-
readonly updated_at?: string;
|
|
42
|
-
readonly updated_by?: ApiUserId;
|
|
43
|
-
username?: string;
|
|
44
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
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
|
-
* / ProviderCreateWhatsAppGateRequest connects a WhatsApp Business Account (WABA).
|
|
9
|
-
*/
|
|
10
|
-
export interface WebitelImProviderV1ProviderCreateWhatsAppGateRequest {
|
|
11
|
-
accessToken?: string;
|
|
12
|
-
metaAppId?: string;
|
|
13
|
-
name?: string;
|
|
14
|
-
phoneNumberId?: string;
|
|
15
|
-
wabaId?: string;
|
|
16
|
-
}
|