@producerflow/producerflowapi 1.0.19 → 1.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
2
|
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
|
+
import type { Date } from "../../../google/type/date_pb";
|
|
3
4
|
import type { Message } from "@bufbuild/protobuf";
|
|
4
5
|
/**
|
|
5
6
|
* Describes the file producerflow/appointment/v1/appointment.proto.
|
|
@@ -647,6 +648,18 @@ export type License = Message<"producerflow.appointment.v1.License"> & {
|
|
|
647
648
|
* @generated from field: string carrier_id = 8;
|
|
648
649
|
*/
|
|
649
650
|
carrierId: string;
|
|
651
|
+
/**
|
|
652
|
+
* The date the license expires.
|
|
653
|
+
*
|
|
654
|
+
* @generated from field: google.type.Date expiration_date = 9;
|
|
655
|
+
*/
|
|
656
|
+
expirationDate?: Date;
|
|
657
|
+
/**
|
|
658
|
+
* The date the license was issued.
|
|
659
|
+
*
|
|
660
|
+
* @generated from field: google.type.Date issue_date = 10;
|
|
661
|
+
*/
|
|
662
|
+
issueDate?: Date;
|
|
650
663
|
};
|
|
651
664
|
/**
|
|
652
665
|
* Describes the message producerflow.appointment.v1.License.
|
|
@@ -7,10 +7,11 @@ exports.AppointmentService = exports.TerminationReasonSchema = exports.Terminati
|
|
|
7
7
|
const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
|
|
8
8
|
const validate_pb_1 = require("../../../buf/validate/validate_pb");
|
|
9
9
|
const wkt_1 = require("@bufbuild/protobuf/wkt");
|
|
10
|
+
const date_pb_1 = require("../../../google/type/date_pb");
|
|
10
11
|
/**
|
|
11
12
|
* Describes the file producerflow/appointment/v1/appointment.proto.
|
|
12
13
|
*/
|
|
13
|
-
exports.file_producerflow_appointment_v1_appointment = (0, codegenv2_1.fileDesc)("
|
|
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AQoWTGlzdFRlcm1pbmF0aW9uUmVhc29ucxI6LnByb2R1Y2VyZmxvdy5hcHBvaW50bWVudC52MS5MaXN0VGVybWluYXRpb25SZWFzb25zUmVxdWVzdBo7LnByb2R1Y2VyZmxvdy5hcHBvaW50bWVudC52MS5MaXN0VGVybWluYXRpb25SZWFzb25zUmVzcG9uc2VCmwIKH2NvbS5wcm9kdWNlcmZsb3cuYXBwb2ludG1lbnQudjFCEEFwcG9pbnRtZW50UHJvdG9QAVpYZ2l0aHViLmNvbS9wcm9kdWNlcmZsb3cvcHJvZHVjZXJmbG93YXBpL2dlbi9nby9wcm9kdWNlcmZsb3cvYXBwb2ludG1lbnQvdjE7YXBwb2ludG1lbnR2MaICA1BBWKoCG1Byb2R1Y2VyZmxvdy5BcHBvaW50bWVudC5WMcoCG1Byb2R1Y2VyZmxvd1xBcHBvaW50bWVudFxWMeICJ1Byb2R1Y2VyZmxvd1xBcHBvaW50bWVudFxWMVxHUEJNZXRhZGF0YeoCHVByb2R1Y2VyZmxvdzo6QXBwb2ludG1lbnQ6OlYxYgZwcm90bzM", [validate_pb_1.file_buf_validate_validate, wkt_1.file_google_protobuf_timestamp, date_pb_1.file_google_type_date]);
|
|
14
15
|
/**
|
|
15
16
|
* Describes the message producerflow.appointment.v1.RequestAppointmentRequest.
|
|
16
17
|
* Use `create(RequestAppointmentRequestSchema)` to create a new message.
|
|
@@ -1048,8 +1048,8 @@ export type NewAgencyResponse = Message<"producerflow.producer.v1.NewAgencyRespo
|
|
|
1048
1048
|
*/
|
|
1049
1049
|
export declare const NewAgencyResponseSchema: GenMessage<NewAgencyResponse>;
|
|
1050
1050
|
/**
|
|
1051
|
-
* GetProducerRequest allows retrieving producer information through one of
|
|
1052
|
-
* possible lookup methods: by ID, by NPN, or by
|
|
1051
|
+
* GetProducerRequest allows retrieving producer information through one of four
|
|
1052
|
+
* possible lookup methods: by ID, by NPN, by email address, or by external ID.
|
|
1053
1053
|
*
|
|
1054
1054
|
* @generated from message producerflow.producer.v1.GetProducerRequest
|
|
1055
1055
|
*/
|
|
@@ -1083,6 +1083,14 @@ export type GetProducerRequest = Message<"producerflow.producer.v1.GetProducerRe
|
|
|
1083
1083
|
*/
|
|
1084
1084
|
value: GetProducerRequest_EmailLookup;
|
|
1085
1085
|
case: "emailLookup";
|
|
1086
|
+
} | {
|
|
1087
|
+
/**
|
|
1088
|
+
* Look up producer by external ID set via SetExternalID.
|
|
1089
|
+
*
|
|
1090
|
+
* @generated from field: producerflow.producer.v1.GetProducerRequest.ExternalIDLookup external_id_lookup = 4;
|
|
1091
|
+
*/
|
|
1092
|
+
value: GetProducerRequest_ExternalIDLookup;
|
|
1093
|
+
case: "externalIdLookup";
|
|
1086
1094
|
} | {
|
|
1087
1095
|
case: undefined;
|
|
1088
1096
|
value?: undefined;
|
|
@@ -1150,6 +1158,27 @@ export type GetProducerRequest_EmailLookup = Message<"producerflow.producer.v1.G
|
|
|
1150
1158
|
* Use `create(GetProducerRequest_EmailLookupSchema)` to create a new message.
|
|
1151
1159
|
*/
|
|
1152
1160
|
export declare const GetProducerRequest_EmailLookupSchema: GenMessage<GetProducerRequest_EmailLookup>;
|
|
1161
|
+
/**
|
|
1162
|
+
* ExternalIDLookup allows looking up a producer by the external identifier
|
|
1163
|
+
* previously set via the SetExternalID RPC.
|
|
1164
|
+
*
|
|
1165
|
+
* @generated from message producerflow.producer.v1.GetProducerRequest.ExternalIDLookup
|
|
1166
|
+
*/
|
|
1167
|
+
export type GetProducerRequest_ExternalIDLookup = Message<"producerflow.producer.v1.GetProducerRequest.ExternalIDLookup"> & {
|
|
1168
|
+
/**
|
|
1169
|
+
* The external identifier associated with the producer in the tenant's system.
|
|
1170
|
+
* This corresponds to the value set via the SetExternalID RPC.
|
|
1171
|
+
* Must be a non-empty string with maximum 255 characters.
|
|
1172
|
+
*
|
|
1173
|
+
* @generated from field: string external_id = 1;
|
|
1174
|
+
*/
|
|
1175
|
+
externalId: string;
|
|
1176
|
+
};
|
|
1177
|
+
/**
|
|
1178
|
+
* Describes the message producerflow.producer.v1.GetProducerRequest.ExternalIDLookup.
|
|
1179
|
+
* Use `create(GetProducerRequest_ExternalIDLookupSchema)` to create a new message.
|
|
1180
|
+
*/
|
|
1181
|
+
export declare const GetProducerRequest_ExternalIDLookupSchema: GenMessage<GetProducerRequest_ExternalIDLookup>;
|
|
1153
1182
|
/**
|
|
1154
1183
|
* GetProducerResponse contains the producer information retrieved by the GetProducer RPC.
|
|
1155
1184
|
*
|
|
@@ -1265,15 +1294,13 @@ export type GetAgencyResponse = Message<"producerflow.producer.v1.GetAgencyRespo
|
|
|
1265
1294
|
*/
|
|
1266
1295
|
export declare const GetAgencyResponseSchema: GenMessage<GetAgencyResponse>;
|
|
1267
1296
|
/**
|
|
1268
|
-
*
|
|
1297
|
+
* Deprecated: Use GetAgencyRequest/GetAgencyProducersRequest instead.
|
|
1269
1298
|
*
|
|
1270
1299
|
* @generated from message producerflow.producer.v1.GetAgencyAndProducersRequest
|
|
1300
|
+
* @deprecated
|
|
1271
1301
|
*/
|
|
1272
1302
|
export type GetAgencyAndProducersRequest = Message<"producerflow.producer.v1.GetAgencyAndProducersRequest"> & {
|
|
1273
1303
|
/**
|
|
1274
|
-
* The UUID of the agency to retrieve information for.
|
|
1275
|
-
* Must be a valid UUID format.
|
|
1276
|
-
*
|
|
1277
1304
|
* @generated from field: string agency_id = 1;
|
|
1278
1305
|
*/
|
|
1279
1306
|
agencyId: string;
|
|
@@ -1281,23 +1308,21 @@ export type GetAgencyAndProducersRequest = Message<"producerflow.producer.v1.Get
|
|
|
1281
1308
|
/**
|
|
1282
1309
|
* Describes the message producerflow.producer.v1.GetAgencyAndProducersRequest.
|
|
1283
1310
|
* Use `create(GetAgencyAndProducersRequestSchema)` to create a new message.
|
|
1311
|
+
* @deprecated
|
|
1284
1312
|
*/
|
|
1285
1313
|
export declare const GetAgencyAndProducersRequestSchema: GenMessage<GetAgencyAndProducersRequest>;
|
|
1286
1314
|
/**
|
|
1287
|
-
*
|
|
1315
|
+
* Deprecated: Use GetAgencyResponse/GetAgencyProducersResponse instead.
|
|
1288
1316
|
*
|
|
1289
1317
|
* @generated from message producerflow.producer.v1.GetAgencyAndProducersResponse
|
|
1318
|
+
* @deprecated
|
|
1290
1319
|
*/
|
|
1291
1320
|
export type GetAgencyAndProducersResponse = Message<"producerflow.producer.v1.GetAgencyAndProducersResponse"> & {
|
|
1292
1321
|
/**
|
|
1293
|
-
* Complete agency information including contact details, principal, and bank account.
|
|
1294
|
-
*
|
|
1295
1322
|
* @generated from field: producerflow.producer.v1.Agency agency = 1;
|
|
1296
1323
|
*/
|
|
1297
1324
|
agency?: Agency;
|
|
1298
1325
|
/**
|
|
1299
|
-
* List of all producers associated with the specified agency.
|
|
1300
|
-
*
|
|
1301
1326
|
* @generated from field: repeated producerflow.producer.v1.Producer producers = 2;
|
|
1302
1327
|
*/
|
|
1303
1328
|
producers: Producer[];
|
|
@@ -1305,8 +1330,60 @@ export type GetAgencyAndProducersResponse = Message<"producerflow.producer.v1.Ge
|
|
|
1305
1330
|
/**
|
|
1306
1331
|
* Describes the message producerflow.producer.v1.GetAgencyAndProducersResponse.
|
|
1307
1332
|
* Use `create(GetAgencyAndProducersResponseSchema)` to create a new message.
|
|
1333
|
+
* @deprecated
|
|
1308
1334
|
*/
|
|
1309
1335
|
export declare const GetAgencyAndProducersResponseSchema: GenMessage<GetAgencyAndProducersResponse>;
|
|
1336
|
+
/**
|
|
1337
|
+
* GetAgencyProducersRequest requests all producers associated with an agency.
|
|
1338
|
+
*
|
|
1339
|
+
* @generated from message producerflow.producer.v1.GetAgencyProducersRequest
|
|
1340
|
+
*/
|
|
1341
|
+
export type GetAgencyProducersRequest = Message<"producerflow.producer.v1.GetAgencyProducersRequest"> & {
|
|
1342
|
+
/**
|
|
1343
|
+
* The UUID of the agency to retrieve producers for.
|
|
1344
|
+
* Must be a valid UUID format.
|
|
1345
|
+
*
|
|
1346
|
+
* @generated from field: string agency_id = 1;
|
|
1347
|
+
*/
|
|
1348
|
+
agencyId: string;
|
|
1349
|
+
/**
|
|
1350
|
+
* Optional. Pagination parameters for controlling result set size and navigation.
|
|
1351
|
+
* If not provided, defaults to page_size=50. Maximum page_size is 200.
|
|
1352
|
+
*
|
|
1353
|
+
* @generated from field: producerflow.producer.v1.Pagination pagination = 2;
|
|
1354
|
+
*/
|
|
1355
|
+
pagination?: Pagination;
|
|
1356
|
+
};
|
|
1357
|
+
/**
|
|
1358
|
+
* Describes the message producerflow.producer.v1.GetAgencyProducersRequest.
|
|
1359
|
+
* Use `create(GetAgencyProducersRequestSchema)` to create a new message.
|
|
1360
|
+
*/
|
|
1361
|
+
export declare const GetAgencyProducersRequestSchema: GenMessage<GetAgencyProducersRequest>;
|
|
1362
|
+
/**
|
|
1363
|
+
* GetAgencyProducersResponse contains producers associated with the specified agency.
|
|
1364
|
+
*
|
|
1365
|
+
* @generated from message producerflow.producer.v1.GetAgencyProducersResponse
|
|
1366
|
+
*/
|
|
1367
|
+
export type GetAgencyProducersResponse = Message<"producerflow.producer.v1.GetAgencyProducersResponse"> & {
|
|
1368
|
+
/**
|
|
1369
|
+
* List of producers for the current page.
|
|
1370
|
+
*
|
|
1371
|
+
* @generated from field: repeated producerflow.producer.v1.Producer producers = 1;
|
|
1372
|
+
*/
|
|
1373
|
+
producers: Producer[];
|
|
1374
|
+
/**
|
|
1375
|
+
* Token for retrieving the next page of results.
|
|
1376
|
+
* Empty when there are no more results.
|
|
1377
|
+
*
|
|
1378
|
+
* @generated from field: string next_page_token = 2;
|
|
1379
|
+
*/
|
|
1380
|
+
nextPageToken: string;
|
|
1381
|
+
};
|
|
1382
|
+
/**
|
|
1383
|
+
* Describes the message producerflow.producer.v1.GetAgencyProducersResponse.
|
|
1384
|
+
* Use `create(GetAgencyProducersResponseSchema)` to create a new message.
|
|
1385
|
+
*/
|
|
1386
|
+
export declare const GetAgencyProducersResponseSchema: GenMessage<GetAgencyProducersResponse>;
|
|
1310
1387
|
/**
|
|
1311
1388
|
* GetAgencyFilesRequest requests URLs for files associated with an agency.
|
|
1312
1389
|
*
|
|
@@ -2724,6 +2801,12 @@ export type Agency_NIPR_License = Message<"producerflow.producer.v1.Agency.NIPR.
|
|
|
2724
2801
|
* @generated from field: string license_id = 13;
|
|
2725
2802
|
*/
|
|
2726
2803
|
licenseId: string;
|
|
2804
|
+
/**
|
|
2805
|
+
* The designated home state for adjuster licenses (ADHS).
|
|
2806
|
+
*
|
|
2807
|
+
* @generated from field: string designated_home_state = 17;
|
|
2808
|
+
*/
|
|
2809
|
+
designatedHomeState: string;
|
|
2727
2810
|
};
|
|
2728
2811
|
/**
|
|
2729
2812
|
* Describes the message producerflow.producer.v1.Agency.NIPR.License.
|
|
@@ -3474,6 +3557,35 @@ export type Producer_NIPR_License = Message<"producerflow.producer.v1.Producer.N
|
|
|
3474
3557
|
* @generated from field: string license_id = 9;
|
|
3475
3558
|
*/
|
|
3476
3559
|
licenseId: string;
|
|
3560
|
+
/**
|
|
3561
|
+
* The designated home state for adjuster licenses (ADHS).
|
|
3562
|
+
*
|
|
3563
|
+
* @generated from field: string designated_home_state = 11;
|
|
3564
|
+
*/
|
|
3565
|
+
designatedHomeState: string;
|
|
3566
|
+
/**
|
|
3567
|
+
* License class description as defined by the state DOI.
|
|
3568
|
+
* Describes the broad category of insurance the license covers.
|
|
3569
|
+
* Common classes include:
|
|
3570
|
+
* - "Insurance Producer": General license to sell insurance
|
|
3571
|
+
* - "Limited Lines Producer": Restricted to specific product types
|
|
3572
|
+
* - "Surplus Lines Broker": Authorized for non-admitted carriers
|
|
3573
|
+
* - "Managing General Agent": Underwriting authority on behalf of insurers
|
|
3574
|
+
* - "Consultant": Licensed to provide insurance advice for a fee
|
|
3575
|
+
* Values vary by state as each DOI defines its own license classes.
|
|
3576
|
+
*
|
|
3577
|
+
* @generated from field: string license_class = 12;
|
|
3578
|
+
*/
|
|
3579
|
+
licenseClass: string;
|
|
3580
|
+
/**
|
|
3581
|
+
* Numeric code corresponding to the license class.
|
|
3582
|
+
* This is the NIPR-standardized numeric identifier for the license class
|
|
3583
|
+
* description in the license_class field.
|
|
3584
|
+
* Used for programmatic comparisons rather than string matching.
|
|
3585
|
+
*
|
|
3586
|
+
* @generated from field: int32 license_class_code = 13;
|
|
3587
|
+
*/
|
|
3588
|
+
licenseClassCode: number;
|
|
3477
3589
|
};
|
|
3478
3590
|
/**
|
|
3479
3591
|
* Describes the message producerflow.producer.v1.Producer.NIPR.License.
|
|
@@ -3625,22 +3737,27 @@ export type Producer_NIPR_Biographic = Message<"producerflow.producer.v1.Produce
|
|
|
3625
3737
|
*/
|
|
3626
3738
|
dateOfBirth?: Timestamp;
|
|
3627
3739
|
/**
|
|
3628
|
-
*
|
|
3740
|
+
* Deprecated: producers in ProducerFlow are always individuals. NIPR does not
|
|
3741
|
+
* return FEIN for individual agents; this field will always be empty.
|
|
3629
3742
|
*
|
|
3630
|
-
* @generated from field: string fein = 7;
|
|
3743
|
+
* @generated from field: string fein = 7 [deprecated = true];
|
|
3744
|
+
* @deprecated
|
|
3631
3745
|
*/
|
|
3632
3746
|
fein: string;
|
|
3633
3747
|
/**
|
|
3634
|
-
*
|
|
3748
|
+
* Deprecated: producers in ProducerFlow are always individuals. NIPR does not
|
|
3749
|
+
* return a company name for individual agents; this field will always be empty.
|
|
3635
3750
|
*
|
|
3636
|
-
* @generated from field: string company_name = 8;
|
|
3751
|
+
* @generated from field: string company_name = 8 [deprecated = true];
|
|
3752
|
+
* @deprecated
|
|
3637
3753
|
*/
|
|
3638
3754
|
companyName: string;
|
|
3639
3755
|
/**
|
|
3640
|
-
*
|
|
3641
|
-
*
|
|
3756
|
+
* Deprecated: producers in ProducerFlow are always individuals. NIPR does not
|
|
3757
|
+
* return state of domicile for individual agents; this field will always be empty.
|
|
3642
3758
|
*
|
|
3643
|
-
* @generated from field: string state_domicile = 9;
|
|
3759
|
+
* @generated from field: string state_domicile = 9 [deprecated = true];
|
|
3760
|
+
* @deprecated
|
|
3644
3761
|
*/
|
|
3645
3762
|
stateDomicile: string;
|
|
3646
3763
|
};
|
|
@@ -5421,6 +5538,22 @@ export type ListAgenciesRequest = Message<"producerflow.producer.v1.ListAgencies
|
|
|
5421
5538
|
* @generated from field: repeated producerflow.producer.v1.NIPRSyncState nipr_sync_statuses = 6;
|
|
5422
5539
|
*/
|
|
5423
5540
|
niprSyncStatuses: NIPRSyncState[];
|
|
5541
|
+
/**
|
|
5542
|
+
* Optional. Filter by resident license state.
|
|
5543
|
+
* Returns agencies whose resident license is in the selected state(s).
|
|
5544
|
+
* Multiple states can be specified (OR logic within this filter).
|
|
5545
|
+
*
|
|
5546
|
+
* @generated from field: repeated string resident_states = 7;
|
|
5547
|
+
*/
|
|
5548
|
+
residentStates: string[];
|
|
5549
|
+
/**
|
|
5550
|
+
* Optional. Filter by any active license state.
|
|
5551
|
+
* Returns agencies that hold any active license (resident or non-resident) in the selected state(s).
|
|
5552
|
+
* Multiple states can be specified (OR logic within this filter).
|
|
5553
|
+
*
|
|
5554
|
+
* @generated from field: repeated string licensed_states = 8;
|
|
5555
|
+
*/
|
|
5556
|
+
licensedStates: string[];
|
|
5424
5557
|
};
|
|
5425
5558
|
/**
|
|
5426
5559
|
* Describes the message producerflow.producer.v1.ListAgenciesRequest.
|
|
@@ -5838,6 +5971,12 @@ export type Location = Message<"producerflow.producer.v1.Location"> & {
|
|
|
5838
5971
|
* @generated from field: bool is_primary = 6;
|
|
5839
5972
|
*/
|
|
5840
5973
|
isPrimary: boolean;
|
|
5974
|
+
/**
|
|
5975
|
+
* Tenant-specific external ID for this location.
|
|
5976
|
+
*
|
|
5977
|
+
* @generated from field: string external_id = 7;
|
|
5978
|
+
*/
|
|
5979
|
+
externalId: string;
|
|
5841
5980
|
};
|
|
5842
5981
|
/**
|
|
5843
5982
|
* Describes the message producerflow.producer.v1.Location.
|
|
@@ -6054,6 +6193,13 @@ export type UpdateAgencyLocationRequest = Message<"producerflow.producer.v1.Upda
|
|
|
6054
6193
|
* @generated from field: optional bool is_primary = 7;
|
|
6055
6194
|
*/
|
|
6056
6195
|
isPrimary?: boolean;
|
|
6196
|
+
/**
|
|
6197
|
+
* Optional. Carrier-specific external ID for this location.
|
|
6198
|
+
* Must be unique within the tenant when set. Pass an empty string to clear it.
|
|
6199
|
+
*
|
|
6200
|
+
* @generated from field: optional string external_id = 8;
|
|
6201
|
+
*/
|
|
6202
|
+
externalId?: string;
|
|
6057
6203
|
};
|
|
6058
6204
|
/**
|
|
6059
6205
|
* Describes the message producerflow.producer.v1.UpdateAgencyLocationRequest.
|
|
@@ -6389,7 +6535,19 @@ export declare enum NIPRSyncState {
|
|
|
6389
6535
|
*
|
|
6390
6536
|
* @generated from enum value: NIPR_SYNC_STATE_DISABLED = 4;
|
|
6391
6537
|
*/
|
|
6392
|
-
NIPR_SYNC_STATE_DISABLED = 4
|
|
6538
|
+
NIPR_SYNC_STATE_DISABLED = 4,
|
|
6539
|
+
/**
|
|
6540
|
+
* Synchronization is in progress.
|
|
6541
|
+
*
|
|
6542
|
+
* @generated from enum value: NIPR_SYNC_STATE_IN_PROGRESS = 5;
|
|
6543
|
+
*/
|
|
6544
|
+
NIPR_SYNC_STATE_IN_PROGRESS = 5,
|
|
6545
|
+
/**
|
|
6546
|
+
* Synchronization is being stopped.
|
|
6547
|
+
*
|
|
6548
|
+
* @generated from enum value: NIPR_SYNC_STATE_STOPPING = 6;
|
|
6549
|
+
*/
|
|
6550
|
+
NIPR_SYNC_STATE_STOPPING = 6
|
|
6393
6551
|
}
|
|
6394
6552
|
/**
|
|
6395
6553
|
* Describes the enum producerflow.producer.v1.NIPRSyncState.
|
|
@@ -6919,36 +7077,55 @@ export declare const ProducerService: GenService<{
|
|
|
6919
7077
|
output: typeof NewProducersResponseSchema;
|
|
6920
7078
|
};
|
|
6921
7079
|
/**
|
|
7080
|
+
* Deprecated: Use GetAgency and GetAgencyProducers instead.
|
|
7081
|
+
*
|
|
6922
7082
|
* GetAgencyAndProducers retrieves complete information for an agency and all
|
|
6923
|
-
* its producers.
|
|
6924
|
-
*
|
|
6925
|
-
*
|
|
6926
|
-
*
|
|
6927
|
-
*
|
|
6928
|
-
* -
|
|
6929
|
-
*
|
|
6930
|
-
*
|
|
6931
|
-
*
|
|
6932
|
-
*
|
|
6933
|
-
|
|
7083
|
+
* its producers. This endpoint is deprecated because it returns too much data
|
|
7084
|
+
* in a single call. Use GetAgency to retrieve agency details and
|
|
7085
|
+
* GetAgencyProducers to retrieve the list of producers separately.
|
|
7086
|
+
*
|
|
7087
|
+
* Common Error Codes:
|
|
7088
|
+
* - NOT_FOUND: Agency doesn't exist or doesn't belong to tenant
|
|
7089
|
+
*
|
|
7090
|
+
*
|
|
7091
|
+
* @generated from rpc producerflow.producer.v1.ProducerService.GetAgencyAndProducers
|
|
7092
|
+
* @deprecated
|
|
7093
|
+
*/
|
|
7094
|
+
getAgencyAndProducers: {
|
|
7095
|
+
methodKind: "unary";
|
|
7096
|
+
input: typeof GetAgencyAndProducersRequestSchema;
|
|
7097
|
+
output: typeof GetAgencyAndProducersResponseSchema;
|
|
7098
|
+
};
|
|
7099
|
+
/**
|
|
7100
|
+
* GetAgencyProducers retrieves all producers associated with a specific agency.
|
|
7101
|
+
*
|
|
7102
|
+
* This is a lighter-weight alternative to GetAgencyAndProducers that returns
|
|
7103
|
+
* only the producer data without the full agency details. Use this when you
|
|
7104
|
+
* only need producer information.
|
|
7105
|
+
*
|
|
7106
|
+
* Each producer includes:
|
|
7107
|
+
* - Basic information (name, email, phone, NPN)
|
|
7108
|
+
* - NIPR data (licenses with LOAs, appointments, biographic data) if synced
|
|
7109
|
+
* - Location assignments
|
|
7110
|
+
* - Onboarding status (if enabled for the tenant)
|
|
6934
7111
|
*
|
|
6935
7112
|
* Validation Rules:
|
|
6936
7113
|
* Proto validation (format checks):
|
|
6937
7114
|
* - agency_id: Required, must be a valid UUID format
|
|
6938
7115
|
*
|
|
6939
7116
|
* Returns:
|
|
6940
|
-
*
|
|
7117
|
+
* List of all producers associated with the specified agency.
|
|
6941
7118
|
*
|
|
6942
7119
|
* Common Error Codes:
|
|
6943
7120
|
* - NOT_FOUND: Agency doesn't exist or doesn't belong to tenant
|
|
6944
7121
|
*
|
|
6945
7122
|
*
|
|
6946
|
-
* @generated from rpc producerflow.producer.v1.ProducerService.
|
|
7123
|
+
* @generated from rpc producerflow.producer.v1.ProducerService.GetAgencyProducers
|
|
6947
7124
|
*/
|
|
6948
|
-
|
|
7125
|
+
getAgencyProducers: {
|
|
6949
7126
|
methodKind: "unary";
|
|
6950
|
-
input: typeof
|
|
6951
|
-
output: typeof
|
|
7127
|
+
input: typeof GetAgencyProducersRequestSchema;
|
|
7128
|
+
output: typeof GetAgencyProducersResponseSchema;
|
|
6952
7129
|
};
|
|
6953
7130
|
/**
|
|
6954
7131
|
* GetAgency retrieves detailed information about a specific agency.
|
|
@@ -6987,10 +7164,11 @@ export declare const ProducerService: GenService<{
|
|
|
6987
7164
|
/**
|
|
6988
7165
|
* GetProducer retrieves detailed information about a specific producer.
|
|
6989
7166
|
*
|
|
6990
|
-
* Supports
|
|
7167
|
+
* Supports four lookup methods:
|
|
6991
7168
|
* - By producer ID (UUID)
|
|
6992
7169
|
* - By NPN (National Producer Number)
|
|
6993
7170
|
* - By email address
|
|
7171
|
+
* - By external ID (tenant-defined identifier set via SetExternalID)
|
|
6994
7172
|
*
|
|
6995
7173
|
* The response includes:
|
|
6996
7174
|
* - Producer contact information (name, email, phone, address)
|
|
@@ -7008,6 +7186,7 @@ export declare const ProducerService: GenService<{
|
|
|
7008
7186
|
* - producer_id_lookup.producer_id: Must be a valid UUID format
|
|
7009
7187
|
* - npn_lookup.producer_npn: Must be non-empty string
|
|
7010
7188
|
* - email_lookup.email: Must be a valid email format
|
|
7189
|
+
* - external_id_lookup.external_id: Must be a non-empty string, max 255 characters
|
|
7011
7190
|
*
|
|
7012
7191
|
* Returns:
|
|
7013
7192
|
* Complete producer information including all NIPR data.
|
|
@@ -7015,8 +7194,6 @@ export declare const ProducerService: GenService<{
|
|
|
7015
7194
|
* Common Error Codes:
|
|
7016
7195
|
* - NOT_FOUND: Producer doesn't exist or doesn't belong to tenant, or
|
|
7017
7196
|
* associated agency not found
|
|
7018
|
-
* - UNIMPLEMENTED: Lookup method not supported (only producer_id, npn, and email
|
|
7019
|
-
* lookups are implemented)
|
|
7020
7197
|
*
|
|
7021
7198
|
*
|
|
7022
7199
|
* @generated from rpc producerflow.producer.v1.ProducerService.GetProducer
|
|
@@ -7879,8 +8056,9 @@ export declare const ProducerService: GenService<{
|
|
|
7879
8056
|
* This ordering guarantee allows you to map request entries to their created IDs.
|
|
7880
8057
|
*
|
|
7881
8058
|
* Common Error Codes:
|
|
7882
|
-
* - INVALID_ARGUMENT: Missing agency_id, no locations provided, duplicate
|
|
7883
|
-
* location names
|
|
8059
|
+
* - INVALID_ARGUMENT: Missing agency_id, no locations provided, or duplicate
|
|
8060
|
+
* location names within the request
|
|
8061
|
+
* - ALREADY_EXISTS: A location with the same name already exists in the agency
|
|
7884
8062
|
* - NOT_FOUND: Agency doesn't exist or doesn't belong to tenant
|
|
7885
8063
|
*
|
|
7886
8064
|
*
|