@salesforce/lds-adapters-industries-scheduler 1.360.0 → 1.361.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.
@@ -3642,7 +3642,7 @@ function validate$x(obj, path = 'ServiceAppointmentAttendeeOutputRepresentation'
3642
3642
  }
3643
3643
  const obj_result = obj.result;
3644
3644
  const path_result = path + '.result';
3645
- if (typeof obj_result !== 'object') {
3645
+ if (typeof obj_result !== 'object' || Array.isArray(obj_result)) {
3646
3646
  return new TypeError('Expected "object" but received "' + typeof obj_result + '" (at "' + path_result + '")');
3647
3647
  }
3648
3648
  })();
@@ -4104,7 +4104,7 @@ function validate$u(obj, path = 'ServiceAppointmentOutputRepresentation') {
4104
4104
  }
4105
4105
  const obj_result = obj.result;
4106
4106
  const path_result = path + '.result';
4107
- if (typeof obj_result !== 'object') {
4107
+ if (typeof obj_result !== 'object' || Array.isArray(obj_result)) {
4108
4108
  return new TypeError('Expected "object" but received "' + typeof obj_result + '" (at "' + path_result + '")');
4109
4109
  }
4110
4110
  })();
@@ -5801,7 +5801,7 @@ function validate$h(obj, path = 'WaitlistAppointmentOutputRepresentation') {
5801
5801
  }
5802
5802
  const obj_result = obj.result;
5803
5803
  const path_result = path + '.result';
5804
- if (typeof obj_result !== 'object') {
5804
+ if (typeof obj_result !== 'object' || Array.isArray(obj_result)) {
5805
5805
  return new TypeError('Expected "object" but received "' + typeof obj_result + '" (at "' + path_result + '")');
5806
5806
  }
5807
5807
  })();
@@ -6183,7 +6183,7 @@ function validate$e(obj, path = 'WaitlistCheckInOutputRepresentation') {
6183
6183
  }
6184
6184
  const obj_result = obj.result;
6185
6185
  const path_result = path + '.result';
6186
- if (typeof obj_result !== 'object') {
6186
+ if (typeof obj_result !== 'object' || Array.isArray(obj_result)) {
6187
6187
  return new TypeError('Expected "object" but received "' + typeof obj_result + '" (at "' + path_result + '")');
6188
6188
  }
6189
6189
  })();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-scheduler",
3
- "version": "1.360.0",
3
+ "version": "1.361.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.360.0"
47
+ "@salesforce/lds-bindings": "^1.361.0"
48
48
  },
49
49
  "devDependencies": {
50
- "@salesforce/lds-compiler-plugins": "^1.360.0",
51
- "@salesforce/lds-karma": "^1.360.0"
50
+ "@salesforce/lds-compiler-plugins": "^1.361.0",
51
+ "@salesforce/lds-karma": "^1.361.0"
52
52
  },
53
53
  "nx": {
54
54
  "targets": {
package/sfdc/index.js CHANGED
@@ -282,7 +282,7 @@ function validate$W(obj, path = 'ServiceAppointmentOutputRepresentation') {
282
282
  }
283
283
  const obj_result = obj.result;
284
284
  const path_result = path + '.result';
285
- if (typeof obj_result !== 'object') {
285
+ if (typeof obj_result !== 'object' || Array.isArray(obj_result)) {
286
286
  return new TypeError('Expected "object" but received "' + typeof obj_result + '" (at "' + path_result + '")');
287
287
  }
288
288
  })();
@@ -580,7 +580,7 @@ function validate$T(obj, path = 'ServiceAppointmentAttendeeOutputRepresentation'
580
580
  }
581
581
  const obj_result = obj.result;
582
582
  const path_result = path + '.result';
583
- if (typeof obj_result !== 'object') {
583
+ if (typeof obj_result !== 'object' || Array.isArray(obj_result)) {
584
584
  return new TypeError('Expected "object" but received "' + typeof obj_result + '" (at "' + path_result + '")');
585
585
  }
586
586
  })();
@@ -907,7 +907,7 @@ function validate$Q(obj, path = 'WaitlistAppointmentOutputRepresentation') {
907
907
  }
908
908
  const obj_result = obj.result;
909
909
  const path_result = path + '.result';
910
- if (typeof obj_result !== 'object') {
910
+ if (typeof obj_result !== 'object' || Array.isArray(obj_result)) {
911
911
  return new TypeError('Expected "object" but received "' + typeof obj_result + '" (at "' + path_result + '")');
912
912
  }
913
913
  })();
@@ -1289,7 +1289,7 @@ function validate$N(obj, path = 'WaitlistCheckInOutputRepresentation') {
1289
1289
  }
1290
1290
  const obj_result = obj.result;
1291
1291
  const path_result = path + '.result';
1292
- if (typeof obj_result !== 'object') {
1292
+ if (typeof obj_result !== 'object' || Array.isArray(obj_result)) {
1293
1293
  return new TypeError('Expected "object" but received "' + typeof obj_result + '" (at "' + path_result + '")');
1294
1294
  }
1295
1295
  })();
@@ -8721,4 +8721,4 @@ withDefaultLuvio((luvio) => {
8721
8721
  });
8722
8722
 
8723
8723
  export { createServiceAppointment, createServiceAppointmentAttendee, createWaitlistAppointment, createWaitlistCheckIn, decryption, decryption_imperative, encrypt, encrypt_imperative, getAppointmentFromToken, getAppointmentFromToken_imperative, getAppointmentPaymentDetails, getAppointmentPaymentDetails_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 };
8724
- // version: 1.360.0-3cf173d4f8
8724
+ // version: 1.361.0-eb406138cb