@wix/crm 1.0.123 → 1.0.125

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.
@@ -1,6 +1,7 @@
1
- export * as attachments from '@wix/crm_attachments';
2
- export * as contacts from '@wix/crm_contacts';
3
- export * as extendedFields from '@wix/crm_extended-fields';
4
- export * as labels from '@wix/crm_labels';
5
- export * as submittedContact from '@wix/crm_submitted-contact';
6
- export * as tasks from '@wix/crm_tasks';
1
+ import * as attachments from '@wix/crm_attachments';
2
+ import * as contacts from '@wix/crm_contacts';
3
+ import * as extendedFields from '@wix/crm_extended-fields';
4
+ import * as labels from '@wix/crm_labels';
5
+ import * as submittedContact from '@wix/crm_submitted-contact';
6
+ import * as tasks from '@wix/crm_tasks';
7
+ export { attachments, contacts, extendedFields, labels, submittedContact, tasks, };
@@ -24,10 +24,16 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.tasks = exports.submittedContact = exports.labels = exports.extendedFields = exports.contacts = exports.attachments = void 0;
27
- exports.attachments = __importStar(require("@wix/crm_attachments"));
28
- exports.contacts = __importStar(require("@wix/crm_contacts"));
29
- exports.extendedFields = __importStar(require("@wix/crm_extended-fields"));
30
- exports.labels = __importStar(require("@wix/crm_labels"));
31
- exports.submittedContact = __importStar(require("@wix/crm_submitted-contact"));
32
- exports.tasks = __importStar(require("@wix/crm_tasks"));
27
+ const attachments = __importStar(require("@wix/crm_attachments"));
28
+ exports.attachments = attachments;
29
+ const contacts = __importStar(require("@wix/crm_contacts"));
30
+ exports.contacts = contacts;
31
+ const extendedFields = __importStar(require("@wix/crm_extended-fields"));
32
+ exports.extendedFields = extendedFields;
33
+ const labels = __importStar(require("@wix/crm_labels"));
34
+ exports.labels = labels;
35
+ const submittedContact = __importStar(require("@wix/crm_submitted-contact"));
36
+ exports.submittedContact = submittedContact;
37
+ const tasks = __importStar(require("@wix/crm_tasks"));
38
+ exports.tasks = tasks;
33
39
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oEAAoD;AACpD,8DAA8C;AAC9C,2EAA2D;AAC3D,0DAA0C;AAC1C,+EAA+D;AAC/D,wDAAwC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kEAAoD;AAQlD,kCAAW;AAPb,4DAA8C;AAQ5C,4BAAQ;AAPV,yEAA2D;AAQzD,wCAAc;AAPhB,wDAA0C;AAQxC,wBAAM;AAPR,6EAA+D;AAQ7D,4CAAgB;AAPlB,sDAAwC;AAQtC,sBAAK"}
@@ -1,6 +1,7 @@
1
- export * as attachments from '@wix/crm_attachments';
2
- export * as contacts from '@wix/crm_contacts';
3
- export * as extendedFields from '@wix/crm_extended-fields';
4
- export * as labels from '@wix/crm_labels';
5
- export * as submittedContact from '@wix/crm_submitted-contact';
6
- export * as tasks from '@wix/crm_tasks';
1
+ import * as attachments from '@wix/crm_attachments';
2
+ import * as contacts from '@wix/crm_contacts';
3
+ import * as extendedFields from '@wix/crm_extended-fields';
4
+ import * as labels from '@wix/crm_labels';
5
+ import * as submittedContact from '@wix/crm_submitted-contact';
6
+ import * as tasks from '@wix/crm_tasks';
7
+ export { attachments, contacts, extendedFields, labels, submittedContact, tasks, };
package/build/es/index.js CHANGED
@@ -1,7 +1,8 @@
1
- export * as attachments from '@wix/crm_attachments';
2
- export * as contacts from '@wix/crm_contacts';
3
- export * as extendedFields from '@wix/crm_extended-fields';
4
- export * as labels from '@wix/crm_labels';
5
- export * as submittedContact from '@wix/crm_submitted-contact';
6
- export * as tasks from '@wix/crm_tasks';
1
+ import * as attachments from '@wix/crm_attachments';
2
+ import * as contacts from '@wix/crm_contacts';
3
+ import * as extendedFields from '@wix/crm_extended-fields';
4
+ import * as labels from '@wix/crm_labels';
5
+ import * as submittedContact from '@wix/crm_submitted-contact';
6
+ import * as tasks from '@wix/crm_tasks';
7
+ export { attachments, contacts, extendedFields, labels, submittedContact, tasks, };
7
8
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,WAAW,MAAM,sBAAsB,CAAC;AACpD,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAC9C,OAAO,KAAK,cAAc,MAAM,0BAA0B,CAAC;AAC3D,OAAO,KAAK,MAAM,MAAM,iBAAiB,CAAC;AAC1C,OAAO,KAAK,gBAAgB,MAAM,4BAA4B,CAAC;AAC/D,OAAO,KAAK,KAAK,MAAM,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,WAAW,MAAM,sBAAsB,CAAC;AACpD,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAC9C,OAAO,KAAK,cAAc,MAAM,0BAA0B,CAAC;AAC3D,OAAO,KAAK,MAAM,MAAM,iBAAiB,CAAC;AAC1C,OAAO,KAAK,gBAAgB,MAAM,4BAA4B,CAAC;AAC/D,OAAO,KAAK,KAAK,MAAM,gBAAgB,CAAC;AAExC,OAAO,EACL,WAAW,EACX,QAAQ,EACR,cAAc,EACd,MAAM,EACN,gBAAgB,EAChB,KAAK,GACN,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/crm",
3
- "version": "1.0.123",
3
+ "version": "1.0.125",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -18,12 +18,12 @@
18
18
  "type-bundles"
19
19
  ],
20
20
  "dependencies": {
21
- "@wix/crm_attachments": "1.0.8",
22
- "@wix/crm_contacts": "1.0.42",
23
- "@wix/crm_extended-fields": "1.0.37",
24
- "@wix/crm_labels": "1.0.36",
25
- "@wix/crm_submitted-contact": "1.0.29",
26
- "@wix/crm_tasks": "1.0.36"
21
+ "@wix/crm_attachments": "1.0.9",
22
+ "@wix/crm_contacts": "1.0.43",
23
+ "@wix/crm_extended-fields": "1.0.38",
24
+ "@wix/crm_labels": "1.0.37",
25
+ "@wix/crm_submitted-contact": "1.0.30",
26
+ "@wix/crm_tasks": "1.0.37"
27
27
  },
28
28
  "devDependencies": {
29
29
  "glob": "^10.4.1",
@@ -32,8 +32,9 @@
32
32
  "typescript": "^5.3.2"
33
33
  },
34
34
  "scripts": {
35
- "build": "tsc -b tsconfig.json tsconfig.esm.json && npm run build:dts-bundles",
35
+ "build": "tsc -b tsconfig.json tsconfig.esm.json && npm run build:dts-bundles && npm run build:validate-dts",
36
36
  "build:dts-bundles": "test -f config/rollup-config.js && NODE_OPTIONS=--max-old-space-size=8192 rollup --config config/rollup-config.js || echo 'Warning: config/rollup-config.js not found!'",
37
+ "build:validate-dts": "tsc type-bundles/*.d.ts --noEmit",
37
38
  "test": ":"
38
39
  },
39
40
  "wix": {
@@ -47,5 +48,5 @@
47
48
  "fqdn": ""
48
49
  }
49
50
  },
50
- "falconPackageHash": "2f512c2a8ed757f1384d73af977c47e0702753d3551cbbf78bbecf57"
51
+ "falconPackageHash": "2bbea28414b44a0f5f321bdc0dfb819108292f023363660840aec994"
51
52
  }
@@ -420,16 +420,31 @@ declare global {
420
420
  }
421
421
  }
422
422
 
423
+ declare function generateAttachmentUploadUrl$1(httpClient: HttpClient): (contactId: string, fileName: string, options: GenerateAttachmentUploadUrlOptions) => Promise<GenerateAttachmentUploadUrlResponse & GenerateAttachmentUploadUrlResponseNonNullableFields>;
424
+ declare function listAttachments$1(httpClient: HttpClient): (contactId: string, options?: ListAttachmentsOptions) => Promise<ListAttachmentsResponse & ListAttachmentsResponseNonNullableFields>;
425
+ declare function deleteAttachment$1(httpClient: HttpClient): (identifiers: DeleteAttachmentIdentifiers) => Promise<void>;
426
+ declare function getAttachment$1(httpClient: HttpClient): (identifiers: GetAttachmentIdentifiers) => Promise<ContactAttachment & ContactAttachmentNonNullableFields>;
427
+ declare const onAttachmentCreated$1: EventDefinition<AttachmentCreatedEnvelope, "wix.contacts.v4.attachment_created">;
428
+ declare const onAttachmentDeleted$1: EventDefinition<AttachmentDeletedEnvelope, "wix.contacts.v4.attachment_deleted">;
429
+
423
430
  declare function createRESTModule$5<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
424
431
 
425
432
  declare function createEventModule$4<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
426
433
 
427
- declare const generateAttachmentUploadUrl: ReturnType<typeof createRESTModule$5<typeof publicGenerateAttachmentUploadUrl>>;
428
- declare const listAttachments: ReturnType<typeof createRESTModule$5<typeof publicListAttachments>>;
429
- declare const deleteAttachment: ReturnType<typeof createRESTModule$5<typeof publicDeleteAttachment>>;
430
- declare const getAttachment: ReturnType<typeof createRESTModule$5<typeof publicGetAttachment>>;
431
- declare const onAttachmentCreated: ReturnType<typeof createEventModule$4<typeof publicOnAttachmentCreated>>;
432
- declare const onAttachmentDeleted: ReturnType<typeof createEventModule$4<typeof publicOnAttachmentDeleted>>;
434
+ type _publicGenerateAttachmentUploadUrlType = typeof generateAttachmentUploadUrl$1;
435
+ declare const generateAttachmentUploadUrl: ReturnType<typeof createRESTModule$5<_publicGenerateAttachmentUploadUrlType>>;
436
+ type _publicListAttachmentsType = typeof listAttachments$1;
437
+ declare const listAttachments: ReturnType<typeof createRESTModule$5<_publicListAttachmentsType>>;
438
+ type _publicDeleteAttachmentType = typeof deleteAttachment$1;
439
+ declare const deleteAttachment: ReturnType<typeof createRESTModule$5<_publicDeleteAttachmentType>>;
440
+ type _publicGetAttachmentType = typeof getAttachment$1;
441
+ declare const getAttachment: ReturnType<typeof createRESTModule$5<_publicGetAttachmentType>>;
442
+
443
+ type _publicOnAttachmentCreatedType = typeof onAttachmentCreated$1;
444
+ declare const onAttachmentCreated: ReturnType<typeof createEventModule$4<_publicOnAttachmentCreatedType>>;
445
+
446
+ type _publicOnAttachmentDeletedType = typeof onAttachmentDeleted$1;
447
+ declare const onAttachmentDeleted: ReturnType<typeof createEventModule$4<_publicOnAttachmentDeletedType>>;
433
448
 
434
449
  type context$5_AttachmentCreatedEnvelope = AttachmentCreatedEnvelope;
435
450
  type context$5_AttachmentDeletedEnvelope = AttachmentDeletedEnvelope;
@@ -466,6 +481,12 @@ type context$5_ListAttachmentsRequest = ListAttachmentsRequest;
466
481
  type context$5_ListAttachmentsResponse = ListAttachmentsResponse;
467
482
  type context$5_ListAttachmentsResponseNonNullableFields = ListAttachmentsResponseNonNullableFields;
468
483
  type context$5_MediaFileUploadedEvent = MediaFileUploadedEvent;
484
+ type context$5__publicDeleteAttachmentType = _publicDeleteAttachmentType;
485
+ type context$5__publicGenerateAttachmentUploadUrlType = _publicGenerateAttachmentUploadUrlType;
486
+ type context$5__publicGetAttachmentType = _publicGetAttachmentType;
487
+ type context$5__publicListAttachmentsType = _publicListAttachmentsType;
488
+ type context$5__publicOnAttachmentCreatedType = _publicOnAttachmentCreatedType;
489
+ type context$5__publicOnAttachmentDeletedType = _publicOnAttachmentDeletedType;
469
490
  declare const context$5_deleteAttachment: typeof deleteAttachment;
470
491
  declare const context$5_generateAttachmentUploadUrl: typeof generateAttachmentUploadUrl;
471
492
  declare const context$5_getAttachment: typeof getAttachment;
@@ -473,7 +494,7 @@ declare const context$5_listAttachments: typeof listAttachments;
473
494
  declare const context$5_onAttachmentCreated: typeof onAttachmentCreated;
474
495
  declare const context$5_onAttachmentDeleted: typeof onAttachmentDeleted;
475
496
  declare namespace context$5 {
476
- export { type ActionEvent$4 as ActionEvent, type context$5_AttachmentCreatedEnvelope as AttachmentCreatedEnvelope, type context$5_AttachmentDeletedEnvelope as AttachmentDeletedEnvelope, type context$5_AttachmentMedia as AttachmentMedia, type context$5_AttachmentMediaMediaOneOf as AttachmentMediaMediaOneOf, type context$5_AttachmentMetadata as AttachmentMetadata, type context$5_AttachmentSource as AttachmentSource, context$5_AttachmentType as AttachmentType, type BaseEventMetadata$4 as BaseEventMetadata, type context$5_ContactAttachment as ContactAttachment, type context$5_ContactAttachmentMediaOneOf as ContactAttachmentMediaOneOf, type context$5_ContactAttachmentNonNullableFields as ContactAttachmentNonNullableFields, type context$5_CreateDemoAttachmentRequest as CreateDemoAttachmentRequest, type context$5_CreateDemoAttachmentResponse as CreateDemoAttachmentResponse, type context$5_CrmAttachment as CrmAttachment, context$5_CrmAttachmentAttachmentType as CrmAttachmentAttachmentType, type context$5_CrmAttachmentUploadedEvent as CrmAttachmentUploadedEvent, type context$5_DeleteAttachmentIdentifiers as DeleteAttachmentIdentifiers, type context$5_DeleteAttachmentRequest as DeleteAttachmentRequest, type context$5_DeleteAttachmentResponse as DeleteAttachmentResponse, context$5_DemoContactType as DemoContactType, type DomainEvent$4 as DomainEvent, type DomainEventBodyOneOf$4 as DomainEventBodyOneOf, type Empty$1 as Empty, type EntityCreatedEvent$4 as EntityCreatedEvent, type EntityDeletedEvent$4 as EntityDeletedEvent, type EntityUpdatedEvent$4 as EntityUpdatedEvent, type EventMetadata$4 as EventMetadata, type context$5_GenerateAttachmentUploadUrlOptions as GenerateAttachmentUploadUrlOptions, type context$5_GenerateAttachmentUploadUrlRequest as GenerateAttachmentUploadUrlRequest, type context$5_GenerateAttachmentUploadUrlResponse as GenerateAttachmentUploadUrlResponse, type context$5_GenerateAttachmentUploadUrlResponseNonNullableFields as GenerateAttachmentUploadUrlResponseNonNullableFields, type context$5_GetAttachmentIdentifiers as GetAttachmentIdentifiers, type context$5_GetAttachmentRequest as GetAttachmentRequest, type context$5_GetAttachmentResponse as GetAttachmentResponse, type context$5_GetAttachmentResponseNonNullableFields as GetAttachmentResponseNonNullableFields, type IdentificationData$5 as IdentificationData, type IdentificationDataIdOneOf$5 as IdentificationDataIdOneOf, type context$5_ListAttachmentsOptions as ListAttachmentsOptions, type context$5_ListAttachmentsRequest as ListAttachmentsRequest, type context$5_ListAttachmentsResponse as ListAttachmentsResponse, type context$5_ListAttachmentsResponseNonNullableFields as ListAttachmentsResponseNonNullableFields, type context$5_MediaFileUploadedEvent as MediaFileUploadedEvent, type MessageEnvelope$5 as MessageEnvelope, type Paging$4 as Paging, type PagingMetadata$3 as PagingMetadata, WebhookIdentityType$5 as WebhookIdentityType, context$5_deleteAttachment as deleteAttachment, context$5_generateAttachmentUploadUrl as generateAttachmentUploadUrl, context$5_getAttachment as getAttachment, context$5_listAttachments as listAttachments, context$5_onAttachmentCreated as onAttachmentCreated, context$5_onAttachmentDeleted as onAttachmentDeleted };
497
+ export { type ActionEvent$4 as ActionEvent, type context$5_AttachmentCreatedEnvelope as AttachmentCreatedEnvelope, type context$5_AttachmentDeletedEnvelope as AttachmentDeletedEnvelope, type context$5_AttachmentMedia as AttachmentMedia, type context$5_AttachmentMediaMediaOneOf as AttachmentMediaMediaOneOf, type context$5_AttachmentMetadata as AttachmentMetadata, type context$5_AttachmentSource as AttachmentSource, context$5_AttachmentType as AttachmentType, type BaseEventMetadata$4 as BaseEventMetadata, type context$5_ContactAttachment as ContactAttachment, type context$5_ContactAttachmentMediaOneOf as ContactAttachmentMediaOneOf, type context$5_ContactAttachmentNonNullableFields as ContactAttachmentNonNullableFields, type context$5_CreateDemoAttachmentRequest as CreateDemoAttachmentRequest, type context$5_CreateDemoAttachmentResponse as CreateDemoAttachmentResponse, type context$5_CrmAttachment as CrmAttachment, context$5_CrmAttachmentAttachmentType as CrmAttachmentAttachmentType, type context$5_CrmAttachmentUploadedEvent as CrmAttachmentUploadedEvent, type context$5_DeleteAttachmentIdentifiers as DeleteAttachmentIdentifiers, type context$5_DeleteAttachmentRequest as DeleteAttachmentRequest, type context$5_DeleteAttachmentResponse as DeleteAttachmentResponse, context$5_DemoContactType as DemoContactType, type DomainEvent$4 as DomainEvent, type DomainEventBodyOneOf$4 as DomainEventBodyOneOf, type Empty$1 as Empty, type EntityCreatedEvent$4 as EntityCreatedEvent, type EntityDeletedEvent$4 as EntityDeletedEvent, type EntityUpdatedEvent$4 as EntityUpdatedEvent, type EventMetadata$4 as EventMetadata, type context$5_GenerateAttachmentUploadUrlOptions as GenerateAttachmentUploadUrlOptions, type context$5_GenerateAttachmentUploadUrlRequest as GenerateAttachmentUploadUrlRequest, type context$5_GenerateAttachmentUploadUrlResponse as GenerateAttachmentUploadUrlResponse, type context$5_GenerateAttachmentUploadUrlResponseNonNullableFields as GenerateAttachmentUploadUrlResponseNonNullableFields, type context$5_GetAttachmentIdentifiers as GetAttachmentIdentifiers, type context$5_GetAttachmentRequest as GetAttachmentRequest, type context$5_GetAttachmentResponse as GetAttachmentResponse, type context$5_GetAttachmentResponseNonNullableFields as GetAttachmentResponseNonNullableFields, type IdentificationData$5 as IdentificationData, type IdentificationDataIdOneOf$5 as IdentificationDataIdOneOf, type context$5_ListAttachmentsOptions as ListAttachmentsOptions, type context$5_ListAttachmentsRequest as ListAttachmentsRequest, type context$5_ListAttachmentsResponse as ListAttachmentsResponse, type context$5_ListAttachmentsResponseNonNullableFields as ListAttachmentsResponseNonNullableFields, type context$5_MediaFileUploadedEvent as MediaFileUploadedEvent, type MessageEnvelope$5 as MessageEnvelope, type Paging$4 as Paging, type PagingMetadata$3 as PagingMetadata, WebhookIdentityType$5 as WebhookIdentityType, type context$5__publicDeleteAttachmentType as _publicDeleteAttachmentType, type context$5__publicGenerateAttachmentUploadUrlType as _publicGenerateAttachmentUploadUrlType, type context$5__publicGetAttachmentType as _publicGetAttachmentType, type context$5__publicListAttachmentsType as _publicListAttachmentsType, type context$5__publicOnAttachmentCreatedType as _publicOnAttachmentCreatedType, type context$5__publicOnAttachmentDeletedType as _publicOnAttachmentDeletedType, context$5_deleteAttachment as deleteAttachment, context$5_generateAttachmentUploadUrl as generateAttachmentUploadUrl, context$5_getAttachment as getAttachment, context$5_listAttachments as listAttachments, context$5_onAttachmentCreated as onAttachmentCreated, context$5_onAttachmentDeleted as onAttachmentDeleted, onAttachmentCreated$1 as publicOnAttachmentCreated, onAttachmentDeleted$1 as publicOnAttachmentDeleted };
477
498
  }
478
499
 
