@salesforce/lds-adapters-industries-scheduler 1.354.0-dev21 → 1.354.0-dev22

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.
@@ -7799,7 +7799,7 @@ const getWaitlistsAdapterFactory = (luvio) => function IndustriesScheduler__getW
7799
7799
  buildCachedSnapshotCachePolicy$1, buildNetworkSnapshotCachePolicy$1);
7800
7800
  };
7801
7801
 
7802
- const VERSION$4 = "7a8d726822f84b04823fa3d36a8a271b";
7802
+ const VERSION$4 = "52b4e4fb57126c7dd77c55326ce2a18f";
7803
7803
  function validate$4(obj, path = 'WaitlistParticipantOutputRepresentation') {
7804
7804
  const v_error = (() => {
7805
7805
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -7812,11 +7812,6 @@ function validate$4(obj, path = 'WaitlistParticipantOutputRepresentation') {
7812
7812
  return new TypeError('Expected "string" but received "' + typeof obj_message + '" (at "' + path_message + '")');
7813
7813
  }
7814
7814
  }
7815
- const obj_participantId = obj.participantId;
7816
- const path_participantId = path + '.participantId';
7817
- if (typeof obj_participantId !== 'string') {
7818
- return new TypeError('Expected "string" but received "' + typeof obj_participantId + '" (at "' + path_participantId + '")');
7819
- }
7820
7815
  if (obj.status !== undefined) {
7821
7816
  const obj_status = obj.status;
7822
7817
  const path_status = path + '.status';
@@ -7824,6 +7819,11 @@ function validate$4(obj, path = 'WaitlistParticipantOutputRepresentation') {
7824
7819
  return new TypeError('Expected "string" but received "' + typeof obj_status + '" (at "' + path_status + '")');
7825
7820
  }
7826
7821
  }
7822
+ const obj_waitlistParticipantId = obj.waitlistParticipantId;
7823
+ const path_waitlistParticipantId = path + '.waitlistParticipantId';
7824
+ if (typeof obj_waitlistParticipantId !== 'string') {
7825
+ return new TypeError('Expected "string" but received "' + typeof obj_waitlistParticipantId + '" (at "' + path_waitlistParticipantId + '")');
7826
+ }
7827
7827
  })();
7828
7828
  return v_error === undefined ? null : v_error;
7829
7829
  }
@@ -7833,7 +7833,7 @@ function keyBuilder$2(luvio, config) {
7833
7833
  }
7834
7834
  function keyBuilderFromType(luvio, object) {
7835
7835
  const keyParams = {
7836
- id: object.participantId
7836
+ id: object.waitlistParticipantId
7837
7837
  };
7838
7838
  return keyBuilder$2(luvio, keyParams);
7839
7839
  }
@@ -7851,14 +7851,14 @@ const select$6 = function WaitlistParticipantOutputRepresentationSelect() {
7851
7851
  kind: 'Scalar',
7852
7852
  required: false
7853
7853
  },
7854
- {
7855
- name: 'participantId',
7856
- kind: 'Scalar'
7857
- },
7858
7854
  {
7859
7855
  name: 'status',
7860
7856
  kind: 'Scalar',
7861
7857
  required: false
7858
+ },
7859
+ {
7860
+ name: 'waitlistParticipantId',
7861
+ kind: 'Scalar'
7862
7862
  }
7863
7863
  ]
7864
7864
  };
@@ -7877,11 +7877,6 @@ function equals$4(existing, incoming) {
7877
7877
  return false;
7878
7878
  }
7879
7879
  }
7880
- const existing_participantId = existing.participantId;
7881
- const incoming_participantId = incoming.participantId;
7882
- if (!(existing_participantId === incoming_participantId)) {
7883
- return false;
7884
- }
7885
7880
  const existing_status = existing.status;
7886
7881
  const incoming_status = incoming.status;
7887
7882
  // if at least one of these optionals is defined
