@nizam-os/dashboard-sdk 10.0.0 → 11.1.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 (155) hide show
  1. package/dist/api/resources/activity/client/Client.d.ts +1 -1
  2. package/dist/api/resources/activity/client/Client.js +2 -2
  3. package/dist/api/resources/activity/client/requests/ListActivityRequest.d.ts +3 -2
  4. package/dist/api/resources/activity/index.d.ts +1 -0
  5. package/dist/api/resources/activity/index.js +1 -0
  6. package/dist/api/resources/activity/types/ListActivityRequestSortItem.d.ts +5 -0
  7. package/dist/api/resources/activity/types/ListActivityRequestSortItem.js +8 -0
  8. package/dist/api/resources/activity/types/index.d.ts +1 -0
  9. package/dist/api/resources/activity/types/index.js +17 -0
  10. package/dist/api/resources/assets/client/Client.d.ts +256 -1
  11. package/dist/api/resources/assets/client/Client.js +764 -5
  12. package/dist/api/resources/assets/client/requests/ActivateAssetRequest.d.ts +9 -0
  13. package/dist/api/resources/assets/client/requests/ActivateAssetRequest.js +3 -0
  14. package/dist/api/resources/assets/client/requests/AllowedTransitionsRequest.d.ts +10 -0
  15. package/dist/api/resources/assets/client/requests/AllowedTransitionsRequest.js +3 -0
  16. package/dist/api/resources/assets/client/requests/CreateAssetRequest.d.ts +25 -0
  17. package/dist/api/resources/assets/client/requests/CreateAssetRequest.js +10 -0
  18. package/dist/api/resources/assets/client/requests/DeactivateAssetRequest.d.ts +9 -0
  19. package/dist/api/resources/assets/client/requests/DeactivateAssetRequest.js +3 -0
  20. package/dist/api/resources/assets/client/requests/DeleteAssetRequest.d.ts +9 -0
  21. package/dist/api/resources/assets/client/requests/DeleteAssetRequest.js +3 -0
  22. package/dist/api/resources/assets/client/requests/EnterAssetMaintenanceRequest.d.ts +9 -0
  23. package/dist/api/resources/assets/client/requests/EnterAssetMaintenanceRequest.js +3 -0
  24. package/dist/api/resources/assets/client/requests/ExportAssetsRequest.d.ts +44 -0
  25. package/dist/api/resources/assets/client/requests/ExportAssetsRequest.js +31 -0
  26. package/dist/api/resources/assets/client/requests/ListAssetsRequest.d.ts +13 -6
  27. package/dist/api/resources/assets/client/requests/ReportAssetLostRequest.d.ts +9 -0
  28. package/dist/api/resources/assets/client/requests/ReportAssetLostRequest.js +3 -0
  29. package/dist/api/resources/assets/client/requests/RetireAssetRequest.d.ts +9 -0
  30. package/dist/api/resources/assets/client/requests/RetireAssetRequest.js +3 -0
  31. package/dist/api/resources/assets/client/requests/SellAssetRequest.d.ts +9 -0
  32. package/dist/api/resources/assets/client/requests/SellAssetRequest.js +3 -0
  33. package/dist/api/resources/assets/client/requests/TakeAssetOutOfServiceRequest.d.ts +9 -0
  34. package/dist/api/resources/assets/client/requests/TakeAssetOutOfServiceRequest.js +3 -0
  35. package/dist/api/resources/assets/client/requests/UpdateAssetRequest.d.ts +36 -0
  36. package/dist/api/resources/assets/client/requests/UpdateAssetRequest.js +3 -0
  37. package/dist/api/resources/assets/client/requests/index.d.ts +11 -0
  38. package/dist/api/resources/assets/client/requests/index.js +3 -1
  39. package/dist/api/resources/assets/index.d.ts +1 -0
  40. package/dist/api/resources/assets/index.js +1 -0
  41. package/dist/api/resources/assets/types/ListAssetsRequestKindItem.d.ts +12 -0
  42. package/dist/api/resources/assets/types/ListAssetsRequestKindItem.js +15 -0
  43. package/dist/api/resources/assets/types/ListAssetsRequestSortItem.d.ts +25 -0
  44. package/dist/api/resources/assets/types/ListAssetsRequestSortItem.js +28 -0
  45. package/dist/api/resources/assets/types/ListAssetsRequestStatusItem.d.ts +10 -0
  46. package/dist/api/resources/assets/types/ListAssetsRequestStatusItem.js +13 -0
  47. package/dist/api/resources/assets/types/index.d.ts +3 -0
  48. package/dist/api/resources/assets/types/index.js +19 -0
  49. package/dist/api/resources/files/client/Client.d.ts +1 -1
  50. package/dist/api/resources/files/client/Client.js +4 -4
  51. package/dist/api/resources/files/client/requests/InitiateFileUploadRequest.d.ts +1 -0
  52. package/dist/api/resources/files/client/requests/InitiateFileUploadRequest.js +1 -0
  53. package/dist/api/resources/files/client/requests/ListFilesRequest.d.ts +7 -6
  54. package/dist/api/resources/files/index.d.ts +1 -0
  55. package/dist/api/resources/files/index.js +1 -0
  56. package/dist/api/resources/files/types/ListFilesRequestKindItem.d.ts +11 -0
  57. package/dist/api/resources/files/types/ListFilesRequestKindItem.js +14 -0
  58. package/dist/api/resources/files/types/ListFilesRequestSortItem.d.ts +5 -0
  59. package/dist/api/resources/files/types/ListFilesRequestSortItem.js +8 -0
  60. package/dist/api/resources/files/types/ListFilesRequestStatusItem.d.ts +6 -0
  61. package/dist/api/resources/files/types/ListFilesRequestStatusItem.js +9 -0
  62. package/dist/api/resources/files/types/index.d.ts +3 -0
  63. package/dist/api/resources/files/types/index.js +19 -0
  64. package/dist/api/resources/index.d.ts +7 -0
  65. package/dist/api/resources/index.js +7 -0
  66. package/dist/api/resources/jobs/client/Client.d.ts +1 -1
  67. package/dist/api/resources/jobs/client/Client.js +2 -2
  68. package/dist/api/resources/jobs/client/requests/ListJobsRequest.d.ts +3 -2
  69. package/dist/api/resources/jobs/index.d.ts +1 -0
  70. package/dist/api/resources/jobs/index.js +1 -0
  71. package/dist/api/resources/jobs/types/ListJobsRequestSortItem.d.ts +5 -0
  72. package/dist/api/resources/jobs/types/ListJobsRequestSortItem.js +8 -0
  73. package/dist/api/resources/jobs/types/index.d.ts +1 -0
  74. package/dist/api/resources/jobs/types/index.js +17 -0
  75. package/dist/api/resources/notifications/client/Client.d.ts +1 -1
  76. package/dist/api/resources/notifications/client/Client.js +2 -2
  77. package/dist/api/resources/notifications/client/requests/ListNotificationsRequest.d.ts +3 -2
  78. package/dist/api/resources/notifications/index.d.ts +1 -0
  79. package/dist/api/resources/notifications/index.js +1 -0
  80. package/dist/api/resources/notifications/types/ListNotificationsRequestSortItem.d.ts +5 -0
  81. package/dist/api/resources/notifications/types/ListNotificationsRequestSortItem.js +8 -0
  82. package/dist/api/resources/notifications/types/index.d.ts +1 -0
  83. package/dist/api/resources/notifications/types/index.js +17 -0
  84. package/dist/api/resources/organizations/client/Client.d.ts +2 -2
  85. package/dist/api/resources/organizations/client/Client.js +3 -3
  86. package/dist/api/resources/organizations/client/requests/ListOrganizationsRequest.d.ts +3 -2
  87. package/dist/api/resources/organizations/index.d.ts +1 -0
  88. package/dist/api/resources/organizations/index.js +1 -0
  89. package/dist/api/resources/organizations/types/ListOrganizationsRequestSortItem.d.ts +5 -0
  90. package/dist/api/resources/organizations/types/ListOrganizationsRequestSortItem.js +8 -0
  91. package/dist/api/resources/organizations/types/index.d.ts +1 -0
  92. package/dist/api/resources/organizations/types/index.js +17 -0
  93. package/dist/api/resources/users/client/Client.d.ts +1 -1
  94. package/dist/api/resources/users/client/Client.js +2 -2
  95. package/dist/api/resources/users/client/requests/ListUsersRequest.d.ts +3 -2
  96. package/dist/api/resources/users/index.d.ts +1 -0
  97. package/dist/api/resources/users/index.js +1 -0
  98. package/dist/api/resources/users/types/ListUsersRequestSortItem.d.ts +7 -0
  99. package/dist/api/resources/users/types/ListUsersRequestSortItem.js +10 -0
  100. package/dist/api/resources/users/types/index.d.ts +1 -0
  101. package/dist/api/resources/users/types/index.js +17 -0
  102. package/dist/api/types/ActiveOrganization.d.ts +2 -2
  103. package/dist/api/types/ActivityResource.d.ts +4 -4
  104. package/dist/api/types/AllowedTransitions.d.ts +28 -0
  105. package/dist/api/types/AllowedTransitions.js +23 -0
  106. package/dist/api/types/ApiFieldError.d.ts +1 -1
  107. package/dist/api/types/Asset.d.ts +26 -4
  108. package/dist/api/types/Asset.js +13 -0
  109. package/dist/api/types/AssetListItem.d.ts +11 -5
  110. package/dist/api/types/Assignment.d.ts +6 -6
  111. package/dist/api/types/BulkJobSubmission.d.ts +3 -3
  112. package/dist/api/types/BusinessCategory.d.ts +3 -3
  113. package/dist/api/types/Country.d.ts +3 -3
  114. package/dist/api/types/Currency.d.ts +5 -5
  115. package/dist/api/types/Device.d.ts +6 -6
  116. package/dist/api/types/Devices.d.ts +2 -2
  117. package/dist/api/types/FileDownloadUrl.d.ts +4 -4
  118. package/dist/api/types/FileUploadSession.d.ts +12 -11
  119. package/dist/api/types/FileUploadSession.js +1 -0
  120. package/dist/api/types/File_.d.ts +14 -13
  121. package/dist/api/types/File_.js +1 -0
  122. package/dist/api/types/HeatmapCell.d.ts +4 -4
  123. package/dist/api/types/ImportError.d.ts +4 -4
  124. package/dist/api/types/ImportSubmission.d.ts +4 -4
  125. package/dist/api/types/Invite.d.ts +8 -8
  126. package/dist/api/types/Job.d.ts +11 -11
  127. package/dist/api/types/JobSubmission.d.ts +2 -2
  128. package/dist/api/types/Language.d.ts +4 -4
  129. package/dist/api/types/Membership.d.ts +3 -3
  130. package/dist/api/types/MqttToken.d.ts +4 -4
  131. package/dist/api/types/Notification.d.ts +9 -9
  132. package/dist/api/types/NotificationCounts.d.ts +5 -5
  133. package/dist/api/types/NotificationDeadLetter.d.ts +9 -9
  134. package/dist/api/types/NotificationPreferences.d.ts +2 -2
  135. package/dist/api/types/NotificationUnreadCount.d.ts +2 -2
  136. package/dist/api/types/NotificationsArchived.d.ts +2 -2
  137. package/dist/api/types/NotificationsMarkedRead.d.ts +2 -2
  138. package/dist/api/types/Operator.d.ts +4 -4
  139. package/dist/api/types/OperatorAsset.d.ts +64 -0
  140. package/dist/api/types/OperatorAsset.js +33 -0
  141. package/dist/api/types/OperatorPosition.d.ts +5 -5
  142. package/dist/api/types/Organization.d.ts +7 -7
  143. package/dist/api/types/Position.d.ts +6 -6
  144. package/dist/api/types/ProblemDetail.d.ts +1 -1
  145. package/dist/api/types/RealtimeTicket.d.ts +3 -3
  146. package/dist/api/types/ReconcileResponse.d.ts +4 -4
  147. package/dist/api/types/TaskAttemptPhoto.d.ts +7 -7
  148. package/dist/api/types/Timezone.d.ts +4 -4
  149. package/dist/api/types/UploadInitiation.d.ts +6 -6
  150. package/dist/api/types/User.d.ts +27 -5
  151. package/dist/api/types/User.js +19 -0
  152. package/dist/api/types/UserResource.d.ts +4 -4
  153. package/dist/api/types/index.d.ts +2 -0
  154. package/dist/api/types/index.js +2 -0
  155. package/package.json +1 -1
