@salesforce/lds-adapters-industries-scheduler 1.380.0-dev1 → 1.380.0-dev3
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 = "
|
|
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.
|
|
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) {
|
package/dist/es/es2018/types/src/generated/types/WaitlistParticipantOutputRepresentation.d.ts
CHANGED
|
@@ -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 = "
|
|
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):
|
|
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):
|
|
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.380.0-
|
|
3
|
+
"version": "1.380.0-dev3",
|
|
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.380.0-
|
|
47
|
+
"@salesforce/lds-bindings": "^1.380.0-dev3"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@salesforce/lds-compiler-plugins": "^1.380.0-
|
|
51
|
-
"@salesforce/lds-karma": "^1.380.0-
|
|
50
|
+
"@salesforce/lds-compiler-plugins": "^1.380.0-dev3",
|
|
51
|
+
"@salesforce/lds-karma": "^1.380.0-dev3"
|
|
52
52
|
},
|
|
53
53
|
"nx": {
|
|
54
54
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -8360,7 +8360,7 @@ const updateServiceAppointmentAttendeeAdapterFactory = (luvio) => {
|
|
|
8360
8360
|
};
|
|
8361
8361
|
};
|
|
8362
8362
|
|
|
8363
|
-
const VERSION = "
|
|
8363
|
+
const VERSION = "52b4e4fb57126c7dd77c55326ce2a18f";
|
|
8364
8364
|
function validate(obj, path = 'WaitlistParticipantOutputRepresentation') {
|
|
8365
8365
|
const v_error = (() => {
|
|
8366
8366
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -8373,11 +8373,6 @@ function validate(obj, path = 'WaitlistParticipantOutputRepresentation') {
|
|
|
8373
8373
|
return new TypeError('Expected "string" but received "' + typeof obj_message + '" (at "' + path_message + '")');
|
|
8374
8374
|
}
|
|
8375
8375
|
}
|
|
8376
|
-
const obj_participantId = obj.participantId;
|
|
8377
|
-
const path_participantId = path + '.participantId';
|
|
8378
|
-
if (typeof obj_participantId !== 'string') {
|
|
8379
|
-
return new TypeError('Expected "string" but received "' + typeof obj_participantId + '" (at "' + path_participantId + '")');
|
|
8380
|
-
}
|
|
8381
8376
|
if (obj.status !== undefined) {
|
|
8382
8377
|
const obj_status = obj.status;
|
|
8383
8378
|
const path_status = path + '.status';
|
|
@@ -8385,6 +8380,11 @@ function validate(obj, path = 'WaitlistParticipantOutputRepresentation') {
|
|
|
8385
8380
|
return new TypeError('Expected "string" but received "' + typeof obj_status + '" (at "' + path_status + '")');
|
|
8386
8381
|
}
|
|
8387
8382
|
}
|
|
8383
|
+
const obj_waitlistParticipantId = obj.waitlistParticipantId;
|
|
8384
|
+
const path_waitlistParticipantId = path + '.waitlistParticipantId';
|
|
8385
|
+
if (typeof obj_waitlistParticipantId !== 'string') {
|
|
8386
|
+
return new TypeError('Expected "string" but received "' + typeof obj_waitlistParticipantId + '" (at "' + path_waitlistParticipantId + '")');
|
|
8387
|
+
}
|
|
8388
8388
|
})();
|
|
8389
8389
|
return v_error === undefined ? null : v_error;
|
|
8390
8390
|
}
|
|
@@ -8394,7 +8394,7 @@ function keyBuilder(luvio, config) {
|
|
|
8394
8394
|
}
|
|
8395
8395
|
function keyBuilderFromType(luvio, object) {
|
|
8396
8396
|
const keyParams = {
|
|
8397
|
-
id: object.
|
|
8397
|
+
id: object.waitlistParticipantId
|
|
8398
8398
|
};
|
|
8399
8399
|
return keyBuilder(luvio, keyParams);
|
|
8400
8400
|
}
|
|
@@ -8412,14 +8412,14 @@ const select$1 = function WaitlistParticipantOutputRepresentationSelect() {
|
|
|
8412
8412
|
kind: 'Scalar',
|
|
8413
8413
|
required: false
|
|
8414
8414
|
},
|
|
8415
|
-
{
|
|
8416
|
-
name: 'participantId',
|
|
8417
|
-
kind: 'Scalar'
|
|
8418
|
-
},
|
|
8419
8415
|
{
|
|
8420
8416
|
name: 'status',
|
|
8421
8417
|
kind: 'Scalar',
|
|
8422
8418
|
required: false
|
|
8419
|
+
},
|
|
8420
|
+
{
|
|
8421
|
+
name: 'waitlistParticipantId',
|
|
8422
|
+
kind: 'Scalar'
|
|
8423
8423
|
}
|
|
8424
8424
|
]
|
|
8425
8425
|
};
|
|
@@ -8438,11 +8438,6 @@ function equals(existing, incoming) {
|
|
|
8438
8438
|
return false;
|
|
8439
8439
|
}
|
|
8440
8440
|
}
|
|
8441
|
-
const existing_participantId = existing.participantId;
|
|
8442
|
-
const incoming_participantId = incoming.participantId;
|
|
8443
|
-
if (!(existing_participantId === incoming_participantId)) {
|
|
8444
|
-
return false;
|
|
8445
|
-
}
|
|
8446
8441
|
const existing_status = existing.status;
|
|
8447
8442
|
const incoming_status = incoming.status;
|
|
8448
8443
|
// if at least one of these optionals is defined
|
|
@@ -8456,6 +8451,11 @@ function equals(existing, incoming) {
|
|
|
8456
8451
|
return false;
|
|
8457
8452
|
}
|
|
8458
8453
|
}
|
|
8454
|
+
const existing_waitlistParticipantId = existing.waitlistParticipantId;
|
|
8455
|
+
const incoming_waitlistParticipantId = incoming.waitlistParticipantId;
|
|
8456
|
+
if (!(existing_waitlistParticipantId === incoming_waitlistParticipantId)) {
|
|
8457
|
+
return false;
|
|
8458
|
+
}
|
|
8459
8459
|
return true;
|
|
8460
8460
|
}
|
|
8461
8461
|
const ingest = function WaitlistParticipantOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
@@ -8746,4 +8746,4 @@ withDefaultLuvio((luvio) => {
|
|
|
8746
8746
|
});
|
|
8747
8747
|
|
|
8748
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 };
|
|
8749
|
-
// version: 1.380.0-
|
|
8749
|
+
// version: 1.380.0-dev3-4d1fd7819b
|
package/src/raml/api.raml
CHANGED