@@ -7895,6 +7890,11 @@ function equals$4(existing, incoming) {
7895
7890
  return false;
7896
7891
  }
7897
7892
  }
7893
+ const existing_waitlistParticipantId = existing.waitlistParticipantId;
7894
+ const incoming_waitlistParticipantId = incoming.waitlistParticipantId;
7895
+ if (!(existing_waitlistParticipantId === incoming_waitlistParticipantId)) {
7896
+ return false;
7897
+ }
7898
7898
  return true;
7899
7899
  }
7900
7900
  const ingest$1 = function WaitlistParticipantOutputRepresentationIngest(input, path, luvio, store, timestamp) {
@@ -1,5 +1,5 @@
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
- export declare const VERSION = "7a8d726822f84b04823fa3d36a8a271b";
2
+ export declare const VERSION = "52b4e4fb57126c7dd77c55326ce2a18f";
3
3
  export declare function validate(obj: any, path?: string): TypeError | null;
4
4
  export declare const RepresentationType: string;
5
5
  export interface KeyParams extends $64$luvio_engine_KeyMetadata {
@@ -20,24 +20,24 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
20
20
  * Output representation of Waitlist Participant resource
21
21
  *
22
22
  * Keys:
23
- * id (string): participantId
23
+ * id (string): waitlistParticipantId
24
24
  */
25
25
  export interface WaitlistParticipantOutputRepresentationNormalized {
26
26
  /** Response message */
27
27
  message?: string;
28
- /** Waitlist Participant Id */
29
- participantId: string;
30
28
  /** Response status */
31
29
  status?: string;
30
+ /** Waitlist Participant Id */
31
+ waitlistParticipantId: string;
32
32
  }
33
33
  /**
34
34
  * Output representation of Waitlist Participant resource
35
35
  *
36
36
  * Keys:
37
- * id (string): participantId
37
+ * id (string): waitlistParticipantId
38
38
  */
39
39
  export interface WaitlistParticipantOutputRepresentation {
40
40
  message?: string;
41
- participantId: string;
42
41
  status?: string;
42
+ waitlistParticipantId: string;
43
43
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-scheduler",
3
- "version": "1.354.0-dev21",
3
+ "version": "1.354.0-dev22",
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.354.0-dev21"
47
+ "@salesforce/lds-bindings": "^1.354.0-dev22"
48
48
  },
49
49
  "devDependencies": {
50
- "@salesforce/lds-compiler-plugins": "^1.354.0-dev21",
51
- "@salesforce/lds-karma": "^1.354.0-dev21"
50
+ "@salesforce/lds-compiler-plugins": "^1.354.0-dev22",
51
+ "@salesforce/lds-karma": "^1.354.0-dev22"
52
52
  },
53
53
  "nx": {
54
54
  "targets": {
package/sfdc/index.js CHANGED
@@ -8335,7 +8335,7 @@ const updateServiceAppointmentAttendeeAdapterFactory = (luvio) => {
8335
8335
  };
8336
8336
  };
8337
8337
 
8338
- const VERSION = "7a8d726822f84b04823fa3d36a8a271b";
8338
+ const VERSION = "52b4e4fb57126c7dd77c55326ce2a18f";
8339
8339
  function validate(obj, path = 'WaitlistParticipantOutputRepresentation') {
8340
8340
  const v_error = (() => {
8341
8341
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -8348,11 +8348,6 @@ function validate(obj, path = 'WaitlistParticipantOutputRepresentation') {
8348
8348
  return new TypeError('Expected "string" but received "' + typeof obj_message + '" (at "' + path_message + '")');
8349
8349
  }
8350
8350
  }
8351
- const obj_participantId = obj.participantId;
8352
- const path_participantId = path + '.participantId';
8353
- if (typeof obj_participantId !== 'string') {
8354
- return new TypeError('Expected "string" but received "' + typeof obj_participantId + '" (at "' + path_participantId + '")');
8355
- }
8356
8351
  if (obj.status !== undefined) {
8357
8352
  const obj_status = obj.status;
8358
8353
  const path_status = path + '.status';
@@ -8360,6 +8355,11 @@ function validate(obj, path = 'WaitlistParticipantOutputRepresentation') {
8360
8355
  return new TypeError('Expected "string" but received "' + typeof obj_status + '" (at "' + path_status + '")');
8361
8356
  }
8362
8357
  }
8358
+ const obj_waitlistParticipantId = obj.waitlistParticipantId;
8359
+ const path_waitlistParticipantId = path + '.waitlistParticipantId';
8360
+ if (typeof obj_waitlistParticipantId !== 'string') {
8361
+ return new TypeError('Expected "string" but received "' + typeof obj_waitlistParticipantId + '" (at "' + path_waitlistParticipantId + '")');
8362
+ }
8363
8363
  })();
8364
8364
  return v_error === undefined ? null : v_error;
8365
8365
  }
@@ -8369,7 +8369,7 @@ function keyBuilder(luvio, config) {
8369
8369
  }
8370
8370
  function keyBuilderFromType(luvio, object) {
8371
8371
  const keyParams = {
8372
- id: object.participantId
8372
+ id: object.waitlistParticipantId
8373
8373
  };
8374
8374
  return keyBuilder(luvio, keyParams);
8375
8375
  }
@@ -8387,14 +8387,14 @@ const select$1 = function WaitlistParticipantOutputRepresentationSelect() {
8387
8387
  kind: 'Scalar',
8388
8388
  required: false
8389
8389
  },
8390
- {
8391
- name: 'participantId',
8392
- kind: 'Scalar'
8393
- },
8394
8390
  {
8395
8391
  name: 'status',
8396
8392
  kind: 'Scalar',
8397
8393
  required: false
8394
+ },
8395
+ {
8396
+ name: 'waitlistParticipantId',
8397
+ kind: 'Scalar'
8398
8398
  }
8399
8399
  ]
8400
8400
  };