@@ -0,0 +1,11 @@
1
+ export declare const ListFilesRequestKindItem: {
2
+ readonly ProfilePicture: "profile_picture";
3
+ readonly ChatAttachment: "chat_attachment";
4
+ readonly TaskPodPhoto: "task_pod_photo";
5
+ readonly ImportSource: "import_source";
6
+ readonly ImportReport: "import_report";
7
+ readonly SignedDocument: "signed_document";
8
+ readonly ProductImage: "product_image";
9
+ readonly DataExport: "data_export";
10
+ };
11
+ export type ListFilesRequestKindItem = (typeof ListFilesRequestKindItem)[keyof typeof ListFilesRequestKindItem];
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ListFilesRequestKindItem = void 0;
5
+ exports.ListFilesRequestKindItem = {
6
+ ProfilePicture: "profile_picture",
7
+ ChatAttachment: "chat_attachment",
8
+ TaskPodPhoto: "task_pod_photo",
9
+ ImportSource: "import_source",
10
+ ImportReport: "import_report",
11
+ SignedDocument: "signed_document",
12
+ ProductImage: "product_image",
13
+ DataExport: "data_export",
14
+ };
@@ -0,0 +1,5 @@
1
+ export declare const ListFilesRequestSortItem: {
2
+ readonly CreatedAtAsc: "created_at:asc";
3
+ readonly CreatedAtDesc: "created_at:desc";
4
+ };
5
+ export type ListFilesRequestSortItem = (typeof ListFilesRequestSortItem)[keyof typeof ListFilesRequestSortItem];
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ListFilesRequestSortItem = void 0;
5
+ exports.ListFilesRequestSortItem = {
6
+ CreatedAtAsc: "created_at:asc",
7
+ CreatedAtDesc: "created_at:desc",
8
+ };
@@ -0,0 +1,6 @@
1
+ export declare const ListFilesRequestStatusItem: {
2
+ readonly Active: "active";
3
+ readonly Quarantined: "quarantined";
4
+ readonly Deleted: "deleted";
5
+ };
6
+ export type ListFilesRequestStatusItem = (typeof ListFilesRequestStatusItem)[keyof typeof ListFilesRequestStatusItem];
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ListFilesRequestStatusItem = void 0;
5
+ exports.ListFilesRequestStatusItem = {
6
+ Active: "active",
7
+ Quarantined: "quarantined",
8
+ Deleted: "deleted",
9
+ };
@@ -0,0 +1,3 @@
1
+ export * from "./ListFilesRequestKindItem.js";
2
+ export * from "./ListFilesRequestSortItem.js";
3
+ export * from "./ListFilesRequestStatusItem.js";
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./ListFilesRequestKindItem.js"), exports);
18
+ __exportStar(require("./ListFilesRequestSortItem.js"), exports);
19
+ __exportStar(require("./ListFilesRequestStatusItem.js"), exports);
@@ -2,20 +2,24 @@ export * from "./activeOrganization/client/requests/index.js";
2
2
  export * as activeOrganization from "./activeOrganization/index.js";
