@salesforce/lds-adapters-industries-scheduler 1.307.0 → 1.308.0-dev2

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.
@@ -7708,12 +7708,19 @@ function equals$3(existing, incoming) {
7708
7708
  return true;
7709
7709
  }
7710
7710
 
7711
- const VERSION$2 = "0743a069eb1be298c0a74e8e75bed56a";
7711
+ const VERSION$2 = "afce9f9adef02d132f59a4edf3eed695";
7712
7712
  function validate$2(obj, path = 'WaitlistParticipantStats') {
7713
7713
  const v_error = (() => {
7714
7714
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
7715
7715
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
7716
7716
  }
7717
+ if (obj.errorMessage !== undefined) {
7718
+ const obj_errorMessage = obj.errorMessage;
7719
+ const path_errorMessage = path + '.errorMessage';
7720
+ if (typeof obj_errorMessage !== 'string') {
7721
+ return new TypeError('Expected "string" but received "' + typeof obj_errorMessage + '" (at "' + path_errorMessage + '")');
7722
+ }
7723
+ }
7717
7724
  if (obj.positionInWaitlist !== undefined) {
7718
7725
  const obj_positionInWaitlist = obj.positionInWaitlist;
7719
7726
  const path_positionInWaitlist = path + '.positionInWaitlist';
@@ -7777,6 +7784,11 @@ const select$3 = function WaitlistParticipantStatsSelect() {
7777
7784
  version: VERSION$2,
7778
7785
  private: [],
7779
7786
  selections: [
7787
+ {
7788
+ name: 'errorMessage',
7789
+ kind: 'Scalar',
7790
+ required: false
7791
+ },
7780
7792
  {
7781
7793
  name: 'positionInWaitlist',
7782
7794
  kind: 'Scalar',
@@ -7827,6 +7839,19 @@ function equals$2(existing, incoming) {
7827
7839
  return false;
7828
7840
  }
7829
7841
  }
7842
+ const existing_errorMessage = existing.errorMessage;
7843
+ const incoming_errorMessage = incoming.errorMessage;
7844
+ // if at least one of these optionals is defined
7845
+ if (existing_errorMessage !== undefined || incoming_errorMessage !== undefined) {
7846
+ // if one of these is not defined we know the other is defined and therefore
7847
+ // not equal
7848
+ if (existing_errorMessage === undefined || incoming_errorMessage === undefined) {
7849
+ return false;
7850
+ }
7851
+ if (!(existing_errorMessage === incoming_errorMessage)) {
7852
+ return false;
7853
+ }
7854
+ }
7830
7855
  const existing_serviceAppointmentId = existing.serviceAppointmentId;
7831
7856
  const incoming_serviceAppointmentId = incoming.serviceAppointmentId;
7832
7857
  // if at least one of these optionals is defined
@@ -2,7 +2,7 @@ import { WaitlistResult as WaitlistResult_WaitlistResult } from './WaitlistResul
2
2
  import { WorkTypeRepresentation as WorkTypeRepresentation_WorkTypeRepresentation } from './WorkTypeRepresentation';
3
3
  import { WorkTypeGroupRepresentation as WorkTypeGroupRepresentation_WorkTypeGroupRepresentation } from './WorkTypeGroupRepresentation';
4
4
  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';
5
- export declare const VERSION = "0743a069eb1be298c0a74e8e75bed56a";
5
+ export declare const VERSION = "afce9f9adef02d132f59a4edf3eed695";
6
6
  export declare function validate(obj: any, path?: string): TypeError | null;
7
7
  export declare const RepresentationType: string;
8
8
  export declare function normalize(input: WaitlistParticipantStats, existing: WaitlistParticipantStatsNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): WaitlistParticipantStatsNormalized;
@@ -17,6 +17,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
17
17
  * (none)
18
18
  */
19
19
  export interface WaitlistParticipantStatsNormalized {
20
+ /** Error Message */
21
+ errorMessage?: string;
20
22
  /** Position In Waitlist */
21
23
  positionInWaitlist?: number;
22
24
  /** Service Appointment ID */
@@ -34,6 +36,7 @@ export interface WaitlistParticipantStatsNormalized {
34
36
  * (none)
35
37
  */
36
38
  export interface WaitlistParticipantStats {
39
+ errorMessage?: string;
37
40
  positionInWaitlist?: number;
38
41
  serviceAppointmentId?: string;
39
42
  waitlist?: WaitlistResult_WaitlistResult;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-scheduler",
3
- "version": "1.307.0",
3
+ "version": "1.308.0-dev2",
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.307.0"
47
+ "@salesforce/lds-bindings": "^1.308.0-dev2"
48
48
  },
49
49
  "devDependencies": {
50
- "@salesforce/lds-compiler-plugins": "^1.307.0",
51
- "@salesforce/lds-karma": "^1.307.0"
50
+ "@salesforce/lds-compiler-plugins": "^1.308.0-dev2",
51
+ "@salesforce/lds-karma": "^1.308.0-dev2"
52
52
  },
53
53
  "nx": {
54
54
  "targets": {
package/sfdc/index.js CHANGED
@@ -6562,12 +6562,19 @@ function equals$9(existing, incoming) {
6562
6562
  return true;
6563
6563
  }
6564
6564
 
6565
- const VERSION$8 = "0743a069eb1be298c0a74e8e75bed56a";
6565
+ const VERSION$8 = "afce9f9adef02d132f59a4edf3eed695";
6566
6566
  function validate$9(obj, path = 'WaitlistParticipantStats') {
6567
6567
  const v_error = (() => {
6568
6568
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6569
6569
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
6570
6570
  }
6571
+ if (obj.errorMessage !== undefined) {
6572
+ const obj_errorMessage = obj.errorMessage;
6573
+ const path_errorMessage = path + '.errorMessage';
6574
+ if (typeof obj_errorMessage !== 'string') {
6575
+ return new TypeError('Expected "string" but received "' + typeof obj_errorMessage + '" (at "' + path_errorMessage + '")');
6576
+ }
6577
+ }
6571
6578
  if (obj.positionInWaitlist !== undefined) {
6572
6579
  const obj_positionInWaitlist = obj.positionInWaitlist;
6573
6580
  const path_positionInWaitlist = path + '.positionInWaitlist';
@@ -6631,6 +6638,11 @@ const select$e = function WaitlistParticipantStatsSelect() {
6631
6638
  version: VERSION$8,
6632
6639
  private: [],
6633
6640
  selections: [
6641
+ {
6642
+ name: 'errorMessage',
6643
+ kind: 'Scalar',
6644
+ required: false
6645
+ },
6634
6646
  {
6635
6647
  name: 'positionInWaitlist',
6636
6648
  kind: 'Scalar',
@@ -6681,6 +6693,19 @@ function equals$8(existing, incoming) {
6681
6693
  return false;
6682
6694
  }
6683
6695
  }
6696
+ const existing_errorMessage = existing.errorMessage;
6697
+ const incoming_errorMessage = incoming.errorMessage;
6698
+ // if at least one of these optionals is defined
6699
+ if (existing_errorMessage !== undefined || incoming_errorMessage !== undefined) {
6700
+ // if one of these is not defined we know the other is defined and therefore
6701
+ // not equal
6702
+ if (existing_errorMessage === undefined || incoming_errorMessage === undefined) {
6703
+ return false;
6704
+ }
6705
+ if (!(existing_errorMessage === incoming_errorMessage)) {
6706
+ return false;
6707
+ }
6708
+ }
6684
6709
  const existing_serviceAppointmentId = existing.serviceAppointmentId;
6685
6710
  const incoming_serviceAppointmentId = incoming.serviceAppointmentId;
6686
6711
  // if at least one of these optionals is defined
@@ -8332,4 +8357,4 @@ withDefaultLuvio((luvio) => {
8332
8357
  });
8333
8358
 
8334
8359
  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 };
8335
- // version: 1.307.0-1e4b921353
8360
+ // version: 1.308.0-dev2-9bec7cb98f
package/src/raml/api.raml CHANGED
@@ -1234,6 +1234,10 @@ types:
1234
1234
  description: Waitlist Participant Statistics
1235
1235
  type: object
1236
1236
  properties:
1237
+ errorMessage:
1238
+ description: Error Message
1239
+ type: string
1240
+ required: false
1237
1241
  positionInWaitlist:
1238
1242
  description: Position In Waitlist
1239
1243
  type: integer