@cycomdatasystems/mackinac-sdk 4.1.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.
@@ -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
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cycomdatasystems/mackinac-sdk",
3
- "version": "4.1.0",
3
+ "version": "5.1.1",
4
4
  "description": "A shared TypeScript client for the Mackinac API.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",