@@ -8413,11 +8413,6 @@ function equals(existing, incoming) {
8413
8413
  return false;
8414
8414
  }
8415
8415
  }
8416
- const existing_participantId = existing.participantId;
8417
- const incoming_participantId = incoming.participantId;
8418
- if (!(existing_participantId === incoming_participantId)) {
8419
- return false;
8420
- }
8421
8416
  const existing_status = existing.status;
8422
8417
  const incoming_status = incoming.status;
8423
8418
  // if at least one of these optionals is defined
@@ -8431,6 +8426,11 @@ function equals(existing, incoming) {
8431
8426
  return false;
8432
8427
  }
8433
8428
  }
8429
+ const existing_waitlistParticipantId = existing.waitlistParticipantId;
8430
+ const incoming_waitlistParticipantId = incoming.waitlistParticipantId;
8431
+ if (!(existing_waitlistParticipantId === incoming_waitlistParticipantId)) {
8432
+ return false;
8433
+ }
8434
8434
  return true;
8435
8435
  }
8436
8436
  const ingest = function WaitlistParticipantOutputRepresentationIngest(input, path, luvio, store, timestamp) {
@@ -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.354.0-dev21-5f69ab6bb6
8724
+ // version: 1.354.0-dev22-337fdb817f
package/src/raml/api.raml CHANGED
@@ -1178,7 +1178,7 @@ types:
1178
1178
  description: Response message
1179
1179
  type: string
1180
1180
  required: false
1181
- participantId:
1181
+ waitlistParticipantId:
1182
1182
  description: Waitlist Participant Id
1183
1183
  type: string
1184
1184
  status:
@@ -34,7 +34,7 @@ types:
34
34
  id: serviceAppointmentId
35
35
  WaitlistParticipantOutputRepresentation:
36
36
  (luvio.key):
37
- id: participantId
37
+ id: waitlistParticipantId
38
38
  /connect:
39
39
  /scheduling:
40
40
  /appointment-from-token: