@nemphi/sdk 0.8.5582 → 0.8.5833
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/generated/bank/client.d.ts +15 -5
- package/dist/generated/bank/client.d.ts.map +1 -1
- package/dist/generated/bank/client.js.map +1 -1
- package/dist/generated/bank/index.d.ts +1 -1
- package/dist/generated/bank/index.d.ts.map +1 -1
- package/dist/generated/bank/models.d.ts +10 -0
- package/dist/generated/bank/models.d.ts.map +1 -1
- package/dist/generated/bank/models.js +2 -0
- package/dist/generated/bank/models.js.map +1 -1
- package/dist/generated/bills/client.d.ts +13 -8
- package/dist/generated/bills/client.d.ts.map +1 -1
- package/dist/generated/bills/client.js +1 -0
- package/dist/generated/bills/client.js.map +1 -1
- package/dist/generated/bookings/client.d.ts +25 -8
- package/dist/generated/bookings/client.d.ts.map +1 -1
- package/dist/generated/bookings/client.js +2 -2
- package/dist/generated/bookings/client.js.map +1 -1
- package/dist/generated/bookings/models.d.ts +2 -0
- package/dist/generated/bookings/models.d.ts.map +1 -1
- package/dist/generated/bookings/models.js +2 -0
- package/dist/generated/bookings/models.js.map +1 -1
- package/dist/generated/calendar/client.d.ts +134 -14
- package/dist/generated/calendar/client.d.ts.map +1 -1
- package/dist/generated/calendar/client.js +4 -3
- package/dist/generated/calendar/client.js.map +1 -1
- package/dist/generated/calendar/index.d.ts +1 -1
- package/dist/generated/calendar/index.d.ts.map +1 -1
- package/dist/generated/calendar/models.d.ts +16 -0
- package/dist/generated/calendar/models.d.ts.map +1 -1
- package/dist/generated/calendar/models.js +9 -0
- package/dist/generated/calendar/models.js.map +1 -1
- package/dist/generated/callcenter/client.d.ts +8 -1
- package/dist/generated/callcenter/client.d.ts.map +1 -1
- package/dist/generated/callcenter/client.js.map +1 -1
- package/dist/generated/company/client.d.ts +11 -5
- package/dist/generated/company/client.d.ts.map +1 -1
- package/dist/generated/company/client.js.map +1 -1
- package/dist/generated/crm/client.d.ts +24 -10
- package/dist/generated/crm/client.d.ts.map +1 -1
- package/dist/generated/crm/client.js +3 -3
- package/dist/generated/crm/client.js.map +1 -1
- package/dist/generated/crm/models.d.ts +4 -0
- package/dist/generated/crm/models.d.ts.map +1 -1
- package/dist/generated/crm/models.js +11 -0
- package/dist/generated/crm/models.js.map +1 -1
- package/dist/generated/documents/client.d.ts +4 -3
- package/dist/generated/documents/client.d.ts.map +1 -1
- package/dist/generated/documents/client.js.map +1 -1
- package/dist/generated/documents/models.d.ts +1 -0
- package/dist/generated/documents/models.d.ts.map +1 -1
- package/dist/generated/documents/models.js +1 -0
- package/dist/generated/documents/models.js.map +1 -1
- package/dist/generated/email/client.d.ts +78 -8
- package/dist/generated/email/client.d.ts.map +1 -1
- package/dist/generated/email/client.js +10 -1
- package/dist/generated/email/client.js.map +1 -1
- package/dist/generated/email/index.d.ts +2 -2
- package/dist/generated/email/index.d.ts.map +1 -1
- package/dist/generated/email/models.d.ts +21 -0
- package/dist/generated/email/models.d.ts.map +1 -1
- package/dist/generated/email/models.js +10 -0
- package/dist/generated/email/models.js.map +1 -1
- package/dist/generated/invoices/client.d.ts +4 -1
- package/dist/generated/invoices/client.d.ts.map +1 -1
- package/dist/generated/invoices/client.js.map +1 -1
- package/dist/generated/items/client.d.ts +23 -1
- package/dist/generated/items/client.d.ts.map +1 -1
- package/dist/generated/items/client.js +9 -1
- package/dist/generated/items/client.js.map +1 -1
- package/dist/generated/items/index.d.ts +2 -2
- package/dist/generated/items/index.d.ts.map +1 -1
- package/dist/generated/items/models.d.ts +19 -0
- package/dist/generated/items/models.d.ts.map +1 -1
- package/dist/generated/items/models.js +6 -0
- package/dist/generated/items/models.js.map +1 -1
- package/dist/generated/knowledge/client.d.ts +46 -1
- package/dist/generated/knowledge/client.d.ts.map +1 -1
- package/dist/generated/knowledge/client.js +10 -1
- package/dist/generated/knowledge/client.js.map +1 -1
- package/dist/generated/knowledge/index.d.ts +2 -2
- package/dist/generated/knowledge/index.d.ts.map +1 -1
- package/dist/generated/knowledge/models.d.ts +11 -0
- package/dist/generated/knowledge/models.d.ts.map +1 -1
- package/dist/generated/knowledge/models.js +5 -0
- package/dist/generated/knowledge/models.js.map +1 -1
- package/dist/generated/ledger/client.d.ts +3 -3
- package/dist/generated/marketing/client.d.ts +11 -6
- package/dist/generated/marketing/client.d.ts.map +1 -1
- package/dist/generated/marketing/client.js.map +1 -1
- package/dist/generated/marketing/models.d.ts +1 -0
- package/dist/generated/marketing/models.d.ts.map +1 -1
- package/dist/generated/marketing/models.js +1 -0
- package/dist/generated/marketing/models.js.map +1 -1
- package/dist/generated/messages/client.d.ts +4 -1
- package/dist/generated/messages/client.d.ts.map +1 -1
- package/dist/generated/messages/client.js.map +1 -1
- package/dist/generated/messages/index.d.ts +1 -1
- package/dist/generated/messages/index.d.ts.map +1 -1
- package/dist/generated/messages/models.d.ts +24 -0
- package/dist/generated/messages/models.d.ts.map +1 -1
- package/dist/generated/messages/models.js +14 -0
- package/dist/generated/messages/models.js.map +1 -1
- package/dist/generated/metrics/client.d.ts +4 -1
- package/dist/generated/metrics/client.d.ts.map +1 -1
- package/dist/generated/metrics/client.js.map +1 -1
- package/dist/generated/models.d.ts +2 -0
- package/dist/generated/models.d.ts.map +1 -1
- package/dist/generated/models.js +2 -0
- package/dist/generated/models.js.map +1 -1
- package/dist/generated/numbering/client.d.ts +3 -1
- package/dist/generated/numbering/client.d.ts.map +1 -1
- package/dist/generated/numbering/client.js.map +1 -1
- package/dist/generated/onboarding/client.d.ts +18 -13
- package/dist/generated/onboarding/client.d.ts.map +1 -1
- package/dist/generated/onboarding/client.js.map +1 -1
- package/dist/generated/onboarding/models.d.ts +1 -0
- package/dist/generated/onboarding/models.d.ts.map +1 -1
- package/dist/generated/onboarding/models.js.map +1 -1
- package/dist/generated/parties/client.d.ts +129 -14
- package/dist/generated/parties/client.d.ts.map +1 -1
- package/dist/generated/parties/client.js +29 -2
- package/dist/generated/parties/client.js.map +1 -1
- package/dist/generated/parties/index.d.ts +2 -2
- package/dist/generated/parties/index.d.ts.map +1 -1
- package/dist/generated/parties/models.d.ts +29 -0
- package/dist/generated/parties/models.d.ts.map +1 -1
- package/dist/generated/parties/models.js +17 -0
- package/dist/generated/parties/models.js.map +1 -1
- package/dist/generated/policies/client.d.ts +14 -6
- package/dist/generated/policies/client.d.ts.map +1 -1
- package/dist/generated/policies/client.js.map +1 -1
- package/dist/generated/policies/models.d.ts +1 -0
- package/dist/generated/policies/models.d.ts.map +1 -1
- package/dist/generated/policies/models.js.map +1 -1
- package/dist/generated/quotes/client.d.ts +56 -9
- package/dist/generated/quotes/client.d.ts.map +1 -1
- package/dist/generated/quotes/client.js +19 -1
- package/dist/generated/quotes/client.js.map +1 -1
- package/dist/generated/quotes/index.d.ts +2 -2
- package/dist/generated/quotes/index.d.ts.map +1 -1
- package/dist/generated/quotes/models.d.ts +12 -0
- package/dist/generated/quotes/models.d.ts.map +1 -1
- package/dist/generated/quotes/models.js +3 -0
- package/dist/generated/quotes/models.js.map +1 -1
- package/dist/generated/records/client.d.ts +2 -1
- package/dist/generated/records/client.d.ts.map +1 -1
- package/dist/generated/records/client.js.map +1 -1
- package/dist/generated/recurring/client.d.ts +5 -0
- package/dist/generated/recurring/client.d.ts.map +1 -1
- package/dist/generated/recurring/client.js +1 -1
- package/dist/generated/recurring/client.js.map +1 -1
- package/dist/generated/recurring/models.d.ts +1 -0
- package/dist/generated/recurring/models.d.ts.map +1 -1
- package/dist/generated/recurring/models.js +1 -0
- package/dist/generated/recurring/models.js.map +1 -1
- package/dist/generated/sessions/client.d.ts +13 -3
- package/dist/generated/sessions/client.d.ts.map +1 -1
- package/dist/generated/sessions/client.js.map +1 -1
- package/dist/generated/sessions/models.d.ts +2 -0
- package/dist/generated/sessions/models.d.ts.map +1 -1
- package/dist/generated/sessions/models.js.map +1 -1
- package/dist/generated/sidebar/client.d.ts +50 -2
- package/dist/generated/sidebar/client.d.ts.map +1 -1
- package/dist/generated/sidebar/client.js +16 -0
- package/dist/generated/sidebar/client.js.map +1 -1
- package/dist/generated/sidebar/index.d.ts +2 -2
- package/dist/generated/sidebar/index.d.ts.map +1 -1
- package/dist/generated/sidebar/models.d.ts +10 -0
- package/dist/generated/sidebar/models.d.ts.map +1 -1
- package/dist/generated/sites/client.d.ts +3 -2
- package/dist/generated/sites/client.d.ts.map +1 -1
- package/dist/generated/sites/client.js.map +1 -1
- package/dist/generated/tax/client.d.ts +9 -5
- package/dist/generated/tax/client.d.ts.map +1 -1
- package/dist/generated/tax/client.js.map +1 -1
- package/dist/index.d.ts +305 -14
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../../src/generated/tax/client.ts"],"names":[],"mappings":"AAAA,wCAAwC;AACxC,oBAAoB;AAEpB,OAAO,EAIL,SAAS,EACT,MAAM,GACP,MAAM,eAAe,CAAC;AAEvB,OAAO,EAEL,sBAAsB,EAEtB,0BAA0B,EAE1B,qBAAqB,EAErB,iBAAiB,EAEjB,uBAAuB,EAEvB,0BAA0B,EAG1B,qBAAqB,EAGrB,yBAAyB,EAEzB,yBAAyB,GAC1B,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../../src/generated/tax/client.ts"],"names":[],"mappings":"AAAA,wCAAwC;AACxC,oBAAoB;AAEpB,OAAO,EAIL,SAAS,EACT,MAAM,GACP,MAAM,eAAe,CAAC;AAEvB,OAAO,EAEL,sBAAsB,EAEtB,0BAA0B,EAE1B,qBAAqB,EAErB,iBAAiB,EAEjB,uBAAuB,EAEvB,0BAA0B,EAG1B,qBAAqB,EAGrB,yBAAyB,EAEzB,yBAAyB,GAC1B,MAAM,aAAa,CAAC;AAgNrB,MAAM,UAAU,YAAY,CAAC,OAAsB;IACjD,OAAO,IAAI,CAAC,IAAI,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC;AACtC,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AE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE;CACnH,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -155,6 +155,8 @@ export interface OnboardingQuestion {
|
|
|
155
155
|
options: string[];
|
|
156
156
|
/** Several answers allowed. */
|
|
157
157
|
multiple?: boolean;
|
|
158
|
+
/** Asked once the workspace is open rather than by the gate. */
|
|
159
|
+
later?: boolean;
|
|
158
160
|
/** What has been answered so far. */
|
|
159
161
|
answers?: string[];
|
|
160
162
|
}
|
|
@@ -163,12 +165,12 @@ export interface OnboardingState {
|
|
|
163
165
|
completed: boolean;
|
|
164
166
|
completed_at?: string;
|
|
165
167
|
questions: OnboardingQuestion[];
|
|
166
|
-
/**
|
|
168
|
+
/** The gate's question ids still unanswered — the gate stays shut while non-empty. */
|
|
167
169
|
missing: string[];
|
|
168
170
|
profile: WorkspaceProfile;
|
|
169
171
|
/** Tool modules worth setting up for this workspace. */
|
|
170
172
|
modules: string[];
|
|
171
|
-
/** The autonomy level
|
|
173
|
+
/** The autonomy level shown pre-selected: always the most cautious one. */
|
|
172
174
|
recommended_autonomy: WorkspaceAutonomy;
|
|
173
175
|
/**
|
|
174
176
|
* The canvas this workspace is on its way to, rebuilt on every
|
|
@@ -444,7 +446,14 @@ export interface Run {
|
|
|
444
446
|
agent_name?: string;
|
|
445
447
|
agent_definition?: string;
|
|
446
448
|
trigger: string;
|
|
449
|
+
/** The brief the model reads: instructions, ids and context, not for people. */
|
|
447
450
|
goal: string;
|
|
451
|
+
/**
|
|
452
|
+
* What the run is about as a person reads it: the member's own words, a
|
|
453
|
+
* routine's name, the goal's first line. "" when the goal is data; name
|
|
454
|
+
* the run by its agent then.
|
|
455
|
+
*/
|
|
456
|
+
title?: string;
|
|
448
457
|
status: "running" | "awaiting_approval" | "awaiting_agents" | "awaiting_input" | "idle" | "succeeded" | "failed" | "cancelled";
|
|
449
458
|
result?: string;
|
|
450
459
|
error?: string;
|
|
@@ -695,6 +704,10 @@ export interface InboxApproval {
|
|
|
695
704
|
tool: string;
|
|
696
705
|
arguments: unknown;
|
|
697
706
|
goal: string;
|
|
707
|
+
/** What the run is about as a person reads it ("" when it names nothing). */
|
|
708
|
+
title?: string;
|
|
709
|
+
/** The chat conversation the request came from, "" for work no conversation started. */
|
|
710
|
+
thread_id?: string;
|
|
698
711
|
agent_id: string;
|
|
699
712
|
agent_name: string;
|
|
700
713
|
agent_definition: string;
|
|
@@ -705,6 +718,10 @@ export interface InboxQuestion {
|
|
|
705
718
|
run_id: string;
|
|
706
719
|
questions: RunQuestion[] | null;
|
|
707
720
|
goal: string;
|
|
721
|
+
/** What the run is about as a person reads it ("" when it names nothing). */
|
|
722
|
+
title?: string;
|
|
723
|
+
/** The chat conversation the request came from, "" for work no conversation started. */
|
|
724
|
+
thread_id?: string;
|
|
708
725
|
agent_id: string;
|
|
709
726
|
agent_name: string;
|
|
710
727
|
agent_definition: string;
|
|
@@ -1433,6 +1450,8 @@ export interface InvitePreview {
|
|
|
1433
1450
|
email: string;
|
|
1434
1451
|
role: string;
|
|
1435
1452
|
role_name?: string;
|
|
1453
|
+
/** Who sent the invitation; "" when unknown. */
|
|
1454
|
+
inviter_name?: string;
|
|
1436
1455
|
expires_at: string;
|
|
1437
1456
|
}
|
|
1438
1457
|
export type BudgetSection = "income" | "fixed" | "variable" | "savings" | "debt";
|
|
@@ -1488,6 +1507,8 @@ export interface RecurringDocument {
|
|
|
1488
1507
|
last_run_at?: string;
|
|
1489
1508
|
generated_count: number;
|
|
1490
1509
|
note?: string;
|
|
1510
|
+
/** The last day a copy may be issued (YYYY-MM-DD); absent runs with no end. */
|
|
1511
|
+
end_date?: string;
|
|
1491
1512
|
created_at: string;
|
|
1492
1513
|
}
|
|
1493
1514
|
export interface PolicyConditions {
|
|
@@ -1512,8 +1533,14 @@ export interface Policy {
|
|
|
1512
1533
|
}
|
|
1513
1534
|
export interface PolicyList {
|
|
1514
1535
|
policies: Policy[];
|
|
1515
|
-
/**
|
|
1536
|
+
/** The platform's default per tool when no policy matches, the class policy included. */
|
|
1516
1537
|
defaults: Record<string, "allow" | "require_approval">;
|
|
1538
|
+
/**
|
|
1539
|
+
* Each tool's risk class, which says which class policy (`tool_pattern`
|
|
1540
|
+
* `risk:financial`, `risk:external_effect`) reaches it. Absent from an
|
|
1541
|
+
* older platform.
|
|
1542
|
+
*/
|
|
1543
|
+
risks?: Record<string, RiskClass>;
|
|
1517
1544
|
}
|
|
1518
1545
|
export interface ActionPreview {
|
|
1519
1546
|
action: "approve" | "deny";
|
|
@@ -1538,7 +1565,17 @@ export interface LiveDocumentFile {
|
|
|
1538
1565
|
size_bytes: number;
|
|
1539
1566
|
/** The extraction's status: uploaded, processing, processed or failed. */
|
|
1540
1567
|
status: string;
|
|
1568
|
+
/** What reading the file classified it as (invoice, bank_statement, rut… or unknown). */
|
|
1569
|
+
kind?: string;
|
|
1570
|
+
/** How far reading it got; left out when the answer did not read it. */
|
|
1571
|
+
reading?: LiveDocumentReading;
|
|
1541
1572
|
}
|
|
1573
|
+
/**
|
|
1574
|
+
* How far reading a file got: `pending` (queued or being read), `read`
|
|
1575
|
+
* (its fields were extracted), `stored` (kept without reading: too large,
|
|
1576
|
+
* or nothing to read) or `failed`.
|
|
1577
|
+
*/
|
|
1578
|
+
export type LiveDocumentReading = "pending" | "read" | "stored" | "failed";
|
|
1542
1579
|
/**
|
|
1543
1580
|
* Where a live document lives: its owner's `personal` space (seen by the
|
|
1544
1581
|
* members it is shared with too) or the workspace's shared `team` space.
|
|
@@ -1598,6 +1635,13 @@ export interface LiveDocumentFilter {
|
|
|
1598
1635
|
tag?: string;
|
|
1599
1636
|
/** Only the documents this member (a user id) created. */
|
|
1600
1637
|
created_by?: string;
|
|
1638
|
+
/**
|
|
1639
|
+
* Only one kind of document (doc, sheet, slides) or, for files, what
|
|
1640
|
+
* reading classified them as (invoice, bank_statement, rut…).
|
|
1641
|
+
*/
|
|
1642
|
+
type?: string;
|
|
1643
|
+
/** Only the files whose reading got this far. */
|
|
1644
|
+
reading?: LiveDocumentReading;
|
|
1601
1645
|
}
|
|
1602
1646
|
/** A folder of documents; folders nest through `parent_id`. */
|
|
1603
1647
|
export interface LiveDocumentFolder {
|
|
@@ -1659,6 +1703,26 @@ export interface LiveDocumentShares {
|
|
|
1659
1703
|
email: string;
|
|
1660
1704
|
}[];
|
|
1661
1705
|
}
|
|
1706
|
+
/** What a comment's @-mentions told (`knowledge.mention_in_comment`). */
|
|
1707
|
+
export interface LiveDocumentMentions {
|
|
1708
|
+
live_document_id: string;
|
|
1709
|
+
thread_id: string;
|
|
1710
|
+
comment_id: string;
|
|
1711
|
+
/** The members named who can open the document. */
|
|
1712
|
+
mentioned: string[];
|
|
1713
|
+
/** Those this comment had not told before, now notified. */
|
|
1714
|
+
notified: string[];
|
|
1715
|
+
/** Members the document is closed to, told nothing. */
|
|
1716
|
+
skipped: string[];
|
|
1717
|
+
}
|
|
1718
|
+
/** One comment's mentions, as `mentionInLiveDocumentComment` sends them. */
|
|
1719
|
+
export interface LiveDocumentMentionInput {
|
|
1720
|
+
thread_id: string;
|
|
1721
|
+
comment_id: string;
|
|
1722
|
+
user_ids: string[];
|
|
1723
|
+
/** The comment's words, quoted in the notification. */
|
|
1724
|
+
text?: string;
|
|
1725
|
+
}
|
|
1662
1726
|
/** How many days a transfer's link works. */
|
|
1663
1727
|
export type TransferExpiryDays = 1 | 3 | 7 | 14 | 30;
|
|
1664
1728
|
/** What `createTransfer` sends (`transfers.create`). */
|
|
@@ -1787,6 +1851,8 @@ export interface Document {
|
|
|
1787
1851
|
*/
|
|
1788
1852
|
export interface DocumentText extends Document {
|
|
1789
1853
|
markdown: string;
|
|
1854
|
+
/** The file in Docs that stands for it, when the caller may open one (trashed included). */
|
|
1855
|
+
live_document_id?: string;
|
|
1790
1856
|
}
|
|
1791
1857
|
/** Upload kind hints that route a document to the company-profile parser. */
|
|
1792
1858
|
export type CompanyDocumentKind = "rut" | "company_registration";
|
|
@@ -2638,6 +2704,12 @@ export interface BookingRange {
|
|
|
2638
2704
|
end_time: string;
|
|
2639
2705
|
}
|
|
2640
2706
|
export type BookingWeekday = BookingRange["weekday"];
|
|
2707
|
+
/**
|
|
2708
|
+
* How a booking page meets its guests: in a Nemphi video call made for each
|
|
2709
|
+
* booking, by phone, at an address, or at another meeting link. Null is a
|
|
2710
|
+
* page's free-text place from before the kinds existed.
|
|
2711
|
+
*/
|
|
2712
|
+
export type BookingLocationKind = "nemphi_call" | "phone" | "in_person" | "link";
|
|
2641
2713
|
/** A published offer of somebody's hours, with the link that spends it. */
|
|
2642
2714
|
export interface BookingType {
|
|
2643
2715
|
id: string;
|
|
@@ -2656,6 +2728,7 @@ export interface BookingType {
|
|
|
2656
2728
|
max_per_day: number | null;
|
|
2657
2729
|
time_zone: string;
|
|
2658
2730
|
location: string;
|
|
2731
|
+
location_kind: BookingLocationKind | null;
|
|
2659
2732
|
status: "active" | "paused";
|
|
2660
2733
|
publishes_to_calendar: boolean;
|
|
2661
2734
|
ranges: BookingRange[];
|
|
@@ -2695,6 +2768,8 @@ export interface Booking {
|
|
|
2695
2768
|
party_id: string | null;
|
|
2696
2769
|
event_id: string | null;
|
|
2697
2770
|
location: string;
|
|
2771
|
+
/** The guest link of the appointment's Nemphi call (`/call/{token}`); null without one or once cancelled. */
|
|
2772
|
+
call_url: string | null;
|
|
2698
2773
|
cancelled_at: string | null;
|
|
2699
2774
|
cancel_reason: string;
|
|
2700
2775
|
created_at: string;
|
|
@@ -2707,6 +2782,7 @@ export interface PublicBookingType {
|
|
|
2707
2782
|
duration_minutes: number;
|
|
2708
2783
|
time_zone: string;
|
|
2709
2784
|
location: string;
|
|
2785
|
+
location_kind: BookingLocationKind | null;
|
|
2710
2786
|
status: "active" | "paused";
|
|
2711
2787
|
host_name: string;
|
|
2712
2788
|
workspace_name: string;
|
|
@@ -2729,6 +2805,8 @@ export interface PublicBookingConfirmation {
|
|
|
2729
2805
|
guest_name: string | null;
|
|
2730
2806
|
location: string | null;
|
|
2731
2807
|
booking_type_name: string | null;
|
|
2808
|
+
/** The guest link of the appointment's Nemphi call (`/call/{token}`), when it has one. */
|
|
2809
|
+
call_url: string | null;
|
|
2732
2810
|
};
|
|
2733
2811
|
manage_token: string | null;
|
|
2734
2812
|
}
|
|
@@ -2740,6 +2818,8 @@ export interface ManagedBooking {
|
|
|
2740
2818
|
status: string;
|
|
2741
2819
|
guest_name: string;
|
|
2742
2820
|
notes: string;
|
|
2821
|
+
/** The guest link of the appointment's Nemphi call; null without one or once cancelled. */
|
|
2822
|
+
call_url: string | null;
|
|
2743
2823
|
};
|
|
2744
2824
|
booking_type: {
|
|
2745
2825
|
slug: string;
|
|
@@ -2747,6 +2827,7 @@ export interface ManagedBooking {
|
|
|
2747
2827
|
duration_minutes: number;
|
|
2748
2828
|
time_zone: string;
|
|
2749
2829
|
location: string;
|
|
2830
|
+
location_kind: BookingLocationKind | null;
|
|
2750
2831
|
workspace_name: string;
|
|
2751
2832
|
};
|
|
2752
2833
|
}
|
|
@@ -2841,11 +2922,47 @@ export interface ThreadDelegateRow {
|
|
|
2841
2922
|
goal: string;
|
|
2842
2923
|
created_at: string;
|
|
2843
2924
|
}
|
|
2925
|
+
/**
|
|
2926
|
+
* One state-changing call an agent made for a conversation, read from the
|
|
2927
|
+
* actions ledger (never from the agent's own words), filed under the
|
|
2928
|
+
* answer it led to.
|
|
2929
|
+
*/
|
|
2930
|
+
export interface ThreadActionRow {
|
|
2931
|
+
id: string;
|
|
2932
|
+
run_id: string;
|
|
2933
|
+
/** The tool's dotted name. */
|
|
2934
|
+
tool: string;
|
|
2935
|
+
created_at: string;
|
|
2936
|
+
/** The agent message the call led to; "" while the run has not answered since. */
|
|
2937
|
+
message_id: string;
|
|
2938
|
+
/** What names the record it created or changed; "" when the answer names none. */
|
|
2939
|
+
label: string;
|
|
2940
|
+
/** Where that record opens in the app; "" when it has no page. */
|
|
2941
|
+
href: string;
|
|
2942
|
+
amount_cents: number | null;
|
|
2943
|
+
currency: string;
|
|
2944
|
+
}
|
|
2945
|
+
/** An approval someone decided for a conversation's runs. */
|
|
2946
|
+
export interface ThreadDecisionRow {
|
|
2947
|
+
approval_id: string;
|
|
2948
|
+
run_id: string;
|
|
2949
|
+
tool: string;
|
|
2950
|
+
decided: "approved" | "denied";
|
|
2951
|
+
/** Who decided, by name; "" when nobody the workspace knows did. */
|
|
2952
|
+
decided_by: string;
|
|
2953
|
+
decided_at: string;
|
|
2954
|
+
/** The arguments the person was asked to authorize. */
|
|
2955
|
+
arguments: Json;
|
|
2956
|
+
}
|
|
2844
2957
|
/** Result of messages.activity: the thread's live runs plus the delegates below them. */
|
|
2845
2958
|
export interface MessageThreadActivity {
|
|
2846
2959
|
activity: ThreadActivityRow[];
|
|
2847
2960
|
/** Newest 20, oldest first. */
|
|
2848
2961
|
delegates: ThreadDelegateRow[];
|
|
2962
|
+
/** What the thread's recent runs changed, oldest first. */
|
|
2963
|
+
actions?: ThreadActionRow[];
|
|
2964
|
+
/** The approvals decided for the thread's recent runs, newest first. */
|
|
2965
|
+
decisions?: ThreadDecisionRow[];
|
|
2849
2966
|
}
|
|
2850
2967
|
/** What kind of capability a usage row describes. */
|
|
2851
2968
|
export type FeatureKind = "tool" | "page" | "agent";
|
|
@@ -3527,7 +3644,19 @@ export interface Party {
|
|
|
3527
3644
|
ciiu_primary?: string | null;
|
|
3528
3645
|
ciiu_secondary?: string[] | null;
|
|
3529
3646
|
city?: string | null;
|
|
3647
|
+
/** DIAN identity for electronic invoicing (parties.update). */
|
|
3648
|
+
identification_document_code?: string | null;
|
|
3649
|
+
dv?: string | null;
|
|
3650
|
+
legal_organization_code?: string | null;
|
|
3651
|
+
tribute_code?: string | null;
|
|
3652
|
+
municipality_code?: string | null;
|
|
3653
|
+
trade_name?: string | null;
|
|
3654
|
+
fiscal_responsibilities?: string[] | null;
|
|
3530
3655
|
crm_company_id?: string | null;
|
|
3656
|
+
/** When parties.archive hid it from lists and pickers; null while it is listed. */
|
|
3657
|
+
archived_at?: string | null;
|
|
3658
|
+
/** The party parties.merge folded this one into. */
|
|
3659
|
+
merged_into_id?: string | null;
|
|
3531
3660
|
company?: {
|
|
3532
3661
|
id: string;
|
|
3533
3662
|
domain: string;
|
|
@@ -3636,6 +3765,36 @@ export interface PartyMatch {
|
|
|
3636
3765
|
tax_id: string | null;
|
|
3637
3766
|
/** What it shares with the values given. */
|
|
3638
3767
|
reasons: Array<"email" | "phone" | "tax_id" | "name">;
|
|
3768
|
+
/** Archived (parties.archive): restore it rather than creating it again. */
|
|
3769
|
+
archived?: boolean;
|
|
3770
|
+
}
|
|
3771
|
+
/** How many rows of each kind parties.merge moved to the contact it kept. */
|
|
3772
|
+
export interface PartyMergeMoved {
|
|
3773
|
+
deals: number;
|
|
3774
|
+
sales_documents: number;
|
|
3775
|
+
purchase_orders: number;
|
|
3776
|
+
invoices: number;
|
|
3777
|
+
bills: number;
|
|
3778
|
+
interactions: number;
|
|
3779
|
+
email_addresses: number;
|
|
3780
|
+
prospects: number;
|
|
3781
|
+
bookings: number;
|
|
3782
|
+
marketing_conversations: number;
|
|
3783
|
+
marketing_calls: number;
|
|
3784
|
+
campaign_recipients: number;
|
|
3785
|
+
payment_links: number;
|
|
3786
|
+
employees: number;
|
|
3787
|
+
fixed_assets: number;
|
|
3788
|
+
tags: number;
|
|
3789
|
+
categorization_rules: number;
|
|
3790
|
+
tax_profile: number;
|
|
3791
|
+
campaigns: number;
|
|
3792
|
+
}
|
|
3793
|
+
/** What parties.merge answers: the contact kept, the one folded into it, and what moved. */
|
|
3794
|
+
export interface PartyMergeResult {
|
|
3795
|
+
party: Party;
|
|
3796
|
+
merged: Party;
|
|
3797
|
+
moved: PartyMergeMoved;
|
|
3639
3798
|
}
|
|
3640
3799
|
/** What parties.find_matches answers: the duplicates, and the company a work email binds to. */
|
|
3641
3800
|
export interface PartyMatches {
|
|
@@ -4123,6 +4282,8 @@ export interface NumberingRange {
|
|
|
4123
4282
|
created_at: string;
|
|
4124
4283
|
/** Which documents consume this range: invoice | credit_note | debit_note. */
|
|
4125
4284
|
document_kind: DocumentKind;
|
|
4285
|
+
/** Whether posting may take numbers from it (a superseded resolution is not). */
|
|
4286
|
+
active: boolean;
|
|
4126
4287
|
}
|
|
4127
4288
|
export interface Invoice {
|
|
4128
4289
|
id: string;
|
|
@@ -4730,6 +4891,10 @@ export interface CRMGridQuery {
|
|
|
4730
4891
|
pipeline?: string;
|
|
4731
4892
|
status?: "open" | "won" | "lost";
|
|
4732
4893
|
kind?: "customer" | "vendor" | "both";
|
|
4894
|
+
/** party: the seller's columns (default) or finance's fiscal ones. */
|
|
4895
|
+
view?: "contacts" | "fiscal";
|
|
4896
|
+
/** party: only the archived contacts. */
|
|
4897
|
+
archived?: boolean;
|
|
4733
4898
|
search?: string;
|
|
4734
4899
|
filters?: CRMGridFilter[];
|
|
4735
4900
|
sort?: string;
|
|
@@ -5083,6 +5248,8 @@ export interface EmailAccount {
|
|
|
5083
5248
|
last_error?: string;
|
|
5084
5249
|
/** Owner opt-in: reading mail here also marks it read in the real mailbox (Gmail only). */
|
|
5085
5250
|
mark_read_in_provider: boolean;
|
|
5251
|
+
/** The owner's sign-off, added under what they write from this mailbox; absent until set. */
|
|
5252
|
+
signature?: string;
|
|
5086
5253
|
last_synced_at: string | null;
|
|
5087
5254
|
created_at: string;
|
|
5088
5255
|
}
|
|
@@ -5318,6 +5485,12 @@ export interface PublicCallCenterQueue {
|
|
|
5318
5485
|
name: string;
|
|
5319
5486
|
purpose: CallCenterPurpose;
|
|
5320
5487
|
workspace_name: string;
|
|
5488
|
+
/**
|
|
5489
|
+
* Whether someone would answer a call now: the queue's voice agent, or
|
|
5490
|
+
* one of its people set available. When nobody would, a call is recorded
|
|
5491
|
+
* as missed at once, with the caller's number for a call back.
|
|
5492
|
+
*/
|
|
5493
|
+
available: boolean;
|
|
5321
5494
|
}
|
|
5322
5495
|
/** A visitor's web call. `key` comes back only when it rings; `join_token` once it is answered. */
|
|
5323
5496
|
export interface PublicCallCenterCall {
|
|
@@ -5950,6 +6123,8 @@ export interface EmailCampaignRecipient {
|
|
|
5950
6123
|
}
|
|
5951
6124
|
export interface EmailCampaignDetail {
|
|
5952
6125
|
campaign: EmailCampaign;
|
|
6126
|
+
/** How many addresses the audience reaches right now: what a send would go to. */
|
|
6127
|
+
estimated_recipients: number;
|
|
5953
6128
|
/** Hourly buckets per event type (open, click, delivery, bounce, unsubscribe). */
|
|
5954
6129
|
/** The visits this campaign's links brought to the workspace's own sites. */
|
|
5955
6130
|
site_visits: AttributedSiteVisits;
|
|
@@ -6164,6 +6339,8 @@ export interface CRMPartyTag {
|
|
|
6164
6339
|
description?: string;
|
|
6165
6340
|
/** How many parties carry it. */
|
|
6166
6341
|
parties?: number;
|
|
6342
|
+
/** How many of those parties have an email address (absent with no parties). */
|
|
6343
|
+
with_email?: number;
|
|
6167
6344
|
}
|
|
6168
6345
|
/** Approved WhatsApp message template on a connected WABA. */
|
|
6169
6346
|
export interface WhatsAppMessageTemplate {
|
|
@@ -6182,6 +6359,45 @@ export interface EmailInbox {
|
|
|
6182
6359
|
messages: EmailMessage[];
|
|
6183
6360
|
unread_count: number;
|
|
6184
6361
|
}
|
|
6362
|
+
/** What a member writes from their mailbox: a new message, or an answer to or forward of one. */
|
|
6363
|
+
export type EmailComposeMode = "new" | "reply" | "reply_all" | "forward";
|
|
6364
|
+
/**
|
|
6365
|
+
* Why a message the member wrote did not go out: the grant cannot send
|
|
6366
|
+
* (`reconnect`), the provider refused it (`rejected`), it was interrupted
|
|
6367
|
+
* mid-send and may have gone out (`uncertain`), the provider stayed out of
|
|
6368
|
+
* reach (`unavailable`), or the mailbox was disconnected (`mailbox_gone`).
|
|
6369
|
+
*/
|
|
6370
|
+
export type EmailSendFailure = "reconnect" | "rejected" | "uncertain" | "unavailable" | "mailbox_gone";
|
|
6371
|
+
/** A message the member wrote from their mailbox (email.compose), until its sent copy syncs back. */
|
|
6372
|
+
export interface EmailSend {
|
|
6373
|
+
id: string;
|
|
6374
|
+
account_id: string;
|
|
6375
|
+
/** The inbox message it answers or forwards; absent for a new message. */
|
|
6376
|
+
message_id?: string;
|
|
6377
|
+
mode: EmailComposeMode;
|
|
6378
|
+
to: string[];
|
|
6379
|
+
cc: string[];
|
|
6380
|
+
subject: string;
|
|
6381
|
+
status: "queued" | "sending" | "sent" | "failed";
|
|
6382
|
+
error?: EmailSendFailure;
|
|
6383
|
+
created_at: string;
|
|
6384
|
+
sent_at?: string;
|
|
6385
|
+
}
|
|
6386
|
+
/** email.compose input. */
|
|
6387
|
+
export interface EmailComposeInput {
|
|
6388
|
+
mode: EmailComposeMode;
|
|
6389
|
+
/** The inbox message answered or forwarded; not for a new message. */
|
|
6390
|
+
message_id?: string;
|
|
6391
|
+
/** The mailbox to write from; an answer defaults to the one that received the message. */
|
|
6392
|
+
account_id?: string;
|
|
6393
|
+
to: string[];
|
|
6394
|
+
cc?: string[];
|
|
6395
|
+
/** Defaults to the original's with Re: or Fwd: for an answer or forward. */
|
|
6396
|
+
subject?: string;
|
|
6397
|
+
/** Plain text; the mailbox's signature is added under it unless `signature` is false. */
|
|
6398
|
+
body: string;
|
|
6399
|
+
signature?: boolean;
|
|
6400
|
+
}
|
|
6185
6401
|
/** email.read_message result: metadata plus the stored (encrypted-at-rest) body. */
|
|
6186
6402
|
export interface EmailMessageBody {
|
|
6187
6403
|
id: string;
|
|
@@ -6202,6 +6418,8 @@ export interface EmailMessageBody {
|
|
|
6202
6418
|
* the sanitizer is the storage-side half of the defense, not all of it.
|
|
6203
6419
|
*/
|
|
6204
6420
|
body_html?: string;
|
|
6421
|
+
/** What the member wrote in answer that is still queued, failed, or sent but not yet synced back. */
|
|
6422
|
+
sends?: EmailSend[];
|
|
6205
6423
|
}
|
|
6206
6424
|
/**
|
|
6207
6425
|
* The calendar: what the workspace owes, on one timeline. `events` are
|
|
@@ -6238,6 +6456,11 @@ export interface AgendaQuery {
|
|
|
6238
6456
|
* strict upcoming queue — highlights and the upcoming list do this.
|
|
6239
6457
|
*/
|
|
6240
6458
|
overdue?: boolean;
|
|
6459
|
+
/**
|
|
6460
|
+
* IANA zone the days are read in (America/Bogota): an entry's `date`, the
|
|
6461
|
+
* window and today. The workspace's zone when omitted.
|
|
6462
|
+
*/
|
|
6463
|
+
time_zone?: string;
|
|
6241
6464
|
}
|
|
6242
6465
|
/** One dated thing, whatever produced it. */
|
|
6243
6466
|
export interface ConnectedCalendar {
|
|
@@ -6327,7 +6550,35 @@ export interface AgendaEntry {
|
|
|
6327
6550
|
amount_cents?: number;
|
|
6328
6551
|
currency?: string;
|
|
6329
6552
|
remind_minutes?: number;
|
|
6553
|
+
/** For a date of a repeating event: the series it belongs to. */
|
|
6554
|
+
series_id?: string;
|
|
6555
|
+
/** For a date of a repeating event: the start its rule gave the date. */
|
|
6556
|
+
occurrence_start?: string;
|
|
6557
|
+
/** For a date of a repeating event: how the series repeats. */
|
|
6558
|
+
repeat?: CalendarRepeat;
|
|
6559
|
+
}
|
|
6560
|
+
/** How often a calendar event repeats. */
|
|
6561
|
+
export type CalendarRepeatFrequency = "daily" | "weekly" | "monthly" | "yearly";
|
|
6562
|
+
/** A weekday as the repeat rule names it. */
|
|
6563
|
+
export type CalendarWeekday = "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
|
|
6564
|
+
/** How a repeating calendar event repeats, and the RFC 5545 rule it is stored as. */
|
|
6565
|
+
export interface CalendarRepeat {
|
|
6566
|
+
frequency: CalendarRepeatFrequency;
|
|
6567
|
+
/** Every how many days, weeks, months or years. */
|
|
6568
|
+
interval: number;
|
|
6569
|
+
/** For a weekly rule, the weekdays it falls on; empty otherwise. */
|
|
6570
|
+
weekdays: CalendarWeekday[];
|
|
6571
|
+
/** The last day it may happen on (YYYY-MM-DD), when it ends on a date. */
|
|
6572
|
+
until?: string;
|
|
6573
|
+
/** How many times it happens in all, when it ends after a count. */
|
|
6574
|
+
count?: number;
|
|
6575
|
+
/** The IANA zone each date keeps its time in. */
|
|
6576
|
+
time_zone: string;
|
|
6577
|
+
/** The RRULE (FREQ=WEEKLY;BYDAY=WE). */
|
|
6578
|
+
rule: string;
|
|
6330
6579
|
}
|
|
6580
|
+
/** How far a change to one date of a repeating event reaches. */
|
|
6581
|
+
export type CalendarScope = "this" | "following" | "all";
|
|
6331
6582
|
export interface AgendaResult {
|
|
6332
6583
|
from: string;
|
|
6333
6584
|
to: string;
|
|
@@ -6382,6 +6633,12 @@ export interface CalendarEvent {
|
|
|
6382
6633
|
editable: boolean;
|
|
6383
6634
|
overdue: boolean;
|
|
6384
6635
|
created_at: string;
|
|
6636
|
+
/** For a repeating event or one of its dates: the series. */
|
|
6637
|
+
series_id?: string;
|
|
6638
|
+
/** For a date of a repeating event: the start its rule gave the date. */
|
|
6639
|
+
occurrence_start?: string;
|
|
6640
|
+
/** For a repeating event: how it repeats. */
|
|
6641
|
+
repeat?: CalendarRepeat;
|
|
6385
6642
|
}
|
|
6386
6643
|
export interface CalendarEventList {
|
|
6387
6644
|
from: string;
|
|
@@ -6407,6 +6664,22 @@ export interface CalendarEventInput {
|
|
|
6407
6664
|
status?: CalendarStatus;
|
|
6408
6665
|
/** Notify the audience this many minutes before it starts. */
|
|
6409
6666
|
remind_minutes?: number;
|
|
6667
|
+
/** Make it repeat ("none" stops a repeat); the rule travels whole. */
|
|
6668
|
+
repeat?: CalendarRepeatFrequency | "none";
|
|
6669
|
+
repeat_interval?: number;
|
|
6670
|
+
repeat_weekdays?: CalendarWeekday[];
|
|
6671
|
+
/** The last day it may happen on, YYYY-MM-DD. */
|
|
6672
|
+
repeat_until?: string;
|
|
6673
|
+
repeat_count?: number;
|
|
6674
|
+
/** The IANA zone a repeat keeps its time in; the workspace's when omitted. */
|
|
6675
|
+
time_zone?: string;
|
|
6676
|
+
}
|
|
6677
|
+
/** Which date of a repeating event a write acts on, and how far it reaches. */
|
|
6678
|
+
export interface CalendarOccurrenceInput {
|
|
6679
|
+
event_id: string;
|
|
6680
|
+
/** The date's occurrence_start; an id the agenda gave a date already names it. */
|
|
6681
|
+
occurrence?: string;
|
|
6682
|
+
scope?: CalendarScope;
|
|
6410
6683
|
}
|
|
6411
6684
|
/** Block types that render something themselves. */
|
|
6412
6685
|
export type CanvasLeafType = "stats" | "chart" | "table" | "text" | "records" | "detail" | "actions" | "form" | "button" | "toggle" | "profile" | "kanban" | "agenda" | "event" | "callout" | "heading" | "divider" | "image" | "params" | "result";
|
|
@@ -6755,6 +7028,8 @@ export interface AgentSession {
|
|
|
6755
7028
|
project_name: string | null;
|
|
6756
7029
|
/** The custom app the session builds, by slug, when it is filed under one. */
|
|
6757
7030
|
app_slug: string | null;
|
|
7031
|
+
/** What the session was started for: "app" while the App builder makes a new app. */
|
|
7032
|
+
purpose: "app" | null;
|
|
6758
7033
|
created_by_type: string | null;
|
|
6759
7034
|
created_by_id: string | null;
|
|
6760
7035
|
run_count: number;
|
|
@@ -6771,6 +7046,8 @@ export interface AgentSessionRun {
|
|
|
6771
7046
|
id: string;
|
|
6772
7047
|
trigger: string;
|
|
6773
7048
|
goal: string;
|
|
7049
|
+
/** What the run is about as a person reads it; `goal` is the brief the model reads. */
|
|
7050
|
+
title: string;
|
|
6774
7051
|
status: Run["status"];
|
|
6775
7052
|
result: string | null;
|
|
6776
7053
|
error: string | null;
|
|
@@ -7647,9 +7924,16 @@ export interface NemphiClient {
|
|
|
7647
7924
|
account_id: string;
|
|
7648
7925
|
/** When true, marking mail read on the platform also marks it read in the real mailbox (Gmail only). */
|
|
7649
7926
|
mark_read_in_provider?: boolean;
|
|
7927
|
+
/** The sign-off added under what the owner writes from this mailbox; "" clears it. */
|
|
7928
|
+
signature?: string;
|
|
7650
7929
|
}): Promise<{
|
|
7651
7930
|
account: EmailAccount;
|
|
7652
7931
|
}>;
|
|
7932
|
+
/** Write from one of the caller's own mailboxes: a new message, a reply, a reply to all or a forward. */
|
|
7933
|
+
composeEmail(input: EmailComposeInput): Promise<{
|
|
7934
|
+
queued: boolean;
|
|
7935
|
+
send: EmailSend;
|
|
7936
|
+
}>;
|
|
7653
7937
|
crmSettings(): Promise<CRMSettings>;
|
|
7654
7938
|
configureCRM(input: {
|
|
7655
7939
|
auto_create_contacts?: boolean;
|
|
@@ -7733,10 +8017,11 @@ export interface NemphiClient {
|
|
|
7733
8017
|
}): Promise<MarketingTopPosts>;
|
|
7734
8018
|
emailMarketingStatus(): Promise<EmailMarketingStatus>;
|
|
7735
8019
|
emailReputation(): Promise<EmailReputation>;
|
|
7736
|
-
enableEmailMarketing(input
|
|
8020
|
+
enableEmailMarketing(input: {
|
|
7737
8021
|
from_name?: string;
|
|
7738
8022
|
reply_to?: string;
|
|
7739
|
-
|
|
8023
|
+
/** The postal address every campaign footer shows; required (anti-spam law). */
|
|
8024
|
+
physical_address: string;
|
|
7740
8025
|
}): Promise<{
|
|
7741
8026
|
settings: EmailMarketingSettings;
|
|
7742
8027
|
queued: boolean;
|
|
@@ -8759,6 +9044,8 @@ export interface NemphiClient {
|
|
|
8759
9044
|
deleted: boolean;
|
|
8760
9045
|
}>;
|
|
8761
9046
|
listLiveDocumentShares(id: string): Promise<LiveDocumentShares>;
|
|
9047
|
+
/** Notifies the members a comment on the document @-mentions (`knowledge.mention_in_comment`). */
|
|
9048
|
+
mentionInLiveDocumentComment(id: string, mention: LiveDocumentMentionInput): Promise<LiveDocumentMentions>;
|
|
8762
9049
|
shareLiveDocument(id: string, userId: string): Promise<LiveDocumentShares>;
|
|
8763
9050
|
unshareLiveDocument(id: string, userId: string): Promise<LiveDocumentShares>;
|
|
8764
9051
|
listLiveDocumentFolders(space: LiveDocumentSpace): Promise<LiveDocumentFolder[]>;
|
|
@@ -9026,6 +9313,8 @@ export interface NemphiClient {
|
|
|
9026
9313
|
listBills(input?: {
|
|
9027
9314
|
status?: string;
|
|
9028
9315
|
kind?: DocumentKind<"bill">;
|
|
9316
|
+
/** Only the bills filed from this source document. */
|
|
9317
|
+
document_id?: string;
|
|
9029
9318
|
limit?: number;
|
|
9030
9319
|
}): Promise<Bill[]>;
|
|
9031
9320
|
getBill(billId: string): Promise<BillDetail>;
|
|
@@ -9330,22 +9619,19 @@ export interface NemphiClient {
|
|
|
9330
9619
|
kind?: CalendarKind;
|
|
9331
9620
|
include_cancelled?: boolean;
|
|
9332
9621
|
limit?: number;
|
|
9622
|
+
/** IANA zone the days are read in; the workspace's zone when omitted. */
|
|
9623
|
+
time_zone?: string;
|
|
9333
9624
|
}): Promise<CalendarEventList>;
|
|
9334
9625
|
createCalendarEvent(input: CalendarEventInput & {
|
|
9335
9626
|
title: string;
|
|
9336
9627
|
starts_at: string;
|
|
9337
9628
|
}): Promise<CalendarEvent>;
|
|
9338
|
-
updateCalendarEvent(input: CalendarEventInput & {
|
|
9339
|
-
event_id: string;
|
|
9629
|
+
updateCalendarEvent(input: CalendarEventInput & CalendarOccurrenceInput & {
|
|
9340
9630
|
clear_ends_at?: boolean;
|
|
9341
9631
|
clear_remind?: boolean;
|
|
9342
9632
|
}): Promise<CalendarEvent>;
|
|
9343
|
-
completeCalendarEvent(input:
|
|
9344
|
-
|
|
9345
|
-
}): Promise<CalendarEvent>;
|
|
9346
|
-
deleteCalendarEvent(input: {
|
|
9347
|
-
event_id: string;
|
|
9348
|
-
}): Promise<{
|
|
9633
|
+
completeCalendarEvent(input: CalendarOccurrenceInput): Promise<CalendarEvent>;
|
|
9634
|
+
deleteCalendarEvent(input: CalendarOccurrenceInput): Promise<{
|
|
9349
9635
|
id: string;
|
|
9350
9636
|
deleted: boolean;
|
|
9351
9637
|
}>;
|
|
@@ -9693,6 +9979,7 @@ export interface NemphiClient {
|
|
|
9693
9979
|
horizon_days?: number;
|
|
9694
9980
|
max_per_day?: number;
|
|
9695
9981
|
time_zone?: string;
|
|
9982
|
+
location_kind?: BookingLocationKind;
|
|
9696
9983
|
location?: string;
|
|
9697
9984
|
calendar_id?: string;
|
|
9698
9985
|
}, opts?: InvokeOpts): Promise<{
|
|
@@ -9711,6 +9998,7 @@ export interface NemphiClient {
|
|
|
9711
9998
|
horizon_days?: number;
|
|
9712
9999
|
max_per_day?: number;
|
|
9713
10000
|
time_zone?: string;
|
|
10001
|
+
location_kind?: BookingLocationKind;
|
|
9714
10002
|
location?: string;
|
|
9715
10003
|
calendar_id?: string;
|
|
9716
10004
|
}, opts?: InvokeOpts): Promise<{
|
|
@@ -9795,10 +10083,13 @@ export interface NemphiClient {
|
|
|
9795
10083
|
/** The queue behind a call-center web call link. Unauthenticated. */
|
|
9796
10084
|
getPublicCallCenterQueue(key: string): Promise<PublicCallCenterQueue>;
|
|
9797
10085
|
/** Rings the queue; keep the returned `key`, it is the caller's hold on the call. */
|
|
9798
|
-
ringPublicCallCenter(key: string,
|
|
10086
|
+
ringPublicCallCenter(key: string,
|
|
10087
|
+
/** `callback`: the caller asks to be called back; the call is recorded as missed without ringing. */
|
|
10088
|
+
input: {
|
|
9799
10089
|
name: string;
|
|
9800
10090
|
phone?: string;
|
|
9801
10091
|
email?: string;
|
|
10092
|
+
callback?: boolean;
|
|
9802
10093
|
}): Promise<PublicCallCenterCall>;
|
|
9803
10094
|
/** Polls a web call; once answered it carries the room's `join_token`. */
|
|
9804
10095
|
getPublicCallCenterCall(key: string, callId: string, callerKey: string): Promise<PublicCallCenterCall>;
|