3
3
  export * from "./activity/client/requests/index.js";
4
4
  export * as activity from "./activity/index.js";
5
+ export * from "./activity/types/index.js";
5
6
  export * from "./assets/client/requests/index.js";
6
7
  export * as assets from "./assets/index.js";
8
+ export * from "./assets/types/index.js";
7
9
  export * from "./assignments/client/requests/index.js";
8
10
  export * as assignments from "./assignments/index.js";
9
11
  export * from "./devices/client/requests/index.js";
10
12
  export * as devices from "./devices/index.js";
11
13
  export * from "./files/client/requests/index.js";
12
14
  export * as files from "./files/index.js";
15
+ export * from "./files/types/index.js";
13
16
  export * from "./imports/client/requests/index.js";
14
17
  export * as imports from "./imports/index.js";
15
18
  export * from "./invites/client/requests/index.js";
16
19
  export * as invites from "./invites/index.js";
17
20
  export * from "./jobs/client/requests/index.js";
18
21
  export * as jobs from "./jobs/index.js";
22
+ export * from "./jobs/types/index.js";
19
23
  export * as lookups from "./lookups/index.js";
20
24
  export * from "./memberships/client/requests/index.js";
21
25
  export * as memberships from "./memberships/index.js";
@@ -23,10 +27,12 @@ export * from "./notificationPreferences/client/requests/index.js";
23
27
  export * as notificationPreferences from "./notificationPreferences/index.js";
