@norbix.ai/react-redux 1.0.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -109,13 +109,6 @@ var apiAuth = (b) => ({
109
109
  })
110
110
  });
111
111
 
112
- // src/hooks/api/chat.ts
113
- var apiChat = (b) => ({
114
- askChat: b.mutation({
115
- query: (args) => (norbix) => norbix.api.chat.askChat(args)
116
- })
117
- });
118
-
119
112
  // src/hooks/api/database.ts
120
113
  var apiDatabase = (b) => ({
121
114
  // ---- Collections — Read ----
@@ -630,10 +623,6 @@ var hubAccount = (b) => ({
630
623
  getLicenses: b.query({
631
624
  query: (args) => (norbix) => norbix.hub.account.getLicenses(args),
632
625
  providesTags: ["Billing"]
633
- }),
634
- askAccountChat: b.mutation({
635
- query: (args) => (norbix) => norbix.hub.account.askChat(args),
636
- invalidatesTags: ["Account"]
637
626
  })
638
627
  });
639
628
 
@@ -1631,6 +1620,10 @@ var hubNotifications = (b) => ({
1631
1620
  query: (args) => (norbix) => norbix.hub.notifications.getPushCampaignStatistics(args),
1632
1621
  providesTags: ["PushCampaigns"]
1633
1622
  }),
1623
+ previewPushNotification: b.query({
1624
+ query: (args) => (norbix) => norbix.hub.notifications.previewPushNotification(args),
1625
+ providesTags: ["Push"]
1626
+ }),
1634
1627
  getPushCampaignMessage: b.query({
1635
1628
  query: (args) => (norbix) => norbix.hub.notifications.getPushCampaignMessage(args),
1636
1629
  providesTags: ["PushCampaigns"]
@@ -1873,7 +1866,6 @@ function buildEndpoints(builder) {
1873
1866
  ...apiMembership(builder),
1874
1867
  ...apiDatabase(builder),
1875
1868
  ...apiApikeys(builder),
1876
- ...apiChat(builder),
1877
1869
  ...apiFiles(builder),
1878
1870
  ...apiPublic(builder),
1879
1871
  // Hub surface (control plane)