@cycomdatasystems/mackinac-sdk 5.0.0 → 5.2.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.
Files changed (123) hide show
  1. package/dist/generated/mackinac.client.d.ts +350 -14
  2. package/dist/generated/mackinac.client.js +804 -13
  3. package/dist/generated/models/actionResultDtoStatus.d.ts +1 -0
  4. package/dist/generated/models/actionResultDtoStatus.js +1 -0
  5. package/dist/generated/models/addsDeptDto.d.ts +27 -0
  6. package/dist/generated/models/addsDeptDto.js +17 -0
  7. package/dist/generated/models/assignRolesDto.d.ts +24 -0
  8. package/dist/generated/models/assignRolesDto.js +17 -0
  9. package/dist/generated/models/councilDistrictsViewDto.d.ts +28 -0
  10. package/dist/generated/models/councilDistrictsViewDto.js +1 -0
  11. package/dist/generated/models/createFormDefinitionDto.d.ts +5 -0
  12. package/dist/generated/models/createFormDefinitionDtoDestination.d.ts +23 -0
  13. package/dist/generated/models/createFormDefinitionDtoDestination.js +20 -0
  14. package/dist/generated/models/createStaffPayloadDto.d.ts +45 -0
  15. package/dist/generated/models/createStaffPayloadDto.js +17 -0
  16. package/dist/generated/models/createUpdateFieldDefinitionDto.d.ts +7 -1
  17. package/dist/generated/models/createUpdateFieldDefinitionDtoFormat.d.ts +25 -0
  18. package/dist/generated/models/createUpdateFieldDefinitionDtoFormat.js +22 -0
  19. package/dist/generated/models/createUpdateFieldDefinitionDtoInputType.d.ts +1 -0
  20. package/dist/generated/models/createUpdateFieldDefinitionDtoInputType.js +1 -0
  21. package/dist/generated/models/createUpdateFormFieldRuleDto.d.ts +0 -2
  22. package/dist/generated/models/createUpdateFormFieldRuleDtoEffect.d.ts +0 -1
  23. package/dist/generated/models/createUpdateFormFieldRuleDtoEffect.js +0 -1
  24. package/dist/generated/models/createUpdateFormSubmissionActionDto.d.ts +3 -0
  25. package/dist/generated/models/createUpdateFormSubmissionActionDtoRecipientMode.d.ts +24 -0
  26. package/dist/generated/models/createUpdateFormSubmissionActionDtoRecipientMode.js +21 -0
  27. package/dist/generated/models/createUserDto.d.ts +47 -0
  28. package/dist/generated/models/createUserDto.js +1 -0
  29. package/dist/generated/models/createUserDtoMode.d.ts +24 -0
  30. package/dist/generated/models/createUserDtoMode.js +21 -0
  31. package/dist/generated/models/documentSearchCriteriaDto.d.ts +50 -0
  32. package/dist/generated/models/documentSearchCriteriaDto.js +17 -0
  33. package/dist/generated/models/documentSearchResponseDto.d.ts +27 -0
  34. package/dist/generated/models/documentSearchResponseDto.js +1 -0
  35. package/dist/generated/models/documentSearchResultDto.d.ts +46 -0
  36. package/dist/generated/models/documentSearchResultDto.js +17 -0
  37. package/dist/generated/models/emailSubjectDto.d.ts +23 -0
  38. package/dist/generated/models/emailSubjectDto.js +17 -0
  39. package/dist/generated/models/fieldDefinitionDto.d.ts +7 -1
  40. package/dist/generated/models/fieldDefinitionDtoFormat.d.ts +25 -0
  41. package/dist/generated/models/fieldDefinitionDtoFormat.js +22 -0
  42. package/dist/generated/models/fieldDefinitionDtoInputType.d.ts +1 -0
  43. package/dist/generated/models/fieldDefinitionDtoInputType.js +1 -0
  44. package/dist/generated/models/fileLimitsDto.d.ts +21 -0
  45. package/dist/generated/models/fileLimitsDto.js +17 -0
  46. package/dist/generated/models/fileUploadResultDto.d.ts +33 -0
  47. package/dist/generated/models/fileUploadResultDto.js +17 -0
  48. package/dist/generated/models/formDefinitionDto.d.ts +5 -0
  49. package/dist/generated/models/formDefinitionDtoDestination.d.ts +23 -0
  50. package/dist/generated/models/formDefinitionDtoDestination.js +20 -0
  51. package/dist/generated/models/formDefinitionFullDto.d.ts +5 -0
  52. package/dist/generated/models/formDefinitionFullDtoDestination.d.ts +23 -0
  53. package/dist/generated/models/formDefinitionFullDtoDestination.js +20 -0
  54. package/dist/generated/models/formFieldRuleDto.d.ts +0 -2
  55. package/dist/generated/models/formFieldRuleDtoEffect.d.ts +0 -1
  56. package/dist/generated/models/formFieldRuleDtoEffect.js +0 -1
  57. package/dist/generated/models/formSubmissionActionDto.d.ts +3 -0
  58. package/dist/generated/models/formSubmissionActionDtoRecipientMode.d.ts +24 -0
  59. package/dist/generated/models/formSubmissionActionDtoRecipientMode.js +21 -0
  60. package/dist/generated/models/formSubmissionDto.d.ts +6 -0
  61. package/dist/generated/models/getApiV1CodesDispositionsModuleCodeParams.d.ts +19 -0
  62. package/dist/generated/models/getApiV1CodesDispositionsModuleCodeParams.js +17 -0
  63. package/dist/generated/models/getApiV1PeopleStaffModuleCodeParams.d.ts +19 -0
  64. package/dist/generated/models/getApiV1PeopleStaffModuleCodeParams.js +17 -0
  65. package/dist/generated/models/getApiV1TimeentriesParams.d.ts +22 -0
  66. package/dist/generated/models/getApiV1TimeentriesParams.js +17 -0
  67. package/dist/generated/models/getApiV1UsersParams.d.ts +23 -0
  68. package/dist/generated/models/getApiV1UsersParams.js +17 -0
  69. package/dist/generated/models/index.d.ts +48 -0
  70. package/dist/generated/models/index.js +48 -0
  71. package/dist/generated/models/labelAndPeopleDto.d.ts +27 -0
  72. package/dist/generated/models/labelAndPeopleDto.js +1 -0
  73. package/dist/generated/models/labelAndStaffDto.d.ts +26 -0
  74. package/dist/generated/models/labelAndStaffDto.js +1 -0
  75. package/dist/generated/models/labelAndVisibilityDto.d.ts +24 -0
  76. package/dist/generated/models/labelAndVisibilityDto.js +17 -0
  77. package/dist/generated/models/labelDto.d.ts +23 -0
  78. package/dist/generated/models/labelDto.js +17 -0
  79. package/dist/generated/models/matterArchiveRemarksDto.d.ts +30 -0
  80. package/dist/generated/models/matterArchiveRemarksDto.js +17 -0
  81. package/dist/generated/models/matterDispositionPatchDto.d.ts +23 -0
  82. package/dist/generated/models/matterDispositionPatchDto.js +17 -0
  83. package/dist/generated/models/matterDispositionTextDto.d.ts +23 -0
  84. package/dist/generated/models/matterDispositionTextDto.js +17 -0
  85. package/dist/generated/models/matterDto.d.ts +2 -1
  86. package/dist/generated/models/matterStatusPatchDto.d.ts +23 -0
  87. package/dist/generated/models/matterStatusPatchDto.js +17 -0
  88. package/dist/generated/models/matterStatusTextDto.d.ts +23 -0
  89. package/dist/generated/models/matterStatusTextDto.js +17 -0
  90. package/dist/generated/models/potdDto.d.ts +23 -0
  91. package/dist/generated/models/potdDto.js +17 -0
  92. package/dist/generated/models/roleDto.d.ts +29 -0
  93. package/dist/generated/models/roleDto.js +17 -0
  94. package/dist/generated/models/selectOptionDto.d.ts +22 -0
  95. package/dist/generated/models/selectOptionDto.js +17 -0
  96. package/dist/generated/models/systemAccountsDto.d.ts +27 -0
  97. package/dist/generated/models/systemAccountsDto.js +1 -0
  98. package/dist/generated/models/systemDepartmentsDto.d.ts +27 -0
  99. package/dist/generated/models/systemDepartmentsDto.js +1 -0
  100. package/dist/generated/models/timeEntryViewDto.d.ts +57 -0
  101. package/dist/generated/models/timeEntryViewDto.js +17 -0
  102. package/dist/generated/models/tracksViewDto.d.ts +27 -0
  103. package/dist/generated/models/tracksViewDto.js +1 -0
  104. package/dist/generated/models/updateFormDefinitionDto.d.ts +5 -0
  105. package/dist/generated/models/updateFormDefinitionDtoDestination.d.ts +23 -0
  106. package/dist/generated/models/updateFormDefinitionDtoDestination.js +20 -0
  107. package/dist/generated/models/updateSelfProfileDto.d.ts +27 -0
  108. package/dist/generated/models/updateSelfProfileDto.js +17 -0
  109. package/dist/generated/models/updateUserDto.d.ts +46 -0
  110. package/dist/generated/models/updateUserDto.js +17 -0
  111. package/dist/generated/models/userDto.d.ts +49 -0
  112. package/dist/generated/models/userDto.js +17 -0
  113. package/dist/generated/models/userDtoCursorPagedResultDto.d.ts +23 -0
  114. package/dist/generated/models/userDtoCursorPagedResultDto.js +1 -0
  115. package/dist/generated/models/viewCodeDto.d.ts +28 -0
  116. package/dist/generated/models/viewCodeDto.js +17 -0
  117. package/dist/generated/models/viewCodeWithTypeDto.d.ts +31 -0
  118. package/dist/generated/models/viewCodeWithTypeDto.js +17 -0
  119. package/dist/generated/models/viewStaffDto.d.ts +26 -0
  120. package/dist/generated/models/viewStaffDto.js +17 -0
  121. package/dist/generated/models/viewStaffWithTypeDto.d.ts +28 -0
  122. package/dist/generated/models/viewStaffWithTypeDto.js +17 -0
  123. package/package.json +1 -1