24
28
  export * from "./notifications/client/requests/index.js";
25
29
  export * as notifications from "./notifications/index.js";
30
+ export * from "./notifications/types/index.js";
26
31
  export * from "./operators/client/requests/index.js";
27
32
  export * as operators from "./operators/index.js";
28
33
  export * from "./organizations/client/requests/index.js";
29
34
  export * as organizations from "./organizations/index.js";
35
+ export * from "./organizations/types/index.js";
30
36
  export * from "./positions/client/requests/index.js";
31
37
  export * as positions from "./positions/index.js";
32
38
  export * as realtime from "./realtime/index.js";
@@ -34,3 +40,4 @@ export * from "./taskAttempts/client/requests/index.js";
34
40
  export * as taskAttempts from "./taskAttempts/index.js";
35
41
  export * from "./users/client/requests/index.js";
36
42
  export * as users from "./users/index.js";
43
+ export * from "./users/types/index.js";
@@ -41,20 +41,24 @@ __exportStar(require("./activeOrganization/client/requests/index.js"), exports);
41
41
  exports.activeOrganization = __importStar(require("./activeOrganization/index.js"));
42
42
  __exportStar(require("./activity/client/requests/index.js"), exports);
43
43
  exports.activity = __importStar(require("./activity/index.js"));
44
+ __exportStar(require("./activity/types/index.js"), exports);
44
45
  __exportStar(require("./assets/client/requests/index.js"), exports);
45
46
  exports.assets = __importStar(require("./assets/index.js"));
47
+ __exportStar(require("./assets/types/index.js"), exports);
46
48
  __exportStar(require("./assignments/client/requests/index.js"), exports);
47
49
  exports.assignments = __importStar(require("./assignments/index.js"));
48
50
  __exportStar(require("./devices/client/requests/index.js"), exports);
49
51
  exports.devices = __importStar(require("./devices/index.js"));
50
52
  __exportStar(require("./files/client/requests/index.js"), exports);
51
53
  exports.files = __importStar(require("./files/index.js"));
54
+ __exportStar(require("./files/types/index.js"), exports);
52
55
  __exportStar(require("./imports/client/requests/index.js"), exports);
53
56
  exports.imports = __importStar(require("./imports/index.js"));
54
57
  __exportStar(require("./invites/client/requests/index.js"), exports);
55
58
  exports.invites = __importStar(require("./invites/index.js"));
56
59
  __exportStar(require("./jobs/client/requests/index.js"), exports);
57
60
  exports.jobs = __importStar(require("./jobs/index.js"));
61
+ __exportStar(require("./jobs/types/index.js"), exports);
58
62
  exports.lookups = __importStar(require("./lookups/index.js"));
59
63
  __exportStar(require("./memberships/client/requests/index.js"), exports);
60
64
  exports.memberships = __importStar(require("./memberships/index.js"));
