@fourier-labs/harbour-contracts 0.96.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.
Files changed (32) hide show
  1. package/contract-release.json +26 -26
  2. package/dist/gen-ts/app-integrations-declaration.d.ts +5 -0
  3. package/dist/gen-ts/contract-release.d.ts +6 -6
  4. package/dist/gen-ts/contract-release.js +6 -6
  5. package/dist/gen-ts/data-grant-v2.d.ts +4 -4
  6. package/dist/gen-ts/deployment-app-registration.d.ts +7 -3
  7. package/dist/gen-ts/file-arrival.d.ts +1 -1
  8. package/dist/gen-ts/integration-execute-input-rules.d.ts +130 -0
  9. package/dist/gen-ts/integration-execute-input-rules.js +42 -0
  10. package/dist/gen-ts/integration-execute-request.d.ts +5 -3
  11. package/dist/gen-ts/integration-execute-result.d.ts +36 -0
  12. package/dist/gen-ts/integration-operations.d.ts +35 -0
  13. package/dist/gen-ts/integration-operations.js +45 -0
  14. package/dist/gen-ts/saas-connection.d.ts +6 -6
  15. package/gen-ts/app-integrations-declaration.ts +5 -0
  16. package/gen-ts/contract-release.ts +6 -6
  17. package/gen-ts/data-grant-v2.ts +12 -2
  18. package/gen-ts/deployment-app-registration.ts +12 -3
  19. package/gen-ts/file-arrival.ts +5 -1
  20. package/gen-ts/integration-execute-input-rules.ts +42 -0
  21. package/gen-ts/integration-execute-request.ts +10 -3
  22. package/gen-ts/integration-execute-result.ts +36 -0
  23. package/gen-ts/integration-operations.ts +45 -0
  24. package/gen-ts/saas-connection.ts +18 -3
  25. package/package.json +1 -1
  26. package/schema/app-integrations-declaration.schema.json +71 -1
  27. package/schema/data-grant-v2.schema.json +2 -2
  28. package/schema/deployment-app-registration.schema.json +21 -4
  29. package/schema/file-arrival.schema.json +3 -1
  30. package/schema/integration-execute-request.schema.json +358 -10
  31. package/schema/integration-execute-result.schema.json +156 -1
  32. package/schema/saas-connection.schema.json +3 -3
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "schema": "harbour.contract-release/1.0",
3
- "repositoryVersion": "0.96.0.0",
4
- "publishVersion": "0.96.0",
5
- "publishTag": "v0.96.0",
6
- "schemasDigest": "sha256:0baae0630687f4345db30f36b86d1821c4769728187b825db6d63c63c8dc229b",
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:725161b06837cacb79c92fd28ed00ef96b132a86ac5d5531ee1b3c3ce0fbb905",
9
- "generatedTypeScriptDigest": "sha256:b6116203eda0c74ae1cb5ebe2ad9c54f0d73759d7eca1b571dd7aab13ee9c3a6",
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:f130b18ff4f9111e8d7e5a43d2efa987b82de8c8eee2e1642255aa86f2b9160d",
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:5654b88daad1a1ea6b2b6fa7b140d41a65f8bbae8f7de987fcbefa2014d0619f",
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:ffc45a08a547a3c447ff33d6274232c69853998ff78b283abd568b79ee30ce6b",
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,12 +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:e756bdb1140fe7551977603144f4807bb3e1a53215933898c022cc8bd061e7d7",
57
+ "schema/file-arrival.schema.json": "sha256:a0adb72951a021b6ec696e2837ea2c25851921ed8f92bfbb59a949ca336c0c8b",
58
58
  "schema/identity-context.schema.json": "sha256:a0be3d3499b70f1641887ec66ab5b21ca5ab71063e9209290905738943a36e59",
59
59
  "schema/integration-connect-result.schema.json": "sha256:3f254b67ef739dc1fa395bdc8c4dc93359b16d481dba2a2d777aa5b6f34b7af8",
60
60
  "schema/integration-error-details.schema.json": "sha256:5a290584b1542b2b8cdd4966869126180ce29c1f0dd250dca7fb68c05e76b8e9",
61
- "schema/integration-execute-request.schema.json": "sha256:b4597ad60b8a7cf5418ab8a1f76ffd9f3165a46434c8866fc58ea0dc346e359b",
62
- "schema/integration-execute-result.schema.json": "sha256:9a0c338a2ea937b2f955f81b36b0431bb0b82826880516ce4767ed3c22377d00",
61
+ "schema/integration-execute-request.schema.json": "sha256:b2835984fe80e3d2f3e33bafb725bc513238f51ce22b8b47003441b389d1a24e",
62
+ "schema/integration-execute-result.schema.json": "sha256:078878efad37da2e7b7aff9b16e12542463fc55e4a08ca37ff846a450b28ab9b",
63
63
  "schema/internal-configuration-request.schema.json": "sha256:229d44a3458f68dceddfba802e5c1adcd95523a45af29b93b972706b88461a7d",
