@ziggs-ai/contracts 0.16.0 → 0.18.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/chat.d.ts +5 -0
- package/dist/generated/agreements.d.ts +6 -0
- package/package.json +1 -1
package/dist/chat.d.ts
CHANGED
|
@@ -120,6 +120,11 @@ export interface ChatReadDto {
|
|
|
120
120
|
addressKind: ChatAddressKind | null;
|
|
121
121
|
/** Human-readable name so entries can be told apart at a glance. */
|
|
122
122
|
name: string;
|
|
123
|
+
/**
|
|
124
|
+
* A name the room was given. Null when the room is named from who is in it.
|
|
125
|
+
* When set, `name` is this title. Pair rooms and team channels stay null.
|
|
126
|
+
*/
|
|
127
|
+
title: string | null;
|
|
123
128
|
/** Recency for sorting and triage. Null when the chat has no messages. */
|
|
124
129
|
updatedAt: string | null;
|
|
125
130
|
/** Newest-message snippet. Absent when the chat has no messages. */
|
|
@@ -57,6 +57,11 @@ export type AgreementApproval = {
|
|
|
57
57
|
respondedAt: string | null;
|
|
58
58
|
respondedBy?: string | null;
|
|
59
59
|
};
|
|
60
|
+
export type AgreementApprovalAction = {
|
|
61
|
+
state: "available" | "needs_decision" | "unavailable";
|
|
62
|
+
partyId?: string;
|
|
63
|
+
explanation: string;
|
|
64
|
+
};
|
|
60
65
|
export type AgreementUserReport = {
|
|
61
66
|
userId: string;
|
|
62
67
|
message: string;
|
|
@@ -94,6 +99,7 @@ export type AgreementRead = {
|
|
|
94
99
|
userOutcomeSatisfaction: "positive" | "negative" | null;
|
|
95
100
|
approvals: Array<AgreementApproval>;
|
|
96
101
|
pendingApprovalPartyId?: string | null;
|
|
102
|
+
approvalAction?: AgreementApprovalAction;
|
|
97
103
|
userReports: Array<AgreementUserReport>;
|
|
98
104
|
activationFailure: AgreementActivationFailure | null;
|
|
99
105
|
providerPinned: boolean;
|
package/package.json
CHANGED