@diagonal-hq/cli 0.33.9 → 0.35.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/dist/cli.mjs +76 -7
- package/dist/sdk-contract.d.ts +2 -2
- package/package.json +1 -1
package/dist/sdk-contract.d.ts
CHANGED
|
@@ -2004,7 +2004,7 @@ type ApiError = Error & {
|
|
|
2004
2004
|
readonly body: any;
|
|
2005
2005
|
};
|
|
2006
2006
|
|
|
2007
|
-
type SdkCalendarUnavailableReason = 'signed_out' | '
|
|
2007
|
+
type SdkCalendarUnavailableReason = 'signed_out' | 'branch' | 'not_schedulable';
|
|
2008
2008
|
|
|
2009
2009
|
type SdkCalendarLinkState = 'active' | 'waiting_for_write_access' | 'broken';
|
|
2010
2010
|
|
|
@@ -7335,7 +7335,7 @@ type SdkHooks = {
|
|
|
7335
7335
|
* signed-in identity's own calendars and needs no permission. Another staff record needs
|
|
7336
7336
|
* "Manage calendar connections" and Show access to the record. A viewer connects Google
|
|
7337
7337
|
* accounts and adds calendars only through their own accounts. Nothing is available
|
|
7338
|
-
*
|
|
7338
|
+
* in a branch, for a signed-out visitor (no request
|
|
7339
7339
|
* is made), and for an identity that is not a Schedulable record: check `available` and
|
|
7340
7340
|
* render nothing. Every write refreshes the data and rejects with an `ApiError` on a
|
|
7341
7341
|
* refusal: read its text with `Sdk.utils.error.apiErrorMessage(error)`.
|