@salesforce/lds-adapters-analytics-unifiedanalytics 1.293.0 → 1.294.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.
@@ -2177,10 +2177,10 @@ function createResourceRequest$1(config) {
2177
2177
 
2178
2178
  const adapterName$1 = 'createWorkspace';
2179
2179
  const createWorkspace_ConfigPropertyMetadata = [
2180
- generateParamConfigMetadata('description', true, 2 /* Body */, 0 /* String */),
2181
- generateParamConfigMetadata('id', true, 2 /* Body */, 0 /* String */),
2180
+ generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
2181
+ generateParamConfigMetadata('id', false, 2 /* Body */, 0 /* String */),
2182
2182
  generateParamConfigMetadata('label', true, 2 /* Body */, 0 /* String */),
2183
- generateParamConfigMetadata('name', true, 2 /* Body */, 0 /* String */),
2183
+ generateParamConfigMetadata('name', false, 2 /* Body */, 0 /* String */),
2184
2184
  ];
2185
2185
  const createWorkspace_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, createWorkspace_ConfigPropertyMetadata);
2186
2186
  const createResourceParams$1 = /*#__PURE__*/ createResourceParams$c(createWorkspace_ConfigPropertyMetadata);
@@ -6,10 +6,10 @@ export declare const adapterName = "createWorkspace";
6
6
  export declare const createWorkspace_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
7
7
  export declare const createWorkspace_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
8
8
  export interface CreateWorkspaceConfig {
9
- description: string;
10
- id: string;
9
+ description?: string;
10
+ id?: string;
11
11
  label: string;
12
- name: string;
12
+ name?: string;
13
13
  }
14
14
  export declare const createResourceParams: (config: CreateWorkspaceConfig) => resources_postUnifiedAnalyticsWorkspaces_ResourceRequestConfig;
15
15
  export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateWorkspaceConfig>): adapter$45$utils_Untrusted<CreateWorkspaceConfig>;
@@ -2,10 +2,10 @@ import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment,
2
2
  import { WorkspaceRepresentation as types_WorkspaceRepresentation_WorkspaceRepresentation } from '../types/WorkspaceRepresentation';
3
3
  export interface ResourceRequestConfig {
4
4
  body: {
5
- description: string;
6
- id: string;
5
+ description?: string;
6
+ id?: string;
7
7
  label: string;
8
- name: string;
8
+ name?: string;
9
9
  };
10
10
  }
11
11
  export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
@@ -1,5 +1,5 @@
1
1
  import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
- export declare const VERSION = "ce029a66c31fc95982ca7f1c2749d1d1";
2
+ export declare const VERSION = "5d2f6e01d45a7bb1fc33cf44bcb5e6bb";
3
3
  export declare function validate(obj: any, path?: string): TypeError | null;
4
4
  export declare const RepresentationType: string;
5
5
  export declare function normalize(input: WorkspaceInputRepresentation, existing: WorkspaceInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): WorkspaceInputRepresentationNormalized;
@@ -15,13 +15,13 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
15
15
  */
16
16
  export interface WorkspaceInputRepresentationNormalized {
17
17
  /** Description. */
18
- description: string;
18
+ description?: string;
19
19
  /** Database id. */
20
- id: string;
20
+ id?: string;
21
21
  /** Master label. */
22
22
  label: string;
23
23
  /** Unique developer name. */
24
- name: string;
24
+ name?: string;
25
25
  }
26
26
  /**
27
27
  * Unified Analytics Workspace Input Representation
@@ -30,8 +30,8 @@ export interface WorkspaceInputRepresentationNormalized {
30
30
  * (none)
31
31
  */
32
32
  export interface WorkspaceInputRepresentation {
33
- description: string;
34
- id: string;
33
+ description?: string;
34
+ id?: string;
35
35
  label: string;
36
- name: string;
36
+ name?: string;
37
37
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-analytics-unifiedanalytics",
3
- "version": "1.293.0",
3
+ "version": "1.294.0",
4
4
  "description": "Tableau Unified Analytics Platform",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "dist/es/es2018/analytics-unifiedanalytics.js",
@@ -40,10 +40,10 @@
40
40
  "test:unit": "jest"
41
41
  },
42
42
  "dependencies": {
43
- "@salesforce/lds-bindings": "^1.293.0"
43
+ "@salesforce/lds-bindings": "^1.294.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.293.0"
46
+ "@salesforce/lds-compiler-plugins": "^1.294.0"
47
47
  },
48
48
  "nx": {
49
49
  "targets": {
package/sfdc/index.js CHANGED
@@ -568,10 +568,10 @@ function createResourceRequest$a(config) {
568
568
 
569
569
  const adapterName$a = 'createWorkspace';
570
570
  const createWorkspace_ConfigPropertyMetadata = [
571
- generateParamConfigMetadata('description', true, 2 /* Body */, 0 /* String */),
572
- generateParamConfigMetadata('id', true, 2 /* Body */, 0 /* String */),
571
+ generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
572
+ generateParamConfigMetadata('id', false, 2 /* Body */, 0 /* String */),
573
573
  generateParamConfigMetadata('label', true, 2 /* Body */, 0 /* String */),
574
- generateParamConfigMetadata('name', true, 2 /* Body */, 0 /* String */),
574
+ generateParamConfigMetadata('name', false, 2 /* Body */, 0 /* String */),
575
575
  ];
576
576
  const createWorkspace_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, createWorkspace_ConfigPropertyMetadata);
577
577
  const createResourceParams$a = /*#__PURE__*/ createResourceParams$c(createWorkspace_ConfigPropertyMetadata);
@@ -3115,4 +3115,4 @@ withDefaultLuvio((luvio) => {
3115
3115
  });
3116
3116
 
3117
3117
  export { createDashboard, createWorkspace, deleteDashboard, deleteVisualization, getDashboardByName, getDashboardByNameNotifyChange, getDashboardByName_imperative, getDashboards, getDashboards_imperative, getListViewAnalyticsLibrary, getVisualization, getVisualizationNotifyChange, getVisualization_imperative, getVisualizations, getVisualizations_imperative, getWorkspaces, getWorkspaces_imperative, queryAssets, updateDashboard };
3118
- // version: 1.293.0-c036bce5d
3118
+ // version: 1.294.0-e7eb16228
package/src/raml/api.raml CHANGED
@@ -504,15 +504,18 @@ types:
504
504
  description:
505
505
  description: Description.
506
506
  type: string
507
+ required: false
507
508
  id:
508
509
  description: Database id.
509
510
  type: string
511
+ required: false
510
512
  label:
511
513
  description: Master label.
512
514
  type: string
513
515
  name:
514
516
  description: Unique developer name.
515
517
  type: string
518
+ required: false
516
519
  WorkspaceRepresentation:
517
520
  description: Unified analytics workspace representation.
518
521
  discriminatorValue: Workspace