@fourier-labs/harbour-contracts 0.90.0 → 0.91.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/contract-release.json +22 -22
- package/dist/gen-ts/app-integrations-declaration.d.ts +8 -0
- package/dist/gen-ts/contract-release.d.ts +6 -6
- package/dist/gen-ts/contract-release.js +6 -6
- package/dist/gen-ts/data-grant-v2.d.ts +4 -4
- package/dist/gen-ts/integration-execute-input-rules.d.ts +230 -0
- package/dist/gen-ts/integration-execute-input-rules.js +70 -0
- package/dist/gen-ts/integration-execute-request.d.ts +19 -2
- package/dist/gen-ts/integration-execute-result.d.ts +49 -0
- package/dist/gen-ts/integration-operations.d.ts +56 -0
- package/dist/gen-ts/integration-operations.js +72 -0
- package/dist/gen-ts/saas-connection.d.ts +11 -7
- package/gen-ts/app-integrations-declaration.ts +8 -0
- package/gen-ts/contract-release.ts +6 -6
- package/gen-ts/data-grant-v2.ts +18 -2
- package/gen-ts/integration-execute-input-rules.ts +70 -0
- package/gen-ts/integration-execute-request.ts +27 -2
- package/gen-ts/integration-execute-result.ts +49 -0
- package/gen-ts/integration-operations.ts +72 -0
- package/gen-ts/saas-connection.ts +33 -4
- package/package.json +1 -1
- package/schema/app-integrations-declaration.schema.json +121 -9
- package/schema/data-grant-v2.schema.json +2 -2
- package/schema/integration-execute-request.schema.json +458 -7
- package/schema/integration-execute-result.schema.json +234 -2
- package/schema/saas-connection.schema.json +720 -138
package/contract-release.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": "harbour.contract-release/1.0",
|
|
3
|
-
"repositoryVersion": "0.
|
|
4
|
-
"publishVersion": "0.
|
|
5
|
-
"publishTag": "v0.
|
|
6
|
-
"schemasDigest": "sha256:
|
|
3
|
+
"repositoryVersion": "0.91.0.0",
|
|
4
|
+
"publishVersion": "0.91.0",
|
|
5
|
+
"publishTag": "v0.91.0",
|
|
6
|
+
"schemasDigest": "sha256:b6ef945b91544184715900ca739d16f3ad8a40d5307a3b04d71cf7ac39c4fb39",
|
|
7
7
|
"aiFixturesDigest": "sha256:edac31c92e146ca1c40130f2fb5649db82e24b8cd1ac758153b90612052fddb6",
|
|
8
|
-
"generatedGoDigest": "sha256:
|
|
9
|
-
"generatedTypeScriptDigest": "sha256:
|
|
8
|
+
"generatedGoDigest": "sha256:7dc23154d2d8cc3a50733c32bc005d71afa877ab327d89a3c3a7dc8dbec7dc5b",
|
|
9
|
+
"generatedTypeScriptDigest": "sha256:ae301b3932627690ffc23da6368dac812e5e33968dbe65fed52716c4896cbfcb",
|
|
10
10
|
"generatedExclusions": {
|
|
11
11
|
"gen-go/contract_release.go": "contains the generated aggregate digests (self-reference)",
|
|
12
12
|
"gen-ts/contract-release.ts": "contains the generated aggregate digests (self-reference)"
|
|
@@ -31,13 +31,13 @@
|
|
|
31
31
|
"schema/ai-transform-result.schema.json": "sha256:244e380a36957ab2dcb526ea22aaecb56b53664ce1fda6934d0021c084c99133",
|
|
32
32
|
"schema/ai-verification-evidence.schema.json": "sha256:bdbc762df256d2a8dd0bdda60d4d13915ce40034cd756af9515871d145f10ad9",
|
|
33
33
|
"schema/api-error-response.schema.json": "sha256:3d43d5bdf0b59c944e20509d832e6776c3ecdba4d6c245a9118bbe52062a8304",
|
|
34
|
-
"schema/app-integrations-declaration.schema.json": "sha256:
|
|
34
|
+
"schema/app-integrations-declaration.schema.json": "sha256:f130b18ff4f9111e8d7e5a43d2efa987b82de8c8eee2e1642255aa86f2b9160d",
|
|
35
35
|
"schema/app-sign-in.schema.json": "sha256:2093740131b84a69757c2e474d16e32ff5d0bf0edd6f6f8de62ede7f82988f29",
|
|
36
36
|
"schema/artifact-contract.schema.json": "sha256:8047b461a1c6d07bbe867a259c57bdf5cc0fdf282cf842ec7b683a9e93713b10",
|
|
37
37
|
"schema/binding-classification-subject.schema.json": "sha256:a8825ce652e7e00a18759c4249bd5bcd0cae552dd58440513f867e87f685133c",
|
|
38
38
|
"schema/builder-input-proposal.schema.json": "sha256:fe85cffa6d76b1e1effe1f5d75525f8fe0e1eaa3be4a304e491aa23ad72c0e72",
|
|
39
39
|
"schema/data-dependency.schema.json": "sha256:b4cc2b2484e982cfed64c0f56b8f1e9d1363c71854cd71f845b24fbe7d85c971",
|
|
40
|
-
"schema/data-grant-v2.schema.json": "sha256:
|
|
40
|
+
"schema/data-grant-v2.schema.json": "sha256:5654b88daad1a1ea6b2b6fa7b140d41a65f8bbae8f7de987fcbefa2014d0619f",
|
|
41
41
|
"schema/data-grant.schema.json": "sha256:e640553831ecc1c01cc9a37fe388b84d0ffeaa0d0050e63712b48f65fa437c8a",
|
|
42
42
|
"schema/data-source.schema.json": "sha256:f32b2b4312bc06e023f4e1da60eed52ddfade59b74c1a1cc8e4b740a6f9c930b",
|
|
43
43
|
"schema/deploy-request.schema.json": "sha256:c978406c273fa430db262888f0a8646b14e3057f64b0633780fcd6cfa646bc67",
|
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
"schema/identity-context.schema.json": "sha256:a0be3d3499b70f1641887ec66ab5b21ca5ab71063e9209290905738943a36e59",
|
|
58
58
|
"schema/integration-connect-result.schema.json": "sha256:3f254b67ef739dc1fa395bdc8c4dc93359b16d481dba2a2d777aa5b6f34b7af8",
|
|
59
59
|
"schema/integration-error-details.schema.json": "sha256:5a290584b1542b2b8cdd4966869126180ce29c1f0dd250dca7fb68c05e76b8e9",
|
|
60
|
-
"schema/integration-execute-request.schema.json": "sha256:
|
|
61
|
-
"schema/integration-execute-result.schema.json": "sha256:
|
|
60
|
+
"schema/integration-execute-request.schema.json": "sha256:c2475e7161b32d128bc0a6d67c0c34c9cb7e6baa56bb4b70000eae12a5c705d7",
|
|
61
|
+
"schema/integration-execute-result.schema.json": "sha256:ec4bd04064b0d999636304eba9e89f2254b423c944d4ca352c9fd6229c5114e1",
|
|
62
62
|
"schema/internal-configuration-request.schema.json": "sha256:229d44a3458f68dceddfba802e5c1adcd95523a45af29b93b972706b88461a7d",
|
|
63
63
|
"schema/kit-bundle-manifest.schema.json": "sha256:d8fc6ca9c30d791e785b021687e084e9171c0ea1a3a176d0f1582fcccf2c0e19",
|
|
64
64
|
"schema/kit-lock.schema.json": "sha256:a48154d9471e49a893d928f7b0e1e0bc77708a4a7edce4fdf14073203e0e8987",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"schema/promotion-request.schema.json": "sha256:00e96dfd8ddbdba88ea222941d43f3609ff6c815a79e34f6705cab458101c969",
|
|
67
67
|
"schema/promotion-response.schema.json": "sha256:4129712d2e29d6ef21d93d4bd0bacfd60ada3f2ee0ade852824e64346b817634",
|
|
68
68
|
"schema/resolved-app-serving.schema.json": "sha256:3b49268e189429310c2a5dcfd45e9d2187c80b6dbb9d329a0177e96e065c31c0",
|
|
69
|
-
"schema/saas-connection.schema.json": "sha256:
|
|
69
|
+
"schema/saas-connection.schema.json": "sha256:df0a75d9ecd25c4f800c84deb559ac9375c45bfc901202a61f44b757e2fa7f50",
|
|
70
70
|
"schema/sanitized-binding-evidence.schema.json": "sha256:1191ab88e2764df927e5f17837674cebebe068d480da2b2fdb390e589f96b51f",
|
|
71
71
|
"schema/secret-reference.schema.json": "sha256:db4e3c2c6a2dbd72d7ea0f9c91cb3b2343a7e67b601996c6818b2ef08e440895",
|
|
72
72
|
"schema/security-scan-input-v2.schema.json": "sha256:0d418342078c9b5046ea6f4bef3c2c57539285dfee99cc0850d4f0d03739ee13",
|
|
@@ -112,11 +112,11 @@
|
|
|
112
112
|
"gen-go/contracts_test.go": "sha256:56376287cb1548be1b35ab4c65d6f0b558c5d34885f7a47cb3d9e8d786607bf5",
|
|
113
113
|
"gen-go/doc.go": "sha256:316d610ce568597a2ce6f38e9782e34fa5920f6f51ab0866e6d061b8a41cd822",
|
|
114
114
|
"gen-go/error_category.go": "sha256:b2ddea22dcfa030f1a45e721e635485b0bd816cf1f38e7654628a653f5ed4583",
|
|
115
|
-
"gen-go/integration_execute_input_rules.go": "sha256:
|
|
116
|
-
"gen-go/integration_execute_input_rules_test.go": "sha256:
|
|
117
|
-
"gen-go/integration_operations.go": "sha256:
|
|
115
|
+
"gen-go/integration_execute_input_rules.go": "sha256:2f12620e797a82c6f6218133e26bacf225df33a10649cc1f4ea9b409b2f8e9f1",
|
|
116
|
+
"gen-go/integration_execute_input_rules_test.go": "sha256:6db850bbdfc31f60ac7ce6ec5cade4f5260b1836e56b2727efbfeee56db7a706",
|
|
117
|
+
"gen-go/integration_operations.go": "sha256:1ba7ea4e118a2c4c8dd735b460b18d8658fbd7fd74e601ae372aff2844322f35",
|
|
118
118
|
"gen-go/schema_documents.go": "sha256:c19c0d540f602ee997a84b90e20702d9bc63ed7d27aec267e76c04655fc182e0",
|
|
119
|
-
"gen-go/types.go": "sha256:
|
|
119
|
+
"gen-go/types.go": "sha256:48c35f5c3652388be74d374c22178650065e4ac669addf8a89aa31923b134e33",
|
|
120
120
|
"gen-go/version_state.go": "sha256:4ef8abb126414c0025cf2c59bc9c79a74ef4a2ff89e8f316cbf05acc872371c1"
|
|
121
121
|
},
|
|
122
122
|
"generatedTypeScript": {
|
|
@@ -141,14 +141,14 @@
|
|
|
141
141
|
"gen-ts/ai-transform-result.ts": "sha256:208c66b2aeb425c0cbcc18b7191f6e8989443f2b2c1690648e0e06cc1448ce25",
|
|
142
142
|
"gen-ts/ai-verification-evidence.ts": "sha256:979439d77f8b47631d1eb3b6c3c54ea6fec41089d2a51dc815fd370b1c4917fc",
|
|
143
143
|
"gen-ts/api-error-response.ts": "sha256:0fd73be282e7a5d72d6c343a4e64d09c232556b16161167f0cffd6278ed7e3d3",
|
|
144
|
-
"gen-ts/app-integrations-declaration.ts": "sha256:
|
|
144
|
+
"gen-ts/app-integrations-declaration.ts": "sha256:208edcc3f03e1ead9227e3613a6296a6d415bd29d45d52eddf3e5d9e4e588285",
|
|
145
145
|
"gen-ts/app-sign-in.ts": "sha256:bf88671c00e9d9badb5ffc961a7e803cf92cee5a98c2f6c9e3172bbf5aaf0424",
|
|
146
146
|
"gen-ts/artifact-contract.ts": "sha256:4a6dc6d2caaeed4bb2066cc8a333e6e09e5a0d4745e0b1038293d54ab9403aeb",
|
|
147
147
|
"gen-ts/binding-classification-digest-helper.ts": "sha256:40fc7d85b4c3f3ffc5caf7d7950c62d013c83ee42058c7453b2100d95817f167",
|
|
148
148
|
"gen-ts/binding-classification-subject.ts": "sha256:c409a3fd7b942b50419632c51d9a79474fb30d6374bdc79c0e25c73618e800c3",
|
|
149
149
|
"gen-ts/builder-input-proposal.ts": "sha256:b0108c3787873d3cf1a39f00967379418a6766275d3474cfa55f5a9d93ead174",
|
|
150
150
|
"gen-ts/data-dependency.ts": "sha256:259f19e2759395d72ead90b8ed74a6dcef0c2641124f4f182823138cfd19bedf",
|
|
151
|
-
"gen-ts/data-grant-v2.ts": "sha256:
|
|
151
|
+
"gen-ts/data-grant-v2.ts": "sha256:b74a7aea3f47c7e8783a943e7d5ae771c64bd9e9c9a30dd78ae959d4595c7048",
|
|
152
152
|
"gen-ts/data-grant.ts": "sha256:2358579d8aa1e57b01a6f2b0eacce5531e7f21ef226404c9809925365e0d6155",
|
|
153
153
|
"gen-ts/data-source.ts": "sha256:2566f0d5c72e44278869f55211cf3d433aeb3552e57ae0ace0ff0b85e769dde6",
|
|
154
154
|
"gen-ts/deploy-request.ts": "sha256:913245577a95354849d3a8cb43fbaedbf895efe7b653c8502d25edfa22b7a864",
|
|
@@ -170,10 +170,10 @@
|
|
|
170
170
|
"gen-ts/index.ts": "sha256:8f0b03bc46f0f24489e6a3f7a3ddee23c86dacc8ab2058b3b131c3d9dd75ab29",
|
|
171
171
|
"gen-ts/integration-connect-result.ts": "sha256:4b10f169b6e1af364e9b418de21caa9fadbfb77b43cbff77d741cfae0b52180c",
|
|
172
172
|
"gen-ts/integration-error-details.ts": "sha256:e73cb5942373ef88b2d8e03a1de56d5a69e71069ecd14e68396f7edba1f60780",
|
|
173
|
-
"gen-ts/integration-execute-input-rules.ts": "sha256:
|
|
174
|
-
"gen-ts/integration-execute-request.ts": "sha256:
|
|
175
|
-
"gen-ts/integration-execute-result.ts": "sha256:
|
|
176
|
-
"gen-ts/integration-operations.ts": "sha256:
|
|
173
|
+
"gen-ts/integration-execute-input-rules.ts": "sha256:40e59de0d0977071e6438ad2149dc0513395adf7201aad95ab3d61e25a6c4e1d",
|
|
174
|
+
"gen-ts/integration-execute-request.ts": "sha256:8c42d88cf9a553e0f3b24b8b2763a26a4e3ed81592f6540e274ef3e9e1caa9c8",
|
|
175
|
+
"gen-ts/integration-execute-result.ts": "sha256:dd4e235b1a9d8201c8e2ce65088097d7bf9c1079f5b06f56501f2621bc654415",
|
|
176
|
+
"gen-ts/integration-operations.ts": "sha256:9e1f0b330a86eb63b7999b7f78b1da08dcefa0582325917581d98879fa25899f",
|
|
177
177
|
"gen-ts/internal-configuration-request.ts": "sha256:7032437797473fa1c581d134adef2f3d4b4f4132f482cd17743e9d47097886bc",
|
|
178
178
|
"gen-ts/kit-bundle-manifest.ts": "sha256:73f5271d2eb3b5ce91e28933c5ab6883615c72a3808aa386f860f58f6df8edf6",
|
|
179
179
|
"gen-ts/kit-lock.ts": "sha256:06bddeaf1e2c449c9cc0dbbc696210355a9005349c604d4050eb22385fb4c22e",
|
|
@@ -181,7 +181,7 @@
|
|
|
181
181
|
"gen-ts/promotion-request.ts": "sha256:9db88cef67f777a16bac628039ec3f582acb9e8cfff6fb592b30d0a0e55abc68",
|
|
182
182
|
"gen-ts/promotion-response.ts": "sha256:f1c9cafac96faeb02a443a31786f67714e818f38d90108e7af41958396524d6f",
|
|
183
183
|
"gen-ts/resolved-app-serving.ts": "sha256:3264e85827be47bf391781cb13a1e58318d356f7bee8c2ff3e5b00a062253b23",
|
|
184
|
-
"gen-ts/saas-connection.ts": "sha256:
|
|
184
|
+
"gen-ts/saas-connection.ts": "sha256:53fd9bd28930321be609cb1dbdb3854bca55fc52bd99477d3ed6ee44e64073dc",
|
|
185
185
|
"gen-ts/sanitized-binding-digest-helper.ts": "sha256:c47d7fdc20500e2e72c23fe39ecdd610fc397c47fcba51335ebec3c380fe6872",
|
|
186
186
|
"gen-ts/sanitized-binding-evidence.ts": "sha256:f3fb7b1d7d2e0929eb0ea981eaf32db3104010647185f6ae59f67167d42538a9",
|
|
187
187
|
"gen-ts/secret-reference.ts": "sha256:731fbcde7315cb4128d5b01bdbe6e6f248f13c7ad8dea04a3a4e927ac4890198",
|
|
@@ -83,6 +83,14 @@ export type DeclaredConnection = {
|
|
|
83
83
|
'warehouse.view.read'?: AppModeViewOperation;
|
|
84
84
|
'warehouse.table.append'?: AppModeViewOperation;
|
|
85
85
|
'service.request'?: ServiceOperation;
|
|
86
|
+
'zohobooks.contact.list'?: UserModeChannelOperation;
|
|
87
|
+
'zohobooks.purchaseorder.list'?: UserModeChannelOperation;
|
|
88
|
+
'zohobooks.purchaseorder.read'?: UserModeChannelOperation;
|
|
89
|
+
'zohobooks.bill.create'?: UserModeChannelOperation;
|
|
90
|
+
'zohobooks.bill.read'?: UserModeChannelOperation;
|
|
91
|
+
'zohobooks.invoice.create'?: UserModeChannelOperation;
|
|
92
|
+
'zohobooks.invoice.read'?: UserModeChannelOperation;
|
|
93
|
+
'zohobooks.invoice.pdf'?: UserModeChannelOperation;
|
|
86
94
|
};
|
|
87
95
|
};
|
|
88
96
|
export type IntegrationConnectionKind = 'saas' | 'database' | 'service';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export declare const ContractRepositoryVersion: "0.
|
|
2
|
-
export declare const ContractPublishVersion: "0.
|
|
3
|
-
export declare const ContractPublishTag: "v0.
|
|
4
|
-
export declare const ContractSchemasDigest: "sha256:
|
|
1
|
+
export declare const ContractRepositoryVersion: "0.91.0.0";
|
|
2
|
+
export declare const ContractPublishVersion: "0.91.0";
|
|
3
|
+
export declare const ContractPublishTag: "v0.91.0";
|
|
4
|
+
export declare const ContractSchemasDigest: "sha256:b6ef945b91544184715900ca739d16f3ad8a40d5307a3b04d71cf7ac39c4fb39";
|
|
5
5
|
export declare const ContractAiFixturesDigest: "sha256:edac31c92e146ca1c40130f2fb5649db82e24b8cd1ac758153b90612052fddb6";
|
|
6
|
-
export declare const ContractGeneratedGoDigest: "sha256:
|
|
7
|
-
export declare const ContractGeneratedTypeScriptDigest: "sha256:
|
|
6
|
+
export declare const ContractGeneratedGoDigest: "sha256:7dc23154d2d8cc3a50733c32bc005d71afa877ab327d89a3c3a7dc8dbec7dc5b";
|
|
7
|
+
export declare const ContractGeneratedTypeScriptDigest: "sha256:ae301b3932627690ffc23da6368dac812e5e33968dbe65fed52716c4896cbfcb";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
// Code generated by tools/gen/gen.mjs from schema/*.json. DO NOT EDIT.
|
|
3
|
-
export const ContractRepositoryVersion = "0.
|
|
4
|
-
export const ContractPublishVersion = "0.
|
|
5
|
-
export const ContractPublishTag = "v0.
|
|
6
|
-
export const ContractSchemasDigest = "sha256:
|
|
3
|
+
export const ContractRepositoryVersion = "0.91.0.0";
|
|
4
|
+
export const ContractPublishVersion = "0.91.0";
|
|
5
|
+
export const ContractPublishTag = "v0.91.0";
|
|
6
|
+
export const ContractSchemasDigest = "sha256:b6ef945b91544184715900ca739d16f3ad8a40d5307a3b04d71cf7ac39c4fb39";
|
|
7
7
|
export const ContractAiFixturesDigest = "sha256:edac31c92e146ca1c40130f2fb5649db82e24b8cd1ac758153b90612052fddb6";
|
|
8
|
-
export const ContractGeneratedGoDigest = "sha256:
|
|
9
|
-
export const ContractGeneratedTypeScriptDigest = "sha256:
|
|
8
|
+
export const ContractGeneratedGoDigest = "sha256:7dc23154d2d8cc3a50733c32bc005d71afa877ab327d89a3c3a7dc8dbec7dc5b";
|
|
9
|
+
export const ContractGeneratedTypeScriptDigest = "sha256:ae301b3932627690ffc23da6368dac812e5e33968dbe65fed52716c4896cbfcb";
|
|
@@ -31,9 +31,9 @@ export interface DataGrantV2 {
|
|
|
31
31
|
/**
|
|
32
32
|
* Approved operations; each must match this grant's mode. Empty until the first approval. At most the seventy-eight SaaS operations (0.86.0: eleven Slack and Gmail, eleven Basecamp, nine SharePoint, two phone, forty-five Google Workspace and Microsoft 365); a database grant holds up to two (warehouse.view.read, warehouse.table.append).
|
|
33
33
|
*
|
|
34
|
-
* @maxItems
|
|
34
|
+
* @maxItems 86
|
|
35
35
|
*/
|
|
36
|
-
operations: ('slack.channel.history' | 'slack.message.post' | 'slack.message.update' | 'slack.message.delete' | 'slack.dm.send' | 'slack.user.lookup' | 'gmail.thread.list' | 'gmail.thread.read' | 'gmail.message.read' | 'gmail.message.send' | 'gmail.attachment.read' | 'basecamp.project.list' | 'basecamp.todolist.list' | 'basecamp.todo.list' | 'basecamp.todo.create' | 'basecamp.todo.complete' | 'basecamp.message.list' | 'basecamp.message.post' | 'basecamp.comment.list' | 'basecamp.comment.post' | 'basecamp.campfire.post' | 'basecamp.people.list' | 'sharepoint.list.list' | 'sharepoint.item.list' | 'sharepoint.item.create' | 'sharepoint.item.update' | 'sharepoint.drive.list' | 'sharepoint.file.list' | 'sharepoint.file.search' | 'sharepoint.file.read' | 'sharepoint.file.upload' | 'phone.sms.list' | 'phone.number.get' | 'calendar.calendar.list' | 'calendar.event.list' | 'calendar.event.read' | 'calendar.event.create' | 'calendar.event.update' | 'calendar.event.cancel' | 'drive.file.list' | 'drive.file.search' | 'drive.file.read' | 'drive.file.upload' | 'drive.folder.create' | 'docs.document.read' | 'docs.document.create' | 'docs.document.append' | 'docs.text.replace' | 'sheets.spreadsheet.read' | 'sheets.values.read' | 'sheets.values.append' | 'sheets.values.update' | 'sheets.values.clear' | 'sheets.spreadsheet.create' | 'outlook.message.list' | 'outlook.message.read' | 'outlook.attachment.read' | 'outlook.message.send' | 'outlook.message.reply' | 'outlook.event.list' | 'outlook.event.read' | 'outlook.event.create' | 'outlook.event.update' | 'outlook.event.cancel' | 'onedrive.file.list' | 'onedrive.file.search' | 'onedrive.file.read' | 'onedrive.file.upload' | 'onedrive.folder.create' | 'excel.worksheet.list' | 'excel.range.read' | 'excel.range.update' | 'excel.table.list' | 'excel.row.add' | 'excel.worksheet.add' | 'teams.message.list' | 'teams.message.post' | 'teams.reply.post' | 'warehouse.view.read' | 'warehouse.table.append' | 'service.request')[];
|
|
36
|
+
operations: ('slack.channel.history' | 'slack.message.post' | 'slack.message.update' | 'slack.message.delete' | 'slack.dm.send' | 'slack.user.lookup' | 'gmail.thread.list' | 'gmail.thread.read' | 'gmail.message.read' | 'gmail.message.send' | 'gmail.attachment.read' | 'basecamp.project.list' | 'basecamp.todolist.list' | 'basecamp.todo.list' | 'basecamp.todo.create' | 'basecamp.todo.complete' | 'basecamp.message.list' | 'basecamp.message.post' | 'basecamp.comment.list' | 'basecamp.comment.post' | 'basecamp.campfire.post' | 'basecamp.people.list' | 'sharepoint.list.list' | 'sharepoint.item.list' | 'sharepoint.item.create' | 'sharepoint.item.update' | 'sharepoint.drive.list' | 'sharepoint.file.list' | 'sharepoint.file.search' | 'sharepoint.file.read' | 'sharepoint.file.upload' | 'phone.sms.list' | 'phone.number.get' | 'calendar.calendar.list' | 'calendar.event.list' | 'calendar.event.read' | 'calendar.event.create' | 'calendar.event.update' | 'calendar.event.cancel' | 'drive.file.list' | 'drive.file.search' | 'drive.file.read' | 'drive.file.upload' | 'drive.folder.create' | 'docs.document.read' | 'docs.document.create' | 'docs.document.append' | 'docs.text.replace' | 'sheets.spreadsheet.read' | 'sheets.values.read' | 'sheets.values.append' | 'sheets.values.update' | 'sheets.values.clear' | 'sheets.spreadsheet.create' | 'outlook.message.list' | 'outlook.message.read' | 'outlook.attachment.read' | 'outlook.message.send' | 'outlook.message.reply' | 'outlook.event.list' | 'outlook.event.read' | 'outlook.event.create' | 'outlook.event.update' | 'outlook.event.cancel' | 'onedrive.file.list' | 'onedrive.file.search' | 'onedrive.file.read' | 'onedrive.file.upload' | 'onedrive.folder.create' | 'excel.worksheet.list' | 'excel.range.read' | 'excel.range.update' | 'excel.table.list' | 'excel.row.add' | 'excel.worksheet.add' | 'teams.message.list' | 'teams.message.post' | 'teams.reply.post' | 'warehouse.view.read' | 'warehouse.table.append' | 'service.request' | 'zohobooks.contact.list' | 'zohobooks.purchaseorder.list' | 'zohobooks.purchaseorder.read' | 'zohobooks.bill.create' | 'zohobooks.bill.read' | 'zohobooks.invoice.create' | 'zohobooks.invoice.read' | 'zohobooks.invoice.pdf')[];
|
|
37
37
|
/**
|
|
38
38
|
* Approved logical resources. Never inherited by wildcard. Empty until the first approval.
|
|
39
39
|
*
|
|
@@ -103,9 +103,9 @@ export interface IntegrationResource {
|
|
|
103
103
|
*/
|
|
104
104
|
export interface ReviewedIntegrationScope {
|
|
105
105
|
/**
|
|
106
|
-
* @maxItems
|
|
106
|
+
* @maxItems 86
|
|
107
107
|
*/
|
|
108
|
-
operations: ('slack.channel.history' | 'slack.message.post' | 'slack.message.update' | 'slack.message.delete' | 'slack.dm.send' | 'slack.user.lookup' | 'gmail.thread.list' | 'gmail.thread.read' | 'gmail.message.read' | 'gmail.message.send' | 'gmail.attachment.read' | 'basecamp.project.list' | 'basecamp.todolist.list' | 'basecamp.todo.list' | 'basecamp.todo.create' | 'basecamp.todo.complete' | 'basecamp.message.list' | 'basecamp.message.post' | 'basecamp.comment.list' | 'basecamp.comment.post' | 'basecamp.campfire.post' | 'basecamp.people.list' | 'sharepoint.list.list' | 'sharepoint.item.list' | 'sharepoint.item.create' | 'sharepoint.item.update' | 'sharepoint.drive.list' | 'sharepoint.file.list' | 'sharepoint.file.search' | 'sharepoint.file.read' | 'sharepoint.file.upload' | 'phone.sms.list' | 'phone.number.get' | 'calendar.calendar.list' | 'calendar.event.list' | 'calendar.event.read' | 'calendar.event.create' | 'calendar.event.update' | 'calendar.event.cancel' | 'drive.file.list' | 'drive.file.search' | 'drive.file.read' | 'drive.file.upload' | 'drive.folder.create' | 'docs.document.read' | 'docs.document.create' | 'docs.document.append' | 'docs.text.replace' | 'sheets.spreadsheet.read' | 'sheets.values.read' | 'sheets.values.append' | 'sheets.values.update' | 'sheets.values.clear' | 'sheets.spreadsheet.create' | 'outlook.message.list' | 'outlook.message.read' | 'outlook.attachment.read' | 'outlook.message.send' | 'outlook.message.reply' | 'outlook.event.list' | 'outlook.event.read' | 'outlook.event.create' | 'outlook.event.update' | 'outlook.event.cancel' | 'onedrive.file.list' | 'onedrive.file.search' | 'onedrive.file.read' | 'onedrive.file.upload' | 'onedrive.folder.create' | 'excel.worksheet.list' | 'excel.range.read' | 'excel.range.update' | 'excel.table.list' | 'excel.row.add' | 'excel.worksheet.add' | 'teams.message.list' | 'teams.message.post' | 'teams.reply.post' | 'warehouse.view.read' | 'warehouse.table.append' | 'service.request')[];
|
|
108
|
+
operations: ('slack.channel.history' | 'slack.message.post' | 'slack.message.update' | 'slack.message.delete' | 'slack.dm.send' | 'slack.user.lookup' | 'gmail.thread.list' | 'gmail.thread.read' | 'gmail.message.read' | 'gmail.message.send' | 'gmail.attachment.read' | 'basecamp.project.list' | 'basecamp.todolist.list' | 'basecamp.todo.list' | 'basecamp.todo.create' | 'basecamp.todo.complete' | 'basecamp.message.list' | 'basecamp.message.post' | 'basecamp.comment.list' | 'basecamp.comment.post' | 'basecamp.campfire.post' | 'basecamp.people.list' | 'sharepoint.list.list' | 'sharepoint.item.list' | 'sharepoint.item.create' | 'sharepoint.item.update' | 'sharepoint.drive.list' | 'sharepoint.file.list' | 'sharepoint.file.search' | 'sharepoint.file.read' | 'sharepoint.file.upload' | 'phone.sms.list' | 'phone.number.get' | 'calendar.calendar.list' | 'calendar.event.list' | 'calendar.event.read' | 'calendar.event.create' | 'calendar.event.update' | 'calendar.event.cancel' | 'drive.file.list' | 'drive.file.search' | 'drive.file.read' | 'drive.file.upload' | 'drive.folder.create' | 'docs.document.read' | 'docs.document.create' | 'docs.document.append' | 'docs.text.replace' | 'sheets.spreadsheet.read' | 'sheets.values.read' | 'sheets.values.append' | 'sheets.values.update' | 'sheets.values.clear' | 'sheets.spreadsheet.create' | 'outlook.message.list' | 'outlook.message.read' | 'outlook.attachment.read' | 'outlook.message.send' | 'outlook.message.reply' | 'outlook.event.list' | 'outlook.event.read' | 'outlook.event.create' | 'outlook.event.update' | 'outlook.event.cancel' | 'onedrive.file.list' | 'onedrive.file.search' | 'onedrive.file.read' | 'onedrive.file.upload' | 'onedrive.folder.create' | 'excel.worksheet.list' | 'excel.range.read' | 'excel.range.update' | 'excel.table.list' | 'excel.row.add' | 'excel.worksheet.add' | 'teams.message.list' | 'teams.message.post' | 'teams.reply.post' | 'warehouse.view.read' | 'warehouse.table.append' | 'service.request' | 'zohobooks.contact.list' | 'zohobooks.purchaseorder.list' | 'zohobooks.purchaseorder.read' | 'zohobooks.bill.create' | 'zohobooks.bill.read' | 'zohobooks.invoice.create' | 'zohobooks.invoice.read' | 'zohobooks.invoice.pdf')[];
|
|
109
109
|
/**
|
|
110
110
|
* @maxItems 64
|
|
111
111
|
*/
|
|
@@ -2151,6 +2151,236 @@ export declare const IntegrationExecuteInputRules: {
|
|
|
2151
2151
|
};
|
|
2152
2152
|
};
|
|
2153
2153
|
};
|
|
2154
|
+
readonly "zohobooks.contact.list": {
|
|
2155
|
+
readonly idempotencyKey: false;
|
|
2156
|
+
readonly fields: {
|
|
2157
|
+
readonly q: {
|
|
2158
|
+
readonly kind: "string";
|
|
2159
|
+
readonly required: false;
|
|
2160
|
+
readonly minLength: 1;
|
|
2161
|
+
readonly maxLength: 256;
|
|
2162
|
+
};
|
|
2163
|
+
readonly pageToken: {
|
|
2164
|
+
readonly kind: "string";
|
|
2165
|
+
readonly required: false;
|
|
2166
|
+
readonly minLength: 1;
|
|
2167
|
+
readonly maxLength: 2048;
|
|
2168
|
+
};
|
|
2169
|
+
};
|
|
2170
|
+
};
|
|
2171
|
+
readonly "zohobooks.purchaseorder.list": {
|
|
2172
|
+
readonly idempotencyKey: false;
|
|
2173
|
+
readonly fields: {
|
|
2174
|
+
readonly vendorId: {
|
|
2175
|
+
readonly kind: "string";
|
|
2176
|
+
readonly required: true;
|
|
2177
|
+
readonly minLength: 0;
|
|
2178
|
+
readonly maxLength: 32;
|
|
2179
|
+
readonly pattern: "^[0-9]{1,32}$";
|
|
2180
|
+
};
|
|
2181
|
+
readonly pageToken: {
|
|
2182
|
+
readonly kind: "string";
|
|
2183
|
+
readonly required: false;
|
|
2184
|
+
readonly minLength: 1;
|
|
2185
|
+
readonly maxLength: 2048;
|
|
2186
|
+
};
|
|
2187
|
+
};
|
|
2188
|
+
};
|
|
2189
|
+
readonly "zohobooks.purchaseorder.read": {
|
|
2190
|
+
readonly idempotencyKey: false;
|
|
2191
|
+
readonly fields: {
|
|
2192
|
+
readonly purchaseOrderId: {
|
|
2193
|
+
readonly kind: "string";
|
|
2194
|
+
readonly required: true;
|
|
2195
|
+
readonly minLength: 0;
|
|
2196
|
+
readonly maxLength: 32;
|
|
2197
|
+
readonly pattern: "^[0-9]{1,32}$";
|
|
2198
|
+
};
|
|
2199
|
+
};
|
|
2200
|
+
};
|
|
2201
|
+
readonly "zohobooks.bill.create": {
|
|
2202
|
+
readonly idempotencyKey: true;
|
|
2203
|
+
readonly fields: {
|
|
2204
|
+
readonly vendorId: {
|
|
2205
|
+
readonly kind: "string";
|
|
2206
|
+
readonly required: true;
|
|
2207
|
+
readonly minLength: 0;
|
|
2208
|
+
readonly maxLength: 32;
|
|
2209
|
+
readonly pattern: "^[0-9]{1,32}$";
|
|
2210
|
+
};
|
|
2211
|
+
readonly documentNumber: {
|
|
2212
|
+
readonly kind: "string";
|
|
2213
|
+
readonly required: true;
|
|
2214
|
+
readonly minLength: 1;
|
|
2215
|
+
readonly maxLength: 100;
|
|
2216
|
+
};
|
|
2217
|
+
readonly documentDate: {
|
|
2218
|
+
readonly kind: "string";
|
|
2219
|
+
readonly required: true;
|
|
2220
|
+
readonly minLength: 0;
|
|
2221
|
+
readonly maxLength: 10;
|
|
2222
|
+
readonly pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}$";
|
|
2223
|
+
};
|
|
2224
|
+
readonly purchaseOrderId: {
|
|
2225
|
+
readonly kind: "string";
|
|
2226
|
+
readonly required: false;
|
|
2227
|
+
readonly minLength: 0;
|
|
2228
|
+
readonly maxLength: 32;
|
|
2229
|
+
readonly pattern: "^[0-9]{1,32}$";
|
|
2230
|
+
};
|
|
2231
|
+
readonly lineItems: {
|
|
2232
|
+
readonly kind: "object[]";
|
|
2233
|
+
readonly required: true;
|
|
2234
|
+
readonly minItems: 1;
|
|
2235
|
+
readonly maxItems: 100;
|
|
2236
|
+
readonly fields: {
|
|
2237
|
+
readonly itemId: {
|
|
2238
|
+
readonly kind: "string";
|
|
2239
|
+
readonly required: true;
|
|
2240
|
+
readonly minLength: 0;
|
|
2241
|
+
readonly maxLength: 32;
|
|
2242
|
+
readonly pattern: "^[0-9]{1,32}$";
|
|
2243
|
+
};
|
|
2244
|
+
readonly quantity: {
|
|
2245
|
+
readonly kind: "string";
|
|
2246
|
+
readonly required: true;
|
|
2247
|
+
readonly minLength: 0;
|
|
2248
|
+
readonly maxLength: 17;
|
|
2249
|
+
readonly pattern: "^[0-9]{1,10}(\\.[0-9]{1,6})?$";
|
|
2250
|
+
};
|
|
2251
|
+
readonly rate: {
|
|
2252
|
+
readonly kind: "string";
|
|
2253
|
+
readonly required: true;
|
|
2254
|
+
readonly minLength: 0;
|
|
2255
|
+
readonly maxLength: 17;
|
|
2256
|
+
readonly pattern: "^[0-9]{1,10}(\\.[0-9]{1,6})?$";
|
|
2257
|
+
};
|
|
2258
|
+
readonly taxId: {
|
|
2259
|
+
readonly kind: "string";
|
|
2260
|
+
readonly required: false;
|
|
2261
|
+
readonly minLength: 0;
|
|
2262
|
+
readonly maxLength: 32;
|
|
2263
|
+
readonly pattern: "^[0-9]{1,32}$";
|
|
2264
|
+
};
|
|
2265
|
+
readonly description: {
|
|
2266
|
+
readonly kind: "string";
|
|
2267
|
+
readonly required: false;
|
|
2268
|
+
readonly minLength: 0;
|
|
2269
|
+
readonly maxLength: 2000;
|
|
2270
|
+
};
|
|
2271
|
+
};
|
|
2272
|
+
};
|
|
2273
|
+
};
|
|
2274
|
+
};
|
|
2275
|
+
readonly "zohobooks.bill.read": {
|
|
2276
|
+
readonly idempotencyKey: false;
|
|
2277
|
+
readonly fields: {
|
|
2278
|
+
readonly documentId: {
|
|
2279
|
+
readonly kind: "string";
|
|
2280
|
+
readonly required: true;
|
|
2281
|
+
readonly minLength: 0;
|
|
2282
|
+
readonly maxLength: 32;
|
|
2283
|
+
readonly pattern: "^[0-9]{1,32}$";
|
|
2284
|
+
};
|
|
2285
|
+
};
|
|
2286
|
+
};
|
|
2287
|
+
readonly "zohobooks.invoice.create": {
|
|
2288
|
+
readonly idempotencyKey: true;
|
|
2289
|
+
readonly fields: {
|
|
2290
|
+
readonly customerId: {
|
|
2291
|
+
readonly kind: "string";
|
|
2292
|
+
readonly required: true;
|
|
2293
|
+
readonly minLength: 0;
|
|
2294
|
+
readonly maxLength: 32;
|
|
2295
|
+
readonly pattern: "^[0-9]{1,32}$";
|
|
2296
|
+
};
|
|
2297
|
+
readonly documentNumber: {
|
|
2298
|
+
readonly kind: "string";
|
|
2299
|
+
readonly required: false;
|
|
2300
|
+
readonly minLength: 1;
|
|
2301
|
+
readonly maxLength: 100;
|
|
2302
|
+
};
|
|
2303
|
+
readonly documentDate: {
|
|
2304
|
+
readonly kind: "string";
|
|
2305
|
+
readonly required: true;
|
|
2306
|
+
readonly minLength: 0;
|
|
2307
|
+
readonly maxLength: 10;
|
|
2308
|
+
readonly pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}$";
|
|
2309
|
+
};
|
|
2310
|
+
readonly referenceNumber: {
|
|
2311
|
+
readonly kind: "string";
|
|
2312
|
+
readonly required: false;
|
|
2313
|
+
readonly minLength: 1;
|
|
2314
|
+
readonly maxLength: 100;
|
|
2315
|
+
};
|
|
2316
|
+
readonly lineItems: {
|
|
2317
|
+
readonly kind: "object[]";
|
|
2318
|
+
readonly required: true;
|
|
2319
|
+
readonly minItems: 1;
|
|
2320
|
+
readonly maxItems: 100;
|
|
2321
|
+
readonly fields: {
|
|
2322
|
+
readonly itemId: {
|
|
2323
|
+
readonly kind: "string";
|
|
2324
|
+
readonly required: true;
|
|
2325
|
+
readonly minLength: 0;
|
|
2326
|
+
readonly maxLength: 32;
|
|
2327
|
+
readonly pattern: "^[0-9]{1,32}$";
|
|
2328
|
+
};
|
|
2329
|
+
readonly quantity: {
|
|
2330
|
+
readonly kind: "string";
|
|
2331
|
+
readonly required: true;
|
|
2332
|
+
readonly minLength: 0;
|
|
2333
|
+
readonly maxLength: 17;
|
|
2334
|
+
readonly pattern: "^[0-9]{1,10}(\\.[0-9]{1,6})?$";
|
|
2335
|
+
};
|
|
2336
|
+
readonly rate: {
|
|
2337
|
+
readonly kind: "string";
|
|
2338
|
+
readonly required: true;
|
|
2339
|
+
readonly minLength: 0;
|
|
2340
|
+
readonly maxLength: 17;
|
|
2341
|
+
readonly pattern: "^[0-9]{1,10}(\\.[0-9]{1,6})?$";
|
|
2342
|
+
};
|
|
2343
|
+
readonly taxId: {
|
|
2344
|
+
readonly kind: "string";
|
|
2345
|
+
readonly required: false;
|
|
2346
|
+
readonly minLength: 0;
|
|
2347
|
+
readonly maxLength: 32;
|
|
2348
|
+
readonly pattern: "^[0-9]{1,32}$";
|
|
2349
|
+
};
|
|
2350
|
+
readonly description: {
|
|
2351
|
+
readonly kind: "string";
|
|
2352
|
+
readonly required: false;
|
|
2353
|
+
readonly minLength: 0;
|
|
2354
|
+
readonly maxLength: 2000;
|
|
2355
|
+
};
|
|
2356
|
+
};
|
|
2357
|
+
};
|
|
2358
|
+
};
|
|
2359
|
+
};
|
|
2360
|
+
readonly "zohobooks.invoice.read": {
|
|
2361
|
+
readonly idempotencyKey: false;
|
|
2362
|
+
readonly fields: {
|
|
2363
|
+
readonly documentId: {
|
|
2364
|
+
readonly kind: "string";
|
|
2365
|
+
readonly required: true;
|
|
2366
|
+
readonly minLength: 0;
|
|
2367
|
+
readonly maxLength: 32;
|
|
2368
|
+
readonly pattern: "^[0-9]{1,32}$";
|
|
2369
|
+
};
|
|
2370
|
+
};
|
|
2371
|
+
};
|
|
2372
|
+
readonly "zohobooks.invoice.pdf": {
|
|
2373
|
+
readonly idempotencyKey: false;
|
|
2374
|
+
readonly fields: {
|
|
2375
|
+
readonly documentId: {
|
|
2376
|
+
readonly kind: "string";
|
|
2377
|
+
readonly required: true;
|
|
2378
|
+
readonly minLength: 0;
|
|
2379
|
+
readonly maxLength: 32;
|
|
2380
|
+
readonly pattern: "^[0-9]{1,32}$";
|
|
2381
|
+
};
|
|
2382
|
+
};
|
|
2383
|
+
};
|
|
2154
2384
|
};
|
|
2155
2385
|
export type IntegrationExecuteOperation = keyof typeof IntegrationExecuteInputRules;
|
|
2156
2386
|
/** The upper bound of one integer input as a literal type: integrationExecuteInputMaximum('slack.channel.history', 'limit') is 15. */
|
|
@@ -668,6 +668,76 @@ export const IntegrationExecuteInputRules = {
|
|
|
668
668
|
body: { kind: "object", required: false },
|
|
669
669
|
},
|
|
670
670
|
},
|
|
671
|
+
"zohobooks.contact.list": {
|
|
672
|
+
idempotencyKey: false,
|
|
673
|
+
fields: {
|
|
674
|
+
q: { kind: "string", required: false, minLength: 1, maxLength: 256 },
|
|
675
|
+
pageToken: { kind: "string", required: false, minLength: 1, maxLength: 2048 },
|
|
676
|
+
},
|
|
677
|
+
},
|
|
678
|
+
"zohobooks.purchaseorder.list": {
|
|
679
|
+
idempotencyKey: false,
|
|
680
|
+
fields: {
|
|
681
|
+
vendorId: { kind: "string", required: true, minLength: 0, maxLength: 32, pattern: "^[0-9]{1,32}$" },
|
|
682
|
+
pageToken: { kind: "string", required: false, minLength: 1, maxLength: 2048 },
|
|
683
|
+
},
|
|
684
|
+
},
|
|
685
|
+
"zohobooks.purchaseorder.read": {
|
|
686
|
+
idempotencyKey: false,
|
|
687
|
+
fields: {
|
|
688
|
+
purchaseOrderId: { kind: "string", required: true, minLength: 0, maxLength: 32, pattern: "^[0-9]{1,32}$" },
|
|
689
|
+
},
|
|
690
|
+
},
|
|
691
|
+
"zohobooks.bill.create": {
|
|
692
|
+
idempotencyKey: true,
|
|
693
|
+
fields: {
|
|
694
|
+
vendorId: { kind: "string", required: true, minLength: 0, maxLength: 32, pattern: "^[0-9]{1,32}$" },
|
|
695
|
+
documentNumber: { kind: "string", required: true, minLength: 1, maxLength: 100 },
|
|
696
|
+
documentDate: { kind: "string", required: true, minLength: 0, maxLength: 10, pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}$" },
|
|
697
|
+
purchaseOrderId: { kind: "string", required: false, minLength: 0, maxLength: 32, pattern: "^[0-9]{1,32}$" },
|
|
698
|
+
lineItems: { kind: "object[]", required: true, minItems: 1, maxItems: 100, fields: {
|
|
699
|
+
itemId: { kind: "string", required: true, minLength: 0, maxLength: 32, pattern: "^[0-9]{1,32}$" },
|
|
700
|
+
quantity: { kind: "string", required: true, minLength: 0, maxLength: 17, pattern: "^[0-9]{1,10}(\\.[0-9]{1,6})?$" },
|
|
701
|
+
rate: { kind: "string", required: true, minLength: 0, maxLength: 17, pattern: "^[0-9]{1,10}(\\.[0-9]{1,6})?$" },
|
|
702
|
+
taxId: { kind: "string", required: false, minLength: 0, maxLength: 32, pattern: "^[0-9]{1,32}$" },
|
|
703
|
+
description: { kind: "string", required: false, minLength: 0, maxLength: 2000 },
|
|
704
|
+
} },
|
|
705
|
+
},
|
|
706
|
+
},
|
|
707
|
+
"zohobooks.bill.read": {
|
|
708
|
+
idempotencyKey: false,
|
|
709
|
+
fields: {
|
|
710
|
+
documentId: { kind: "string", required: true, minLength: 0, maxLength: 32, pattern: "^[0-9]{1,32}$" },
|
|
711
|
+
},
|
|
712
|
+
},
|
|
713
|
+
"zohobooks.invoice.create": {
|
|
714
|
+
idempotencyKey: true,
|
|
715
|
+
fields: {
|
|
716
|
+
customerId: { kind: "string", required: true, minLength: 0, maxLength: 32, pattern: "^[0-9]{1,32}$" },
|
|
717
|
+
documentNumber: { kind: "string", required: false, minLength: 1, maxLength: 100 },
|
|
718
|
+
documentDate: { kind: "string", required: true, minLength: 0, maxLength: 10, pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}$" },
|
|
719
|
+
referenceNumber: { kind: "string", required: false, minLength: 1, maxLength: 100 },
|
|
720
|
+
lineItems: { kind: "object[]", required: true, minItems: 1, maxItems: 100, fields: {
|
|
721
|
+
itemId: { kind: "string", required: true, minLength: 0, maxLength: 32, pattern: "^[0-9]{1,32}$" },
|
|
722
|
+
quantity: { kind: "string", required: true, minLength: 0, maxLength: 17, pattern: "^[0-9]{1,10}(\\.[0-9]{1,6})?$" },
|
|
723
|
+
rate: { kind: "string", required: true, minLength: 0, maxLength: 17, pattern: "^[0-9]{1,10}(\\.[0-9]{1,6})?$" },
|
|
724
|
+
taxId: { kind: "string", required: false, minLength: 0, maxLength: 32, pattern: "^[0-9]{1,32}$" },
|
|
725
|
+
description: { kind: "string", required: false, minLength: 0, maxLength: 2000 },
|
|
726
|
+
} },
|
|
727
|
+
},
|
|
728
|
+
},
|
|
729
|
+
"zohobooks.invoice.read": {
|
|
730
|
+
idempotencyKey: false,
|
|
731
|
+
fields: {
|
|
732
|
+
documentId: { kind: "string", required: true, minLength: 0, maxLength: 32, pattern: "^[0-9]{1,32}$" },
|
|
733
|
+
},
|
|
734
|
+
},
|
|
735
|
+
"zohobooks.invoice.pdf": {
|
|
736
|
+
idempotencyKey: false,
|
|
737
|
+
fields: {
|
|
738
|
+
documentId: { kind: "string", required: true, minLength: 0, maxLength: 32, pattern: "^[0-9]{1,32}$" },
|
|
739
|
+
},
|
|
740
|
+
},
|
|
671
741
|
};
|
|
672
742
|
/** The upper bound of one integer input as a literal type: integrationExecuteInputMaximum('slack.channel.history', 'limit') is 15. */
|
|
673
743
|
export function integrationExecuteInputMaximum(operation, field) {
|
|
@@ -9,7 +9,7 @@ export type IntegrationExecuteRequest = {
|
|
|
9
9
|
/**
|
|
10
10
|
* Closed operation set. Extending it is a contracts change. 0.86.0 (ADR 0032) adds the forty-five Google Workspace and Microsoft 365 operations, every one user mode only: on the provider's fixed alias for the signed-in person's own data, calendar.calendar.list, calendar.event.list, calendar.event.read, calendar.event.create (a receipted write: explicit action, idempotencyKey), calendar.event.update and calendar.event.cancel (idempotent at Google, no key); drive.file.list, drive.file.search, drive.file.read, drive.file.upload and drive.folder.create (receipted writes); docs.document.read, docs.document.create (receipted), docs.document.append and docs.text.replace (no key); sheets.spreadsheet.read, sheets.values.read, sheets.values.append (receipted), sheets.values.update and sheets.values.clear (no key), sheets.spreadsheet.create (receipted); outlook.message.list, outlook.message.read, outlook.attachment.read, outlook.message.send and outlook.message.reply (receipted sends, as gmail.message.send), outlook.event.list, outlook.event.read, outlook.event.create (receipted), outlook.event.update and outlook.event.cancel (no key); onedrive.file.list, onedrive.file.search, onedrive.file.read, onedrive.file.upload and onedrive.folder.create (receipted); excel.worksheet.list, excel.range.read, excel.range.update (no key), excel.table.list, excel.row.add and excel.worksheet.add (receipted); and on a Teams channel alias (a key of the connection's `channels` map) teams.message.list, teams.message.post and teams.reply.post (receipted). 0.78.0 (ADR 0024) adds the nine SharePoint operations, every one user mode only on a site alias (a key of the connection's `channels` map, holding a Microsoft Graph site id): sharepoint.list.list, sharepoint.item.list, sharepoint.item.create (a receipted write: explicit action, idempotencyKey), sharepoint.item.update (a PATCH, idempotent at Graph, no key), sharepoint.drive.list, sharepoint.file.list, sharepoint.file.search, sharepoint.file.read and sharepoint.file.upload (a receipted write). 0.76.0 (ADR 0022) adds the eleven Basecamp operations, every one user mode only like gmail.*: basecamp.project.list (the projects of the company's pinned Basecamp account; its resource is the fixed `account` alias), and on one mapped project (the resource is a project alias, a key of the connection's `channels` map) basecamp.todolist.list, basecamp.todo.list, basecamp.todo.create (a receipted write: explicit action, idempotencyKey), basecamp.todo.complete (idempotent at Basecamp, no key), basecamp.message.list, basecamp.message.post, basecamp.comment.list, basecamp.comment.post, basecamp.campfire.post (the three posts are receipted writes) and basecamp.people.list. gmail.message.send (0.50.0) sends one email as the signed-in person: a send like slack.message.post (explicit Send, idempotencyKey, write receipt) under user identity; since 0.71.0 it may carry an HTML body and attachments. slack.message.post (0.53.0) runs in the mode the app declares: app (the company's Slack app, under the IT-approved per-app name) or user (the signed-in person, after their consent); since 0.55.0 each call names which of the approved modes it runs under. 0.71.0 (ADR 0018) adds slack.message.update and slack.message.delete (declared mode, like post), slack.dm.send (app mode: a direct message to 1..8 workspace members named by email), slack.user.lookup (app mode: email to Slack user id), gmail.thread.read (every message of one thread) and gmail.attachment.read (one attachment's bytes), and lets slack.channel.history run in app mode as well as user mode. 0.82.0 (ADR 0028) adds phone.sms.list (app mode only, a number alias from a phone connection's `channels` map: the SMS received on that number since a time) and warehouse.table.append (app mode only on a database connection, a receipted write with idempotencyKey: rows appended to a view alias whose mapping says `access: append`). 0.83.0 (ADR 0029) adds phone.number.get (app mode only, read-only, no input, on a number alias from a phone connection's `channels` map: the E.164 number that alias maps to, so the app — or a computer-use agent it drives — can type it into a portal that signs in by mobile number). 0.85.0 (ADR 0031) raises warehouse.table.append's `rows` from 1..500 to 1..5000 records (the byte cap stays governance's, now 8 MiB), so a downloaded report of a few thousand rows lands in one call.
|
|
11
11
|
*/
|
|
12
|
-
operation: 'slack.channel.history' | 'slack.message.post' | 'slack.message.update' | 'slack.message.delete' | 'slack.dm.send' | 'slack.user.lookup' | 'gmail.thread.list' | 'gmail.thread.read' | 'gmail.message.read' | 'gmail.message.send' | 'gmail.attachment.read' | 'basecamp.project.list' | 'basecamp.todolist.list' | 'basecamp.todo.list' | 'basecamp.todo.create' | 'basecamp.todo.complete' | 'basecamp.message.list' | 'basecamp.message.post' | 'basecamp.comment.list' | 'basecamp.comment.post' | 'basecamp.campfire.post' | 'basecamp.people.list' | 'sharepoint.list.list' | 'sharepoint.item.list' | 'sharepoint.item.create' | 'sharepoint.item.update' | 'sharepoint.drive.list' | 'sharepoint.file.list' | 'sharepoint.file.search' | 'sharepoint.file.read' | 'sharepoint.file.upload' | 'phone.sms.list' | 'phone.number.get' | 'calendar.calendar.list' | 'calendar.event.list' | 'calendar.event.read' | 'calendar.event.create' | 'calendar.event.update' | 'calendar.event.cancel' | 'drive.file.list' | 'drive.file.search' | 'drive.file.read' | 'drive.file.upload' | 'drive.folder.create' | 'docs.document.read' | 'docs.document.create' | 'docs.document.append' | 'docs.text.replace' | 'sheets.spreadsheet.read' | 'sheets.values.read' | 'sheets.values.append' | 'sheets.values.update' | 'sheets.values.clear' | 'sheets.spreadsheet.create' | 'outlook.message.list' | 'outlook.message.read' | 'outlook.attachment.read' | 'outlook.message.send' | 'outlook.message.reply' | 'outlook.event.list' | 'outlook.event.read' | 'outlook.event.create' | 'outlook.event.update' | 'outlook.event.cancel' | 'onedrive.file.list' | 'onedrive.file.search' | 'onedrive.file.read' | 'onedrive.file.upload' | 'onedrive.folder.create' | 'excel.worksheet.list' | 'excel.range.read' | 'excel.range.update' | 'excel.table.list' | 'excel.row.add' | 'excel.worksheet.add' | 'teams.message.list' | 'teams.message.post' | 'teams.reply.post' | 'warehouse.view.read' | 'warehouse.table.append' | 'service.request';
|
|
12
|
+
operation: 'slack.channel.history' | 'slack.message.post' | 'slack.message.update' | 'slack.message.delete' | 'slack.dm.send' | 'slack.user.lookup' | 'gmail.thread.list' | 'gmail.thread.read' | 'gmail.message.read' | 'gmail.message.send' | 'gmail.attachment.read' | 'basecamp.project.list' | 'basecamp.todolist.list' | 'basecamp.todo.list' | 'basecamp.todo.create' | 'basecamp.todo.complete' | 'basecamp.message.list' | 'basecamp.message.post' | 'basecamp.comment.list' | 'basecamp.comment.post' | 'basecamp.campfire.post' | 'basecamp.people.list' | 'sharepoint.list.list' | 'sharepoint.item.list' | 'sharepoint.item.create' | 'sharepoint.item.update' | 'sharepoint.drive.list' | 'sharepoint.file.list' | 'sharepoint.file.search' | 'sharepoint.file.read' | 'sharepoint.file.upload' | 'phone.sms.list' | 'phone.number.get' | 'calendar.calendar.list' | 'calendar.event.list' | 'calendar.event.read' | 'calendar.event.create' | 'calendar.event.update' | 'calendar.event.cancel' | 'drive.file.list' | 'drive.file.search' | 'drive.file.read' | 'drive.file.upload' | 'drive.folder.create' | 'docs.document.read' | 'docs.document.create' | 'docs.document.append' | 'docs.text.replace' | 'sheets.spreadsheet.read' | 'sheets.values.read' | 'sheets.values.append' | 'sheets.values.update' | 'sheets.values.clear' | 'sheets.spreadsheet.create' | 'outlook.message.list' | 'outlook.message.read' | 'outlook.attachment.read' | 'outlook.message.send' | 'outlook.message.reply' | 'outlook.event.list' | 'outlook.event.read' | 'outlook.event.create' | 'outlook.event.update' | 'outlook.event.cancel' | 'onedrive.file.list' | 'onedrive.file.search' | 'onedrive.file.read' | 'onedrive.file.upload' | 'onedrive.folder.create' | 'excel.worksheet.list' | 'excel.range.read' | 'excel.range.update' | 'excel.table.list' | 'excel.row.add' | 'excel.worksheet.add' | 'teams.message.list' | 'teams.message.post' | 'teams.reply.post' | 'warehouse.view.read' | 'warehouse.table.append' | 'service.request' | 'zohobooks.contact.list' | 'zohobooks.purchaseorder.list' | 'zohobooks.purchaseorder.read' | 'zohobooks.bill.create' | 'zohobooks.bill.read' | 'zohobooks.invoice.create' | 'zohobooks.invoice.read' | 'zohobooks.invoice.pdf';
|
|
13
13
|
/**
|
|
14
14
|
* Tenant-wide logical alias of a connection (governance sourceId) or of a resource under it.
|
|
15
15
|
*/
|
|
@@ -299,7 +299,7 @@ export type IntegrationExecuteRequest = {
|
|
|
299
299
|
*/
|
|
300
300
|
allDay?: boolean;
|
|
301
301
|
/**
|
|
302
|
-
*
|
|
302
|
+
* Google Docs document id or Zoho Books document id; each operation restricts its provider format.
|
|
303
303
|
*/
|
|
304
304
|
documentId?: string;
|
|
305
305
|
/**
|
|
@@ -359,6 +359,23 @@ export type IntegrationExecuteRequest = {
|
|
|
359
359
|
* @maxItems 20
|
|
360
360
|
*/
|
|
361
361
|
sheets?: string[];
|
|
362
|
+
vendorId?: string;
|
|
363
|
+
customerId?: string;
|
|
364
|
+
purchaseOrderId?: string;
|
|
365
|
+
documentNumber?: string;
|
|
366
|
+
documentDate?: string;
|
|
367
|
+
referenceNumber?: string;
|
|
368
|
+
/**
|
|
369
|
+
* @minItems 1
|
|
370
|
+
* @maxItems 100
|
|
371
|
+
*/
|
|
372
|
+
lineItems?: {
|
|
373
|
+
itemId: string;
|
|
374
|
+
quantity: string;
|
|
375
|
+
rate: string;
|
|
376
|
+
taxId?: string;
|
|
377
|
+
description?: string;
|
|
378
|
+
}[];
|
|
362
379
|
};
|
|
363
380
|
/**
|
|
364
381
|
* UUID of one explicit Send action; required for the sends (slack.message.post, slack.dm.send, gmail.message.send), the receipted Basecamp writes (basecamp.todo.create, basecamp.message.post, basecamp.comment.post, basecamp.campfire.post; 0.76.0) the receipted SharePoint writes (sharepoint.item.create, sharepoint.file.upload; 0.78.0) the receipted warehouse append (warehouse.table.append; 0.82.0, where it is also the BigQuery load job id) and the receipted Google Workspace and Microsoft 365 writes (0.86.0: calendar.event.create, drive.file.upload, drive.folder.create, docs.document.create, sheets.values.append, sheets.spreadsheet.create, outlook.message.send, outlook.message.reply, outlook.event.create, onedrive.file.upload, onedrive.folder.create, excel.row.add, excel.worksheet.add, teams.message.post, teams.reply.post), refused everywhere else. The same key with the same payload and subject returns the recorded outcome for seven days.
|
|
@@ -286,6 +286,55 @@ export type IntegrationExecuteResult = {
|
|
|
286
286
|
[k: string]: string;
|
|
287
287
|
};
|
|
288
288
|
body?: unknown;
|
|
289
|
+
booksDocument?: {
|
|
290
|
+
id: string;
|
|
291
|
+
number: string;
|
|
292
|
+
status: string;
|
|
293
|
+
currency: string;
|
|
294
|
+
total: string;
|
|
295
|
+
vendorId?: string;
|
|
296
|
+
customerId?: string;
|
|
297
|
+
/**
|
|
298
|
+
* @maxItems 100
|
|
299
|
+
*/
|
|
300
|
+
lineItems: {
|
|
301
|
+
itemId: string;
|
|
302
|
+
quantity: string;
|
|
303
|
+
rate: string;
|
|
304
|
+
total: string;
|
|
305
|
+
description?: string;
|
|
306
|
+
}[];
|
|
307
|
+
};
|
|
308
|
+
/**
|
|
309
|
+
* @maxItems 100
|
|
310
|
+
*/
|
|
311
|
+
booksContacts?: {
|
|
312
|
+
id: string;
|
|
313
|
+
name: string;
|
|
314
|
+
type: string;
|
|
315
|
+
}[];
|
|
316
|
+
/**
|
|
317
|
+
* @maxItems 100
|
|
318
|
+
*/
|
|
319
|
+
booksPurchaseOrders?: {
|
|
320
|
+
id: string;
|
|
321
|
+
number: string;
|
|
322
|
+
status: string;
|
|
323
|
+
currency: string;
|
|
324
|
+
total: string;
|
|
325
|
+
vendorId?: string;
|
|
326
|
+
customerId?: string;
|
|
327
|
+
/**
|
|
328
|
+
* @maxItems 100
|
|
329
|
+
*/
|
|
330
|
+
lineItems: {
|
|
331
|
+
itemId: string;
|
|
332
|
+
quantity: string;
|
|
333
|
+
rate: string;
|
|
334
|
+
total: string;
|
|
335
|
+
description?: string;
|
|
336
|
+
}[];
|
|
337
|
+
}[];
|
|
289
338
|
};
|
|
290
339
|
/**
|
|
291
340
|
* An event's state (0.86.0): confirmed (Google `confirmed`, Graph not cancelled and not tentative), tentative, or cancelled.
|