@cycomdatasystems/mackinac-sdk 5.1.1 → 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 (103) hide show
  1. package/dist/generated/mackinac.client.d.ts +271 -14
  2. package/dist/generated/mackinac.client.js +626 -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/councilDistrictsViewDto.d.ts +28 -0
  8. package/dist/generated/models/councilDistrictsViewDto.js +1 -0
  9. package/dist/generated/models/createFormDefinitionDto.d.ts +5 -0
  10. package/dist/generated/models/createFormDefinitionDtoDestination.d.ts +23 -0
  11. package/dist/generated/models/createFormDefinitionDtoDestination.js +20 -0
  12. package/dist/generated/models/createUpdateFieldDefinitionDto.d.ts +7 -1
  13. package/dist/generated/models/createUpdateFieldDefinitionDtoFormat.d.ts +25 -0
  14. package/dist/generated/models/createUpdateFieldDefinitionDtoFormat.js +22 -0
  15. package/dist/generated/models/createUpdateFieldDefinitionDtoInputType.d.ts +1 -0
  16. package/dist/generated/models/createUpdateFieldDefinitionDtoInputType.js +1 -0
  17. package/dist/generated/models/createUpdateFormFieldRuleDto.d.ts +0 -2
  18. package/dist/generated/models/createUpdateFormFieldRuleDtoEffect.d.ts +0 -1
  19. package/dist/generated/models/createUpdateFormFieldRuleDtoEffect.js +0 -1
  20. package/dist/generated/models/createUpdateFormSubmissionActionDto.d.ts +3 -0
  21. package/dist/generated/models/createUpdateFormSubmissionActionDtoRecipientMode.d.ts +24 -0
  22. package/dist/generated/models/createUpdateFormSubmissionActionDtoRecipientMode.js +21 -0
  23. package/dist/generated/models/documentSearchCriteriaDto.d.ts +50 -0
  24. package/dist/generated/models/documentSearchCriteriaDto.js +17 -0
  25. package/dist/generated/models/documentSearchResponseDto.d.ts +27 -0
  26. package/dist/generated/models/documentSearchResponseDto.js +1 -0
  27. package/dist/generated/models/documentSearchResultDto.d.ts +46 -0
  28. package/dist/generated/models/documentSearchResultDto.js +17 -0
  29. package/dist/generated/models/emailSubjectDto.d.ts +23 -0
  30. package/dist/generated/models/emailSubjectDto.js +17 -0
  31. package/dist/generated/models/fieldDefinitionDto.d.ts +7 -1
  32. package/dist/generated/models/fieldDefinitionDtoFormat.d.ts +25 -0
  33. package/dist/generated/models/fieldDefinitionDtoFormat.js +22 -0
  34. package/dist/generated/models/fieldDefinitionDtoInputType.d.ts +1 -0
  35. package/dist/generated/models/fieldDefinitionDtoInputType.js +1 -0
  36. package/dist/generated/models/fileLimitsDto.d.ts +21 -0
  37. package/dist/generated/models/fileLimitsDto.js +17 -0
  38. package/dist/generated/models/fileUploadResultDto.d.ts +33 -0
  39. package/dist/generated/models/fileUploadResultDto.js +17 -0
  40. package/dist/generated/models/formDefinitionDto.d.ts +5 -0
  41. package/dist/generated/models/formDefinitionDtoDestination.d.ts +23 -0
  42. package/dist/generated/models/formDefinitionDtoDestination.js +20 -0
  43. package/dist/generated/models/formDefinitionFullDto.d.ts +5 -0
  44. package/dist/generated/models/formDefinitionFullDtoDestination.d.ts +23 -0
  45. package/dist/generated/models/formDefinitionFullDtoDestination.js +20 -0
  46. package/dist/generated/models/formFieldRuleDto.d.ts +0 -2
  47. package/dist/generated/models/formFieldRuleDtoEffect.d.ts +0 -1
  48. package/dist/generated/models/formFieldRuleDtoEffect.js +0 -1
  49. package/dist/generated/models/formSubmissionActionDto.d.ts +3 -0
  50. package/dist/generated/models/formSubmissionActionDtoRecipientMode.d.ts +24 -0
  51. package/dist/generated/models/formSubmissionActionDtoRecipientMode.js +21 -0
  52. package/dist/generated/models/formSubmissionDto.d.ts +6 -0
  53. package/dist/generated/models/getApiV1CodesDispositionsModuleCodeParams.d.ts +19 -0
  54. package/dist/generated/models/getApiV1CodesDispositionsModuleCodeParams.js +17 -0
  55. package/dist/generated/models/getApiV1PeopleStaffModuleCodeParams.d.ts +19 -0
  56. package/dist/generated/models/getApiV1PeopleStaffModuleCodeParams.js +17 -0
  57. package/dist/generated/models/getApiV1TimeentriesParams.d.ts +22 -0
  58. package/dist/generated/models/getApiV1TimeentriesParams.js +17 -0
  59. package/dist/generated/models/index.d.ts +38 -0
  60. package/dist/generated/models/index.js +38 -0
  61. package/dist/generated/models/labelAndPeopleDto.d.ts +27 -0
  62. package/dist/generated/models/labelAndPeopleDto.js +1 -0
  63. package/dist/generated/models/labelAndStaffDto.d.ts +26 -0
  64. package/dist/generated/models/labelAndStaffDto.js +1 -0
  65. package/dist/generated/models/labelAndVisibilityDto.d.ts +24 -0
  66. package/dist/generated/models/labelAndVisibilityDto.js +17 -0
  67. package/dist/generated/models/labelDto.d.ts +23 -0
  68. package/dist/generated/models/labelDto.js +17 -0
  69. package/dist/generated/models/matterArchiveRemarksDto.d.ts +30 -0
  70. package/dist/generated/models/matterArchiveRemarksDto.js +17 -0
  71. package/dist/generated/models/matterDispositionPatchDto.d.ts +23 -0
  72. package/dist/generated/models/matterDispositionPatchDto.js +17 -0
  73. package/dist/generated/models/matterDispositionTextDto.d.ts +23 -0
  74. package/dist/generated/models/matterDispositionTextDto.js +17 -0
  75. package/dist/generated/models/matterDto.d.ts +2 -1
  76. package/dist/generated/models/matterStatusPatchDto.d.ts +23 -0
  77. package/dist/generated/models/matterStatusPatchDto.js +17 -0
  78. package/dist/generated/models/matterStatusTextDto.d.ts +23 -0
  79. package/dist/generated/models/matterStatusTextDto.js +17 -0
  80. package/dist/generated/models/potdDto.d.ts +23 -0
  81. package/dist/generated/models/potdDto.js +17 -0
  82. package/dist/generated/models/selectOptionDto.d.ts +22 -0
  83. package/dist/generated/models/selectOptionDto.js +17 -0
  84. package/dist/generated/models/systemAccountsDto.d.ts +27 -0
  85. package/dist/generated/models/systemAccountsDto.js +1 -0
  86. package/dist/generated/models/systemDepartmentsDto.d.ts +27 -0
  87. package/dist/generated/models/systemDepartmentsDto.js +1 -0
  88. package/dist/generated/models/timeEntryViewDto.d.ts +57 -0
  89. package/dist/generated/models/timeEntryViewDto.js +17 -0
  90. package/dist/generated/models/tracksViewDto.d.ts +27 -0
  91. package/dist/generated/models/tracksViewDto.js +1 -0
  92. package/dist/generated/models/updateFormDefinitionDto.d.ts +5 -0
  93. package/dist/generated/models/updateFormDefinitionDtoDestination.d.ts +23 -0
  94. package/dist/generated/models/updateFormDefinitionDtoDestination.js +20 -0
  95. package/dist/generated/models/viewCodeDto.d.ts +28 -0
  96. package/dist/generated/models/viewCodeDto.js +17 -0
  97. package/dist/generated/models/viewCodeWithTypeDto.d.ts +31 -0
  98. package/dist/generated/models/viewCodeWithTypeDto.js +17 -0
  99. package/dist/generated/models/viewStaffDto.d.ts +26 -0
  100. package/dist/generated/models/viewStaffDto.js +17 -0
  101. package/dist/generated/models/viewStaffWithTypeDto.d.ts +28 -0
  102. package/dist/generated/models/viewStaffWithTypeDto.js +17 -0
  103. 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,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
