@cycomdatasystems/mackinac-sdk 4.0.0 → 5.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 +811 -3276
- package/dist/generated/mackinac.client.js +953 -18
- package/dist/generated/models/actionResultDto.d.ts +28 -0
- package/dist/generated/models/actionResultDto.js +1 -0
- package/dist/generated/models/actionResultDtoAction.d.ts +28 -0
- package/dist/generated/models/actionResultDtoAction.js +25 -0
- package/dist/generated/models/actionResultDtoDetail.d.ts +20 -0
- package/dist/generated/models/actionResultDtoDetail.js +17 -0
- package/dist/generated/models/actionResultDtoStatus.d.ts +24 -0
- package/dist/generated/models/actionResultDtoStatus.js +21 -0
- package/dist/generated/models/allegationDesiredOutcomeDto.d.ts +10 -1
- package/dist/generated/models/allegationDesiredOutcomeDto.js +10 -1
- package/dist/generated/models/allegationDesiredOutcomeDtoPaginatedResultDto.d.ts +10 -1
- package/dist/generated/models/allegationDto.d.ts +10 -1
- package/dist/generated/models/allegationDto.js +10 -1
- package/dist/generated/models/allegationDtoPaginatedResultDto.d.ts +10 -1
- package/dist/generated/models/allegationIssueDetailsDto.d.ts +10 -1
- package/dist/generated/models/allegationIssueDetailsDto.js +10 -1
- package/dist/generated/models/allegationIssueDetailsDtoPaginatedResultDto.d.ts +10 -1
- package/dist/generated/models/allegationIssueDto.d.ts +10 -1
- package/dist/generated/models/allegationIssueDto.js +10 -1
- package/dist/generated/models/allegationIssueDtoPaginatedResultDto.d.ts +10 -1
- package/dist/generated/models/allegationStageDispositionDto.d.ts +10 -1
- package/dist/generated/models/allegationStageDispositionDto.js +10 -1
- package/dist/generated/models/allegationStageDispositionDtoPaginatedResultDto.d.ts +10 -1
- package/dist/generated/models/allegationStageDto.d.ts +10 -1
- package/dist/generated/models/allegationStageDto.js +10 -1
- package/dist/generated/models/allegationStageDtoPaginatedResultDto.d.ts +10 -1
- package/dist/generated/models/allegationSubCodeDto.d.ts +10 -1
- package/dist/generated/models/allegationSubCodeDto.js +10 -1
- package/dist/generated/models/allegationSubCodeDtoPaginatedResultDto.d.ts +10 -1
- package/dist/generated/models/assembly.d.ts +10 -1
- package/dist/generated/models/bulkMatterAllegationStageRowDto.d.ts +10 -1
- package/dist/generated/models/bulkMatterAllegationStageRowDto.js +10 -1
- package/dist/generated/models/bulkMatterAllegationStageRowDtoPaginatedResultDto.d.ts +10 -1
- package/dist/generated/models/callingConventions.d.ts +10 -1
- package/dist/generated/models/callingConventions.js +10 -1
- package/dist/generated/models/codeDto.d.ts +13 -1
- package/dist/generated/models/codeDto.js +10 -1
- package/dist/generated/models/confidentialFooterDto.d.ts +10 -1
- package/dist/generated/models/confidentialFooterDto.js +10 -1
- package/dist/generated/models/constructorInfo.d.ts +10 -1
- package/dist/generated/models/contractCounselDto.d.ts +13 -1
- package/dist/generated/models/contractCounselDto.js +10 -1
- package/dist/generated/models/contractCounselDtoPaginatedResultDto.d.ts +10 -1
- package/dist/generated/models/createAllegationDesiredOutcomeDto.d.ts +10 -1
- package/dist/generated/models/createAllegationDesiredOutcomeDto.js +10 -1
- package/dist/generated/models/createAllegationDto.d.ts +10 -1
- package/dist/generated/models/createAllegationDto.js +10 -1
- package/dist/generated/models/createAllegationIssueDetailsDto.d.ts +10 -1
- package/dist/generated/models/createAllegationIssueDetailsDto.js +10 -1
- package/dist/generated/models/createAllegationIssueDto.d.ts +10 -1
- package/dist/generated/models/createAllegationIssueDto.js +10 -1
- package/dist/generated/models/createAllegationStageDispositionDto.d.ts +10 -1
- package/dist/generated/models/createAllegationStageDispositionDto.js +10 -1
- package/dist/generated/models/createAllegationStageDto.d.ts +10 -1
- package/dist/generated/models/createAllegationStageDto.js +10 -1
- package/dist/generated/models/createAllegationSubCodeDto.d.ts +10 -1
- package/dist/generated/models/createAllegationSubCodeDto.js +10 -1
- package/dist/generated/models/createContractCounselDto.d.ts +13 -1
- package/dist/generated/models/createContractCounselDto.js +10 -1
- package/dist/generated/models/createCtyLawDto.d.ts +10 -1
- package/dist/generated/models/createCtyLawDto.js +10 -1
- package/dist/generated/models/createExpenseReserveDto.d.ts +18 -2
- package/dist/generated/models/createExpenseReserveDto.js +10 -1
- package/dist/generated/models/createExpertWitnessDto.d.ts +13 -1
- package/dist/generated/models/createExpertWitnessDto.js +10 -1
- package/dist/generated/models/createFormDefinitionDto.d.ts +28 -0
- package/dist/generated/models/createFormDefinitionDto.js +1 -0
- package/dist/generated/models/createFormDefinitionDtoSubmitterIdentity.d.ts +25 -0
- package/dist/generated/models/createFormDefinitionDtoSubmitterIdentity.js +22 -0
- package/dist/generated/models/createFormSubmissionDto.d.ts +28 -0
- package/dist/generated/models/createFormSubmissionDto.js +1 -0
- package/dist/generated/models/createFormSubmissionDtoFieldValues.d.ts +20 -0
- package/dist/generated/models/createFormSubmissionDtoFieldValues.js +17 -0
- package/dist/generated/models/createFormSubmissionDtoSubmitterIdentityMode.d.ts +25 -0
- package/dist/generated/models/createFormSubmissionDtoSubmitterIdentityMode.js +22 -0
- package/dist/generated/models/createGeneralExpenseDto.d.ts +13 -1
- package/dist/generated/models/createGeneralExpenseDto.js +10 -1
- package/dist/generated/models/createIndemnityReserveDto.d.ts +18 -2
- package/dist/generated/models/createIndemnityReserveDto.js +10 -1
- package/dist/generated/models/createLitigationMatterRequestDto.d.ts +13 -1
- package/dist/generated/models/createLitigationMatterRequestDto.js +10 -1
- package/dist/generated/models/createMatterAllegationDto.d.ts +10 -1
- package/dist/generated/models/createMatterAllegationDto.js +10 -1
- package/dist/generated/models/createMatterAllegationStageDto.d.ts +10 -1
- package/dist/generated/models/createMatterAllegationStageDto.js +10 -1
- package/dist/generated/models/createMatterDto.d.ts +187 -0
- package/dist/generated/models/createMatterDto.js +17 -0
- package/dist/generated/models/createMatterFormLayoutDto.d.ts +18 -2
- package/dist/generated/models/createPaymentDto.d.ts +13 -1
- package/dist/generated/models/createPaymentDto.js +10 -1
- package/dist/generated/models/createSettlementDto.d.ts +13 -1
- package/dist/generated/models/createSettlementDto.js +10 -1
- package/dist/generated/models/createStageDispositionMappingDto.d.ts +10 -1
- package/dist/generated/models/createStageDispositionMappingDto.js +10 -1
- package/dist/generated/models/createUpdateFieldDefinitionDto.d.ts +44 -0
- package/dist/generated/models/createUpdateFieldDefinitionDto.js +1 -0
- package/dist/generated/models/createUpdateFieldDefinitionDtoInputType.d.ts +28 -0
- package/dist/generated/models/createUpdateFieldDefinitionDtoInputType.js +25 -0
- package/dist/generated/models/createUpdateFieldDefinitionDtoValueDestination.d.ts +25 -0
- package/dist/generated/models/createUpdateFieldDefinitionDtoValueDestination.js +22 -0
- package/dist/generated/models/createUpdateFormElementDto.d.ts +33 -0
- package/dist/generated/models/createUpdateFormElementDto.js +1 -0
- package/dist/generated/models/createUpdateFormElementDtoCardIcon.d.ts +25 -0
- package/dist/generated/models/createUpdateFormElementDtoCardIcon.js +22 -0
- package/dist/generated/models/createUpdateFormElementDtoType.d.ts +25 -0
- package/dist/generated/models/createUpdateFormElementDtoType.js +22 -0
- package/dist/generated/models/createUpdateFormFieldDto.d.ts +27 -0
- package/dist/generated/models/createUpdateFormFieldDto.js +17 -0
- package/dist/generated/models/createUpdateFormFieldRuleDto.d.ts +30 -0
- package/dist/generated/models/createUpdateFormFieldRuleDto.js +1 -0
- package/dist/generated/models/createUpdateFormFieldRuleDtoEffect.d.ts +29 -0
- package/dist/generated/models/createUpdateFormFieldRuleDtoEffect.js +26 -0
- package/dist/generated/models/createUpdateFormFieldRuleDtoTargetType.d.ts +24 -0
- package/dist/generated/models/createUpdateFormFieldRuleDtoTargetType.js +21 -0
- package/dist/generated/models/createUpdateFormSubmissionActionDto.d.ts +52 -0
- package/dist/generated/models/createUpdateFormSubmissionActionDto.js +1 -0
- package/dist/generated/models/createUpdateFormSubmissionActionDtoAction.d.ts +28 -0
- package/dist/generated/models/createUpdateFormSubmissionActionDtoAction.js +25 -0
- package/dist/generated/models/createUpdateFormSubmissionActionDtoEmailBody.d.ts +20 -0
- package/dist/generated/models/createUpdateFormSubmissionActionDtoEmailBody.js +17 -0
- package/dist/generated/models/createWrpAssignmentMatterDto.d.ts +13 -1
- package/dist/generated/models/createWrpAssignmentMatterDto.js +10 -1
- package/dist/generated/models/ctyLawDto.d.ts +10 -1
- package/dist/generated/models/ctyLawDto.js +10 -1
- package/dist/generated/models/customAttributeData.d.ts +10 -1
- package/dist/generated/models/customAttributeNamedArgument.d.ts +10 -1
- package/dist/generated/models/customAttributeTypedArgument.d.ts +10 -1
- package/dist/generated/models/customAttributeTypedArgumentValue.d.ts +10 -1
- package/dist/generated/models/customAttributeTypedArgumentValue.js +10 -1
- package/dist/generated/models/deleteApiV1MattersMatterIdParams.d.ts +13 -1
- package/dist/generated/models/deleteApiV1MattersMatterIdParams.js +10 -1
- package/dist/generated/models/eventAttributes.d.ts +10 -1
- package/dist/generated/models/eventAttributes.js +10 -1
- package/dist/generated/models/eventInfo.d.ts +10 -1
- package/dist/generated/models/exception.d.ts +10 -1
- package/dist/generated/models/exceptionData.d.ts +10 -1
- package/dist/generated/models/exceptionData.js +10 -1
- package/dist/generated/models/expenseReserveDto.d.ts +17 -2
- package/dist/generated/models/expenseReserveDto.js +10 -1
- package/dist/generated/models/expenseReserveDtoPaginatedResultDto.d.ts +10 -1
- package/dist/generated/models/expertWitnessDto.d.ts +13 -1
- package/dist/generated/models/expertWitnessDto.js +10 -1
- package/dist/generated/models/expertWitnessDtoPaginatedResultDto.d.ts +10 -1
- package/dist/generated/models/fieldAttributes.d.ts +10 -1
- package/dist/generated/models/fieldAttributes.js +10 -1
- package/dist/generated/models/fieldDefinitionDto.d.ts +21 -7
- package/dist/generated/models/fieldDefinitionDto.js +0 -7
- package/dist/generated/models/fieldDefinitionDtoCursorPagedResultDto.d.ts +23 -0
- package/dist/generated/models/fieldDefinitionDtoCursorPagedResultDto.js +1 -0
- package/dist/generated/models/fieldDefinitionDtoInputType.d.ts +28 -0
- package/dist/generated/models/fieldDefinitionDtoInputType.js +25 -0
- package/dist/generated/models/fieldDefinitionDtoValueDestination.d.ts +25 -0
- package/dist/generated/models/fieldDefinitionDtoValueDestination.js +22 -0
- package/dist/generated/models/fieldDto.d.ts +32 -5
- package/dist/generated/models/fieldDto.js +10 -1
- package/dist/generated/models/fieldInfo.d.ts +10 -1
- package/dist/generated/models/fieldMetadataDto.d.ts +10 -1
- package/dist/generated/models/formDefinitionDto.d.ts +32 -0
- package/dist/generated/models/formDefinitionDto.js +1 -0
- package/dist/generated/models/formDefinitionDtoCursorPagedResultDto.d.ts +23 -0
- package/dist/generated/models/formDefinitionDtoCursorPagedResultDto.js +1 -0
- package/dist/generated/models/formDefinitionDtoSubmitterIdentity.d.ts +25 -0
- package/dist/generated/models/formDefinitionDtoSubmitterIdentity.js +22 -0
- package/dist/generated/models/formDefinitionFullDto.d.ts +49 -0
- package/dist/generated/models/formDefinitionFullDto.js +1 -0
- package/dist/generated/models/formDefinitionFullDtoSubmitterIdentity.d.ts +25 -0
- package/dist/generated/models/formDefinitionFullDtoSubmitterIdentity.js +22 -0
- package/dist/generated/models/formElementDto.d.ts +35 -0
- package/dist/generated/models/formElementDto.js +1 -0
- package/dist/generated/models/formElementDtoCardIcon.d.ts +25 -0
- package/dist/generated/models/formElementDtoCardIcon.js +22 -0
- package/dist/generated/models/formElementDtoListResultDto.d.ts +21 -0
- package/dist/generated/models/formElementDtoListResultDto.js +1 -0
- package/dist/generated/models/formElementDtoType.d.ts +25 -0
- package/dist/generated/models/formElementDtoType.js +22 -0
- package/dist/generated/models/formFieldDto.d.ts +31 -0
- package/dist/generated/models/formFieldDto.js +1 -0
- package/dist/generated/models/formFieldDtoListResultDto.d.ts +21 -0
- package/dist/generated/models/formFieldDtoListResultDto.js +1 -0
- package/dist/generated/models/formFieldRuleDto.d.ts +31 -0
- package/dist/generated/models/formFieldRuleDto.js +1 -0
- package/dist/generated/models/formFieldRuleDtoEffect.d.ts +29 -0
- package/dist/generated/models/formFieldRuleDtoEffect.js +26 -0
- package/dist/generated/models/formFieldRuleDtoListResultDto.d.ts +21 -0
- package/dist/generated/models/formFieldRuleDtoListResultDto.js +1 -0
- package/dist/generated/models/formFieldRuleDtoTargetType.d.ts +24 -0
- package/dist/generated/models/formFieldRuleDtoTargetType.js +21 -0
- package/dist/generated/models/formLayoutCellDto.d.ts +25 -3
- package/dist/generated/models/formLayoutCellDto.js +10 -1
- package/dist/generated/models/formSubmissionActionDto.d.ts +38 -0
- package/dist/generated/models/formSubmissionActionDto.js +1 -0
- package/dist/generated/models/formSubmissionActionDtoAction.d.ts +28 -0
- package/dist/generated/models/formSubmissionActionDtoAction.js +25 -0
- package/dist/generated/models/formSubmissionActionDtoEmailBody.d.ts +20 -0
- package/dist/generated/models/formSubmissionActionDtoEmailBody.js +17 -0
- package/dist/generated/models/formSubmissionActionDtoListResultDto.d.ts +21 -0
- package/dist/generated/models/formSubmissionActionDtoListResultDto.js +1 -0
- package/dist/generated/models/formSubmissionDto.d.ts +33 -0
- package/dist/generated/models/formSubmissionDto.js +1 -0
- package/dist/generated/models/formSubmissionDtoCursorPagedResultDto.d.ts +23 -0
- package/dist/generated/models/formSubmissionDtoCursorPagedResultDto.js +1 -0
- package/dist/generated/models/formSubmissionDtoFieldValues.d.ts +20 -0
- package/dist/generated/models/formSubmissionDtoFieldValues.js +17 -0
- package/dist/generated/models/formSubmissionDtoSubmitterIdentityMode.d.ts +25 -0
- package/dist/generated/models/formSubmissionDtoSubmitterIdentityMode.js +22 -0
- package/dist/generated/models/generalExpenseDto.d.ts +13 -1
- package/dist/generated/models/generalExpenseDto.js +10 -1
- package/dist/generated/models/generalExpenseDtoPaginatedResultDto.d.ts +10 -1
- package/dist/generated/models/genericParameterAttributes.d.ts +10 -1
- package/dist/generated/models/genericParameterAttributes.js +10 -1
- package/dist/generated/models/getApiV1AllegationsDesiredOutcomesParams.d.ts +16 -1
- package/dist/generated/models/getApiV1AllegationsDesiredOutcomesParams.js +10 -1
- package/dist/generated/models/getApiV1AllegationsIssueDetailsParams.d.ts +16 -1
- package/dist/generated/models/getApiV1AllegationsIssueDetailsParams.js +10 -1
- package/dist/generated/models/getApiV1AllegationsIssuesParams.d.ts +16 -1
- package/dist/generated/models/getApiV1AllegationsIssuesParams.js +10 -1
- package/dist/generated/models/getApiV1AllegationsParams.d.ts +16 -1
- package/dist/generated/models/getApiV1AllegationsParams.js +10 -1
- package/dist/generated/models/getApiV1AllegationsStageDispositionsParams.d.ts +16 -1
- package/dist/generated/models/getApiV1AllegationsStageDispositionsParams.js +10 -1
- package/dist/generated/models/getApiV1AllegationsStagesDispositionMappingsParams.d.ts +19 -1
- package/dist/generated/models/getApiV1AllegationsStagesDispositionMappingsParams.js +10 -1
- package/dist/generated/models/getApiV1AllegationsStagesParams.d.ts +16 -1
- package/dist/generated/models/getApiV1AllegationsStagesParams.js +10 -1
- package/dist/generated/models/getApiV1AllegationsSubcodesParams.d.ts +16 -1
- package/dist/generated/models/getApiV1AllegationsSubcodesParams.js +10 -1
- package/dist/generated/models/getApiV1CodesParams.d.ts +16 -1
- package/dist/generated/models/getApiV1CodesParams.js +10 -1
- package/dist/generated/models/getApiV1FieldDefinitionsParams.d.ts +22 -0
- package/dist/generated/models/getApiV1FieldDefinitionsParams.js +17 -0
- package/dist/generated/models/getApiV1FormDefinitionsFormIdRulesParams.d.ts +19 -0
- package/dist/generated/models/getApiV1FormDefinitionsFormIdRulesParams.js +17 -0
- package/dist/generated/models/getApiV1FormDefinitionsFormIdSubmissionsParams.d.ts +22 -0
- package/dist/generated/models/getApiV1FormDefinitionsFormIdSubmissionsParams.js +17 -0
- package/dist/generated/models/getApiV1FormDefinitionsParams.d.ts +21 -0
- package/dist/generated/models/getApiV1FormDefinitionsParams.js +17 -0
- package/dist/generated/models/getApiV1MatterFieldRegistryParams.d.ts +22 -0
- package/dist/generated/models/getApiV1MatterFieldRegistryParams.js +17 -0
- package/dist/generated/models/getApiV1MattersAllegationsAllegationIdStagesParams.d.ts +16 -1
- package/dist/generated/models/getApiV1MattersAllegationsAllegationIdStagesParams.js +10 -1
- package/dist/generated/models/getApiV1MattersFieldsMetadataAccountParams.d.ts +10 -1
- package/dist/generated/models/getApiV1MattersFieldsMetadataAccountParams.js +10 -1
- package/dist/generated/models/getApiV1MattersFieldsMetadataCreateParams.d.ts +13 -1
- package/dist/generated/models/getApiV1MattersFieldsMetadataCreateParams.js +10 -1
- package/dist/generated/models/getApiV1MattersFieldsMetadataDepartmentParams.d.ts +10 -1
- package/dist/generated/models/getApiV1MattersFieldsMetadataDepartmentParams.js +10 -1
- package/dist/generated/models/getApiV1MattersFieldsMetadataParams.d.ts +10 -1
- package/dist/generated/models/getApiV1MattersFieldsMetadataParams.js +10 -1
- package/dist/generated/models/getApiV1MattersFileNumberExistsParams.d.ts +10 -1
- package/dist/generated/models/getApiV1MattersFileNumberExistsParams.js +10 -1
- package/dist/generated/models/getApiV1MattersFinanceMetadataParams.d.ts +13 -1
- package/dist/generated/models/getApiV1MattersFinanceMetadataParams.js +10 -1
- package/dist/generated/models/getApiV1MattersMatterIdAllegationsParams.d.ts +16 -1
- package/dist/generated/models/getApiV1MattersMatterIdAllegationsParams.js +10 -1
- package/dist/generated/models/getApiV1MattersMatterIdAllegationsStagesParams.d.ts +25 -1
- package/dist/generated/models/getApiV1MattersMatterIdAllegationsStagesParams.js +10 -1
- package/dist/generated/models/getApiV1MattersMatterIdFinanceCollectionsCollectedParams.d.ts +10 -1
- package/dist/generated/models/getApiV1MattersMatterIdFinanceCollectionsCollectedParams.js +10 -1
- package/dist/generated/models/getApiV1MattersMatterIdFinanceExpendituresContractCounselParams.d.ts +10 -1
- package/dist/generated/models/getApiV1MattersMatterIdFinanceExpendituresContractCounselParams.js +10 -1
- package/dist/generated/models/getApiV1MattersMatterIdFinanceExpendituresExpertWitnessParams.d.ts +10 -1
- package/dist/generated/models/getApiV1MattersMatterIdFinanceExpendituresExpertWitnessParams.js +10 -1
- package/dist/generated/models/getApiV1MattersMatterIdFinanceExpendituresGeneralExpensesParams.d.ts +10 -1
- package/dist/generated/models/getApiV1MattersMatterIdFinanceExpendituresGeneralExpensesParams.js +10 -1
- package/dist/generated/models/getApiV1MattersMatterIdFinanceExpendituresSettlementsParams.d.ts +10 -1
- package/dist/generated/models/getApiV1MattersMatterIdFinanceExpendituresSettlementsParams.js +10 -1
- package/dist/generated/models/getApiV1MattersMatterIdFinanceReservesExpensesParams.d.ts +10 -1
- package/dist/generated/models/getApiV1MattersMatterIdFinanceReservesExpensesParams.js +10 -1
- package/dist/generated/models/getApiV1MattersMyOpenParams.d.ts +13 -1
- package/dist/generated/models/getApiV1MattersMyOpenParams.js +10 -1
- package/dist/generated/models/getApiV1MattersNextFileNumberParams.d.ts +13 -1
- package/dist/generated/models/getApiV1MattersNextFileNumberParams.js +10 -1
- package/dist/generated/models/getApiV1ReportsExportRiskDataReportParams.d.ts +13 -1
- package/dist/generated/models/getApiV1ReportsExportRiskDataReportParams.js +10 -1
- package/dist/generated/models/getApiV1ReportsManagerReportParams.d.ts +16 -1
- package/dist/generated/models/getApiV1ReportsManagerReportParams.js +10 -1
- package/dist/generated/models/getApiV1StaffParams.d.ts +10 -1
- package/dist/generated/models/getApiV1StaffParams.js +10 -1
- package/dist/generated/models/getApiV1SystemManagementAppSettingsParams.d.ts +16 -1
- package/dist/generated/models/getApiV1SystemManagementAppSettingsParams.js +10 -1
- package/dist/generated/models/getApiV1TipssCitationsSearchParams.d.ts +22 -1
- package/dist/generated/models/getApiV1TipssCitationsSearchParams.js +10 -1
- package/dist/generated/models/getApiV2MattersFieldsMetadataParams.d.ts +10 -1
- package/dist/generated/models/getApiV2MattersFieldsMetadataParams.js +10 -1
- package/dist/generated/models/iCustomAttributeProvider.d.ts +10 -1
- package/dist/generated/models/iCustomAttributeProvider.js +10 -1
- package/dist/generated/models/iSelectableItem.d.ts +10 -1
- package/dist/generated/models/iSelectableItemValue.d.ts +10 -1
- package/dist/generated/models/iSelectableItemValue.js +10 -1
- package/dist/generated/models/indemnityReserveDto.d.ts +17 -2
- package/dist/generated/models/indemnityReserveDto.js +10 -1
- package/dist/generated/models/index.d.ts +71 -1
- package/dist/generated/models/index.js +71 -1
- package/dist/generated/models/intPtr.d.ts +10 -1
- package/dist/generated/models/intPtr.js +10 -1
- package/dist/generated/models/layoutItemDto.d.ts +25 -0
- package/dist/generated/models/layoutItemDto.js +1 -0
- package/dist/generated/models/layoutItemDtoType.d.ts +24 -0
- package/dist/generated/models/layoutItemDtoType.js +21 -0
- package/dist/generated/models/layoutKind.d.ts +10 -1
- package/dist/generated/models/layoutKind.js +10 -1
- package/dist/generated/models/litigationMatterAbstractDto.d.ts +10 -1
- package/dist/generated/models/litigationMatterAbstractDto.js +10 -1
- package/dist/generated/models/litigationMatterDto.d.ts +227 -38
- package/dist/generated/models/litigationMatterDto.js +10 -1
- package/dist/generated/models/litigationSearchTermScopes.d.ts +14 -1
- package/dist/generated/models/litigationSearchTermScopes.js +10 -1
- package/dist/generated/models/markAveryLabelsPrintedRequest.d.ts +22 -2
- package/dist/generated/models/markAveryLabelsPrintedRequest.js +10 -1
- package/dist/generated/models/matterAllegationDto.d.ts +10 -1
- package/dist/generated/models/matterAllegationDto.js +10 -1
- package/dist/generated/models/matterAllegationDtoPaginatedResultDto.d.ts +10 -1
- package/dist/generated/models/matterAllegationStageDto.d.ts +10 -1
- package/dist/generated/models/matterAllegationStageDto.js +10 -1
- package/dist/generated/models/matterAllegationStageDtoPaginatedResultDto.d.ts +10 -1
- package/dist/generated/models/matterDto.d.ts +255 -44
- package/dist/generated/models/matterDto.js +10 -1
- package/dist/generated/models/matterFieldDefinitionDto.d.ts +35 -0
- package/dist/generated/models/matterFieldDefinitionDto.js +17 -0
- package/dist/generated/models/matterFieldMetadataDto.d.ts +14 -1
- package/dist/generated/models/matterFieldMetadataV2Dto.d.ts +18 -3
- package/dist/generated/models/matterFieldMetadataV2DtoOptionSets.d.ts +10 -1
- package/dist/generated/models/matterFieldRegistryDto.d.ts +28 -0
- package/dist/generated/models/matterFieldRegistryDto.js +17 -0
- package/dist/generated/models/matterFieldRegistryDtoListResultDto.d.ts +21 -0
- package/dist/generated/models/matterFieldRegistryDtoListResultDto.js +1 -0
- package/dist/generated/models/matterFinanceFieldValuesDto.d.ts +21 -3
- package/dist/generated/models/matterFinanceMetadataDto.d.ts +13 -1
- package/dist/generated/models/matterFinancePatchDto.d.ts +14 -1
- package/dist/generated/models/matterFinancePatchDto.js +10 -1
- package/dist/generated/models/matterPartyPatchDto.d.ts +13 -1
- package/dist/generated/models/matterPartyPatchDto.js +10 -1
- package/dist/generated/models/matterPartyPostDto.d.ts +10 -1
- package/dist/generated/models/matterPartyPostDto.js +10 -1
- package/dist/generated/models/matterPartyRelationPatchDto.d.ts +10 -1
- package/dist/generated/models/matterPartyRelationPatchDto.js +10 -1
- package/dist/generated/models/matterPaymentMetadataDto.d.ts +10 -1
- package/dist/generated/models/matterPersonDto.d.ts +10 -1
- package/dist/generated/models/matterPersonRelationDto.d.ts +10 -1
- package/dist/generated/models/matterPersonRelationDto.js +10 -1
- package/dist/generated/models/matterSearchCriteriaDto.d.ts +14 -1
- package/dist/generated/models/matterSearchHitsRequestDto.d.ts +14 -1
- package/dist/generated/models/matterSearchHitsRequestDto.js +10 -1
- package/dist/generated/models/matterSearchRequestDto.d.ts +14 -1
- package/dist/generated/models/memberInfo.d.ts +10 -1
- package/dist/generated/models/memberTypes.d.ts +10 -1
- package/dist/generated/models/memberTypes.js +10 -1
- package/dist/generated/models/methodAttributes.d.ts +10 -1
- package/dist/generated/models/methodAttributes.js +10 -1
- package/dist/generated/models/methodBase.d.ts +10 -1
- package/dist/generated/models/methodImplAttributes.d.ts +10 -1
- package/dist/generated/models/methodImplAttributes.js +10 -1
- package/dist/generated/models/methodInfo.d.ts +10 -1
- package/dist/generated/models/modelError.d.ts +10 -1
- package/dist/generated/models/modelStateEntry.d.ts +10 -1
- package/dist/generated/models/modelStateEntryRawValue.d.ts +10 -1
- package/dist/generated/models/modelStateEntryRawValue.js +10 -1
- package/dist/generated/models/modelValidationState.d.ts +10 -1
- package/dist/generated/models/modelValidationState.js +10 -1
- package/dist/generated/models/module.d.ts +10 -1
- package/dist/generated/models/moduleHandle.d.ts +10 -1
- package/dist/generated/models/moduleHandle.js +10 -1
- package/dist/generated/models/nextFileNumberResponseDto.d.ts +17 -2
- package/dist/generated/models/nextFileNumberResponseDto.js +10 -1
- package/dist/generated/models/noteDto.d.ts +38 -6
- package/dist/generated/models/noteDto.js +10 -1
- package/dist/generated/models/openMatterDto.d.ts +16 -1
- package/dist/generated/models/openMatterDto.js +10 -1
- package/dist/generated/models/operation.d.ts +10 -1
- package/dist/generated/models/operationType.d.ts +10 -1
- package/dist/generated/models/operationType.js +10 -1
- package/dist/generated/models/operationValue.d.ts +10 -1
- package/dist/generated/models/operationValue.js +10 -1
- package/dist/generated/models/parameterAttributes.d.ts +10 -1
- package/dist/generated/models/parameterAttributes.js +10 -1
- package/dist/generated/models/parameterInfo.d.ts +10 -1
- package/dist/generated/models/parameterInfoDefaultValue.d.ts +10 -1
- package/dist/generated/models/parameterInfoDefaultValue.js +10 -1
- package/dist/generated/models/parameterInfoRawDefaultValue.d.ts +10 -1
- package/dist/generated/models/parameterInfoRawDefaultValue.js +10 -1
- package/dist/generated/models/paymentDto.d.ts +13 -1
- package/dist/generated/models/paymentDto.js +10 -1
- package/dist/generated/models/paymentDtoPaginatedResultDto.d.ts +10 -1
- package/dist/generated/models/personDto.d.ts +10 -1
- package/dist/generated/models/personDto.js +10 -1
- package/dist/generated/models/personDtoIEnumerableInt32ValueTuple.d.ts +10 -1
- package/dist/generated/models/personDtoIEnumerableInt32ValueTuple.js +10 -1
- package/dist/generated/models/personSearchDto.d.ts +10 -1
- package/dist/generated/models/personSearchDto.js +10 -1
- package/dist/generated/models/postApiV1Codes400One.d.ts +10 -1
- package/dist/generated/models/postApiV1Codes400Three.d.ts +10 -1
- package/dist/generated/models/postApiV1Codes400Two.d.ts +10 -1
- package/dist/generated/models/postApiV1MattersParams.d.ts +13 -1
- package/dist/generated/models/postApiV1MattersParams.js +10 -1
- package/dist/generated/models/postApiV1PeopleSearchParams.d.ts +16 -1
- package/dist/generated/models/postApiV1PeopleSearchParams.js +10 -1
- package/dist/generated/models/postApiV1TipssGreenFormSyncParams.d.ts +14 -1
- package/dist/generated/models/postApiV1TipssGreenFormSyncParams.js +10 -1
- package/dist/generated/models/problemDetails.d.ts +10 -1
- package/dist/generated/models/problemDetails.js +10 -1
- package/dist/generated/models/propertyAttributes.d.ts +10 -1
- package/dist/generated/models/propertyAttributes.js +10 -1
- package/dist/generated/models/propertyInfo.d.ts +10 -1
- package/dist/generated/models/runtimeFieldHandle.d.ts +10 -1
- package/dist/generated/models/runtimeMethodHandle.d.ts +10 -1
- package/dist/generated/models/runtimeTypeHandle.d.ts +10 -1
- package/dist/generated/models/searchCitationHitDto.d.ts +10 -1
- package/dist/generated/models/searchCitationHitDto.js +10 -1
- package/dist/generated/models/searchCitationHitDtoPaginatedResultDto.d.ts +10 -1
- package/dist/generated/models/securityRuleSet.d.ts +10 -1
- package/dist/generated/models/securityRuleSet.js +10 -1
- package/dist/generated/models/selectableItemDto.d.ts +13 -1
- package/dist/generated/models/selectableItemDtoValue.d.ts +10 -1
- package/dist/generated/models/selectableItemDtoValue.js +10 -1
- package/dist/generated/models/settlementDto.d.ts +13 -1
- package/dist/generated/models/settlementDto.js +10 -1
- package/dist/generated/models/settlementDtoPaginatedResultDto.d.ts +10 -1
- package/dist/generated/models/staffDto.d.ts +38 -2
- package/dist/generated/models/staffDto.js +10 -1
- package/dist/generated/models/stageDispositionMappingDto.d.ts +10 -1
- package/dist/generated/models/stageDispositionMappingDto.js +10 -1
- package/dist/generated/models/stageDispositionMappingDtoPaginatedResultDto.d.ts +10 -1
- package/dist/generated/models/structLayoutAttribute.d.ts +10 -1
- package/dist/generated/models/structLayoutAttributeTypeId.d.ts +10 -1
- package/dist/generated/models/structLayoutAttributeTypeId.js +10 -1
- package/dist/generated/models/tipssSyncRequestDto.d.ts +14 -1
- package/dist/generated/models/tipssSyncRequestDto.js +10 -1
- package/dist/generated/models/tipssSyncResponseDto.d.ts +19 -2
- package/dist/generated/models/tipssSyncResponseDto.js +10 -1
- package/dist/generated/models/type.d.ts +10 -1
- package/dist/generated/models/typeAttributes.d.ts +10 -1
- package/dist/generated/models/typeAttributes.js +10 -1
- package/dist/generated/models/typeInfo.d.ts +10 -1
- package/dist/generated/models/updateFormDefinitionDto.d.ts +30 -0
- package/dist/generated/models/updateFormDefinitionDto.js +1 -0
- package/dist/generated/models/updateFormDefinitionDtoSubmitterIdentity.d.ts +25 -0
- package/dist/generated/models/updateFormDefinitionDtoSubmitterIdentity.js +22 -0
- package/dist/generated/models/validationProblemDetails.d.ts +10 -1
- package/dist/generated/models/validationProblemDetailsErrors.d.ts +10 -1
- package/dist/generated/models/validationProblemDetailsErrors.js +10 -1
- package/dist/generated/models/wrpAssignmentMatterResponseDto.d.ts +17 -2
- package/dist/generated/models/wrpAssignmentMatterResponseDto.js +10 -1
- package/dist/generated/models/wrpBrandingDto.d.ts +29 -5
- package/dist/generated/models/wrpBrandingDto.js +10 -1
- package/dist/generated/models/wrpConfigDto.d.ts +13 -1
- package/dist/generated/models/wrpFieldMetadataDto.d.ts +39 -7
- package/dist/generated/models/wrpFieldValidationDto.d.ts +21 -3
- package/dist/generated/models/wrpFieldValidationDto.js +10 -1
- package/dist/generated/models/wrpFormDefinitionDto.d.ts +13 -1
- package/dist/generated/models/wrpFormFieldDto.d.ts +13 -1
- package/dist/generated/models/wrpFormFieldSelectSourceDto.d.ts +17 -2
- package/dist/generated/models/wrpFormFieldValidationDto.d.ts +13 -1
- package/dist/generated/models/wrpFormFieldValidationDto.js +10 -1
- package/dist/generated/models/wrpFormLayoutItemDto.d.ts +13 -1
- package/dist/generated/models/wrpFormLayoutItemDto.js +10 -1
- package/dist/generated/models/wrpMetadataDto.d.ts +23 -3
- package/dist/generated/models/wrpSelectOptionDto.d.ts +13 -1
- package/dist/generated/models/wrpSelectOptionDto.js +10 -1
- package/dist/generated/models/wrpStaticOptionDto.d.ts +13 -1
- package/dist/generated/models/wrpStaticOptionDto.js +10 -1
- package/package.json +3 -2
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { customFetch } from '../core/customFetch';
|
|
2
|
+
/**
|
|
3
|
+
* @summary Get a paginated list of allegation definitions.
|
|
4
|
+
*/
|
|
2
5
|
export const getGetApiV1AllegationsUrl = (params) => {
|
|
3
6
|
const normalizedParams = new URLSearchParams();
|
|
4
7
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -15,6 +18,9 @@ export const getApiV1Allegations = async (params, options) => {
|
|
|
15
18
|
method: 'GET'
|
|
16
19
|
});
|
|
17
20
|
};
|
|
21
|
+
/**
|
|
22
|
+
* @summary Create a new allegation definition.
|
|
23
|
+
*/
|
|
18
24
|
export const getPostApiV1AllegationsUrl = () => {
|
|
19
25
|
return `/api/v1/allegations`;
|
|
20
26
|
};
|
|
@@ -26,6 +32,9 @@ export const postApiV1Allegations = async (createAllegationDto, options) => {
|
|
|
26
32
|
body: JSON.stringify(createAllegationDto)
|
|
27
33
|
});
|
|
28
34
|
};
|
|
35
|
+
/**
|
|
36
|
+
* @summary Get a single allegation definition by ID.
|
|
37
|
+
*/
|
|
29
38
|
export const getGetApiV1AllegationsAllegationIdUrl = (allegationId) => {
|
|
30
39
|
return `/api/v1/allegations/${allegationId}`;
|
|
31
40
|
};
|
|
@@ -35,6 +44,9 @@ export const getApiV1AllegationsAllegationId = async (allegationId, options) =>
|
|
|
35
44
|
method: 'GET'
|
|
36
45
|
});
|
|
37
46
|
};
|
|
47
|
+
/**
|
|
48
|
+
* @summary Update an allegation definition using JSON Patch (RFC 6902).
|
|
49
|
+
*/
|
|
38
50
|
export const getPatchApiV1AllegationsAllegationIdUrl = (allegationId) => {
|
|
39
51
|
return `/api/v1/allegations/${allegationId}`;
|
|
40
52
|
};
|
|
@@ -46,6 +58,9 @@ export const patchApiV1AllegationsAllegationId = async (allegationId, operation,
|
|
|
46
58
|
body: JSON.stringify(operation)
|
|
47
59
|
});
|
|
48
60
|
};
|
|
61
|
+
/**
|
|
62
|
+
* @summary Delete an allegation definition.
|
|
63
|
+
*/
|
|
49
64
|
export const getDeleteApiV1AllegationsAllegationIdUrl = (allegationId) => {
|
|
50
65
|
return `/api/v1/allegations/${allegationId}`;
|
|
51
66
|
};
|
|
@@ -55,6 +70,9 @@ export const deleteApiV1AllegationsAllegationId = async (allegationId, options)
|
|
|
55
70
|
method: 'DELETE'
|
|
56
71
|
});
|
|
57
72
|
};
|
|
73
|
+
/**
|
|
74
|
+
* @summary Get a paginated list of allegation stage definitions.
|
|
75
|
+
*/
|
|
58
76
|
export const getGetApiV1AllegationsStagesUrl = (params) => {
|
|
59
77
|
const normalizedParams = new URLSearchParams();
|
|
60
78
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -71,6 +89,9 @@ export const getApiV1AllegationsStages = async (params, options) => {
|
|
|
71
89
|
method: 'GET'
|
|
72
90
|
});
|
|
73
91
|
};
|
|
92
|
+
/**
|
|
93
|
+
* @summary Create a new stage definition.
|
|
94
|
+
*/
|
|
74
95
|
export const getPostApiV1AllegationsStagesUrl = () => {
|
|
75
96
|
return `/api/v1/allegations/stages`;
|
|
76
97
|
};
|
|
@@ -82,6 +103,9 @@ export const postApiV1AllegationsStages = async (createAllegationStageDto, optio
|
|
|
82
103
|
body: JSON.stringify(createAllegationStageDto)
|
|
83
104
|
});
|
|
84
105
|
};
|
|
106
|
+
/**
|
|
107
|
+
* @summary Get a single stage definition by ID.
|
|
108
|
+
*/
|
|
85
109
|
export const getGetApiV1AllegationsStagesStageIdUrl = (stageId) => {
|
|
86
110
|
return `/api/v1/allegations/stages/${stageId}`;
|
|
87
111
|
};
|
|
@@ -91,6 +115,9 @@ export const getApiV1AllegationsStagesStageId = async (stageId, options) => {
|
|
|
91
115
|
method: 'GET'
|
|
92
116
|
});
|
|
93
117
|
};
|
|
118
|
+
/**
|
|
119
|
+
* @summary Update a stage definition using JSON Patch (RFC 6902).
|
|
120
|
+
*/
|
|
94
121
|
export const getPatchApiV1AllegationsStagesStageIdUrl = (stageId) => {
|
|
95
122
|
return `/api/v1/allegations/stages/${stageId}`;
|
|
96
123
|
};
|
|
@@ -102,6 +129,9 @@ export const patchApiV1AllegationsStagesStageId = async (stageId, operation, opt
|
|
|
102
129
|
body: JSON.stringify(operation)
|
|
103
130
|
});
|
|
104
131
|
};
|
|
132
|
+
/**
|
|
133
|
+
* @summary Delete a stage definition.
|
|
134
|
+
*/
|
|
105
135
|
export const getDeleteApiV1AllegationsStagesStageIdUrl = (stageId) => {
|
|
106
136
|
return `/api/v1/allegations/stages/${stageId}`;
|
|
107
137
|
};
|
|
@@ -111,6 +141,9 @@ export const deleteApiV1AllegationsStagesStageId = async (stageId, options) => {
|
|
|
111
141
|
method: 'DELETE'
|
|
112
142
|
});
|
|
113
143
|
};
|
|
144
|
+
/**
|
|
145
|
+
* @summary Get a paginated list of allegation sub-code definitions.
|
|
146
|
+
*/
|
|
114
147
|
export const getGetApiV1AllegationsSubcodesUrl = (params) => {
|
|
115
148
|
const normalizedParams = new URLSearchParams();
|
|
116
149
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -127,6 +160,9 @@ export const getApiV1AllegationsSubcodes = async (params, options) => {
|
|
|
127
160
|
method: 'GET'
|
|
128
161
|
});
|
|
129
162
|
};
|
|
163
|
+
/**
|
|
164
|
+
* @summary Create a new allegation sub-code definition.
|
|
165
|
+
*/
|
|
130
166
|
export const getPostApiV1AllegationsSubcodesUrl = () => {
|
|
131
167
|
return `/api/v1/allegations/subcodes`;
|
|
132
168
|
};
|
|
@@ -138,6 +174,9 @@ export const postApiV1AllegationsSubcodes = async (createAllegationSubCodeDto, o
|
|
|
138
174
|
body: JSON.stringify(createAllegationSubCodeDto)
|
|
139
175
|
});
|
|
140
176
|
};
|
|
177
|
+
/**
|
|
178
|
+
* @summary Get a single sub-code definition by ID.
|
|
179
|
+
*/
|
|
141
180
|
export const getGetApiV1AllegationsSubcodesSubCodeIdUrl = (subCodeId) => {
|
|
142
181
|
return `/api/v1/allegations/subcodes/${subCodeId}`;
|
|
143
182
|
};
|
|
@@ -147,6 +186,9 @@ export const getApiV1AllegationsSubcodesSubCodeId = async (subCodeId, options) =
|
|
|
147
186
|
method: 'GET'
|
|
148
187
|
});
|
|
149
188
|
};
|
|
189
|
+
/**
|
|
190
|
+
* @summary Update a sub-code definition using JSON Patch (RFC 6902).
|
|
191
|
+
*/
|
|
150
192
|
export const getPatchApiV1AllegationsSubcodesSubCodeIdUrl = (subCodeId) => {
|
|
151
193
|
return `/api/v1/allegations/subcodes/${subCodeId}`;
|
|
152
194
|
};
|
|
@@ -158,6 +200,9 @@ export const patchApiV1AllegationsSubcodesSubCodeId = async (subCodeId, operatio
|
|
|
158
200
|
body: JSON.stringify(operation)
|
|
159
201
|
});
|
|
160
202
|
};
|
|
203
|
+
/**
|
|
204
|
+
* @summary Delete a sub-code definition.
|
|
205
|
+
*/
|
|
161
206
|
export const getDeleteApiV1AllegationsSubcodesSubCodeIdUrl = (subCodeId) => {
|
|
162
207
|
return `/api/v1/allegations/subcodes/${subCodeId}`;
|
|
163
208
|
};
|
|
@@ -167,6 +212,9 @@ export const deleteApiV1AllegationsSubcodesSubCodeId = async (subCodeId, options
|
|
|
167
212
|
method: 'DELETE'
|
|
168
213
|
});
|
|
169
214
|
};
|
|
215
|
+
/**
|
|
216
|
+
* @summary Get a paginated list of allegation issue definitions.
|
|
217
|
+
*/
|
|
170
218
|
export const getGetApiV1AllegationsIssuesUrl = (params) => {
|
|
171
219
|
const normalizedParams = new URLSearchParams();
|
|
172
220
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -183,6 +231,9 @@ export const getApiV1AllegationsIssues = async (params, options) => {
|
|
|
183
231
|
method: 'GET'
|
|
184
232
|
});
|
|
185
233
|
};
|
|
234
|
+
/**
|
|
235
|
+
* @summary Create a new allegation issue definition.
|
|
236
|
+
*/
|
|
186
237
|
export const getPostApiV1AllegationsIssuesUrl = () => {
|
|
187
238
|
return `/api/v1/allegations/issues`;
|
|
188
239
|
};
|
|
@@ -194,6 +245,9 @@ export const postApiV1AllegationsIssues = async (createAllegationIssueDto, optio
|
|
|
194
245
|
body: JSON.stringify(createAllegationIssueDto)
|
|
195
246
|
});
|
|
196
247
|
};
|
|
248
|
+
/**
|
|
249
|
+
* @summary Get a single issue definition by ID.
|
|
250
|
+
*/
|
|
197
251
|
export const getGetApiV1AllegationsIssuesIssueIdUrl = (issueId) => {
|
|
198
252
|
return `/api/v1/allegations/issues/${issueId}`;
|
|
199
253
|
};
|
|
@@ -203,6 +257,9 @@ export const getApiV1AllegationsIssuesIssueId = async (issueId, options) => {
|
|
|
203
257
|
method: 'GET'
|
|
204
258
|
});
|
|
205
259
|
};
|
|
260
|
+
/**
|
|
261
|
+
* @summary Update an issue definition using JSON Patch (RFC 6902).
|
|
262
|
+
*/
|
|
206
263
|
export const getPatchApiV1AllegationsIssuesIssueIdUrl = (issueId) => {
|
|
207
264
|
return `/api/v1/allegations/issues/${issueId}`;
|
|
208
265
|
};
|
|
@@ -214,6 +271,9 @@ export const patchApiV1AllegationsIssuesIssueId = async (issueId, operation, opt
|
|
|
214
271
|
body: JSON.stringify(operation)
|
|
215
272
|
});
|
|
216
273
|
};
|
|
274
|
+
/**
|
|
275
|
+
* @summary Delete an issue definition.
|
|
276
|
+
*/
|
|
217
277
|
export const getDeleteApiV1AllegationsIssuesIssueIdUrl = (issueId) => {
|
|
218
278
|
return `/api/v1/allegations/issues/${issueId}`;
|
|
219
279
|
};
|
|
@@ -223,6 +283,9 @@ export const deleteApiV1AllegationsIssuesIssueId = async (issueId, options) => {
|
|
|
223
283
|
method: 'DELETE'
|
|
224
284
|
});
|
|
225
285
|
};
|
|
286
|
+
/**
|
|
287
|
+
* @summary Get a paginated list of allegation issue detail definitions.
|
|
288
|
+
*/
|
|
226
289
|
export const getGetApiV1AllegationsIssueDetailsUrl = (params) => {
|
|
227
290
|
const normalizedParams = new URLSearchParams();
|
|
228
291
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -239,6 +302,9 @@ export const getApiV1AllegationsIssueDetails = async (params, options) => {
|
|
|
239
302
|
method: 'GET'
|
|
240
303
|
});
|
|
241
304
|
};
|
|
305
|
+
/**
|
|
306
|
+
* @summary Create a new allegation issue detail definition.
|
|
307
|
+
*/
|
|
242
308
|
export const getPostApiV1AllegationsIssueDetailsUrl = () => {
|
|
243
309
|
return `/api/v1/allegations/issue-details`;
|
|
244
310
|
};
|
|
@@ -250,6 +316,9 @@ export const postApiV1AllegationsIssueDetails = async (createAllegationIssueDeta
|
|
|
250
316
|
body: JSON.stringify(createAllegationIssueDetailsDto)
|
|
251
317
|
});
|
|
252
318
|
};
|
|
319
|
+
/**
|
|
320
|
+
* @summary Get a single issue detail definition by ID.
|
|
321
|
+
*/
|
|
253
322
|
export const getGetApiV1AllegationsIssueDetailsDetailIdUrl = (detailId) => {
|
|
254
323
|
return `/api/v1/allegations/issue-details/${detailId}`;
|
|
255
324
|
};
|
|
@@ -259,6 +328,9 @@ export const getApiV1AllegationsIssueDetailsDetailId = async (detailId, options)
|
|
|
259
328
|
method: 'GET'
|
|
260
329
|
});
|
|
261
330
|
};
|
|
331
|
+
/**
|
|
332
|
+
* @summary Update an issue detail definition using JSON Patch (RFC 6902).
|
|
333
|
+
*/
|
|
262
334
|
export const getPatchApiV1AllegationsIssueDetailsDetailIdUrl = (detailId) => {
|
|
263
335
|
return `/api/v1/allegations/issue-details/${detailId}`;
|
|
264
336
|
};
|
|
@@ -270,6 +342,9 @@ export const patchApiV1AllegationsIssueDetailsDetailId = async (detailId, operat
|
|
|
270
342
|
body: JSON.stringify(operation)
|
|
271
343
|
});
|
|
272
344
|
};
|
|
345
|
+
/**
|
|
346
|
+
* @summary Delete an issue detail definition.
|
|
347
|
+
*/
|
|
273
348
|
export const getDeleteApiV1AllegationsIssueDetailsDetailIdUrl = (detailId) => {
|
|
274
349
|
return `/api/v1/allegations/issue-details/${detailId}`;
|
|
275
350
|
};
|
|
@@ -279,6 +354,9 @@ export const deleteApiV1AllegationsIssueDetailsDetailId = async (detailId, optio
|
|
|
279
354
|
method: 'DELETE'
|
|
280
355
|
});
|
|
281
356
|
};
|
|
357
|
+
/**
|
|
358
|
+
* @summary Get a paginated list of allegation stage disposition definitions (global list).
|
|
359
|
+
*/
|
|
282
360
|
export const getGetApiV1AllegationsStageDispositionsUrl = (params) => {
|
|
283
361
|
const normalizedParams = new URLSearchParams();
|
|
284
362
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -295,6 +373,9 @@ export const getApiV1AllegationsStageDispositions = async (params, options) => {
|
|
|
295
373
|
method: 'GET'
|
|
296
374
|
});
|
|
297
375
|
};
|
|
376
|
+
/**
|
|
377
|
+
* @summary Create a new stage disposition definition.
|
|
378
|
+
*/
|
|
298
379
|
export const getPostApiV1AllegationsStageDispositionsUrl = () => {
|
|
299
380
|
return `/api/v1/allegations/stage-dispositions`;
|
|
300
381
|
};
|
|
@@ -306,6 +387,9 @@ export const postApiV1AllegationsStageDispositions = async (createAllegationStag
|
|
|
306
387
|
body: JSON.stringify(createAllegationStageDispositionDto)
|
|
307
388
|
});
|
|
308
389
|
};
|
|
390
|
+
/**
|
|
391
|
+
* @summary Get a single stage disposition definition by ID.
|
|
392
|
+
*/
|
|
309
393
|
export const getGetApiV1AllegationsStageDispositionsDispositionIdUrl = (dispositionId) => {
|
|
310
394
|
return `/api/v1/allegations/stage-dispositions/${dispositionId}`;
|
|
311
395
|
};
|
|
@@ -315,6 +399,9 @@ export const getApiV1AllegationsStageDispositionsDispositionId = async (disposit
|
|
|
315
399
|
method: 'GET'
|
|
316
400
|
});
|
|
317
401
|
};
|
|
402
|
+
/**
|
|
403
|
+
* @summary Update a stage disposition definition using JSON Patch (RFC 6902).
|
|
404
|
+
*/
|
|
318
405
|
export const getPatchApiV1AllegationsStageDispositionsDispositionIdUrl = (dispositionId) => {
|
|
319
406
|
return `/api/v1/allegations/stage-dispositions/${dispositionId}`;
|
|
320
407
|
};
|
|
@@ -326,6 +413,9 @@ export const patchApiV1AllegationsStageDispositionsDispositionId = async (dispos
|
|
|
326
413
|
body: JSON.stringify(operation)
|
|
327
414
|
});
|
|
328
415
|
};
|
|
416
|
+
/**
|
|
417
|
+
* @summary Delete a stage disposition definition.
|
|
418
|
+
*/
|
|
329
419
|
export const getDeleteApiV1AllegationsStageDispositionsDispositionIdUrl = (dispositionId) => {
|
|
330
420
|
return `/api/v1/allegations/stage-dispositions/${dispositionId}`;
|
|
331
421
|
};
|
|
@@ -335,6 +425,9 @@ export const deleteApiV1AllegationsStageDispositionsDispositionId = async (dispo
|
|
|
335
425
|
method: 'DELETE'
|
|
336
426
|
});
|
|
337
427
|
};
|
|
428
|
+
/**
|
|
429
|
+
* @summary Get a paginated list of stage disposition mappings for a given stage code.
|
|
430
|
+
*/
|
|
338
431
|
export const getGetApiV1AllegationsStagesDispositionMappingsUrl = (params) => {
|
|
339
432
|
const normalizedParams = new URLSearchParams();
|
|
340
433
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -351,6 +444,9 @@ export const getApiV1AllegationsStagesDispositionMappings = async (params, optio
|
|
|
351
444
|
method: 'GET'
|
|
352
445
|
});
|
|
353
446
|
};
|
|
447
|
+
/**
|
|
448
|
+
* @summary Get a single stage disposition mapping by ID.
|
|
449
|
+
*/
|
|
354
450
|
export const getGetApiV1AllegationsStagesDispositionMappingsMappingIdUrl = (mappingId) => {
|
|
355
451
|
return `/api/v1/allegations/stages/disposition-mappings/${mappingId}`;
|
|
356
452
|
};
|
|
@@ -360,6 +456,9 @@ export const getApiV1AllegationsStagesDispositionMappingsMappingId = async (mapp
|
|
|
360
456
|
method: 'GET'
|
|
361
457
|
});
|
|
362
458
|
};
|
|
459
|
+
/**
|
|
460
|
+
* @summary Update a stage disposition mapping using JSON Patch (RFC 6902).
|
|
461
|
+
*/
|
|
363
462
|
export const getPatchApiV1AllegationsStagesDispositionMappingsMappingIdUrl = (mappingId) => {
|
|
364
463
|
return `/api/v1/allegations/stages/disposition-mappings/${mappingId}`;
|
|
365
464
|
};
|
|
@@ -371,6 +470,9 @@ export const patchApiV1AllegationsStagesDispositionMappingsMappingId = async (ma
|
|
|
371
470
|
body: JSON.stringify(operation)
|
|
372
471
|
});
|
|
373
472
|
};
|
|
473
|
+
/**
|
|
474
|
+
* @summary Delete a stage disposition mapping.
|
|
475
|
+
*/
|
|
374
476
|
export const getDeleteApiV1AllegationsStagesDispositionMappingsMappingIdUrl = (mappingId) => {
|
|
375
477
|
return `/api/v1/allegations/stages/disposition-mappings/${mappingId}`;
|
|
376
478
|
};
|
|
@@ -380,6 +482,9 @@ export const deleteApiV1AllegationsStagesDispositionMappingsMappingId = async (m
|
|
|
380
482
|
method: 'DELETE'
|
|
381
483
|
});
|
|
382
484
|
};
|
|
485
|
+
/**
|
|
486
|
+
* @summary Create a new stage disposition mapping for a stage definition.
|
|
487
|
+
*/
|
|
383
488
|
export const getPostApiV1AllegationsStagesStageIdDispositionMappingsUrl = (stageId) => {
|
|
384
489
|
return `/api/v1/allegations/stages/${stageId}/disposition-mappings`;
|
|
385
490
|
};
|
|
@@ -391,6 +496,9 @@ export const postApiV1AllegationsStagesStageIdDispositionMappings = async (stage
|
|
|
391
496
|
body: JSON.stringify(createStageDispositionMappingDto)
|
|
392
497
|
});
|
|
393
498
|
};
|
|
499
|
+
/**
|
|
500
|
+
* @summary Get a paginated list of desired outcome definitions.
|
|
501
|
+
*/
|
|
394
502
|
export const getGetApiV1AllegationsDesiredOutcomesUrl = (params) => {
|
|
395
503
|
const normalizedParams = new URLSearchParams();
|
|
396
504
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -407,6 +515,9 @@ export const getApiV1AllegationsDesiredOutcomes = async (params, options) => {
|
|
|
407
515
|
method: 'GET'
|
|
408
516
|
});
|
|
409
517
|
};
|
|
518
|
+
/**
|
|
519
|
+
* @summary Create a new desired outcome definition.
|
|
520
|
+
*/
|
|
410
521
|
export const getPostApiV1AllegationsDesiredOutcomesUrl = () => {
|
|
411
522
|
return `/api/v1/allegations/desired-outcomes`;
|
|
412
523
|
};
|
|
@@ -418,6 +529,9 @@ export const postApiV1AllegationsDesiredOutcomes = async (createAllegationDesire
|
|
|
418
529
|
body: JSON.stringify(createAllegationDesiredOutcomeDto)
|
|
419
530
|
});
|
|
420
531
|
};
|
|
532
|
+
/**
|
|
533
|
+
* @summary Get a single desired outcome definition by ID.
|
|
534
|
+
*/
|
|
421
535
|
export const getGetApiV1AllegationsDesiredOutcomesOutcomeIdUrl = (outcomeId) => {
|
|
422
536
|
return `/api/v1/allegations/desired-outcomes/${outcomeId}`;
|
|
423
537
|
};
|
|
@@ -427,6 +541,9 @@ export const getApiV1AllegationsDesiredOutcomesOutcomeId = async (outcomeId, opt
|
|
|
427
541
|
method: 'GET'
|
|
428
542
|
});
|
|
429
543
|
};
|
|
544
|
+
/**
|
|
545
|
+
* @summary Update a desired outcome definition using JSON Patch (RFC 6902).
|
|
546
|
+
*/
|
|
430
547
|
export const getPatchApiV1AllegationsDesiredOutcomesOutcomeIdUrl = (outcomeId) => {
|
|
431
548
|
return `/api/v1/allegations/desired-outcomes/${outcomeId}`;
|
|
432
549
|
};
|
|
@@ -438,6 +555,9 @@ export const patchApiV1AllegationsDesiredOutcomesOutcomeId = async (outcomeId, o
|
|
|
438
555
|
body: JSON.stringify(operation)
|
|
439
556
|
});
|
|
440
557
|
};
|
|
558
|
+
/**
|
|
559
|
+
* @summary Delete a desired outcome definition.
|
|
560
|
+
*/
|
|
441
561
|
export const getDeleteApiV1AllegationsDesiredOutcomesOutcomeIdUrl = (outcomeId) => {
|
|
442
562
|
return `/api/v1/allegations/desired-outcomes/${outcomeId}`;
|
|
443
563
|
};
|
|
@@ -447,6 +567,10 @@ export const deleteApiV1AllegationsDesiredOutcomesOutcomeId = async (outcomeId,
|
|
|
447
567
|
method: 'DELETE'
|
|
448
568
|
});
|
|
449
569
|
};
|
|
570
|
+
/**
|
|
571
|
+
* @summary Creates an attachment from a document template with token replacement.
|
|
572
|
+
Per §3.2, §4.1, and §6 of the document template specification.
|
|
573
|
+
*/
|
|
450
574
|
export const getPostApiV1MattersMatterIdAttachmentsFromTemplateUrl = (matterId) => {
|
|
451
575
|
return `/api/v1/matters/${matterId}/attachments/from-template`;
|
|
452
576
|
};
|
|
@@ -456,6 +580,9 @@ export const postApiV1MattersMatterIdAttachmentsFromTemplate = async (matterId,
|
|
|
456
580
|
method: 'POST'
|
|
457
581
|
});
|
|
458
582
|
};
|
|
583
|
+
/**
|
|
584
|
+
* @summary Marks Avery label records as printed for the supplied citations.
|
|
585
|
+
*/
|
|
459
586
|
export const getPostApiV1AveryLabelsPrintedRecordsUrl = () => {
|
|
460
587
|
return `/api/v1/avery-labels/printed-records`;
|
|
461
588
|
};
|
|
@@ -467,6 +594,9 @@ export const postApiV1AveryLabelsPrintedRecords = async (markAveryLabelsPrintedR
|
|
|
467
594
|
body: JSON.stringify(markAveryLabelsPrintedRequest)
|
|
468
595
|
});
|
|
469
596
|
};
|
|
597
|
+
/**
|
|
598
|
+
* @summary Adds a new codeDto to the system.
|
|
599
|
+
*/
|
|
470
600
|
export const getPostApiV1CodesUrl = () => {
|
|
471
601
|
return `/api/v1/Codes`;
|
|
472
602
|
};
|
|
@@ -478,6 +608,9 @@ export const postApiV1Codes = async (codeDto, options) => {
|
|
|
478
608
|
body: JSON.stringify(codeDto)
|
|
479
609
|
});
|
|
480
610
|
};
|
|
611
|
+
/**
|
|
612
|
+
* @summary Retrieves a list of codes filtered by type and status.
|
|
613
|
+
*/
|
|
481
614
|
export const getGetApiV1CodesUrl = (params) => {
|
|
482
615
|
const normalizedParams = new URLSearchParams();
|
|
483
616
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -494,6 +627,9 @@ export const getApiV1Codes = async (params, options) => {
|
|
|
494
627
|
method: 'GET'
|
|
495
628
|
});
|
|
496
629
|
};
|
|
630
|
+
/**
|
|
631
|
+
* @summary Deletes a codeDto from the system by its ID.
|
|
632
|
+
*/
|
|
497
633
|
export const getDeleteApiV1CodesIdUrl = (id) => {
|
|
498
634
|
return `/api/v1/Codes/${id}`;
|
|
499
635
|
};
|
|
@@ -503,6 +639,9 @@ export const deleteApiV1CodesId = async (id, options) => {
|
|
|
503
639
|
method: 'DELETE'
|
|
504
640
|
});
|
|
505
641
|
};
|
|
642
|
+
/**
|
|
643
|
+
* @summary Retrieves a codeDto by its ID.
|
|
644
|
+
*/
|
|
506
645
|
export const getGetApiV1CodesIdUrl = (id) => {
|
|
507
646
|
return `/api/v1/Codes/${id}`;
|
|
508
647
|
};
|
|
@@ -512,6 +651,9 @@ export const getApiV1CodesId = async (id, options) => {
|
|
|
512
651
|
method: 'GET'
|
|
513
652
|
});
|
|
514
653
|
};
|
|
654
|
+
/**
|
|
655
|
+
* @summary Applies a JSON Patch document to a CodeDto object.
|
|
656
|
+
*/
|
|
515
657
|
export const getPatchApiV1CodesIdUrl = (id) => {
|
|
516
658
|
return `/api/v1/Codes/${id}`;
|
|
517
659
|
};
|
|
@@ -523,6 +665,422 @@ export const patchApiV1CodesId = async (id, operation, options) => {
|
|
|
523
665
|
body: JSON.stringify(operation)
|
|
524
666
|
});
|
|
525
667
|
};
|
|
668
|
+
/**
|
|
669
|
+
* Returns the global field library. Supports `inputType` and `search`
|
|
670
|
+
filters. Field definitions are reusable across forms — instantiate one on a
|
|
671
|
+
form via `POST /form-definitions/{formId}/fields`.
|
|
672
|
+
* @summary List field definitions
|
|
673
|
+
*/
|
|
674
|
+
export const getGetApiV1FieldDefinitionsUrl = (params) => {
|
|
675
|
+
const normalizedParams = new URLSearchParams();
|
|
676
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
677
|
+
if (value !== undefined) {
|
|
678
|
+
normalizedParams.append(key, value === null ? 'null' : value.toString());
|
|
679
|
+
}
|
|
680
|
+
});
|
|
681
|
+
const stringifiedParams = normalizedParams.toString();
|
|
682
|
+
return stringifiedParams.length > 0 ? `/api/v1/field-definitions?${stringifiedParams}` : `/api/v1/field-definitions`;
|
|
683
|
+
};
|
|
684
|
+
export const getApiV1FieldDefinitions = async (params, options) => {
|
|
685
|
+
return customFetch(getGetApiV1FieldDefinitionsUrl(params), {
|
|
686
|
+
...options,
|
|
687
|
+
method: 'GET'
|
|
688
|
+
});
|
|
689
|
+
};
|
|
690
|
+
/**
|
|
691
|
+
* Creates a new entry in the global field library. Enforces all Field Definition
|
|
692
|
+
validation rules from the schema doc: `matter-field` requires
|
|
693
|
+
`matterFieldCode`; non-`matter-field` destinations forbid it;
|
|
694
|
+
`select` requires `selectOptions` unless
|
|
695
|
+
`valueDestination = matter-field` (in which case options are derived from
|
|
696
|
+
the registry); file fields forbid `valueDestination`; `matterFieldCode`
|
|
697
|
+
must exist in the Matter Field Registry.
|
|
698
|
+
* @summary Create a field definition
|
|
699
|
+
*/
|
|
700
|
+
export const getPostApiV1FieldDefinitionsUrl = () => {
|
|
701
|
+
return `/api/v1/field-definitions`;
|
|
702
|
+
};
|
|
703
|
+
export const postApiV1FieldDefinitions = async (createUpdateFieldDefinitionDto, options) => {
|
|
704
|
+
return customFetch(getPostApiV1FieldDefinitionsUrl(), {
|
|
705
|
+
...options,
|
|
706
|
+
method: 'POST',
|
|
707
|
+
headers: { 'Content-Type': 'application/json-patch+json', ...options?.headers },
|
|
708
|
+
body: JSON.stringify(createUpdateFieldDefinitionDto)
|
|
709
|
+
});
|
|
710
|
+
};
|
|
711
|
+
/**
|
|
712
|
+
* Returns a single field definition by ID.
|
|
713
|
+
* @summary Get a field definition
|
|
714
|
+
*/
|
|
715
|
+
export const getGetApiV1FieldDefinitionsIdUrl = (id) => {
|
|
716
|
+
return `/api/v1/field-definitions/${id}`;
|
|
717
|
+
};
|
|
718
|
+
export const getApiV1FieldDefinitionsId = async (id, options) => {
|
|
719
|
+
return customFetch(getGetApiV1FieldDefinitionsIdUrl(id), {
|
|
720
|
+
...options,
|
|
721
|
+
method: 'GET'
|
|
722
|
+
});
|
|
723
|
+
};
|
|
724
|
+
/**
|
|
725
|
+
* Full replacement update. Applies the same validation as `POST`. Note
|
|
726
|
+
that mutating a field definition affects every form that references it —
|
|
727
|
+
clients should consider creating a new definition rather than editing one
|
|
728
|
+
already in wide use.
|
|
729
|
+
* @summary Replace a field definition
|
|
730
|
+
*/
|
|
731
|
+
export const getPutApiV1FieldDefinitionsIdUrl = (id) => {
|
|
732
|
+
return `/api/v1/field-definitions/${id}`;
|
|
733
|
+
};
|
|
734
|
+
export const putApiV1FieldDefinitionsId = async (id, createUpdateFieldDefinitionDto, options) => {
|
|
735
|
+
return customFetch(getPutApiV1FieldDefinitionsIdUrl(id), {
|
|
736
|
+
...options,
|
|
737
|
+
method: 'PUT',
|
|
738
|
+
headers: { 'Content-Type': 'application/json-patch+json', ...options?.headers },
|
|
739
|
+
body: JSON.stringify(createUpdateFieldDefinitionDto)
|
|
740
|
+
});
|
|
741
|
+
};
|
|
742
|
+
/**
|
|
743
|
+
* Returns `409 Conflict` if any `FormField` references this
|
|
744
|
+
definition. Detach the definition from all forms before deleting.
|
|
745
|
+
* @summary Delete a field definition
|
|
746
|
+
*/
|
|
747
|
+
export const getDeleteApiV1FieldDefinitionsIdUrl = (id) => {
|
|
748
|
+
return `/api/v1/field-definitions/${id}`;
|
|
749
|
+
};
|
|
750
|
+
export const deleteApiV1FieldDefinitionsId = async (id, options) => {
|
|
751
|
+
return customFetch(getDeleteApiV1FieldDefinitionsIdUrl(id), {
|
|
752
|
+
...options,
|
|
753
|
+
method: 'DELETE'
|
|
754
|
+
});
|
|
755
|
+
};
|
|
756
|
+
/**
|
|
757
|
+
* Returns form metadata (no children). Supports `search` filter and
|
|
758
|
+
cursor pagination.
|
|
759
|
+
* @summary List form definitions
|
|
760
|
+
*/
|
|
761
|
+
export const getGetApiV1FormDefinitionsUrl = (params) => {
|
|
762
|
+
const normalizedParams = new URLSearchParams();
|
|
763
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
764
|
+
if (value !== undefined) {
|
|
765
|
+
normalizedParams.append(key, value === null ? 'null' : value.toString());
|
|
766
|
+
}
|
|
767
|
+
});
|
|
768
|
+
const stringifiedParams = normalizedParams.toString();
|
|
769
|
+
return stringifiedParams.length > 0 ? `/api/v1/form-definitions?${stringifiedParams}` : `/api/v1/form-definitions`;
|
|
770
|
+
};
|
|
771
|
+
export const getApiV1FormDefinitions = async (params, options) => {
|
|
772
|
+
return customFetch(getGetApiV1FormDefinitionsUrl(params), {
|
|
773
|
+
...options,
|
|
774
|
+
method: 'GET'
|
|
775
|
+
});
|
|
776
|
+
};
|
|
777
|
+
/**
|
|
778
|
+
* Creates an empty form with `version = 1` and an empty layout.
|
|
779
|
+
`submitterIdentity` defaults to `email-required` if omitted; choose
|
|
780
|
+
`authenticated` or `anonymous` only with intent — `anonymous`
|
|
781
|
+
forms cannot use `add-submitter-contact` actions or
|
|
782
|
+
`derivedValue = submitter`.
|
|
783
|
+
* @summary Create a form definition
|
|
784
|
+
*/
|
|
785
|
+
export const getPostApiV1FormDefinitionsUrl = () => {
|
|
786
|
+
return `/api/v1/form-definitions`;
|
|
787
|
+
};
|
|
788
|
+
export const postApiV1FormDefinitions = async (createFormDefinitionDto, options) => {
|
|
789
|
+
return customFetch(getPostApiV1FormDefinitionsUrl(), {
|
|
790
|
+
...options,
|
|
791
|
+
method: 'POST',
|
|
792
|
+
headers: { 'Content-Type': 'application/json-patch+json', ...options?.headers },
|
|
793
|
+
body: JSON.stringify(createFormDefinitionDto)
|
|
794
|
+
});
|
|
795
|
+
};
|
|
796
|
+
/**
|
|
797
|
+
* Returns the form's top-level record including its `layout`. Does not
|
|
798
|
+
expand children — use `GET /form-definitions/{id}/full` for a
|
|
799
|
+
fully-hydrated form, or the child collection endpoints for individual lists.
|
|
800
|
+
* @summary Get a form definition
|
|
801
|
+
*/
|
|
802
|
+
export const getGetApiV1FormDefinitionsIdUrl = (id) => {
|
|
803
|
+
return `/api/v1/form-definitions/${id}`;
|
|
804
|
+
};
|
|
805
|
+
export const getApiV1FormDefinitionsId = async (id, options) => {
|
|
806
|
+
return customFetch(getGetApiV1FormDefinitionsIdUrl(id), {
|
|
807
|
+
...options,
|
|
808
|
+
method: 'GET'
|
|
809
|
+
});
|
|
810
|
+
};
|
|
811
|
+
/**
|
|
812
|
+
* Updates name, description, `submitterIdentity`, and `layout`.
|
|
813
|
+
Increments `version` and updates `updatedAt`. Enforces all Layout
|
|
814
|
+
validation rules (every form field and element must appear in the layout
|
|
815
|
+
exactly once; ids must belong to this form; `type` must match the
|
|
816
|
+
referenced entity; `colSpan` must be 1–12) and the cross-table save-time
|
|
817
|
+
rules (e.g. `add-submitter-contact` invalid when switching to
|
|
818
|
+
`anonymous`).
|
|
819
|
+
* @summary Update a form definition
|
|
820
|
+
*/
|
|
821
|
+
export const getPutApiV1FormDefinitionsIdUrl = (id) => {
|
|
822
|
+
return `/api/v1/form-definitions/${id}`;
|
|
823
|
+
};
|
|
824
|
+
export const putApiV1FormDefinitionsId = async (id, updateFormDefinitionDto, options) => {
|
|
825
|
+
return customFetch(getPutApiV1FormDefinitionsIdUrl(id), {
|
|
826
|
+
...options,
|
|
827
|
+
method: 'PUT',
|
|
828
|
+
headers: { 'Content-Type': 'application/json-patch+json', ...options?.headers },
|
|
829
|
+
body: JSON.stringify(updateFormDefinitionDto)
|
|
830
|
+
});
|
|
831
|
+
};
|
|
832
|
+
/**
|
|
833
|
+
* Cascades to all child records: fields, elements, actions, rules, and
|
|
834
|
+
submissions. Retention policy for `FormSubmission` records is not
|
|
835
|
+
defined by this API — consuming products should archive submission data
|
|
836
|
+
before deletion if needed.
|
|
837
|
+
* @summary Delete a form definition
|
|
838
|
+
*/
|
|
839
|
+
export const getDeleteApiV1FormDefinitionsIdUrl = (id) => {
|
|
840
|
+
return `/api/v1/form-definitions/${id}`;
|
|
841
|
+
};
|
|
842
|
+
export const deleteApiV1FormDefinitionsId = async (id, options) => {
|
|
843
|
+
return customFetch(getDeleteApiV1FormDefinitionsIdUrl(id), {
|
|
844
|
+
...options,
|
|
845
|
+
method: 'DELETE'
|
|
846
|
+
});
|
|
847
|
+
};
|
|
848
|
+
/**
|
|
849
|
+
* Returns the form definition with `fields`, `elements`,
|
|
850
|
+
`actions`, and `rules` inlined. Intended for the form builder UI
|
|
851
|
+
and rendering engines that need a complete picture in one request. Prefer
|
|
852
|
+
the individual child endpoints when only one child collection is needed.
|
|
853
|
+
* @summary Get a form with all children expanded
|
|
854
|
+
*/
|
|
855
|
+
export const getGetApiV1FormDefinitionsIdFullUrl = (id) => {
|
|
856
|
+
return `/api/v1/form-definitions/${id}/full`;
|
|
857
|
+
};
|
|
858
|
+
export const getApiV1FormDefinitionsIdFull = async (id, options) => {
|
|
859
|
+
return customFetch(getGetApiV1FormDefinitionsIdFullUrl(id), {
|
|
860
|
+
...options,
|
|
861
|
+
method: 'GET'
|
|
862
|
+
});
|
|
863
|
+
};
|
|
864
|
+
/**
|
|
865
|
+
* Returns the static content elements (headers, markdown blocks, cards) on
|
|
866
|
+
the form. Order is determined by the form's `layout`, not by this
|
|
867
|
+
list.
|
|
868
|
+
* @summary List form elements
|
|
869
|
+
*/
|
|
870
|
+
export const getGetApiV1FormDefinitionsFormIdElementsUrl = (formId) => {
|
|
871
|
+
return `/api/v1/form-definitions/${formId}/elements`;
|
|
872
|
+
};
|
|
873
|
+
export const getApiV1FormDefinitionsFormIdElements = async (formId, options) => {
|
|
874
|
+
return customFetch(getGetApiV1FormDefinitionsFormIdElementsUrl(formId), {
|
|
875
|
+
...options,
|
|
876
|
+
method: 'GET'
|
|
877
|
+
});
|
|
878
|
+
};
|
|
879
|
+
/**
|
|
880
|
+
* Creates a static content element. `header` elements require
|
|
881
|
+
`headerRank` (1–4); `card` elements may carry `cardIcon`
|
|
882
|
+
(`info`, `warning`, `important`); `markdown` and
|
|
883
|
+
`card` elements support Markdown in `text`. Increments the form's
|
|
884
|
+
`version`.
|
|
885
|
+
* @summary Add an element to a form
|
|
886
|
+
*/
|
|
887
|
+
export const getPostApiV1FormDefinitionsFormIdElementsUrl = (formId) => {
|
|
888
|
+
return `/api/v1/form-definitions/${formId}/elements`;
|
|
889
|
+
};
|
|
890
|
+
export const postApiV1FormDefinitionsFormIdElements = async (formId, createUpdateFormElementDto, options) => {
|
|
891
|
+
return customFetch(getPostApiV1FormDefinitionsFormIdElementsUrl(formId), {
|
|
892
|
+
...options,
|
|
893
|
+
method: 'POST',
|
|
894
|
+
headers: { 'Content-Type': 'application/json-patch+json', ...options?.headers },
|
|
895
|
+
body: JSON.stringify(createUpdateFormElementDto)
|
|
896
|
+
});
|
|
897
|
+
};
|
|
898
|
+
/**
|
|
899
|
+
* Updates element content and presentation. Applies the same per-type
|
|
900
|
+
constraints as `POST`. Increments the form's `version`.
|
|
901
|
+
* @summary Update a form element
|
|
902
|
+
*/
|
|
903
|
+
export const getPutApiV1FormDefinitionsFormIdElementsElementIdUrl = (formId, elementId) => {
|
|
904
|
+
return `/api/v1/form-definitions/${formId}/elements/${elementId}`;
|
|
905
|
+
};
|
|
906
|
+
export const putApiV1FormDefinitionsFormIdElementsElementId = async (formId, elementId, createUpdateFormElementDto, options) => {
|
|
907
|
+
return customFetch(getPutApiV1FormDefinitionsFormIdElementsElementIdUrl(formId, elementId), {
|
|
908
|
+
...options,
|
|
909
|
+
method: 'PUT',
|
|
910
|
+
headers: { 'Content-Type': 'application/json-patch+json', ...options?.headers },
|
|
911
|
+
body: JSON.stringify(createUpdateFormElementDto)
|
|
912
|
+
});
|
|
913
|
+
};
|
|
914
|
+
/**
|
|
915
|
+
* Removes the element from `layout` and cascades to any rules targeting
|
|
916
|
+
it. Increments the form's `version`.
|
|
917
|
+
* @summary Remove an element from a form
|
|
918
|
+
*/
|
|
919
|
+
export const getDeleteApiV1FormDefinitionsFormIdElementsElementIdUrl = (formId, elementId) => {
|
|
920
|
+
return `/api/v1/form-definitions/${formId}/elements/${elementId}`;
|
|
921
|
+
};
|
|
922
|
+
export const deleteApiV1FormDefinitionsFormIdElementsElementId = async (formId, elementId, options) => {
|
|
923
|
+
return customFetch(getDeleteApiV1FormDefinitionsFormIdElementsElementIdUrl(formId, elementId), {
|
|
924
|
+
...options,
|
|
925
|
+
method: 'DELETE'
|
|
926
|
+
});
|
|
927
|
+
};
|
|
928
|
+
/**
|
|
929
|
+
* Returns all rules on the form. Optionally filter by
|
|
930
|
+
`sourceFormFieldId` to fetch only rules driven by a specific field.
|
|
931
|
+
* @summary List conditional rules
|
|
932
|
+
*/
|
|
933
|
+
export const getGetApiV1FormDefinitionsFormIdRulesUrl = (formId, params) => {
|
|
934
|
+
const normalizedParams = new URLSearchParams();
|
|
935
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
936
|
+
if (value !== undefined) {
|
|
937
|
+
normalizedParams.append(key, value === null ? 'null' : value.toString());
|
|
938
|
+
}
|
|
939
|
+
});
|
|
940
|
+
const stringifiedParams = normalizedParams.toString();
|
|
941
|
+
return stringifiedParams.length > 0 ? `/api/v1/form-definitions/${formId}/rules?${stringifiedParams}` : `/api/v1/form-definitions/${formId}/rules`;
|
|
942
|
+
};
|
|
943
|
+
export const getApiV1FormDefinitionsFormIdRules = async (formId, params, options) => {
|
|
944
|
+
return customFetch(getGetApiV1FormDefinitionsFormIdRulesUrl(formId, params), {
|
|
945
|
+
...options,
|
|
946
|
+
method: 'GET'
|
|
947
|
+
});
|
|
948
|
+
};
|
|
949
|
+
/**
|
|
950
|
+
* Creates a rule that applies an effect to a target field or element when the
|
|
951
|
+
source field's value matches `triggerValue`. Enforces effect/target-type
|
|
952
|
+
compatibility (field-only effects vs element-only effects), same-form
|
|
953
|
+
constraint on source and target, and `setValue` non-null when
|
|
954
|
+
`effect = set-value`. `set-value` may target a hidden field — this
|
|
955
|
+
is the intended mechanism for populating Matter fields not exposed to the
|
|
956
|
+
submitter. Increments the form's `version`.
|
|
957
|
+
* @summary Add a conditional rule
|
|
958
|
+
*/
|
|
959
|
+
export const getPostApiV1FormDefinitionsFormIdRulesUrl = (formId) => {
|
|
960
|
+
return `/api/v1/form-definitions/${formId}/rules`;
|
|
961
|
+
};
|
|
962
|
+
export const postApiV1FormDefinitionsFormIdRules = async (formId, createUpdateFormFieldRuleDto, options) => {
|
|
963
|
+
return customFetch(getPostApiV1FormDefinitionsFormIdRulesUrl(formId), {
|
|
964
|
+
...options,
|
|
965
|
+
method: 'POST',
|
|
966
|
+
headers: { 'Content-Type': 'application/json-patch+json', ...options?.headers },
|
|
967
|
+
body: JSON.stringify(createUpdateFormFieldRuleDto)
|
|
968
|
+
});
|
|
969
|
+
};
|
|
970
|
+
/**
|
|
971
|
+
* Updates rule configuration. Applies the same validation as `POST`.
|
|
972
|
+
Increments the form's `version`.
|
|
973
|
+
* @summary Update a conditional rule
|
|
974
|
+
*/
|
|
975
|
+
export const getPutApiV1FormDefinitionsFormIdRulesRuleIdUrl = (formId, ruleId) => {
|
|
976
|
+
return `/api/v1/form-definitions/${formId}/rules/${ruleId}`;
|
|
977
|
+
};
|
|
978
|
+
export const putApiV1FormDefinitionsFormIdRulesRuleId = async (formId, ruleId, createUpdateFormFieldRuleDto, options) => {
|
|
979
|
+
return customFetch(getPutApiV1FormDefinitionsFormIdRulesRuleIdUrl(formId, ruleId), {
|
|
980
|
+
...options,
|
|
981
|
+
method: 'PUT',
|
|
982
|
+
headers: { 'Content-Type': 'application/json-patch+json', ...options?.headers },
|
|
983
|
+
body: JSON.stringify(createUpdateFormFieldRuleDto)
|
|
984
|
+
});
|
|
985
|
+
};
|
|
986
|
+
/**
|
|
987
|
+
* Removes the rule. Does not affect the source field or target.
|
|
988
|
+
* @summary Delete a conditional rule
|
|
989
|
+
*/
|
|
990
|
+
export const getDeleteApiV1FormDefinitionsFormIdRulesRuleIdUrl = (formId, ruleId) => {
|
|
991
|
+
return `/api/v1/form-definitions/${formId}/rules/${ruleId}`;
|
|
992
|
+
};
|
|
993
|
+
export const deleteApiV1FormDefinitionsFormIdRulesRuleId = async (formId, ruleId, options) => {
|
|
994
|
+
return customFetch(getDeleteApiV1FormDefinitionsFormIdRulesRuleIdUrl(formId, ruleId), {
|
|
995
|
+
...options,
|
|
996
|
+
method: 'DELETE'
|
|
997
|
+
});
|
|
998
|
+
};
|
|
999
|
+
/**
|
|
1000
|
+
* Returns all `FormField` instances on the form, each with its embedded
|
|
1001
|
+
`FieldDefinition`.
|
|
1002
|
+
* @summary List form fields
|
|
1003
|
+
*/
|
|
1004
|
+
export const getGetApiV1FormDefinitionsFormIdFieldsUrl = (formId) => {
|
|
1005
|
+
return `/api/v1/form-definitions/${formId}/fields`;
|
|
1006
|
+
};
|
|
1007
|
+
export const getApiV1FormDefinitionsFormIdFields = async (formId, options) => {
|
|
1008
|
+
return customFetch(getGetApiV1FormDefinitionsFormIdFieldsUrl(formId), {
|
|
1009
|
+
...options,
|
|
1010
|
+
method: 'GET'
|
|
1011
|
+
});
|
|
1012
|
+
};
|
|
1013
|
+
/**
|
|
1014
|
+
* Instantiates a `FieldDefinition` on the form. Enforces all Form Field
|
|
1015
|
+
validation rules: file fields must set `attachToMatter` and
|
|
1016
|
+
`attachToEmailActionIds` and must route to at least one destination;
|
|
1017
|
+
`matter-note` fields must set `noteActionId` pointing to a
|
|
1018
|
+
`create-note` action on the same form; `attachToEmailActionIds`
|
|
1019
|
+
entries must reference email actions on the same form;
|
|
1020
|
+
`attachToMatter = true` requires a `create-*-matter` action on the
|
|
1021
|
+
form; module-scoped field definitions must match the form's target module.
|
|
1022
|
+
Increments the form's `version`. A given field definition may appear on
|
|
1023
|
+
a form at most once.
|
|
1024
|
+
* @summary Add a field to a form
|
|
1025
|
+
*/
|
|
1026
|
+
export const getPostApiV1FormDefinitionsFormIdFieldsUrl = (formId) => {
|
|
1027
|
+
return `/api/v1/form-definitions/${formId}/fields`;
|
|
1028
|
+
};
|
|
1029
|
+
export const postApiV1FormDefinitionsFormIdFields = async (formId, createUpdateFormFieldDto, options) => {
|
|
1030
|
+
return customFetch(getPostApiV1FormDefinitionsFormIdFieldsUrl(formId), {
|
|
1031
|
+
...options,
|
|
1032
|
+
method: 'POST',
|
|
1033
|
+
headers: { 'Content-Type': 'application/json-patch+json', ...options?.headers },
|
|
1034
|
+
body: JSON.stringify(createUpdateFormFieldDto)
|
|
1035
|
+
});
|
|
1036
|
+
};
|
|
1037
|
+
/**
|
|
1038
|
+
* Returns a single form field with its embedded field definition.
|
|
1039
|
+
* @summary Get a form field
|
|
1040
|
+
*/
|
|
1041
|
+
export const getGetApiV1FormDefinitionsFormIdFieldsFieldIdUrl = (formId, fieldId) => {
|
|
1042
|
+
return `/api/v1/form-definitions/${formId}/fields/${fieldId}`;
|
|
1043
|
+
};
|
|
1044
|
+
export const getApiV1FormDefinitionsFormIdFieldsFieldId = async (formId, fieldId, options) => {
|
|
1045
|
+
return customFetch(getGetApiV1FormDefinitionsFormIdFieldsFieldIdUrl(formId, fieldId), {
|
|
1046
|
+
...options,
|
|
1047
|
+
method: 'GET'
|
|
1048
|
+
});
|
|
1049
|
+
};
|
|
1050
|
+
/**
|
|
1051
|
+
* Updates per-form configuration (`visible`, `required`, file
|
|
1052
|
+
routing, note routing). Applies the same validation as `POST`.
|
|
1053
|
+
Increments the form's `version`.
|
|
1054
|
+
* @summary Update a form field
|
|
1055
|
+
*/
|
|
1056
|
+
export const getPutApiV1FormDefinitionsFormIdFieldsFieldIdUrl = (formId, fieldId) => {
|
|
1057
|
+
return `/api/v1/form-definitions/${formId}/fields/${fieldId}`;
|
|
1058
|
+
};
|
|
1059
|
+
export const putApiV1FormDefinitionsFormIdFieldsFieldId = async (formId, fieldId, createUpdateFormFieldDto, options) => {
|
|
1060
|
+
return customFetch(getPutApiV1FormDefinitionsFormIdFieldsFieldIdUrl(formId, fieldId), {
|
|
1061
|
+
...options,
|
|
1062
|
+
method: 'PUT',
|
|
1063
|
+
headers: { 'Content-Type': 'application/json-patch+json', ...options?.headers },
|
|
1064
|
+
body: JSON.stringify(createUpdateFormFieldDto)
|
|
1065
|
+
});
|
|
1066
|
+
};
|
|
1067
|
+
/**
|
|
1068
|
+
* Cascades to any `FormFieldRule` where this field is the source.
|
|
1069
|
+
Removes the field from `layout`. Increments the form's `version`.
|
|
1070
|
+
* @summary Remove a field from a form
|
|
1071
|
+
*/
|
|
1072
|
+
export const getDeleteApiV1FormDefinitionsFormIdFieldsFieldIdUrl = (formId, fieldId) => {
|
|
1073
|
+
return `/api/v1/form-definitions/${formId}/fields/${fieldId}`;
|
|
1074
|
+
};
|
|
1075
|
+
export const deleteApiV1FormDefinitionsFormIdFieldsFieldId = async (formId, fieldId, options) => {
|
|
1076
|
+
return customFetch(getDeleteApiV1FormDefinitionsFormIdFieldsFieldIdUrl(formId, fieldId), {
|
|
1077
|
+
...options,
|
|
1078
|
+
method: 'DELETE'
|
|
1079
|
+
});
|
|
1080
|
+
};
|
|
1081
|
+
/**
|
|
1082
|
+
* @summary Gets the layout configuration for the Create New Matter form for the specified module.
|
|
1083
|
+
*/
|
|
526
1084
|
export const getGetApiV1FormsCreateMatterModuleCodeUrl = (moduleCode) => {
|
|
527
1085
|
return `/api/v1/Forms/create-matter/${moduleCode}`;
|
|
528
1086
|
};
|
|
@@ -532,6 +1090,155 @@ export const getApiV1FormsCreateMatterModuleCode = async (moduleCode, options) =
|
|
|
532
1090
|
method: 'GET'
|
|
533
1091
|
});
|
|
534
1092
|
};
|
|
1093
|
+
/**
|
|
1094
|
+
* Returns all actions configured to fire when the form is submitted.
|
|
1095
|
+
Field-driven actions (`create-note`, `create-*-matter`) interact
|
|
1096
|
+
with `FormField` routing; automatic actions (`email`,
|
|
1097
|
+
`set-matter-field`, `add-submitter-contact`) fire regardless of
|
|
1098
|
+
field input.
|
|
1099
|
+
* @summary List submission actions
|
|
1100
|
+
*/
|
|
1101
|
+
export const getGetApiV1FormDefinitionsFormIdActionsUrl = (formId) => {
|
|
1102
|
+
return `/api/v1/form-definitions/${formId}/actions`;
|
|
1103
|
+
};
|
|
1104
|
+
export const getApiV1FormDefinitionsFormIdActions = async (formId, options) => {
|
|
1105
|
+
return customFetch(getGetApiV1FormDefinitionsFormIdActionsUrl(formId), {
|
|
1106
|
+
...options,
|
|
1107
|
+
method: 'GET'
|
|
1108
|
+
});
|
|
1109
|
+
};
|
|
1110
|
+
/**
|
|
1111
|
+
* Creates a submission action. Enforces all Submission Action validation
|
|
1112
|
+
rules: `email` actions require `emailSubject`, `emailBody`,
|
|
1113
|
+
`emailRecipients`, and `attachSubmissionCopy`;
|
|
1114
|
+
`set-matter-field` requires `matterFieldCode` and
|
|
1115
|
+
`derivedValue`; `targetMatter = 'created-matter'` requires a
|
|
1116
|
+
sibling `create-*-matter` action on the same form; a form may have at
|
|
1117
|
+
most one `create-*-matter` action; `add-submitter-contact` and
|
|
1118
|
+
`derivedValue = submitter` are invalid on `anonymous` forms.
|
|
1119
|
+
Increments the form's `version`.
|
|
1120
|
+
* @summary Add a submission action
|
|
1121
|
+
*/
|
|
1122
|
+
export const getPostApiV1FormDefinitionsFormIdActionsUrl = (formId) => {
|
|
1123
|
+
return `/api/v1/form-definitions/${formId}/actions`;
|
|
1124
|
+
};
|
|
1125
|
+
export const postApiV1FormDefinitionsFormIdActions = async (formId, createUpdateFormSubmissionActionDto, options) => {
|
|
1126
|
+
return customFetch(getPostApiV1FormDefinitionsFormIdActionsUrl(formId), {
|
|
1127
|
+
...options,
|
|
1128
|
+
method: 'POST',
|
|
1129
|
+
headers: { 'Content-Type': 'application/json-patch+json', ...options?.headers },
|
|
1130
|
+
body: JSON.stringify(createUpdateFormSubmissionActionDto)
|
|
1131
|
+
});
|
|
1132
|
+
};
|
|
1133
|
+
/**
|
|
1134
|
+
* Updates action configuration. Applies the same validation as `POST`.
|
|
1135
|
+
Increments the form's `version`.
|
|
1136
|
+
* @summary Update a submission action
|
|
1137
|
+
*/
|
|
1138
|
+
export const getPutApiV1FormDefinitionsFormIdActionsActionIdUrl = (formId, actionId) => {
|
|
1139
|
+
return `/api/v1/form-definitions/${formId}/actions/${actionId}`;
|
|
1140
|
+
};
|
|
1141
|
+
export const putApiV1FormDefinitionsFormIdActionsActionId = async (formId, actionId, createUpdateFormSubmissionActionDto, options) => {
|
|
1142
|
+
return customFetch(getPutApiV1FormDefinitionsFormIdActionsActionIdUrl(formId, actionId), {
|
|
1143
|
+
...options,
|
|
1144
|
+
method: 'PUT',
|
|
1145
|
+
headers: { 'Content-Type': 'application/json-patch+json', ...options?.headers },
|
|
1146
|
+
body: JSON.stringify(createUpdateFormSubmissionActionDto)
|
|
1147
|
+
});
|
|
1148
|
+
};
|
|
1149
|
+
/**
|
|
1150
|
+
* Returns `409 Conflict` if any `FormField.noteActionId` or
|
|
1151
|
+
`FormField.attachToEmailActionIds` references this action. Detach the
|
|
1152
|
+
field routing before deleting.
|
|
1153
|
+
* @summary Remove a submission action
|
|
1154
|
+
*/
|
|
1155
|
+
export const getDeleteApiV1FormDefinitionsFormIdActionsActionIdUrl = (formId, actionId) => {
|
|
1156
|
+
return `/api/v1/form-definitions/${formId}/actions/${actionId}`;
|
|
1157
|
+
};
|
|
1158
|
+
export const deleteApiV1FormDefinitionsFormIdActionsActionId = async (formId, actionId, options) => {
|
|
1159
|
+
return customFetch(getDeleteApiV1FormDefinitionsFormIdActionsActionIdUrl(formId, actionId), {
|
|
1160
|
+
...options,
|
|
1161
|
+
method: 'DELETE'
|
|
1162
|
+
});
|
|
1163
|
+
};
|
|
1164
|
+
/**
|
|
1165
|
+
* Returns submissions ordered by `submittedAt`. Supports
|
|
1166
|
+
`submittedAfter` / `submittedBefore` date range filters and
|
|
1167
|
+
cursor pagination.
|
|
1168
|
+
* @summary List submissions for a form
|
|
1169
|
+
*/
|
|
1170
|
+
export const getGetApiV1FormDefinitionsFormIdSubmissionsUrl = (formId, params) => {
|
|
1171
|
+
const normalizedParams = new URLSearchParams();
|
|
1172
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
1173
|
+
if (value !== undefined) {
|
|
1174
|
+
normalizedParams.append(key, value === null ? 'null' : value.toString());
|
|
1175
|
+
}
|
|
1176
|
+
});
|
|
1177
|
+
const stringifiedParams = normalizedParams.toString();
|
|
1178
|
+
return stringifiedParams.length > 0 ? `/api/v1/form-definitions/${formId}/submissions?${stringifiedParams}` : `/api/v1/form-definitions/${formId}/submissions`;
|
|
1179
|
+
};
|
|
1180
|
+
export const getApiV1FormDefinitionsFormIdSubmissions = async (formId, params, options) => {
|
|
1181
|
+
return customFetch(getGetApiV1FormDefinitionsFormIdSubmissionsUrl(formId, params), {
|
|
1182
|
+
...options,
|
|
1183
|
+
method: 'GET'
|
|
1184
|
+
});
|
|
1185
|
+
};
|
|
1186
|
+
/**
|
|
1187
|
+
* Submits a completed form. The consuming product resolves submitter identity
|
|
1188
|
+
(per the form's `submitterIdentity` contract) and AV-scans any
|
|
1189
|
+
uploaded files before calling this endpoint — Mackinac does neither.
|
|
1190
|
+
Mackinac validates that the submitted identity satisfies the form's
|
|
1191
|
+
contract, persists a `FormSubmission` record, executes all configured
|
|
1192
|
+
actions, and records outcomes in `actionResults`. File fields
|
|
1193
|
+
reference previously uploaded files by ID; inline file content is never
|
|
1194
|
+
sent. Platform limits of 10 files and 35 MB total per submission are
|
|
1195
|
+
enforced here.
|
|
1196
|
+
* @summary Submit a form
|
|
1197
|
+
*/
|
|
1198
|
+
export const getPostApiV1FormDefinitionsFormIdSubmissionsUrl = (formId) => {
|
|
1199
|
+
return `/api/v1/form-definitions/${formId}/submissions`;
|
|
1200
|
+
};
|
|
1201
|
+
export const postApiV1FormDefinitionsFormIdSubmissions = async (formId, createFormSubmissionDto, options) => {
|
|
1202
|
+
return customFetch(getPostApiV1FormDefinitionsFormIdSubmissionsUrl(formId), {
|
|
1203
|
+
...options,
|
|
1204
|
+
method: 'POST',
|
|
1205
|
+
headers: { 'Content-Type': 'application/json-patch+json', ...options?.headers },
|
|
1206
|
+
body: JSON.stringify(createFormSubmissionDto)
|
|
1207
|
+
});
|
|
1208
|
+
};
|
|
1209
|
+
/**
|
|
1210
|
+
* Returns a single submission record including `fieldValues` and
|
|
1211
|
+
`actionResults`.
|
|
1212
|
+
* @summary Get a submission
|
|
1213
|
+
*/
|
|
1214
|
+
export const getGetApiV1FormDefinitionsFormIdSubmissionsSubmissionIdUrl = (formId, submissionId) => {
|
|
1215
|
+
return `/api/v1/form-definitions/${formId}/submissions/${submissionId}`;
|
|
1216
|
+
};
|
|
1217
|
+
export const getApiV1FormDefinitionsFormIdSubmissionsSubmissionId = async (formId, submissionId, options) => {
|
|
1218
|
+
return customFetch(getGetApiV1FormDefinitionsFormIdSubmissionsSubmissionIdUrl(formId, submissionId), {
|
|
1219
|
+
...options,
|
|
1220
|
+
method: 'GET'
|
|
1221
|
+
});
|
|
1222
|
+
};
|
|
1223
|
+
/**
|
|
1224
|
+
* Re-executes only the actions with `status = failed` in
|
|
1225
|
+
`actionResults`, using the original `fieldValues` and
|
|
1226
|
+
`submitterReference`. Successful actions are not re-run. Updates
|
|
1227
|
+
`actionResults` in place.
|
|
1228
|
+
* @summary Retry failed actions on a submission
|
|
1229
|
+
*/
|
|
1230
|
+
export const getPostApiV1FormDefinitionsFormIdSubmissionsSubmissionIdRetryUrl = (formId, submissionId) => {
|
|
1231
|
+
return `/api/v1/form-definitions/${formId}/submissions/${submissionId}/retry`;
|
|
1232
|
+
};
|
|
1233
|
+
export const postApiV1FormDefinitionsFormIdSubmissionsSubmissionIdRetry = async (formId, submissionId, options) => {
|
|
1234
|
+
return customFetch(getPostApiV1FormDefinitionsFormIdSubmissionsSubmissionIdRetryUrl(formId, submissionId), {
|
|
1235
|
+
...options,
|
|
1236
|
+
method: 'POST'
|
|
1237
|
+
});
|
|
1238
|
+
};
|
|
1239
|
+
/**
|
|
1240
|
+
* @summary Get a paginated list of allegations for a matter.
|
|
1241
|
+
*/
|
|
535
1242
|
export const getGetApiV1MattersMatterIdAllegationsUrl = (matterId, params) => {
|
|
536
1243
|
const normalizedParams = new URLSearchParams();
|
|
537
1244
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -548,6 +1255,9 @@ export const getApiV1MattersMatterIdAllegations = async (matterId, params, optio
|
|
|
548
1255
|
method: 'GET'
|
|
549
1256
|
});
|
|
550
1257
|
};
|
|
1258
|
+
/**
|
|
1259
|
+
* @summary Create a new allegation on a matter.
|
|
1260
|
+
*/
|
|
551
1261
|
export const getPostApiV1MattersMatterIdAllegationsUrl = (matterId) => {
|
|
552
1262
|
return `/api/v1/matters/${matterId}/allegations`;
|
|
553
1263
|
};
|
|
@@ -559,6 +1269,9 @@ export const postApiV1MattersMatterIdAllegations = async (matterId, createMatter
|
|
|
559
1269
|
body: JSON.stringify(createMatterAllegationDto)
|
|
560
1270
|
});
|
|
561
1271
|
};
|
|
1272
|
+
/**
|
|
1273
|
+
* @summary Get a paginated, filtered, sorted view of all allegation stages across a matter.
|
|
1274
|
+
*/
|
|
562
1275
|
export const getGetApiV1MattersMatterIdAllegationsStagesUrl = (matterId, params) => {
|
|
563
1276
|
const normalizedParams = new URLSearchParams();
|
|
564
1277
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -575,6 +1288,9 @@ export const getApiV1MattersMatterIdAllegationsStages = async (matterId, params,
|
|
|
575
1288
|
method: 'GET'
|
|
576
1289
|
});
|
|
577
1290
|
};
|
|
1291
|
+
/**
|
|
1292
|
+
* @summary Get a single allegation by ID.
|
|
1293
|
+
*/
|
|
578
1294
|
export const getGetApiV1MattersAllegationsAllegationIdUrl = (allegationId) => {
|
|
579
1295
|
return `/api/v1/matters/allegations/${allegationId}`;
|
|
580
1296
|
};
|
|
@@ -584,6 +1300,9 @@ export const getApiV1MattersAllegationsAllegationId = async (allegationId, optio
|
|
|
584
1300
|
method: 'GET'
|
|
585
1301
|
});
|
|
586
1302
|
};
|
|
1303
|
+
/**
|
|
1304
|
+
* @summary Update an allegation using JSON Patch (RFC 6902).
|
|
1305
|
+
*/
|
|
587
1306
|
export const getPatchApiV1MattersAllegationsAllegationIdUrl = (allegationId) => {
|
|
588
1307
|
return `/api/v1/matters/allegations/${allegationId}`;
|
|
589
1308
|
};
|
|
@@ -595,6 +1314,9 @@ export const patchApiV1MattersAllegationsAllegationId = async (allegationId, ope
|
|
|
595
1314
|
body: JSON.stringify(operation)
|
|
596
1315
|
});
|
|
597
1316
|
};
|
|
1317
|
+
/**
|
|
1318
|
+
* @summary Delete an allegation (cascade-deletes its stages).
|
|
1319
|
+
*/
|
|
598
1320
|
export const getDeleteApiV1MattersAllegationsAllegationIdUrl = (allegationId) => {
|
|
599
1321
|
return `/api/v1/matters/allegations/${allegationId}`;
|
|
600
1322
|
};
|
|
@@ -604,6 +1326,9 @@ export const deleteApiV1MattersAllegationsAllegationId = async (allegationId, op
|
|
|
604
1326
|
method: 'DELETE'
|
|
605
1327
|
});
|
|
606
1328
|
};
|
|
1329
|
+
/**
|
|
1330
|
+
* @summary Get a paginated list of stages for a specific allegation.
|
|
1331
|
+
*/
|
|
607
1332
|
export const getGetApiV1MattersAllegationsAllegationIdStagesUrl = (allegationId, params) => {
|
|
608
1333
|
const normalizedParams = new URLSearchParams();
|
|
609
1334
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -620,6 +1345,9 @@ export const getApiV1MattersAllegationsAllegationIdStages = async (allegationId,
|
|
|
620
1345
|
method: 'GET'
|
|
621
1346
|
});
|
|
622
1347
|
};
|
|
1348
|
+
/**
|
|
1349
|
+
* @summary Create a new stage on an allegation.
|
|
1350
|
+
*/
|
|
623
1351
|
export const getPostApiV1MattersAllegationsAllegationIdStagesUrl = (allegationId) => {
|
|
624
1352
|
return `/api/v1/matters/allegations/${allegationId}/stages`;
|
|
625
1353
|
};
|
|
@@ -631,6 +1359,9 @@ export const postApiV1MattersAllegationsAllegationIdStages = async (allegationId
|
|
|
631
1359
|
body: JSON.stringify(createMatterAllegationStageDto)
|
|
632
1360
|
});
|
|
633
1361
|
};
|
|
1362
|
+
/**
|
|
1363
|
+
* @summary Get a single stage by ID.
|
|
1364
|
+
*/
|
|
634
1365
|
export const getGetApiV1MattersAllegationsStagesStageIdUrl = (stageId) => {
|
|
635
1366
|
return `/api/v1/matters/allegations/stages/${stageId}`;
|
|
636
1367
|
};
|
|
@@ -640,6 +1371,9 @@ export const getApiV1MattersAllegationsStagesStageId = async (stageId, options)
|
|
|
640
1371
|
method: 'GET'
|
|
641
1372
|
});
|
|
642
1373
|
};
|
|
1374
|
+
/**
|
|
1375
|
+
* @summary Update a stage using JSON Patch (RFC 6902).
|
|
1376
|
+
*/
|
|
643
1377
|
export const getPatchApiV1MattersAllegationsStagesStageIdUrl = (stageId) => {
|
|
644
1378
|
return `/api/v1/matters/allegations/stages/${stageId}`;
|
|
645
1379
|
};
|
|
@@ -651,6 +1385,9 @@ export const patchApiV1MattersAllegationsStagesStageId = async (stageId, operati
|
|
|
651
1385
|
body: JSON.stringify(operation)
|
|
652
1386
|
});
|
|
653
1387
|
};
|
|
1388
|
+
/**
|
|
1389
|
+
* @summary Delete a stage of an allegation.
|
|
1390
|
+
*/
|
|
654
1391
|
export const getDeleteApiV1MattersAllegationsStagesStageIdUrl = (stageId) => {
|
|
655
1392
|
return `/api/v1/matters/allegations/stages/${stageId}`;
|
|
656
1393
|
};
|
|
@@ -660,6 +1397,46 @@ export const deleteApiV1MattersAllegationsStagesStageId = async (stageId, option
|
|
|
660
1397
|
method: 'DELETE'
|
|
661
1398
|
});
|
|
662
1399
|
};
|
|
1400
|
+
/**
|
|
1401
|
+
* Returns all entries in the platform-maintained registry of Matter fields that
|
|
1402
|
+
`FieldDefinition` and `FormSubmissionAction` records can target.
|
|
1403
|
+
Supports `moduleCode` filtering so the form builder can scope picker
|
|
1404
|
+
contents to a specific module — universal entries, where `moduleCode` is
|
|
1405
|
+
null, are always returned.
|
|
1406
|
+
* @summary List Matter field registry entries
|
|
1407
|
+
*/
|
|
1408
|
+
export const getGetApiV1MatterFieldRegistryUrl = (params) => {
|
|
1409
|
+
const normalizedParams = new URLSearchParams();
|
|
1410
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
1411
|
+
if (value !== undefined) {
|
|
1412
|
+
normalizedParams.append(key, value === null ? 'null' : value.toString());
|
|
1413
|
+
}
|
|
1414
|
+
});
|
|
1415
|
+
const stringifiedParams = normalizedParams.toString();
|
|
1416
|
+
return stringifiedParams.length > 0 ? `/api/v1/matter-field-registry?${stringifiedParams}` : `/api/v1/matter-field-registry`;
|
|
1417
|
+
};
|
|
1418
|
+
export const getApiV1MatterFieldRegistry = async (params, options) => {
|
|
1419
|
+
return customFetch(getGetApiV1MatterFieldRegistryUrl(params), {
|
|
1420
|
+
...options,
|
|
1421
|
+
method: 'GET'
|
|
1422
|
+
});
|
|
1423
|
+
};
|
|
1424
|
+
/**
|
|
1425
|
+
* Returns a single registry entry by its dot-notation `code`
|
|
1426
|
+
(e.g. `Matter.Title`). Used to resolve label and `fieldType` for
|
|
1427
|
+
validation when an entry is referenced from a `FieldDefinition` or
|
|
1428
|
+
`set-matter-field` action.
|
|
1429
|
+
* @summary Get a Matter field registry entry
|
|
1430
|
+
*/
|
|
1431
|
+
export const getGetApiV1MatterFieldRegistryCodeUrl = (code) => {
|
|
1432
|
+
return `/api/v1/matter-field-registry/${code}`;
|
|
1433
|
+
};
|
|
1434
|
+
export const getApiV1MatterFieldRegistryCode = async (code, options) => {
|
|
1435
|
+
return customFetch(getGetApiV1MatterFieldRegistryCodeUrl(code), {
|
|
1436
|
+
...options,
|
|
1437
|
+
method: 'GET'
|
|
1438
|
+
});
|
|
1439
|
+
};
|
|
663
1440
|
export const getGetApiV1MattersMatterIdFinanceCollectionsCollectedUrl = (matterId, params) => {
|
|
664
1441
|
const normalizedParams = new URLSearchParams();
|
|
665
1442
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -752,6 +1529,11 @@ export const getApiV1MattersMatterIdFinanceReservesExpensesId = async (matterId,
|
|
|
752
1529
|
method: 'GET'
|
|
753
1530
|
});
|
|
754
1531
|
};
|
|
1532
|
+
/**
|
|
1533
|
+
* @summary Update an expense reserve entry.
|
|
1534
|
+
PATCH operations should target the 'Amount' field to update the per-payment amount.
|
|
1535
|
+
After the update, the matter's total ReservesExpense is recalculated as the sum of all expense reserve payments.
|
|
1536
|
+
*/
|
|
755
1537
|
export const getPatchApiV1MattersMatterIdFinanceReservesExpensesIdUrl = (matterId, id) => {
|
|
756
1538
|
return `/api/v1/matters/${matterId}/finance/reserves/expenses/${id}`;
|
|
757
1539
|
};
|
|
@@ -763,6 +1545,10 @@ export const patchApiV1MattersMatterIdFinanceReservesExpensesId = async (matterI
|
|
|
763
1545
|
body: JSON.stringify(operation)
|
|
764
1546
|
});
|
|
765
1547
|
};
|
|
1548
|
+
/**
|
|
1549
|
+
* @summary Delete an expense reserve entry.
|
|
1550
|
+
After deletion, the matter's total ReservesExpense is recalculated as the sum of all remaining expense reserve payments.
|
|
1551
|
+
*/
|
|
766
1552
|
export const getDeleteApiV1MattersMatterIdFinanceReservesExpensesIdUrl = (matterId, id) => {
|
|
767
1553
|
return `/api/v1/matters/${matterId}/finance/reserves/expenses/${id}`;
|
|
768
1554
|
};
|
|
@@ -801,6 +1587,11 @@ export const getApiV1MattersMatterIdFinanceReservesIndemnityId = async (matterId
|
|
|
801
1587
|
method: 'GET'
|
|
802
1588
|
});
|
|
803
1589
|
};
|
|
1590
|
+
/**
|
|
1591
|
+
* @summary Update an indemnity reserve entry.
|
|
1592
|
+
PATCH operations should target the 'Amount' field to update the per-payment amount.
|
|
1593
|
+
After the update, the matter's total ReservesIndemnity is recalculated as the sum of all indemnity reserve payments.
|
|
1594
|
+
*/
|
|
804
1595
|
export const getPatchApiV1MattersMatterIdFinanceReservesIndemnityIdUrl = (matterId, id) => {
|
|
805
1596
|
return `/api/v1/matters/${matterId}/finance/reserves/indemnity/${id}`;
|
|
806
1597
|
};
|
|
@@ -812,6 +1603,10 @@ export const patchApiV1MattersMatterIdFinanceReservesIndemnityId = async (matter
|
|
|
812
1603
|
body: JSON.stringify(operation)
|
|
813
1604
|
});
|
|
814
1605
|
};
|
|
1606
|
+
/**
|
|
1607
|
+
* @summary Delete an indemnity reserve entry.
|
|
1608
|
+
After deletion, the matter's total ReservesIndemnity is recalculated as the sum of all remaining indemnity reserve payments.
|
|
1609
|
+
*/
|
|
815
1610
|
export const getDeleteApiV1MattersMatterIdFinanceReservesIndemnityIdUrl = (matterId, id) => {
|
|
816
1611
|
return `/api/v1/matters/${matterId}/finance/reserves/indemnity/${id}`;
|
|
817
1612
|
};
|
|
@@ -1045,6 +1840,9 @@ export const deleteApiV1MattersMatterIdFinanceExpendituresContractCounselId = as
|
|
|
1045
1840
|
method: 'DELETE'
|
|
1046
1841
|
});
|
|
1047
1842
|
};
|
|
1843
|
+
/**
|
|
1844
|
+
* @summary Get field metadata for creating a Payment on a Matter.
|
|
1845
|
+
*/
|
|
1048
1846
|
export const getGetApiV1MattersMatterIdFinancePaymentFieldMetadataUrl = (matterId) => {
|
|
1049
1847
|
return `/api/v1/matters/${matterId}/finance/payment-field-metadata`;
|
|
1050
1848
|
};
|
|
@@ -1070,7 +1868,6 @@ export const getApiV1MattersFileNumberExists = async (params, options) => {
|
|
|
1070
1868
|
method: 'GET'
|
|
1071
1869
|
});
|
|
1072
1870
|
};
|
|
1073
|
-
;
|
|
1074
1871
|
export const getGetApiV1MattersLitigationMatterIdUrl = (matterId) => {
|
|
1075
1872
|
return `/api/v1/Matters/litigation/${matterId}`;
|
|
1076
1873
|
};
|
|
@@ -1080,7 +1877,9 @@ export const getApiV1MattersLitigationMatterId = async (matterId, options) => {
|
|
|
1080
1877
|
method: 'GET'
|
|
1081
1878
|
});
|
|
1082
1879
|
};
|
|
1083
|
-
|
|
1880
|
+
/**
|
|
1881
|
+
* @deprecated
|
|
1882
|
+
*/
|
|
1084
1883
|
export const getPatchApiV1MattersLitigationMatterIdUrl = (matterId) => {
|
|
1085
1884
|
return `/api/v1/Matters/litigation/${matterId}`;
|
|
1086
1885
|
};
|
|
@@ -1092,7 +1891,6 @@ export const patchApiV1MattersLitigationMatterId = async (matterId, litigationMa
|
|
|
1092
1891
|
body: JSON.stringify(litigationMatterDto)
|
|
1093
1892
|
});
|
|
1094
1893
|
};
|
|
1095
|
-
;
|
|
1096
1894
|
export const getGetApiV1MattersLitigationMatterIdAbstractUrl = (matterId) => {
|
|
1097
1895
|
return `/api/v1/Matters/litigation/${matterId}/abstract`;
|
|
1098
1896
|
};
|
|
@@ -1102,7 +1900,6 @@ export const getApiV1MattersLitigationMatterIdAbstract = async (matterId, option
|
|
|
1102
1900
|
method: 'GET'
|
|
1103
1901
|
});
|
|
1104
1902
|
};
|
|
1105
|
-
;
|
|
1106
1903
|
export const getPutApiV1MattersLitigationMatterIdAbstractUrl = (matterId) => {
|
|
1107
1904
|
return `/api/v1/Matters/litigation/${matterId}/abstract`;
|
|
1108
1905
|
};
|
|
@@ -1130,7 +1927,6 @@ export const getApiV1MattersFieldsMetadata = async (params, options) => {
|
|
|
1130
1927
|
method: 'GET'
|
|
1131
1928
|
});
|
|
1132
1929
|
};
|
|
1133
|
-
;
|
|
1134
1930
|
export const getGetApiV1MattersFieldsMetadataDepartmentUrl = (params) => {
|
|
1135
1931
|
const normalizedParams = new URLSearchParams();
|
|
1136
1932
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -1147,7 +1943,6 @@ export const getApiV1MattersFieldsMetadataDepartment = async (params, options) =
|
|
|
1147
1943
|
method: 'GET'
|
|
1148
1944
|
});
|
|
1149
1945
|
};
|
|
1150
|
-
;
|
|
1151
1946
|
export const getGetApiV1MattersFieldsMetadataAccountUrl = (params) => {
|
|
1152
1947
|
const normalizedParams = new URLSearchParams();
|
|
1153
1948
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -1164,7 +1959,6 @@ export const getApiV1MattersFieldsMetadataAccount = async (params, options) => {
|
|
|
1164
1959
|
method: 'GET'
|
|
1165
1960
|
});
|
|
1166
1961
|
};
|
|
1167
|
-
;
|
|
1168
1962
|
export const getGetApiV1MattersFieldsMetadataAbstractUrl = () => {
|
|
1169
1963
|
return `/api/v1/Matters/fields/metadata/abstract`;
|
|
1170
1964
|
};
|
|
@@ -1174,6 +1968,10 @@ export const getApiV1MattersFieldsMetadataAbstract = async (options) => {
|
|
|
1174
1968
|
method: 'GET'
|
|
1175
1969
|
});
|
|
1176
1970
|
};
|
|
1971
|
+
/**
|
|
1972
|
+
* @summary Gets consolidated field metadata for creating a Matter in the specified module.
|
|
1973
|
+
This aggregation endpoint returns metadata for all fields needed to render the Create Matter form.
|
|
1974
|
+
*/
|
|
1177
1975
|
export const getGetApiV1MattersFieldsMetadataCreateUrl = (params) => {
|
|
1178
1976
|
const normalizedParams = new URLSearchParams();
|
|
1179
1977
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -1190,7 +1988,9 @@ export const getApiV1MattersFieldsMetadataCreate = async (params, options) => {
|
|
|
1190
1988
|
method: 'GET'
|
|
1191
1989
|
});
|
|
1192
1990
|
};
|
|
1193
|
-
|
|
1991
|
+
/**
|
|
1992
|
+
* @summary Adds a new Note to a Matter.
|
|
1993
|
+
*/
|
|
1194
1994
|
export const getPostApiV1MattersMatterIdNotesUrl = (matterId) => {
|
|
1195
1995
|
return `/api/v1/Matters/${matterId}/notes`;
|
|
1196
1996
|
};
|
|
@@ -1202,7 +2002,9 @@ export const postApiV1MattersMatterIdNotes = async (matterId, noteDto, options)
|
|
|
1202
2002
|
body: JSON.stringify(noteDto)
|
|
1203
2003
|
});
|
|
1204
2004
|
};
|
|
1205
|
-
|
|
2005
|
+
/**
|
|
2006
|
+
* @summary Get all the Notes on a given Matter without their content.
|
|
2007
|
+
*/
|
|
1206
2008
|
export const getGetApiV1MattersMatterIdNotesUrl = (matterId) => {
|
|
1207
2009
|
return `/api/v1/Matters/${matterId}/notes`;
|
|
1208
2010
|
};
|
|
@@ -1212,7 +2014,9 @@ export const getApiV1MattersMatterIdNotes = async (matterId, options) => {
|
|
|
1212
2014
|
method: 'GET'
|
|
1213
2015
|
});
|
|
1214
2016
|
};
|
|
1215
|
-
|
|
2017
|
+
/**
|
|
2018
|
+
* @summary Updates an existing Note on a Matter, overwriting the existing Note.
|
|
2019
|
+
*/
|
|
1216
2020
|
export const getPutApiV1MattersNotesNoteIdUrl = (noteId) => {
|
|
1217
2021
|
return `/api/v1/Matters/notes/${noteId}`;
|
|
1218
2022
|
};
|
|
@@ -1224,6 +2028,9 @@ export const putApiV1MattersNotesNoteId = async (noteId, noteDto, options) => {
|
|
|
1224
2028
|
body: JSON.stringify(noteDto)
|
|
1225
2029
|
});
|
|
1226
2030
|
};
|
|
2031
|
+
/**
|
|
2032
|
+
* @summary Get the content of a specific Note.
|
|
2033
|
+
*/
|
|
1227
2034
|
export const getGetApiV1MattersNotesNoteIdUrl = (noteId) => {
|
|
1228
2035
|
return `/api/v1/Matters/notes/${noteId}`;
|
|
1229
2036
|
};
|
|
@@ -1233,6 +2040,9 @@ export const getApiV1MattersNotesNoteId = async (noteId, options) => {
|
|
|
1233
2040
|
method: 'GET'
|
|
1234
2041
|
});
|
|
1235
2042
|
};
|
|
2043
|
+
/**
|
|
2044
|
+
* @summary Deletes the Note with the given ID.
|
|
2045
|
+
*/
|
|
1236
2046
|
export const getDeleteApiV1MattersNotesNoteIdUrl = (noteId) => {
|
|
1237
2047
|
return `/api/v1/Matters/notes/${noteId}`;
|
|
1238
2048
|
};
|
|
@@ -1242,6 +2052,9 @@ export const deleteApiV1MattersNotesNoteId = async (noteId, options) => {
|
|
|
1242
2052
|
method: 'DELETE'
|
|
1243
2053
|
});
|
|
1244
2054
|
};
|
|
2055
|
+
/**
|
|
2056
|
+
* @summary Adds a new party to a matter.
|
|
2057
|
+
*/
|
|
1245
2058
|
export const getPostApiV1MattersMatterIdPartiesUrl = (matterId) => {
|
|
1246
2059
|
return `/api/v1/Matters/${matterId}/parties`;
|
|
1247
2060
|
};
|
|
@@ -1253,6 +2066,10 @@ export const postApiV1MattersMatterIdParties = async (matterId, matterPartyPostD
|
|
|
1253
2066
|
body: JSON.stringify(matterPartyPostDto)
|
|
1254
2067
|
});
|
|
1255
2068
|
};
|
|
2069
|
+
/**
|
|
2070
|
+
* @summary Gets the Parties associated with the given Matter, including Related Parties
|
|
2071
|
+
for Primary Parties.
|
|
2072
|
+
*/
|
|
1256
2073
|
export const getGetApiV1MattersMatterIdPartiesUrl = (matterId) => {
|
|
1257
2074
|
return `/api/v1/Matters/${matterId}/parties`;
|
|
1258
2075
|
};
|
|
@@ -1262,6 +2079,9 @@ export const getApiV1MattersMatterIdParties = async (matterId, options) => {
|
|
|
1262
2079
|
method: 'GET'
|
|
1263
2080
|
});
|
|
1264
2081
|
};
|
|
2082
|
+
/**
|
|
2083
|
+
* @summary Patches the given Matter Party.
|
|
2084
|
+
*/
|
|
1265
2085
|
export const getPatchApiV1MattersPartiesIdUrl = (id) => {
|
|
1266
2086
|
return `/api/v1/Matters/parties/${id}`;
|
|
1267
2087
|
};
|
|
@@ -1273,6 +2093,9 @@ export const patchApiV1MattersPartiesId = async (id, matterPartyPatchDto, option
|
|
|
1273
2093
|
body: JSON.stringify(matterPartyPatchDto)
|
|
1274
2094
|
});
|
|
1275
2095
|
};
|
|
2096
|
+
/**
|
|
2097
|
+
* @summary Deletes the Party with the given ID from its Matter.
|
|
2098
|
+
*/
|
|
1276
2099
|
export const getDeleteApiV1MattersPartiesIdUrl = (id) => {
|
|
1277
2100
|
return `/api/v1/Matters/parties/${id}`;
|
|
1278
2101
|
};
|
|
@@ -1282,6 +2105,9 @@ export const deleteApiV1MattersPartiesId = async (id, options) => {
|
|
|
1282
2105
|
method: 'DELETE'
|
|
1283
2106
|
});
|
|
1284
2107
|
};
|
|
2108
|
+
/**
|
|
2109
|
+
* @summary Adds a new Related Party to a Matter.
|
|
2110
|
+
*/
|
|
1285
2111
|
export const getPostApiV1MattersMatterIdPartiesPartyIdRelatedUrl = (matterId, partyId) => {
|
|
1286
2112
|
return `/api/v1/Matters/${matterId}/parties/${partyId}/related`;
|
|
1287
2113
|
};
|
|
@@ -1293,6 +2119,9 @@ export const postApiV1MattersMatterIdPartiesPartyIdRelated = async (matterId, pa
|
|
|
1293
2119
|
body: JSON.stringify(matterPersonRelationDto)
|
|
1294
2120
|
});
|
|
1295
2121
|
};
|
|
2122
|
+
/**
|
|
2123
|
+
* @summary Patches the given Related Party on a Matter.
|
|
2124
|
+
*/
|
|
1296
2125
|
export const getPatchApiV1MattersPartiesRelatedIdUrl = (id) => {
|
|
1297
2126
|
return `/api/v1/Matters/parties/related/${id}`;
|
|
1298
2127
|
};
|
|
@@ -1304,6 +2133,9 @@ export const patchApiV1MattersPartiesRelatedId = async (id, matterPartyRelationP
|
|
|
1304
2133
|
body: JSON.stringify(matterPartyRelationPatchDto)
|
|
1305
2134
|
});
|
|
1306
2135
|
};
|
|
2136
|
+
/**
|
|
2137
|
+
* @summary Deletes the Related Party with the given ID from its Matter.
|
|
2138
|
+
*/
|
|
1307
2139
|
export const getDeleteApiV1MattersPartiesRelatedIdUrl = (id) => {
|
|
1308
2140
|
return `/api/v1/Matters/parties/related/${id}`;
|
|
1309
2141
|
};
|
|
@@ -1313,6 +2145,9 @@ export const deleteApiV1MattersPartiesRelatedId = async (id, options) => {
|
|
|
1313
2145
|
method: 'DELETE'
|
|
1314
2146
|
});
|
|
1315
2147
|
};
|
|
2148
|
+
/**
|
|
2149
|
+
* @summary Gets the Related Parties associated with a specific Primary Party.
|
|
2150
|
+
*/
|
|
1316
2151
|
export const getGetApiV1MattersPartiesPrimaryPartyIdRelatedUrl = (primaryPartyId) => {
|
|
1317
2152
|
return `/api/v1/Matters/parties/${primaryPartyId}/related`;
|
|
1318
2153
|
};
|
|
@@ -1322,6 +2157,9 @@ export const getApiV1MattersPartiesPrimaryPartyIdRelated = async (primaryPartyId
|
|
|
1322
2157
|
method: 'GET'
|
|
1323
2158
|
});
|
|
1324
2159
|
};
|
|
2160
|
+
/**
|
|
2161
|
+
* @summary Gets the metadata for Matter Parties (Roles, for example).
|
|
2162
|
+
*/
|
|
1325
2163
|
export const getGetApiV1MattersPartiesMetadataUrl = () => {
|
|
1326
2164
|
return `/api/v1/Matters/parties/metadata`;
|
|
1327
2165
|
};
|
|
@@ -1351,6 +2189,9 @@ export const patchApiV1MattersMatterIdFinance = async (matterId, matterFinancePa
|
|
|
1351
2189
|
body: JSON.stringify(matterFinancePatchDto)
|
|
1352
2190
|
});
|
|
1353
2191
|
};
|
|
2192
|
+
/**
|
|
2193
|
+
* @summary Gets the consolidated Finance field metadata (labels, visibility, options) for a Module.
|
|
2194
|
+
*/
|
|
1354
2195
|
export const getGetApiV1MattersFinanceMetadataUrl = (params) => {
|
|
1355
2196
|
const normalizedParams = new URLSearchParams();
|
|
1356
2197
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -1387,6 +2228,9 @@ export const putApiV1MattersMatterIdEvaluation = async (matterId, putApiV1Matter
|
|
|
1387
2228
|
body: JSON.stringify(putApiV1MattersMatterIdEvaluationBody)
|
|
1388
2229
|
});
|
|
1389
2230
|
};
|
|
2231
|
+
/**
|
|
2232
|
+
* @summary Deletes a Matter and its related information.
|
|
2233
|
+
*/
|
|
1390
2234
|
export const getDeleteApiV1MattersMatterIdUrl = (matterId, params) => {
|
|
1391
2235
|
const normalizedParams = new URLSearchParams();
|
|
1392
2236
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -1403,6 +2247,11 @@ export const deleteApiV1MattersMatterId = async (matterId, params, options) => {
|
|
|
1403
2247
|
method: 'DELETE'
|
|
1404
2248
|
});
|
|
1405
2249
|
};
|
|
2250
|
+
/**
|
|
2251
|
+
* @summary Gets all open matters assigned to the authenticated user.
|
|
2252
|
+
Corresponds to the Golden Gate my_open_matters view.
|
|
2253
|
+
Reference: https://github.com/CycomDataSystems/golden-gate/blob/main/apis/views/views.py::my_open_matters
|
|
2254
|
+
*/
|
|
1406
2255
|
export const getGetApiV1MattersMyOpenUrl = (params) => {
|
|
1407
2256
|
const normalizedParams = new URLSearchParams();
|
|
1408
2257
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -1419,6 +2268,9 @@ export const getApiV1MattersMyOpen = async (params, options) => {
|
|
|
1419
2268
|
method: 'GET'
|
|
1420
2269
|
});
|
|
1421
2270
|
};
|
|
2271
|
+
/**
|
|
2272
|
+
* @summary Gets the next available file number for a specified module.
|
|
2273
|
+
*/
|
|
1422
2274
|
export const getGetApiV1MattersNextFileNumberUrl = (params) => {
|
|
1423
2275
|
const normalizedParams = new URLSearchParams();
|
|
1424
2276
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -1435,6 +2287,9 @@ export const getApiV1MattersNextFileNumber = async (params, options) => {
|
|
|
1435
2287
|
method: 'GET'
|
|
1436
2288
|
});
|
|
1437
2289
|
};
|
|
2290
|
+
/**
|
|
2291
|
+
* @summary Creates a new Litigation matter
|
|
2292
|
+
*/
|
|
1438
2293
|
export const getPostApiV1MattersUrl = (params) => {
|
|
1439
2294
|
const normalizedParams = new URLSearchParams();
|
|
1440
2295
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -1480,6 +2335,10 @@ export const getApiV2MattersFieldsMetadata = async (params, options) => {
|
|
|
1480
2335
|
method: 'GET'
|
|
1481
2336
|
});
|
|
1482
2337
|
};
|
|
2338
|
+
/**
|
|
2339
|
+
* @summary Module-agnostic GET. Returns a unified MatterDto that covers all modules.
|
|
2340
|
+
The module is derived from BASE.Module on the existing record.
|
|
2341
|
+
*/
|
|
1483
2342
|
export const getGetApiV3MattersMatterIdUrl = (matterId) => {
|
|
1484
2343
|
return `/api/v3/matters/${matterId}`;
|
|
1485
2344
|
};
|
|
@@ -1489,6 +2348,10 @@ export const getApiV3MattersMatterId = async (matterId, options) => {
|
|
|
1489
2348
|
method: 'GET'
|
|
1490
2349
|
});
|
|
1491
2350
|
};
|
|
2351
|
+
/**
|
|
2352
|
+
* @summary Module-agnostic PATCH. Applies a JSON Patch document to update any matter.
|
|
2353
|
+
The module is derived from BASE.Module on the existing record.
|
|
2354
|
+
*/
|
|
1492
2355
|
export const getPatchApiV3MattersMatterIdUrl = (matterId) => {
|
|
1493
2356
|
return `/api/v3/matters/${matterId}`;
|
|
1494
2357
|
};
|
|
@@ -1500,7 +2363,24 @@ export const patchApiV3MattersMatterId = async (matterId, operation, options) =>
|
|
|
1500
2363
|
body: JSON.stringify(operation)
|
|
1501
2364
|
});
|
|
1502
2365
|
};
|
|
1503
|
-
|
|
2366
|
+
/**
|
|
2367
|
+
* @summary Module-agnostic POST. Creates a new matter for any supported module
|
|
2368
|
+
(LI, CL, 3C, WC, LR, FS, AS).
|
|
2369
|
+
*/
|
|
2370
|
+
export const getPostApiV3MattersUrl = () => {
|
|
2371
|
+
return `/api/v3/matters`;
|
|
2372
|
+
};
|
|
2373
|
+
export const postApiV3Matters = async (createMatterDto, options) => {
|
|
2374
|
+
return customFetch(getPostApiV3MattersUrl(), {
|
|
2375
|
+
...options,
|
|
2376
|
+
method: 'POST',
|
|
2377
|
+
headers: { 'Content-Type': 'application/json-patch+json', ...options?.headers },
|
|
2378
|
+
body: JSON.stringify(createMatterDto)
|
|
2379
|
+
});
|
|
2380
|
+
};
|
|
2381
|
+
/**
|
|
2382
|
+
* @summary Retrieves a person by their ID.
|
|
2383
|
+
*/
|
|
1504
2384
|
export const getGetApiV1PeopleIdUrl = (id) => {
|
|
1505
2385
|
return `/api/v1/People/${id}`;
|
|
1506
2386
|
};
|
|
@@ -1510,7 +2390,9 @@ export const getApiV1PeopleId = async (id, options) => {
|
|
|
1510
2390
|
method: 'GET'
|
|
1511
2391
|
});
|
|
1512
2392
|
};
|
|
1513
|
-
|
|
2393
|
+
/**
|
|
2394
|
+
* @summary Deletes a person by their ID.
|
|
2395
|
+
*/
|
|
1514
2396
|
export const getDeleteApiV1PeopleIdUrl = (id) => {
|
|
1515
2397
|
return `/api/v1/People/${id}`;
|
|
1516
2398
|
};
|
|
@@ -1520,7 +2402,9 @@ export const deleteApiV1PeopleId = async (id, options) => {
|
|
|
1520
2402
|
method: 'DELETE'
|
|
1521
2403
|
});
|
|
1522
2404
|
};
|
|
1523
|
-
|
|
2405
|
+
/**
|
|
2406
|
+
* @summary Applies a JSON Patch to a person.
|
|
2407
|
+
*/
|
|
1524
2408
|
export const getPatchApiV1PeopleIdUrl = (id) => {
|
|
1525
2409
|
return `/api/v1/People/${id}`;
|
|
1526
2410
|
};
|
|
@@ -1532,7 +2416,9 @@ export const patchApiV1PeopleId = async (id, operation, options) => {
|
|
|
1532
2416
|
body: JSON.stringify(operation)
|
|
1533
2417
|
});
|
|
1534
2418
|
};
|
|
1535
|
-
|
|
2419
|
+
/**
|
|
2420
|
+
* @summary Adds a new person.
|
|
2421
|
+
*/
|
|
1536
2422
|
export const getPostApiV1PeopleUrl = () => {
|
|
1537
2423
|
return `/api/v1/People`;
|
|
1538
2424
|
};
|
|
@@ -1544,7 +2430,9 @@ export const postApiV1People = async (personDto, options) => {
|
|
|
1544
2430
|
body: JSON.stringify(personDto)
|
|
1545
2431
|
});
|
|
1546
2432
|
};
|
|
1547
|
-
|
|
2433
|
+
/**
|
|
2434
|
+
* @summary Searches for people based on the provided search criteria and returns a paginated result.
|
|
2435
|
+
*/
|
|
1548
2436
|
export const getPostApiV1PeopleSearchUrl = (params) => {
|
|
1549
2437
|
const normalizedParams = new URLSearchParams();
|
|
1550
2438
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -1563,7 +2451,6 @@ export const postApiV1PeopleSearch = async (personSearchDto, params, options) =>
|
|
|
1563
2451
|
body: JSON.stringify(personSearchDto)
|
|
1564
2452
|
});
|
|
1565
2453
|
};
|
|
1566
|
-
;
|
|
1567
2454
|
export const getGetApiV1PermissionsStaffIdUrl = (staffId) => {
|
|
1568
2455
|
return `/api/v1/Permissions/${staffId}`;
|
|
1569
2456
|
};
|
|
@@ -1573,6 +2460,10 @@ export const getApiV1PermissionsStaffId = async (staffId, options) => {
|
|
|
1573
2460
|
method: 'GET'
|
|
1574
2461
|
});
|
|
1575
2462
|
};
|
|
2463
|
+
/**
|
|
2464
|
+
* @summary Exports risk data as of a specified date as an Excel (.xlsx) spreadsheet.
|
|
2465
|
+
Each row represents one risk record; columns map to the properties of each record.
|
|
2466
|
+
*/
|
|
1576
2467
|
export const getGetApiV1ReportsExportRiskDataReportUrl = (params) => {
|
|
1577
2468
|
const normalizedParams = new URLSearchParams();
|
|
1578
2469
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -1589,6 +2480,10 @@ export const getApiV1ReportsExportRiskDataReport = async (params, options) => {
|
|
|
1589
2480
|
method: 'GET'
|
|
1590
2481
|
});
|
|
1591
2482
|
};
|
|
2483
|
+
/**
|
|
2484
|
+
* @summary Exports litigation manager report data as an Excel (.xlsx) spreadsheet.
|
|
2485
|
+
Each row represents one matter record; columns map to the properties of each record.
|
|
2486
|
+
*/
|
|
1592
2487
|
export const getGetApiV1ReportsManagerReportUrl = (params) => {
|
|
1593
2488
|
const normalizedParams = new URLSearchParams();
|
|
1594
2489
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -1605,7 +2500,6 @@ export const getApiV1ReportsManagerReport = async (params, options) => {
|
|
|
1605
2500
|
method: 'GET'
|
|
1606
2501
|
});
|
|
1607
2502
|
};
|
|
1608
|
-
;
|
|
1609
2503
|
export const getPostApiV1SearchMattersUrl = () => {
|
|
1610
2504
|
return `/api/v1/Search/matters`;
|
|
1611
2505
|
};
|
|
@@ -1617,7 +2511,6 @@ export const postApiV1SearchMatters = async (matterSearchRequestDto, options) =>
|
|
|
1617
2511
|
body: JSON.stringify(matterSearchRequestDto)
|
|
1618
2512
|
});
|
|
1619
2513
|
};
|
|
1620
|
-
;
|
|
1621
2514
|
export const getPostApiV1SearchMattersPageNumberUrl = (pageNumber) => {
|
|
1622
2515
|
return `/api/v1/Search/matters/${pageNumber}`;
|
|
1623
2516
|
};
|
|
@@ -1654,6 +2547,9 @@ export const getApiV1SystemManagementConfidentialFooter = async (options) => {
|
|
|
1654
2547
|
method: 'GET'
|
|
1655
2548
|
});
|
|
1656
2549
|
};
|
|
2550
|
+
/**
|
|
2551
|
+
* @summary Get app settings filtered by section and/or item.
|
|
2552
|
+
*/
|
|
1657
2553
|
export const getGetApiV1SystemManagementAppSettingsUrl = (params) => {
|
|
1658
2554
|
const normalizedParams = new URLSearchParams();
|
|
1659
2555
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -1670,6 +2566,9 @@ export const getApiV1SystemManagementAppSettings = async (params, options) => {
|
|
|
1670
2566
|
method: 'GET'
|
|
1671
2567
|
});
|
|
1672
2568
|
};
|
|
2569
|
+
/**
|
|
2570
|
+
* @summary Create a new app setting.
|
|
2571
|
+
*/
|
|
1673
2572
|
export const getPostApiV1SystemManagementAppSettingsUrl = () => {
|
|
1674
2573
|
return `/api/v1/system-management/app-settings`;
|
|
1675
2574
|
};
|
|
@@ -1681,6 +2580,9 @@ export const postApiV1SystemManagementAppSettings = async (createCtyLawDto, opti
|
|
|
1681
2580
|
body: JSON.stringify(createCtyLawDto)
|
|
1682
2581
|
});
|
|
1683
2582
|
};
|
|
2583
|
+
/**
|
|
2584
|
+
* @summary Update an app setting using JSON Patch (RFC 6902).
|
|
2585
|
+
*/
|
|
1684
2586
|
export const getPatchApiV1SystemManagementAppSettingsIdUrl = (id) => {
|
|
1685
2587
|
return `/api/v1/system-management/app-settings/${id}`;
|
|
1686
2588
|
};
|
|
@@ -1692,6 +2594,9 @@ export const patchApiV1SystemManagementAppSettingsId = async (id, operation, opt
|
|
|
1692
2594
|
body: JSON.stringify(operation)
|
|
1693
2595
|
});
|
|
1694
2596
|
};
|
|
2597
|
+
/**
|
|
2598
|
+
* @summary Delete an app setting.
|
|
2599
|
+
*/
|
|
1695
2600
|
export const getDeleteApiV1SystemManagementAppSettingsIdUrl = (id) => {
|
|
1696
2601
|
return `/api/v1/system-management/app-settings/${id}`;
|
|
1697
2602
|
};
|
|
@@ -1701,6 +2606,9 @@ export const deleteApiV1SystemManagementAppSettingsId = async (id, options) => {
|
|
|
1701
2606
|
method: 'DELETE'
|
|
1702
2607
|
});
|
|
1703
2608
|
};
|
|
2609
|
+
/**
|
|
2610
|
+
* @summary Triggers the TIPSS sync operation, importing data into ATSystem* tables.
|
|
2611
|
+
*/
|
|
1704
2612
|
export const getPostApiV1TipssSyncUrl = () => {
|
|
1705
2613
|
return `/api/v1/tipss/sync`;
|
|
1706
2614
|
};
|
|
@@ -1712,6 +2620,9 @@ export const postApiV1TipssSync = async (tipssSyncRequestDto, options) => {
|
|
|
1712
2620
|
body: JSON.stringify(tipssSyncRequestDto)
|
|
1713
2621
|
});
|
|
1714
2622
|
};
|
|
2623
|
+
/**
|
|
2624
|
+
* @summary Syncs green form printed records by executing the UpdateGreenFormPrintedRecords stored procedure.
|
|
2625
|
+
*/
|
|
1715
2626
|
export const getPostApiV1TipssGreenFormSyncUrl = (params) => {
|
|
1716
2627
|
const normalizedParams = new URLSearchParams();
|
|
1717
2628
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -1728,6 +2639,9 @@ export const postApiV1TipssGreenFormSync = async (params, options) => {
|
|
|
1728
2639
|
method: 'POST'
|
|
1729
2640
|
});
|
|
1730
2641
|
};
|
|
2642
|
+
/**
|
|
2643
|
+
* @summary Searches citations by citation number and/or defendant name.
|
|
2644
|
+
*/
|
|
1731
2645
|
export const getGetApiV1TipssCitationsSearchUrl = (params) => {
|
|
1732
2646
|
const normalizedParams = new URLSearchParams();
|
|
1733
2647
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -1744,6 +2658,9 @@ export const getApiV1TipssCitationsSearch = async (params, options) => {
|
|
|
1744
2658
|
method: 'GET'
|
|
1745
2659
|
});
|
|
1746
2660
|
};
|
|
2661
|
+
/**
|
|
2662
|
+
* @summary Get configuration data for WRP integration
|
|
2663
|
+
*/
|
|
1747
2664
|
export const getGetApiV1WrpConfigUrl = () => {
|
|
1748
2665
|
return `/api/v1/Wrp/config`;
|
|
1749
2666
|
};
|
|
@@ -1753,6 +2670,9 @@ export const getApiV1WrpConfig = async (options) => {
|
|
|
1753
2670
|
method: 'GET'
|
|
1754
2671
|
});
|
|
1755
2672
|
};
|
|
2673
|
+
/**
|
|
2674
|
+
* @summary Get field metadata for the Work Request Portal form
|
|
2675
|
+
*/
|
|
1756
2676
|
export const getGetApiV1WrpMetadataUrl = () => {
|
|
1757
2677
|
return `/api/v1/Wrp/metadata`;
|
|
1758
2678
|
};
|
|
@@ -1762,6 +2682,9 @@ export const getApiV1WrpMetadata = async (options) => {
|
|
|
1762
2682
|
method: 'GET'
|
|
1763
2683
|
});
|
|
1764
2684
|
};
|
|
2685
|
+
/**
|
|
2686
|
+
* @summary Get a database-driven form definition by form key
|
|
2687
|
+
*/
|
|
1765
2688
|
export const getGetApiV1WrpFormsFormKeyUrl = (formKey) => {
|
|
1766
2689
|
return `/api/v1/Wrp/forms/${formKey}`;
|
|
1767
2690
|
};
|
|
@@ -1771,6 +2694,9 @@ export const getApiV1WrpFormsFormKey = async (formKey, options) => {
|
|
|
1771
2694
|
method: 'GET'
|
|
1772
2695
|
});
|
|
1773
2696
|
};
|
|
2697
|
+
/**
|
|
2698
|
+
* @summary Get active code items for a given code type
|
|
2699
|
+
*/
|
|
1774
2700
|
export const getGetApiV1WrpOptionsCodesCodeTypeUrl = (codeType) => {
|
|
1775
2701
|
return `/api/v1/Wrp/options/codes/${codeType}`;
|
|
1776
2702
|
};
|
|
@@ -1780,6 +2706,9 @@ export const getApiV1WrpOptionsCodesCodeType = async (codeType, options) => {
|
|
|
1780
2706
|
method: 'GET'
|
|
1781
2707
|
});
|
|
1782
2708
|
};
|
|
2709
|
+
/**
|
|
2710
|
+
* @summary Get active departments
|
|
2711
|
+
*/
|
|
1783
2712
|
export const getGetApiV1WrpOptionsDepartmentsUrl = () => {
|
|
1784
2713
|
return `/api/v1/Wrp/options/departments`;
|
|
1785
2714
|
};
|
|
@@ -1789,6 +2718,9 @@ export const getApiV1WrpOptionsDepartments = async (options) => {
|
|
|
1789
2718
|
method: 'GET'
|
|
1790
2719
|
});
|
|
1791
2720
|
};
|
|
2721
|
+
/**
|
|
2722
|
+
* @summary Get active accounts
|
|
2723
|
+
*/
|
|
1792
2724
|
export const getGetApiV1WrpOptionsAccountsUrl = () => {
|
|
1793
2725
|
return `/api/v1/Wrp/options/accounts`;
|
|
1794
2726
|
};
|
|
@@ -1798,6 +2730,9 @@ export const getApiV1WrpOptionsAccounts = async (options) => {
|
|
|
1798
2730
|
method: 'GET'
|
|
1799
2731
|
});
|
|
1800
2732
|
};
|
|
2733
|
+
/**
|
|
2734
|
+
* @summary Create a new Assignment Matter for the Work Request Portal
|
|
2735
|
+
*/
|
|
1801
2736
|
export const getPostApiV1WrpAssignmentMatterUrl = () => {
|
|
1802
2737
|
return `/api/v1/Wrp/assignment-matter`;
|
|
1803
2738
|
};
|