@deliverd/sdk 0.31.0 → 0.32.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/README.md +2 -2
- package/dist/messages.js +1 -1
- package/dist/released.d.ts +1 -1
- package/dist/released.d.ts.map +1 -1
- package/dist/released.js +1472 -0
- package/dist/types.d.ts +8 -2
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/messages.ts +1 -1
- package/src/released.ts +1473 -0
- package/src/types.ts +8 -2
package/src/types.ts
CHANGED
|
@@ -860,7 +860,11 @@ export interface WebhookEvent {
|
|
|
860
860
|
* webhook, or a Discord embed with a link button for a channel webhook. The
|
|
861
861
|
* signature headers are sent with all four.
|
|
862
862
|
*/
|
|
863
|
-
|
|
863
|
+
/**
|
|
864
|
+
* `workspace_studio` fires a Google Workspace Studio starter. The Deliverd
|
|
865
|
+
* add-on makes those, with `runAs`; you will see them in a list.
|
|
866
|
+
*/
|
|
867
|
+
export type WebhookEndpointFormat = "json" | "slack" | "teams" | "discord" | "workspace_studio";
|
|
864
868
|
|
|
865
869
|
/** An organisation's webhook endpoint, as `deliverd.webhookEndpoints` reads it. Never its secret. */
|
|
866
870
|
export interface WebhookEndpoint {
|
|
@@ -909,6 +913,8 @@ export interface CreateWebhookEndpointInput {
|
|
|
909
913
|
description?: string | null;
|
|
910
914
|
/** Default `"json"`. */
|
|
911
915
|
format?: WebhookEndpointFormat;
|
|
916
|
+
/** `workspace_studio` only: the Google address of the person whose flow the starter belongs to. */
|
|
917
|
+
runAs?: string;
|
|
912
918
|
}
|
|
913
919
|
|
|
914
920
|
/** Only what you send changes; send at least one. The secret cannot be changed. */
|
|
@@ -1748,7 +1754,7 @@ export interface SubmitEvidenceInput {
|
|
|
1748
1754
|
/**
|
|
1749
1755
|
* Read the results from the organisation's connected Langfuse, LangSmith,
|
|
1750
1756
|
* Braintrust or Weave, with its key, which you never hold. Instead of `results` or `report`.
|
|
1751
|
-
* Connected by an owner or an administrator in
|
|
1757
|
+
* Connected by an owner or an administrator in Organisation → Integrations & webhooks.
|
|
1752
1758
|
*/
|
|
1753
1759
|
pull?: EvidencePull;
|
|
1754
1760
|
/** The release the results tested, with results, a report or a pull. Results of another release than the system runs now do not count. */
|