@nemphi/sdk 0.5.5400 → 0.6.5419
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/agents/client.d.ts +28 -29
- package/dist/generated/agents/client.d.ts.map +1 -1
- package/dist/generated/agents/client.js.map +1 -1
- package/dist/generated/analytics/client.d.ts +4 -4
- package/dist/generated/analytics/client.d.ts.map +1 -1
- package/dist/generated/analytics/client.js.map +1 -1
- package/dist/generated/analytics/index.d.ts +1 -1
- package/dist/generated/analytics/index.d.ts.map +1 -1
- package/dist/generated/analytics/models.d.ts +0 -3
- package/dist/generated/analytics/models.d.ts.map +1 -1
- package/dist/generated/analytics/models.js.map +1 -1
- package/dist/generated/apps/client.d.ts +4 -5
- package/dist/generated/apps/client.d.ts.map +1 -1
- package/dist/generated/apps/client.js.map +1 -1
- package/dist/generated/callcenter/client.d.ts +2 -24
- package/dist/generated/callcenter/client.d.ts.map +1 -1
- package/dist/generated/callcenter/client.js +0 -9
- package/dist/generated/callcenter/client.js.map +1 -1
- package/dist/generated/callcenter/index.d.ts +2 -2
- package/dist/generated/callcenter/index.d.ts.map +1 -1
- package/dist/generated/callcenter/models.d.ts +0 -3
- package/dist/generated/callcenter/models.d.ts.map +1 -1
- package/dist/generated/callcenter/models.js.map +1 -1
- package/dist/generated/categories/client.d.ts +2 -2
- package/dist/generated/categories/client.d.ts.map +1 -1
- package/dist/generated/categories/client.js.map +1 -1
- package/dist/generated/categories/index.d.ts +1 -1
- package/dist/generated/categories/index.d.ts.map +1 -1
- package/dist/generated/categories/models.d.ts +0 -1
- package/dist/generated/categories/models.d.ts.map +1 -1
- package/dist/generated/categories/models.js.map +1 -1
- package/dist/generated/client.d.ts +0 -4
- package/dist/generated/client.d.ts.map +1 -1
- package/dist/generated/client.js +0 -10
- package/dist/generated/client.js.map +1 -1
- package/dist/generated/crm/client.d.ts +2 -2
- package/dist/generated/crm/client.d.ts.map +1 -1
- package/dist/generated/crm/client.js.map +1 -1
- package/dist/generated/crm/index.d.ts +1 -1
- package/dist/generated/crm/index.d.ts.map +1 -1
- package/dist/generated/crm/models.d.ts +0 -1
- package/dist/generated/crm/models.d.ts.map +1 -1
- package/dist/generated/crm/models.js.map +1 -1
- package/dist/generated/dashboards/client.d.ts +3 -3
- package/dist/generated/dashboards/client.d.ts.map +1 -1
- package/dist/generated/dashboards/client.js +3 -3
- package/dist/generated/dashboards/client.js.map +1 -1
- package/dist/generated/dashboards/index.d.ts +1 -1
- package/dist/generated/dashboards/index.d.ts.map +1 -1
- package/dist/generated/dashboards/models.d.ts +444 -0
- package/dist/generated/dashboards/models.d.ts.map +1 -1
- package/dist/generated/dashboards/models.js +26 -0
- package/dist/generated/dashboards/models.js.map +1 -1
- package/dist/generated/einvoice/client.d.ts +2 -2
- package/dist/generated/einvoice/client.d.ts.map +1 -1
- package/dist/generated/einvoice/client.js.map +1 -1
- package/dist/generated/einvoice/index.d.ts +1 -1
- package/dist/generated/einvoice/index.d.ts.map +1 -1
- package/dist/generated/einvoice/models.d.ts +0 -1
- package/dist/generated/einvoice/models.d.ts.map +1 -1
- package/dist/generated/einvoice/models.js.map +1 -1
- package/dist/generated/email/models.d.ts +0 -2
- package/dist/generated/email/models.d.ts.map +1 -1
- package/dist/generated/email/models.js +0 -2
- package/dist/generated/email/models.js.map +1 -1
- package/dist/generated/imports/client.d.ts +5 -6
- package/dist/generated/imports/client.d.ts.map +1 -1
- package/dist/generated/imports/client.js.map +1 -1
- package/dist/generated/imports/index.d.ts +0 -1
- package/dist/generated/imports/index.d.ts.map +1 -1
- package/dist/generated/ledger/client.d.ts +7 -7
- package/dist/generated/ledger/client.d.ts.map +1 -1
- package/dist/generated/ledger/client.js.map +1 -1
- package/dist/generated/ledger/index.d.ts +1 -1
- package/dist/generated/ledger/index.d.ts.map +1 -1
- package/dist/generated/ledger/models.d.ts +0 -6
- package/dist/generated/ledger/models.d.ts.map +1 -1
- package/dist/generated/ledger/models.js.map +1 -1
- package/dist/generated/marketing/client.d.ts +1 -534
- package/dist/generated/marketing/client.d.ts.map +1 -1
- package/dist/generated/marketing/client.js +3 -176
- package/dist/generated/marketing/client.js.map +1 -1
- package/dist/generated/marketing/index.d.ts +2 -2
- package/dist/generated/marketing/index.d.ts.map +1 -1
- package/dist/generated/marketing/models.d.ts +0 -151
- package/dist/generated/marketing/models.d.ts.map +1 -1
- package/dist/generated/marketing/models.js +0 -88
- package/dist/generated/marketing/models.js.map +1 -1
- package/dist/generated/messages/client.d.ts +2 -6
- package/dist/generated/messages/client.d.ts.map +1 -1
- package/dist/generated/messages/client.js.map +1 -1
- package/dist/generated/messages/models.d.ts +0 -1
- package/dist/generated/messages/models.d.ts.map +1 -1
- package/dist/generated/messages/models.js +0 -1
- package/dist/generated/messages/models.js.map +1 -1
- package/dist/generated/onboarding/client.d.ts +2 -2
- package/dist/generated/onboarding/client.d.ts.map +1 -1
- package/dist/generated/onboarding/client.js.map +1 -1
- package/dist/generated/onboarding/index.d.ts +1 -1
- package/dist/generated/onboarding/index.d.ts.map +1 -1
- package/dist/generated/onboarding/models.d.ts +0 -1
- package/dist/generated/onboarding/models.d.ts.map +1 -1
- package/dist/generated/onboarding/models.js.map +1 -1
- package/dist/generated/payroll/client.d.ts +2 -2
- package/dist/generated/payroll/client.d.ts.map +1 -1
- package/dist/generated/payroll/client.js.map +1 -1
- package/dist/generated/payroll/index.d.ts +1 -1
- package/dist/generated/payroll/index.d.ts.map +1 -1
- package/dist/generated/payroll/models.d.ts +0 -1
- package/dist/generated/payroll/models.d.ts.map +1 -1
- package/dist/generated/payroll/models.js.map +1 -1
- package/dist/generated/tax/client.d.ts +3 -3
- package/dist/generated/tax/client.d.ts.map +1 -1
- package/dist/generated/tax/client.js.map +1 -1
- package/dist/generated/tax/index.d.ts +1 -1
- package/dist/generated/tax/index.d.ts.map +1 -1
- package/dist/generated/tax/models.d.ts +0 -2
- package/dist/generated/tax/models.d.ts.map +1 -1
- package/dist/generated/tax/models.js.map +1 -1
- package/dist/generated/tenants/client.d.ts +37 -70
- package/dist/generated/tenants/client.d.ts.map +1 -1
- package/dist/generated/tenants/client.js +10 -18
- package/dist/generated/tenants/client.js.map +1 -1
- package/dist/generated/tenants/index.d.ts +2 -2
- package/dist/generated/tenants/index.d.ts.map +1 -1
- package/dist/generated/tenants/models.d.ts +9 -40
- package/dist/generated/tenants/models.d.ts.map +1 -1
- package/dist/generated/tenants/models.js +8 -29
- package/dist/generated/tenants/models.js.map +1 -1
- package/dist/index.d.ts +126 -387
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +174 -239
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/generated/browser/client.d.ts +0 -106
- package/dist/generated/browser/client.d.ts.map +0 -1
- package/dist/generated/browser/client.js +0 -38
- package/dist/generated/browser/client.js.map +0 -1
- package/dist/generated/browser/index.d.ts +0 -6
- package/dist/generated/browser/index.d.ts.map +0 -1
- package/dist/generated/browser/index.js +0 -5
- package/dist/generated/browser/index.js.map +0 -1
- package/dist/generated/browser/models.d.ts +0 -49
- package/dist/generated/browser/models.d.ts.map +0 -1
- package/dist/generated/browser/models.js +0 -28
- package/dist/generated/browser/models.js.map +0 -1
- package/dist/generated/filesync/client.d.ts +0 -220
- package/dist/generated/filesync/client.d.ts.map +0 -1
- package/dist/generated/filesync/client.js +0 -73
- package/dist/generated/filesync/client.js.map +0 -1
- package/dist/generated/filesync/index.d.ts +0 -6
- package/dist/generated/filesync/index.d.ts.map +0 -1
- package/dist/generated/filesync/index.js +0 -5
- package/dist/generated/filesync/index.js.map +0 -1
- package/dist/generated/filesync/models.d.ts +0 -32
- package/dist/generated/filesync/models.d.ts.map +0 -1
- package/dist/generated/filesync/models.js +0 -19
- package/dist/generated/filesync/models.js.map +0 -1
- package/dist/generated/imports/models.d.ts +0 -6
- package/dist/generated/imports/models.d.ts.map +0 -1
- package/dist/generated/imports/models.js +0 -4
- package/dist/generated/imports/models.js.map +0 -1
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
// Code generated by forge. DO NOT EDIT.
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
import { array, object } from "../_/index.js";
|
|
4
|
-
export const BrowserBrokenLinkCodec = object([
|
|
5
|
-
["found_on", "foundOn"],
|
|
6
|
-
]);
|
|
7
|
-
export const BrowserCheckLinksResultCodec = object([
|
|
8
|
-
["broken", null, array(() => BrowserBrokenLinkCodec)],
|
|
9
|
-
["browser_ms", "browserMs"],
|
|
10
|
-
["links_checked", "linksChecked"],
|
|
11
|
-
["links_found", "linksFound"],
|
|
12
|
-
["pages_checked", "pagesChecked"],
|
|
13
|
-
]);
|
|
14
|
-
export const BrowserOpenResultCodec = object([
|
|
15
|
-
["browser_ms", "browserMs"],
|
|
16
|
-
["final_url", "finalUrl"],
|
|
17
|
-
]);
|
|
18
|
-
export const BrowserScreenshotCodec = object([
|
|
19
|
-
["content_type", "contentType"],
|
|
20
|
-
["document_id", "documentId"],
|
|
21
|
-
["image_url", "imageUrl"],
|
|
22
|
-
["size_bytes", "sizeBytes"],
|
|
23
|
-
]);
|
|
24
|
-
export const BrowserScreenshotResultCodec = object([
|
|
25
|
-
["browser_ms", "browserMs"],
|
|
26
|
-
["shots", null, array(() => BrowserScreenshotCodec)],
|
|
27
|
-
]);
|
|
28
|
-
//# sourceMappingURL=models.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/generated/browser/models.ts"],"names":[],"mappings":"AAAA,wCAAwC;AACxC,oBAAoB;AAEpB,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAmD9C,MAAM,CAAC,MAAM,sBAAsB,GAAG,MAAM,CAAC;IAC3C,CAAC,UAAU,EAAE,SAAS,CAAC;CACxB,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,4BAA4B,GAAG,MAAM,CAAC;IACjD,CAAC,QAAQ,EAAE,IAAI,EAAE,KAAK,CAAC,GAAG,EAAE,CAAC,sBAAsB,CAAC,CAAC;IACrD,CAAC,YAAY,EAAE,WAAW,CAAC;IAC3B,CAAC,eAAe,EAAE,cAAc,CAAC;IACjC,CAAC,aAAa,EAAE,YAAY,CAAC;IAC7B,CAAC,eAAe,EAAE,cAAc,CAAC;CAClC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,sBAAsB,GAAG,MAAM,CAAC;IAC3C,CAAC,YAAY,EAAE,WAAW,CAAC;IAC3B,CAAC,WAAW,EAAE,UAAU,CAAC;CAC1B,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,sBAAsB,GAAG,MAAM,CAAC;IAC3C,CAAC,cAAc,EAAE,aAAa,CAAC;IAC/B,CAAC,aAAa,EAAE,YAAY,CAAC;IAC7B,CAAC,WAAW,EAAE,UAAU,CAAC;IACzB,CAAC,YAAY,EAAE,WAAW,CAAC;CAC5B,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,4BAA4B,GAAG,MAAM,CAAC;IACjD,CAAC,YAAY,EAAE,WAAW,CAAC;IAC3B,CAAC,OAAO,EAAE,IAAI,EAAE,KAAK,CAAC,GAAG,EAAE,CAAC,sBAAsB,CAAC,CAAC;CACrD,CAAC,CAAC"}
|
|
@@ -1,220 +0,0 @@
|
|
|
1
|
-
import { type BaseClientOptions, type RequestOptions, Transport } from "../_/index.js";
|
|
2
|
-
import type { Pending } from "../models.js";
|
|
3
|
-
import { type FileSyncChangesAnswer, type FileSyncContentAnswer, type FileSyncDeletedAnswer, type FileSyncItem } from "./models.js";
|
|
4
|
-
export interface ClientOptions extends BaseClientOptions {
|
|
5
|
-
/**
|
|
6
|
-
* The URL the paths of the API are relative to.
|
|
7
|
-
*/
|
|
8
|
-
baseUrl: string;
|
|
9
|
-
}
|
|
10
|
-
export interface Client {
|
|
11
|
-
/**
|
|
12
|
-
* The Docs shelves as a desktop folder sees them, for the Mac and Windows
|
|
13
|
-
* folder sync: with no cursor, a full listing…
|
|
14
|
-
*
|
|
15
|
-
* The Docs shelves as a desktop folder sees them, for the Mac and Windows
|
|
16
|
-
* folder sync: with no cursor, a full listing (the fixed folders personal,
|
|
17
|
-
* team and shared, then every folder and document the member sees), paged;
|
|
18
|
-
* with a cursor, what changed since. Keep calling with the returned cursor
|
|
19
|
-
* while has_more is true; reset means list again from no cursor.
|
|
20
|
-
*
|
|
21
|
-
* Risk: `read`.
|
|
22
|
-
*/
|
|
23
|
-
changes(request?: ChangesRequest, options?: RequestOptions): Promise<ChangesResponse>;
|
|
24
|
-
/**
|
|
25
|
-
* File a new file a desktop folder made as a file entry on the Docs shelves
|
|
26
|
-
* (POST /v1/filesync/files stages its bytes…
|
|
27
|
-
*
|
|
28
|
-
* File a new file a desktop folder made as a file entry on the Docs shelves
|
|
29
|
-
* (POST /v1/filesync/files stages its bytes and calls this). An Office file
|
|
30
|
-
* stays a file, never converted into a live document. Answers its feed item.
|
|
31
|
-
*
|
|
32
|
-
* Risk: `write`.
|
|
33
|
-
*/
|
|
34
|
-
createFile(request: CreateFileRequest, options?: RequestOptions): Promise<CreateFileResponse>;
|
|
35
|
-
/**
|
|
36
|
-
* Make a folder on the Docs shelves where a desktop folder made one: under
|
|
37
|
-
* Mis documentos (personal), the team folder…
|
|
38
|
-
*
|
|
39
|
-
* Make a folder on the Docs shelves where a desktop folder made one: under
|
|
40
|
-
* Mis documentos (personal), the team folder (team) or another folder.
|
|
41
|
-
* Answers the folder as the feed lists it.
|
|
42
|
-
*
|
|
43
|
-
* Risk: `write`.
|
|
44
|
-
*/
|
|
45
|
-
createFolder(request: CreateFolderRequest, options?: RequestOptions): Promise<CreateFolderResponse>;
|
|
46
|
-
/**
|
|
47
|
-
* Delete a synced item where a desktop folder deleted one: a document goes to
|
|
48
|
-
* the trash (knowledge.restore_doc takes it…
|
|
49
|
-
*
|
|
50
|
-
* Delete a synced item where a desktop folder deleted one: a document goes to
|
|
51
|
-
* the trash (knowledge.restore_doc takes it back); a folder trashes every
|
|
52
|
-
* document in it and its folders, then goes. Only the member who made a
|
|
53
|
-
* document or an admin trashes it, and a folder holding one they may not
|
|
54
|
-
* trash is refused whole. A base_version older than the item's answers a
|
|
55
|
-
* conflict.
|
|
56
|
-
*
|
|
57
|
-
* Risk: `write`.
|
|
58
|
-
*/
|
|
59
|
-
delete(request: DeleteRequest, options?: RequestOptions): Promise<DeleteResponse>;
|
|
60
|
-
/**
|
|
61
|
-
* Resolve a synced item to its bytes for the desktop folder sync (what GET
|
|
62
|
-
* /v1/filesync/items/{id}/content streams): a…
|
|
63
|
-
*
|
|
64
|
-
* Resolve a synced item to its bytes for the desktop folder sync (what GET
|
|
65
|
-
* /v1/filesync/items/{id}/content streams): a file's stored object, or the
|
|
66
|
-
* live document a doc, sheet or presentation exports as Word, Excel or
|
|
67
|
-
* PowerPoint. Use knowledge.read_doc to read what a document says.
|
|
68
|
-
*
|
|
69
|
-
* Risk: `read`.
|
|
70
|
-
*/
|
|
71
|
-
getContent(request: GetContentRequest, options?: RequestOptions): Promise<GetContentResponse>;
|
|
72
|
-
/**
|
|
73
|
-
* Rename or move a synced item where a desktop folder did: a new name, a new
|
|
74
|
-
* parent (personal, team or a folder), or both
|
|
75
|
-
*
|
|
76
|
-
* Rename or move a synced item where a desktop folder did: a new name, a new
|
|
77
|
-
* parent (personal, team or a folder), or both. Moving a document between Mis
|
|
78
|
-
* documentos and the team folder changes its space (its owner or an admin
|
|
79
|
-
* does that). Nothing moves into or out of Compartido conmigo, and a folder
|
|
80
|
-
* moves within its own space. A base_version older than the item's answers a
|
|
81
|
-
* conflict.
|
|
82
|
-
*
|
|
83
|
-
* Risk: `write`.
|
|
84
|
-
*/
|
|
85
|
-
move(request: MoveRequest, options?: RequestOptions): Promise<MoveResponse>;
|
|
86
|
-
/**
|
|
87
|
-
* Save a file a desktop folder changed back to its entry (PUT
|
|
88
|
-
* /v1/filesync/items/{id}/content stages the bytes and calls…
|
|
89
|
-
*
|
|
90
|
-
* Save a file a desktop folder changed back to its entry (PUT
|
|
91
|
-
* /v1/filesync/items/{id}/content stages the bytes and calls this): a file's
|
|
92
|
-
* bytes replace its document; a Word or Excel file is imported into its live
|
|
93
|
-
* document, writing nothing when it reads the same as the document already
|
|
94
|
-
* does. if_match is the content_version the client last downloaded; an older
|
|
95
|
-
* one answers a conflict. A presentation's PowerPoint save is refused.
|
|
96
|
-
*
|
|
97
|
-
* Risk: `write`.
|
|
98
|
-
*/
|
|
99
|
-
replaceContent(request: ReplaceContentRequest, options?: RequestOptions): Promise<ReplaceContentResponse>;
|
|
100
|
-
}
|
|
101
|
-
export declare function createClient(options: ClientOptions): Client;
|
|
102
|
-
export declare function bind(transport: Transport): Client;
|
|
103
|
-
export interface ChangesRequest {
|
|
104
|
-
/**
|
|
105
|
-
* The cursor the last page answered; empty starts a full listing
|
|
106
|
-
*/
|
|
107
|
-
cursor?: string;
|
|
108
|
-
/**
|
|
109
|
-
* Items per page, 1 to 1000 (default 500)
|
|
110
|
-
*/
|
|
111
|
-
limit?: number;
|
|
112
|
-
}
|
|
113
|
-
export type ChangesResponse = {
|
|
114
|
-
output: FileSyncChangesAnswer;
|
|
115
|
-
tool: "filesync.changes";
|
|
116
|
-
} | Pending;
|
|
117
|
-
export interface CreateFileRequest {
|
|
118
|
-
/**
|
|
119
|
-
* The file's type, as the route read it
|
|
120
|
-
*/
|
|
121
|
-
contentType?: string;
|
|
122
|
-
/**
|
|
123
|
-
* The file's name on disk
|
|
124
|
-
*/
|
|
125
|
-
name: string;
|
|
126
|
-
/**
|
|
127
|
-
* personal, team, or a folder id from filesync.changes
|
|
128
|
-
*/
|
|
129
|
-
parentId: string;
|
|
130
|
-
/**
|
|
131
|
-
* The SHA-256 of the bytes the content route staged
|
|
132
|
-
*/
|
|
133
|
-
sha256: string;
|
|
134
|
-
}
|
|
135
|
-
export type CreateFileResponse = {
|
|
136
|
-
output: FileSyncItem;
|
|
137
|
-
tool: "filesync.create_file";
|
|
138
|
-
} | Pending;
|
|
139
|
-
export interface CreateFolderRequest {
|
|
140
|
-
name: string;
|
|
141
|
-
/**
|
|
142
|
-
* personal, team, or a folder id from filesync.changes
|
|
143
|
-
*/
|
|
144
|
-
parentId: string;
|
|
145
|
-
}
|
|
146
|
-
export type CreateFolderResponse = {
|
|
147
|
-
output: FileSyncItem;
|
|
148
|
-
tool: "filesync.create_folder";
|
|
149
|
-
} | Pending;
|
|
150
|
-
export interface DeleteRequest {
|
|
151
|
-
/**
|
|
152
|
-
* The item's version as the client last read it; an older one answers a
|
|
153
|
-
* conflict
|
|
154
|
-
*/
|
|
155
|
-
baseVersion: string;
|
|
156
|
-
/**
|
|
157
|
-
* The item to delete
|
|
158
|
-
*/
|
|
159
|
-
id: string;
|
|
160
|
-
}
|
|
161
|
-
export type DeleteResponse = {
|
|
162
|
-
output: FileSyncDeletedAnswer;
|
|
163
|
-
tool: "filesync.delete";
|
|
164
|
-
} | Pending;
|
|
165
|
-
export interface GetContentRequest {
|
|
166
|
-
/**
|
|
167
|
-
* The item: an id from filesync.changes
|
|
168
|
-
*/
|
|
169
|
-
id: string;
|
|
170
|
-
}
|
|
171
|
-
export type GetContentResponse = {
|
|
172
|
-
output: FileSyncContentAnswer;
|
|
173
|
-
tool: "filesync.get_content";
|
|
174
|
-
} | Pending;
|
|
175
|
-
export interface MoveRequest {
|
|
176
|
-
/**
|
|
177
|
-
* The item's version as the client last read it; an older one answers a
|
|
178
|
-
* conflict
|
|
179
|
-
*/
|
|
180
|
-
baseVersion: string;
|
|
181
|
-
/**
|
|
182
|
-
* The item to rename or move
|
|
183
|
-
*/
|
|
184
|
-
id: string;
|
|
185
|
-
/**
|
|
186
|
-
* Its new name on disk; empty keeps its name
|
|
187
|
-
*/
|
|
188
|
-
name?: string;
|
|
189
|
-
/**
|
|
190
|
-
* Where it goes: personal, team or a folder id; empty keeps its parent
|
|
191
|
-
*/
|
|
192
|
-
parentId?: string;
|
|
193
|
-
}
|
|
194
|
-
export type MoveResponse = {
|
|
195
|
-
output: FileSyncItem;
|
|
196
|
-
tool: "filesync.move";
|
|
197
|
-
} | Pending;
|
|
198
|
-
export interface ReplaceContentRequest {
|
|
199
|
-
/**
|
|
200
|
-
* The file's type, as the route read it
|
|
201
|
-
*/
|
|
202
|
-
contentType?: string;
|
|
203
|
-
/**
|
|
204
|
-
* The entry whose content changed
|
|
205
|
-
*/
|
|
206
|
-
id: string;
|
|
207
|
-
/**
|
|
208
|
-
* The content_version the client's copy has
|
|
209
|
-
*/
|
|
210
|
-
ifMatch: string;
|
|
211
|
-
/**
|
|
212
|
-
* The SHA-256 of the bytes the content route staged
|
|
213
|
-
*/
|
|
214
|
-
sha256: string;
|
|
215
|
-
}
|
|
216
|
-
export type ReplaceContentResponse = {
|
|
217
|
-
output: FileSyncItem;
|
|
218
|
-
tool: "filesync.replace_content";
|
|
219
|
-
} | Pending;
|
|
220
|
-
//# sourceMappingURL=client.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/generated/filesync/client.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,iBAAiB,EAEtB,KAAK,cAAc,EACnB,SAAS,EAEV,MAAM,eAAe,CAAC;AACvB,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EACL,KAAK,qBAAqB,EAE1B,KAAK,qBAAqB,EAE1B,KAAK,qBAAqB,EAC1B,KAAK,YAAY,EAElB,MAAM,aAAa,CAAC;AAErB,MAAM,WAAW,aAAc,SAAQ,iBAAiB;IACtD;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,MAAM;IACrB;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,OAAO,CAAC,EAAE,cAAc,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC;IACtF;;;;;;;;;OASG;IACH,UAAU,CAAC,OAAO,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAC;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EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,MAAM,sBAAsB,GAAG;IAAE,MAAM,EAAE,YAAY,CAAC;IAAC,IAAI,EAAE,0BAA0B,CAAA;CAAE,GAAG,OAAO,CAAC"}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
// Code generated by forge. DO NOT EDIT.
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
import { Transport, object, } from "../_/index.js";
|
|
4
|
-
import { FileSyncChangesAnswerCodec, FileSyncContentAnswerCodec, FileSyncItemCodec, } from "./models.js";
|
|
5
|
-
export function createClient(options) {
|
|
6
|
-
return bind(new Transport(options));
|
|
7
|
-
}
|
|
8
|
-
export function bind(transport) {
|
|
9
|
-
return {
|
|
10
|
-
changes: (request, options) => transport.send(ChangesOperation, request, options),
|
|
11
|
-
createFile: (request, options) => transport.send(CreateFileOperation, request, options),
|
|
12
|
-
createFolder: (request, options) => transport.send(CreateFolderOperation, request, options),
|
|
13
|
-
delete: (request, options) => transport.send(DeleteOperation, request, options),
|
|
14
|
-
getContent: (request, options) => transport.send(GetContentOperation, request, options),
|
|
15
|
-
move: (request, options) => transport.send(MoveOperation, request, options),
|
|
16
|
-
replaceContent: (request, options) => transport.send(ReplaceContentOperation, request, options),
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
const ChangesOperation = {
|
|
20
|
-
method: "POST",
|
|
21
|
-
route: "/v1/tools/filesync.changes:invoke",
|
|
22
|
-
body: "flat",
|
|
23
|
-
response: object([["output", null, () => FileSyncChangesAnswerCodec]]),
|
|
24
|
-
errors: { "400": true, "401": true, "403": true, "404": true, "409": true, "413": true, "422": true, "429": true },
|
|
25
|
-
};
|
|
26
|
-
const CreateFileOperation = {
|
|
27
|
-
method: "POST",
|
|
28
|
-
route: "/v1/tools/filesync.create_file:invoke",
|
|
29
|
-
body: "flat",
|
|
30
|
-
request: object([["content_type", "contentType"], ["parent_id", "parentId"]]),
|
|
31
|
-
response: object([["output", null, () => FileSyncItemCodec]]),
|
|
32
|
-
errors: { "400": true, "401": true, "403": true, "404": true, "409": true, "413": true, "422": true, "429": true },
|
|
33
|
-
};
|
|
34
|
-
const CreateFolderOperation = {
|
|
35
|
-
method: "POST",
|
|
36
|
-
route: "/v1/tools/filesync.create_folder:invoke",
|
|
37
|
-
body: "flat",
|
|
38
|
-
request: object([["parent_id", "parentId"]]),
|
|
39
|
-
response: object([["output", null, () => FileSyncItemCodec]]),
|
|
40
|
-
errors: { "400": true, "401": true, "403": true, "404": true, "409": true, "413": true, "422": true, "429": true },
|
|
41
|
-
};
|
|
42
|
-
const DeleteOperation = {
|
|
43
|
-
method: "POST",
|
|
44
|
-
route: "/v1/tools/filesync.delete:invoke",
|
|
45
|
-
body: "flat",
|
|
46
|
-
request: object([["base_version", "baseVersion"]]),
|
|
47
|
-
response: null,
|
|
48
|
-
errors: { "400": true, "401": true, "403": true, "404": true, "409": true, "413": true, "422": true, "429": true },
|
|
49
|
-
};
|
|
50
|
-
const GetContentOperation = {
|
|
51
|
-
method: "POST",
|
|
52
|
-
route: "/v1/tools/filesync.get_content:invoke",
|
|
53
|
-
body: "flat",
|
|
54
|
-
response: object([["output", null, () => FileSyncContentAnswerCodec]]),
|
|
55
|
-
errors: { "400": true, "401": true, "403": true, "404": true, "409": true, "413": true, "422": true, "429": true },
|
|
56
|
-
};
|
|
57
|
-
const MoveOperation = {
|
|
58
|
-
method: "POST",
|
|
59
|
-
route: "/v1/tools/filesync.move:invoke",
|
|
60
|
-
body: "flat",
|
|
61
|
-
request: object([["base_version", "baseVersion"], ["parent_id", "parentId"]]),
|
|
62
|
-
response: object([["output", null, () => FileSyncItemCodec]]),
|
|
63
|
-
errors: { "400": true, "401": true, "403": true, "404": true, "409": true, "413": true, "422": true, "429": true },
|
|
64
|
-
};
|
|
65
|
-
const ReplaceContentOperation = {
|
|
66
|
-
method: "POST",
|
|
67
|
-
route: "/v1/tools/filesync.replace_content:invoke",
|
|
68
|
-
body: "flat",
|
|
69
|
-
request: object([["content_type", "contentType"], ["if_match", "ifMatch"]]),
|
|
70
|
-
response: object([["output", null, () => FileSyncItemCodec]]),
|
|
71
|
-
errors: { "400": true, "401": true, "403": true, "404": true, "409": true, "413": true, "422": true, "429": true },
|
|
72
|
-
};
|
|
73
|
-
//# sourceMappingURL=client.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../../src/generated/filesync/client.ts"],"names":[],"mappings":"AAAA,wCAAwC;AACxC,oBAAoB;AAEpB,OAAO,EAIL,SAAS,EACT,MAAM,GACP,MAAM,eAAe,CAAC;AAEvB,OAAO,EAEL,0BAA0B,EAE1B,0BAA0B,EAG1B,iBAAiB,GAClB,MAAM,aAAa,CAAC;AAqGrB,MAAM,UAAU,YAAY,CAAC,OAAsB;IACjD,OAAO,IAAI,CAAC,IAAI,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC;AACtC,CAAC;AAED,MAAM,UAAU,IAAI,CAAC,SAAoB;IACvC,OAAO;QACL,OAAO,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,gBAAgB,EAAE,OAAO,EAAE,OAAO,CAAC;QACjF,UAAU,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,mBAAmB,EAAE,OAAO,EAAE,OAAO,CAAC;QACvF,YAAY,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,qBAAqB,EAAE,OAAO,EAAE,OAAO,CAAC;QAC3F,MAAM,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,eAAe,EAAE,OAAO,EAAE,OAAO,CAAC;QAC/E,UAAU,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,EAAE,CAAC,SAAS,CAAC,IAAI,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K,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE;CACnH,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export { ApiError } from "../_/index.js";
|
|
2
|
-
export type { RequestOptions } from "../_/index.js";
|
|
3
|
-
export { createClient } from "./client.js";
|
|
4
|
-
export type { Client, ClientOptions, ChangesRequest, ChangesResponse, CreateFileRequest, CreateFileResponse, CreateFolderRequest, CreateFolderResponse, DeleteRequest, DeleteResponse, GetContentRequest, GetContentResponse, MoveRequest, MoveResponse, ReplaceContentRequest, ReplaceContentResponse, } from "./client.js";
|
|
5
|
-
export type { FileSyncChangesAnswer, FileSyncContentAnswer, FileSyncDeletedAnswer, FileSyncItem, } from "./models.js";
|
|
6
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/generated/filesync/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,YAAY,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,YAAY,EACV,MAAM,EACN,aAAa,EACb,cAAc,EACd,eAAe,EACf,iBAAiB,EACjB,kBAAkB,EAClB,mBAAmB,EACnB,oBAAoB,EACpB,aAAa,EACb,cAAc,EACd,iBAAiB,EACjB,kBAAkB,EAClB,WAAW,EACX,YAAY,EACZ,qBAAqB,EACrB,sBAAsB,GACvB,MAAM,aAAa,CAAC;AACrB,YAAY,EACV,qBAAqB,EACrB,qBAAqB,EACrB,qBAAqB,EACrB,YAAY,GACb,MAAM,aAAa,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/generated/filesync/index.ts"],"names":[],"mappings":"AAAA,wCAAwC;AACxC,oBAAoB;AAEpB,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
export interface FileSyncChangesAnswer {
|
|
2
|
-
cursor: string;
|
|
3
|
-
hasMore: boolean;
|
|
4
|
-
items: FileSyncItem[];
|
|
5
|
-
reset: boolean;
|
|
6
|
-
}
|
|
7
|
-
export interface FileSyncContentAnswer {
|
|
8
|
-
item: FileSyncItem;
|
|
9
|
-
liveDocumentId: string;
|
|
10
|
-
storageKey: string;
|
|
11
|
-
}
|
|
12
|
-
export interface FileSyncDeletedAnswer {
|
|
13
|
-
deleted: boolean;
|
|
14
|
-
id: string;
|
|
15
|
-
}
|
|
16
|
-
export interface FileSyncItem {
|
|
17
|
-
contentType?: string;
|
|
18
|
-
contentVersion?: string;
|
|
19
|
-
deleted: boolean;
|
|
20
|
-
id: string;
|
|
21
|
-
modifiedAt?: string;
|
|
22
|
-
name?: string;
|
|
23
|
-
parentId?: string;
|
|
24
|
-
size?: number | null;
|
|
25
|
-
type?: "folder" | "file" | "doc" | "sheet" | "slides";
|
|
26
|
-
version?: string;
|
|
27
|
-
writable?: boolean;
|
|
28
|
-
}
|
|
29
|
-
export declare const FileSyncChangesAnswerCodec: import("../_/codec.js").Codec;
|
|
30
|
-
export declare const FileSyncContentAnswerCodec: import("../_/codec.js").Codec;
|
|
31
|
-
export declare const FileSyncItemCodec: import("../_/codec.js").Codec;
|
|
32
|
-
//# sourceMappingURL=models.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../../src/generated/filesync/models.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,KAAK,EAAE,OAAO,CAAC;CAChB;AAED,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,YAAY,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,OAAO,CAAC;IACjB,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,YAAY;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,EAAE,OAAO,CAAC;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,IAAI,CAAC,EAAE,QAAQ,GAAG,MAAM,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,CAAC;IACtD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,0BAA0B,+BAGrC,CAAC;AAEH,eAAO,MAAM,0BAA0B,+BAIrC,CAAC;AAEH,eAAO,MAAM,iBAAiB,+BAK5B,CAAC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
// Code generated by forge. DO NOT EDIT.
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
import { array, object } from "../_/index.js";
|
|
4
|
-
export const FileSyncChangesAnswerCodec = object([
|
|
5
|
-
["has_more", "hasMore"],
|
|
6
|
-
["items", null, array(() => FileSyncItemCodec)],
|
|
7
|
-
]);
|
|
8
|
-
export const FileSyncContentAnswerCodec = object([
|
|
9
|
-
["item", null, () => FileSyncItemCodec],
|
|
10
|
-
["live_document_id", "liveDocumentId"],
|
|
11
|
-
["storage_key", "storageKey"],
|
|
12
|
-
]);
|
|
13
|
-
export const FileSyncItemCodec = object([
|
|
14
|
-
["content_type", "contentType"],
|
|
15
|
-
["content_version", "contentVersion"],
|
|
16
|
-
["modified_at", "modifiedAt"],
|
|
17
|
-
["parent_id", "parentId"],
|
|
18
|
-
]);
|
|
19
|
-
//# sourceMappingURL=models.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/generated/filesync/models.ts"],"names":[],"mappings":"AAAA,wCAAwC;AACxC,oBAAoB;AAEpB,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAkC9C,MAAM,CAAC,MAAM,0BAA0B,GAAG,MAAM,CAAC;IAC/C,CAAC,UAAU,EAAE,SAAS,CAAC;IACvB,CAAC,OAAO,EAAE,IAAI,EAAE,KAAK,CAAC,GAAG,EAAE,CAAC,iBAAiB,CAAC,CAAC;CAChD,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,0BAA0B,GAAG,MAAM,CAAC;IAC/C,CAAC,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,iBAAiB,CAAC;IACvC,CAAC,kBAAkB,EAAE,gBAAgB,CAAC;IACtC,CAAC,aAAa,EAAE,YAAY,CAAC;CAC9B,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,iBAAiB,GAAG,MAAM,CAAC;IACtC,CAAC,cAAc,EAAE,aAAa,CAAC;IAC/B,CAAC,iBAAiB,EAAE,gBAAgB,CAAC;IACrC,CAAC,aAAa,EAAE,YAAY,CAAC;IAC7B,CAAC,WAAW,EAAE,UAAU,CAAC;CAC1B,CAAC,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export type ImportsAccountsOutput = unknown;
|
|
2
|
-
export type ImportsCheckOutput = unknown;
|
|
3
|
-
export type ImportsOpenInvoicesOutput = unknown;
|
|
4
|
-
export type ImportsOpeningBalancesOutput = unknown;
|
|
5
|
-
export type ImportsPartiesOutput = unknown;
|
|
6
|
-
//# sourceMappingURL=models.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../../src/generated/imports/models.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,qBAAqB,GAAG,OAAO,CAAC;AAE5C,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC;AAEzC,MAAM,MAAM,yBAAyB,GAAG,OAAO,CAAC;AAEhD,MAAM,MAAM,4BAA4B,GAAG,OAAO,CAAC;AAEnD,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/generated/imports/models.ts"],"names":[],"mappings":"AAAA,wCAAwC;AACxC,oBAAoB"}
|