@wix/auto_sdk_arrivals_arrivals 1.0.13 → 1.0.14

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.
@@ -7,8 +7,9 @@ import { QuerySpec, Query, NonNullablePaths } from '@wix/sdk-types';
7
7
  * only by Create Arrival, directly or through Create Arrival By Credential. An arrival changes only when staff override it, which
8
8
  * moves a denial to `GRANTED` (Override Arrival as Granted, or a repeat of Create Arrival within 5 seconds that carries
9
9
  * `denialOverride`), and when two contacts are merged in CRM, which moves
10
- * `contactDetails.contactId` to the surviving contact; the snapshot stays as it was. The person's name and picture are kept as they were
11
- * when the arrival was written, and a granted arrival keeps what granted the entry. `eligibilityDetails` and
10
+ * `contactDetails.contactId` to the surviving contact; the snapshot stays as it was; and when the contact's personal data is
11
+ * deleted for privacy, which replaces `contactDetails.firstName`, `contactDetails.lastName` and `overrideReason` with `****`
12
+ * and removes the picture. Otherwise, the person's name and picture are kept as they were when the arrival was written, and a granted arrival keeps what granted the entry. `eligibilityDetails` and
12
13
  * `overrideReason` say why a person was not eligible, so they are returned only to callers with the
13
14
  * `arrivals:v1:arrival:read_eligibility_details` permission.
14
15
  */
@@ -76,7 +77,7 @@ interface Arrival extends ArrivalGrantedByOneOf {
76
77
  */
77
78
  status?: StatusWithLiterals;
78
79
  /**
79
- * Why staff let the person in against the issues, in their own words. Optional; written by Override Arrival as Granted, or from `denialOverride.reason` when Create Arrival let the person in despite a denial, so it can be present only on a `GRANTED` arrival with issues; either way the actor is `overriddenBy`. Free text that may describe the person, so it is personal data, and it is returned only to callers with the `arrivals:v1:arrival:read_eligibility_details` permission.
80
+ * Why staff let the person in against the issues, in their own words. Optional; written by Override Arrival as Granted, or from `denialOverride.reason` when Create Arrival let the person in despite a denial, so it can be present only on a `GRANTED` arrival with issues; either way the actor is `overriddenBy`. Free text that may describe the person, so it is personal data: `****` after the contact's personal data is deleted for privacy. It is returned only to callers with the `arrivals:v1:arrival:read_eligibility_details` permission.
80
81
  * @maxLength 500
81
82
  * @readonly
82
83
  */
@@ -109,7 +110,8 @@ interface ArrivalGrantedByOneOf {
109
110
  * The person who arrived: their contact ID, and their name and picture as the Contacts API held them when the
110
111
  * arrival was written. The name and picture are a snapshot — for history and live lists without a Contacts
111
112
  * read; a later change in Contacts does not update them. A contact merge moves `contactId` to the surviving
112
- * contact and leaves the snapshot as it was. Named as Bookings names the same thing on a booking. The name and
113
+ * contact and leaves the snapshot as it was. When the contact's personal data is deleted for privacy, the names that
114
+ * were set become `****` and the picture is removed. Named as Bookings names the same thing on a booking. The name and
113
115
  * picture are absent when the contact has none, or when Contacts did not answer (`CONTACTS_UNAVAILABLE` in
114
116
  * `eligibilityDetails.issues`).
115
117
  */
@@ -120,19 +122,19 @@ interface ContactDetails {
120
122
  */
121
123
  contactId?: string;
122
124
  /**
123
- * The contact's first name at the time of the arrival. Set by the server; personal data.
125
+ * The contact's first name at the time of the arrival. Set by the server; personal data. `****` after the contact's personal data is deleted for privacy.
124
126
  * @maxLength 1000
125
127
  * @readonly
126
128
  */
127
129
  firstName?: string | null;
128
130
  /**
129
- * The contact's last name at the time of the arrival. Set by the server; personal data.
131
+ * The contact's last name at the time of the arrival. Set by the server; personal data. `****` after the contact's personal data is deleted for privacy.
130
132
  * @maxLength 1000
131
133
  * @readonly
132
134
  */
133
135
  lastName?: string | null;
134
136
  /**
135
- * The contact's profile picture at the time of the arrival, as Contacts held it. Set by the server; absent when the contact has none.
137
+ * The contact's profile picture at the time of the arrival, as Contacts held it. Set by the server; personal data. Absent when the contact has none, and absent after the contact's personal data is deleted for privacy.
136
138
  * @readonly
137
139
  */
138
140
  picture?: string;