@conduitplatform/grpc-sdk 0.17.0-alpha.6 → 0.17.0-alpha.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -32,11 +32,11 @@ declare function healthCheckResponse_ServingStatusToJSON(object: HealthCheckResp
32
32
  interface HealthCheckRequest {
33
33
  service: string;
34
34
  }
35
- declare const HealthCheckRequest: MessageFns$a<HealthCheckRequest>;
35
+ declare const HealthCheckRequest: MessageFns$b<HealthCheckRequest>;
36
36
  interface HealthCheckResponse {
37
37
  status: HealthCheckResponse_ServingStatus;
38
38
  }
39
- declare const HealthCheckResponse: MessageFns$a<HealthCheckResponse>;
39
+ declare const HealthCheckResponse: MessageFns$b<HealthCheckResponse>;
40
40
  type HealthDefinition = typeof HealthDefinition;
41
41
  declare const HealthDefinition: {
42
42
  readonly name: "Health";
@@ -60,17 +60,17 @@ declare const HealthDefinition: {
60
60
  };
61
61
  };
62
62
  };
63
- type Builtin$a = Date | Function | Uint8Array | string | number | boolean | undefined;
64
- type DeepPartial$a<T> = T extends Builtin$a ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$a<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$a<U>> : T extends {} ? {
65
- [K in keyof T]?: DeepPartial$a<T[K]>;
63
+ type Builtin$b = Date | Function | Uint8Array | string | number | boolean | undefined;
64
+ type DeepPartial$b<T> = T extends Builtin$b ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$b<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$b<U>> : T extends {} ? {
65
+ [K in keyof T]?: DeepPartial$b<T[K]>;
66
66
  } : Partial<T>;
67
- interface MessageFns$a<T> {
67
+ interface MessageFns$b<T> {
68
68
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
69
69
  decode(input: BinaryReader | Uint8Array, length?: number): T;
70
70
  fromJSON(object: any): T;
71
71
  toJSON(message: T): unknown;
72
- create(base?: DeepPartial$a<T>): T;
73
- fromPartial(object: DeepPartial$a<T>): T;
72
+ create(base?: DeepPartial$b<T>): T;
73
+ fromPartial(object: DeepPartial$b<T>): T;
74
74
  }
75
75
 
76
76
  /**
@@ -84,18 +84,18 @@ interface MessageFns$a<T> {
84
84
  */
85
85
  interface Empty {
86
86
  }
87
- declare const Empty: MessageFns$9<Empty>;
88
- type Builtin$9 = Date | Function | Uint8Array | string | number | boolean | undefined;
89
- type DeepPartial$9<T> = T extends Builtin$9 ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$9<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$9<U>> : T extends {} ? {
90
- [K in keyof T]?: DeepPartial$9<T[K]>;
87
+ declare const Empty: MessageFns$a<Empty>;
88
+ type Builtin$a = Date | Function | Uint8Array | string | number | boolean | undefined;
89
+ type DeepPartial$a<T> = T extends Builtin$a ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$a<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$a<U>> : T extends {} ? {
90
+ [K in keyof T]?: DeepPartial$a<T[K]>;
91
91
  } : Partial<T>;
92
- interface MessageFns$9<T> {
92
+ interface MessageFns$a<T> {
93
93
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
94
94
  decode(input: BinaryReader | Uint8Array, length?: number): T;
95
95
  fromJSON(object: any): T;
96
96
  toJSON(message: T): unknown;
97
- create(base?: DeepPartial$9<T>): T;
98
- fromPartial(object: DeepPartial$9<T>): T;
97
+ create(base?: DeepPartial$a<T>): T;
98
+ fromPartial(object: DeepPartial$a<T>): T;
99
99
  }
100
100
 
101
101
  declare enum ValidateAccessTokenResponse_Status {
@@ -111,7 +111,7 @@ interface UserLoginRequest {
111
111
  userId: string;
112
112
  clientId: string;
113
113
  }
114
- declare const UserLoginRequest: MessageFns$8<UserLoginRequest>;
114
+ declare const UserLoginRequest: MessageFns$9<UserLoginRequest>;
115
115
  interface UserCreateRequest {
116
116
  email: string;
117
117
  password?: string | undefined;
@@ -119,97 +119,97 @@ interface UserCreateRequest {
119
119
  anonymousId?: string | undefined;
120
120
  userData?: string | undefined;
121
121
  }
122
- declare const UserCreateRequest: MessageFns$8<UserCreateRequest>;
122
+ declare const UserCreateRequest: MessageFns$9<UserCreateRequest>;
123
123
  interface UserCreateByUsernameRequest {
124
124
  username: string;
125
125
  password?: string | undefined;
126
126
  anonymousId?: string | undefined;
127
127
  }
128
- declare const UserCreateByUsernameRequest: MessageFns$8<UserCreateByUsernameRequest>;
128
+ declare const UserCreateByUsernameRequest: MessageFns$9<UserCreateByUsernameRequest>;
129
129
  interface UserChangePass {
130
130
  email: string;
131
131
  password?: string | undefined;
132
132
  }
133
- declare const UserChangePass: MessageFns$8<UserChangePass>;
133
+ declare const UserChangePass: MessageFns$9<UserChangePass>;
134
134
  interface UserDeleteRequest {
135
135
  userId: string;
136
136
  }
137
- declare const UserDeleteRequest: MessageFns$8<UserDeleteRequest>;
137
+ declare const UserDeleteRequest: MessageFns$9<UserDeleteRequest>;
138
138
  interface GetTeamRequest {
139
139
  teamId?: string | undefined;
140
140
  }
141
- declare const GetTeamRequest: MessageFns$8<GetTeamRequest>;
141
+ declare const GetTeamRequest: MessageFns$9<GetTeamRequest>;
142
142
  interface CreateTeamRequest {
143
143
  name: string;
144
144
  parentTeam?: string | undefined;
145
145
  isDefault?: boolean | undefined;
146
146
  }
147
- declare const CreateTeamRequest: MessageFns$8<CreateTeamRequest>;
147
+ declare const CreateTeamRequest: MessageFns$9<CreateTeamRequest>;
148
148
  interface TeamDeleteRequest {
149
149
  teamId: string;
150
150
  }
151
- declare const TeamDeleteRequest: MessageFns$8<TeamDeleteRequest>;
151
+ declare const TeamDeleteRequest: MessageFns$9<TeamDeleteRequest>;
152
152
  interface UserLoginResponse {
153
153
  accessToken: string;
154
154
  refreshToken?: string | undefined;
155
155
  }
156
- declare const UserLoginResponse: MessageFns$8<UserLoginResponse>;
156
+ declare const UserLoginResponse: MessageFns$9<UserLoginResponse>;
157
157
  interface UserDeleteResponse {
158
158
  message: string;
159
159
  }
160
- declare const UserDeleteResponse: MessageFns$8<UserDeleteResponse>;
160
+ declare const UserDeleteResponse: MessageFns$9<UserDeleteResponse>;
161
161
  interface UserCreateResponse {
162
162
  password?: string | undefined;
163
163
  }
164
- declare const UserCreateResponse: MessageFns$8<UserCreateResponse>;
164
+ declare const UserCreateResponse: MessageFns$9<UserCreateResponse>;
165
165
  interface Team {
166
166
  id: string;
167
167
  name: string;
168
168
  parentTeam: string;
169
169
  isDefault: boolean;
170
170
  }
171
- declare const Team: MessageFns$8<Team>;
171
+ declare const Team: MessageFns$9<Team>;
172
172
  interface TeamDeleteResponse {
173
173
  message: string;
174
174
  }
175
- declare const TeamDeleteResponse: MessageFns$8<TeamDeleteResponse>;
175
+ declare const TeamDeleteResponse: MessageFns$9<TeamDeleteResponse>;
176
176
  interface ModifyTeamMembersRequest {
177
177
  teamId: string;
178
178
  memberIds: string[];
179
179
  }
180
- declare const ModifyTeamMembersRequest: MessageFns$8<ModifyTeamMembersRequest>;
180
+ declare const ModifyTeamMembersRequest: MessageFns$9<ModifyTeamMembersRequest>;
181
181
  interface ValidateAccessTokenRequest {
182
182
  accessToken: string;
183
183
  path?: string | undefined;
184
184
  }
185
- declare const ValidateAccessTokenRequest: MessageFns$8<ValidateAccessTokenRequest>;
185
+ declare const ValidateAccessTokenRequest: MessageFns$9<ValidateAccessTokenRequest>;
186
186
  interface ValidateAccessTokenResponse {
187
187
  status: ValidateAccessTokenResponse_Status;
188
188
  userId?: string | undefined;
189
189
  }
190
- declare const ValidateAccessTokenResponse: MessageFns$8<ValidateAccessTokenResponse>;
190
+ declare const ValidateAccessTokenResponse: MessageFns$9<ValidateAccessTokenResponse>;
191
191
  interface AnonymousUserCreateRequest {
192
192
  clientId: string;
193
193
  }
194
- declare const AnonymousUserCreateRequest: MessageFns$8<AnonymousUserCreateRequest>;
194
+ declare const AnonymousUserCreateRequest: MessageFns$9<AnonymousUserCreateRequest>;
195
195
  interface UserModifyStatusRequest {
196
196
  id: string;
197
197
  active: boolean;
198
198
  }
199
- declare const UserModifyStatusRequest: MessageFns$8<UserModifyStatusRequest>;
199
+ declare const UserModifyStatusRequest: MessageFns$9<UserModifyStatusRequest>;
200
200
  interface UserModifyStatusResponse {
201
201
  message: string;
202
202
  }
203
- declare const UserModifyStatusResponse: MessageFns$8<UserModifyStatusResponse>;
203
+ declare const UserModifyStatusResponse: MessageFns$9<UserModifyStatusResponse>;
204
204
  interface InvitationDeleteRequest {
205
205
  teamId: string;
206
206
  email: string;
207
207
  }
208
- declare const InvitationDeleteRequest: MessageFns$8<InvitationDeleteRequest>;
208
+ declare const InvitationDeleteRequest: MessageFns$9<InvitationDeleteRequest>;
209
209
  interface InvitationDeleteResponse {
210
210
  message: string;
211
211
  }
212
- declare const InvitationDeleteResponse: MessageFns$8<InvitationDeleteResponse>;
212
+ declare const InvitationDeleteResponse: MessageFns$9<InvitationDeleteResponse>;
213
213
  interface InviteUserToTeamRequest {
214
214
  teamId: string;
215
215
  email: string;
@@ -218,17 +218,17 @@ interface InviteUserToTeamRequest {
218
218
  redirectUri?: string | undefined;
219
219
  userData?: string | undefined;
220
220
  }
221
- declare const InviteUserToTeamRequest: MessageFns$8<InviteUserToTeamRequest>;
221
+ declare const InviteUserToTeamRequest: MessageFns$9<InviteUserToTeamRequest>;
222
222
  interface InviteUserToTeamResponse {
223
223
  invitationToken: string;
224
224
  }
225
- declare const InviteUserToTeamResponse: MessageFns$8<InviteUserToTeamResponse>;
225
+ declare const InviteUserToTeamResponse: MessageFns$9<InviteUserToTeamResponse>;
226
226
  interface UpdateTeamRequest {
227
227
  teamId: string;
228
228
  name?: string | undefined;
229
229
  newParentTeamId?: string | undefined;
230
230
  }
231
- declare const UpdateTeamRequest: MessageFns$8<UpdateTeamRequest>;
231
+ declare const UpdateTeamRequest: MessageFns$9<UpdateTeamRequest>;
232
232
  type AuthenticationDefinition = typeof AuthenticationDefinition;
233
233
  declare const AuthenticationDefinition: {
234
234
  readonly name: "Authentication";
@@ -364,17 +364,17 @@ declare const AuthenticationDefinition: {
364
364
  };
365
365
  };
366
366
  };
367
- type Builtin$8 = Date | Function | Uint8Array | string | number | boolean | undefined;
368
- type DeepPartial$8<T> = T extends Builtin$8 ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$8<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$8<U>> : T extends {} ? {
369
- [K in keyof T]?: DeepPartial$8<T[K]>;
367
+ type Builtin$9 = Date | Function | Uint8Array | string | number | boolean | undefined;
368
+ type DeepPartial$9<T> = T extends Builtin$9 ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$9<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$9<U>> : T extends {} ? {
369
+ [K in keyof T]?: DeepPartial$9<T[K]>;
370
370
  } : Partial<T>;
371
- interface MessageFns$8<T> {
371
+ interface MessageFns$9<T> {
372
372
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
373
373
  decode(input: BinaryReader | Uint8Array, length?: number): T;
374
374
  fromJSON(object: any): T;
375
375
  toJSON(message: T): unknown;
376
- create(base?: DeepPartial$8<T>): T;
377
- fromPartial(object: DeepPartial$8<T>): T;
376
+ create(base?: DeepPartial$9<T>): T;
377
+ fromPartial(object: DeepPartial$9<T>): T;
378
378
  }
379
379
 
380
380
  declare enum ResourceModificationAcknowledgement_Status {
@@ -391,42 +391,42 @@ interface Resource {
391
391
  permissions: Resource_Permission[];
392
392
  version?: number | undefined;
393
393
  }
394
- declare const Resource: MessageFns$7<Resource>;
394
+ declare const Resource: MessageFns$8<Resource>;
395
395
  interface Resource_Relation {
396
396
  name: string;
397
397
  resourceType: string[];
398
398
  }
399
- declare const Resource_Relation: MessageFns$7<Resource_Relation>;
399
+ declare const Resource_Relation: MessageFns$8<Resource_Relation>;
400
400
  interface Resource_Permission {
401
401
  name: string;
402
402
  roles: string[];
403
403
  }
404
- declare const Resource_Permission: MessageFns$7<Resource_Permission>;
404
+ declare const Resource_Permission: MessageFns$8<Resource_Permission>;
405
405
  interface ResourceModificationAcknowledgement {
406
406
  status: ResourceModificationAcknowledgement_Status;
407
407
  }
408
- declare const ResourceModificationAcknowledgement: MessageFns$7<ResourceModificationAcknowledgement>;
408
+ declare const ResourceModificationAcknowledgement: MessageFns$8<ResourceModificationAcknowledgement>;
409
409
  interface Relation {
410
410
  subject: string;
411
411
  relation: string;
412
412
  resource: string;
413
413
  }
414
- declare const Relation: MessageFns$7<Relation>;
414
+ declare const Relation: MessageFns$8<Relation>;
415
415
  interface CreateRelationsRequest {
416
416
  subject: string;
417
417
  relation: string;
418
418
  resources: string[];
419
419
  }
420
- declare const CreateRelationsRequest: MessageFns$7<CreateRelationsRequest>;
420
+ declare const CreateRelationsRequest: MessageFns$8<CreateRelationsRequest>;
421
421
  interface DeleteAllRelationsRequest {
422
422
  subject?: string | undefined;
423
423
  resource?: string | undefined;
424
424
  }
425
- declare const DeleteAllRelationsRequest: MessageFns$7<DeleteAllRelationsRequest>;
425
+ declare const DeleteAllRelationsRequest: MessageFns$8<DeleteAllRelationsRequest>;
426
426
  interface DeleteResourceRequest {
427
427
  name: string;
428
428
  }
429
- declare const DeleteResourceRequest: MessageFns$7<DeleteResourceRequest>;
429
+ declare const DeleteResourceRequest: MessageFns$8<DeleteResourceRequest>;
430
430
  interface FindRelationRequest {
431
431
  subject?: string | undefined;
432
432
  relation?: string | undefined;
@@ -436,12 +436,12 @@ interface FindRelationRequest {
436
436
  skip?: number | undefined;
437
437
  limit?: number | undefined;
438
438
  }
439
- declare const FindRelationRequest: MessageFns$7<FindRelationRequest>;
439
+ declare const FindRelationRequest: MessageFns$8<FindRelationRequest>;
440
440
  interface FindRelationResponse {
441
441
  relations: Relation[];
442
442
  count: number;
443
443
  }
444
- declare const FindRelationResponse: MessageFns$7<FindRelationResponse>;
444
+ declare const FindRelationResponse: MessageFns$8<FindRelationResponse>;
445
445
  interface AllowedResourcesRequest {
446
446
  subject: string;
447
447
  action: string;
@@ -449,39 +449,39 @@ interface AllowedResourcesRequest {
449
449
  skip: number;
450
450
  limit: number;
451
451
  }
452
- declare const AllowedResourcesRequest: MessageFns$7<AllowedResourcesRequest>;
452
+ declare const AllowedResourcesRequest: MessageFns$8<AllowedResourcesRequest>;
453
453
  interface AllowedResourcesResponse {
454
454
  resources: string[];
455
455
  count: number;
456
456
  }
457
- declare const AllowedResourcesResponse: MessageFns$7<AllowedResourcesResponse>;
457
+ declare const AllowedResourcesResponse: MessageFns$8<AllowedResourcesResponse>;
458
458
  interface ResourceAccessListRequest {
459
459
  subject: string;
460
460
  action: string;
461
461
  viewName?: string | undefined;
462
462
  resourceType: string;
463
463
  }
464
- declare const ResourceAccessListRequest: MessageFns$7<ResourceAccessListRequest>;
464
+ declare const ResourceAccessListRequest: MessageFns$8<ResourceAccessListRequest>;
465
465
  interface ResourceAccessListResponse {
466
466
  viewName: string;
467
467
  }
468
- declare const ResourceAccessListResponse: MessageFns$7<ResourceAccessListResponse>;
468
+ declare const ResourceAccessListResponse: MessageFns$8<ResourceAccessListResponse>;
469
469
  interface PermissionCheck {
470
470
  subject: string;
471
471
  actions: string[];
472
472
  resource: string;
473
473
  }
474
- declare const PermissionCheck: MessageFns$7<PermissionCheck>;
474
+ declare const PermissionCheck: MessageFns$8<PermissionCheck>;
475
475
  interface PermissionRequest {
476
476
  subject: string;
477
477
  action: string;
478
478
  resource: string;
479
479
  }
480
- declare const PermissionRequest: MessageFns$7<PermissionRequest>;
480
+ declare const PermissionRequest: MessageFns$8<PermissionRequest>;
481
481
  interface Decision {
482
482
  allow: boolean;
483
483
  }
484
- declare const Decision: MessageFns$7<Decision>;
484
+ declare const Decision: MessageFns$8<Decision>;
485
485
  type AuthorizationDefinition = typeof AuthorizationDefinition;
486
486
  declare const AuthorizationDefinition: {
487
487
  readonly name: "Authorization";
@@ -593,24 +593,24 @@ declare const AuthorizationDefinition: {
593
593
  };
594
594
  };
595
595
  };
596
- type Builtin$7 = Date | Function | Uint8Array | string | number | boolean | undefined;
597
- type DeepPartial$7<T> = T extends Builtin$7 ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$7<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$7<U>> : T extends {} ? {
598
- [K in keyof T]?: DeepPartial$7<T[K]>;
596
+ type Builtin$8 = Date | Function | Uint8Array | string | number | boolean | undefined;
597
+ type DeepPartial$8<T> = T extends Builtin$8 ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$8<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$8<U>> : T extends {} ? {
598
+ [K in keyof T]?: DeepPartial$8<T[K]>;
599
599
  } : Partial<T>;
600
- interface MessageFns$7<T> {
600
+ interface MessageFns$8<T> {
601
601
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
602
602
  decode(input: BinaryReader | Uint8Array, length?: number): T;
603
603
  fromJSON(object: any): T;
604
604
  toJSON(message: T): unknown;
605
- create(base?: DeepPartial$7<T>): T;
606
- fromPartial(object: DeepPartial$7<T>): T;
605
+ create(base?: DeepPartial$8<T>): T;
606
+ fromPartial(object: DeepPartial$8<T>): T;
607
607
  }
608
608
 
609
609
  interface CreateRoomRequest {
610
610
  name: string;
611
611
  participants: string[];
612
612
  }
613
- declare const CreateRoomRequest: MessageFns$6<CreateRoomRequest>;
613
+ declare const CreateRoomRequest: MessageFns$7<CreateRoomRequest>;
614
614
  interface SendMessageRequest {
615
615
  message: string;
616
616
  userId: string;
@@ -619,21 +619,27 @@ interface SendMessageRequest {
619
619
  persist?: boolean | undefined;
620
620
  files: string[];
621
621
  }
622
- declare const SendMessageRequest: MessageFns$6<SendMessageRequest>;
622
+ declare const SendMessageRequest: MessageFns$7<SendMessageRequest>;
623
+ interface EditMessageRequest {
624
+ messageId: string;
625
+ userId: string;
626
+ newMessage: string;
627
+ }
628
+ declare const EditMessageRequest: MessageFns$7<EditMessageRequest>;
623
629
  interface DeleteRoomRequest {
624
630
  _id: string;
625
631
  }
626
- declare const DeleteRoomRequest: MessageFns$6<DeleteRoomRequest>;
632
+ declare const DeleteRoomRequest: MessageFns$7<DeleteRoomRequest>;
627
633
  interface Room {
628
634
  _id: string;
629
635
  name: string;
630
636
  participants: string[];
631
637
  }
632
- declare const Room: MessageFns$6<Room>;
638
+ declare const Room: MessageFns$7<Room>;
633
639
  interface GetRoomResponse {
634
640
  rooms: Room[];
635
641
  }
636
- declare const GetRoomResponse: MessageFns$6<GetRoomResponse>;
642
+ declare const GetRoomResponse: MessageFns$7<GetRoomResponse>;
637
643
  type ChatDefinition = typeof ChatDefinition;
638
644
  declare const ChatDefinition: {
639
645
  readonly name: "Chat";
@@ -663,19 +669,27 @@ declare const ChatDefinition: {
663
669
  readonly responseStream: false;
664
670
  readonly options: {};
665
671
  };
672
+ readonly editMessage: {
673
+ readonly name: "EditMessage";
674
+ readonly requestType: typeof EditMessageRequest;
675
+ readonly requestStream: false;
676
+ readonly responseType: typeof Empty;
677
+ readonly responseStream: false;
678
+ readonly options: {};
679
+ };
666
680
  };
667
681
  };
668
- type Builtin$6 = Date | Function | Uint8Array | string | number | boolean | undefined;
669
- type DeepPartial$6<T> = T extends Builtin$6 ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$6<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$6<U>> : T extends {} ? {
670
- [K in keyof T]?: DeepPartial$6<T[K]>;
682
+ type Builtin$7 = Date | Function | Uint8Array | string | number | boolean | undefined;
683
+ type DeepPartial$7<T> = T extends Builtin$7 ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$7<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$7<U>> : T extends {} ? {
684
+ [K in keyof T]?: DeepPartial$7<T[K]>;
671
685
  } : Partial<T>;
672
- interface MessageFns$6<T> {
686
+ interface MessageFns$7<T> {
673
687
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
674
688
  decode(input: BinaryReader | Uint8Array, length?: number): T;
675
689
  fromJSON(object: any): T;
676
690
  toJSON(message: T): unknown;
677
- create(base?: DeepPartial$6<T>): T;
678
- fromPartial(object: DeepPartial$6<T>): T;
691
+ create(base?: DeepPartial$7<T>): T;
692
+ fromPartial(object: DeepPartial$7<T>): T;
679
693
  }
680
694
 
681
695
  /** Legacy Email Service Messages */
@@ -687,7 +701,7 @@ interface RegisterTemplateRequest {
687
701
  sender?: string | undefined;
688
702
  jsonTemplate?: string | undefined;
689
703
  }
690
- declare const RegisterTemplateRequest: MessageFns$5<RegisterTemplateRequest>;
704
+ declare const RegisterTemplateRequest: MessageFns$6<RegisterTemplateRequest>;
691
705
  interface UpdateTemplateRequest {
692
706
  id: string;
693
707
  name?: string | undefined;
@@ -696,11 +710,11 @@ interface UpdateTemplateRequest {
696
710
  variables: string[];
697
711
  sender?: string | undefined;
698
712
  }
699
- declare const UpdateTemplateRequest: MessageFns$5<UpdateTemplateRequest>;
713
+ declare const UpdateTemplateRequest: MessageFns$6<UpdateTemplateRequest>;
700
714
  interface RegisterTemplateResponse {
701
715
  template: string;
702
716
  }
703
- declare const RegisterTemplateResponse: MessageFns$5<RegisterTemplateResponse>;
717
+ declare const RegisterTemplateResponse: MessageFns$6<RegisterTemplateResponse>;
704
718
  interface Attachment {
705
719
  filename: string;
706
720
  contentType?: string | undefined;
@@ -708,12 +722,12 @@ interface Attachment {
708
722
  href?: string | undefined;
709
723
  httpHeaders?: string | undefined;
710
724
  }
711
- declare const Attachment: MessageFns$5<Attachment>;
725
+ declare const Attachment: MessageFns$6<Attachment>;
712
726
  interface SendEmailRequest {
713
727
  templateName: string;
714
728
  params: SendEmailRequest_SendEmailParams | undefined;
715
729
  }
716
- declare const SendEmailRequest: MessageFns$5<SendEmailRequest>;
730
+ declare const SendEmailRequest: MessageFns$6<SendEmailRequest>;
717
731
  interface SendEmailRequest_SendEmailParams {
718
732
  email: string;
719
733
  subject: string;
@@ -724,46 +738,46 @@ interface SendEmailRequest_SendEmailParams {
724
738
  replyTo?: string | undefined;
725
739
  attachments: Attachment[];
726
740
  }
727
- declare const SendEmailRequest_SendEmailParams: MessageFns$5<SendEmailRequest_SendEmailParams>;
741
+ declare const SendEmailRequest_SendEmailParams: MessageFns$6<SendEmailRequest_SendEmailParams>;
728
742
  interface SendEmailResponse {
729
743
  sentMessageInfo: string;
730
744
  }
731
- declare const SendEmailResponse: MessageFns$5<SendEmailResponse>;
745
+ declare const SendEmailResponse: MessageFns$6<SendEmailResponse>;
732
746
  interface ResendEmailRequest {
733
747
  emailRecordId: string;
734
748
  }
735
- declare const ResendEmailRequest: MessageFns$5<ResendEmailRequest>;
749
+ declare const ResendEmailRequest: MessageFns$6<ResendEmailRequest>;
736
750
  interface ResendEmailResponse {
737
751
  sentMessageInfo: string;
738
752
  }
739
- declare const ResendEmailResponse: MessageFns$5<ResendEmailResponse>;
753
+ declare const ResendEmailResponse: MessageFns$6<ResendEmailResponse>;
740
754
  interface GetEmailStatusRequest {
741
755
  messageId: string;
742
756
  }
743
- declare const GetEmailStatusRequest: MessageFns$5<GetEmailStatusRequest>;
757
+ declare const GetEmailStatusRequest: MessageFns$6<GetEmailStatusRequest>;
744
758
  interface GetEmailStatusResponse {
745
759
  statusInfo: string;
746
760
  }
747
- declare const GetEmailStatusResponse: MessageFns$5<GetEmailStatusResponse>;
761
+ declare const GetEmailStatusResponse: MessageFns$6<GetEmailStatusResponse>;
748
762
  /** Legacy Push Notifications Service Messages */
749
763
  interface SetNotificationTokenRequest {
750
764
  token: string;
751
765
  platform: string;
752
766
  userId: string;
753
767
  }
754
- declare const SetNotificationTokenRequest: MessageFns$5<SetNotificationTokenRequest>;
768
+ declare const SetNotificationTokenRequest: MessageFns$6<SetNotificationTokenRequest>;
755
769
  interface SetNotificationTokenResponse {
756
770
  newTokenDocument: string;
757
771
  }
758
- declare const SetNotificationTokenResponse: MessageFns$5<SetNotificationTokenResponse>;
772
+ declare const SetNotificationTokenResponse: MessageFns$6<SetNotificationTokenResponse>;
759
773
  interface GetNotificationTokensRequest {
760
774
  userId: string;
761
775
  }
762
- declare const GetNotificationTokensRequest: MessageFns$5<GetNotificationTokensRequest>;
776
+ declare const GetNotificationTokensRequest: MessageFns$6<GetNotificationTokensRequest>;
763
777
  interface GetNotificationTokensResponse {
764
778
  tokenDocuments: string[];
765
779
  }
766
- declare const GetNotificationTokensResponse: MessageFns$5<GetNotificationTokensResponse>;
780
+ declare const GetNotificationTokensResponse: MessageFns$6<GetNotificationTokensResponse>;
767
781
  interface SendNotificationRequest {
768
782
  sendTo: string;
769
783
  title?: string | undefined;
@@ -773,7 +787,7 @@ interface SendNotificationRequest {
773
787
  doNotStore?: boolean | undefined;
774
788
  isSilent?: boolean | undefined;
775
789
  }
776
- declare const SendNotificationRequest: MessageFns$5<SendNotificationRequest>;
790
+ declare const SendNotificationRequest: MessageFns$6<SendNotificationRequest>;
777
791
  interface SendNotificationToManyDevicesRequest {
778
792
  sendTo: string[];
779
793
  title?: string | undefined;
@@ -783,42 +797,42 @@ interface SendNotificationToManyDevicesRequest {
783
797
  doNotStore?: boolean | undefined;
784
798
  isSilent?: boolean | undefined;
785
799
  }
786
- declare const SendNotificationToManyDevicesRequest: MessageFns$5<SendNotificationToManyDevicesRequest>;
800
+ declare const SendNotificationToManyDevicesRequest: MessageFns$6<SendNotificationToManyDevicesRequest>;
787
801
  interface SendManyNotificationsRequest {
788
802
  notifications: SendNotificationRequest[];
789
803
  }
790
- declare const SendManyNotificationsRequest: MessageFns$5<SendManyNotificationsRequest>;
804
+ declare const SendManyNotificationsRequest: MessageFns$6<SendManyNotificationsRequest>;
791
805
  interface SendNotificationResponse {
792
806
  message: string;
793
807
  }
794
- declare const SendNotificationResponse: MessageFns$5<SendNotificationResponse>;
808
+ declare const SendNotificationResponse: MessageFns$6<SendNotificationResponse>;
795
809
  /** Legacy SMS Service Messages */
796
810
  interface SendSmsRequest {
797
811
  to: string;
798
812
  message: string;
799
813
  }
800
- declare const SendSmsRequest: MessageFns$5<SendSmsRequest>;
814
+ declare const SendSmsRequest: MessageFns$6<SendSmsRequest>;
801
815
  interface SendSmsResponse {
802
816
  message: string;
803
817
  }
804
- declare const SendSmsResponse: MessageFns$5<SendSmsResponse>;
818
+ declare const SendSmsResponse: MessageFns$6<SendSmsResponse>;
805
819
  interface SendVerificationCodeRequest {
806
820
  to: string;
807
821
  }
808
- declare const SendVerificationCodeRequest: MessageFns$5<SendVerificationCodeRequest>;
822
+ declare const SendVerificationCodeRequest: MessageFns$6<SendVerificationCodeRequest>;
809
823
  interface SendVerificationCodeResponse {
810
824
  verificationSid: string;
811
825
  }
812
- declare const SendVerificationCodeResponse: MessageFns$5<SendVerificationCodeResponse>;
826
+ declare const SendVerificationCodeResponse: MessageFns$6<SendVerificationCodeResponse>;
813
827
  interface VerifyRequest {
814
828
  verificationSid: string;
815
829
  code: string;
816
830
  }
817
- declare const VerifyRequest: MessageFns$5<VerifyRequest>;
831
+ declare const VerifyRequest: MessageFns$6<VerifyRequest>;
818
832
  interface VerifyResponse {
819
833
  verified: boolean;
820
834
  }
821
- declare const VerifyResponse: MessageFns$5<VerifyResponse>;
835
+ declare const VerifyResponse: MessageFns$6<VerifyResponse>;
822
836
  /** New Unified Communications Messages */
823
837
  interface SendCommunicationRequest {
824
838
  /** 'email', 'push', 'sms' */
@@ -826,7 +840,7 @@ interface SendCommunicationRequest {
826
840
  templateName: string;
827
841
  params: SendCommunicationRequest_SendCommunicationParams | undefined;
828
842
  }
829
- declare const SendCommunicationRequest: MessageFns$5<SendCommunicationRequest>;
843
+ declare const SendCommunicationRequest: MessageFns$6<SendCommunicationRequest>;
830
844
  interface SendCommunicationRequest_SendCommunicationParams {
831
845
  /** email address, user ID, or phone number */
832
846
  recipient: string;
@@ -845,12 +859,12 @@ interface SendCommunicationRequest_SendCommunicationParams {
845
859
  doNotStore?: boolean | undefined;
846
860
  isSilent?: boolean | undefined;
847
861
  }
848
- declare const SendCommunicationRequest_SendCommunicationParams: MessageFns$5<SendCommunicationRequest_SendCommunicationParams>;
862
+ declare const SendCommunicationRequest_SendCommunicationParams: MessageFns$6<SendCommunicationRequest_SendCommunicationParams>;
849
863
  interface SendCommunicationResponse {
850
864
  messageId: string;
851
865
  sentMessageInfo: string;
852
866
  }
853
- declare const SendCommunicationResponse: MessageFns$5<SendCommunicationResponse>;
867
+ declare const SendCommunicationResponse: MessageFns$6<SendCommunicationResponse>;
854
868
  interface SendToMultipleChannelsRequest {
855
869
  channels: string[];
856
870
  /** 'BEST_EFFORT', 'ALL_OR_NOTHING' */
@@ -858,7 +872,7 @@ interface SendToMultipleChannelsRequest {
858
872
  templateName: string;
859
873
  params: SendToMultipleChannelsRequest_SendCommunicationParams | undefined;
860
874
  }
861
- declare const SendToMultipleChannelsRequest: MessageFns$5<SendToMultipleChannelsRequest>;
875
+ declare const SendToMultipleChannelsRequest: MessageFns$6<SendToMultipleChannelsRequest>;
862
876
  interface SendToMultipleChannelsRequest_SendCommunicationParams {
863
877
  recipient: string;
864
878
  subject: string;
@@ -873,30 +887,30 @@ interface SendToMultipleChannelsRequest_SendCommunicationParams {
873
887
  doNotStore?: boolean | undefined;
874
888
  isSilent?: boolean | undefined;
875
889
  }
876
- declare const SendToMultipleChannelsRequest_SendCommunicationParams: MessageFns$5<SendToMultipleChannelsRequest_SendCommunicationParams>;
890
+ declare const SendToMultipleChannelsRequest_SendCommunicationParams: MessageFns$6<SendToMultipleChannelsRequest_SendCommunicationParams>;
877
891
  interface SendToMultipleChannelsResponse {
878
892
  results: SendToMultipleChannelsResponse_ChannelResult[];
879
893
  }
880
- declare const SendToMultipleChannelsResponse: MessageFns$5<SendToMultipleChannelsResponse>;
894
+ declare const SendToMultipleChannelsResponse: MessageFns$6<SendToMultipleChannelsResponse>;
881
895
  interface SendToMultipleChannelsResponse_ChannelResult {
882
896
  channel: string;
883
897
  success: boolean;
884
898
  messageId: string;
885
899
  error?: string | undefined;
886
900
  }
887
- declare const SendToMultipleChannelsResponse_ChannelResult: MessageFns$5<SendToMultipleChannelsResponse_ChannelResult>;
901
+ declare const SendToMultipleChannelsResponse_ChannelResult: MessageFns$6<SendToMultipleChannelsResponse_ChannelResult>;
888
902
  interface SendWithFallbackRequest {
889
903
  fallbackChain: SendWithFallbackRequest_FallbackStep[];
890
904
  templateName: string;
891
905
  params: SendWithFallbackRequest_SendCommunicationParams | undefined;
892
906
  }
893
- declare const SendWithFallbackRequest: MessageFns$5<SendWithFallbackRequest>;
907
+ declare const SendWithFallbackRequest: MessageFns$6<SendWithFallbackRequest>;
894
908
  interface SendWithFallbackRequest_FallbackStep {
895
909
  channel: string;
896
910
  /** milliseconds */
897
911
  timeout: number;
898
912
  }
899
- declare const SendWithFallbackRequest_FallbackStep: MessageFns$5<SendWithFallbackRequest_FallbackStep>;
913
+ declare const SendWithFallbackRequest_FallbackStep: MessageFns$6<SendWithFallbackRequest_FallbackStep>;
900
914
  interface SendWithFallbackRequest_SendCommunicationParams {
901
915
  recipient: string;
902
916
  subject: string;
@@ -911,20 +925,20 @@ interface SendWithFallbackRequest_SendCommunicationParams {
911
925
  doNotStore?: boolean | undefined;
912
926
  isSilent?: boolean | undefined;
913
927
  }
914
- declare const SendWithFallbackRequest_SendCommunicationParams: MessageFns$5<SendWithFallbackRequest_SendCommunicationParams>;
928
+ declare const SendWithFallbackRequest_SendCommunicationParams: MessageFns$6<SendWithFallbackRequest_SendCommunicationParams>;
915
929
  interface SendWithFallbackResponse {
916
930
  successfulChannel: string;
917
931
  messageId: string;
918
932
  attempts: SendWithFallbackResponse_ChannelResult[];
919
933
  }
920
- declare const SendWithFallbackResponse: MessageFns$5<SendWithFallbackResponse>;
934
+ declare const SendWithFallbackResponse: MessageFns$6<SendWithFallbackResponse>;
921
935
  interface SendWithFallbackResponse_ChannelResult {
922
936
  channel: string;
923
937
  success: boolean;
924
938
  messageId: string;
925
939
  error?: string | undefined;
926
940
  }
927
- declare const SendWithFallbackResponse_ChannelResult: MessageFns$5<SendWithFallbackResponse_ChannelResult>;
941
+ declare const SendWithFallbackResponse_ChannelResult: MessageFns$6<SendWithFallbackResponse_ChannelResult>;
928
942
  interface RegisterCommunicationTemplateRequest {
929
943
  name: string;
930
944
  channels: string[];
@@ -932,35 +946,35 @@ interface RegisterCommunicationTemplateRequest {
932
946
  template: RegisterCommunicationTemplateRequest_CommunicationTemplate | undefined;
933
947
  variables: string[];
934
948
  }
935
- declare const RegisterCommunicationTemplateRequest: MessageFns$5<RegisterCommunicationTemplateRequest>;
949
+ declare const RegisterCommunicationTemplateRequest: MessageFns$6<RegisterCommunicationTemplateRequest>;
936
950
  interface RegisterCommunicationTemplateRequest_CommunicationTemplate {
937
951
  email?: RegisterCommunicationTemplateRequest_CommunicationTemplate_EmailTemplate | undefined;
938
952
  push?: RegisterCommunicationTemplateRequest_CommunicationTemplate_PushTemplate | undefined;
939
953
  sms?: RegisterCommunicationTemplateRequest_CommunicationTemplate_SmsTemplate | undefined;
940
954
  }
941
- declare const RegisterCommunicationTemplateRequest_CommunicationTemplate: MessageFns$5<RegisterCommunicationTemplateRequest_CommunicationTemplate>;
955
+ declare const RegisterCommunicationTemplateRequest_CommunicationTemplate: MessageFns$6<RegisterCommunicationTemplateRequest_CommunicationTemplate>;
942
956
  interface RegisterCommunicationTemplateRequest_CommunicationTemplate_EmailTemplate {
943
957
  subject: string;
944
958
  body: string;
945
959
  variables: string[];
946
960
  sender?: string | undefined;
947
961
  }
948
- declare const RegisterCommunicationTemplateRequest_CommunicationTemplate_EmailTemplate: MessageFns$5<RegisterCommunicationTemplateRequest_CommunicationTemplate_EmailTemplate>;
962
+ declare const RegisterCommunicationTemplateRequest_CommunicationTemplate_EmailTemplate: MessageFns$6<RegisterCommunicationTemplateRequest_CommunicationTemplate_EmailTemplate>;
949
963
  interface RegisterCommunicationTemplateRequest_CommunicationTemplate_PushTemplate {
950
964
  title: string;
951
965
  body: string;
952
966
  variables: string[];
953
967
  }
954
- declare const RegisterCommunicationTemplateRequest_CommunicationTemplate_PushTemplate: MessageFns$5<RegisterCommunicationTemplateRequest_CommunicationTemplate_PushTemplate>;
968
+ declare const RegisterCommunicationTemplateRequest_CommunicationTemplate_PushTemplate: MessageFns$6<RegisterCommunicationTemplateRequest_CommunicationTemplate_PushTemplate>;
955
969
  interface RegisterCommunicationTemplateRequest_CommunicationTemplate_SmsTemplate {
956
970
  message: string;
957
971
  variables: string[];
958
972
  }
959
- declare const RegisterCommunicationTemplateRequest_CommunicationTemplate_SmsTemplate: MessageFns$5<RegisterCommunicationTemplateRequest_CommunicationTemplate_SmsTemplate>;
973
+ declare const RegisterCommunicationTemplateRequest_CommunicationTemplate_SmsTemplate: MessageFns$6<RegisterCommunicationTemplateRequest_CommunicationTemplate_SmsTemplate>;
960
974
  interface RegisterCommunicationTemplateResponse {
961
975
  template: string;
962
976
  }
963
- declare const RegisterCommunicationTemplateResponse: MessageFns$5<RegisterCommunicationTemplateResponse>;
977
+ declare const RegisterCommunicationTemplateResponse: MessageFns$6<RegisterCommunicationTemplateResponse>;
964
978
  interface UpdateCommunicationTemplateRequest {
965
979
  id: string;
966
980
  name?: string | undefined;
@@ -969,44 +983,44 @@ interface UpdateCommunicationTemplateRequest {
969
983
  template?: RegisterCommunicationTemplateRequest_CommunicationTemplate | undefined;
970
984
  variables: string[];
971
985
  }
972
- declare const UpdateCommunicationTemplateRequest: MessageFns$5<UpdateCommunicationTemplateRequest>;
986
+ declare const UpdateCommunicationTemplateRequest: MessageFns$6<UpdateCommunicationTemplateRequest>;
973
987
  interface DeleteCommunicationTemplateRequest {
974
988
  id: string;
975
989
  }
976
- declare const DeleteCommunicationTemplateRequest: MessageFns$5<DeleteCommunicationTemplateRequest>;
990
+ declare const DeleteCommunicationTemplateRequest: MessageFns$6<DeleteCommunicationTemplateRequest>;
977
991
  interface DeleteCommunicationTemplateResponse {
978
992
  deleted: boolean;
979
993
  }
980
- declare const DeleteCommunicationTemplateResponse: MessageFns$5<DeleteCommunicationTemplateResponse>;
994
+ declare const DeleteCommunicationTemplateResponse: MessageFns$6<DeleteCommunicationTemplateResponse>;
981
995
  interface GetCommunicationTemplateRequest {
982
996
  id?: string | undefined;
983
997
  name?: string | undefined;
984
998
  }
985
- declare const GetCommunicationTemplateRequest: MessageFns$5<GetCommunicationTemplateRequest>;
999
+ declare const GetCommunicationTemplateRequest: MessageFns$6<GetCommunicationTemplateRequest>;
986
1000
  interface GetCommunicationTemplateResponse {
987
1001
  template: string;
988
1002
  }
989
- declare const GetCommunicationTemplateResponse: MessageFns$5<GetCommunicationTemplateResponse>;
1003
+ declare const GetCommunicationTemplateResponse: MessageFns$6<GetCommunicationTemplateResponse>;
990
1004
  interface ListCommunicationTemplatesRequest {
991
1005
  skip: number;
992
1006
  limit: number;
993
1007
  search?: string | undefined;
994
1008
  }
995
- declare const ListCommunicationTemplatesRequest: MessageFns$5<ListCommunicationTemplatesRequest>;
1009
+ declare const ListCommunicationTemplatesRequest: MessageFns$6<ListCommunicationTemplatesRequest>;
996
1010
  interface ListCommunicationTemplatesResponse {
997
1011
  templates: string[];
998
1012
  count: number;
999
1013
  }
1000
- declare const ListCommunicationTemplatesResponse: MessageFns$5<ListCommunicationTemplatesResponse>;
1014
+ declare const ListCommunicationTemplatesResponse: MessageFns$6<ListCommunicationTemplatesResponse>;
1001
1015
  interface GetMessageStatusRequest {
1002
1016
  messageId: string;
1003
1017
  channel: string;
1004
1018
  }
1005
- declare const GetMessageStatusRequest: MessageFns$5<GetMessageStatusRequest>;
1019
+ declare const GetMessageStatusRequest: MessageFns$6<GetMessageStatusRequest>;
1006
1020
  interface GetMessageStatusResponse {
1007
1021
  statusInfo: string;
1008
1022
  }
1009
- declare const GetMessageStatusResponse: MessageFns$5<GetMessageStatusResponse>;
1023
+ declare const GetMessageStatusResponse: MessageFns$6<GetMessageStatusResponse>;
1010
1024
  /** Unified Communications Service */
1011
1025
  type CommunicationsDefinition = typeof CommunicationsDefinition;
1012
1026
  declare const CommunicationsDefinition: {
@@ -1195,31 +1209,31 @@ declare const CommunicationsDefinition: {
1195
1209
  };
1196
1210
  };
1197
1211
  };
1198
- type Builtin$5 = Date | Function | Uint8Array | string | number | boolean | undefined;
1199
- type DeepPartial$5<T> = T extends Builtin$5 ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$5<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$5<U>> : T extends {} ? {
1200
- [K in keyof T]?: DeepPartial$5<T[K]>;
1212
+ type Builtin$6 = Date | Function | Uint8Array | string | number | boolean | undefined;
1213
+ type DeepPartial$6<T> = T extends Builtin$6 ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$6<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$6<U>> : T extends {} ? {
1214
+ [K in keyof T]?: DeepPartial$6<T[K]>;
1201
1215
  } : Partial<T>;
1202
- interface MessageFns$5<T> {
1216
+ interface MessageFns$6<T> {
1203
1217
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
1204
1218
  decode(input: BinaryReader | Uint8Array, length?: number): T;
1205
1219
  fromJSON(object: any): T;
1206
1220
  toJSON(message: T): unknown;
1207
- create(base?: DeepPartial$5<T>): T;
1208
- fromPartial(object: DeepPartial$5<T>): T;
1221
+ create(base?: DeepPartial$6<T>): T;
1222
+ fromPartial(object: DeepPartial$6<T>): T;
1209
1223
  }
1210
1224
 
1211
1225
  interface RegisterAdminRouteRequest {
1212
1226
  routes: RegisterAdminRouteRequest_PathDefinition[];
1213
1227
  routerUrl?: string | undefined;
1214
1228
  }
1215
- declare const RegisterAdminRouteRequest: MessageFns$4<RegisterAdminRouteRequest>;
1229
+ declare const RegisterAdminRouteRequest: MessageFns$5<RegisterAdminRouteRequest>;
1216
1230
  interface RegisterAdminRouteRequest_ErrorDefinition {
1217
1231
  conduitCode: string;
1218
1232
  grpcCode: number;
1219
1233
  message: string;
1220
1234
  description: string;
1221
1235
  }
1222
- declare const RegisterAdminRouteRequest_ErrorDefinition: MessageFns$4<RegisterAdminRouteRequest_ErrorDefinition>;
1236
+ declare const RegisterAdminRouteRequest_ErrorDefinition: MessageFns$5<RegisterAdminRouteRequest_ErrorDefinition>;
1223
1237
  interface RegisterAdminRouteRequest_PathDefinition {
1224
1238
  options: RegisterAdminRouteRequest_ConduitRouteOptions | undefined;
1225
1239
  returns?: RegisterAdminRouteRequest_ConduitRouteReturnDefinition | undefined;
@@ -1227,7 +1241,7 @@ interface RegisterAdminRouteRequest_PathDefinition {
1227
1241
  isMiddleware?: boolean | undefined;
1228
1242
  events?: string | undefined;
1229
1243
  }
1230
- declare const RegisterAdminRouteRequest_PathDefinition: MessageFns$4<RegisterAdminRouteRequest_PathDefinition>;
1244
+ declare const RegisterAdminRouteRequest_PathDefinition: MessageFns$5<RegisterAdminRouteRequest_PathDefinition>;
1231
1245
  interface RegisterAdminRouteRequest_ConduitRouteOptions {
1232
1246
  queryParams?: string | undefined;
1233
1247
  bodyParams?: string | undefined;
@@ -1245,70 +1259,70 @@ interface RegisterAdminRouteRequest_ConduitRouteOptions {
1245
1259
  captureRawBody?: boolean | undefined;
1246
1260
  captureRawHeaders?: boolean | undefined;
1247
1261
  }
1248
- declare const RegisterAdminRouteRequest_ConduitRouteOptions: MessageFns$4<RegisterAdminRouteRequest_ConduitRouteOptions>;
1262
+ declare const RegisterAdminRouteRequest_ConduitRouteOptions: MessageFns$5<RegisterAdminRouteRequest_ConduitRouteOptions>;
1249
1263
  interface RegisterAdminRouteRequest_ConduitRouteReturnDefinition {
1250
1264
  name: string;
1251
1265
  fields: string;
1252
1266
  }
1253
- declare const RegisterAdminRouteRequest_ConduitRouteReturnDefinition: MessageFns$4<RegisterAdminRouteRequest_ConduitRouteReturnDefinition>;
1267
+ declare const RegisterAdminRouteRequest_ConduitRouteReturnDefinition: MessageFns$5<RegisterAdminRouteRequest_ConduitRouteReturnDefinition>;
1254
1268
  interface PatchRouteMiddlewaresRequest {
1255
1269
  path: string;
1256
1270
  action: string;
1257
1271
  middlewares: string[];
1258
1272
  }
1259
- declare const PatchRouteMiddlewaresRequest: MessageFns$4<PatchRouteMiddlewaresRequest>;
1273
+ declare const PatchRouteMiddlewaresRequest: MessageFns$5<PatchRouteMiddlewaresRequest>;
1260
1274
  interface ModuleHealthRequest {
1261
1275
  moduleName: string;
1262
1276
  url: string;
1263
1277
  /** [0, 1, 2] */
1264
1278
  status: number;
1265
1279
  }
1266
- declare const ModuleHealthRequest: MessageFns$4<ModuleHealthRequest>;
1280
+ declare const ModuleHealthRequest: MessageFns$5<ModuleHealthRequest>;
1267
1281
  interface ModuleByNameRequest {
1268
1282
  name: string;
1269
1283
  }
1270
- declare const ModuleByNameRequest: MessageFns$4<ModuleByNameRequest>;
1284
+ declare const ModuleByNameRequest: MessageFns$5<ModuleByNameRequest>;
1271
1285
  interface ModuleByNameResponse {
1272
1286
  moduleUrl: string;
1273
1287
  }
1274
- declare const ModuleByNameResponse: MessageFns$4<ModuleByNameResponse>;
1288
+ declare const ModuleByNameResponse: MessageFns$5<ModuleByNameResponse>;
1275
1289
  interface RegisterModuleRequest {
1276
1290
  moduleName: string;
1277
1291
  url: string;
1278
1292
  /** [0, 1, 2] */
1279
1293
  healthStatus: number;
1280
1294
  }
1281
- declare const RegisterModuleRequest: MessageFns$4<RegisterModuleRequest>;
1295
+ declare const RegisterModuleRequest: MessageFns$5<RegisterModuleRequest>;
1282
1296
  interface RegisterModuleResponse {
1283
1297
  result: boolean;
1284
1298
  }
1285
- declare const RegisterModuleResponse: MessageFns$4<RegisterModuleResponse>;
1299
+ declare const RegisterModuleResponse: MessageFns$5<RegisterModuleResponse>;
1286
1300
  interface ModuleListResponse {
1287
1301
  modules: ModuleListResponse_ModuleResponse[];
1288
1302
  }
1289
- declare const ModuleListResponse: MessageFns$4<ModuleListResponse>;
1303
+ declare const ModuleListResponse: MessageFns$5<ModuleListResponse>;
1290
1304
  interface ModuleListResponse_ModuleResponse {
1291
1305
  moduleName: string;
1292
1306
  url: string;
1293
1307
  serving: boolean;
1294
1308
  }
1295
- declare const ModuleListResponse_ModuleResponse: MessageFns$4<ModuleListResponse_ModuleResponse>;
1309
+ declare const ModuleListResponse_ModuleResponse: MessageFns$5<ModuleListResponse_ModuleResponse>;
1296
1310
  interface ModuleExistsRequest {
1297
1311
  moduleName: string;
1298
1312
  }
1299
- declare const ModuleExistsRequest: MessageFns$4<ModuleExistsRequest>;
1313
+ declare const ModuleExistsRequest: MessageFns$5<ModuleExistsRequest>;
1300
1314
  interface ModuleExistsResponse {
1301
1315
  url: string;
1302
1316
  }
1303
- declare const ModuleExistsResponse: MessageFns$4<ModuleExistsResponse>;
1317
+ declare const ModuleExistsResponse: MessageFns$5<ModuleExistsResponse>;
1304
1318
  interface GetConfigRequest {
1305
1319
  key: string;
1306
1320
  }
1307
- declare const GetConfigRequest: MessageFns$4<GetConfigRequest>;
1321
+ declare const GetConfigRequest: MessageFns$5<GetConfigRequest>;
1308
1322
  interface DeleteConfigRequest {
1309
1323
  key: string;
1310
1324
  }
1311
- declare const DeleteConfigRequest: MessageFns$4<DeleteConfigRequest>;
1325
+ declare const DeleteConfigRequest: MessageFns$5<DeleteConfigRequest>;
1312
1326
  interface GetRedisDetailsResponse {
1313
1327
  redisHost?: string | undefined;
1314
1328
  redisPort?: number | undefined;
@@ -1319,25 +1333,25 @@ interface GetRedisDetailsResponse {
1319
1333
  standalone?: string | undefined;
1320
1334
  cluster?: string | undefined;
1321
1335
  }
1322
- declare const GetRedisDetailsResponse: MessageFns$4<GetRedisDetailsResponse>;
1336
+ declare const GetRedisDetailsResponse: MessageFns$5<GetRedisDetailsResponse>;
1323
1337
  interface GetConfigResponse {
1324
1338
  data: string;
1325
1339
  }
1326
- declare const GetConfigResponse: MessageFns$4<GetConfigResponse>;
1340
+ declare const GetConfigResponse: MessageFns$5<GetConfigResponse>;
1327
1341
  interface UpdateConfigRequest {
1328
1342
  config: string;
1329
1343
  schema: string;
1330
1344
  override: boolean;
1331
1345
  }
1332
- declare const UpdateConfigRequest: MessageFns$4<UpdateConfigRequest>;
1346
+ declare const UpdateConfigRequest: MessageFns$5<UpdateConfigRequest>;
1333
1347
  interface UpdateConfigResponse {
1334
1348
  result: string;
1335
1349
  }
1336
- declare const UpdateConfigResponse: MessageFns$4<UpdateConfigResponse>;
1350
+ declare const UpdateConfigResponse: MessageFns$5<UpdateConfigResponse>;
1337
1351
  interface RegisterModulesConfigRequest {
1338
1352
  newModulesConfigSchema: string;
1339
1353
  }
1340
- declare const RegisterModulesConfigRequest: MessageFns$4<RegisterModulesConfigRequest>;
1354
+ declare const RegisterModulesConfigRequest: MessageFns$5<RegisterModulesConfigRequest>;
1341
1355
  type CoreDefinition = typeof CoreDefinition;
1342
1356
  declare const CoreDefinition: {
1343
1357
  readonly name: "Core";
@@ -1462,17 +1476,17 @@ declare const AdminDefinition: {
1462
1476
  };
1463
1477
  };
1464
1478
  };
1465
- type Builtin$4 = Date | Function | Uint8Array | string | number | boolean | undefined;
1466
- type DeepPartial$4<T> = T extends Builtin$4 ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$4<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$4<U>> : T extends {} ? {
1467
- [K in keyof T]?: DeepPartial$4<T[K]>;
1479
+ type Builtin$5 = Date | Function | Uint8Array | string | number | boolean | undefined;
1480
+ type DeepPartial$5<T> = T extends Builtin$5 ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$5<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$5<U>> : T extends {} ? {
1481
+ [K in keyof T]?: DeepPartial$5<T[K]>;
1468
1482
  } : Partial<T>;
1469
- interface MessageFns$4<T> {
1483
+ interface MessageFns$5<T> {
1470
1484
  encode(message: T, writer?: BinaryWriter): BinaryWriter;
1471
1485
  decode(input: BinaryReader | Uint8Array, length?: number): T;
1472
1486
  fromJSON(object: any): T;
1473
1487
  toJSON(message: T): unknown;
1474
- create(base?: DeepPartial$4<T>): T;
1475
- fromPartial(object: DeepPartial$4<T>): T;
1488
+ create(base?: DeepPartial$5<T>): T;
1489
+ fromPartial(object: DeepPartial$5<T>): T;
1476
1490
  }
1477
1491
 
1478
1492
  interface CreateSchemaRequest {
@@ -1481,22 +1495,22 @@ interface CreateSchemaRequest {
1481
1495
  modelOptions: string;
1482
1496
  collectionName: string;
1483
1497
  }
1484
- declare const CreateSchemaRequest: MessageFns$3<CreateSchemaRequest>;
1498
+ declare const CreateSchemaRequest: MessageFns$4<CreateSchemaRequest>;
1485
1499
  interface GetSchemaRequest {
1486
1500
  schemaName: string;
1487
1501
  }
1488
- declare const GetSchemaRequest: MessageFns$3<GetSchemaRequest>;
1502
+ declare const GetSchemaRequest: MessageFns$4<GetSchemaRequest>;
1489
1503
  interface GetSchemasRequest {
1490
1504
  }
1491
- declare const GetSchemasRequest: MessageFns$3<GetSchemasRequest>;
1505
+ declare const GetSchemasRequest: MessageFns$4<GetSchemasRequest>;
1492
1506
  interface GetSchemasResponse {
1493
1507
  schemas: Schema[];
1494
1508
  }
1495
- declare const GetSchemasResponse: MessageFns$3<GetSchemasResponse>;
1509
+ declare const GetSchemasResponse: MessageFns$4<GetSchemasResponse>;
1496
1510
  interface DropCollectionResponse {
1497
1511
  result: string;
1498
1512
  }
1499
- declare const DropCollectionResponse: MessageFns$3<DropCollectionResponse>;
1513
+ declare const DropCollectionResponse: MessageFns$4<DropCollectionResponse>;
1500
1514
  interface Schema {
1501
1515
  name: string;
1502
1516
  fields: string;
@@ -1504,12 +1518,12 @@ interface Schema {
1504
1518
  collectionName: string;
1505
1519
  fieldHash: string;
1506
1520
  }
1507
- declare const Schema: MessageFns$3<Schema>;
1521
+ declare const Schema: MessageFns$4<Schema>;
1508
1522
  interface SchemaExtension {
1509
1523
  schemaName: string;
1510
1524
  fields: string;
1511
1525
  }
1512
- declare const SchemaExtension: MessageFns$3<SchemaExtension>;
1526
+ declare const SchemaExtension: MessageFns$4<SchemaExtension>;
1513
1527
  interface FindOneRequest {
1514
1528
  schemaName: string;
1515
1529
  query: string;
@@ -1518,8 +1532,11 @@ interface FindOneRequest {
1518
1532
  userId?: string | undefined;
1519
1533
  scope?: string | undefined;
1520
1534
  readPreference?: string | undefined;
1535
+ /** When true, Database verifies the caller is embeddings and restricts the read. */
1536
+ embeddingsJob?: boolean | undefined;
1537
+ embeddingsAllowedFields: string[];
1521
1538
  }
1522
- declare const FindOneRequest: MessageFns$3<FindOneRequest>;
1539
+ declare const FindOneRequest: MessageFns$4<FindOneRequest>;
1523
1540
  interface FindRequest {
1524
1541
  schemaName: string;
1525
1542
  query: string;
@@ -1535,16 +1552,16 @@ interface FindRequest {
1535
1552
  scope?: string | undefined;
1536
1553
  readPreference?: string | undefined;
1537
1554
  }
1538
- declare const FindRequest: MessageFns$3<FindRequest>;
1555
+ declare const FindRequest: MessageFns$4<FindRequest>;
1539
1556
  interface FindRequest_SortEntry {
1540
1557
  key: string;
1541
1558
  value: number;
1542
1559
  }
1543
- declare const FindRequest_SortEntry: MessageFns$3<FindRequest_SortEntry>;
1560
+ declare const FindRequest_SortEntry: MessageFns$4<FindRequest_SortEntry>;
1544
1561
  interface QueryResponse {
1545
1562
  result: string;
1546
1563
  }
1547
- declare const QueryResponse: MessageFns$3<QueryResponse>;
1564
+ declare const QueryResponse: MessageFns$4<QueryResponse>;
1548
1565
  interface QueryRequest {
1549
1566
  schemaName: string;
1550
1567
  query: string;
@@ -1552,17 +1569,17 @@ interface QueryRequest {
1552
1569
  scope?: string | undefined;
1553
1570
  readPreference?: string | undefined;
1554
1571
  }
1555
- declare const QueryRequest: MessageFns$3<QueryRequest>;
1572
+ declare const QueryRequest: MessageFns$4<QueryRequest>;
1556
1573
  interface RawQueryRequest {
1557
1574
  schemaName: string;
1558
1575
  query: RawQueryRequest_RawQuery | undefined;
1559
1576
  }
1560
- declare const RawQueryRequest: MessageFns$3<RawQueryRequest>;
1577
+ declare const RawQueryRequest: MessageFns$4<RawQueryRequest>;
1561
1578
  interface RawQueryRequest_RawQuery {
1562
1579
  mongoQuery?: RawQueryRequest_RawQuery_MongoQuery | undefined;
1563
1580
  sqlQuery?: RawQueryRequest_RawQuery_SQLQuery | undefined;
1564
1581
  }
1565
- declare const RawQueryRequest_RawQuery: MessageFns$3<RawQueryRequest_RawQuery>;
1582
+ declare const RawQueryRequest_RawQuery: MessageFns$4<RawQueryRequest_RawQuery>;
1566
1583
  interface RawQueryRequest_RawQuery_MongoQuery {
1567
1584
  aggregate?: string | undefined;
1568
1585
  count?: string | undefined;
@@ -1577,28 +1594,28 @@ interface RawQueryRequest_RawQuery_MongoQuery {
1577
1594
  updateMany?: string | undefined;
1578
1595
  options?: string | undefined;
1579
1596
  }
1580
- declare const RawQueryRequest_RawQuery_MongoQuery: MessageFns$3<RawQueryRequest_RawQuery_MongoQuery>;
1597
+ declare const RawQueryRequest_RawQuery_MongoQuery: MessageFns$4<RawQueryRequest_RawQuery_MongoQuery>;
1581
1598
  interface RawQueryRequest_RawQuery_SQLQuery {
1582
1599
  query: string;
1583
1600
  options?: string | undefined;
1584
1601
  }
1585
- declare const RawQueryRequest_RawQuery_SQLQuery: MessageFns$3<RawQueryRequest_RawQuery_SQLQuery>;
1602
+ declare const RawQueryRequest_RawQuery_SQLQuery: MessageFns$4<RawQueryRequest_RawQuery_SQLQuery>;
1586
1603
  interface CreateViewRequest {
1587
1604
  schemaName: string;
1588
1605
  viewName: string;
1589
1606
  joinedSchemas: string[];
1590
1607
  query: CreateViewRequest_RawQuery | undefined;
1591
1608
  }
1592
- declare const CreateViewRequest: MessageFns$3<CreateViewRequest>;
1609
+ declare const CreateViewRequest: MessageFns$4<CreateViewRequest>;
1593
1610
  interface CreateViewRequest_RawQuery {
1594
1611
  mongoQuery: string;
1595
1612
  sqlQuery: string;
1596
1613
  }
1597
- declare const CreateViewRequest_RawQuery: MessageFns$3<CreateViewRequest_RawQuery>;
1614
+ declare const CreateViewRequest_RawQuery: MessageFns$4<CreateViewRequest_RawQuery>;
1598
1615
  interface DeleteViewRequest {
1599
1616
  viewName: string;
1600
1617
  }
1601
- declare const DeleteViewRequest: MessageFns$3<DeleteViewRequest>;
1618
+ declare const DeleteViewRequest: MessageFns$4<DeleteViewRequest>;
1602
1619
  interface UpdateRequest {
1603
1620
  schemaName: string;
1604
1621
  id: string;
@@ -1606,8 +1623,12 @@ interface UpdateRequest {
1606
1623
  populate: string[];
1607
1624
  userId?: string | undefined;
1608
1625
  scope?: string | undefined;
1626
+ /** When true, skip bus publication. Existing callers omit this and keep publishing. */
1627
+ suppressEvent?: boolean | undefined;
1628
+ /** When true, Database verifies the caller is embeddings and restricts the write. */
1629
+ embeddingsJob?: boolean | undefined;
1609
1630
  }
1610
- declare const UpdateRequest: MessageFns$3<UpdateRequest>;
1631
+ declare const UpdateRequest: MessageFns$4<UpdateRequest>;
1611
1632
  interface UpdateManyRequest {
1612
1633
  schemaName: string;
1613
1634
  filterQuery: string;
@@ -1615,30 +1636,90 @@ interface UpdateManyRequest {
1615
1636
  populate: string[];
1616
1637
  userId?: string | undefined;
1617
1638
  scope?: string | undefined;
1639
+ /** When true, skip bus publication. Existing callers omit this and keep publishing. */
1640
+ suppressEvent?: boolean | undefined;
1618
1641
  }
1619
- declare const UpdateManyRequest: MessageFns$3<UpdateManyRequest>;
1642
+ declare const UpdateManyRequest: MessageFns$4<UpdateManyRequest>;
1620
1643
  interface DropCollectionRequest {
1621
1644
  schemaName: string;
1622
1645
  deleteData: boolean;
1623
1646
  }
1624
- declare const DropCollectionRequest: MessageFns$3<DropCollectionRequest>;
1647
+ declare const DropCollectionRequest: MessageFns$4<DropCollectionRequest>;
1625
1648
  interface MigrateRequest {
1626
1649
  schemaName: string;
1627
1650
  }
1628
- declare const MigrateRequest: MessageFns$3<MigrateRequest>;
1651
+ declare const MigrateRequest: MessageFns$4<MigrateRequest>;
1629
1652
  interface ColumnExistenceRequest {
1630
1653
  schemaName: string;
1631
1654
  columns: string[];
1632
1655
  }
1633
- declare const ColumnExistenceRequest: MessageFns$3<ColumnExistenceRequest>;
1656
+ declare const ColumnExistenceRequest: MessageFns$4<ColumnExistenceRequest>;
1634
1657
  interface ColumnExistenceResponse {
1635
1658
  result: boolean;
1636
1659
  }
1637
- declare const ColumnExistenceResponse: MessageFns$3<ColumnExistenceResponse>;
1660
+ declare const ColumnExistenceResponse: MessageFns$4<ColumnExistenceResponse>;
1638
1661
  interface GetDatabaseTypeResponse {
1639
1662
  result: string;
1640
1663
  }
1641
- declare const GetDatabaseTypeResponse: MessageFns$3<GetDatabaseTypeResponse>;
1664
+ declare const GetDatabaseTypeResponse: MessageFns$4<GetDatabaseTypeResponse>;
1665
+ interface VectorCapabilitiesRequest {
1666
+ schemaName?: string | undefined;
1667
+ }
1668
+ declare const VectorCapabilitiesRequest: MessageFns$4<VectorCapabilitiesRequest>;
1669
+ interface VectorCapabilitiesResponse {
1670
+ supported: boolean;
1671
+ storage: boolean;
1672
+ indexing: boolean;
1673
+ search: boolean;
1674
+ provider: string;
1675
+ reason?: string | undefined;
1676
+ }
1677
+ declare const VectorCapabilitiesResponse: MessageFns$4<VectorCapabilitiesResponse>;
1678
+ interface VectorIndex {
1679
+ field: string;
1680
+ dimensions: number;
1681
+ similarity: string;
1682
+ name?: string | undefined;
1683
+ method?: string | undefined;
1684
+ filterFields: string[];
1685
+ options?: string | undefined;
1686
+ status?: string | undefined;
1687
+ queryable?: boolean | undefined;
1688
+ }
1689
+ declare const VectorIndex: MessageFns$4<VectorIndex>;
1690
+ interface VectorIndexRequest {
1691
+ schemaName: string;
1692
+ index: VectorIndex | undefined;
1693
+ }
1694
+ declare const VectorIndexRequest: MessageFns$4<VectorIndexRequest>;
1695
+ interface VectorIndexListRequest {
1696
+ schemaName: string;
1697
+ }
1698
+ declare const VectorIndexListRequest: MessageFns$4<VectorIndexListRequest>;
1699
+ interface VectorIndexListResponse {
1700
+ indexes: VectorIndex[];
1701
+ }
1702
+ declare const VectorIndexListResponse: MessageFns$4<VectorIndexListResponse>;
1703
+ interface DeleteVectorIndexRequest {
1704
+ schemaName: string;
1705
+ indexName: string;
1706
+ }
1707
+ declare const DeleteVectorIndexRequest: MessageFns$4<DeleteVectorIndexRequest>;
1708
+ interface VectorSearchRequest {
1709
+ schemaName: string;
1710
+ field: string;
1711
+ vector: number[];
1712
+ indexName?: string | undefined;
1713
+ filter?: string | undefined;
1714
+ limit?: number | undefined;
1715
+ numCandidates?: number | undefined;
1716
+ select?: string | undefined;
1717
+ userId?: string | undefined;
1718
+ scope?: string | undefined;
1719
+ /** Honored only when the verified caller is a platform operator module. */
1720
+ adminOperator?: boolean | undefined;
1721
+ }
1722
+ declare const VectorSearchRequest: MessageFns$4<VectorSearchRequest>;
1642
1723
  type DatabaseProviderDefinition = typeof DatabaseProviderDefinition;
1643
1724
  declare const DatabaseProviderDefinition: {
1644
1725
  readonly name: "DatabaseProvider";
@@ -1837,6 +1918,331 @@ declare const DatabaseProviderDefinition: {
1837
1918
  readonly responseStream: false;
1838
1919
  readonly options: {};
1839
1920
  };
1921
+ readonly getVectorCapabilities: {
1922
+ readonly name: "getVectorCapabilities";
1923
+ readonly requestType: typeof VectorCapabilitiesRequest;
1924
+ readonly requestStream: false;
1925
+ readonly responseType: typeof VectorCapabilitiesResponse;
1926
+ readonly responseStream: false;
1927
+ readonly options: {};
1928
+ };
1929
+ readonly createVectorIndex: {
1930
+ readonly name: "createVectorIndex";
1931
+ readonly requestType: typeof VectorIndexRequest;
1932
+ readonly requestStream: false;
1933
+ readonly responseType: typeof QueryResponse;
1934
+ readonly responseStream: false;
1935
+ readonly options: {};
1936
+ };
1937
+ readonly getVectorIndexes: {
1938
+ readonly name: "getVectorIndexes";
1939
+ readonly requestType: typeof VectorIndexListRequest;
1940
+ readonly requestStream: false;
1941
+ readonly responseType: typeof VectorIndexListResponse;
1942
+ readonly responseStream: false;
1943
+ readonly options: {};
1944
+ };
1945
+ readonly deleteVectorIndex: {
1946
+ readonly name: "deleteVectorIndex";
1947
+ readonly requestType: typeof DeleteVectorIndexRequest;
1948
+ readonly requestStream: false;
1949
+ readonly responseType: typeof QueryResponse;
1950
+ readonly responseStream: false;
1951
+ readonly options: {};
1952
+ };
1953
+ readonly vectorSearch: {
1954
+ readonly name: "vectorSearch";
1955
+ readonly requestType: typeof VectorSearchRequest;
1956
+ readonly requestStream: false;
1957
+ readonly responseType: typeof QueryResponse;
1958
+ readonly responseStream: false;
1959
+ readonly options: {};
1960
+ };
1961
+ };
1962
+ };
1963
+ type Builtin$4 = Date | Function | Uint8Array | string | number | boolean | undefined;
1964
+ type DeepPartial$4<T> = T extends Builtin$4 ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$4<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$4<U>> : T extends {} ? {
1965
+ [K in keyof T]?: DeepPartial$4<T[K]>;
1966
+ } : Partial<T>;
1967
+ interface MessageFns$4<T> {
1968
+ encode(message: T, writer?: BinaryWriter): BinaryWriter;
1969
+ decode(input: BinaryReader | Uint8Array, length?: number): T;
1970
+ fromJSON(object: any): T;
1971
+ toJSON(message: T): unknown;
1972
+ create(base?: DeepPartial$4<T>): T;
1973
+ fromPartial(object: DeepPartial$4<T>): T;
1974
+ }
1975
+
1976
+ interface EmbeddingConfig {
1977
+ id: string;
1978
+ schemaName: string;
1979
+ sourceFields: string[];
1980
+ targetField: string;
1981
+ provider: string;
1982
+ model: string;
1983
+ dimensions: number;
1984
+ similarity: string;
1985
+ enabled: boolean;
1986
+ createdAt?: string | undefined;
1987
+ updatedAt?: string | undefined;
1988
+ }
1989
+ declare const EmbeddingConfig: MessageFns$3<EmbeddingConfig>;
1990
+ interface UpsertConfigRequest {
1991
+ schemaName: string;
1992
+ sourceFields: string[];
1993
+ targetField: string;
1994
+ provider: string;
1995
+ model: string;
1996
+ dimensions: number;
1997
+ similarity?: string | undefined;
1998
+ sourceFieldAllowlist: string[];
1999
+ enabled?: boolean | undefined;
2000
+ }
2001
+ declare const UpsertConfigRequest: MessageFns$3<UpsertConfigRequest>;
2002
+ interface UpsertConfigResponse {
2003
+ config: EmbeddingConfig | undefined;
2004
+ warnings: string[];
2005
+ }
2006
+ declare const UpsertConfigResponse: MessageFns$3<UpsertConfigResponse>;
2007
+ interface GetConfigsRequest {
2008
+ schemaName?: string | undefined;
2009
+ id?: string | undefined;
2010
+ }
2011
+ declare const GetConfigsRequest: MessageFns$3<GetConfigsRequest>;
2012
+ interface GetConfigsResponse {
2013
+ configs: EmbeddingConfig[];
2014
+ }
2015
+ declare const GetConfigsResponse: MessageFns$3<GetConfigsResponse>;
2016
+ interface DeleteEmbeddingConfigRequest {
2017
+ id?: string | undefined;
2018
+ schemaName?: string | undefined;
2019
+ targetField?: string | undefined;
2020
+ }
2021
+ declare const DeleteEmbeddingConfigRequest: MessageFns$3<DeleteEmbeddingConfigRequest>;
2022
+ interface DeleteEmbeddingConfigResponse {
2023
+ config: EmbeddingConfig | undefined;
2024
+ }
2025
+ declare const DeleteEmbeddingConfigResponse: MessageFns$3<DeleteEmbeddingConfigResponse>;
2026
+ interface VectorCapabilities$1 {
2027
+ supported: boolean;
2028
+ storage: boolean;
2029
+ indexing: boolean;
2030
+ search: boolean;
2031
+ provider: string;
2032
+ reason?: string | undefined;
2033
+ }
2034
+ declare const VectorCapabilities$1: MessageFns$3<VectorCapabilities$1>;
2035
+ interface GetCapabilitiesRequest {
2036
+ schemaName?: string | undefined;
2037
+ }
2038
+ declare const GetCapabilitiesRequest: MessageFns$3<GetCapabilitiesRequest>;
2039
+ interface GetCapabilitiesResponse {
2040
+ capabilities: VectorCapabilities$1 | undefined;
2041
+ warnings: string[];
2042
+ }
2043
+ declare const GetCapabilitiesResponse: MessageFns$3<GetCapabilitiesResponse>;
2044
+ interface QueueCounts$1 {
2045
+ waiting: number;
2046
+ active: number;
2047
+ completed: number;
2048
+ failed: number;
2049
+ delayed: number;
2050
+ paused: number;
2051
+ }
2052
+ declare const QueueCounts$1: MessageFns$3<QueueCounts$1>;
2053
+ interface GetStatusRequest {
2054
+ schemaName?: string | undefined;
2055
+ }
2056
+ declare const GetStatusRequest: MessageFns$3<GetStatusRequest>;
2057
+ interface GetStatusResponse {
2058
+ enabled: boolean;
2059
+ ready: boolean;
2060
+ capabilities: VectorCapabilities$1 | undefined;
2061
+ generationQueue: QueueCounts$1 | undefined;
2062
+ backfillQueue: QueueCounts$1 | undefined;
2063
+ warnings: string[];
2064
+ }
2065
+ declare const GetStatusResponse: MessageFns$3<GetStatusResponse>;
2066
+ interface BackfillRun {
2067
+ id: string;
2068
+ schemaName: string;
2069
+ configId?: string | undefined;
2070
+ state: string;
2071
+ cursor?: string | undefined;
2072
+ batchSize: number;
2073
+ onlyMissing: boolean;
2074
+ filter?: string | undefined;
2075
+ scannedCount: number;
2076
+ queuedCount: number;
2077
+ processedCount: number;
2078
+ failedCount: number;
2079
+ startedAt?: string | undefined;
2080
+ finishedAt?: string | undefined;
2081
+ error?: string | undefined;
2082
+ createdAt?: string | undefined;
2083
+ updatedAt?: string | undefined;
2084
+ }
2085
+ declare const BackfillRun: MessageFns$3<BackfillRun>;
2086
+ interface StartBackfillRequest {
2087
+ schemaName: string;
2088
+ batchSize?: number | undefined;
2089
+ configId?: string | undefined;
2090
+ onlyMissing?: boolean | undefined;
2091
+ filter?: string | undefined;
2092
+ }
2093
+ declare const StartBackfillRequest: MessageFns$3<StartBackfillRequest>;
2094
+ interface StartBackfillResponse {
2095
+ queued: number;
2096
+ runs: BackfillRun[];
2097
+ warnings: string[];
2098
+ }
2099
+ declare const StartBackfillResponse: MessageFns$3<StartBackfillResponse>;
2100
+ interface GetBackfillRequest {
2101
+ id: string;
2102
+ }
2103
+ declare const GetBackfillRequest: MessageFns$3<GetBackfillRequest>;
2104
+ interface ListBackfillsRequest {
2105
+ schemaName?: string | undefined;
2106
+ state?: string | undefined;
2107
+ configId?: string | undefined;
2108
+ skip?: number | undefined;
2109
+ limit?: number | undefined;
2110
+ }
2111
+ declare const ListBackfillsRequest: MessageFns$3<ListBackfillsRequest>;
2112
+ interface ListBackfillsResponse {
2113
+ runs: BackfillRun[];
2114
+ count: number;
2115
+ }
2116
+ declare const ListBackfillsResponse: MessageFns$3<ListBackfillsResponse>;
2117
+ interface CancelBackfillRequest {
2118
+ id: string;
2119
+ }
2120
+ declare const CancelBackfillRequest: MessageFns$3<CancelBackfillRequest>;
2121
+ interface ResumeBackfillRequest {
2122
+ id: string;
2123
+ }
2124
+ declare const ResumeBackfillRequest: MessageFns$3<ResumeBackfillRequest>;
2125
+ interface BackfillMutationResponse {
2126
+ run: BackfillRun | undefined;
2127
+ }
2128
+ declare const BackfillMutationResponse: MessageFns$3<BackfillMutationResponse>;
2129
+ interface SemanticSearchRequest {
2130
+ schemaName: string;
2131
+ text: string;
2132
+ targetField?: string | undefined;
2133
+ filter?: string | undefined;
2134
+ limit?: number | undefined;
2135
+ userId?: string | undefined;
2136
+ scope?: string | undefined;
2137
+ /** Honored only when the verified caller is a platform operator module. */
2138
+ adminOperator?: boolean | undefined;
2139
+ }
2140
+ declare const SemanticSearchRequest: MessageFns$3<SemanticSearchRequest>;
2141
+ interface SemanticSearchHit {
2142
+ document: string;
2143
+ score: number;
2144
+ distance?: number | undefined;
2145
+ metric?: string | undefined;
2146
+ provider?: string | undefined;
2147
+ }
2148
+ declare const SemanticSearchHit: MessageFns$3<SemanticSearchHit>;
2149
+ interface SemanticSearchResponse {
2150
+ hits: SemanticSearchHit[];
2151
+ }
2152
+ declare const SemanticSearchResponse: MessageFns$3<SemanticSearchResponse>;
2153
+ type EmbeddingsProviderDefinition = typeof EmbeddingsProviderDefinition;
2154
+ declare const EmbeddingsProviderDefinition: {
2155
+ readonly name: "EmbeddingsProvider";
2156
+ readonly fullName: "embeddings.EmbeddingsProvider";
2157
+ readonly methods: {
2158
+ readonly upsertConfig: {
2159
+ readonly name: "upsertConfig";
2160
+ readonly requestType: typeof UpsertConfigRequest;
2161
+ readonly requestStream: false;
2162
+ readonly responseType: typeof UpsertConfigResponse;
2163
+ readonly responseStream: false;
2164
+ readonly options: {};
2165
+ };
2166
+ readonly getConfigs: {
2167
+ readonly name: "getConfigs";
2168
+ readonly requestType: typeof GetConfigsRequest;
2169
+ readonly requestStream: false;
2170
+ readonly responseType: typeof GetConfigsResponse;
2171
+ readonly responseStream: false;
2172
+ readonly options: {};
2173
+ };
2174
+ readonly deleteConfig: {
2175
+ readonly name: "deleteConfig";
2176
+ readonly requestType: typeof DeleteEmbeddingConfigRequest;
2177
+ readonly requestStream: false;
2178
+ readonly responseType: typeof DeleteEmbeddingConfigResponse;
2179
+ readonly responseStream: false;
2180
+ readonly options: {};
2181
+ };
2182
+ readonly getCapabilities: {
2183
+ readonly name: "getCapabilities";
2184
+ readonly requestType: typeof GetCapabilitiesRequest;
2185
+ readonly requestStream: false;
2186
+ readonly responseType: typeof GetCapabilitiesResponse;
2187
+ readonly responseStream: false;
2188
+ readonly options: {};
2189
+ };
2190
+ readonly getStatus: {
2191
+ readonly name: "getStatus";
2192
+ readonly requestType: typeof GetStatusRequest;
2193
+ readonly requestStream: false;
2194
+ readonly responseType: typeof GetStatusResponse;
2195
+ readonly responseStream: false;
2196
+ readonly options: {};
2197
+ };
2198
+ readonly startBackfill: {
2199
+ readonly name: "startBackfill";
2200
+ readonly requestType: typeof StartBackfillRequest;
2201
+ readonly requestStream: false;
2202
+ readonly responseType: typeof StartBackfillResponse;
2203
+ readonly responseStream: false;
2204
+ readonly options: {};
2205
+ };
2206
+ readonly getBackfill: {
2207
+ readonly name: "getBackfill";
2208
+ readonly requestType: typeof GetBackfillRequest;
2209
+ readonly requestStream: false;
2210
+ readonly responseType: typeof BackfillRun;
2211
+ readonly responseStream: false;
2212
+ readonly options: {};
2213
+ };
2214
+ readonly listBackfills: {
2215
+ readonly name: "listBackfills";
2216
+ readonly requestType: typeof ListBackfillsRequest;
2217
+ readonly requestStream: false;
2218
+ readonly responseType: typeof ListBackfillsResponse;
2219
+ readonly responseStream: false;
2220
+ readonly options: {};
2221
+ };
2222
+ readonly cancelBackfill: {
2223
+ readonly name: "cancelBackfill";
2224
+ readonly requestType: typeof CancelBackfillRequest;
2225
+ readonly requestStream: false;
2226
+ readonly responseType: typeof BackfillMutationResponse;
2227
+ readonly responseStream: false;
2228
+ readonly options: {};
2229
+ };
2230
+ readonly resumeBackfill: {
2231
+ readonly name: "resumeBackfill";
2232
+ readonly requestType: typeof ResumeBackfillRequest;
2233
+ readonly requestStream: false;
2234
+ readonly responseType: typeof BackfillMutationResponse;
2235
+ readonly responseStream: false;
2236
+ readonly options: {};
2237
+ };
2238
+ readonly semanticSearch: {
2239
+ readonly name: "semanticSearch";
2240
+ readonly requestType: typeof SemanticSearchRequest;
2241
+ readonly requestStream: false;
2242
+ readonly responseType: typeof SemanticSearchResponse;
2243
+ readonly responseStream: false;
2244
+ readonly options: {};
2245
+ };
1840
2246
  };
1841
2247
  };
1842
2248
  type Builtin$3 = Date | Function | Uint8Array | string | number | boolean | undefined;
@@ -2178,6 +2584,7 @@ interface FileResponse {
2178
2584
  id: string;
2179
2585
  url: string;
2180
2586
  name: string;
2587
+ uri: string;
2181
2588
  }
2182
2589
  declare const FileResponse: MessageFns<FileResponse>;
2183
2590
  interface GetFileDataResponse {
@@ -2206,6 +2613,7 @@ interface FileByUrlResponse {
2206
2613
  fileUrl: string;
2207
2614
  name: string;
2208
2615
  uploadUrl: string;
2616
+ uri: string;
2209
2617
  }
2210
2618
  declare const FileByUrlResponse: MessageFns<FileByUrlResponse>;
2211
2619
  interface UpdateFileByUrlRequest {
@@ -2332,6 +2740,16 @@ declare class ConduitModule<T extends CompatServiceDefinition> {
2332
2740
 
2333
2741
  declare function checkModuleHealth(clientName: string, serviceUrl: string, service?: string, grpcToken?: string): Promise<any>;
2334
2742
 
2743
+ type Indexable = {
2744
+ [key: string]: any;
2745
+ };
2746
+ type Params = Indexable;
2747
+ type Document$1 = Indexable;
2748
+ type Route = Indexable;
2749
+ type Headers$1 = Indexable;
2750
+ type Context = Indexable;
2751
+ type Cookies = Indexable;
2752
+
2335
2753
  declare enum TYPE {
2336
2754
  String = "String",
2337
2755
  Number = "Number",
@@ -2339,7 +2757,8 @@ declare enum TYPE {
2339
2757
  Date = "Date",
2340
2758
  ObjectId = "ObjectId",
2341
2759
  JSON = "JSON",
2342
- Relation = "Relation"
2760
+ Relation = "Relation",
2761
+ Vector = "Vector"
2343
2762
  }
2344
2763
  declare enum SQLDataType {
2345
2764
  VARCHAR = "VARCHAR",
@@ -2352,8 +2771,27 @@ declare enum SQLDataType {
2352
2771
  DECIMAL = "DECIMAL",
2353
2772
  TIME = "TIME",
2354
2773
  DATETIME = "DATETIME",
2355
- TIMESTAMP = "TIMESTAMP"
2356
- }
2774
+ TIMESTAMP = "TIMESTAMP",
2775
+ VECTOR = "VECTOR"
2776
+ }
2777
+ declare enum VectorSimilarity {
2778
+ Cosine = "cosine",
2779
+ Euclidean = "euclidean",
2780
+ DotProduct = "dotProduct"
2781
+ }
2782
+ declare enum VectorIndexMethod {
2783
+ HNSW = "hnsw",
2784
+ IVFFlat = "ivfflat",
2785
+ Flat = "flat"
2786
+ }
2787
+ declare function defaultVectorIndexMethod(method?: string | null): VectorIndexMethod;
2788
+ declare function vectorIndexMethodsEquivalent(left?: string | null, right?: string | null): boolean;
2789
+ declare enum VectorIndexStatus {
2790
+ Pending = "pending",
2791
+ Ready = "ready",
2792
+ Failed = "failed"
2793
+ }
2794
+ type VectorSearchProvider = 'mongodb' | 'postgres';
2357
2795
  declare enum MongoIndexType {
2358
2796
  Ascending = 1,
2359
2797
  Descending = -1,
@@ -2424,6 +2862,13 @@ type ConduitModelFieldRelation = BasicConduitModelField & {
2424
2862
  type ConduitModelFieldJSON = BasicConduitModelField & {
2425
2863
  type: TYPE.JSON | TYPE.JSON[];
2426
2864
  };
2865
+ type ConduitModelFieldVector = BasicConduitModelField & {
2866
+ type: TYPE.Vector;
2867
+ dimensions: number;
2868
+ similarity?: VectorSimilarity;
2869
+ provider?: string;
2870
+ model?: string;
2871
+ };
2427
2872
  type ConduitModelFieldEnum = BasicConduitModelField & {
2428
2873
  type: ExcludeJSONRelation<TYPE> | ExcludeJSONRelation<TYPE>[];
2429
2874
  enum: any;
@@ -2431,7 +2876,7 @@ type ConduitModelFieldEnum = BasicConduitModelField & {
2431
2876
  type ConduitModelField = BasicConduitModelField & {
2432
2877
  type?: ExcludeJSONRelation<TYPE> | ExcludeJSONRelation<TYPE>[] | ConduitModel | ArrayConduitModel[];
2433
2878
  };
2434
- type allowedTypes = ExcludeRelation<TYPE> | ConduitModelField | ConduitModelFieldEnum | ConduitModelFieldJSON | ConduitModelFieldRelation;
2879
+ type allowedTypes = ExcludeRelation<TYPE> | ConduitModelField | ConduitModelFieldEnum | ConduitModelFieldJSON | ConduitModelFieldVector | ConduitModelFieldRelation;
2435
2880
  type embeddableArray = ExcludeRelation<TYPE> | ConduitModelField | ConduitModelFieldEnum | ConduitModelFieldJSON;
2436
2881
  type ExcludeRelation<T> = T extends TYPE.Relation ? never : T;
2437
2882
  type ExcludeJSON<T> = T extends TYPE.JSON ? never : T;
@@ -2484,6 +2929,7 @@ interface ConduitSchemaOptions {
2484
2929
  };
2485
2930
  /** Includes readonly/const-asserted index arrays (e.g. `as const` in schema definitions). */
2486
2931
  indexes?: ReadonlyArray<ModelOptionsIndexes>;
2932
+ vectorIndexes?: ReadonlyArray<VectorIndexDefinition>;
2487
2933
  }
2488
2934
  interface SchemaFieldIndex {
2489
2935
  type?: MongoIndexType | PostgresIndexType;
@@ -2530,16 +2976,71 @@ interface PostgresIndexOptions {
2530
2976
  [opt: string]: any;
2531
2977
  };
2532
2978
  }
2533
-
2534
- type Indexable = {
2535
- [key: string]: any;
2536
- };
2537
- type Params = Indexable;
2538
- type Document$1 = Indexable;
2539
- type Route = Indexable;
2540
- type Headers$1 = Indexable;
2541
- type Context = Indexable;
2542
- type Cookies = Indexable;
2979
+ interface VectorIndexDefinition {
2980
+ name?: string;
2981
+ field: string;
2982
+ dimensions: number;
2983
+ similarity: VectorSimilarity;
2984
+ method?: VectorIndexMethod;
2985
+ filterFields?: string[];
2986
+ status?: VectorIndexStatus;
2987
+ queryable?: boolean;
2988
+ options?: {
2989
+ numCandidates?: number;
2990
+ quantization?: 'none' | 'scalar' | 'binary';
2991
+ hnsw?: {
2992
+ maxEdges?: number;
2993
+ numEdgeCandidates?: number;
2994
+ m?: number;
2995
+ efConstruction?: number;
2996
+ };
2997
+ ivfflat?: {
2998
+ lists?: number;
2999
+ probes?: number;
3000
+ };
3001
+ storedSource?: boolean | {
3002
+ include?: string[];
3003
+ exclude?: string[];
3004
+ };
3005
+ };
3006
+ }
3007
+ interface VectorCapabilities {
3008
+ supported: boolean;
3009
+ storage: boolean;
3010
+ indexing: boolean;
3011
+ search: boolean;
3012
+ provider: 'mongodb' | 'postgres' | 'unsupported';
3013
+ reason?: string;
3014
+ }
3015
+ interface VectorSearchInput {
3016
+ schemaName: string;
3017
+ field: string;
3018
+ vector: number[];
3019
+ indexName?: string;
3020
+ filter?: Indexable;
3021
+ limit?: number;
3022
+ numCandidates?: number;
3023
+ select?: string;
3024
+ userId?: string;
3025
+ scope?: string;
3026
+ adminOperator?: boolean;
3027
+ }
3028
+ interface VectorSearchResult<T = Indexable> {
3029
+ document: T;
3030
+ /**
3031
+ * Provider-neutral, higher-is-better similarity.
3032
+ *
3033
+ * Cosine is normalized so identical vectors score `1` (Postgres cosine
3034
+ * distance is converted with `1 - distance`). Euclidean and inner-product
3035
+ * scores are also higher-is-better ranking values, but they are **not**
3036
+ * comparable across Mongo Atlas Vector Search and pgvector.
3037
+ */
3038
+ score: number;
3039
+ /** Raw backend distance or provider score before Conduit normalization. */
3040
+ distance?: number;
3041
+ metric?: VectorSimilarity;
3042
+ provider?: VectorSearchProvider;
3043
+ }
2543
3044
 
2544
3045
  interface ModuleErrorDefinition {
2545
3046
  grpcCode: number;
@@ -2754,7 +3255,15 @@ type pushQuery<T> = {
2754
3255
  type setQuery<T> = {
2755
3256
  $set: simpleQuery<T>;
2756
3257
  };
2757
- type Query<T> = simpleQuery<T> | pushQuery<T> | setQuery<T> | conditionalQuery<T>;
3258
+ type numericDocumentKeys<T> = {
3259
+ [K in keyof T]-?: NonNullable<T[K]> extends number ? K : never;
3260
+ }[keyof T];
3261
+ type incQuery<T> = {
3262
+ $inc: {
3263
+ [K in numericDocumentKeys<T>]?: number;
3264
+ };
3265
+ };
3266
+ type Query<T> = simpleQuery<T> | pushQuery<T> | setQuery<T> | incQuery<T> | conditionalQuery<T>;
2758
3267
 
2759
3268
  type AuthzOptions = {
2760
3269
  userId?: string;
@@ -2762,6 +3271,16 @@ type AuthzOptions = {
2762
3271
  };
2763
3272
  type PopulateAuthzOptions = {
2764
3273
  populate?: string | string[];
3274
+ /**
3275
+ * When true, Database skips publishing the mutation event.
3276
+ * Existing callers omit this and keep the default publish behavior.
3277
+ */
3278
+ suppressEvent?: boolean;
3279
+ /**
3280
+ * When true, Database verifies the caller is the embeddings module
3281
+ * and restricts the write to embeddings-owned vector/hash fields.
3282
+ */
3283
+ embeddingsJob?: boolean;
2765
3284
  } & AuthzOptions;
2766
3285
 
2767
3286
  type PeerWatchEdge = 'rising' | 'falling' | 'both';
@@ -3039,6 +3558,8 @@ type FindOneOptions = {
3039
3558
  userId?: string;
3040
3559
  scope?: string;
3041
3560
  readPreference?: string;
3561
+ embeddingsJob?: boolean;
3562
+ embeddingsAllowedFields?: string[];
3042
3563
  };
3043
3564
  type FindManyOptions = {
3044
3565
  select?: string;
@@ -3089,6 +3610,11 @@ declare class DatabaseProvider extends ConduitModule<typeof DatabaseProviderDefi
3089
3610
  deleteMany<T>(schemaName: string, query: Query<T>, options?: AuthzOptions): Promise<any>;
3090
3611
  countDocuments<T>(schemaName: string, query: Query<T>, options?: CountDocumentsOptions): Promise<number>;
3091
3612
  rawQuery(schemaName: string, query: RawQuery): Promise<any>;
3613
+ getVectorCapabilities(schemaName?: string): Promise<VectorCapabilities>;
3614
+ createVectorIndex(schemaName: string, index: VectorIndexDefinition): Promise<string>;
3615
+ getVectorIndexes(schemaName: string): Promise<VectorIndexDefinition[]>;
3616
+ deleteVectorIndex(schemaName: string, indexName: string): Promise<string>;
3617
+ vectorSearch<T = Indexable>(request: VectorSearchInput): Promise<VectorSearchResult<T>[]>;
3092
3618
  createView(schemaName: string, viewName: string, joinedSchemas: string[], query: {
3093
3619
  mongoQuery?: Indexable;
3094
3620
  sqlQuery?: string;
@@ -3101,6 +3627,124 @@ declare class DatabaseProvider extends ConduitModule<typeof DatabaseProviderDefi
3101
3627
  private constructSortObj;
3102
3628
  }
3103
3629
 
3630
+ interface EmbeddingConfigInput {
3631
+ schemaName: string;
3632
+ sourceFields: string[];
3633
+ targetField: string;
3634
+ provider?: string;
3635
+ model?: string;
3636
+ dimensions?: number;
3637
+ similarity?: string;
3638
+ sourceFieldAllowlist?: string[];
3639
+ enabled?: boolean;
3640
+ }
3641
+ interface EmbeddingConfigRecord {
3642
+ id: string;
3643
+ schemaName: string;
3644
+ sourceFields: string[];
3645
+ targetField: string;
3646
+ provider: string;
3647
+ model: string;
3648
+ dimensions: number;
3649
+ similarity: string;
3650
+ enabled: boolean;
3651
+ createdAt?: string;
3652
+ updatedAt?: string;
3653
+ }
3654
+ interface QueueCounts {
3655
+ waiting: number;
3656
+ active: number;
3657
+ completed: number;
3658
+ failed: number;
3659
+ delayed: number;
3660
+ paused: number;
3661
+ }
3662
+ interface EmbeddingsStatus {
3663
+ enabled: boolean;
3664
+ ready: boolean;
3665
+ capabilities: VectorCapabilities;
3666
+ generationQueue: QueueCounts;
3667
+ backfillQueue: QueueCounts;
3668
+ warnings: string[];
3669
+ }
3670
+ interface BackfillRunRecord {
3671
+ id: string;
3672
+ schemaName: string;
3673
+ configId?: string;
3674
+ state: string;
3675
+ cursor?: string;
3676
+ batchSize: number;
3677
+ onlyMissing: boolean;
3678
+ filter?: Indexable;
3679
+ scannedCount: number;
3680
+ queuedCount: number;
3681
+ processedCount: number;
3682
+ failedCount: number;
3683
+ startedAt?: string;
3684
+ finishedAt?: string;
3685
+ error?: string;
3686
+ createdAt?: string;
3687
+ updatedAt?: string;
3688
+ }
3689
+ interface StartBackfillInput {
3690
+ schemaName: string;
3691
+ batchSize?: number;
3692
+ configId?: string;
3693
+ onlyMissing?: boolean;
3694
+ filter?: Indexable;
3695
+ }
3696
+ interface SemanticSearchInput {
3697
+ schemaName: string;
3698
+ text: string;
3699
+ targetField?: string;
3700
+ filter?: Indexable;
3701
+ limit?: number;
3702
+ userId?: string;
3703
+ scope?: string;
3704
+ adminOperator?: boolean;
3705
+ }
3706
+ declare class EmbeddingsProvider extends ConduitModule<typeof EmbeddingsProviderDefinition> {
3707
+ private readonly moduleName;
3708
+ constructor(moduleName: string, url: string, grpcToken?: string);
3709
+ upsertConfig(config: EmbeddingConfigInput): Promise<{
3710
+ config: EmbeddingConfigRecord;
3711
+ warnings: string[];
3712
+ }>;
3713
+ getConfigs(query?: {
3714
+ schemaName?: string;
3715
+ id?: string;
3716
+ }): Promise<EmbeddingConfigRecord[]>;
3717
+ deleteConfig(query: {
3718
+ id?: string;
3719
+ schemaName?: string;
3720
+ targetField?: string;
3721
+ }): Promise<EmbeddingConfigRecord>;
3722
+ getCapabilities(schemaName?: string): Promise<{
3723
+ capabilities: VectorCapabilities;
3724
+ warnings: string[];
3725
+ }>;
3726
+ getStatus(schemaName?: string): Promise<EmbeddingsStatus>;
3727
+ startBackfill(input: StartBackfillInput): Promise<{
3728
+ queued: number;
3729
+ runs: BackfillRunRecord[];
3730
+ warnings: string[];
3731
+ }>;
3732
+ getBackfill(id: string): Promise<BackfillRunRecord>;
3733
+ listBackfills(query?: {
3734
+ schemaName?: string;
3735
+ state?: string;
3736
+ configId?: string;
3737
+ skip?: number;
3738
+ limit?: number;
3739
+ }): Promise<{
3740
+ runs: BackfillRunRecord[];
3741
+ count: number;
3742
+ }>;
3743
+ cancelBackfill(id: string): Promise<BackfillRunRecord>;
3744
+ resumeBackfill(id: string): Promise<BackfillRunRecord>;
3745
+ semanticSearch<T = Indexable>(input: SemanticSearchInput): Promise<VectorSearchResult<T>[]>;
3746
+ }
3747
+
3104
3748
  declare class Config extends ConduitModule<typeof ConfigDefinition> {
3105
3749
  readonly url: string;
3106
3750
  private readonly emitter;
@@ -3186,6 +3830,7 @@ declare class Chat extends ConduitModule<typeof ChatDefinition> {
3186
3830
  private readonly moduleName;
3187
3831
  constructor(moduleName: string, url: string, grpcToken?: string);
3188
3832
  sendMessage(messageData: SendMessageInput): Promise<any>;
3833
+ editMessage(messageData: EditMessageRequest): Promise<any>;
3189
3834
  createRoom(name: string, participants: string[]): Promise<Room>;
3190
3835
  deleteRoom(id: string): Promise<Room>;
3191
3836
  }
@@ -3433,6 +4078,11 @@ declare class StateManager {
3433
4078
  tryAcquireLock(resource: string, ttl?: number): Promise<Lock | null>;
3434
4079
  releaseLock(lock: Lock): Promise<void>;
3435
4080
  withLock<T>(resource: string, ttl: number, fn: () => Promise<T>): Promise<T>;
4081
+ /**
4082
+ * Auto-extends the lease while `fn` runs. `fn` must check `signal.aborted`
4083
+ * after awaited work and must not publish a result after the lease is lost.
4084
+ */
4085
+ usingLock<T>(resource: string, ttl: number, fn: (signal: AbortSignal) => Promise<T>): Promise<T>;
3436
4086
  modifyState(modifier: (state: Indexable) => Promise<Indexable>): Promise<void>;
3437
4087
  setState(stateObj: any): Promise<"OK">;
3438
4088
  getState(): Promise<string | null>;
@@ -3496,6 +4146,7 @@ declare class ConduitGrpcSdk {
3496
4146
  get router(): Router | null;
3497
4147
  get database(): DatabaseProvider | null;
3498
4148
  get databaseProvider(): DatabaseProvider | null;
4149
+ get embeddings(): EmbeddingsProvider | null;
3499
4150
  get storage(): Storage | null;
3500
4151
  get emailProvider(): Email | null;
3501
4152
  get pushNotifications(): PushNotifications | null;
@@ -3544,4 +4195,4 @@ declare class ConduitGrpcSdk {
3544
4195
  private _initialize;
3545
4196
  }
3546
4197
 
3547
- export { Admin, AdminDefinition, AdminRouterDefinition, AllowedResourcesRequest, AllowedResourcesResponse, AnonymousUserCreateRequest, type Array$1 as Array, type ArrayConduitModel, Attachment, Authentication, AuthenticationDefinition, Authorization, AuthorizationDefinition, type AuthzOptions, type AwaitPeerOptions, type BasicConduitModelField, type BodyParams, Chat, ChatDefinition, ClientRouterDefinition, ColumnExistenceRequest, ColumnExistenceResponse, Communications, CommunicationsDefinition, type ConduitArrayValidation, ConduitAuthorizedResource, ConduitError, ConduitGrpcSdk, type ConduitMiddlewareOptions, type ConduitModel, type ConduitModelField, type ConduitModelFieldEnum, type ConduitModelFieldJSON, type ConduitModelFieldRelation, ConduitModelOptionsPermModifyType, ConduitModule, ConduitModuleDefinition, type ConduitNumberValidation, type ConduitQueryParam, type ConduitQueryParams, type ConduitReturn, type ConduitReturnField, type ConduitReturnModel, type ConduitRoute, ConduitRouteActions, type ConduitRouteObject, type ConduitRouteOptions, type ConduitRouteParameters, ConduitRouteReturnDefinition, ConduitSchema, type ConduitSchemaExtension, type ConduitSchemaOptions, type ConduitSocketOptions, type ConduitSocketParamTypes, type ConduitStringValidation, type ConduitUrlParam, type ConduitUrlParams, type ConduitValidationRules, Config, ConfigDefinition, type Context, Cookie, CookieOptions, type Cookies, Core, CoreDefinition, type CountDocumentsOptions, CreateFileByUrlRequest, CreateFileRequest, CreateRelationsRequest, CreateRoomRequest, CreateSchemaRequest, CreateTeamRequest, CreateViewRequest, CreateViewRequest_RawQuery, DatabaseProvider, DatabaseProviderDefinition, Decision, DeleteAllRelationsRequest, DeleteCommunicationTemplateRequest, DeleteCommunicationTemplateResponse, DeleteConfigRequest, DeleteFileResponse, DeleteResourceRequest, DeleteRoomRequest, DeleteViewRequest, type Document$1 as Document, DropCollectionRequest, DropCollectionResponse, Email, type EventsProtoDescription, ExportResourcesRequest, ExportResourcesResponse, FileByUrlResponse, FileResponse, type FindManyOptions, type FindOneOptions, FindOneRequest, FindRelationRequest, FindRelationResponse, FindRequest, FindRequest_SortEntry, GetCommunicationTemplateRequest, GetCommunicationTemplateResponse, GetConfigRequest, GetConfigResponse, GetDatabaseTypeResponse, GetEmailStatusRequest, GetEmailStatusResponse, GetExportableResourcesRequest, GetExportableResourcesResponse, GetFileDataResponse, GetFileRequest, GetFileUrlRequest, GetFileUrlResponse, GetMessageStatusRequest, GetMessageStatusResponse, GetNotificationTokensRequest, GetNotificationTokensResponse, GetRedisDetailsResponse, GetRoomResponse, GetSchemaRequest, GetSchemasRequest, GetSchemasResponse, GetTeamRequest, type GrpcCallback, GrpcError, type GrpcRequest, type GrpcResponse, type Headers$1 as Headers, HealthCheckRequest, HealthCheckResponse, HealthCheckResponse_ServingStatus, HealthCheckStatus, HealthDefinition, type IConduitLogger, type IConduitMetrics, ImportResourcesRequest, ImportResourcesResponse, type Indexable, InvitationDeleteRequest, InvitationDeleteResponse, InviteUserToTeamRequest, InviteUserToTeamResponse, ListCommunicationTemplatesRequest, ListCommunicationTemplatesResponse, MetricType, MigrateRequest, type ModelOptionsIndexes, ModifyTeamMembersRequest, ModuleByNameRequest, ModuleByNameResponse, type ModuleErrorDefinition, ModuleExistsRequest, ModuleExistsResponse, ModuleHealthRequest, ModuleListResponse, ModuleListResponse_ModuleResponse, type MongoIndexOptions, MongoIndexType, type Params, type ParsedRouterRequest, type ParsedSocketRequest, PatchAppRouteMiddlewaresRequest, PatchRouteMiddlewaresRequest, type PeerWatchBatchOptions, type PeerWatchEdge, type PeerWatchOptions, type PeerWatchSpec, PermissionCheck, PermissionRequest, PlatformTypesEnum, type PopulateAuthzOptions, type PostgresIndexOptions, PostgresIndexType, PushNotifications, type Query, type QueryParams, QueryRequest, QueryResponse, type RateLimitOptions, type RawMongoQuery, type RawQuery, RawQueryRequest, RawQueryRequest_RawQuery, RawQueryRequest_RawQuery_MongoQuery, RawQueryRequest_RawQuery_SQLQuery, type RawSQLQuery, RegisterAdminRouteRequest, RegisterAdminRouteRequest_ConduitRouteOptions, RegisterAdminRouteRequest_ConduitRouteReturnDefinition, RegisterAdminRouteRequest_ErrorDefinition, RegisterAdminRouteRequest_PathDefinition, RegisterCommunicationTemplateRequest, RegisterCommunicationTemplateRequest_CommunicationTemplate, RegisterCommunicationTemplateRequest_CommunicationTemplate_EmailTemplate, RegisterCommunicationTemplateRequest_CommunicationTemplate_PushTemplate, RegisterCommunicationTemplateRequest_CommunicationTemplate_SmsTemplate, RegisterCommunicationTemplateResponse, RegisterConduitRouteRequest, RegisterConduitRouteRequest_ConduitRouteOptions, RegisterConduitRouteRequest_ConduitRouteReturnDefinition, RegisterConduitRouteRequest_ErrorDefinition, RegisterConduitRouteRequest_PathDefinition, RegisterModuleRequest, RegisterModuleResponse, RegisterModulesConfigRequest, RegisterTemplateRequest, RegisterTemplateResponse, Relation, Request, ResendEmailRequest, ResendEmailResponse, Resource, ResourceAccessListRequest, ResourceAccessListResponse, ResourceModificationAcknowledgement, ResourceModificationAcknowledgement_Status, Resource_Permission, Resource_Relation, Response, Room, type Route, Router, RouterDefinition, SMS, SQLDataType, Schema, SchemaExtension, type SchemaFieldIndex, SendCommunicationRequest, SendCommunicationRequest_SendCommunicationParams, SendCommunicationResponse, SendEmailRequest, SendEmailRequest_SendEmailParams, SendEmailResponse, SendManyNotificationsRequest, type SendMessageInput, SendMessageRequest, SendNotificationRequest, SendNotificationResponse, SendNotificationToManyDevicesRequest, SendSmsRequest, SendSmsResponse, SendToMultipleChannelsRequest, SendToMultipleChannelsRequest_SendCommunicationParams, SendToMultipleChannelsResponse, SendToMultipleChannelsResponse_ChannelResult, SendVerificationCodeRequest, SendVerificationCodeResponse, SendWithFallbackRequest, SendWithFallbackRequest_FallbackStep, SendWithFallbackRequest_SendCommunicationParams, SendWithFallbackResponse, SendWithFallbackResponse_ChannelResult, SetConfigRequest, SetConfigResponse, SetNotificationTokenRequest, SetNotificationTokenResponse, SocketData, type SocketProtoDescription, SocketRequest, SocketResponse, Storage, StorageDefinition, TYPE, Team, TeamDeleteRequest, TeamDeleteResponse, type UnparsedRouterResponse, type UnparsedSocketResponse, type UntypedArray, UpdateCommunicationTemplateRequest, UpdateConfigRequest, UpdateConfigResponse, UpdateFileByUrlRequest, UpdateFileRequest, UpdateManyRequest, UpdateRequest, UpdateTeamRequest, UpdateTemplateRequest, type UrlParams, UserChangePass, UserCreateByUsernameRequest, UserCreateRequest, UserCreateResponse, UserDeleteRequest, UserDeleteResponse, UserLoginRequest, UserLoginResponse, UserModifyStatusRequest, UserModifyStatusResponse, ValidateAccessTokenRequest, ValidateAccessTokenResponse, ValidateAccessTokenResponse_Status, VerifyRequest, VerifyResponse, type allowedTypes, checkModuleHealth, healthCheckResponse_ServingStatusFromJSON, healthCheckResponse_ServingStatusToJSON, resourceModificationAcknowledgement_StatusFromJSON, resourceModificationAcknowledgement_StatusToJSON, validateAccessTokenResponse_StatusFromJSON, validateAccessTokenResponse_StatusToJSON };
4198
+ export { Admin, AdminDefinition, AdminRouterDefinition, AllowedResourcesRequest, AllowedResourcesResponse, AnonymousUserCreateRequest, type Array$1 as Array, type ArrayConduitModel, Attachment, Authentication, AuthenticationDefinition, Authorization, AuthorizationDefinition, type AuthzOptions, type AwaitPeerOptions, BackfillMutationResponse, BackfillRun, type BackfillRunRecord, type BasicConduitModelField, type BodyParams, CancelBackfillRequest, Chat, ChatDefinition, ClientRouterDefinition, ColumnExistenceRequest, ColumnExistenceResponse, Communications, CommunicationsDefinition, type ConduitArrayValidation, ConduitAuthorizedResource, ConduitError, ConduitGrpcSdk, type ConduitMiddlewareOptions, type ConduitModel, type ConduitModelField, type ConduitModelFieldEnum, type ConduitModelFieldJSON, type ConduitModelFieldRelation, type ConduitModelFieldVector, ConduitModelOptionsPermModifyType, ConduitModule, ConduitModuleDefinition, type ConduitNumberValidation, type ConduitQueryParam, type ConduitQueryParams, type ConduitReturn, type ConduitReturnField, type ConduitReturnModel, type ConduitRoute, ConduitRouteActions, type ConduitRouteObject, type ConduitRouteOptions, type ConduitRouteParameters, ConduitRouteReturnDefinition, ConduitSchema, type ConduitSchemaExtension, type ConduitSchemaOptions, type ConduitSocketOptions, type ConduitSocketParamTypes, type ConduitStringValidation, type ConduitUrlParam, type ConduitUrlParams, type ConduitValidationRules, Config, ConfigDefinition, type Context, Cookie, CookieOptions, type Cookies, Core, CoreDefinition, type CountDocumentsOptions, CreateFileByUrlRequest, CreateFileRequest, CreateRelationsRequest, CreateRoomRequest, CreateSchemaRequest, CreateTeamRequest, CreateViewRequest, CreateViewRequest_RawQuery, DatabaseProvider, DatabaseProviderDefinition, Decision, DeleteAllRelationsRequest, DeleteCommunicationTemplateRequest, DeleteCommunicationTemplateResponse, DeleteConfigRequest, DeleteEmbeddingConfigRequest, DeleteEmbeddingConfigResponse, DeleteFileResponse, DeleteResourceRequest, DeleteRoomRequest, DeleteVectorIndexRequest, DeleteViewRequest, type Document$1 as Document, DropCollectionRequest, DropCollectionResponse, EditMessageRequest, Email, EmbeddingConfig, type EmbeddingConfigInput, type EmbeddingConfigRecord, EmbeddingsProvider, EmbeddingsProviderDefinition, type EmbeddingsStatus, type EventsProtoDescription, ExportResourcesRequest, ExportResourcesResponse, FileByUrlResponse, FileResponse, type FindManyOptions, type FindOneOptions, FindOneRequest, FindRelationRequest, FindRelationResponse, FindRequest, FindRequest_SortEntry, GetBackfillRequest, GetCapabilitiesRequest, GetCapabilitiesResponse, GetCommunicationTemplateRequest, GetCommunicationTemplateResponse, GetConfigRequest, GetConfigResponse, GetConfigsRequest, GetConfigsResponse, GetDatabaseTypeResponse, GetEmailStatusRequest, GetEmailStatusResponse, GetExportableResourcesRequest, GetExportableResourcesResponse, GetFileDataResponse, GetFileRequest, GetFileUrlRequest, GetFileUrlResponse, GetMessageStatusRequest, GetMessageStatusResponse, GetNotificationTokensRequest, GetNotificationTokensResponse, GetRedisDetailsResponse, GetRoomResponse, GetSchemaRequest, GetSchemasRequest, GetSchemasResponse, GetStatusRequest, GetStatusResponse, GetTeamRequest, type GrpcCallback, GrpcError, type GrpcRequest, type GrpcResponse, type Headers$1 as Headers, HealthCheckRequest, HealthCheckResponse, HealthCheckResponse_ServingStatus, HealthCheckStatus, HealthDefinition, type IConduitLogger, type IConduitMetrics, ImportResourcesRequest, ImportResourcesResponse, type Indexable, InvitationDeleteRequest, InvitationDeleteResponse, InviteUserToTeamRequest, InviteUserToTeamResponse, ListBackfillsRequest, ListBackfillsResponse, ListCommunicationTemplatesRequest, ListCommunicationTemplatesResponse, MetricType, MigrateRequest, type ModelOptionsIndexes, ModifyTeamMembersRequest, ModuleByNameRequest, ModuleByNameResponse, type ModuleErrorDefinition, ModuleExistsRequest, ModuleExistsResponse, ModuleHealthRequest, ModuleListResponse, ModuleListResponse_ModuleResponse, type MongoIndexOptions, MongoIndexType, type Params, type ParsedRouterRequest, type ParsedSocketRequest, PatchAppRouteMiddlewaresRequest, PatchRouteMiddlewaresRequest, type PeerWatchBatchOptions, type PeerWatchEdge, type PeerWatchOptions, type PeerWatchSpec, PermissionCheck, PermissionRequest, PlatformTypesEnum, type PopulateAuthzOptions, type PostgresIndexOptions, PostgresIndexType, PushNotifications, type Query, type QueryParams, QueryRequest, QueryResponse, type QueueCounts, type RateLimitOptions, type RawMongoQuery, type RawQuery, RawQueryRequest, RawQueryRequest_RawQuery, RawQueryRequest_RawQuery_MongoQuery, RawQueryRequest_RawQuery_SQLQuery, type RawSQLQuery, RegisterAdminRouteRequest, RegisterAdminRouteRequest_ConduitRouteOptions, RegisterAdminRouteRequest_ConduitRouteReturnDefinition, RegisterAdminRouteRequest_ErrorDefinition, RegisterAdminRouteRequest_PathDefinition, RegisterCommunicationTemplateRequest, RegisterCommunicationTemplateRequest_CommunicationTemplate, RegisterCommunicationTemplateRequest_CommunicationTemplate_EmailTemplate, RegisterCommunicationTemplateRequest_CommunicationTemplate_PushTemplate, RegisterCommunicationTemplateRequest_CommunicationTemplate_SmsTemplate, RegisterCommunicationTemplateResponse, RegisterConduitRouteRequest, RegisterConduitRouteRequest_ConduitRouteOptions, RegisterConduitRouteRequest_ConduitRouteReturnDefinition, RegisterConduitRouteRequest_ErrorDefinition, RegisterConduitRouteRequest_PathDefinition, RegisterModuleRequest, RegisterModuleResponse, RegisterModulesConfigRequest, RegisterTemplateRequest, RegisterTemplateResponse, Relation, Request, ResendEmailRequest, ResendEmailResponse, Resource, ResourceAccessListRequest, ResourceAccessListResponse, ResourceModificationAcknowledgement, ResourceModificationAcknowledgement_Status, Resource_Permission, Resource_Relation, Response, ResumeBackfillRequest, Room, type Route, Router, RouterDefinition, SMS, SQLDataType, Schema, SchemaExtension, type SchemaFieldIndex, SemanticSearchHit, type SemanticSearchInput, SemanticSearchRequest, SemanticSearchResponse, SendCommunicationRequest, SendCommunicationRequest_SendCommunicationParams, SendCommunicationResponse, SendEmailRequest, SendEmailRequest_SendEmailParams, SendEmailResponse, SendManyNotificationsRequest, type SendMessageInput, SendMessageRequest, SendNotificationRequest, SendNotificationResponse, SendNotificationToManyDevicesRequest, SendSmsRequest, SendSmsResponse, SendToMultipleChannelsRequest, SendToMultipleChannelsRequest_SendCommunicationParams, SendToMultipleChannelsResponse, SendToMultipleChannelsResponse_ChannelResult, SendVerificationCodeRequest, SendVerificationCodeResponse, SendWithFallbackRequest, SendWithFallbackRequest_FallbackStep, SendWithFallbackRequest_SendCommunicationParams, SendWithFallbackResponse, SendWithFallbackResponse_ChannelResult, SetConfigRequest, SetConfigResponse, SetNotificationTokenRequest, SetNotificationTokenResponse, SocketData, type SocketProtoDescription, SocketRequest, SocketResponse, type StartBackfillInput, StartBackfillRequest, StartBackfillResponse, Storage, StorageDefinition, TYPE, Team, TeamDeleteRequest, TeamDeleteResponse, type UnparsedRouterResponse, type UnparsedSocketResponse, type UntypedArray, UpdateCommunicationTemplateRequest, UpdateConfigRequest, UpdateConfigResponse, UpdateFileByUrlRequest, UpdateFileRequest, UpdateManyRequest, UpdateRequest, UpdateTeamRequest, UpdateTemplateRequest, UpsertConfigRequest, UpsertConfigResponse, type UrlParams, UserChangePass, UserCreateByUsernameRequest, UserCreateRequest, UserCreateResponse, UserDeleteRequest, UserDeleteResponse, UserLoginRequest, UserLoginResponse, UserModifyStatusRequest, UserModifyStatusResponse, ValidateAccessTokenRequest, ValidateAccessTokenResponse, ValidateAccessTokenResponse_Status, type VectorCapabilities, VectorCapabilitiesRequest, VectorCapabilitiesResponse, VectorIndex, type VectorIndexDefinition, VectorIndexListRequest, VectorIndexListResponse, VectorIndexMethod, VectorIndexRequest, VectorIndexStatus, type VectorSearchInput, type VectorSearchProvider, VectorSearchRequest, type VectorSearchResult, VectorSimilarity, VerifyRequest, VerifyResponse, type allowedTypes, checkModuleHealth, defaultVectorIndexMethod, healthCheckResponse_ServingStatusFromJSON, healthCheckResponse_ServingStatusToJSON, resourceModificationAcknowledgement_StatusFromJSON, resourceModificationAcknowledgement_StatusToJSON, validateAccessTokenResponse_StatusFromJSON, validateAccessTokenResponse_StatusToJSON, vectorIndexMethodsEquivalent };