@cycomdatasystems/mackinac-sdk 5.2.3 → 6.0.0
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/generated/mackinac.client.d.ts +5 -4
- package/dist/generated/mackinac.client.js +13 -5
- package/dist/generated/models/getApiV1MattersPartiesMetadataParams.d.ts +24 -0
- package/dist/generated/models/getApiV1MattersPartiesMetadataParams.js +17 -0
- package/dist/generated/models/index.d.ts +1 -0
- package/dist/generated/models/index.js +1 -0
- package/package.json +1 -1
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
- The Custom Forms model is product-agnostic: the consuming product owns auth, identity resolution, and AV scanning of uploaded files. Mackinac validates the identity contract and persists/executes submissions.
|
|
15
15
|
* OpenAPI spec version: v1-Local
|
|
16
16
|
*/
|
|
17
|
-
import type { AddsDeptDto, AllegationDesiredOutcomeDto, AllegationDesiredOutcomeDtoPaginatedResultDto, AllegationDto, AllegationDtoPaginatedResultDto, AllegationIssueDetailsDto, AllegationIssueDetailsDtoPaginatedResultDto, AllegationIssueDto, AllegationIssueDtoPaginatedResultDto, AllegationStageDispositionDto, AllegationStageDispositionDtoPaginatedResultDto, AllegationStageDto, AllegationStageDtoPaginatedResultDto, AllegationSubCodeDto, AllegationSubCodeDtoPaginatedResultDto, AssignRolesDto, BulkMatterAllegationStageRowDtoPaginatedResultDto, CodeDto, ConfidentialFooterDto, ContractCounselDto, ContractCounselDtoPaginatedResultDto, CouncilDistrictsViewDto, CreateAllegationDesiredOutcomeDto, CreateAllegationDto, CreateAllegationIssueDetailsDto, CreateAllegationIssueDto, CreateAllegationStageDispositionDto, CreateAllegationStageDto, CreateAllegationSubCodeDto, CreateContractCounselDto, CreateCtyLawDto, CreateExpenseReserveDto, CreateExpertWitnessDto, CreateFormDefinitionDto, CreateFormSubmissionDto, CreateGeneralExpenseDto, CreateIndemnityReserveDto, CreateLitigationMatterRequestDto, CreateMatterAllegationDto, CreateMatterAllegationStageDto, CreateMatterDto, CreateMatterFormLayoutDto, CreatePaymentDto, CreateSettlementDto, CreateStageDispositionMappingDto, CreateUpdateFieldDefinitionDto, CreateUpdateFormElementDto, CreateUpdateFormFieldDto, CreateUpdateFormFieldRuleDto, CreateUpdateFormSubmissionActionDto, CreateUserDto, CreateWrpAssignmentMatterDto, CtyLawDto, DeleteApiV1MattersMatterIdParams, DocumentSearchCriteriaDto, DocumentSearchResponseDto, EmailSubjectDto, ExpenseReserveDto, ExpenseReserveDtoPaginatedResultDto, ExpertWitnessDto, ExpertWitnessDtoPaginatedResultDto, FieldDefinitionDto, FieldDefinitionDtoCursorPagedResultDto, FileLimitsDto, FileUploadResultDto, FormDefinitionDto, FormDefinitionDtoCursorPagedResultDto, FormDefinitionFullDto, FormElementDto, FormElementDtoListResultDto, FormFieldDto, FormFieldDtoListResultDto, FormFieldRuleDto, FormFieldRuleDtoListResultDto, FormSubmissionActionDto, FormSubmissionActionDtoListResultDto, FormSubmissionDto, FormSubmissionDtoCursorPagedResultDto, GeneralExpenseDto, GeneralExpenseDtoPaginatedResultDto, GetApiV1AllegationsDesiredOutcomesParams, GetApiV1AllegationsIssueDetailsParams, GetApiV1AllegationsIssuesParams, GetApiV1AllegationsParams, GetApiV1AllegationsStageDispositionsParams, GetApiV1AllegationsStagesDispositionMappingsParams, GetApiV1AllegationsStagesParams, GetApiV1AllegationsSubcodesParams, GetApiV1CodesDispositionsModuleCodeParams, GetApiV1CodesParams, GetApiV1FieldDefinitionsParams, GetApiV1FormDefinitionsFormIdRulesParams, GetApiV1FormDefinitionsFormIdSubmissionsParams, GetApiV1FormDefinitionsParams, GetApiV1MatterFieldRegistryParams, GetApiV1MattersAllegationsAllegationIdStagesParams, GetApiV1MattersFieldsMetadataAccountParams, GetApiV1MattersFieldsMetadataCreateParams, GetApiV1MattersFieldsMetadataDepartmentParams, GetApiV1MattersFieldsMetadataParams, GetApiV1MattersFileNumberExistsParams, GetApiV1MattersFinanceMetadataParams, GetApiV1MattersMatterIdAllegationsParams, GetApiV1MattersMatterIdAllegationsStagesParams, GetApiV1MattersMatterIdFinanceCollectionsCollectedParams, GetApiV1MattersMatterIdFinanceExpendituresContractCounselParams, GetApiV1MattersMatterIdFinanceExpendituresExpertWitnessParams, GetApiV1MattersMatterIdFinanceExpendituresGeneralExpensesParams, GetApiV1MattersMatterIdFinanceExpendituresSettlementsParams, GetApiV1MattersMatterIdFinanceReservesExpensesParams, GetApiV1MattersMyOpenParams, GetApiV1MattersNextFileNumberParams, GetApiV1PeopleStaffModuleCodeParams, GetApiV1ReportsExportRiskDataReportParams, GetApiV1ReportsManagerReportParams, GetApiV1StaffParams, GetApiV1SystemManagementAppSettingsParams, GetApiV1TimeentriesParams, GetApiV1TipssCitationsSearchParams, GetApiV1UsersParams, GetApiV2MattersFieldsMetadataParams, IndemnityReserveDto, LabelAndPeopleDto, LabelAndStaffDto, LabelAndVisibilityDto, LabelDto, LitigationMatterAbstractDto, LitigationMatterDto, MarkAveryLabelsPrintedRequest, MatterAllegationDto, MatterAllegationDtoPaginatedResultDto, MatterAllegationStageDto, MatterAllegationStageDtoPaginatedResultDto, MatterArchiveRemarksDto, MatterDispositionPatchDto, MatterDispositionTextDto, MatterDto, MatterFieldMetadataDto, MatterFieldMetadataV2Dto, MatterFieldRegistryDto, MatterFieldRegistryDtoListResultDto, MatterFinanceFieldValuesDto, MatterFinanceMetadataDto, MatterFinancePatchDto, MatterPartyPatchDto, MatterPartyPostDto, MatterPartyRelationPatchDto, MatterPaymentMetadataDto, MatterPersonDto, MatterPersonRelationDto, MatterSearchHitsRequestDto, MatterSearchRequestDto, MatterStatusPatchDto, MatterStatusTextDto, NextFileNumberResponseDto, NoteDto, OpenMatterDto, Operation, PaymentDto, PaymentDtoPaginatedResultDto, PersonDto, PersonDtoIEnumerableInt32ValueTuple, PersonSearchDto, PostApiV1MattersParams, PostApiV1PeopleSearchParams, PostApiV1TipssGreenFormSyncParams, PotdDto, RoleDto, SearchCitationHitDtoPaginatedResultDto, SettlementDto, SettlementDtoPaginatedResultDto, StaffDto, StageDispositionMappingDto, StageDispositionMappingDtoPaginatedResultDto, SystemAccountsDto, SystemDepartmentsDto, TimeEntryViewDto, TipssSyncRequestDto, TipssSyncResponseDto, TracksViewDto, UpdateFormDefinitionDto, UpdateSelfProfileDto, UpdateUserDto, UserDto, UserDtoCursorPagedResultDto, ViewCodeDto, ViewCodeWithTypeDto, WrpAssignmentMatterResponseDto, WrpConfigDto, WrpFormDefinitionDto, WrpMetadataDto, WrpSelectOptionDto } from './models';
|
|
17
|
+
import type { AddsDeptDto, AllegationDesiredOutcomeDto, AllegationDesiredOutcomeDtoPaginatedResultDto, AllegationDto, AllegationDtoPaginatedResultDto, AllegationIssueDetailsDto, AllegationIssueDetailsDtoPaginatedResultDto, AllegationIssueDto, AllegationIssueDtoPaginatedResultDto, AllegationStageDispositionDto, AllegationStageDispositionDtoPaginatedResultDto, AllegationStageDto, AllegationStageDtoPaginatedResultDto, AllegationSubCodeDto, AllegationSubCodeDtoPaginatedResultDto, AssignRolesDto, BulkMatterAllegationStageRowDtoPaginatedResultDto, CodeDto, ConfidentialFooterDto, ContractCounselDto, ContractCounselDtoPaginatedResultDto, CouncilDistrictsViewDto, CreateAllegationDesiredOutcomeDto, CreateAllegationDto, CreateAllegationIssueDetailsDto, CreateAllegationIssueDto, CreateAllegationStageDispositionDto, CreateAllegationStageDto, CreateAllegationSubCodeDto, CreateContractCounselDto, CreateCtyLawDto, CreateExpenseReserveDto, CreateExpertWitnessDto, CreateFormDefinitionDto, CreateFormSubmissionDto, CreateGeneralExpenseDto, CreateIndemnityReserveDto, CreateLitigationMatterRequestDto, CreateMatterAllegationDto, CreateMatterAllegationStageDto, CreateMatterDto, CreateMatterFormLayoutDto, CreatePaymentDto, CreateSettlementDto, CreateStageDispositionMappingDto, CreateUpdateFieldDefinitionDto, CreateUpdateFormElementDto, CreateUpdateFormFieldDto, CreateUpdateFormFieldRuleDto, CreateUpdateFormSubmissionActionDto, CreateUserDto, CreateWrpAssignmentMatterDto, CtyLawDto, DeleteApiV1MattersMatterIdParams, DocumentSearchCriteriaDto, DocumentSearchResponseDto, EmailSubjectDto, ExpenseReserveDto, ExpenseReserveDtoPaginatedResultDto, ExpertWitnessDto, ExpertWitnessDtoPaginatedResultDto, FieldDefinitionDto, FieldDefinitionDtoCursorPagedResultDto, FileLimitsDto, FileUploadResultDto, FormDefinitionDto, FormDefinitionDtoCursorPagedResultDto, FormDefinitionFullDto, FormElementDto, FormElementDtoListResultDto, FormFieldDto, FormFieldDtoListResultDto, FormFieldRuleDto, FormFieldRuleDtoListResultDto, FormSubmissionActionDto, FormSubmissionActionDtoListResultDto, FormSubmissionDto, FormSubmissionDtoCursorPagedResultDto, GeneralExpenseDto, GeneralExpenseDtoPaginatedResultDto, GetApiV1AllegationsDesiredOutcomesParams, GetApiV1AllegationsIssueDetailsParams, GetApiV1AllegationsIssuesParams, GetApiV1AllegationsParams, GetApiV1AllegationsStageDispositionsParams, GetApiV1AllegationsStagesDispositionMappingsParams, GetApiV1AllegationsStagesParams, GetApiV1AllegationsSubcodesParams, GetApiV1CodesDispositionsModuleCodeParams, GetApiV1CodesParams, GetApiV1FieldDefinitionsParams, GetApiV1FormDefinitionsFormIdRulesParams, GetApiV1FormDefinitionsFormIdSubmissionsParams, GetApiV1FormDefinitionsParams, GetApiV1MatterFieldRegistryParams, GetApiV1MattersAllegationsAllegationIdStagesParams, GetApiV1MattersFieldsMetadataAccountParams, GetApiV1MattersFieldsMetadataCreateParams, GetApiV1MattersFieldsMetadataDepartmentParams, GetApiV1MattersFieldsMetadataParams, GetApiV1MattersFileNumberExistsParams, GetApiV1MattersFinanceMetadataParams, GetApiV1MattersMatterIdAllegationsParams, GetApiV1MattersMatterIdAllegationsStagesParams, GetApiV1MattersMatterIdFinanceCollectionsCollectedParams, GetApiV1MattersMatterIdFinanceExpendituresContractCounselParams, GetApiV1MattersMatterIdFinanceExpendituresExpertWitnessParams, GetApiV1MattersMatterIdFinanceExpendituresGeneralExpensesParams, GetApiV1MattersMatterIdFinanceExpendituresSettlementsParams, GetApiV1MattersMatterIdFinanceReservesExpensesParams, GetApiV1MattersMyOpenParams, GetApiV1MattersNextFileNumberParams, GetApiV1MattersPartiesMetadataParams, GetApiV1PeopleStaffModuleCodeParams, GetApiV1ReportsExportRiskDataReportParams, GetApiV1ReportsManagerReportParams, GetApiV1StaffParams, GetApiV1SystemManagementAppSettingsParams, GetApiV1TimeentriesParams, GetApiV1TipssCitationsSearchParams, GetApiV1UsersParams, GetApiV2MattersFieldsMetadataParams, IndemnityReserveDto, LabelAndPeopleDto, LabelAndStaffDto, LabelAndVisibilityDto, LabelDto, LitigationMatterAbstractDto, LitigationMatterDto, MarkAveryLabelsPrintedRequest, MatterAllegationDto, MatterAllegationDtoPaginatedResultDto, MatterAllegationStageDto, MatterAllegationStageDtoPaginatedResultDto, MatterArchiveRemarksDto, MatterDispositionPatchDto, MatterDispositionTextDto, MatterDto, MatterFieldMetadataDto, MatterFieldMetadataV2Dto, MatterFieldRegistryDto, MatterFieldRegistryDtoListResultDto, MatterFinanceFieldValuesDto, MatterFinanceMetadataDto, MatterFinancePatchDto, MatterPartyPatchDto, MatterPartyPostDto, MatterPartyRelationPatchDto, MatterPaymentMetadataDto, MatterPersonDto, MatterPersonRelationDto, MatterSearchHitsRequestDto, MatterSearchRequestDto, MatterStatusPatchDto, MatterStatusTextDto, NextFileNumberResponseDto, NoteDto, OpenMatterDto, Operation, PaymentDto, PaymentDtoPaginatedResultDto, PersonDto, PersonDtoIEnumerableInt32ValueTuple, PersonSearchDto, PostApiV1MattersParams, PostApiV1PeopleSearchParams, PostApiV1TipssGreenFormSyncParams, PotdDto, RoleDto, SearchCitationHitDtoPaginatedResultDto, SettlementDto, SettlementDtoPaginatedResultDto, StaffDto, StageDispositionMappingDto, StageDispositionMappingDtoPaginatedResultDto, SystemAccountsDto, SystemDepartmentsDto, TimeEntryViewDto, TipssSyncRequestDto, TipssSyncResponseDto, TracksViewDto, UpdateFormDefinitionDto, UpdateSelfProfileDto, UpdateUserDto, UserDto, UserDtoCursorPagedResultDto, ViewCodeDto, ViewCodeWithTypeDto, WrpAssignmentMatterResponseDto, WrpConfigDto, WrpFormDefinitionDto, WrpMetadataDto, WrpSelectOptionDto } from './models';
|
|
18
18
|
/**
|
|
19
19
|
* @summary Get a paginated list of allegation definitions.
|
|
20
20
|
*/
|
|
@@ -946,10 +946,11 @@ export declare const deleteApiV1MattersPartiesRelatedId: (id: number, options?:
|
|
|
946
946
|
export declare const getGetApiV1MattersPartiesPrimaryPartyIdRelatedUrl: (primaryPartyId: number) => string;
|
|
947
947
|
export declare const getApiV1MattersPartiesPrimaryPartyIdRelated: (primaryPartyId: number, options?: RequestInit) => Promise<void>;
|
|
948
948
|
/**
|
|
949
|
-
* @summary Gets the metadata for Matter Parties (
|
|
949
|
+
* @summary Gets the metadata for Matter Parties (roles, witness roles, related-party
|
|
950
|
+
relationships, profile types, and prefixes) for the given module.
|
|
950
951
|
*/
|
|
951
|
-
export declare const getGetApiV1MattersPartiesMetadataUrl: () => string;
|
|
952
|
-
export declare const getApiV1MattersPartiesMetadata: (options?: RequestInit) => Promise<void>;
|
|
952
|
+
export declare const getGetApiV1MattersPartiesMetadataUrl: (params?: GetApiV1MattersPartiesMetadataParams) => string;
|
|
953
|
+
export declare const getApiV1MattersPartiesMetadata: (params?: GetApiV1MattersPartiesMetadataParams, options?: RequestInit) => Promise<void>;
|
|
953
954
|
export declare const getGetApiV1MattersMatterIdFinanceUrl: (matterId: number) => string;
|
|
954
955
|
export declare const getApiV1MattersMatterIdFinance: (matterId: number, options?: RequestInit) => Promise<MatterFinanceFieldValuesDto>;
|
|
955
956
|
export declare const getPatchApiV1MattersMatterIdFinanceUrl: (matterId: number) => string;
|
|
@@ -2502,13 +2502,21 @@ export const getApiV1MattersPartiesPrimaryPartyIdRelated = async (primaryPartyId
|
|
|
2502
2502
|
});
|
|
2503
2503
|
};
|
|
2504
2504
|
/**
|
|
2505
|
-
* @summary Gets the metadata for Matter Parties (
|
|
2505
|
+
* @summary Gets the metadata for Matter Parties (roles, witness roles, related-party
|
|
2506
|
+
relationships, profile types, and prefixes) for the given module.
|
|
2506
2507
|
*/
|
|
2507
|
-
export const getGetApiV1MattersPartiesMetadataUrl = () => {
|
|
2508
|
-
|
|
2508
|
+
export const getGetApiV1MattersPartiesMetadataUrl = (params) => {
|
|
2509
|
+
const normalizedParams = new URLSearchParams();
|
|
2510
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
2511
|
+
if (value !== undefined) {
|
|
2512
|
+
normalizedParams.append(key, value === null ? 'null' : value.toString());
|
|
2513
|
+
}
|
|
2514
|
+
});
|
|
2515
|
+
const stringifiedParams = normalizedParams.toString();
|
|
2516
|
+
return stringifiedParams.length > 0 ? `/api/v1/Matters/parties/metadata?${stringifiedParams}` : `/api/v1/Matters/parties/metadata`;
|
|
2509
2517
|
};
|
|
2510
|
-
export const getApiV1MattersPartiesMetadata = async (options) => {
|
|
2511
|
-
return customFetch(getGetApiV1MattersPartiesMetadataUrl(), {
|
|
2518
|
+
export const getApiV1MattersPartiesMetadata = async (params, options) => {
|
|
2519
|
+
return customFetch(getGetApiV1MattersPartiesMetadataUrl(params), {
|
|
2512
2520
|
...options,
|
|
2513
2521
|
method: 'GET'
|
|
2514
2522
|
});
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v7.17.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Mackinac API
|
|
5
|
+
* Mackinac API - feature parity with Golden Gate.
|
|
6
|
+
|
|
7
|
+
**Custom Forms conventions**
|
|
8
|
+
|
|
9
|
+
- UUIDs are lowercase hyphenated strings.
|
|
10
|
+
- Pagination is cursor-based: `?cursor={id}&limit={n}` (default 50, max 200).
|
|
11
|
+
- Timestamps are ISO 8601 with offset.
|
|
12
|
+
- Errors follow RFC 9457 `application/problem+json`.
|
|
13
|
+
- Mutations to a form or any of its children (fields, elements, actions, rules) increment `FormDefinition.Version` and update `UpdatedAt`.
|
|
14
|
+
- The Custom Forms model is product-agnostic: the consuming product owns auth, identity resolution, and AV scanning of uploaded files. Mackinac validates the identity contract and persists/executes submissions.
|
|
15
|
+
* OpenAPI spec version: v1-Local
|
|
16
|
+
*/
|
|
17
|
+
export type GetApiV1MattersPartiesMetadataParams = {
|
|
18
|
+
/**
|
|
19
|
+
* The two-character module code identifying which module's party metadata to
|
|
20
|
+
retrieve. Supported codes: `3C`, `CL`, `FS`, `LI`,
|
|
21
|
+
`LR`, `WC`.
|
|
22
|
+
*/
|
|
23
|
+
moduleCode?: string;
|
|
24
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v7.17.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Mackinac API
|
|
5
|
+
* Mackinac API - feature parity with Golden Gate.
|
|
6
|
+
|
|
7
|
+
**Custom Forms conventions**
|
|
8
|
+
|
|
9
|
+
- UUIDs are lowercase hyphenated strings.
|
|
10
|
+
- Pagination is cursor-based: `?cursor={id}&limit={n}` (default 50, max 200).
|
|
11
|
+
- Timestamps are ISO 8601 with offset.
|
|
12
|
+
- Errors follow RFC 9457 `application/problem+json`.
|
|
13
|
+
- Mutations to a form or any of its children (fields, elements, actions, rules) increment `FormDefinition.Version` and update `UpdatedAt`.
|
|
14
|
+
- The Custom Forms model is product-agnostic: the consuming product owns auth, identity resolution, and AV scanning of uploaded files. Mackinac validates the identity contract and persists/executes submissions.
|
|
15
|
+
* OpenAPI spec version: v1-Local
|
|
16
|
+
*/
|
|
17
|
+
export {};
|
|
@@ -181,6 +181,7 @@ export * from './getApiV1MattersMatterIdFinanceExpendituresSettlementsParams';
|
|
|
181
181
|
export * from './getApiV1MattersMatterIdFinanceReservesExpensesParams';
|
|
182
182
|
export * from './getApiV1MattersMyOpenParams';
|
|
183
183
|
export * from './getApiV1MattersNextFileNumberParams';
|
|
184
|
+
export * from './getApiV1MattersPartiesMetadataParams';
|
|
184
185
|
export * from './getApiV1PeopleStaffModuleCodeParams';
|
|
185
186
|
export * from './getApiV1ReportsExportRiskDataReportParams';
|
|
186
187
|
export * from './getApiV1ReportsManagerReportParams';
|
|
@@ -181,6 +181,7 @@ export * from './getApiV1MattersMatterIdFinanceExpendituresSettlementsParams';
|
|
|
181
181
|
export * from './getApiV1MattersMatterIdFinanceReservesExpensesParams';
|
|
182
182
|
export * from './getApiV1MattersMyOpenParams';
|
|
183
183
|
export * from './getApiV1MattersNextFileNumberParams';
|
|
184
|
+
export * from './getApiV1MattersPartiesMetadataParams';
|
|
184
185
|
export * from './getApiV1PeopleStaffModuleCodeParams';
|
|
185
186
|
export * from './getApiV1ReportsExportRiskDataReportParams';
|
|
186
187
|
export * from './getApiV1ReportsManagerReportParams';
|