@resolution/organizations-api-client 0.14.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.
Files changed (75) hide show
  1. package/LICENSE.md +19 -0
  2. package/README.md +110 -0
  3. package/lib/index.d.ts +39 -0
  4. package/lib/index.js +46 -0
  5. package/lib/index.js.map +1 -0
  6. package/lib/openapi/core/CommonHttpClient.d.ts +316 -0
  7. package/lib/openapi/core/CommonHttpClient.js +639 -0
  8. package/lib/openapi/core/CommonHttpClient.js.map +1 -0
  9. package/lib/openapi/core/CommonHttpService.d.ts +26 -0
  10. package/lib/openapi/core/CommonHttpService.js +40 -0
  11. package/lib/openapi/core/CommonHttpService.js.map +1 -0
  12. package/lib/openapi/core/CommonValidationSchemaStorage.d.ts +35 -0
  13. package/lib/openapi/core/CommonValidationSchemaStorage.js +63 -0
  14. package/lib/openapi/core/CommonValidationSchemaStorage.js.map +1 -0
  15. package/lib/openapi/organizations/BaseOrganizationsApiClient.d.ts +94 -0
  16. package/lib/openapi/organizations/BaseOrganizationsApiClient.js +127 -0
  17. package/lib/openapi/organizations/BaseOrganizationsApiClient.js.map +1 -0
  18. package/lib/openapi/organizations/models/common.d.ts +222 -0
  19. package/lib/openapi/organizations/models/common.js +66 -0
  20. package/lib/openapi/organizations/models/common.js.map +1 -0
  21. package/lib/openapi/organizations/models/directory.d.ts +151 -0
  22. package/lib/openapi/organizations/models/directory.js +58 -0
  23. package/lib/openapi/organizations/models/directory.js.map +1 -0
  24. package/lib/openapi/organizations/models/domains.d.ts +52 -0
  25. package/lib/openapi/organizations/models/domains.js +35 -0
  26. package/lib/openapi/organizations/models/domains.js.map +1 -0
  27. package/lib/openapi/organizations/models/events.d.ts +280 -0
  28. package/lib/openapi/organizations/models/events.js +129 -0
  29. package/lib/openapi/organizations/models/events.js.map +1 -0
  30. package/lib/openapi/organizations/models/groups.d.ts +297 -0
  31. package/lib/openapi/organizations/models/groups.js +114 -0
  32. package/lib/openapi/organizations/models/groups.js.map +1 -0
  33. package/lib/openapi/organizations/models/orgs.d.ts +52 -0
  34. package/lib/openapi/organizations/models/orgs.js +36 -0
  35. package/lib/openapi/organizations/models/orgs.js.map +1 -0
  36. package/lib/openapi/organizations/models/policies.d.ts +169 -0
  37. package/lib/openapi/organizations/models/policies.js +101 -0
  38. package/lib/openapi/organizations/models/policies.js.map +1 -0
  39. package/lib/openapi/organizations/models/users.d.ts +477 -0
  40. package/lib/openapi/organizations/models/users.js +178 -0
  41. package/lib/openapi/organizations/models/users.js.map +1 -0
  42. package/lib/openapi/organizations/models/workspaces.d.ts +200 -0
  43. package/lib/openapi/organizations/models/workspaces.js +106 -0
  44. package/lib/openapi/organizations/models/workspaces.js.map +1 -0
  45. package/lib/openapi/organizations/services/DirectoryService.d.ts +637 -0
  46. package/lib/openapi/organizations/services/DirectoryService.js +599 -0
  47. package/lib/openapi/organizations/services/DirectoryService.js.map +1 -0
  48. package/lib/openapi/organizations/services/DomainsService.d.ts +51 -0
  49. package/lib/openapi/organizations/services/DomainsService.js +89 -0
  50. package/lib/openapi/organizations/services/DomainsService.js.map +1 -0
  51. package/lib/openapi/organizations/services/EventsService.d.ts +142 -0
  52. package/lib/openapi/organizations/services/EventsService.js +187 -0
  53. package/lib/openapi/organizations/services/EventsService.js.map +1 -0
  54. package/lib/openapi/organizations/services/GroupsService.d.ts +268 -0
  55. package/lib/openapi/organizations/services/GroupsService.js +210 -0
  56. package/lib/openapi/organizations/services/GroupsService.js.map +1 -0
  57. package/lib/openapi/organizations/services/OrgsService.d.ts +38 -0
  58. package/lib/openapi/organizations/services/OrgsService.js +79 -0
  59. package/lib/openapi/organizations/services/OrgsService.js.map +1 -0
  60. package/lib/openapi/organizations/services/PoliciesService.d.ts +172 -0
  61. package/lib/openapi/organizations/services/PoliciesService.js +272 -0
  62. package/lib/openapi/organizations/services/PoliciesService.js.map +1 -0
  63. package/lib/openapi/organizations/services/UsersService.d.ts +310 -0
  64. package/lib/openapi/organizations/services/UsersService.js +214 -0
  65. package/lib/openapi/organizations/services/UsersService.js.map +1 -0
  66. package/lib/openapi/organizations/services/ValidateService.d.ts +25 -0
  67. package/lib/openapi/organizations/services/ValidateService.js +38 -0
  68. package/lib/openapi/organizations/services/ValidateService.js.map +1 -0
  69. package/lib/openapi/organizations/services/WorkspacesService.d.ts +78 -0
  70. package/lib/openapi/organizations/services/WorkspacesService.js +63 -0
  71. package/lib/openapi/organizations/services/WorkspacesService.js.map +1 -0
  72. package/lib/openapi/organizations/validationSchemaStorage.d.ts +3 -0
  73. package/lib/openapi/organizations/validationSchemaStorage.js +134 -0
  74. package/lib/openapi/organizations/validationSchemaStorage.js.map +1 -0
  75. package/package.json +47 -0
