@producerflow/producerflowapi 0.0.11 → 0.0.13
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.
|
@@ -7,6 +7,34 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
7
7
|
* Describes the file producerflow/producer/v1/producer.proto.
|
|
8
8
|
*/
|
|
9
9
|
export declare const file_producerflow_producer_v1_producer: GenFile;
|
|
10
|
+
/**
|
|
11
|
+
* Pagination provides page token and page size for paginating list results.
|
|
12
|
+
*
|
|
13
|
+
* @generated from message producerflow.producer.v1.Pagination
|
|
14
|
+
*/
|
|
15
|
+
export type Pagination = Message<"producerflow.producer.v1.Pagination"> & {
|
|
16
|
+
/**
|
|
17
|
+
* The maximum number of items to return. The service may return fewer than this value.
|
|
18
|
+
* If unspecified, at most 50 items will be returned.
|
|
19
|
+
* The maximum value is 200; values above 200 will be rejected.
|
|
20
|
+
*
|
|
21
|
+
* @generated from field: int32 page_size = 1;
|
|
22
|
+
*/
|
|
23
|
+
pageSize: number;
|
|
24
|
+
/**
|
|
25
|
+
* A page token, received from a previous list call.
|
|
26
|
+
* Provide this to retrieve the subsequent page.
|
|
27
|
+
* When paginating, all other parameters must match the call that provided the page token.
|
|
28
|
+
*
|
|
29
|
+
* @generated from field: string page_token = 2;
|
|
30
|
+
*/
|
|
31
|
+
pageToken: string;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Describes the message producerflow.producer.v1.Pagination.
|
|
35
|
+
* Use `create(PaginationSchema)` to create a new message.
|
|
36
|
+
*/
|
|
37
|
+
export declare const PaginationSchema: GenMessage<Pagination>;
|
|
10
38
|
/**
|
|
11
39
|
* Address represents a physical location with standard address components.
|
|
12
40
|
* Used for mailing, physical, and invoicing addresses throughout the API.
|
|
@@ -182,7 +210,18 @@ export declare const CreateAgencyOnboardingURLRequest_AgencySchema: GenMessage<C
|
|
|
182
210
|
*/
|
|
183
211
|
export type CreateAgencyOnboardingURLRequest_Agency_Principal = Message<"producerflow.producer.v1.CreateAgencyOnboardingURLRequest.Agency.Principal"> & {
|
|
184
212
|
/**
|
|
185
|
-
*
|
|
213
|
+
* Optional. External identifier for the principal in the tenant's system.
|
|
214
|
+
* This field allows tenants to maintain a reference to their own internal ID
|
|
215
|
+
* for this principal, enabling bi-directional synchronization between ProducerFlow
|
|
216
|
+
* and the tenant's system.
|
|
217
|
+
*
|
|
218
|
+
* Usage:
|
|
219
|
+
* - Provide this when you have an existing identifier for the principal in your system
|
|
220
|
+
* - Omit if you don't need to track a reference to your internal system
|
|
221
|
+
* - This is independent of ProducerFlow's internal IDs and the authentication tenant context
|
|
222
|
+
*
|
|
223
|
+
* Format: Any string identifier that is meaningful in your system (e.g., "USR-12345", "uuid")
|
|
224
|
+
* Validation: Maximum length of 255 characters
|
|
186
225
|
*
|
|
187
226
|
* @generated from field: string tenant_id = 1;
|
|
188
227
|
*/
|
|
@@ -253,6 +292,124 @@ export type CreateAgencyOnboardingURLResponse = Message<"producerflow.producer.v
|
|
|
253
292
|
* Use `create(CreateAgencyOnboardingURLResponseSchema)` to create a new message.
|
|
254
293
|
*/
|
|
255
294
|
export declare const CreateAgencyOnboardingURLResponseSchema: GenMessage<CreateAgencyOnboardingURLResponse>;
|
|
295
|
+
/**
|
|
296
|
+
* @generated from message producerflow.producer.v1.CreateProducerOnboardingURLRequest
|
|
297
|
+
*/
|
|
298
|
+
export type CreateProducerOnboardingURLRequest = Message<"producerflow.producer.v1.CreateProducerOnboardingURLRequest"> & {
|
|
299
|
+
/**
|
|
300
|
+
* Agency ID for which the producer will be onboarded
|
|
301
|
+
*
|
|
302
|
+
* @generated from field: string agency_id = 1;
|
|
303
|
+
*/
|
|
304
|
+
agencyId: string;
|
|
305
|
+
/**
|
|
306
|
+
* Optional producer data to pre-fill in the onboarding form
|
|
307
|
+
*
|
|
308
|
+
* @generated from field: producerflow.producer.v1.ProducerData producer_data = 2;
|
|
309
|
+
*/
|
|
310
|
+
producerData?: ProducerData;
|
|
311
|
+
};
|
|
312
|
+
/**
|
|
313
|
+
* Describes the message producerflow.producer.v1.CreateProducerOnboardingURLRequest.
|
|
314
|
+
* Use `create(CreateProducerOnboardingURLRequestSchema)` to create a new message.
|
|
315
|
+
*/
|
|
316
|
+
export declare const CreateProducerOnboardingURLRequestSchema: GenMessage<CreateProducerOnboardingURLRequest>;
|
|
317
|
+
/**
|
|
318
|
+
* @generated from message producerflow.producer.v1.ProducerData
|
|
319
|
+
*/
|
|
320
|
+
export type ProducerData = Message<"producerflow.producer.v1.ProducerData"> & {
|
|
321
|
+
/**
|
|
322
|
+
* @generated from field: optional string npn = 1;
|
|
323
|
+
*/
|
|
324
|
+
npn?: string;
|
|
325
|
+
/**
|
|
326
|
+
* First name of the producer
|
|
327
|
+
*
|
|
328
|
+
* @generated from field: optional string first_name = 2;
|
|
329
|
+
*/
|
|
330
|
+
firstName?: string;
|
|
331
|
+
/**
|
|
332
|
+
* Last name of the producer
|
|
333
|
+
*
|
|
334
|
+
* @generated from field: optional string last_name = 3;
|
|
335
|
+
*/
|
|
336
|
+
lastName?: string;
|
|
337
|
+
/**
|
|
338
|
+
* Middle name of the producer
|
|
339
|
+
*
|
|
340
|
+
* @generated from field: optional string middle_name = 4;
|
|
341
|
+
*/
|
|
342
|
+
middleName?: string;
|
|
343
|
+
/**
|
|
344
|
+
* Email address of the producer
|
|
345
|
+
*
|
|
346
|
+
* @generated from field: optional string email = 5;
|
|
347
|
+
*/
|
|
348
|
+
email?: string;
|
|
349
|
+
/**
|
|
350
|
+
* Phone number of the producer
|
|
351
|
+
*
|
|
352
|
+
* @generated from field: optional string phone = 6;
|
|
353
|
+
*/
|
|
354
|
+
phone?: string;
|
|
355
|
+
/**
|
|
356
|
+
* Mailing address of the producer
|
|
357
|
+
*
|
|
358
|
+
* @generated from field: producerflow.producer.v1.ProducerData.Address mailing_address = 7;
|
|
359
|
+
*/
|
|
360
|
+
mailingAddress?: ProducerData_Address;
|
|
361
|
+
};
|
|
362
|
+
/**
|
|
363
|
+
* Describes the message producerflow.producer.v1.ProducerData.
|
|
364
|
+
* Use `create(ProducerDataSchema)` to create a new message.
|
|
365
|
+
*/
|
|
366
|
+
export declare const ProducerDataSchema: GenMessage<ProducerData>;
|
|
367
|
+
/**
|
|
368
|
+
* @generated from message producerflow.producer.v1.ProducerData.Address
|
|
369
|
+
*/
|
|
370
|
+
export type ProducerData_Address = Message<"producerflow.producer.v1.ProducerData.Address"> & {
|
|
371
|
+
/**
|
|
372
|
+
* @generated from field: string street = 1;
|
|
373
|
+
*/
|
|
374
|
+
street: string;
|
|
375
|
+
/**
|
|
376
|
+
* @generated from field: string city = 2;
|
|
377
|
+
*/
|
|
378
|
+
city: string;
|
|
379
|
+
/**
|
|
380
|
+
* @generated from field: string state = 3;
|
|
381
|
+
*/
|
|
382
|
+
state: string;
|
|
383
|
+
/**
|
|
384
|
+
* @generated from field: string zip = 4;
|
|
385
|
+
*/
|
|
386
|
+
zip: string;
|
|
387
|
+
/**
|
|
388
|
+
* @generated from field: string country = 5;
|
|
389
|
+
*/
|
|
390
|
+
country: string;
|
|
391
|
+
};
|
|
392
|
+
/**
|
|
393
|
+
* Describes the message producerflow.producer.v1.ProducerData.Address.
|
|
394
|
+
* Use `create(ProducerData_AddressSchema)` to create a new message.
|
|
395
|
+
*/
|
|
396
|
+
export declare const ProducerData_AddressSchema: GenMessage<ProducerData_Address>;
|
|
397
|
+
/**
|
|
398
|
+
* @generated from message producerflow.producer.v1.CreateProducerOnboardingURLResponse
|
|
399
|
+
*/
|
|
400
|
+
export type CreateProducerOnboardingURLResponse = Message<"producerflow.producer.v1.CreateProducerOnboardingURLResponse"> & {
|
|
401
|
+
/**
|
|
402
|
+
* The secure onboarding URL that can be shared with the producer
|
|
403
|
+
*
|
|
404
|
+
* @generated from field: string onboarding_url = 1;
|
|
405
|
+
*/
|
|
406
|
+
onboardingUrl: string;
|
|
407
|
+
};
|
|
408
|
+
/**
|
|
409
|
+
* Describes the message producerflow.producer.v1.CreateProducerOnboardingURLResponse.
|
|
410
|
+
* Use `create(CreateProducerOnboardingURLResponseSchema)` to create a new message.
|
|
411
|
+
*/
|
|
412
|
+
export declare const CreateProducerOnboardingURLResponseSchema: GenMessage<CreateProducerOnboardingURLResponse>;
|
|
256
413
|
/**
|
|
257
414
|
* NewAgencyRequest contains complete information for creating a new agency
|
|
258
415
|
*
|
|
@@ -463,9 +620,30 @@ export type NewAgencyRequest_Agency_Principal = Message<"producerflow.producer.v
|
|
|
463
620
|
*/
|
|
464
621
|
npn: string;
|
|
465
622
|
/**
|
|
623
|
+
* Optional. External identifier for the principal in the tenant's system.
|
|
624
|
+
* This field allows tenants to maintain a reference to their own internal ID
|
|
625
|
+
* for this principal, enabling bi-directional synchronization between ProducerFlow
|
|
626
|
+
* and the tenant's system.
|
|
627
|
+
*
|
|
628
|
+
* Usage:
|
|
629
|
+
* - Provide this when you have an existing identifier for the principal in your system
|
|
630
|
+
* - Omit if you don't need to track a reference to your internal system
|
|
631
|
+
* - This is independent of ProducerFlow's internal IDs and the authentication tenant context
|
|
632
|
+
*
|
|
633
|
+
* Format: Any string identifier that is meaningful in your system (e.g., "USR-12345", "uuid")
|
|
634
|
+
* Validation: Maximum length of 255 characters
|
|
635
|
+
*
|
|
466
636
|
* @generated from field: string tenant_id = 6;
|
|
467
637
|
*/
|
|
468
638
|
tenantId: string;
|
|
639
|
+
/**
|
|
640
|
+
* Optional. Controls whether the principal should be validated and synced with NIPR.
|
|
641
|
+
* If set to false, the principal's NPN will not be validated against NIPR and the
|
|
642
|
+
* principal will not be synced with NIPR. Defaults to true if not specified.
|
|
643
|
+
*
|
|
644
|
+
* @generated from field: optional bool sync_with_nipr = 7;
|
|
645
|
+
*/
|
|
646
|
+
syncWithNipr?: boolean;
|
|
469
647
|
};
|
|
470
648
|
/**
|
|
471
649
|
* Describes the message producerflow.producer.v1.NewAgencyRequest.Agency.Principal.
|
|
@@ -2789,7 +2967,6 @@ export type NewProducer = Message<"producerflow.producer.v1.NewProducer"> & {
|
|
|
2789
2967
|
email: string;
|
|
2790
2968
|
/**
|
|
2791
2969
|
* National Producer Number (NPN) of the producer.
|
|
2792
|
-
* Optional, but recommended for license verification.
|
|
2793
2970
|
*
|
|
2794
2971
|
* @generated from field: string npn = 4;
|
|
2795
2972
|
*/
|
|
@@ -2809,8 +2986,24 @@ export type NewProducer = Message<"producerflow.producer.v1.NewProducer"> & {
|
|
|
2809
2986
|
*/
|
|
2810
2987
|
mailingAddress?: NewProducer_Address;
|
|
2811
2988
|
/**
|
|
2812
|
-
* External
|
|
2813
|
-
*
|
|
2989
|
+
* Optional. External identifier for the producer in the tenant's system.
|
|
2990
|
+
* This field allows tenants to maintain a reference to their own internal ID
|
|
2991
|
+
* for this producer, enabling bi-directional synchronization between ProducerFlow
|
|
2992
|
+
* and the tenant's system.
|
|
2993
|
+
*
|
|
2994
|
+
* Usage:
|
|
2995
|
+
* - Provide this when you have an existing identifier for the producer in your system
|
|
2996
|
+
* - Omit if you don't need to track a reference to your internal system
|
|
2997
|
+
* - This is independent of ProducerFlow's internal IDs and the authentication tenant context
|
|
2998
|
+
* - Can be used with SetExternalID RPC to update this value after creation
|
|
2999
|
+
*
|
|
3000
|
+
* Common use cases:
|
|
3001
|
+
* - Linking to an existing CRM or AMS system producer ID
|
|
3002
|
+
* - Maintaining synchronization with legacy systems
|
|
3003
|
+
* - Enabling lookups from external systems back to ProducerFlow
|
|
3004
|
+
*
|
|
3005
|
+
* Format: Any string identifier that is meaningful in your system (e.g., "PROD-12345", "uuid")
|
|
3006
|
+
* Validation: Maximum length of 255 characters
|
|
2814
3007
|
*
|
|
2815
3008
|
* @generated from field: string tenant_id = 8;
|
|
2816
3009
|
*/
|
|
@@ -3047,8 +3240,24 @@ export type NewContact = Message<"producerflow.producer.v1.NewContact"> & {
|
|
|
3047
3240
|
*/
|
|
3048
3241
|
role: string;
|
|
3049
3242
|
/**
|
|
3050
|
-
* External
|
|
3051
|
-
*
|
|
3243
|
+
* Optional. External identifier for the contact in the tenant's system.
|
|
3244
|
+
* This field allows tenants to maintain a reference to their own internal ID
|
|
3245
|
+
* for this contact, enabling bi-directional synchronization between ProducerFlow
|
|
3246
|
+
* and the tenant's system.
|
|
3247
|
+
*
|
|
3248
|
+
* Usage:
|
|
3249
|
+
* - Provide this when you have an existing identifier for the contact in your system
|
|
3250
|
+
* - Omit if you don't need to track a reference to your internal system
|
|
3251
|
+
* - This is independent of ProducerFlow's internal IDs and the authentication tenant context
|
|
3252
|
+
* - Can be used with SetExternalID RPC to update this value after creation
|
|
3253
|
+
*
|
|
3254
|
+
* Common use cases:
|
|
3255
|
+
* - Linking to an existing CRM or AMS system contact ID
|
|
3256
|
+
* - Maintaining synchronization with legacy systems
|
|
3257
|
+
* - Enabling lookups from external systems back to ProducerFlow
|
|
3258
|
+
*
|
|
3259
|
+
* Format: Any string identifier that is meaningful in your system (e.g., "CONT-12345", "uuid")
|
|
3260
|
+
* Validation: Maximum length of 255 characters
|
|
3052
3261
|
*
|
|
3053
3262
|
* @generated from field: string tenant_id = 8;
|
|
3054
3263
|
*/
|
|
@@ -3244,8 +3453,33 @@ export type SetExternalIDRequest = Message<"producerflow.producer.v1.SetExternal
|
|
|
3244
3453
|
value?: undefined;
|
|
3245
3454
|
};
|
|
3246
3455
|
/**
|
|
3247
|
-
*
|
|
3248
|
-
*
|
|
3456
|
+
* External identifier to associate with the entity in the tenant's system.
|
|
3457
|
+
* This field allows tenants to maintain a reference to their own internal ID
|
|
3458
|
+
* for the specified entity (producer, agency, contact, or organization), enabling
|
|
3459
|
+
* bi-directional synchronization between ProducerFlow and the tenant's system.
|
|
3460
|
+
*
|
|
3461
|
+
* Purpose:
|
|
3462
|
+
* - Links ProducerFlow entities to corresponding entities in external systems
|
|
3463
|
+
* - Enables lookups and synchronization across systems
|
|
3464
|
+
* - Maintains referential integrity with tenant's internal databases
|
|
3465
|
+
*
|
|
3466
|
+
* Usage:
|
|
3467
|
+
* - Call this RPC after creating an entity if you need to add or update the external reference
|
|
3468
|
+
* - This can also be provided during entity creation for producers and contacts
|
|
3469
|
+
* - This is independent of ProducerFlow's internal IDs and the authentication tenant context
|
|
3470
|
+
*
|
|
3471
|
+
* Relationship to authentication:
|
|
3472
|
+
* - The tenant context is determined by the API key used for authentication
|
|
3473
|
+
* - This tenant_id field is purely for storing the tenant's own external identifier
|
|
3474
|
+
* - Multiple tenants cannot share the same entity; each tenant has their own isolated data
|
|
3475
|
+
*
|
|
3476
|
+
* Common use cases:
|
|
3477
|
+
* - Syncing with CRM systems (e.g., Salesforce IDs, HubSpot IDs)
|
|
3478
|
+
* - Integrating with AMS platforms (e.g., Applied Epic, Vertafore)
|
|
3479
|
+
* - Maintaining references to legacy system identifiers
|
|
3480
|
+
*
|
|
3481
|
+
* Format: Any string identifier that is meaningful in your system (e.g., "SF-001234", "LEGACY-9876")
|
|
3482
|
+
* Validation: Must be non-empty, maximum length of 255 characters
|
|
3249
3483
|
*
|
|
3250
3484
|
* @generated from field: string tenant_id = 4;
|
|
3251
3485
|
*/
|
|
@@ -3582,6 +3816,166 @@ export type StopSyncAgencyWithNIPRResponse = Message<"producerflow.producer.v1.S
|
|
|
3582
3816
|
* Use `create(StopSyncAgencyWithNIPRResponseSchema)` to create a new message.
|
|
3583
3817
|
*/
|
|
3584
3818
|
export declare const StopSyncAgencyWithNIPRResponseSchema: GenMessage<StopSyncAgencyWithNIPRResponse>;
|
|
3819
|
+
/**
|
|
3820
|
+
* AgencySummary contains a lightweight summary of an agency for list views.
|
|
3821
|
+
* This message contains only the essential fields needed for displaying agencies in a list.
|
|
3822
|
+
*
|
|
3823
|
+
* @generated from message producerflow.producer.v1.AgencySummary
|
|
3824
|
+
*/
|
|
3825
|
+
export type AgencySummary = Message<"producerflow.producer.v1.AgencySummary"> & {
|
|
3826
|
+
/**
|
|
3827
|
+
* Unique identifier for the agency.
|
|
3828
|
+
*
|
|
3829
|
+
* @generated from field: string agency_id = 1;
|
|
3830
|
+
*/
|
|
3831
|
+
agencyId: string;
|
|
3832
|
+
/**
|
|
3833
|
+
* Agency name.
|
|
3834
|
+
*
|
|
3835
|
+
* @generated from field: string name = 2;
|
|
3836
|
+
*/
|
|
3837
|
+
name: string;
|
|
3838
|
+
/**
|
|
3839
|
+
* Agency email address.
|
|
3840
|
+
*
|
|
3841
|
+
* @generated from field: string email = 3;
|
|
3842
|
+
*/
|
|
3843
|
+
email: string;
|
|
3844
|
+
/**
|
|
3845
|
+
* Agency phone number.
|
|
3846
|
+
*
|
|
3847
|
+
* @generated from field: string phone = 4;
|
|
3848
|
+
*/
|
|
3849
|
+
phone: string;
|
|
3850
|
+
/**
|
|
3851
|
+
* Agency NPN (National Producer Number).
|
|
3852
|
+
*
|
|
3853
|
+
* @generated from field: string npn = 5;
|
|
3854
|
+
*/
|
|
3855
|
+
npn: string;
|
|
3856
|
+
/**
|
|
3857
|
+
* Agency FEIN (Federal Employer Identification Number).
|
|
3858
|
+
*
|
|
3859
|
+
* @generated from field: string fein = 6;
|
|
3860
|
+
*/
|
|
3861
|
+
fein: string;
|
|
3862
|
+
/**
|
|
3863
|
+
* Organization ID that the agency belongs to.
|
|
3864
|
+
*
|
|
3865
|
+
* @generated from field: optional string organization_id = 7;
|
|
3866
|
+
*/
|
|
3867
|
+
organizationId?: string;
|
|
3868
|
+
/**
|
|
3869
|
+
* Whether this is an internal tenant agency.
|
|
3870
|
+
*
|
|
3871
|
+
* @generated from field: bool is_tenant_agency = 8;
|
|
3872
|
+
*/
|
|
3873
|
+
isTenantAgency: boolean;
|
|
3874
|
+
/**
|
|
3875
|
+
* Whether this is a sole proprietor.
|
|
3876
|
+
*
|
|
3877
|
+
* @generated from field: bool is_sole_proprietor = 9;
|
|
3878
|
+
*/
|
|
3879
|
+
isSoleProprietor: boolean;
|
|
3880
|
+
/**
|
|
3881
|
+
* When the agency was created.
|
|
3882
|
+
*
|
|
3883
|
+
* @generated from field: google.protobuf.Timestamp created_at = 10;
|
|
3884
|
+
*/
|
|
3885
|
+
createdAt?: Timestamp;
|
|
3886
|
+
};
|
|
3887
|
+
/**
|
|
3888
|
+
* Describes the message producerflow.producer.v1.AgencySummary.
|
|
3889
|
+
* Use `create(AgencySummarySchema)` to create a new message.
|
|
3890
|
+
*/
|
|
3891
|
+
export declare const AgencySummarySchema: GenMessage<AgencySummary>;
|
|
3892
|
+
/**
|
|
3893
|
+
* ListAgenciesRequest requests a list of agencies associated with the tenant.
|
|
3894
|
+
* Supports optional filtering and pagination parameters.
|
|
3895
|
+
*
|
|
3896
|
+
* @generated from message producerflow.producer.v1.ListAgenciesRequest
|
|
3897
|
+
*/
|
|
3898
|
+
export type ListAgenciesRequest = Message<"producerflow.producer.v1.ListAgenciesRequest"> & {
|
|
3899
|
+
/**
|
|
3900
|
+
* Optional. Filter agencies by organization ID.
|
|
3901
|
+
* If provided, only agencies belonging to this organization will be returned.
|
|
3902
|
+
*
|
|
3903
|
+
* @generated from field: optional string organization_id = 1;
|
|
3904
|
+
*/
|
|
3905
|
+
organizationId?: string;
|
|
3906
|
+
/**
|
|
3907
|
+
* Optional. Search query to filter agencies by name, NPN, or email.
|
|
3908
|
+
* If provided, only agencies matching the search query will be returned.
|
|
3909
|
+
*
|
|
3910
|
+
* @generated from field: optional string search_query = 2;
|
|
3911
|
+
*/
|
|
3912
|
+
searchQuery?: string;
|
|
3913
|
+
/**
|
|
3914
|
+
* Optional. Pagination parameters.
|
|
3915
|
+
* If not provided, defaults to page_size=50.
|
|
3916
|
+
*
|
|
3917
|
+
* @generated from field: producerflow.producer.v1.Pagination pagination = 3;
|
|
3918
|
+
*/
|
|
3919
|
+
pagination?: Pagination;
|
|
3920
|
+
/**
|
|
3921
|
+
* Optional. Filter by agency type (internal vs external).
|
|
3922
|
+
* If not provided, returns all agencies regardless of type.
|
|
3923
|
+
*
|
|
3924
|
+
* @generated from field: optional producerflow.producer.v1.AgencyType agency_type = 4;
|
|
3925
|
+
*/
|
|
3926
|
+
agencyType?: AgencyType;
|
|
3927
|
+
/**
|
|
3928
|
+
* Optional. Filter by entity type (sole proprietor vs agency).
|
|
3929
|
+
* If not provided, returns all agencies regardless of entity type.
|
|
3930
|
+
*
|
|
3931
|
+
* @generated from field: optional producerflow.producer.v1.EntityType entity_type = 5;
|
|
3932
|
+
*/
|
|
3933
|
+
entityType?: EntityType;
|
|
3934
|
+
/**
|
|
3935
|
+
* Optional. Filter by NIPR sync status.
|
|
3936
|
+
* If not provided, returns all agencies regardless of sync status.
|
|
3937
|
+
*
|
|
3938
|
+
* @generated from field: repeated producerflow.producer.v1.NIPRSyncState nipr_sync_statuses = 6;
|
|
3939
|
+
*/
|
|
3940
|
+
niprSyncStatuses: NIPRSyncState[];
|
|
3941
|
+
};
|
|
3942
|
+
/**
|
|
3943
|
+
* Describes the message producerflow.producer.v1.ListAgenciesRequest.
|
|
3944
|
+
* Use `create(ListAgenciesRequestSchema)` to create a new message.
|
|
3945
|
+
*/
|
|
3946
|
+
export declare const ListAgenciesRequestSchema: GenMessage<ListAgenciesRequest>;
|
|
3947
|
+
/**
|
|
3948
|
+
* ListAgenciesResponse contains the list of agencies matching the filter criteria.
|
|
3949
|
+
*
|
|
3950
|
+
* @generated from message producerflow.producer.v1.ListAgenciesResponse
|
|
3951
|
+
*/
|
|
3952
|
+
export type ListAgenciesResponse = Message<"producerflow.producer.v1.ListAgenciesResponse"> & {
|
|
3953
|
+
/**
|
|
3954
|
+
* List of agency summaries matching the filter criteria.
|
|
3955
|
+
* The agencies are ordered by creation date, most recent first.
|
|
3956
|
+
*
|
|
3957
|
+
* @generated from field: repeated producerflow.producer.v1.AgencySummary agencies = 1;
|
|
3958
|
+
*/
|
|
3959
|
+
agencies: AgencySummary[];
|
|
3960
|
+
/**
|
|
3961
|
+
* A token that can be sent as `page_token` to retrieve the next page.
|
|
3962
|
+
* If this field is omitted, there are no subsequent pages.
|
|
3963
|
+
*
|
|
3964
|
+
* @generated from field: string next_page_token = 2;
|
|
3965
|
+
*/
|
|
3966
|
+
nextPageToken: string;
|
|
3967
|
+
/**
|
|
3968
|
+
* Total number of agencies matching the filter criteria.
|
|
3969
|
+
*
|
|
3970
|
+
* @generated from field: int32 total_count = 3;
|
|
3971
|
+
*/
|
|
3972
|
+
totalCount: number;
|
|
3973
|
+
};
|
|
3974
|
+
/**
|
|
3975
|
+
* Describes the message producerflow.producer.v1.ListAgenciesResponse.
|
|
3976
|
+
* Use `create(ListAgenciesResponseSchema)` to create a new message.
|
|
3977
|
+
*/
|
|
3978
|
+
export declare const ListAgenciesResponseSchema: GenMessage<ListAgenciesResponse>;
|
|
3585
3979
|
/**
|
|
3586
3980
|
* ListOrganizationsRequest requests a list of all organizations associated with the tenant.
|
|
3587
3981
|
* This request requires no parameters and will return all organizations that
|
|
@@ -4097,6 +4491,76 @@ export declare enum EntityType {
|
|
|
4097
4491
|
* Describes the enum producerflow.producer.v1.EntityType.
|
|
4098
4492
|
*/
|
|
4099
4493
|
export declare const EntityTypeSchema: GenEnum<EntityType>;
|
|
4494
|
+
/**
|
|
4495
|
+
* AgencyType defines whether an agency is internal (tenant agency) or external.
|
|
4496
|
+
*
|
|
4497
|
+
* @generated from enum producerflow.producer.v1.AgencyType
|
|
4498
|
+
*/
|
|
4499
|
+
export declare enum AgencyType {
|
|
4500
|
+
/**
|
|
4501
|
+
* Default unspecified value. Do not use.
|
|
4502
|
+
*
|
|
4503
|
+
* @generated from enum value: AGENCY_TYPE_UNSPECIFIED = 0;
|
|
4504
|
+
*/
|
|
4505
|
+
UNSPECIFIED = 0,
|
|
4506
|
+
/**
|
|
4507
|
+
* Internal agencies are the agencies that are tenant agencies.
|
|
4508
|
+
*
|
|
4509
|
+
* @generated from enum value: AGENCY_TYPE_INTERNAL = 1;
|
|
4510
|
+
*/
|
|
4511
|
+
INTERNAL = 1,
|
|
4512
|
+
/**
|
|
4513
|
+
* External agencies are the agencies that are not tenant agencies.
|
|
4514
|
+
*
|
|
4515
|
+
* @generated from enum value: AGENCY_TYPE_EXTERNAL = 2;
|
|
4516
|
+
*/
|
|
4517
|
+
EXTERNAL = 2
|
|
4518
|
+
}
|
|
4519
|
+
/**
|
|
4520
|
+
* Describes the enum producerflow.producer.v1.AgencyType.
|
|
4521
|
+
*/
|
|
4522
|
+
export declare const AgencyTypeSchema: GenEnum<AgencyType>;
|
|
4523
|
+
/**
|
|
4524
|
+
* NIPRSyncState defines the synchronization state with the NIPR system.
|
|
4525
|
+
*
|
|
4526
|
+
* @generated from enum producerflow.producer.v1.NIPRSyncState
|
|
4527
|
+
*/
|
|
4528
|
+
export declare enum NIPRSyncState {
|
|
4529
|
+
/**
|
|
4530
|
+
* Default unspecified value. Do not use.
|
|
4531
|
+
*
|
|
4532
|
+
* @generated from enum value: NIPR_SYNC_STATE_UNSPECIFIED = 0;
|
|
4533
|
+
*/
|
|
4534
|
+
NIPR_SYNC_STATE_UNSPECIFIED = 0,
|
|
4535
|
+
/**
|
|
4536
|
+
* Synchronization is active and working properly.
|
|
4537
|
+
*
|
|
4538
|
+
* @generated from enum value: NIPR_SYNC_STATE_ACTIVE = 1;
|
|
4539
|
+
*/
|
|
4540
|
+
NIPR_SYNC_STATE_ACTIVE = 1,
|
|
4541
|
+
/**
|
|
4542
|
+
* Synchronization is failing due to errors.
|
|
4543
|
+
*
|
|
4544
|
+
* @generated from enum value: NIPR_SYNC_STATE_FAILING = 2;
|
|
4545
|
+
*/
|
|
4546
|
+
NIPR_SYNC_STATE_FAILING = 2,
|
|
4547
|
+
/**
|
|
4548
|
+
* Synchronization is pending and has not started yet.
|
|
4549
|
+
*
|
|
4550
|
+
* @generated from enum value: NIPR_SYNC_STATE_PENDING = 3;
|
|
4551
|
+
*/
|
|
4552
|
+
NIPR_SYNC_STATE_PENDING = 3,
|
|
4553
|
+
/**
|
|
4554
|
+
* Synchronization has been disabled.
|
|
4555
|
+
*
|
|
4556
|
+
* @generated from enum value: NIPR_SYNC_STATE_DISABLED = 4;
|
|
4557
|
+
*/
|
|
4558
|
+
NIPR_SYNC_STATE_DISABLED = 4
|
|
4559
|
+
}
|
|
4560
|
+
/**
|
|
4561
|
+
* Describes the enum producerflow.producer.v1.NIPRSyncState.
|
|
4562
|
+
*/
|
|
4563
|
+
export declare const NIPRSyncStateSchema: GenEnum<NIPRSyncState>;
|
|
4100
4564
|
/**
|
|
4101
4565
|
* ProducerOnboardingState defines the possible states in the producer onboarding workflow.
|
|
4102
4566
|
* This enum is deprecated and should not be used in new code.
|
|
@@ -4158,6 +4622,19 @@ export declare const ProducerService: GenService<{
|
|
|
4158
4622
|
input: typeof CreateAgencyOnboardingURLRequestSchema;
|
|
4159
4623
|
output: typeof CreateAgencyOnboardingURLResponseSchema;
|
|
4160
4624
|
};
|
|
4625
|
+
/**
|
|
4626
|
+
* CreateProducerOnboardingURL generates a secure, time-limited link for onboarding a new producer
|
|
4627
|
+
* with optional pre-filled NPN. The URL can be shared directly with the producer.
|
|
4628
|
+
* The generated URL will take the producer through the onboarding flow with the NPN field
|
|
4629
|
+
* pre-populated if provided, reducing friction in the onboarding process.
|
|
4630
|
+
*
|
|
4631
|
+
* @generated from rpc producerflow.producer.v1.ProducerService.CreateProducerOnboardingURL
|
|
4632
|
+
*/
|
|
4633
|
+
createProducerOnboardingURL: {
|
|
4634
|
+
methodKind: "unary";
|
|
4635
|
+
input: typeof CreateProducerOnboardingURLRequestSchema;
|
|
4636
|
+
output: typeof CreateProducerOnboardingURLResponseSchema;
|
|
4637
|
+
};
|
|
4161
4638
|
/**
|
|
4162
4639
|
* NewAgency creates a new agency, optionally with associated producers.
|
|
4163
4640
|
* It performs the following validation checks:
|
|
@@ -4179,6 +4656,17 @@ export declare const ProducerService: GenService<{
|
|
|
4179
4656
|
input: typeof NewAgencyRequestSchema;
|
|
4180
4657
|
output: typeof NewAgencyResponseSchema;
|
|
4181
4658
|
};
|
|
4659
|
+
/**
|
|
4660
|
+
* ListAgencies returns a list of agencies associated with the tenant.
|
|
4661
|
+
* Supports optional filtering by organization ID and search queries.
|
|
4662
|
+
*
|
|
4663
|
+
* @generated from rpc producerflow.producer.v1.ProducerService.ListAgencies
|
|
4664
|
+
*/
|
|
4665
|
+
listAgencies: {
|
|
4666
|
+
methodKind: "unary";
|
|
4667
|
+
input: typeof ListAgenciesRequestSchema;
|
|
4668
|
+
output: typeof ListAgenciesResponseSchema;
|
|
4669
|
+
};
|
|
4182
4670
|
/**
|
|
4183
4671
|
* ListOrganizations returns a list of organizations associated with the tenant.
|
|
4184
4672
|
* Organizations represent logical groupings or hierarchical structures within a tenant
|