@norbix.ai/react-redux 1.14.0 → 1.16.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.d.cts CHANGED
@@ -440,6 +440,11 @@ declare function createNorbixApi(getClient: GetNorbixClient, options?: {
440
440
  testMarketplaceIntegration: _reduxjs_toolkit_query.MutationDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.TestMarketplaceIntegration> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.TestMarketplaceIntegrationResponse, string, unknown>;
441
441
  getMarketplaceFunctionCatalog: _reduxjs_toolkit_query.QueryDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.GetMarketplaceFunctionCatalog> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.GetMarketplaceFunctionCatalogResponse, string, unknown>;
442
442
  getMarketplaceIntegrationTools: _reduxjs_toolkit_query.QueryDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.GetMarketplaceIntegrationTools> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.GetMarketplaceIntegrationToolsResponse, string, unknown>;
443
+ getMarketplaceIntegrationAccess: _reduxjs_toolkit_query.QueryDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.GetMarketplaceIntegrationAccess> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.GetMarketplaceIntegrationAccessResponse, string, unknown>;
444
+ setMarketplaceIntegrationRoleAccess: _reduxjs_toolkit_query.MutationDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.SetMarketplaceIntegrationRoleAccess> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.IdResponse, string, unknown>;
445
+ saveMarketplaceIntegrationCustomAccess: _reduxjs_toolkit_query.MutationDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.SaveMarketplaceIntegrationCustomAccess> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.SaveMarketplaceIntegrationCustomAccessResponse, string, unknown>;
446
+ startMarketplaceIntegrationSignIn: _reduxjs_toolkit_query.MutationDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.StartMarketplaceIntegrationSignIn> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.StartMarketplaceIntegrationSignInResponse, string, unknown>;
447
+ signOutMarketplaceIntegration: _reduxjs_toolkit_query.MutationDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.SignOutMarketplaceIntegration> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.SignOutMarketplaceIntegrationResponse, string, unknown>;
443
448
  getMarketplaceFunctions: _reduxjs_toolkit_query.QueryDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.GetMarketplaceFunctions> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.GetMarketplaceFunctionsResponse, string, unknown>;
444
449
  getMarketplaceFunction: _reduxjs_toolkit_query.QueryDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.GetMarketplaceFunction> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.GetMarketplaceFunctionResponse, string, unknown>;
445
450
  saveMarketplaceFunction: _reduxjs_toolkit_query.MutationDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.SaveMarketplaceFunction> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.IdResponse, string, unknown>;
package/dist/index.d.ts CHANGED
@@ -440,6 +440,11 @@ declare function createNorbixApi(getClient: GetNorbixClient, options?: {
440
440
  testMarketplaceIntegration: _reduxjs_toolkit_query.MutationDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.TestMarketplaceIntegration> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.TestMarketplaceIntegrationResponse, string, unknown>;
441
441
  getMarketplaceFunctionCatalog: _reduxjs_toolkit_query.QueryDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.GetMarketplaceFunctionCatalog> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.GetMarketplaceFunctionCatalogResponse, string, unknown>;
442
442
  getMarketplaceIntegrationTools: _reduxjs_toolkit_query.QueryDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.GetMarketplaceIntegrationTools> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.GetMarketplaceIntegrationToolsResponse, string, unknown>;
443
+ getMarketplaceIntegrationAccess: _reduxjs_toolkit_query.QueryDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.GetMarketplaceIntegrationAccess> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.GetMarketplaceIntegrationAccessResponse, string, unknown>;
444
+ setMarketplaceIntegrationRoleAccess: _reduxjs_toolkit_query.MutationDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.SetMarketplaceIntegrationRoleAccess> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.IdResponse, string, unknown>;
445
+ saveMarketplaceIntegrationCustomAccess: _reduxjs_toolkit_query.MutationDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.SaveMarketplaceIntegrationCustomAccess> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.SaveMarketplaceIntegrationCustomAccessResponse, string, unknown>;
446
+ startMarketplaceIntegrationSignIn: _reduxjs_toolkit_query.MutationDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.StartMarketplaceIntegrationSignIn> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.StartMarketplaceIntegrationSignInResponse, string, unknown>;
447
+ signOutMarketplaceIntegration: _reduxjs_toolkit_query.MutationDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.SignOutMarketplaceIntegration> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.SignOutMarketplaceIntegrationResponse, string, unknown>;
443
448
  getMarketplaceFunctions: _reduxjs_toolkit_query.QueryDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.GetMarketplaceFunctions> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.GetMarketplaceFunctionsResponse, string, unknown>;
444
449
  getMarketplaceFunction: _reduxjs_toolkit_query.QueryDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.GetMarketplaceFunction> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.GetMarketplaceFunctionResponse, string, unknown>;
445
450
  saveMarketplaceFunction: _reduxjs_toolkit_query.MutationDefinition<Partial<_norbix_ai_ts_types_hub.CodeMashHub2.SaveMarketplaceFunction> | undefined, _reduxjs_toolkit_query.BaseQueryFn<NorbixCall<unknown>, unknown, SerializedNorbixError>, AllTags, _norbix_ai_ts_types_hub.CodeMashHub2.IdResponse, string, unknown>;
package/dist/index.js CHANGED
@@ -1532,6 +1532,7 @@ var hubCodeMarketplace = (b) => {
1532
1532
  { type: T, id: "INTEGRATIONS" },
1533
1533
  { type: T, id: integrationId(arg) }
1534
1534
  ];
1535
+ const access = (arg) => ({ type: T, id: `ACCESS:${integrationId(arg)}` });
1535
1536
  const functions = (arg) => [
1536
1537
  { type: T, id: `FUNCTIONS:${integrationId(arg)}` },
1537
1538
  { type: T, id: functionId(arg) }
@@ -1568,7 +1569,8 @@ var hubCodeMarketplace = (b) => {
1568
1569
  invalidatesTags: (_res, _err, arg) => [
1569
1570
  ...integration(arg),
1570
1571
  { type: T, id: `FUNCTIONS:${integrationId(arg)}` },
1571
- { type: T, id: `TOOLS:${integrationId(arg)}` }
1572
+ { type: T, id: `TOOLS:${integrationId(arg)}` },
1573
+ access(arg)
1572
1574
  ]
1573
1575
  }),
1574
1576
  enableMarketplaceIntegration: b.mutation({
@@ -1594,7 +1596,8 @@ var hubCodeMarketplace = (b) => {
1594
1596
  query: (args) => (norbix) => callHC(norbix).testMarketplaceIntegration(args),
1595
1597
  invalidatesTags: (_res, _err, arg) => [
1596
1598
  { type: T, id: integrationId(arg) },
1597
- { type: T, id: `TOOLS:${integrationId(arg)}` }
1599
+ { type: T, id: `TOOLS:${integrationId(arg)}` },
1600
+ access(arg)
1598
1601
  ]
1599
1602
  }),
1600
1603
  getMarketplaceFunctionCatalog: b.query({
@@ -1605,6 +1608,29 @@ var hubCodeMarketplace = (b) => {
1605
1608
  query: (args) => (norbix) => callHC(norbix).getMarketplaceIntegrationTools(args),
1606
1609
  providesTags: (_res, _err, arg) => [{ type: T, id: `TOOLS:${integrationId(arg)}` }]
1607
1610
  }),
1611
+ // ---- Access (core SDK 4.24.0) ----
1612
+ getMarketplaceIntegrationAccess: b.query({
1613
+ query: (args) => (norbix) => callHC(norbix).getMarketplaceIntegrationAccess(args),
1614
+ providesTags: (_res, _err, arg) => [access(arg)]
1615
+ }),
1616
+ setMarketplaceIntegrationRoleAccess: b.mutation({
1617
+ query: (args) => (norbix) => callHC(norbix).setMarketplaceIntegrationRoleAccess(args),
1618
+ invalidatesTags: (_res, _err, arg) => [access(arg)]
1619
+ }),
1620
+ saveMarketplaceIntegrationCustomAccess: b.mutation({
1621
+ query: (args) => (norbix) => callHC(norbix).saveMarketplaceIntegrationCustomAccess(args),
1622
+ invalidatesTags: (_res, _err, arg) => [access(arg)]
1623
+ }),
1624
+ // ---- OAuth sign-in (core SDK 4.24.0) ----
1625
+ startMarketplaceIntegrationSignIn: b.mutation({
1626
+ query: (args) => (norbix) => callHC(norbix).startMarketplaceIntegrationSignIn(args)
1627
+ }),
1628
+ // Sign-out (route 30, core SDK 4.25.0) changes the connection at once (`signedIn` false)
1629
+ // and its access (the connection's MCP tools are no longer reachable).
1630
+ signOutMarketplaceIntegration: b.mutation({
1631
+ query: (args) => (norbix) => callHC(norbix).signOutMarketplaceIntegration(args),
1632
+ invalidatesTags: (_res, _err, arg) => [{ type: T, id: integrationId(arg) }, access(arg)]
1633
+ }),
1608
1634
  // ---- Functions on a connection ----
1609
1635
  getMarketplaceFunctions: b.query({
1610
1636
  query: (args) => (norbix) => callHC(norbix).getMarketplaceFunctions(args),
@@ -1616,11 +1642,11 @@ var hubCodeMarketplace = (b) => {
1616
1642
  }),
1617
1643
  saveMarketplaceFunction: b.mutation({
1618
1644
  query: (args) => (norbix) => callHC(norbix).saveMarketplaceFunction(args),
1619
- invalidatesTags: (_res, _err, arg) => functions(arg)
1645
+ invalidatesTags: (_res, _err, arg) => [...functions(arg), access(arg)]
1620
1646
  }),
1621
1647
  deleteMarketplaceFunction: b.mutation({
1622
1648
  query: (args) => (norbix) => callHC(norbix).deleteMarketplaceFunction(args),
1623
- invalidatesTags: (_res, _err, arg) => functions(arg)
1649
+ invalidatesTags: (_res, _err, arg) => [...functions(arg), access(arg)]
1624
1650
  }),
1625
1651
  enableMarketplaceFunction: b.mutation({
1626
1652
  query: (args) => (norbix) => callHC(norbix).enableMarketplaceFunction(args),