@keemakr/operator-sdk 0.6.0-dev-20261127054001 → 0.6.0-dev-20261127060055
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/package.json +1 -1
- package/src/index.ts +16 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keemakr/operator-sdk",
|
|
3
|
-
"version": "0.6.0-dev-
|
|
3
|
+
"version": "0.6.0-dev-20261127060055",
|
|
4
4
|
"description": "The keemakr connector contract: defineProvider + ConnectionProvider/ConnectionOperation types + OperationContext (governed fetch) + the connector manifest schema, shared by keemakr-core's built-in adapters and external connector repos. One shape, two consumers.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
package/src/index.ts
CHANGED
|
@@ -393,6 +393,16 @@ export type ProviderDefinition<Ops extends Record<string, OperationInputSchema>>
|
|
|
393
393
|
// call_not_placed → a built-in call operation refused before dialling, or the provider
|
|
394
394
|
// said it did not dial. Core treats it as proof that no call rang.
|
|
395
395
|
// org_not_allowed → the call named an organization the calling workspace may not read
|
|
396
|
+
// not_organiser → a change to a calendar event the login did not organise: it would
|
|
397
|
+
// change only the login's own copy, so it is refused before writing
|
|
398
|
+
// cannot_create_link → the calendar cannot make the meeting link asked for (a Teams link on
|
|
399
|
+
// Google, a Meet link on Outlook), refused before booking
|
|
400
|
+
// not_invitee → a reply or a new-time proposal for a calendar event the login was not
|
|
401
|
+
// invited to (its own meeting, or one it is not on), refused before writing
|
|
402
|
+
// provider_does_not_support → the provider has no way to do what was asked (Google Calendar has
|
|
403
|
+
// no new-time proposal for an invitee), refused before writing
|
|
404
|
+
// occurrence_crosses_boundary → one occurrence of a repeating event moved onto or past the day
|
|
405
|
+
// of the occurrence before or after it, which the calendar refuses
|
|
396
406
|
export type OperationErrorCode =
|
|
397
407
|
| 'provider_unavailable'
|
|
398
408
|
| 'connector_error'
|
|
@@ -406,7 +416,12 @@ export type OperationErrorCode =
|
|
|
406
416
|
| 'recruiting_not_active'
|
|
407
417
|
| 'invalid_request'
|
|
408
418
|
| 'call_not_placed'
|
|
409
|
-
| 'org_not_allowed'
|
|
419
|
+
| 'org_not_allowed'
|
|
420
|
+
| 'not_organiser'
|
|
421
|
+
| 'cannot_create_link'
|
|
422
|
+
| 'not_invitee'
|
|
423
|
+
| 'provider_does_not_support'
|
|
424
|
+
| 'occurrence_crosses_boundary';
|
|
410
425
|
|
|
411
426
|
// Throw from a ConnectionOperation.call to surface a typed, agent-safe failure
|
|
412
427
|
// (maps to a 4xx with a clean message — never leaks the credential).
|