@webitel/api-services 26.12.2 → 26.12.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/api/clients/outboundResourceGroups/outboundResourceGroups.ts +14 -12
- package/src/gen/_models/addUserAccessTokenBody.ts +2 -0
- package/src/gen/_models/addUserAccessTokenParams.ts +3 -4
- package/src/gen/_models/apiTokenExpiryWarning.ts +13 -0
- package/src/gen/_models/apiUserAccessToken.ts +2 -0
- package/src/gen/_models/apiUserWarningId.ts +2 -0
- package/src/gen/_models/apiWarningData.ts +2 -0
- package/src/gen/_models/engineSearchHistoryCallRequest.ts +1 -0
- package/src/gen/_models/engineSystemSettingName.ts +0 -1
- package/src/gen/_models/gateServiceListGatesParams.ts +7 -0
- package/src/gen/_models/gateServiceListGatesTypesItem.ts +1 -0
- package/src/gen/_models/googleProtobufAny.ts +117 -0
- package/src/gen/_models/googleProtobufNullValue.ts +3 -8
- package/src/gen/_models/googleRpcStatus.ts +23 -0
- package/src/gen/_models/index.ts +7 -4
- package/src/gen/_models/protobufNullValue.ts +3 -8
- package/src/gen/_models/searchHistoryCallParams.ts +1 -0
- package/src/gen/_models/searchSystemSettingNameItem.ts +0 -1
- package/src/gen/_models/threadManagementGetCountersParams.ts +21 -0
- package/src/gen/_models/threadManagementGetCountersTypesItem.ts +16 -0
- package/src/gen/_models/updateUserAccessToken2Body.ts +2 -0
- package/src/gen/_models/updateUserAccessTokenBody.ts +2 -0
- package/src/gen/_models/updateUserAccessTokenUpdateBody.ts +2 -0
- package/src/gen/_models/webitelImApiGatewayV1Contact.ts +2 -0
- package/src/gen/_models/webitelImApiGatewayV1GetCountersResponse.ts +19 -0
- package/src/gen/_models/webitelImApiGatewayV1Thread.ts +7 -0
- package/src/gen/_models/webitelImApiGatewayV1ThreadChannel.ts +27 -0
- package/src/gen/_models/webitelImApiGatewayV1ThreadChannelType.ts +22 -0
- package/src/gen/_models/webitelImApiGatewayV1ThreadCounters.ts +16 -0
- package/src/gen/_models/webitelImApiProviderV1ProviderType.ts +4 -0
- package/src/gen/_models/webitelImProviderV1ProviderSummary.ts +6 -0
- package/src/gen/_models/webitelImProviderV1ProviderType.ts +3 -0
- package/src/gen-wire/_models/addUserAccessTokenBody.ts +2 -0
- package/src/gen-wire/_models/addUserAccessTokenParams.ts +3 -4
- package/src/gen-wire/_models/apiTokenExpiryWarning.ts +13 -0
- package/src/gen-wire/_models/apiUserAccessToken.ts +2 -0
- package/src/gen-wire/_models/apiUserWarningId.ts +2 -0
- package/src/gen-wire/_models/apiWarningData.ts +2 -0
- package/src/gen-wire/_models/engineSearchHistoryCallRequest.ts +1 -0
- package/src/gen-wire/_models/engineSystemSettingName.ts +0 -1
- package/src/gen-wire/_models/gateServiceListGatesParams.ts +7 -0
- package/src/gen-wire/_models/gateServiceListGatesTypesItem.ts +1 -0
- package/src/gen-wire/_models/googleProtobufAny.ts +117 -0
- package/src/gen-wire/_models/googleProtobufNullValue.ts +3 -8
- package/src/gen-wire/_models/googleRpcStatus.ts +23 -0
- package/src/gen-wire/_models/index.ts +7 -4
- package/src/gen-wire/_models/protobufNullValue.ts +3 -8
- package/src/gen-wire/_models/searchHistoryCallParams.ts +1 -0
- package/src/gen-wire/_models/searchSystemSettingNameItem.ts +0 -1
- package/src/gen-wire/_models/threadManagementGetCountersParams.ts +21 -0
- package/src/gen-wire/_models/threadManagementGetCountersTypesItem.ts +16 -0
- package/src/gen-wire/_models/updateUserAccessToken2Body.ts +2 -0
- package/src/gen-wire/_models/updateUserAccessTokenBody.ts +2 -0
- package/src/gen-wire/_models/updateUserAccessTokenUpdateBody.ts +2 -0
- package/src/gen-wire/_models/webitelImApiGatewayV1Contact.ts +2 -0
- package/src/gen-wire/_models/webitelImApiGatewayV1GetCountersResponse.ts +19 -0
- package/src/gen-wire/_models/webitelImApiGatewayV1Thread.ts +7 -0
- package/src/gen-wire/_models/webitelImApiGatewayV1ThreadChannel.ts +27 -0
- package/src/gen-wire/_models/webitelImApiGatewayV1ThreadChannelType.ts +22 -0
- package/src/gen-wire/_models/webitelImApiGatewayV1ThreadCounters.ts +16 -0
- package/src/gen-wire/_models/webitelImApiProviderV1ProviderType.ts +4 -0
- package/src/gen-wire/_models/webitelImProviderV1ProviderSummary.ts +6 -0
- package/src/gen-wire/_models/webitelImProviderV1ProviderType.ts +3 -0
- package/src/gen-wire/call-service/call-service.zod.ts +2 -0
- package/src/gen-wire/cases/cases.zod.ts +32 -7
- package/src/gen-wire/customer/customer.zod.ts +32 -7
- package/src/gen-wire/customers/customers.ts +0 -8
- package/src/gen-wire/customers/customers.zod.ts +0 -4
- package/src/gen-wire/index.ts +6 -7
- package/src/gen-wire/index.zod.ts +0 -1
- package/src/gen-wire/list-service/list-service.zod.ts +32 -7
- package/src/gen-wire/member-service/member-service.zod.ts +32 -7
- package/src/gen-wire/messages/messages.zod.ts +32 -7
- package/src/gen-wire/pdf-service/pdf-service.zod.ts +128 -28
- package/src/gen-wire/system-setting-service/system-setting-service.zod.ts +0 -8
- package/src/gen-wire/user-access-tokens/user-access-tokens.zod.ts +85 -5
- package/src/gen-wire/users/users.zod.ts +10 -0
- package/src/gen-wire/webitel-im-api-gateway-v1-contacts/webitel-im-api-gateway-v1-contacts.zod.ts +6 -0
- package/src/gen-wire/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.zod.ts +96 -0
- package/src/gen-wire/webitel-im-api-gateway-v1-threadmanagement/webitel-im-api-gateway-v1-threadmanagement.ts +21 -0
- package/src/gen-wire/webitel-im-api-gateway-v1-threadmanagement/webitel-im-api-gateway-v1-threadmanagement.zod.ts +449 -0
- package/src/gen-wire/webitel-im-api-gateway-v1-threadpreviewservice/webitel-im-api-gateway-v1-threadpreviewservice.zod.ts +18 -0
- package/src/gen-wire/webitel-im-api-gateway-v1-updates/webitel-im-api-gateway-v1-updates.zod.ts +150 -0
- package/src/gen-wire/webitel-im-provider-v1-gateservice/webitel-im-provider-v1-gateservice.zod.ts +18 -2
- package/src/gen-wire/webitel-im-provider-v1-providermessageservice/webitel-im-provider-v1-providermessageservice.zod.ts +14 -7
- package/src/validations/_shared/__tests__/duration.validations.spec.ts +45 -0
- package/src/validations/_shared/duration.validations.ts +20 -4
- package/types/.tsbuildinfo +1 -1
- package/types/gen/_models/addUserAccessTokenBody.d.ts +2 -0
- package/types/gen/_models/addUserAccessTokenParams.d.ts +3 -4
- package/types/gen/_models/apiTokenExpiryWarning.d.ts +12 -0
- package/types/gen/_models/apiUserAccessToken.d.ts +2 -0
- package/types/gen/_models/apiUserWarningId.d.ts +2 -0
- package/types/gen/_models/apiWarningData.d.ts +2 -0
- package/types/gen/_models/engineSearchHistoryCallRequest.d.ts +1 -0
- package/types/gen/_models/engineSystemSettingName.d.ts +0 -1
- package/types/gen/_models/gateServiceListGatesParams.d.ts +7 -0
- package/types/gen/_models/gateServiceListGatesTypesItem.d.ts +1 -0
- package/types/gen/_models/googleProtobufAny.d.ts +117 -0
- package/types/gen/_models/googleProtobufNullValue.d.ts +3 -8
- package/types/gen/_models/googleRpcStatus.d.ts +23 -0
- package/types/gen/_models/index.d.ts +7 -4
- package/types/gen/_models/protobufNullValue.d.ts +3 -8
- package/types/gen/_models/searchHistoryCallParams.d.ts +1 -0
- package/types/gen/_models/searchSystemSettingNameItem.d.ts +0 -1
- package/types/gen/_models/threadManagementGetCountersParams.d.ts +20 -0
- package/types/gen/_models/threadManagementGetCountersTypesItem.d.ts +13 -0
- package/types/gen/_models/updateUserAccessToken2Body.d.ts +2 -0
- package/types/gen/_models/updateUserAccessTokenBody.d.ts +2 -0
- package/types/gen/_models/updateUserAccessTokenUpdateBody.d.ts +2 -0
- package/types/gen/_models/webitelImApiGatewayV1Contact.d.ts +2 -0
- package/types/gen/_models/webitelImApiGatewayV1GetCountersResponse.d.ts +18 -0
- package/types/gen/_models/webitelImApiGatewayV1Thread.d.ts +7 -0
- package/types/gen/_models/webitelImApiGatewayV1ThreadChannel.d.ts +26 -0
- package/types/gen/_models/webitelImApiGatewayV1ThreadChannelType.d.ts +19 -0
- package/types/gen/_models/webitelImApiGatewayV1ThreadCounters.d.ts +15 -0
- package/types/gen/_models/webitelImApiProviderV1ProviderType.d.ts +4 -0
- package/types/gen/_models/webitelImProviderV1ProviderSummary.d.ts +6 -0
- package/types/gen/_models/webitelImProviderV1ProviderType.d.ts +3 -0
- package/types/gen-wire/_models/addUserAccessTokenBody.d.ts +2 -0
- package/types/gen-wire/_models/addUserAccessTokenParams.d.ts +3 -4
- package/types/gen-wire/_models/apiTokenExpiryWarning.d.ts +12 -0
- package/types/gen-wire/_models/apiUserAccessToken.d.ts +2 -0
- package/types/gen-wire/_models/apiUserWarningId.d.ts +2 -0
- package/types/gen-wire/_models/apiWarningData.d.ts +2 -0
- package/types/gen-wire/_models/engineSearchHistoryCallRequest.d.ts +1 -0
- package/types/gen-wire/_models/engineSystemSettingName.d.ts +0 -1
- package/types/gen-wire/_models/gateServiceListGatesParams.d.ts +7 -0
- package/types/gen-wire/_models/gateServiceListGatesTypesItem.d.ts +1 -0
- package/types/gen-wire/_models/googleProtobufAny.d.ts +117 -0
- package/types/gen-wire/_models/googleProtobufNullValue.d.ts +3 -8
- package/types/gen-wire/_models/googleRpcStatus.d.ts +23 -0
- package/types/gen-wire/_models/index.d.ts +7 -4
- package/types/gen-wire/_models/protobufNullValue.d.ts +3 -8
- package/types/gen-wire/_models/searchHistoryCallParams.d.ts +1 -0
- package/types/gen-wire/_models/searchSystemSettingNameItem.d.ts +0 -1
- package/types/gen-wire/_models/threadManagementGetCountersParams.d.ts +20 -0
- package/types/gen-wire/_models/threadManagementGetCountersTypesItem.d.ts +13 -0
- package/types/gen-wire/_models/updateUserAccessToken2Body.d.ts +2 -0
- package/types/gen-wire/_models/updateUserAccessTokenBody.d.ts +2 -0
- package/types/gen-wire/_models/updateUserAccessTokenUpdateBody.d.ts +2 -0
- package/types/gen-wire/_models/webitelImApiGatewayV1Contact.d.ts +2 -0
- package/types/gen-wire/_models/webitelImApiGatewayV1GetCountersResponse.d.ts +18 -0
- package/types/gen-wire/_models/webitelImApiGatewayV1Thread.d.ts +7 -0
- package/types/gen-wire/_models/webitelImApiGatewayV1ThreadChannel.d.ts +26 -0
- package/types/gen-wire/_models/webitelImApiGatewayV1ThreadChannelType.d.ts +19 -0
- package/types/gen-wire/_models/webitelImApiGatewayV1ThreadCounters.d.ts +15 -0
- package/types/gen-wire/_models/webitelImApiProviderV1ProviderType.d.ts +4 -0
- package/types/gen-wire/_models/webitelImProviderV1ProviderSummary.d.ts +6 -0
- package/types/gen-wire/_models/webitelImProviderV1ProviderType.d.ts +3 -0
- package/types/gen-wire/call-service/call-service.zod.d.ts +2 -0
- package/types/gen-wire/customers/customers.d.ts +1 -3
- package/types/gen-wire/customers/customers.zod.d.ts +0 -3
- package/types/gen-wire/index.d.ts +2 -4
- package/types/gen-wire/index.zod.d.ts +0 -1
- package/types/gen-wire/system-setting-service/system-setting-service.zod.d.ts +0 -8
- package/types/gen-wire/user-access-tokens/user-access-tokens.zod.d.ts +46 -0
- package/types/gen-wire/users/users.zod.d.ts +8 -0
- package/types/gen-wire/webitel-im-api-gateway-v1-contacts/webitel-im-api-gateway-v1-contacts.zod.d.ts +1 -0
- package/types/gen-wire/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.zod.d.ts +16 -0
- package/types/gen-wire/webitel-im-api-gateway-v1-threadmanagement/webitel-im-api-gateway-v1-threadmanagement.d.ts +3 -1
- package/types/gen-wire/webitel-im-api-gateway-v1-threadmanagement/webitel-im-api-gateway-v1-threadmanagement.zod.d.ts +124 -0
- package/types/gen-wire/webitel-im-api-gateway-v1-threadpreviewservice/webitel-im-api-gateway-v1-threadpreviewservice.zod.d.ts +3 -0
- package/types/gen-wire/webitel-im-api-gateway-v1-updates/webitel-im-api-gateway-v1-updates.zod.d.ts +33 -0
- package/types/gen-wire/webitel-im-provider-v1-gateservice/webitel-im-provider-v1-gateservice.zod.d.ts +4 -0
- package/types/gen-wire/webitel-im-provider-v1-providermessageservice/webitel-im-provider-v1-providermessageservice.zod.d.ts +7 -0
- package/types/validations/_shared/duration.validations.d.ts +4 -0
- package/src/gen/_models/apiServerInfoResponse.ts +0 -10
- package/src/gen/_models/engineSchemaVersion.ts +0 -17
- package/src/gen/_models/engineSearchSchemaVersionResponse.ts +0 -12
- package/src/gen/_models/searchSchemaVersionParams.ts +0 -14
- package/src/gen-wire/_models/apiServerInfoResponse.ts +0 -10
- package/src/gen-wire/_models/engineSchemaVersion.ts +0 -16
- package/src/gen-wire/_models/engineSearchSchemaVersionResponse.ts +0 -12
- package/src/gen-wire/_models/searchSchemaVersionParams.ts +0 -14
- package/src/gen-wire/schema-version-service/schema-version-service.ts +0 -46
- package/src/gen-wire/schema-version-service/schema-version-service.zod.ts +0 -40
- package/types/gen/_models/apiServerInfoResponse.d.ts +0 -9
- package/types/gen/_models/engineSchemaVersion.d.ts +0 -16
- package/types/gen/_models/engineSearchSchemaVersionResponse.d.ts +0 -11
- package/types/gen/_models/searchSchemaVersionParams.d.ts +0 -13
- package/types/gen-wire/_models/apiServerInfoResponse.d.ts +0 -9
- package/types/gen-wire/_models/engineSchemaVersion.d.ts +0 -15
- package/types/gen-wire/_models/engineSearchSchemaVersionResponse.d.ts +0 -11
- package/types/gen-wire/_models/searchSchemaVersionParams.d.ts +0 -13
- package/types/gen-wire/schema-version-service/schema-version-service.d.ts +0 -13
- package/types/gen-wire/schema-version-service/schema-version-service.zod.d.ts +0 -31
|
@@ -13,7 +13,9 @@ export interface ApiUserAccessToken {
|
|
|
13
13
|
created_by?: ApiObjectId;
|
|
14
14
|
deleted_at?: string;
|
|
15
15
|
deleted_by?: ApiObjectId;
|
|
16
|
+
expires_at?: string;
|
|
16
17
|
id?: string;
|
|
18
|
+
notify_users?: ApiObjectId[];
|
|
17
19
|
token?: string;
|
|
18
20
|
updated_at?: string;
|
|
19
21
|
updated_by?: ApiObjectId;
|
|
@@ -10,4 +10,6 @@ export declare const ApiUserWarningId: {
|
|
|
10
10
|
readonly PasswordExpiresSoon: "password_expires_soon";
|
|
11
11
|
readonly LicenseExpiresSoon: "license_expires_soon";
|
|
12
12
|
readonly LicenseExpired: "license_expired";
|
|
13
|
+
readonly TokenExpiresSoon: "token_expires_soon";
|
|
14
|
+
readonly TokenExpired: "token_expired";
|
|
13
15
|
};
|
|
@@ -6,7 +6,9 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import type { ApiLicenseExpiryWarning } from './apiLicenseExpiryWarning';
|
|
8
8
|
import type { ApiPasswordExpiryWarning } from './apiPasswordExpiryWarning';
|
|
9
|
+
import type { ApiTokenExpiryWarning } from './apiTokenExpiryWarning';
|
|
9
10
|
export interface ApiWarningData {
|
|
10
11
|
license_expiry?: ApiLicenseExpiryWarning;
|
|
11
12
|
password_expiry?: ApiPasswordExpiryWarning;
|
|
13
|
+
token_expiry?: ApiTokenExpiryWarning;
|
|
12
14
|
}
|
|
@@ -10,7 +10,6 @@ export declare const EngineSystemSettingName: {
|
|
|
10
10
|
readonly EnableOmnichannel: "enable_omnichannel";
|
|
11
11
|
readonly MemberChunkSize: "member_chunk_size";
|
|
12
12
|
readonly AmdCancelNotHuman: "amd_cancel_not_human";
|
|
13
|
-
readonly SchemeVersionLimit: "scheme_version_limit";
|
|
14
13
|
readonly Enable2fa: "enable_2fa";
|
|
15
14
|
readonly ExportSettings: "export_settings";
|
|
16
15
|
readonly SearchNumberLength: "search_number_length";
|
|
@@ -17,6 +17,8 @@ export type GateServiceListGatesParams = {
|
|
|
17
17
|
size?: number;
|
|
18
18
|
/**
|
|
19
19
|
* Filter by channel type (Telegram, Facebook, etc.)
|
|
20
|
+
*
|
|
21
|
+
* - PROVIDER_TYPE_VIBER_BM: Viber Business Messages (Infobip).
|
|
20
22
|
*/
|
|
21
23
|
types?: GateServiceListGatesTypesItem[];
|
|
22
24
|
/**
|
|
@@ -31,4 +33,9 @@ export type GateServiceListGatesParams = {
|
|
|
31
33
|
* Search query for name or metadata
|
|
32
34
|
*/
|
|
33
35
|
q?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Domain to list gates of. Required for service (mTLS) callers, which carry
|
|
38
|
+
* no user identity; ignored for user callers, whose own domain is used.
|
|
39
|
+
*/
|
|
40
|
+
domain_id?: string;
|
|
34
41
|
};
|
|
@@ -15,4 +15,5 @@ export declare const GateServiceListGatesTypesItem: {
|
|
|
15
15
|
readonly ProviderTypeInstagram: "PROVIDER_TYPE_INSTAGRAM";
|
|
16
16
|
readonly ProviderTypeWhatsapp: "PROVIDER_TYPE_WHATSAPP";
|
|
17
17
|
readonly ProviderTypeCustom: "PROVIDER_TYPE_CUSTOM";
|
|
18
|
+
readonly ProviderTypeViberBm: "PROVIDER_TYPE_VIBER_BM";
|
|
18
19
|
};
|
|
@@ -4,6 +4,123 @@
|
|
|
4
4
|
* Webitel API
|
|
5
5
|
* OpenAPI spec version: 24.04.0
|
|
6
6
|
*/
|
|
7
|
+
/**
|
|
8
|
+
* `Any` contains an arbitrary serialized protocol buffer message along with a
|
|
9
|
+
* URL that describes the type of the serialized message.
|
|
10
|
+
*
|
|
11
|
+
* Protobuf library provides support to pack/unpack Any values in the form
|
|
12
|
+
* of utility functions or additional generated methods of the Any type.
|
|
13
|
+
*
|
|
14
|
+
* Example 1: Pack and unpack a message in C++.
|
|
15
|
+
*
|
|
16
|
+
* Foo foo = ...;
|
|
17
|
+
* Any any;
|
|
18
|
+
* any.PackFrom(foo);
|
|
19
|
+
* ...
|
|
20
|
+
* if (any.UnpackTo(&foo)) {
|
|
21
|
+
* ...
|
|
22
|
+
* }
|
|
23
|
+
*
|
|
24
|
+
* Example 2: Pack and unpack a message in Java.
|
|
25
|
+
*
|
|
26
|
+
* Foo foo = ...;
|
|
27
|
+
* Any any = Any.pack(foo);
|
|
28
|
+
* ...
|
|
29
|
+
* if (any.is(Foo.class)) {
|
|
30
|
+
* foo = any.unpack(Foo.class);
|
|
31
|
+
* }
|
|
32
|
+
* // or ...
|
|
33
|
+
* if (any.isSameTypeAs(Foo.getDefaultInstance())) {
|
|
34
|
+
* foo = any.unpack(Foo.getDefaultInstance());
|
|
35
|
+
* }
|
|
36
|
+
*
|
|
37
|
+
* Example 3: Pack and unpack a message in Python.
|
|
38
|
+
*
|
|
39
|
+
* foo = Foo(...)
|
|
40
|
+
* any = Any()
|
|
41
|
+
* any.Pack(foo)
|
|
42
|
+
* ...
|
|
43
|
+
* if any.Is(Foo.DESCRIPTOR):
|
|
44
|
+
* any.Unpack(foo)
|
|
45
|
+
* ...
|
|
46
|
+
*
|
|
47
|
+
* Example 4: Pack and unpack a message in Go
|
|
48
|
+
*
|
|
49
|
+
* foo := &pb.Foo{...}
|
|
50
|
+
* any, err := anypb.New(foo)
|
|
51
|
+
* if err != nil {
|
|
52
|
+
* ...
|
|
53
|
+
* }
|
|
54
|
+
* ...
|
|
55
|
+
* foo := &pb.Foo{}
|
|
56
|
+
* if err := any.UnmarshalTo(foo); err != nil {
|
|
57
|
+
* ...
|
|
58
|
+
* }
|
|
59
|
+
*
|
|
60
|
+
* The pack methods provided by protobuf library will by default use
|
|
61
|
+
* 'type.googleapis.com/full.type.name' as the type URL and the unpack
|
|
62
|
+
* methods only use the fully qualified type name after the last '/'
|
|
63
|
+
* in the type URL, for example "foo.bar.com/x/y.z" will yield type
|
|
64
|
+
* name "y.z".
|
|
65
|
+
*
|
|
66
|
+
* JSON
|
|
67
|
+
* ====
|
|
68
|
+
* The JSON representation of an `Any` value uses the regular
|
|
69
|
+
* representation of the deserialized, embedded message, with an
|
|
70
|
+
* additional field `@type` which contains the type URL. Example:
|
|
71
|
+
*
|
|
72
|
+
* package google.profile;
|
|
73
|
+
* message Person {
|
|
74
|
+
* string first_name = 1;
|
|
75
|
+
* string last_name = 2;
|
|
76
|
+
* }
|
|
77
|
+
*
|
|
78
|
+
* {
|
|
79
|
+
* "@type": "type.googleapis.com/google.profile.Person",
|
|
80
|
+
* "firstName": <string>,
|
|
81
|
+
* "lastName": <string>
|
|
82
|
+
* }
|
|
83
|
+
*
|
|
84
|
+
* If the embedded message type is well-known and has a custom JSON
|
|
85
|
+
* representation, that representation will be embedded adding a field
|
|
86
|
+
* `value` which holds the custom JSON in addition to the `@type`
|
|
87
|
+
* field. Example (for message [google.protobuf.Duration][]):
|
|
88
|
+
*
|
|
89
|
+
* {
|
|
90
|
+
* "@type": "type.googleapis.com/google.protobuf.Duration",
|
|
91
|
+
* "value": "1.212s"
|
|
92
|
+
* }
|
|
93
|
+
*/
|
|
7
94
|
export interface GoogleProtobufAny {
|
|
95
|
+
/**
|
|
96
|
+
* A URL/resource name that uniquely identifies the type of the serialized
|
|
97
|
+
* protocol buffer message. This string must contain at least
|
|
98
|
+
* one "/" character. The last segment of the URL's path must represent
|
|
99
|
+
* the fully qualified name of the type (as in
|
|
100
|
+
* `path/google.protobuf.Duration`). The name should be in a canonical form
|
|
101
|
+
* (e.g., leading "." is not accepted).
|
|
102
|
+
*
|
|
103
|
+
* In practice, teams usually precompile into the binary all types that they
|
|
104
|
+
* expect it to use in the context of Any. However, for URLs which use the
|
|
105
|
+
* scheme `http`, `https`, or no scheme, one can optionally set up a type
|
|
106
|
+
* server that maps type URLs to message definitions as follows:
|
|
107
|
+
*
|
|
108
|
+
* * If no scheme is provided, `https` is assumed.
|
|
109
|
+
* * An HTTP GET on the URL must yield a [google.protobuf.Type][]
|
|
110
|
+
* value in binary format, or produce an error.
|
|
111
|
+
* * Applications are allowed to cache lookup results based on the
|
|
112
|
+
* URL, or have them precompiled into a binary to avoid any
|
|
113
|
+
* lookup. Therefore, binary compatibility needs to be preserved
|
|
114
|
+
* on changes to types. (Use versioned type names to manage
|
|
115
|
+
* breaking changes.)
|
|
116
|
+
*
|
|
117
|
+
* Note: this functionality is not currently available in the official
|
|
118
|
+
* protobuf release, and it is not used for type URLs beginning with
|
|
119
|
+
* type.googleapis.com. As of May 2023, there are no widely used type server
|
|
120
|
+
* implementations and no plans to implement one.
|
|
121
|
+
*
|
|
122
|
+
* Schemes other than `http`, `https` (or the empty scheme) might be
|
|
123
|
+
* used with implementation specific semantics.
|
|
124
|
+
*/
|
|
8
125
|
'@type'?: string;
|
|
9
126
|
}
|
|
@@ -5,15 +5,10 @@
|
|
|
5
5
|
* OpenAPI spec version: 24.04.0
|
|
6
6
|
*/
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* `NullValue` is a singleton enumeration to represent the null value for the
|
|
9
|
+
* `Value` type union.
|
|
9
10
|
*
|
|
10
|
-
* `NullValue` is
|
|
11
|
-
* the null value for the `Value` type union.
|
|
12
|
-
*
|
|
13
|
-
* A field of type `NullValue` with any value other than `0` is considered
|
|
14
|
-
* invalid. Most ProtoJSON serializers will emit a Value with a `null_value` set
|
|
15
|
-
* as a JSON `null` regardless of the integer value, and so will round trip to
|
|
16
|
-
* a `0` value.
|
|
11
|
+
* The JSON representation for `NullValue` is JSON `null`.
|
|
17
12
|
*
|
|
18
13
|
* - NULL_VALUE: Null value.
|
|
19
14
|
*/
|
|
@@ -5,8 +5,31 @@
|
|
|
5
5
|
* OpenAPI spec version: 24.04.0
|
|
6
6
|
*/
|
|
7
7
|
import type { GoogleProtobufAny } from './googleProtobufAny';
|
|
8
|
+
/**
|
|
9
|
+
* The `Status` type defines a logical error model that is suitable for
|
|
10
|
+
* different programming environments, including REST APIs and RPC APIs. It is
|
|
11
|
+
* used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
12
|
+
* three pieces of data: error code, error message, and error details.
|
|
13
|
+
*
|
|
14
|
+
* You can find out more about this error model and how to work with it in the
|
|
15
|
+
* [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
16
|
+
*/
|
|
8
17
|
export interface GoogleRpcStatus {
|
|
18
|
+
/**
|
|
19
|
+
* The status code, which should be an enum value of
|
|
20
|
+
* [google.rpc.Code][google.rpc.Code].
|
|
21
|
+
*/
|
|
9
22
|
code?: number;
|
|
23
|
+
/**
|
|
24
|
+
* A list of messages that carry the error details. There is a common set of
|
|
25
|
+
* message types for APIs to use.
|
|
26
|
+
*/
|
|
10
27
|
details?: GoogleProtobufAny[];
|
|
28
|
+
/**
|
|
29
|
+
* A developer-facing error message, which should be in English. Any
|
|
30
|
+
* user-facing error message should be localized and sent in the
|
|
31
|
+
* [google.rpc.Status.details][google.rpc.Status.details] field, or localized
|
|
32
|
+
* by the client.
|
|
33
|
+
*/
|
|
11
34
|
message?: string;
|
|
12
35
|
}
|
|
@@ -113,11 +113,11 @@ export * from './apiSearchPermissionResponse';
|
|
|
113
113
|
export * from './apiSearchRolesResponse';
|
|
114
114
|
export * from './apiSearchUsersRequest';
|
|
115
115
|
export * from './apiSearchUsersResponse';
|
|
116
|
-
export * from './apiServerInfoResponse';
|
|
117
116
|
export * from './apiSetStatusRequest';
|
|
118
117
|
export * from './apiSystemObjects';
|
|
119
118
|
export * from './apiTfaUrl';
|
|
120
119
|
export * from './apiToggleDefaultAccessResponse';
|
|
120
|
+
export * from './apiTokenExpiryWarning';
|
|
121
121
|
export * from './apiUpdateAccessResponseV1';
|
|
122
122
|
export * from './apiUpdateClassResponse';
|
|
123
123
|
export * from './apiUpdateCustomerResponse';
|
|
@@ -715,11 +715,9 @@ export * from './engineSchemaTag';
|
|
|
715
715
|
export * from './engineSchemaVariable';
|
|
716
716
|
export * from './engineSchemaVariablesServicePatchSchemaVariableBody';
|
|
717
717
|
export * from './engineSchemaVariablesServiceUpdateSchemaVariableBody';
|
|
718
|
-
export * from './engineSchemaVersion';
|
|
719
718
|
export * from './engineSearchHistoryCallRequest';
|
|
720
719
|
export * from './engineSearchHistoryCallRequestVariablesString';
|
|
721
720
|
export * from './engineSearchOnlineSkillsResponse';
|
|
722
|
-
export * from './engineSearchSchemaVersionResponse';
|
|
723
721
|
export * from './engineSendPushResponse';
|
|
724
722
|
export * from './engineSetQueuesGlobalStateRequest';
|
|
725
723
|
export * from './engineSetQueuesGlobalStateResponse';
|
|
@@ -1126,7 +1124,6 @@ export * from './searchRoutingSchemaTagsTypeItem';
|
|
|
1126
1124
|
export * from './searchRoutingSchemaTypeItem';
|
|
1127
1125
|
export * from './searchRoutingVariableParams';
|
|
1128
1126
|
export * from './searchSchemaVariableParams';
|
|
1129
|
-
export * from './searchSchemaVersionParams';
|
|
1130
1127
|
export * from './searchScreenRecordingsByAgentChannel';
|
|
1131
1128
|
export * from './searchScreenRecordingsByAgentParams';
|
|
1132
1129
|
export * from './searchScreenRecordingsByAgentType';
|
|
@@ -1250,6 +1247,8 @@ export * from './storageUploadFileResponse';
|
|
|
1250
1247
|
export * from './storageUploadFileUrlResponse';
|
|
1251
1248
|
export * from './storageUploadStatusCode';
|
|
1252
1249
|
export * from './suggestTagsParams';
|
|
1250
|
+
export * from './threadManagementGetCountersParams';
|
|
1251
|
+
export * from './threadManagementGetCountersTypesItem';
|
|
1253
1252
|
export * from './threadManagementGetParams';
|
|
1254
1253
|
export * from './threadManagementRemoveMemberParams';
|
|
1255
1254
|
export * from './threadManagementSearchLeftParams';
|
|
@@ -1642,6 +1641,7 @@ export * from './webitelImApiGatewayV1ForwardOrigin';
|
|
|
1642
1641
|
export * from './webitelImApiGatewayV1ForwardOriginInput';
|
|
1643
1642
|
export * from './webitelImApiGatewayV1ForwardOriginKind';
|
|
1644
1643
|
export * from './webitelImApiGatewayV1GetContactSettingsResponse';
|
|
1644
|
+
export * from './webitelImApiGatewayV1GetCountersResponse';
|
|
1645
1645
|
export * from './webitelImApiGatewayV1GetMessageRevisionsResponse';
|
|
1646
1646
|
export * from './webitelImApiGatewayV1GetThreadPermissionsResponse';
|
|
1647
1647
|
export * from './webitelImApiGatewayV1GetUnreadSummaryResponse';
|
|
@@ -1722,6 +1722,9 @@ export * from './webitelImApiGatewayV1System';
|
|
|
1722
1722
|
export * from './webitelImApiGatewayV1SystemMetadata';
|
|
1723
1723
|
export * from './webitelImApiGatewayV1TakeOverFromBotResponse';
|
|
1724
1724
|
export * from './webitelImApiGatewayV1Thread';
|
|
1725
|
+
export * from './webitelImApiGatewayV1ThreadChannel';
|
|
1726
|
+
export * from './webitelImApiGatewayV1ThreadChannelType';
|
|
1727
|
+
export * from './webitelImApiGatewayV1ThreadCounters';
|
|
1725
1728
|
export * from './webitelImApiGatewayV1ThreadKind';
|
|
1726
1729
|
export * from './webitelImApiGatewayV1ThreadManagementAddMemberBody';
|
|
1727
1730
|
export * from './webitelImApiGatewayV1ThreadManagementCreateRequest';
|
|
@@ -5,15 +5,10 @@
|
|
|
5
5
|
* OpenAPI spec version: 24.04.0
|
|
6
6
|
*/
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* `NullValue` is a singleton enumeration to represent the null value for the
|
|
9
|
+
* `Value` type union.
|
|
9
10
|
*
|
|
10
|
-
* `NullValue` is
|
|
11
|
-
* the null value for the `Value` type union.
|
|
12
|
-
*
|
|
13
|
-
* A field of type `NullValue` with any value other than `0` is considered
|
|
14
|
-
* invalid. Most ProtoJSON serializers will emit a Value with a `null_value` set
|
|
15
|
-
* as a JSON `null` regardless of the integer value, and so will round trip to
|
|
16
|
-
* a `0` value.
|
|
11
|
+
* The JSON representation for `NullValue` is JSON `null`.
|
|
17
12
|
*
|
|
18
13
|
* - NULL_VALUE: Null value.
|
|
19
14
|
*/
|
|
@@ -10,7 +10,6 @@ export declare const SearchSystemSettingNameItem: {
|
|
|
10
10
|
readonly EnableOmnichannel: "enable_omnichannel";
|
|
11
11
|
readonly MemberChunkSize: "member_chunk_size";
|
|
12
12
|
readonly AmdCancelNotHuman: "amd_cancel_not_human";
|
|
13
|
-
readonly SchemeVersionLimit: "scheme_version_limit";
|
|
14
13
|
readonly Enable2fa: "enable_2fa";
|
|
15
14
|
readonly ExportSettings: "export_settings";
|
|
16
15
|
readonly SearchNumberLength: "search_number_length";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
import type { ThreadManagementGetCountersTypesItem } from './threadManagementGetCountersTypesItem';
|
|
8
|
+
export type ThreadManagementGetCountersParams = {
|
|
9
|
+
/**
|
|
10
|
+
* Count only threads of these kinds. Empty counts every kind.
|
|
11
|
+
* UNKNOWN (0) is not allowed.
|
|
12
|
+
*
|
|
13
|
+
* - UNKNOWN: Unknown or unspecified thread type.
|
|
14
|
+
* Must not be used in valid requests.
|
|
15
|
+
* - DIRECT: One-to-one private thread between two users.
|
|
16
|
+
* - GROUP: Group thread with multiple members.
|
|
17
|
+
* - CHANNEL: Channel-style thread (broadcast or topic based communication).
|
|
18
|
+
*/
|
|
19
|
+
types?: ThreadManagementGetCountersTypesItem[];
|
|
20
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
export type ThreadManagementGetCountersTypesItem = (typeof ThreadManagementGetCountersTypesItem)[keyof typeof ThreadManagementGetCountersTypesItem];
|
|
8
|
+
export declare const ThreadManagementGetCountersTypesItem: {
|
|
9
|
+
readonly Unknown: "UNKNOWN";
|
|
10
|
+
readonly Direct: "DIRECT";
|
|
11
|
+
readonly Group: "GROUP";
|
|
12
|
+
readonly Channel: "CHANNEL";
|
|
13
|
+
};
|
|
@@ -24,6 +24,8 @@ export interface WebitelImApiGatewayV1Contact {
|
|
|
24
24
|
metadata?: WebitelImApiGatewayV1ContactMetadata;
|
|
25
25
|
/** Display name of the contact. */
|
|
26
26
|
name?: string;
|
|
27
|
+
/** Phone number in E.164 format (e.g. +380671234567). Empty if unknown. */
|
|
28
|
+
phone?: string;
|
|
27
29
|
/** Associated internal system subject/identifier. */
|
|
28
30
|
sub?: string;
|
|
29
31
|
/** Channel type (e.g., 'webchat', 'telegram'). */
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
import type { WebitelImApiGatewayV1ThreadCounters } from './webitelImApiGatewayV1ThreadCounters';
|
|
8
|
+
/**
|
|
9
|
+
* GetCountersResponse carries the caller's counters per chat folder.
|
|
10
|
+
*/
|
|
11
|
+
export interface WebitelImApiGatewayV1GetCountersResponse {
|
|
12
|
+
/** Chats the caller has not snoozed. */
|
|
13
|
+
active?: WebitelImApiGatewayV1ThreadCounters;
|
|
14
|
+
/** Every chat the caller is an active member of: active plus snoozed. */
|
|
15
|
+
all?: WebitelImApiGatewayV1ThreadCounters;
|
|
16
|
+
/** Chats the caller has snoozed. */
|
|
17
|
+
snoozed?: WebitelImApiGatewayV1ThreadCounters;
|
|
18
|
+
}
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
import type { WebitelImApiGatewayV1ChatTag } from './webitelImApiGatewayV1ChatTag';
|
|
8
8
|
import type { WebitelImApiGatewayV1HistoryMessage } from './webitelImApiGatewayV1HistoryMessage';
|
|
9
9
|
import type { WebitelImApiGatewayV1MemberReadState } from './webitelImApiGatewayV1MemberReadState';
|
|
10
|
+
import type { WebitelImApiGatewayV1ThreadChannel } from './webitelImApiGatewayV1ThreadChannel';
|
|
10
11
|
import type { WebitelImApiGatewayV1ThreadKind } from './webitelImApiGatewayV1ThreadKind';
|
|
11
12
|
import type { WebitelImApiGatewayV1ThreadMember } from './webitelImApiGatewayV1ThreadMember';
|
|
12
13
|
import type { WebitelImApiGatewayV1ThreadSettings } from './webitelImApiGatewayV1ThreadSettings';
|
|
@@ -17,6 +18,12 @@ import type { WebitelImApiGatewayV1ThreadVariables } from './webitelImApiGateway
|
|
|
17
18
|
export interface WebitelImApiGatewayV1Thread {
|
|
18
19
|
/** The caller's own tags on this thread. Empty if the caller hasn't tagged it. */
|
|
19
20
|
tags?: WebitelImApiGatewayV1ChatTag[];
|
|
21
|
+
/**
|
|
22
|
+
* Channel the external participant reaches the thread through: a provider
|
|
23
|
+
* gate (WhatsApp, Facebook, Viber BM, custom) or a portal / widget
|
|
24
|
+
* application. Unset when it cannot be resolved (e.g. an internal thread).
|
|
25
|
+
*/
|
|
26
|
+
channel?: WebitelImApiGatewayV1ThreadChannel;
|
|
20
27
|
/** Thread creation timestamp (Unix time, milliseconds). */
|
|
21
28
|
created_at?: string;
|
|
22
29
|
/**
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
import type { WebitelImApiGatewayV1ThreadChannelType } from './webitelImApiGatewayV1ThreadChannelType';
|
|
8
|
+
/**
|
|
9
|
+
* ThreadChannel describes the channel a thread came in through.
|
|
10
|
+
*/
|
|
11
|
+
export interface WebitelImApiGatewayV1ThreadChannel {
|
|
12
|
+
/**
|
|
13
|
+
* Public address of the channel: the WhatsApp business phone number, the
|
|
14
|
+
* Facebook page name, the Viber BM sender name. Empty for portal / widget.
|
|
15
|
+
*/
|
|
16
|
+
address?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Source identifier: the gate id for provider channels, the application
|
|
19
|
+
* (client) id for portal / widget channels.
|
|
20
|
+
*/
|
|
21
|
+
id?: string;
|
|
22
|
+
/** Display name: the gate name or the application name. */
|
|
23
|
+
name?: string;
|
|
24
|
+
/** Channel kind; drives the logo shown to the operator. */
|
|
25
|
+
type?: WebitelImApiGatewayV1ThreadChannelType;
|
|
26
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* ThreadChannelType is the fixed set of channel kinds a thread can come through.
|
|
9
|
+
*/
|
|
10
|
+
export type WebitelImApiGatewayV1ThreadChannelType = (typeof WebitelImApiGatewayV1ThreadChannelType)[keyof typeof WebitelImApiGatewayV1ThreadChannelType];
|
|
11
|
+
export declare const WebitelImApiGatewayV1ThreadChannelType: {
|
|
12
|
+
readonly ThreadChannelTypeUnspecified: "THREAD_CHANNEL_TYPE_UNSPECIFIED";
|
|
13
|
+
readonly ThreadChannelTypeWhatsapp: "THREAD_CHANNEL_TYPE_WHATSAPP";
|
|
14
|
+
readonly ThreadChannelTypeFacebook: "THREAD_CHANNEL_TYPE_FACEBOOK";
|
|
15
|
+
readonly ThreadChannelTypeViberBm: "THREAD_CHANNEL_TYPE_VIBER_BM";
|
|
16
|
+
readonly ThreadChannelTypePortal: "THREAD_CHANNEL_TYPE_PORTAL";
|
|
17
|
+
readonly ThreadChannelTypeWidget: "THREAD_CHANNEL_TYPE_WIDGET";
|
|
18
|
+
readonly ThreadChannelTypeCustom: "THREAD_CHANNEL_TYPE_CUSTOM";
|
|
19
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webitel API
|
|
5
|
+
* OpenAPI spec version: 24.04.0
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* ThreadCounters is the size of one chat folder.
|
|
9
|
+
*/
|
|
10
|
+
export interface WebitelImApiGatewayV1ThreadCounters {
|
|
11
|
+
/** Number of chats in the folder. */
|
|
12
|
+
total?: number;
|
|
13
|
+
/** Number of chats in the folder with at least one unread message. */
|
|
14
|
+
unread_chats?: number;
|
|
15
|
+
}
|
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
*/
|
|
7
7
|
/**
|
|
8
8
|
* / ProviderType defines the specific provider or protocol used for messaging.
|
|
9
|
+
*
|
|
10
|
+
* - PROVIDER_TYPE_VIBER_BM: Viber Business Messages (Infobip).
|
|
9
11
|
*/
|
|
10
12
|
export type WebitelImApiProviderV1ProviderType = (typeof WebitelImApiProviderV1ProviderType)[keyof typeof WebitelImApiProviderV1ProviderType];
|
|
11
13
|
export declare const WebitelImApiProviderV1ProviderType: {
|
|
@@ -17,4 +19,6 @@ export declare const WebitelImApiProviderV1ProviderType: {
|
|
|
17
19
|
readonly ProviderTypeFacebook: "PROVIDER_TYPE_FACEBOOK";
|
|
18
20
|
readonly ProviderTypeInstagram: "PROVIDER_TYPE_INSTAGRAM";
|
|
19
21
|
readonly ProviderTypeWhatsapp: "PROVIDER_TYPE_WHATSAPP";
|
|
22
|
+
readonly ProviderTypeCustom: "PROVIDER_TYPE_CUSTOM";
|
|
23
|
+
readonly ProviderTypeViberBm: "PROVIDER_TYPE_VIBER_BM";
|
|
20
24
|
};
|
|
@@ -8,6 +8,12 @@ import type { WebitelImProviderV1ProviderStatus } from './webitelImProviderV1Pro
|
|
|
8
8
|
import type { WebitelImProviderV1ProviderStatusCapabilities } from './webitelImProviderV1ProviderStatusCapabilities';
|
|
9
9
|
import type { WebitelImProviderV1ProviderType } from './webitelImProviderV1ProviderType';
|
|
10
10
|
export interface WebitelImProviderV1ProviderSummary {
|
|
11
|
+
/**
|
|
12
|
+
* Public address of the channel the gate serves: the WhatsApp business
|
|
13
|
+
* phone number, the Facebook page name (page id when the name is unknown),
|
|
14
|
+
* the Viber BM sender name. Empty when the provider has none.
|
|
15
|
+
*/
|
|
16
|
+
address?: string;
|
|
11
17
|
/**
|
|
12
18
|
* Delivery-status receipts the channel is able to produce; unset when no
|
|
13
19
|
* provider adapter is registered for the channel type.
|
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
*/
|
|
7
7
|
/**
|
|
8
8
|
* / ProviderType defines the specific provider or protocol used for messaging.
|
|
9
|
+
*
|
|
10
|
+
* - PROVIDER_TYPE_VIBER_BM: Viber Business Messages (Infobip).
|
|
9
11
|
*/
|
|
10
12
|
export type WebitelImProviderV1ProviderType = (typeof WebitelImProviderV1ProviderType)[keyof typeof WebitelImProviderV1ProviderType];
|
|
11
13
|
export declare const WebitelImProviderV1ProviderType: {
|
|
@@ -18,4 +20,5 @@ export declare const WebitelImProviderV1ProviderType: {
|
|
|
18
20
|
readonly ProviderTypeInstagram: "PROVIDER_TYPE_INSTAGRAM";
|
|
19
21
|
readonly ProviderTypeWhatsapp: "PROVIDER_TYPE_WHATSAPP";
|
|
20
22
|
readonly ProviderTypeCustom: "PROVIDER_TYPE_CUSTOM";
|
|
23
|
+
readonly ProviderTypeViberBm: "PROVIDER_TYPE_VIBER_BM";
|
|
21
24
|
};
|
|
@@ -397,6 +397,7 @@ export declare const SearchHistoryCallQueryParams: zod.ZodObject<{
|
|
|
397
397
|
QUEUE_TYPE_INBOUND_IM: "QUEUE_TYPE_INBOUND_IM";
|
|
398
398
|
QUEUE_TYPE_OUTBOUND_CALL: "QUEUE_TYPE_OUTBOUND_CALL";
|
|
399
399
|
}>>>;
|
|
400
|
+
hide_number: zod.ZodOptional<zod.ZodBoolean>;
|
|
400
401
|
}, zod.z.core.$strip>;
|
|
401
402
|
export declare const searchHistoryCallResponseItemsItemFilesItemTypeDefault = "file_type_empty";
|
|
402
403
|
export declare const searchHistoryCallResponseItemsItemFilesJobItemActionDefault = "undefined";
|
|
@@ -671,6 +672,7 @@ export declare const SearchHistoryCallPostBody: zod.ZodObject<{
|
|
|
671
672
|
has_file: zod.ZodOptional<zod.ZodBoolean>;
|
|
672
673
|
has_transcript: zod.ZodOptional<zod.ZodBoolean>;
|
|
673
674
|
has_transfer: zod.ZodOptional<zod.ZodBoolean>;
|
|
675
|
+
hide_number: zod.ZodOptional<zod.ZodBoolean>;
|
|
674
676
|
id: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
675
677
|
member_id: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
676
678
|
missed: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* OpenAPI spec version: 24.04.0
|
|
6
6
|
*/
|
|
7
7
|
import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
8
|
-
import type { ApiGetCustomerResponse, ApiLicenseUsageResponse, ApiLicenseUsersResponse,
|
|
8
|
+
import type { ApiGetCustomerResponse, ApiLicenseUsageResponse, ApiLicenseUsersResponse, ApiUpdateCustomerResponse, GetCustomer2Params, GetCustomerParams, LicenseUsage2Params, LicenseUsage3Params, LicenseUsageParams, LicenseUsersParams, UpdateCustomerParams } from '../_models';
|
|
9
9
|
export declare const // --- title start
|
|
10
10
|
getCustomers: (axiosInstance?: AxiosInstance) => {
|
|
11
11
|
getCustomer: (params?: GetCustomerParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<ApiGetCustomerResponse>>;
|
|
@@ -15,7 +15,6 @@ getCustomers: (axiosInstance?: AxiosInstance) => {
|
|
|
15
15
|
licenseUsage2: (params?: LicenseUsage2Params, options?: AxiosRequestConfig) => Promise<AxiosResponse<ApiLicenseUsageResponse>>;
|
|
16
16
|
licenseUsage3: (params?: LicenseUsage3Params, options?: AxiosRequestConfig) => Promise<AxiosResponse<ApiLicenseUsageResponse>>;
|
|
17
17
|
licenseUsers: (id: string, params?: LicenseUsersParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<ApiLicenseUsersResponse>>;
|
|
18
|
-
serverInfo: (options?: AxiosRequestConfig) => Promise<AxiosResponse<ApiServerInfoResponse>>;
|
|
19
18
|
};
|
|
20
19
|
export type GetCustomerResult = AxiosResponse<ApiGetCustomerResponse>;
|
|
21
20
|
export type UpdateCustomerResult = AxiosResponse<ApiUpdateCustomerResponse>;
|
|
@@ -24,4 +23,3 @@ export type GetCustomer2Result = AxiosResponse<ApiGetCustomerResponse>;
|
|
|
24
23
|
export type LicenseUsage2Result = AxiosResponse<ApiLicenseUsageResponse>;
|
|
25
24
|
export type LicenseUsage3Result = AxiosResponse<ApiLicenseUsageResponse>;
|
|
26
25
|
export type LicenseUsersResult = AxiosResponse<ApiLicenseUsersResponse>;
|
|
27
|
-
export type ServerInfoResult = AxiosResponse<ApiServerInfoResponse>;
|
|
@@ -352,6 +352,3 @@ export declare const LicenseUsersResponse: zod.ZodObject<{
|
|
|
352
352
|
next: zod.ZodOptional<zod.ZodBoolean>;
|
|
353
353
|
page: zod.ZodOptional<zod.ZodInt>;
|
|
354
354
|
}, zod.z.core.$strip>;
|
|
355
|
-
export declare const ServerInfoResponse: zod.ZodObject<{
|
|
356
|
-
key: zod.ZodOptional<zod.ZodString>;
|
|
357
|
-
}, zod.z.core.$strip>;
|