@salesforce/lds-adapters-industries-scheduler 1.304.0 → 1.305.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.
@@ -4769,7 +4769,7 @@ function select$s(luvio, params) {
4769
4769
  return select$t();
4770
4770
  }
4771
4771
  function keyBuilder$e(luvio, params) {
4772
- return keyPrefix + '::GetServiceResourceCapacityOutputRepresentation:(' + 'endDate:' + params.queryParams.endDate + ',' + 'maxLimit:' + params.queryParams.maxLimit + ',' + 'offset:' + params.queryParams.offset + ',' + 'serviceResourceId:' + params.queryParams.serviceResourceId + ',' + 'serviceTerritoryId:' + params.queryParams.serviceTerritoryId + ',' + 'startDate:' + params.queryParams.startDate + ')';
4772
+ return keyPrefix + '::GetServiceResourceCapacityOutputRepresentation:(' + 'endDate:' + params.queryParams.endDate + ',' + 'maxLimit:' + params.queryParams.maxLimit + ',' + 'offset:' + params.queryParams.offset + ',' + 'serviceResourceId:' + params.queryParams.serviceResourceId + ',' + 'workTypeId:' + params.queryParams.workTypeId + ',' + 'startDate:' + params.queryParams.startDate + ')';
4773
4773
  }
4774
4774
  function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
4775
4775
  getTypeCacheKeys$9(storeKeyMap, luvio, response, () => keyBuilder$e(luvio, resourceParams));
@@ -4817,7 +4817,7 @@ const getServiceResourceCapacity_ConfigPropertyMetadata = [
4817
4817
  generateParamConfigMetadata('maxLimit', false, 1 /* QueryParameter */, 3 /* Integer */),
4818
4818
  generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
4819
4819
  generateParamConfigMetadata('serviceResourceId', true, 1 /* QueryParameter */, 0 /* String */),
4820
- generateParamConfigMetadata('serviceTerritoryId', false, 1 /* QueryParameter */, 0 /* String */),
4820
+ generateParamConfigMetadata('workTypeId', false, 1 /* QueryParameter */, 0 /* String */),
4821
4821
  generateParamConfigMetadata('startDate', false, 1 /* QueryParameter */, 0 /* String */),
4822
4822
  ];
4823
4823
  const getServiceResourceCapacity_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, getServiceResourceCapacity_ConfigPropertyMetadata);
@@ -5624,6 +5624,20 @@ function validate$g(obj, path = 'WaitlistCheckInInputRepresentation') {
5624
5624
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5625
5625
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
5626
5626
  }
