@producerflow/producerflowapi 1.0.19 → 1.0.21
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,12 @@ 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;
|
|
3477
3566
|
};
|
|
3478
3567
|
/**
|
|
3479
3568
|
* Describes the message producerflow.producer.v1.Producer.NIPR.License.
|
|
@@ -3625,22 +3714,27 @@ export type Producer_NIPR_Biographic = Message<"producerflow.producer.v1.Produce
|
|
|
3625
3714
|
*/
|
|
3626
3715
|
dateOfBirth?: Timestamp;
|
|
3627
3716
|
/**
|
|
3628
|
-
*
|
|
3717
|
+
* Deprecated: producers in ProducerFlow are always individuals. NIPR does not
|
|
3718
|
+
* return FEIN for individual agents; this field will always be empty.
|
|
3629
3719
|
*
|
|
3630
|
-
* @generated from field: string fein = 7;
|
|
3720
|
+
* @generated from field: string fein = 7 [deprecated = true];
|
|
3721
|
+
* @deprecated
|
|
3631
3722
|
*/
|
|
3632
3723
|
fein: string;
|
|
3633
3724
|
/**
|
|
3634
|
-
*
|
|
3725
|
+
* Deprecated: producers in ProducerFlow are always individuals. NIPR does not
|
|
3726
|
+
* return a company name for individual agents; this field will always be empty.
|
|
3635
3727
|
*
|
|
3636
|
-
* @generated from field: string company_name = 8;
|
|
3728
|
+
* @generated from field: string company_name = 8 [deprecated = true];
|
|
3729
|
+
* @deprecated
|
|
3637
3730
|
*/
|
|
3638
3731
|
companyName: string;
|
|
3639
3732
|
/**
|
|
3640
|
-
*
|
|
3641
|
-
*
|
|
3733
|
+
* Deprecated: producers in ProducerFlow are always individuals. NIPR does not
|
|
3734
|
+
* return state of domicile for individual agents; this field will always be empty.
|
|
3642
3735
|
*
|
|
3643
|
-
* @generated from field: string state_domicile = 9;
|
|
3736
|
+
* @generated from field: string state_domicile = 9 [deprecated = true];
|
|
3737
|
+
* @deprecated
|
|
3644
3738
|
*/
|
|
3645
3739
|
stateDomicile: string;
|
|
3646
3740
|
};
|
|
@@ -5421,6 +5515,22 @@ export type ListAgenciesRequest = Message<"producerflow.producer.v1.ListAgencies
|
|
|
5421
5515
|
* @generated from field: repeated producerflow.producer.v1.NIPRSyncState nipr_sync_statuses = 6;
|
|
5422
5516
|
*/
|
|
5423
5517
|
niprSyncStatuses: NIPRSyncState[];
|
|
5518
|
+
/**
|
|
5519
|
+
* Optional. Filter by resident license state.
|
|
5520
|
+
* Returns agencies whose resident license is in the selected state(s).
|
|
5521
|
+
* Multiple states can be specified (OR logic within this filter).
|
|
5522
|
+
*
|
|
5523
|
+
* @generated from field: repeated string resident_states = 7;
|
|
5524
|
+
*/
|
|
5525
|
+
residentStates: string[];
|
|
5526
|
+
/**
|
|
5527
|
+
* Optional. Filter by any active license state.
|
|
5528
|
+
* Returns agencies that hold any active license (resident or non-resident) in the selected state(s).
|
|
5529
|
+
* Multiple states can be specified (OR logic within this filter).
|
|
5530
|
+
*
|
|
5531
|
+
* @generated from field: repeated string licensed_states = 8;
|
|
5532
|
+
*/
|
|
5533
|
+
licensedStates: string[];
|
|
5424
5534
|
};
|
|
5425
5535
|
/**
|
|
5426
5536
|
* Describes the message producerflow.producer.v1.ListAgenciesRequest.
|
|
@@ -6389,7 +6499,19 @@ export declare enum NIPRSyncState {
|
|
|
6389
6499
|
*
|
|
6390
6500
|
* @generated from enum value: NIPR_SYNC_STATE_DISABLED = 4;
|
|
6391
6501
|
*/
|
|
6392
|
-
NIPR_SYNC_STATE_DISABLED = 4
|
|
6502
|
+
NIPR_SYNC_STATE_DISABLED = 4,
|
|
6503
|
+
/**
|
|
6504
|
+
* Synchronization is in progress.
|
|
6505
|
+
*
|
|
6506
|
+
* @generated from enum value: NIPR_SYNC_STATE_IN_PROGRESS = 5;
|
|
6507
|
+
*/
|
|
6508
|
+
NIPR_SYNC_STATE_IN_PROGRESS = 5,
|
|
6509
|
+
/**
|
|
6510
|
+
* Synchronization is being stopped.
|
|
6511
|
+
*
|
|
6512
|
+
* @generated from enum value: NIPR_SYNC_STATE_STOPPING = 6;
|
|
6513
|
+
*/
|
|
6514
|
+
NIPR_SYNC_STATE_STOPPING = 6
|
|
6393
6515
|
}
|
|
6394
6516
|
/**
|
|
6395
6517
|
* Describes the enum producerflow.producer.v1.NIPRSyncState.
|
|
@@ -6919,36 +7041,55 @@ export declare const ProducerService: GenService<{
|
|
|
6919
7041
|
output: typeof NewProducersResponseSchema;
|
|
6920
7042
|
};
|
|
6921
7043
|
/**
|
|
7044
|
+
* Deprecated: Use GetAgency and GetAgencyProducers instead.
|
|
7045
|
+
*
|
|
6922
7046
|
* GetAgencyAndProducers retrieves complete information for an agency and all
|
|
6923
|
-
* its producers.
|
|
6924
|
-
*
|
|
6925
|
-
*
|
|
6926
|
-
*
|
|
6927
|
-
*
|
|
6928
|
-
* -
|
|
6929
|
-
*
|
|
6930
|
-
*
|
|
6931
|
-
*
|
|
6932
|
-
*
|
|
6933
|
-
|
|
7047
|
+
* its producers. This endpoint is deprecated because it returns too much data
|
|
7048
|
+
* in a single call. Use GetAgency to retrieve agency details and
|
|
7049
|
+
* GetAgencyProducers to retrieve the list of producers separately.
|
|
7050
|
+
*
|
|
7051
|
+
* Common Error Codes:
|
|
7052
|
+
* - NOT_FOUND: Agency doesn't exist or doesn't belong to tenant
|
|
7053
|
+
*
|
|
7054
|
+
*
|
|
7055
|
+
* @generated from rpc producerflow.producer.v1.ProducerService.GetAgencyAndProducers
|
|
7056
|
+
* @deprecated
|
|
7057
|
+
*/
|
|
7058
|
+
getAgencyAndProducers: {
|
|
7059
|
+
methodKind: "unary";
|
|
7060
|
+
input: typeof GetAgencyAndProducersRequestSchema;
|
|
7061
|
+
output: typeof GetAgencyAndProducersResponseSchema;
|
|
7062
|
+
};
|
|
7063
|
+
/**
|
|
7064
|
+
* GetAgencyProducers retrieves all producers associated with a specific agency.
|
|
7065
|
+
*
|
|
7066
|
+
* This is a lighter-weight alternative to GetAgencyAndProducers that returns
|
|
7067
|
+
* only the producer data without the full agency details. Use this when you
|
|
7068
|
+
* only need producer information.
|
|
7069
|
+
*
|
|
7070
|
+
* Each producer includes:
|
|
7071
|
+
* - Basic information (name, email, phone, NPN)
|
|
7072
|
+
* - NIPR data (licenses with LOAs, appointments, biographic data) if synced
|
|
7073
|
+
* - Location assignments
|
|
7074
|
+
* - Onboarding status (if enabled for the tenant)
|
|
6934
7075
|
*
|
|
6935
7076
|
* Validation Rules:
|
|
6936
7077
|
* Proto validation (format checks):
|
|
6937
7078
|
* - agency_id: Required, must be a valid UUID format
|
|
6938
7079
|
*
|
|
6939
7080
|
* Returns:
|
|
6940
|
-
*
|
|
7081
|
+
* List of all producers associated with the specified agency.
|
|
6941
7082
|
*
|
|
6942
7083
|
* Common Error Codes:
|
|
6943
7084
|
* - NOT_FOUND: Agency doesn't exist or doesn't belong to tenant
|
|
6944
7085
|
*
|
|
6945
7086
|
*
|
|
6946
|
-
* @generated from rpc producerflow.producer.v1.ProducerService.
|
|
7087
|
+
* @generated from rpc producerflow.producer.v1.ProducerService.GetAgencyProducers
|
|
6947
7088
|
*/
|
|
6948
|
-
|
|
7089
|
+
getAgencyProducers: {
|
|
6949
7090
|
methodKind: "unary";
|
|
6950
|
-
input: typeof
|
|
6951
|
-
output: typeof
|
|
7091
|
+
input: typeof GetAgencyProducersRequestSchema;
|
|
7092
|
+
output: typeof GetAgencyProducersResponseSchema;
|
|
6952
7093
|
};
|
|
6953
7094
|
/**
|
|
6954
7095
|
* GetAgency retrieves detailed information about a specific agency.
|
|
@@ -6987,10 +7128,11 @@ export declare const ProducerService: GenService<{
|
|
|
6987
7128
|
/**
|
|
6988
7129
|
* GetProducer retrieves detailed information about a specific producer.
|
|
6989
7130
|
*
|
|
6990
|
-
* Supports
|
|
7131
|
+
* Supports four lookup methods:
|
|
6991
7132
|
* - By producer ID (UUID)
|
|
6992
7133
|
* - By NPN (National Producer Number)
|
|
6993
7134
|
* - By email address
|
|
7135
|
+
* - By external ID (tenant-defined identifier set via SetExternalID)
|
|
6994
7136
|
*
|
|
6995
7137
|
* The response includes:
|
|
6996
7138
|
* - Producer contact information (name, email, phone, address)
|
|
@@ -7008,6 +7150,7 @@ export declare const ProducerService: GenService<{
|
|
|
7008
7150
|
* - producer_id_lookup.producer_id: Must be a valid UUID format
|
|
7009
7151
|
* - npn_lookup.producer_npn: Must be non-empty string
|
|
7010
7152
|
* - email_lookup.email: Must be a valid email format
|
|
7153
|
+
* - external_id_lookup.external_id: Must be a non-empty string, max 255 characters
|
|
7011
7154
|
*
|
|
7012
7155
|
* Returns:
|
|
7013
7156
|
* Complete producer information including all NIPR data.
|
|
@@ -7015,8 +7158,6 @@ export declare const ProducerService: GenService<{
|
|
|
7015
7158
|
* Common Error Codes:
|
|
7016
7159
|
* - NOT_FOUND: Producer doesn't exist or doesn't belong to tenant, or
|
|
7017
7160
|
* associated agency not found
|
|
7018
|
-
* - UNIMPLEMENTED: Lookup method not supported (only producer_id, npn, and email
|
|
7019
|
-
* lookups are implemented)
|
|
7020
7161
|
*
|
|
7021
7162
|
*
|
|
7022
7163
|
* @generated from rpc producerflow.producer.v1.ProducerService.GetProducer
|
|
@@ -7879,8 +8020,9 @@ export declare const ProducerService: GenService<{
|
|
|
7879
8020
|
* This ordering guarantee allows you to map request entries to their created IDs.
|
|
7880
8021
|
*
|
|
7881
8022
|
* Common Error Codes:
|
|
7882
|
-
* - INVALID_ARGUMENT: Missing agency_id, no locations provided, duplicate
|
|
7883
|
-
* location names
|
|
8023
|
+
* - INVALID_ARGUMENT: Missing agency_id, no locations provided, or duplicate
|
|
8024
|
+
* location names within the request
|
|
8025
|
+
* - ALREADY_EXISTS: A location with the same name already exists in the agency
|
|
7884
8026
|
* - NOT_FOUND: Agency doesn't exist or doesn't belong to tenant
|
|
7885
8027
|
*
|
|
7886
8028
|
*
|