+ };
@@ -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,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 {};
@@ -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
+ * A single document hit returned by `POST /api/v1/search/documents`.
19
+ */
20
+ export interface DocumentSearchResultDto {
21
+ docId?: number;
22
+ /** @nullable */
23
+ matterId?: number | null;
24
+ /** @nullable */
25
+ fileNumber?: string | null;
26
+ /** @nullable */
27
+ module?: string | null;
28
+ /** @nullable */
29
+ docName?: string | null;
30
+ /** @nullable */
31
+ docType?: string | null;
32
+ /** @nullable */
33
+ docCategory?: string | null;
34
+ /** @nullable */
35
+ preparer?: string | null;
36
+ /** @nullable */
37
+ staffId?: string | null;
38
+ /** @nullable */
39
+ team?: string | null;
40
+ /** @nullable */
41
+ docDate?: string | null;
42
+ /** @nullable */
43
+ addTime?: string | null;
44
+ /** @nullable */
45
+ editTime?: 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,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
+ * Response for `/api/v1/system/email/subject`.
19
+ */
20
+ export interface EmailSubjectDto {
21
+ /** @nullable */
22
+ subjectLine?: string | null;
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 {};
@@ -15,7 +15,9 @@
15
15
  * OpenAPI spec version: v1
16
16
  */
17
17
  import type { FieldDefinitionDtoInputType } from './fieldDefinitionDtoInputType';
18
+ import type { FieldDefinitionDtoFormat } from './fieldDefinitionDtoFormat';
18
19
  import type { FieldDefinitionDtoValueDestination } from './fieldDefinitionDtoValueDestination';
20
+ import type { SelectOptionDto } from './selectOptionDto';
19
21
  export interface FieldDefinitionDto {
20
22
  id?: string;
21
23
  /** @nullable */
@@ -27,9 +29,13 @@ export interface FieldDefinitionDto {
27
29
  /** @nullable */
28
30
  inputType?: FieldDefinitionDtoInputType;
29
31
  /** @nullable */
32
+ format?: FieldDefinitionDtoFormat;
33
+ /** @nullable */
34
+ maxLength?: number | null;
35
+ /** @nullable */
30
36
  valueDestination?: FieldDefinitionDtoValueDestination;
31
37
  /** @nullable */
32
38
  matterFieldCode?: string | null;
33
39
  /** @nullable */
34
- selectOptions?: string[] | null;
40
+ selectOptions?: SelectOptionDto[] | null;
35
41
  }
@@ -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 FieldDefinitionDtoFormat = typeof FieldDefinitionDtoFormat[keyof typeof FieldDefinitionDtoFormat] | null;
21
+ export declare const FieldDefinitionDtoFormat: {
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 FieldDefinitionDtoFormat = {
19
+ email: 'email',
20
+ phone: 'phone',
21
+ url: 'url',
22
+ };
@@ -20,6 +20,7 @@
20
20
  export type FieldDefinitionDtoInputType = typeof FieldDefinitionDtoInputType[keyof typeof FieldDefinitionDtoInputType] | null;
21
21
  export declare const FieldDefinitionDtoInputType: {
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 FieldDefinitionDtoInputType = {
19
19
  text: 'text',
20
+ textarea: 'textarea',
20
21
  number: 'number',
21
22
  date: 'date',
22
23
  select: 'select',