@fourier-labs/harbour-contracts 0.95.0 → 0.97.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 +27 -25
- package/dist/gen-ts/app-integrations-declaration.d.ts +5 -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/deployment-app-registration.d.ts +43 -7
- package/dist/gen-ts/file-arrival.d.ts +13 -0
- package/dist/gen-ts/file-arrival.js +3 -0
- package/dist/gen-ts/index.d.ts +1 -0
- package/dist/gen-ts/index.js +1 -0
- package/dist/gen-ts/integration-execute-input-rules.d.ts +130 -0
- package/dist/gen-ts/integration-execute-input-rules.js +42 -0
- package/dist/gen-ts/integration-execute-request.d.ts +5 -3
- package/dist/gen-ts/integration-execute-result.d.ts +36 -0
- package/dist/gen-ts/integration-operations.d.ts +35 -0
- package/dist/gen-ts/integration-operations.js +45 -0
- package/dist/gen-ts/saas-connection.d.ts +6 -6
- package/gen-ts/app-integrations-declaration.ts +5 -0
- package/gen-ts/contract-release.ts +6 -6
- package/gen-ts/data-grant-v2.ts +12 -2
- package/gen-ts/deployment-app-registration.ts +55 -9
- package/gen-ts/file-arrival.ts +20 -0
- package/gen-ts/index.ts +1 -0
- package/gen-ts/integration-execute-input-rules.ts +42 -0
- package/gen-ts/integration-execute-request.ts +10 -3
- package/gen-ts/integration-execute-result.ts +36 -0
- package/gen-ts/integration-operations.ts +45 -0
- package/gen-ts/saas-connection.ts +18 -3
- package/package.json +1 -1
- package/schema/app-integrations-declaration.schema.json +71 -1
- package/schema/data-grant-v2.schema.json +2 -2
- package/schema/deployment-app-registration.schema.json +183 -22
- package/schema/file-arrival.schema.json +88 -0
- package/schema/integration-execute-request.schema.json +358 -10
- package/schema/integration-execute-result.schema.json +156 -1
- package/schema/saas-connection.schema.json +3 -3
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.97.0.0",
|
|
4
|
+
"publishVersion": "0.97.0",
|
|
5
|
+
"publishTag": "v0.97.0",
|
|
6
|
+
"schemasDigest": "sha256:96d7ca6fc25f98bb0b35598d8d72eb68cabd841d4b8b644330dea37fbed0916f",
|
|
7
7
|
"aiFixturesDigest": "sha256:edac31c92e146ca1c40130f2fb5649db82e24b8cd1ac758153b90612052fddb6",
|
|
8
|
-
"generatedGoDigest": "sha256:
|
|
9
|
-
"generatedTypeScriptDigest": "sha256:
|
|
8
|
+
"generatedGoDigest": "sha256:628254d6676684c7356611eaa434890fa28ad7cf78a487ec407d33b4aa8dad0a",
|
|
9
|
+
"generatedTypeScriptDigest": "sha256:db0823b4134a04e599b159fab0fd439c88160541bdf67c58b568758c98a8dfcc",
|
|
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,18 +31,18 @@
|
|
|
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:ae22b89a3ff17b6720e7eaa2b9062d09bfb9bde479b97c74e290984e94a4270b",
|
|
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:3e3c6ef3d3b68b40479b6c15b79c5b0960b8270b84c9b5d17f59365c47512534",
|
|
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",
|
|
44
44
|
"schema/deploy-response.schema.json": "sha256:09064948abdbba7022738285d802ed44648a16ddc2a5b8c2eeb170ae19a66aeb",
|
|
45
|
-
"schema/deployment-app-registration.schema.json": "sha256:
|
|
45
|
+
"schema/deployment-app-registration.schema.json": "sha256:21fff04264d29d30febe638b05bb75e1317478afbc622614864c722acd32973e",
|
|
46
46
|
"schema/deployment-continuation.schema.json": "sha256:55b6945439f2c91cd851dfe4bc9484e67a64091b7763b2d8267354b4a8bfae8c",
|
|
47
47
|
"schema/deployment-environment.schema.json": "sha256:35b26cae07da9ee375a842b5e87c4570c8eca06775e9fd6dd46eb9eb8aa0df6c",
|
|
48
48
|
"schema/deployment-preview-retirement.schema.json": "sha256:ccf6b971b7853ca98530272f280fe62cd3aab5425b10b81ae6b717cc949e014f",
|
|
@@ -54,11 +54,12 @@
|
|
|
54
54
|
"schema/error-category.enum.json": "sha256:d6d83000c3357805b13138d717c411248c14f1c0fde1c02e82a25691de85d68d",
|
|
55
55
|
"schema/error-envelope.schema.json": "sha256:75dccda7dd16fdf8435deda53fc7dbcdc109b65114617a17f11763010c656f90",
|
|
56
56
|
"schema/external-sign-in.schema.json": "sha256:82d2cc5130a12a19554c85d4a78368939f417a80e795b2be060156294296ac70",
|
|
57
|
+
"schema/file-arrival.schema.json": "sha256:a0adb72951a021b6ec696e2837ea2c25851921ed8f92bfbb59a949ca336c0c8b",
|
|
57
58
|
"schema/identity-context.schema.json": "sha256:a0be3d3499b70f1641887ec66ab5b21ca5ab71063e9209290905738943a36e59",
|
|
58
59
|
"schema/integration-connect-result.schema.json": "sha256:3f254b67ef739dc1fa395bdc8c4dc93359b16d481dba2a2d777aa5b6f34b7af8",
|
|
59
60
|
"schema/integration-error-details.schema.json": "sha256:5a290584b1542b2b8cdd4966869126180ce29c1f0dd250dca7fb68c05e76b8e9",
|
|
60
|
-
"schema/integration-execute-request.schema.json": "sha256:
|
|
61
|
-
"schema/integration-execute-result.schema.json": "sha256:
|
|
61
|
+
"schema/integration-execute-request.schema.json": "sha256:b2835984fe80e3d2f3e33bafb725bc513238f51ce22b8b47003441b389d1a24e",
|
|
62
|
+
"schema/integration-execute-result.schema.json": "sha256:078878efad37da2e7b7aff9b16e12542463fc55e4a08ca37ff846a450b28ab9b",
|
|
62
63
|
"schema/internal-configuration-request.schema.json": "sha256:229d44a3458f68dceddfba802e5c1adcd95523a45af29b93b972706b88461a7d",
|
|
63
64
|
"schema/kit-bundle-manifest.schema.json": "sha256:d8fc6ca9c30d791e785b021687e084e9171c0ea1a3a176d0f1582fcccf2c0e19",
|
|
64
65
|
"schema/kit-lock.schema.json": "sha256:a48154d9471e49a893d928f7b0e1e0bc77708a4a7edce4fdf14073203e0e8987",
|
|
@@ -67,7 +68,7 @@
|
|
|
67
68
|
"schema/promotion-request.schema.json": "sha256:00e96dfd8ddbdba88ea222941d43f3609ff6c815a79e34f6705cab458101c969",
|
|
68
69
|
"schema/promotion-response.schema.json": "sha256:4129712d2e29d6ef21d93d4bd0bacfd60ada3f2ee0ade852824e64346b817634",
|
|
69
70
|
"schema/resolved-app-serving.schema.json": "sha256:3b49268e189429310c2a5dcfd45e9d2187c80b6dbb9d329a0177e96e065c31c0",
|
|
70
|
-
"schema/saas-connection.schema.json": "sha256:
|
|
71
|
+
"schema/saas-connection.schema.json": "sha256:2f3fa1cc2ab40105a46ad5f446dd30c7c8b723c776bd6e5886d8285b55af32b1",
|
|
71
72
|
"schema/sanitized-binding-evidence.schema.json": "sha256:1191ab88e2764df927e5f17837674cebebe068d480da2b2fdb390e589f96b51f",
|
|
72
73
|
"schema/secret-reference.schema.json": "sha256:db4e3c2c6a2dbd72d7ea0f9c91cb3b2343a7e67b601996c6818b2ef08e440895",
|
|
73
74
|
"schema/security-scan-input-v2.schema.json": "sha256:0d418342078c9b5046ea6f4bef3c2c57539285dfee99cc0850d4f0d03739ee13",
|
|
@@ -113,11 +114,11 @@
|
|
|
113
114
|
"gen-go/contracts_test.go": "sha256:56376287cb1548be1b35ab4c65d6f0b558c5d34885f7a47cb3d9e8d786607bf5",
|
|
114
115
|
"gen-go/doc.go": "sha256:316d610ce568597a2ce6f38e9782e34fa5920f6f51ab0866e6d061b8a41cd822",
|
|
115
116
|
"gen-go/error_category.go": "sha256:b2ddea22dcfa030f1a45e721e635485b0bd816cf1f38e7654628a653f5ed4583",
|
|
116
|
-
"gen-go/integration_execute_input_rules.go": "sha256:
|
|
117
|
-
"gen-go/integration_execute_input_rules_test.go": "sha256:
|
|
118
|
-
"gen-go/integration_operations.go": "sha256:
|
|
117
|
+
"gen-go/integration_execute_input_rules.go": "sha256:ffb4e65e8b474614fe888f6f685ade1bf98dd2e9c7a1337b94bc15254f211740",
|
|
118
|
+
"gen-go/integration_execute_input_rules_test.go": "sha256:bc107e6c638512d9a3ffbc98800c181f642d8310bad96f2a528f493cc243b249",
|
|
119
|
+
"gen-go/integration_operations.go": "sha256:b53b3cd092908db26db28e17fb035dfaeb476d922b6a3930eb9614267cb806f0",
|
|
119
120
|
"gen-go/schema_documents.go": "sha256:c19c0d540f602ee997a84b90e20702d9bc63ed7d27aec267e76c04655fc182e0",
|
|
120
|
-
"gen-go/types.go": "sha256:
|
|
121
|
+
"gen-go/types.go": "sha256:7c19400ceaa52ce8ffc92803cd050aa07db4c4e98b7df21c3b1659a940d91c2c",
|
|
121
122
|
"gen-go/version_state.go": "sha256:4ef8abb126414c0025cf2c59bc9c79a74ef4a2ff89e8f316cbf05acc872371c1"
|
|
122
123
|
},
|
|
123
124
|
"generatedTypeScript": {
|
|
@@ -142,19 +143,19 @@
|
|
|
142
143
|
"gen-ts/ai-transform-result.ts": "sha256:208c66b2aeb425c0cbcc18b7191f6e8989443f2b2c1690648e0e06cc1448ce25",
|
|
143
144
|
"gen-ts/ai-verification-evidence.ts": "sha256:979439d77f8b47631d1eb3b6c3c54ea6fec41089d2a51dc815fd370b1c4917fc",
|
|
144
145
|
"gen-ts/api-error-response.ts": "sha256:0fd73be282e7a5d72d6c343a4e64d09c232556b16161167f0cffd6278ed7e3d3",
|
|
145
|
-
"gen-ts/app-integrations-declaration.ts": "sha256:
|
|
146
|
+
"gen-ts/app-integrations-declaration.ts": "sha256:d38a5c7db000680628b52f7b183ebc710a93b91564df068a6d2ab12be3ecba26",
|
|
146
147
|
"gen-ts/app-sign-in.ts": "sha256:bf88671c00e9d9badb5ffc961a7e803cf92cee5a98c2f6c9e3172bbf5aaf0424",
|
|
147
148
|
"gen-ts/artifact-contract.ts": "sha256:4a6dc6d2caaeed4bb2066cc8a333e6e09e5a0d4745e0b1038293d54ab9403aeb",
|
|
148
149
|
"gen-ts/binding-classification-digest-helper.ts": "sha256:40fc7d85b4c3f3ffc5caf7d7950c62d013c83ee42058c7453b2100d95817f167",
|
|
149
150
|
"gen-ts/binding-classification-subject.ts": "sha256:c409a3fd7b942b50419632c51d9a79474fb30d6374bdc79c0e25c73618e800c3",
|
|
150
151
|
"gen-ts/builder-input-proposal.ts": "sha256:b0108c3787873d3cf1a39f00967379418a6766275d3474cfa55f5a9d93ead174",
|
|
151
152
|
"gen-ts/data-dependency.ts": "sha256:259f19e2759395d72ead90b8ed74a6dcef0c2641124f4f182823138cfd19bedf",
|
|
152
|
-
"gen-ts/data-grant-v2.ts": "sha256:
|
|
153
|
+
"gen-ts/data-grant-v2.ts": "sha256:87a67c80fc191575ec516c4fa787b9a3f38c8933915a9f1a3edc268929229f0b",
|
|
153
154
|
"gen-ts/data-grant.ts": "sha256:2358579d8aa1e57b01a6f2b0eacce5531e7f21ef226404c9809925365e0d6155",
|
|
154
155
|
"gen-ts/data-source.ts": "sha256:2566f0d5c72e44278869f55211cf3d433aeb3552e57ae0ace0ff0b85e769dde6",
|
|
155
156
|
"gen-ts/deploy-request.ts": "sha256:913245577a95354849d3a8cb43fbaedbf895efe7b653c8502d25edfa22b7a864",
|
|
156
157
|
"gen-ts/deploy-response.ts": "sha256:364d9f1acf32e491498237cdd3f402d5f8e102f208db7748034f4ec68c6a6137",
|
|
157
|
-
"gen-ts/deployment-app-registration.ts": "sha256:
|
|
158
|
+
"gen-ts/deployment-app-registration.ts": "sha256:553583145f210d8ea20e5381054e428f61683a8bde3210f92c75ff16a0cddfb4",
|
|
158
159
|
"gen-ts/deployment-continuation.ts": "sha256:cc9f63af4d0da5086a79103789e4f043783b75b4ed11c6512f044439a551a79c",
|
|
159
160
|
"gen-ts/deployment-environment.ts": "sha256:fc08cabe2e52ebb93cfe84d2019994260f71734c33d0e50e7c63e40ef5b17cef",
|
|
160
161
|
"gen-ts/deployment-preview-retirement.ts": "sha256:309421d08daf0ade163b6457ed0e5410ec6573c40a59423a6cce14780d9c38db",
|
|
@@ -167,14 +168,15 @@
|
|
|
167
168
|
"gen-ts/error-category.ts": "sha256:9bda89180c3b740c9aa8be466216592e8ca9d0d368c274333edf6ea5c45afd8e",
|
|
168
169
|
"gen-ts/error-envelope.ts": "sha256:4457309be794f9d4fc0cf62530cc2d442c007bac9ae84aff66df099cc9e40310",
|
|
169
170
|
"gen-ts/external-sign-in.ts": "sha256:393ef74d72e37d33e374e3226f34ab3e854fdb0c1129a367997cbb690bf253a6",
|
|
171
|
+
"gen-ts/file-arrival.ts": "sha256:d0b340b8b08e46b43a096fa0ab37d43009dbaeff546bbc2cad21f9a1740a636b",
|
|
170
172
|
"gen-ts/identity-context.ts": "sha256:4b8151a321e224229250d214ef3e17f2ac986bb54ff0aadbb4509481724f6883",
|
|
171
|
-
"gen-ts/index.ts": "sha256:
|
|
173
|
+
"gen-ts/index.ts": "sha256:5e903bb40fbf6599dc0d65171eaef7bc62b52d4cea090124a0c51ef876ad2909",
|
|
172
174
|
"gen-ts/integration-connect-result.ts": "sha256:4b10f169b6e1af364e9b418de21caa9fadbfb77b43cbff77d741cfae0b52180c",
|
|
173
175
|
"gen-ts/integration-error-details.ts": "sha256:e73cb5942373ef88b2d8e03a1de56d5a69e71069ecd14e68396f7edba1f60780",
|
|
174
|
-
"gen-ts/integration-execute-input-rules.ts": "sha256:
|
|
175
|
-
"gen-ts/integration-execute-request.ts": "sha256:
|
|
176
|
-
"gen-ts/integration-execute-result.ts": "sha256:
|
|
177
|
-
"gen-ts/integration-operations.ts": "sha256:
|
|
176
|
+
"gen-ts/integration-execute-input-rules.ts": "sha256:5e8304a7453701c86e5151814414671bc1212edfa6522e140defc7a32b66187a",
|
|
177
|
+
"gen-ts/integration-execute-request.ts": "sha256:4afb48738c13479782847ae37e284b82ab3868e7fd869d1537dd38d183f2c837",
|
|
178
|
+
"gen-ts/integration-execute-result.ts": "sha256:a1658a9d1bc4dacf7cea28dcbdde1e6dc4a2ae0c6b0a17a7d01803fb2c01d207",
|
|
179
|
+
"gen-ts/integration-operations.ts": "sha256:4290e67481488d258b2c1568dd2e7b8c7c9a1687e1068d04b2597ca79d9a2f06",
|
|
178
180
|
"gen-ts/internal-configuration-request.ts": "sha256:7032437797473fa1c581d134adef2f3d4b4f4132f482cd17743e9d47097886bc",
|
|
179
181
|
"gen-ts/kit-bundle-manifest.ts": "sha256:73f5271d2eb3b5ce91e28933c5ab6883615c72a3808aa386f860f58f6df8edf6",
|
|
180
182
|
"gen-ts/kit-lock.ts": "sha256:06bddeaf1e2c449c9cc0dbbc696210355a9005349c604d4050eb22385fb4c22e",
|
|
@@ -183,7 +185,7 @@
|
|
|
183
185
|
"gen-ts/promotion-request.ts": "sha256:9db88cef67f777a16bac628039ec3f582acb9e8cfff6fb592b30d0a0e55abc68",
|
|
184
186
|
"gen-ts/promotion-response.ts": "sha256:f1c9cafac96faeb02a443a31786f67714e818f38d90108e7af41958396524d6f",
|
|
185
187
|
"gen-ts/resolved-app-serving.ts": "sha256:3264e85827be47bf391781cb13a1e58318d356f7bee8c2ff3e5b00a062253b23",
|
|
186
|
-
"gen-ts/saas-connection.ts": "sha256:
|
|
188
|
+
"gen-ts/saas-connection.ts": "sha256:25480a015e27d8e49d68fabcb12e479118ab4a89aeac4e420acb54da3d807a0c",
|
|
187
189
|
"gen-ts/sanitized-binding-digest-helper.ts": "sha256:c47d7fdc20500e2e72c23fe39ecdd610fc397c47fcba51335ebec3c380fe6872",
|
|
188
190
|
"gen-ts/sanitized-binding-evidence.ts": "sha256:f3fb7b1d7d2e0929eb0ea981eaf32db3104010647185f6ae59f67167d42538a9",
|
|
189
191
|
"gen-ts/secret-reference.ts": "sha256:731fbcde7315cb4128d5b01bdbe6e6f248f13c7ad8dea04a3a4e927ac4890198",
|
|
@@ -91,6 +91,11 @@ export type DeclaredConnection = {
|
|
|
91
91
|
'zohobooks.invoice.create'?: UserModeChannelOperation;
|
|
92
92
|
'zohobooks.invoice.read'?: UserModeChannelOperation;
|
|
93
93
|
'zohobooks.invoice.pdf'?: UserModeChannelOperation;
|
|
94
|
+
'zohobooks.salesorder.list'?: UserModeChannelOperation;
|
|
95
|
+
'zohobooks.salesorder.read'?: UserModeChannelOperation;
|
|
96
|
+
'zohobooks.invoice.reviseDraft'?: UserModeChannelOperation;
|
|
97
|
+
'zohobooks.creditnote.create'?: UserModeChannelOperation;
|
|
98
|
+
'zohobooks.creditnote.read'?: UserModeChannelOperation;
|
|
94
99
|
};
|
|
95
100
|
};
|
|
96
101
|
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.97.0.0";
|
|
2
|
+
export declare const ContractPublishVersion: "0.97.0";
|
|
3
|
+
export declare const ContractPublishTag: "v0.97.0";
|
|
4
|
+
export declare const ContractSchemasDigest: "sha256:96d7ca6fc25f98bb0b35598d8d72eb68cabd841d4b8b644330dea37fbed0916f";
|
|
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:628254d6676684c7356611eaa434890fa28ad7cf78a487ec407d33b4aa8dad0a";
|
|
7
|
+
export declare const ContractGeneratedTypeScriptDigest: "sha256:db0823b4134a04e599b159fab0fd439c88160541bdf67c58b568758c98a8dfcc";
|
|
@@ -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.97.0.0";
|
|
4
|
+
export const ContractPublishVersion = "0.97.0";
|
|
5
|
+
export const ContractPublishTag = "v0.97.0";
|
|
6
|
+
export const ContractSchemasDigest = "sha256:96d7ca6fc25f98bb0b35598d8d72eb68cabd841d4b8b644330dea37fbed0916f";
|
|
7
7
|
export const ContractAiFixturesDigest = "sha256:edac31c92e146ca1c40130f2fb5649db82e24b8cd1ac758153b90612052fddb6";
|
|
8
|
-
export const ContractGeneratedGoDigest = "sha256:
|
|
9
|
-
export const ContractGeneratedTypeScriptDigest = "sha256:
|
|
8
|
+
export const ContractGeneratedGoDigest = "sha256:628254d6676684c7356611eaa434890fa28ad7cf78a487ec407d33b4aa8dad0a";
|
|
9
|
+
export const ContractGeneratedTypeScriptDigest = "sha256:db0823b4134a04e599b159fab0fd439c88160541bdf67c58b568758c98a8dfcc";
|
|
@@ -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 91
|
|
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' | 'zohobooks.contact.list' | 'zohobooks.purchaseorder.list' | 'zohobooks.purchaseorder.read' | 'zohobooks.bill.create' | 'zohobooks.bill.read' | 'zohobooks.invoice.create' | 'zohobooks.invoice.read' | 'zohobooks.invoice.pdf')[];
|
|
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' | 'zohobooks.salesorder.list' | 'zohobooks.salesorder.read' | 'zohobooks.invoice.reviseDraft' | 'zohobooks.creditnote.create' | 'zohobooks.creditnote.read')[];
|
|
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 91
|
|
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' | 'zohobooks.contact.list' | 'zohobooks.purchaseorder.list' | 'zohobooks.purchaseorder.read' | 'zohobooks.bill.create' | 'zohobooks.bill.read' | 'zohobooks.invoice.create' | 'zohobooks.invoice.read' | 'zohobooks.invoice.pdf')[];
|
|
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' | 'zohobooks.salesorder.list' | 'zohobooks.salesorder.read' | 'zohobooks.invoice.reviseDraft' | 'zohobooks.creditnote.create' | 'zohobooks.creditnote.read')[];
|
|
109
109
|
/**
|
|
110
110
|
* @maxItems 64
|
|
111
111
|
*/
|
|
@@ -21,6 +21,9 @@ export type DeploymentAppRegistration = {
|
|
|
21
21
|
* @maxItems 1
|
|
22
22
|
*/
|
|
23
23
|
signInMethods?: ('phone' | 'email')[];
|
|
24
|
+
/**
|
|
25
|
+
* Temporary rolling-release input for email targets; writers use eventTarget. Remove after old deployments are migrated.
|
|
26
|
+
*/
|
|
24
27
|
mailArrivalTarget?: {
|
|
25
28
|
functionArn: string;
|
|
26
29
|
versionId: string;
|
|
@@ -30,6 +33,15 @@ export type DeploymentAppRegistration = {
|
|
|
30
33
|
jobs: MailArrivalJobs;
|
|
31
34
|
gatewayUrl: string;
|
|
32
35
|
};
|
|
36
|
+
eventTarget?: {
|
|
37
|
+
functionArn: string;
|
|
38
|
+
versionId: string;
|
|
39
|
+
jobs: EventJobs;
|
|
40
|
+
} | {
|
|
41
|
+
versionId: string;
|
|
42
|
+
jobs: EventJobs;
|
|
43
|
+
gatewayUrl: string;
|
|
44
|
+
};
|
|
33
45
|
};
|
|
34
46
|
/**
|
|
35
47
|
* @minItems 1
|
|
@@ -37,13 +49,37 @@ export type DeploymentAppRegistration = {
|
|
|
37
49
|
*/
|
|
38
50
|
export type MailArrivalJobs = {
|
|
39
51
|
name: string;
|
|
40
|
-
trigger:
|
|
41
|
-
|
|
52
|
+
trigger: EmailArrivalTrigger;
|
|
53
|
+
}[];
|
|
54
|
+
/**
|
|
55
|
+
* @minItems 1
|
|
56
|
+
* @maxItems 100
|
|
57
|
+
*/
|
|
58
|
+
export type EventJobs = {
|
|
59
|
+
name: string;
|
|
60
|
+
trigger: EmailArrivalTrigger | {
|
|
61
|
+
type: 'file.created';
|
|
42
62
|
connection: string;
|
|
43
|
-
resource:
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
63
|
+
resource: string;
|
|
64
|
+
folderId?: string;
|
|
65
|
+
driveId?: string;
|
|
66
|
+
/**
|
|
67
|
+
* @minItems 1
|
|
68
|
+
* @maxItems 4
|
|
69
|
+
*/
|
|
70
|
+
mimeTypes?: ('application/pdf' | 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' | 'image/png' | 'image/jpeg')[];
|
|
71
|
+
/**
|
|
72
|
+
* The app owner may select a folder at runtime within the declared connection and resource.
|
|
73
|
+
*/
|
|
74
|
+
configurableFolder?: true;
|
|
48
75
|
};
|
|
49
76
|
}[];
|
|
77
|
+
export interface EmailArrivalTrigger {
|
|
78
|
+
type: 'email.arrived';
|
|
79
|
+
connection: string;
|
|
80
|
+
resource: 'inbox';
|
|
81
|
+
filter?: {
|
|
82
|
+
from?: string;
|
|
83
|
+
subjectContains?: string;
|
|
84
|
+
};
|
|
85
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type FileArrival = {
|
|
2
|
+
type: 'file.created';
|
|
3
|
+
provider: 'drive' | 'sharepoint';
|
|
4
|
+
sourceId: string;
|
|
5
|
+
fileId: string;
|
|
6
|
+
folderId: string;
|
|
7
|
+
driveId?: string;
|
|
8
|
+
name: string;
|
|
9
|
+
mimeType: 'application/pdf' | 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' | 'image/png' | 'image/jpeg';
|
|
10
|
+
size: number;
|
|
11
|
+
createdAt: string;
|
|
12
|
+
observedAt: string;
|
|
13
|
+
};
|
package/dist/gen-ts/index.d.ts
CHANGED
|
@@ -45,6 +45,7 @@ export * from './error-category-registry.js';
|
|
|
45
45
|
export * from './error-category.js';
|
|
46
46
|
export * from './error-envelope.js';
|
|
47
47
|
export * from './external-sign-in.js';
|
|
48
|
+
export * from './file-arrival.js';
|
|
48
49
|
export * from './identity-context.js';
|
|
49
50
|
export * from './integration-connect-result.js';
|
|
50
51
|
export * from './integration-error-details.js';
|
package/dist/gen-ts/index.js
CHANGED
|
@@ -47,6 +47,7 @@ export * from './error-category-registry.js';
|
|
|
47
47
|
export * from './error-category.js';
|
|
48
48
|
export * from './error-envelope.js';
|
|
49
49
|
export * from './external-sign-in.js';
|
|
50
|
+
export * from './file-arrival.js';
|
|
50
51
|
export * from './identity-context.js';
|
|
51
52
|
export * from './integration-connect-result.js';
|
|
52
53
|
export * from './integration-error-details.js';
|
|
@@ -2386,6 +2386,13 @@ export declare const IntegrationExecuteInputRules: {
|
|
|
2386
2386
|
readonly minLength: 0;
|
|
2387
2387
|
readonly maxLength: 2000;
|
|
2388
2388
|
};
|
|
2389
|
+
readonly salesOrderItemId: {
|
|
2390
|
+
readonly kind: "string";
|
|
2391
|
+
readonly required: false;
|
|
2392
|
+
readonly minLength: 0;
|
|
2393
|
+
readonly maxLength: 32;
|
|
2394
|
+
readonly pattern: "^[0-9]{1,32}$";
|
|
2395
|
+
};
|
|
2389
2396
|
};
|
|
2390
2397
|
};
|
|
2391
2398
|
};
|
|
@@ -2414,6 +2421,129 @@ export declare const IntegrationExecuteInputRules: {
|
|
|
2414
2421
|
};
|
|
2415
2422
|
};
|
|
2416
2423
|
};
|
|
2424
|
+
readonly "zohobooks.salesorder.list": {
|
|
2425
|
+
readonly idempotencyKey: false;
|
|
2426
|
+
readonly fields: {
|
|
2427
|
+
readonly customerId: {
|
|
2428
|
+
readonly kind: "string";
|
|
2429
|
+
readonly required: true;
|
|
2430
|
+
readonly minLength: 0;
|
|
2431
|
+
readonly maxLength: 32;
|
|
2432
|
+
readonly pattern: "^[0-9]{1,32}$";
|
|
2433
|
+
};
|
|
2434
|
+
readonly pageToken: {
|
|
2435
|
+
readonly kind: "string";
|
|
2436
|
+
readonly required: false;
|
|
2437
|
+
readonly minLength: 1;
|
|
2438
|
+
readonly maxLength: 2048;
|
|
2439
|
+
};
|
|
2440
|
+
};
|
|
2441
|
+
};
|
|
2442
|
+
readonly "zohobooks.salesorder.read": {
|
|
2443
|
+
readonly idempotencyKey: false;
|
|
2444
|
+
readonly fields: {
|
|
2445
|
+
readonly documentId: {
|
|
2446
|
+
readonly kind: "string";
|
|
2447
|
+
readonly required: true;
|
|
2448
|
+
readonly minLength: 0;
|
|
2449
|
+
readonly maxLength: 32;
|
|
2450
|
+
readonly pattern: "^[0-9]{1,32}$";
|
|
2451
|
+
};
|
|
2452
|
+
};
|
|
2453
|
+
};
|
|
2454
|
+
readonly "zohobooks.invoice.reviseDraft": {
|
|
2455
|
+
readonly idempotencyKey: true;
|
|
2456
|
+
readonly fields: {
|
|
2457
|
+
readonly documentId: {
|
|
2458
|
+
readonly kind: "string";
|
|
2459
|
+
readonly required: true;
|
|
2460
|
+
readonly minLength: 0;
|
|
2461
|
+
readonly maxLength: 32;
|
|
2462
|
+
readonly pattern: "^[0-9]{1,32}$";
|
|
2463
|
+
};
|
|
2464
|
+
readonly lineItems: {
|
|
2465
|
+
readonly kind: "object[]";
|
|
2466
|
+
readonly required: true;
|
|
2467
|
+
readonly minItems: 1;
|
|
2468
|
+
readonly maxItems: 100;
|
|
2469
|
+
readonly fields: {
|
|
2470
|
+
readonly lineItemId: {
|
|
2471
|
+
readonly kind: "string";
|
|
2472
|
+
readonly required: true;
|
|
2473
|
+
readonly minLength: 0;
|
|
2474
|
+
readonly maxLength: 32;
|
|
2475
|
+
readonly pattern: "^[0-9]{1,32}$";
|
|
2476
|
+
};
|
|
2477
|
+
readonly quantity: {
|
|
2478
|
+
readonly kind: "string";
|
|
2479
|
+
readonly required: true;
|
|
2480
|
+
readonly minLength: 0;
|
|
2481
|
+
readonly maxLength: 17;
|
|
2482
|
+
readonly pattern: "^[0-9]{1,10}(\\.[0-9]{1,6})?$";
|
|
2483
|
+
};
|
|
2484
|
+
};
|
|
2485
|
+
};
|
|
2486
|
+
};
|
|
2487
|
+
};
|
|
2488
|
+
readonly "zohobooks.creditnote.create": {
|
|
2489
|
+
readonly idempotencyKey: true;
|
|
2490
|
+
readonly fields: {
|
|
2491
|
+
readonly documentId: {
|
|
2492
|
+
readonly kind: "string";
|
|
2493
|
+
readonly required: true;
|
|
2494
|
+
readonly minLength: 0;
|
|
2495
|
+
readonly maxLength: 32;
|
|
2496
|
+
readonly pattern: "^[0-9]{1,32}$";
|
|
2497
|
+
};
|
|
2498
|
+
readonly documentDate: {
|
|
2499
|
+
readonly kind: "string";
|
|
2500
|
+
readonly required: true;
|
|
2501
|
+
readonly minLength: 0;
|
|
2502
|
+
readonly maxLength: 10;
|
|
2503
|
+
readonly pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}$";
|
|
2504
|
+
};
|
|
2505
|
+
readonly referenceNumber: {
|
|
2506
|
+
readonly kind: "string";
|
|
2507
|
+
readonly required: false;
|
|
2508
|
+
readonly minLength: 1;
|
|
2509
|
+
readonly maxLength: 100;
|
|
2510
|
+
};
|
|
2511
|
+
readonly lineItems: {
|
|
2512
|
+
readonly kind: "object[]";
|
|
2513
|
+
readonly required: true;
|
|
2514
|
+
readonly minItems: 1;
|
|
2515
|
+
readonly maxItems: 100;
|
|
2516
|
+
readonly fields: {
|
|
2517
|
+
readonly lineItemId: {
|
|
2518
|
+
readonly kind: "string";
|
|
2519
|
+
readonly required: true;
|
|
2520
|
+
readonly minLength: 0;
|
|
2521
|
+
readonly maxLength: 32;
|
|
2522
|
+
readonly pattern: "^[0-9]{1,32}$";
|
|
2523
|
+
};
|
|
2524
|
+
readonly quantity: {
|
|
2525
|
+
readonly kind: "string";
|
|
2526
|
+
readonly required: true;
|
|
2527
|
+
readonly minLength: 0;
|
|
2528
|
+
readonly maxLength: 17;
|
|
2529
|
+
readonly pattern: "^[0-9]{1,10}(\\.[0-9]{1,6})?$";
|
|
2530
|
+
};
|
|
2531
|
+
};
|
|
2532
|
+
};
|
|
2533
|
+
};
|
|
2534
|
+
};
|
|
2535
|
+
readonly "zohobooks.creditnote.read": {
|
|
2536
|
+
readonly idempotencyKey: false;
|
|
2537
|
+
readonly fields: {
|
|
2538
|
+
readonly documentId: {
|
|
2539
|
+
readonly kind: "string";
|
|
2540
|
+
readonly required: true;
|
|
2541
|
+
readonly minLength: 0;
|
|
2542
|
+
readonly maxLength: 32;
|
|
2543
|
+
readonly pattern: "^[0-9]{1,32}$";
|
|
2544
|
+
};
|
|
2545
|
+
};
|
|
2546
|
+
};
|
|
2417
2547
|
};
|
|
2418
2548
|
export type IntegrationExecuteOperation = keyof typeof IntegrationExecuteInputRules;
|
|
2419
2549
|
/** The upper bound of one integer input as a literal type: integrationExecuteInputMaximum('slack.channel.history', 'limit') is 15. */
|
|
@@ -729,6 +729,7 @@ export const IntegrationExecuteInputRules = {
|
|
|
729
729
|
rate: { kind: "string", required: true, minLength: 0, maxLength: 17, pattern: "^[0-9]{1,10}(\\.[0-9]{1,6})?$" },
|
|
730
730
|
taxId: { kind: "string", required: false, minLength: 0, maxLength: 32, pattern: "^[0-9]{1,32}$" },
|
|
731
731
|
description: { kind: "string", required: false, minLength: 0, maxLength: 2000 },
|
|
732
|
+
salesOrderItemId: { kind: "string", required: false, minLength: 0, maxLength: 32, pattern: "^[0-9]{1,32}$" },
|
|
732
733
|
} },
|
|
733
734
|
},
|
|
734
735
|
},
|
|
@@ -744,6 +745,47 @@ export const IntegrationExecuteInputRules = {
|
|
|
744
745
|
documentId: { kind: "string", required: true, minLength: 0, maxLength: 32, pattern: "^[0-9]{1,32}$" },
|
|
745
746
|
},
|
|
746
747
|
},
|
|
748
|
+
"zohobooks.salesorder.list": {
|
|
749
|
+
idempotencyKey: false,
|
|
750
|
+
fields: {
|
|
751
|
+
customerId: { kind: "string", required: true, minLength: 0, maxLength: 32, pattern: "^[0-9]{1,32}$" },
|
|
752
|
+
pageToken: { kind: "string", required: false, minLength: 1, maxLength: 2048 },
|
|
753
|
+
},
|
|
754
|
+
},
|
|
755
|
+
"zohobooks.salesorder.read": {
|
|
756
|
+
idempotencyKey: false,
|
|
757
|
+
fields: {
|
|
758
|
+
documentId: { kind: "string", required: true, minLength: 0, maxLength: 32, pattern: "^[0-9]{1,32}$" },
|
|
759
|
+
},
|
|
760
|
+
},
|
|
761
|
+
"zohobooks.invoice.reviseDraft": {
|
|
762
|
+
idempotencyKey: true,
|
|
763
|
+
fields: {
|
|
764
|
+
documentId: { kind: "string", required: true, minLength: 0, maxLength: 32, pattern: "^[0-9]{1,32}$" },
|
|
765
|
+
lineItems: { kind: "object[]", required: true, minItems: 1, maxItems: 100, fields: {
|
|
766
|
+
lineItemId: { kind: "string", required: true, minLength: 0, maxLength: 32, pattern: "^[0-9]{1,32}$" },
|
|
767
|
+
quantity: { kind: "string", required: true, minLength: 0, maxLength: 17, pattern: "^[0-9]{1,10}(\\.[0-9]{1,6})?$" },
|
|
768
|
+
} },
|
|
769
|
+
},
|
|
770
|
+
},
|
|
771
|
+
"zohobooks.creditnote.create": {
|
|
772
|
+
idempotencyKey: true,
|
|
773
|
+
fields: {
|
|
774
|
+
documentId: { kind: "string", required: true, minLength: 0, maxLength: 32, pattern: "^[0-9]{1,32}$" },
|
|
775
|
+
documentDate: { kind: "string", required: true, minLength: 0, maxLength: 10, pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}$" },
|
|
776
|
+
referenceNumber: { kind: "string", required: false, minLength: 1, maxLength: 100 },
|
|
777
|
+
lineItems: { kind: "object[]", required: true, minItems: 1, maxItems: 100, fields: {
|
|
778
|
+
lineItemId: { kind: "string", required: true, minLength: 0, maxLength: 32, pattern: "^[0-9]{1,32}$" },
|
|
779
|
+
quantity: { kind: "string", required: true, minLength: 0, maxLength: 17, pattern: "^[0-9]{1,10}(\\.[0-9]{1,6})?$" },
|
|
780
|
+
} },
|
|
781
|
+
},
|
|
782
|
+
},
|
|
783
|
+
"zohobooks.creditnote.read": {
|
|
784
|
+
idempotencyKey: false,
|
|
785
|
+
fields: {
|
|
786
|
+
documentId: { kind: "string", required: true, minLength: 0, maxLength: 32, pattern: "^[0-9]{1,32}$" },
|
|
787
|
+
},
|
|
788
|
+
},
|
|
747
789
|
};
|
|
748
790
|
/** The upper bound of one integer input as a literal type: integrationExecuteInputMaximum('slack.channel.history', 'limit') is 15. */
|
|
749
791
|
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' | 'zohobooks.contact.list' | 'zohobooks.purchaseorder.list' | 'zohobooks.purchaseorder.read' | 'zohobooks.bill.create' | 'zohobooks.bill.read' | 'zohobooks.invoice.create' | 'zohobooks.invoice.read' | 'zohobooks.invoice.pdf';
|
|
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' | 'zohobooks.salesorder.list' | 'zohobooks.salesorder.read' | 'zohobooks.invoice.reviseDraft' | 'zohobooks.creditnote.create' | 'zohobooks.creditnote.read';
|
|
13
13
|
/**
|
|
14
14
|
* Tenant-wide logical alias of a connection (governance sourceId) or of a resource under it.
|
|
15
15
|
*/
|
|
@@ -370,12 +370,14 @@ export type IntegrationExecuteRequest = {
|
|
|
370
370
|
* @maxItems 100
|
|
371
371
|
*/
|
|
372
372
|
lineItems?: {
|
|
373
|
-
itemId
|
|
373
|
+
itemId?: string;
|
|
374
374
|
quantity: string;
|
|
375
|
-
rate
|
|
375
|
+
rate?: string;
|
|
376
376
|
taxId?: string;
|
|
377
377
|
description?: string;
|
|
378
378
|
purchaseOrderItemId?: string;
|
|
379
|
+
lineItemId?: string;
|
|
380
|
+
salesOrderItemId?: string;
|
|
379
381
|
}[];
|
|
380
382
|
};
|
|
381
383
|
/**
|