5627
+ if (obj.checkInPageURL !== undefined) {
5628
+ const obj_checkInPageURL = obj.checkInPageURL;
5629
+ const path_checkInPageURL = path + '.checkInPageURL';
5630
+ if (typeof obj_checkInPageURL !== 'string') {
5631
+ return new TypeError('Expected "string" but received "' + typeof obj_checkInPageURL + '" (at "' + path_checkInPageURL + '")');
5632
+ }
5633
+ }
5634
+ if (obj.confirmationEmailTemplate !== undefined) {
5635
+ const obj_confirmationEmailTemplate = obj.confirmationEmailTemplate;
5636
+ const path_confirmationEmailTemplate = path + '.confirmationEmailTemplate';
5637
+ if (typeof obj_confirmationEmailTemplate !== 'string') {
5638
+ return new TypeError('Expected "string" but received "' + typeof obj_confirmationEmailTemplate + '" (at "' + path_confirmationEmailTemplate + '")');
5639
+ }
5640
+ }
5627
5641
  if (obj.description !== undefined) {
5628
5642
  const obj_description = obj.description;
5629
5643
  const path_description = path + '.description';
@@ -8016,7 +8030,7 @@ function select(luvio, params) {
8016
8030
  return select$1();
8017
8031
  }
8018
8032
  function keyBuilder$1(luvio, params) {
8019
- return keyPrefix + '::GetWaitlistParticipantStatsOutputRepresentation:(' + 'waitlistParticipantIds:' + params.queryParams.waitlistParticipantIds + ')';
8033
+ return keyPrefix + '::GetWaitlistParticipantStatsOutputRepresentation:(' + 'requestId:' + params.queryParams.requestId + ',' + 'waitlistParticipantIds:' + params.queryParams.waitlistParticipantIds + ')';
8020
8034
  }
8021
8035
  function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
8022
8036
  getTypeCacheKeys(storeKeyMap, luvio, response, () => keyBuilder$1(luvio, resourceParams));
@@ -8060,6 +8074,7 @@ function createResourceRequest(config) {
8060
8074
 
8061
8075
  const adapterName = 'getWaitlistParticipantStats';
8062
8076
  const getWaitlistParticipantStats_ConfigPropertyMetadata = [
8077
+ generateParamConfigMetadata('requestId', false, 1 /* QueryParameter */, 0 /* String */),
8063
8078
  generateParamConfigMetadata('waitlistParticipantIds', false, 1 /* QueryParameter */, 0 /* String */, true),
8064
8079
  ];
8065
8080
  const getWaitlistParticipantStats_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, getWaitlistParticipantStats_ConfigPropertyMetadata);
@@ -10,7 +10,7 @@ export interface GetServiceResourceCapacityConfig {
10
10
  maxLimit?: number;
11
11
  offset?: number;
12
12
  serviceResourceId: string;
13
- serviceTerritoryId?: string;
13
+ workTypeId?: string;
14
14
  startDate?: string;
15
15
  }
16
16
  export declare const createResourceParams: (config: GetServiceResourceCapacityConfig) => resources_getConnectSchedulingServiceResourceCapacity_ResourceRequestConfig;
@@ -6,6 +6,7 @@ export declare const adapterName = "getWaitlistParticipantStats";
6
6
  export declare const getWaitlistParticipantStats_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
7
7
  export declare const getWaitlistParticipantStats_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
8
8
  export interface GetWaitlistParticipantStatsConfig {
9
+ requestId?: string;
9
10
  waitlistParticipantIds?: Array<string>;
10
11
  }
11
12
  export declare const createResourceParams: (config: GetWaitlistParticipantStatsConfig) => resources_getConnectSchedulingWaitlistParticipantsStatistics_ResourceRequestConfig;
@@ -6,7 +6,7 @@ export interface ResourceRequestConfig {
6
6
  maxLimit?: number;
7
7
  offset?: number;
8
8
  serviceResourceId: string;
9
- serviceTerritoryId?: string;
9
+ workTypeId?: string;
10
10
  startDate?: string;
11
11
  };
12
12
  }
@@ -2,6 +2,7 @@ import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment,
2
2
  import { GetWaitlistParticipantStatsOutputRepresentation as types_GetWaitlistParticipantStatsOutputRepresentation_GetWaitlistParticipantStatsOutputRepresentation } from '../types/GetWaitlistParticipantStatsOutputRepresentation';
3
3
  export interface ResourceRequestConfig {
4
4
  queryParams: {
5
+ requestId?: string;
5
6
  waitlistParticipantIds?: Array<string>;
6
7
  };
7
8
  }
@@ -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 = "a13a3c0acb5fe0d809da7e30078ac857";
2
+ export declare const VERSION = "afe51c938d1c875293726a8915d4fd58";
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: ServiceResourceCapacityInputRepresentation, existing: ServiceResourceCapacityInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ServiceResourceCapacityInputRepresentationNormalized;
@@ -22,10 +22,10 @@ export interface ServiceResourceCapacityInputRepresentationNormalized {
22
22
  offset?: number;
23
23
  /** Service Resource Id */
24
24
  serviceResourceId?: string;
25
- /** Service Territory ID */
26
- serviceTerritoryId?: string;
27
25
  /** Date from which capacity should be calculated */
28
26
  startDate?: string;
27
+ /** Work Type Id */
28
+ workTypeId?: string;
29
29
  }
30
30
  /**
31
31
  * Service Resource Capacity input representation
@@ -38,6 +38,6 @@ export interface ServiceResourceCapacityInputRepresentation {
38
38
  maxLimit?: number;
39
39
  offset?: number;
40
40
  serviceResourceId?: string;
41
- serviceTerritoryId?: string;
42
41
  startDate?: string;
42
+ workTypeId?: string;
43
43
  }
@@ -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 = "ada52f833017c9a43f7abe2a629d313e";
2
+ export declare const VERSION = "5e02e3bac59df3c2739c67635c3604e4";
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: WaitlistCheckInInputRepresentation, existing: WaitlistCheckInInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): WaitlistCheckInInputRepresentationNormalized;
@@ -14,6 +14,10 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
14
14
  * (none)
15
15
  */