@@ -19,6 +19,7 @@
19
19
  */
20
20
  export type ActionResultDtoStatus = typeof ActionResultDtoStatus[keyof typeof ActionResultDtoStatus] | null;
21
21
  export declare const ActionResultDtoStatus: {
22
+ readonly pending: "pending";
22
23
  readonly succeeded: "succeeded";
23
24
  readonly failed: "failed";
24
25
  };
@@ -16,6 +16,7 @@
16
16
  */
17
17
  // eslint-disable-next-line @typescript-eslint/no-redeclare
18
18
  export const ActionResultDtoStatus = {
19
+ pending: 'pending',
19
20
  succeeded: 'succeeded',
20
21
  failed: 'failed',
21
22
  };
@@ -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
+ * An account or department row (ADDS + DEPTS join).
19
+ */
20
+ export interface AddsDeptDto {
21
+ addsId?: number;
22
+ /** @nullable */
23
+ code?: string | null;
24
+ /** @nullable */
25
+ description?: string | null;
26
+ active?: boolean;
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,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,28 @@
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 { ViewCodeDto } from './viewCodeDto';
18
+ /**
19
+ * Response wrapper for `/api/v1/codes/councildistricts`. Includes whether
20
+ council districts are enabled and the configurable label, both from `CTYLAW`.
21
+ */
22
+ export interface CouncilDistrictsViewDto {
23
+ enabled?: boolean;
24
+ /** @nullable */
25
+ label?: string | null;
26
+ /** @nullable */
27
+ codes?: ViewCodeDto[] | null;
28
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -15,6 +15,7 @@
15
15
  * OpenAPI spec version: v1
16
16
  */
17
17
  import type { CreateFormDefinitionDtoSubmitterIdentity } from './createFormDefinitionDtoSubmitterIdentity';
18
+ import type { CreateFormDefinitionDtoDestination } from './createFormDefinitionDtoDestination';
18
19
  export interface CreateFormDefinitionDto {
19
20
  /**
20
21
  * @minLength 0
@@ -25,4 +26,8 @@ export interface CreateFormDefinitionDto {
25
26
  description?: string | null;
26
27
  /** @nullable */
27
28
  submitterIdentity?: CreateFormDefinitionDtoSubmitterIdentity;
29
+ /** @nullable */
30
+ destination?: CreateFormDefinitionDtoDestination;
31
+ /** @nullable */
32
+ displaySummaryFieldId?: string | null;
28
33
  }
@@ -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
+ /**
18
+ * @nullable
19
+ */
20
+ export type CreateFormDefinitionDtoDestination = typeof CreateFormDefinitionDtoDestination[keyof typeof CreateFormDefinitionDtoDestination] | null;
21
+ export declare const CreateFormDefinitionDtoDestination: {
22
+ readonly 'work-request-portal': "work-request-portal";
23
+ };
@@ -0,0 +1,20 @@
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 CreateFormDefinitionDtoDestination = {
19
+ 'work-request-portal': 'work-request-portal',
20
+ };
@@ -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 {};
@@ -15,7 +15,9 @@
15
15
  * OpenAPI spec version: v1
16
16
  */
17
17
  import type { CreateUpdateFieldDefinitionDtoInputType } from './createUpdateFieldDefinitionDtoInputType';
18
+ import type { CreateUpdateFieldDefinitionDtoFormat } from './createUpdateFieldDefinitionDtoFormat';
18
19
  import type { CreateUpdateFieldDefinitionDtoValueDestination } from './createUpdateFieldDefinitionDtoValueDestination';
20
+ import type { SelectOptionDto } from './selectOptionDto';
19
21
  export interface CreateUpdateFieldDefinitionDto {
20
22
  /**
21
23
  * @minLength 0
@@ -32,6 +34,10 @@ export interface CreateUpdateFieldDefinitionDto {
32
34
  /** @minLength 1 */
33
35
  inputType: CreateUpdateFieldDefinitionDtoInputType;
34
36
  /** @nullable */
37
+ format?: CreateUpdateFieldDefinitionDtoFormat;
38
+ /** @nullable */
39
+ maxLength?: number | null;
40
+ /** @nullable */
35
41
  valueDestination?: CreateUpdateFieldDefinitionDtoValueDestination;
36
42
  /**
37
43
  * @minLength 0
@@ -40,5 +46,5 @@ export interface CreateUpdateFieldDefinitionDto {
40
46
  */
41
47
  matterFieldCode?: string | null;
42
48
  /** @nullable */
43
- selectOptions?: string[] | null;
49
+ selectOptions?: SelectOptionDto[] | null;
44
50
  }
@@ -0,0 +1,25 @@
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
+ * @nullable
19
+ */
20
+ export type CreateUpdateFieldDefinitionDtoFormat = typeof CreateUpdateFieldDefinitionDtoFormat[keyof typeof CreateUpdateFieldDefinitionDtoFormat] | null;
21
+ export declare const CreateUpdateFieldDefinitionDtoFormat: {
22
+ readonly email: "email";
23
+ readonly phone: "phone";
24
+ readonly url: "url";
25
+ };
@@ -0,0 +1,22 @@
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 CreateUpdateFieldDefinitionDtoFormat = {
19
+ email: 'email',
20
+ phone: 'phone',
21
+ url: 'url',
22
+ };
@@ -20,6 +20,7 @@
20
20
  export type CreateUpdateFieldDefinitionDtoInputType = typeof CreateUpdateFieldDefinitionDtoInputType[keyof typeof CreateUpdateFieldDefinitionDtoInputType];
21
21
  export declare const CreateUpdateFieldDefinitionDtoInputType: {
22
22
  readonly text: "text";
23
+ readonly textarea: "textarea";
23
24
  readonly number: "number";
24
25
  readonly date: "date";
25
26
  readonly select: "select";
@@ -17,6 +17,7 @@
17
17
  // eslint-disable-next-line @typescript-eslint/no-redeclare
18
18
  export const CreateUpdateFieldDefinitionDtoInputType = {
19
19
  text: 'text',
20
+ textarea: 'textarea',
20
21
  number: 'number',
21
22
  date: 'date',
22
23
  select: 'select',
@@ -25,6 +25,4 @@ export interface CreateUpdateFormFieldRuleDto {
25
25
  triggerValue: string;
26
26
  /** @minLength 1 */
27
27
  effect: CreateUpdateFormFieldRuleDtoEffect;
28
- /** @nullable */
29
- setValue?: string | null;
30
28
  }
@@ -21,7 +21,6 @@ export type CreateUpdateFormFieldRuleDtoEffect = typeof CreateUpdateFormFieldRul
21
21
  export declare const CreateUpdateFormFieldRuleDtoEffect: {
22
22
  readonly 'show-field': "show-field";
23
23
  readonly 'hide-field': "hide-field";
24
- readonly 'set-value': "set-value";
25
24
  readonly 'require-field': "require-field";
26
25
  readonly 'unrequire-field': "unrequire-field";
27
26
  readonly 'show-element': "show-element";
@@ -18,7 +18,6 @@
18
18
  export const CreateUpdateFormFieldRuleDtoEffect = {
19
19
  'show-field': 'show-field',
20
20
  'hide-field': 'hide-field',
21
- 'set-value': 'set-value',
22
21
  'require-field': 'require-field',
23
22
  'unrequire-field': 'unrequire-field',
24
23
  'show-element': 'show-element',
@@ -15,6 +15,7 @@
15
15
  * OpenAPI spec version: v1
16
16
  */
17
17
  import type { CreateUpdateFormSubmissionActionDtoAction } from './createUpdateFormSubmissionActionDtoAction';
18
+ import type { CreateUpdateFormSubmissionActionDtoRecipientMode } from './createUpdateFormSubmissionActionDtoRecipientMode';
18
19
  import type { CreateUpdateFormSubmissionActionDtoEmailBody } from './createUpdateFormSubmissionActionDtoEmailBody';
19
20
  export interface CreateUpdateFormSubmissionActionDto {
20
21
  /** @minLength 1 */
@@ -25,6 +26,8 @@ export interface CreateUpdateFormSubmissionActionDto {
25
26
  * @nullable
26
27
  */
27
28
  targetMatter?: string | null;
29
+ /** @nullable */
30
+ recipientMode?: CreateUpdateFormSubmissionActionDtoRecipientMode;
28
31
  /**
29
32
  * @minLength 0
30
33
  * @maxLength 1000
@@ -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
+ * @nullable
19
+ */
20
+ export type CreateUpdateFormSubmissionActionDtoRecipientMode = typeof CreateUpdateFormSubmissionActionDtoRecipientMode[keyof typeof CreateUpdateFormSubmissionActionDtoRecipientMode] | null;
21
+ export declare const CreateUpdateFormSubmissionActionDtoRecipientMode: {
22
+ readonly explicit: "explicit";
23
+ readonly submitter: "submitter";
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 CreateUpdateFormSubmissionActionDtoRecipientMode = {
19
+ explicit: 'explicit',
20
+ submitter: 'submitter',
21
+ };
@@ -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,50 @@
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
+ * Filters for `POST /api/v1/search/documents`. Port of golden-gate
19
+ `DocumentSearchCriteriaSerializer`. Every field is optional; filters that
20
+ reference columns not present on Mackinac's `Docs` model (e.g. `isarchived`,
21
+ `doccolor`, `summary`) are intentionally omitted.
22
+ */
23
+ export interface DocumentSearchCriteriaDto {
24
+ /** @nullable */
25
+ documentName?: string | null;
26
+ /** @nullable */
27
+ matterFileNumbers?: string[] | null;
28
+ /** @nullable */
29
+ preparers?: string[] | null;
30
+ /** @nullable */
31
+ staff?: string[] | null;
32
+ /** @nullable */
33
+ documentCategories?: string[] | null;
34
+ /** @nullable */
35
+ documentTypes?: string[] | null;
36
+ /** @nullable */
37
+ modules?: string[] | null;
38
+ /** @nullable */
39
+ createdFromDate?: string | null;
40
+ /** @nullable */
41
+ createdToDate?: string | null;
42
+ /** @nullable */
43
+ modifiedFromDate?: string | null;
44
+ /** @nullable */
45
+ modifiedToDate?: string | null;
46
+ /** @nullable */
47
+ teams?: string[] | null;
48
+ page?: number;
49
+ pageSize?: number;
50
+ }
@@ -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
+ import type { DocumentSearchResultDto } from './documentSearchResultDto';
18
+ /**
19
+ * Paginated wrapper for document-search results.
20
+ */
21
+ export interface DocumentSearchResponseDto {
22
+ count?: number;
23
+ page?: number;
24
+ pageSize?: number;
25
+ /** @nullable */
26
+ results?: DocumentSearchResultDto[] | null;
27
+ }
@@ -0,0 +1 @@
1
+ export {};