@@ -62,10 +66,12 @@ __exportStar(require("./notificationPreferences/client/requests/index.js"), expo
62
66
  exports.notificationPreferences = __importStar(require("./notificationPreferences/index.js"));
63
67
  __exportStar(require("./notifications/client/requests/index.js"), exports);
64
68
  exports.notifications = __importStar(require("./notifications/index.js"));
69
+ __exportStar(require("./notifications/types/index.js"), exports);
65
70
  __exportStar(require("./operators/client/requests/index.js"), exports);
66
71
  exports.operators = __importStar(require("./operators/index.js"));
67
72
  __exportStar(require("./organizations/client/requests/index.js"), exports);
68
73
  exports.organizations = __importStar(require("./organizations/index.js"));
74
+ __exportStar(require("./organizations/types/index.js"), exports);
69
75
  __exportStar(require("./positions/client/requests/index.js"), exports);
70
76
  exports.positions = __importStar(require("./positions/index.js"));
71
77
  exports.realtime = __importStar(require("./realtime/index.js"));
@@ -73,3 +79,4 @@ __exportStar(require("./taskAttempts/client/requests/index.js"), exports);
73
79
  exports.taskAttempts = __importStar(require("./taskAttempts/index.js"));
74
80
  __exportStar(require("./users/client/requests/index.js"), exports);
75
81
  exports.users = __importStar(require("./users/index.js"));
82
+ __exportStar(require("./users/types/index.js"), exports);
@@ -14,7 +14,7 @@ export declare class JobsClient {
14
14
  protected readonly _options: NormalizedClientOptionsWithAuth<JobsClient.Options>;
15
15
  constructor(options: JobsClient.Options);
16
16
  /**
17
- * The active organization's jobs ordered by `created_at` descending (pass `sort=created_at` for ascending). Org-scoped: every member sees the org's backlog. `kind` / `status` accept comma-separated values. Pagination is bidirectional (`starting_after` / `ending_before`); cursors are bound to the sort direction that minted them.
17
+ * The active organization's jobs ordered by `created_at` descending by default. Org-scoped: every member sees the org's backlog. `kind` / `status` accept comma-separated values. Pagination is bidirectional (`starting_after` / `ending_before`); cursors are bound to the sort direction that minted them.
18
18
  *
19
19
  * @param {NizamDashboard.ListJobsRequest} request
20
20
  * @param {JobsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -50,7 +50,7 @@ class JobsClient {
50
50
  this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
51
51
  }
52
52
  /**
53
- * The active organization's jobs ordered by `created_at` descending (pass `sort=created_at` for ascending). Org-scoped: every member sees the org's backlog. `kind` / `status` accept comma-separated values. Pagination is bidirectional (`starting_after` / `ending_before`); cursors are bound to the sort direction that minted them.
53
+ * The active organization's jobs ordered by `created_at` descending by default. Org-scoped: every member sees the org's backlog. `kind` / `status` accept comma-separated values. Pagination is bidirectional (`starting_after` / `ending_before`); cursors are bound to the sort direction that minted them.
54
54
  *
55
55
  * @param {NizamDashboard.ListJobsRequest} request
56
56
  * @param {JobsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -75,7 +75,7 @@ class JobsClient {
75
75
  const _queryParams = {
76
76
  kind,
77
77
  status,
78
- sort,
78
+ sort: Array.isArray(sort) ? sort.map((item) => item) : sort != null ? sort : undefined,
79
79
  limit,
80
80
  starting_after: startingAfter,
81
81
  ending_before: endingBefore,
@@ -1,3 +1,4 @@
1
+ import type * as NizamDashboard from "../../../../index.js";
1
2
  /**
2
3
  * @example
3
4
  * {
@@ -10,8 +11,8 @@ export interface ListJobsRequest {
10
11
  kind?: string | string[];
11
12
  /** Filter by lifecycle status. Comma-separated; values: `pending`, `running`, `cancelling`, `completed`, `failed`, `cancelled`. */
12
13
  status?: string | string[];
13
- /** Sort order. Allowed fields: `created_at`. Prefix a field with `-` for descending (e.g. `-created_at`); unknown fields are rejected with `400 validation_failed`. */
14
- sort?: string | string[];
14
+ /** Sort order. Allowed fields: `created_at`. Append `:asc` or `:desc` to each field (direction required, e.g. `created_at:desc`), comma-separated for multi-sort; unknown fields or directions are rejected with `400 validation_failed`. */
15
+ sort?: NizamDashboard.ListJobsRequestSortItem | NizamDashboard.ListJobsRequestSortItem[];
15
16
  /** Page size. Default 20, maximum 100. Out-of-range values are silently clamped; the response body's `limit` field reflects what was applied. */
16
17
  limit?: number;
17
18
  /** Opaque cursor — return the page starting strictly after this entity in the sort order. Mutually exclusive with `ending_before`. */
@@ -1 +1,2 @@
1
1
  export * from "./client/index.js";
2
+ export * from "./types/index.js";
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./client/index.js"), exports);
18
+ __exportStar(require("./types/index.js"), exports);
@@ -0,0 +1,5 @@
1
+ export declare const ListJobsRequestSortItem: {
2
+ readonly CreatedAtAsc: "created_at:asc";
3
+ readonly CreatedAtDesc: "created_at:desc";
4
+ };
5
+ export type ListJobsRequestSortItem = (typeof ListJobsRequestSortItem)[keyof typeof ListJobsRequestSortItem];
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ListJobsRequestSortItem = void 0;
5
+ exports.ListJobsRequestSortItem = {
6
+ CreatedAtAsc: "created_at:asc",
7
+ CreatedAtDesc: "created_at:desc",
8
+ };
@@ -0,0 +1 @@
1
+ export * from "./ListJobsRequestSortItem.js";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./ListJobsRequestSortItem.js"), exports);
@@ -14,7 +14,7 @@ export declare class NotificationsClient {
14
14
  protected readonly _options: NormalizedClientOptionsWithAuth<NotificationsClient.Options>;
15
15
  constructor(options: NotificationsClient.Options);
16
16
  /**
17
- * The caller's own notifications ordered by `created_at` descending (pass `sort=created_at` for ascending). `status` selects the segment — `all` (default; the active inbox, non-archived), `unread`, `read`, or `archived`. `category` and `kind` accept comma-separated values and AND on top of the segment; `q` matches the notification title/body. `since=` (RFC 3339) returns only items at/after the instant for incremental catch-up after a reconnect. Pagination is bidirectional (`starting_after` / `ending_before`); cursors are bound to the sort direction that minted them.
17
+ * The caller's own notifications ordered by `created_at` descending by default. `status` selects the segment — `all` (default; the active inbox, non-archived), `unread`, `read`, or `archived`. `category` and `kind` accept comma-separated values and AND on top of the segment; `q` matches the notification title/body. `since=` (RFC 3339) returns only items at/after the instant for incremental catch-up after a reconnect. Pagination is bidirectional (`starting_after` / `ending_before`); cursors are bound to the sort direction that minted them.
18
18
  *
19
19
  * @param {NizamDashboard.ListNotificationsRequest} request
20
20
  * @param {NotificationsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -50,7 +50,7 @@ class NotificationsClient {
50
50
  this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
51
51
  }
52
52
  /**
53
- * The caller's own notifications ordered by `created_at` descending (pass `sort=created_at` for ascending). `status` selects the segment — `all` (default; the active inbox, non-archived), `unread`, `read`, or `archived`. `category` and `kind` accept comma-separated values and AND on top of the segment; `q` matches the notification title/body. `since=` (RFC 3339) returns only items at/after the instant for incremental catch-up after a reconnect. Pagination is bidirectional (`starting_after` / `ending_before`); cursors are bound to the sort direction that minted them.
53
+ * The caller's own notifications ordered by `created_at` descending by default. `status` selects the segment — `all` (default; the active inbox, non-archived), `unread`, `read`, or `archived`. `category` and `kind` accept comma-separated values and AND on top of the segment; `q` matches the notification title/body. `since=` (RFC 3339) returns only items at/after the instant for incremental catch-up after a reconnect. Pagination is bidirectional (`starting_after` / `ending_before`); cursors are bound to the sort direction that minted them.
54
54
  *
55
55
  * @param {NizamDashboard.ListNotificationsRequest} request
56
56
  * @param {NotificationsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -81,7 +81,7 @@ class NotificationsClient {
81
81
  kind,
82
82
  q,
83
83
  since: since != null ? since : undefined,
84
- sort,
84
+ sort: Array.isArray(sort) ? sort.map((item) => item) : sort != null ? sort : undefined,
85
85
  limit,
86
86
  starting_after: startingAfter,
87
87
  ending_before: endingBefore,
@@ -1,3 +1,4 @@
1
+ import type * as NizamDashboard from "../../../../index.js";
1
2
  /**
2
3
  * @example
3
4
  * {
@@ -19,8 +20,8 @@ export interface ListNotificationsRequest {
19
20
  q?: string;
20
21
  /** Only notifications created at/after this RFC 3339 instant. */
21
22
  since?: string;
22
- /** Sort order. Allowed fields: `created_at`. Prefix a field with `-` for descending (e.g. `-created_at`); unknown fields are rejected with `400 validation_failed`. */
23
- sort?: string | string[];
23
+ /** Sort order. Allowed fields: `created_at`. Append `:asc` or `:desc` to each field (direction required, e.g. `created_at:desc`), comma-separated for multi-sort; unknown fields or directions are rejected with `400 validation_failed`. */
24
+ sort?: NizamDashboard.ListNotificationsRequestSortItem | NizamDashboard.ListNotificationsRequestSortItem[];
24
25
  /** Page size. Default 20, maximum 100. Out-of-range values are silently clamped; the response body's `limit` field reflects what was applied. */
25
26
  limit?: number;
26
27
  /** Opaque cursor — return the page starting strictly after this entity in the sort order. Mutually exclusive with `ending_before`. */
@@ -1 +1,2 @@
1
1
  export * from "./client/index.js";
2
+ export * from "./types/index.js";
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./client/index.js"), exports);
18
+ __exportStar(require("./types/index.js"), exports);
@@ -0,0 +1,5 @@
1
+ export declare const ListNotificationsRequestSortItem: {
2
+ readonly CreatedAtAsc: "created_at:asc";
3
+ readonly CreatedAtDesc: "created_at:desc";
4
+ };
5
+ export type ListNotificationsRequestSortItem = (typeof ListNotificationsRequestSortItem)[keyof typeof ListNotificationsRequestSortItem];
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ListNotificationsRequestSortItem = void 0;
5
+ exports.ListNotificationsRequestSortItem = {
6
+ CreatedAtAsc: "created_at:asc",
7
+ CreatedAtDesc: "created_at:desc",
8
+ };
@@ -0,0 +1 @@
1
+ export * from "./ListNotificationsRequestSortItem.js";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./ListNotificationsRequestSortItem.js"), exports);
@@ -14,7 +14,7 @@ export declare class OrganizationsClient {
14
14
  protected readonly _options: NormalizedClientOptionsWithAuth<OrganizationsClient.Options>;
15
15
  constructor(options: OrganizationsClient.Options);
16
16
  /**
17
- * Dashboard callers see exactly the organizations they can read — their own memberships plus any cross-tenant read grants (3PL / delegated), resolved via SpiceDB `lookupResources(read)`. Platform staff see every tenant. Allowed sort field: `created_at` (prefix with `-` for descending). RFC 8288 Link header carries `first`, `prev`, `next` rels alongside the body's bidirectional cursors.
17
+ * Dashboard callers see exactly the organizations they can read — their own memberships plus any cross-tenant read grants (3PL / delegated), resolved via SpiceDB `lookupResources(read)`. Platform staff see every tenant. The sortable fields and direction grammar are on the `sort` parameter. RFC 8288 Link header carries `first`, `prev`, `next` rels alongside the body's bidirectional cursors.
18
18
  *
19
19
  * @param {NizamDashboard.ListOrganizationsRequest} request
20
20
  * @param {OrganizationsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -86,7 +86,7 @@ export declare class OrganizationsClient {
86
86
  getOrganization(request: NizamDashboard.GetOrganizationRequest, requestOptions?: OrganizationsClient.RequestOptions): core.HttpResponsePromise<NizamDashboard.Organization>;
87
87
  private __getOrganization;
88
88
  /**
89
- * Owner-only. Sets `deleted_at` on the organizations row; subsequent reads filter it out. The Keycloak Organization is intentionally left in place — restore is just an UPDATE un-setting `deleted_at`. Members are not removed; their memberships persist alongside the soft-deleted row in case a restore path is added later. L4 @HasPermission ensures the caller is an admin; the owner-only check inside the handler narrows further.
89
+ * Owner-only. Sets `deleted_at` on the organizations row; subsequent reads filter it out. The Keycloak Organization is intentionally left in place — restore is just an UPDATE un-setting `deleted_at`. Members are not removed; their memberships persist alongside the soft-deleted row in case a restore path is added later. L4 @RequirePermission ensures the caller is an admin; the owner-only check inside the handler narrows further.
90
90
  *
91
91
  * > **Requires** `administer` on `organization` (SpiceDB permission expression).
92
92
  *
@@ -50,7 +50,7 @@ class OrganizationsClient {
50
50
  this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
51
51
  }
52
52
  /**
53
- * Dashboard callers see exactly the organizations they can read — their own memberships plus any cross-tenant read grants (3PL / delegated), resolved via SpiceDB `lookupResources(read)`. Platform staff see every tenant. Allowed sort field: `created_at` (prefix with `-` for descending). RFC 8288 Link header carries `first`, `prev`, `next` rels alongside the body's bidirectional cursors.
53
+ * Dashboard callers see exactly the organizations they can read — their own memberships plus any cross-tenant read grants (3PL / delegated), resolved via SpiceDB `lookupResources(read)`. Platform staff see every tenant. The sortable fields and direction grammar are on the `sort` parameter. RFC 8288 Link header carries `first`, `prev`, `next` rels alongside the body's bidirectional cursors.
54
54
  *
55
55
  * @param {NizamDashboard.ListOrganizationsRequest} request
56
56
  * @param {OrganizationsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -72,7 +72,7 @@ class OrganizationsClient {
72
72
  async __listOrganizations(request = {}, requestOptions) {
73
73
  const { sort, limit, starting_after: startingAfter, ending_before: endingBefore } = request;
74
74
  const _queryParams = {
75
- sort,
75
+ sort: Array.isArray(sort) ? sort.map((item) => item) : sort != null ? sort : undefined,
76
76
  limit,
77
77
  starting_after: startingAfter,
78
78
  ending_before: endingBefore,
@@ -269,7 +269,7 @@ class OrganizationsClient {
269
269
  return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/v1/organizations/{id}");
270
270
  }
271
271
  /**
272
- * Owner-only. Sets `deleted_at` on the organizations row; subsequent reads filter it out. The Keycloak Organization is intentionally left in place — restore is just an UPDATE un-setting `deleted_at`. Members are not removed; their memberships persist alongside the soft-deleted row in case a restore path is added later. L4 @HasPermission ensures the caller is an admin; the owner-only check inside the handler narrows further.
272
+ * Owner-only. Sets `deleted_at` on the organizations row; subsequent reads filter it out. The Keycloak Organization is intentionally left in place — restore is just an UPDATE un-setting `deleted_at`. Members are not removed; their memberships persist alongside the soft-deleted row in case a restore path is added later. L4 @RequirePermission ensures the caller is an admin; the owner-only check inside the handler narrows further.
273
273
  *
274
274
  * > **Requires** `administer` on `organization` (SpiceDB permission expression).
275
275
  *
@@ -1,3 +1,4 @@
1
+ import type * as NizamDashboard from "../../../../index.js";
1
2
  /**
2
3
  * @example
3
4
  * {
@@ -6,8 +7,8 @@
6
7
  * }
7
8
  */
8
9
  export interface ListOrganizationsRequest {
9
- /** Sort order. Allowed fields: `created_at`. Prefix a field with `-` for descending (e.g. `-created_at`); unknown fields are rejected with `400 validation_failed`. */
10
- sort?: string | string[];
10
+ /** Sort order. Allowed fields: `created_at`. Append `:asc` or `:desc` to each field (direction required, e.g. `created_at:desc`), comma-separated for multi-sort; unknown fields or directions are rejected with `400 validation_failed`. */
11
+ sort?: NizamDashboard.ListOrganizationsRequestSortItem | NizamDashboard.ListOrganizationsRequestSortItem[];
11
12
  /** Page size. Default 20, maximum 100. Out-of-range values are silently clamped; the response body's `limit` field reflects what was applied. */
12
13
  limit?: number;
13
14
  /** Opaque cursor — return the page starting strictly after this entity in the sort order. Mutually exclusive with `ending_before`. */
@@ -1 +1,2 @@
1
1
  export * from "./client/index.js";
2
+ export * from "./types/index.js";
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./client/index.js"), exports);
18
+ __exportStar(require("./types/index.js"), exports);
@@ -0,0 +1,5 @@
1
+ export declare const ListOrganizationsRequestSortItem: {
2
+ readonly CreatedAtAsc: "created_at:asc";
3
+ readonly CreatedAtDesc: "created_at:desc";
4
+ };
5
+ export type ListOrganizationsRequestSortItem = (typeof ListOrganizationsRequestSortItem)[keyof typeof ListOrganizationsRequestSortItem];
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ListOrganizationsRequestSortItem = void 0;
5
+ exports.ListOrganizationsRequestSortItem = {
6
+ CreatedAtAsc: "created_at:asc",
7
+ CreatedAtDesc: "created_at:desc",
8
+ };
@@ -0,0 +1 @@
1
+ export * from "./ListOrganizationsRequestSortItem.js";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./ListOrganizationsRequestSortItem.js"), exports);
@@ -63,7 +63,7 @@ export declare class UsersClient {
63
63
  initiateProfilePictureUpload(request: NizamDashboard.InitiateProfilePictureUploadRequest, requestOptions?: UsersClient.RequestOptions): core.HttpResponsePromise<NizamDashboard.UploadInitiation>;
64
64
  private __initiateProfilePictureUpload;
65
65
  /**
66
- * Dashboard sees co-members of the caller's active organization (tenant-scoped via the organization_users join). Platform staff bypass RLS and see across tenants. Allowed sort fields: `created_at`, `name` (prefix with `-` for descending). RFC 8288 Link header carries `first`, `prev`, `next` rels alongside the body's bidirectional cursors.
66
+ * Dashboard sees co-members of the caller's active organization (tenant-scoped via the organization_users join). Platform staff bypass RLS and see across tenants. The sortable fields and direction grammar are on the `sort` parameter. RFC 8288 Link header carries `first`, `prev`, `next` rels alongside the body's bidirectional cursors.
67
67
  *
68
68
  * @param {NizamDashboard.ListUsersRequest} request
69
69
  * @param {UsersClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -190,7 +190,7 @@ class UsersClient {
190
190
  return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/me/profile-picture");
191
191
  }
192
192
  /**
193
- * Dashboard sees co-members of the caller's active organization (tenant-scoped via the organization_users join). Platform staff bypass RLS and see across tenants. Allowed sort fields: `created_at`, `name` (prefix with `-` for descending). RFC 8288 Link header carries `first`, `prev`, `next` rels alongside the body's bidirectional cursors.
193
+ * Dashboard sees co-members of the caller's active organization (tenant-scoped via the organization_users join). Platform staff bypass RLS and see across tenants. The sortable fields and direction grammar are on the `sort` parameter. RFC 8288 Link header carries `first`, `prev`, `next` rels alongside the body's bidirectional cursors.
194
194
  *
195
195
  * @param {NizamDashboard.ListUsersRequest} request
196
196
  * @param {UsersClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -213,7 +213,7 @@ class UsersClient {
213
213
  async __listUsers(request = {}, requestOptions) {
214
214
  const { sort, limit, starting_after: startingAfter, ending_before: endingBefore } = request;
215
215
  const _queryParams = {
216
- sort,
216
+ sort: Array.isArray(sort) ? sort.map((item) => item) : sort != null ? sort : undefined,
217
217
  limit,
218
218
  starting_after: startingAfter,
219
219
  ending_before: endingBefore,
@@ -1,3 +1,4 @@
1
+ import type * as NizamDashboard from "../../../../index.js";
1
2
  /**
2
3
  * @example
3
4
  * {
@@ -6,8 +7,8 @@
6
7
  * }
7
8
  */
8
9
  export interface ListUsersRequest {
9
- /** Sort order. Allowed fields: `created_at`, `name`. Prefix a field with `-` for descending (e.g. `-created_at`); unknown fields are rejected with `400 validation_failed`. */
10
- sort?: string | string[];
10
+ /** Sort order. Allowed fields: `created_at`, `name`. Append `:asc` or `:desc` to each field (direction required, e.g. `created_at:desc`), comma-separated for multi-sort; unknown fields or directions are rejected with `400 validation_failed`. */
11
+ sort?: NizamDashboard.ListUsersRequestSortItem | NizamDashboard.ListUsersRequestSortItem[];
11
12
  /** Page size. Default 20, maximum 100. Out-of-range values are silently clamped; the response body's `limit` field reflects what was applied. */
12
13
  limit?: number;
13
14
  /** Opaque cursor — return the page starting strictly after this entity in the sort order. Mutually exclusive with `ending_before`. */
@@ -1 +1,2 @@
1
1
  export * from "./client/index.js";
2
+ export * from "./types/index.js";
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./client/index.js"), exports);
18
+ __exportStar(require("./types/index.js"), exports);
@@ -0,0 +1,7 @@
1
+ export declare const ListUsersRequestSortItem: {
2
+ readonly CreatedAtAsc: "created_at:asc";
3
+ readonly CreatedAtDesc: "created_at:desc";
4
+ readonly NameAsc: "name:asc";
5
+ readonly NameDesc: "name:desc";
6
+ };
7
+ export type ListUsersRequestSortItem = (typeof ListUsersRequestSortItem)[keyof typeof ListUsersRequestSortItem];
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ListUsersRequestSortItem = void 0;
5
+ exports.ListUsersRequestSortItem = {
6
+ CreatedAtAsc: "created_at:asc",
7
+ CreatedAtDesc: "created_at:desc",
8
+ NameAsc: "name:asc",
9
+ NameDesc: "name:desc",
10
+ };
@@ -0,0 +1 @@
1
+ export * from "./ListUsersRequestSortItem.js";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./ListUsersRequestSortItem.js"), exports);
@@ -8,9 +8,9 @@ export interface ActiveOrganization {
8
8
  /** Stored preference (users.last_active_organization_id). Null when the user has never picked. */
9
9
  preferred_organization_id?: string | undefined;
10
10
  /** All active memberships for the picker UI. */
11
- memberships?: NizamDashboard.MembershipChoice[] | undefined;
11
+ memberships: NizamDashboard.MembershipChoice[];
12
12
  /** Object type discriminator. */
13
- object?: ActiveOrganization.Object_ | undefined;
13
+ object: ActiveOrganization.Object_;
14
14
  }
15
15
  export declare namespace ActiveOrganization {
16
16
  /** Object type discriminator. */