kaafil-js 0.4.0 → 0.5.0
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.
- package/dist/client-entry.cjs +15 -7
- package/dist/client-entry.cjs.map +1 -1
- package/dist/client-entry.d.cts +2 -2
- package/dist/client-entry.d.ts +2 -2
- package/dist/client-entry.js +15 -7
- package/dist/client-entry.js.map +1 -1
- package/dist/index.cjs +15 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +15 -7
- package/dist/index.js.map +1 -1
- package/dist/{vocabulary--cKHiCky.d.cts → vocabulary-1tGXZSis.d.cts} +10 -3
- package/dist/{vocabulary--cKHiCky.d.ts → vocabulary-1tGXZSis.d.ts} +10 -3
- package/package.json +1 -1
|
@@ -4847,7 +4847,7 @@ interface components {
|
|
|
4847
4847
|
createdAt: string;
|
|
4848
4848
|
/** @description When this token's row was last changed. */
|
|
4849
4849
|
updatedAt: string;
|
|
4850
|
-
/** @description The plaintext token.
|
|
4850
|
+
/** @description The plaintext token. Never logged. Append it to your own link's URL for the traveller to use as their Bearer credential. You do not have to store it: `GET /share-tokens/{id}/reveal` returns it again, so a desk can re-send a link instead of regenerating one and breaking the copy a family already has. (Tokens minted before Kaafil stored a recoverable copy answer that route with `token: null`.) */
|
|
4851
4851
|
token: string;
|
|
4852
4852
|
};
|
|
4853
4853
|
NotificationListResponse: {
|
|
@@ -6068,7 +6068,7 @@ interface components {
|
|
|
6068
6068
|
* Format: date-time
|
|
6069
6069
|
* @description When your system last changed this record. Kaafil uses it to resolve conflicting writes — last-writer-wins by this timestamp, not by arrival order.
|
|
6070
6070
|
*/
|
|
6071
|
-
sourceUpdatedAt
|
|
6071
|
+
sourceUpdatedAt?: string;
|
|
6072
6072
|
/**
|
|
6073
6073
|
* @description This traveller's booking status on this trip.
|
|
6074
6074
|
* @enum {string}
|
|
@@ -53453,8 +53453,15 @@ type UpsertTripSegmentInput = Omit<UpsertTripSegment, 'startDate' | 'endDate'> &
|
|
|
53453
53453
|
readonly endDate: DateTimeInput;
|
|
53454
53454
|
};
|
|
53455
53455
|
type PushManifestTraveller = PushManifestRequest['travellers'][number];
|
|
53456
|
+
/**
|
|
53457
|
+
* `sourceUpdatedAt` is OPTIONAL here, unlike every sibling below, because the
|
|
53458
|
+
* wire made it optional for this one entry shape: a desk adding a traveller to
|
|
53459
|
+
* a trip has no "when my system last changed this" instant to send, and the
|
|
53460
|
+
* server stamps the write when it is omitted. A CRM mirroring its own records
|
|
53461
|
+
* still sends its real instant and still wins or loses a race on it.
|
|
53462
|
+
*/
|
|
53456
53463
|
type PushManifestTravellerInput = Omit<PushManifestTraveller, 'sourceUpdatedAt'> & {
|
|
53457
|
-
readonly sourceUpdatedAt
|
|
53464
|
+
readonly sourceUpdatedAt?: DateTimeInput;
|
|
53458
53465
|
};
|
|
53459
53466
|
type PushBulkTripsTraveller = NonNullable<PushBulkTripsItem['travellers']>[number];
|
|
53460
53467
|
type PushBulkTripsTravellerInput = Omit<PushBulkTripsTraveller, 'sourceUpdatedAt'> & {
|
|
@@ -4847,7 +4847,7 @@ interface components {
|
|
|
4847
4847
|
createdAt: string;
|
|
4848
4848
|
/** @description When this token's row was last changed. */
|
|
4849
4849
|
updatedAt: string;
|
|
4850
|
-
/** @description The plaintext token.
|
|
4850
|
+
/** @description The plaintext token. Never logged. Append it to your own link's URL for the traveller to use as their Bearer credential. You do not have to store it: `GET /share-tokens/{id}/reveal` returns it again, so a desk can re-send a link instead of regenerating one and breaking the copy a family already has. (Tokens minted before Kaafil stored a recoverable copy answer that route with `token: null`.) */
|
|
4851
4851
|
token: string;
|
|
4852
4852
|
};
|
|
4853
4853
|
NotificationListResponse: {
|
|
@@ -6068,7 +6068,7 @@ interface components {
|
|
|
6068
6068
|
* Format: date-time
|
|
6069
6069
|
* @description When your system last changed this record. Kaafil uses it to resolve conflicting writes — last-writer-wins by this timestamp, not by arrival order.
|
|
6070
6070
|
*/
|
|
6071
|
-
sourceUpdatedAt
|
|
6071
|
+
sourceUpdatedAt?: string;
|
|
6072
6072
|
/**
|
|
6073
6073
|
* @description This traveller's booking status on this trip.
|
|
6074
6074
|
* @enum {string}
|
|
@@ -53453,8 +53453,15 @@ type UpsertTripSegmentInput = Omit<UpsertTripSegment, 'startDate' | 'endDate'> &
|
|
|
53453
53453
|
readonly endDate: DateTimeInput;
|
|
53454
53454
|
};
|
|
53455
53455
|
type PushManifestTraveller = PushManifestRequest['travellers'][number];
|
|
53456
|
+
/**
|
|
53457
|
+
* `sourceUpdatedAt` is OPTIONAL here, unlike every sibling below, because the
|
|
53458
|
+
* wire made it optional for this one entry shape: a desk adding a traveller to
|
|
53459
|
+
* a trip has no "when my system last changed this" instant to send, and the
|
|
53460
|
+
* server stamps the write when it is omitted. A CRM mirroring its own records
|
|
53461
|
+
* still sends its real instant and still wins or loses a race on it.
|
|
53462
|
+
*/
|
|
53456
53463
|
type PushManifestTravellerInput = Omit<PushManifestTraveller, 'sourceUpdatedAt'> & {
|
|
53457
|
-
readonly sourceUpdatedAt
|
|
53464
|
+
readonly sourceUpdatedAt?: DateTimeInput;
|
|
53458
53465
|
};
|
|
53459
53466
|
type PushBulkTripsTraveller = NonNullable<PushBulkTripsItem['travellers']>[number];
|
|
53460
53467
|
type PushBulkTripsTravellerInput = Omit<PushBulkTripsTraveller, 'sourceUpdatedAt'> & {
|