479
500
  interface Contact {
@@ -2391,22 +2412,51 @@ interface GetContactOptions {
2391
2412
  fieldsets?: ContactFieldSet[];
2392
2413
  }
2393
2414
 
2415
+ declare function createContact$1(httpClient: HttpClient): (info: ContactInfo$2, options?: CreateContactOptions) => Promise<CreateContactResponse & CreateContactResponseNonNullableFields>;
2416
+ declare function updateContact$1(httpClient: HttpClient): (contactId: string, info: ContactInfo$2, revision: number | null, options?: UpdateContactOptions) => Promise<UpdateContactResponse & UpdateContactResponseNonNullableFields>;
2417
+ declare function mergeContacts$1(httpClient: HttpClient): (targetContactId: string, targetContactRevision: number | null, options?: MergeContactsOptions) => Promise<MergeContactsResponse & MergeContactsResponseNonNullableFields>;
2418
+ declare function deleteContact$1(httpClient: HttpClient): (contactId: string) => Promise<void>;
2419
+ declare function labelContact$1(httpClient: HttpClient): (contactId: string, labelKeys: string[]) => Promise<LabelContactResponse & LabelContactResponseNonNullableFields>;
2420
+ declare function unlabelContact$1(httpClient: HttpClient): (contactId: string, labelKeys: string[]) => Promise<UnlabelContactResponse & UnlabelContactResponseNonNullableFields>;
2421
+ declare function queryContacts$1(httpClient: HttpClient): (options?: QueryContactsOptions) => ContactsQueryBuilder;
2422
+ declare function getContact$1(httpClient: HttpClient): (_id: string, options?: GetContactOptions) => Promise<Contact & ContactNonNullableFields>;
2423
+ declare const onContactCreated$1: EventDefinition<ContactCreatedEnvelope, "wix.contacts.v4.contact_created">;
2424
+ declare const onContactUpdated$1: EventDefinition<ContactUpdatedEnvelope, "wix.contacts.v4.contact_updated">;
2425
+ declare const onContactMerged$1: EventDefinition<ContactMergedEnvelope, "wix.contacts.v4.contact_merged">;
2426
+ declare const onContactDeleted$1: EventDefinition<ContactDeletedEnvelope, "wix.contacts.v4.contact_deleted">;
2427
+
2394
2428
  declare function createRESTModule$4<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
2395
2429
 
2396
2430
  declare function createEventModule$3<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
2397
2431
 
2398
- declare const createContact: ReturnType<typeof createRESTModule$4<typeof publicCreateContact>>;
2399
- declare const updateContact: ReturnType<typeof createRESTModule$4<typeof publicUpdateContact>>;
2400
- declare const mergeContacts: ReturnType<typeof createRESTModule$4<typeof publicMergeContacts>>;
2401
- declare const deleteContact: ReturnType<typeof createRESTModule$4<typeof publicDeleteContact>>;
2402
- declare const labelContact: ReturnType<typeof createRESTModule$4<typeof publicLabelContact>>;
2403
- declare const unlabelContact: ReturnType<typeof createRESTModule$4<typeof publicUnlabelContact>>;
2404
- declare const queryContacts: ReturnType<typeof createRESTModule$4<typeof publicQueryContacts>>;
2405
- declare const getContact: ReturnType<typeof createRESTModule$4<typeof publicGetContact>>;
2406
- declare const onContactCreated: ReturnType<typeof createEventModule$3<typeof publicOnContactCreated>>;
2407
- declare const onContactUpdated: ReturnType<typeof createEventModule$3<typeof publicOnContactUpdated>>;
2408
- declare const onContactMerged: ReturnType<typeof createEventModule$3<typeof publicOnContactMerged>>;
2409
- declare const onContactDeleted: ReturnType<typeof createEventModule$3<typeof publicOnContactDeleted>>;
2432
+ type _publicCreateContactType = typeof createContact$1;
2433
+ declare const createContact: ReturnType<typeof createRESTModule$4<_publicCreateContactType>>;
2434
+ type _publicUpdateContactType = typeof updateContact$1;
2435
+ declare const updateContact: ReturnType<typeof createRESTModule$4<_publicUpdateContactType>>;
2436
+ type _publicMergeContactsType = typeof mergeContacts$1;
2437
+ declare const mergeContacts: ReturnType<typeof createRESTModule$4<_publicMergeContactsType>>;
2438
+ type _publicDeleteContactType = typeof deleteContact$1;
2439
+ declare const deleteContact: ReturnType<typeof createRESTModule$4<_publicDeleteContactType>>;
2440
+ type _publicLabelContactType = typeof labelContact$1;
2441
+ declare const labelContact: ReturnType<typeof createRESTModule$4<_publicLabelContactType>>;
2442
+ type _publicUnlabelContactType = typeof unlabelContact$1;
2443
+ declare const unlabelContact: ReturnType<typeof createRESTModule$4<_publicUnlabelContactType>>;
2444
+ type _publicQueryContactsType = typeof queryContacts$1;
2445
+ declare const queryContacts: ReturnType<typeof createRESTModule$4<_publicQueryContactsType>>;
2446
+ type _publicGetContactType = typeof getContact$1;
2447
+ declare const getContact: ReturnType<typeof createRESTModule$4<_publicGetContactType>>;
2448
+
2449
+ type _publicOnContactCreatedType = typeof onContactCreated$1;
2450
+ declare const onContactCreated: ReturnType<typeof createEventModule$3<_publicOnContactCreatedType>>;
2451
+
2452
+ type _publicOnContactUpdatedType = typeof onContactUpdated$1;
2453
+ declare const onContactUpdated: ReturnType<typeof createEventModule$3<_publicOnContactUpdatedType>>;
2454
+
2455
+ type _publicOnContactMergedType = typeof onContactMerged$1;
2456
+ declare const onContactMerged: ReturnType<typeof createEventModule$3<_publicOnContactMergedType>>;
2457
+
2458
+ type _publicOnContactDeletedType = typeof onContactDeleted$1;
2459
+ declare const onContactDeleted: ReturnType<typeof createEventModule$3<_publicOnContactDeletedType>>;
2410
2460
 
2411
2461
  type context$4_Action = Action;
2412
2462
  declare const context$4_Action: typeof Action;
@@ -2534,6 +2584,18 @@ type context$4_UpsertContactResponse = UpsertContactResponse;
2534
2584
  type context$4_UpsertContactResponseAction = UpsertContactResponseAction;
2535
2585
  declare const context$4_UpsertContactResponseAction: typeof UpsertContactResponseAction;
2536
2586
  type context$4_UserInfo = UserInfo;
2587
+ type context$4__publicCreateContactType = _publicCreateContactType;
2588
+ type context$4__publicDeleteContactType = _publicDeleteContactType;
2589
+ type context$4__publicGetContactType = _publicGetContactType;
2590
+ type context$4__publicLabelContactType = _publicLabelContactType;
2591
+ type context$4__publicMergeContactsType = _publicMergeContactsType;
2592
+ type context$4__publicOnContactCreatedType = _publicOnContactCreatedType;
2593
+ type context$4__publicOnContactDeletedType = _publicOnContactDeletedType;
2594
+ type context$4__publicOnContactMergedType = _publicOnContactMergedType;
2595
+ type context$4__publicOnContactUpdatedType = _publicOnContactUpdatedType;
2596
+ type context$4__publicQueryContactsType = _publicQueryContactsType;
2597
+ type context$4__publicUnlabelContactType = _publicUnlabelContactType;
2598
+ type context$4__publicUpdateContactType = _publicUpdateContactType;
2537
2599
  declare const context$4_createContact: typeof createContact;
2538
2600
  declare const context$4_deleteContact: typeof deleteContact;
2539
2601
  declare const context$4_getContact: typeof getContact;
@@ -2547,7 +2609,7 @@ declare const context$4_queryContacts: typeof queryContacts;
2547
2609
  declare const context$4_unlabelContact: typeof unlabelContact;
2548
2610
  declare const context$4_updateContact: typeof updateContact;
2549
2611
  declare namespace context$4 {
2550
- export { context$4_Action as Action, type ActionEvent$3 as ActionEvent, type ActivityIcon$1 as ActivityIcon, type Address$1 as Address, type AddressLocation$1 as AddressLocation, type AddressStreetOneOf$1 as AddressStreetOneOf, AddressTag$1 as AddressTag, type context$4_ApplicationError as ApplicationError, type AssigneesWrapper$1 as AssigneesWrapper, type BaseEventMetadata$3 as BaseEventMetadata, type context$4_BulkActionMetadata as BulkActionMetadata, type context$4_BulkAddSegmentToContactsRequest as BulkAddSegmentToContactsRequest, type context$4_BulkAddSegmentToContactsResponse as BulkAddSegmentToContactsResponse, type context$4_BulkDeleteContactsRequest as BulkDeleteContactsRequest, type context$4_BulkDeleteContactsResponse as BulkDeleteContactsResponse, type context$4_BulkLabelAndUnlabelContactsRequest as BulkLabelAndUnlabelContactsRequest, type context$4_BulkLabelAndUnlabelContactsResponse as BulkLabelAndUnlabelContactsResponse, type context$4_BulkRemoveSegmentFromContactsRequest as BulkRemoveSegmentFromContactsRequest, type context$4_BulkRemoveSegmentFromContactsResponse as BulkRemoveSegmentFromContactsResponse, type context$4_BulkUpdateContactsRequest as BulkUpdateContactsRequest, type context$4_BulkUpdateContactsResponse as BulkUpdateContactsResponse, type context$4_BulkUpsertContactsRequest as BulkUpsertContactsRequest, type context$4_BulkUpsertContactsResponse as BulkUpsertContactsResponse, type context$4_BulkUpsertContactsResponseMetadata as BulkUpsertContactsResponseMetadata, type context$4_Contact as Contact, type ContactActivity$1 as ContactActivity, ContactActivityType$1 as ContactActivityType, type context$4_ContactAddedToSegment as ContactAddedToSegment, type ContactAddress$1 as ContactAddress, type ContactAddressesWrapper$1 as ContactAddressesWrapper, type context$4_ContactChanged as ContactChanged, type context$4_ContactCreatedEnvelope as ContactCreatedEnvelope, type context$4_ContactDeletedEnvelope as ContactDeletedEnvelope, type ContactEmail$1 as ContactEmail, type context$4_ContactEmailSubscriptionUpdated as ContactEmailSubscriptionUpdated, type ContactEmailsWrapper$1 as ContactEmailsWrapper, context$4_ContactFieldSet as ContactFieldSet, type ContactInfo$2 as ContactInfo, type context$4_ContactMerged as ContactMerged, type context$4_ContactMergedEnvelope as ContactMergedEnvelope, type ContactName$1 as ContactName, type context$4_ContactNonNullableFields as ContactNonNullableFields, type ContactPhone$1 as ContactPhone, type context$4_ContactPhoneSubscriptionUpdated as ContactPhoneSubscriptionUpdated, type ContactPhonesWrapper$1 as ContactPhonesWrapper, type ContactPicture$1 as ContactPicture, type context$4_ContactPrimaryInfoUpdated as ContactPrimaryInfoUpdated, type context$4_ContactRemovedFromSegment as ContactRemovedFromSegment, type context$4_ContactSource as ContactSource, ContactSourceType$1 as ContactSourceType, type context$4_ContactSubmitted as ContactSubmitted, type context$4_ContactUpdatedEnvelope as ContactUpdatedEnvelope, type context$4_ContactsFacet as ContactsFacet, context$4_ContactsFacetType as ContactsFacetType, type context$4_ContactsQueryBuilder as ContactsQueryBuilder, type context$4_ContactsQueryResult as ContactsQueryResult, type context$4_CountContactsRequest as CountContactsRequest, type context$4_CountContactsResponse as CountContactsResponse, type context$4_CreateContactOptions as CreateContactOptions, type context$4_CreateContactRequest as CreateContactRequest, type context$4_CreateContactResponse as CreateContactResponse, type context$4_CreateContactResponseNonNullableFields as CreateContactResponseNonNullableFields, type CursorPaging$1 as CursorPaging, type CursorPagingMetadata$1 as CursorPagingMetadata, type Cursors$1 as Cursors, type context$4_DeleteContactRequest as DeleteContactRequest, type context$4_DeleteContactResponse as DeleteContactResponse, type DomainEvent$3 as DomainEvent, type DomainEventBodyOneOf$3 as DomainEventBodyOneOf, type context$4_DuplicateContactExists as DuplicateContactExists, context$4_EmailDeliverabilityStatus as EmailDeliverabilityStatus, EmailTag$1 as EmailTag, type EntityCreatedEvent$3 as EntityCreatedEvent, type EntityDeletedEvent$3 as EntityDeletedEvent, type EntityUpdatedEvent$3 as EntityUpdatedEvent, type context$4_Error as Error, type EventMetadata$3 as EventMetadata, type ExtendedFieldsWrapper$1 as ExtendedFieldsWrapper, type context$4_GeneratePictureUploadUrlRequest as GeneratePictureUploadUrlRequest, type context$4_GeneratePictureUploadUrlResponse as GeneratePictureUploadUrlResponse, type context$4_GetContactOptions as GetContactOptions, type context$4_GetContactRequest as GetContactRequest, type context$4_GetContactResponse as GetContactResponse, type context$4_GetContactResponseNonNullableFields as GetContactResponseNonNullableFields, context$4_GetContactResponseType as GetContactResponseType, type context$4_GroupInfo as GroupInfo, type IdentificationData$4 as IdentificationData, type IdentificationDataIdOneOf$4 as IdentificationDataIdOneOf, ImageProvider$1 as ImageProvider, type context$4_Item as Item, type context$4_ItemMetadata as ItemMetadata, type context$4_LabelAndUnlabelContactRequest as LabelAndUnlabelContactRequest, type context$4_LabelAndUnlabelContactResponse as LabelAndUnlabelContactResponse, type context$4_LabelContactRequest as LabelContactRequest, type context$4_LabelContactResponse as LabelContactResponse, type context$4_LabelContactResponseNonNullableFields as LabelContactResponseNonNullableFields, type LabelsWrapper$1 as LabelsWrapper, type context$4_LastActivityUpdate as LastActivityUpdate, type context$4_ListContactIdsBySegmentRequest as ListContactIdsBySegmentRequest, type context$4_ListContactIdsBySegmentResponse as ListContactIdsBySegmentResponse, type context$4_ListContactsRequest as ListContactsRequest, type context$4_ListContactsResponse as ListContactsResponse, type context$4_ListFacetsRequest as ListFacetsRequest, type context$4_ListFacetsResponse as ListFacetsResponse, type LocationsWrapper$1 as LocationsWrapper, type context$4_MemberInfo as MemberInfo, context$4_MemberStatus as MemberStatus, type context$4_MergeContactsOptions as MergeContactsOptions, type context$4_MergeContactsRequest as MergeContactsRequest, type context$4_MergeContactsResponse as MergeContactsResponse, type context$4_MergeContactsResponseNonNullableFields as MergeContactsResponseNonNullableFields, type MessageEnvelope$4 as MessageEnvelope, type context$4_Metadata as Metadata, context$4_Mode as Mode, type Paging$3 as Paging, type PagingMetadata$2 as PagingMetadata, context$4_PhoneDeliverabilityStatus as PhoneDeliverabilityStatus, PhoneTag$1 as PhoneTag, type context$4_PreviewMergeContactsRequest as PreviewMergeContactsRequest, type context$4_PreviewMergeContactsResponse as PreviewMergeContactsResponse, type context$4_PrimaryContactInfo as PrimaryContactInfo, type context$4_PrimaryEmail as PrimaryEmail, type context$4_PrimaryPhone as PrimaryPhone, type context$4_PrimarySubscriptionStatus as PrimarySubscriptionStatus, context$4_PrivacyStatus as PrivacyStatus, type context$4_ProfileInfo as ProfileInfo, type Query$2 as Query, type context$4_QueryContactsOptions as QueryContactsOptions, type context$4_QueryContactsRequest as QueryContactsRequest, type context$4_QueryContactsResponse as QueryContactsResponse, type context$4_QueryContactsResponseNonNullableFields as QueryContactsResponseNonNullableFields, type context$4_QueryFacetsRequest as QueryFacetsRequest, type context$4_QueryFacetsResponse as QueryFacetsResponse, type RestoreInfo$1 as RestoreInfo, context$4_Role as Role, type context$4_Search as Search, type context$4_SearchContactsRequest as SearchContactsRequest, type context$4_SearchContactsResponse as SearchContactsResponse, type context$4_SearchDetails as SearchDetails, type context$4_SearchPagingMethodOneOf as SearchPagingMethodOneOf, type context$4_SegmentsWrapper as SegmentsWrapper, type context$4_SessionInfo as SessionInfo, SortOrder$3 as SortOrder, type Sorting$3 as Sorting, type StreetAddress$1 as StreetAddress, type Subdivision$1 as Subdivision, SubdivisionType$1 as SubdivisionType, SubmitOperation$1 as SubmitOperation, context$4_SubscriptionStatus as SubscriptionStatus, type context$4_SyncSubmitContactRequest as SyncSubmitContactRequest, type context$4_SyncSubmitContactResponse as SyncSubmitContactResponse, type context$4_UnlabelContactRequest as UnlabelContactRequest, type context$4_UnlabelContactResponse as UnlabelContactResponse, type context$4_UnlabelContactResponseNonNullableFields as UnlabelContactResponseNonNullableFields, type context$4_UpdateContactOptions as UpdateContactOptions, type context$4_UpdateContactRequest as UpdateContactRequest, type context$4_UpdateContactResponse as UpdateContactResponse, type context$4_UpdateContactResponseNonNullableFields as UpdateContactResponseNonNullableFields, type context$4_UpsertContactRequest as UpsertContactRequest, type context$4_UpsertContactResponse as UpsertContactResponse, context$4_UpsertContactResponseAction as UpsertContactResponseAction, type context$4_UserInfo as UserInfo, WebhookIdentityType$4 as WebhookIdentityType, context$4_createContact as createContact, context$4_deleteContact as deleteContact, context$4_getContact as getContact, context$4_labelContact as labelContact, context$4_mergeContacts as mergeContacts, context$4_onContactCreated as onContactCreated, context$4_onContactDeleted as onContactDeleted, context$4_onContactMerged as onContactMerged, context$4_onContactUpdated as onContactUpdated, context$4_queryContacts as queryContacts, context$4_unlabelContact as unlabelContact, context$4_updateContact as updateContact };
2612
+ export { context$4_Action as Action, type ActionEvent$3 as ActionEvent, type ActivityIcon$1 as ActivityIcon, type Address$1 as Address, type AddressLocation$1 as AddressLocation, type AddressStreetOneOf$1 as AddressStreetOneOf, AddressTag$1 as AddressTag, type context$4_ApplicationError as ApplicationError, type AssigneesWrapper$1 as AssigneesWrapper, type BaseEventMetadata$3 as BaseEventMetadata, type context$4_BulkActionMetadata as BulkActionMetadata, type context$4_BulkAddSegmentToContactsRequest as BulkAddSegmentToContactsRequest, type context$4_BulkAddSegmentToContactsResponse as BulkAddSegmentToContactsResponse, type context$4_BulkDeleteContactsRequest as BulkDeleteContactsRequest, type context$4_BulkDeleteContactsResponse as BulkDeleteContactsResponse, type context$4_BulkLabelAndUnlabelContactsRequest as BulkLabelAndUnlabelContactsRequest, type context$4_BulkLabelAndUnlabelContactsResponse as BulkLabelAndUnlabelContactsResponse, type context$4_BulkRemoveSegmentFromContactsRequest as BulkRemoveSegmentFromContactsRequest, type context$4_BulkRemoveSegmentFromContactsResponse as BulkRemoveSegmentFromContactsResponse, type context$4_BulkUpdateContactsRequest as BulkUpdateContactsRequest, type context$4_BulkUpdateContactsResponse as BulkUpdateContactsResponse, type context$4_BulkUpsertContactsRequest as BulkUpsertContactsRequest, type context$4_BulkUpsertContactsResponse as BulkUpsertContactsResponse, type context$4_BulkUpsertContactsResponseMetadata as BulkUpsertContactsResponseMetadata, type context$4_Contact as Contact, type ContactActivity$1 as ContactActivity, ContactActivityType$1 as ContactActivityType, type context$4_ContactAddedToSegment as ContactAddedToSegment, type ContactAddress$1 as ContactAddress, type ContactAddressesWrapper$1 as ContactAddressesWrapper, type context$4_ContactChanged as ContactChanged, type context$4_ContactCreatedEnvelope as ContactCreatedEnvelope, type context$4_ContactDeletedEnvelope as ContactDeletedEnvelope, type ContactEmail$1 as ContactEmail, type context$4_ContactEmailSubscriptionUpdated as ContactEmailSubscriptionUpdated, type ContactEmailsWrapper$1 as ContactEmailsWrapper, context$4_ContactFieldSet as ContactFieldSet, type ContactInfo$2 as ContactInfo, type context$4_ContactMerged as ContactMerged, type context$4_ContactMergedEnvelope as ContactMergedEnvelope, type ContactName$1 as ContactName, type context$4_ContactNonNullableFields as ContactNonNullableFields, type ContactPhone$1 as ContactPhone, type context$4_ContactPhoneSubscriptionUpdated as ContactPhoneSubscriptionUpdated, type ContactPhonesWrapper$1 as ContactPhonesWrapper, type ContactPicture$1 as ContactPicture, type context$4_ContactPrimaryInfoUpdated as ContactPrimaryInfoUpdated, type context$4_ContactRemovedFromSegment as ContactRemovedFromSegment, type context$4_ContactSource as ContactSource, ContactSourceType$1 as ContactSourceType, type context$4_ContactSubmitted as ContactSubmitted, type context$4_ContactUpdatedEnvelope as ContactUpdatedEnvelope, type context$4_ContactsFacet as ContactsFacet, context$4_ContactsFacetType as ContactsFacetType, type context$4_ContactsQueryBuilder as ContactsQueryBuilder, type context$4_ContactsQueryResult as ContactsQueryResult, type context$4_CountContactsRequest as CountContactsRequest, type context$4_CountContactsResponse as CountContactsResponse, type context$4_CreateContactOptions as CreateContactOptions, type context$4_CreateContactRequest as CreateContactRequest, type context$4_CreateContactResponse as CreateContactResponse, type context$4_CreateContactResponseNonNullableFields as CreateContactResponseNonNullableFields, type CursorPaging$1 as CursorPaging, type CursorPagingMetadata$1 as CursorPagingMetadata, type Cursors$1 as Cursors, type context$4_DeleteContactRequest as DeleteContactRequest, type context$4_DeleteContactResponse as DeleteContactResponse, type DomainEvent$3 as DomainEvent, type DomainEventBodyOneOf$3 as DomainEventBodyOneOf, type context$4_DuplicateContactExists as DuplicateContactExists, context$4_EmailDeliverabilityStatus as EmailDeliverabilityStatus, EmailTag$1 as EmailTag, type EntityCreatedEvent$3 as EntityCreatedEvent, type EntityDeletedEvent$3 as EntityDeletedEvent, type EntityUpdatedEvent$3 as EntityUpdatedEvent, type context$4_Error as Error, type EventMetadata$3 as EventMetadata, type ExtendedFieldsWrapper$1 as ExtendedFieldsWrapper, type context$4_GeneratePictureUploadUrlRequest as GeneratePictureUploadUrlRequest, type context$4_GeneratePictureUploadUrlResponse as GeneratePictureUploadUrlResponse, type context$4_GetContactOptions as GetContactOptions, type context$4_GetContactRequest as GetContactRequest, type context$4_GetContactResponse as GetContactResponse, type context$4_GetContactResponseNonNullableFields as GetContactResponseNonNullableFields, context$4_GetContactResponseType as GetContactResponseType, type context$4_GroupInfo as GroupInfo, type IdentificationData$4 as IdentificationData, type IdentificationDataIdOneOf$4 as IdentificationDataIdOneOf, ImageProvider$1 as ImageProvider, type context$4_Item as Item, type context$4_ItemMetadata as ItemMetadata, type context$4_LabelAndUnlabelContactRequest as LabelAndUnlabelContactRequest, type context$4_LabelAndUnlabelContactResponse as LabelAndUnlabelContactResponse, type context$4_LabelContactRequest as LabelContactRequest, type context$4_LabelContactResponse as LabelContactResponse, type context$4_LabelContactResponseNonNullableFields as LabelContactResponseNonNullableFields, type LabelsWrapper$1 as LabelsWrapper, type context$4_LastActivityUpdate as LastActivityUpdate, type context$4_ListContactIdsBySegmentRequest as ListContactIdsBySegmentRequest, type context$4_ListContactIdsBySegmentResponse as ListContactIdsBySegmentResponse, type context$4_ListContactsRequest as ListContactsRequest, type context$4_ListContactsResponse as ListContactsResponse, type context$4_ListFacetsRequest as ListFacetsRequest, type context$4_ListFacetsResponse as ListFacetsResponse, type LocationsWrapper$1 as LocationsWrapper, type context$4_MemberInfo as MemberInfo, context$4_MemberStatus as MemberStatus, type context$4_MergeContactsOptions as MergeContactsOptions, type context$4_MergeContactsRequest as MergeContactsRequest, type context$4_MergeContactsResponse as MergeContactsResponse, type context$4_MergeContactsResponseNonNullableFields as MergeContactsResponseNonNullableFields, type MessageEnvelope$4 as MessageEnvelope, type context$4_Metadata as Metadata, context$4_Mode as Mode, type Paging$3 as Paging, type PagingMetadata$2 as PagingMetadata, context$4_PhoneDeliverabilityStatus as PhoneDeliverabilityStatus, PhoneTag$1 as PhoneTag, type context$4_PreviewMergeContactsRequest as PreviewMergeContactsRequest, type context$4_PreviewMergeContactsResponse as PreviewMergeContactsResponse, type context$4_PrimaryContactInfo as PrimaryContactInfo, type context$4_PrimaryEmail as PrimaryEmail, type context$4_PrimaryPhone as PrimaryPhone, type context$4_PrimarySubscriptionStatus as PrimarySubscriptionStatus, context$4_PrivacyStatus as PrivacyStatus, type context$4_ProfileInfo as ProfileInfo, type Query$2 as Query, type context$4_QueryContactsOptions as QueryContactsOptions, type context$4_QueryContactsRequest as QueryContactsRequest, type context$4_QueryContactsResponse as QueryContactsResponse, type context$4_QueryContactsResponseNonNullableFields as QueryContactsResponseNonNullableFields, type context$4_QueryFacetsRequest as QueryFacetsRequest, type context$4_QueryFacetsResponse as QueryFacetsResponse, type RestoreInfo$1 as RestoreInfo, context$4_Role as Role, type context$4_Search as Search, type context$4_SearchContactsRequest as SearchContactsRequest, type context$4_SearchContactsResponse as SearchContactsResponse, type context$4_SearchDetails as SearchDetails, type context$4_SearchPagingMethodOneOf as SearchPagingMethodOneOf, type context$4_SegmentsWrapper as SegmentsWrapper, type context$4_SessionInfo as SessionInfo, SortOrder$3 as SortOrder, type Sorting$3 as Sorting, type StreetAddress$1 as StreetAddress, type Subdivision$1 as Subdivision, SubdivisionType$1 as SubdivisionType, SubmitOperation$1 as SubmitOperation, context$4_SubscriptionStatus as SubscriptionStatus, type context$4_SyncSubmitContactRequest as SyncSubmitContactRequest, type context$4_SyncSubmitContactResponse as SyncSubmitContactResponse, type context$4_UnlabelContactRequest as UnlabelContactRequest, type context$4_UnlabelContactResponse as UnlabelContactResponse, type context$4_UnlabelContactResponseNonNullableFields as UnlabelContactResponseNonNullableFields, type context$4_UpdateContactOptions as UpdateContactOptions, type context$4_UpdateContactRequest as UpdateContactRequest, type context$4_UpdateContactResponse as UpdateContactResponse, type context$4_UpdateContactResponseNonNullableFields as UpdateContactResponseNonNullableFields, type context$4_UpsertContactRequest as UpsertContactRequest, type context$4_UpsertContactResponse as UpsertContactResponse, context$4_UpsertContactResponseAction as UpsertContactResponseAction, type context$4_UserInfo as UserInfo, WebhookIdentityType$4 as WebhookIdentityType, type context$4__publicCreateContactType as _publicCreateContactType, type context$4__publicDeleteContactType as _publicDeleteContactType, type context$4__publicGetContactType as _publicGetContactType, type context$4__publicLabelContactType as _publicLabelContactType, type context$4__publicMergeContactsType as _publicMergeContactsType, type context$4__publicOnContactCreatedType as _publicOnContactCreatedType, type context$4__publicOnContactDeletedType as _publicOnContactDeletedType, type context$4__publicOnContactMergedType as _publicOnContactMergedType, type context$4__publicOnContactUpdatedType as _publicOnContactUpdatedType, type context$4__publicQueryContactsType as _publicQueryContactsType, type context$4__publicUnlabelContactType as _publicUnlabelContactType, type context$4__publicUpdateContactType as _publicUpdateContactType, context$4_createContact as createContact, context$4_deleteContact as deleteContact, context$4_getContact as getContact, context$4_labelContact as labelContact, context$4_mergeContacts as mergeContacts, context$4_onContactCreated as onContactCreated, context$4_onContactDeleted as onContactDeleted, context$4_onContactMerged as onContactMerged, context$4_onContactUpdated as onContactUpdated, onContactCreated$1 as publicOnContactCreated, onContactDeleted$1 as publicOnContactDeleted, onContactMerged$1 as publicOnContactMerged, onContactUpdated$1 as publicOnContactUpdated, context$4_queryContacts as queryContacts, context$4_unlabelContact as unlabelContact, context$4_updateContact as updateContact };
2551
2613
  }
2552
2614
 
2553
2615
  /** Extended field that was found or created. */
@@ -3121,18 +3183,38 @@ interface FieldsQueryBuilder {
3121
3183
  find: () => Promise<FieldsQueryResult>;
3122
3184
  }
3123
3185
 
3186
+ declare function findOrCreateExtendedField$1(httpClient: HttpClient): (displayName: string, dataType: FieldDataType) => Promise<FindOrCreateExtendedFieldResponse & FindOrCreateExtendedFieldResponseNonNullableFields>;
3187
+ declare function getExtendedField$1(httpClient: HttpClient): (key: string) => Promise<ExtendedField & ExtendedFieldNonNullableFields>;
3188
+ declare function renameExtendedField$1(httpClient: HttpClient): (key: string, field: RenameExtendedField) => Promise<ExtendedField & ExtendedFieldNonNullableFields>;
3189
+ declare function deleteExtendedField$1(httpClient: HttpClient): (key: string) => Promise<void>;
3190
+ declare function queryExtendedFields$1(httpClient: HttpClient): () => FieldsQueryBuilder;
3191
+ declare const onExtendedFieldCreated$1: EventDefinition<ExtendedFieldCreatedEnvelope, "wix.contacts.v4.extended-field_created">;
3192
+ declare const onExtendedFieldUpdated$1: EventDefinition<ExtendedFieldUpdatedEnvelope, "wix.contacts.v4.extended-field_updated">;
3193
+ declare const onExtendedFieldDeleted$1: EventDefinition<ExtendedFieldDeletedEnvelope, "wix.contacts.v4.extended-field_deleted">;
3194
+
3124
3195
  declare function createRESTModule$3<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
3125
3196
 
3126
3197
  declare function createEventModule$2<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
3127
3198
 
3128
- declare const findOrCreateExtendedField: ReturnType<typeof createRESTModule$3<typeof publicFindOrCreateExtendedField>>;
3129
- declare const getExtendedField: ReturnType<typeof createRESTModule$3<typeof publicGetExtendedField>>;
3130
- declare const renameExtendedField: ReturnType<typeof createRESTModule$3<typeof publicRenameExtendedField>>;
3131
- declare const deleteExtendedField: ReturnType<typeof createRESTModule$3<typeof publicDeleteExtendedField>>;
3132
- declare const queryExtendedFields: ReturnType<typeof createRESTModule$3<typeof publicQueryExtendedFields>>;
3133
- declare const onExtendedFieldCreated: ReturnType<typeof createEventModule$2<typeof publicOnExtendedFieldCreated>>;
3134
- declare const onExtendedFieldUpdated: ReturnType<typeof createEventModule$2<typeof publicOnExtendedFieldUpdated>>;
3135
- declare const onExtendedFieldDeleted: ReturnType<typeof createEventModule$2<typeof publicOnExtendedFieldDeleted>>;
3199
+ type _publicFindOrCreateExtendedFieldType = typeof findOrCreateExtendedField$1;
3200
+ declare const findOrCreateExtendedField: ReturnType<typeof createRESTModule$3<_publicFindOrCreateExtendedFieldType>>;
3201
+ type _publicGetExtendedFieldType = typeof getExtendedField$1;
3202
+ declare const getExtendedField: ReturnType<typeof createRESTModule$3<_publicGetExtendedFieldType>>;
3203
+ type _publicRenameExtendedFieldType = typeof renameExtendedField$1;
3204
+ declare const renameExtendedField: ReturnType<typeof createRESTModule$3<_publicRenameExtendedFieldType>>;
3205
+ type _publicDeleteExtendedFieldType = typeof deleteExtendedField$1;
3206
+ declare const deleteExtendedField: ReturnType<typeof createRESTModule$3<_publicDeleteExtendedFieldType>>;
3207
+ type _publicQueryExtendedFieldsType = typeof queryExtendedFields$1;
3208
+ declare const queryExtendedFields: ReturnType<typeof createRESTModule$3<_publicQueryExtendedFieldsType>>;
3209
+
3210
+ type _publicOnExtendedFieldCreatedType = typeof onExtendedFieldCreated$1;
3211
+ declare const onExtendedFieldCreated: ReturnType<typeof createEventModule$2<_publicOnExtendedFieldCreatedType>>;
3212
+
3213
+ type _publicOnExtendedFieldUpdatedType = typeof onExtendedFieldUpdated$1;
3214
+ declare const onExtendedFieldUpdated: ReturnType<typeof createEventModule$2<_publicOnExtendedFieldUpdatedType>>;
3215
+
3216
+ type _publicOnExtendedFieldDeletedType = typeof onExtendedFieldDeleted$1;
3217
+ declare const onExtendedFieldDeleted: ReturnType<typeof createEventModule$2<_publicOnExtendedFieldDeletedType>>;
3136
3218
 
3137
3219
  type context$3_DeleteExtendedFieldRequest = DeleteExtendedFieldRequest;
3138
3220
  type context$3_DeleteExtendedFieldResponse = DeleteExtendedFieldResponse;
@@ -3165,6 +3247,14 @@ type context$3_RestoreInfo = RestoreInfo;
3165
3247
  type context$3_UpdateExtendedFieldRequest = UpdateExtendedFieldRequest;
3166
3248
  type context$3_UpdateExtendedFieldResponse = UpdateExtendedFieldResponse;
3167
3249
  type context$3_UpdateExtendedFieldResponseNonNullableFields = UpdateExtendedFieldResponseNonNullableFields;
3250
+ type context$3__publicDeleteExtendedFieldType = _publicDeleteExtendedFieldType;
3251
+ type context$3__publicFindOrCreateExtendedFieldType = _publicFindOrCreateExtendedFieldType;
3252
+ type context$3__publicGetExtendedFieldType = _publicGetExtendedFieldType;
3253
+ type context$3__publicOnExtendedFieldCreatedType = _publicOnExtendedFieldCreatedType;
3254
+ type context$3__publicOnExtendedFieldDeletedType = _publicOnExtendedFieldDeletedType;
3255
+ type context$3__publicOnExtendedFieldUpdatedType = _publicOnExtendedFieldUpdatedType;
3256
+ type context$3__publicQueryExtendedFieldsType = _publicQueryExtendedFieldsType;
3257
+ type context$3__publicRenameExtendedFieldType = _publicRenameExtendedFieldType;
3168
3258
  declare const context$3_deleteExtendedField: typeof deleteExtendedField;
3169
3259
  declare const context$3_findOrCreateExtendedField: typeof findOrCreateExtendedField;
3170
3260
  declare const context$3_getExtendedField: typeof getExtendedField;
@@ -3174,7 +3264,7 @@ declare const context$3_onExtendedFieldUpdated: typeof onExtendedFieldUpdated;
3174
3264
  declare const context$3_queryExtendedFields: typeof queryExtendedFields;
3175
3265
  declare const context$3_renameExtendedField: typeof renameExtendedField;
3176
3266
  declare namespace context$3 {
3177
- export { type ActionEvent$2 as ActionEvent, type BaseEventMetadata$2 as BaseEventMetadata, type context$3_DeleteExtendedFieldRequest as DeleteExtendedFieldRequest, type context$3_DeleteExtendedFieldResponse as DeleteExtendedFieldResponse, type DomainEvent$2 as DomainEvent, type DomainEventBodyOneOf$2 as DomainEventBodyOneOf, type EntityCreatedEvent$2 as EntityCreatedEvent, type EntityDeletedEvent$2 as EntityDeletedEvent, type EntityUpdatedEvent$2 as EntityUpdatedEvent, type EventMetadata$2 as EventMetadata, type context$3_ExtendedField as ExtendedField, type context$3_ExtendedFieldCreatedEnvelope as ExtendedFieldCreatedEnvelope, type context$3_ExtendedFieldDeletedEnvelope as ExtendedFieldDeletedEnvelope, type context$3_ExtendedFieldNonNullableFields as ExtendedFieldNonNullableFields, type context$3_ExtendedFieldUpdatedEnvelope as ExtendedFieldUpdatedEnvelope, context$3_FieldDataType as FieldDataType, context$3_FieldType as FieldType, type context$3_FieldsQueryBuilder as FieldsQueryBuilder, type context$3_FieldsQueryResult as FieldsQueryResult, type context$3_FindOrCreateExtendedFieldRequest as FindOrCreateExtendedFieldRequest, type context$3_FindOrCreateExtendedFieldResponse as FindOrCreateExtendedFieldResponse, type context$3_FindOrCreateExtendedFieldResponseNonNullableFields as FindOrCreateExtendedFieldResponseNonNullableFields, type GdprListRequest$1 as GdprListRequest, type GdprListResponse$1 as GdprListResponse, type context$3_GetExtendedFieldByLegacyIdRequest as GetExtendedFieldByLegacyIdRequest, type context$3_GetExtendedFieldByLegacyIdResponse as GetExtendedFieldByLegacyIdResponse, type context$3_GetExtendedFieldRequest as GetExtendedFieldRequest, type context$3_GetExtendedFieldResponse as GetExtendedFieldResponse, type context$3_GetExtendedFieldResponseNonNullableFields as GetExtendedFieldResponseNonNullableFields, type IdentificationData$3 as IdentificationData, type IdentificationDataIdOneOf$3 as IdentificationDataIdOneOf, type context$3_ListExtendedFieldsRequest as ListExtendedFieldsRequest, type context$3_ListExtendedFieldsResponse as ListExtendedFieldsResponse, type MessageEnvelope$3 as MessageEnvelope, type Paging$2 as Paging, type PagingMetadata$1 as PagingMetadata, type PurgeRequest$1 as PurgeRequest, type PurgeResponse$1 as PurgeResponse, type Query$1 as Query, type context$3_QueryExtendedFieldsRequest as QueryExtendedFieldsRequest, type context$3_QueryExtendedFieldsResponse as QueryExtendedFieldsResponse, type context$3_QueryExtendedFieldsResponseNonNullableFields as QueryExtendedFieldsResponseNonNullableFields, type context$3_RenameExtendedField as RenameExtendedField, type context$3_RestoreInfo as RestoreInfo, SortOrder$2 as SortOrder, type Sorting$2 as Sorting, type context$3_UpdateExtendedFieldRequest as UpdateExtendedFieldRequest, type context$3_UpdateExtendedFieldResponse as UpdateExtendedFieldResponse, type context$3_UpdateExtendedFieldResponseNonNullableFields as UpdateExtendedFieldResponseNonNullableFields, WebhookIdentityType$3 as WebhookIdentityType, context$3_deleteExtendedField as deleteExtendedField, context$3_findOrCreateExtendedField as findOrCreateExtendedField, context$3_getExtendedField as getExtendedField, context$3_onExtendedFieldCreated as onExtendedFieldCreated, context$3_onExtendedFieldDeleted as onExtendedFieldDeleted, context$3_onExtendedFieldUpdated as onExtendedFieldUpdated, context$3_queryExtendedFields as queryExtendedFields, context$3_renameExtendedField as renameExtendedField };
3267
+ export { type ActionEvent$2 as ActionEvent, type BaseEventMetadata$2 as BaseEventMetadata, type context$3_DeleteExtendedFieldRequest as DeleteExtendedFieldRequest, type context$3_DeleteExtendedFieldResponse as DeleteExtendedFieldResponse, type DomainEvent$2 as DomainEvent, type DomainEventBodyOneOf$2 as DomainEventBodyOneOf, type EntityCreatedEvent$2 as EntityCreatedEvent, type EntityDeletedEvent$2 as EntityDeletedEvent, type EntityUpdatedEvent$2 as EntityUpdatedEvent, type EventMetadata$2 as EventMetadata, type context$3_ExtendedField as ExtendedField, type context$3_ExtendedFieldCreatedEnvelope as ExtendedFieldCreatedEnvelope, type context$3_ExtendedFieldDeletedEnvelope as ExtendedFieldDeletedEnvelope, type context$3_ExtendedFieldNonNullableFields as ExtendedFieldNonNullableFields, type context$3_ExtendedFieldUpdatedEnvelope as ExtendedFieldUpdatedEnvelope, context$3_FieldDataType as FieldDataType, context$3_FieldType as FieldType, type context$3_FieldsQueryBuilder as FieldsQueryBuilder, type context$3_FieldsQueryResult as FieldsQueryResult, type context$3_FindOrCreateExtendedFieldRequest as FindOrCreateExtendedFieldRequest, type context$3_FindOrCreateExtendedFieldResponse as FindOrCreateExtendedFieldResponse, type context$3_FindOrCreateExtendedFieldResponseNonNullableFields as FindOrCreateExtendedFieldResponseNonNullableFields, type GdprListRequest$1 as GdprListRequest, type GdprListResponse$1 as GdprListResponse, type context$3_GetExtendedFieldByLegacyIdRequest as GetExtendedFieldByLegacyIdRequest, type context$3_GetExtendedFieldByLegacyIdResponse as GetExtendedFieldByLegacyIdResponse, type context$3_GetExtendedFieldRequest as GetExtendedFieldRequest, type context$3_GetExtendedFieldResponse as GetExtendedFieldResponse, type context$3_GetExtendedFieldResponseNonNullableFields as GetExtendedFieldResponseNonNullableFields, type IdentificationData$3 as IdentificationData, type IdentificationDataIdOneOf$3 as IdentificationDataIdOneOf, type context$3_ListExtendedFieldsRequest as ListExtendedFieldsRequest, type context$3_ListExtendedFieldsResponse as ListExtendedFieldsResponse, type MessageEnvelope$3 as MessageEnvelope, type Paging$2 as Paging, type PagingMetadata$1 as PagingMetadata, type PurgeRequest$1 as PurgeRequest, type PurgeResponse$1 as PurgeResponse, type Query$1 as Query, type context$3_QueryExtendedFieldsRequest as QueryExtendedFieldsRequest, type context$3_QueryExtendedFieldsResponse as QueryExtendedFieldsResponse, type context$3_QueryExtendedFieldsResponseNonNullableFields as QueryExtendedFieldsResponseNonNullableFields, type context$3_RenameExtendedField as RenameExtendedField, type context$3_RestoreInfo as RestoreInfo, SortOrder$2 as SortOrder, type Sorting$2 as Sorting, type context$3_UpdateExtendedFieldRequest as UpdateExtendedFieldRequest, type context$3_UpdateExtendedFieldResponse as UpdateExtendedFieldResponse, type context$3_UpdateExtendedFieldResponseNonNullableFields as UpdateExtendedFieldResponseNonNullableFields, WebhookIdentityType$3 as WebhookIdentityType, type context$3__publicDeleteExtendedFieldType as _publicDeleteExtendedFieldType, type context$3__publicFindOrCreateExtendedFieldType as _publicFindOrCreateExtendedFieldType, type context$3__publicGetExtendedFieldType as _publicGetExtendedFieldType, type context$3__publicOnExtendedFieldCreatedType as _publicOnExtendedFieldCreatedType, type context$3__publicOnExtendedFieldDeletedType as _publicOnExtendedFieldDeletedType, type context$3__publicOnExtendedFieldUpdatedType as _publicOnExtendedFieldUpdatedType, type context$3__publicQueryExtendedFieldsType as _publicQueryExtendedFieldsType, type context$3__publicRenameExtendedFieldType as _publicRenameExtendedFieldType, context$3_deleteExtendedField as deleteExtendedField, context$3_findOrCreateExtendedField as findOrCreateExtendedField, context$3_getExtendedField as getExtendedField, context$3_onExtendedFieldCreated as onExtendedFieldCreated, context$3_onExtendedFieldDeleted as onExtendedFieldDeleted, context$3_onExtendedFieldUpdated as onExtendedFieldUpdated, onExtendedFieldCreated$1 as publicOnExtendedFieldCreated, onExtendedFieldDeleted$1 as publicOnExtendedFieldDeleted, onExtendedFieldUpdated$1 as publicOnExtendedFieldUpdated, context$3_queryExtendedFields as queryExtendedFields, context$3_renameExtendedField as renameExtendedField };
3178
3268
  }
3179
3269
 
3180
3270
  /** Label that was found or created. */
@@ -3771,18 +3861,38 @@ interface LabelsQueryBuilder {
3771
3861
  find: () => Promise<LabelsQueryResult>;
3772
3862
  }
3773
3863
 
3864
+ declare function findOrCreateLabel$1(httpClient: HttpClient): (displayName: string, options?: FindOrCreateLabelOptions) => Promise<FindOrCreateLabelResponse & FindOrCreateLabelResponseNonNullableFields>;
3865
+ declare function getLabel$1(httpClient: HttpClient): (key: string, options?: GetLabelOptions) => Promise<ContactLabel & ContactLabelNonNullableFields>;
3866
+ declare function renameLabel$1(httpClient: HttpClient): (key: string, label: RenameLabel, options?: RenameLabelOptions) => Promise<ContactLabel & ContactLabelNonNullableFields>;
3867
+ declare function deleteLabel$1(httpClient: HttpClient): (key: string) => Promise<void>;
3868
+ declare function queryLabels$1(httpClient: HttpClient): (options?: QueryLabelsOptions) => LabelsQueryBuilder;
3869
+ declare const onLabelCreated$1: EventDefinition<LabelCreatedEnvelope, "wix.contacts.v4.label_created">;
3870
+ declare const onLabelUpdated$1: EventDefinition<LabelUpdatedEnvelope, "wix.contacts.v4.label_updated">;
3871
+ declare const onLabelDeleted$1: EventDefinition<LabelDeletedEnvelope, "wix.contacts.v4.label_deleted">;
3872
+
3774
3873
  declare function createRESTModule$2<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
3775
3874
 
3776
3875
  declare function createEventModule$1<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
3777
3876
 
3778
- declare const findOrCreateLabel: ReturnType<typeof createRESTModule$2<typeof publicFindOrCreateLabel>>;
3779
- declare const getLabel: ReturnType<typeof createRESTModule$2<typeof publicGetLabel>>;
3780
- declare const renameLabel: ReturnType<typeof createRESTModule$2<typeof publicRenameLabel>>;
3781
- declare const deleteLabel: ReturnType<typeof createRESTModule$2<typeof publicDeleteLabel>>;
3782
- declare const queryLabels: ReturnType<typeof createRESTModule$2<typeof publicQueryLabels>>;
3783
- declare const onLabelCreated: ReturnType<typeof createEventModule$1<typeof publicOnLabelCreated>>;
3784
- declare const onLabelUpdated: ReturnType<typeof createEventModule$1<typeof publicOnLabelUpdated>>;
3785
- declare const onLabelDeleted: ReturnType<typeof createEventModule$1<typeof publicOnLabelDeleted>>;
3877
+ type _publicFindOrCreateLabelType = typeof findOrCreateLabel$1;
3878
+ declare const findOrCreateLabel: ReturnType<typeof createRESTModule$2<_publicFindOrCreateLabelType>>;
3879
+ type _publicGetLabelType = typeof getLabel$1;
3880
+ declare const getLabel: ReturnType<typeof createRESTModule$2<_publicGetLabelType>>;
3881
+ type _publicRenameLabelType = typeof renameLabel$1;
3882
+ declare const renameLabel: ReturnType<typeof createRESTModule$2<_publicRenameLabelType>>;
3883
+ type _publicDeleteLabelType = typeof deleteLabel$1;
3884
+ declare const deleteLabel: ReturnType<typeof createRESTModule$2<_publicDeleteLabelType>>;
3885
+ type _publicQueryLabelsType = typeof queryLabels$1;
3886
+ declare const queryLabels: ReturnType<typeof createRESTModule$2<_publicQueryLabelsType>>;
3887
+
3888
+ type _publicOnLabelCreatedType = typeof onLabelCreated$1;
3889
+ declare const onLabelCreated: ReturnType<typeof createEventModule$1<_publicOnLabelCreatedType>>;
3890
+
3891
+ type _publicOnLabelUpdatedType = typeof onLabelUpdated$1;
3892
+ declare const onLabelUpdated: ReturnType<typeof createEventModule$1<_publicOnLabelUpdatedType>>;
3893
+
3894
+ type _publicOnLabelDeletedType = typeof onLabelDeleted$1;
3895
+ declare const onLabelDeleted: ReturnType<typeof createEventModule$1<_publicOnLabelDeletedType>>;
3786
3896
 
3787
3897
  type context$2_ContactLabel = ContactLabel;
3788
3898
  type context$2_ContactLabelNamespace = ContactLabelNamespace;
@@ -3827,6 +3937,14 @@ type context$2_UndeleteInfo = UndeleteInfo;
3827
3937
  type context$2_UpdateLabelRequest = UpdateLabelRequest;
3828
3938
  type context$2_UpdateLabelResponse = UpdateLabelResponse;
3829
3939
  type context$2_UpdateLabelResponseNonNullableFields = UpdateLabelResponseNonNullableFields;
3940
+ type context$2__publicDeleteLabelType = _publicDeleteLabelType;
3941
+ type context$2__publicFindOrCreateLabelType = _publicFindOrCreateLabelType;
3942
+ type context$2__publicGetLabelType = _publicGetLabelType;
3943
+ type context$2__publicOnLabelCreatedType = _publicOnLabelCreatedType;
3944
+ type context$2__publicOnLabelDeletedType = _publicOnLabelDeletedType;
3945
+ type context$2__publicOnLabelUpdatedType = _publicOnLabelUpdatedType;
3946
+ type context$2__publicQueryLabelsType = _publicQueryLabelsType;
3947
+ type context$2__publicRenameLabelType = _publicRenameLabelType;
3830
3948
  declare const context$2_deleteLabel: typeof deleteLabel;
3831
3949
  declare const context$2_findOrCreateLabel: typeof findOrCreateLabel;
3832
3950
  declare const context$2_getLabel: typeof getLabel;
@@ -3836,7 +3954,7 @@ declare const context$2_onLabelUpdated: typeof onLabelUpdated;
3836
3954
  declare const context$2_queryLabels: typeof queryLabels;
3837
3955
  declare const context$2_renameLabel: typeof renameLabel;
3838
3956
  declare namespace context$2 {
3839
- export { type ActionEvent$1 as ActionEvent, type BaseEventMetadata$1 as BaseEventMetadata, type context$2_ContactLabel as ContactLabel, type context$2_ContactLabelNamespace as ContactLabelNamespace, type context$2_ContactLabelNonNullableFields as ContactLabelNonNullableFields, type context$2_DeleteLabelRequest as DeleteLabelRequest, type context$2_DeleteLabelResponse as DeleteLabelResponse, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type context$2_FindOrCreateLabelOptions as FindOrCreateLabelOptions, type context$2_FindOrCreateLabelRequest as FindOrCreateLabelRequest, type context$2_FindOrCreateLabelResponse as FindOrCreateLabelResponse, type context$2_FindOrCreateLabelResponseNonNullableFields as FindOrCreateLabelResponseNonNullableFields, type context$2_GdprListRequest as GdprListRequest, type context$2_GdprListResponse as GdprListResponse, type context$2_GetLabelByLegacyIdRequest as GetLabelByLegacyIdRequest, type context$2_GetLabelByLegacyIdResponse as GetLabelByLegacyIdResponse, type context$2_GetLabelOptions as GetLabelOptions, type context$2_GetLabelRequest as GetLabelRequest, type context$2_GetLabelResponse as GetLabelResponse, type context$2_GetLabelResponseNonNullableFields as GetLabelResponseNonNullableFields, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, type context$2_LabelCreatedEnvelope as LabelCreatedEnvelope, type context$2_LabelDeletedEnvelope as LabelDeletedEnvelope, context$2_LabelType as LabelType, type context$2_LabelUpdatedEnvelope as LabelUpdatedEnvelope, type context$2_LabelsQueryBuilder as LabelsQueryBuilder, type context$2_LabelsQueryResult as LabelsQueryResult, type context$2_LabelsQuotaReached as LabelsQuotaReached, type context$2_ListLabelNamespacesRequest as ListLabelNamespacesRequest, type context$2_ListLabelNamespacesResponse as ListLabelNamespacesResponse, type context$2_ListLabelsRequest as ListLabelsRequest, type context$2_ListLabelsResponse as ListLabelsResponse, type MessageEnvelope$2 as MessageEnvelope, type Paging$1 as Paging, type context$2_PagingMetadata as PagingMetadata, type context$2_PurgeRequest as PurgeRequest, type context$2_PurgeResponse as PurgeResponse, type context$2_Query as Query, type context$2_QueryLabelsOptions as QueryLabelsOptions, type context$2_QueryLabelsRequest as QueryLabelsRequest, type context$2_QueryLabelsResponse as QueryLabelsResponse, type context$2_QueryLabelsResponseNonNullableFields as QueryLabelsResponseNonNullableFields, type context$2_RenameLabel as RenameLabel, type context$2_RenameLabelOptions as RenameLabelOptions, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, type context$2_UndeleteInfo as UndeleteInfo, type context$2_UpdateLabelRequest as UpdateLabelRequest, type context$2_UpdateLabelResponse as UpdateLabelResponse, type context$2_UpdateLabelResponseNonNullableFields as UpdateLabelResponseNonNullableFields, WebhookIdentityType$2 as WebhookIdentityType, context$2_deleteLabel as deleteLabel, context$2_findOrCreateLabel as findOrCreateLabel, context$2_getLabel as getLabel, context$2_onLabelCreated as onLabelCreated, context$2_onLabelDeleted as onLabelDeleted, context$2_onLabelUpdated as onLabelUpdated, context$2_queryLabels as queryLabels, context$2_renameLabel as renameLabel };
3957
+ export { type ActionEvent$1 as ActionEvent, type BaseEventMetadata$1 as BaseEventMetadata, type context$2_ContactLabel as ContactLabel, type context$2_ContactLabelNamespace as ContactLabelNamespace, type context$2_ContactLabelNonNullableFields as ContactLabelNonNullableFields, type context$2_DeleteLabelRequest as DeleteLabelRequest, type context$2_DeleteLabelResponse as DeleteLabelResponse, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type context$2_FindOrCreateLabelOptions as FindOrCreateLabelOptions, type context$2_FindOrCreateLabelRequest as FindOrCreateLabelRequest, type context$2_FindOrCreateLabelResponse as FindOrCreateLabelResponse, type context$2_FindOrCreateLabelResponseNonNullableFields as FindOrCreateLabelResponseNonNullableFields, type context$2_GdprListRequest as GdprListRequest, type context$2_GdprListResponse as GdprListResponse, type context$2_GetLabelByLegacyIdRequest as GetLabelByLegacyIdRequest, type context$2_GetLabelByLegacyIdResponse as GetLabelByLegacyIdResponse, type context$2_GetLabelOptions as GetLabelOptions, type context$2_GetLabelRequest as GetLabelRequest, type context$2_GetLabelResponse as GetLabelResponse, type context$2_GetLabelResponseNonNullableFields as GetLabelResponseNonNullableFields, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, type context$2_LabelCreatedEnvelope as LabelCreatedEnvelope, type context$2_LabelDeletedEnvelope as LabelDeletedEnvelope, context$2_LabelType as LabelType, type context$2_LabelUpdatedEnvelope as LabelUpdatedEnvelope, type context$2_LabelsQueryBuilder as LabelsQueryBuilder, type context$2_LabelsQueryResult as LabelsQueryResult, type context$2_LabelsQuotaReached as LabelsQuotaReached, type context$2_ListLabelNamespacesRequest as ListLabelNamespacesRequest, type context$2_ListLabelNamespacesResponse as ListLabelNamespacesResponse, type context$2_ListLabelsRequest as ListLabelsRequest, type context$2_ListLabelsResponse as ListLabelsResponse, type MessageEnvelope$2 as MessageEnvelope, type Paging$1 as Paging, type context$2_PagingMetadata as PagingMetadata, type context$2_PurgeRequest as PurgeRequest, type context$2_PurgeResponse as PurgeResponse, type context$2_Query as Query, type context$2_QueryLabelsOptions as QueryLabelsOptions, type context$2_QueryLabelsRequest as QueryLabelsRequest, type context$2_QueryLabelsResponse as QueryLabelsResponse, type context$2_QueryLabelsResponseNonNullableFields as QueryLabelsResponseNonNullableFields, type context$2_RenameLabel as RenameLabel, type context$2_RenameLabelOptions as RenameLabelOptions, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, type context$2_UndeleteInfo as UndeleteInfo, type context$2_UpdateLabelRequest as UpdateLabelRequest, type context$2_UpdateLabelResponse as UpdateLabelResponse, type context$2_UpdateLabelResponseNonNullableFields as UpdateLabelResponseNonNullableFields, WebhookIdentityType$2 as WebhookIdentityType, type context$2__publicDeleteLabelType as _publicDeleteLabelType, type context$2__publicFindOrCreateLabelType as _publicFindOrCreateLabelType, type context$2__publicGetLabelType as _publicGetLabelType, type context$2__publicOnLabelCreatedType as _publicOnLabelCreatedType, type context$2__publicOnLabelDeletedType as _publicOnLabelDeletedType, type context$2__publicOnLabelUpdatedType as _publicOnLabelUpdatedType, type context$2__publicQueryLabelsType as _publicQueryLabelsType, type context$2__publicRenameLabelType as _publicRenameLabelType, context$2_deleteLabel as deleteLabel, context$2_findOrCreateLabel as findOrCreateLabel, context$2_getLabel as getLabel, context$2_onLabelCreated as onLabelCreated, context$2_onLabelDeleted as onLabelDeleted, context$2_onLabelUpdated as onLabelUpdated, onLabelCreated$1 as publicOnLabelCreated, onLabelDeleted$1 as publicOnLabelDeleted, onLabelUpdated$1 as publicOnLabelUpdated, context$2_queryLabels as queryLabels, context$2_renameLabel as renameLabel };
3840
3958
  }
3841
3959
 
3842
3960
  /** Dummy message for fqdn validation */
@@ -4427,9 +4545,12 @@ interface AppendOrCreateContactOptions {
4427
4545
  contactId?: string | null;
4428
4546
  }
4429
4547
 
4548
+ declare function appendOrCreateContact$1(httpClient: HttpClient): (options?: AppendOrCreateContactOptions) => Promise<SubmitContactResponse & SubmitContactResponseNonNullableFields>;
4549
+
4430
4550
  declare function createRESTModule$1<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
4431
4551
 
4432
- declare const appendOrCreateContact: ReturnType<typeof createRESTModule$1<typeof publicAppendOrCreateContact>>;
4552
+ type _publicAppendOrCreateContactType = typeof appendOrCreateContact$1;
4553
+ declare const appendOrCreateContact: ReturnType<typeof createRESTModule$1<_publicAppendOrCreateContactType>>;
4433
4554
 
4434
4555
  type context$1_ActivityIcon = ActivityIcon;
4435
4556
  type context$1_Address = Address;
@@ -4477,9 +4598,10 @@ type context$1_SubmitOperation = SubmitOperation;
4477
4598
  declare const context$1_SubmitOperation: typeof SubmitOperation;
4478
4599
  type context$1_SubmitVisitorIdRequest = SubmitVisitorIdRequest;
4479
4600
  type context$1_SubmitVisitorIdResponse = SubmitVisitorIdResponse;
4601
+ type context$1__publicAppendOrCreateContactType = _publicAppendOrCreateContactType;
4480
4602
  declare const context$1_appendOrCreateContact: typeof appendOrCreateContact;
4481
4603
  declare namespace context$1 {
4482
- export { type context$1_ActivityIcon as ActivityIcon, type context$1_Address as Address, type context$1_AddressLocation as AddressLocation, type context$1_AddressStreetOneOf as AddressStreetOneOf, context$1_AddressTag as AddressTag, type context$1_AppendOrCreateContactOptions as AppendOrCreateContactOptions, type context$1_AssigneesWrapper as AssigneesWrapper, type context$1_ContactActivity as ContactActivity, context$1_ContactActivityType as ContactActivityType, type context$1_ContactAddress as ContactAddress, type context$1_ContactAddressesWrapper as ContactAddressesWrapper, type context$1_ContactEmail as ContactEmail, type context$1_ContactEmailsWrapper as ContactEmailsWrapper, type ContactInfo$1 as ContactInfo, type context$1_ContactName as ContactName, type context$1_ContactPhone as ContactPhone, type context$1_ContactPhonesWrapper as ContactPhonesWrapper, type context$1_ContactPicture as ContactPicture, context$1_ContactSourceType as ContactSourceType, type context$1_ContactToSubmit as ContactToSubmit, context$1_EmailTag as EmailTag, type context$1_ExtendedFieldsWrapper as ExtendedFieldsWrapper, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, context$1_IdentityType as IdentityType, context$1_ImageProvider as ImageProvider, type context$1_LabelsWrapper as LabelsWrapper, type context$1_LocationsWrapper as LocationsWrapper, type MessageEnvelope$1 as MessageEnvelope, context$1_PhoneTag as PhoneTag, type context$1_StreetAddress as StreetAddress, type context$1_Subdivision as Subdivision, context$1_SubdivisionType as SubdivisionType, type context$1_SubmitContact as SubmitContact, type context$1_SubmitContactOptions as SubmitContactOptions, type context$1_SubmitContactRequest as SubmitContactRequest, type context$1_SubmitContactResponse as SubmitContactResponse, type context$1_SubmitContactResponseNonNullableFields as SubmitContactResponseNonNullableFields, context$1_SubmitOperation as SubmitOperation, type context$1_SubmitVisitorIdRequest as SubmitVisitorIdRequest, type context$1_SubmitVisitorIdResponse as SubmitVisitorIdResponse, WebhookIdentityType$1 as WebhookIdentityType, context$1_appendOrCreateContact as appendOrCreateContact };
4604
+ export { type context$1_ActivityIcon as ActivityIcon, type context$1_Address as Address, type context$1_AddressLocation as AddressLocation, type context$1_AddressStreetOneOf as AddressStreetOneOf, context$1_AddressTag as AddressTag, type context$1_AppendOrCreateContactOptions as AppendOrCreateContactOptions, type context$1_AssigneesWrapper as AssigneesWrapper, type context$1_ContactActivity as ContactActivity, context$1_ContactActivityType as ContactActivityType, type context$1_ContactAddress as ContactAddress, type context$1_ContactAddressesWrapper as ContactAddressesWrapper, type context$1_ContactEmail as ContactEmail, type context$1_ContactEmailsWrapper as ContactEmailsWrapper, type ContactInfo$1 as ContactInfo, type context$1_ContactName as ContactName, type context$1_ContactPhone as ContactPhone, type context$1_ContactPhonesWrapper as ContactPhonesWrapper, type context$1_ContactPicture as ContactPicture, context$1_ContactSourceType as ContactSourceType, type context$1_ContactToSubmit as ContactToSubmit, context$1_EmailTag as EmailTag, type context$1_ExtendedFieldsWrapper as ExtendedFieldsWrapper, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, context$1_IdentityType as IdentityType, context$1_ImageProvider as ImageProvider, type context$1_LabelsWrapper as LabelsWrapper, type context$1_LocationsWrapper as LocationsWrapper, type MessageEnvelope$1 as MessageEnvelope, context$1_PhoneTag as PhoneTag, type context$1_StreetAddress as StreetAddress, type context$1_Subdivision as Subdivision, context$1_SubdivisionType as SubdivisionType, type context$1_SubmitContact as SubmitContact, type context$1_SubmitContactOptions as SubmitContactOptions, type context$1_SubmitContactRequest as SubmitContactRequest, type context$1_SubmitContactResponse as SubmitContactResponse, type context$1_SubmitContactResponseNonNullableFields as SubmitContactResponseNonNullableFields, context$1_SubmitOperation as SubmitOperation, type context$1_SubmitVisitorIdRequest as SubmitVisitorIdRequest, type context$1_SubmitVisitorIdResponse as SubmitVisitorIdResponse, WebhookIdentityType$1 as WebhookIdentityType, type context$1__publicAppendOrCreateContactType as _publicAppendOrCreateContactType, context$1_appendOrCreateContact as appendOrCreateContact };
4483
4605
  }
4484
4606
 
4485
4607
  interface Task {
@@ -5115,21 +5237,48 @@ interface MoveTaskAfterOptions {
5115
5237
  beforeTaskId?: string | null;
5116
5238
  }
5117
5239
 
5240
+ declare function createTask$1(httpClient: HttpClient): (task: Task) => Promise<Task & TaskNonNullableFields>;
5241
+ declare function getTask$1(httpClient: HttpClient): (taskId: string) => Promise<Task & TaskNonNullableFields>;
5242
+ declare function updateTask$1(httpClient: HttpClient): (_id: string | null, task: UpdateTask) => Promise<Task & TaskNonNullableFields>;
5243
+ declare function deleteTask$1(httpClient: HttpClient): (taskId: string) => Promise<void>;
5244
+ declare function queryTasks$1(httpClient: HttpClient): () => TasksQueryBuilder;
5245
+ declare function countTasks$1(httpClient: HttpClient): (options?: CountTasksOptions) => Promise<CountTasksResponse & CountTasksResponseNonNullableFields>;
5246
+ declare function moveTaskAfter$1(httpClient: HttpClient): (taskId: string, options?: MoveTaskAfterOptions) => Promise<void>;
5247
+ declare const onTaskOverdue$1: EventDefinition<TaskOverdueEnvelope, "wix.crm.tasks.v2.task_task_overdue">;
5248
+ declare const onTaskCreated$1: EventDefinition<TaskCreatedEnvelope, "wix.crm.tasks.v2.task_created">;
5249
+ declare const onTaskUpdated$1: EventDefinition<TaskUpdatedEnvelope, "wix.crm.tasks.v2.task_updated">;
5250
+ declare const onTaskDeleted$1: EventDefinition<TaskDeletedEnvelope, "wix.crm.tasks.v2.task_deleted">;
5251
+
5118
5252
  declare function createRESTModule<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
5119
5253
 
5120
5254
  declare function createEventModule<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
5121
5255
 
5122
- declare const createTask: ReturnType<typeof createRESTModule<typeof publicCreateTask>>;
5123
- declare const getTask: ReturnType<typeof createRESTModule<typeof publicGetTask>>;
5124
- declare const updateTask: ReturnType<typeof createRESTModule<typeof publicUpdateTask>>;
5125
- declare const deleteTask: ReturnType<typeof createRESTModule<typeof publicDeleteTask>>;
5126
- declare const queryTasks: ReturnType<typeof createRESTModule<typeof publicQueryTasks>>;
5127
- declare const countTasks: ReturnType<typeof createRESTModule<typeof publicCountTasks>>;
5128
- declare const moveTaskAfter: ReturnType<typeof createRESTModule<typeof publicMoveTaskAfter>>;
5129
- declare const onTaskOverdue: ReturnType<typeof createEventModule<typeof publicOnTaskOverdue>>;
5130
- declare const onTaskCreated: ReturnType<typeof createEventModule<typeof publicOnTaskCreated>>;
5131
- declare const onTaskUpdated: ReturnType<typeof createEventModule<typeof publicOnTaskUpdated>>;
5132
- declare const onTaskDeleted: ReturnType<typeof createEventModule<typeof publicOnTaskDeleted>>;
5256
+ type _publicCreateTaskType = typeof createTask$1;
5257
+ declare const createTask: ReturnType<typeof createRESTModule<_publicCreateTaskType>>;
5258
+ type _publicGetTaskType = typeof getTask$1;
5259
+ declare const getTask: ReturnType<typeof createRESTModule<_publicGetTaskType>>;
5260
+ type _publicUpdateTaskType = typeof updateTask$1;
5261
+ declare const updateTask: ReturnType<typeof createRESTModule<_publicUpdateTaskType>>;
5262
+ type _publicDeleteTaskType = typeof deleteTask$1;
5263
+ declare const deleteTask: ReturnType<typeof createRESTModule<_publicDeleteTaskType>>;
5264
+ type _publicQueryTasksType = typeof queryTasks$1;
5265
+ declare const queryTasks: ReturnType<typeof createRESTModule<_publicQueryTasksType>>;
5266
+ type _publicCountTasksType = typeof countTasks$1;
5267
+ declare const countTasks: ReturnType<typeof createRESTModule<_publicCountTasksType>>;
5268
+ type _publicMoveTaskAfterType = typeof moveTaskAfter$1;
5269
+ declare const moveTaskAfter: ReturnType<typeof createRESTModule<_publicMoveTaskAfterType>>;
5270
+
5271
+ type _publicOnTaskOverdueType = typeof onTaskOverdue$1;
5272
+ declare const onTaskOverdue: ReturnType<typeof createEventModule<_publicOnTaskOverdueType>>;
5273
+
5274
+ type _publicOnTaskCreatedType = typeof onTaskCreated$1;
5275
+ declare const onTaskCreated: ReturnType<typeof createEventModule<_publicOnTaskCreatedType>>;
5276
+
5277
+ type _publicOnTaskUpdatedType = typeof onTaskUpdated$1;
5278
+ declare const onTaskUpdated: ReturnType<typeof createEventModule<_publicOnTaskUpdatedType>>;
5279
+
5280
+ type _publicOnTaskDeletedType = typeof onTaskDeleted$1;
5281
+ declare const onTaskDeleted: ReturnType<typeof createEventModule<_publicOnTaskDeletedType>>;
5133
5282
 
5134
5283
  type context_ActionEvent = ActionEvent;
5135
5284
  type context_BaseEventMetadata = BaseEventMetadata;
@@ -5206,6 +5355,17 @@ type context_UpdateTaskResponse = UpdateTaskResponse;
5206
5355
  type context_UpdateTaskResponseNonNullableFields = UpdateTaskResponseNonNullableFields;
5207
5356
  type context_WebhookIdentityType = WebhookIdentityType;
5208
5357
  declare const context_WebhookIdentityType: typeof WebhookIdentityType;
5358
+ type context__publicCountTasksType = _publicCountTasksType;
5359
+ type context__publicCreateTaskType = _publicCreateTaskType;
5360
+ type context__publicDeleteTaskType = _publicDeleteTaskType;
5361
+ type context__publicGetTaskType = _publicGetTaskType;
5362
+ type context__publicMoveTaskAfterType = _publicMoveTaskAfterType;
5363
+ type context__publicOnTaskCreatedType = _publicOnTaskCreatedType;
5364
+ type context__publicOnTaskDeletedType = _publicOnTaskDeletedType;
5365
+ type context__publicOnTaskOverdueType = _publicOnTaskOverdueType;
5366
+ type context__publicOnTaskUpdatedType = _publicOnTaskUpdatedType;
5367
+ type context__publicQueryTasksType = _publicQueryTasksType;
5368
+ type context__publicUpdateTaskType = _publicUpdateTaskType;
5209
5369
  declare const context_countTasks: typeof countTasks;
5210
5370
  declare const context_createTask: typeof createTask;
5211
5371
  declare const context_deleteTask: typeof deleteTask;
@@ -5218,7 +5378,7 @@ declare const context_onTaskUpdated: typeof onTaskUpdated;
5218
5378
  declare const context_queryTasks: typeof queryTasks;
5219
5379
  declare const context_updateTask: typeof updateTask;
5220
5380
  declare namespace context {
5221
- export { type context_ActionEvent as ActionEvent, type context_BaseEventMetadata as BaseEventMetadata, type context_ContactInfo as ContactInfo, type context_ContactNotFoundError as ContactNotFoundError, type context_CountTasksOptions as CountTasksOptions, type context_CountTasksRequest as CountTasksRequest, type context_CountTasksResponse as CountTasksResponse, type context_CountTasksResponseNonNullableFields as CountTasksResponseNonNullableFields, type context_CreateTaskRequest as CreateTaskRequest, type context_CreateTaskResponse as CreateTaskResponse, type context_CreateTaskResponseNonNullableFields as CreateTaskResponseNonNullableFields, type context_CursorPaging as CursorPaging, type context_CursorPagingMetadata as CursorPagingMetadata, type context_CursorQuery as CursorQuery, type context_CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOf, type context_Cursors as Cursors, type context_DeleteCompletedTasksRequest as DeleteCompletedTasksRequest, type context_DeleteCompletedTasksResponse as DeleteCompletedTasksResponse, type context_DeleteTaskRequest as DeleteTaskRequest, type context_DeleteTaskResponse as DeleteTaskResponse, type context_DomainEvent as DomainEvent, type context_DomainEventBodyOneOf as DomainEventBodyOneOf, type context_Empty as Empty, type context_EntityCreatedEvent as EntityCreatedEvent, type context_EntityDeletedEvent as EntityDeletedEvent, type context_EntityUpdatedEvent as EntityUpdatedEvent, type context_EventMetadata as EventMetadata, type context_GetTaskRequest as GetTaskRequest, type context_GetTaskResponse as GetTaskResponse, type context_GetTaskResponseNonNullableFields as GetTaskResponseNonNullableFields, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type context_MessageEnvelope as MessageEnvelope, type context_MoveTaskAfterOptions as MoveTaskAfterOptions, type context_MoveTaskAfterRequest as MoveTaskAfterRequest, type context_MoveTaskAfterResponse as MoveTaskAfterResponse, type context_Paging as Paging, type context_PagingMetadataV2 as PagingMetadataV2, type context_QueryTasksInternalRequest as QueryTasksInternalRequest, type context_QueryTasksInternalResponse as QueryTasksInternalResponse, type context_QueryTasksRequest as QueryTasksRequest, type context_QueryTasksResponse as QueryTasksResponse, type context_QueryTasksResponseNonNullableFields as QueryTasksResponseNonNullableFields, type context_QueryV2 as QueryV2, type context_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, context_ReminderType as ReminderType, type context_RepositionTask as RepositionTask, type context_SendTasksReminderRequest as SendTasksReminderRequest, type context_SendTasksReminderResponse as SendTasksReminderResponse, context_SortOrder as SortOrder, type context_Sorting as Sorting, context_SourceType as SourceType, type context_Task as Task, type context_TaskAssigned as TaskAssigned, type context_TaskCreatedEnvelope as TaskCreatedEnvelope, type context_TaskDeletedEnvelope as TaskDeletedEnvelope, type context_TaskNonNullableFields as TaskNonNullableFields, type context_TaskNotFoundError as TaskNotFoundError, type context_TaskOverdue as TaskOverdue, type context_TaskOverdueEnvelope as TaskOverdueEnvelope, type context_TaskSource as TaskSource, context_TaskStatus as TaskStatus, type context_TaskUpdatedEnvelope as TaskUpdatedEnvelope, type context_TasksQueryBuilder as TasksQueryBuilder, type context_TasksQueryResult as TasksQueryResult, type context_UpdateTask as UpdateTask, type context_UpdateTaskRequest as UpdateTaskRequest, type context_UpdateTaskResponse as UpdateTaskResponse, type context_UpdateTaskResponseNonNullableFields as UpdateTaskResponseNonNullableFields, context_WebhookIdentityType as WebhookIdentityType, context_countTasks as countTasks, context_createTask as createTask, context_deleteTask as deleteTask, context_getTask as getTask, context_moveTaskAfter as moveTaskAfter, context_onTaskCreated as onTaskCreated, context_onTaskDeleted as onTaskDeleted, context_onTaskOverdue as onTaskOverdue, context_onTaskUpdated as onTaskUpdated, context_queryTasks as queryTasks, context_updateTask as updateTask };
5381
+ export { type context_ActionEvent as ActionEvent, type context_BaseEventMetadata as BaseEventMetadata, type context_ContactInfo as ContactInfo, type context_ContactNotFoundError as ContactNotFoundError, type context_CountTasksOptions as CountTasksOptions, type context_CountTasksRequest as CountTasksRequest, type context_CountTasksResponse as CountTasksResponse, type context_CountTasksResponseNonNullableFields as CountTasksResponseNonNullableFields, type context_CreateTaskRequest as CreateTaskRequest, type context_CreateTaskResponse as CreateTaskResponse, type context_CreateTaskResponseNonNullableFields as CreateTaskResponseNonNullableFields, type context_CursorPaging as CursorPaging, type context_CursorPagingMetadata as CursorPagingMetadata, type context_CursorQuery as CursorQuery, type context_CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOf, type context_Cursors as Cursors, type context_DeleteCompletedTasksRequest as DeleteCompletedTasksRequest, type context_DeleteCompletedTasksResponse as DeleteCompletedTasksResponse, type context_DeleteTaskRequest as DeleteTaskRequest, type context_DeleteTaskResponse as DeleteTaskResponse, type context_DomainEvent as DomainEvent, type context_DomainEventBodyOneOf as DomainEventBodyOneOf, type context_Empty as Empty, type context_EntityCreatedEvent as EntityCreatedEvent, type context_EntityDeletedEvent as EntityDeletedEvent, type context_EntityUpdatedEvent as EntityUpdatedEvent, type context_EventMetadata as EventMetadata, type context_GetTaskRequest as GetTaskRequest, type context_GetTaskResponse as GetTaskResponse, type context_GetTaskResponseNonNullableFields as GetTaskResponseNonNullableFields, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type context_MessageEnvelope as MessageEnvelope, type context_MoveTaskAfterOptions as MoveTaskAfterOptions, type context_MoveTaskAfterRequest as MoveTaskAfterRequest, type context_MoveTaskAfterResponse as MoveTaskAfterResponse, type context_Paging as Paging, type context_PagingMetadataV2 as PagingMetadataV2, type context_QueryTasksInternalRequest as QueryTasksInternalRequest, type context_QueryTasksInternalResponse as QueryTasksInternalResponse, type context_QueryTasksRequest as QueryTasksRequest, type context_QueryTasksResponse as QueryTasksResponse, type context_QueryTasksResponseNonNullableFields as QueryTasksResponseNonNullableFields, type context_QueryV2 as QueryV2, type context_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, context_ReminderType as ReminderType, type context_RepositionTask as RepositionTask, type context_SendTasksReminderRequest as SendTasksReminderRequest, type context_SendTasksReminderResponse as SendTasksReminderResponse, context_SortOrder as SortOrder, type context_Sorting as Sorting, context_SourceType as SourceType, type context_Task as Task, type context_TaskAssigned as TaskAssigned, type context_TaskCreatedEnvelope as TaskCreatedEnvelope, type context_TaskDeletedEnvelope as TaskDeletedEnvelope, type context_TaskNonNullableFields as TaskNonNullableFields, type context_TaskNotFoundError as TaskNotFoundError, type context_TaskOverdue as TaskOverdue, type context_TaskOverdueEnvelope as TaskOverdueEnvelope, type context_TaskSource as TaskSource, context_TaskStatus as TaskStatus, type context_TaskUpdatedEnvelope as TaskUpdatedEnvelope, type context_TasksQueryBuilder as TasksQueryBuilder, type context_TasksQueryResult as TasksQueryResult, type context_UpdateTask as UpdateTask, type context_UpdateTaskRequest as UpdateTaskRequest, type context_UpdateTaskResponse as UpdateTaskResponse, type context_UpdateTaskResponseNonNullableFields as UpdateTaskResponseNonNullableFields, context_WebhookIdentityType as WebhookIdentityType, type context__publicCountTasksType as _publicCountTasksType, type context__publicCreateTaskType as _publicCreateTaskType, type context__publicDeleteTaskType as _publicDeleteTaskType, type context__publicGetTaskType as _publicGetTaskType, type context__publicMoveTaskAfterType as _publicMoveTaskAfterType, type context__publicOnTaskCreatedType as _publicOnTaskCreatedType, type context__publicOnTaskDeletedType as _publicOnTaskDeletedType, type context__publicOnTaskOverdueType as _publicOnTaskOverdueType, type context__publicOnTaskUpdatedType as _publicOnTaskUpdatedType, type context__publicQueryTasksType as _publicQueryTasksType, type context__publicUpdateTaskType as _publicUpdateTaskType, context_countTasks as countTasks, context_createTask as createTask, context_deleteTask as deleteTask, context_getTask as getTask, context_moveTaskAfter as moveTaskAfter, context_onTaskCreated as onTaskCreated, context_onTaskDeleted as onTaskDeleted, context_onTaskOverdue as onTaskOverdue, context_onTaskUpdated as onTaskUpdated, onTaskCreated$1 as publicOnTaskCreated, onTaskDeleted$1 as publicOnTaskDeleted, onTaskOverdue$1 as publicOnTaskOverdue, onTaskUpdated$1 as publicOnTaskUpdated, context_queryTasks as queryTasks, context_updateTask as updateTask };
5222
5382
  }
5223
5383
 
5224
5384
  export { context$5 as attachments, context$4 as contacts, context$3 as extendedFields, context$2 as labels, context$1 as submittedContact, context as tasks };
@@ -420,16 +420,31 @@ declare global {
420
420
  }
421
421
  }
422
422
 
423
+ declare function generateAttachmentUploadUrl$1(httpClient: HttpClient): (contactId: string, fileName: string, options: GenerateAttachmentUploadUrlOptions) => Promise<GenerateAttachmentUploadUrlResponse & GenerateAttachmentUploadUrlResponseNonNullableFields>;
424
+ declare function listAttachments$1(httpClient: HttpClient): (contactId: string, options?: ListAttachmentsOptions) => Promise<ListAttachmentsResponse & ListAttachmentsResponseNonNullableFields>;
425
+ declare function deleteAttachment$1(httpClient: HttpClient): (identifiers: DeleteAttachmentIdentifiers) => Promise<void>;
426
+ declare function getAttachment$1(httpClient: HttpClient): (identifiers: GetAttachmentIdentifiers) => Promise<ContactAttachment & ContactAttachmentNonNullableFields>;
427
+ declare const onAttachmentCreated$1: EventDefinition<AttachmentCreatedEnvelope, "wix.contacts.v4.attachment_created">;
428
+ declare const onAttachmentDeleted$1: EventDefinition<AttachmentDeletedEnvelope, "wix.contacts.v4.attachment_deleted">;
429
+
423
430
  declare function createRESTModule$5<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
424
431
 
425
432
  declare function createEventModule$4<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
426
433
 
427
- declare const generateAttachmentUploadUrl: ReturnType<typeof createRESTModule$5<typeof publicGenerateAttachmentUploadUrl>>;
428
- declare const listAttachments: ReturnType<typeof createRESTModule$5<typeof publicListAttachments>>;
429
- declare const deleteAttachment: ReturnType<typeof createRESTModule$5<typeof publicDeleteAttachment>>;
430
- declare const getAttachment: ReturnType<typeof createRESTModule$5<typeof publicGetAttachment>>;
431
- declare const onAttachmentCreated: ReturnType<typeof createEventModule$4<typeof publicOnAttachmentCreated>>;
432
- declare const onAttachmentDeleted: ReturnType<typeof createEventModule$4<typeof publicOnAttachmentDeleted>>;
434
+ type _publicGenerateAttachmentUploadUrlType = typeof generateAttachmentUploadUrl$1;
435
+ declare const generateAttachmentUploadUrl: ReturnType<typeof createRESTModule$5<_publicGenerateAttachmentUploadUrlType>>;
436
+ type _publicListAttachmentsType = typeof listAttachments$1;
437
+ declare const listAttachments: ReturnType<typeof createRESTModule$5<_publicListAttachmentsType>>;
438
+ type _publicDeleteAttachmentType = typeof deleteAttachment$1;
439
+ declare const deleteAttachment: ReturnType<typeof createRESTModule$5<_publicDeleteAttachmentType>>;
440
+ type _publicGetAttachmentType = typeof getAttachment$1;
441
+ declare const getAttachment: ReturnType<typeof createRESTModule$5<_publicGetAttachmentType>>;
442
+
443
+ type _publicOnAttachmentCreatedType = typeof onAttachmentCreated$1;
444
+ declare const onAttachmentCreated: ReturnType<typeof createEventModule$4<_publicOnAttachmentCreatedType>>;
445
+
446
+ type _publicOnAttachmentDeletedType = typeof onAttachmentDeleted$1;
447
+ declare const onAttachmentDeleted: ReturnType<typeof createEventModule$4<_publicOnAttachmentDeletedType>>;
433
448
 
434
449
  type index_d$5_AttachmentCreatedEnvelope = AttachmentCreatedEnvelope;
435
450
  type index_d$5_AttachmentDeletedEnvelope = AttachmentDeletedEnvelope;
@@ -466,6 +481,12 @@ type index_d$5_ListAttachmentsRequest = ListAttachmentsRequest;
466
481
  type index_d$5_ListAttachmentsResponse = ListAttachmentsResponse;
467
482
  type index_d$5_ListAttachmentsResponseNonNullableFields = ListAttachmentsResponseNonNullableFields;
468
483
  type index_d$5_MediaFileUploadedEvent = MediaFileUploadedEvent;
484
+ type index_d$5__publicDeleteAttachmentType = _publicDeleteAttachmentType;
485
+ type index_d$5__publicGenerateAttachmentUploadUrlType = _publicGenerateAttachmentUploadUrlType;
486
+ type index_d$5__publicGetAttachmentType = _publicGetAttachmentType;
487
+ type index_d$5__publicListAttachmentsType = _publicListAttachmentsType;
488
+ type index_d$5__publicOnAttachmentCreatedType = _publicOnAttachmentCreatedType;
489
+ type index_d$5__publicOnAttachmentDeletedType = _publicOnAttachmentDeletedType;
469
490
  declare const index_d$5_deleteAttachment: typeof deleteAttachment;
470
491
  declare const index_d$5_generateAttachmentUploadUrl: typeof generateAttachmentUploadUrl;
471
492
  declare const index_d$5_getAttachment: typeof getAttachment;
@@ -473,7 +494,7 @@ declare const index_d$5_listAttachments: typeof listAttachments;
473
494
  declare const index_d$5_onAttachmentCreated: typeof onAttachmentCreated;
474
495
  declare const index_d$5_onAttachmentDeleted: typeof onAttachmentDeleted;
475
496
  declare namespace index_d$5 {
476
- export { type ActionEvent$4 as ActionEvent, type index_d$5_AttachmentCreatedEnvelope as AttachmentCreatedEnvelope, type index_d$5_AttachmentDeletedEnvelope as AttachmentDeletedEnvelope, type index_d$5_AttachmentMedia as AttachmentMedia, type index_d$5_AttachmentMediaMediaOneOf as AttachmentMediaMediaOneOf, type index_d$5_AttachmentMetadata as AttachmentMetadata, type index_d$5_AttachmentSource as AttachmentSource, index_d$5_AttachmentType as AttachmentType, type BaseEventMetadata$4 as BaseEventMetadata, type index_d$5_ContactAttachment as ContactAttachment, type index_d$5_ContactAttachmentMediaOneOf as ContactAttachmentMediaOneOf, type index_d$5_ContactAttachmentNonNullableFields as ContactAttachmentNonNullableFields, type index_d$5_CreateDemoAttachmentRequest as CreateDemoAttachmentRequest, type index_d$5_CreateDemoAttachmentResponse as CreateDemoAttachmentResponse, type index_d$5_CrmAttachment as CrmAttachment, index_d$5_CrmAttachmentAttachmentType as CrmAttachmentAttachmentType, type index_d$5_CrmAttachmentUploadedEvent as CrmAttachmentUploadedEvent, type index_d$5_DeleteAttachmentIdentifiers as DeleteAttachmentIdentifiers, type index_d$5_DeleteAttachmentRequest as DeleteAttachmentRequest, type index_d$5_DeleteAttachmentResponse as DeleteAttachmentResponse, index_d$5_DemoContactType as DemoContactType, type DomainEvent$4 as DomainEvent, type DomainEventBodyOneOf$4 as DomainEventBodyOneOf, type Empty$1 as Empty, type EntityCreatedEvent$4 as EntityCreatedEvent, type EntityDeletedEvent$4 as EntityDeletedEvent, type EntityUpdatedEvent$4 as EntityUpdatedEvent, type EventMetadata$4 as EventMetadata, type index_d$5_GenerateAttachmentUploadUrlOptions as GenerateAttachmentUploadUrlOptions, type index_d$5_GenerateAttachmentUploadUrlRequest as GenerateAttachmentUploadUrlRequest, type index_d$5_GenerateAttachmentUploadUrlResponse as GenerateAttachmentUploadUrlResponse, type index_d$5_GenerateAttachmentUploadUrlResponseNonNullableFields as GenerateAttachmentUploadUrlResponseNonNullableFields, type index_d$5_GetAttachmentIdentifiers as GetAttachmentIdentifiers, type index_d$5_GetAttachmentRequest as GetAttachmentRequest, type index_d$5_GetAttachmentResponse as GetAttachmentResponse, type index_d$5_GetAttachmentResponseNonNullableFields as GetAttachmentResponseNonNullableFields, type IdentificationData$5 as IdentificationData, type IdentificationDataIdOneOf$5 as IdentificationDataIdOneOf, type index_d$5_ListAttachmentsOptions as ListAttachmentsOptions, type index_d$5_ListAttachmentsRequest as ListAttachmentsRequest, type index_d$5_ListAttachmentsResponse as ListAttachmentsResponse, type index_d$5_ListAttachmentsResponseNonNullableFields as ListAttachmentsResponseNonNullableFields, type index_d$5_MediaFileUploadedEvent as MediaFileUploadedEvent, type MessageEnvelope$5 as MessageEnvelope, type Paging$4 as Paging, type PagingMetadata$3 as PagingMetadata, WebhookIdentityType$5 as WebhookIdentityType, index_d$5_deleteAttachment as deleteAttachment, index_d$5_generateAttachmentUploadUrl as generateAttachmentUploadUrl, index_d$5_getAttachment as getAttachment, index_d$5_listAttachments as listAttachments, index_d$5_onAttachmentCreated as onAttachmentCreated, index_d$5_onAttachmentDeleted as onAttachmentDeleted };
497
+ export { type ActionEvent$4 as ActionEvent, type index_d$5_AttachmentCreatedEnvelope as AttachmentCreatedEnvelope, type index_d$5_AttachmentDeletedEnvelope as AttachmentDeletedEnvelope, type index_d$5_AttachmentMedia as AttachmentMedia, type index_d$5_AttachmentMediaMediaOneOf as AttachmentMediaMediaOneOf, type index_d$5_AttachmentMetadata as AttachmentMetadata, type index_d$5_AttachmentSource as AttachmentSource, index_d$5_AttachmentType as AttachmentType, type BaseEventMetadata$4 as BaseEventMetadata, type index_d$5_ContactAttachment as ContactAttachment, type index_d$5_ContactAttachmentMediaOneOf as ContactAttachmentMediaOneOf, type index_d$5_ContactAttachmentNonNullableFields as ContactAttachmentNonNullableFields, type index_d$5_CreateDemoAttachmentRequest as CreateDemoAttachmentRequest, type index_d$5_CreateDemoAttachmentResponse as CreateDemoAttachmentResponse, type index_d$5_CrmAttachment as CrmAttachment, index_d$5_CrmAttachmentAttachmentType as CrmAttachmentAttachmentType, type index_d$5_CrmAttachmentUploadedEvent as CrmAttachmentUploadedEvent, type index_d$5_DeleteAttachmentIdentifiers as DeleteAttachmentIdentifiers, type index_d$5_DeleteAttachmentRequest as DeleteAttachmentRequest, type index_d$5_DeleteAttachmentResponse as DeleteAttachmentResponse, index_d$5_DemoContactType as DemoContactType, type DomainEvent$4 as DomainEvent, type DomainEventBodyOneOf$4 as DomainEventBodyOneOf, type Empty$1 as Empty, type EntityCreatedEvent$4 as EntityCreatedEvent, type EntityDeletedEvent$4 as EntityDeletedEvent, type EntityUpdatedEvent$4 as EntityUpdatedEvent, type EventMetadata$4 as EventMetadata, type index_d$5_GenerateAttachmentUploadUrlOptions as GenerateAttachmentUploadUrlOptions, type index_d$5_GenerateAttachmentUploadUrlRequest as GenerateAttachmentUploadUrlRequest, type index_d$5_GenerateAttachmentUploadUrlResponse as GenerateAttachmentUploadUrlResponse, type index_d$5_GenerateAttachmentUploadUrlResponseNonNullableFields as GenerateAttachmentUploadUrlResponseNonNullableFields, type index_d$5_GetAttachmentIdentifiers as GetAttachmentIdentifiers, type index_d$5_GetAttachmentRequest as GetAttachmentRequest, type index_d$5_GetAttachmentResponse as GetAttachmentResponse, type index_d$5_GetAttachmentResponseNonNullableFields as GetAttachmentResponseNonNullableFields, type IdentificationData$5 as IdentificationData, type IdentificationDataIdOneOf$5 as IdentificationDataIdOneOf, type index_d$5_ListAttachmentsOptions as ListAttachmentsOptions, type index_d$5_ListAttachmentsRequest as ListAttachmentsRequest, type index_d$5_ListAttachmentsResponse as ListAttachmentsResponse, type index_d$5_ListAttachmentsResponseNonNullableFields as ListAttachmentsResponseNonNullableFields, type index_d$5_MediaFileUploadedEvent as MediaFileUploadedEvent, type MessageEnvelope$5 as MessageEnvelope, type Paging$4 as Paging, type PagingMetadata$3 as PagingMetadata, WebhookIdentityType$5 as WebhookIdentityType, type index_d$5__publicDeleteAttachmentType as _publicDeleteAttachmentType, type index_d$5__publicGenerateAttachmentUploadUrlType as _publicGenerateAttachmentUploadUrlType, type index_d$5__publicGetAttachmentType as _publicGetAttachmentType, type index_d$5__publicListAttachmentsType as _publicListAttachmentsType, type index_d$5__publicOnAttachmentCreatedType as _publicOnAttachmentCreatedType, type index_d$5__publicOnAttachmentDeletedType as _publicOnAttachmentDeletedType, index_d$5_deleteAttachment as deleteAttachment, index_d$5_generateAttachmentUploadUrl as generateAttachmentUploadUrl, index_d$5_getAttachment as getAttachment, index_d$5_listAttachments as listAttachments, index_d$5_onAttachmentCreated as onAttachmentCreated, index_d$5_onAttachmentDeleted as onAttachmentDeleted, onAttachmentCreated$1 as publicOnAttachmentCreated, onAttachmentDeleted$1 as publicOnAttachmentDeleted };
477
498
  }
478
499
 
479
500
  interface Contact {
@@ -2391,22 +2412,51 @@ interface GetContactOptions {
2391
2412
  fieldsets?: ContactFieldSet[];
2392
2413
  }
2393
2414
 
2415
+ declare function createContact$1(httpClient: HttpClient): (info: ContactInfo$2, options?: CreateContactOptions) => Promise<CreateContactResponse & CreateContactResponseNonNullableFields>;
2416
+ declare function updateContact$1(httpClient: HttpClient): (contactId: string, info: ContactInfo$2, revision: number | null, options?: UpdateContactOptions) => Promise<UpdateContactResponse & UpdateContactResponseNonNullableFields>;
2417
+ declare function mergeContacts$1(httpClient: HttpClient): (targetContactId: string, targetContactRevision: number | null, options?: MergeContactsOptions) => Promise<MergeContactsResponse & MergeContactsResponseNonNullableFields>;
2418
+ declare function deleteContact$1(httpClient: HttpClient): (contactId: string) => Promise<void>;
2419
+ declare function labelContact$1(httpClient: HttpClient): (contactId: string, labelKeys: string[]) => Promise<LabelContactResponse & LabelContactResponseNonNullableFields>;
2420
+ declare function unlabelContact$1(httpClient: HttpClient): (contactId: string, labelKeys: string[]) => Promise<UnlabelContactResponse & UnlabelContactResponseNonNullableFields>;
2421
+ declare function queryContacts$1(httpClient: HttpClient): (options?: QueryContactsOptions) => ContactsQueryBuilder;
2422
+ declare function getContact$1(httpClient: HttpClient): (_id: string, options?: GetContactOptions) => Promise<Contact & ContactNonNullableFields>;
2423
+ declare const onContactCreated$1: EventDefinition<ContactCreatedEnvelope, "wix.contacts.v4.contact_created">;
2424
+ declare const onContactUpdated$1: EventDefinition<ContactUpdatedEnvelope, "wix.contacts.v4.contact_updated">;
2425
+ declare const onContactMerged$1: EventDefinition<ContactMergedEnvelope, "wix.contacts.v4.contact_merged">;
2426
+ declare const onContactDeleted$1: EventDefinition<ContactDeletedEnvelope, "wix.contacts.v4.contact_deleted">;
2427
+
2394
2428
  declare function createRESTModule$4<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
2395
2429
 
2396
2430
  declare function createEventModule$3<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
2397
2431
 
2398
- declare const createContact: ReturnType<typeof createRESTModule$4<typeof publicCreateContact>>;
2399
- declare const updateContact: ReturnType<typeof createRESTModule$4<typeof publicUpdateContact>>;
2400
- declare const mergeContacts: ReturnType<typeof createRESTModule$4<typeof publicMergeContacts>>;
2401
- declare const deleteContact: ReturnType<typeof createRESTModule$4<typeof publicDeleteContact>>;
2402
- declare const labelContact: ReturnType<typeof createRESTModule$4<typeof publicLabelContact>>;
2403
- declare const unlabelContact: ReturnType<typeof createRESTModule$4<typeof publicUnlabelContact>>;
2404
- declare const queryContacts: ReturnType<typeof createRESTModule$4<typeof publicQueryContacts>>;
2405
- declare const getContact: ReturnType<typeof createRESTModule$4<typeof publicGetContact>>;
2406
- declare const onContactCreated: ReturnType<typeof createEventModule$3<typeof publicOnContactCreated>>;
2407
- declare const onContactUpdated: ReturnType<typeof createEventModule$3<typeof publicOnContactUpdated>>;
2408
- declare const onContactMerged: ReturnType<typeof createEventModule$3<typeof publicOnContactMerged>>;
2409
- declare const onContactDeleted: ReturnType<typeof createEventModule$3<typeof publicOnContactDeleted>>;
2432
+ type _publicCreateContactType = typeof createContact$1;
2433
+ declare const createContact: ReturnType<typeof createRESTModule$4<_publicCreateContactType>>;
2434
+ type _publicUpdateContactType = typeof updateContact$1;
2435
+ declare const updateContact: ReturnType<typeof createRESTModule$4<_publicUpdateContactType>>;
2436
+ type _publicMergeContactsType = typeof mergeContacts$1;
2437
+ declare const mergeContacts: ReturnType<typeof createRESTModule$4<_publicMergeContactsType>>;
2438
+ type _publicDeleteContactType = typeof deleteContact$1;
2439
+ declare const deleteContact: ReturnType<typeof createRESTModule$4<_publicDeleteContactType>>;
2440
+ type _publicLabelContactType = typeof labelContact$1;
2441
+ declare const labelContact: ReturnType<typeof createRESTModule$4<_publicLabelContactType>>;
2442
+ type _publicUnlabelContactType = typeof unlabelContact$1;
2443
+ declare const unlabelContact: ReturnType<typeof createRESTModule$4<_publicUnlabelContactType>>;
2444
+ type _publicQueryContactsType = typeof queryContacts$1;
2445
+ declare const queryContacts: ReturnType<typeof createRESTModule$4<_publicQueryContactsType>>;
2446
+ type _publicGetContactType = typeof getContact$1;
2447
+ declare const getContact: ReturnType<typeof createRESTModule$4<_publicGetContactType>>;
2448
+
2449
+ type _publicOnContactCreatedType = typeof onContactCreated$1;
2450
+ declare const onContactCreated: ReturnType<typeof createEventModule$3<_publicOnContactCreatedType>>;
2451
+
2452
+ type _publicOnContactUpdatedType = typeof onContactUpdated$1;
2453
+ declare const onContactUpdated: ReturnType<typeof createEventModule$3<_publicOnContactUpdatedType>>;
2454
+
2455
+ type _publicOnContactMergedType = typeof onContactMerged$1;
2456
+ declare const onContactMerged: ReturnType<typeof createEventModule$3<_publicOnContactMergedType>>;
2457
+
2458
+ type _publicOnContactDeletedType = typeof onContactDeleted$1;
2459
+ declare const onContactDeleted: ReturnType<typeof createEventModule$3<_publicOnContactDeletedType>>;
2410
2460
 
2411
2461
  type index_d$4_Action = Action;
2412
2462
  declare const index_d$4_Action: typeof Action;
@@ -2534,6 +2584,18 @@ type index_d$4_UpsertContactResponse = UpsertContactResponse;
2534
2584
  type index_d$4_UpsertContactResponseAction = UpsertContactResponseAction;
2535
2585
  declare const index_d$4_UpsertContactResponseAction: typeof UpsertContactResponseAction;
2536
2586
  type index_d$4_UserInfo = UserInfo;
2587
+ type index_d$4__publicCreateContactType = _publicCreateContactType;
2588
+ type index_d$4__publicDeleteContactType = _publicDeleteContactType;
2589
+ type index_d$4__publicGetContactType = _publicGetContactType;
2590
+ type index_d$4__publicLabelContactType = _publicLabelContactType;
2591
+ type index_d$4__publicMergeContactsType = _publicMergeContactsType;
2592
+ type index_d$4__publicOnContactCreatedType = _publicOnContactCreatedType;
2593
+ type index_d$4__publicOnContactDeletedType = _publicOnContactDeletedType;
2594
+ type index_d$4__publicOnContactMergedType = _publicOnContactMergedType;
2595
+ type index_d$4__publicOnContactUpdatedType = _publicOnContactUpdatedType;
2596
+ type index_d$4__publicQueryContactsType = _publicQueryContactsType;
2597
+ type index_d$4__publicUnlabelContactType = _publicUnlabelContactType;
2598
+ type index_d$4__publicUpdateContactType = _publicUpdateContactType;
2537
2599
  declare const index_d$4_createContact: typeof createContact;
2538
2600
  declare const index_d$4_deleteContact: typeof deleteContact;
2539
2601
  declare const index_d$4_getContact: typeof getContact;
@@ -2547,7 +2609,7 @@ declare const index_d$4_queryContacts: typeof queryContacts;
2547
2609
  declare const index_d$4_unlabelContact: typeof unlabelContact;
2548
2610
  declare const index_d$4_updateContact: typeof updateContact;
2549
2611
  declare namespace index_d$4 {
2550
- export { index_d$4_Action as Action, type ActionEvent$3 as ActionEvent, type ActivityIcon$1 as ActivityIcon, type Address$1 as Address, type AddressLocation$1 as AddressLocation, type AddressStreetOneOf$1 as AddressStreetOneOf, AddressTag$1 as AddressTag, type index_d$4_ApplicationError as ApplicationError, type AssigneesWrapper$1 as AssigneesWrapper, type BaseEventMetadata$3 as BaseEventMetadata, type index_d$4_BulkActionMetadata as BulkActionMetadata, type index_d$4_BulkAddSegmentToContactsRequest as BulkAddSegmentToContactsRequest, type index_d$4_BulkAddSegmentToContactsResponse as BulkAddSegmentToContactsResponse, type index_d$4_BulkDeleteContactsRequest as BulkDeleteContactsRequest, type index_d$4_BulkDeleteContactsResponse as BulkDeleteContactsResponse, type index_d$4_BulkLabelAndUnlabelContactsRequest as BulkLabelAndUnlabelContactsRequest, type index_d$4_BulkLabelAndUnlabelContactsResponse as BulkLabelAndUnlabelContactsResponse, type index_d$4_BulkRemoveSegmentFromContactsRequest as BulkRemoveSegmentFromContactsRequest, type index_d$4_BulkRemoveSegmentFromContactsResponse as BulkRemoveSegmentFromContactsResponse, type index_d$4_BulkUpdateContactsRequest as BulkUpdateContactsRequest, type index_d$4_BulkUpdateContactsResponse as BulkUpdateContactsResponse, type index_d$4_BulkUpsertContactsRequest as BulkUpsertContactsRequest, type index_d$4_BulkUpsertContactsResponse as BulkUpsertContactsResponse, type index_d$4_BulkUpsertContactsResponseMetadata as BulkUpsertContactsResponseMetadata, type index_d$4_Contact as Contact, type ContactActivity$1 as ContactActivity, ContactActivityType$1 as ContactActivityType, type index_d$4_ContactAddedToSegment as ContactAddedToSegment, type ContactAddress$1 as ContactAddress, type ContactAddressesWrapper$1 as ContactAddressesWrapper, type index_d$4_ContactChanged as ContactChanged, type index_d$4_ContactCreatedEnvelope as ContactCreatedEnvelope, type index_d$4_ContactDeletedEnvelope as ContactDeletedEnvelope, type ContactEmail$1 as ContactEmail, type index_d$4_ContactEmailSubscriptionUpdated as ContactEmailSubscriptionUpdated, type ContactEmailsWrapper$1 as ContactEmailsWrapper, index_d$4_ContactFieldSet as ContactFieldSet, type ContactInfo$2 as ContactInfo, type index_d$4_ContactMerged as ContactMerged, type index_d$4_ContactMergedEnvelope as ContactMergedEnvelope, type ContactName$1 as ContactName, type index_d$4_ContactNonNullableFields as ContactNonNullableFields, type ContactPhone$1 as ContactPhone, type index_d$4_ContactPhoneSubscriptionUpdated as ContactPhoneSubscriptionUpdated, type ContactPhonesWrapper$1 as ContactPhonesWrapper, type ContactPicture$1 as ContactPicture, type index_d$4_ContactPrimaryInfoUpdated as ContactPrimaryInfoUpdated, type index_d$4_ContactRemovedFromSegment as ContactRemovedFromSegment, type index_d$4_ContactSource as ContactSource, ContactSourceType$1 as ContactSourceType, type index_d$4_ContactSubmitted as ContactSubmitted, type index_d$4_ContactUpdatedEnvelope as ContactUpdatedEnvelope, type index_d$4_ContactsFacet as ContactsFacet, index_d$4_ContactsFacetType as ContactsFacetType, type index_d$4_ContactsQueryBuilder as ContactsQueryBuilder, type index_d$4_ContactsQueryResult as ContactsQueryResult, type index_d$4_CountContactsRequest as CountContactsRequest, type index_d$4_CountContactsResponse as CountContactsResponse, type index_d$4_CreateContactOptions as CreateContactOptions, type index_d$4_CreateContactRequest as CreateContactRequest, type index_d$4_CreateContactResponse as CreateContactResponse, type index_d$4_CreateContactResponseNonNullableFields as CreateContactResponseNonNullableFields, type CursorPaging$1 as CursorPaging, type CursorPagingMetadata$1 as CursorPagingMetadata, type Cursors$1 as Cursors, type index_d$4_DeleteContactRequest as DeleteContactRequest, type index_d$4_DeleteContactResponse as DeleteContactResponse, type DomainEvent$3 as DomainEvent, type DomainEventBodyOneOf$3 as DomainEventBodyOneOf, type index_d$4_DuplicateContactExists as DuplicateContactExists, index_d$4_EmailDeliverabilityStatus as EmailDeliverabilityStatus, EmailTag$1 as EmailTag, type EntityCreatedEvent$3 as EntityCreatedEvent, type EntityDeletedEvent$3 as EntityDeletedEvent, type EntityUpdatedEvent$3 as EntityUpdatedEvent, type index_d$4_Error as Error, type EventMetadata$3 as EventMetadata, type ExtendedFieldsWrapper$1 as ExtendedFieldsWrapper, type index_d$4_GeneratePictureUploadUrlRequest as GeneratePictureUploadUrlRequest, type index_d$4_GeneratePictureUploadUrlResponse as GeneratePictureUploadUrlResponse, type index_d$4_GetContactOptions as GetContactOptions, type index_d$4_GetContactRequest as GetContactRequest, type index_d$4_GetContactResponse as GetContactResponse, type index_d$4_GetContactResponseNonNullableFields as GetContactResponseNonNullableFields, index_d$4_GetContactResponseType as GetContactResponseType, type index_d$4_GroupInfo as GroupInfo, type IdentificationData$4 as IdentificationData, type IdentificationDataIdOneOf$4 as IdentificationDataIdOneOf, ImageProvider$1 as ImageProvider, type index_d$4_Item as Item, type index_d$4_ItemMetadata as ItemMetadata, type index_d$4_LabelAndUnlabelContactRequest as LabelAndUnlabelContactRequest, type index_d$4_LabelAndUnlabelContactResponse as LabelAndUnlabelContactResponse, type index_d$4_LabelContactRequest as LabelContactRequest, type index_d$4_LabelContactResponse as LabelContactResponse, type index_d$4_LabelContactResponseNonNullableFields as LabelContactResponseNonNullableFields, type LabelsWrapper$1 as LabelsWrapper, type index_d$4_LastActivityUpdate as LastActivityUpdate, type index_d$4_ListContactIdsBySegmentRequest as ListContactIdsBySegmentRequest, type index_d$4_ListContactIdsBySegmentResponse as ListContactIdsBySegmentResponse, type index_d$4_ListContactsRequest as ListContactsRequest, type index_d$4_ListContactsResponse as ListContactsResponse, type index_d$4_ListFacetsRequest as ListFacetsRequest, type index_d$4_ListFacetsResponse as ListFacetsResponse, type LocationsWrapper$1 as LocationsWrapper, type index_d$4_MemberInfo as MemberInfo, index_d$4_MemberStatus as MemberStatus, type index_d$4_MergeContactsOptions as MergeContactsOptions, type index_d$4_MergeContactsRequest as MergeContactsRequest, type index_d$4_MergeContactsResponse as MergeContactsResponse, type index_d$4_MergeContactsResponseNonNullableFields as MergeContactsResponseNonNullableFields, type MessageEnvelope$4 as MessageEnvelope, type index_d$4_Metadata as Metadata, index_d$4_Mode as Mode, type Paging$3 as Paging, type PagingMetadata$2 as PagingMetadata, index_d$4_PhoneDeliverabilityStatus as PhoneDeliverabilityStatus, PhoneTag$1 as PhoneTag, type index_d$4_PreviewMergeContactsRequest as PreviewMergeContactsRequest, type index_d$4_PreviewMergeContactsResponse as PreviewMergeContactsResponse, type index_d$4_PrimaryContactInfo as PrimaryContactInfo, type index_d$4_PrimaryEmail as PrimaryEmail, type index_d$4_PrimaryPhone as PrimaryPhone, type index_d$4_PrimarySubscriptionStatus as PrimarySubscriptionStatus, index_d$4_PrivacyStatus as PrivacyStatus, type index_d$4_ProfileInfo as ProfileInfo, type Query$2 as Query, type index_d$4_QueryContactsOptions as QueryContactsOptions, type index_d$4_QueryContactsRequest as QueryContactsRequest, type index_d$4_QueryContactsResponse as QueryContactsResponse, type index_d$4_QueryContactsResponseNonNullableFields as QueryContactsResponseNonNullableFields, type index_d$4_QueryFacetsRequest as QueryFacetsRequest, type index_d$4_QueryFacetsResponse as QueryFacetsResponse, type RestoreInfo$1 as RestoreInfo, index_d$4_Role as Role, type index_d$4_Search as Search, type index_d$4_SearchContactsRequest as SearchContactsRequest, type index_d$4_SearchContactsResponse as SearchContactsResponse, type index_d$4_SearchDetails as SearchDetails, type index_d$4_SearchPagingMethodOneOf as SearchPagingMethodOneOf, type index_d$4_SegmentsWrapper as SegmentsWrapper, type index_d$4_SessionInfo as SessionInfo, SortOrder$3 as SortOrder, type Sorting$3 as Sorting, type StreetAddress$1 as StreetAddress, type Subdivision$1 as Subdivision, SubdivisionType$1 as SubdivisionType, SubmitOperation$1 as SubmitOperation, index_d$4_SubscriptionStatus as SubscriptionStatus, type index_d$4_SyncSubmitContactRequest as SyncSubmitContactRequest, type index_d$4_SyncSubmitContactResponse as SyncSubmitContactResponse, type index_d$4_UnlabelContactRequest as UnlabelContactRequest, type index_d$4_UnlabelContactResponse as UnlabelContactResponse, type index_d$4_UnlabelContactResponseNonNullableFields as UnlabelContactResponseNonNullableFields, type index_d$4_UpdateContactOptions as UpdateContactOptions, type index_d$4_UpdateContactRequest as UpdateContactRequest, type index_d$4_UpdateContactResponse as UpdateContactResponse, type index_d$4_UpdateContactResponseNonNullableFields as UpdateContactResponseNonNullableFields, type index_d$4_UpsertContactRequest as UpsertContactRequest, type index_d$4_UpsertContactResponse as UpsertContactResponse, index_d$4_UpsertContactResponseAction as UpsertContactResponseAction, type index_d$4_UserInfo as UserInfo, WebhookIdentityType$4 as WebhookIdentityType, index_d$4_createContact as createContact, index_d$4_deleteContact as deleteContact, index_d$4_getContact as getContact, index_d$4_labelContact as labelContact, index_d$4_mergeContacts as mergeContacts, index_d$4_onContactCreated as onContactCreated, index_d$4_onContactDeleted as onContactDeleted, index_d$4_onContactMerged as onContactMerged, index_d$4_onContactUpdated as onContactUpdated, index_d$4_queryContacts as queryContacts, index_d$4_unlabelContact as unlabelContact, index_d$4_updateContact as updateContact };
2612
+ export { index_d$4_Action as Action, type ActionEvent$3 as ActionEvent, type ActivityIcon$1 as ActivityIcon, type Address$1 as Address, type AddressLocation$1 as AddressLocation, type AddressStreetOneOf$1 as AddressStreetOneOf, AddressTag$1 as AddressTag, type index_d$4_ApplicationError as ApplicationError, type AssigneesWrapper$1 as AssigneesWrapper, type BaseEventMetadata$3 as BaseEventMetadata, type index_d$4_BulkActionMetadata as BulkActionMetadata, type index_d$4_BulkAddSegmentToContactsRequest as BulkAddSegmentToContactsRequest, type index_d$4_BulkAddSegmentToContactsResponse as BulkAddSegmentToContactsResponse, type index_d$4_BulkDeleteContactsRequest as BulkDeleteContactsRequest, type index_d$4_BulkDeleteContactsResponse as BulkDeleteContactsResponse, type index_d$4_BulkLabelAndUnlabelContactsRequest as BulkLabelAndUnlabelContactsRequest, type index_d$4_BulkLabelAndUnlabelContactsResponse as BulkLabelAndUnlabelContactsResponse, type index_d$4_BulkRemoveSegmentFromContactsRequest as BulkRemoveSegmentFromContactsRequest, type index_d$4_BulkRemoveSegmentFromContactsResponse as BulkRemoveSegmentFromContactsResponse, type index_d$4_BulkUpdateContactsRequest as BulkUpdateContactsRequest, type index_d$4_BulkUpdateContactsResponse as BulkUpdateContactsResponse, type index_d$4_BulkUpsertContactsRequest as BulkUpsertContactsRequest, type index_d$4_BulkUpsertContactsResponse as BulkUpsertContactsResponse, type index_d$4_BulkUpsertContactsResponseMetadata as BulkUpsertContactsResponseMetadata, type index_d$4_Contact as Contact, type ContactActivity$1 as ContactActivity, ContactActivityType$1 as ContactActivityType, type index_d$4_ContactAddedToSegment as ContactAddedToSegment, type ContactAddress$1 as ContactAddress, type ContactAddressesWrapper$1 as ContactAddressesWrapper, type index_d$4_ContactChanged as ContactChanged, type index_d$4_ContactCreatedEnvelope as ContactCreatedEnvelope, type index_d$4_ContactDeletedEnvelope as ContactDeletedEnvelope, type ContactEmail$1 as ContactEmail, type index_d$4_ContactEmailSubscriptionUpdated as ContactEmailSubscriptionUpdated, type ContactEmailsWrapper$1 as ContactEmailsWrapper, index_d$4_ContactFieldSet as ContactFieldSet, type ContactInfo$2 as ContactInfo, type index_d$4_ContactMerged as ContactMerged, type index_d$4_ContactMergedEnvelope as ContactMergedEnvelope, type ContactName$1 as ContactName, type index_d$4_ContactNonNullableFields as ContactNonNullableFields, type ContactPhone$1 as ContactPhone, type index_d$4_ContactPhoneSubscriptionUpdated as ContactPhoneSubscriptionUpdated, type ContactPhonesWrapper$1 as ContactPhonesWrapper, type ContactPicture$1 as ContactPicture, type index_d$4_ContactPrimaryInfoUpdated as ContactPrimaryInfoUpdated, type index_d$4_ContactRemovedFromSegment as ContactRemovedFromSegment, type index_d$4_ContactSource as ContactSource, ContactSourceType$1 as ContactSourceType, type index_d$4_ContactSubmitted as ContactSubmitted, type index_d$4_ContactUpdatedEnvelope as ContactUpdatedEnvelope, type index_d$4_ContactsFacet as ContactsFacet, index_d$4_ContactsFacetType as ContactsFacetType, type index_d$4_ContactsQueryBuilder as ContactsQueryBuilder, type index_d$4_ContactsQueryResult as ContactsQueryResult, type index_d$4_CountContactsRequest as CountContactsRequest, type index_d$4_CountContactsResponse as CountContactsResponse, type index_d$4_CreateContactOptions as CreateContactOptions, type index_d$4_CreateContactRequest as CreateContactRequest, type index_d$4_CreateContactResponse as CreateContactResponse, type index_d$4_CreateContactResponseNonNullableFields as CreateContactResponseNonNullableFields, type CursorPaging$1 as CursorPaging, type CursorPagingMetadata$1 as CursorPagingMetadata, type Cursors$1 as Cursors, type index_d$4_DeleteContactRequest as DeleteContactRequest, type index_d$4_DeleteContactResponse as DeleteContactResponse, type DomainEvent$3 as DomainEvent, type DomainEventBodyOneOf$3 as DomainEventBodyOneOf, type index_d$4_DuplicateContactExists as DuplicateContactExists, index_d$4_EmailDeliverabilityStatus as EmailDeliverabilityStatus, EmailTag$1 as EmailTag, type EntityCreatedEvent$3 as EntityCreatedEvent, type EntityDeletedEvent$3 as EntityDeletedEvent, type EntityUpdatedEvent$3 as EntityUpdatedEvent, type index_d$4_Error as Error, type EventMetadata$3 as EventMetadata, type ExtendedFieldsWrapper$1 as ExtendedFieldsWrapper, type index_d$4_GeneratePictureUploadUrlRequest as GeneratePictureUploadUrlRequest, type index_d$4_GeneratePictureUploadUrlResponse as GeneratePictureUploadUrlResponse, type index_d$4_GetContactOptions as GetContactOptions, type index_d$4_GetContactRequest as GetContactRequest, type index_d$4_GetContactResponse as GetContactResponse, type index_d$4_GetContactResponseNonNullableFields as GetContactResponseNonNullableFields, index_d$4_GetContactResponseType as GetContactResponseType, type index_d$4_GroupInfo as GroupInfo, type IdentificationData$4 as IdentificationData, type IdentificationDataIdOneOf$4 as IdentificationDataIdOneOf, ImageProvider$1 as ImageProvider, type index_d$4_Item as Item, type index_d$4_ItemMetadata as ItemMetadata, type index_d$4_LabelAndUnlabelContactRequest as LabelAndUnlabelContactRequest, type index_d$4_LabelAndUnlabelContactResponse as LabelAndUnlabelContactResponse, type index_d$4_LabelContactRequest as LabelContactRequest, type index_d$4_LabelContactResponse as LabelContactResponse, type index_d$4_LabelContactResponseNonNullableFields as LabelContactResponseNonNullableFields, type LabelsWrapper$1 as LabelsWrapper, type index_d$4_LastActivityUpdate as LastActivityUpdate, type index_d$4_ListContactIdsBySegmentRequest as ListContactIdsBySegmentRequest, type index_d$4_ListContactIdsBySegmentResponse as ListContactIdsBySegmentResponse, type index_d$4_ListContactsRequest as ListContactsRequest, type index_d$4_ListContactsResponse as ListContactsResponse, type index_d$4_ListFacetsRequest as ListFacetsRequest, type index_d$4_ListFacetsResponse as ListFacetsResponse, type LocationsWrapper$1 as LocationsWrapper, type index_d$4_MemberInfo as MemberInfo, index_d$4_MemberStatus as MemberStatus, type index_d$4_MergeContactsOptions as MergeContactsOptions, type index_d$4_MergeContactsRequest as MergeContactsRequest, type index_d$4_MergeContactsResponse as MergeContactsResponse, type index_d$4_MergeContactsResponseNonNullableFields as MergeContactsResponseNonNullableFields, type MessageEnvelope$4 as MessageEnvelope, type index_d$4_Metadata as Metadata, index_d$4_Mode as Mode, type Paging$3 as Paging, type PagingMetadata$2 as PagingMetadata, index_d$4_PhoneDeliverabilityStatus as PhoneDeliverabilityStatus, PhoneTag$1 as PhoneTag, type index_d$4_PreviewMergeContactsRequest as PreviewMergeContactsRequest, type index_d$4_PreviewMergeContactsResponse as PreviewMergeContactsResponse, type index_d$4_PrimaryContactInfo as PrimaryContactInfo, type index_d$4_PrimaryEmail as PrimaryEmail, type index_d$4_PrimaryPhone as PrimaryPhone, type index_d$4_PrimarySubscriptionStatus as PrimarySubscriptionStatus, index_d$4_PrivacyStatus as PrivacyStatus, type index_d$4_ProfileInfo as ProfileInfo, type Query$2 as Query, type index_d$4_QueryContactsOptions as QueryContactsOptions, type index_d$4_QueryContactsRequest as QueryContactsRequest, type index_d$4_QueryContactsResponse as QueryContactsResponse, type index_d$4_QueryContactsResponseNonNullableFields as QueryContactsResponseNonNullableFields, type index_d$4_QueryFacetsRequest as QueryFacetsRequest, type index_d$4_QueryFacetsResponse as QueryFacetsResponse, type RestoreInfo$1 as RestoreInfo, index_d$4_Role as Role, type index_d$4_Search as Search, type index_d$4_SearchContactsRequest as SearchContactsRequest, type index_d$4_SearchContactsResponse as SearchContactsResponse, type index_d$4_SearchDetails as SearchDetails, type index_d$4_SearchPagingMethodOneOf as SearchPagingMethodOneOf, type index_d$4_SegmentsWrapper as SegmentsWrapper, type index_d$4_SessionInfo as SessionInfo, SortOrder$3 as SortOrder, type Sorting$3 as Sorting, type StreetAddress$1 as StreetAddress, type Subdivision$1 as Subdivision, SubdivisionType$1 as SubdivisionType, SubmitOperation$1 as SubmitOperation, index_d$4_SubscriptionStatus as SubscriptionStatus, type index_d$4_SyncSubmitContactRequest as SyncSubmitContactRequest, type index_d$4_SyncSubmitContactResponse as SyncSubmitContactResponse, type index_d$4_UnlabelContactRequest as UnlabelContactRequest, type index_d$4_UnlabelContactResponse as UnlabelContactResponse, type index_d$4_UnlabelContactResponseNonNullableFields as UnlabelContactResponseNonNullableFields, type index_d$4_UpdateContactOptions as UpdateContactOptions, type index_d$4_UpdateContactRequest as UpdateContactRequest, type index_d$4_UpdateContactResponse as UpdateContactResponse, type index_d$4_UpdateContactResponseNonNullableFields as UpdateContactResponseNonNullableFields, type index_d$4_UpsertContactRequest as UpsertContactRequest, type index_d$4_UpsertContactResponse as UpsertContactResponse, index_d$4_UpsertContactResponseAction as UpsertContactResponseAction, type index_d$4_UserInfo as UserInfo, WebhookIdentityType$4 as WebhookIdentityType, type index_d$4__publicCreateContactType as _publicCreateContactType, type index_d$4__publicDeleteContactType as _publicDeleteContactType, type index_d$4__publicGetContactType as _publicGetContactType, type index_d$4__publicLabelContactType as _publicLabelContactType, type index_d$4__publicMergeContactsType as _publicMergeContactsType, type index_d$4__publicOnContactCreatedType as _publicOnContactCreatedType, type index_d$4__publicOnContactDeletedType as _publicOnContactDeletedType, type index_d$4__publicOnContactMergedType as _publicOnContactMergedType, type index_d$4__publicOnContactUpdatedType as _publicOnContactUpdatedType, type index_d$4__publicQueryContactsType as _publicQueryContactsType, type index_d$4__publicUnlabelContactType as _publicUnlabelContactType, type index_d$4__publicUpdateContactType as _publicUpdateContactType, index_d$4_createContact as createContact, index_d$4_deleteContact as deleteContact, index_d$4_getContact as getContact, index_d$4_labelContact as labelContact, index_d$4_mergeContacts as mergeContacts, index_d$4_onContactCreated as onContactCreated, index_d$4_onContactDeleted as onContactDeleted, index_d$4_onContactMerged as onContactMerged, index_d$4_onContactUpdated as onContactUpdated, onContactCreated$1 as publicOnContactCreated, onContactDeleted$1 as publicOnContactDeleted, onContactMerged$1 as publicOnContactMerged, onContactUpdated$1 as publicOnContactUpdated, index_d$4_queryContacts as queryContacts, index_d$4_unlabelContact as unlabelContact, index_d$4_updateContact as updateContact };
2551
2613
  }
2552
2614
 
2553
2615
  /** Extended field that was found or created. */
@@ -3121,18 +3183,38 @@ interface FieldsQueryBuilder {
3121
3183
  find: () => Promise<FieldsQueryResult>;
3122
3184
  }
3123
3185
 
3186
+ declare function findOrCreateExtendedField$1(httpClient: HttpClient): (displayName: string, dataType: FieldDataType) => Promise<FindOrCreateExtendedFieldResponse & FindOrCreateExtendedFieldResponseNonNullableFields>;
3187
+ declare function getExtendedField$1(httpClient: HttpClient): (key: string) => Promise<ExtendedField & ExtendedFieldNonNullableFields>;
3188
+ declare function renameExtendedField$1(httpClient: HttpClient): (key: string, field: RenameExtendedField) => Promise<ExtendedField & ExtendedFieldNonNullableFields>;
3189
+ declare function deleteExtendedField$1(httpClient: HttpClient): (key: string) => Promise<void>;
3190
+ declare function queryExtendedFields$1(httpClient: HttpClient): () => FieldsQueryBuilder;
3191
+ declare const onExtendedFieldCreated$1: EventDefinition<ExtendedFieldCreatedEnvelope, "wix.contacts.v4.extended-field_created">;
3192
+ declare const onExtendedFieldUpdated$1: EventDefinition<ExtendedFieldUpdatedEnvelope, "wix.contacts.v4.extended-field_updated">;
3193
+ declare const onExtendedFieldDeleted$1: EventDefinition<ExtendedFieldDeletedEnvelope, "wix.contacts.v4.extended-field_deleted">;
3194
+
3124
3195
  declare function createRESTModule$3<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
3125
3196
 
3126
3197
  declare function createEventModule$2<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
3127
3198
 
3128
- declare const findOrCreateExtendedField: ReturnType<typeof createRESTModule$3<typeof publicFindOrCreateExtendedField>>;
3129
- declare const getExtendedField: ReturnType<typeof createRESTModule$3<typeof publicGetExtendedField>>;
3130
- declare const renameExtendedField: ReturnType<typeof createRESTModule$3<typeof publicRenameExtendedField>>;
3131
- declare const deleteExtendedField: ReturnType<typeof createRESTModule$3<typeof publicDeleteExtendedField>>;
3132
- declare const queryExtendedFields: ReturnType<typeof createRESTModule$3<typeof publicQueryExtendedFields>>;
3133
- declare const onExtendedFieldCreated: ReturnType<typeof createEventModule$2<typeof publicOnExtendedFieldCreated>>;
3134
- declare const onExtendedFieldUpdated: ReturnType<typeof createEventModule$2<typeof publicOnExtendedFieldUpdated>>;
3135
- declare const onExtendedFieldDeleted: ReturnType<typeof createEventModule$2<typeof publicOnExtendedFieldDeleted>>;
3199
+ type _publicFindOrCreateExtendedFieldType = typeof findOrCreateExtendedField$1;
3200
+ declare const findOrCreateExtendedField: ReturnType<typeof createRESTModule$3<_publicFindOrCreateExtendedFieldType>>;
3201
+ type _publicGetExtendedFieldType = typeof getExtendedField$1;
3202
+ declare const getExtendedField: ReturnType<typeof createRESTModule$3<_publicGetExtendedFieldType>>;
3203
+ type _publicRenameExtendedFieldType = typeof renameExtendedField$1;
3204
+ declare const renameExtendedField: ReturnType<typeof createRESTModule$3<_publicRenameExtendedFieldType>>;
3205
+ type _publicDeleteExtendedFieldType = typeof deleteExtendedField$1;
3206
+ declare const deleteExtendedField: ReturnType<typeof createRESTModule$3<_publicDeleteExtendedFieldType>>;
3207
+ type _publicQueryExtendedFieldsType = typeof queryExtendedFields$1;
3208
+ declare const queryExtendedFields: ReturnType<typeof createRESTModule$3<_publicQueryExtendedFieldsType>>;
3209
+
3210
+ type _publicOnExtendedFieldCreatedType = typeof onExtendedFieldCreated$1;
3211
+ declare const onExtendedFieldCreated: ReturnType<typeof createEventModule$2<_publicOnExtendedFieldCreatedType>>;
3212
+
3213
+ type _publicOnExtendedFieldUpdatedType = typeof onExtendedFieldUpdated$1;
3214
+ declare const onExtendedFieldUpdated: ReturnType<typeof createEventModule$2<_publicOnExtendedFieldUpdatedType>>;
3215
+
3216
+ type _publicOnExtendedFieldDeletedType = typeof onExtendedFieldDeleted$1;
3217
+ declare const onExtendedFieldDeleted: ReturnType<typeof createEventModule$2<_publicOnExtendedFieldDeletedType>>;
3136
3218
 
3137
3219
  type index_d$3_DeleteExtendedFieldRequest = DeleteExtendedFieldRequest;
3138
3220
  type index_d$3_DeleteExtendedFieldResponse = DeleteExtendedFieldResponse;
@@ -3165,6 +3247,14 @@ type index_d$3_RestoreInfo = RestoreInfo;
3165
3247
  type index_d$3_UpdateExtendedFieldRequest = UpdateExtendedFieldRequest;
3166
3248
  type index_d$3_UpdateExtendedFieldResponse = UpdateExtendedFieldResponse;
3167
3249
  type index_d$3_UpdateExtendedFieldResponseNonNullableFields = UpdateExtendedFieldResponseNonNullableFields;
3250
+ type index_d$3__publicDeleteExtendedFieldType = _publicDeleteExtendedFieldType;
3251
+ type index_d$3__publicFindOrCreateExtendedFieldType = _publicFindOrCreateExtendedFieldType;
3252
+ type index_d$3__publicGetExtendedFieldType = _publicGetExtendedFieldType;
3253
+ type index_d$3__publicOnExtendedFieldCreatedType = _publicOnExtendedFieldCreatedType;
3254
+ type index_d$3__publicOnExtendedFieldDeletedType = _publicOnExtendedFieldDeletedType;
3255
+ type index_d$3__publicOnExtendedFieldUpdatedType = _publicOnExtendedFieldUpdatedType;
3256
+ type index_d$3__publicQueryExtendedFieldsType = _publicQueryExtendedFieldsType;
3257
+ type index_d$3__publicRenameExtendedFieldType = _publicRenameExtendedFieldType;
3168
3258
  declare const index_d$3_deleteExtendedField: typeof deleteExtendedField;
3169
3259
  declare const index_d$3_findOrCreateExtendedField: typeof findOrCreateExtendedField;
3170
3260
  declare const index_d$3_getExtendedField: typeof getExtendedField;
@@ -3174,7 +3264,7 @@ declare const index_d$3_onExtendedFieldUpdated: typeof onExtendedFieldUpdated;
3174
3264
  declare const index_d$3_queryExtendedFields: typeof queryExtendedFields;
3175
3265
  declare const index_d$3_renameExtendedField: typeof renameExtendedField;
3176
3266
  declare namespace index_d$3 {
3177
- export { type ActionEvent$2 as ActionEvent, type BaseEventMetadata$2 as BaseEventMetadata, type index_d$3_DeleteExtendedFieldRequest as DeleteExtendedFieldRequest, type index_d$3_DeleteExtendedFieldResponse as DeleteExtendedFieldResponse, type DomainEvent$2 as DomainEvent, type DomainEventBodyOneOf$2 as DomainEventBodyOneOf, type EntityCreatedEvent$2 as EntityCreatedEvent, type EntityDeletedEvent$2 as EntityDeletedEvent, type EntityUpdatedEvent$2 as EntityUpdatedEvent, type EventMetadata$2 as EventMetadata, type index_d$3_ExtendedField as ExtendedField, type index_d$3_ExtendedFieldCreatedEnvelope as ExtendedFieldCreatedEnvelope, type index_d$3_ExtendedFieldDeletedEnvelope as ExtendedFieldDeletedEnvelope, type index_d$3_ExtendedFieldNonNullableFields as ExtendedFieldNonNullableFields, type index_d$3_ExtendedFieldUpdatedEnvelope as ExtendedFieldUpdatedEnvelope, index_d$3_FieldDataType as FieldDataType, index_d$3_FieldType as FieldType, type index_d$3_FieldsQueryBuilder as FieldsQueryBuilder, type index_d$3_FieldsQueryResult as FieldsQueryResult, type index_d$3_FindOrCreateExtendedFieldRequest as FindOrCreateExtendedFieldRequest, type index_d$3_FindOrCreateExtendedFieldResponse as FindOrCreateExtendedFieldResponse, type index_d$3_FindOrCreateExtendedFieldResponseNonNullableFields as FindOrCreateExtendedFieldResponseNonNullableFields, type GdprListRequest$1 as GdprListRequest, type GdprListResponse$1 as GdprListResponse, type index_d$3_GetExtendedFieldByLegacyIdRequest as GetExtendedFieldByLegacyIdRequest, type index_d$3_GetExtendedFieldByLegacyIdResponse as GetExtendedFieldByLegacyIdResponse, type index_d$3_GetExtendedFieldRequest as GetExtendedFieldRequest, type index_d$3_GetExtendedFieldResponse as GetExtendedFieldResponse, type index_d$3_GetExtendedFieldResponseNonNullableFields as GetExtendedFieldResponseNonNullableFields, type IdentificationData$3 as IdentificationData, type IdentificationDataIdOneOf$3 as IdentificationDataIdOneOf, type index_d$3_ListExtendedFieldsRequest as ListExtendedFieldsRequest, type index_d$3_ListExtendedFieldsResponse as ListExtendedFieldsResponse, type MessageEnvelope$3 as MessageEnvelope, type Paging$2 as Paging, type PagingMetadata$1 as PagingMetadata, type PurgeRequest$1 as PurgeRequest, type PurgeResponse$1 as PurgeResponse, type Query$1 as Query, type index_d$3_QueryExtendedFieldsRequest as QueryExtendedFieldsRequest, type index_d$3_QueryExtendedFieldsResponse as QueryExtendedFieldsResponse, type index_d$3_QueryExtendedFieldsResponseNonNullableFields as QueryExtendedFieldsResponseNonNullableFields, type index_d$3_RenameExtendedField as RenameExtendedField, type index_d$3_RestoreInfo as RestoreInfo, SortOrder$2 as SortOrder, type Sorting$2 as Sorting, type index_d$3_UpdateExtendedFieldRequest as UpdateExtendedFieldRequest, type index_d$3_UpdateExtendedFieldResponse as UpdateExtendedFieldResponse, type index_d$3_UpdateExtendedFieldResponseNonNullableFields as UpdateExtendedFieldResponseNonNullableFields, WebhookIdentityType$3 as WebhookIdentityType, index_d$3_deleteExtendedField as deleteExtendedField, index_d$3_findOrCreateExtendedField as findOrCreateExtendedField, index_d$3_getExtendedField as getExtendedField, index_d$3_onExtendedFieldCreated as onExtendedFieldCreated, index_d$3_onExtendedFieldDeleted as onExtendedFieldDeleted, index_d$3_onExtendedFieldUpdated as onExtendedFieldUpdated, index_d$3_queryExtendedFields as queryExtendedFields, index_d$3_renameExtendedField as renameExtendedField };
3267
+ export { type ActionEvent$2 as ActionEvent, type BaseEventMetadata$2 as BaseEventMetadata, type index_d$3_DeleteExtendedFieldRequest as DeleteExtendedFieldRequest, type index_d$3_DeleteExtendedFieldResponse as DeleteExtendedFieldResponse, type DomainEvent$2 as DomainEvent, type DomainEventBodyOneOf$2 as DomainEventBodyOneOf, type EntityCreatedEvent$2 as EntityCreatedEvent, type EntityDeletedEvent$2 as EntityDeletedEvent, type EntityUpdatedEvent$2 as EntityUpdatedEvent, type EventMetadata$2 as EventMetadata, type index_d$3_ExtendedField as ExtendedField, type index_d$3_ExtendedFieldCreatedEnvelope as ExtendedFieldCreatedEnvelope, type index_d$3_ExtendedFieldDeletedEnvelope as ExtendedFieldDeletedEnvelope, type index_d$3_ExtendedFieldNonNullableFields as ExtendedFieldNonNullableFields, type index_d$3_ExtendedFieldUpdatedEnvelope as ExtendedFieldUpdatedEnvelope, index_d$3_FieldDataType as FieldDataType, index_d$3_FieldType as FieldType, type index_d$3_FieldsQueryBuilder as FieldsQueryBuilder, type index_d$3_FieldsQueryResult as FieldsQueryResult, type index_d$3_FindOrCreateExtendedFieldRequest as FindOrCreateExtendedFieldRequest, type index_d$3_FindOrCreateExtendedFieldResponse as FindOrCreateExtendedFieldResponse, type index_d$3_FindOrCreateExtendedFieldResponseNonNullableFields as FindOrCreateExtendedFieldResponseNonNullableFields, type GdprListRequest$1 as GdprListRequest, type GdprListResponse$1 as GdprListResponse, type index_d$3_GetExtendedFieldByLegacyIdRequest as GetExtendedFieldByLegacyIdRequest, type index_d$3_GetExtendedFieldByLegacyIdResponse as GetExtendedFieldByLegacyIdResponse, type index_d$3_GetExtendedFieldRequest as GetExtendedFieldRequest, type index_d$3_GetExtendedFieldResponse as GetExtendedFieldResponse, type index_d$3_GetExtendedFieldResponseNonNullableFields as GetExtendedFieldResponseNonNullableFields, type IdentificationData$3 as IdentificationData, type IdentificationDataIdOneOf$3 as IdentificationDataIdOneOf, type index_d$3_ListExtendedFieldsRequest as ListExtendedFieldsRequest, type index_d$3_ListExtendedFieldsResponse as ListExtendedFieldsResponse, type MessageEnvelope$3 as MessageEnvelope, type Paging$2 as Paging, type PagingMetadata$1 as PagingMetadata, type PurgeRequest$1 as PurgeRequest, type PurgeResponse$1 as PurgeResponse, type Query$1 as Query, type index_d$3_QueryExtendedFieldsRequest as QueryExtendedFieldsRequest, type index_d$3_QueryExtendedFieldsResponse as QueryExtendedFieldsResponse, type index_d$3_QueryExtendedFieldsResponseNonNullableFields as QueryExtendedFieldsResponseNonNullableFields, type index_d$3_RenameExtendedField as RenameExtendedField, type index_d$3_RestoreInfo as RestoreInfo, SortOrder$2 as SortOrder, type Sorting$2 as Sorting, type index_d$3_UpdateExtendedFieldRequest as UpdateExtendedFieldRequest, type index_d$3_UpdateExtendedFieldResponse as UpdateExtendedFieldResponse, type index_d$3_UpdateExtendedFieldResponseNonNullableFields as UpdateExtendedFieldResponseNonNullableFields, WebhookIdentityType$3 as WebhookIdentityType, type index_d$3__publicDeleteExtendedFieldType as _publicDeleteExtendedFieldType, type index_d$3__publicFindOrCreateExtendedFieldType as _publicFindOrCreateExtendedFieldType, type index_d$3__publicGetExtendedFieldType as _publicGetExtendedFieldType, type index_d$3__publicOnExtendedFieldCreatedType as _publicOnExtendedFieldCreatedType, type index_d$3__publicOnExtendedFieldDeletedType as _publicOnExtendedFieldDeletedType, type index_d$3__publicOnExtendedFieldUpdatedType as _publicOnExtendedFieldUpdatedType, type index_d$3__publicQueryExtendedFieldsType as _publicQueryExtendedFieldsType, type index_d$3__publicRenameExtendedFieldType as _publicRenameExtendedFieldType, index_d$3_deleteExtendedField as deleteExtendedField, index_d$3_findOrCreateExtendedField as findOrCreateExtendedField, index_d$3_getExtendedField as getExtendedField, index_d$3_onExtendedFieldCreated as onExtendedFieldCreated, index_d$3_onExtendedFieldDeleted as onExtendedFieldDeleted, index_d$3_onExtendedFieldUpdated as onExtendedFieldUpdated, onExtendedFieldCreated$1 as publicOnExtendedFieldCreated, onExtendedFieldDeleted$1 as publicOnExtendedFieldDeleted, onExtendedFieldUpdated$1 as publicOnExtendedFieldUpdated, index_d$3_queryExtendedFields as queryExtendedFields, index_d$3_renameExtendedField as renameExtendedField };
3178
3268
  }
3179
3269
 
3180
3270
  /** Label that was found or created. */
@@ -3771,18 +3861,38 @@ interface LabelsQueryBuilder {
3771
3861
  find: () => Promise<LabelsQueryResult>;
3772
3862
  }
3773
3863
 
3864
+ declare function findOrCreateLabel$1(httpClient: HttpClient): (displayName: string, options?: FindOrCreateLabelOptions) => Promise<FindOrCreateLabelResponse & FindOrCreateLabelResponseNonNullableFields>;
3865
+ declare function getLabel$1(httpClient: HttpClient): (key: string, options?: GetLabelOptions) => Promise<ContactLabel & ContactLabelNonNullableFields>;
3866
+ declare function renameLabel$1(httpClient: HttpClient): (key: string, label: RenameLabel, options?: RenameLabelOptions) => Promise<ContactLabel & ContactLabelNonNullableFields>;
3867
+ declare function deleteLabel$1(httpClient: HttpClient): (key: string) => Promise<void>;
3868
+ declare function queryLabels$1(httpClient: HttpClient): (options?: QueryLabelsOptions) => LabelsQueryBuilder;
3869
+ declare const onLabelCreated$1: EventDefinition<LabelCreatedEnvelope, "wix.contacts.v4.label_created">;
3870
+ declare const onLabelUpdated$1: EventDefinition<LabelUpdatedEnvelope, "wix.contacts.v4.label_updated">;
3871
+ declare const onLabelDeleted$1: EventDefinition<LabelDeletedEnvelope, "wix.contacts.v4.label_deleted">;
3872
+
3774
3873
  declare function createRESTModule$2<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
3775
3874
 
3776
3875
  declare function createEventModule$1<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
3777
3876
 
3778
- declare const findOrCreateLabel: ReturnType<typeof createRESTModule$2<typeof publicFindOrCreateLabel>>;
3779
- declare const getLabel: ReturnType<typeof createRESTModule$2<typeof publicGetLabel>>;
3780
- declare const renameLabel: ReturnType<typeof createRESTModule$2<typeof publicRenameLabel>>;
3781
- declare const deleteLabel: ReturnType<typeof createRESTModule$2<typeof publicDeleteLabel>>;
3782
- declare const queryLabels: ReturnType<typeof createRESTModule$2<typeof publicQueryLabels>>;
3783
- declare const onLabelCreated: ReturnType<typeof createEventModule$1<typeof publicOnLabelCreated>>;
3784
- declare const onLabelUpdated: ReturnType<typeof createEventModule$1<typeof publicOnLabelUpdated>>;
3785
- declare const onLabelDeleted: ReturnType<typeof createEventModule$1<typeof publicOnLabelDeleted>>;
3877
+ type _publicFindOrCreateLabelType = typeof findOrCreateLabel$1;
3878
+ declare const findOrCreateLabel: ReturnType<typeof createRESTModule$2<_publicFindOrCreateLabelType>>;
3879
+ type _publicGetLabelType = typeof getLabel$1;
3880
+ declare const getLabel: ReturnType<typeof createRESTModule$2<_publicGetLabelType>>;
3881
+ type _publicRenameLabelType = typeof renameLabel$1;
3882
+ declare const renameLabel: ReturnType<typeof createRESTModule$2<_publicRenameLabelType>>;
3883
+ type _publicDeleteLabelType = typeof deleteLabel$1;
3884
+ declare const deleteLabel: ReturnType<typeof createRESTModule$2<_publicDeleteLabelType>>;
3885
+ type _publicQueryLabelsType = typeof queryLabels$1;
3886
+ declare const queryLabels: ReturnType<typeof createRESTModule$2<_publicQueryLabelsType>>;
3887
+
3888
+ type _publicOnLabelCreatedType = typeof onLabelCreated$1;
3889
+ declare const onLabelCreated: ReturnType<typeof createEventModule$1<_publicOnLabelCreatedType>>;
3890
+
3891
+ type _publicOnLabelUpdatedType = typeof onLabelUpdated$1;
3892
+ declare const onLabelUpdated: ReturnType<typeof createEventModule$1<_publicOnLabelUpdatedType>>;
3893
+
3894
+ type _publicOnLabelDeletedType = typeof onLabelDeleted$1;
3895
+ declare const onLabelDeleted: ReturnType<typeof createEventModule$1<_publicOnLabelDeletedType>>;
3786
3896
 
3787
3897
  type index_d$2_ContactLabel = ContactLabel;
3788
3898
  type index_d$2_ContactLabelNamespace = ContactLabelNamespace;
@@ -3827,6 +3937,14 @@ type index_d$2_UndeleteInfo = UndeleteInfo;
3827
3937
  type index_d$2_UpdateLabelRequest = UpdateLabelRequest;
3828
3938
  type index_d$2_UpdateLabelResponse = UpdateLabelResponse;
3829
3939
  type index_d$2_UpdateLabelResponseNonNullableFields = UpdateLabelResponseNonNullableFields;
3940
+ type index_d$2__publicDeleteLabelType = _publicDeleteLabelType;
3941
+ type index_d$2__publicFindOrCreateLabelType = _publicFindOrCreateLabelType;
3942
+ type index_d$2__publicGetLabelType = _publicGetLabelType;
3943
+ type index_d$2__publicOnLabelCreatedType = _publicOnLabelCreatedType;
3944
+ type index_d$2__publicOnLabelDeletedType = _publicOnLabelDeletedType;
3945
+ type index_d$2__publicOnLabelUpdatedType = _publicOnLabelUpdatedType;
3946
+ type index_d$2__publicQueryLabelsType = _publicQueryLabelsType;
3947
+ type index_d$2__publicRenameLabelType = _publicRenameLabelType;
3830
3948
  declare const index_d$2_deleteLabel: typeof deleteLabel;
3831
3949
  declare const index_d$2_findOrCreateLabel: typeof findOrCreateLabel;
3832
3950
  declare const index_d$2_getLabel: typeof getLabel;
@@ -3836,7 +3954,7 @@ declare const index_d$2_onLabelUpdated: typeof onLabelUpdated;
3836
3954
  declare const index_d$2_queryLabels: typeof queryLabels;
3837
3955
  declare const index_d$2_renameLabel: typeof renameLabel;
3838
3956
  declare namespace index_d$2 {
3839
- export { type ActionEvent$1 as ActionEvent, type BaseEventMetadata$1 as BaseEventMetadata, type index_d$2_ContactLabel as ContactLabel, type index_d$2_ContactLabelNamespace as ContactLabelNamespace, type index_d$2_ContactLabelNonNullableFields as ContactLabelNonNullableFields, type index_d$2_DeleteLabelRequest as DeleteLabelRequest, type index_d$2_DeleteLabelResponse as DeleteLabelResponse, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type index_d$2_FindOrCreateLabelOptions as FindOrCreateLabelOptions, type index_d$2_FindOrCreateLabelRequest as FindOrCreateLabelRequest, type index_d$2_FindOrCreateLabelResponse as FindOrCreateLabelResponse, type index_d$2_FindOrCreateLabelResponseNonNullableFields as FindOrCreateLabelResponseNonNullableFields, type index_d$2_GdprListRequest as GdprListRequest, type index_d$2_GdprListResponse as GdprListResponse, type index_d$2_GetLabelByLegacyIdRequest as GetLabelByLegacyIdRequest, type index_d$2_GetLabelByLegacyIdResponse as GetLabelByLegacyIdResponse, type index_d$2_GetLabelOptions as GetLabelOptions, type index_d$2_GetLabelRequest as GetLabelRequest, type index_d$2_GetLabelResponse as GetLabelResponse, type index_d$2_GetLabelResponseNonNullableFields as GetLabelResponseNonNullableFields, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, type index_d$2_LabelCreatedEnvelope as LabelCreatedEnvelope, type index_d$2_LabelDeletedEnvelope as LabelDeletedEnvelope, index_d$2_LabelType as LabelType, type index_d$2_LabelUpdatedEnvelope as LabelUpdatedEnvelope, type index_d$2_LabelsQueryBuilder as LabelsQueryBuilder, type index_d$2_LabelsQueryResult as LabelsQueryResult, type index_d$2_LabelsQuotaReached as LabelsQuotaReached, type index_d$2_ListLabelNamespacesRequest as ListLabelNamespacesRequest, type index_d$2_ListLabelNamespacesResponse as ListLabelNamespacesResponse, type index_d$2_ListLabelsRequest as ListLabelsRequest, type index_d$2_ListLabelsResponse as ListLabelsResponse, type MessageEnvelope$2 as MessageEnvelope, type Paging$1 as Paging, type index_d$2_PagingMetadata as PagingMetadata, type index_d$2_PurgeRequest as PurgeRequest, type index_d$2_PurgeResponse as PurgeResponse, type index_d$2_Query as Query, type index_d$2_QueryLabelsOptions as QueryLabelsOptions, type index_d$2_QueryLabelsRequest as QueryLabelsRequest, type index_d$2_QueryLabelsResponse as QueryLabelsResponse, type index_d$2_QueryLabelsResponseNonNullableFields as QueryLabelsResponseNonNullableFields, type index_d$2_RenameLabel as RenameLabel, type index_d$2_RenameLabelOptions as RenameLabelOptions, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, type index_d$2_UndeleteInfo as UndeleteInfo, type index_d$2_UpdateLabelRequest as UpdateLabelRequest, type index_d$2_UpdateLabelResponse as UpdateLabelResponse, type index_d$2_UpdateLabelResponseNonNullableFields as UpdateLabelResponseNonNullableFields, WebhookIdentityType$2 as WebhookIdentityType, index_d$2_deleteLabel as deleteLabel, index_d$2_findOrCreateLabel as findOrCreateLabel, index_d$2_getLabel as getLabel, index_d$2_onLabelCreated as onLabelCreated, index_d$2_onLabelDeleted as onLabelDeleted, index_d$2_onLabelUpdated as onLabelUpdated, index_d$2_queryLabels as queryLabels, index_d$2_renameLabel as renameLabel };
3957
+ export { type ActionEvent$1 as ActionEvent, type BaseEventMetadata$1 as BaseEventMetadata, type index_d$2_ContactLabel as ContactLabel, type index_d$2_ContactLabelNamespace as ContactLabelNamespace, type index_d$2_ContactLabelNonNullableFields as ContactLabelNonNullableFields, type index_d$2_DeleteLabelRequest as DeleteLabelRequest, type index_d$2_DeleteLabelResponse as DeleteLabelResponse, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type index_d$2_FindOrCreateLabelOptions as FindOrCreateLabelOptions, type index_d$2_FindOrCreateLabelRequest as FindOrCreateLabelRequest, type index_d$2_FindOrCreateLabelResponse as FindOrCreateLabelResponse, type index_d$2_FindOrCreateLabelResponseNonNullableFields as FindOrCreateLabelResponseNonNullableFields, type index_d$2_GdprListRequest as GdprListRequest, type index_d$2_GdprListResponse as GdprListResponse, type index_d$2_GetLabelByLegacyIdRequest as GetLabelByLegacyIdRequest, type index_d$2_GetLabelByLegacyIdResponse as GetLabelByLegacyIdResponse, type index_d$2_GetLabelOptions as GetLabelOptions, type index_d$2_GetLabelRequest as GetLabelRequest, type index_d$2_GetLabelResponse as GetLabelResponse, type index_d$2_GetLabelResponseNonNullableFields as GetLabelResponseNonNullableFields, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, type index_d$2_LabelCreatedEnvelope as LabelCreatedEnvelope, type index_d$2_LabelDeletedEnvelope as LabelDeletedEnvelope, index_d$2_LabelType as LabelType, type index_d$2_LabelUpdatedEnvelope as LabelUpdatedEnvelope, type index_d$2_LabelsQueryBuilder as LabelsQueryBuilder, type index_d$2_LabelsQueryResult as LabelsQueryResult, type index_d$2_LabelsQuotaReached as LabelsQuotaReached, type index_d$2_ListLabelNamespacesRequest as ListLabelNamespacesRequest, type index_d$2_ListLabelNamespacesResponse as ListLabelNamespacesResponse, type index_d$2_ListLabelsRequest as ListLabelsRequest, type index_d$2_ListLabelsResponse as ListLabelsResponse, type MessageEnvelope$2 as MessageEnvelope, type Paging$1 as Paging, type index_d$2_PagingMetadata as PagingMetadata, type index_d$2_PurgeRequest as PurgeRequest, type index_d$2_PurgeResponse as PurgeResponse, type index_d$2_Query as Query, type index_d$2_QueryLabelsOptions as QueryLabelsOptions, type index_d$2_QueryLabelsRequest as QueryLabelsRequest, type index_d$2_QueryLabelsResponse as QueryLabelsResponse, type index_d$2_QueryLabelsResponseNonNullableFields as QueryLabelsResponseNonNullableFields, type index_d$2_RenameLabel as RenameLabel, type index_d$2_RenameLabelOptions as RenameLabelOptions, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, type index_d$2_UndeleteInfo as UndeleteInfo, type index_d$2_UpdateLabelRequest as UpdateLabelRequest, type index_d$2_UpdateLabelResponse as UpdateLabelResponse, type index_d$2_UpdateLabelResponseNonNullableFields as UpdateLabelResponseNonNullableFields, WebhookIdentityType$2 as WebhookIdentityType, type index_d$2__publicDeleteLabelType as _publicDeleteLabelType, type index_d$2__publicFindOrCreateLabelType as _publicFindOrCreateLabelType, type index_d$2__publicGetLabelType as _publicGetLabelType, type index_d$2__publicOnLabelCreatedType as _publicOnLabelCreatedType, type index_d$2__publicOnLabelDeletedType as _publicOnLabelDeletedType, type index_d$2__publicOnLabelUpdatedType as _publicOnLabelUpdatedType, type index_d$2__publicQueryLabelsType as _publicQueryLabelsType, type index_d$2__publicRenameLabelType as _publicRenameLabelType, index_d$2_deleteLabel as deleteLabel, index_d$2_findOrCreateLabel as findOrCreateLabel, index_d$2_getLabel as getLabel, index_d$2_onLabelCreated as onLabelCreated, index_d$2_onLabelDeleted as onLabelDeleted, index_d$2_onLabelUpdated as onLabelUpdated, onLabelCreated$1 as publicOnLabelCreated, onLabelDeleted$1 as publicOnLabelDeleted, onLabelUpdated$1 as publicOnLabelUpdated, index_d$2_queryLabels as queryLabels, index_d$2_renameLabel as renameLabel };
3840
3958
  }
3841
3959
 
3842
3960
  /** Dummy message for fqdn validation */
@@ -4427,9 +4545,12 @@ interface AppendOrCreateContactOptions {
4427
4545
  contactId?: string | null;
4428
4546
  }
4429
4547
 
4548
+ declare function appendOrCreateContact$1(httpClient: HttpClient): (options?: AppendOrCreateContactOptions) => Promise<SubmitContactResponse & SubmitContactResponseNonNullableFields>;
4549
+
4430
4550
  declare function createRESTModule$1<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
4431
4551
 
4432
- declare const appendOrCreateContact: ReturnType<typeof createRESTModule$1<typeof publicAppendOrCreateContact>>;
4552
+ type _publicAppendOrCreateContactType = typeof appendOrCreateContact$1;
4553
+ declare const appendOrCreateContact: ReturnType<typeof createRESTModule$1<_publicAppendOrCreateContactType>>;
4433
4554
 
4434
4555
  type index_d$1_ActivityIcon = ActivityIcon;
4435
4556
  type index_d$1_Address = Address;
@@ -4477,9 +4598,10 @@ type index_d$1_SubmitOperation = SubmitOperation;
4477
4598
  declare const index_d$1_SubmitOperation: typeof SubmitOperation;
4478
4599
  type index_d$1_SubmitVisitorIdRequest = SubmitVisitorIdRequest;
4479
4600
  type index_d$1_SubmitVisitorIdResponse = SubmitVisitorIdResponse;
4601
+ type index_d$1__publicAppendOrCreateContactType = _publicAppendOrCreateContactType;
4480
4602
  declare const index_d$1_appendOrCreateContact: typeof appendOrCreateContact;
4481
4603
  declare namespace index_d$1 {
4482
- export { type index_d$1_ActivityIcon as ActivityIcon, type index_d$1_Address as Address, type index_d$1_AddressLocation as AddressLocation, type index_d$1_AddressStreetOneOf as AddressStreetOneOf, index_d$1_AddressTag as AddressTag, type index_d$1_AppendOrCreateContactOptions as AppendOrCreateContactOptions, type index_d$1_AssigneesWrapper as AssigneesWrapper, type index_d$1_ContactActivity as ContactActivity, index_d$1_ContactActivityType as ContactActivityType, type index_d$1_ContactAddress as ContactAddress, type index_d$1_ContactAddressesWrapper as ContactAddressesWrapper, type index_d$1_ContactEmail as ContactEmail, type index_d$1_ContactEmailsWrapper as ContactEmailsWrapper, type ContactInfo$1 as ContactInfo, type index_d$1_ContactName as ContactName, type index_d$1_ContactPhone as ContactPhone, type index_d$1_ContactPhonesWrapper as ContactPhonesWrapper, type index_d$1_ContactPicture as ContactPicture, index_d$1_ContactSourceType as ContactSourceType, type index_d$1_ContactToSubmit as ContactToSubmit, index_d$1_EmailTag as EmailTag, type index_d$1_ExtendedFieldsWrapper as ExtendedFieldsWrapper, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, index_d$1_IdentityType as IdentityType, index_d$1_ImageProvider as ImageProvider, type index_d$1_LabelsWrapper as LabelsWrapper, type index_d$1_LocationsWrapper as LocationsWrapper, type MessageEnvelope$1 as MessageEnvelope, index_d$1_PhoneTag as PhoneTag, type index_d$1_StreetAddress as StreetAddress, type index_d$1_Subdivision as Subdivision, index_d$1_SubdivisionType as SubdivisionType, type index_d$1_SubmitContact as SubmitContact, type index_d$1_SubmitContactOptions as SubmitContactOptions, type index_d$1_SubmitContactRequest as SubmitContactRequest, type index_d$1_SubmitContactResponse as SubmitContactResponse, type index_d$1_SubmitContactResponseNonNullableFields as SubmitContactResponseNonNullableFields, index_d$1_SubmitOperation as SubmitOperation, type index_d$1_SubmitVisitorIdRequest as SubmitVisitorIdRequest, type index_d$1_SubmitVisitorIdResponse as SubmitVisitorIdResponse, WebhookIdentityType$1 as WebhookIdentityType, index_d$1_appendOrCreateContact as appendOrCreateContact };
4604
+ export { type index_d$1_ActivityIcon as ActivityIcon, type index_d$1_Address as Address, type index_d$1_AddressLocation as AddressLocation, type index_d$1_AddressStreetOneOf as AddressStreetOneOf, index_d$1_AddressTag as AddressTag, type index_d$1_AppendOrCreateContactOptions as AppendOrCreateContactOptions, type index_d$1_AssigneesWrapper as AssigneesWrapper, type index_d$1_ContactActivity as ContactActivity, index_d$1_ContactActivityType as ContactActivityType, type index_d$1_ContactAddress as ContactAddress, type index_d$1_ContactAddressesWrapper as ContactAddressesWrapper, type index_d$1_ContactEmail as ContactEmail, type index_d$1_ContactEmailsWrapper as ContactEmailsWrapper, type ContactInfo$1 as ContactInfo, type index_d$1_ContactName as ContactName, type index_d$1_ContactPhone as ContactPhone, type index_d$1_ContactPhonesWrapper as ContactPhonesWrapper, type index_d$1_ContactPicture as ContactPicture, index_d$1_ContactSourceType as ContactSourceType, type index_d$1_ContactToSubmit as ContactToSubmit, index_d$1_EmailTag as EmailTag, type index_d$1_ExtendedFieldsWrapper as ExtendedFieldsWrapper, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, index_d$1_IdentityType as IdentityType, index_d$1_ImageProvider as ImageProvider, type index_d$1_LabelsWrapper as LabelsWrapper, type index_d$1_LocationsWrapper as LocationsWrapper, type MessageEnvelope$1 as MessageEnvelope, index_d$1_PhoneTag as PhoneTag, type index_d$1_StreetAddress as StreetAddress, type index_d$1_Subdivision as Subdivision, index_d$1_SubdivisionType as SubdivisionType, type index_d$1_SubmitContact as SubmitContact, type index_d$1_SubmitContactOptions as SubmitContactOptions, type index_d$1_SubmitContactRequest as SubmitContactRequest, type index_d$1_SubmitContactResponse as SubmitContactResponse, type index_d$1_SubmitContactResponseNonNullableFields as SubmitContactResponseNonNullableFields, index_d$1_SubmitOperation as SubmitOperation, type index_d$1_SubmitVisitorIdRequest as SubmitVisitorIdRequest, type index_d$1_SubmitVisitorIdResponse as SubmitVisitorIdResponse, WebhookIdentityType$1 as WebhookIdentityType, type index_d$1__publicAppendOrCreateContactType as _publicAppendOrCreateContactType, index_d$1_appendOrCreateContact as appendOrCreateContact };
4483
4605
  }
4484
4606
 
4485
4607
  interface Task {
@@ -5115,21 +5237,48 @@ interface MoveTaskAfterOptions {
5115
5237
  beforeTaskId?: string | null;
5116
5238
  }
5117
5239
 
5240
+ declare function createTask$1(httpClient: HttpClient): (task: Task) => Promise<Task & TaskNonNullableFields>;
5241
+ declare function getTask$1(httpClient: HttpClient): (taskId: string) => Promise<Task & TaskNonNullableFields>;
5242
+ declare function updateTask$1(httpClient: HttpClient): (_id: string | null, task: UpdateTask) => Promise<Task & TaskNonNullableFields>;
5243
+ declare function deleteTask$1(httpClient: HttpClient): (taskId: string) => Promise<void>;
5244
+ declare function queryTasks$1(httpClient: HttpClient): () => TasksQueryBuilder;
5245
+ declare function countTasks$1(httpClient: HttpClient): (options?: CountTasksOptions) => Promise<CountTasksResponse & CountTasksResponseNonNullableFields>;
5246
+ declare function moveTaskAfter$1(httpClient: HttpClient): (taskId: string, options?: MoveTaskAfterOptions) => Promise<void>;
5247
+ declare const onTaskOverdue$1: EventDefinition<TaskOverdueEnvelope, "wix.crm.tasks.v2.task_task_overdue">;
5248
+ declare const onTaskCreated$1: EventDefinition<TaskCreatedEnvelope, "wix.crm.tasks.v2.task_created">;
5249
+ declare const onTaskUpdated$1: EventDefinition<TaskUpdatedEnvelope, "wix.crm.tasks.v2.task_updated">;
5250
+ declare const onTaskDeleted$1: EventDefinition<TaskDeletedEnvelope, "wix.crm.tasks.v2.task_deleted">;
5251
+
5118
5252
  declare function createRESTModule<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
5119
5253
 
5120
5254
  declare function createEventModule<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
5121
5255
 
5122
- declare const createTask: ReturnType<typeof createRESTModule<typeof publicCreateTask>>;
5123
- declare const getTask: ReturnType<typeof createRESTModule<typeof publicGetTask>>;
5124
- declare const updateTask: ReturnType<typeof createRESTModule<typeof publicUpdateTask>>;
5125
- declare const deleteTask: ReturnType<typeof createRESTModule<typeof publicDeleteTask>>;
5126
- declare const queryTasks: ReturnType<typeof createRESTModule<typeof publicQueryTasks>>;
5127
- declare const countTasks: ReturnType<typeof createRESTModule<typeof publicCountTasks>>;
5128
- declare const moveTaskAfter: ReturnType<typeof createRESTModule<typeof publicMoveTaskAfter>>;
5129
- declare const onTaskOverdue: ReturnType<typeof createEventModule<typeof publicOnTaskOverdue>>;
5130
- declare const onTaskCreated: ReturnType<typeof createEventModule<typeof publicOnTaskCreated>>;
5131
- declare const onTaskUpdated: ReturnType<typeof createEventModule<typeof publicOnTaskUpdated>>;
5132
- declare const onTaskDeleted: ReturnType<typeof createEventModule<typeof publicOnTaskDeleted>>;
5256
+ type _publicCreateTaskType = typeof createTask$1;
5257
+ declare const createTask: ReturnType<typeof createRESTModule<_publicCreateTaskType>>;
5258
+ type _publicGetTaskType = typeof getTask$1;
5259
+ declare const getTask: ReturnType<typeof createRESTModule<_publicGetTaskType>>;
5260
+ type _publicUpdateTaskType = typeof updateTask$1;
5261
+ declare const updateTask: ReturnType<typeof createRESTModule<_publicUpdateTaskType>>;
5262
+ type _publicDeleteTaskType = typeof deleteTask$1;
5263
+ declare const deleteTask: ReturnType<typeof createRESTModule<_publicDeleteTaskType>>;
5264
+ type _publicQueryTasksType = typeof queryTasks$1;
5265
+ declare const queryTasks: ReturnType<typeof createRESTModule<_publicQueryTasksType>>;
5266
+ type _publicCountTasksType = typeof countTasks$1;
5267
+ declare const countTasks: ReturnType<typeof createRESTModule<_publicCountTasksType>>;
5268
+ type _publicMoveTaskAfterType = typeof moveTaskAfter$1;
5269
+ declare const moveTaskAfter: ReturnType<typeof createRESTModule<_publicMoveTaskAfterType>>;
5270
+
5271
+ type _publicOnTaskOverdueType = typeof onTaskOverdue$1;
5272
+ declare const onTaskOverdue: ReturnType<typeof createEventModule<_publicOnTaskOverdueType>>;
5273
+
5274
+ type _publicOnTaskCreatedType = typeof onTaskCreated$1;
5275
+ declare const onTaskCreated: ReturnType<typeof createEventModule<_publicOnTaskCreatedType>>;
5276
+
5277
+ type _publicOnTaskUpdatedType = typeof onTaskUpdated$1;
5278
+ declare const onTaskUpdated: ReturnType<typeof createEventModule<_publicOnTaskUpdatedType>>;
5279
+
5280
+ type _publicOnTaskDeletedType = typeof onTaskDeleted$1;
5281
+ declare const onTaskDeleted: ReturnType<typeof createEventModule<_publicOnTaskDeletedType>>;
5133
5282
 
5134
5283
  type index_d_ActionEvent = ActionEvent;
5135
5284
  type index_d_BaseEventMetadata = BaseEventMetadata;
@@ -5206,6 +5355,17 @@ type index_d_UpdateTaskResponse = UpdateTaskResponse;
5206
5355
  type index_d_UpdateTaskResponseNonNullableFields = UpdateTaskResponseNonNullableFields;
5207
5356
  type index_d_WebhookIdentityType = WebhookIdentityType;
5208
5357
  declare const index_d_WebhookIdentityType: typeof WebhookIdentityType;
5358
+ type index_d__publicCountTasksType = _publicCountTasksType;
5359
+ type index_d__publicCreateTaskType = _publicCreateTaskType;
5360
+ type index_d__publicDeleteTaskType = _publicDeleteTaskType;
5361
+ type index_d__publicGetTaskType = _publicGetTaskType;
5362
+ type index_d__publicMoveTaskAfterType = _publicMoveTaskAfterType;
5363
+ type index_d__publicOnTaskCreatedType = _publicOnTaskCreatedType;
5364
+ type index_d__publicOnTaskDeletedType = _publicOnTaskDeletedType;
5365
+ type index_d__publicOnTaskOverdueType = _publicOnTaskOverdueType;
5366
+ type index_d__publicOnTaskUpdatedType = _publicOnTaskUpdatedType;
5367
+ type index_d__publicQueryTasksType = _publicQueryTasksType;
5368
+ type index_d__publicUpdateTaskType = _publicUpdateTaskType;
5209
5369
  declare const index_d_countTasks: typeof countTasks;
5210
5370
  declare const index_d_createTask: typeof createTask;
5211
5371
  declare const index_d_deleteTask: typeof deleteTask;
@@ -5218,7 +5378,7 @@ declare const index_d_onTaskUpdated: typeof onTaskUpdated;
5218
5378
  declare const index_d_queryTasks: typeof queryTasks;
5219
5379
  declare const index_d_updateTask: typeof updateTask;
5220
5380
  declare namespace index_d {
5221
- export { type index_d_ActionEvent as ActionEvent, type index_d_BaseEventMetadata as BaseEventMetadata, type index_d_ContactInfo as ContactInfo, type index_d_ContactNotFoundError as ContactNotFoundError, type index_d_CountTasksOptions as CountTasksOptions, type index_d_CountTasksRequest as CountTasksRequest, type index_d_CountTasksResponse as CountTasksResponse, type index_d_CountTasksResponseNonNullableFields as CountTasksResponseNonNullableFields, type index_d_CreateTaskRequest as CreateTaskRequest, type index_d_CreateTaskResponse as CreateTaskResponse, type index_d_CreateTaskResponseNonNullableFields as CreateTaskResponseNonNullableFields, type index_d_CursorPaging as CursorPaging, type index_d_CursorPagingMetadata as CursorPagingMetadata, type index_d_CursorQuery as CursorQuery, type index_d_CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOf, type index_d_Cursors as Cursors, type index_d_DeleteCompletedTasksRequest as DeleteCompletedTasksRequest, type index_d_DeleteCompletedTasksResponse as DeleteCompletedTasksResponse, type index_d_DeleteTaskRequest as DeleteTaskRequest, type index_d_DeleteTaskResponse as DeleteTaskResponse, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_Empty as Empty, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, type index_d_EventMetadata as EventMetadata, type index_d_GetTaskRequest as GetTaskRequest, type index_d_GetTaskResponse as GetTaskResponse, type index_d_GetTaskResponseNonNullableFields as GetTaskResponseNonNullableFields, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d_MessageEnvelope as MessageEnvelope, type index_d_MoveTaskAfterOptions as MoveTaskAfterOptions, type index_d_MoveTaskAfterRequest as MoveTaskAfterRequest, type index_d_MoveTaskAfterResponse as MoveTaskAfterResponse, type index_d_Paging as Paging, type index_d_PagingMetadataV2 as PagingMetadataV2, type index_d_QueryTasksInternalRequest as QueryTasksInternalRequest, type index_d_QueryTasksInternalResponse as QueryTasksInternalResponse, type index_d_QueryTasksRequest as QueryTasksRequest, type index_d_QueryTasksResponse as QueryTasksResponse, type index_d_QueryTasksResponseNonNullableFields as QueryTasksResponseNonNullableFields, type index_d_QueryV2 as QueryV2, type index_d_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, index_d_ReminderType as ReminderType, type index_d_RepositionTask as RepositionTask, type index_d_SendTasksReminderRequest as SendTasksReminderRequest, type index_d_SendTasksReminderResponse as SendTasksReminderResponse, index_d_SortOrder as SortOrder, type index_d_Sorting as Sorting, index_d_SourceType as SourceType, type index_d_Task as Task, type index_d_TaskAssigned as TaskAssigned, type index_d_TaskCreatedEnvelope as TaskCreatedEnvelope, type index_d_TaskDeletedEnvelope as TaskDeletedEnvelope, type index_d_TaskNonNullableFields as TaskNonNullableFields, type index_d_TaskNotFoundError as TaskNotFoundError, type index_d_TaskOverdue as TaskOverdue, type index_d_TaskOverdueEnvelope as TaskOverdueEnvelope, type index_d_TaskSource as TaskSource, index_d_TaskStatus as TaskStatus, type index_d_TaskUpdatedEnvelope as TaskUpdatedEnvelope, type index_d_TasksQueryBuilder as TasksQueryBuilder, type index_d_TasksQueryResult as TasksQueryResult, type index_d_UpdateTask as UpdateTask, type index_d_UpdateTaskRequest as UpdateTaskRequest, type index_d_UpdateTaskResponse as UpdateTaskResponse, type index_d_UpdateTaskResponseNonNullableFields as UpdateTaskResponseNonNullableFields, index_d_WebhookIdentityType as WebhookIdentityType, index_d_countTasks as countTasks, index_d_createTask as createTask, index_d_deleteTask as deleteTask, index_d_getTask as getTask, index_d_moveTaskAfter as moveTaskAfter, index_d_onTaskCreated as onTaskCreated, index_d_onTaskDeleted as onTaskDeleted, index_d_onTaskOverdue as onTaskOverdue, index_d_onTaskUpdated as onTaskUpdated, index_d_queryTasks as queryTasks, index_d_updateTask as updateTask };
5381
+ export { type index_d_ActionEvent as ActionEvent, type index_d_BaseEventMetadata as BaseEventMetadata, type index_d_ContactInfo as ContactInfo, type index_d_ContactNotFoundError as ContactNotFoundError, type index_d_CountTasksOptions as CountTasksOptions, type index_d_CountTasksRequest as CountTasksRequest, type index_d_CountTasksResponse as CountTasksResponse, type index_d_CountTasksResponseNonNullableFields as CountTasksResponseNonNullableFields, type index_d_CreateTaskRequest as CreateTaskRequest, type index_d_CreateTaskResponse as CreateTaskResponse, type index_d_CreateTaskResponseNonNullableFields as CreateTaskResponseNonNullableFields, type index_d_CursorPaging as CursorPaging, type index_d_CursorPagingMetadata as CursorPagingMetadata, type index_d_CursorQuery as CursorQuery, type index_d_CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOf, type index_d_Cursors as Cursors, type index_d_DeleteCompletedTasksRequest as DeleteCompletedTasksRequest, type index_d_DeleteCompletedTasksResponse as DeleteCompletedTasksResponse, type index_d_DeleteTaskRequest as DeleteTaskRequest, type index_d_DeleteTaskResponse as DeleteTaskResponse, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_Empty as Empty, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, type index_d_EventMetadata as EventMetadata, type index_d_GetTaskRequest as GetTaskRequest, type index_d_GetTaskResponse as GetTaskResponse, type index_d_GetTaskResponseNonNullableFields as GetTaskResponseNonNullableFields, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d_MessageEnvelope as MessageEnvelope, type index_d_MoveTaskAfterOptions as MoveTaskAfterOptions, type index_d_MoveTaskAfterRequest as MoveTaskAfterRequest, type index_d_MoveTaskAfterResponse as MoveTaskAfterResponse, type index_d_Paging as Paging, type index_d_PagingMetadataV2 as PagingMetadataV2, type index_d_QueryTasksInternalRequest as QueryTasksInternalRequest, type index_d_QueryTasksInternalResponse as QueryTasksInternalResponse, type index_d_QueryTasksRequest as QueryTasksRequest, type index_d_QueryTasksResponse as QueryTasksResponse, type index_d_QueryTasksResponseNonNullableFields as QueryTasksResponseNonNullableFields, type index_d_QueryV2 as QueryV2, type index_d_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, index_d_ReminderType as ReminderType, type index_d_RepositionTask as RepositionTask, type index_d_SendTasksReminderRequest as SendTasksReminderRequest, type index_d_SendTasksReminderResponse as SendTasksReminderResponse, index_d_SortOrder as SortOrder, type index_d_Sorting as Sorting, index_d_SourceType as SourceType, type index_d_Task as Task, type index_d_TaskAssigned as TaskAssigned, type index_d_TaskCreatedEnvelope as TaskCreatedEnvelope, type index_d_TaskDeletedEnvelope as TaskDeletedEnvelope, type index_d_TaskNonNullableFields as TaskNonNullableFields, type index_d_TaskNotFoundError as TaskNotFoundError, type index_d_TaskOverdue as TaskOverdue, type index_d_TaskOverdueEnvelope as TaskOverdueEnvelope, type index_d_TaskSource as TaskSource, index_d_TaskStatus as TaskStatus, type index_d_TaskUpdatedEnvelope as TaskUpdatedEnvelope, type index_d_TasksQueryBuilder as TasksQueryBuilder, type index_d_TasksQueryResult as TasksQueryResult, type index_d_UpdateTask as UpdateTask, type index_d_UpdateTaskRequest as UpdateTaskRequest, type index_d_UpdateTaskResponse as UpdateTaskResponse, type index_d_UpdateTaskResponseNonNullableFields as UpdateTaskResponseNonNullableFields, index_d_WebhookIdentityType as WebhookIdentityType, type index_d__publicCountTasksType as _publicCountTasksType, type index_d__publicCreateTaskType as _publicCreateTaskType, type index_d__publicDeleteTaskType as _publicDeleteTaskType, type index_d__publicGetTaskType as _publicGetTaskType, type index_d__publicMoveTaskAfterType as _publicMoveTaskAfterType, type index_d__publicOnTaskCreatedType as _publicOnTaskCreatedType, type index_d__publicOnTaskDeletedType as _publicOnTaskDeletedType, type index_d__publicOnTaskOverdueType as _publicOnTaskOverdueType, type index_d__publicOnTaskUpdatedType as _publicOnTaskUpdatedType, type index_d__publicQueryTasksType as _publicQueryTasksType, type index_d__publicUpdateTaskType as _publicUpdateTaskType, index_d_countTasks as countTasks, index_d_createTask as createTask, index_d_deleteTask as deleteTask, index_d_getTask as getTask, index_d_moveTaskAfter as moveTaskAfter, index_d_onTaskCreated as onTaskCreated, index_d_onTaskDeleted as onTaskDeleted, index_d_onTaskOverdue as onTaskOverdue, index_d_onTaskUpdated as onTaskUpdated, onTaskCreated$1 as publicOnTaskCreated, onTaskDeleted$1 as publicOnTaskDeleted, onTaskOverdue$1 as publicOnTaskOverdue, onTaskUpdated$1 as publicOnTaskUpdated, index_d_queryTasks as queryTasks, index_d_updateTask as updateTask };
5222
5382
  }
5223
5383
 
5224
5384
  export { index_d$5 as attachments, index_d$4 as contacts, index_d$3 as extendedFields, index_d$2 as labels, index_d$1 as submittedContact, index_d as tasks };