@nizam-os/customer-sdk 2.6.3 → 3.0.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 (149) hide show
  1. package/dist/Client.d.ts +9 -0
  2. package/dist/Client.js +20 -8
  3. package/dist/api/resources/devices/client/Client.d.ts +71 -0
  4. package/dist/api/resources/devices/client/Client.js +238 -0
  5. package/dist/api/resources/devices/client/index.d.ts +1 -0
  6. package/dist/api/resources/devices/client/index.js +17 -0
  7. package/dist/api/resources/devices/client/requests/DeregisterDeviceRequest.d.ts +9 -0
  8. package/dist/api/resources/devices/client/requests/DeregisterDeviceRequest.js +3 -0
  9. package/dist/api/resources/devices/client/requests/RegisterDevice.d.ts +22 -0
  10. package/dist/api/resources/devices/client/requests/RegisterDevice.js +13 -0
  11. package/dist/api/resources/devices/client/requests/index.d.ts +2 -0
  12. package/dist/api/resources/devices/client/requests/index.js +5 -0
  13. package/dist/api/resources/devices/exports.d.ts +2 -0
  14. package/dist/api/resources/devices/exports.js +21 -0
  15. package/dist/api/resources/devices/index.d.ts +1 -0
  16. package/dist/api/resources/devices/index.js +17 -0
  17. package/dist/api/resources/index.d.ts +6 -0
  18. package/dist/api/resources/index.js +7 -1
  19. package/dist/api/resources/notificationPreferences/client/Client.d.ts +49 -0
  20. package/dist/api/resources/notificationPreferences/client/Client.js +175 -0
  21. package/dist/api/resources/notificationPreferences/client/index.d.ts +1 -0
  22. package/dist/api/resources/notificationPreferences/client/index.js +17 -0
  23. package/dist/api/resources/notificationPreferences/client/requests/UpdateNotificationPreferences.d.ts +11 -0
  24. package/dist/api/resources/notificationPreferences/client/requests/UpdateNotificationPreferences.js +3 -0
  25. package/dist/api/resources/notificationPreferences/client/requests/index.d.ts +1 -0
  26. package/dist/api/resources/notificationPreferences/client/requests/index.js +2 -0
  27. package/dist/api/resources/notificationPreferences/exports.d.ts +2 -0
  28. package/dist/api/resources/notificationPreferences/exports.js +21 -0
  29. package/dist/api/resources/notificationPreferences/index.d.ts +1 -0
  30. package/dist/api/resources/notificationPreferences/index.js +17 -0
  31. package/dist/api/resources/notifications/client/Client.d.ts +179 -0
  32. package/dist/api/resources/notifications/client/Client.js +623 -0
  33. package/dist/api/resources/notifications/client/index.d.ts +1 -0
  34. package/dist/api/resources/notifications/client/index.js +17 -0
  35. package/dist/api/resources/notifications/client/requests/ArchiveNotificationRequest.d.ts +9 -0
  36. package/dist/api/resources/notifications/client/requests/ArchiveNotificationRequest.js +3 -0
  37. package/dist/api/resources/notifications/client/requests/ListNotificationsRequest.d.ts +30 -0
  38. package/dist/api/resources/notifications/client/requests/ListNotificationsRequest.js +3 -0
  39. package/dist/api/resources/notifications/client/requests/MarkNotificationReadRequest.d.ts +9 -0
  40. package/dist/api/resources/notifications/client/requests/MarkNotificationReadRequest.js +3 -0
  41. package/dist/api/resources/notifications/client/requests/MarkNotificationUnreadRequest.d.ts +9 -0
  42. package/dist/api/resources/notifications/client/requests/MarkNotificationUnreadRequest.js +3 -0
  43. package/dist/api/resources/notifications/client/requests/UnarchiveNotificationRequest.d.ts +9 -0
  44. package/dist/api/resources/notifications/client/requests/UnarchiveNotificationRequest.js +3 -0
  45. package/dist/api/resources/notifications/client/requests/index.d.ts +5 -0
  46. package/dist/api/resources/notifications/client/requests/index.js +2 -0
  47. package/dist/api/resources/notifications/exports.d.ts +2 -0
  48. package/dist/api/resources/notifications/exports.js +21 -0
  49. package/dist/api/resources/notifications/index.d.ts +1 -0
  50. package/dist/api/resources/notifications/index.js +17 -0
  51. package/dist/api/types/ActiveOrganization.d.ts +2 -2
  52. package/dist/api/types/ActiveOrganization.js +1 -1
  53. package/dist/api/types/ActivityResource.d.ts +2 -2
  54. package/dist/api/types/ActivityResource.js +1 -1
  55. package/dist/api/types/Asset.d.ts +2 -2
  56. package/dist/api/types/Asset.js +1 -1
  57. package/dist/api/types/AssetListItem.d.ts +2 -2
  58. package/dist/api/types/AssetListItem.js +1 -1
  59. package/dist/api/types/Assignment.d.ts +2 -2
  60. package/dist/api/types/Assignment.js +1 -1
  61. package/dist/api/types/BusinessCategory.d.ts +2 -2
  62. package/dist/api/types/BusinessCategory.js +1 -1
  63. package/dist/api/types/Country.d.ts +2 -2
  64. package/dist/api/types/Country.js +1 -1
  65. package/dist/api/types/Currency.d.ts +2 -2
  66. package/dist/api/types/Currency.js +1 -1
  67. package/dist/api/types/Device.d.ts +24 -0
  68. package/dist/api/types/Device.js +11 -0
  69. package/dist/api/types/Devices.d.ts +17 -0
  70. package/dist/api/types/Devices.js +11 -0
  71. package/dist/api/types/Invite.d.ts +2 -2
  72. package/dist/api/types/Invite.js +1 -1
  73. package/dist/api/types/Language.d.ts +2 -2
  74. package/dist/api/types/Language.js +1 -1
  75. package/dist/api/types/ListResponseActivityResource.d.ts +3 -3
  76. package/dist/api/types/ListResponseActivityResource.js +1 -1
  77. package/dist/api/types/ListResponseAssetListItem.d.ts +3 -3
  78. package/dist/api/types/ListResponseAssetListItem.js +1 -1
  79. package/dist/api/types/ListResponseBusinessCategory.d.ts +3 -3
  80. package/dist/api/types/ListResponseBusinessCategory.js +1 -1
  81. package/dist/api/types/ListResponseCountry.d.ts +3 -3
  82. package/dist/api/types/ListResponseCountry.js +1 -1
  83. package/dist/api/types/ListResponseCurrency.d.ts +3 -3
  84. package/dist/api/types/ListResponseCurrency.js +1 -1
  85. package/dist/api/types/ListResponseFile.d.ts +3 -3
  86. package/dist/api/types/ListResponseFile.js +1 -1
  87. package/dist/api/types/ListResponseHeatmapCell.d.ts +3 -3
  88. package/dist/api/types/ListResponseHeatmapCell.js +1 -1
  89. package/dist/api/types/ListResponseJob.d.ts +3 -3
  90. package/dist/api/types/ListResponseJob.js +1 -1
  91. package/dist/api/types/ListResponseLanguage.d.ts +3 -3
  92. package/dist/api/types/ListResponseLanguage.js +1 -1
  93. package/dist/api/types/ListResponseMembership.d.ts +3 -3
  94. package/dist/api/types/ListResponseMembership.js +1 -1
  95. package/dist/api/types/ListResponseNotification.d.ts +27 -0
  96. package/dist/api/types/ListResponseNotification.js +11 -0
  97. package/dist/api/types/ListResponseNotificationDeadLetter.d.ts +27 -0
  98. package/dist/api/types/ListResponseNotificationDeadLetter.js +11 -0
  99. package/dist/api/types/ListResponseOperatorPosition.d.ts +3 -3
  100. package/dist/api/types/ListResponseOperatorPosition.js +1 -1
  101. package/dist/api/types/ListResponseOrganization.d.ts +3 -3
  102. package/dist/api/types/ListResponseOrganization.js +1 -1
  103. package/dist/api/types/ListResponsePosition.d.ts +3 -3
  104. package/dist/api/types/ListResponsePosition.js +1 -1
  105. package/dist/api/types/ListResponseTimezone.d.ts +3 -3
  106. package/dist/api/types/ListResponseTimezone.js +1 -1
  107. package/dist/api/types/ListResponseUserResource.d.ts +3 -3
  108. package/dist/api/types/ListResponseUserResource.js +1 -1
  109. package/dist/api/types/Membership.d.ts +2 -2
  110. package/dist/api/types/Membership.js +1 -1
  111. package/dist/api/types/Notification.d.ts +52 -0
  112. package/dist/api/types/Notification.js +27 -0
  113. package/dist/api/types/NotificationCategoryCount.d.ts +23 -0
  114. package/dist/api/types/NotificationCategoryCount.js +16 -0
  115. package/dist/api/types/NotificationCounts.d.ts +23 -0
  116. package/dist/api/types/NotificationCounts.js +11 -0
  117. package/dist/api/types/NotificationDeadLetter.d.ts +36 -0
  118. package/dist/api/types/NotificationDeadLetter.js +11 -0
  119. package/dist/api/types/NotificationPreference.d.ts +13 -0
  120. package/dist/api/types/NotificationPreference.js +3 -0
  121. package/dist/api/types/NotificationPreferenceItem.d.ts +13 -0
  122. package/dist/api/types/NotificationPreferenceItem.js +3 -0
  123. package/dist/api/types/NotificationPreferences.d.ts +17 -0
  124. package/dist/api/types/NotificationPreferences.js +11 -0
  125. package/dist/api/types/NotificationUnreadCount.d.ts +16 -0
  126. package/dist/api/types/NotificationUnreadCount.js +11 -0
  127. package/dist/api/types/NotificationsArchived.d.ts +16 -0
  128. package/dist/api/types/NotificationsArchived.js +11 -0
  129. package/dist/api/types/NotificationsMarkedRead.d.ts +16 -0
  130. package/dist/api/types/NotificationsMarkedRead.js +11 -0
  131. package/dist/api/types/Operator.d.ts +2 -2
  132. package/dist/api/types/Operator.js +1 -1
  133. package/dist/api/types/Organization.d.ts +2 -2
  134. package/dist/api/types/Organization.js +1 -1
  135. package/dist/api/types/QuietHours.d.ts +11 -0
  136. package/dist/api/types/QuietHours.js +3 -0
  137. package/dist/api/types/RealtimeTicket.d.ts +2 -2
  138. package/dist/api/types/RealtimeTicket.js +1 -1
  139. package/dist/api/types/ReconcileResponse.d.ts +2 -2
  140. package/dist/api/types/ReconcileResponse.js +1 -1
  141. package/dist/api/types/Timezone.d.ts +2 -2
  142. package/dist/api/types/Timezone.js +1 -1
  143. package/dist/api/types/User.d.ts +2 -2
  144. package/dist/api/types/User.js +1 -1
  145. package/dist/api/types/UserResource.d.ts +2 -2
  146. package/dist/api/types/UserResource.js +1 -1
  147. package/dist/api/types/index.d.ts +15 -0
  148. package/dist/api/types/index.js +15 -0
  149. package/package.json +1 -1
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.NotificationDeadLetter = void 0;
5
+ var NotificationDeadLetter;
6
+ (function (NotificationDeadLetter) {
7
+ /** Object type discriminator. */
8
+ NotificationDeadLetter.Object_ = {
9
+ NotificationDeadLetter: "notification_dead_letter",
10
+ };
11
+ })(NotificationDeadLetter || (exports.NotificationDeadLetter = NotificationDeadLetter = {}));
@@ -0,0 +1,13 @@
1
+ import type * as NizamCustomer from "../index.js";
2
+ /**
3
+ * A user's explicit per-kind × channel override.
4
+ */
5
+ export interface NotificationPreference {
6
+ /** Notification kind (wire key). */
7
+ kind?: string | undefined;
8
+ /** Delivery channel. */
9
+ channel?: string | undefined;
10
+ /** Whether the kind is enabled on this channel. */
11
+ enabled?: boolean | undefined;
12
+ quiet_hours?: NizamCustomer.QuietHours | undefined;
13
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ import type * as NizamCustomer from "../index.js";
2
+ /**
3
+ * Desired state of one (kind, channel) preference.
4
+ */
5
+ export interface NotificationPreferenceItem {
6
+ /** Notification kind (wire key). */
7
+ kind?: string | undefined;
8
+ /** Delivery channel. */
9
+ channel?: string | undefined;
10
+ /** Whether the user wants this kind on this channel. */
11
+ enabled?: boolean | undefined;
12
+ quiet_hours?: NizamCustomer.QuietHours | undefined;
13
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,17 @@
1
+ import type * as NizamCustomer from "../index.js";
2
+ /**
3
+ * The current user's notification-preference settings.
4
+ */
5
+ export interface NotificationPreferences {
6
+ /** The user's explicit per-kind × channel overrides. */
7
+ preferences?: NizamCustomer.NotificationPreference[] | undefined;
8
+ /** Object type discriminator. */
9
+ object?: NotificationPreferences.Object_ | undefined;
10
+ }
11
+ export declare namespace NotificationPreferences {
12
+ /** Object type discriminator. */
13
+ const Object_: {
14
+ readonly NotificationPreferences: "notification_preferences";
15
+ };
16
+ type Object_ = (typeof Object_)[keyof typeof Object_];
17
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.NotificationPreferences = void 0;
5
+ var NotificationPreferences;
6
+ (function (NotificationPreferences) {
7
+ /** Object type discriminator. */
8
+ NotificationPreferences.Object_ = {
9
+ NotificationPreferences: "notification_preferences",
10
+ };
11
+ })(NotificationPreferences || (exports.NotificationPreferences = NotificationPreferences = {}));
@@ -0,0 +1,16 @@
1
+ /**
2
+ * The caller's unread notification count.
3
+ */
4
+ export interface NotificationUnreadCount {
5
+ /** Number of unread notifications. */
6
+ count?: number | undefined;
7
+ /** Object type discriminator. */
8
+ object?: NotificationUnreadCount.Object_ | undefined;
9
+ }
10
+ export declare namespace NotificationUnreadCount {
11
+ /** Object type discriminator. */
12
+ const Object_: {
13
+ readonly NotificationUnreadCount: "notification_unread_count";
14
+ };
15
+ type Object_ = (typeof Object_)[keyof typeof Object_];
16
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.NotificationUnreadCount = void 0;
5
+ var NotificationUnreadCount;
6
+ (function (NotificationUnreadCount) {
7
+ /** Object type discriminator. */
8
+ NotificationUnreadCount.Object_ = {
9
+ NotificationUnreadCount: "notification_unread_count",
10
+ };
11
+ })(NotificationUnreadCount || (exports.NotificationUnreadCount = NotificationUnreadCount = {}));
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Result of an archive-all operation.
3
+ */
4
+ export interface NotificationsArchived {
5
+ /** Number of notifications archived. */
6
+ archived?: number | undefined;
7
+ /** Object type discriminator. */
8
+ object?: NotificationsArchived.Object_ | undefined;
9
+ }
10
+ export declare namespace NotificationsArchived {
11
+ /** Object type discriminator. */
12
+ const Object_: {
13
+ readonly NotificationsArchived: "notifications_archived";
14
+ };
15
+ type Object_ = (typeof Object_)[keyof typeof Object_];
16
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.NotificationsArchived = void 0;
5
+ var NotificationsArchived;
6
+ (function (NotificationsArchived) {
7
+ /** Object type discriminator. */
8
+ NotificationsArchived.Object_ = {
9
+ NotificationsArchived: "notifications_archived",
10
+ };
11
+ })(NotificationsArchived || (exports.NotificationsArchived = NotificationsArchived = {}));
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Result of a mark-read operation.
3
+ */
4
+ export interface NotificationsMarkedRead {
5
+ /** Number of notifications flipped to read. */
6
+ marked?: number | undefined;
7
+ /** Object type discriminator. */
8
+ object?: NotificationsMarkedRead.Object_ | undefined;
9
+ }
10
+ export declare namespace NotificationsMarkedRead {
11
+ /** Object type discriminator. */
12
+ const Object_: {
13
+ readonly NotificationsMarkedRead: "notifications_marked_read";
14
+ };
15
+ type Object_ = (typeof Object_)[keyof typeof Object_];
16
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.NotificationsMarkedRead = void 0;
5
+ var NotificationsMarkedRead;
6
+ (function (NotificationsMarkedRead) {
7
+ /** Object type discriminator. */
8
+ NotificationsMarkedRead.Object_ = {
9
+ NotificationsMarkedRead: "notifications_marked_read",
10
+ };
11
+ })(NotificationsMarkedRead || (exports.NotificationsMarkedRead = NotificationsMarkedRead = {}));
@@ -16,7 +16,7 @@ export interface Operator {
16
16
  responsible_party_id?: string | undefined;
17
17
  /** Owning organization id. */
18
18
  organization_id?: string | undefined;
19
- /** Object type discriminator (Stripe pattern). */
19
+ /** Object type discriminator. */
20
20
  object?: Operator.Object_ | undefined;
21
21
  }
22
22
  export declare namespace Operator {
@@ -37,7 +37,7 @@ export declare namespace Operator {
37
37
  readonly Decommissioned: "decommissioned";
38
38
  };
39
39
  type Status = (typeof Status)[keyof typeof Status];
40
- /** Object type discriminator (Stripe pattern). */
40
+ /** Object type discriminator. */
41
41
  const Object_: {
42
42
  readonly Operator: "operator";
43
43
  };
@@ -19,7 +19,7 @@ var Operator;
19
19
  OnBreak: "on_break",
20
20
  Decommissioned: "decommissioned",
21
21
  };
22
- /** Object type discriminator (Stripe pattern). */
22
+ /** Object type discriminator. */
23
23
  Operator.Object_ = {
24
24
  Operator: "operator",
25
25
  };
@@ -18,7 +18,7 @@ export interface Organization {
18
18
  created_at?: string | undefined;
19
19
  /** Populated ONLY on the POST /v1/organizations create response — the active organization id Nizam pinned for the founder as part of the same transaction that created the org. Null on every other endpoint (GET, list, membership embeds). Per issue #67 phase 1, the SPA writes its active-org cookie from this field instead of issuing a follow-up PATCH /v1/me/active-organization. */
20
20
  active_organization_id?: string | undefined;
21
- /** Object type discriminator (Stripe pattern). */
21
+ /** Object type discriminator. */
22
22
  object?: Organization.Object_ | undefined;
23
23
  }
24
24
  export declare namespace Organization {
@@ -29,7 +29,7 @@ export declare namespace Organization {
29
29
  readonly Inactive: "inactive";
30
30
  };
31
31
  type Status = (typeof Status)[keyof typeof Status];
32
- /** Object type discriminator (Stripe pattern). */
32
+ /** Object type discriminator. */
33
33
  const Object_: {
34
34
  readonly Organization: "organization";
35
35
  };
@@ -10,7 +10,7 @@ var Organization;
10
10
  Suspended: "suspended",
11
11
  Inactive: "inactive",
12
12
  };
13
- /** Object type discriminator (Stripe pattern). */
13
+ /** Object type discriminator. */
14
14
  Organization.Object_ = {
15
15
  Organization: "organization",
16
16
  };
@@ -0,0 +1,11 @@
1
+ /**
2
+ * A do-not-disturb window in wall-clock time within a zone.
3
+ */
4
+ export interface QuietHours {
5
+ /** Window start (HH:mm, zone-local). */
6
+ start?: string | undefined;
7
+ /** Window end (HH:mm, zone-local). */
8
+ end?: string | undefined;
9
+ /** IANA zone id the wall-clock is read in. */
10
+ timezone?: string | undefined;
11
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -6,11 +6,11 @@ export interface RealtimeTicket {
6
6
  ticket?: string | undefined;
7
7
  /** When the ticket expires (ISO-8601). Connect promptly; mint a fresh ticket for each new connection attempt. */
8
8
  expires_at?: string | undefined;
9
- /** Object type discriminator (Stripe pattern). */
9
+ /** Object type discriminator. */
10
10
  object?: RealtimeTicket.Object_ | undefined;
11
11
  }
12
12
  export declare namespace RealtimeTicket {
13
- /** Object type discriminator (Stripe pattern). */
13
+ /** Object type discriminator. */
14
14
  const Object_: {
15
15
  readonly RealtimeTicket: "realtime_ticket";
16
16
  };
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.RealtimeTicket = void 0;
5
5
  var RealtimeTicket;
6
6
  (function (RealtimeTicket) {
7
- /** Object type discriminator (Stripe pattern). */
7
+ /** Object type discriminator. */
8
8
  RealtimeTicket.Object_ = {
9
9
  RealtimeTicket: "realtime_ticket",
10
10
  };
@@ -9,11 +9,11 @@ export interface ReconcileResponse {
9
9
  kc_has_nizam_missing?: string[] | undefined;
10
10
  /** Per-org membership-set divergences (KC vs Nizam). */
11
11
  membership_divergent?: NizamCustomer.MembershipDriftResponse[] | undefined;
12
- /** Object type discriminator (Stripe pattern). */
12
+ /** Object type discriminator. */
13
13
  object?: ReconcileResponse.Object_ | undefined;
14
14
  }
15
15
  export declare namespace ReconcileResponse {
16
- /** Object type discriminator (Stripe pattern). */
16
+ /** Object type discriminator. */
17
17
  const Object_: {
18
18
  readonly KeycloakReconciliation: "keycloak_reconciliation";
19
19
  };
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.ReconcileResponse = void 0;
5
5
  var ReconcileResponse;
6
6
  (function (ReconcileResponse) {
7
- /** Object type discriminator (Stripe pattern). */
7
+ /** Object type discriminator. */
8
8
  ReconcileResponse.Object_ = {
9
9
  KeycloakReconciliation: "keycloak_reconciliation",
10
10
  };
@@ -8,11 +8,11 @@ export interface Timezone {
8
8
  display_name?: string | undefined;
9
9
  /** Current offset from UTC in minutes (DST-aware). */
10
10
  gmt_offset_minutes?: number | undefined;
11
- /** Object type discriminator (Stripe pattern). */
11
+ /** Object type discriminator. */
12
12
  object?: Timezone.Object_ | undefined;
13
13
  }
14
14
  export declare namespace Timezone {
15
- /** Object type discriminator (Stripe pattern). */
15
+ /** Object type discriminator. */
16
16
  const Object_: {
17
17
  readonly Timezone: "timezone";
18
18
  };
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.Timezone = void 0;
5
5
  var Timezone;
6
6
  (function (Timezone) {
7
- /** Object type discriminator (Stripe pattern). */
7
+ /** Object type discriminator. */
8
8
  Timezone.Object_ = {
9
9
  Timezone: "timezone",
10
10
  };
@@ -19,7 +19,7 @@ export interface User {
19
19
  login_count?: number | undefined;
20
20
  /** File id of the current profile picture (epic #151 / #166); null until one is uploaded. Request bytes via the files download-url endpoint, or let `GET /users/{id}/profile-picture` pick the nearest thumbnail. */
21
21
  profile_picture_file_id?: string | undefined;
22
- /** Object type discriminator (Stripe pattern). */
22
+ /** Object type discriminator. */
23
23
  object?: User.Object_ | undefined;
24
24
  }
25
25
  export declare namespace User {
@@ -34,7 +34,7 @@ export declare namespace User {
34
34
  readonly Admin: "admin";
35
35
  };
36
36
  type Portal = (typeof Portal)[keyof typeof Portal];
37
- /** Object type discriminator (Stripe pattern). */
37
+ /** Object type discriminator. */
38
38
  const Object_: {
39
39
  readonly User: "user";
40
40
  };
@@ -14,7 +14,7 @@ var User;
14
14
  PlatformStaff: "platform_staff",
15
15
  Admin: "admin",
16
16
  };
17
- /** Object type discriminator (Stripe pattern). */
17
+ /** Object type discriminator. */
18
18
  User.Object_ = {
19
19
  User: "user",
20
20
  };
@@ -14,7 +14,7 @@ export interface UserResource {
14
14
  last_login_at?: string | undefined;
15
15
  /** Total logins observed. */
16
16
  login_count?: number | undefined;
17
- /** Object type discriminator (Stripe pattern). */
17
+ /** Object type discriminator. */
18
18
  object?: UserResource.Object_ | undefined;
19
19
  }
20
20
  export declare namespace UserResource {
@@ -26,7 +26,7 @@ export declare namespace UserResource {
26
26
  readonly PendingVerification: "pending_verification";
27
27
  };
28
28
  type Status = (typeof Status)[keyof typeof Status];
29
- /** Object type discriminator (Stripe pattern). */
29
+ /** Object type discriminator. */
30
30
  const Object_: {
31
31
  readonly User: "user";
32
32
  };
@@ -11,7 +11,7 @@ var UserResource;
11
11
  Deactivated: "deactivated",
12
12
  PendingVerification: "pending_verification",
13
13
  };
14
- /** Object type discriminator (Stripe pattern). */
14
+ /** Object type discriminator. */
15
15
  UserResource.Object_ = {
16
16
  User: "user",
17
17
  };
@@ -19,6 +19,8 @@ export * from "./CreateOperatorRequest.js";
19
19
  export * from "./CreateOrganizationRequest.js";
20
20
  export * from "./CreateTeleoperatedOperatorRequest.js";
21
21
  export * from "./Currency.js";
22
+ export * from "./Device.js";
23
+ export * from "./Devices.js";
22
24
  export * from "./File_.js";
23
25
  export * from "./FileDownloadUrl.js";
24
26
  export * from "./FileUploadPart.js";
@@ -43,6 +45,8 @@ export * from "./ListResponseHeatmapCell.js";
43
45
  export * from "./ListResponseJob.js";
44
46
  export * from "./ListResponseLanguage.js";
45
47
  export * from "./ListResponseMembership.js";
48
+ export * from "./ListResponseNotification.js";
49
+ export * from "./ListResponseNotificationDeadLetter.js";
46
50
  export * from "./ListResponseOperatorPosition.js";
47
51
  export * from "./ListResponseOrganization.js";
48
52
  export * from "./ListResponsePosition.js";
@@ -52,12 +56,23 @@ export * from "./Membership.js";
52
56
  export * from "./MembershipChoice.js";
53
57
  export * from "./MembershipDriftResponse.js";
54
58
  export * from "./MqttToken.js";
59
+ export * from "./Notification.js";
60
+ export * from "./NotificationCategoryCount.js";
61
+ export * from "./NotificationCounts.js";
62
+ export * from "./NotificationDeadLetter.js";
63
+ export * from "./NotificationPreference.js";
64
+ export * from "./NotificationPreferenceItem.js";
65
+ export * from "./NotificationPreferences.js";
66
+ export * from "./NotificationsArchived.js";
67
+ export * from "./NotificationsMarkedRead.js";
68
+ export * from "./NotificationUnreadCount.js";
55
69
  export * from "./OpenAssignmentRequest.js";
56
70
  export * from "./Operator.js";
57
71
  export * from "./OperatorPosition.js";
58
72
  export * from "./Organization.js";
59
73
  export * from "./Position.js";
60
74
  export * from "./ProblemDetail.js";
75
+ export * from "./QuietHours.js";
61
76
  export * from "./RealtimeTicket.js";
62
77
  export * from "./ReconcileResponse.js";
63
78
  export * from "./SetActiveOrganizationRequest.js";
@@ -35,6 +35,8 @@ __exportStar(require("./CreateOperatorRequest.js"), exports);
35
35
  __exportStar(require("./CreateOrganizationRequest.js"), exports);
36
36
  __exportStar(require("./CreateTeleoperatedOperatorRequest.js"), exports);
37
37
  __exportStar(require("./Currency.js"), exports);
38
+ __exportStar(require("./Device.js"), exports);
39
+ __exportStar(require("./Devices.js"), exports);
38
40
  __exportStar(require("./File_.js"), exports);
39
41
  __exportStar(require("./FileDownloadUrl.js"), exports);
40
42
  __exportStar(require("./FileUploadPart.js"), exports);
@@ -59,6 +61,8 @@ __exportStar(require("./ListResponseHeatmapCell.js"), exports);
59
61
  __exportStar(require("./ListResponseJob.js"), exports);
60
62
  __exportStar(require("./ListResponseLanguage.js"), exports);
61
63
  __exportStar(require("./ListResponseMembership.js"), exports);
64
+ __exportStar(require("./ListResponseNotification.js"), exports);
65
+ __exportStar(require("./ListResponseNotificationDeadLetter.js"), exports);
62
66
  __exportStar(require("./ListResponseOperatorPosition.js"), exports);
63
67
  __exportStar(require("./ListResponseOrganization.js"), exports);
64
68
  __exportStar(require("./ListResponsePosition.js"), exports);
@@ -68,12 +72,23 @@ __exportStar(require("./Membership.js"), exports);
68
72
  __exportStar(require("./MembershipChoice.js"), exports);
69
73
  __exportStar(require("./MembershipDriftResponse.js"), exports);
70
74
  __exportStar(require("./MqttToken.js"), exports);
75
+ __exportStar(require("./Notification.js"), exports);
76
+ __exportStar(require("./NotificationCategoryCount.js"), exports);
77
+ __exportStar(require("./NotificationCounts.js"), exports);
78
+ __exportStar(require("./NotificationDeadLetter.js"), exports);
79
+ __exportStar(require("./NotificationPreference.js"), exports);
80
+ __exportStar(require("./NotificationPreferenceItem.js"), exports);
81
+ __exportStar(require("./NotificationPreferences.js"), exports);
82
+ __exportStar(require("./NotificationsArchived.js"), exports);
83
+ __exportStar(require("./NotificationsMarkedRead.js"), exports);
84
+ __exportStar(require("./NotificationUnreadCount.js"), exports);
71
85
  __exportStar(require("./OpenAssignmentRequest.js"), exports);
72
86
  __exportStar(require("./Operator.js"), exports);
73
87
  __exportStar(require("./OperatorPosition.js"), exports);
74
88
  __exportStar(require("./Organization.js"), exports);
75
89
  __exportStar(require("./Position.js"), exports);
76
90
  __exportStar(require("./ProblemDetail.js"), exports);
91
+ __exportStar(require("./QuietHours.js"), exports);
77
92
  __exportStar(require("./RealtimeTicket.js"), exports);
78
93
  __exportStar(require("./ReconcileResponse.js"), exports);
79
94
  __exportStar(require("./SetActiveOrganizationRequest.js"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nizam-os/customer-sdk",
3
- "version": "2.6.3",
3
+ "version": "3.0.0",
4
4
  "description": "Nizam Customer API SDK for TypeScript / JavaScript.",
5
5
  "license": "MIT",
6
6
  "private": false,