64
64
  "schema/kit-bundle-manifest.schema.json": "sha256:d8fc6ca9c30d791e785b021687e084e9171c0ea1a3a176d0f1582fcccf2c0e19",
65
65
  "schema/kit-lock.schema.json": "sha256:a48154d9471e49a893d928f7b0e1e0bc77708a4a7edce4fdf14073203e0e8987",
@@ -68,7 +68,7 @@
68
68
  "schema/promotion-request.schema.json": "sha256:00e96dfd8ddbdba88ea222941d43f3609ff6c815a79e34f6705cab458101c969",
69
69
  "schema/promotion-response.schema.json": "sha256:4129712d2e29d6ef21d93d4bd0bacfd60ada3f2ee0ade852824e64346b817634",
70
70
  "schema/resolved-app-serving.schema.json": "sha256:3b49268e189429310c2a5dcfd45e9d2187c80b6dbb9d329a0177e96e065c31c0",
71
- "schema/saas-connection.schema.json": "sha256:df0a75d9ecd25c4f800c84deb559ac9375c45bfc901202a61f44b757e2fa7f50",
71
+ "schema/saas-connection.schema.json": "sha256:2f3fa1cc2ab40105a46ad5f446dd30c7c8b723c776bd6e5886d8285b55af32b1",
72
72
  "schema/sanitized-binding-evidence.schema.json": "sha256:1191ab88e2764df927e5f17837674cebebe068d480da2b2fdb390e589f96b51f",
73
73
  "schema/secret-reference.schema.json": "sha256:db4e3c2c6a2dbd72d7ea0f9c91cb3b2343a7e67b601996c6818b2ef08e440895",
74
74
  "schema/security-scan-input-v2.schema.json": "sha256:0d418342078c9b5046ea6f4bef3c2c57539285dfee99cc0850d4f0d03739ee13",
@@ -114,11 +114,11 @@
114
114
  "gen-go/contracts_test.go": "sha256:56376287cb1548be1b35ab4c65d6f0b558c5d34885f7a47cb3d9e8d786607bf5",
115
115
  "gen-go/doc.go": "sha256:316d610ce568597a2ce6f38e9782e34fa5920f6f51ab0866e6d061b8a41cd822",
116
116
  "gen-go/error_category.go": "sha256:b2ddea22dcfa030f1a45e721e635485b0bd816cf1f38e7654628a653f5ed4583",
117
- "gen-go/integration_execute_input_rules.go": "sha256:f1e965c3f93ab54debe8ec0bb925bb51b633850bace2929bd9fdbce1ddd04210",
118
- "gen-go/integration_execute_input_rules_test.go": "sha256:6db850bbdfc31f60ac7ce6ec5cade4f5260b1836e56b2727efbfeee56db7a706",
119
- "gen-go/integration_operations.go": "sha256:1ba7ea4e118a2c4c8dd735b460b18d8658fbd7fd74e601ae372aff2844322f35",
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",
120
120
  "gen-go/schema_documents.go": "sha256:c19c0d540f602ee997a84b90e20702d9bc63ed7d27aec267e76c04655fc182e0",
121
- "gen-go/types.go": "sha256:22927bdcc31e32f39b1543e57ad8fc9a36ca0b7af94b9900c22ef215065b1ce6",
121
+ "gen-go/types.go": "sha256:7c19400ceaa52ce8ffc92803cd050aa07db4c4e98b7df21c3b1659a940d91c2c",
122
122
  "gen-go/version_state.go": "sha256:4ef8abb126414c0025cf2c59bc9c79a74ef4a2ff89e8f316cbf05acc872371c1"
123
123
  },