@@ -0,0 +1,477 @@
1
+ import type { CommonValidationSchemaStorage } from "../../core/CommonValidationSchemaStorage";
2
+ import { type LinkSelfCursor, type LinkPageCursor, type ResourceId, type ResourceOwner, type RoleIds, type LinkSelfModel, type LinkPageModel } from "./common";
3
+ import { type ZodTypeAny } from "zod";
4
+ /**
5
+ * The lifecycle status of the account.
6
+ * - `active` - The account is active and can be used.
7
+ * - `inactive` - The account is inactive and doesn't have access to any
8
+ * resources.
9
+ * - `closed` - The account is closed and can't be used.
10
+ *
11
+ * @example
12
+ * ```
13
+ * active
14
+ * ```
15
+ * @category Models
16
+ */
17
+ export type AccountStatus = "active" | "inactive" | "closed";
18
+ /** @category Models */
19
+ export type AccountStatusCounts = unknown;
20
+ /**
21
+ * The type of account.
22
+ *
23
+ * @example
24
+ * ```
25
+ * atlassian
26
+ * ```
27
+ * @category Models
28
+ */
29
+ export type AccountType = "atlassian";
30
+ /**
31
+ * The claim status for the user account.
32
+ * - `managed` - Returns only managed accounts. For more on managed accounts:
33
+ * https://support.atlassian.com/user-management/docs/what-are-managed-accounts/.
34
+ * - `unmanaged` - Returns only unmanaged accounts.
35
+ *
36
+ * @example
37
+ * ```
38
+ * unmanaged
39
+ * ```
40
+ * @category Models
41
+ */
42
+ export type ClaimStatus = "managed" | "unmanaged";
43
+ /** @category Models */
44
+ export interface EmailDomains extends Record<string, unknown> {
45
+ /**
46
+ * The list of email domains to filter by, eg: for `abc@hello.com`, emailDomain is
47
+ * `hello.com`. Sample query param `{"emailDomains":{"eq":["hello.com"]}}`
48
+ */
49
+ eq?: string[];
50
+ /** Partial email domain filter */
51
+ contains?: string;
52
+ }
53
+ /** @category Models */
54
+ export interface EmailUsernames extends Record<string, unknown> {
55
+ /**
56
+ * The list of email usernames to filter by, eg: for `abc@hello.com`,
57
+ * emailUsername is `abc`. Sample query param `{"emailUsernames":{"eq":["abc"]}}`
58
+ */
59
+ eq?: string[];
60
+ /** Partial email username filter */
61
+ contains?: string;
62
+ }
63
+ /**
64
+ * The membership status is the status of the user account in the organization.
65
+ * - `active` - the account has an active membership for one or more directories
66
+ * within the organization.
67
+ * - `suspended` - the account is suspended in all directories within the
68
+ * organization, to which the requestor has permission to access.
69
+ * - `no_membership` - the account is in none of the organization’s directories.
70
+ *
71
+ * @category Models
72
+ */
73
+ export type MembershipStatus = "active" | "suspended" | "no_membership";
74
+ /** @category Models */
75
+ export interface MultiDirectoryUser extends Record<string, unknown> {
76
+ /**
77
+ * Unique ID of the user's account.
78
+ *
79
+ * @example
80
+ * ```
81
+ * 12345678-1234-1234-1234-123456789012
82
+ * ```
83
+ */
84
+ accountId?: string;
85
+ /**
86
+ * The type of account.
87
+ *
88
+ * @example
89
+ * ```
90
+ * atlassian
91
+ * ```
92
+ */
93
+ accountType?: AccountType;
94
+ /**
95
+ * The status for the user account. This status is a composite of `accountStatus`
96
+ * and `membershipStatus`.
97
+ * - `active` - `accountStatus` is `active` and `membershipStatus` is `active`.
98
+ * - `suspended` - `accountStatus` is `active` and `membershipStatus` is
99
+ * `suspended`.
100
+ * - `not_invited` - `accountStatus` is `active` and `membershipStatus` is
101
+ * `no_membership`.
102
+ * - `deactivated` - `accountStatus` is `inactive`.
103
+ *
104
+ * @example
105
+ * ```
106
+ * active
107
+ * ```
108
+ */
109
+ status?: Status;
110
+ /**
111
+ * The lifecycle status of the account.
112
+ * - `active` - The account is active and can be used.
113
+ * - `inactive` - The account is inactive and doesn't have access to any
114
+ * resources.
115
+ * - `closed` - The account is closed and can't be used.
116
+ *
117
+ * @example
118
+ * ```
119
+ * active
120
+ * ```
121
+ */
122
+ accountStatus?: AccountStatus;
123
+ /**
124
+ * The membership status is the status of the user account in the organization.
125
+ * - `active` - the account has an active membership for one or more directories
126
+ * within the organization.
127
+ * - `suspended` - the account is suspended in all directories within the
128
+ * organization, to which the requestor has permission to access.
129
+ * - `no_membership` - the account is in none of the organization’s directories.
130
+ */
131
+ membershipStatus?: MembershipStatus;
132
+ /**
133
+ * The ISO-8601 date and time the user was first added to the organization.
134
+ *
135
+ * @example
136
+ * ```
137
+ * 2024-01-01T00:00:00.000Z
138
+ * ```
139
+ */
140
+ addedToOrg?: string;
141
+ /**
142
+ * The full name of the user.
143
+ *
144
+ * @example
145
+ * ```
146
+ * JohnDoe
147
+ * ```
148
+ */
149
+ name?: string;
150
+ /**
151
+ * The nickname of the user.
152
+ *
153
+ * @example
154
+ * ```
155
+ * Jonny
156
+ * ```
157
+ */
158
+ nickname?: string;
159
+ /**
160
+ * The email address of the user.
161
+ *
162
+ * @example
163
+ * ```
164
+ * email@example.com
165
+ * ```
166
+ */
167
+ email?: string;
168
+ /**
169
+ * The email verification status of the user. If true, the user verified their
170
+ * email after creating their account.
171
+ *
172
+ * @example
173
+ * ```
174
+ * true
175
+ * ```
176
+ */
177
+ emailVerified?: boolean;
178
+ /**
179
+ * The claim status for the user account.
180
+ * - `managed` - Returns only managed accounts. For more on managed accounts:
181
+ * https://support.atlassian.com/user-management/docs/what-are-managed-accounts/.
182
+ * - `unmanaged` - Returns only unmanaged accounts.
183
+ *
184
+ * @example
185
+ * ```
186
+ * unmanaged
187
+ * ```
188
+ */
189
+ claimStatus?: ClaimStatus;
190
+ /**
191
+ * The admin role IDs of the user. The role IDs are used to determine the
192
+ * permissions of the user.
193
+ */
194
+ platformRoles?: PlatformRole[];
195
+ /**
196
+ * The URL of the user's profile picture.
197
+ *
198
+ * @example
199
+ * ```
200
+ * https://picture.example.com/picture.png
201
+ * ```
202
+ */
203
+ picture?: string;
204
+ /**
205
+ * The URL of the user's public avatar.
206
+ *
207
+ * @example
208
+ * ```
209
+ * https://avatar.example.com/avatar.png
210
+ * ```
211
+ */
212
+ avatar?: string;
213
+ /** The number of objects associated with the user. */
214
+ counts?: UserCounts;
215
+ /** Links for a resource with a self cursor, for use in a cursor parameter. */
216
+ links?: LinkSelfCursor;
217
+ }
218
+ /** @category Models */
219
+ export interface MultiDirectoryUserPage extends Record<string, unknown> {
220
+ /** A page of users. */
221
+ data?: MultiDirectoryUser[];
222
+ /** Links for a paginated response, for use in a cursor parameter. */
223
+ links?: LinkPageCursor;
224
+ }
225
+ /** @category Models */
226
+ export interface MultiDirectoryUserRoleAssignment extends Record<string, unknown> {
227
+ /**
228
+ * The resource ID from the role assignment relationship. The resource ID is in
229
+ * the Atlassian Resource Identifier (ARI) format.
230
+ *
231
+ * @example
232
+ * ```
233
+ * ari:cloud:jira-core::site/1
234
+ * ```
235
+ */
236
+ resourceId?: ResourceId;
237
+ /**
238
+ * The resource owner of the product.
239
+ *
240
+ * @example
241
+ * ```
242
+ * jira-core
243
+ * ```
244
+ */
245
+ resourceOwner?: ResourceOwner;
246
+ /** The list of role IDs the user has for that resource ID. */
247
+ roles?: RoleIds[];
248
+ }
249
+ /** @category Models */
250
+ export interface MultiDirectoryUserRoleAssignmentPage extends Record<string, unknown> {
251
+ /** A page of user role assignments. */
252
+ data?: MultiDirectoryUserRoleAssignment[];
253
+ /** Links for a paginated response, for use in a cursor parameter. */
254
+ links?: LinkPageCursor;
255
+ }
256
+ /** @category Models */
257
+ export interface MultiDirectoryUserStats extends Record<string, unknown> {
258
+ /** User counts associated with different role IDs. */
259
+ roles?: RoleIdCounts[];
260
+ /**
261
+ * User counts associated with different account statuses.
262
+ *
263
+ * @example
264
+ * ```
265
+ * [
266
+ * {
267
+ * "status": "active",
268
+ * "count": 5
269
+ * },
270
+ * {
271
+ * "status": "inactive",
272
+ * "count": 1
273
+ * },
274
+ * {
275
+ * "status": "closed",
276
+ * "count": 2
277
+ * }
278
+ * ]
279
+ * ```
280
+ */
281
+ accountStatus?: AccountStatusCounts[];
282
+ }
283
+ /** @category Models */
284
+ export interface NamesOrNicknames extends Record<string, unknown> {
285
+ /** Names or nicknames filter */
286
+ eq?: string[];
287
+ /** Partial name or nickname filter */
288
+ contains?: string;
289
+ }
290
+ /**
291
+ * @example
292
+ * ```
293
+ * [
294
+ * "atlassian/org-admin"
295
+ * ]
296
+ * ```
297
+ * @category Models
298
+ */
299
+ export type PlatformRole = "atlassian/org-admin" | "atlassian/site-admin" | "atlassian/user-access-admin";
300
+ /** @category Models */
301
+ export interface Product extends Record<string, unknown> {
302
+ /** Unique key of the Product */
303
+ key: "jira-software" | "jira-service-desk" | "jira-core" | "jira-ops" | "stride" | "hipchat" | "confluence" | "bitbucket" | "trello" | "opsgenie" | "statuspage";
304
+ /** Name of the Product */
305
+ name: string;
306
+ /** URL of the Product */
307
+ url?: string;
308
+ /** Last active date for a product */
309
+ last_active?: string;
310
+ }
311
+ /**
312
+ * The current page of search results
313
+ *
314
+ * @category Models
315
+ */
316
+ export interface PublicUser extends Record<string, unknown> {
317
+ /** Unique ID of the users account. The format is `[a-zA-Z0-9_|-:]{1,128}` */
318
+ accountId?: string;
319
+ /**
320
+ * The display name of the user. Should be used for contextual rendering of the
321
+ * authorship in content. If the user has restricted visibility of their name,
322
+ * their nickname is displayed as a substitute value
323
+ */
324
+ name?: string;
325
+ /**
326
+ * The nickname of the user. Should be used for mentions or other in content
327
+ * references to the user.
328
+ */
329
+ nickname?: string;
330
+ /** The type of account */
331
+ accountType?: "atlassian" | "customer" | "app";
332
+ /** The lifecycle status of the account */
333
+ accountStatus?: "active" | "partial" | "inactive" | "closed";
334
+ /**
335
+ * The email address of the user. The email will be absent for any user with an
336
+ * account_type of `app`
337
+ */
338
+ email?: string;
339
+ /** The email verification status of the user. */
340
+ emailVerified?: boolean;
341
+ /** The status of the user in the userbase */
342
+ statusInUserbase?: boolean;
343
+ }
344
+ /** @category Models */
345
+ export interface RoleIdCounts extends Record<string, unknown> {
346
+ /**
347
+ * The ID of the role.
348
+ *
349
+ * @example
350
+ * ```
351
+ * atlassian/org-admin
352
+ * ```
353
+ */
354
+ roleId?: string;
355
+ /**
356
+ * The number of users with this role.
357
+ *
358
+ * @example
359
+ * ```
360
+ * 3
361
+ * ```
362
+ */
363
+ count?: number;
364
+ }
365
+ /**
366
+ * The status for the user account. This status is a composite of `accountStatus`
367
+ * and `membershipStatus`.
368
+ * - `active` - `accountStatus` is `active` and `membershipStatus` is `active`.
369
+ * - `suspended` - `accountStatus` is `active` and `membershipStatus` is
370
+ * `suspended`.
371
+ * - `not_invited` - `accountStatus` is `active` and `membershipStatus` is
372
+ * `no_membership`.
373
+ * - `deactivated` - `accountStatus` is `inactive`.
374
+ *
375
+ * @example
376
+ * ```
377
+ * active
378
+ * ```
379
+ * @category Models
380
+ */
381
+ export type Status = "active" | "suspended" | "not_invited" | "deactivated";
382
+ /** @category Models */
383
+ export interface User extends Record<string, unknown> {
384
+ /** Unique ID of the users account. The format is `[a-zA-Z0-9_|-:]{1,128}` */
385
+ account_id: string;
386
+ /** The type of account */
387
+ account_type: "atlassian" | "customer" | "app";
388
+ /** The lifecycle status of the account */
389
+ account_status: "active" | "inactive" | "closed";
390
+ /**
391
+ * The display name of the user. Should be used for contextual rendering of the
392
+ * authorship in content. If the user has restricted visibility of their name,
393
+ * their nickname will be displayed as a substitute value
394
+ */
395
+ name: string;
396
+ /**
397
+ * The absolute URI (RFC3986) to the avatar name of the user. Should be used for
398
+ * contextual rendering of the authorship in content. If the user has restricted
399
+ * visibility of their avatar, an alternative URI will be provided as a substitute
400
+ * value
401
+ */
402
+ picture: string;
403
+ /**
404
+ * The email address of the user. If the user has restricted visibility of the
405
+ * email address, the property will be absent
406
+ */
407
+ email?: string;
408
+ /** Billable status of User in Atlassian Guard Standard */
409
+ access_billable?: boolean;
410
+ /** Last active date for a user */
411
+ last_active?: string;
412
+ /** Products which the User is using */
413
+ product_access?: Product[];
414
+ links?: LinkSelfModel;
415
+ }
416
+ /**
417
+ * The number of objects associated with the user.
418
+ *
419
+ * @category Models
420
+ */
421
+ export interface UserCounts extends Record<string, unknown> {
422
+ /**
423
+ * The number of resources the user has roles assigned to, linked to the
424
+ * directories the requestor can manage.
425
+ *
426
+ * @example
427
+ * ```
428
+ * 10
429
+ * ```
430
+ */
431
+ resources?: number;
432
+ }
433
+ /** @category Models */
434
+ export interface UserPage extends Record<string, unknown> {
435
+ /** 0 or more values of Users are returned */
436
+ data?: User[];
437
+ meta?: {
438
+ /** Total number of users in this Query */
439
+ total?: number;
440
+ } & {
441
+ [key: string]: unknown;
442
+ };
443
+ /** Links for a Paginated response */
444
+ links?: LinkPageModel;
445
+ }
446
+ /** @category Models */
447
+ export interface UsersSearchPage extends Record<string, unknown> {
448
+ data: PublicUser[];
449
+ /** Links for a Paginated response */
450
+ links?: LinkPageModel;
451
+ }
452
+ /** @category Models */
453
+ export interface UsersSearchRequest extends Record<string, unknown> {
454
+ /** Unique ID of the users account. The format is `[a-zA-Z0-9_|-:]{1,128}` */
455
+ accountIds?: string[];
456
+ /** The type of account */
457
+ accountTypes?: ("atlassian" | "customer" | "app")[];
458
+ /** The lifecycle status of the account */
459
+ accountStatuses?: ("ACTIVE" | "INACTIVE")[];
460
+ namesOrNicknames?: NamesOrNicknames;
461
+ emailUsernames?: EmailUsernames;
462
+ emailDomains?: EmailDomains;
463
+ /** Suspended users with no access. This is independent of the user account status */
464
+ isSuspended?: boolean;
465
+ /** Starting point marker for page result retrieval */
466
+ cursor?: string;
467
+ /** The number of items to return. Default = max = 10000 */
468
+ limit?: number;
469
+ /**
470
+ * Indicates the user information fields to include in the response. If
471
+ * unspecified, the response defaults to including only the accountId,
472
+ * accountType, and accountStatus fields.
473
+ * The data for the product last access may be delayed by up to 24 hours.
474
+ */
475
+ expand?: ("NAME" | "EMAIL" | "EMAIL_VERIFIED" | "PRODUCT_LAST_ACCESS" | "GROUPS")[];
476
+ }
477
+ export declare function registerUsersValidationSchemas(validationSchemaStorage: CommonValidationSchemaStorage<ZodTypeAny>): void;
@@ -0,0 +1,178 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.registerUsersValidationSchemas = void 0;
4
+ const common_1 = require("./common");
5
+ const zod_1 = require("zod");
6
+ function registerUsersValidationSchemas(validationSchemaStorage) {
7
+ validationSchemaStorage.register("AccountStatus", zod_1.z.enum(["active", "inactive", "closed"]).describe("AccountStatus"));
8
+ validationSchemaStorage.register("AccountStatusCounts", zod_1.z.unknown().describe("AccountStatusCounts"));
9
+ validationSchemaStorage.register("AccountType", zod_1.z.literal("atlassian").describe("AccountType"));
10
+ validationSchemaStorage.register("ClaimStatus", zod_1.z.enum(["managed", "unmanaged"]).describe("ClaimStatus"));
11
+ validationSchemaStorage.register("EmailDomains", zod_1.z.object({
12
+ eq: zod_1.z.array(zod_1.z.string().min(0).max(100)).min(0).max(100).superRefine((items, ctx) => {
13
+ if (new Set(items).size !== items.length) {
14
+ ctx.addIssue({
15
+ code: zod_1.z.ZodIssueCode.custom,
16
+ path: [],
17
+ message: "Array items must be unique"
18
+ });
19
+ }
20
+ }).optional(),
21
+ contains: zod_1.z.string().optional()
22
+ }).catchall(zod_1.z.unknown()).describe("EmailDomains"));
23
+ validationSchemaStorage.register("EmailUsernames", zod_1.z.object({
24
+ eq: zod_1.z.array(zod_1.z.string().min(0).max(100)).min(0).max(100).superRefine((items, ctx) => {
25
+ if (new Set(items).size !== items.length) {
26
+ ctx.addIssue({
27
+ code: zod_1.z.ZodIssueCode.custom,
28
+ path: [],
29
+ message: "Array items must be unique"
30
+ });
31
+ }
32
+ }).optional(),
33
+ contains: zod_1.z.string().optional()
34
+ }).catchall(zod_1.z.unknown()).describe("EmailUsernames"));
35
+ validationSchemaStorage.register("MembershipStatus", zod_1.z.enum(["active", "suspended", "no_membership"]).describe("MembershipStatus"));
36
+ validationSchemaStorage.register("MultiDirectoryUser", zod_1.z.object({
37
+ accountId: zod_1.z.string().optional(),
38
+ accountType: validationSchemaStorage.lazy("AccountType").optional(),
39
+ status: validationSchemaStorage.lazy("Status").optional(),
40
+ accountStatus: validationSchemaStorage.lazy("AccountStatus").optional(),
41
+ membershipStatus: validationSchemaStorage.lazy("MembershipStatus").optional(),
42
+ addedToOrg: zod_1.z.string().optional(),
43
+ name: zod_1.z.string().optional(),
44
+ nickname: zod_1.z.string().optional(),
45
+ email: zod_1.z.string().optional(),
46
+ emailVerified: zod_1.z.boolean().optional(),
47
+ claimStatus: validationSchemaStorage.lazy("ClaimStatus").optional(),
48
+ platformRoles: zod_1.z.array(validationSchemaStorage.lazy("PlatformRole")).optional(),
49
+ picture: zod_1.z.string().optional(),
50
+ avatar: zod_1.z.string().optional(),
51
+ counts: validationSchemaStorage.lazy("UserCounts").optional(),
52
+ links: validationSchemaStorage.lazy("LinkSelfCursor").optional()
53
+ }).catchall(zod_1.z.unknown()).describe("MultiDirectoryUser"));
54
+ validationSchemaStorage.register("MultiDirectoryUserPage", zod_1.z.object({
55
+ data: zod_1.z.array(validationSchemaStorage.lazy("MultiDirectoryUser")).optional(),
56
+ links: validationSchemaStorage.lazy("LinkPageCursor").optional()
57
+ }).catchall(zod_1.z.unknown()).describe("MultiDirectoryUserPage"));
58
+ validationSchemaStorage.register("MultiDirectoryUserRoleAssignment", zod_1.z.object({
59
+ resourceId: validationSchemaStorage.lazy("ResourceId").optional(),
60
+ resourceOwner: validationSchemaStorage.lazy("ResourceOwner").optional(),
61
+ roles: zod_1.z.array(validationSchemaStorage.lazy("RoleIds")).optional()
62
+ }).catchall(zod_1.z.unknown()).describe("MultiDirectoryUserRoleAssignment"));
63
+ validationSchemaStorage.register("MultiDirectoryUserRoleAssignmentPage", zod_1.z.object({
64
+ data: zod_1.z.array(validationSchemaStorage.lazy("MultiDirectoryUserRoleAssignment")).optional(),
65
+ links: validationSchemaStorage.lazy("LinkPageCursor").optional()
66
+ }).catchall(zod_1.z.unknown()).describe("MultiDirectoryUserRoleAssignmentPage"));
67
+ validationSchemaStorage.register("MultiDirectoryUserStats", zod_1.z.object({
68
+ roles: zod_1.z.array(validationSchemaStorage.lazy("RoleIdCounts")).optional(),
69
+ accountStatus: zod_1.z.array(validationSchemaStorage.lazy("AccountStatusCounts")).optional()
70
+ }).catchall(zod_1.z.unknown()).describe("MultiDirectoryUserStats"));
71
+ validationSchemaStorage.register("NamesOrNicknames", zod_1.z.object({
72
+ eq: zod_1.z.array(zod_1.z.string().min(0).max(100)).min(0).max(100).superRefine((items, ctx) => {
73
+ if (new Set(items).size !== items.length) {
74
+ ctx.addIssue({
75
+ code: zod_1.z.ZodIssueCode.custom,
76
+ path: [],
77
+ message: "Array items must be unique"
78
+ });
79
+ }
80
+ }).optional(),
81
+ contains: zod_1.z.string().optional()
82
+ }).catchall(zod_1.z.unknown()).describe("NamesOrNicknames"));
83
+ validationSchemaStorage.register("PlatformRole", zod_1.z.enum(["atlassian/org-admin", "atlassian/site-admin", "atlassian/user-access-admin"]).describe("PlatformRole"));
84
+ validationSchemaStorage.register("Product", zod_1.z.object({
85
+ key: zod_1.z.enum(["jira-software", "jira-service-desk", "jira-core", "jira-ops", "stride", "hipchat", "confluence", "bitbucket", "trello", "opsgenie", "statuspage"]),
86
+ name: zod_1.z.string(),
87
+ url: zod_1.z.string().optional(),
88
+ last_active: zod_1.z.string().optional()
89
+ }).catchall(zod_1.z.unknown()).describe("Product"));
90
+ validationSchemaStorage.register("PublicUser", zod_1.z.object({
91
+ accountId: zod_1.z.string().optional(),
92
+ name: zod_1.z.string().optional(),
93
+ nickname: zod_1.z.string().optional(),
94
+ accountType: zod_1.z.enum(["atlassian", "customer", "app"]).optional(),
95
+ accountStatus: zod_1.z.enum(["active", "partial", "inactive", "closed"]).optional(),
96
+ email: zod_1.z.string().optional(),
97
+ emailVerified: zod_1.z.boolean().optional(),
98
+ statusInUserbase: zod_1.z.boolean().optional()
99
+ }).catchall(zod_1.z.unknown()).describe("PublicUser"));
100
+ validationSchemaStorage.register("RoleIdCounts", zod_1.z.object({
101
+ roleId: zod_1.z.string().optional(),
102
+ count: zod_1.z.number().int().optional()
103
+ }).catchall(zod_1.z.unknown()).describe("RoleIdCounts"));
104
+ validationSchemaStorage.register("Status", zod_1.z.enum(["active", "suspended", "not_invited", "deactivated"]).describe("Status"));
105
+ validationSchemaStorage.register("User", zod_1.z.object({
106
+ account_id: zod_1.z.string(),
107
+ account_type: zod_1.z.enum(["atlassian", "customer", "app"]),
108
+ account_status: zod_1.z.enum(["active", "inactive", "closed"]),
109
+ name: zod_1.z.string(),
110
+ picture: zod_1.z.string(),
111
+ email: zod_1.z.string().optional(),
112
+ access_billable: zod_1.z.boolean().optional(),
113
+ last_active: zod_1.z.string().optional(),
114
+ product_access: zod_1.z.array(validationSchemaStorage.lazy("Product")).optional(),
115
+ links: validationSchemaStorage.lazy("LinkSelfModel").optional()
116
+ }).catchall(zod_1.z.unknown()).describe("User"));
117
+ validationSchemaStorage.register("UserCounts", zod_1.z.object({
118
+ resources: zod_1.z.number().int().optional()
119
+ }).catchall(zod_1.z.unknown()).describe("UserCounts"));
120
+ validationSchemaStorage.register("UserPage", zod_1.z.object({
121
+ data: zod_1.z.array(validationSchemaStorage.lazy("User")).optional(),
122
+ meta: zod_1.z.object({
123
+ total: zod_1.z.number().int().optional()
124
+ }).catchall(zod_1.z.unknown()).optional(),
125
+ links: validationSchemaStorage.lazy("LinkPageModel").optional()
126
+ }).catchall(zod_1.z.unknown()).describe("UserPage"));
127
+ validationSchemaStorage.register("UsersSearchPage", zod_1.z.object({
128
+ data: zod_1.z.array(validationSchemaStorage.lazy("PublicUser")),
129
+ links: validationSchemaStorage.lazy("LinkPageModel").optional()
130
+ }).catchall(zod_1.z.unknown()).describe("UsersSearchPage"));
131
+ validationSchemaStorage.register("UsersSearchRequest", zod_1.z.object({
132
+ accountIds: zod_1.z.array(zod_1.z.string().min(0).max(100)).min(0).max(100).superRefine((items, ctx) => {
133
+ if (new Set(items).size !== items.length) {
134
+ ctx.addIssue({
135
+ code: zod_1.z.ZodIssueCode.custom,
136
+ path: [],
137
+ message: "Array items must be unique"
138
+ });
139
+ }
140
+ }).optional(),
141
+ accountTypes: zod_1.z.array(zod_1.z.enum(["atlassian", "customer", "app"])).superRefine((items, ctx) => {
142
+ if (new Set(items).size !== items.length) {
143
+ ctx.addIssue({
144
+ code: zod_1.z.ZodIssueCode.custom,
145
+ path: [],
146
+ message: "Array items must be unique"
147
+ });
148
+ }
149
+ }).optional(),
150
+ accountStatuses: zod_1.z.array(zod_1.z.enum(["ACTIVE", "INACTIVE"])).superRefine((items, ctx) => {
151
+ if (new Set(items).size !== items.length) {
152
+ ctx.addIssue({
153
+ code: zod_1.z.ZodIssueCode.custom,
154
+ path: [],
155
+ message: "Array items must be unique"
156
+ });
157
+ }
158
+ }).optional(),
159
+ namesOrNicknames: validationSchemaStorage.lazy("NamesOrNicknames").optional(),
160
+ emailUsernames: validationSchemaStorage.lazy("EmailUsernames").optional(),
161
+ emailDomains: validationSchemaStorage.lazy("EmailDomains").optional(),
162
+ isSuspended: zod_1.z.boolean().optional(),
163
+ cursor: zod_1.z.string().optional(),
164
+ limit: zod_1.z.number().int().min(1).max(10000).optional(),
165
+ expand: zod_1.z.array(zod_1.z.enum(["NAME", "EMAIL", "EMAIL_VERIFIED", "PRODUCT_LAST_ACCESS", "GROUPS"])).superRefine((items, ctx) => {
166
+ if (new Set(items).size !== items.length) {
167
+ ctx.addIssue({
168
+ code: zod_1.z.ZodIssueCode.custom,
169
+ path: [],
170
+ message: "Array items must be unique"
171
+ });
172
+ }
173
+ }).optional()
174
+ }).catchall(zod_1.z.unknown()).describe("UsersSearchRequest"));
175
+ validationSchemaStorage.registerOnce([common_1.registerCommonValidationSchemas]);
176
+ }
177
+ exports.registerUsersValidationSchemas = registerUsersValidationSchemas;
178
+ //# source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