16
16
  export interface WaitlistCheckInInputRepresentationNormalized {
17
+ /** CheckIn Page URL */
18
+ checkInPageURL?: string;
19
+ /** Confirmation Email Template */
20
+ confirmationEmailTemplate?: string;
17
21
  /** Description */
18
22
  description?: string;
19
23
  /** Extended fields */
@@ -38,6 +42,8 @@ export interface WaitlistCheckInInputRepresentationNormalized {
38
42
  * (none)
39
43
  */
40
44
  export interface WaitlistCheckInInputRepresentation {
45
+ checkInPageURL?: string;
46
+ confirmationEmailTemplate?: string;
41
47
  description?: string;
42
48
  extendedFields: Array<{}>;
43
49
  lead?: {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-scheduler",
3
- "version": "1.304.0",
3
+ "version": "1.305.0",
4
4
  "description": "Wire adapters for Lightning Scheduler resources",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "dist/es/es2018/industries-scheduler.js",
@@ -44,11 +44,11 @@
44
44
  "test:unit": "jest"
45
45
  },
46
46
  "dependencies": {
47
- "@salesforce/lds-bindings": "^1.304.0"
47
+ "@salesforce/lds-bindings": "^1.305.0"
48
48
  },
49
49
  "devDependencies": {
50
- "@salesforce/lds-compiler-plugins": "^1.304.0",
51
- "@salesforce/lds-karma": "^1.304.0"
50
+ "@salesforce/lds-compiler-plugins": "^1.305.0",
51
+ "@salesforce/lds-karma": "^1.305.0"
52
52
  },
53
53
  "nx": {
54
54
  "targets": {
package/sfdc/index.js CHANGED
@@ -1082,6 +1082,20 @@ function validate$N(obj, path = 'WaitlistCheckInInputRepresentation') {
1082
1082
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1083
1083
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1084
1084
  }
1085
+ if (obj.checkInPageURL !== undefined) {
1086
+ const obj_checkInPageURL = obj.checkInPageURL;
1087
+ const path_checkInPageURL = path + '.checkInPageURL';
1088
+ if (typeof obj_checkInPageURL !== 'string') {
1089
+ return new TypeError('Expected "string" but received "' + typeof obj_checkInPageURL + '" (at "' + path_checkInPageURL + '")');
1090
+ }
1091
+ }
1092
+ if (obj.confirmationEmailTemplate !== undefined) {
1093
+ const obj_confirmationEmailTemplate = obj.confirmationEmailTemplate;
1094
+ const path_confirmationEmailTemplate = path + '.confirmationEmailTemplate';
1095
+ if (typeof obj_confirmationEmailTemplate !== 'string') {
1096
+ return new TypeError('Expected "string" but received "' + typeof obj_confirmationEmailTemplate + '" (at "' + path_confirmationEmailTemplate + '")');
1097
+ }
1098
+ }
1085
1099
  if (obj.description !== undefined) {
1086
1100
  const obj_description = obj.description;
1087
1101
  const path_description = path + '.description';
@@ -5218,7 +5232,7 @@ function select$o(luvio, params) {
5218
5232
  return select$p();
5219
5233
  }
5220
5234
  function keyBuilder$a(luvio, params) {
5221
- return keyPrefix + '::GetServiceResourceCapacityOutputRepresentation:(' + 'endDate:' + params.queryParams.endDate + ',' + 'maxLimit:' + params.queryParams.maxLimit + ',' + 'offset:' + params.queryParams.offset + ',' + 'serviceResourceId:' + params.queryParams.serviceResourceId + ',' + 'serviceTerritoryId:' + params.queryParams.serviceTerritoryId + ',' + 'startDate:' + params.queryParams.startDate + ')';
5235
+ return keyPrefix + '::GetServiceResourceCapacityOutputRepresentation:(' + 'endDate:' + params.queryParams.endDate + ',' + 'maxLimit:' + params.queryParams.maxLimit + ',' + 'offset:' + params.queryParams.offset + ',' + 'serviceResourceId:' + params.queryParams.serviceResourceId + ',' + 'workTypeId:' + params.queryParams.workTypeId + ',' + 'startDate:' + params.queryParams.startDate + ')';
5222
5236
  }
5223
5237
  function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
5224
5238
  getTypeCacheKeys$5(storeKeyMap, luvio, response, () => keyBuilder$a(luvio, resourceParams));
@@ -5266,7 +5280,7 @@ const getServiceResourceCapacity_ConfigPropertyMetadata = [
5266
5280
  generateParamConfigMetadata('maxLimit', false, 1 /* QueryParameter */, 3 /* Integer */),
5267
5281
  generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
5268
5282
  generateParamConfigMetadata('serviceResourceId', true, 1 /* QueryParameter */, 0 /* String */),
5269
- generateParamConfigMetadata('serviceTerritoryId', false, 1 /* QueryParameter */, 0 /* String */),
5283
+ generateParamConfigMetadata('workTypeId', false, 1 /* QueryParameter */, 0 /* String */),
5270
5284
  generateParamConfigMetadata('startDate', false, 1 /* QueryParameter */, 0 /* String */),
5271
5285
  ];
5272
5286
  const getServiceResourceCapacity_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, getServiceResourceCapacity_ConfigPropertyMetadata);
@@ -6870,7 +6884,7 @@ function select$b(luvio, params) {
6870
6884
  return select$c();
6871
6885
  }
6872
6886
  function keyBuilder$6(luvio, params) {
6873
- return keyPrefix + '::GetWaitlistParticipantStatsOutputRepresentation:(' + 'waitlistParticipantIds:' + params.queryParams.waitlistParticipantIds + ')';
6887
+ return keyPrefix + '::GetWaitlistParticipantStatsOutputRepresentation:(' + 'requestId:' + params.queryParams.requestId + ',' + 'waitlistParticipantIds:' + params.queryParams.waitlistParticipantIds + ')';
6874
6888
  }
6875
6889
  function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
6876
6890
  getTypeCacheKeys$3(storeKeyMap, luvio, response, () => keyBuilder$6(luvio, resourceParams));
@@ -6914,6 +6928,7 @@ function createResourceRequest$5(config) {
6914
6928
 
6915
6929
  const adapterName$5 = 'getWaitlistParticipantStats';
6916
6930
  const getWaitlistParticipantStats_ConfigPropertyMetadata = [
6931
+ generateParamConfigMetadata('requestId', false, 1 /* QueryParameter */, 0 /* String */),
6917
6932
  generateParamConfigMetadata('waitlistParticipantIds', false, 1 /* QueryParameter */, 0 /* String */, true),
6918
6933
  ];
6919
6934
  const getWaitlistParticipantStats_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, getWaitlistParticipantStats_ConfigPropertyMetadata);
@@ -8317,4 +8332,4 @@ withDefaultLuvio((luvio) => {
8317
8332
  });
8318
8333
 
8319
8334
  export { createServiceAppointment, createServiceAppointmentAttendee, createWaitlistAppointment, createWaitlistCheckIn, decryption, decryption_imperative, encrypt, encrypt_imperative, getAppointmentFromToken, getAppointmentFromToken_imperative, getEngagementChannelTypes, getEngagementChannelTypes_imperative, getGroupAppointments, getGroupAppointments_imperative, getNextWaitlistParticipant, getNextWaitlistParticipant_imperative, getParticipantRecentInteractions, getParticipantRecentInteractions_imperative, getServiceResourceCapacity, getServiceResourceCapacity_imperative, getServiceTerritoryCapacity, getServiceTerritoryCapacity_imperative, getWaitlistParticipantStats, getWaitlistParticipantStats_imperative, getWaitlistRelationships, getWaitlistRelationships_imperative, getWaitlists, getWaitlists_imperative, updateServiceAppointment, updateServiceAppointmentAttendee, updateWaitlistParticipant };
8320
- // version: 1.304.0-d87b57badb
8335
+ // version: 1.305.0-ec92f7304c
package/src/raml/api.raml CHANGED
@@ -786,8 +786,8 @@ types:
786
786
  description: Service Resource Id
787
787
  type: string
788
788
  required: false
789
- serviceTerritoryId:
790
- description: Service Territory ID
789
+ workTypeId:
790
+ description: Work Type Id
791
791
  type: string
792
792
  required: false
793
793
  startDate:
@@ -1009,6 +1009,14 @@ types:
1009
1009
  description: Waitlist checkin input representation
1010
1010
  type: object
1011
1011
  properties:
1012
+ checkInPageURL:
1013
+ description: CheckIn Page URL
1014
+ required: false
1015
+ type: string
1016
+ confirmationEmailTemplate:
1017
+ description: Confirmation Email Template
1018
+ required: false
1019
+ type: string
1012
1020
  description:
1013
1021
  description: Description
1014
1022
  required: false
@@ -1622,7 +1630,7 @@ types:
1622
1630
  required: false
1623
1631
  serviceResourceId:
1624
1632
  type: string
1625
- serviceTerritoryId:
1633
+ workTypeId:
1626
1634
  type: string
1627
1635
  required: false
1628
1636
  startDate:
@@ -1762,6 +1770,9 @@ types:
1762
1770
  application/json:
1763
1771
  type: GetWaitlistParticipantStatsOutputRepresentation
1764
1772
  queryParameters:
1773
+ requestId:
1774
+ type: string
1775
+ required: false
1765
1776
  waitlistParticipantIds:
1766
1777
  type: array
1767
1778
  required: false