Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
90 commits
Select commit Hold shift + click to select a range
175aaec
feat(auth): authenticate workload controller
peterpeterparker Jan 25, 2026
071fd43
refactor: split modules user and workload for jwt verification
peterpeterparker Jan 25, 2026
2baab4a
feat: bubble error
peterpeterparker Jan 25, 2026
ae21dee
Merge branch 'main' into feat/authenticate-workload-controller
peterpeterparker Jan 28, 2026
8e7b6ef
feat: actions
peterpeterparker Jan 28, 2026
e43ac03
feat: set controller
peterpeterparker Jan 28, 2026
3164d87
feat: return result
peterpeterparker Jan 28, 2026
bde258c
feat: try_from
peterpeterparker Jan 28, 2026
da25168
feat: did
peterpeterparker Jan 28, 2026
0d069ca
feat: auth id provider
peterpeterparker Jan 28, 2026
7eb171c
feat: more and rename type
peterpeterparker Jan 28, 2026
9caae39
fea: rename better meaning
peterpeterparker Jan 28, 2026
660c09d
feat: expose
peterpeterparker Jan 28, 2026
8b8a74b
chore: redo include
peterpeterparker Jan 28, 2026
4706433
feat: generate did
peterpeterparker Jan 28, 2026
f87b61a
feat: actions in observatory
peterpeterparker Jan 28, 2026
ed29f56
feat: one time upgrade
peterpeterparker Jan 28, 2026
20c1f5f
feat: one time upgrade
peterpeterparker Jan 28, 2026
0ad8e61
feat: export auth
peterpeterparker Jan 28, 2026
235abb5
chore: fmt
peterpeterparker Jan 28, 2026
9bf3889
chore: merge main
peterpeterparker Jan 29, 2026
46fb0aa
chore: remove unused impl
peterpeterparker Jan 29, 2026
5f193fc
feat: rename
peterpeterparker Jan 29, 2026
1a2f7b7
refactor: move
peterpeterparker Jan 29, 2026
5af54b4
chore: merge main
peterpeterparker Jan 29, 2026
648538b
refactor: move automation
peterpeterparker Jan 29, 2026
f57efd5
Merge branch 'main' into feat/authenticate-workload-controller
peterpeterparker Jan 29, 2026
755e0b8
feat: automation config
peterpeterparker Jan 29, 2026
1c7a033
chore: merge main
peterpeterparker Jan 29, 2026
4319cb0
chore: fmt
peterpeterparker Jan 29, 2026
3201b64
feat: init automation to none
peterpeterparker Jan 29, 2026
8487ecf
feat: make unsafe_find_jwt_provider generic again
peterpeterparker Jan 29, 2026
f1f220b
chore: merge main
peterpeterparker Jan 29, 2026
5f5dd94
chore: merge main
peterpeterparker Jan 29, 2026
17524bd
feat: verify with providers
peterpeterparker Jan 29, 2026
46036ed
chore: merge main
peterpeterparker Jan 29, 2026
cc8713e
feat: rework for consistency and similar pattern plus integration in …
peterpeterparker Jan 29, 2026
a0319b5
feat: move in mod
peterpeterparker Jan 29, 2026
254af33
fix: deleted types
peterpeterparker Jan 29, 2026
dc8daee
chore: merge main
peterpeterparker Jan 29, 2026
8b6b5b2
fix: issues (expect remaining credential todo)
peterpeterparker Jan 30, 2026
05139a2
feat: claims with trait
peterpeterparker Jan 30, 2026
82452dd
test: adapt
peterpeterparker Jan 30, 2026
45087b0
feat: copy claim
peterpeterparker Jan 30, 2026
70197c7
refactor: move nonce
peterpeterparker Jan 30, 2026
81cf01f
chore: merge main
peterpeterparker Jan 30, 2026
7bf62f2
feat: print GitHub
peterpeterparker Jan 30, 2026
a8d4cfc
feat: assert repo
peterpeterparker Jan 30, 2026
418da72
Merge branch 'main' into feat/authenticate-workload-controller
peterpeterparker Jan 31, 2026
5014efa
Merge branch 'main' into feat/authenticate-workload-controller
peterpeterparker Jan 31, 2026
48d82f3
Merge branch 'main' into feat/authenticate-workload-controller
peterpeterparker Feb 1, 2026
c814fbd
Merge branch 'main' into feat/authenticate-workload-controller
peterpeterparker Feb 3, 2026
4d821c5
feat(satellite): save automation jti and basic data (#2565)
peterpeterparker Feb 4, 2026
a563c1d
feat: make custom
peterpeterparker Feb 4, 2026
83e4514
feat: save workflow metadata
peterpeterparker Feb 4, 2026
17259a0
feat: assert write automation
peterpeterparker Feb 4, 2026
8a72073
chore: fmt
peterpeterparker Feb 4, 2026
d77d27e
Merge branch 'main' into feat/authenticate-workload-controller
peterpeterparker Feb 5, 2026
a4c0ac8
Merge branch 'main' into feat/authenticate-workload-controller
peterpeterparker Feb 5, 2026
addad94
Merge branch 'main' into feat/authenticate-workload-controller
peterpeterparker Feb 6, 2026
ef9bd7b
feat: register controller
peterpeterparker Feb 6, 2026
0a37c62
test: remove nonce (there is none here)
peterpeterparker Feb 6, 2026
2282def
Merge branch 'main' into feat/authenticate-workload-controller
peterpeterparker Feb 6, 2026
6ff644f
Merge branch 'main' into feat/authenticate-workload-controller
peterpeterparker Feb 6, 2026
8d45251
feat: generate did
peterpeterparker Feb 6, 2026
b32d169
feat: no rate config jti is unique we can always add one
peterpeterparker Feb 6, 2026
bf14686
feat: controllers assertion
peterpeterparker Feb 6, 2026
f34d384
chore: merge main
peterpeterparker Feb 6, 2026
02f0b7a
chore: clippy
peterpeterparker Feb 6, 2026
161cfed
chore: merge main
peterpeterparker Feb 6, 2026
e523663
chore: remove moved mod
peterpeterparker Feb 6, 2026
5c15bef
feat: set automation
peterpeterparker Feb 6, 2026
7e887bc
Merge branch 'main' into feat/authenticate-workload-controller
peterpeterparker Feb 6, 2026
3ffd51f
feat: expose set automation config
peterpeterparker Feb 6, 2026
51fb242
feat: generate did with automation config
peterpeterparker Feb 6, 2026
7ceed2d
feat: move repo to custom
peterpeterparker Feb 7, 2026
ecd5954
feat: assert audience
peterpeterparker Feb 7, 2026
63c8543
feat: caller is the controller id
peterpeterparker Feb 7, 2026
fc22566
Merge branch 'main' into feat/authenticate-workload-controller
peterpeterparker Feb 7, 2026
c496236
Merge branch 'main' into feat/authenticate-workload-controller
peterpeterparker Feb 8, 2026
5be3f9b
feat: use salt
peterpeterparker Feb 9, 2026
23e66bc
feat: use salt
peterpeterparker Feb 9, 2026
0d51d2c
chore: merge main
peterpeterparker Feb 9, 2026
ef817c8
Merge branch 'main' into feat/authenticate-workload-controller
peterpeterparker Feb 10, 2026
2f4212b
docs: update comment
peterpeterparker Feb 10, 2026
2b3fb29
feat: return automation with get_config
peterpeterparker Feb 10, 2026
0ebeeaf
feat: include set and get automation config
peterpeterparker Feb 10, 2026
742abf4
feat: return prepared automation
peterpeterparker Feb 10, 2026
a4de006
feat: return prepared automation
peterpeterparker Feb 10, 2026
9637248
Merge branch 'main' into feat/authenticate-workload-controller
peterpeterparker Feb 10, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 71 additions & 0 deletions src/declarations/satellite/satellite.did.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,27 @@ export interface AssetNoContent {
export interface AssetsUpgradeOptions {
clear_existing_assets: [] | [boolean];
}
export type AuthenticateAutomationArgs = {
OpenId: OpenIdPrepareAutomationArgs;
};
export type AuthenticateAutomationResultResponse =
| {
Ok: [Principal, AutomationController];
}
| { Err: AuthenticationAutomationError };
export type AuthenticateResultResponse = { Ok: Authentication } | { Err: AuthenticationError };
export interface Authentication {
doc: Doc;
delegation: PreparedDelegation;
}
export type AuthenticationArgs = { OpenId: OpenIdPrepareDelegationArgs };
export type AuthenticationAutomationError =
| {
PrepareAutomation: PrepareAutomationError;
}
| { RegisterController: string }
| { SaveWorkflowMetadata: string }
| { SaveUniqueJtiToken: string };
export interface AuthenticationConfig {
updated_at: [] | [bigint];
openid: [] | [AuthenticationConfigOpenId];
Expand All @@ -64,6 +79,21 @@ export type AuthenticationError =
export interface AuthenticationRules {
allowed_callers: Array<Principal>;
}
export interface AutomationConfig {
updated_at: [] | [bigint];
openid: [] | [AutomationConfigOpenId];
created_at: [] | [bigint];
version: [] | [bigint];
}
export interface AutomationConfigOpenId {
observatory_id: [] | [Principal];
providers: Array<[OpenIdAutomationProvider, OpenIdAutomationProviderConfig]>;
}
export interface AutomationController {
scope: AutomationScope;
expires_at: bigint;
}
export type AutomationScope = { Write: null } | { Submit: null };
export type CollectionType = { Db: null } | { Storage: null };
export interface CommitBatch {
batch_id: bigint;
Expand All @@ -78,6 +108,7 @@ export interface Config {
db: [] | [DbConfig];
authentication: [] | [AuthenticationConfig];
storage: StorageConfig;
automation: [] | [AutomationConfig];
}
export interface ConfigMaxMemorySize {
stable: [] | [bigint];
Expand Down Expand Up @@ -269,13 +300,29 @@ export interface OpenIdAuthProviderDelegationConfig {
targets: [] | [Array<Principal>];
max_time_to_live: [] | [bigint];
}
export type OpenIdAutomationProvider = { GitHub: null };
export interface OpenIdAutomationProviderConfig {
controller: [] | [OpenIdAutomationProviderControllerConfig];
repositories: Array<[RepositoryKey, OpenIdAutomationRepositoryConfig]>;
}
export interface OpenIdAutomationProviderControllerConfig {
scope: [] | [AutomationScope];
max_time_to_live: [] | [bigint];
}
export interface OpenIdAutomationRepositoryConfig {
branches: [] | [Array<string>];
}
export type OpenIdDelegationProvider = { GitHub: null } | { Google: null };
export interface OpenIdGetDelegationArgs {
jwt: string;
session_key: Uint8Array;
salt: Uint8Array;
expiration: bigint;
}
export interface OpenIdPrepareAutomationArgs {
jwt: string;
salt: Uint8Array;
}
export interface OpenIdPrepareDelegationArgs {
jwt: string;
session_key: Uint8Array;
Expand All @@ -286,6 +333,16 @@ export type Permission =
| { Private: null }
| { Public: null }
| { Managed: null };
export type PrepareAutomationError =
| {
JwtFindProvider: JwtFindProviderError;
}
| { InvalidController: string }
| { GetCachedJwks: null }
| { JwtVerify: JwtVerifyError }
| { GetOrFetchJwks: GetOrRefreshJwksError }
| { ControllerAlreadyExists: null }
| { TooManyControllers: string };
export type PrepareDelegationError =
| {
JwtFindProvider: JwtFindProviderError;
Expand Down Expand Up @@ -325,6 +382,10 @@ export interface RateConfig {
max_tokens: bigint;
time_per_token_ns: bigint;
}
export interface RepositoryKey {
owner: string;
name: string;
}
export interface Rule {
max_capacity: [] | [number];
memory: [] | [Memory];
Expand All @@ -349,6 +410,10 @@ export interface SetAuthenticationConfig {
internet_identity: [] | [AuthenticationConfigInternetIdentity];
rules: [] | [AuthenticationRules];
}
export interface SetAutomationConfig {
openid: [] | [AutomationConfigOpenId];
version: [] | [bigint];
}
export interface SetController {
metadata: Array<[string, string]>;
kind: [] | [ControllerKind];
Expand Down Expand Up @@ -443,6 +508,10 @@ export interface UploadChunkResult {
}
export interface _SERVICE {
authenticate: ActorMethod<[AuthenticationArgs], AuthenticateResultResponse>;
authenticate_automation: ActorMethod<
[AuthenticateAutomationArgs],
AuthenticateAutomationResultResponse
>;
commit_asset_upload: ActorMethod<[CommitBatch], undefined>;
commit_proposal: ActorMethod<[CommitProposal], null>;
commit_proposal_asset_upload: ActorMethod<[CommitBatch], undefined>;
Expand All @@ -467,6 +536,7 @@ export interface _SERVICE {
deposit_cycles: ActorMethod<[DepositCyclesArgs], undefined>;
get_asset: ActorMethod<[string, string], [] | [AssetNoContent]>;
get_auth_config: ActorMethod<[], [] | [AuthenticationConfig]>;
get_automation_config: ActorMethod<[], [] | [AutomationConfig]>;
get_config: ActorMethod<[], Config>;
get_db_config: ActorMethod<[], [] | [DbConfig]>;
get_delegation: ActorMethod<[GetDelegationArgs], GetDelegationResultResponse>;
Expand Down Expand Up @@ -498,6 +568,7 @@ export interface _SERVICE {
reject_proposal: ActorMethod<[CommitProposal], null>;
set_asset_token: ActorMethod<[string, string, [] | [string]], undefined>;
set_auth_config: ActorMethod<[SetAuthenticationConfig], AuthenticationConfig>;
set_automation_config: ActorMethod<[SetAutomationConfig], AutomationConfig>;
set_controllers: ActorMethod<[SetControllersArgs], Array<[Principal, Controller]>>;
set_custom_domain: ActorMethod<[string, [] | [string]], undefined>;
set_db_config: ActorMethod<[SetDbConfig], DbConfig>;
Expand Down
71 changes: 70 additions & 1 deletion src/declarations/satellite/satellite.factory.certified.did.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,40 @@ export const idlFactory = ({ IDL }) => {
Ok: Authentication,
Err: AuthenticationError
});
const OpenIdPrepareAutomationArgs = IDL.Record({
jwt: IDL.Text,
salt: IDL.Vec(IDL.Nat8)
});
const AuthenticateAutomationArgs = IDL.Variant({
OpenId: OpenIdPrepareAutomationArgs
});
const AutomationScope = IDL.Variant({
Write: IDL.Null,
Submit: IDL.Null
});
const AutomationController = IDL.Record({
scope: AutomationScope,
expires_at: IDL.Nat64
});
const PrepareAutomationError = IDL.Variant({
JwtFindProvider: JwtFindProviderError,
InvalidController: IDL.Text,
GetCachedJwks: IDL.Null,
JwtVerify: JwtVerifyError,
GetOrFetchJwks: GetOrRefreshJwksError,
ControllerAlreadyExists: IDL.Null,
TooManyControllers: IDL.Text
});
const AuthenticationAutomationError = IDL.Variant({
PrepareAutomation: PrepareAutomationError,
RegisterController: IDL.Text,
SaveWorkflowMetadata: IDL.Text,
SaveUniqueJtiToken: IDL.Text
});
const AuthenticateAutomationResultResponse = IDL.Variant({
Ok: IDL.Tuple(IDL.Principal, AutomationController),
Err: AuthenticationAutomationError
});
const CommitBatch = IDL.Record({
batch_id: IDL.Nat,
headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
Expand Down Expand Up @@ -194,6 +228,29 @@ export const idlFactory = ({ IDL }) => {
internet_identity: IDL.Opt(AuthenticationConfigInternetIdentity),
rules: IDL.Opt(AuthenticationRules)
});
const OpenIdAutomationProvider = IDL.Variant({ GitHub: IDL.Null });
const OpenIdAutomationProviderControllerConfig = IDL.Record({
scope: IDL.Opt(AutomationScope),
max_time_to_live: IDL.Opt(IDL.Nat64)
});
const RepositoryKey = IDL.Record({ owner: IDL.Text, name: IDL.Text });
const OpenIdAutomationRepositoryConfig = IDL.Record({
branches: IDL.Opt(IDL.Vec(IDL.Text))
});
const OpenIdAutomationProviderConfig = IDL.Record({
controller: IDL.Opt(OpenIdAutomationProviderControllerConfig),
repositories: IDL.Vec(IDL.Tuple(RepositoryKey, OpenIdAutomationRepositoryConfig))
});
const AutomationConfigOpenId = IDL.Record({
observatory_id: IDL.Opt(IDL.Principal),
providers: IDL.Vec(IDL.Tuple(OpenIdAutomationProvider, OpenIdAutomationProviderConfig))
});
const AutomationConfig = IDL.Record({
updated_at: IDL.Opt(IDL.Nat64),
openid: IDL.Opt(AutomationConfigOpenId),
created_at: IDL.Opt(IDL.Nat64),
version: IDL.Opt(IDL.Nat64)
});
const ConfigMaxMemorySize = IDL.Record({
stable: IDL.Opt(IDL.Nat64),
heap: IDL.Opt(IDL.Nat64)
Expand Down Expand Up @@ -231,7 +288,8 @@ export const idlFactory = ({ IDL }) => {
const Config = IDL.Record({
db: IDL.Opt(DbConfig),
authentication: IDL.Opt(AuthenticationConfig),
storage: StorageConfig
storage: StorageConfig,
automation: IDL.Opt(AutomationConfig)
});
const OpenIdGetDelegationArgs = IDL.Record({
jwt: IDL.Text,
Expand Down Expand Up @@ -404,6 +462,10 @@ export const idlFactory = ({ IDL }) => {
internet_identity: IDL.Opt(AuthenticationConfigInternetIdentity),
rules: IDL.Opt(AuthenticationRules)
});
const SetAutomationConfig = IDL.Record({
openid: IDL.Opt(AutomationConfigOpenId),
version: IDL.Opt(IDL.Nat64)
});
const SetController = IDL.Record({
metadata: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
kind: IDL.Opt(ControllerKind),
Expand Down Expand Up @@ -452,6 +514,11 @@ export const idlFactory = ({ IDL }) => {

return IDL.Service({
authenticate: IDL.Func([AuthenticationArgs], [AuthenticateResultResponse], []),
authenticate_automation: IDL.Func(
[AuthenticateAutomationArgs],
[AuthenticateAutomationResultResponse],
[]
),
commit_asset_upload: IDL.Func([CommitBatch], [], []),
commit_proposal: IDL.Func([CommitProposal], [IDL.Null], []),
commit_proposal_asset_upload: IDL.Func([CommitBatch], [], []),
Expand Down Expand Up @@ -480,6 +547,7 @@ export const idlFactory = ({ IDL }) => {
deposit_cycles: IDL.Func([DepositCyclesArgs], [], []),
get_asset: IDL.Func([IDL.Text, IDL.Text], [IDL.Opt(AssetNoContent)], []),
get_auth_config: IDL.Func([], [IDL.Opt(AuthenticationConfig)], []),
get_automation_config: IDL.Func([], [IDL.Opt(AutomationConfig)], []),
get_config: IDL.Func([], [Config], []),
get_db_config: IDL.Func([], [IDL.Opt(DbConfig)], []),
get_delegation: IDL.Func([GetDelegationArgs], [GetDelegationResultResponse], []),
Expand Down Expand Up @@ -521,6 +589,7 @@ export const idlFactory = ({ IDL }) => {
reject_proposal: IDL.Func([CommitProposal], [IDL.Null], []),
set_asset_token: IDL.Func([IDL.Text, IDL.Text, IDL.Opt(IDL.Text)], [], []),
set_auth_config: IDL.Func([SetAuthenticationConfig], [AuthenticationConfig], []),
set_automation_config: IDL.Func([SetAutomationConfig], [AutomationConfig], []),
set_controllers: IDL.Func(
[SetControllersArgs],
[IDL.Vec(IDL.Tuple(IDL.Principal, Controller))],
Expand Down
71 changes: 70 additions & 1 deletion src/declarations/satellite/satellite.factory.did.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,40 @@ export const idlFactory = ({ IDL }) => {
Ok: Authentication,
Err: AuthenticationError
});
const OpenIdPrepareAutomationArgs = IDL.Record({
jwt: IDL.Text,
salt: IDL.Vec(IDL.Nat8)
});
const AuthenticateAutomationArgs = IDL.Variant({
OpenId: OpenIdPrepareAutomationArgs
});
const AutomationScope = IDL.Variant({
Write: IDL.Null,
Submit: IDL.Null
});
const AutomationController = IDL.Record({
scope: AutomationScope,
expires_at: IDL.Nat64
});
const PrepareAutomationError = IDL.Variant({
JwtFindProvider: JwtFindProviderError,
InvalidController: IDL.Text,
GetCachedJwks: IDL.Null,
JwtVerify: JwtVerifyError,
GetOrFetchJwks: GetOrRefreshJwksError,
ControllerAlreadyExists: IDL.Null,
TooManyControllers: IDL.Text
});
const AuthenticationAutomationError = IDL.Variant({
PrepareAutomation: PrepareAutomationError,
RegisterController: IDL.Text,
SaveWorkflowMetadata: IDL.Text,
SaveUniqueJtiToken: IDL.Text
});
const AuthenticateAutomationResultResponse = IDL.Variant({
Ok: IDL.Tuple(IDL.Principal, AutomationController),
Err: AuthenticationAutomationError
});
const CommitBatch = IDL.Record({
batch_id: IDL.Nat,
headers: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
Expand Down Expand Up @@ -194,6 +228,29 @@ export const idlFactory = ({ IDL }) => {
internet_identity: IDL.Opt(AuthenticationConfigInternetIdentity),
rules: IDL.Opt(AuthenticationRules)
});
const OpenIdAutomationProvider = IDL.Variant({ GitHub: IDL.Null });
const OpenIdAutomationProviderControllerConfig = IDL.Record({
scope: IDL.Opt(AutomationScope),
max_time_to_live: IDL.Opt(IDL.Nat64)
});
const RepositoryKey = IDL.Record({ owner: IDL.Text, name: IDL.Text });
const OpenIdAutomationRepositoryConfig = IDL.Record({
branches: IDL.Opt(IDL.Vec(IDL.Text))
});
const OpenIdAutomationProviderConfig = IDL.Record({
controller: IDL.Opt(OpenIdAutomationProviderControllerConfig),
repositories: IDL.Vec(IDL.Tuple(RepositoryKey, OpenIdAutomationRepositoryConfig))
});
const AutomationConfigOpenId = IDL.Record({
observatory_id: IDL.Opt(IDL.Principal),
providers: IDL.Vec(IDL.Tuple(OpenIdAutomationProvider, OpenIdAutomationProviderConfig))
});
const AutomationConfig = IDL.Record({
updated_at: IDL.Opt(IDL.Nat64),
openid: IDL.Opt(AutomationConfigOpenId),
created_at: IDL.Opt(IDL.Nat64),
version: IDL.Opt(IDL.Nat64)
});
const ConfigMaxMemorySize = IDL.Record({
stable: IDL.Opt(IDL.Nat64),
heap: IDL.Opt(IDL.Nat64)
Expand Down Expand Up @@ -231,7 +288,8 @@ export const idlFactory = ({ IDL }) => {
const Config = IDL.Record({
db: IDL.Opt(DbConfig),
authentication: IDL.Opt(AuthenticationConfig),
storage: StorageConfig
storage: StorageConfig,
automation: IDL.Opt(AutomationConfig)
});
const OpenIdGetDelegationArgs = IDL.Record({
jwt: IDL.Text,
Expand Down Expand Up @@ -404,6 +462,10 @@ export const idlFactory = ({ IDL }) => {
internet_identity: IDL.Opt(AuthenticationConfigInternetIdentity),
rules: IDL.Opt(AuthenticationRules)
});
const SetAutomationConfig = IDL.Record({
openid: IDL.Opt(AutomationConfigOpenId),
version: IDL.Opt(IDL.Nat64)
});
const SetController = IDL.Record({
metadata: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
kind: IDL.Opt(ControllerKind),
Expand Down Expand Up @@ -452,6 +514,11 @@ export const idlFactory = ({ IDL }) => {

return IDL.Service({
authenticate: IDL.Func([AuthenticationArgs], [AuthenticateResultResponse], []),
authenticate_automation: IDL.Func(
[AuthenticateAutomationArgs],
[AuthenticateAutomationResultResponse],
[]
),
commit_asset_upload: IDL.Func([CommitBatch], [], []),
commit_proposal: IDL.Func([CommitProposal], [IDL.Null], []),
commit_proposal_asset_upload: IDL.Func([CommitBatch], [], []),
Expand Down Expand Up @@ -480,6 +547,7 @@ export const idlFactory = ({ IDL }) => {
deposit_cycles: IDL.Func([DepositCyclesArgs], [], []),
get_asset: IDL.Func([IDL.Text, IDL.Text], [IDL.Opt(AssetNoContent)], ['query']),
get_auth_config: IDL.Func([], [IDL.Opt(AuthenticationConfig)], ['query']),
get_automation_config: IDL.Func([], [IDL.Opt(AutomationConfig)], ['query']),
get_config: IDL.Func([], [Config], []),
get_db_config: IDL.Func([], [IDL.Opt(DbConfig)], ['query']),
get_delegation: IDL.Func([GetDelegationArgs], [GetDelegationResultResponse], ['query']),
Expand Down Expand Up @@ -521,6 +589,7 @@ export const idlFactory = ({ IDL }) => {
reject_proposal: IDL.Func([CommitProposal], [IDL.Null], []),
set_asset_token: IDL.Func([IDL.Text, IDL.Text, IDL.Opt(IDL.Text)], [], []),
set_auth_config: IDL.Func([SetAuthenticationConfig], [AuthenticationConfig], []),
set_automation_config: IDL.Func([SetAutomationConfig], [AutomationConfig], []),
set_controllers: IDL.Func(
[SetControllersArgs],
[IDL.Vec(IDL.Tuple(IDL.Principal, Controller))],
Expand Down
Loading
Loading