@pikku/addon-admin 0.12.13 → 0.12.14
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/.pikku/addon/agent/index.d.ts +1 -1
- package/dist/.pikku/addon/agent/index.js +1 -1
- package/dist/.pikku/addon/agent/pikku-agent-map.gen.d.ts +1 -1
- package/dist/.pikku/addon/agent/pikku-agent-types.gen.d.ts +3 -1
- package/dist/.pikku/addon/agent/pikku-agent-types.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/agent/pikku-agent-types.gen.js +2 -0
- package/dist/.pikku/addon/agent/pikku-agent-types.gen.js.map +1 -1
- package/dist/.pikku/addon/agent/pikku-model-aliases.gen.js +1 -1
- package/dist/.pikku/addon/agent/pikku-scorer-names.gen.d.ts +1 -1
- package/dist/.pikku/addon/analytics/index.d.ts +1 -1
- package/dist/.pikku/addon/analytics/index.js +1 -1
- package/dist/.pikku/addon/analytics/pikku-analytics-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/analytics/pikku-analytics-types.gen.js +1 -1
- package/dist/.pikku/addon/auth/index.d.ts +1 -1
- package/dist/.pikku/addon/auth/index.js +1 -1
- package/dist/.pikku/addon/auth/pikku-auth-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/auth/pikku-auth-types.gen.js +1 -1
- package/dist/.pikku/addon/channel/index.d.ts +1 -1
- package/dist/.pikku/addon/channel/index.js +1 -1
- package/dist/.pikku/addon/channel/pikku-channel-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/channel/pikku-channel-types.gen.js +1 -1
- package/dist/.pikku/addon/cli/index.d.ts +1 -1
- package/dist/.pikku/addon/cli/index.js +1 -1
- package/dist/.pikku/addon/cli/pikku-cli-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/cli/pikku-cli-types.gen.js +1 -1
- package/dist/.pikku/addon/error/index.d.ts +1 -1
- package/dist/.pikku/addon/error/index.js +1 -1
- package/dist/.pikku/addon/error/pikku-error-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/error/pikku-error-types.gen.js +1 -1
- package/dist/.pikku/addon/function/index.d.ts +1 -1
- package/dist/.pikku/addon/function/index.js +1 -1
- package/dist/.pikku/addon/function/pikku-function-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/function/pikku-function-types.gen.js +1 -1
- package/dist/.pikku/addon/function/pikku-functions-meta-verbose.gen.json +20 -20
- package/dist/.pikku/addon/function/pikku-functions-meta.gen.js +1 -1
- package/dist/.pikku/addon/function/pikku-functions-meta.gen.json +20 -20
- package/dist/.pikku/addon/function/pikku-functions.gen.js +1 -1
- package/dist/.pikku/addon/http/index.d.ts +1 -1
- package/dist/.pikku/addon/http/index.js +1 -1
- package/dist/.pikku/addon/http/pikku-http-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/http/pikku-http-types.gen.js +1 -1
- package/dist/.pikku/addon/mcp/index.d.ts +1 -1
- package/dist/.pikku/addon/mcp/index.js +1 -1
- package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.js +1 -1
- package/dist/.pikku/addon/middleware/index.d.ts +1 -1
- package/dist/.pikku/addon/middleware/index.js +1 -1
- package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.js +1 -1
- package/dist/.pikku/addon/pikku-bootstrap-scenarios.gen.d.ts +1 -1
- package/dist/.pikku/addon/pikku-bootstrap-scenarios.gen.js +1 -1
- package/dist/.pikku/addon/pikku-bootstrap.gen.d.ts +1 -1
- package/dist/.pikku/addon/pikku-bootstrap.gen.js +1 -1
- package/dist/.pikku/addon/pikku-local-services.gen.js +5 -2
- package/dist/.pikku/addon/pikku-local-services.gen.js.map +1 -1
- package/dist/.pikku/addon/pikku-package.gen.js +1 -1
- package/dist/.pikku/addon/pikku-services.gen.d.ts +1 -1
- package/dist/.pikku/addon/rpc/pikku-rpc-wirings-map.gen.d.ts +77 -140
- package/dist/.pikku/addon/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +77 -140
- package/dist/.pikku/addon/rpc/pikku-rpc-wirings-map.remote.gen.d.ts +77 -140
- package/dist/.pikku/addon/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
- package/dist/.pikku/addon/scenarios/index.d.ts +1 -1
- package/dist/.pikku/addon/scenarios/index.js +1 -1
- package/dist/.pikku/addon/scenarios/pikku-scenario-functions-meta.gen.js +1 -1
- package/dist/.pikku/addon/scenarios/pikku-scenario-functions.gen.d.ts +1 -1
- package/dist/.pikku/addon/scenarios/pikku-scenario-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/scenarios/pikku-scenario-wirings-meta.gen.js +1 -1
- package/dist/.pikku/addon/scenarios/pikku-scenario-wirings.gen.d.ts +1 -1
- package/dist/.pikku/addon/scenarios/pikku-virtual-users.gen.js +1 -1
- package/dist/.pikku/addon/scenarios/schemas/register.gen.d.ts +1 -1
- package/dist/.pikku/addon/scenarios/schemas/register.gen.js +1 -1
- package/dist/.pikku/addon/schemas/register.gen.js +1 -1
- package/dist/.pikku/addon/schemas/schemas/GetAuditsOutput.schema.json +1 -1
- package/dist/.pikku/addon/schemas/schemas/GetQueueHistoryOutput.schema.json +1 -1
- package/dist/.pikku/addon/schemas/schemas/IncomingWebhookReceiptRecord.schema.json +1 -1
- package/dist/.pikku/addon/schemas/schemas/ListIncomingWebhookReceiptsOutput.schema.json +1 -1
- package/dist/.pikku/addon/schemas/schemas/ScopeListRolesOutput.schema.json +1 -1
- package/dist/.pikku/addon/schemas/schemas/TriggerSourceDisableOutput.schema.json +1 -1
- package/dist/.pikku/addon/schemas/schemas/TriggerSourceEnableOutput.schema.json +1 -1
- package/dist/.pikku/addon/schemas/schemas/TriggerSourceListOutput.schema.json +1 -1
- package/dist/.pikku/addon/schemas/schemas/TriggerSourceReconcileOutput.schema.json +1 -1
- package/dist/.pikku/addon/schemas/schemas/TriggerSourceTeardownOutput.schema.json +1 -1
- package/dist/.pikku/addon/scopes/index.d.ts +1 -1
- package/dist/.pikku/addon/scopes/index.js +1 -1
- package/dist/.pikku/addon/scopes/pikku-flags-manifest.gen.d.ts +1 -1
- package/dist/.pikku/addon/scopes/pikku-flags.gen.d.ts +1 -1
- package/dist/.pikku/addon/scopes/pikku-roles.gen.d.ts +1 -1
- package/dist/.pikku/addon/scopes/pikku-scope-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/scopes/pikku-scope-types.gen.js +1 -1
- package/dist/.pikku/addon/scopes/pikku-scopes.gen.d.ts +1 -1
- package/dist/.pikku/addon/scopes/pikku-virtual-users.gen.js +1 -1
- package/dist/.pikku/addon/secrets/index.d.ts +1 -1
- package/dist/.pikku/addon/secrets/index.js +1 -1
- package/dist/.pikku/addon/secrets/pikku-secret-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/secrets/pikku-secret-types.gen.js +1 -1
- package/dist/.pikku/addon/secrets/pikku-secrets.gen.d.ts +1 -1
- package/dist/.pikku/addon/secrets/pikku-secrets.gen.js +1 -1
- package/dist/.pikku/addon/services/pikku-meta-service.gen.d.ts +1 -1
- package/dist/.pikku/addon/services/pikku-meta-service.gen.js +1 -1
- package/dist/.pikku/addon/setup/index.d.ts +1 -1
- package/dist/.pikku/addon/setup/index.js +1 -1
- package/dist/.pikku/addon/setup/pikku-addon-setup-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/setup/pikku-addon-setup-types.gen.js +1 -1
- package/dist/.pikku/addon/setup/pikku-setup-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/setup/pikku-setup-types.gen.js +1 -1
- package/dist/.pikku/addon/trigger/index.d.ts +1 -1
- package/dist/.pikku/addon/trigger/index.js +1 -1
- package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.d.ts +5 -2
- package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.js +3 -1
- package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.js.map +1 -1
- package/dist/.pikku/addon/utils/index.d.ts +1 -1
- package/dist/.pikku/addon/utils/index.js +1 -1
- package/dist/.pikku/addon/utils/pikku-utils-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/utils/pikku-utils-types.gen.js +1 -1
- package/dist/.pikku/addon/variables/index.d.ts +1 -1
- package/dist/.pikku/addon/variables/index.js +1 -1
- package/dist/.pikku/addon/variables/pikku-variable-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/variables/pikku-variable-types.gen.js +1 -1
- package/dist/.pikku/addon/variables/pikku-variables.gen.d.ts +1 -1
- package/dist/.pikku/addon/variables/pikku-variables.gen.js +1 -1
- package/dist/.pikku/addon/webhooks/pikku-outgoing-webhooks.gen.d.ts +1 -1
- package/dist/.pikku/addon/workflow/index.d.ts +1 -1
- package/dist/.pikku/addon/workflow/index.js +1 -1
- package/dist/.pikku/addon/workflow/pikku-scenario-step-map.gen.d.ts +1 -1
- package/dist/.pikku/addon/workflow/pikku-workflow-map.gen.d.ts +1 -1
- package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.js +1 -1
- package/dist/.pikku/addon/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
- package/dist/.pikku/addon/workflow/pikku-workflow-wirings.gen.d.ts +1 -1
- package/dist/.pikku/addon/workflow/pikku-workflow-wirings.gen.js +1 -1
- package/package.json +12 -9
|
@@ -1,150 +1,87 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.192
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* This provides the structure needed for typescript to be aware of RPCs and their return types
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
import type
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
export type
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
export type
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
export type
|
|
31
|
-
export type
|
|
32
|
-
export type
|
|
33
|
-
export type
|
|
34
|
-
export type
|
|
35
|
-
export type
|
|
36
|
-
export type
|
|
37
|
-
export type
|
|
38
|
-
export type
|
|
39
|
-
export type
|
|
40
|
-
export type
|
|
41
|
-
export type
|
|
42
|
-
export type
|
|
43
|
-
export type
|
|
44
|
-
export type
|
|
45
|
-
export type
|
|
46
|
-
export type
|
|
47
|
-
export type
|
|
48
|
-
export type
|
|
49
|
-
export type
|
|
50
|
-
export type
|
|
51
|
-
export type
|
|
52
|
-
export type
|
|
53
|
-
export type
|
|
54
|
-
export type
|
|
55
|
-
export type
|
|
56
|
-
export type
|
|
57
|
-
export type
|
|
58
|
-
export type
|
|
59
|
-
export type
|
|
60
|
-
export type
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
export type
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
export type
|
|
84
|
-
export type
|
|
85
|
-
userId: string;
|
|
86
|
-
}
|
|
87
|
-
export type RemoveUserOutput = {
|
|
88
|
-
success: boolean;
|
|
89
|
-
}
|
|
90
|
-
export type RevokeUserSessionsInput = {
|
|
91
|
-
userId: string;
|
|
92
|
-
}
|
|
93
|
-
export type RevokeUserSessionsOutput = {
|
|
94
|
-
success: boolean;
|
|
95
|
-
}
|
|
96
|
-
export type ScopeAddScopeToUserInput = { userId: string; scope: string; }
|
|
97
|
-
export type ScopeAddScopeToUserOutput = { success: boolean; }
|
|
98
|
-
export type ScopeAddUserToRoleInput = { userId: string; role: string; }
|
|
99
|
-
export type ScopeAddUserToRoleOutput = { success: boolean; }
|
|
100
|
-
export type ScopeCreateRoleInput = { name: string; description?: string | undefined; scopes: string[]; }
|
|
101
|
-
export type ScopeCreateRoleOutput = { success: boolean; }
|
|
102
|
-
export type ScopeDeleteRoleInput = { name: string; }
|
|
103
|
-
export type ScopeDeleteRoleOutput = { success: boolean; }
|
|
104
|
-
export type ScopeListDeclaredOutput = { scopes: DeclaredScopeEntry[]; }
|
|
105
|
-
export type ScopeListRolesOutput = { roles: Role[]; }
|
|
106
|
-
export type ScopeListUserRolesInput = { userId: string; }
|
|
107
|
-
export type ScopeListUserRolesOutput = { roles: string[]; scopes: string[]; directScopes: string[]; }
|
|
108
|
-
export type ScopeRemoveScopeFromUserInput = { userId: string; scope: string; }
|
|
109
|
-
export type ScopeRemoveScopeFromUserOutput = { success: boolean; }
|
|
110
|
-
export type ScopeRemoveUserFromRoleInput = { userId: string; role: string; }
|
|
111
|
-
export type ScopeRemoveUserFromRoleOutput = { success: boolean; }
|
|
112
|
-
export type ScopeSetRoleScopesInput = { name: string; scopes: string[]; }
|
|
113
|
-
export type ScopeSetRoleScopesOutput = { success: boolean; }
|
|
114
|
-
export type SendSignInLinkInput = {
|
|
115
|
-
email: string;
|
|
116
|
-
callbackURL?: string | undefined;
|
|
117
|
-
}
|
|
118
|
-
export type SendSignInLinkOutput = {
|
|
119
|
-
success: boolean;
|
|
120
|
-
}
|
|
121
|
-
export type SetUserBannedInput = {
|
|
122
|
-
userId: string;
|
|
123
|
-
banned: boolean;
|
|
124
|
-
reason?: string | undefined;
|
|
125
|
-
expiresInSeconds?: number | undefined;
|
|
126
|
-
}
|
|
127
|
-
export type SetUserBannedOutput = {
|
|
128
|
-
success: boolean;
|
|
129
|
-
}
|
|
130
|
-
export type SetUserPasswordInput = {
|
|
131
|
-
userId: string;
|
|
132
|
-
newPassword: string;
|
|
133
|
-
}
|
|
134
|
-
export type SetUserPasswordOutput = {
|
|
135
|
-
success: boolean;
|
|
136
|
-
}
|
|
137
|
-
export type TriggerSourceDisableInput = { name: string; baseUrl?: string | undefined; labelPrefix?: string | undefined; }
|
|
138
|
-
export type TriggerSourceDisableOutput = { outcome: WebhookSourceOutcome; }
|
|
139
|
-
export type TriggerSourceEnableInput = { name: string; baseUrl?: string | undefined; labelPrefix?: string | undefined; }
|
|
140
|
-
export type TriggerSourceEnableOutput = { outcome: WebhookSourceOutcome; }
|
|
141
|
-
export type TriggerSourceForgetInput = { name: string; }
|
|
142
|
-
export type TriggerSourceForgetOutput = { success: boolean; }
|
|
143
|
-
export type TriggerSourceListOutput = { sources: TriggerSourceRow[]; }
|
|
144
|
-
export type TriggerSourceReconcileInput = { baseUrl: string; labelPrefix: string; }
|
|
145
|
-
export type TriggerSourceReconcileOutput = { outcomes: WebhookSourceOutcome[]; }
|
|
146
|
-
export type TriggerSourceTeardownInput = { names: string[]; baseUrl: string; labelPrefix: string; }
|
|
147
|
-
export type TriggerSourceTeardownOutput = { outcomes: WebhookSourceOutcome[]; }
|
|
9
|
+
|
|
10
|
+
import type * as __PikkuCustomTypes from '../pikku-custom-types.gen.d.js'
|
|
11
|
+
export type CreateUserInput = __PikkuCustomTypes.CreateUserInput
|
|
12
|
+
export type CreateUserOutput = __PikkuCustomTypes.CreateUserOutput
|
|
13
|
+
export type CredentialDeleteInput = __PikkuCustomTypes.CredentialDeleteInput
|
|
14
|
+
export type CredentialDeleteOutput = __PikkuCustomTypes.CredentialDeleteOutput
|
|
15
|
+
export type CredentialGetInput = __PikkuCustomTypes.CredentialGetInput
|
|
16
|
+
export type CredentialGetOutput = __PikkuCustomTypes.CredentialGetOutput
|
|
17
|
+
export type CredentialListUsersOutput = __PikkuCustomTypes.CredentialListUsersOutput
|
|
18
|
+
export type CredentialSetInput = __PikkuCustomTypes.CredentialSetInput
|
|
19
|
+
export type CredentialSetOutput = __PikkuCustomTypes.CredentialSetOutput
|
|
20
|
+
export type CredentialStatusInput = __PikkuCustomTypes.CredentialStatusInput
|
|
21
|
+
export type CredentialStatusOutput = __PikkuCustomTypes.CredentialStatusOutput
|
|
22
|
+
export type CredentialUsersInput = __PikkuCustomTypes.CredentialUsersInput
|
|
23
|
+
export type CredentialUsersOutput = __PikkuCustomTypes.CredentialUsersOutput
|
|
24
|
+
export type FlagClearOverrideInput = __PikkuCustomTypes.FlagClearOverrideInput
|
|
25
|
+
export type FlagClearOverrideOutput = __PikkuCustomTypes.FlagClearOverrideOutput
|
|
26
|
+
export type FlagListOutput = __PikkuCustomTypes.FlagListOutput
|
|
27
|
+
export type FlagOverridesInput = __PikkuCustomTypes.FlagOverridesInput
|
|
28
|
+
export type FlagOverridesOutput = __PikkuCustomTypes.FlagOverridesOutput
|
|
29
|
+
export type FlagPruneOutput = __PikkuCustomTypes.FlagPruneOutput
|
|
30
|
+
export type FlagSetEnabledInput = __PikkuCustomTypes.FlagSetEnabledInput
|
|
31
|
+
export type FlagSetEnabledOutput = __PikkuCustomTypes.FlagSetEnabledOutput
|
|
32
|
+
export type FlagSetOverrideInput = __PikkuCustomTypes.FlagSetOverrideInput
|
|
33
|
+
export type FlagSetOverrideOutput = __PikkuCustomTypes.FlagSetOverrideOutput
|
|
34
|
+
export type FlagSetRolloutInput = __PikkuCustomTypes.FlagSetRolloutInput
|
|
35
|
+
export type FlagSetRolloutOutput = __PikkuCustomTypes.FlagSetRolloutOutput
|
|
36
|
+
export type FlagSyncOutput = __PikkuCustomTypes.FlagSyncOutput
|
|
37
|
+
export type GetIncomingWebhookReceiptInput = __PikkuCustomTypes.GetIncomingWebhookReceiptInput
|
|
38
|
+
export type GetQueueHistoryInput = __PikkuCustomTypes.GetQueueHistoryInput
|
|
39
|
+
export type GetQueueHistoryOutput = __PikkuCustomTypes.GetQueueHistoryOutput
|
|
40
|
+
export type GetSchedulerHistoryOutput = __PikkuCustomTypes.GetSchedulerHistoryOutput
|
|
41
|
+
export type ListIncomingWebhookReceiptsInput = __PikkuCustomTypes.ListIncomingWebhookReceiptsInput
|
|
42
|
+
export type ListIncomingWebhookReceiptsOutput = __PikkuCustomTypes.ListIncomingWebhookReceiptsOutput
|
|
43
|
+
export type ListUsersInput = __PikkuCustomTypes.ListUsersInput
|
|
44
|
+
export type ListUsersOutput = __PikkuCustomTypes.ListUsersOutput
|
|
45
|
+
export type PingOutput = __PikkuCustomTypes.PingOutput
|
|
46
|
+
export type RemoveUserInput = __PikkuCustomTypes.RemoveUserInput
|
|
47
|
+
export type RemoveUserOutput = __PikkuCustomTypes.RemoveUserOutput
|
|
48
|
+
export type RevokeUserSessionsInput = __PikkuCustomTypes.RevokeUserSessionsInput
|
|
49
|
+
export type RevokeUserSessionsOutput = __PikkuCustomTypes.RevokeUserSessionsOutput
|
|
50
|
+
export type ScopeAddScopeToUserInput = __PikkuCustomTypes.ScopeAddScopeToUserInput
|
|
51
|
+
export type ScopeAddScopeToUserOutput = __PikkuCustomTypes.ScopeAddScopeToUserOutput
|
|
52
|
+
export type ScopeAddUserToRoleInput = __PikkuCustomTypes.ScopeAddUserToRoleInput
|
|
53
|
+
export type ScopeAddUserToRoleOutput = __PikkuCustomTypes.ScopeAddUserToRoleOutput
|
|
54
|
+
export type ScopeCreateRoleInput = __PikkuCustomTypes.ScopeCreateRoleInput
|
|
55
|
+
export type ScopeCreateRoleOutput = __PikkuCustomTypes.ScopeCreateRoleOutput
|
|
56
|
+
export type ScopeDeleteRoleInput = __PikkuCustomTypes.ScopeDeleteRoleInput
|
|
57
|
+
export type ScopeDeleteRoleOutput = __PikkuCustomTypes.ScopeDeleteRoleOutput
|
|
58
|
+
export type ScopeListDeclaredOutput = __PikkuCustomTypes.ScopeListDeclaredOutput
|
|
59
|
+
export type ScopeListRolesOutput = __PikkuCustomTypes.ScopeListRolesOutput
|
|
60
|
+
export type ScopeListUserRolesInput = __PikkuCustomTypes.ScopeListUserRolesInput
|
|
61
|
+
export type ScopeListUserRolesOutput = __PikkuCustomTypes.ScopeListUserRolesOutput
|
|
62
|
+
export type ScopeRemoveScopeFromUserInput = __PikkuCustomTypes.ScopeRemoveScopeFromUserInput
|
|
63
|
+
export type ScopeRemoveScopeFromUserOutput = __PikkuCustomTypes.ScopeRemoveScopeFromUserOutput
|
|
64
|
+
export type ScopeRemoveUserFromRoleInput = __PikkuCustomTypes.ScopeRemoveUserFromRoleInput
|
|
65
|
+
export type ScopeRemoveUserFromRoleOutput = __PikkuCustomTypes.ScopeRemoveUserFromRoleOutput
|
|
66
|
+
export type ScopeSetRoleScopesInput = __PikkuCustomTypes.ScopeSetRoleScopesInput
|
|
67
|
+
export type ScopeSetRoleScopesOutput = __PikkuCustomTypes.ScopeSetRoleScopesOutput
|
|
68
|
+
export type SendSignInLinkInput = __PikkuCustomTypes.SendSignInLinkInput
|
|
69
|
+
export type SendSignInLinkOutput = __PikkuCustomTypes.SendSignInLinkOutput
|
|
70
|
+
export type SetUserBannedInput = __PikkuCustomTypes.SetUserBannedInput
|
|
71
|
+
export type SetUserBannedOutput = __PikkuCustomTypes.SetUserBannedOutput
|
|
72
|
+
export type SetUserPasswordInput = __PikkuCustomTypes.SetUserPasswordInput
|
|
73
|
+
export type SetUserPasswordOutput = __PikkuCustomTypes.SetUserPasswordOutput
|
|
74
|
+
export type TriggerSourceDisableInput = __PikkuCustomTypes.TriggerSourceDisableInput
|
|
75
|
+
export type TriggerSourceDisableOutput = __PikkuCustomTypes.TriggerSourceDisableOutput
|
|
76
|
+
export type TriggerSourceEnableInput = __PikkuCustomTypes.TriggerSourceEnableInput
|
|
77
|
+
export type TriggerSourceEnableOutput = __PikkuCustomTypes.TriggerSourceEnableOutput
|
|
78
|
+
export type TriggerSourceForgetInput = __PikkuCustomTypes.TriggerSourceForgetInput
|
|
79
|
+
export type TriggerSourceForgetOutput = __PikkuCustomTypes.TriggerSourceForgetOutput
|
|
80
|
+
export type TriggerSourceListOutput = __PikkuCustomTypes.TriggerSourceListOutput
|
|
81
|
+
export type TriggerSourceReconcileInput = __PikkuCustomTypes.TriggerSourceReconcileInput
|
|
82
|
+
export type TriggerSourceReconcileOutput = __PikkuCustomTypes.TriggerSourceReconcileOutput
|
|
83
|
+
export type TriggerSourceTeardownInput = __PikkuCustomTypes.TriggerSourceTeardownInput
|
|
84
|
+
export type TriggerSourceTeardownOutput = __PikkuCustomTypes.TriggerSourceTeardownOutput
|
|
148
85
|
|
|
149
86
|
interface RPCHandler<I, O> {
|
|
150
87
|
input: I;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "events": { "type": "array", "items": { "$ref": "#/definitions/AuditEvent" } }, "users": { "$ref": "#/definitions/AuditUserDirectory", "description": "Who the user ids on this page belong to. Empty when no auth is wired, and missing an id whose account has since been deleted — the reader falls back to the id, which is what the trail actually recorded." }, "nextCursor": { "type": ["number", "null"], "description": "Offset of the next page, or `null` at the end." }, "readable": { "type": "boolean", "description": "False when the configured sink cannot be read back — a queue producer, or no sink at all. The console says so rather than showing an empty trail, because \"nothing happened\" and \"you cannot see what happened\" are very different answers to give someone auditing a system." } }, "required": ["events", "users", "nextCursor", "readable"], "additionalProperties": false, "definitions": { "AuditEvent": { "type": "object", "properties": { "eventId": { "type": "string" }, "type": { "type": "string" }, "source": { "$ref": "#/definitions/AuditSource" }, "outcome": { "$ref": "#/definitions/AuditOutcome" }, "occurredAt": { "type": "string" }, "functionId": { "type": "string" }, "wireType": { "$ref": "#/definitions/PikkuWiringTypes" }, "wireId": { "type": "string" }, "traceId": { "type": "string" }, "transactionId": { "type": ["string", "null"] }, "queryId": { "type": ["string", "null"] }, "userIdentity": { "$ref": "#/definitions/AuditUserIdentity" }, "input": {}, "metadata": { "type": "object", "additionalProperties": {} } }, "required": ["type", "source", "occurredAt"], "additionalProperties": false }, "AuditSource": { "type": "string", "enum": ["auto", "explicit"] }, "AuditOutcome": { "type": "string", "enum": ["success", "failed", "denied"] }, "PikkuWiringTypes": { "type": "string", "enum": ["http", "scheduler", "trigger", "channel", "rpc", "queue", "mcp", "cli", "workflow", "agent", "gateway"] }, "AuditUserIdentity": { "type": "object", "properties": { "userId": { "type": "string" }, "orgId": { "type": "string" }, "pikkuUserId": { "type": "string" } }, "additionalProperties": false, "description": "Who an event happened under.\n\nA user, not an \"virtualUser\": in pikku a virtual user is a synthetic person a scenario drives, flagged `virtualUser` on the user row, and the overwhelming majority of audited events are caused by ordinary customers. Naming this `virtualUser` made the synthetic case unsayable — `virtualUser.virtualUser === true` — and implied every recorded action was a test.\n\n`pikkuUserId` is the identity pikku resolves for every wire, so it is the one field a signed-out caller still leaves behind." }, "AuditUserDirectory": { "type": "object", "additionalProperties": { "$ref": "#/definitions/AuditUserProfile" }, "description": "Who each user id on a page belongs to, keyed by that id." }, "AuditUserProfile": { "type": "object", "properties": { "name": { "type": "string" }, "email": { "type": "string" }, "virtualUser": { "type": "boolean", "description": "True for a scenario virtual user — better-auth's `virtualUser` column, which the virtual user plugin sets and `CoreUserSession.virtualUser` mirrors. Absent in an app that does not run scenarios, so absence means \"an ordinary user\", not \"unknown\"." } }, "additionalProperties": false, "description": "Who a user id belongs to." } } }
|
|
1
|
+
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "events": { "type": "array", "items": { "$ref": "#/definitions/AuditEvent" } }, "users": { "$ref": "#/definitions/AuditUserDirectory", "description": "Who the user ids on this page belong to. Empty when no auth is wired, and missing an id whose account has since been deleted — the reader falls back to the id, which is what the trail actually recorded." }, "nextCursor": { "type": ["number", "null"], "description": "Offset of the next page, or `null` at the end." }, "readable": { "type": "boolean", "description": "False when the configured sink cannot be read back — a queue producer, or no sink at all. The console says so rather than showing an empty trail, because \"nothing happened\" and \"you cannot see what happened\" are very different answers to give someone auditing a system." } }, "required": ["events", "users", "nextCursor", "readable"], "additionalProperties": false, "definitions": { "AuditEvent": { "type": "object", "properties": { "eventId": { "type": "string" }, "type": { "type": "string" }, "source": { "$ref": "#/definitions/AuditSource" }, "outcome": { "$ref": "#/definitions/AuditOutcome" }, "occurredAt": { "type": "string" }, "functionId": { "type": "string" }, "wireType": { "$ref": "#/definitions/PikkuWiringTypes" }, "wireId": { "type": "string" }, "traceId": { "type": "string" }, "transactionId": { "type": ["string", "null"] }, "queryId": { "type": ["string", "null"] }, "userIdentity": { "$ref": "#/definitions/AuditUserIdentity" }, "input": {}, "metadata": { "type": "object", "additionalProperties": {} } }, "required": ["type", "source", "occurredAt"], "additionalProperties": false, "description": "One entry in the audit trail. The invocation fields (`functionId`, `wireType`, `traceId`, `userIdentity`) are filled in from the wire when an event is written through an {@link AuditLog } ." }, "AuditSource": { "type": "string", "enum": ["auto", "explicit"] }, "AuditOutcome": { "type": "string", "enum": ["success", "failed", "denied"] }, "PikkuWiringTypes": { "type": "string", "enum": ["http", "scheduler", "trigger", "channel", "rpc", "queue", "mcp", "cli", "workflow", "agent", "gateway"], "description": "Every transport a function can be wired to; read off `wire.wireType` to see how the current invocation arrived." }, "AuditUserIdentity": { "type": "object", "properties": { "userId": { "type": "string" }, "orgId": { "type": "string" }, "pikkuUserId": { "type": "string" } }, "additionalProperties": false, "description": "Who an event happened under.\n\nA user, not an \"virtualUser\": in pikku a virtual user is a synthetic person a scenario drives, flagged `virtualUser` on the user row, and the overwhelming majority of audited events are caused by ordinary customers. Naming this `virtualUser` made the synthetic case unsayable — `virtualUser.virtualUser === true` — and implied every recorded action was a test.\n\n`pikkuUserId` is the identity pikku resolves for every wire, so it is the one field a signed-out caller still leaves behind." }, "AuditUserDirectory": { "type": "object", "additionalProperties": { "$ref": "#/definitions/AuditUserProfile" }, "description": "Who each user id on a page belongs to, keyed by that id." }, "AuditUserProfile": { "type": "object", "properties": { "name": { "type": "string" }, "email": { "type": "string" }, "virtualUser": { "type": "boolean", "description": "True for a scenario virtual user — better-auth's `virtualUser` column, which the virtual user plugin sets and `CoreUserSession.virtualUser` mirrors. Absent in an app that does not run scenarios, so absence means \"an ordinary user\", not \"unknown\"." } }, "additionalProperties": false, "description": "Who a user id belongs to." } } }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": { "$ref": "#/definitions/QueueInspection" }, "definitions": { "QueueInspection": { "type": "object", "properties": { "counts": { "$ref": "#/definitions/QueueJobCounts" }, "recent": { "type": "array", "items": { "$ref": "#/definitions/QueueJobRecord" }, "description": "Newest first." } }, "required": ["counts", "recent"], "additionalProperties": false }, "QueueJobCounts": { "type": "object", "properties": { "waiting": { "type": "number" }, "active": { "type": "number" }, "completed": { "type": "number" }, "failed": { "type": "number" }, "delayed": { "type": "number" } }, "required": ["waiting", "active", "completed", "failed", "delayed"], "additionalProperties": false }, "QueueJobRecord": { "type": "object", "properties": { "jobId": { "type": "string" }, "status": { "$ref": "#/definitions/QueueJobStatus" }, "attemptsMade": { "type": "number" }, "maxAttempts": { "type": "number" }, "createdAt": { "type": "string", "format": "date-time" }, "processedAt": { "anyOf": [{ "type": "string", "format": "date-time" }, { "type": "null" }] }, "finishedAt": { "anyOf": [{ "type": "string", "format": "date-time" }, { "type": "null" }] }, "durationMs": { "type": ["number", "null"] }, "error": { "type": ["string", "null"] } }, "required": ["jobId", "status", "attemptsMade", "maxAttempts", "createdAt", "processedAt", "finishedAt", "durationMs", "error"], "additionalProperties": false }, "QueueJobStatus": { "type": "string", "enum": ["waiting", "active", "completed", "failed", "delayed"] } } }
|
|
1
|
+
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": { "$ref": "#/definitions/QueueInspection" }, "definitions": { "QueueInspection": { "type": "object", "properties": { "counts": { "$ref": "#/definitions/QueueJobCounts" }, "recent": { "type": "array", "items": { "$ref": "#/definitions/QueueJobRecord" }, "description": "Newest first." } }, "required": ["counts", "recent"], "additionalProperties": false }, "QueueJobCounts": { "type": "object", "properties": { "waiting": { "type": "number" }, "active": { "type": "number" }, "completed": { "type": "number" }, "failed": { "type": "number" }, "delayed": { "type": "number" } }, "required": ["waiting", "active", "completed", "failed", "delayed"], "additionalProperties": false }, "QueueJobRecord": { "type": "object", "properties": { "jobId": { "type": "string" }, "status": { "$ref": "#/definitions/QueueJobStatus" }, "attemptsMade": { "type": "number" }, "maxAttempts": { "type": "number" }, "createdAt": { "type": "string", "format": "date-time" }, "processedAt": { "anyOf": [{ "type": "string", "format": "date-time" }, { "type": "null" }] }, "finishedAt": { "anyOf": [{ "type": "string", "format": "date-time" }, { "type": "null" }] }, "durationMs": { "type": ["number", "null"] }, "error": { "type": ["string", "null"] } }, "required": ["jobId", "status", "attemptsMade", "maxAttempts", "createdAt", "processedAt", "finishedAt", "durationMs", "error"], "additionalProperties": false }, "QueueJobStatus": { "type": "string", "enum": ["waiting", "active", "completed", "failed", "delayed"], "description": "The lifecycle state of a queue job." } } }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "receiptId": { "type": "string" }, "source": { "type": "string" }, "providerEventId": { "type": ["string", "null"] }, "event": { "type": "string" }, "status": { "type": "string", "enum": ["pending", "delivered", "failed"] }, "attempts": { "type": "number" }, "lastError": { "type": ["string", "null"] }, "createdAt": { "type": "string", "format": "date-time" }, "deliveredAt": { "anyOf": [{ "type": "string", "format": "date-time" }, { "type": "null" }] } }, "required": ["receiptId", "source", "providerEventId", "event", "status", "attempts", "lastError", "createdAt", "deliveredAt"], "additionalProperties": false, "definitions": {} }
|
|
1
|
+
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "receiptId": { "type": "string" }, "source": { "type": "string" }, "providerEventId": { "type": ["string", "null"] }, "event": { "type": "string" }, "status": { "type": "string", "enum": ["pending", "delivered", "failed"] }, "attempts": { "type": "number" }, "lastError": { "type": ["string", "null"] }, "createdAt": { "type": "string", "format": "date-time" }, "deliveredAt": { "anyOf": [{ "type": "string", "format": "date-time" }, { "type": "null" }] } }, "required": ["receiptId", "source", "providerEventId", "event", "status", "attempts", "lastError", "createdAt", "deliveredAt"], "additionalProperties": false, "description": "A received webhook event as a store-backed {@link IncomingWebhookService } records it.", "definitions": {} }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "array", "items": { "$ref": "#/definitions/IncomingWebhookReceiptRecord" }, "definitions": { "IncomingWebhookReceiptRecord": { "type": "object", "properties": { "receiptId": { "type": "string" }, "source": { "type": "string" }, "providerEventId": { "type": ["string", "null"] }, "event": { "type": "string" }, "status": { "type": "string", "enum": ["pending", "delivered", "failed"] }, "attempts": { "type": "number" }, "lastError": { "type": ["string", "null"] }, "createdAt": { "type": "string", "format": "date-time" }, "deliveredAt": { "anyOf": [{ "type": "string", "format": "date-time" }, { "type": "null" }] } }, "required": ["receiptId", "source", "providerEventId", "event", "status", "attempts", "lastError", "createdAt", "deliveredAt"], "additionalProperties": false } } }
|
|
1
|
+
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "array", "items": { "$ref": "#/definitions/IncomingWebhookReceiptRecord" }, "definitions": { "IncomingWebhookReceiptRecord": { "type": "object", "properties": { "receiptId": { "type": "string" }, "source": { "type": "string" }, "providerEventId": { "type": ["string", "null"] }, "event": { "type": "string" }, "status": { "type": "string", "enum": ["pending", "delivered", "failed"] }, "attempts": { "type": "number" }, "lastError": { "type": ["string", "null"] }, "createdAt": { "type": "string", "format": "date-time" }, "deliveredAt": { "anyOf": [{ "type": "string", "format": "date-time" }, { "type": "null" }] } }, "required": ["receiptId", "source", "providerEventId", "event", "status", "attempts", "lastError", "createdAt", "deliveredAt"], "additionalProperties": false, "description": "A received webhook event as a store-backed {@link IncomingWebhookService } records it." } } }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "roles": { "type": "array", "items": { "$ref": "#/definitions/Role" } } }, "required": ["roles"], "additionalProperties": false, "definitions": { "Role": { "type": "object", "properties": { "name": { "type": "string" }, "description": { "type": "string" }, "scopes": { "type": "array", "items": { "type": "string" } }, "system": { "type": "boolean", "description": "True when the role was declared in code with `defineSystemRole` rather than composed by an admin. System roles may be granted, but not renamed, re-scoped or deleted — see {@link ScopeService.syncSystemRoles
|
|
1
|
+
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "roles": { "type": "array", "items": { "$ref": "#/definitions/Role" } } }, "required": ["roles"], "additionalProperties": false, "definitions": { "Role": { "type": "object", "properties": { "name": { "type": "string" }, "description": { "type": "string" }, "scopes": { "type": "array", "items": { "type": "string" } }, "system": { "type": "boolean", "description": "True when the role was declared in code with `defineSystemRole` rather than composed by an admin. System roles may be granted, but not renamed, re-scoped or deleted — see {@link ScopeService.syncSystemRoles } ." }, "declared": { "type": "boolean", "description": "False when a system role's declaration has been removed from code but its row survives: still held by whoever holds it, no longer offered for new grants, awaiting `pikku roles prune`." } }, "required": ["name", "scopes"], "additionalProperties": false, "description": "A named set of scopes that can be granted to a user." } } }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "outcome": { "$ref": "#/definitions/WebhookSourceOutcome" } }, "required": ["outcome"], "additionalProperties": false, "definitions": { "WebhookSourceOutcome": { "type": "object", "properties": { "source": { "type": "string" }, "url": { "type": "string" }, "status": { "type": "string", "enum": ["ok", "missing", "drifted", "created", "updated", "unchanged", "manual", "deleted", "absent", "skipped", "failed"] }, "reason": { "type": "string" }, "state": { "$ref": "#/definitions/WebhookSourceState" }, "instructions": { "type": "string" }, "error": { "type": "string" } }, "required": ["source", "url", "status"], "additionalProperties": false }, "WebhookSourceState": { "type": "object", "additionalProperties": {}, "description": "Whatever `setup` wants back on the next deploy, for providers whose endpoints cannot be found by label." } } }
|
|
1
|
+
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "outcome": { "$ref": "#/definitions/WebhookSourceOutcome" } }, "required": ["outcome"], "additionalProperties": false, "definitions": { "WebhookSourceOutcome": { "type": "object", "properties": { "source": { "type": "string" }, "url": { "type": "string" }, "status": { "type": "string", "enum": ["ok", "missing", "drifted", "created", "updated", "unchanged", "manual", "deleted", "absent", "skipped", "failed"] }, "reason": { "type": "string" }, "state": { "$ref": "#/definitions/WebhookSourceState" }, "instructions": { "type": "string" }, "error": { "type": "string" } }, "required": ["source", "url", "status"], "additionalProperties": false, "description": "What one lifecycle pass (`check`, `setup` or `teardown`) did for one webhook source." }, "WebhookSourceState": { "type": "object", "additionalProperties": {}, "description": "Whatever `setup` wants back on the next deploy, for providers whose endpoints cannot be found by label." } } }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "outcome": { "$ref": "#/definitions/WebhookSourceOutcome" } }, "required": ["outcome"], "additionalProperties": false, "definitions": { "WebhookSourceOutcome": { "type": "object", "properties": { "source": { "type": "string" }, "url": { "type": "string" }, "status": { "type": "string", "enum": ["ok", "missing", "drifted", "created", "updated", "unchanged", "manual", "deleted", "absent", "skipped", "failed"] }, "reason": { "type": "string" }, "state": { "$ref": "#/definitions/WebhookSourceState" }, "instructions": { "type": "string" }, "error": { "type": "string" } }, "required": ["source", "url", "status"], "additionalProperties": false }, "WebhookSourceState": { "type": "object", "additionalProperties": {}, "description": "Whatever `setup` wants back on the next deploy, for providers whose endpoints cannot be found by label." } } }
|
|
1
|
+
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "outcome": { "$ref": "#/definitions/WebhookSourceOutcome" } }, "required": ["outcome"], "additionalProperties": false, "definitions": { "WebhookSourceOutcome": { "type": "object", "properties": { "source": { "type": "string" }, "url": { "type": "string" }, "status": { "type": "string", "enum": ["ok", "missing", "drifted", "created", "updated", "unchanged", "manual", "deleted", "absent", "skipped", "failed"] }, "reason": { "type": "string" }, "state": { "$ref": "#/definitions/WebhookSourceState" }, "instructions": { "type": "string" }, "error": { "type": "string" } }, "required": ["source", "url", "status"], "additionalProperties": false, "description": "What one lifecycle pass (`check`, `setup` or `teardown`) did for one webhook source." }, "WebhookSourceState": { "type": "object", "additionalProperties": {}, "description": "Whatever `setup` wants back on the next deploy, for providers whose endpoints cannot be found by label." } } }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "sources": { "type": "array", "items": { "$ref": "#/definitions/TriggerSourceRow" } } }, "required": ["sources"], "additionalProperties": false, "definitions": { "TriggerSourceRow": { "type": "object", "additionalProperties": false, "properties": { "baseUrl": { "type": ["string", "null"] }, "labelPrefix": { "type": ["string", "null"] }, "declared": { "type": "boolean", "description": "False once the declaration has gone from code without a teardown: an orphan." }, "enabled": { "type": "boolean", "description": "Only an enabled source is registered with its provider or receives events. Off until someone turns it on." }, "status": { "type": ["string", "null"] }, "state": { "anyOf": [{ "$ref": "#/definitions/WebhookSourceState" }, { "type": "null" }] }, "detail": { "type": ["string", "null"], "description": "The last step's instructions or error." }, "updatedAt": { "type": ["string", "null"] }, "name": { "type": "string" }, "kind": { "$ref": "#/definitions/TriggerSourceKind" } }, "required": ["baseUrl", "declared", "detail", "enabled", "kind", "labelPrefix", "name", "state", "status", "updatedAt"], "description": "What was registered with the provider for one declared trigger source. `state` is what the last `setup` returned — provider identifiers only; any secret it issued lives in the credential service." }, "WebhookSourceState": { "type": "object", "additionalProperties": {}, "description": "Whatever `setup` wants back on the next deploy, for providers whose endpoints cannot be found by label." }, "TriggerSourceKind": { "type": "string", "const": "webhook" } } }
|
|
1
|
+
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "sources": { "type": "array", "items": { "$ref": "#/definitions/TriggerSourceRow" } } }, "required": ["sources"], "additionalProperties": false, "definitions": { "TriggerSourceRow": { "type": "object", "additionalProperties": false, "properties": { "baseUrl": { "type": ["string", "null"] }, "labelPrefix": { "type": ["string", "null"] }, "declared": { "type": "boolean", "description": "False once the declaration has gone from code without a teardown: an orphan." }, "enabled": { "type": "boolean", "description": "Only an enabled source is registered with its provider or receives events. Off until someone turns it on." }, "status": { "type": ["string", "null"] }, "state": { "anyOf": [{ "$ref": "#/definitions/WebhookSourceState" }, { "type": "null" }] }, "detail": { "type": ["string", "null"], "description": "The last step's instructions or error." }, "updatedAt": { "type": ["string", "null"] }, "name": { "type": "string" }, "kind": { "$ref": "#/definitions/TriggerSourceKind" } }, "required": ["baseUrl", "declared", "detail", "enabled", "kind", "labelPrefix", "name", "state", "status", "updatedAt"], "description": "What was registered with the provider for one declared trigger source. `state` is what the last `setup` returned — provider identifiers only; any secret it issued lives in the credential service." }, "WebhookSourceState": { "type": "object", "additionalProperties": {}, "description": "Whatever `setup` wants back on the next deploy, for providers whose endpoints cannot be found by label." }, "TriggerSourceKind": { "type": "string", "const": "webhook", "description": "The kinds of trigger source a provider can be registered for." } } }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "outcomes": { "type": "array", "items": { "$ref": "#/definitions/WebhookSourceOutcome" } } }, "required": ["outcomes"], "additionalProperties": false, "definitions": { "WebhookSourceOutcome": { "type": "object", "properties": { "source": { "type": "string" }, "url": { "type": "string" }, "status": { "type": "string", "enum": ["ok", "missing", "drifted", "created", "updated", "unchanged", "manual", "deleted", "absent", "skipped", "failed"] }, "reason": { "type": "string" }, "state": { "$ref": "#/definitions/WebhookSourceState" }, "instructions": { "type": "string" }, "error": { "type": "string" } }, "required": ["source", "url", "status"], "additionalProperties": false }, "WebhookSourceState": { "type": "object", "additionalProperties": {}, "description": "Whatever `setup` wants back on the next deploy, for providers whose endpoints cannot be found by label." } } }
|
|
1
|
+
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "outcomes": { "type": "array", "items": { "$ref": "#/definitions/WebhookSourceOutcome" } } }, "required": ["outcomes"], "additionalProperties": false, "definitions": { "WebhookSourceOutcome": { "type": "object", "properties": { "source": { "type": "string" }, "url": { "type": "string" }, "status": { "type": "string", "enum": ["ok", "missing", "drifted", "created", "updated", "unchanged", "manual", "deleted", "absent", "skipped", "failed"] }, "reason": { "type": "string" }, "state": { "$ref": "#/definitions/WebhookSourceState" }, "instructions": { "type": "string" }, "error": { "type": "string" } }, "required": ["source", "url", "status"], "additionalProperties": false, "description": "What one lifecycle pass (`check`, `setup` or `teardown`) did for one webhook source." }, "WebhookSourceState": { "type": "object", "additionalProperties": {}, "description": "Whatever `setup` wants back on the next deploy, for providers whose endpoints cannot be found by label." } } }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "outcomes": { "type": "array", "items": { "$ref": "#/definitions/WebhookSourceOutcome" } } }, "required": ["outcomes"], "additionalProperties": false, "definitions": { "WebhookSourceOutcome": { "type": "object", "properties": { "source": { "type": "string" }, "url": { "type": "string" }, "status": { "type": "string", "enum": ["ok", "missing", "drifted", "created", "updated", "unchanged", "manual", "deleted", "absent", "skipped", "failed"] }, "reason": { "type": "string" }, "state": { "$ref": "#/definitions/WebhookSourceState" }, "instructions": { "type": "string" }, "error": { "type": "string" } }, "required": ["source", "url", "status"], "additionalProperties": false }, "WebhookSourceState": { "type": "object", "additionalProperties": {}, "description": "Whatever `setup` wants back on the next deploy, for providers whose endpoints cannot be found by label." } } }
|
|
1
|
+
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "outcomes": { "type": "array", "items": { "$ref": "#/definitions/WebhookSourceOutcome" } } }, "required": ["outcomes"], "additionalProperties": false, "definitions": { "WebhookSourceOutcome": { "type": "object", "properties": { "source": { "type": "string" }, "url": { "type": "string" }, "status": { "type": "string", "enum": ["ok", "missing", "drifted", "created", "updated", "unchanged", "manual", "deleted", "absent", "skipped", "failed"] }, "reason": { "type": "string" }, "state": { "$ref": "#/definitions/WebhookSourceState" }, "instructions": { "type": "string" }, "error": { "type": "string" } }, "required": ["source", "url", "status"], "additionalProperties": false, "description": "What one lifecycle pass (`check`, `setup` or `teardown`) did for one webhook source." }, "WebhookSourceState": { "type": "object", "additionalProperties": {}, "description": "Whatever `setup` wants back on the next deploy, for providers whose endpoints cannot be found by label." } } }
|