@contractspec/lib.identity-rbac 1.56.1 → 1.58.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/contracts/index.js +1045 -0
- package/dist/browser/contracts/organization.js +655 -0
- package/dist/browser/contracts/rbac.js +599 -0
- package/dist/browser/contracts/user.js +235 -0
- package/dist/browser/entities/index.js +464 -0
- package/dist/browser/entities/organization.js +150 -0
- package/dist/browser/entities/rbac.js +124 -0
- package/dist/browser/entities/user.js +168 -0
- package/dist/browser/events.js +374 -0
- package/dist/browser/identity-rbac.capability.js +28 -0
- package/dist/browser/identity-rbac.feature.js +67 -0
- package/dist/browser/index.js +2099 -0
- package/dist/browser/policies/engine.js +154 -0
- package/dist/browser/policies/index.js +154 -0
- package/dist/contracts/index.d.ts +4 -4
- package/dist/contracts/index.d.ts.map +1 -0
- package/dist/contracts/index.js +1045 -4
- package/dist/contracts/organization.d.ts +758 -764
- package/dist/contracts/organization.d.ts.map +1 -1
- package/dist/contracts/organization.js +653 -602
- package/dist/contracts/rbac.d.ts +517 -523
- package/dist/contracts/rbac.d.ts.map +1 -1
- package/dist/contracts/rbac.js +597 -481
- package/dist/contracts/user.d.ts +513 -519
- package/dist/contracts/user.d.ts.map +1 -1
- package/dist/contracts/user.js +222 -319
- package/dist/entities/index.d.ts +164 -169
- package/dist/entities/index.d.ts.map +1 -1
- package/dist/entities/index.js +462 -33
- package/dist/entities/organization.d.ts +58 -63
- package/dist/entities/organization.d.ts.map +1 -1
- package/dist/entities/organization.js +145 -145
- package/dist/entities/rbac.d.ts +62 -67
- package/dist/entities/rbac.d.ts.map +1 -1
- package/dist/entities/rbac.js +119 -132
- package/dist/entities/user.d.ts +66 -71
- package/dist/entities/user.d.ts.map +1 -1
- package/dist/entities/user.js +164 -189
- package/dist/events.d.ts +537 -543
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +343 -651
- package/dist/identity-rbac.capability.d.ts +2 -7
- package/dist/identity-rbac.capability.d.ts.map +1 -1
- package/dist/identity-rbac.capability.js +29 -29
- package/dist/identity-rbac.feature.d.ts +1 -7
- package/dist/identity-rbac.feature.d.ts.map +1 -1
- package/dist/identity-rbac.feature.js +66 -193
- package/dist/index.d.ts +6 -12
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2100 -14
- package/dist/node/contracts/index.js +1045 -0
- package/dist/node/contracts/organization.js +655 -0
- package/dist/node/contracts/rbac.js +599 -0
- package/dist/node/contracts/user.js +235 -0
- package/dist/node/entities/index.js +464 -0
- package/dist/node/entities/organization.js +150 -0
- package/dist/node/entities/rbac.js +124 -0
- package/dist/node/entities/user.js +168 -0
- package/dist/node/events.js +374 -0
- package/dist/node/identity-rbac.capability.js +28 -0
- package/dist/node/identity-rbac.feature.js +67 -0
- package/dist/node/index.js +2099 -0
- package/dist/node/policies/engine.js +154 -0
- package/dist/node/policies/index.js +154 -0
- package/dist/policies/engine.d.ts +98 -101
- package/dist/policies/engine.d.ts.map +1 -1
- package/dist/policies/engine.js +151 -164
- package/dist/policies/index.d.ts +2 -2
- package/dist/policies/index.d.ts.map +1 -0
- package/dist/policies/index.js +154 -2
- package/package.json +149 -40
- package/dist/contracts/organization.js.map +0 -1
- package/dist/contracts/rbac.js.map +0 -1
- package/dist/contracts/user.js.map +0 -1
- package/dist/entities/index.js.map +0 -1
- package/dist/entities/organization.js.map +0 -1
- package/dist/entities/rbac.js.map +0 -1
- package/dist/entities/user.js.map +0 -1
- package/dist/events.js.map +0 -1
- package/dist/identity-rbac.capability.js.map +0 -1
- package/dist/identity-rbac.feature.js.map +0 -1
- package/dist/policies/engine.js.map +0 -1
|
@@ -1,896 +1,890 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
createdAt: {
|
|
36
|
-
type: _contractspec_lib_schema258.FieldType<Date, string>;
|
|
37
|
-
isOptional: false;
|
|
38
|
-
};
|
|
1
|
+
import { SchemaModel } from '@contractspec/lib.schema';
|
|
2
|
+
export declare const OrganizationModel: SchemaModel<{
|
|
3
|
+
id: {
|
|
4
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
5
|
+
isOptional: false;
|
|
6
|
+
};
|
|
7
|
+
name: {
|
|
8
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
9
|
+
isOptional: false;
|
|
10
|
+
};
|
|
11
|
+
slug: {
|
|
12
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
13
|
+
isOptional: true;
|
|
14
|
+
};
|
|
15
|
+
logo: {
|
|
16
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
17
|
+
isOptional: true;
|
|
18
|
+
};
|
|
19
|
+
description: {
|
|
20
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
21
|
+
isOptional: true;
|
|
22
|
+
};
|
|
23
|
+
type: {
|
|
24
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
25
|
+
isOptional: false;
|
|
26
|
+
};
|
|
27
|
+
onboardingCompleted: {
|
|
28
|
+
type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
|
|
29
|
+
isOptional: false;
|
|
30
|
+
};
|
|
31
|
+
createdAt: {
|
|
32
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
33
|
+
isOptional: false;
|
|
34
|
+
};
|
|
39
35
|
}>;
|
|
40
|
-
declare const MemberUserModel: SchemaModel<{
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
36
|
+
export declare const MemberUserModel: SchemaModel<{
|
|
37
|
+
id: {
|
|
38
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
39
|
+
isOptional: false;
|
|
40
|
+
};
|
|
41
|
+
email: {
|
|
42
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
43
|
+
isOptional: false;
|
|
44
|
+
};
|
|
45
|
+
name: {
|
|
46
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
47
|
+
isOptional: true;
|
|
48
|
+
};
|
|
53
49
|
}>;
|
|
54
|
-
declare const MemberModel: SchemaModel<{
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
50
|
+
export declare const MemberModel: SchemaModel<{
|
|
51
|
+
id: {
|
|
52
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
53
|
+
isOptional: false;
|
|
54
|
+
};
|
|
55
|
+
userId: {
|
|
56
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
57
|
+
isOptional: false;
|
|
58
|
+
};
|
|
59
|
+
organizationId: {
|
|
60
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
61
|
+
isOptional: false;
|
|
62
|
+
};
|
|
63
|
+
role: {
|
|
64
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
65
|
+
isOptional: false;
|
|
66
|
+
};
|
|
67
|
+
createdAt: {
|
|
68
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
69
|
+
isOptional: false;
|
|
70
|
+
};
|
|
71
|
+
user: {
|
|
72
|
+
type: SchemaModel<{
|
|
73
|
+
id: {
|
|
74
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
75
|
+
isOptional: false;
|
|
76
|
+
};
|
|
77
|
+
email: {
|
|
78
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
79
|
+
isOptional: false;
|
|
80
|
+
};
|
|
81
|
+
name: {
|
|
82
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
83
|
+
isOptional: true;
|
|
84
|
+
};
|
|
85
|
+
}>;
|
|
86
|
+
isOptional: false;
|
|
87
|
+
};
|
|
92
88
|
}>;
|
|
93
|
-
declare const InvitationModel: SchemaModel<{
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
89
|
+
export declare const InvitationModel: SchemaModel<{
|
|
90
|
+
id: {
|
|
91
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
92
|
+
isOptional: false;
|
|
93
|
+
};
|
|
94
|
+
email: {
|
|
95
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
96
|
+
isOptional: false;
|
|
97
|
+
};
|
|
98
|
+
role: {
|
|
99
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
100
|
+
isOptional: true;
|
|
101
|
+
};
|
|
102
|
+
status: {
|
|
103
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
104
|
+
isOptional: false;
|
|
105
|
+
};
|
|
106
|
+
expiresAt: {
|
|
107
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
108
|
+
isOptional: true;
|
|
109
|
+
};
|
|
110
|
+
createdAt: {
|
|
111
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
112
|
+
isOptional: false;
|
|
113
|
+
};
|
|
118
114
|
}>;
|
|
119
|
-
declare const CreateOrgInputModel: SchemaModel<{
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
115
|
+
export declare const CreateOrgInputModel: SchemaModel<{
|
|
116
|
+
name: {
|
|
117
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
118
|
+
isOptional: false;
|
|
119
|
+
};
|
|
120
|
+
slug: {
|
|
121
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
122
|
+
isOptional: true;
|
|
123
|
+
};
|
|
124
|
+
description: {
|
|
125
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
126
|
+
isOptional: true;
|
|
127
|
+
};
|
|
128
|
+
type: {
|
|
129
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
130
|
+
isOptional: true;
|
|
131
|
+
};
|
|
136
132
|
}>;
|
|
137
|
-
declare const GetOrgInputModel: SchemaModel<{
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
133
|
+
export declare const GetOrgInputModel: SchemaModel<{
|
|
134
|
+
orgId: {
|
|
135
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
136
|
+
isOptional: false;
|
|
137
|
+
};
|
|
142
138
|
}>;
|
|
143
|
-
declare const UpdateOrgInputModel: SchemaModel<{
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
139
|
+
export declare const UpdateOrgInputModel: SchemaModel<{
|
|
140
|
+
orgId: {
|
|
141
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
142
|
+
isOptional: false;
|
|
143
|
+
};
|
|
144
|
+
name: {
|
|
145
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
146
|
+
isOptional: true;
|
|
147
|
+
};
|
|
148
|
+
slug: {
|
|
149
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
150
|
+
isOptional: true;
|
|
151
|
+
};
|
|
152
|
+
logo: {
|
|
153
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
154
|
+
isOptional: true;
|
|
155
|
+
};
|
|
156
|
+
description: {
|
|
157
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
158
|
+
isOptional: true;
|
|
159
|
+
};
|
|
164
160
|
}>;
|
|
165
|
-
declare const InviteMemberInputModel: SchemaModel<{
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
161
|
+
export declare const InviteMemberInputModel: SchemaModel<{
|
|
162
|
+
orgId: {
|
|
163
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
164
|
+
isOptional: false;
|
|
165
|
+
};
|
|
166
|
+
email: {
|
|
167
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
168
|
+
isOptional: false;
|
|
169
|
+
};
|
|
170
|
+
role: {
|
|
171
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
172
|
+
isOptional: false;
|
|
173
|
+
};
|
|
174
|
+
teamId: {
|
|
175
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
176
|
+
isOptional: true;
|
|
177
|
+
};
|
|
182
178
|
}>;
|
|
183
|
-
declare const AcceptInviteInputModel: SchemaModel<{
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
179
|
+
export declare const AcceptInviteInputModel: SchemaModel<{
|
|
180
|
+
invitationId: {
|
|
181
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
182
|
+
isOptional: false;
|
|
183
|
+
};
|
|
188
184
|
}>;
|
|
189
|
-
declare const RemoveMemberInputModel: SchemaModel<{
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
185
|
+
export declare const RemoveMemberInputModel: SchemaModel<{
|
|
186
|
+
orgId: {
|
|
187
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
188
|
+
isOptional: false;
|
|
189
|
+
};
|
|
190
|
+
userId: {
|
|
191
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
192
|
+
isOptional: false;
|
|
193
|
+
};
|
|
198
194
|
}>;
|
|
199
|
-
declare const MemberRemovedPayloadModel: SchemaModel<{
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
195
|
+
export declare const MemberRemovedPayloadModel: SchemaModel<{
|
|
196
|
+
orgId: {
|
|
197
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
198
|
+
isOptional: false;
|
|
199
|
+
};
|
|
200
|
+
userId: {
|
|
201
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
202
|
+
isOptional: false;
|
|
203
|
+
};
|
|
208
204
|
}>;
|
|
209
|
-
declare const ListMembersInputModel: SchemaModel<{
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
205
|
+
export declare const ListMembersInputModel: SchemaModel<{
|
|
206
|
+
orgId: {
|
|
207
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
208
|
+
isOptional: false;
|
|
209
|
+
};
|
|
210
|
+
limit: {
|
|
211
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
212
|
+
isOptional: true;
|
|
213
|
+
};
|
|
214
|
+
offset: {
|
|
215
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
216
|
+
isOptional: true;
|
|
217
|
+
};
|
|
222
218
|
}>;
|
|
223
|
-
declare const ListMembersOutputModel: SchemaModel<{
|
|
224
|
-
|
|
225
|
-
type: SchemaModel<{
|
|
226
|
-
id: {
|
|
227
|
-
type: _contractspec_lib_schema258.FieldType<string, string>;
|
|
228
|
-
isOptional: false;
|
|
229
|
-
};
|
|
230
|
-
userId: {
|
|
231
|
-
type: _contractspec_lib_schema258.FieldType<string, string>;
|
|
232
|
-
isOptional: false;
|
|
233
|
-
};
|
|
234
|
-
organizationId: {
|
|
235
|
-
type: _contractspec_lib_schema258.FieldType<string, string>;
|
|
236
|
-
isOptional: false;
|
|
237
|
-
};
|
|
238
|
-
role: {
|
|
239
|
-
type: _contractspec_lib_schema258.FieldType<string, string>;
|
|
240
|
-
isOptional: false;
|
|
241
|
-
};
|
|
242
|
-
createdAt: {
|
|
243
|
-
type: _contractspec_lib_schema258.FieldType<Date, string>;
|
|
244
|
-
isOptional: false;
|
|
245
|
-
};
|
|
246
|
-
user: {
|
|
219
|
+
export declare const ListMembersOutputModel: SchemaModel<{
|
|
220
|
+
members: {
|
|
247
221
|
type: SchemaModel<{
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
222
|
+
id: {
|
|
223
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
224
|
+
isOptional: false;
|
|
225
|
+
};
|
|
226
|
+
userId: {
|
|
227
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
228
|
+
isOptional: false;
|
|
229
|
+
};
|
|
230
|
+
organizationId: {
|
|
231
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
232
|
+
isOptional: false;
|
|
233
|
+
};
|
|
234
|
+
role: {
|
|
235
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
236
|
+
isOptional: false;
|
|
237
|
+
};
|
|
238
|
+
createdAt: {
|
|
239
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
240
|
+
isOptional: false;
|
|
241
|
+
};
|
|
242
|
+
user: {
|
|
243
|
+
type: SchemaModel<{
|
|
244
|
+
id: {
|
|
245
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
246
|
+
isOptional: false;
|
|
247
|
+
};
|
|
248
|
+
email: {
|
|
249
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
250
|
+
isOptional: false;
|
|
251
|
+
};
|
|
252
|
+
name: {
|
|
253
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
254
|
+
isOptional: true;
|
|
255
|
+
};
|
|
256
|
+
}>;
|
|
257
|
+
isOptional: false;
|
|
258
|
+
};
|
|
260
259
|
}>;
|
|
261
260
|
isOptional: false;
|
|
262
|
-
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
type: _contractspec_lib_schema258.FieldType<number, number>;
|
|
269
|
-
isOptional: false;
|
|
270
|
-
};
|
|
271
|
-
}>;
|
|
272
|
-
declare const OrganizationWithRoleModel: SchemaModel<{
|
|
273
|
-
id: {
|
|
274
|
-
type: _contractspec_lib_schema258.FieldType<string, string>;
|
|
275
|
-
isOptional: false;
|
|
276
|
-
};
|
|
277
|
-
name: {
|
|
278
|
-
type: _contractspec_lib_schema258.FieldType<string, string>;
|
|
279
|
-
isOptional: false;
|
|
280
|
-
};
|
|
281
|
-
slug: {
|
|
282
|
-
type: _contractspec_lib_schema258.FieldType<string, string>;
|
|
283
|
-
isOptional: true;
|
|
284
|
-
};
|
|
285
|
-
logo: {
|
|
286
|
-
type: _contractspec_lib_schema258.FieldType<string, string>;
|
|
287
|
-
isOptional: true;
|
|
288
|
-
};
|
|
289
|
-
description: {
|
|
290
|
-
type: _contractspec_lib_schema258.FieldType<string, string>;
|
|
291
|
-
isOptional: true;
|
|
292
|
-
};
|
|
293
|
-
type: {
|
|
294
|
-
type: _contractspec_lib_schema258.FieldType<string, string>;
|
|
295
|
-
isOptional: false;
|
|
296
|
-
};
|
|
297
|
-
onboardingCompleted: {
|
|
298
|
-
type: _contractspec_lib_schema258.FieldType<boolean, boolean>;
|
|
299
|
-
isOptional: false;
|
|
300
|
-
};
|
|
301
|
-
createdAt: {
|
|
302
|
-
type: _contractspec_lib_schema258.FieldType<Date, string>;
|
|
303
|
-
isOptional: false;
|
|
304
|
-
};
|
|
305
|
-
role: {
|
|
306
|
-
type: _contractspec_lib_schema258.FieldType<string, string>;
|
|
307
|
-
isOptional: false;
|
|
308
|
-
};
|
|
261
|
+
isArray: true;
|
|
262
|
+
};
|
|
263
|
+
total: {
|
|
264
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
265
|
+
isOptional: false;
|
|
266
|
+
};
|
|
309
267
|
}>;
|
|
310
|
-
declare const
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
id: {
|
|
314
|
-
type: _contractspec_lib_schema258.FieldType<string, string>;
|
|
268
|
+
export declare const OrganizationWithRoleModel: SchemaModel<{
|
|
269
|
+
id: {
|
|
270
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
315
271
|
isOptional: false;
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
type:
|
|
272
|
+
};
|
|
273
|
+
name: {
|
|
274
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
319
275
|
isOptional: false;
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
type:
|
|
276
|
+
};
|
|
277
|
+
slug: {
|
|
278
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
323
279
|
isOptional: true;
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
type:
|
|
280
|
+
};
|
|
281
|
+
logo: {
|
|
282
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
327
283
|
isOptional: true;
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
type:
|
|
284
|
+
};
|
|
285
|
+
description: {
|
|
286
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
331
287
|
isOptional: true;
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
type:
|
|
288
|
+
};
|
|
289
|
+
type: {
|
|
290
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
291
|
+
isOptional: false;
|
|
292
|
+
};
|
|
293
|
+
onboardingCompleted: {
|
|
294
|
+
type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
|
|
335
295
|
isOptional: false;
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
type:
|
|
296
|
+
};
|
|
297
|
+
createdAt: {
|
|
298
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
339
299
|
isOptional: false;
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
type:
|
|
300
|
+
};
|
|
301
|
+
role: {
|
|
302
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
343
303
|
isOptional: false;
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
304
|
+
};
|
|
305
|
+
}>;
|
|
306
|
+
export declare const ListUserOrgsOutputModel: SchemaModel<{
|
|
307
|
+
organizations: {
|
|
308
|
+
type: SchemaModel<{
|
|
309
|
+
id: {
|
|
310
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
311
|
+
isOptional: false;
|
|
312
|
+
};
|
|
313
|
+
name: {
|
|
314
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
315
|
+
isOptional: false;
|
|
316
|
+
};
|
|
317
|
+
slug: {
|
|
318
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
319
|
+
isOptional: true;
|
|
320
|
+
};
|
|
321
|
+
logo: {
|
|
322
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
323
|
+
isOptional: true;
|
|
324
|
+
};
|
|
325
|
+
description: {
|
|
326
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
327
|
+
isOptional: true;
|
|
328
|
+
};
|
|
329
|
+
type: {
|
|
330
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
331
|
+
isOptional: false;
|
|
332
|
+
};
|
|
333
|
+
onboardingCompleted: {
|
|
334
|
+
type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
|
|
335
|
+
isOptional: false;
|
|
336
|
+
};
|
|
337
|
+
createdAt: {
|
|
338
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
339
|
+
isOptional: false;
|
|
340
|
+
};
|
|
341
|
+
role: {
|
|
342
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
343
|
+
isOptional: false;
|
|
344
|
+
};
|
|
345
|
+
}>;
|
|
347
346
|
isOptional: false;
|
|
348
|
-
|
|
349
|
-
}
|
|
350
|
-
isOptional: false;
|
|
351
|
-
isArray: true;
|
|
352
|
-
};
|
|
347
|
+
isArray: true;
|
|
348
|
+
};
|
|
353
349
|
}>;
|
|
354
350
|
/**
|
|
355
351
|
* Create a new organization.
|
|
356
352
|
*/
|
|
357
|
-
declare const CreateOrgContract:
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
353
|
+
export declare const CreateOrgContract: import("@contractspec/lib.contracts").OperationSpec<SchemaModel<{
|
|
354
|
+
name: {
|
|
355
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
356
|
+
isOptional: false;
|
|
357
|
+
};
|
|
358
|
+
slug: {
|
|
359
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
360
|
+
isOptional: true;
|
|
361
|
+
};
|
|
362
|
+
description: {
|
|
363
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
364
|
+
isOptional: true;
|
|
365
|
+
};
|
|
366
|
+
type: {
|
|
367
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
368
|
+
isOptional: true;
|
|
369
|
+
};
|
|
374
370
|
}>, SchemaModel<{
|
|
375
|
-
id: {
|
|
376
|
-
type: _contractspec_lib_schema258.FieldType<string, string>;
|
|
377
|
-
isOptional: false;
|
|
378
|
-
};
|
|
379
|
-
name: {
|
|
380
|
-
type: _contractspec_lib_schema258.FieldType<string, string>;
|
|
381
|
-
isOptional: false;
|
|
382
|
-
};
|
|
383
|
-
slug: {
|
|
384
|
-
type: _contractspec_lib_schema258.FieldType<string, string>;
|
|
385
|
-
isOptional: true;
|
|
386
|
-
};
|
|
387
|
-
logo: {
|
|
388
|
-
type: _contractspec_lib_schema258.FieldType<string, string>;
|
|
389
|
-
isOptional: true;
|
|
390
|
-
};
|
|
391
|
-
description: {
|
|
392
|
-
type: _contractspec_lib_schema258.FieldType<string, string>;
|
|
393
|
-
isOptional: true;
|
|
394
|
-
};
|
|
395
|
-
type: {
|
|
396
|
-
type: _contractspec_lib_schema258.FieldType<string, string>;
|
|
397
|
-
isOptional: false;
|
|
398
|
-
};
|
|
399
|
-
onboardingCompleted: {
|
|
400
|
-
type: _contractspec_lib_schema258.FieldType<boolean, boolean>;
|
|
401
|
-
isOptional: false;
|
|
402
|
-
};
|
|
403
|
-
createdAt: {
|
|
404
|
-
type: _contractspec_lib_schema258.FieldType<Date, string>;
|
|
405
|
-
isOptional: false;
|
|
406
|
-
};
|
|
407
|
-
}>, {
|
|
408
|
-
key: string;
|
|
409
|
-
version: string;
|
|
410
|
-
when: string;
|
|
411
|
-
payload: SchemaModel<{
|
|
412
371
|
id: {
|
|
413
|
-
|
|
414
|
-
|
|
372
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
373
|
+
isOptional: false;
|
|
415
374
|
};
|
|
416
375
|
name: {
|
|
417
|
-
|
|
418
|
-
|
|
376
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
377
|
+
isOptional: false;
|
|
419
378
|
};
|
|
420
379
|
slug: {
|
|
421
|
-
|
|
422
|
-
|
|
380
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
381
|
+
isOptional: true;
|
|
423
382
|
};
|
|
424
383
|
logo: {
|
|
425
|
-
|
|
426
|
-
|
|
384
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
385
|
+
isOptional: true;
|
|
427
386
|
};
|
|
428
387
|
description: {
|
|
429
|
-
|
|
430
|
-
|
|
388
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
389
|
+
isOptional: true;
|
|
431
390
|
};
|
|
432
391
|
type: {
|
|
433
|
-
|
|
434
|
-
|
|
392
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
393
|
+
isOptional: false;
|
|
435
394
|
};
|
|
436
395
|
onboardingCompleted: {
|
|
437
|
-
|
|
438
|
-
|
|
396
|
+
type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
|
|
397
|
+
isOptional: false;
|
|
439
398
|
};
|
|
440
399
|
createdAt: {
|
|
441
|
-
|
|
442
|
-
|
|
400
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
401
|
+
isOptional: false;
|
|
443
402
|
};
|
|
444
|
-
|
|
403
|
+
}>, {
|
|
404
|
+
key: string;
|
|
405
|
+
version: string;
|
|
406
|
+
when: string;
|
|
407
|
+
payload: SchemaModel<{
|
|
408
|
+
id: {
|
|
409
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
410
|
+
isOptional: false;
|
|
411
|
+
};
|
|
412
|
+
name: {
|
|
413
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
414
|
+
isOptional: false;
|
|
415
|
+
};
|
|
416
|
+
slug: {
|
|
417
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
418
|
+
isOptional: true;
|
|
419
|
+
};
|
|
420
|
+
logo: {
|
|
421
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
422
|
+
isOptional: true;
|
|
423
|
+
};
|
|
424
|
+
description: {
|
|
425
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
426
|
+
isOptional: true;
|
|
427
|
+
};
|
|
428
|
+
type: {
|
|
429
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
430
|
+
isOptional: false;
|
|
431
|
+
};
|
|
432
|
+
onboardingCompleted: {
|
|
433
|
+
type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
|
|
434
|
+
isOptional: false;
|
|
435
|
+
};
|
|
436
|
+
createdAt: {
|
|
437
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
438
|
+
isOptional: false;
|
|
439
|
+
};
|
|
440
|
+
}>;
|
|
445
441
|
}[]>;
|
|
446
442
|
/**
|
|
447
443
|
* Get organization details.
|
|
448
444
|
*/
|
|
449
|
-
declare const GetOrgContract:
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
445
|
+
export declare const GetOrgContract: import("@contractspec/lib.contracts").OperationSpec<SchemaModel<{
|
|
446
|
+
orgId: {
|
|
447
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
448
|
+
isOptional: false;
|
|
449
|
+
};
|
|
454
450
|
}>, SchemaModel<{
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
451
|
+
id: {
|
|
452
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
453
|
+
isOptional: false;
|
|
454
|
+
};
|
|
455
|
+
name: {
|
|
456
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
457
|
+
isOptional: false;
|
|
458
|
+
};
|
|
459
|
+
slug: {
|
|
460
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
461
|
+
isOptional: true;
|
|
462
|
+
};
|
|
463
|
+
logo: {
|
|
464
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
465
|
+
isOptional: true;
|
|
466
|
+
};
|
|
467
|
+
description: {
|
|
468
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
469
|
+
isOptional: true;
|
|
470
|
+
};
|
|
471
|
+
type: {
|
|
472
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
473
|
+
isOptional: false;
|
|
474
|
+
};
|
|
475
|
+
onboardingCompleted: {
|
|
476
|
+
type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
|
|
477
|
+
isOptional: false;
|
|
478
|
+
};
|
|
479
|
+
createdAt: {
|
|
480
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
481
|
+
isOptional: false;
|
|
482
|
+
};
|
|
487
483
|
}>, undefined>;
|
|
488
484
|
/**
|
|
489
485
|
* Update organization.
|
|
490
486
|
*/
|
|
491
|
-
declare const UpdateOrgContract:
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
487
|
+
export declare const UpdateOrgContract: import("@contractspec/lib.contracts").OperationSpec<SchemaModel<{
|
|
488
|
+
orgId: {
|
|
489
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
490
|
+
isOptional: false;
|
|
491
|
+
};
|
|
492
|
+
name: {
|
|
493
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
494
|
+
isOptional: true;
|
|
495
|
+
};
|
|
496
|
+
slug: {
|
|
497
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
498
|
+
isOptional: true;
|
|
499
|
+
};
|
|
500
|
+
logo: {
|
|
501
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
502
|
+
isOptional: true;
|
|
503
|
+
};
|
|
504
|
+
description: {
|
|
505
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
506
|
+
isOptional: true;
|
|
507
|
+
};
|
|
512
508
|
}>, SchemaModel<{
|
|
513
|
-
id: {
|
|
514
|
-
type: _contractspec_lib_schema258.FieldType<string, string>;
|
|
515
|
-
isOptional: false;
|
|
516
|
-
};
|
|
517
|
-
name: {
|
|
518
|
-
type: _contractspec_lib_schema258.FieldType<string, string>;
|
|
519
|
-
isOptional: false;
|
|
520
|
-
};
|
|
521
|
-
slug: {
|
|
522
|
-
type: _contractspec_lib_schema258.FieldType<string, string>;
|
|
523
|
-
isOptional: true;
|
|
524
|
-
};
|
|
525
|
-
logo: {
|
|
526
|
-
type: _contractspec_lib_schema258.FieldType<string, string>;
|
|
527
|
-
isOptional: true;
|
|
528
|
-
};
|
|
529
|
-
description: {
|
|
530
|
-
type: _contractspec_lib_schema258.FieldType<string, string>;
|
|
531
|
-
isOptional: true;
|
|
532
|
-
};
|
|
533
|
-
type: {
|
|
534
|
-
type: _contractspec_lib_schema258.FieldType<string, string>;
|
|
535
|
-
isOptional: false;
|
|
536
|
-
};
|
|
537
|
-
onboardingCompleted: {
|
|
538
|
-
type: _contractspec_lib_schema258.FieldType<boolean, boolean>;
|
|
539
|
-
isOptional: false;
|
|
540
|
-
};
|
|
541
|
-
createdAt: {
|
|
542
|
-
type: _contractspec_lib_schema258.FieldType<Date, string>;
|
|
543
|
-
isOptional: false;
|
|
544
|
-
};
|
|
545
|
-
}>, {
|
|
546
|
-
key: string;
|
|
547
|
-
version: string;
|
|
548
|
-
when: string;
|
|
549
|
-
payload: SchemaModel<{
|
|
550
509
|
id: {
|
|
551
|
-
|
|
552
|
-
|
|
510
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
511
|
+
isOptional: false;
|
|
553
512
|
};
|
|
554
513
|
name: {
|
|
555
|
-
|
|
556
|
-
|
|
514
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
515
|
+
isOptional: false;
|
|
557
516
|
};
|
|
558
517
|
slug: {
|
|
559
|
-
|
|
560
|
-
|
|
518
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
519
|
+
isOptional: true;
|
|
561
520
|
};
|
|
562
521
|
logo: {
|
|
563
|
-
|
|
564
|
-
|
|
522
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
523
|
+
isOptional: true;
|
|
565
524
|
};
|
|
566
525
|
description: {
|
|
567
|
-
|
|
568
|
-
|
|
526
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
527
|
+
isOptional: true;
|
|
569
528
|
};
|
|
570
529
|
type: {
|
|
571
|
-
|
|
572
|
-
|
|
530
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
531
|
+
isOptional: false;
|
|
573
532
|
};
|
|
574
533
|
onboardingCompleted: {
|
|
575
|
-
|
|
576
|
-
|
|
534
|
+
type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
|
|
535
|
+
isOptional: false;
|
|
577
536
|
};
|
|
578
537
|
createdAt: {
|
|
579
|
-
|
|
580
|
-
|
|
538
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
539
|
+
isOptional: false;
|
|
581
540
|
};
|
|
582
|
-
|
|
541
|
+
}>, {
|
|
542
|
+
key: string;
|
|
543
|
+
version: string;
|
|
544
|
+
when: string;
|
|
545
|
+
payload: SchemaModel<{
|
|
546
|
+
id: {
|
|
547
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
548
|
+
isOptional: false;
|
|
549
|
+
};
|
|
550
|
+
name: {
|
|
551
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
552
|
+
isOptional: false;
|
|
553
|
+
};
|
|
554
|
+
slug: {
|
|
555
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
556
|
+
isOptional: true;
|
|
557
|
+
};
|
|
558
|
+
logo: {
|
|
559
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
560
|
+
isOptional: true;
|
|
561
|
+
};
|
|
562
|
+
description: {
|
|
563
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
564
|
+
isOptional: true;
|
|
565
|
+
};
|
|
566
|
+
type: {
|
|
567
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
568
|
+
isOptional: false;
|
|
569
|
+
};
|
|
570
|
+
onboardingCompleted: {
|
|
571
|
+
type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
|
|
572
|
+
isOptional: false;
|
|
573
|
+
};
|
|
574
|
+
createdAt: {
|
|
575
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
576
|
+
isOptional: false;
|
|
577
|
+
};
|
|
578
|
+
}>;
|
|
583
579
|
}[]>;
|
|
584
580
|
/**
|
|
585
581
|
* Invite a member to the organization.
|
|
586
582
|
*/
|
|
587
|
-
declare const InviteMemberContract:
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
583
|
+
export declare const InviteMemberContract: import("@contractspec/lib.contracts").OperationSpec<SchemaModel<{
|
|
584
|
+
orgId: {
|
|
585
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
586
|
+
isOptional: false;
|
|
587
|
+
};
|
|
588
|
+
email: {
|
|
589
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
590
|
+
isOptional: false;
|
|
591
|
+
};
|
|
592
|
+
role: {
|
|
593
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
594
|
+
isOptional: false;
|
|
595
|
+
};
|
|
596
|
+
teamId: {
|
|
597
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
598
|
+
isOptional: true;
|
|
599
|
+
};
|
|
604
600
|
}>, SchemaModel<{
|
|
605
|
-
id: {
|
|
606
|
-
type: _contractspec_lib_schema258.FieldType<string, string>;
|
|
607
|
-
isOptional: false;
|
|
608
|
-
};
|
|
609
|
-
email: {
|
|
610
|
-
type: _contractspec_lib_schema258.FieldType<string, string>;
|
|
611
|
-
isOptional: false;
|
|
612
|
-
};
|
|
613
|
-
role: {
|
|
614
|
-
type: _contractspec_lib_schema258.FieldType<string, string>;
|
|
615
|
-
isOptional: true;
|
|
616
|
-
};
|
|
617
|
-
status: {
|
|
618
|
-
type: _contractspec_lib_schema258.FieldType<string, string>;
|
|
619
|
-
isOptional: false;
|
|
620
|
-
};
|
|
621
|
-
expiresAt: {
|
|
622
|
-
type: _contractspec_lib_schema258.FieldType<Date, string>;
|
|
623
|
-
isOptional: true;
|
|
624
|
-
};
|
|
625
|
-
createdAt: {
|
|
626
|
-
type: _contractspec_lib_schema258.FieldType<Date, string>;
|
|
627
|
-
isOptional: false;
|
|
628
|
-
};
|
|
629
|
-
}>, {
|
|
630
|
-
key: string;
|
|
631
|
-
version: string;
|
|
632
|
-
when: string;
|
|
633
|
-
payload: SchemaModel<{
|
|
634
601
|
id: {
|
|
635
|
-
|
|
636
|
-
|
|
602
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
603
|
+
isOptional: false;
|
|
637
604
|
};
|
|
638
605
|
email: {
|
|
639
|
-
|
|
640
|
-
|
|
606
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
607
|
+
isOptional: false;
|
|
641
608
|
};
|
|
642
609
|
role: {
|
|
643
|
-
|
|
644
|
-
|
|
610
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
611
|
+
isOptional: true;
|
|
645
612
|
};
|
|
646
613
|
status: {
|
|
647
|
-
|
|
648
|
-
|
|
614
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
615
|
+
isOptional: false;
|
|
649
616
|
};
|
|
650
617
|
expiresAt: {
|
|
651
|
-
|
|
652
|
-
|
|
618
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
619
|
+
isOptional: true;
|
|
653
620
|
};
|
|
654
621
|
createdAt: {
|
|
655
|
-
|
|
656
|
-
|
|
622
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
623
|
+
isOptional: false;
|
|
657
624
|
};
|
|
658
|
-
|
|
625
|
+
}>, {
|
|
626
|
+
key: string;
|
|
627
|
+
version: string;
|
|
628
|
+
when: string;
|
|
629
|
+
payload: SchemaModel<{
|
|
630
|
+
id: {
|
|
631
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
632
|
+
isOptional: false;
|
|
633
|
+
};
|
|
634
|
+
email: {
|
|
635
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
636
|
+
isOptional: false;
|
|
637
|
+
};
|
|
638
|
+
role: {
|
|
639
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
640
|
+
isOptional: true;
|
|
641
|
+
};
|
|
642
|
+
status: {
|
|
643
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
644
|
+
isOptional: false;
|
|
645
|
+
};
|
|
646
|
+
expiresAt: {
|
|
647
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
648
|
+
isOptional: true;
|
|
649
|
+
};
|
|
650
|
+
createdAt: {
|
|
651
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
652
|
+
isOptional: false;
|
|
653
|
+
};
|
|
654
|
+
}>;
|
|
659
655
|
}[]>;
|
|
660
656
|
/**
|
|
661
657
|
* Accept an invitation.
|
|
662
658
|
*/
|
|
663
|
-
declare const AcceptInviteContract:
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
659
|
+
export declare const AcceptInviteContract: import("@contractspec/lib.contracts").OperationSpec<SchemaModel<{
|
|
660
|
+
invitationId: {
|
|
661
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
662
|
+
isOptional: false;
|
|
663
|
+
};
|
|
668
664
|
}>, SchemaModel<{
|
|
669
|
-
id: {
|
|
670
|
-
type: _contractspec_lib_schema258.FieldType<string, string>;
|
|
671
|
-
isOptional: false;
|
|
672
|
-
};
|
|
673
|
-
userId: {
|
|
674
|
-
type: _contractspec_lib_schema258.FieldType<string, string>;
|
|
675
|
-
isOptional: false;
|
|
676
|
-
};
|
|
677
|
-
organizationId: {
|
|
678
|
-
type: _contractspec_lib_schema258.FieldType<string, string>;
|
|
679
|
-
isOptional: false;
|
|
680
|
-
};
|
|
681
|
-
role: {
|
|
682
|
-
type: _contractspec_lib_schema258.FieldType<string, string>;
|
|
683
|
-
isOptional: false;
|
|
684
|
-
};
|
|
685
|
-
createdAt: {
|
|
686
|
-
type: _contractspec_lib_schema258.FieldType<Date, string>;
|
|
687
|
-
isOptional: false;
|
|
688
|
-
};
|
|
689
|
-
user: {
|
|
690
|
-
type: SchemaModel<{
|
|
691
|
-
id: {
|
|
692
|
-
type: _contractspec_lib_schema258.FieldType<string, string>;
|
|
693
|
-
isOptional: false;
|
|
694
|
-
};
|
|
695
|
-
email: {
|
|
696
|
-
type: _contractspec_lib_schema258.FieldType<string, string>;
|
|
697
|
-
isOptional: false;
|
|
698
|
-
};
|
|
699
|
-
name: {
|
|
700
|
-
type: _contractspec_lib_schema258.FieldType<string, string>;
|
|
701
|
-
isOptional: true;
|
|
702
|
-
};
|
|
703
|
-
}>;
|
|
704
|
-
isOptional: false;
|
|
705
|
-
};
|
|
706
|
-
}>, {
|
|
707
|
-
key: string;
|
|
708
|
-
version: string;
|
|
709
|
-
when: string;
|
|
710
|
-
payload: SchemaModel<{
|
|
711
665
|
id: {
|
|
712
|
-
|
|
713
|
-
|
|
666
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
667
|
+
isOptional: false;
|
|
714
668
|
};
|
|
715
669
|
userId: {
|
|
716
|
-
|
|
717
|
-
|
|
670
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
671
|
+
isOptional: false;
|
|
718
672
|
};
|
|
719
673
|
organizationId: {
|
|
720
|
-
|
|
721
|
-
|
|
674
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
675
|
+
isOptional: false;
|
|
722
676
|
};
|
|
723
677
|
role: {
|
|
724
|
-
|
|
725
|
-
|
|
678
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
679
|
+
isOptional: false;
|
|
726
680
|
};
|
|
727
681
|
createdAt: {
|
|
728
|
-
|
|
729
|
-
|
|
682
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
683
|
+
isOptional: false;
|
|
730
684
|
};
|
|
731
685
|
user: {
|
|
732
|
-
|
|
686
|
+
type: SchemaModel<{
|
|
687
|
+
id: {
|
|
688
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
689
|
+
isOptional: false;
|
|
690
|
+
};
|
|
691
|
+
email: {
|
|
692
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
693
|
+
isOptional: false;
|
|
694
|
+
};
|
|
695
|
+
name: {
|
|
696
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
697
|
+
isOptional: true;
|
|
698
|
+
};
|
|
699
|
+
}>;
|
|
700
|
+
isOptional: false;
|
|
701
|
+
};
|
|
702
|
+
}>, {
|
|
703
|
+
key: string;
|
|
704
|
+
version: string;
|
|
705
|
+
when: string;
|
|
706
|
+
payload: SchemaModel<{
|
|
733
707
|
id: {
|
|
734
|
-
|
|
735
|
-
|
|
708
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
709
|
+
isOptional: false;
|
|
736
710
|
};
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
711
|
+
userId: {
|
|
712
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
713
|
+
isOptional: false;
|
|
740
714
|
};
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
715
|
+
organizationId: {
|
|
716
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
717
|
+
isOptional: false;
|
|
744
718
|
};
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
719
|
+
role: {
|
|
720
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
721
|
+
isOptional: false;
|
|
722
|
+
};
|
|
723
|
+
createdAt: {
|
|
724
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
725
|
+
isOptional: false;
|
|
726
|
+
};
|
|
727
|
+
user: {
|
|
728
|
+
type: SchemaModel<{
|
|
729
|
+
id: {
|
|
730
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
731
|
+
isOptional: false;
|
|
732
|
+
};
|
|
733
|
+
email: {
|
|
734
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
735
|
+
isOptional: false;
|
|
736
|
+
};
|
|
737
|
+
name: {
|
|
738
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
739
|
+
isOptional: true;
|
|
740
|
+
};
|
|
741
|
+
}>;
|
|
742
|
+
isOptional: false;
|
|
743
|
+
};
|
|
744
|
+
}>;
|
|
749
745
|
}[]>;
|
|
750
746
|
/**
|
|
751
747
|
* Remove a member from the organization.
|
|
752
748
|
*/
|
|
753
|
-
declare const RemoveMemberContract:
|
|
754
|
-
orgId: {
|
|
755
|
-
type: _contractspec_lib_schema258.FieldType<string, string>;
|
|
756
|
-
isOptional: false;
|
|
757
|
-
};
|
|
758
|
-
userId: {
|
|
759
|
-
type: _contractspec_lib_schema258.FieldType<string, string>;
|
|
760
|
-
isOptional: false;
|
|
761
|
-
};
|
|
762
|
-
}>, SchemaModel<{
|
|
763
|
-
success: {
|
|
764
|
-
type: _contractspec_lib_schema258.FieldType<boolean, boolean>;
|
|
765
|
-
isOptional: false;
|
|
766
|
-
};
|
|
767
|
-
}>, {
|
|
768
|
-
key: string;
|
|
769
|
-
version: string;
|
|
770
|
-
when: string;
|
|
771
|
-
payload: SchemaModel<{
|
|
749
|
+
export declare const RemoveMemberContract: import("@contractspec/lib.contracts").OperationSpec<SchemaModel<{
|
|
772
750
|
orgId: {
|
|
773
|
-
|
|
774
|
-
|
|
751
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
752
|
+
isOptional: false;
|
|
775
753
|
};
|
|
776
754
|
userId: {
|
|
777
|
-
|
|
778
|
-
|
|
755
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
756
|
+
isOptional: false;
|
|
779
757
|
};
|
|
780
|
-
}>;
|
|
781
|
-
}[]>;
|
|
782
|
-
/**
|
|
783
|
-
* List organization members.
|
|
784
|
-
*/
|
|
785
|
-
declare const ListMembersContract: _contractspec_lib_contracts40.OperationSpec<SchemaModel<{
|
|
786
|
-
orgId: {
|
|
787
|
-
type: _contractspec_lib_schema258.FieldType<string, string>;
|
|
788
|
-
isOptional: false;
|
|
789
|
-
};
|
|
790
|
-
limit: {
|
|
791
|
-
type: _contractspec_lib_schema258.FieldType<number, number>;
|
|
792
|
-
isOptional: true;
|
|
793
|
-
};
|
|
794
|
-
offset: {
|
|
795
|
-
type: _contractspec_lib_schema258.FieldType<number, number>;
|
|
796
|
-
isOptional: true;
|
|
797
|
-
};
|
|
798
758
|
}>, SchemaModel<{
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
id: {
|
|
802
|
-
type: _contractspec_lib_schema258.FieldType<string, string>;
|
|
803
|
-
isOptional: false;
|
|
804
|
-
};
|
|
805
|
-
userId: {
|
|
806
|
-
type: _contractspec_lib_schema258.FieldType<string, string>;
|
|
759
|
+
success: {
|
|
760
|
+
type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
|
|
807
761
|
isOptional: false;
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
};
|
|
817
|
-
createdAt: {
|
|
818
|
-
type: _contractspec_lib_schema258.FieldType<Date, string>;
|
|
819
|
-
isOptional: false;
|
|
820
|
-
};
|
|
821
|
-
user: {
|
|
822
|
-
type: SchemaModel<{
|
|
823
|
-
id: {
|
|
824
|
-
type: _contractspec_lib_schema258.FieldType<string, string>;
|
|
762
|
+
};
|
|
763
|
+
}>, {
|
|
764
|
+
key: string;
|
|
765
|
+
version: string;
|
|
766
|
+
when: string;
|
|
767
|
+
payload: SchemaModel<{
|
|
768
|
+
orgId: {
|
|
769
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
825
770
|
isOptional: false;
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
type:
|
|
771
|
+
};
|
|
772
|
+
userId: {
|
|
773
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
829
774
|
isOptional: false;
|
|
830
|
-
|
|
831
|
-
name: {
|
|
832
|
-
type: _contractspec_lib_schema258.FieldType<string, string>;
|
|
833
|
-
isOptional: true;
|
|
834
|
-
};
|
|
835
|
-
}>;
|
|
836
|
-
isOptional: false;
|
|
837
|
-
};
|
|
775
|
+
};
|
|
838
776
|
}>;
|
|
839
|
-
|
|
840
|
-
isArray: true;
|
|
841
|
-
};
|
|
842
|
-
total: {
|
|
843
|
-
type: _contractspec_lib_schema258.FieldType<number, number>;
|
|
844
|
-
isOptional: false;
|
|
845
|
-
};
|
|
846
|
-
}>, undefined>;
|
|
777
|
+
}[]>;
|
|
847
778
|
/**
|
|
848
|
-
* List
|
|
779
|
+
* List organization members.
|
|
849
780
|
*/
|
|
850
|
-
declare const
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
id: {
|
|
854
|
-
type: _contractspec_lib_schema258.FieldType<string, string>;
|
|
855
|
-
isOptional: false;
|
|
856
|
-
};
|
|
857
|
-
name: {
|
|
858
|
-
type: _contractspec_lib_schema258.FieldType<string, string>;
|
|
781
|
+
export declare const ListMembersContract: import("@contractspec/lib.contracts").OperationSpec<SchemaModel<{
|
|
782
|
+
orgId: {
|
|
783
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
859
784
|
isOptional: false;
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
type:
|
|
863
|
-
isOptional: true;
|
|
864
|
-
};
|
|
865
|
-
logo: {
|
|
866
|
-
type: _contractspec_lib_schema258.FieldType<string, string>;
|
|
785
|
+
};
|
|
786
|
+
limit: {
|
|
787
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
867
788
|
isOptional: true;
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
type:
|
|
789
|
+
};
|
|
790
|
+
offset: {
|
|
791
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
871
792
|
isOptional: true;
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
793
|
+
};
|
|
794
|
+
}>, SchemaModel<{
|
|
795
|
+
members: {
|
|
796
|
+
type: SchemaModel<{
|
|
797
|
+
id: {
|
|
798
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
799
|
+
isOptional: false;
|
|
800
|
+
};
|
|
801
|
+
userId: {
|
|
802
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
803
|
+
isOptional: false;
|
|
804
|
+
};
|
|
805
|
+
organizationId: {
|
|
806
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
807
|
+
isOptional: false;
|
|
808
|
+
};
|
|
809
|
+
role: {
|
|
810
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
811
|
+
isOptional: false;
|
|
812
|
+
};
|
|
813
|
+
createdAt: {
|
|
814
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
815
|
+
isOptional: false;
|
|
816
|
+
};
|
|
817
|
+
user: {
|
|
818
|
+
type: SchemaModel<{
|
|
819
|
+
id: {
|
|
820
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
821
|
+
isOptional: false;
|
|
822
|
+
};
|
|
823
|
+
email: {
|
|
824
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
825
|
+
isOptional: false;
|
|
826
|
+
};
|
|
827
|
+
name: {
|
|
828
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
829
|
+
isOptional: true;
|
|
830
|
+
};
|
|
831
|
+
}>;
|
|
832
|
+
isOptional: false;
|
|
833
|
+
};
|
|
834
|
+
}>;
|
|
879
835
|
isOptional: false;
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
836
|
+
isArray: true;
|
|
837
|
+
};
|
|
838
|
+
total: {
|
|
839
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
883
840
|
isOptional: false;
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
841
|
+
};
|
|
842
|
+
}>, undefined>;
|
|
843
|
+
/**
|
|
844
|
+
* List user's organizations.
|
|
845
|
+
*/
|
|
846
|
+
export declare const ListUserOrgsContract: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").AnySchemaModel, SchemaModel<{
|
|
847
|
+
organizations: {
|
|
848
|
+
type: SchemaModel<{
|
|
849
|
+
id: {
|
|
850
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
851
|
+
isOptional: false;
|
|
852
|
+
};
|
|
853
|
+
name: {
|
|
854
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
855
|
+
isOptional: false;
|
|
856
|
+
};
|
|
857
|
+
slug: {
|
|
858
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
859
|
+
isOptional: true;
|
|
860
|
+
};
|
|
861
|
+
logo: {
|
|
862
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
863
|
+
isOptional: true;
|
|
864
|
+
};
|
|
865
|
+
description: {
|
|
866
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
867
|
+
isOptional: true;
|
|
868
|
+
};
|
|
869
|
+
type: {
|
|
870
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
871
|
+
isOptional: false;
|
|
872
|
+
};
|
|
873
|
+
onboardingCompleted: {
|
|
874
|
+
type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
|
|
875
|
+
isOptional: false;
|
|
876
|
+
};
|
|
877
|
+
createdAt: {
|
|
878
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
879
|
+
isOptional: false;
|
|
880
|
+
};
|
|
881
|
+
role: {
|
|
882
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
883
|
+
isOptional: false;
|
|
884
|
+
};
|
|
885
|
+
}>;
|
|
887
886
|
isOptional: false;
|
|
888
|
-
|
|
889
|
-
}
|
|
890
|
-
isOptional: false;
|
|
891
|
-
isArray: true;
|
|
892
|
-
};
|
|
887
|
+
isArray: true;
|
|
888
|
+
};
|
|
893
889
|
}>, undefined>;
|
|
894
|
-
//#endregion
|
|
895
|
-
export { AcceptInviteContract, AcceptInviteInputModel, CreateOrgContract, CreateOrgInputModel, GetOrgContract, GetOrgInputModel, InvitationModel, InviteMemberContract, InviteMemberInputModel, ListMembersContract, ListMembersInputModel, ListMembersOutputModel, ListUserOrgsContract, ListUserOrgsOutputModel, MemberModel, MemberRemovedPayloadModel, MemberUserModel, OrganizationModel, OrganizationWithRoleModel, RemoveMemberContract, RemoveMemberInputModel, UpdateOrgContract, UpdateOrgInputModel };
|
|
896
890
|
//# sourceMappingURL=organization.d.ts.map
|