@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
|
@@ -2999,6 +2999,2089 @@ export const CreateContactResponse = zod
|
|
|
2999
2999
|
})
|
|
3000
3000
|
.describe('The Contact principal source.\nOUTPUT purpose only.');
|
|
3001
3001
|
|
|
3002
|
+
/**
|
|
3003
|
+
* @summary Bulk create of Contacts.
|
|
3004
|
+
*/
|
|
3005
|
+
export const CreateContactsQueryParams = zod.object({
|
|
3006
|
+
fields: zod
|
|
3007
|
+
.array(zod.string())
|
|
3008
|
+
.optional()
|
|
3009
|
+
.describe('Fields to be retrieved into result of changes.'),
|
|
3010
|
+
});
|
|
3011
|
+
|
|
3012
|
+
export const createContactsBodyVariablesItemKeyRegExp = /^\w+$/;
|
|
3013
|
+
|
|
3014
|
+
export const CreateContactsBodyItem = zod
|
|
3015
|
+
.object({
|
|
3016
|
+
about: zod
|
|
3017
|
+
.string()
|
|
3018
|
+
.optional()
|
|
3019
|
+
.describe(
|
|
3020
|
+
'BIO. Short description about the Contact person.\nOPTIONAL. Multi-lined text.',
|
|
3021
|
+
),
|
|
3022
|
+
comments: zod
|
|
3023
|
+
.array(
|
|
3024
|
+
zod.object({
|
|
3025
|
+
etag: zod
|
|
3026
|
+
.string()
|
|
3027
|
+
.optional()
|
|
3028
|
+
.describe(
|
|
3029
|
+
'Unique ID of the latest version of an existing resorce.',
|
|
3030
|
+
),
|
|
3031
|
+
format: zod
|
|
3032
|
+
.array(
|
|
3033
|
+
zod.object({
|
|
3034
|
+
bold: zod.looseObject({}).optional(),
|
|
3035
|
+
codeblock: zod
|
|
3036
|
+
.object({
|
|
3037
|
+
language: zod.string().optional(),
|
|
3038
|
+
})
|
|
3039
|
+
.optional(),
|
|
3040
|
+
italic: zod.looseObject({}).optional(),
|
|
3041
|
+
length: zod
|
|
3042
|
+
.number()
|
|
3043
|
+
.optional()
|
|
3044
|
+
.describe('Length text runes count.'),
|
|
3045
|
+
link: zod
|
|
3046
|
+
.object({
|
|
3047
|
+
url: zod.string().optional(),
|
|
3048
|
+
})
|
|
3049
|
+
.optional(),
|
|
3050
|
+
monospace: zod.looseObject({}).optional(),
|
|
3051
|
+
offset: zod
|
|
3052
|
+
.number()
|
|
3053
|
+
.optional()
|
|
3054
|
+
.describe('Offset text runes count.'),
|
|
3055
|
+
strikethrough: zod.looseObject({}).optional(),
|
|
3056
|
+
underline: zod.looseObject({}).optional(),
|
|
3057
|
+
}),
|
|
3058
|
+
)
|
|
3059
|
+
.optional()
|
|
3060
|
+
.describe('NEW Text components styling format.'),
|
|
3061
|
+
text: zod.string().describe('NEW Text of the comment.'),
|
|
3062
|
+
}),
|
|
3063
|
+
)
|
|
3064
|
+
.optional()
|
|
3065
|
+
.describe('Publish NEW comment(s) for this Contact.'),
|
|
3066
|
+
emails: zod
|
|
3067
|
+
.array(
|
|
3068
|
+
zod
|
|
3069
|
+
.object({
|
|
3070
|
+
email: zod.string().describe('The email address.'),
|
|
3071
|
+
etag: zod
|
|
3072
|
+
.string()
|
|
3073
|
+
.optional()
|
|
3074
|
+
.describe(
|
|
3075
|
+
'Unique ID of the latest version of an existing resorce.',
|
|
3076
|
+
),
|
|
3077
|
+
primary: zod
|
|
3078
|
+
.boolean()
|
|
3079
|
+
.optional()
|
|
3080
|
+
.describe(
|
|
3081
|
+
'Indicates whether this phone number is default within other channels of the same type(phone).',
|
|
3082
|
+
),
|
|
3083
|
+
type: zod
|
|
3084
|
+
.object({
|
|
3085
|
+
id: zod
|
|
3086
|
+
.string()
|
|
3087
|
+
.optional()
|
|
3088
|
+
.describe('Reference Object unique ID.'),
|
|
3089
|
+
name: zod
|
|
3090
|
+
.string()
|
|
3091
|
+
.optional()
|
|
3092
|
+
.describe('Reference Object display name.'),
|
|
3093
|
+
type: zod
|
|
3094
|
+
.string()
|
|
3095
|
+
.optional()
|
|
3096
|
+
.describe('Reference Object well-known type.'),
|
|
3097
|
+
})
|
|
3098
|
+
.optional()
|
|
3099
|
+
.describe(
|
|
3100
|
+
'Lookup reference information.\nSimplified search filter to uniquely identify related object.',
|
|
3101
|
+
),
|
|
3102
|
+
verified: zod.boolean().optional(),
|
|
3103
|
+
})
|
|
3104
|
+
.describe("Input of the Contact's email address."),
|
|
3105
|
+
)
|
|
3106
|
+
.optional()
|
|
3107
|
+
.describe("The Contact's email address(es)."),
|
|
3108
|
+
etag: zod
|
|
3109
|
+
.string()
|
|
3110
|
+
.optional()
|
|
3111
|
+
.describe('Unique ID of the latest version of an existing resorce.'),
|
|
3112
|
+
groups: zod
|
|
3113
|
+
.array(
|
|
3114
|
+
zod
|
|
3115
|
+
.object({
|
|
3116
|
+
etag: zod
|
|
3117
|
+
.string()
|
|
3118
|
+
.describe(
|
|
3119
|
+
'Unique ID of the latest version of an existing resource.',
|
|
3120
|
+
),
|
|
3121
|
+
group: zod
|
|
3122
|
+
.object({
|
|
3123
|
+
id: zod
|
|
3124
|
+
.string()
|
|
3125
|
+
.optional()
|
|
3126
|
+
.describe('Reference Object unique ID.'),
|
|
3127
|
+
name: zod
|
|
3128
|
+
.string()
|
|
3129
|
+
.optional()
|
|
3130
|
+
.describe('Reference Object display name.'),
|
|
3131
|
+
type: zod
|
|
3132
|
+
.string()
|
|
3133
|
+
.optional()
|
|
3134
|
+
.describe('Reference Object well-known type.'),
|
|
3135
|
+
})
|
|
3136
|
+
.optional()
|
|
3137
|
+
.describe('Group of contacts associated.'),
|
|
3138
|
+
})
|
|
3139
|
+
.describe("An input of the Contact's groups."),
|
|
3140
|
+
)
|
|
3141
|
+
.optional()
|
|
3142
|
+
.describe("The Contact's associated group(s)."),
|
|
3143
|
+
imclients: zod
|
|
3144
|
+
.array(
|
|
3145
|
+
zod
|
|
3146
|
+
.object({
|
|
3147
|
+
createdBy: zod
|
|
3148
|
+
.string()
|
|
3149
|
+
.optional()
|
|
3150
|
+
.describe('Id of Agent created this IM client.'),
|
|
3151
|
+
externalUser: zod.string().optional(),
|
|
3152
|
+
gatewayId: zod
|
|
3153
|
+
.string()
|
|
3154
|
+
.optional()
|
|
3155
|
+
.describe('App (Text-Gateway) used to connect the IM client.'),
|
|
3156
|
+
protocol: zod.string().optional(),
|
|
3157
|
+
via: zod
|
|
3158
|
+
.string()
|
|
3159
|
+
.optional()
|
|
3160
|
+
.describe(
|
|
3161
|
+
'[Via] App(-specific) peer(-id) to connect[from] the IM client.',
|
|
3162
|
+
),
|
|
3163
|
+
})
|
|
3164
|
+
.describe('Input of the contact IM client.'),
|
|
3165
|
+
)
|
|
3166
|
+
.optional()
|
|
3167
|
+
.describe("The contact's [I]nstant[M]essaging clients."),
|
|
3168
|
+
labels: zod
|
|
3169
|
+
.array(
|
|
3170
|
+
zod
|
|
3171
|
+
.object({
|
|
3172
|
+
etag: zod
|
|
3173
|
+
.string()
|
|
3174
|
+
.optional()
|
|
3175
|
+
.describe(
|
|
3176
|
+
'Unique ID of the latest version of an existing resorce.',
|
|
3177
|
+
),
|
|
3178
|
+
label: zod
|
|
3179
|
+
.string()
|
|
3180
|
+
.optional()
|
|
3181
|
+
.describe(
|
|
3182
|
+
'REQUIRED. Hashtag value;\nNOTE: Keep in mind, hashtags are not case-sensitive,\nbut adding capital letters does make them easier to read:\n#MakeAWish vs. #makeawish.',
|
|
3183
|
+
),
|
|
3184
|
+
})
|
|
3185
|
+
.describe("A Contact's associated Tag.\nOutput purpose only."),
|
|
3186
|
+
)
|
|
3187
|
+
.optional()
|
|
3188
|
+
.describe("The Contact's associated label(s)."),
|
|
3189
|
+
languages: zod
|
|
3190
|
+
.array(
|
|
3191
|
+
zod
|
|
3192
|
+
.object({
|
|
3193
|
+
etag: zod
|
|
3194
|
+
.string()
|
|
3195
|
+
.describe(
|
|
3196
|
+
'Unique ID of the latest version of an existing association.',
|
|
3197
|
+
),
|
|
3198
|
+
primary: zod
|
|
3199
|
+
.boolean()
|
|
3200
|
+
.optional()
|
|
3201
|
+
.describe(
|
|
3202
|
+
'Indicates whether this association must be default\namong others of the same type.',
|
|
3203
|
+
),
|
|
3204
|
+
tag: zod.string().optional(),
|
|
3205
|
+
})
|
|
3206
|
+
.describe("An input of the Contact's language."),
|
|
3207
|
+
)
|
|
3208
|
+
.optional()
|
|
3209
|
+
.describe("A Contact's locale preference(s)."),
|
|
3210
|
+
managers: zod
|
|
3211
|
+
.array(
|
|
3212
|
+
zod.object({
|
|
3213
|
+
etag: zod
|
|
3214
|
+
.string()
|
|
3215
|
+
.describe(
|
|
3216
|
+
'Unique ID of the latest version of an existing resource.',
|
|
3217
|
+
),
|
|
3218
|
+
primary: zod
|
|
3219
|
+
.boolean()
|
|
3220
|
+
.optional()
|
|
3221
|
+
.describe(
|
|
3222
|
+
'Indicates whether this association must be default among others.',
|
|
3223
|
+
),
|
|
3224
|
+
user: zod
|
|
3225
|
+
.object({
|
|
3226
|
+
id: zod
|
|
3227
|
+
.string()
|
|
3228
|
+
.optional()
|
|
3229
|
+
.describe('Reference Object unique ID.'),
|
|
3230
|
+
name: zod
|
|
3231
|
+
.string()
|
|
3232
|
+
.optional()
|
|
3233
|
+
.describe('Reference Object display name.'),
|
|
3234
|
+
type: zod
|
|
3235
|
+
.string()
|
|
3236
|
+
.optional()
|
|
3237
|
+
.describe('Reference Object well-known type.'),
|
|
3238
|
+
})
|
|
3239
|
+
.optional()
|
|
3240
|
+
.describe('Responsible User.'),
|
|
3241
|
+
}),
|
|
3242
|
+
)
|
|
3243
|
+
.optional()
|
|
3244
|
+
.describe("The Contact's internal manager(s)."),
|
|
3245
|
+
name: zod
|
|
3246
|
+
.object({
|
|
3247
|
+
commonName: zod
|
|
3248
|
+
.string()
|
|
3249
|
+
.optional()
|
|
3250
|
+
.describe(
|
|
3251
|
+
"REQUIRED. End-User's full name in displayable form\nincluding all name parts, possibly including titles and suffixes,\nordered according to the End-User's locale and preferences.",
|
|
3252
|
+
),
|
|
3253
|
+
familyName: zod.string().optional(),
|
|
3254
|
+
givenName: zod.string().optional(),
|
|
3255
|
+
middleName: zod
|
|
3256
|
+
.string()
|
|
3257
|
+
.optional()
|
|
3258
|
+
.describe(
|
|
3259
|
+
'OPTIONAL. Middle name(s) of the End-User.\nNote that in some cultures, people can have multiple middle names;\nall can be present, with the names being separated by space characters.\nAlso note that in some cultures, middle names are not used.',
|
|
3260
|
+
),
|
|
3261
|
+
verified: zod
|
|
3262
|
+
.boolean()
|
|
3263
|
+
.optional()
|
|
3264
|
+
.describe(
|
|
3265
|
+
'Indicate whether Contact, as a Person, realy owns this associated name.',
|
|
3266
|
+
),
|
|
3267
|
+
})
|
|
3268
|
+
.optional(),
|
|
3269
|
+
phones: zod
|
|
3270
|
+
.array(
|
|
3271
|
+
zod
|
|
3272
|
+
.object({
|
|
3273
|
+
etag: zod
|
|
3274
|
+
.string()
|
|
3275
|
+
.optional()
|
|
3276
|
+
.describe(
|
|
3277
|
+
'Unique ID of the latest version of an existing resorce.',
|
|
3278
|
+
),
|
|
3279
|
+
number: zod.string().describe('The phone number.'),
|
|
3280
|
+
primary: zod
|
|
3281
|
+
.boolean()
|
|
3282
|
+
.optional()
|
|
3283
|
+
.describe(
|
|
3284
|
+
'Indicates whether this phone number is default within other channels of the same type(phone).',
|
|
3285
|
+
),
|
|
3286
|
+
type: zod
|
|
3287
|
+
.object({
|
|
3288
|
+
id: zod
|
|
3289
|
+
.string()
|
|
3290
|
+
.optional()
|
|
3291
|
+
.describe('Reference Object unique ID.'),
|
|
3292
|
+
name: zod
|
|
3293
|
+
.string()
|
|
3294
|
+
.optional()
|
|
3295
|
+
.describe('Reference Object display name.'),
|
|
3296
|
+
type: zod
|
|
3297
|
+
.string()
|
|
3298
|
+
.optional()
|
|
3299
|
+
.describe('Reference Object well-known type.'),
|
|
3300
|
+
})
|
|
3301
|
+
.optional()
|
|
3302
|
+
.describe(
|
|
3303
|
+
'Lookup reference information.\nSimplified search filter to uniquely identify related object.',
|
|
3304
|
+
),
|
|
3305
|
+
verified: zod.boolean().optional(),
|
|
3306
|
+
})
|
|
3307
|
+
.describe('Input of the contact phone number.'),
|
|
3308
|
+
)
|
|
3309
|
+
.optional()
|
|
3310
|
+
.describe("The Contact's phone numbers."),
|
|
3311
|
+
timezones: zod
|
|
3312
|
+
.array(
|
|
3313
|
+
zod
|
|
3314
|
+
.object({
|
|
3315
|
+
etag: zod
|
|
3316
|
+
.string()
|
|
3317
|
+
.describe(
|
|
3318
|
+
'Unique ID of the latest version of an existing resource.',
|
|
3319
|
+
),
|
|
3320
|
+
primary: zod
|
|
3321
|
+
.boolean()
|
|
3322
|
+
.optional()
|
|
3323
|
+
.describe(
|
|
3324
|
+
'Indicates whether this association must be default among others.',
|
|
3325
|
+
),
|
|
3326
|
+
timezone: zod
|
|
3327
|
+
.object({
|
|
3328
|
+
id: zod
|
|
3329
|
+
.string()
|
|
3330
|
+
.optional()
|
|
3331
|
+
.describe('Reference Object unique ID.'),
|
|
3332
|
+
name: zod
|
|
3333
|
+
.string()
|
|
3334
|
+
.optional()
|
|
3335
|
+
.describe('Reference Object display name.'),
|
|
3336
|
+
type: zod
|
|
3337
|
+
.string()
|
|
3338
|
+
.optional()
|
|
3339
|
+
.describe('Reference Object well-known type.'),
|
|
3340
|
+
})
|
|
3341
|
+
.optional()
|
|
3342
|
+
.describe('Timezone dictionary reference value associated.'),
|
|
3343
|
+
})
|
|
3344
|
+
.describe("An input of the Contact's timezones."),
|
|
3345
|
+
)
|
|
3346
|
+
.optional()
|
|
3347
|
+
.describe("The Contact's timezone preference(s)."),
|
|
3348
|
+
variables: zod
|
|
3349
|
+
.array(
|
|
3350
|
+
zod
|
|
3351
|
+
.object({
|
|
3352
|
+
etag: zod
|
|
3353
|
+
.string()
|
|
3354
|
+
.optional()
|
|
3355
|
+
.describe(
|
|
3356
|
+
'Unique ID of the latest version of an existing resorce.',
|
|
3357
|
+
),
|
|
3358
|
+
key: zod
|
|
3359
|
+
.string()
|
|
3360
|
+
.regex(createContactsBodyVariablesItemKeyRegExp)
|
|
3361
|
+
.describe('NEW Key.'),
|
|
3362
|
+
value: zod.unknown().optional().describe('NEW Value.'),
|
|
3363
|
+
})
|
|
3364
|
+
.describe("Input of the Contact's variable."),
|
|
3365
|
+
)
|
|
3366
|
+
.optional()
|
|
3367
|
+
.describe('Arbitrary client data that is populated by clients.'),
|
|
3368
|
+
})
|
|
3369
|
+
.describe('The Contact principal input.');
|
|
3370
|
+
export const CreateContactsBody = zod.array(CreateContactsBodyItem);
|
|
3371
|
+
|
|
3372
|
+
export const createContactsResponseFailuresItemInputVariablesItemKeyRegExp =
|
|
3373
|
+
/^\w+$/;
|
|
3374
|
+
|
|
3375
|
+
export const CreateContactsResponse = zod
|
|
3376
|
+
.object({
|
|
3377
|
+
data: zod
|
|
3378
|
+
.array(
|
|
3379
|
+
zod
|
|
3380
|
+
.object({
|
|
3381
|
+
about: zod
|
|
3382
|
+
.string()
|
|
3383
|
+
.optional()
|
|
3384
|
+
.describe(
|
|
3385
|
+
'BIO. Short description about the Contact person.\nOPTIONAL. Multi-lined text.',
|
|
3386
|
+
),
|
|
3387
|
+
comments: zod
|
|
3388
|
+
.object({
|
|
3389
|
+
data: zod
|
|
3390
|
+
.array(
|
|
3391
|
+
zod.object({
|
|
3392
|
+
createdAt: zod
|
|
3393
|
+
.string()
|
|
3394
|
+
.optional()
|
|
3395
|
+
.describe('The user who created this Field.'),
|
|
3396
|
+
createdBy: zod
|
|
3397
|
+
.object({
|
|
3398
|
+
id: zod
|
|
3399
|
+
.string()
|
|
3400
|
+
.optional()
|
|
3401
|
+
.describe('Reference Object unique ID.'),
|
|
3402
|
+
name: zod
|
|
3403
|
+
.string()
|
|
3404
|
+
.optional()
|
|
3405
|
+
.describe('Reference Object display name.'),
|
|
3406
|
+
type: zod
|
|
3407
|
+
.string()
|
|
3408
|
+
.optional()
|
|
3409
|
+
.describe('Reference Object well-known type.'),
|
|
3410
|
+
})
|
|
3411
|
+
.optional()
|
|
3412
|
+
.describe('Timestamp(milli) of the Field creation.'),
|
|
3413
|
+
etag: zod
|
|
3414
|
+
.string()
|
|
3415
|
+
.optional()
|
|
3416
|
+
.describe(
|
|
3417
|
+
'Unique ID of the latest version of the update.\nThis ID changes after any update to the underlying value(s).',
|
|
3418
|
+
),
|
|
3419
|
+
format: zod
|
|
3420
|
+
.array(
|
|
3421
|
+
zod.object({
|
|
3422
|
+
bold: zod.looseObject({}).optional(),
|
|
3423
|
+
codeblock: zod
|
|
3424
|
+
.object({
|
|
3425
|
+
language: zod.string().optional(),
|
|
3426
|
+
})
|
|
3427
|
+
.optional(),
|
|
3428
|
+
italic: zod.looseObject({}).optional(),
|
|
3429
|
+
length: zod
|
|
3430
|
+
.number()
|
|
3431
|
+
.optional()
|
|
3432
|
+
.describe('Length text runes count.'),
|
|
3433
|
+
link: zod
|
|
3434
|
+
.object({
|
|
3435
|
+
url: zod.string().optional(),
|
|
3436
|
+
})
|
|
3437
|
+
.optional(),
|
|
3438
|
+
monospace: zod.looseObject({}).optional(),
|
|
3439
|
+
offset: zod
|
|
3440
|
+
.number()
|
|
3441
|
+
.optional()
|
|
3442
|
+
.describe('Offset text runes count.'),
|
|
3443
|
+
strikethrough: zod.looseObject({}).optional(),
|
|
3444
|
+
underline: zod.looseObject({}).optional(),
|
|
3445
|
+
}),
|
|
3446
|
+
)
|
|
3447
|
+
.optional()
|
|
3448
|
+
.describe('Styles of the text components.'),
|
|
3449
|
+
id: zod
|
|
3450
|
+
.string()
|
|
3451
|
+
.optional()
|
|
3452
|
+
.describe(
|
|
3453
|
+
'The unique ID of the Comment. Never changes.',
|
|
3454
|
+
),
|
|
3455
|
+
text: zod
|
|
3456
|
+
.string()
|
|
3457
|
+
.optional()
|
|
3458
|
+
.describe('Rich Text, multi-line[d] string value.'),
|
|
3459
|
+
updatedAt: zod
|
|
3460
|
+
.string()
|
|
3461
|
+
.optional()
|
|
3462
|
+
.describe(
|
|
3463
|
+
'Timestamp(milli) of the last Field update.\nTake part in Etag generation.',
|
|
3464
|
+
),
|
|
3465
|
+
updatedBy: zod
|
|
3466
|
+
.object({
|
|
3467
|
+
id: zod
|
|
3468
|
+
.string()
|
|
3469
|
+
.optional()
|
|
3470
|
+
.describe('Reference Object unique ID.'),
|
|
3471
|
+
name: zod
|
|
3472
|
+
.string()
|
|
3473
|
+
.optional()
|
|
3474
|
+
.describe('Reference Object display name.'),
|
|
3475
|
+
type: zod
|
|
3476
|
+
.string()
|
|
3477
|
+
.optional()
|
|
3478
|
+
.describe('Reference Object well-known type.'),
|
|
3479
|
+
})
|
|
3480
|
+
.optional()
|
|
3481
|
+
.describe('The user who performed last Update.'),
|
|
3482
|
+
ver: zod
|
|
3483
|
+
.number()
|
|
3484
|
+
.optional()
|
|
3485
|
+
.describe(
|
|
3486
|
+
'Version of the latest update. Numeric sequence.',
|
|
3487
|
+
),
|
|
3488
|
+
}),
|
|
3489
|
+
)
|
|
3490
|
+
.optional()
|
|
3491
|
+
.describe('Comment dataset page.'),
|
|
3492
|
+
next: zod.boolean().optional(),
|
|
3493
|
+
page: zod
|
|
3494
|
+
.number()
|
|
3495
|
+
.optional()
|
|
3496
|
+
.describe('The page number of the partial result.'),
|
|
3497
|
+
})
|
|
3498
|
+
.optional()
|
|
3499
|
+
.describe("The Contact's internal comment(s)."),
|
|
3500
|
+
createdAt: zod.string().optional(),
|
|
3501
|
+
createdBy: zod
|
|
3502
|
+
.object({
|
|
3503
|
+
id: zod
|
|
3504
|
+
.string()
|
|
3505
|
+
.optional()
|
|
3506
|
+
.describe('Reference Object unique ID.'),
|
|
3507
|
+
name: zod
|
|
3508
|
+
.string()
|
|
3509
|
+
.optional()
|
|
3510
|
+
.describe('Reference Object display name.'),
|
|
3511
|
+
type: zod
|
|
3512
|
+
.string()
|
|
3513
|
+
.optional()
|
|
3514
|
+
.describe('Reference Object well-known type.'),
|
|
3515
|
+
})
|
|
3516
|
+
.optional()
|
|
3517
|
+
.describe(
|
|
3518
|
+
'Lookup reference information.\nSimplified search filter to uniquely identify related object.',
|
|
3519
|
+
),
|
|
3520
|
+
domain: zod
|
|
3521
|
+
.object({
|
|
3522
|
+
id: zod
|
|
3523
|
+
.string()
|
|
3524
|
+
.optional()
|
|
3525
|
+
.describe('Reference Object unique ID.'),
|
|
3526
|
+
name: zod
|
|
3527
|
+
.string()
|
|
3528
|
+
.optional()
|
|
3529
|
+
.describe('Reference Object display name.'),
|
|
3530
|
+
type: zod
|
|
3531
|
+
.string()
|
|
3532
|
+
.optional()
|
|
3533
|
+
.describe('Reference Object well-known type.'),
|
|
3534
|
+
})
|
|
3535
|
+
.optional()
|
|
3536
|
+
.describe("READONLY. The contact's metadata."),
|
|
3537
|
+
emails: zod
|
|
3538
|
+
.object({
|
|
3539
|
+
data: zod
|
|
3540
|
+
.array(
|
|
3541
|
+
zod
|
|
3542
|
+
.object({
|
|
3543
|
+
createdAt: zod
|
|
3544
|
+
.string()
|
|
3545
|
+
.optional()
|
|
3546
|
+
.describe('The user who created this Field.'),
|
|
3547
|
+
createdBy: zod
|
|
3548
|
+
.object({
|
|
3549
|
+
id: zod
|
|
3550
|
+
.string()
|
|
3551
|
+
.optional()
|
|
3552
|
+
.describe('Reference Object unique ID.'),
|
|
3553
|
+
name: zod
|
|
3554
|
+
.string()
|
|
3555
|
+
.optional()
|
|
3556
|
+
.describe('Reference Object display name.'),
|
|
3557
|
+
type: zod
|
|
3558
|
+
.string()
|
|
3559
|
+
.optional()
|
|
3560
|
+
.describe('Reference Object well-known type.'),
|
|
3561
|
+
})
|
|
3562
|
+
.optional()
|
|
3563
|
+
.describe('Timestamp(milli) of the Field creation.'),
|
|
3564
|
+
email: zod
|
|
3565
|
+
.string()
|
|
3566
|
+
.optional()
|
|
3567
|
+
.describe('The email address.'),
|
|
3568
|
+
etag: zod
|
|
3569
|
+
.string()
|
|
3570
|
+
.optional()
|
|
3571
|
+
.describe(
|
|
3572
|
+
'Unique ID of the latest version of the update.\nThis ID changes after any update to the underlying value(s).',
|
|
3573
|
+
),
|
|
3574
|
+
id: zod
|
|
3575
|
+
.string()
|
|
3576
|
+
.optional()
|
|
3577
|
+
.describe(
|
|
3578
|
+
'The unique ID of the association. Never changes.',
|
|
3579
|
+
),
|
|
3580
|
+
primary: zod
|
|
3581
|
+
.boolean()
|
|
3582
|
+
.optional()
|
|
3583
|
+
.describe(
|
|
3584
|
+
'Indicates whether this phone number is default within other channels of the same type(phone).',
|
|
3585
|
+
),
|
|
3586
|
+
type: zod
|
|
3587
|
+
.object({
|
|
3588
|
+
id: zod
|
|
3589
|
+
.string()
|
|
3590
|
+
.optional()
|
|
3591
|
+
.describe('Reference Object unique ID.'),
|
|
3592
|
+
name: zod
|
|
3593
|
+
.string()
|
|
3594
|
+
.optional()
|
|
3595
|
+
.describe('Reference Object display name.'),
|
|
3596
|
+
type: zod
|
|
3597
|
+
.string()
|
|
3598
|
+
.optional()
|
|
3599
|
+
.describe('Reference Object well-known type.'),
|
|
3600
|
+
})
|
|
3601
|
+
.optional()
|
|
3602
|
+
.describe(
|
|
3603
|
+
'Lookup reference information.\nSimplified search filter to uniquely identify related object.',
|
|
3604
|
+
),
|
|
3605
|
+
updatedAt: zod
|
|
3606
|
+
.string()
|
|
3607
|
+
.optional()
|
|
3608
|
+
.describe(
|
|
3609
|
+
'Timestamp(milli) of the last Field update.\nTake part in Etag generation.',
|
|
3610
|
+
),
|
|
3611
|
+
updatedBy: zod
|
|
3612
|
+
.object({
|
|
3613
|
+
id: zod
|
|
3614
|
+
.string()
|
|
3615
|
+
.optional()
|
|
3616
|
+
.describe('Reference Object unique ID.'),
|
|
3617
|
+
name: zod
|
|
3618
|
+
.string()
|
|
3619
|
+
.optional()
|
|
3620
|
+
.describe('Reference Object display name.'),
|
|
3621
|
+
type: zod
|
|
3622
|
+
.string()
|
|
3623
|
+
.optional()
|
|
3624
|
+
.describe('Reference Object well-known type.'),
|
|
3625
|
+
})
|
|
3626
|
+
.optional()
|
|
3627
|
+
.describe('The user who performed last Update.'),
|
|
3628
|
+
ver: zod
|
|
3629
|
+
.number()
|
|
3630
|
+
.optional()
|
|
3631
|
+
.describe(
|
|
3632
|
+
'Version of the latest update. Numeric sequence.',
|
|
3633
|
+
),
|
|
3634
|
+
verified: zod.boolean().optional(),
|
|
3635
|
+
})
|
|
3636
|
+
.describe("The Contact's email address."),
|
|
3637
|
+
)
|
|
3638
|
+
.optional()
|
|
3639
|
+
.describe('EmailAddress dataset page.'),
|
|
3640
|
+
next: zod.boolean().optional(),
|
|
3641
|
+
page: zod
|
|
3642
|
+
.number()
|
|
3643
|
+
.optional()
|
|
3644
|
+
.describe('The page number of the partial result.'),
|
|
3645
|
+
})
|
|
3646
|
+
.optional()
|
|
3647
|
+
.describe("The Contact's email address(es)."),
|
|
3648
|
+
etag: zod
|
|
3649
|
+
.string()
|
|
3650
|
+
.optional()
|
|
3651
|
+
.describe(
|
|
3652
|
+
'Unique ID of the latest version of the update.\nThis ID changes after any update to the underlying value(s).',
|
|
3653
|
+
),
|
|
3654
|
+
groups: zod
|
|
3655
|
+
.object({
|
|
3656
|
+
data: zod
|
|
3657
|
+
.array(
|
|
3658
|
+
zod
|
|
3659
|
+
.object({
|
|
3660
|
+
createdAt: zod
|
|
3661
|
+
.string()
|
|
3662
|
+
.optional()
|
|
3663
|
+
.describe('The user who created this Field.'),
|
|
3664
|
+
createdBy: zod
|
|
3665
|
+
.object({
|
|
3666
|
+
id: zod
|
|
3667
|
+
.string()
|
|
3668
|
+
.optional()
|
|
3669
|
+
.describe('Reference Object unique ID.'),
|
|
3670
|
+
name: zod
|
|
3671
|
+
.string()
|
|
3672
|
+
.optional()
|
|
3673
|
+
.describe('Reference Object display name.'),
|
|
3674
|
+
type: zod
|
|
3675
|
+
.string()
|
|
3676
|
+
.optional()
|
|
3677
|
+
.describe('Reference Object well-known type.'),
|
|
3678
|
+
})
|
|
3679
|
+
.optional()
|
|
3680
|
+
.describe('Timestamp(milli) of the Field creation.'),
|
|
3681
|
+
etag: zod
|
|
3682
|
+
.string()
|
|
3683
|
+
.optional()
|
|
3684
|
+
.describe(
|
|
3685
|
+
'Unique ID of the latest version of the update.\nThis ID changes after any update to the underlying value(s).',
|
|
3686
|
+
),
|
|
3687
|
+
group: zod
|
|
3688
|
+
.object({
|
|
3689
|
+
id: zod
|
|
3690
|
+
.string()
|
|
3691
|
+
.optional()
|
|
3692
|
+
.describe('Reference Object unique ID.'),
|
|
3693
|
+
name: zod
|
|
3694
|
+
.string()
|
|
3695
|
+
.optional()
|
|
3696
|
+
.describe('Reference Object display name.'),
|
|
3697
|
+
type: zod
|
|
3698
|
+
.string()
|
|
3699
|
+
.optional()
|
|
3700
|
+
.describe('Reference Object well-known type.'),
|
|
3701
|
+
})
|
|
3702
|
+
.optional()
|
|
3703
|
+
.describe('Group of contacts associated.'),
|
|
3704
|
+
id: zod
|
|
3705
|
+
.string()
|
|
3706
|
+
.optional()
|
|
3707
|
+
.describe(
|
|
3708
|
+
'The unique ID of the association. Never changes.',
|
|
3709
|
+
),
|
|
3710
|
+
updatedAt: zod
|
|
3711
|
+
.string()
|
|
3712
|
+
.optional()
|
|
3713
|
+
.describe(
|
|
3714
|
+
'Timestamp(milli) of the last Field update.\nTake part in Etag generation.',
|
|
3715
|
+
),
|
|
3716
|
+
updatedBy: zod
|
|
3717
|
+
.object({
|
|
3718
|
+
id: zod
|
|
3719
|
+
.string()
|
|
3720
|
+
.optional()
|
|
3721
|
+
.describe('Reference Object unique ID.'),
|
|
3722
|
+
name: zod
|
|
3723
|
+
.string()
|
|
3724
|
+
.optional()
|
|
3725
|
+
.describe('Reference Object display name.'),
|
|
3726
|
+
type: zod
|
|
3727
|
+
.string()
|
|
3728
|
+
.optional()
|
|
3729
|
+
.describe('Reference Object well-known type.'),
|
|
3730
|
+
})
|
|
3731
|
+
.optional()
|
|
3732
|
+
.describe('The user who performed last Update.'),
|
|
3733
|
+
ver: zod
|
|
3734
|
+
.number()
|
|
3735
|
+
.optional()
|
|
3736
|
+
.describe(
|
|
3737
|
+
'Version of the latest update. Numeric sequence.',
|
|
3738
|
+
),
|
|
3739
|
+
})
|
|
3740
|
+
.describe("The Contact's Group association."),
|
|
3741
|
+
)
|
|
3742
|
+
.optional()
|
|
3743
|
+
.describe('Group dataset page.'),
|
|
3744
|
+
next: zod.boolean().optional(),
|
|
3745
|
+
page: zod
|
|
3746
|
+
.number()
|
|
3747
|
+
.optional()
|
|
3748
|
+
.describe('The page number of the partial result.'),
|
|
3749
|
+
})
|
|
3750
|
+
.optional()
|
|
3751
|
+
.describe("The Contact's associated group(s)."),
|
|
3752
|
+
id: zod
|
|
3753
|
+
.string()
|
|
3754
|
+
.optional()
|
|
3755
|
+
.describe('The unique ID of the association. Never changes.'),
|
|
3756
|
+
imclients: zod
|
|
3757
|
+
.object({
|
|
3758
|
+
data: zod
|
|
3759
|
+
.array(
|
|
3760
|
+
zod
|
|
3761
|
+
.object({
|
|
3762
|
+
app: zod
|
|
3763
|
+
.object({
|
|
3764
|
+
id: zod
|
|
3765
|
+
.string()
|
|
3766
|
+
.optional()
|
|
3767
|
+
.describe('Reference Object unique ID.'),
|
|
3768
|
+
name: zod
|
|
3769
|
+
.string()
|
|
3770
|
+
.optional()
|
|
3771
|
+
.describe('Reference Object display name.'),
|
|
3772
|
+
type: zod
|
|
3773
|
+
.string()
|
|
3774
|
+
.optional()
|
|
3775
|
+
.describe('Reference Object well-known type.'),
|
|
3776
|
+
})
|
|
3777
|
+
.optional()
|
|
3778
|
+
.describe(
|
|
3779
|
+
'App (Text-Gateway) used to connect the IM client.\nId will be internal id of gateway.\nName will be name of the gateway.',
|
|
3780
|
+
),
|
|
3781
|
+
createdAt: zod
|
|
3782
|
+
.string()
|
|
3783
|
+
.optional()
|
|
3784
|
+
.describe('The user who created this Field.'),
|
|
3785
|
+
createdBy: zod
|
|
3786
|
+
.object({
|
|
3787
|
+
id: zod
|
|
3788
|
+
.string()
|
|
3789
|
+
.optional()
|
|
3790
|
+
.describe('Reference Object unique ID.'),
|
|
3791
|
+
name: zod
|
|
3792
|
+
.string()
|
|
3793
|
+
.optional()
|
|
3794
|
+
.describe('Reference Object display name.'),
|
|
3795
|
+
type: zod
|
|
3796
|
+
.string()
|
|
3797
|
+
.optional()
|
|
3798
|
+
.describe('Reference Object well-known type.'),
|
|
3799
|
+
})
|
|
3800
|
+
.optional()
|
|
3801
|
+
.describe('Timestamp(milli) of the Field creation.'),
|
|
3802
|
+
etag: zod
|
|
3803
|
+
.string()
|
|
3804
|
+
.optional()
|
|
3805
|
+
.describe(
|
|
3806
|
+
'Unique ID of the latest version of the update.\nThis ID changes after any update to the underlying value(s).',
|
|
3807
|
+
),
|
|
3808
|
+
externalId: zod
|
|
3809
|
+
.string()
|
|
3810
|
+
.optional()
|
|
3811
|
+
.describe('External user id.'),
|
|
3812
|
+
id: zod
|
|
3813
|
+
.string()
|
|
3814
|
+
.optional()
|
|
3815
|
+
.describe(
|
|
3816
|
+
'The unique ID of the association. Never changes.',
|
|
3817
|
+
),
|
|
3818
|
+
protocol: zod
|
|
3819
|
+
.string()
|
|
3820
|
+
.optional()
|
|
3821
|
+
.describe('Protocol used to connect the IM client.'),
|
|
3822
|
+
updatedAt: zod
|
|
3823
|
+
.string()
|
|
3824
|
+
.optional()
|
|
3825
|
+
.describe(
|
|
3826
|
+
'Timestamp(milli) of the last Field update.\nTake part in Etag generation.',
|
|
3827
|
+
),
|
|
3828
|
+
updatedBy: zod
|
|
3829
|
+
.object({
|
|
3830
|
+
id: zod
|
|
3831
|
+
.string()
|
|
3832
|
+
.optional()
|
|
3833
|
+
.describe('Reference Object unique ID.'),
|
|
3834
|
+
name: zod
|
|
3835
|
+
.string()
|
|
3836
|
+
.optional()
|
|
3837
|
+
.describe('Reference Object display name.'),
|
|
3838
|
+
type: zod
|
|
3839
|
+
.string()
|
|
3840
|
+
.optional()
|
|
3841
|
+
.describe('Reference Object well-known type.'),
|
|
3842
|
+
})
|
|
3843
|
+
.optional()
|
|
3844
|
+
.describe('The user who performed last Update.'),
|
|
3845
|
+
user: zod
|
|
3846
|
+
.object({
|
|
3847
|
+
id: zod
|
|
3848
|
+
.string()
|
|
3849
|
+
.optional()
|
|
3850
|
+
.describe('Reference Object unique ID.'),
|
|
3851
|
+
name: zod
|
|
3852
|
+
.string()
|
|
3853
|
+
.optional()
|
|
3854
|
+
.describe('Reference Object display name.'),
|
|
3855
|
+
type: zod
|
|
3856
|
+
.string()
|
|
3857
|
+
.optional()
|
|
3858
|
+
.describe('Reference Object well-known type.'),
|
|
3859
|
+
})
|
|
3860
|
+
.optional()
|
|
3861
|
+
.describe(
|
|
3862
|
+
'External user which contacted to us.\nId will be from external service.\nName will be from external service.',
|
|
3863
|
+
),
|
|
3864
|
+
ver: zod
|
|
3865
|
+
.number()
|
|
3866
|
+
.optional()
|
|
3867
|
+
.describe(
|
|
3868
|
+
'Version of the latest update. Numeric sequence.',
|
|
3869
|
+
),
|
|
3870
|
+
via: zod
|
|
3871
|
+
.string()
|
|
3872
|
+
.optional()
|
|
3873
|
+
.describe(
|
|
3874
|
+
'[Via] App(-specific) peer(-id) to connect[from] the IM client.',
|
|
3875
|
+
),
|
|
3876
|
+
})
|
|
3877
|
+
.describe("A contact's [I]nstant[M]essaging client."),
|
|
3878
|
+
)
|
|
3879
|
+
.optional()
|
|
3880
|
+
.describe('IMClient dataset page.'),
|
|
3881
|
+
next: zod.boolean().optional(),
|
|
3882
|
+
page: zod
|
|
3883
|
+
.number()
|
|
3884
|
+
.optional()
|
|
3885
|
+
.describe('The page number of the partial result.'),
|
|
3886
|
+
})
|
|
3887
|
+
.optional()
|
|
3888
|
+
.describe("The contact's [I]nstant[M]essaging clients."),
|
|
3889
|
+
labels: zod
|
|
3890
|
+
.object({
|
|
3891
|
+
data: zod
|
|
3892
|
+
.array(
|
|
3893
|
+
zod
|
|
3894
|
+
.object({
|
|
3895
|
+
createdAt: zod
|
|
3896
|
+
.string()
|
|
3897
|
+
.optional()
|
|
3898
|
+
.describe('The user who created this Field.'),
|
|
3899
|
+
createdBy: zod
|
|
3900
|
+
.object({
|
|
3901
|
+
id: zod
|
|
3902
|
+
.string()
|
|
3903
|
+
.optional()
|
|
3904
|
+
.describe('Reference Object unique ID.'),
|
|
3905
|
+
name: zod
|
|
3906
|
+
.string()
|
|
3907
|
+
.optional()
|
|
3908
|
+
.describe('Reference Object display name.'),
|
|
3909
|
+
type: zod
|
|
3910
|
+
.string()
|
|
3911
|
+
.optional()
|
|
3912
|
+
.describe('Reference Object well-known type.'),
|
|
3913
|
+
})
|
|
3914
|
+
.optional()
|
|
3915
|
+
.describe('Timestamp(milli) of the Field creation.'),
|
|
3916
|
+
etag: zod
|
|
3917
|
+
.string()
|
|
3918
|
+
.optional()
|
|
3919
|
+
.describe(
|
|
3920
|
+
'Unique ID of the latest version of the update.\nThis ID changes after any update to the underlying value(s).',
|
|
3921
|
+
),
|
|
3922
|
+
id: zod
|
|
3923
|
+
.string()
|
|
3924
|
+
.optional()
|
|
3925
|
+
.describe(
|
|
3926
|
+
'The unique ID of the association. Never changes.',
|
|
3927
|
+
),
|
|
3928
|
+
label: zod
|
|
3929
|
+
.string()
|
|
3930
|
+
.optional()
|
|
3931
|
+
.describe(
|
|
3932
|
+
'REQUIRED. Tag value;\nNOTE: Keep in mind, hashtags are not case-sensitive,\nbut adding capital letters does make them easier to read:\n#MakeAWish vs. #makeawish.',
|
|
3933
|
+
),
|
|
3934
|
+
updatedAt: zod
|
|
3935
|
+
.string()
|
|
3936
|
+
.optional()
|
|
3937
|
+
.describe(
|
|
3938
|
+
'Timestamp(milli) of the last Field update.\nTake part in Etag generation.',
|
|
3939
|
+
),
|
|
3940
|
+
updatedBy: zod
|
|
3941
|
+
.object({
|
|
3942
|
+
id: zod
|
|
3943
|
+
.string()
|
|
3944
|
+
.optional()
|
|
3945
|
+
.describe('Reference Object unique ID.'),
|
|
3946
|
+
name: zod
|
|
3947
|
+
.string()
|
|
3948
|
+
.optional()
|
|
3949
|
+
.describe('Reference Object display name.'),
|
|
3950
|
+
type: zod
|
|
3951
|
+
.string()
|
|
3952
|
+
.optional()
|
|
3953
|
+
.describe('Reference Object well-known type.'),
|
|
3954
|
+
})
|
|
3955
|
+
.optional()
|
|
3956
|
+
.describe('The user who performed last Update.'),
|
|
3957
|
+
ver: zod
|
|
3958
|
+
.number()
|
|
3959
|
+
.optional()
|
|
3960
|
+
.describe(
|
|
3961
|
+
'Version of the latest update. Numeric sequence.',
|
|
3962
|
+
),
|
|
3963
|
+
})
|
|
3964
|
+
.describe(
|
|
3965
|
+
"A Contact's associated Tag.\nOutput purpose only.",
|
|
3966
|
+
),
|
|
3967
|
+
)
|
|
3968
|
+
.optional()
|
|
3969
|
+
.describe('Label(s) dataset page.'),
|
|
3970
|
+
next: zod.boolean().optional(),
|
|
3971
|
+
page: zod
|
|
3972
|
+
.number()
|
|
3973
|
+
.optional()
|
|
3974
|
+
.describe('Page number of partial result.'),
|
|
3975
|
+
})
|
|
3976
|
+
.optional()
|
|
3977
|
+
.describe("The Contact's associated tag(s)."),
|
|
3978
|
+
languages: zod
|
|
3979
|
+
.object({
|
|
3980
|
+
data: zod
|
|
3981
|
+
.array(
|
|
3982
|
+
zod
|
|
3983
|
+
.object({
|
|
3984
|
+
code: zod.string().optional(),
|
|
3985
|
+
createdAt: zod
|
|
3986
|
+
.string()
|
|
3987
|
+
.optional()
|
|
3988
|
+
.describe('The user who created this Field.'),
|
|
3989
|
+
createdBy: zod
|
|
3990
|
+
.object({
|
|
3991
|
+
id: zod
|
|
3992
|
+
.string()
|
|
3993
|
+
.optional()
|
|
3994
|
+
.describe('Reference Object unique ID.'),
|
|
3995
|
+
name: zod
|
|
3996
|
+
.string()
|
|
3997
|
+
.optional()
|
|
3998
|
+
.describe('Reference Object display name.'),
|
|
3999
|
+
type: zod
|
|
4000
|
+
.string()
|
|
4001
|
+
.optional()
|
|
4002
|
+
.describe('Reference Object well-known type.'),
|
|
4003
|
+
})
|
|
4004
|
+
.optional()
|
|
4005
|
+
.describe('Timestamp(milli) of the Field creation.'),
|
|
4006
|
+
etag: zod
|
|
4007
|
+
.string()
|
|
4008
|
+
.optional()
|
|
4009
|
+
.describe(
|
|
4010
|
+
'Unique ID of the latest version of the update.\nThis ID changes after any update to the underlying value(s).',
|
|
4011
|
+
),
|
|
4012
|
+
id: zod
|
|
4013
|
+
.string()
|
|
4014
|
+
.optional()
|
|
4015
|
+
.describe(
|
|
4016
|
+
'The unique ID of the association. Never changes.',
|
|
4017
|
+
),
|
|
4018
|
+
lang: zod.string().optional(),
|
|
4019
|
+
name: zod.string().optional(),
|
|
4020
|
+
primary: zod
|
|
4021
|
+
.boolean()
|
|
4022
|
+
.optional()
|
|
4023
|
+
.describe(
|
|
4024
|
+
'Indicates whether this association is the default\namong others of the same type.',
|
|
4025
|
+
),
|
|
4026
|
+
region: zod.string().optional(),
|
|
4027
|
+
script: zod.string().optional(),
|
|
4028
|
+
tag: zod.string().optional(),
|
|
4029
|
+
updatedAt: zod
|
|
4030
|
+
.string()
|
|
4031
|
+
.optional()
|
|
4032
|
+
.describe(
|
|
4033
|
+
'Timestamp(milli) of the last Field update.\nTake part in Etag generation.',
|
|
4034
|
+
),
|
|
4035
|
+
updatedBy: zod
|
|
4036
|
+
.object({
|
|
4037
|
+
id: zod
|
|
4038
|
+
.string()
|
|
4039
|
+
.optional()
|
|
4040
|
+
.describe('Reference Object unique ID.'),
|
|
4041
|
+
name: zod
|
|
4042
|
+
.string()
|
|
4043
|
+
.optional()
|
|
4044
|
+
.describe('Reference Object display name.'),
|
|
4045
|
+
type: zod
|
|
4046
|
+
.string()
|
|
4047
|
+
.optional()
|
|
4048
|
+
.describe('Reference Object well-known type.'),
|
|
4049
|
+
})
|
|
4050
|
+
.optional()
|
|
4051
|
+
.describe('The user who performed last Update.'),
|
|
4052
|
+
ver: zod
|
|
4053
|
+
.number()
|
|
4054
|
+
.optional()
|
|
4055
|
+
.describe(
|
|
4056
|
+
'Version of the latest update. Numeric sequence.',
|
|
4057
|
+
),
|
|
4058
|
+
})
|
|
4059
|
+
.describe(
|
|
4060
|
+
"A Contact's locale preference.\nOutput purpose only.",
|
|
4061
|
+
),
|
|
4062
|
+
)
|
|
4063
|
+
.optional()
|
|
4064
|
+
.describe("Page of the Contact's Language(s) dataset."),
|
|
4065
|
+
next: zod.boolean().optional(),
|
|
4066
|
+
page: zod
|
|
4067
|
+
.number()
|
|
4068
|
+
.optional()
|
|
4069
|
+
.describe('Page number of partial result dataset records.'),
|
|
4070
|
+
})
|
|
4071
|
+
.optional()
|
|
4072
|
+
.describe("A Contact's locale preference(s)."),
|
|
4073
|
+
managers: zod
|
|
4074
|
+
.object({
|
|
4075
|
+
data: zod
|
|
4076
|
+
.array(
|
|
4077
|
+
zod
|
|
4078
|
+
.object({
|
|
4079
|
+
createdAt: zod
|
|
4080
|
+
.string()
|
|
4081
|
+
.optional()
|
|
4082
|
+
.describe('The user who created this Field.'),
|
|
4083
|
+
createdBy: zod
|
|
4084
|
+
.object({
|
|
4085
|
+
id: zod
|
|
4086
|
+
.string()
|
|
4087
|
+
.optional()
|
|
4088
|
+
.describe('Reference Object unique ID.'),
|
|
4089
|
+
name: zod
|
|
4090
|
+
.string()
|
|
4091
|
+
.optional()
|
|
4092
|
+
.describe('Reference Object display name.'),
|
|
4093
|
+
type: zod
|
|
4094
|
+
.string()
|
|
4095
|
+
.optional()
|
|
4096
|
+
.describe('Reference Object well-known type.'),
|
|
4097
|
+
})
|
|
4098
|
+
.optional()
|
|
4099
|
+
.describe('Timestamp(milli) of the Field creation.'),
|
|
4100
|
+
etag: zod
|
|
4101
|
+
.string()
|
|
4102
|
+
.optional()
|
|
4103
|
+
.describe(
|
|
4104
|
+
'Unique ID of the latest version of the update.\nThis ID changes after any update to the underlying value(s).',
|
|
4105
|
+
),
|
|
4106
|
+
id: zod
|
|
4107
|
+
.string()
|
|
4108
|
+
.optional()
|
|
4109
|
+
.describe(
|
|
4110
|
+
'The unique ID of the association. Never changes.',
|
|
4111
|
+
),
|
|
4112
|
+
primary: zod
|
|
4113
|
+
.boolean()
|
|
4114
|
+
.optional()
|
|
4115
|
+
.describe(
|
|
4116
|
+
'Indicates whether this association is the default\namong others of the same type.',
|
|
4117
|
+
),
|
|
4118
|
+
updatedAt: zod
|
|
4119
|
+
.string()
|
|
4120
|
+
.optional()
|
|
4121
|
+
.describe(
|
|
4122
|
+
'Timestamp(milli) of the last Field update.\nTake part in Etag generation.',
|
|
4123
|
+
),
|
|
4124
|
+
updatedBy: zod
|
|
4125
|
+
.object({
|
|
4126
|
+
id: zod
|
|
4127
|
+
.string()
|
|
4128
|
+
.optional()
|
|
4129
|
+
.describe('Reference Object unique ID.'),
|
|
4130
|
+
name: zod
|
|
4131
|
+
.string()
|
|
4132
|
+
.optional()
|
|
4133
|
+
.describe('Reference Object display name.'),
|
|
4134
|
+
type: zod
|
|
4135
|
+
.string()
|
|
4136
|
+
.optional()
|
|
4137
|
+
.describe('Reference Object well-known type.'),
|
|
4138
|
+
})
|
|
4139
|
+
.optional()
|
|
4140
|
+
.describe('The user who performed last Update.'),
|
|
4141
|
+
user: zod
|
|
4142
|
+
.object({
|
|
4143
|
+
id: zod
|
|
4144
|
+
.string()
|
|
4145
|
+
.optional()
|
|
4146
|
+
.describe('Reference Object unique ID.'),
|
|
4147
|
+
name: zod
|
|
4148
|
+
.string()
|
|
4149
|
+
.optional()
|
|
4150
|
+
.describe('Reference Object display name.'),
|
|
4151
|
+
type: zod
|
|
4152
|
+
.string()
|
|
4153
|
+
.optional()
|
|
4154
|
+
.describe('Reference Object well-known type.'),
|
|
4155
|
+
})
|
|
4156
|
+
.optional()
|
|
4157
|
+
.describe('Responsible User.'),
|
|
4158
|
+
ver: zod
|
|
4159
|
+
.number()
|
|
4160
|
+
.optional()
|
|
4161
|
+
.describe(
|
|
4162
|
+
'Version of the latest update. Numeric sequence.',
|
|
4163
|
+
),
|
|
4164
|
+
})
|
|
4165
|
+
.describe("Manager. The Contact's responsible User."),
|
|
4166
|
+
)
|
|
4167
|
+
.optional()
|
|
4168
|
+
.describe('Manager dataset page.'),
|
|
4169
|
+
next: zod.boolean().optional(),
|
|
4170
|
+
page: zod
|
|
4171
|
+
.number()
|
|
4172
|
+
.optional()
|
|
4173
|
+
.describe('The page number of the partial result.'),
|
|
4174
|
+
})
|
|
4175
|
+
.optional()
|
|
4176
|
+
.describe("The Contact's internal manager(s)."),
|
|
4177
|
+
mode: zod
|
|
4178
|
+
.string()
|
|
4179
|
+
.optional()
|
|
4180
|
+
.describe('[R]ecord[b]ased[A]ccess[C]ontrol mode granted.'),
|
|
4181
|
+
name: zod
|
|
4182
|
+
.object({
|
|
4183
|
+
commonName: zod
|
|
4184
|
+
.string()
|
|
4185
|
+
.optional()
|
|
4186
|
+
.describe(
|
|
4187
|
+
"REQUIRED. End-User's full name in displayable form\nincluding all name parts, possibly including titles and suffixes,\nordered according to the End-User's locale and preferences.",
|
|
4188
|
+
),
|
|
4189
|
+
familyName: zod.string().optional(),
|
|
4190
|
+
givenName: zod.string().optional(),
|
|
4191
|
+
middleName: zod
|
|
4192
|
+
.string()
|
|
4193
|
+
.optional()
|
|
4194
|
+
.describe(
|
|
4195
|
+
'OPTIONAL. Middle name(s) of the End-User.\nNote that in some cultures, people can have multiple middle names;\nall can be present, with the names being separated by space characters.\nAlso note that in some cultures, middle names are not used.',
|
|
4196
|
+
),
|
|
4197
|
+
verified: zod
|
|
4198
|
+
.boolean()
|
|
4199
|
+
.optional()
|
|
4200
|
+
.describe(
|
|
4201
|
+
'Indicate whether Contact, as a Person, realy owns this associated name.',
|
|
4202
|
+
),
|
|
4203
|
+
})
|
|
4204
|
+
.optional()
|
|
4205
|
+
.describe(
|
|
4206
|
+
"The Contact's name.\nThis field is a singleton for Contact sources.",
|
|
4207
|
+
),
|
|
4208
|
+
phones: zod
|
|
4209
|
+
.object({
|
|
4210
|
+
data: zod
|
|
4211
|
+
.array(
|
|
4212
|
+
zod
|
|
4213
|
+
.object({
|
|
4214
|
+
createdAt: zod
|
|
4215
|
+
.string()
|
|
4216
|
+
.optional()
|
|
4217
|
+
.describe('The user who created this Field.'),
|
|
4218
|
+
createdBy: zod
|
|
4219
|
+
.object({
|
|
4220
|
+
id: zod
|
|
4221
|
+
.string()
|
|
4222
|
+
.optional()
|
|
4223
|
+
.describe('Reference Object unique ID.'),
|
|
4224
|
+
name: zod
|
|
4225
|
+
.string()
|
|
4226
|
+
.optional()
|
|
4227
|
+
.describe('Reference Object display name.'),
|
|
4228
|
+
type: zod
|
|
4229
|
+
.string()
|
|
4230
|
+
.optional()
|
|
4231
|
+
.describe('Reference Object well-known type.'),
|
|
4232
|
+
})
|
|
4233
|
+
.optional()
|
|
4234
|
+
.describe('Timestamp(milli) of the Field creation.'),
|
|
4235
|
+
etag: zod
|
|
4236
|
+
.string()
|
|
4237
|
+
.optional()
|
|
4238
|
+
.describe(
|
|
4239
|
+
'Unique ID of the latest version of the update.\nThis ID changes after any update to the underlying value(s).',
|
|
4240
|
+
),
|
|
4241
|
+
id: zod
|
|
4242
|
+
.string()
|
|
4243
|
+
.optional()
|
|
4244
|
+
.describe(
|
|
4245
|
+
'The unique ID of the association. Never changes.',
|
|
4246
|
+
),
|
|
4247
|
+
number: zod
|
|
4248
|
+
.string()
|
|
4249
|
+
.optional()
|
|
4250
|
+
.describe('The phone number.'),
|
|
4251
|
+
primary: zod
|
|
4252
|
+
.boolean()
|
|
4253
|
+
.optional()
|
|
4254
|
+
.describe(
|
|
4255
|
+
'Indicates whether this phone number is default within other channels of the same type(phone).',
|
|
4256
|
+
),
|
|
4257
|
+
type: zod
|
|
4258
|
+
.object({
|
|
4259
|
+
id: zod
|
|
4260
|
+
.string()
|
|
4261
|
+
.optional()
|
|
4262
|
+
.describe('Reference Object unique ID.'),
|
|
4263
|
+
name: zod
|
|
4264
|
+
.string()
|
|
4265
|
+
.optional()
|
|
4266
|
+
.describe('Reference Object display name.'),
|
|
4267
|
+
type: zod
|
|
4268
|
+
.string()
|
|
4269
|
+
.optional()
|
|
4270
|
+
.describe('Reference Object well-known type.'),
|
|
4271
|
+
})
|
|
4272
|
+
.optional()
|
|
4273
|
+
.describe(
|
|
4274
|
+
'Lookup reference information.\nSimplified search filter to uniquely identify related object.',
|
|
4275
|
+
),
|
|
4276
|
+
updatedAt: zod
|
|
4277
|
+
.string()
|
|
4278
|
+
.optional()
|
|
4279
|
+
.describe(
|
|
4280
|
+
'Timestamp(milli) of the last Field update.\nTake part in Etag generation.',
|
|
4281
|
+
),
|
|
4282
|
+
updatedBy: zod
|
|
4283
|
+
.object({
|
|
4284
|
+
id: zod
|
|
4285
|
+
.string()
|
|
4286
|
+
.optional()
|
|
4287
|
+
.describe('Reference Object unique ID.'),
|
|
4288
|
+
name: zod
|
|
4289
|
+
.string()
|
|
4290
|
+
.optional()
|
|
4291
|
+
.describe('Reference Object display name.'),
|
|
4292
|
+
type: zod
|
|
4293
|
+
.string()
|
|
4294
|
+
.optional()
|
|
4295
|
+
.describe('Reference Object well-known type.'),
|
|
4296
|
+
})
|
|
4297
|
+
.optional()
|
|
4298
|
+
.describe('The user who performed last Update.'),
|
|
4299
|
+
ver: zod
|
|
4300
|
+
.number()
|
|
4301
|
+
.optional()
|
|
4302
|
+
.describe(
|
|
4303
|
+
'Version of the latest update. Numeric sequence.',
|
|
4304
|
+
),
|
|
4305
|
+
verified: zod.boolean().optional(),
|
|
4306
|
+
})
|
|
4307
|
+
.describe("The Contact's phone number."),
|
|
4308
|
+
)
|
|
4309
|
+
.optional()
|
|
4310
|
+
.describe('PhoneNumber dataset page.'),
|
|
4311
|
+
next: zod.boolean().optional(),
|
|
4312
|
+
page: zod
|
|
4313
|
+
.number()
|
|
4314
|
+
.optional()
|
|
4315
|
+
.describe('The page number of the partial result.'),
|
|
4316
|
+
})
|
|
4317
|
+
.optional()
|
|
4318
|
+
.describe("The Contact's phone numbers."),
|
|
4319
|
+
photos: zod
|
|
4320
|
+
.object({
|
|
4321
|
+
data: zod
|
|
4322
|
+
.array(
|
|
4323
|
+
zod
|
|
4324
|
+
.object({
|
|
4325
|
+
createdAt: zod
|
|
4326
|
+
.string()
|
|
4327
|
+
.optional()
|
|
4328
|
+
.describe('The user who created this Field.'),
|
|
4329
|
+
createdBy: zod
|
|
4330
|
+
.object({
|
|
4331
|
+
id: zod
|
|
4332
|
+
.string()
|
|
4333
|
+
.optional()
|
|
4334
|
+
.describe('Reference Object unique ID.'),
|
|
4335
|
+
name: zod
|
|
4336
|
+
.string()
|
|
4337
|
+
.optional()
|
|
4338
|
+
.describe('Reference Object display name.'),
|
|
4339
|
+
type: zod
|
|
4340
|
+
.string()
|
|
4341
|
+
.optional()
|
|
4342
|
+
.describe('Reference Object well-known type.'),
|
|
4343
|
+
})
|
|
4344
|
+
.optional()
|
|
4345
|
+
.describe('Timestamp(milli) of the Field creation.'),
|
|
4346
|
+
etag: zod
|
|
4347
|
+
.string()
|
|
4348
|
+
.optional()
|
|
4349
|
+
.describe(
|
|
4350
|
+
'Unique ID of the latest version of the update.\nThis ID changes after any update to the underlying value(s).',
|
|
4351
|
+
),
|
|
4352
|
+
id: zod
|
|
4353
|
+
.string()
|
|
4354
|
+
.optional()
|
|
4355
|
+
.describe(
|
|
4356
|
+
'The unique ID of the association. Never changes.',
|
|
4357
|
+
),
|
|
4358
|
+
photoId: zod.string().optional(),
|
|
4359
|
+
photoUrl: zod.string().optional(),
|
|
4360
|
+
primary: zod
|
|
4361
|
+
.boolean()
|
|
4362
|
+
.optional()
|
|
4363
|
+
.describe(
|
|
4364
|
+
'True if the photo is a default photo; false if the photo is a user-provided photo.',
|
|
4365
|
+
),
|
|
4366
|
+
updatedAt: zod
|
|
4367
|
+
.string()
|
|
4368
|
+
.optional()
|
|
4369
|
+
.describe(
|
|
4370
|
+
'Timestamp(milli) of the last Field update.\nTake part in Etag generation.',
|
|
4371
|
+
),
|
|
4372
|
+
updatedBy: zod
|
|
4373
|
+
.object({
|
|
4374
|
+
id: zod
|
|
4375
|
+
.string()
|
|
4376
|
+
.optional()
|
|
4377
|
+
.describe('Reference Object unique ID.'),
|
|
4378
|
+
name: zod
|
|
4379
|
+
.string()
|
|
4380
|
+
.optional()
|
|
4381
|
+
.describe('Reference Object display name.'),
|
|
4382
|
+
type: zod
|
|
4383
|
+
.string()
|
|
4384
|
+
.optional()
|
|
4385
|
+
.describe('Reference Object well-known type.'),
|
|
4386
|
+
})
|
|
4387
|
+
.optional()
|
|
4388
|
+
.describe('The user who performed last Update.'),
|
|
4389
|
+
ver: zod
|
|
4390
|
+
.number()
|
|
4391
|
+
.optional()
|
|
4392
|
+
.describe(
|
|
4393
|
+
'Version of the latest update. Numeric sequence.',
|
|
4394
|
+
),
|
|
4395
|
+
})
|
|
4396
|
+
.describe(
|
|
4397
|
+
"A contact's photo.\nA picture shown next to the contact's name\nto help others recognize the contact.",
|
|
4398
|
+
),
|
|
4399
|
+
)
|
|
4400
|
+
.optional()
|
|
4401
|
+
.describe('Photo dataset page.'),
|
|
4402
|
+
next: zod.boolean().optional(),
|
|
4403
|
+
page: zod
|
|
4404
|
+
.number()
|
|
4405
|
+
.optional()
|
|
4406
|
+
.describe('The page number of the partial result.'),
|
|
4407
|
+
})
|
|
4408
|
+
.optional()
|
|
4409
|
+
.describe("Output only. The Contact's photo(s)."),
|
|
4410
|
+
timezones: zod
|
|
4411
|
+
.object({
|
|
4412
|
+
data: zod
|
|
4413
|
+
.array(
|
|
4414
|
+
zod
|
|
4415
|
+
.object({
|
|
4416
|
+
createdAt: zod
|
|
4417
|
+
.string()
|
|
4418
|
+
.optional()
|
|
4419
|
+
.describe('The user who created this Field.'),
|
|
4420
|
+
createdBy: zod
|
|
4421
|
+
.object({
|
|
4422
|
+
id: zod
|
|
4423
|
+
.string()
|
|
4424
|
+
.optional()
|
|
4425
|
+
.describe('Reference Object unique ID.'),
|
|
4426
|
+
name: zod
|
|
4427
|
+
.string()
|
|
4428
|
+
.optional()
|
|
4429
|
+
.describe('Reference Object display name.'),
|
|
4430
|
+
type: zod
|
|
4431
|
+
.string()
|
|
4432
|
+
.optional()
|
|
4433
|
+
.describe('Reference Object well-known type.'),
|
|
4434
|
+
})
|
|
4435
|
+
.optional()
|
|
4436
|
+
.describe('Timestamp(milli) of the Field creation.'),
|
|
4437
|
+
etag: zod
|
|
4438
|
+
.string()
|
|
4439
|
+
.optional()
|
|
4440
|
+
.describe(
|
|
4441
|
+
'Unique ID of the latest version of the update.\nThis ID changes after any update to the underlying value(s).',
|
|
4442
|
+
),
|
|
4443
|
+
id: zod
|
|
4444
|
+
.string()
|
|
4445
|
+
.optional()
|
|
4446
|
+
.describe(
|
|
4447
|
+
'The unique ID of the association. Never changes.',
|
|
4448
|
+
),
|
|
4449
|
+
primary: zod
|
|
4450
|
+
.boolean()
|
|
4451
|
+
.optional()
|
|
4452
|
+
.describe(
|
|
4453
|
+
'Indicates whether this association is the default\namong others of the same type.',
|
|
4454
|
+
),
|
|
4455
|
+
timezone: zod
|
|
4456
|
+
.object({
|
|
4457
|
+
id: zod
|
|
4458
|
+
.string()
|
|
4459
|
+
.optional()
|
|
4460
|
+
.describe('Reference Object unique ID.'),
|
|
4461
|
+
name: zod
|
|
4462
|
+
.string()
|
|
4463
|
+
.optional()
|
|
4464
|
+
.describe('Reference Object display name.'),
|
|
4465
|
+
type: zod
|
|
4466
|
+
.string()
|
|
4467
|
+
.optional()
|
|
4468
|
+
.describe('Reference Object well-known type.'),
|
|
4469
|
+
})
|
|
4470
|
+
.optional()
|
|
4471
|
+
.describe(
|
|
4472
|
+
'Timezone dictionary reference value associated.',
|
|
4473
|
+
),
|
|
4474
|
+
updatedAt: zod
|
|
4475
|
+
.string()
|
|
4476
|
+
.optional()
|
|
4477
|
+
.describe(
|
|
4478
|
+
'Timestamp(milli) of the last Field update.\nTake part in Etag generation.',
|
|
4479
|
+
),
|
|
4480
|
+
updatedBy: zod
|
|
4481
|
+
.object({
|
|
4482
|
+
id: zod
|
|
4483
|
+
.string()
|
|
4484
|
+
.optional()
|
|
4485
|
+
.describe('Reference Object unique ID.'),
|
|
4486
|
+
name: zod
|
|
4487
|
+
.string()
|
|
4488
|
+
.optional()
|
|
4489
|
+
.describe('Reference Object display name.'),
|
|
4490
|
+
type: zod
|
|
4491
|
+
.string()
|
|
4492
|
+
.optional()
|
|
4493
|
+
.describe('Reference Object well-known type.'),
|
|
4494
|
+
})
|
|
4495
|
+
.optional()
|
|
4496
|
+
.describe('The user who performed last Update.'),
|
|
4497
|
+
ver: zod
|
|
4498
|
+
.number()
|
|
4499
|
+
.optional()
|
|
4500
|
+
.describe(
|
|
4501
|
+
'Version of the latest update. Numeric sequence.',
|
|
4502
|
+
),
|
|
4503
|
+
})
|
|
4504
|
+
.describe("A Contact's timezone preference."),
|
|
4505
|
+
)
|
|
4506
|
+
.optional()
|
|
4507
|
+
.describe('Timezone dataset page.'),
|
|
4508
|
+
next: zod.boolean().optional(),
|
|
4509
|
+
page: zod
|
|
4510
|
+
.number()
|
|
4511
|
+
.optional()
|
|
4512
|
+
.describe('The page number of the partial result.'),
|
|
4513
|
+
})
|
|
4514
|
+
.optional()
|
|
4515
|
+
.describe("The Contact's timezone preference(s)."),
|
|
4516
|
+
updatedAt: zod.string().optional(),
|
|
4517
|
+
updatedBy: zod
|
|
4518
|
+
.object({
|
|
4519
|
+
id: zod
|
|
4520
|
+
.string()
|
|
4521
|
+
.optional()
|
|
4522
|
+
.describe('Reference Object unique ID.'),
|
|
4523
|
+
name: zod
|
|
4524
|
+
.string()
|
|
4525
|
+
.optional()
|
|
4526
|
+
.describe('Reference Object display name.'),
|
|
4527
|
+
type: zod
|
|
4528
|
+
.string()
|
|
4529
|
+
.optional()
|
|
4530
|
+
.describe('Reference Object well-known type.'),
|
|
4531
|
+
})
|
|
4532
|
+
.optional()
|
|
4533
|
+
.describe(
|
|
4534
|
+
'Lookup reference information.\nSimplified search filter to uniquely identify related object.',
|
|
4535
|
+
),
|
|
4536
|
+
user: zod
|
|
4537
|
+
.object({
|
|
4538
|
+
id: zod
|
|
4539
|
+
.string()
|
|
4540
|
+
.optional()
|
|
4541
|
+
.describe('Reference Object unique ID.'),
|
|
4542
|
+
name: zod
|
|
4543
|
+
.string()
|
|
4544
|
+
.optional()
|
|
4545
|
+
.describe('Reference Object display name.'),
|
|
4546
|
+
type: zod
|
|
4547
|
+
.string()
|
|
4548
|
+
.optional()
|
|
4549
|
+
.describe('Reference Object well-known type.'),
|
|
4550
|
+
})
|
|
4551
|
+
.optional()
|
|
4552
|
+
.describe(
|
|
4553
|
+
'Lookup reference information.\nSimplified search filter to uniquely identify related object.',
|
|
4554
|
+
),
|
|
4555
|
+
variables: zod
|
|
4556
|
+
.object({
|
|
4557
|
+
data: zod
|
|
4558
|
+
.array(
|
|
4559
|
+
zod
|
|
4560
|
+
.object({
|
|
4561
|
+
createdAt: zod
|
|
4562
|
+
.string()
|
|
4563
|
+
.optional()
|
|
4564
|
+
.describe('The user who created this Field.'),
|
|
4565
|
+
createdBy: zod
|
|
4566
|
+
.object({
|
|
4567
|
+
id: zod
|
|
4568
|
+
.string()
|
|
4569
|
+
.optional()
|
|
4570
|
+
.describe('Reference Object unique ID.'),
|
|
4571
|
+
name: zod
|
|
4572
|
+
.string()
|
|
4573
|
+
.optional()
|
|
4574
|
+
.describe('Reference Object display name.'),
|
|
4575
|
+
type: zod
|
|
4576
|
+
.string()
|
|
4577
|
+
.optional()
|
|
4578
|
+
.describe('Reference Object well-known type.'),
|
|
4579
|
+
})
|
|
4580
|
+
.optional()
|
|
4581
|
+
.describe('Timestamp(milli) of the Field creation.'),
|
|
4582
|
+
etag: zod
|
|
4583
|
+
.string()
|
|
4584
|
+
.optional()
|
|
4585
|
+
.describe(
|
|
4586
|
+
'Unique ID of the latest version of the update.\nThis ID changes after any update to the underlying value(s).',
|
|
4587
|
+
),
|
|
4588
|
+
id: zod
|
|
4589
|
+
.string()
|
|
4590
|
+
.optional()
|
|
4591
|
+
.describe(
|
|
4592
|
+
'The unique ID of the association. Never changes.',
|
|
4593
|
+
),
|
|
4594
|
+
key: zod
|
|
4595
|
+
.string()
|
|
4596
|
+
.optional()
|
|
4597
|
+
.describe('Key name of the variable.'),
|
|
4598
|
+
updatedAt: zod
|
|
4599
|
+
.string()
|
|
4600
|
+
.optional()
|
|
4601
|
+
.describe(
|
|
4602
|
+
'Timestamp(milli) of the last Field update.\nTake part in Etag generation.',
|
|
4603
|
+
),
|
|
4604
|
+
updatedBy: zod
|
|
4605
|
+
.object({
|
|
4606
|
+
id: zod
|
|
4607
|
+
.string()
|
|
4608
|
+
.optional()
|
|
4609
|
+
.describe('Reference Object unique ID.'),
|
|
4610
|
+
name: zod
|
|
4611
|
+
.string()
|
|
4612
|
+
.optional()
|
|
4613
|
+
.describe('Reference Object display name.'),
|
|
4614
|
+
type: zod
|
|
4615
|
+
.string()
|
|
4616
|
+
.optional()
|
|
4617
|
+
.describe('Reference Object well-known type.'),
|
|
4618
|
+
})
|
|
4619
|
+
.optional()
|
|
4620
|
+
.describe('The user who performed last Update.'),
|
|
4621
|
+
value: zod
|
|
4622
|
+
.unknown()
|
|
4623
|
+
.optional()
|
|
4624
|
+
.describe('JSON value of the variable.'),
|
|
4625
|
+
ver: zod
|
|
4626
|
+
.number()
|
|
4627
|
+
.optional()
|
|
4628
|
+
.describe(
|
|
4629
|
+
'Version of the latest update. Numeric sequence.',
|
|
4630
|
+
),
|
|
4631
|
+
})
|
|
4632
|
+
.describe(
|
|
4633
|
+
"The Contact's variable.\nArbitrary data that is populated by users or clients.\nDuplicate keys and values are allowed.",
|
|
4634
|
+
),
|
|
4635
|
+
)
|
|
4636
|
+
.optional()
|
|
4637
|
+
.describe('Variable dataset page.'),
|
|
4638
|
+
next: zod.boolean().optional(),
|
|
4639
|
+
page: zod
|
|
4640
|
+
.number()
|
|
4641
|
+
.optional()
|
|
4642
|
+
.describe('The page number of the partial result.'),
|
|
4643
|
+
})
|
|
4644
|
+
.optional()
|
|
4645
|
+
.describe(
|
|
4646
|
+
'Arbitrary client data that is populated by clients.\nDuplicate keys and values are allowed.',
|
|
4647
|
+
),
|
|
4648
|
+
ver: zod
|
|
4649
|
+
.number()
|
|
4650
|
+
.optional()
|
|
4651
|
+
.describe(
|
|
4652
|
+
'READONLY. Operational attributes\nVersion of the latest update. Numeric sequence.',
|
|
4653
|
+
),
|
|
4654
|
+
})
|
|
4655
|
+
.describe('The Contact principal source.\nOUTPUT purpose only.'),
|
|
4656
|
+
)
|
|
4657
|
+
.optional()
|
|
4658
|
+
.describe(
|
|
4659
|
+
'Successfully created Contacts. Position matches the corresponding\nInputContact position in CreateContactsRequest.input, skipping\nfailures.',
|
|
4660
|
+
),
|
|
4661
|
+
failures: zod
|
|
4662
|
+
.array(
|
|
4663
|
+
zod
|
|
4664
|
+
.object({
|
|
4665
|
+
error: zod
|
|
4666
|
+
.object({
|
|
4667
|
+
code: zod.number().optional(),
|
|
4668
|
+
details: zod
|
|
4669
|
+
.array(
|
|
4670
|
+
zod.object({
|
|
4671
|
+
'@type': zod.string().optional(),
|
|
4672
|
+
}),
|
|
4673
|
+
)
|
|
4674
|
+
.optional(),
|
|
4675
|
+
message: zod.string().optional(),
|
|
4676
|
+
})
|
|
4677
|
+
.optional()
|
|
4678
|
+
.describe('Standardized error (code, message, details).'),
|
|
4679
|
+
index: zod
|
|
4680
|
+
.number()
|
|
4681
|
+
.optional()
|
|
4682
|
+
.describe('0-based position in CreateContactsRequest.input.'),
|
|
4683
|
+
input: zod
|
|
4684
|
+
.object({
|
|
4685
|
+
about: zod
|
|
4686
|
+
.string()
|
|
4687
|
+
.optional()
|
|
4688
|
+
.describe(
|
|
4689
|
+
'BIO. Short description about the Contact person.\nOPTIONAL. Multi-lined text.',
|
|
4690
|
+
),
|
|
4691
|
+
comments: zod
|
|
4692
|
+
.array(
|
|
4693
|
+
zod.object({
|
|
4694
|
+
etag: zod
|
|
4695
|
+
.string()
|
|
4696
|
+
.optional()
|
|
4697
|
+
.describe(
|
|
4698
|
+
'Unique ID of the latest version of an existing resorce.',
|
|
4699
|
+
),
|
|
4700
|
+
format: zod
|
|
4701
|
+
.array(
|
|
4702
|
+
zod.object({
|
|
4703
|
+
bold: zod.looseObject({}).optional(),
|
|
4704
|
+
codeblock: zod
|
|
4705
|
+
.object({
|
|
4706
|
+
language: zod.string().optional(),
|
|
4707
|
+
})
|
|
4708
|
+
.optional(),
|
|
4709
|
+
italic: zod.looseObject({}).optional(),
|
|
4710
|
+
length: zod
|
|
4711
|
+
.number()
|
|
4712
|
+
.optional()
|
|
4713
|
+
.describe('Length text runes count.'),
|
|
4714
|
+
link: zod
|
|
4715
|
+
.object({
|
|
4716
|
+
url: zod.string().optional(),
|
|
4717
|
+
})
|
|
4718
|
+
.optional(),
|
|
4719
|
+
monospace: zod.looseObject({}).optional(),
|
|
4720
|
+
offset: zod
|
|
4721
|
+
.number()
|
|
4722
|
+
.optional()
|
|
4723
|
+
.describe('Offset text runes count.'),
|
|
4724
|
+
strikethrough: zod.looseObject({}).optional(),
|
|
4725
|
+
underline: zod.looseObject({}).optional(),
|
|
4726
|
+
}),
|
|
4727
|
+
)
|
|
4728
|
+
.optional()
|
|
4729
|
+
.describe('NEW Text components styling format.'),
|
|
4730
|
+
text: zod.string().describe('NEW Text of the comment.'),
|
|
4731
|
+
}),
|
|
4732
|
+
)
|
|
4733
|
+
.optional()
|
|
4734
|
+
.describe('Publish NEW comment(s) for this Contact.'),
|
|
4735
|
+
emails: zod
|
|
4736
|
+
.array(
|
|
4737
|
+
zod
|
|
4738
|
+
.object({
|
|
4739
|
+
email: zod.string().describe('The email address.'),
|
|
4740
|
+
etag: zod
|
|
4741
|
+
.string()
|
|
4742
|
+
.optional()
|
|
4743
|
+
.describe(
|
|
4744
|
+
'Unique ID of the latest version of an existing resorce.',
|
|
4745
|
+
),
|
|
4746
|
+
primary: zod
|
|
4747
|
+
.boolean()
|
|
4748
|
+
.optional()
|
|
4749
|
+
.describe(
|
|
4750
|
+
'Indicates whether this phone number is default within other channels of the same type(phone).',
|
|
4751
|
+
),
|
|
4752
|
+
type: zod
|
|
4753
|
+
.object({
|
|
4754
|
+
id: zod
|
|
4755
|
+
.string()
|
|
4756
|
+
.optional()
|
|
4757
|
+
.describe('Reference Object unique ID.'),
|
|
4758
|
+
name: zod
|
|
4759
|
+
.string()
|
|
4760
|
+
.optional()
|
|
4761
|
+
.describe('Reference Object display name.'),
|
|
4762
|
+
type: zod
|
|
4763
|
+
.string()
|
|
4764
|
+
.optional()
|
|
4765
|
+
.describe('Reference Object well-known type.'),
|
|
4766
|
+
})
|
|
4767
|
+
.optional()
|
|
4768
|
+
.describe(
|
|
4769
|
+
'Lookup reference information.\nSimplified search filter to uniquely identify related object.',
|
|
4770
|
+
),
|
|
4771
|
+
verified: zod.boolean().optional(),
|
|
4772
|
+
})
|
|
4773
|
+
.describe("Input of the Contact's email address."),
|
|
4774
|
+
)
|
|
4775
|
+
.optional()
|
|
4776
|
+
.describe("The Contact's email address(es)."),
|
|
4777
|
+
etag: zod
|
|
4778
|
+
.string()
|
|
4779
|
+
.optional()
|
|
4780
|
+
.describe(
|
|
4781
|
+
'Unique ID of the latest version of an existing resorce.',
|
|
4782
|
+
),
|
|
4783
|
+
groups: zod
|
|
4784
|
+
.array(
|
|
4785
|
+
zod
|
|
4786
|
+
.object({
|
|
4787
|
+
etag: zod
|
|
4788
|
+
.string()
|
|
4789
|
+
.describe(
|
|
4790
|
+
'Unique ID of the latest version of an existing resource.',
|
|
4791
|
+
),
|
|
4792
|
+
group: zod
|
|
4793
|
+
.object({
|
|
4794
|
+
id: zod
|
|
4795
|
+
.string()
|
|
4796
|
+
.optional()
|
|
4797
|
+
.describe('Reference Object unique ID.'),
|
|
4798
|
+
name: zod
|
|
4799
|
+
.string()
|
|
4800
|
+
.optional()
|
|
4801
|
+
.describe('Reference Object display name.'),
|
|
4802
|
+
type: zod
|
|
4803
|
+
.string()
|
|
4804
|
+
.optional()
|
|
4805
|
+
.describe('Reference Object well-known type.'),
|
|
4806
|
+
})
|
|
4807
|
+
.optional()
|
|
4808
|
+
.describe('Group of contacts associated.'),
|
|
4809
|
+
})
|
|
4810
|
+
.describe("An input of the Contact's groups."),
|
|
4811
|
+
)
|
|
4812
|
+
.optional()
|
|
4813
|
+
.describe("The Contact's associated group(s)."),
|
|
4814
|
+
imclients: zod
|
|
4815
|
+
.array(
|
|
4816
|
+
zod
|
|
4817
|
+
.object({
|
|
4818
|
+
createdBy: zod
|
|
4819
|
+
.string()
|
|
4820
|
+
.optional()
|
|
4821
|
+
.describe('Id of Agent created this IM client.'),
|
|
4822
|
+
externalUser: zod.string().optional(),
|
|
4823
|
+
gatewayId: zod
|
|
4824
|
+
.string()
|
|
4825
|
+
.optional()
|
|
4826
|
+
.describe(
|
|
4827
|
+
'App (Text-Gateway) used to connect the IM client.',
|
|
4828
|
+
),
|
|
4829
|
+
protocol: zod.string().optional(),
|
|
4830
|
+
via: zod
|
|
4831
|
+
.string()
|
|
4832
|
+
.optional()
|
|
4833
|
+
.describe(
|
|
4834
|
+
'[Via] App(-specific) peer(-id) to connect[from] the IM client.',
|
|
4835
|
+
),
|
|
4836
|
+
})
|
|
4837
|
+
.describe('Input of the contact IM client.'),
|
|
4838
|
+
)
|
|
4839
|
+
.optional()
|
|
4840
|
+
.describe("The contact's [I]nstant[M]essaging clients."),
|
|
4841
|
+
labels: zod
|
|
4842
|
+
.array(
|
|
4843
|
+
zod
|
|
4844
|
+
.object({
|
|
4845
|
+
etag: zod
|
|
4846
|
+
.string()
|
|
4847
|
+
.optional()
|
|
4848
|
+
.describe(
|
|
4849
|
+
'Unique ID of the latest version of an existing resorce.',
|
|
4850
|
+
),
|
|
4851
|
+
label: zod
|
|
4852
|
+
.string()
|
|
4853
|
+
.optional()
|
|
4854
|
+
.describe(
|
|
4855
|
+
'REQUIRED. Hashtag value;\nNOTE: Keep in mind, hashtags are not case-sensitive,\nbut adding capital letters does make them easier to read:\n#MakeAWish vs. #makeawish.',
|
|
4856
|
+
),
|
|
4857
|
+
})
|
|
4858
|
+
.describe(
|
|
4859
|
+
"A Contact's associated Tag.\nOutput purpose only.",
|
|
4860
|
+
),
|
|
4861
|
+
)
|
|
4862
|
+
.optional()
|
|
4863
|
+
.describe("The Contact's associated label(s)."),
|
|
4864
|
+
languages: zod
|
|
4865
|
+
.array(
|
|
4866
|
+
zod
|
|
4867
|
+
.object({
|
|
4868
|
+
etag: zod
|
|
4869
|
+
.string()
|
|
4870
|
+
.describe(
|
|
4871
|
+
'Unique ID of the latest version of an existing association.',
|
|
4872
|
+
),
|
|
4873
|
+
primary: zod
|
|
4874
|
+
.boolean()
|
|
4875
|
+
.optional()
|
|
4876
|
+
.describe(
|
|
4877
|
+
'Indicates whether this association must be default\namong others of the same type.',
|
|
4878
|
+
),
|
|
4879
|
+
tag: zod.string().optional(),
|
|
4880
|
+
})
|
|
4881
|
+
.describe("An input of the Contact's language."),
|
|
4882
|
+
)
|
|
4883
|
+
.optional()
|
|
4884
|
+
.describe("A Contact's locale preference(s)."),
|
|
4885
|
+
managers: zod
|
|
4886
|
+
.array(
|
|
4887
|
+
zod.object({
|
|
4888
|
+
etag: zod
|
|
4889
|
+
.string()
|
|
4890
|
+
.describe(
|
|
4891
|
+
'Unique ID of the latest version of an existing resource.',
|
|
4892
|
+
),
|
|
4893
|
+
primary: zod
|
|
4894
|
+
.boolean()
|
|
4895
|
+
.optional()
|
|
4896
|
+
.describe(
|
|
4897
|
+
'Indicates whether this association must be default among others.',
|
|
4898
|
+
),
|
|
4899
|
+
user: zod
|
|
4900
|
+
.object({
|
|
4901
|
+
id: zod
|
|
4902
|
+
.string()
|
|
4903
|
+
.optional()
|
|
4904
|
+
.describe('Reference Object unique ID.'),
|
|
4905
|
+
name: zod
|
|
4906
|
+
.string()
|
|
4907
|
+
.optional()
|
|
4908
|
+
.describe('Reference Object display name.'),
|
|
4909
|
+
type: zod
|
|
4910
|
+
.string()
|
|
4911
|
+
.optional()
|
|
4912
|
+
.describe('Reference Object well-known type.'),
|
|
4913
|
+
})
|
|
4914
|
+
.optional()
|
|
4915
|
+
.describe('Responsible User.'),
|
|
4916
|
+
}),
|
|
4917
|
+
)
|
|
4918
|
+
.optional()
|
|
4919
|
+
.describe("The Contact's internal manager(s)."),
|
|
4920
|
+
name: zod
|
|
4921
|
+
.object({
|
|
4922
|
+
commonName: zod
|
|
4923
|
+
.string()
|
|
4924
|
+
.optional()
|
|
4925
|
+
.describe(
|
|
4926
|
+
"REQUIRED. End-User's full name in displayable form\nincluding all name parts, possibly including titles and suffixes,\nordered according to the End-User's locale and preferences.",
|
|
4927
|
+
),
|
|
4928
|
+
familyName: zod.string().optional(),
|
|
4929
|
+
givenName: zod.string().optional(),
|
|
4930
|
+
middleName: zod
|
|
4931
|
+
.string()
|
|
4932
|
+
.optional()
|
|
4933
|
+
.describe(
|
|
4934
|
+
'OPTIONAL. Middle name(s) of the End-User.\nNote that in some cultures, people can have multiple middle names;\nall can be present, with the names being separated by space characters.\nAlso note that in some cultures, middle names are not used.',
|
|
4935
|
+
),
|
|
4936
|
+
verified: zod
|
|
4937
|
+
.boolean()
|
|
4938
|
+
.optional()
|
|
4939
|
+
.describe(
|
|
4940
|
+
'Indicate whether Contact, as a Person, realy owns this associated name.',
|
|
4941
|
+
),
|
|
4942
|
+
})
|
|
4943
|
+
.optional(),
|
|
4944
|
+
phones: zod
|
|
4945
|
+
.array(
|
|
4946
|
+
zod
|
|
4947
|
+
.object({
|
|
4948
|
+
etag: zod
|
|
4949
|
+
.string()
|
|
4950
|
+
.optional()
|
|
4951
|
+
.describe(
|
|
4952
|
+
'Unique ID of the latest version of an existing resorce.',
|
|
4953
|
+
),
|
|
4954
|
+
number: zod.string().describe('The phone number.'),
|
|
4955
|
+
primary: zod
|
|
4956
|
+
.boolean()
|
|
4957
|
+
.optional()
|
|
4958
|
+
.describe(
|
|
4959
|
+
'Indicates whether this phone number is default within other channels of the same type(phone).',
|
|
4960
|
+
),
|
|
4961
|
+
type: zod
|
|
4962
|
+
.object({
|
|
4963
|
+
id: zod
|
|
4964
|
+
.string()
|
|
4965
|
+
.optional()
|
|
4966
|
+
.describe('Reference Object unique ID.'),
|
|
4967
|
+
name: zod
|
|
4968
|
+
.string()
|
|
4969
|
+
.optional()
|
|
4970
|
+
.describe('Reference Object display name.'),
|
|
4971
|
+
type: zod
|
|
4972
|
+
.string()
|
|
4973
|
+
.optional()
|
|
4974
|
+
.describe('Reference Object well-known type.'),
|
|
4975
|
+
})
|
|
4976
|
+
.optional()
|
|
4977
|
+
.describe(
|
|
4978
|
+
'Lookup reference information.\nSimplified search filter to uniquely identify related object.',
|
|
4979
|
+
),
|
|
4980
|
+
verified: zod.boolean().optional(),
|
|
4981
|
+
})
|
|
4982
|
+
.describe('Input of the contact phone number.'),
|
|
4983
|
+
)
|
|
4984
|
+
.optional()
|
|
4985
|
+
.describe("The Contact's phone numbers."),
|
|
4986
|
+
photos: zod
|
|
4987
|
+
.array(
|
|
4988
|
+
zod
|
|
4989
|
+
.object({
|
|
4990
|
+
etag: zod
|
|
4991
|
+
.string()
|
|
4992
|
+
.optional()
|
|
4993
|
+
.describe(
|
|
4994
|
+
'Unique ID of the latest version of an existing association.',
|
|
4995
|
+
),
|
|
4996
|
+
photoId: zod.string().optional(),
|
|
4997
|
+
photoUrl: zod.string().optional(),
|
|
4998
|
+
primary: zod
|
|
4999
|
+
.boolean()
|
|
5000
|
+
.optional()
|
|
5001
|
+
.describe(
|
|
5002
|
+
'True if the photo is a default photo; false if the photo is a user-provided photo.',
|
|
5003
|
+
),
|
|
5004
|
+
})
|
|
5005
|
+
.describe('Input of the photo.'),
|
|
5006
|
+
)
|
|
5007
|
+
.optional()
|
|
5008
|
+
.describe("Output only. The Contact's photo(s)."),
|
|
5009
|
+
timezones: zod
|
|
5010
|
+
.array(
|
|
5011
|
+
zod
|
|
5012
|
+
.object({
|
|
5013
|
+
etag: zod
|
|
5014
|
+
.string()
|
|
5015
|
+
.describe(
|
|
5016
|
+
'Unique ID of the latest version of an existing resource.',
|
|
5017
|
+
),
|
|
5018
|
+
primary: zod
|
|
5019
|
+
.boolean()
|
|
5020
|
+
.optional()
|
|
5021
|
+
.describe(
|
|
5022
|
+
'Indicates whether this association must be default among others.',
|
|
5023
|
+
),
|
|
5024
|
+
timezone: zod
|
|
5025
|
+
.object({
|
|
5026
|
+
id: zod
|
|
5027
|
+
.string()
|
|
5028
|
+
.optional()
|
|
5029
|
+
.describe('Reference Object unique ID.'),
|
|
5030
|
+
name: zod
|
|
5031
|
+
.string()
|
|
5032
|
+
.optional()
|
|
5033
|
+
.describe('Reference Object display name.'),
|
|
5034
|
+
type: zod
|
|
5035
|
+
.string()
|
|
5036
|
+
.optional()
|
|
5037
|
+
.describe('Reference Object well-known type.'),
|
|
5038
|
+
})
|
|
5039
|
+
.optional()
|
|
5040
|
+
.describe(
|
|
5041
|
+
'Timezone dictionary reference value associated.',
|
|
5042
|
+
),
|
|
5043
|
+
})
|
|
5044
|
+
.describe("An input of the Contact's timezones."),
|
|
5045
|
+
)
|
|
5046
|
+
.optional()
|
|
5047
|
+
.describe("The Contact's timezone preference(s)."),
|
|
5048
|
+
variables: zod
|
|
5049
|
+
.array(
|
|
5050
|
+
zod
|
|
5051
|
+
.object({
|
|
5052
|
+
etag: zod
|
|
5053
|
+
.string()
|
|
5054
|
+
.optional()
|
|
5055
|
+
.describe(
|
|
5056
|
+
'Unique ID of the latest version of an existing resorce.',
|
|
5057
|
+
),
|
|
5058
|
+
key: zod
|
|
5059
|
+
.string()
|
|
5060
|
+
.regex(
|
|
5061
|
+
createContactsResponseFailuresItemInputVariablesItemKeyRegExp,
|
|
5062
|
+
)
|
|
5063
|
+
.describe('NEW Key.'),
|
|
5064
|
+
value: zod.unknown().optional().describe('NEW Value.'),
|
|
5065
|
+
})
|
|
5066
|
+
.describe("Input of the Contact's variable."),
|
|
5067
|
+
)
|
|
5068
|
+
.optional()
|
|
5069
|
+
.describe(
|
|
5070
|
+
'Arbitrary client data that is populated by clients.',
|
|
5071
|
+
),
|
|
5072
|
+
})
|
|
5073
|
+
.optional()
|
|
5074
|
+
.describe('The InputContact that failed.'),
|
|
5075
|
+
})
|
|
5076
|
+
.describe('Per-item failure of a bulk Contact create.'),
|
|
5077
|
+
)
|
|
5078
|
+
.optional()
|
|
5079
|
+
.describe('Per-item failures with original index and error details.'),
|
|
5080
|
+
})
|
|
5081
|
+
.describe(
|
|
5082
|
+
'Bulk Create result: successfully created Contacts plus per-item failures.',
|
|
5083
|
+
);
|
|
5084
|
+
|
|
3002
5085
|
/**
|
|
3003
5086
|
* @summary Remove Contact source
|
|
3004
5087
|
*/
|