@trackunit/iris-app-api 0.2.14 → 0.2.16

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/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [0.2.16](https://github.com/Trackunit/manager/compare/iris-app-api/0.2.15...iris-app-api/0.2.16) (2024-11-28)
6
+
7
+ ## [0.2.15](https://github.com/Trackunit/manager/compare/iris-app-api/0.2.14...iris-app-api/0.2.15) (2024-11-28)
8
+
5
9
  ## [0.2.14](https://github.com/Trackunit/manager/compare/iris-app-api/0.2.13...iris-app-api/0.2.14) (2024-11-25)
6
10
 
7
11
  ## [0.2.13](https://github.com/Trackunit/manager/compare/iris-app-api/0.2.12...iris-app-api/0.2.13) (2024-11-18)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/iris-app-api",
3
- "version": "0.2.14",
3
+ "version": "0.2.16",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "repository": "https://github.com/Trackunit/manager",
6
6
  "engines": {
@@ -66,4 +66,9 @@ export interface InstallationConfig {
66
66
  }) | {
67
67
  ALL_PLANS: InstallationPolicy;
68
68
  };
69
+ /**
70
+ * This field is optional and can be used to specify the identifiers of other Iris apps that are included within this bundle.
71
+ * It helps in managing and organizing multiple apps that are packaged together.
72
+ */
73
+ irisAppsInsideBundle?: string[];
69
74
  }
