@wix/auto_sdk_arrivals_arrivals 1.0.7 → 1.0.9

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.
@@ -474,16 +474,6 @@ declare enum Status {
474
474
  }
475
475
  /** @enumType */
476
476
  type StatusWithLiterals = Status | 'GRANTED' | 'DENIED';
477
- /** Payload of the Arrival Granted event. */
478
- interface ArrivalGranted {
479
- /** The granted arrival. */
480
- arrival?: Arrival;
481
- }
482
- /** Payload of the Arrival Denied event. */
483
- interface ArrivalDenied {
484
- /** The denied arrival. */
485
- arrival?: Arrival;
486
- }
487
477
  interface CreateArrivalRequest {
488
478
  /**
489
479
  * Arrival to create. Only `contactDetails.contactId` and `area.entranceId` are read; every other field —
@@ -494,7 +484,7 @@ interface CreateArrivalRequest {
494
484
  /**
495
485
  * Staff's decision to let the person in even if the evaluation denies them, made before the call. Its presence is the decision: send it, even empty (`{}`), to let the person in on a denial; omit it for no override. When the
496
486
  * evaluation grants, it is ignored; when it denies, the arrival is written `GRANTED` with `overrideReason` set to
497
- * `reason`, and Arrival Denied does not fire. Only a site user may send it (`OVERRIDE_NOT_ALLOWED` otherwise). On a
487
+ * `reason`. Only a site user may send it (`OVERRIDE_NOT_ALLOWED` otherwise). On a
498
488
  * repeat within 5 seconds onto an existing `DENIED` arrival, it grants that arrival as Override Arrival as Granted
499
489
  * does; on an existing `GRANTED` one it is ignored.
500
490
  */
@@ -868,11 +858,11 @@ interface AccountInfo {
868
858
  }
869
859
  interface CheckEligibilityByCredentialRequest extends CheckEligibilityByCredentialRequestCredentialOneOf {
870
860
  /**
871
- * The presented token: the scanned QR payload, the credential's signed token.
861
+ * The presented token: the scanned QR payload, the credential's signed token. Minted by Generate Contact Credential Token in the Contact Credentials API; a QR code's payload is the bare token.
872
862
  * @maxLength 2048
873
863
  */
874
864
  token?: string;
875
- /** A presented identifier, such as an NFC card: its `type` and the `value` the reader reports, added to the credential with Add Credential Identifier in the Contact Credentials API. */
865
+ /** A presented identifier, such as an NFC card: its `type` and the `value` the reader reports, added to the credential with Add Credential Identifier in the Contact Credentials API. Not supported yet: a request with an identifier fails with `UNIMPLEMENTED`; present a token. */
876
866
  identifier?: PresentedIdentifier;
877
867
  /**
878
868
  * ID of the entrance the credential is presented at, one of an area's entrances. Eligibility is checked for the area it belongs to.
@@ -883,11 +873,11 @@ interface CheckEligibilityByCredentialRequest extends CheckEligibilityByCredenti
883
873
  /** @oneof */
884
874
  interface CheckEligibilityByCredentialRequestCredentialOneOf {
885
875
  /**
886
- * The presented token: the scanned QR payload, the credential's signed token.
876
+ * The presented token: the scanned QR payload, the credential's signed token. Minted by Generate Contact Credential Token in the Contact Credentials API; a QR code's payload is the bare token.
887
877
  * @maxLength 2048
888
878
  */
889
879
  token?: string;
890
- /** A presented identifier, such as an NFC card: its `type` and the `value` the reader reports, added to the credential with Add Credential Identifier in the Contact Credentials API. */
880
+ /** A presented identifier, such as an NFC card: its `type` and the `value` the reader reports, added to the credential with Add Credential Identifier in the Contact Credentials API. Not supported yet: a request with an identifier fails with `UNIMPLEMENTED`; present a token. */
891
881
  identifier?: PresentedIdentifier;
892
882
  }
893
883
  /**
@@ -935,11 +925,11 @@ interface CheckEligibilityByCredentialResponse {
935
925
  }
936
926
  interface CreateArrivalByCredentialRequest extends CreateArrivalByCredentialRequestCredentialOneOf {
937
927
  /**
938
- * The presented token: the scanned QR payload, the credential's signed token.
928
+ * The presented token: the scanned QR payload, the credential's signed token. Minted by Generate Contact Credential Token in the Contact Credentials API; a QR code's payload is the bare token.
939
929
  * @maxLength 2048
940
930
  */
941
931
  token?: string;
942
- /** A presented identifier, such as an NFC card: its `type` and the `value` the reader reports, added to the credential with Add Credential Identifier in the Contact Credentials API. */
932
+ /** A presented identifier, such as an NFC card: its `type` and the `value` the reader reports, added to the credential with Add Credential Identifier in the Contact Credentials API. Not supported yet: a request with an identifier fails with `UNIMPLEMENTED`; present a token. */
943
933
  identifier?: PresentedIdentifier;
944
934
  /**
945
935
  * ID of the entrance the credential is presented at, one of an area's entrances. The arrival is recorded in the area it belongs to.
@@ -950,11 +940,11 @@ interface CreateArrivalByCredentialRequest extends CreateArrivalByCredentialRequ
950
940
  /** @oneof */
951
941
  interface CreateArrivalByCredentialRequestCredentialOneOf {
952
942
  /**
953
- * The presented token: the scanned QR payload, the credential's signed token.
943
+ * The presented token: the scanned QR payload, the credential's signed token. Minted by Generate Contact Credential Token in the Contact Credentials API; a QR code's payload is the bare token.
954
944
  * @maxLength 2048
955
945
  */
956
946
  token?: string;
957
- /** A presented identifier, such as an NFC card: its `type` and the `value` the reader reports, added to the credential with Add Credential Identifier in the Contact Credentials API. */
947
+ /** A presented identifier, such as an NFC card: its `type` and the `value` the reader reports, added to the credential with Add Credential Identifier in the Contact Credentials API. Not supported yet: a request with an identifier fails with `UNIMPLEMENTED`; present a token. */
958
948
  identifier?: PresentedIdentifier;
959
949
  }
960
950
  interface CreateArrivalByCredentialResponse {
@@ -1080,7 +1070,7 @@ interface CreateArrivalOptions {
1080
1070
  /**
1081
1071
  * Staff's decision to let the person in even if the evaluation denies them, made before the call. Its presence is the decision: send it, even empty (`{}`), to let the person in on a denial; omit it for no override. When the
1082
1072
  * evaluation grants, it is ignored; when it denies, the arrival is written `GRANTED` with `overrideReason` set to
1083
- * `reason`, and Arrival Denied does not fire. Only a site user may send it (`OVERRIDE_NOT_ALLOWED` otherwise). On a
1073
+ * `reason`. Only a site user may send it (`OVERRIDE_NOT_ALLOWED` otherwise). On a
1084
1074
  * repeat within 5 seconds onto an existing `DENIED` arrival, it grants that arrival as Override Arrival as Granted
1085
1075
  * does; on an existing `GRANTED` one it is ignored.
1086
1076
  */
@@ -1277,11 +1267,11 @@ interface CountArrivalsOptions {
1277
1267
  }
1278
1268
  interface CheckEligibilityByCredentialOptions extends CheckEligibilityByCredentialOptionsCredentialOneOf {
1279
1269
  /**
1280
- * The presented token: the scanned QR payload, the credential's signed token.
1270
+ * The presented token: the scanned QR payload, the credential's signed token. Minted by Generate Contact Credential Token in the Contact Credentials API; a QR code's payload is the bare token.
1281
1271
  * @maxLength 2048
1282
1272
  */
1283
1273
  token?: string;
1284
- /** A presented identifier, such as an NFC card: its `type` and the `value` the reader reports, added to the credential with Add Credential Identifier in the Contact Credentials API. */
1274
+ /** A presented identifier, such as an NFC card: its `type` and the `value` the reader reports, added to the credential with Add Credential Identifier in the Contact Credentials API. Not supported yet: a request with an identifier fails with `UNIMPLEMENTED`; present a token. */
1285
1275
  identifier?: PresentedIdentifier;
1286
1276
  /**
1287
1277
  * ID of the entrance the credential is presented at, one of an area's entrances. Eligibility is checked for the area it belongs to.
@@ -1292,20 +1282,20 @@ interface CheckEligibilityByCredentialOptions extends CheckEligibilityByCredenti
1292
1282
  /** @oneof */
1293
1283
  interface CheckEligibilityByCredentialOptionsCredentialOneOf {
1294
1284
  /**
1295
- * The presented token: the scanned QR payload, the credential's signed token.
1285
+ * The presented token: the scanned QR payload, the credential's signed token. Minted by Generate Contact Credential Token in the Contact Credentials API; a QR code's payload is the bare token.
1296
1286
  * @maxLength 2048
1297
1287
  */
1298
1288
  token?: string;
1299
- /** A presented identifier, such as an NFC card: its `type` and the `value` the reader reports, added to the credential with Add Credential Identifier in the Contact Credentials API. */
1289
+ /** A presented identifier, such as an NFC card: its `type` and the `value` the reader reports, added to the credential with Add Credential Identifier in the Contact Credentials API. Not supported yet: a request with an identifier fails with `UNIMPLEMENTED`; present a token. */
1300
1290
  identifier?: PresentedIdentifier;
1301
1291
  }
1302
1292
  interface CreateArrivalByCredentialOptions extends CreateArrivalByCredentialOptionsCredentialOneOf {
1303
1293
  /**
1304
- * The presented token: the scanned QR payload, the credential's signed token.
1294
+ * The presented token: the scanned QR payload, the credential's signed token. Minted by Generate Contact Credential Token in the Contact Credentials API; a QR code's payload is the bare token.
1305
1295
  * @maxLength 2048
1306
1296
  */
1307
1297
  token?: string;
1308
- /** A presented identifier, such as an NFC card: its `type` and the `value` the reader reports, added to the credential with Add Credential Identifier in the Contact Credentials API. */
1298
+ /** A presented identifier, such as an NFC card: its `type` and the `value` the reader reports, added to the credential with Add Credential Identifier in the Contact Credentials API. Not supported yet: a request with an identifier fails with `UNIMPLEMENTED`; present a token. */
1309
1299
  identifier?: PresentedIdentifier;
1310
1300
  /**
1311
1301
  * ID of the entrance the credential is presented at, one of an area's entrances. The arrival is recorded in the area it belongs to.
@@ -1316,12 +1306,12 @@ interface CreateArrivalByCredentialOptions extends CreateArrivalByCredentialOpti
1316
1306
  /** @oneof */
1317
1307
  interface CreateArrivalByCredentialOptionsCredentialOneOf {
1318
1308
  /**
1319
- * The presented token: the scanned QR payload, the credential's signed token.
1309
+ * The presented token: the scanned QR payload, the credential's signed token. Minted by Generate Contact Credential Token in the Contact Credentials API; a QR code's payload is the bare token.
1320
1310
  * @maxLength 2048
1321
1311
  */
1322
1312
  token?: string;
1323
- /** A presented identifier, such as an NFC card: its `type` and the `value` the reader reports, added to the credential with Add Credential Identifier in the Contact Credentials API. */
1313
+ /** A presented identifier, such as an NFC card: its `type` and the `value` the reader reports, added to the credential with Add Credential Identifier in the Contact Credentials API. Not supported yet: a request with an identifier fails with `UNIMPLEMENTED`; present a token. */
1324
1314
  identifier?: PresentedIdentifier;
1325
1315
  }
1326
1316
 
1327
- export { type AccountInfo, type ActionEvent, type AreaInfo, type Arrival, type ArrivalDenied, type ArrivalGranted, type ArrivalGrantedByOneOf, type ArrivalQuery, type ArrivalQuerySpec, type ArrivalSource, type ArrivalsQueryBuilder, type ArrivalsQueryResult, type CheckEligibilityApplicationErrors, type CheckEligibilityByCredentialApplicationErrors, type CheckEligibilityByCredentialOptions, type CheckEligibilityByCredentialOptionsCredentialOneOf, type CheckEligibilityByCredentialRequest, type CheckEligibilityByCredentialRequestCredentialOneOf, type CheckEligibilityByCredentialResponse, type CheckEligibilityOptions, type CheckEligibilityRequest, type CheckEligibilityResponse, type CommonIdentificationData, type CommonIdentificationDataIdOneOf, type CommonQueryWithEntityContext, type ContactDetails, type CountArrivalsApplicationErrors, type CountArrivalsOptions, type CountArrivalsRequest, type CountArrivalsResponse, type CreateArrivalApplicationErrors, type CreateArrivalByCredentialApplicationErrors, type CreateArrivalByCredentialOptions, type CreateArrivalByCredentialOptionsCredentialOneOf, type CreateArrivalByCredentialRequest, type CreateArrivalByCredentialRequestCredentialOneOf, type CreateArrivalByCredentialResponse, type CreateArrivalOptions, type CreateArrivalRequest, type CreateArrivalResponse, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type DenialOverride, type DomainEvent, type DomainEventBodyOneOf, type EligibilityDetails, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, EntryIssue, type EntryIssueWithLiterals, type GetArrivalRequest, type GetArrivalResponse, type IdentificationData, type IdentificationDataIdOneOf, IdentificationMethod, type IdentificationMethodWithLiterals, IdentityType, type IdentityTypeWithLiterals, type MessageEnvelope, type MissingIntakeForm, type OverrideArrivalAsGrantedApplicationErrors, type OverrideArrivalAsGrantedOptions, type OverrideArrivalAsGrantedRequest, type OverrideArrivalAsGrantedResponse, type PlanBenefit, type PlanBenefitEligibility, PlanBenefitIssue, type PlanBenefitIssueWithLiterals, PlanBenefitType, type PlanBenefitTypeWithLiterals, type PresentedIdentifier, type QueryArrivalsRequest, type QueryArrivalsResponse, type RecentArrival, type RestoreInfo, type ScheduledEvent, type ScheduledEventEligibility, ScheduledEventIssue, type ScheduledEventIssueWithLiterals, type ScheduledEventSearchWindow, SortOrder, type SortOrderWithLiterals, type Sorting, Status, type StatusWithLiterals, Type, type TypeWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, typedQueryArrivals, utils };
1317
+ export { type AccountInfo, type ActionEvent, type AreaInfo, type Arrival, type ArrivalGrantedByOneOf, type ArrivalQuery, type ArrivalQuerySpec, type ArrivalSource, type ArrivalsQueryBuilder, type ArrivalsQueryResult, type CheckEligibilityApplicationErrors, type CheckEligibilityByCredentialApplicationErrors, type CheckEligibilityByCredentialOptions, type CheckEligibilityByCredentialOptionsCredentialOneOf, type CheckEligibilityByCredentialRequest, type CheckEligibilityByCredentialRequestCredentialOneOf, type CheckEligibilityByCredentialResponse, type CheckEligibilityOptions, type CheckEligibilityRequest, type CheckEligibilityResponse, type CommonIdentificationData, type CommonIdentificationDataIdOneOf, type CommonQueryWithEntityContext, type ContactDetails, type CountArrivalsApplicationErrors, type CountArrivalsOptions, type CountArrivalsRequest, type CountArrivalsResponse, type CreateArrivalApplicationErrors, type CreateArrivalByCredentialApplicationErrors, type CreateArrivalByCredentialOptions, type CreateArrivalByCredentialOptionsCredentialOneOf, type CreateArrivalByCredentialRequest, type CreateArrivalByCredentialRequestCredentialOneOf, type CreateArrivalByCredentialResponse, type CreateArrivalOptions, type CreateArrivalRequest, type CreateArrivalResponse, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type DenialOverride, type DomainEvent, type DomainEventBodyOneOf, type EligibilityDetails, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, EntryIssue, type EntryIssueWithLiterals, type GetArrivalRequest, type GetArrivalResponse, type IdentificationData, type IdentificationDataIdOneOf, IdentificationMethod, type IdentificationMethodWithLiterals, IdentityType, type IdentityTypeWithLiterals, type MessageEnvelope, type MissingIntakeForm, type OverrideArrivalAsGrantedApplicationErrors, type OverrideArrivalAsGrantedOptions, type OverrideArrivalAsGrantedRequest, type OverrideArrivalAsGrantedResponse, type PlanBenefit, type PlanBenefitEligibility, PlanBenefitIssue, type PlanBenefitIssueWithLiterals, PlanBenefitType, type PlanBenefitTypeWithLiterals, type PresentedIdentifier, type QueryArrivalsRequest, type QueryArrivalsResponse, type RecentArrival, type RestoreInfo, type ScheduledEvent, type ScheduledEventEligibility, ScheduledEventIssue, type ScheduledEventIssueWithLiterals, type ScheduledEventSearchWindow, SortOrder, type SortOrderWithLiterals, type Sorting, Status, type StatusWithLiterals, Type, type TypeWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, typedQueryArrivals, utils };