@cycomdatasystems/mackinac-sdk 5.0.0 → 5.1.1
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 +80 -1
- package/dist/generated/mackinac.client.js +178 -0
- package/dist/generated/models/assignRolesDto.d.ts +24 -0
- package/dist/generated/models/assignRolesDto.js +17 -0
- package/dist/generated/models/createStaffPayloadDto.d.ts +45 -0
- package/dist/generated/models/createStaffPayloadDto.js +17 -0
- package/dist/generated/models/createUserDto.d.ts +47 -0
- package/dist/generated/models/createUserDto.js +1 -0
- package/dist/generated/models/createUserDtoMode.d.ts +24 -0
- package/dist/generated/models/createUserDtoMode.js +21 -0
- package/dist/generated/models/getApiV1UsersParams.d.ts +23 -0
- package/dist/generated/models/getApiV1UsersParams.js +17 -0
- package/dist/generated/models/index.d.ts +10 -0
- package/dist/generated/models/index.js +10 -0
- package/dist/generated/models/roleDto.d.ts +29 -0
- package/dist/generated/models/roleDto.js +17 -0
- package/dist/generated/models/updateSelfProfileDto.d.ts +27 -0
- package/dist/generated/models/updateSelfProfileDto.js +17 -0
- package/dist/generated/models/updateUserDto.d.ts +46 -0
- package/dist/generated/models/updateUserDto.js +17 -0
- package/dist/generated/models/userDto.d.ts +49 -0
- package/dist/generated/models/userDto.js +17 -0
- package/dist/generated/models/userDtoCursorPagedResultDto.d.ts +23 -0
- package/dist/generated/models/userDtoCursorPagedResultDto.js +1 -0
- package/package.json +1 -1
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
- The Custom Forms model is product-agnostic: the consuming product owns auth, identity resolution, and AV scanning of uploaded files. Mackinac validates the identity contract and persists/executes submissions.
|
|
15
15
|
* OpenAPI spec version: v1
|
|
16
16
|
*/
|
|
17
|
-
import type { AllegationDesiredOutcomeDto, AllegationDesiredOutcomeDtoPaginatedResultDto, AllegationDto, AllegationDtoPaginatedResultDto, AllegationIssueDetailsDto, AllegationIssueDetailsDtoPaginatedResultDto, AllegationIssueDto, AllegationIssueDtoPaginatedResultDto, AllegationStageDispositionDto, AllegationStageDispositionDtoPaginatedResultDto, AllegationStageDto, AllegationStageDtoPaginatedResultDto, AllegationSubCodeDto, AllegationSubCodeDtoPaginatedResultDto, BulkMatterAllegationStageRowDtoPaginatedResultDto, CodeDto, ConfidentialFooterDto, ContractCounselDto, ContractCounselDtoPaginatedResultDto, CreateAllegationDesiredOutcomeDto, CreateAllegationDto, CreateAllegationIssueDetailsDto, CreateAllegationIssueDto, CreateAllegationStageDispositionDto, CreateAllegationStageDto, CreateAllegationSubCodeDto, CreateContractCounselDto, CreateCtyLawDto, CreateExpenseReserveDto, CreateExpertWitnessDto, CreateFormDefinitionDto, CreateFormSubmissionDto, CreateGeneralExpenseDto, CreateIndemnityReserveDto, CreateLitigationMatterRequestDto, CreateMatterAllegationDto, CreateMatterAllegationStageDto, CreateMatterDto, CreateMatterFormLayoutDto, CreatePaymentDto, CreateSettlementDto, CreateStageDispositionMappingDto, CreateUpdateFieldDefinitionDto, CreateUpdateFormElementDto, CreateUpdateFormFieldDto, CreateUpdateFormFieldRuleDto, CreateUpdateFormSubmissionActionDto, CreateWrpAssignmentMatterDto, CtyLawDto, DeleteApiV1MattersMatterIdParams, ExpenseReserveDto, ExpenseReserveDtoPaginatedResultDto, ExpertWitnessDto, ExpertWitnessDtoPaginatedResultDto, FieldDefinitionDto, FieldDefinitionDtoCursorPagedResultDto, FormDefinitionDto, FormDefinitionDtoCursorPagedResultDto, FormDefinitionFullDto, FormElementDto, FormElementDtoListResultDto, FormFieldDto, FormFieldDtoListResultDto, FormFieldRuleDto, FormFieldRuleDtoListResultDto, FormSubmissionActionDto, FormSubmissionActionDtoListResultDto, FormSubmissionDto, FormSubmissionDtoCursorPagedResultDto, GeneralExpenseDto, GeneralExpenseDtoPaginatedResultDto, GetApiV1AllegationsDesiredOutcomesParams, GetApiV1AllegationsIssueDetailsParams, GetApiV1AllegationsIssuesParams, GetApiV1AllegationsParams, GetApiV1AllegationsStageDispositionsParams, GetApiV1AllegationsStagesDispositionMappingsParams, GetApiV1AllegationsStagesParams, GetApiV1AllegationsSubcodesParams, GetApiV1CodesParams, GetApiV1FieldDefinitionsParams, GetApiV1FormDefinitionsFormIdRulesParams, GetApiV1FormDefinitionsFormIdSubmissionsParams, GetApiV1FormDefinitionsParams, GetApiV1MatterFieldRegistryParams, GetApiV1MattersAllegationsAllegationIdStagesParams, GetApiV1MattersFieldsMetadataAccountParams, GetApiV1MattersFieldsMetadataCreateParams, GetApiV1MattersFieldsMetadataDepartmentParams, GetApiV1MattersFieldsMetadataParams, GetApiV1MattersFileNumberExistsParams, GetApiV1MattersFinanceMetadataParams, GetApiV1MattersMatterIdAllegationsParams, GetApiV1MattersMatterIdAllegationsStagesParams, GetApiV1MattersMatterIdFinanceCollectionsCollectedParams, GetApiV1MattersMatterIdFinanceExpendituresContractCounselParams, GetApiV1MattersMatterIdFinanceExpendituresExpertWitnessParams, GetApiV1MattersMatterIdFinanceExpendituresGeneralExpensesParams, GetApiV1MattersMatterIdFinanceExpendituresSettlementsParams, GetApiV1MattersMatterIdFinanceReservesExpensesParams, GetApiV1MattersMyOpenParams, GetApiV1MattersNextFileNumberParams, GetApiV1ReportsExportRiskDataReportParams, GetApiV1ReportsManagerReportParams, GetApiV1StaffParams, GetApiV1SystemManagementAppSettingsParams, GetApiV1TipssCitationsSearchParams, GetApiV2MattersFieldsMetadataParams, IndemnityReserveDto, LitigationMatterAbstractDto, LitigationMatterDto, MarkAveryLabelsPrintedRequest, MatterAllegationDto, MatterAllegationDtoPaginatedResultDto, MatterAllegationStageDto, MatterAllegationStageDtoPaginatedResultDto, MatterDto, MatterFieldMetadataDto, MatterFieldMetadataV2Dto, MatterFieldRegistryDto, MatterFieldRegistryDtoListResultDto, MatterFinanceFieldValuesDto, MatterFinanceMetadataDto, MatterFinancePatchDto, MatterPartyPatchDto, MatterPartyPostDto, MatterPartyRelationPatchDto, MatterPaymentMetadataDto, MatterPersonDto, MatterPersonRelationDto, MatterSearchHitsRequestDto, MatterSearchRequestDto, NextFileNumberResponseDto, NoteDto, OpenMatterDto, Operation, PaymentDto, PaymentDtoPaginatedResultDto, PersonDto, PersonDtoIEnumerableInt32ValueTuple, PersonSearchDto, PostApiV1MattersParams, PostApiV1PeopleSearchParams, PostApiV1TipssGreenFormSyncParams, SearchCitationHitDtoPaginatedResultDto, SettlementDto, SettlementDtoPaginatedResultDto, StaffDto, StageDispositionMappingDto, StageDispositionMappingDtoPaginatedResultDto, TipssSyncRequestDto, TipssSyncResponseDto, UpdateFormDefinitionDto, WrpAssignmentMatterResponseDto, WrpConfigDto, WrpFormDefinitionDto, WrpMetadataDto, WrpSelectOptionDto } from './models';
|
|
17
|
+
import type { AllegationDesiredOutcomeDto, AllegationDesiredOutcomeDtoPaginatedResultDto, AllegationDto, AllegationDtoPaginatedResultDto, AllegationIssueDetailsDto, AllegationIssueDetailsDtoPaginatedResultDto, AllegationIssueDto, AllegationIssueDtoPaginatedResultDto, AllegationStageDispositionDto, AllegationStageDispositionDtoPaginatedResultDto, AllegationStageDto, AllegationStageDtoPaginatedResultDto, AllegationSubCodeDto, AllegationSubCodeDtoPaginatedResultDto, AssignRolesDto, BulkMatterAllegationStageRowDtoPaginatedResultDto, CodeDto, ConfidentialFooterDto, ContractCounselDto, ContractCounselDtoPaginatedResultDto, CreateAllegationDesiredOutcomeDto, CreateAllegationDto, CreateAllegationIssueDetailsDto, CreateAllegationIssueDto, CreateAllegationStageDispositionDto, CreateAllegationStageDto, CreateAllegationSubCodeDto, CreateContractCounselDto, CreateCtyLawDto, CreateExpenseReserveDto, CreateExpertWitnessDto, CreateFormDefinitionDto, CreateFormSubmissionDto, CreateGeneralExpenseDto, CreateIndemnityReserveDto, CreateLitigationMatterRequestDto, CreateMatterAllegationDto, CreateMatterAllegationStageDto, CreateMatterDto, CreateMatterFormLayoutDto, CreatePaymentDto, CreateSettlementDto, CreateStageDispositionMappingDto, CreateUpdateFieldDefinitionDto, CreateUpdateFormElementDto, CreateUpdateFormFieldDto, CreateUpdateFormFieldRuleDto, CreateUpdateFormSubmissionActionDto, CreateUserDto, CreateWrpAssignmentMatterDto, CtyLawDto, DeleteApiV1MattersMatterIdParams, ExpenseReserveDto, ExpenseReserveDtoPaginatedResultDto, ExpertWitnessDto, ExpertWitnessDtoPaginatedResultDto, FieldDefinitionDto, FieldDefinitionDtoCursorPagedResultDto, FormDefinitionDto, FormDefinitionDtoCursorPagedResultDto, FormDefinitionFullDto, FormElementDto, FormElementDtoListResultDto, FormFieldDto, FormFieldDtoListResultDto, FormFieldRuleDto, FormFieldRuleDtoListResultDto, FormSubmissionActionDto, FormSubmissionActionDtoListResultDto, FormSubmissionDto, FormSubmissionDtoCursorPagedResultDto, GeneralExpenseDto, GeneralExpenseDtoPaginatedResultDto, GetApiV1AllegationsDesiredOutcomesParams, GetApiV1AllegationsIssueDetailsParams, GetApiV1AllegationsIssuesParams, GetApiV1AllegationsParams, GetApiV1AllegationsStageDispositionsParams, GetApiV1AllegationsStagesDispositionMappingsParams, GetApiV1AllegationsStagesParams, GetApiV1AllegationsSubcodesParams, GetApiV1CodesParams, GetApiV1FieldDefinitionsParams, GetApiV1FormDefinitionsFormIdRulesParams, GetApiV1FormDefinitionsFormIdSubmissionsParams, GetApiV1FormDefinitionsParams, GetApiV1MatterFieldRegistryParams, GetApiV1MattersAllegationsAllegationIdStagesParams, GetApiV1MattersFieldsMetadataAccountParams, GetApiV1MattersFieldsMetadataCreateParams, GetApiV1MattersFieldsMetadataDepartmentParams, GetApiV1MattersFieldsMetadataParams, GetApiV1MattersFileNumberExistsParams, GetApiV1MattersFinanceMetadataParams, GetApiV1MattersMatterIdAllegationsParams, GetApiV1MattersMatterIdAllegationsStagesParams, GetApiV1MattersMatterIdFinanceCollectionsCollectedParams, GetApiV1MattersMatterIdFinanceExpendituresContractCounselParams, GetApiV1MattersMatterIdFinanceExpendituresExpertWitnessParams, GetApiV1MattersMatterIdFinanceExpendituresGeneralExpensesParams, GetApiV1MattersMatterIdFinanceExpendituresSettlementsParams, GetApiV1MattersMatterIdFinanceReservesExpensesParams, GetApiV1MattersMyOpenParams, GetApiV1MattersNextFileNumberParams, GetApiV1ReportsExportRiskDataReportParams, GetApiV1ReportsManagerReportParams, GetApiV1StaffParams, GetApiV1SystemManagementAppSettingsParams, GetApiV1TipssCitationsSearchParams, GetApiV1UsersParams, GetApiV2MattersFieldsMetadataParams, IndemnityReserveDto, LitigationMatterAbstractDto, LitigationMatterDto, MarkAveryLabelsPrintedRequest, MatterAllegationDto, MatterAllegationDtoPaginatedResultDto, MatterAllegationStageDto, MatterAllegationStageDtoPaginatedResultDto, MatterDto, MatterFieldMetadataDto, MatterFieldMetadataV2Dto, MatterFieldRegistryDto, MatterFieldRegistryDtoListResultDto, MatterFinanceFieldValuesDto, MatterFinanceMetadataDto, MatterFinancePatchDto, MatterPartyPatchDto, MatterPartyPostDto, MatterPartyRelationPatchDto, MatterPaymentMetadataDto, MatterPersonDto, MatterPersonRelationDto, MatterSearchHitsRequestDto, MatterSearchRequestDto, NextFileNumberResponseDto, NoteDto, OpenMatterDto, Operation, PaymentDto, PaymentDtoPaginatedResultDto, PersonDto, PersonDtoIEnumerableInt32ValueTuple, PersonSearchDto, PostApiV1MattersParams, PostApiV1PeopleSearchParams, PostApiV1TipssGreenFormSyncParams, RoleDto, SearchCitationHitDtoPaginatedResultDto, SettlementDto, SettlementDtoPaginatedResultDto, StaffDto, StageDispositionMappingDto, StageDispositionMappingDtoPaginatedResultDto, TipssSyncRequestDto, TipssSyncResponseDto, UpdateFormDefinitionDto, UpdateSelfProfileDto, UpdateUserDto, UserDto, UserDtoCursorPagedResultDto, WrpAssignmentMatterResponseDto, WrpConfigDto, WrpFormDefinitionDto, WrpMetadataDto, WrpSelectOptionDto } from './models';
|
|
18
18
|
/**
|
|
19
19
|
* @summary Get a paginated list of allegation definitions.
|
|
20
20
|
*/
|
|
@@ -898,6 +898,11 @@ Each row represents one matter record; columns map to the properties of each rec
|
|
|
898
898
|
*/
|
|
899
899
|
export declare const getGetApiV1ReportsManagerReportUrl: (params?: GetApiV1ReportsManagerReportParams) => string;
|
|
900
900
|
export declare const getApiV1ReportsManagerReport: (params?: GetApiV1ReportsManagerReportParams, options?: RequestInit) => Promise<void>;
|
|
901
|
+
/**
|
|
902
|
+
* @summary List Auth0 roles available in the tenant.
|
|
903
|
+
*/
|
|
904
|
+
export declare const getGetApiV1RolesUrl: () => string;
|
|
905
|
+
export declare const getApiV1Roles: (options?: RequestInit) => Promise<RoleDto[]>;
|
|
901
906
|
export declare const getPostApiV1SearchMattersUrl: () => string;
|
|
902
907
|
export declare const postApiV1SearchMatters: (matterSearchRequestDto: MatterSearchRequestDto, options?: RequestInit) => Promise<void>;
|
|
903
908
|
export declare const getPostApiV1SearchMattersPageNumberUrl: (pageNumber: number) => string;
|
|
@@ -941,6 +946,80 @@ export declare const postApiV1TipssGreenFormSync: (params?: PostApiV1TipssGreenF
|
|
|
941
946
|
*/
|
|
942
947
|
export declare const getGetApiV1TipssCitationsSearchUrl: (params?: GetApiV1TipssCitationsSearchParams) => string;
|
|
943
948
|
export declare const getApiV1TipssCitationsSearch: (params?: GetApiV1TipssCitationsSearchParams, options?: RequestInit) => Promise<SearchCitationHitDtoPaginatedResultDto>;
|
|
949
|
+
/**
|
|
950
|
+
* Cursor-paginated. Filters: `isBlocked`, `staffId`, and a
|
|
951
|
+
free-text `search` over StaffId / Auth0 sub / Staff name. Email
|
|
952
|
+
and display-name search are delegated to Auth0 and not currently
|
|
953
|
+
part of this filter.
|
|
954
|
+
* @summary List users in the caller's organization.
|
|
955
|
+
*/
|
|
956
|
+
export declare const getGetApiV1UsersUrl: (params?: GetApiV1UsersParams) => string;
|
|
957
|
+
export declare const getApiV1Users: (params?: GetApiV1UsersParams, options?: RequestInit) => Promise<UserDtoCursorPagedResultDto>;
|
|
958
|
+
/**
|
|
959
|
+
* Discriminated by `mode`: `linkExisting` requires a
|
|
960
|
+
`staffId` that already exists in the caller's organization;
|
|
961
|
+
`createNew` requires `staffPayload` and Mackinac generates
|
|
962
|
+
the next sequential 7-digit StaffId. Enforces the Organization's
|
|
963
|
+
`seatCount` metadata. Sends an Auth0 Organization invitation
|
|
964
|
+
when `sendInvitation = true`.
|
|
965
|
+
* @summary Create a user.
|
|
966
|
+
*/
|
|
967
|
+
export declare const getPostApiV1UsersUrl: () => string;
|
|
968
|
+
export declare const postApiV1Users: (createUserDto: CreateUserDto, options?: RequestInit) => Promise<UserDto>;
|
|
969
|
+
/**
|
|
970
|
+
* Detail view includes `roleIds` (fetched from Auth0). On
|
|
971
|
+
transient Auth0 failures the response omits roleIds rather than
|
|
972
|
+
failing the whole request — caller can retry.
|
|
973
|
+
* @summary Get a single user.
|
|
974
|
+
*/
|
|
975
|
+
export declare const getGetApiV1UsersIdUrl: (id: number) => string;
|
|
976
|
+
export declare const getApiV1UsersId: (id: number, options?: RequestInit) => Promise<UserDto>;
|
|
977
|
+
/**
|
|
978
|
+
* Any null body field is left unchanged. `email` and
|
|
979
|
+
`displayName` propagate to Auth0; `staffName` and
|
|
980
|
+
`title` propagate to the linked Staff row. Email change
|
|
981
|
+
re-sets Auth0's email-verified flag to false.
|
|
982
|
+
* @summary Admin: update a user's profile fields.
|
|
983
|
+
*/
|
|
984
|
+
export declare const getPatchApiV1UsersIdUrl: (id: number) => string;
|
|
985
|
+
export declare const patchApiV1UsersId: (id: number, updateUserDto: UpdateUserDto, options?: RequestInit) => Promise<UserDto>;
|
|
986
|
+
/**
|
|
987
|
+
* Visible to all authenticated users (no admin permission required).
|
|
988
|
+
Writes to Auth0; the change takes effect on the user's next session.
|
|
989
|
+
* @summary Self-service: update your own display name.
|
|
990
|
+
*/
|
|
991
|
+
export declare const getPutApiV1UsersMeUrl: () => string;
|
|
992
|
+
export declare const putApiV1UsersMe: (updateSelfProfileDto: UpdateSelfProfileDto, options?: RequestInit) => Promise<void>;
|
|
993
|
+
/**
|
|
994
|
+
* @summary Block a user (Auth0 blocked + Staff inactive).
|
|
995
|
+
*/
|
|
996
|
+
export declare const getPostApiV1UsersIdBlockUrl: (id: number) => string;
|
|
997
|
+
export declare const postApiV1UsersIdBlock: (id: number, options?: RequestInit) => Promise<void>;
|
|
998
|
+
/**
|
|
999
|
+
* @summary Unblock a user (reverse of block).
|
|
1000
|
+
*/
|
|
1001
|
+
export declare const getPostApiV1UsersIdUnblockUrl: (id: number) => string;
|
|
1002
|
+
export declare const postApiV1UsersIdUnblock: (id: number, options?: RequestInit) => Promise<void>;
|
|
1003
|
+
/**
|
|
1004
|
+
* @summary Trigger a password-reset email to the user.
|
|
1005
|
+
*/
|
|
1006
|
+
export declare const getPostApiV1UsersIdPasswordResetUrl: (id: number) => string;
|
|
1007
|
+
export declare const postApiV1UsersIdPasswordReset: (id: number, options?: RequestInit) => Promise<void>;
|
|
1008
|
+
/**
|
|
1009
|
+
* @summary Send (or re-send) an Auth0 Organization invitation.
|
|
1010
|
+
*/
|
|
1011
|
+
export declare const getPostApiV1UsersIdInvitationUrl: (id: number) => string;
|
|
1012
|
+
export declare const postApiV1UsersIdInvitation: (id: number, options?: RequestInit) => Promise<void>;
|
|
1013
|
+
/**
|
|
1014
|
+
* @summary Assign one or more Auth0 roles to a user within the org.
|
|
1015
|
+
*/
|
|
1016
|
+
export declare const getPostApiV1UsersIdRolesUrl: (id: number) => string;
|
|
1017
|
+
export declare const postApiV1UsersIdRoles: (id: number, assignRolesDto: AssignRolesDto, options?: RequestInit) => Promise<void>;
|
|
1018
|
+
/**
|
|
1019
|
+
* @summary Unassign a single Auth0 role from a user within the org.
|
|
1020
|
+
*/
|
|
1021
|
+
export declare const getDeleteApiV1UsersIdRolesRoleIdUrl: (id: number, roleId: string) => string;
|
|
1022
|
+
export declare const deleteApiV1UsersIdRolesRoleId: (id: number, roleId: string, options?: RequestInit) => Promise<void>;
|
|
944
1023
|
/**
|
|
945
1024
|
* @summary Get configuration data for WRP integration
|
|
946
1025
|
*/
|
|
@@ -2500,6 +2500,18 @@ export const getApiV1ReportsManagerReport = async (params, options) => {
|
|
|
2500
2500
|
method: 'GET'
|
|
2501
2501
|
});
|
|
2502
2502
|
};
|
|
2503
|
+
/**
|
|
2504
|
+
* @summary List Auth0 roles available in the tenant.
|
|
2505
|
+
*/
|
|
2506
|
+
export const getGetApiV1RolesUrl = () => {
|
|
2507
|
+
return `/api/v1/roles`;
|
|
2508
|
+
};
|
|
2509
|
+
export const getApiV1Roles = async (options) => {
|
|
2510
|
+
return customFetch(getGetApiV1RolesUrl(), {
|
|
2511
|
+
...options,
|
|
2512
|
+
method: 'GET'
|
|
2513
|
+
});
|
|
2514
|
+
};
|
|
2503
2515
|
export const getPostApiV1SearchMattersUrl = () => {
|
|
2504
2516
|
return `/api/v1/Search/matters`;
|
|
2505
2517
|
};
|
|
@@ -2658,6 +2670,172 @@ export const getApiV1TipssCitationsSearch = async (params, options) => {
|
|
|
2658
2670
|
method: 'GET'
|
|
2659
2671
|
});
|
|
2660
2672
|
};
|
|
2673
|
+
/**
|
|
2674
|
+
* Cursor-paginated. Filters: `isBlocked`, `staffId`, and a
|
|
2675
|
+
free-text `search` over StaffId / Auth0 sub / Staff name. Email
|
|
2676
|
+
and display-name search are delegated to Auth0 and not currently
|
|
2677
|
+
part of this filter.
|
|
2678
|
+
* @summary List users in the caller's organization.
|
|
2679
|
+
*/
|
|
2680
|
+
export const getGetApiV1UsersUrl = (params) => {
|
|
2681
|
+
const normalizedParams = new URLSearchParams();
|
|
2682
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
2683
|
+
if (value !== undefined) {
|
|
2684
|
+
normalizedParams.append(key, value === null ? 'null' : value.toString());
|
|
2685
|
+
}
|
|
2686
|
+
});
|
|
2687
|
+
const stringifiedParams = normalizedParams.toString();
|
|
2688
|
+
return stringifiedParams.length > 0 ? `/api/v1/users?${stringifiedParams}` : `/api/v1/users`;
|
|
2689
|
+
};
|
|
2690
|
+
export const getApiV1Users = async (params, options) => {
|
|
2691
|
+
return customFetch(getGetApiV1UsersUrl(params), {
|
|
2692
|
+
...options,
|
|
2693
|
+
method: 'GET'
|
|
2694
|
+
});
|
|
2695
|
+
};
|
|
2696
|
+
/**
|
|
2697
|
+
* Discriminated by `mode`: `linkExisting` requires a
|
|
2698
|
+
`staffId` that already exists in the caller's organization;
|
|
2699
|
+
`createNew` requires `staffPayload` and Mackinac generates
|
|
2700
|
+
the next sequential 7-digit StaffId. Enforces the Organization's
|
|
2701
|
+
`seatCount` metadata. Sends an Auth0 Organization invitation
|
|
2702
|
+
when `sendInvitation = true`.
|
|
2703
|
+
* @summary Create a user.
|
|
2704
|
+
*/
|
|
2705
|
+
export const getPostApiV1UsersUrl = () => {
|
|
2706
|
+
return `/api/v1/users`;
|
|
2707
|
+
};
|
|
2708
|
+
export const postApiV1Users = async (createUserDto, options) => {
|
|
2709
|
+
return customFetch(getPostApiV1UsersUrl(), {
|
|
2710
|
+
...options,
|
|
2711
|
+
method: 'POST',
|
|
2712
|
+
headers: { 'Content-Type': 'application/json-patch+json', ...options?.headers },
|
|
2713
|
+
body: JSON.stringify(createUserDto)
|
|
2714
|
+
});
|
|
2715
|
+
};
|
|
2716
|
+
/**
|
|
2717
|
+
* Detail view includes `roleIds` (fetched from Auth0). On
|
|
2718
|
+
transient Auth0 failures the response omits roleIds rather than
|
|
2719
|
+
failing the whole request — caller can retry.
|
|
2720
|
+
* @summary Get a single user.
|
|
2721
|
+
*/
|
|
2722
|
+
export const getGetApiV1UsersIdUrl = (id) => {
|
|
2723
|
+
return `/api/v1/users/${id}`;
|
|
2724
|
+
};
|
|
2725
|
+
export const getApiV1UsersId = async (id, options) => {
|
|
2726
|
+
return customFetch(getGetApiV1UsersIdUrl(id), {
|
|
2727
|
+
...options,
|
|
2728
|
+
method: 'GET'
|
|
2729
|
+
});
|
|
2730
|
+
};
|
|
2731
|
+
/**
|
|
2732
|
+
* Any null body field is left unchanged. `email` and
|
|
2733
|
+
`displayName` propagate to Auth0; `staffName` and
|
|
2734
|
+
`title` propagate to the linked Staff row. Email change
|
|
2735
|
+
re-sets Auth0's email-verified flag to false.
|
|
2736
|
+
* @summary Admin: update a user's profile fields.
|
|
2737
|
+
*/
|
|
2738
|
+
export const getPatchApiV1UsersIdUrl = (id) => {
|
|
2739
|
+
return `/api/v1/users/${id}`;
|
|
2740
|
+
};
|
|
2741
|
+
export const patchApiV1UsersId = async (id, updateUserDto, options) => {
|
|
2742
|
+
return customFetch(getPatchApiV1UsersIdUrl(id), {
|
|
2743
|
+
...options,
|
|
2744
|
+
method: 'PATCH',
|
|
2745
|
+
headers: { 'Content-Type': 'application/json-patch+json', ...options?.headers },
|
|
2746
|
+
body: JSON.stringify(updateUserDto)
|
|
2747
|
+
});
|
|
2748
|
+
};
|
|
2749
|
+
/**
|
|
2750
|
+
* Visible to all authenticated users (no admin permission required).
|
|
2751
|
+
Writes to Auth0; the change takes effect on the user's next session.
|
|
2752
|
+
* @summary Self-service: update your own display name.
|
|
2753
|
+
*/
|
|
2754
|
+
export const getPutApiV1UsersMeUrl = () => {
|
|
2755
|
+
return `/api/v1/users/me`;
|
|
2756
|
+
};
|
|
2757
|
+
export const putApiV1UsersMe = async (updateSelfProfileDto, options) => {
|
|
2758
|
+
return customFetch(getPutApiV1UsersMeUrl(), {
|
|
2759
|
+
...options,
|
|
2760
|
+
method: 'PUT',
|
|
2761
|
+
headers: { 'Content-Type': 'application/json-patch+json', ...options?.headers },
|
|
2762
|
+
body: JSON.stringify(updateSelfProfileDto)
|
|
2763
|
+
});
|
|
2764
|
+
};
|
|
2765
|
+
/**
|
|
2766
|
+
* @summary Block a user (Auth0 blocked + Staff inactive).
|
|
2767
|
+
*/
|
|
2768
|
+
export const getPostApiV1UsersIdBlockUrl = (id) => {
|
|
2769
|
+
return `/api/v1/users/${id}/block`;
|
|
2770
|
+
};
|
|
2771
|
+
export const postApiV1UsersIdBlock = async (id, options) => {
|
|
2772
|
+
return customFetch(getPostApiV1UsersIdBlockUrl(id), {
|
|
2773
|
+
...options,
|
|
2774
|
+
method: 'POST'
|
|
2775
|
+
});
|
|
2776
|
+
};
|
|
2777
|
+
/**
|
|
2778
|
+
* @summary Unblock a user (reverse of block).
|
|
2779
|
+
*/
|
|
2780
|
+
export const getPostApiV1UsersIdUnblockUrl = (id) => {
|
|
2781
|
+
return `/api/v1/users/${id}/unblock`;
|
|
2782
|
+
};
|
|
2783
|
+
export const postApiV1UsersIdUnblock = async (id, options) => {
|
|
2784
|
+
return customFetch(getPostApiV1UsersIdUnblockUrl(id), {
|
|
2785
|
+
...options,
|
|
2786
|
+
method: 'POST'
|
|
2787
|
+
});
|
|
2788
|
+
};
|
|
2789
|
+
/**
|
|
2790
|
+
* @summary Trigger a password-reset email to the user.
|
|
2791
|
+
*/
|
|
2792
|
+
export const getPostApiV1UsersIdPasswordResetUrl = (id) => {
|
|
2793
|
+
return `/api/v1/users/${id}/password-reset`;
|
|
2794
|
+
};
|
|
2795
|
+
export const postApiV1UsersIdPasswordReset = async (id, options) => {
|
|
2796
|
+
return customFetch(getPostApiV1UsersIdPasswordResetUrl(id), {
|
|
2797
|
+
...options,
|
|
2798
|
+
method: 'POST'
|
|
2799
|
+
});
|
|
2800
|
+
};
|
|
2801
|
+
/**
|
|
2802
|
+
* @summary Send (or re-send) an Auth0 Organization invitation.
|
|
2803
|
+
*/
|
|
2804
|
+
export const getPostApiV1UsersIdInvitationUrl = (id) => {
|
|
2805
|
+
return `/api/v1/users/${id}/invitation`;
|
|
2806
|
+
};
|
|
2807
|
+
export const postApiV1UsersIdInvitation = async (id, options) => {
|
|
2808
|
+
return customFetch(getPostApiV1UsersIdInvitationUrl(id), {
|
|
2809
|
+
...options,
|
|
2810
|
+
method: 'POST'
|
|
2811
|
+
});
|
|
2812
|
+
};
|
|
2813
|
+
/**
|
|
2814
|
+
* @summary Assign one or more Auth0 roles to a user within the org.
|
|
2815
|
+
*/
|
|
2816
|
+
export const getPostApiV1UsersIdRolesUrl = (id) => {
|
|
2817
|
+
return `/api/v1/users/${id}/roles`;
|
|
2818
|
+
};
|
|
2819
|
+
export const postApiV1UsersIdRoles = async (id, assignRolesDto, options) => {
|
|
2820
|
+
return customFetch(getPostApiV1UsersIdRolesUrl(id), {
|
|
2821
|
+
...options,
|
|
2822
|
+
method: 'POST',
|
|
2823
|
+
headers: { 'Content-Type': 'application/json-patch+json', ...options?.headers },
|
|
2824
|
+
body: JSON.stringify(assignRolesDto)
|
|
2825
|
+
});
|
|
2826
|
+
};
|
|
2827
|
+
/**
|
|
2828
|
+
* @summary Unassign a single Auth0 role from a user within the org.
|
|
2829
|
+
*/
|
|
2830
|
+
export const getDeleteApiV1UsersIdRolesRoleIdUrl = (id, roleId) => {
|
|
2831
|
+
return `/api/v1/users/${id}/roles/${roleId}`;
|
|
2832
|
+
};
|
|
2833
|
+
export const deleteApiV1UsersIdRolesRoleId = async (id, roleId, options) => {
|
|
2834
|
+
return customFetch(getDeleteApiV1UsersIdRolesRoleIdUrl(id, roleId), {
|
|
2835
|
+
...options,
|
|
2836
|
+
method: 'DELETE'
|
|
2837
|
+
});
|
|
2838
|
+
};
|
|
2661
2839
|
/**
|
|
2662
2840
|
* @summary Get configuration data for WRP integration
|
|
2663
2841
|
*/
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v7.17.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Mackinac API
|
|
5
|
+
* Mackinac API - feature parity with Golden Gate.
|
|
6
|
+
|
|
7
|
+
**Custom Forms conventions**
|
|
8
|
+
|
|
9
|
+
- UUIDs are lowercase hyphenated strings.
|
|
10
|
+
- Pagination is cursor-based: `?cursor={id}&limit={n}` (default 50, max 200).
|
|
11
|
+
- Timestamps are ISO 8601 with offset.
|
|
12
|
+
- Errors follow RFC 9457 `application/problem+json`.
|
|
13
|
+
- Mutations to a form or any of its children (fields, elements, actions, rules) increment `FormDefinition.Version` and update `UpdatedAt`.
|
|
14
|
+
- The Custom Forms model is product-agnostic: the consuming product owns auth, identity resolution, and AV scanning of uploaded files. Mackinac validates the identity contract and persists/executes submissions.
|
|
15
|
+
* OpenAPI spec version: v1
|
|
16
|
+
*/
|
|
17
|
+
/**
|
|
18
|
+
* Body for POST /api/v1/users/{id}/roles. Assignment is org-scoped; Mackinac
|
|
19
|
+
calls Auth0 `create:organization_member_roles`.
|
|
20
|
+
*/
|
|
21
|
+
export interface AssignRolesDto {
|
|
22
|
+
/** @minItems 1 */
|
|
23
|
+
roleIds: string[];
|
|
24
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v7.17.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Mackinac API
|
|
5
|
+
* Mackinac API - feature parity with Golden Gate.
|
|
6
|
+
|
|
7
|
+
**Custom Forms conventions**
|
|
8
|
+
|
|
9
|
+
- UUIDs are lowercase hyphenated strings.
|
|
10
|
+
- Pagination is cursor-based: `?cursor={id}&limit={n}` (default 50, max 200).
|
|
11
|
+
- Timestamps are ISO 8601 with offset.
|
|
12
|
+
- Errors follow RFC 9457 `application/problem+json`.
|
|
13
|
+
- Mutations to a form or any of its children (fields, elements, actions, rules) increment `FormDefinition.Version` and update `UpdatedAt`.
|
|
14
|
+
- The Custom Forms model is product-agnostic: the consuming product owns auth, identity resolution, and AV scanning of uploaded files. Mackinac validates the identity contract and persists/executes submissions.
|
|
15
|
+
* OpenAPI spec version: v1
|
|
16
|
+
*/
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v7.17.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Mackinac API
|
|
5
|
+
* Mackinac API - feature parity with Golden Gate.
|
|
6
|
+
|
|
7
|
+
**Custom Forms conventions**
|
|
8
|
+
|
|
9
|
+
- UUIDs are lowercase hyphenated strings.
|
|
10
|
+
- Pagination is cursor-based: `?cursor={id}&limit={n}` (default 50, max 200).
|
|
11
|
+
- Timestamps are ISO 8601 with offset.
|
|
12
|
+
- Errors follow RFC 9457 `application/problem+json`.
|
|
13
|
+
- Mutations to a form or any of its children (fields, elements, actions, rules) increment `FormDefinition.Version` and update `UpdatedAt`.
|
|
14
|
+
- The Custom Forms model is product-agnostic: the consuming product owns auth, identity resolution, and AV scanning of uploaded files. Mackinac validates the identity contract and persists/executes submissions.
|
|
15
|
+
* OpenAPI spec version: v1
|
|
16
|
+
*/
|
|
17
|
+
/**
|
|
18
|
+
* Minimum-required Staff fields when creating a brand-new Staff inline with
|
|
19
|
+
a User. StaffId is not on this payload — Mackinac generates it.
|
|
20
|
+
*/
|
|
21
|
+
export interface CreateStaffPayloadDto {
|
|
22
|
+
/**
|
|
23
|
+
* @minLength 0
|
|
24
|
+
* @maxLength 60
|
|
25
|
+
*/
|
|
26
|
+
name: string;
|
|
27
|
+
/**
|
|
28
|
+
* @minLength 0
|
|
29
|
+
* @maxLength 60
|
|
30
|
+
* @nullable
|
|
31
|
+
*/
|
|
32
|
+
title?: string | null;
|
|
33
|
+
/**
|
|
34
|
+
* @minLength 0
|
|
35
|
+
* @maxLength 2
|
|
36
|
+
* @nullable
|
|
37
|
+
*/
|
|
38
|
+
userType?: string | null;
|
|
39
|
+
/**
|
|
40
|
+
* @minLength 0
|
|
41
|
+
* @maxLength 1
|
|
42
|
+
* @nullable
|
|
43
|
+
*/
|
|
44
|
+
systemType?: string | null;
|
|
45
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v7.17.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Mackinac API
|
|
5
|
+
* Mackinac API - feature parity with Golden Gate.
|
|
6
|
+
|
|
7
|
+
**Custom Forms conventions**
|
|
8
|
+
|
|
9
|
+
- UUIDs are lowercase hyphenated strings.
|
|
10
|
+
- Pagination is cursor-based: `?cursor={id}&limit={n}` (default 50, max 200).
|
|
11
|
+
- Timestamps are ISO 8601 with offset.
|
|
12
|
+
- Errors follow RFC 9457 `application/problem+json`.
|
|
13
|
+
- Mutations to a form or any of its children (fields, elements, actions, rules) increment `FormDefinition.Version` and update `UpdatedAt`.
|
|
14
|
+
- The Custom Forms model is product-agnostic: the consuming product owns auth, identity resolution, and AV scanning of uploaded files. Mackinac validates the identity contract and persists/executes submissions.
|
|
15
|
+
* OpenAPI spec version: v1
|
|
16
|
+
*/
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v7.17.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Mackinac API
|
|
5
|
+
* Mackinac API - feature parity with Golden Gate.
|
|
6
|
+
|
|
7
|
+
**Custom Forms conventions**
|
|
8
|
+
|
|
9
|
+
- UUIDs are lowercase hyphenated strings.
|
|
10
|
+
- Pagination is cursor-based: `?cursor={id}&limit={n}` (default 50, max 200).
|
|
11
|
+
- Timestamps are ISO 8601 with offset.
|
|
12
|
+
- Errors follow RFC 9457 `application/problem+json`.
|
|
13
|
+
- Mutations to a form or any of its children (fields, elements, actions, rules) increment `FormDefinition.Version` and update `UpdatedAt`.
|
|
14
|
+
- The Custom Forms model is product-agnostic: the consuming product owns auth, identity resolution, and AV scanning of uploaded files. Mackinac validates the identity contract and persists/executes submissions.
|
|
15
|
+
* OpenAPI spec version: v1
|
|
16
|
+
*/
|
|
17
|
+
import type { CreateUserDtoMode } from './createUserDtoMode';
|
|
18
|
+
import type { CreateStaffPayloadDto } from './createStaffPayloadDto';
|
|
19
|
+
/**
|
|
20
|
+
* Discriminated by `mode`:
|
|
21
|
+
<list type="bullet"><item>`linkExisting` — requires `staffId` to match an existing Staff row in the caller's organization.</item><item>`createNew` — requires `staffPayload`; Mackinac creates the Staff row and generates a sequential 7-digit StaffId.</item></list>
|
|
22
|
+
Mode-specific validation is enforced in the service layer.
|
|
23
|
+
*/
|
|
24
|
+
export interface CreateUserDto {
|
|
25
|
+
/** @minLength 1 */
|
|
26
|
+
mode: CreateUserDtoMode;
|
|
27
|
+
/**
|
|
28
|
+
* @minLength 0
|
|
29
|
+
* @maxLength 7
|
|
30
|
+
* @nullable
|
|
31
|
+
*/
|
|
32
|
+
staffId?: string | null;
|
|
33
|
+
staffPayload?: CreateStaffPayloadDto;
|
|
34
|
+
/**
|
|
35
|
+
* @minLength 0
|
|
36
|
+
* @maxLength 60
|
|
37
|
+
*/
|
|
38
|
+
email: string;
|
|
39
|
+
/**
|
|
40
|
+
* @minLength 0
|
|
41
|
+
* @maxLength 60
|
|
42
|
+
*/
|
|
43
|
+
displayName: string;
|
|
44
|
+
/** @nullable */
|
|
45
|
+
roleIds?: string[] | null;
|
|
46
|
+
sendInvitation?: boolean;
|
|
47
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v7.17.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Mackinac API
|
|
5
|
+
* Mackinac API - feature parity with Golden Gate.
|
|
6
|
+
|
|
7
|
+
**Custom Forms conventions**
|
|
8
|
+
|
|
9
|
+
- UUIDs are lowercase hyphenated strings.
|
|
10
|
+
- Pagination is cursor-based: `?cursor={id}&limit={n}` (default 50, max 200).
|
|
11
|
+
- Timestamps are ISO 8601 with offset.
|
|
12
|
+
- Errors follow RFC 9457 `application/problem+json`.
|
|
13
|
+
- Mutations to a form or any of its children (fields, elements, actions, rules) increment `FormDefinition.Version` and update `UpdatedAt`.
|
|
14
|
+
- The Custom Forms model is product-agnostic: the consuming product owns auth, identity resolution, and AV scanning of uploaded files. Mackinac validates the identity contract and persists/executes submissions.
|
|
15
|
+
* OpenAPI spec version: v1
|
|
16
|
+
*/
|
|
17
|
+
/**
|
|
18
|
+
* @minLength 1
|
|
19
|
+
*/
|
|
20
|
+
export type CreateUserDtoMode = typeof CreateUserDtoMode[keyof typeof CreateUserDtoMode];
|
|
21
|
+
export declare const CreateUserDtoMode: {
|
|
22
|
+
readonly linkExisting: "linkExisting";
|
|
23
|
+
readonly createNew: "createNew";
|
|
24
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v7.17.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Mackinac API
|
|
5
|
+
* Mackinac API - feature parity with Golden Gate.
|
|
6
|
+
|
|
7
|
+
**Custom Forms conventions**
|
|
8
|
+
|
|
9
|
+
- UUIDs are lowercase hyphenated strings.
|
|
10
|
+
- Pagination is cursor-based: `?cursor={id}&limit={n}` (default 50, max 200).
|
|
11
|
+
- Timestamps are ISO 8601 with offset.
|
|
12
|
+
- Errors follow RFC 9457 `application/problem+json`.
|
|
13
|
+
- Mutations to a form or any of its children (fields, elements, actions, rules) increment `FormDefinition.Version` and update `UpdatedAt`.
|
|
14
|
+
- The Custom Forms model is product-agnostic: the consuming product owns auth, identity resolution, and AV scanning of uploaded files. Mackinac validates the identity contract and persists/executes submissions.
|
|
15
|
+
* OpenAPI spec version: v1
|
|
16
|
+
*/
|
|
17
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
18
|
+
export const CreateUserDtoMode = {
|
|
19
|
+
linkExisting: 'linkExisting',
|
|
20
|
+
createNew: 'createNew',
|
|
21
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v7.17.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Mackinac API
|
|
5
|
+
* Mackinac API - feature parity with Golden Gate.
|
|
6
|
+
|
|
7
|
+
**Custom Forms conventions**
|
|
8
|
+
|
|
9
|
+
- UUIDs are lowercase hyphenated strings.
|
|
10
|
+
- Pagination is cursor-based: `?cursor={id}&limit={n}` (default 50, max 200).
|
|
11
|
+
- Timestamps are ISO 8601 with offset.
|
|
12
|
+
- Errors follow RFC 9457 `application/problem+json`.
|
|
13
|
+
- Mutations to a form or any of its children (fields, elements, actions, rules) increment `FormDefinition.Version` and update `UpdatedAt`.
|
|
14
|
+
- The Custom Forms model is product-agnostic: the consuming product owns auth, identity resolution, and AV scanning of uploaded files. Mackinac validates the identity contract and persists/executes submissions.
|
|
15
|
+
* OpenAPI spec version: v1
|
|
16
|
+
*/
|
|
17
|
+
export type GetApiV1UsersParams = {
|
|
18
|
+
search?: string;
|
|
19
|
+
isBlocked?: boolean;
|
|
20
|
+
staffId?: string;
|
|
21
|
+
cursor?: number;
|
|
22
|
+
limit?: number;
|
|
23
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v7.17.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Mackinac API
|
|
5
|
+
* Mackinac API - feature parity with Golden Gate.
|
|
6
|
+
|
|
7
|
+
**Custom Forms conventions**
|
|
8
|
+
|
|
9
|
+
- UUIDs are lowercase hyphenated strings.
|
|
10
|
+
- Pagination is cursor-based: `?cursor={id}&limit={n}` (default 50, max 200).
|
|
11
|
+
- Timestamps are ISO 8601 with offset.
|
|
12
|
+
- Errors follow RFC 9457 `application/problem+json`.
|
|
13
|
+
- Mutations to a form or any of its children (fields, elements, actions, rules) increment `FormDefinition.Version` and update `UpdatedAt`.
|
|
14
|
+
- The Custom Forms model is product-agnostic: the consuming product owns auth, identity resolution, and AV scanning of uploaded files. Mackinac validates the identity contract and persists/executes submissions.
|
|
15
|
+
* OpenAPI spec version: v1
|
|
16
|
+
*/
|
|
17
|
+
export {};
|
|
@@ -33,6 +33,7 @@ export * from './allegationStageDtoPaginatedResultDto';
|
|
|
33
33
|
export * from './allegationSubCodeDto';
|
|
34
34
|
export * from './allegationSubCodeDtoPaginatedResultDto';
|
|
35
35
|
export * from './assembly';
|
|
36
|
+
export * from './assignRolesDto';
|
|
36
37
|
export * from './bulkMatterAllegationStageRowDto';
|
|
37
38
|
export * from './bulkMatterAllegationStageRowDtoPaginatedResultDto';
|
|
38
39
|
export * from './callingConventions';
|
|
@@ -66,6 +67,7 @@ export * from './createMatterDto';
|
|
|
66
67
|
export * from './createMatterFormLayoutDto';
|
|
67
68
|
export * from './createPaymentDto';
|
|
68
69
|
export * from './createSettlementDto';
|
|
70
|
+
export * from './createStaffPayloadDto';
|
|
69
71
|
export * from './createStageDispositionMappingDto';
|
|
70
72
|
export * from './createUpdateFieldDefinitionDto';
|
|
71
73
|
export * from './createUpdateFieldDefinitionDtoInputType';
|
|
@@ -80,6 +82,8 @@ export * from './createUpdateFormFieldRuleDtoTargetType';
|
|
|
80
82
|
export * from './createUpdateFormSubmissionActionDto';
|
|
81
83
|
export * from './createUpdateFormSubmissionActionDtoAction';
|
|
82
84
|
export * from './createUpdateFormSubmissionActionDtoEmailBody';
|
|
85
|
+
export * from './createUserDto';
|
|
86
|
+
export * from './createUserDtoMode';
|
|
83
87
|
export * from './createWrpAssignmentMatterDto';
|
|
84
88
|
export * from './ctyLawDto';
|
|
85
89
|
export * from './customAttributeData';
|
|
@@ -166,6 +170,7 @@ export * from './getApiV1ReportsManagerReportParams';
|
|
|
166
170
|
export * from './getApiV1StaffParams';
|
|
167
171
|
export * from './getApiV1SystemManagementAppSettingsParams';
|
|
168
172
|
export * from './getApiV1TipssCitationsSearchParams';
|
|
173
|
+
export * from './getApiV1UsersParams';
|
|
169
174
|
export * from './getApiV2MattersFieldsMetadataParams';
|
|
170
175
|
export * from './iCustomAttributeProvider';
|
|
171
176
|
export * from './iSelectableItem';
|
|
@@ -238,6 +243,7 @@ export * from './postApiV1TipssGreenFormSyncParams';
|
|
|
238
243
|
export * from './problemDetails';
|
|
239
244
|
export * from './propertyAttributes';
|
|
240
245
|
export * from './propertyInfo';
|
|
246
|
+
export * from './roleDto';
|
|
241
247
|
export * from './runtimeFieldHandle';
|
|
242
248
|
export * from './runtimeMethodHandle';
|
|
243
249
|
export * from './runtimeTypeHandle';
|
|
@@ -260,6 +266,10 @@ export * from './typeAttributes';
|
|
|
260
266
|
export * from './typeInfo';
|
|
261
267
|
export * from './updateFormDefinitionDto';
|
|
262
268
|
export * from './updateFormDefinitionDtoSubmitterIdentity';
|
|
269
|
+
export * from './updateSelfProfileDto';
|
|
270
|
+
export * from './updateUserDto';
|
|
271
|
+
export * from './userDto';
|
|
272
|
+
export * from './userDtoCursorPagedResultDto';
|
|
263
273
|
export * from './validationProblemDetails';
|
|
264
274
|
export * from './validationProblemDetailsErrors';
|
|
265
275
|
export * from './wrpAssignmentMatterResponseDto';
|
|
@@ -33,6 +33,7 @@ export * from './allegationStageDtoPaginatedResultDto';
|
|
|
33
33
|
export * from './allegationSubCodeDto';
|
|
34
34
|
export * from './allegationSubCodeDtoPaginatedResultDto';
|
|
35
35
|
export * from './assembly';
|
|
36
|
+
export * from './assignRolesDto';
|
|
36
37
|
export * from './bulkMatterAllegationStageRowDto';
|
|
37
38
|
export * from './bulkMatterAllegationStageRowDtoPaginatedResultDto';
|
|
38
39
|
export * from './callingConventions';
|
|
@@ -66,6 +67,7 @@ export * from './createMatterDto';
|
|
|
66
67
|
export * from './createMatterFormLayoutDto';
|
|
67
68
|
export * from './createPaymentDto';
|
|
68
69
|
export * from './createSettlementDto';
|
|
70
|
+
export * from './createStaffPayloadDto';
|
|
69
71
|
export * from './createStageDispositionMappingDto';
|
|
70
72
|
export * from './createUpdateFieldDefinitionDto';
|
|
71
73
|
export * from './createUpdateFieldDefinitionDtoInputType';
|
|
@@ -80,6 +82,8 @@ export * from './createUpdateFormFieldRuleDtoTargetType';
|
|
|
80
82
|
export * from './createUpdateFormSubmissionActionDto';
|
|
81
83
|
export * from './createUpdateFormSubmissionActionDtoAction';
|
|
82
84
|
export * from './createUpdateFormSubmissionActionDtoEmailBody';
|
|
85
|
+
export * from './createUserDto';
|
|
86
|
+
export * from './createUserDtoMode';
|
|
83
87
|
export * from './createWrpAssignmentMatterDto';
|
|
84
88
|
export * from './ctyLawDto';
|
|
85
89
|
export * from './customAttributeData';
|
|
@@ -166,6 +170,7 @@ export * from './getApiV1ReportsManagerReportParams';
|
|
|
166
170
|
export * from './getApiV1StaffParams';
|
|
167
171
|
export * from './getApiV1SystemManagementAppSettingsParams';
|
|
168
172
|
export * from './getApiV1TipssCitationsSearchParams';
|
|
173
|
+
export * from './getApiV1UsersParams';
|
|
169
174
|
export * from './getApiV2MattersFieldsMetadataParams';
|
|
170
175
|
export * from './iCustomAttributeProvider';
|
|
171
176
|
export * from './iSelectableItem';
|
|
@@ -238,6 +243,7 @@ export * from './postApiV1TipssGreenFormSyncParams';
|
|
|
238
243
|
export * from './problemDetails';
|
|
239
244
|
export * from './propertyAttributes';
|
|
240
245
|
export * from './propertyInfo';
|
|
246
|
+
export * from './roleDto';
|
|
241
247
|
export * from './runtimeFieldHandle';
|
|
242
248
|
export * from './runtimeMethodHandle';
|
|
243
249
|
export * from './runtimeTypeHandle';
|
|
@@ -260,6 +266,10 @@ export * from './typeAttributes';
|
|
|
260
266
|
export * from './typeInfo';
|
|
261
267
|
export * from './updateFormDefinitionDto';
|
|
262
268
|
export * from './updateFormDefinitionDtoSubmitterIdentity';
|
|
269
|
+
export * from './updateSelfProfileDto';
|
|
270
|
+
export * from './updateUserDto';
|
|
271
|
+
export * from './userDto';
|
|
272
|
+
export * from './userDtoCursorPagedResultDto';
|
|
263
273
|
export * from './validationProblemDetails';
|
|
264
274
|
export * from './validationProblemDetailsErrors';
|
|
265
275
|
export * from './wrpAssignmentMatterResponseDto';
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v7.17.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Mackinac API
|
|
5
|
+
* Mackinac API - feature parity with Golden Gate.
|
|
6
|
+
|
|
7
|
+
**Custom Forms conventions**
|
|
8
|
+
|
|
9
|
+
- UUIDs are lowercase hyphenated strings.
|
|
10
|
+
- Pagination is cursor-based: `?cursor={id}&limit={n}` (default 50, max 200).
|
|
11
|
+
- Timestamps are ISO 8601 with offset.
|
|
12
|
+
- Errors follow RFC 9457 `application/problem+json`.
|
|
13
|
+
- Mutations to a form or any of its children (fields, elements, actions, rules) increment `FormDefinition.Version` and update `UpdatedAt`.
|
|
14
|
+
- The Custom Forms model is product-agnostic: the consuming product owns auth, identity resolution, and AV scanning of uploaded files. Mackinac validates the identity contract and persists/executes submissions.
|
|
15
|
+
* OpenAPI spec version: v1
|
|
16
|
+
*/
|
|
17
|
+
/**
|
|
18
|
+
* An Auth0 role (tenant-level definition). Roles are statically defined in
|
|
19
|
+
the Auth0 dashboard per the RBAC v1 spec; Mackinac surfaces them so CLNG
|
|
20
|
+
can render an assignment picker.
|
|
21
|
+
*/
|
|
22
|
+
export interface RoleDto {
|
|
23
|
+
/** @nullable */
|
|
24
|
+
id?: string | null;
|
|
25
|
+
/** @nullable */
|
|
26
|
+
name?: string | null;
|
|
27
|
+
/** @nullable */
|
|
28
|
+
description?: string | null;
|
|
29
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v7.17.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Mackinac API
|
|
5
|
+
* Mackinac API - feature parity with Golden Gate.
|
|
6
|
+
|
|
7
|
+
**Custom Forms conventions**
|
|
8
|
+
|
|
9
|
+
- UUIDs are lowercase hyphenated strings.
|
|
10
|
+
- Pagination is cursor-based: `?cursor={id}&limit={n}` (default 50, max 200).
|
|
11
|
+
- Timestamps are ISO 8601 with offset.
|
|
12
|
+
- Errors follow RFC 9457 `application/problem+json`.
|
|
13
|
+
- Mutations to a form or any of its children (fields, elements, actions, rules) increment `FormDefinition.Version` and update `UpdatedAt`.
|
|
14
|
+
- The Custom Forms model is product-agnostic: the consuming product owns auth, identity resolution, and AV scanning of uploaded files. Mackinac validates the identity contract and persists/executes submissions.
|
|
15
|
+
* OpenAPI spec version: v1
|
|
16
|
+
*/
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v7.17.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Mackinac API
|
|
5
|
+
* Mackinac API - feature parity with Golden Gate.
|
|
6
|
+
|
|
7
|
+
**Custom Forms conventions**
|
|
8
|
+
|
|
9
|
+
- UUIDs are lowercase hyphenated strings.
|
|
10
|
+
- Pagination is cursor-based: `?cursor={id}&limit={n}` (default 50, max 200).
|
|
11
|
+
- Timestamps are ISO 8601 with offset.
|
|
12
|
+
- Errors follow RFC 9457 `application/problem+json`.
|
|
13
|
+
- Mutations to a form or any of its children (fields, elements, actions, rules) increment `FormDefinition.Version` and update `UpdatedAt`.
|
|
14
|
+
- The Custom Forms model is product-agnostic: the consuming product owns auth, identity resolution, and AV scanning of uploaded files. Mackinac validates the identity contract and persists/executes submissions.
|
|
15
|
+
* OpenAPI spec version: v1
|
|
16
|
+
*/
|
|
17
|
+
/**
|
|
18
|
+
* Self-service profile edit (PUT /api/v1/users/me). Visible to all
|
|
19
|
+
authenticated users, no admin permission required.
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdateSelfProfileDto {
|
|
22
|
+
/**
|
|
23
|
+
* @minLength 0
|
|
24
|
+
* @maxLength 60
|
|
25
|
+
*/
|
|
26
|
+
displayName: string;
|
|
27
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v7.17.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Mackinac API
|
|
5
|
+
* Mackinac API - feature parity with Golden Gate.
|
|
6
|
+
|
|
7
|
+
**Custom Forms conventions**
|
|
8
|
+
|
|
9
|
+
- UUIDs are lowercase hyphenated strings.
|
|
10
|
+
- Pagination is cursor-based: `?cursor={id}&limit={n}` (default 50, max 200).
|
|
11
|
+
- Timestamps are ISO 8601 with offset.
|
|
12
|
+
- Errors follow RFC 9457 `application/problem+json`.
|
|
13
|
+
- Mutations to a form or any of its children (fields, elements, actions, rules) increment `FormDefinition.Version` and update `UpdatedAt`.
|
|
14
|
+
- The Custom Forms model is product-agnostic: the consuming product owns auth, identity resolution, and AV scanning of uploaded files. Mackinac validates the identity contract and persists/executes submissions.
|
|
15
|
+
* OpenAPI spec version: v1
|
|
16
|
+
*/
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v7.17.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Mackinac API
|
|
5
|
+
* Mackinac API - feature parity with Golden Gate.
|
|
6
|
+
|
|
7
|
+
**Custom Forms conventions**
|
|
8
|
+
|
|
9
|
+
- UUIDs are lowercase hyphenated strings.
|
|
10
|
+
- Pagination is cursor-based: `?cursor={id}&limit={n}` (default 50, max 200).
|
|
11
|
+
- Timestamps are ISO 8601 with offset.
|
|
12
|
+
- Errors follow RFC 9457 `application/problem+json`.
|
|
13
|
+
- Mutations to a form or any of its children (fields, elements, actions, rules) increment `FormDefinition.Version` and update `UpdatedAt`.
|
|
14
|
+
- The Custom Forms model is product-agnostic: the consuming product owns auth, identity resolution, and AV scanning of uploaded files. Mackinac validates the identity contract and persists/executes submissions.
|
|
15
|
+
* OpenAPI spec version: v1
|
|
16
|
+
*/
|
|
17
|
+
/**
|
|
18
|
+
* Admin profile edit. Any field left null is left unchanged. Email and
|
|
19
|
+
displayName propagate to Auth0; staff fields propagate to the Staff row.
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdateUserDto {
|
|
22
|
+
/**
|
|
23
|
+
* @minLength 0
|
|
24
|
+
* @maxLength 60
|
|
25
|
+
* @nullable
|
|
26
|
+
*/
|
|
27
|
+
email?: string | null;
|
|
28
|
+
/**
|
|
29
|
+
* @minLength 0
|
|
30
|
+
* @maxLength 60
|
|
31
|
+
* @nullable
|
|
32
|
+
*/
|
|
33
|
+
displayName?: string | null;
|
|
34
|
+
/**
|
|
35
|
+
* @minLength 0
|
|
36
|
+
* @maxLength 60
|
|
37
|
+
* @nullable
|
|
38
|
+
*/
|
|
39
|
+
staffName?: string | null;
|
|
40
|
+
/**
|
|
41
|
+
* @minLength 0
|
|
42
|
+
* @maxLength 60
|
|
43
|
+
* @nullable
|
|
44
|
+
*/
|
|
45
|
+
title?: string | null;
|
|
46
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v7.17.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Mackinac API
|
|
5
|
+
* Mackinac API - feature parity with Golden Gate.
|
|
6
|
+
|
|
7
|
+
**Custom Forms conventions**
|
|
8
|
+
|
|
9
|
+
- UUIDs are lowercase hyphenated strings.
|
|
10
|
+
- Pagination is cursor-based: `?cursor={id}&limit={n}` (default 50, max 200).
|
|
11
|
+
- Timestamps are ISO 8601 with offset.
|
|
12
|
+
- Errors follow RFC 9457 `application/problem+json`.
|
|
13
|
+
- Mutations to a form or any of its children (fields, elements, actions, rules) increment `FormDefinition.Version` and update `UpdatedAt`.
|
|
14
|
+
- The Custom Forms model is product-agnostic: the consuming product owns auth, identity resolution, and AV scanning of uploaded files. Mackinac validates the identity contract and persists/executes submissions.
|
|
15
|
+
* OpenAPI spec version: v1
|
|
16
|
+
*/
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v7.17.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Mackinac API
|
|
5
|
+
* Mackinac API - feature parity with Golden Gate.
|
|
6
|
+
|
|
7
|
+
**Custom Forms conventions**
|
|
8
|
+
|
|
9
|
+
- UUIDs are lowercase hyphenated strings.
|
|
10
|
+
- Pagination is cursor-based: `?cursor={id}&limit={n}` (default 50, max 200).
|
|
11
|
+
- Timestamps are ISO 8601 with offset.
|
|
12
|
+
- Errors follow RFC 9457 `application/problem+json`.
|
|
13
|
+
- Mutations to a form or any of its children (fields, elements, actions, rules) increment `FormDefinition.Version` and update `UpdatedAt`.
|
|
14
|
+
- The Custom Forms model is product-agnostic: the consuming product owns auth, identity resolution, and AV scanning of uploaded files. Mackinac validates the identity contract and persists/executes submissions.
|
|
15
|
+
* OpenAPI spec version: v1
|
|
16
|
+
*/
|
|
17
|
+
/**
|
|
18
|
+
* A user-management view of an Auth0 identity, joined with its linked Staff
|
|
19
|
+
row. `email`, `displayName`, and `roleIds` are populated
|
|
20
|
+
from Auth0 by the service after the Mackinac-side join; they are null
|
|
21
|
+
when Auth0 has not yet been queried (e.g. cheap list view without role
|
|
22
|
+
hydration).
|
|
23
|
+
*/
|
|
24
|
+
export interface UserDto {
|
|
25
|
+
id?: number;
|
|
26
|
+
/** @nullable */
|
|
27
|
+
auth0Sub?: string | null;
|
|
28
|
+
/** @nullable */
|
|
29
|
+
staffId?: string | null;
|
|
30
|
+
/** @nullable */
|
|
31
|
+
organizationId?: string | null;
|
|
32
|
+
/** @nullable */
|
|
33
|
+
email?: string | null;
|
|
34
|
+
/** @nullable */
|
|
35
|
+
displayName?: string | null;
|
|
36
|
+
isBlocked?: boolean;
|
|
37
|
+
isStaffInactive?: boolean;
|
|
38
|
+
/** @nullable */
|
|
39
|
+
staffName?: string | null;
|
|
40
|
+
/** @nullable */
|
|
41
|
+
title?: string | null;
|
|
42
|
+
/** @nullable */
|
|
43
|
+
lastInvitedAt?: string | null;
|
|
44
|
+
createdAt?: string;
|
|
45
|
+
/** @nullable */
|
|
46
|
+
updatedAt?: string | null;
|
|
47
|
+
/** @nullable */
|
|
48
|
+
roleIds?: string[] | null;
|
|
49
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v7.17.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Mackinac API
|
|
5
|
+
* Mackinac API - feature parity with Golden Gate.
|
|
6
|
+
|
|
7
|
+
**Custom Forms conventions**
|
|
8
|
+
|
|
9
|
+
- UUIDs are lowercase hyphenated strings.
|
|
10
|
+
- Pagination is cursor-based: `?cursor={id}&limit={n}` (default 50, max 200).
|
|
11
|
+
- Timestamps are ISO 8601 with offset.
|
|
12
|
+
- Errors follow RFC 9457 `application/problem+json`.
|
|
13
|
+
- Mutations to a form or any of its children (fields, elements, actions, rules) increment `FormDefinition.Version` and update `UpdatedAt`.
|
|
14
|
+
- The Custom Forms model is product-agnostic: the consuming product owns auth, identity resolution, and AV scanning of uploaded files. Mackinac validates the identity contract and persists/executes submissions.
|
|
15
|
+
* OpenAPI spec version: v1
|
|
16
|
+
*/
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v7.17.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Mackinac API
|
|
5
|
+
* Mackinac API - feature parity with Golden Gate.
|
|
6
|
+
|
|
7
|
+
**Custom Forms conventions**
|
|
8
|
+
|
|
9
|
+
- UUIDs are lowercase hyphenated strings.
|
|
10
|
+
- Pagination is cursor-based: `?cursor={id}&limit={n}` (default 50, max 200).
|
|
11
|
+
- Timestamps are ISO 8601 with offset.
|
|
12
|
+
- Errors follow RFC 9457 `application/problem+json`.
|
|
13
|
+
- Mutations to a form or any of its children (fields, elements, actions, rules) increment `FormDefinition.Version` and update `UpdatedAt`.
|
|
14
|
+
- The Custom Forms model is product-agnostic: the consuming product owns auth, identity resolution, and AV scanning of uploaded files. Mackinac validates the identity contract and persists/executes submissions.
|
|
15
|
+
* OpenAPI spec version: v1
|
|
16
|
+
*/
|
|
17
|
+
import type { UserDto } from './userDto';
|
|
18
|
+
export interface UserDtoCursorPagedResultDto {
|
|
19
|
+
/** @nullable */
|
|
20
|
+
data?: UserDto[] | null;
|
|
21
|
+
/** @nullable */
|
|
22
|
+
cursor?: string | null;
|
|
23
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|