@salesforce/lds-adapters-industries-scheduler 1.362.0 → 1.364.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.
@@ -8061,12 +8061,19 @@ function equals$3(existing, incoming) {
8061
8061
  return true;
8062
8062
  }
8063
8063
 
8064
- const VERSION$2 = "afce9f9adef02d132f59a4edf3eed695";
8064
+ const VERSION$2 = "2e42a746f2c2ee291cbdf664927521c6";
8065
8065
  function validate$2(obj, path = 'WaitlistParticipantStats') {
8066
8066
  const v_error = (() => {
8067
8067
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
8068
8068
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
8069
8069
  }
8070
+ if (obj.createdDate !== undefined) {
8071
+ const obj_createdDate = obj.createdDate;
8072
+ const path_createdDate = path + '.createdDate';
8073
+ if (typeof obj_createdDate !== 'string') {
8074
+ return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
8075
+ }
8076
+ }
8070
8077
  if (obj.errorMessage !== undefined) {
8071
8078
  const obj_errorMessage = obj.errorMessage;
8072
8079
  const path_errorMessage = path + '.errorMessage';
@@ -8137,6 +8144,11 @@ const select$3 = function WaitlistParticipantStatsSelect() {
8137
8144
  version: VERSION$2,
8138
8145
  private: [],
8139
8146
  selections: [
8147
+ {
8148
+ name: 'createdDate',
8149
+ kind: 'Scalar',
8150
+ required: false
8151
+ },
8140
8152
  {
8141
8153
  name: 'errorMessage',
8142
8154
  kind: 'Scalar',
@@ -8192,6 +8204,19 @@ function equals$2(existing, incoming) {
8192
8204
  return false;
8193
8205
  }
8194
8206
  }
8207
+ const existing_createdDate = existing.createdDate;
8208
+ const incoming_createdDate = incoming.createdDate;
8209
+ // if at least one of these optionals is defined
8210
+ if (existing_createdDate !== undefined || incoming_createdDate !== undefined) {
8211
+ // if one of these is not defined we know the other is defined and therefore
8212
+ // not equal
8213
+ if (existing_createdDate === undefined || incoming_createdDate === undefined) {
8214
+ return false;
8215
+ }
8216
+ if (!(existing_createdDate === incoming_createdDate)) {
8217
+ return false;
8218
+ }
8219
+ }
8195
8220
  const existing_errorMessage = existing.errorMessage;
8196
8221
  const incoming_errorMessage = incoming.errorMessage;
8197
8222
  // 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 = "afce9f9adef02d132f59a4edf3eed695";
5
+ export declare const VERSION = "2e42a746f2c2ee291cbdf664927521c6";
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
+ /** Waitlist Participant Created Date */
21
+ createdDate?: string;
20
22
  /** Error Message */
21
23
  errorMessage?: string;
22
24
  /** Position In Waitlist */
@@ -36,6 +38,7 @@ export interface WaitlistParticipantStatsNormalized {
36
38
  * (none)
37
39
  */
38
40
  export interface WaitlistParticipantStats {
41
+ createdDate?: string;
39
42
  errorMessage?: string;
40
43
  positionInWaitlist?: number;
41
44
  serviceAppointmentId?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-scheduler",
3
- "version": "1.362.0",
3
+ "version": "1.364.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.362.0"
47
+ "@salesforce/lds-bindings": "^1.364.0"
48
48
  },
49
49
  "devDependencies": {
50
- "@salesforce/lds-compiler-plugins": "^1.362.0",
51
- "@salesforce/lds-karma": "^1.362.0"
50
+ "@salesforce/lds-compiler-plugins": "^1.364.0",
51
+ "@salesforce/lds-karma": "^1.364.0"
52
52
  },
53
53
  "nx": {
54
54
  "targets": {
package/sfdc/index.js CHANGED
@@ -6914,12 +6914,19 @@ function equals$9(existing, incoming) {
6914
6914
  return true;
6915
6915
  }
6916
6916
 
6917
- const VERSION$8 = "afce9f9adef02d132f59a4edf3eed695";
6917
+ const VERSION$8 = "2e42a746f2c2ee291cbdf664927521c6";
6918
6918
  function validate$9(obj, path = 'WaitlistParticipantStats') {
6919
6919
  const v_error = (() => {
6920
6920
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6921
6921
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
6922
6922
  }
6923
+ if (obj.createdDate !== undefined) {
6924
+ const obj_createdDate = obj.createdDate;
6925
+ const path_createdDate = path + '.createdDate';
6926
+ if (typeof obj_createdDate !== 'string') {
6927
+ return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
6928
+ }
6929
+ }
6923
6930
  if (obj.errorMessage !== undefined) {
6924
6931
  const obj_errorMessage = obj.errorMessage;
6925
6932
  const path_errorMessage = path + '.errorMessage';
@@ -6990,6 +6997,11 @@ const select$e = function WaitlistParticipantStatsSelect() {
6990
6997
  version: VERSION$8,
6991
6998
  private: [],
6992
6999
  selections: [
7000
+ {
7001
+ name: 'createdDate',
7002
+ kind: 'Scalar',
7003
+ required: false
7004
+ },
6993
7005
  {
6994
7006
  name: 'errorMessage',
6995
7007
  kind: 'Scalar',
@@ -7045,6 +7057,19 @@ function equals$8(existing, incoming) {
7045
7057
  return false;
7046
7058
  }
7047
7059
  }
7060
+ const existing_createdDate = existing.createdDate;
7061
+ const incoming_createdDate = incoming.createdDate;
7062
+ // if at least one of these optionals is defined
7063
+ if (existing_createdDate !== undefined || incoming_createdDate !== undefined) {
7064
+ // if one of these is not defined we know the other is defined and therefore
7065
+ // not equal
7066
+ if (existing_createdDate === undefined || incoming_createdDate === undefined) {
7067
+ return false;
7068
+ }
7069
+ if (!(existing_createdDate === incoming_createdDate)) {
7070
+ return false;
7071
+ }
7072
+ }
7048
7073
  const existing_errorMessage = existing.errorMessage;
7049
7074
  const incoming_errorMessage = incoming.errorMessage;
7050
7075
  // if at least one of these optionals is defined
@@ -8721,4 +8746,4 @@ withDefaultLuvio((luvio) => {
8721
8746
  });
8722
8747
 
8723
8748
  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.362.0-d2e818ae61
8749
+ // version: 1.364.0-a541a03c7e
package/src/raml/api.raml CHANGED
@@ -1274,6 +1274,10 @@ types:
1274
1274
  description: Waitlist Participant Statistics
1275
1275
  type: object
1276
1276
  properties:
1277
+ createdDate:
1278
+ description: Waitlist Participant Created Date
1279
+ type: string
1280
+ required: false
1277
1281
  errorMessage:
1278
1282
  description: Error Message
1279
1283
  type: string