@salesforce/lds-adapters-service-gis 1.368.0 → 1.370.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.
@@ -92,12 +92,17 @@ function createLink(ref) {
92
92
  }
93
93
 
94
94
  const TTL$1 = 300;
95
- const VERSION$1 = "c182f6bbe047068649f43ccdecbb4cab";
95
+ const VERSION$1 = "0f69e4358dd6aed8111c869611c4526c";
96
96
  function validate$1(obj, path = 'GisExternalAuthIdentityProviderOutputRepresentation') {
97
97
  const v_error = (() => {
98
98
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
99
99
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
100
100
  }
101
+ const obj_authType = obj.authType;
102
+ const path_authType = path + '.authType';
103
+ if (typeof obj_authType !== 'string') {
104
+ return new TypeError('Expected "string" but received "' + typeof obj_authType + '" (at "' + path_authType + '")');
105
+ }
101
106
  const obj_baseUrl = obj.baseUrl;
102
107
  const path_baseUrl = path + '.baseUrl';
103
108
  if (typeof obj_baseUrl !== 'string') {
@@ -113,6 +118,11 @@ function validate$1(obj, path = 'GisExternalAuthIdentityProviderOutputRepresenta
113
118
  if (typeof obj_fullName !== 'string') {
114
119
  return new TypeError('Expected "string" but received "' + typeof obj_fullName + '" (at "' + path_fullName + '")');
115
120
  }
121
+ const obj_gisProvider = obj.gisProvider;
122
+ const path_gisProvider = path + '.gisProvider';
123
+ if (typeof obj_gisProvider !== 'string') {
124
+ return new TypeError('Expected "string" but received "' + typeof obj_gisProvider + '" (at "' + path_gisProvider + '")');
125
+ }
116
126
  const obj_id = obj.id;
117
127
  const path_id = path + '.id';
118
128
  if (typeof obj_id !== 'string') {
@@ -145,6 +155,10 @@ const select$3 = function GisExternalAuthIdentityProviderOutputRepresentationSel
145
155
  version: VERSION$1,
146
156
  private: [],
147
157
  selections: [
158
+ {
159
+ name: 'authType',
160
+ kind: 'Scalar'
161
+ },
148
162
  {
149
163
  name: 'baseUrl',
150
164
  kind: 'Scalar'
@@ -157,6 +171,10 @@ const select$3 = function GisExternalAuthIdentityProviderOutputRepresentationSel
157
171
  name: 'fullName',
158
172
  kind: 'Scalar'
159
173
  },
174
+ {
175
+ name: 'gisProvider',
176
+ kind: 'Scalar'
177
+ },
160
178
  {
161
179
  name: 'id',
162
180
  kind: 'Scalar'
@@ -169,6 +187,11 @@ const select$3 = function GisExternalAuthIdentityProviderOutputRepresentationSel
169
187
  };
170
188
  };
171
189
  function equals$1(existing, incoming) {
190
+ const existing_authType = existing.authType;
191
+ const incoming_authType = incoming.authType;
192
+ if (!(existing_authType === incoming_authType)) {
193
+ return false;
194
+ }
172
195
  const existing_baseUrl = existing.baseUrl;
173
196
  const incoming_baseUrl = incoming.baseUrl;
174
197
  if (!(existing_baseUrl === incoming_baseUrl)) {
@@ -184,6 +207,11 @@ function equals$1(existing, incoming) {
184
207
  if (!(existing_fullName === incoming_fullName)) {
185
208
  return false;
186
209
  }
210
+ const existing_gisProvider = existing.gisProvider;
211
+ const incoming_gisProvider = incoming.gisProvider;
212
+ if (!(existing_gisProvider === incoming_gisProvider)) {
213
+ return false;
214
+ }
187
215
  const existing_id = existing.id;
188
216
  const incoming_id = incoming.id;
189
217
  if (!(existing_id === incoming_id)) {
@@ -257,11 +285,11 @@ function createResourceRequest$1(config) {
257
285
 
258
286
  const adapterName$1 = 'createGisExternalAuthIdentityProvider';
259
287
  const createGisExternalAuthIdentityProvider_ConfigPropertyMetadata = [
260
- generateParamConfigMetadata('authenticationMethod', true, 2 /* Body */, 0 /* String */),
288
+ generateParamConfigMetadata('authType', true, 2 /* Body */, 0 /* String */),
261
289
  generateParamConfigMetadata('baseUrl', true, 2 /* Body */, 0 /* String */),
262
290
  generateParamConfigMetadata('clientId', true, 2 /* Body */, 0 /* String */),
263
291
  generateParamConfigMetadata('clientSecret', true, 2 /* Body */, 0 /* String */),
264
- generateParamConfigMetadata('mapProvider', true, 2 /* Body */, 0 /* String */),
292
+ generateParamConfigMetadata('gisProvider', true, 2 /* Body */, 0 /* String */),
265
293
  generateParamConfigMetadata('name', true, 2 /* Body */, 0 /* String */),
266
294
  ];
267
295
  const createGisExternalAuthIdentityProvider_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, createGisExternalAuthIdentityProvider_ConfigPropertyMetadata);
@@ -6,11 +6,11 @@ export declare const adapterName = "createGisExternalAuthIdentityProvider";
6
6
  export declare const createGisExternalAuthIdentityProvider_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
7
7
  export declare const createGisExternalAuthIdentityProvider_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
8
8
  export interface CreateGisExternalAuthIdentityProviderConfig {
9
- authenticationMethod: string;
9
+ authType: string;
10
10
  baseUrl: string;
11
11
  clientId: string;
12
12
  clientSecret: string;
13
- mapProvider: string;
13
+ gisProvider: string;
14
14
  name: string;
15
15
  }
16
16
  export declare const createResourceParams: (config: CreateGisExternalAuthIdentityProviderConfig) => resources_postGisAuthGisExternalAuthIdentityProvider_ResourceRequestConfig;
@@ -2,11 +2,11 @@ import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment,
2
2
  import { GisExternalAuthIdentityProviderOutputRepresentation as types_GisExternalAuthIdentityProviderOutputRepresentation_GisExternalAuthIdentityProviderOutputRepresentation } from '../types/GisExternalAuthIdentityProviderOutputRepresentation';
3
3
  export interface ResourceRequestConfig {
4
4
  body: {
5
- authenticationMethod: string;
5
+ authType: string;
6
6
  baseUrl: string;
7
7
  clientId: string;
8
8
  clientSecret: string;
9
- mapProvider: string;
9
+ gisProvider: string;
10
10
  name: string;
11
11
  };
12
12
  }
@@ -1,6 +1,6 @@
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
2
  export declare const TTL = 300;
3
- export declare const VERSION = "b772ef0cc3dd3e83efe1599599f1d2ee";
3
+ export declare const VERSION = "0c42f828e9db29003a259773744aa8a1";
4
4
  export declare function validate(obj: any, path?: string): TypeError | null;
5
5
  export declare const RepresentationType: string;
6
6
  export declare function normalize(input: GisExternalAuthIdentityProviderInputRepresentation, existing: GisExternalAuthIdentityProviderInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): GisExternalAuthIdentityProviderInputRepresentationNormalized;
@@ -16,7 +16,7 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
16
16
  */
17
17
  export interface GisExternalAuthIdentityProviderInputRepresentationNormalized {
18
18
  /** Selected authentication method */
19
- authenticationMethod: string;
19
+ authType: string;
20
20
  /** Base URL for the map provider API */
21
21
  baseUrl: string;
22
22
  /** Client ID for authentication */
@@ -24,7 +24,7 @@ export interface GisExternalAuthIdentityProviderInputRepresentationNormalized {
24
24
  /** Client secret for authentication */
25
25
  clientSecret: string;
26
26
  /** Selected map provider */
27
- mapProvider: string;
27
+ gisProvider: string;
28
28
  /** Name of the GIS Authentication setup */
29
29
  name: string;
30
30
  }
@@ -35,10 +35,10 @@ export interface GisExternalAuthIdentityProviderInputRepresentationNormalized {
35
35
  * (none)
36
36
  */
37
37
  export interface GisExternalAuthIdentityProviderInputRepresentation {
38
- authenticationMethod: string;
38
+ authType: string;
39
39
  baseUrl: string;
40
40
  clientId: string;
41
41
  clientSecret: string;
42
- mapProvider: string;
42
+ gisProvider: string;
43
43
  name: string;
44
44
  }
@@ -1,6 +1,6 @@
1
1
  import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
2
2
  export declare const TTL = 300;
3
- export declare const VERSION = "c182f6bbe047068649f43ccdecbb4cab";
3
+ export declare const VERSION = "0f69e4358dd6aed8111c869611c4526c";
4
4
  export declare function validate(obj: any, path?: string): TypeError | null;
5
5
  export declare const RepresentationType: string;
6
6
  export interface KeyParams extends $64$luvio_engine_KeyMetadata {
@@ -24,12 +24,16 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
24
24
  * id (string): id
25
25
  */
26
26
  export interface GisExternalAuthIdentityProviderOutputRepresentationNormalized {
27
+ /** Selected map provider */
28
+ authType: string;
27
29
  /** Identity provider base url */
28
30
  baseUrl: string;
29
31
  /** Client ID for authentication */
30
32
  clientId: string;
31
33
  /** External Auth Identity Provider full name */
32
34
  fullName: string;
35
+ /** Selected map provider */
36
+ gisProvider: string;
33
37
  /** External Auth Identity Provider ID */
34
38
  id: string;
35
39
  /** Label for External Auth Identity Provider */
@@ -42,9 +46,11 @@ export interface GisExternalAuthIdentityProviderOutputRepresentationNormalized {
42
46
  * id (string): id
43
47
  */
44
48
  export interface GisExternalAuthIdentityProviderOutputRepresentation {
49
+ authType: string;
45
50
  baseUrl: string;
46
51
  clientId: string;
47
52
  fullName: string;
53
+ gisProvider: string;
48
54
  id: string;
49
55
  label: string;
50
56
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-service-gis",
3
- "version": "1.368.0",
3
+ "version": "1.370.0",
4
4
  "description": "serves gis service",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "dist/es/es2018/service-gis.js",
@@ -42,10 +42,10 @@
42
42
  "test:unit": "jest"
43
43
  },
44
44
  "dependencies": {
45
- "@salesforce/lds-bindings": "^1.368.0"
45
+ "@salesforce/lds-bindings": "^1.370.0"
46
46
  },
47
47
  "devDependencies": {
48
- "@salesforce/lds-compiler-plugins": "^1.368.0"
48
+ "@salesforce/lds-compiler-plugins": "^1.370.0"
49
49
  },
50
50
  "nx": {
51
51
  "targets": {
package/sfdc/index.js CHANGED
@@ -102,12 +102,17 @@ function createLink(ref) {
102
102
  }
103
103
 
104
104
  const TTL$1 = 300;
105
- const VERSION$1 = "c182f6bbe047068649f43ccdecbb4cab";
105
+ const VERSION$1 = "0f69e4358dd6aed8111c869611c4526c";
106
106
  function validate$1(obj, path = 'GisExternalAuthIdentityProviderOutputRepresentation') {
107
107
  const v_error = (() => {
108
108
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
109
109
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
110
110
  }
111
+ const obj_authType = obj.authType;
112
+ const path_authType = path + '.authType';
113
+ if (typeof obj_authType !== 'string') {
114
+ return new TypeError('Expected "string" but received "' + typeof obj_authType + '" (at "' + path_authType + '")');
115
+ }
111
116
  const obj_baseUrl = obj.baseUrl;
112
117
  const path_baseUrl = path + '.baseUrl';
113
118
  if (typeof obj_baseUrl !== 'string') {
@@ -123,6 +128,11 @@ function validate$1(obj, path = 'GisExternalAuthIdentityProviderOutputRepresenta
123
128
  if (typeof obj_fullName !== 'string') {
124
129
  return new TypeError('Expected "string" but received "' + typeof obj_fullName + '" (at "' + path_fullName + '")');
125
130
  }
131
+ const obj_gisProvider = obj.gisProvider;
132
+ const path_gisProvider = path + '.gisProvider';
133
+ if (typeof obj_gisProvider !== 'string') {
134
+ return new TypeError('Expected "string" but received "' + typeof obj_gisProvider + '" (at "' + path_gisProvider + '")');
135
+ }
126
136
  const obj_id = obj.id;
127
137
  const path_id = path + '.id';
128
138
  if (typeof obj_id !== 'string') {
@@ -155,6 +165,10 @@ const select$3 = function GisExternalAuthIdentityProviderOutputRepresentationSel
155
165
  version: VERSION$1,
156
166
  private: [],
157
167
  selections: [
168
+ {
169
+ name: 'authType',
170
+ kind: 'Scalar'
171
+ },
158
172
  {
159
173
  name: 'baseUrl',
160
174
  kind: 'Scalar'
@@ -167,6 +181,10 @@ const select$3 = function GisExternalAuthIdentityProviderOutputRepresentationSel
167
181
  name: 'fullName',
168
182
  kind: 'Scalar'
169
183
  },
184
+ {
185
+ name: 'gisProvider',
186
+ kind: 'Scalar'
187
+ },
170
188
  {
171
189
  name: 'id',
172
190
  kind: 'Scalar'
@@ -179,6 +197,11 @@ const select$3 = function GisExternalAuthIdentityProviderOutputRepresentationSel
179
197
  };
180
198
  };
181
199
  function equals$1(existing, incoming) {
200
+ const existing_authType = existing.authType;
201
+ const incoming_authType = incoming.authType;
202
+ if (!(existing_authType === incoming_authType)) {
203
+ return false;
204
+ }
182
205
  const existing_baseUrl = existing.baseUrl;
183
206
  const incoming_baseUrl = incoming.baseUrl;
184
207
  if (!(existing_baseUrl === incoming_baseUrl)) {
@@ -194,6 +217,11 @@ function equals$1(existing, incoming) {
194
217
  if (!(existing_fullName === incoming_fullName)) {
195
218
  return false;
196
219
  }
220
+ const existing_gisProvider = existing.gisProvider;
221
+ const incoming_gisProvider = incoming.gisProvider;
222
+ if (!(existing_gisProvider === incoming_gisProvider)) {
223
+ return false;
224
+ }
197
225
  const existing_id = existing.id;
198
226
  const incoming_id = incoming.id;
199
227
  if (!(existing_id === incoming_id)) {
@@ -267,11 +295,11 @@ function createResourceRequest$1(config) {
267
295
 
268
296
  const adapterName$1 = 'createGisExternalAuthIdentityProvider';
269
297
  const createGisExternalAuthIdentityProvider_ConfigPropertyMetadata = [
270
- generateParamConfigMetadata('authenticationMethod', true, 2 /* Body */, 0 /* String */),
298
+ generateParamConfigMetadata('authType', true, 2 /* Body */, 0 /* String */),
271
299
  generateParamConfigMetadata('baseUrl', true, 2 /* Body */, 0 /* String */),
272
300
  generateParamConfigMetadata('clientId', true, 2 /* Body */, 0 /* String */),
273
301
  generateParamConfigMetadata('clientSecret', true, 2 /* Body */, 0 /* String */),
274
- generateParamConfigMetadata('mapProvider', true, 2 /* Body */, 0 /* String */),
302
+ generateParamConfigMetadata('gisProvider', true, 2 /* Body */, 0 /* String */),
275
303
  generateParamConfigMetadata('name', true, 2 /* Body */, 0 /* String */),
276
304
  ];
277
305
  const createGisExternalAuthIdentityProvider_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, createGisExternalAuthIdentityProvider_ConfigPropertyMetadata);
@@ -605,4 +633,4 @@ withDefaultLuvio((luvio) => {
605
633
  });
606
634
 
607
635
  export { createGisExternalAuthIdentityProvider, getGisExternalAuthIdentityProviders, getGisExternalAuthIdentityProviders_imperative };
608
- // version: 1.368.0-de8cc6721e
636
+ // version: 1.370.0-7c1df2520b
package/src/raml/api.raml CHANGED
@@ -65,7 +65,7 @@ types:
65
65
  description: Input representation for creating a GIS External Auth Identity Provider
66
66
  type: object
67
67
  properties:
68
- authenticationMethod:
68
+ authType:
69
69
  description: Selected authentication method
70
70
  type: string
71
71
  baseUrl:
@@ -77,7 +77,7 @@ types:
77
77
  clientSecret:
78
78
  description: Client secret for authentication
79
79
  type: string
80
- mapProvider:
80
+ gisProvider:
81
81
  description: Selected map provider
82
82
  type: string
83
83
  name:
@@ -87,6 +87,9 @@ types:
87
87
  description: Output representation for External Auth Identity Provider
88
88
  type: object
89
89
  properties:
90
+ authType:
91
+ description: Selected map provider
92
+ type: string
90
93
  baseUrl:
91
94
  description: Identity provider base url
92
95
  type: string
@@ -96,6 +99,9 @@ types:
96
99
  fullName:
97
100
  description: External Auth Identity Provider full name
98
101
  type: string
102
+ gisProvider:
103
+ description: Selected map provider
104
+ type: string
99
105
  id:
100
106
  description: External Auth Identity Provider ID
101
107
  type: string