@@ -1 +1 @@
1
- {"version":3,"file":"irisAppInstallationConfig.js","sourceRoot":"","sources":["../../../../../../libs/iris-app-sdk/iris-app-api/src/types/irisAppInstallationConfig.ts"],"names":[],"mappings":";;;AAEa,QAAA,kBAAkB,GAAG;IAChC,SAAS,EAAE,WAAW;IACtB,YAAY,EAAE,cAAc;IAC5B,SAAS,EAAE,WAAW;IACtB,2BAA2B,EAAE,6BAA6B;IAC1D,8BAA8B,EAAE,gCAAgC;CACxD,CAAC","sourcesContent":["import { SubscriptionPackage } from \"./subscriptionPackages\";\n\nexport const installationPolicy = {\n PERMANENT: \"PERMANENT\",\n PREINSTALLED: \"PREINSTALLED\",\n ON_DEMAND: \"ON_DEMAND\",\n ON_DEMAND_REQUIRES_APPROVAL: \"ON_DEMAND_REQUIRES_APPROVAL\",\n PREINSTALLED_REQUIRES_APPROVAL: \"PREINSTALLED_REQUIRES_APPROVAL\",\n} as const;\nexport type InstallationPolicy = (typeof installationPolicy)[keyof typeof installationPolicy];\n\n/**\n * @deprecated Use `InstallationConfig` instead.\n */\nexport interface InstallationConfigLegacy {\n /**\n * Installation policy for the app.\n *\n * - `PERMANENT`: Always installed and cannot be removed by the end customer.\n * - `PREINSTALLED`: Initially installed and can be removed by the end customer.\n * - `ON_DEMAND`: Available to be installed and removed by the end customer.\n * - `ON_DEMAND_REQUIRES_APPROVAL`: Requires approval by the Trackunit billing team before the end customer can install it. Behaves like 'ON_DEMAND' after receiving approval.\n * - `PREINSTALLED_REQUIRES_APPROVAL`: Requires approval by the Trackunit billing team and installs automatically once approved. Behaves like 'PREINSTALLED' after receiving approval.\n *\n * All policies will take into consideration both `accountIds` and `pricingPlans`.\n *\n * @deprecated Use `pricingPlanPolicy` instead.\n */\n policy: InstallationPolicy;\n /**\n * List of account IDs that can install this Iris App or `\"ALL_ACCOUNTS\"` if available for all customers.\n */\n accountIds: \"ALL_ACCOUNTS\" | string[];\n /**\n * List of pricing plans the Iris App is available at or `\"ALL_PLANS\"` if available in all plans.\n *\n * @deprecated Use `pricingPlanPolicy` instead.\n */\n pricingPlans: \"ALL_PLANS\" | SubscriptionPackage[];\n /**\n * Ensure that both cannot be set at the same time.\n */\n pricingPlanPolicy?: never;\n}\n\nexport interface InstallationConfig {\n /**\n * List of account IDs that can install this Iris App or `\"ALL_ACCOUNTS\"` if available for all customers.\n */\n accountIds: \"ALL_ACCOUNTS\" | [string, ...string[]];\n\n /**\n * Installation policy for the app per pricing plan.\n *\n * - `PERMANENT`: Always installed and cannot be removed by the end customer.\n * - `PREINSTALLED`: Initially installed and can be removed by the end customer.\n * - `ON_DEMAND`: Available to be installed and removed by the end customer.\n * - `ON_DEMAND_REQUIRES_APPROVAL`: Requires approval by the Trackunit billing team before the end customer can install it. Behaves like 'ON_DEMAND' after receiving approval.\n * - `PREINSTALLED_REQUIRES_APPROVAL`: Requires approval by the Trackunit billing team and installs automatically once approved. Behaves like 'PREINSTALLED' after receiving approval.\n *\n * All policies will also filter by `accountIds` if specified.\n *\n * If a pricing plan is not specified it means it will not be available for that plan.\n *\n */\n pricingPlanPolicy:\n | ({ [key in SubscriptionPackage]?: InstallationPolicy } & { ALL_PLANS?: never })\n | { ALL_PLANS: InstallationPolicy };\n}\n"]}
1
+ {"version":3,"file":"irisAppInstallationConfig.js","sourceRoot":"","sources":["../../../../../../libs/iris-app-sdk/iris-app-api/src/types/irisAppInstallationConfig.ts"],"names":[],"mappings":";;;AAEa,QAAA,kBAAkB,GAAG;IAChC,SAAS,EAAE,WAAW;IACtB,YAAY,EAAE,cAAc;IAC5B,SAAS,EAAE,WAAW;IACtB,2BAA2B,EAAE,6BAA6B;IAC1D,8BAA8B,EAAE,gCAAgC;CACxD,CAAC","sourcesContent":["import { SubscriptionPackage } from \"./subscriptionPackages\";\n\nexport const installationPolicy = {\n PERMANENT: \"PERMANENT\",\n PREINSTALLED: \"PREINSTALLED\",\n ON_DEMAND: \"ON_DEMAND\",\n ON_DEMAND_REQUIRES_APPROVAL: \"ON_DEMAND_REQUIRES_APPROVAL\",\n PREINSTALLED_REQUIRES_APPROVAL: \"PREINSTALLED_REQUIRES_APPROVAL\",\n} as const;\nexport type InstallationPolicy = (typeof installationPolicy)[keyof typeof installationPolicy];\n\n/**\n * @deprecated Use `InstallationConfig` instead.\n */\nexport interface InstallationConfigLegacy {\n /**\n * Installation policy for the app.\n *\n * - `PERMANENT`: Always installed and cannot be removed by the end customer.\n * - `PREINSTALLED`: Initially installed and can be removed by the end customer.\n * - `ON_DEMAND`: Available to be installed and removed by the end customer.\n * - `ON_DEMAND_REQUIRES_APPROVAL`: Requires approval by the Trackunit billing team before the end customer can install it. Behaves like 'ON_DEMAND' after receiving approval.\n * - `PREINSTALLED_REQUIRES_APPROVAL`: Requires approval by the Trackunit billing team and installs automatically once approved. Behaves like 'PREINSTALLED' after receiving approval.\n *\n * All policies will take into consideration both `accountIds` and `pricingPlans`.\n *\n * @deprecated Use `pricingPlanPolicy` instead.\n */\n policy: InstallationPolicy;\n /**\n * List of account IDs that can install this Iris App or `\"ALL_ACCOUNTS\"` if available for all customers.\n */\n accountIds: \"ALL_ACCOUNTS\" | string[];\n /**\n * List of pricing plans the Iris App is available at or `\"ALL_PLANS\"` if available in all plans.\n *\n * @deprecated Use `pricingPlanPolicy` instead.\n */\n pricingPlans: \"ALL_PLANS\" | SubscriptionPackage[];\n /**\n * Ensure that both cannot be set at the same time.\n */\n pricingPlanPolicy?: never;\n}\n\nexport interface InstallationConfig {\n /**\n * List of account IDs that can install this Iris App or `\"ALL_ACCOUNTS\"` if available for all customers.\n */\n accountIds: \"ALL_ACCOUNTS\" | [string, ...string[]];\n\n /**\n * Installation policy for the app per pricing plan.\n *\n * - `PERMANENT`: Always installed and cannot be removed by the end customer.\n * - `PREINSTALLED`: Initially installed and can be removed by the end customer.\n * - `ON_DEMAND`: Available to be installed and removed by the end customer.\n * - `ON_DEMAND_REQUIRES_APPROVAL`: Requires approval by the Trackunit billing team before the end customer can install it. Behaves like 'ON_DEMAND' after receiving approval.\n * - `PREINSTALLED_REQUIRES_APPROVAL`: Requires approval by the Trackunit billing team and installs automatically once approved. Behaves like 'PREINSTALLED' after receiving approval.\n *\n * All policies will also filter by `accountIds` if specified.\n *\n * If a pricing plan is not specified it means it will not be available for that plan.\n *\n */\n pricingPlanPolicy:\n | ({ [key in SubscriptionPackage]?: InstallationPolicy } & { ALL_PLANS?: never })\n | { ALL_PLANS: InstallationPolicy };\n\n /**\n * This field is optional and can be used to specify the identifiers of other Iris apps that are included within this bundle.\n * It helps in managing and organizing multiple apps that are packaged together.\n */\n irisAppsInsideBundle?: string[];\n}\n"]}