124
124
  "generatedTypeScript": {
@@ -143,19 +143,19 @@
143
143
  "gen-ts/ai-transform-result.ts": "sha256:208c66b2aeb425c0cbcc18b7191f6e8989443f2b2c1690648e0e06cc1448ce25",
144
144
  "gen-ts/ai-verification-evidence.ts": "sha256:979439d77f8b47631d1eb3b6c3c54ea6fec41089d2a51dc815fd370b1c4917fc",
145
145
  "gen-ts/api-error-response.ts": "sha256:0fd73be282e7a5d72d6c343a4e64d09c232556b16161167f0cffd6278ed7e3d3",
146
- "gen-ts/app-integrations-declaration.ts": "sha256:208edcc3f03e1ead9227e3613a6296a6d415bd29d45d52eddf3e5d9e4e588285",
146
+ "gen-ts/app-integrations-declaration.ts": "sha256:d38a5c7db000680628b52f7b183ebc710a93b91564df068a6d2ab12be3ecba26",
147
147
  "gen-ts/app-sign-in.ts": "sha256:bf88671c00e9d9badb5ffc961a7e803cf92cee5a98c2f6c9e3172bbf5aaf0424",
148
148
  "gen-ts/artifact-contract.ts": "sha256:4a6dc6d2caaeed4bb2066cc8a333e6e09e5a0d4745e0b1038293d54ab9403aeb",
149
149
  "gen-ts/binding-classification-digest-helper.ts": "sha256:40fc7d85b4c3f3ffc5caf7d7950c62d013c83ee42058c7453b2100d95817f167",
150
150
  "gen-ts/binding-classification-subject.ts": "sha256:c409a3fd7b942b50419632c51d9a79474fb30d6374bdc79c0e25c73618e800c3",
151
151
  "gen-ts/builder-input-proposal.ts": "sha256:b0108c3787873d3cf1a39f00967379418a6766275d3474cfa55f5a9d93ead174",
152
152
  "gen-ts/data-dependency.ts": "sha256:259f19e2759395d72ead90b8ed74a6dcef0c2641124f4f182823138cfd19bedf",
153
- "gen-ts/data-grant-v2.ts": "sha256:b74a7aea3f47c7e8783a943e7d5ae771c64bd9e9c9a30dd78ae959d4595c7048",
153
+ "gen-ts/data-grant-v2.ts": "sha256:87a67c80fc191575ec516c4fa787b9a3f38c8933915a9f1a3edc268929229f0b",
154
154
  "gen-ts/data-grant.ts": "sha256:2358579d8aa1e57b01a6f2b0eacce5531e7f21ef226404c9809925365e0d6155",
155
155
  "gen-ts/data-source.ts": "sha256:2566f0d5c72e44278869f55211cf3d433aeb3552e57ae0ace0ff0b85e769dde6",
156
156
  "gen-ts/deploy-request.ts": "sha256:913245577a95354849d3a8cb43fbaedbf895efe7b653c8502d25edfa22b7a864",
157
157
  "gen-ts/deploy-response.ts": "sha256:364d9f1acf32e491498237cdd3f402d5f8e102f208db7748034f4ec68c6a6137",
158
- "gen-ts/deployment-app-registration.ts": "sha256:cd497c679fd6f496aeb8d532ab641e75821add901dfdcff9e8e150b155ea9f55",
158
+ "gen-ts/deployment-app-registration.ts": "sha256:553583145f210d8ea20e5381054e428f61683a8bde3210f92c75ff16a0cddfb4",
159
159
  "gen-ts/deployment-continuation.ts": "sha256:cc9f63af4d0da5086a79103789e4f043783b75b4ed11c6512f044439a551a79c",
160
160
  "gen-ts/deployment-environment.ts": "sha256:fc08cabe2e52ebb93cfe84d2019994260f71734c33d0e50e7c63e40ef5b17cef",
161
161
  "gen-ts/deployment-preview-retirement.ts": "sha256:309421d08daf0ade163b6457ed0e5410ec6573c40a59423a6cce14780d9c38db",
@@ -168,15 +168,15 @@
168
168
  "gen-ts/error-category.ts": "sha256:9bda89180c3b740c9aa8be466216592e8ca9d0d368c274333edf6ea5c45afd8e",
169
169
  "gen-ts/error-envelope.ts": "sha256:4457309be794f9d4fc0cf62530cc2d442c007bac9ae84aff66df099cc9e40310",
170
170
  "gen-ts/external-sign-in.ts": "sha256:393ef74d72e37d33e374e3226f34ab3e854fdb0c1129a367997cbb690bf253a6",
171
- "gen-ts/file-arrival.ts": "sha256:42615d390767a07f983f78411f22c15e69b0719d96c6f9056261fff5c9983fc4",
171
+ "gen-ts/file-arrival.ts": "sha256:d0b340b8b08e46b43a096fa0ab37d43009dbaeff546bbc2cad21f9a1740a636b",
172
172
  "gen-ts/identity-context.ts": "sha256:4b8151a321e224229250d214ef3e17f2ac986bb54ff0aadbb4509481724f6883",
173
173
  "gen-ts/index.ts": "sha256:5e903bb40fbf6599dc0d65171eaef7bc62b52d4cea090124a0c51ef876ad2909",
174
174
  "gen-ts/integration-connect-result.ts": "sha256:4b10f169b6e1af364e9b418de21caa9fadbfb77b43cbff77d741cfae0b52180c",
175
175
  "gen-ts/integration-error-details.ts": "sha256:e73cb5942373ef88b2d8e03a1de56d5a69e71069ecd14e68396f7edba1f60780",
176
- "gen-ts/integration-execute-input-rules.ts": "sha256:d5be09ea12c01c164b69ccdd7c313385e8e7d494c117afd8a559fb80fafc1726",
177
- "gen-ts/integration-execute-request.ts": "sha256:6190d981d39f4d9be89664be5a4129f38238e78275025f39b76621cc2822cf80",
178
- "gen-ts/integration-execute-result.ts": "sha256:c5fb799816cbb033af894b09e52b1c5b4f974044678fd6e35a66e16c03bfb5c0",
179
- "gen-ts/integration-operations.ts": "sha256:9e1f0b330a86eb63b7999b7f78b1da08dcefa0582325917581d98879fa25899f",
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",
180
180
  "gen-ts/internal-configuration-request.ts": "sha256:7032437797473fa1c581d134adef2f3d4b4f4132f482cd17743e9d47097886bc",
181
181
  "gen-ts/kit-bundle-manifest.ts": "sha256:73f5271d2eb3b5ce91e28933c5ab6883615c72a3808aa386f860f58f6df8edf6",
182
182
  "gen-ts/kit-lock.ts": "sha256:06bddeaf1e2c449c9cc0dbbc696210355a9005349c604d4050eb22385fb4c22e",
@@ -185,7 +185,7 @@
185
185
  "gen-ts/promotion-request.ts": "sha256:9db88cef67f777a16bac628039ec3f582acb9e8cfff6fb592b30d0a0e55abc68",
186
186
  "gen-ts/promotion-response.ts": "sha256:f1c9cafac96faeb02a443a31786f67714e818f38d90108e7af41958396524d6f",
187
187
  "gen-ts/resolved-app-serving.ts": "sha256:3264e85827be47bf391781cb13a1e58318d356f7bee8c2ff3e5b00a062253b23",
188
- "gen-ts/saas-connection.ts": "sha256:53fd9bd28930321be609cb1dbdb3854bca55fc52bd99477d3ed6ee44e64073dc",
188
+ "gen-ts/saas-connection.ts": "sha256:25480a015e27d8e49d68fabcb12e479118ab4a89aeac4e420acb54da3d807a0c",
189
189
  "gen-ts/sanitized-binding-digest-helper.ts": "sha256:c47d7fdc20500e2e72c23fe39ecdd610fc397c47fcba51335ebec3c380fe6872",
190
190
  "gen-ts/sanitized-binding-evidence.ts": "sha256:f3fb7b1d7d2e0929eb0ea981eaf32db3104010647185f6ae59f67167d42538a9",
191
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.96.0.0";
2
- export declare const ContractPublishVersion: "0.96.0";
3
- export declare const ContractPublishTag: "v0.96.0";
4
- export declare const ContractSchemasDigest: "sha256:0baae0630687f4345db30f36b86d1821c4769728187b825db6d63c63c8dc229b";
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:725161b06837cacb79c92fd28ed00ef96b132a86ac5d5531ee1b3c3ce0fbb905";
7
- export declare const ContractGeneratedTypeScriptDigest: "sha256:b6116203eda0c74ae1cb5ebe2ad9c54f0d73759d7eca1b571dd7aab13ee9c3a6";
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.96.0.0";
4
- export const ContractPublishVersion = "0.96.0";
5
- export const ContractPublishTag = "v0.96.0";
6
- export const ContractSchemasDigest = "sha256:0baae0630687f4345db30f36b86d1821c4769728187b825db6d63c63c8dc229b";
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:725161b06837cacb79c92fd28ed00ef96b132a86ac5d5531ee1b3c3ce0fbb905";
9
- export const ContractGeneratedTypeScriptDigest = "sha256:b6116203eda0c74ae1cb5ebe2ad9c54f0d73759d7eca1b571dd7aab13ee9c3a6";
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 86
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 86
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
  */
@@ -61,13 +61,17 @@ export type EventJobs = {
61
61
  type: 'file.created';
62
62
  connection: string;
63
63
  resource: string;
64
- folderId: string;
64
+ folderId?: string;
65
65
  driveId?: string;
66
66
  /**
67
67
  * @minItems 1
68
- * @maxItems 2
68
+ * @maxItems 4
69
69
  */
70
- mimeTypes?: ('application/pdf' | 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet')[];
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;
71
75
  };
72
76
  }[];
73
77
  export interface EmailArrivalTrigger {
@@ -6,7 +6,7 @@ export type FileArrival = {
6
6
  folderId: string;
7
7
  driveId?: string;
8
8
  name: string;
9
- mimeType: 'application/pdf' | 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet';
9
+ mimeType: 'application/pdf' | 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' | 'image/png' | 'image/jpeg';
10
10
  size: number;
11
11
  createdAt: string;
12
12
  observedAt: string;
@@ -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: string;
373
+ itemId?: string;
374
374
  quantity: string;
375
- rate: string;
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
  /**
@@ -305,7 +305,11 @@ export type IntegrationExecuteResult = {
305
305
  description?: string;
306
306
  lineItemId?: string;
307
307
  purchaseOrderItemId?: string;
308
+ sku?: string;
309
+ taxId?: string;
310
+ isInvoiced?: boolean;
308
311
  }[];
312
+ referenceNumber?: string;
309
313
  };
310
314
  /**
311
315
  * @maxItems 100
@@ -337,7 +341,11 @@ export type IntegrationExecuteResult = {
337
341
  description?: string;
338
342
  lineItemId?: string;
339
343
  purchaseOrderItemId?: string;
344
+ sku?: string;
345
+ taxId?: string;
346
+ isInvoiced?: boolean;
340
347
  }[];
348
+ referenceNumber?: string;
341
349
  }[];
342
350
  /**
343
351
  * Resolved reply recipients, when supplied by the provider adapter. Outlook uses replyTo when present, otherwise from. Optional for backward compatibility.
@@ -345,6 +353,34 @@ export type IntegrationExecuteResult = {
345
353
  * @maxItems 50
346
354
  */
347
355
  replyTo?: string[];
356
+ /**
357
+ * @maxItems 100
358
+ */
359
+ booksSalesOrders?: {
360
+ id: string;
361
+ number: string;
362
+ status: string;
363
+ currency: string;
364
+ total: string;
365
+ vendorId?: string;
366
+ customerId?: string;
367
+ /**
368
+ * @maxItems 100
369
+ */
370
+ lineItems: {
371
+ itemId: string;
372
+ quantity: string;
373
+ rate: string;
374
+ total: string;
375
+ description?: string;
376
+ lineItemId?: string;
377
+ purchaseOrderItemId?: string;
378
+ sku?: string;
379
+ taxId?: string;
380
+ isInvoiced?: boolean;
381
+ }[];
382
+ referenceNumber?: string;
383
+ }[];
348
384
  };
349
385
  /**
350
386
  * An event's state (0.86.0): confirmed (Google `confirmed`, Graph not cancelled and not tentative), tentative, or cancelled.
@@ -623,4 +623,39 @@ export declare const IntegrationOperations: {
623
623
  readonly declaredMode: false;
624
624
  readonly idempotencyKey: false;
625
625
  };
626
+ readonly "zohobooks.salesorder.list": {
627
+ readonly kind: "saas";
628
+ readonly identities: readonly ["user"];
629
+ readonly readOnly: true;
630
+ readonly declaredMode: false;
631
+ readonly idempotencyKey: false;
632
+ };
633
+ readonly "zohobooks.salesorder.read": {
634
+ readonly kind: "saas";
635
+ readonly identities: readonly ["user"];
636
+ readonly readOnly: true;
637
+ readonly declaredMode: false;
638
+ readonly idempotencyKey: false;
639
+ };
640
+ readonly "zohobooks.invoice.reviseDraft": {
641
+ readonly kind: "saas";
642
+ readonly identities: readonly ["user"];
643
+ readonly readOnly: false;
644
+ readonly declaredMode: false;
645
+ readonly idempotencyKey: true;
646
+ };
647
+ readonly "zohobooks.creditnote.create": {
648
+ readonly kind: "saas";
649
+ readonly identities: readonly ["user"];
650
+ readonly readOnly: false;
651
+ readonly declaredMode: false;
652
+ readonly idempotencyKey: true;
653
+ };
654
+ readonly "zohobooks.creditnote.read": {
655
+ readonly kind: "saas";
656
+ readonly identities: readonly ["user"];
657
+ readonly readOnly: true;
658
+ readonly declaredMode: false;
659
+ readonly idempotencyKey: false;
660
+ };
626
661
  };