@ixon-cdk/types 1.14.0-next.0 → 1.14.0-next.2

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.
@@ -3,10 +3,8 @@ import type { BackendComponentResult } from './backend-component-result';
3
3
  export interface BackendComponentClient {
4
4
  destroy(): void;
5
5
  /**
6
- * @param {string} functionName The name of the Custom Backend Component function you want to call
7
- * @param {{ [key: string]: any }} functionArguments The arguments you want to pass to the Custom Backend Component function
6
+ * @param functionName The name of the Custom Backend Component function you want to call
7
+ * @param functionArguments The arguments you want to pass to the Custom Backend Component function
8
8
  */
9
- call(functionName: string, functionArguments?: {
10
- [key: string]: any;
11
- }): Promise<BackendComponentResult>;
9
+ call<T = any>(functionName: string, functionArguments?: Record<string, any>): Promise<BackendComponentResult<T>>;
12
10
  }
@@ -1,6 +1,6 @@
1
1
  /** @module BackendComponentResult */
2
2
  import type { BackendComponentCall } from './backend-component-call';
3
- export interface BackendComponentResult {
3
+ export interface BackendComponentResult<T = any> {
4
4
  call: BackendComponentCall;
5
- data: any;
5
+ data: T;
6
6
  }
@@ -164,6 +164,7 @@ export interface AgentFromTemplate {
164
164
  }
165
165
  export interface ShellAgentCreate {
166
166
  registrationCode: string;
167
+ registrationProfile?: ResLink | null;
167
168
  name?: string | null;
168
169
  couponCode?: string | null;
169
170
  licence?: ResLink | null;
@@ -25,6 +25,7 @@ export interface Asset {
25
25
  parent?: ResLink | null;
26
26
  publicId: string;
27
27
  resourceVariant?: AssetType;
28
+ root?: ResLink | null;
28
29
  }
29
30
  export interface AssetInstanceCreate {
30
31
  libraryAsset: ResLink;
@@ -92,6 +92,7 @@ export * from './page-page';
92
92
  export * from './page-version';
93
93
  export * from './password-change';
94
94
  export * from './permission';
95
+ export * from './pipeline-function';
95
96
  export * from './platform-server';
96
97
  export * from './policy';
97
98
  export * from './registration';
@@ -1,5 +1,5 @@
1
1
  export type LicenceTypeScope = 'agent' | 'company';
2
- export type LicenceUsageType = 'advanced-user-management' | 'agent-registration-profile' | 'alarming' | 'api-integrations' | 'app-engine-level-1' | 'app-engine-level-2' | 'asset-management' | 'card-view' | 'connection-monitoring' | 'custom-branding' | 'custom-domain' | 'custom-fields' | 'custom-legal' | 'custom-legal-legacy' | 'custom-sso' | 'ixagent' | 'landing-page' | 'live-data' | 'logging' | 'main-pages' | 'm2m-cloud-cluster' | 'mobile-app' | 'mqtt-device' | 'object-storage' | 'premium-branding' | 'remote-access' | 'reporting' | 'request-access' | 'sla' | 'subgroups' | 'temporary-access' | 'vpn-access-rule' | 'vpn-usage';
2
+ export type LicenceUsageType = 'advanced-user-management' | 'agent-registration-profile' | 'alarming' | 'api-integrations' | 'app-engine-level-1' | 'app-engine-level-2' | 'app-engine-level-3' | 'asset-management' | 'card-view' | 'connection-monitoring' | 'custom-branding' | 'custom-domain' | 'custom-fields' | 'custom-legal' | 'custom-legal-legacy' | 'custom-sso' | 'ixagent' | 'landing-page' | 'live-data' | 'logging' | 'main-pages' | 'm2m-cloud-cluster' | 'mobile-app' | 'mqtt-device' | 'object-storage' | 'premium-branding' | 'remote-access' | 'reporting' | 'request-access' | 'sla' | 'subgroups' | 'temporary-access' | 'vpn-access-rule' | 'vpn-usage';
3
3
  export interface LicenceType {
4
4
  companyLimit?: number | null;
5
5
  publicId: string;
@@ -38,3 +38,8 @@ export interface ObjectStorageObjectMeta {
38
38
  tags: ObjectStorageTags;
39
39
  uuid: string;
40
40
  }
41
+ export interface ObjectStorageObjectMetaUpdate {
42
+ tags: ObjectStorageTags;
43
+ template: ResLink;
44
+ uuid: string;
45
+ }
@@ -0,0 +1,7 @@
1
+ import { CompanyReference } from './company';
2
+ export interface PipelineFunction {
3
+ publicId: string;
4
+ name?: string;
5
+ company?: CompanyReference | null;
6
+ description?: string | null;
7
+ }
@@ -36,6 +36,13 @@ export interface ObjectStorageClient {
36
36
  * destroyed, this is called automatically
37
37
  */
38
38
  destroy(): void;
39
+ /**
40
+ * Update the tags of an object.
41
+ *
42
+ * @param objectMeta Object meta information
43
+ * @param tags All tags to set on the object, also the ones that are not changed
44
+ */
45
+ update(objectMeta: ObjectStorageObjectMeta, options: ObjectStorageStoreOptions): Promise<void>;
39
46
  }
40
47
  export interface ObjectStorageOptions {
41
48
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ixon-cdk/types",
3
- "version": "1.14.0-next.0",
3
+ "version": "1.14.0-next.2",
4
4
  "description": "",
5
5
  "main": "./dist/component-devkit/src/types/src/index.d.ts",
6
6
  "author": "",