@wix/auto_sdk_arrivals_arrivals 1.0.19 → 1.0.20

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.
@@ -146,14 +146,13 @@ interface CheckEligibilityByCredentialSignature {
146
146
  * belongs to, without recording anything or redeeming anything.
147
147
  *
148
148
  * This is Check Eligibility in the Arrivals Service with the person identified by what they present instead
149
- * of by `contactId`: the token or identifier is resolved to its credential and holder, then the same
149
+ * of by `contactId`: the token is resolved to its credential and holder, then the same
150
150
  * evaluation runs. A scanner app uses it to show a client their standing without admitting them: their benefits
151
151
  * for this area and their scheduled events, each with its own issue, the forms they are missing, and the
152
152
  * status a scan would get. It takes the same `entranceId` as Create Arrival By Credential, so a scanner checks
153
153
  * and records at the one position it holds. The response has the same fields Check Eligibility returns, always
154
154
  * against the area's own entry window, so that it predicts the Create Arrival that follows the scan. A token that does not
155
- * resolve to a live credential fails with `BAD_SIGNATURE` or `TOKEN_REVOKED`; an identifier that belongs to no
156
- * credential fails with `IDENTIFIER_NOT_FOUND`, and an `entranceId` that names no entrance with `ENTRANCE_NOT_FOUND`; when
155
+ * resolve to a live credential fails with `BAD_SIGNATURE` or `TOKEN_REVOKED`, and an `entranceId` that names no entrance with `ENTRANCE_NOT_FOUND`; when
157
156
  * Pricing Plans or Contacts can't be reached the call does not fail and reports the outage in
158
157
  * `eligibilityDetails.issues`, as Check Eligibility does. This method
159
158
  * reveals plan state, so it has its own permission rather
@@ -169,14 +168,13 @@ interface CheckEligibilityByCredentialSignature {
169
168
  declare function createArrivalByCredential$1(httpClient: HttpClient): CreateArrivalByCredentialSignature;
170
169
  interface CreateArrivalByCredentialSignature {
171
170
  /**
172
- * Writes an arrival for the holder of a presented credential: resolves the token or identifier to its credential
171
+ * Writes an arrival for the holder of a presented credential: resolves the token to its credential
173
172
  * and holder and calls Create Arrival for them. The outcome is Create Arrival's contract. It carries no override:
174
173
  * letting the person in after a denial is Override Arrival as Granted with the denied arrival's ID.
175
174
  *
176
- * A token that does not resolve to a live credential fails with `BAD_SIGNATURE` or `TOKEN_REVOKED`, an identifier
177
- * that belongs to none with `IDENTIFIER_NOT_FOUND`, and an `entranceId` that names no entrance with
175
+ * A token that does not resolve to a live credential fails with `BAD_SIGNATURE` or `TOKEN_REVOKED`, and an `entranceId` that names no entrance with
178
176
  * `ENTRANCE_NOT_FOUND`; nothing is recorded. The arrival is recorded at the entrance, in the area it belongs to,
179
- * with `source.identifiedBy` `BY_TOKEN` or `BY_NFC_CARD` and
177
+ * with `source.identifiedBy` `BY_TOKEN` and
180
178
  * `source.createdBy` naming the Wix user, or the app that called (a reader or a partner app). When Pricing Plans or Contacts can't be reached and
181
179
  * nothing else admits the person, the call fails with `UNAVAILABLE` (`PRICING_PLANS_UNAVAILABLE` or
182
180
  * `CONTACTS_UNAVAILABLE`) and records nothing. A repeat within 5 seconds by the same caller, for the same holder and