@persei/perseed-api 5.0.20 → 5.0.21
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/client.cjs +103 -8
- package/dist/client.cjs.map +1 -1
- package/dist/client.mjs +103 -8
- package/dist/client.mjs.map +1 -1
- package/dist/ecosystem-action-system.cjs +82 -2
- package/dist/ecosystem-action-system.cjs.map +1 -1
- package/dist/ecosystem-action-system.mjs +82 -2
- package/dist/ecosystem-action-system.mjs.map +1 -1
- package/dist/lib/src/generated/client.d.ts +594 -77
- package/dist/lib/src/generated/client.d.ts.map +1 -1
- package/dist/src/Services/ProcessLogService.d.ts +1 -1
- package/dist/src/Services/ProcessLogService.d.ts.map +1 -1
- package/dist/src/Services/QueryService.d.ts +24 -1
- package/dist/src/Services/QueryService.d.ts.map +1 -1
- package/dist/src/Services/RedisQueueService.d.ts.map +1 -1
- package/dist/src/models/ecosystem/NotificationConfiguration.d.ts +1 -1
- package/dist/src/models/ecosystem/NotificationConfiguration.d.ts.map +1 -1
- package/dist/src/models/ecosystem/User.d.ts +17 -0
- package/dist/src/models/ecosystem/User.d.ts.map +1 -1
- package/dist/src/models/ecosystem/User.getProjectUser.test.d.ts +2 -0
- package/dist/src/models/ecosystem/User.getProjectUser.test.d.ts.map +1 -0
- package/dist/src/models/perseed/PerseedEcosystem.d.ts +2 -0
- package/dist/src/models/perseed/PerseedEcosystem.d.ts.map +1 -1
- package/dist/src/schemas/api_action/ApiActionTypes.d.ts +11 -0
- package/dist/src/schemas/api_action/ApiActionTypes.d.ts.map +1 -1
- package/dist/src/schemas/index.d.ts +1 -0
- package/dist/src/schemas/index.d.ts.map +1 -1
- package/dist/src/schemas/project_user/index.d.ts +2 -0
- package/dist/src/schemas/project_user/index.d.ts.map +1 -0
- package/dist/src/schemas/project_user/types.d.ts +44 -0
- package/dist/src/schemas/project_user/types.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.controller/manual-trigger.controller.d.ts.map +1 -1
- package/dist/src/v2/modules/ecosystem/action-system/action-system.helper/action-system.helper.d.ts +26 -4
- package/dist/src/v2/modules/ecosystem/action-system/action-system.helper/action-system.helper.d.ts.map +1 -1
- package/dist/src/v2/modules/ecosystem/action-system/action-system.helper/index.d.ts +1 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.helper/index.d.ts.map +1 -1
- package/dist/src/v2/modules/ecosystem/action-system/action-system.helper/manual-trigger.helper.d.ts +13 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.helper/manual-trigger.helper.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.helper/manual-trigger.helper.test.d.ts +2 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.helper/manual-trigger.helper.test.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.model.d.ts +2 -1
- package/dist/src/v2/modules/ecosystem/action-system/action-system.model.d.ts.map +1 -1
- package/dist/src/v2/modules/ecosystem/action-system/action-system.schema.d.ts +165 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.schema.d.ts.map +1 -1
- package/dist/src/v2/modules/ecosystem/action-system/action-system.service/manual-trigger-engine.service.d.ts +6 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.service/manual-trigger-engine.service.d.ts.map +1 -1
- package/dist/src/v2/modules/ecosystem/action-system/action-system.service/manual-trigger.service.d.ts +42 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.service/manual-trigger.service.d.ts.map +1 -1
- package/dist/src/v2/modules/ecosystem/action-system/action-system.service/trigger-engine.service.d.ts +5 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.service/trigger-engine.service.d.ts.map +1 -1
- package/dist/src/v2/modules/ecosystem/process-log/index.d.ts +3 -0
- package/dist/src/v2/modules/ecosystem/process-log/index.d.ts.map +1 -0
- package/dist/src/{models/ecosystem/ProcessLog.d.ts → v2/modules/ecosystem/process-log/process-log.model.d.ts} +5 -5
- package/dist/src/v2/modules/ecosystem/process-log/process-log.model.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/process-log/process-log.model.test.d.ts +2 -0
- package/dist/src/v2/modules/ecosystem/process-log/process-log.model.test.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/process-log/process-log.service.d.ts +20 -0
- package/dist/src/v2/modules/ecosystem/process-log/process-log.service.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/process-log/process-log.service.e2e.d.ts +2 -0
- package/dist/src/v2/modules/ecosystem/process-log/process-log.service.e2e.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/process-log/process-log.service.test.d.ts +2 -0
- package/dist/src/v2/modules/ecosystem/process-log/process-log.service.test.d.ts.map +1 -0
- package/dist/src/v2/modules/global/e2e-operation/e2e-operation.controller.d.ts.map +1 -1
- package/dist/src/v2/modules/global/e2e-operation/e2e-operation.service.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/src/models/ecosystem/ProcessLog.d.ts.map +0 -1
- package/dist/src/models/ecosystem/ProcessLog.test.d.ts +0 -2
- package/dist/src/models/ecosystem/ProcessLog.test.d.ts.map +0 -1
|
@@ -3452,6 +3452,86 @@ export type ListManualTriggers200ResultsItemAllOfRelations = ListManualTriggers2
|
|
|
3452
3452
|
* Retention in days for the process_log entries of this trigger (issue #175). Origin — no inheritance: null or 0 = disabled (never expires); N (>0) = enabled (expires N days after write).
|
|
3453
3453
|
*/
|
|
3454
3454
|
export type ListManualTriggers200ResultsItemAllOfRetentionDays = number | null;
|
|
3455
|
+
/**
|
|
3456
|
+
* What to do with the button when the trigger does not match: hide it or disable it
|
|
3457
|
+
*/
|
|
3458
|
+
export type ListManualTriggers200ResultsItemAllOfConfigAnyOfUnmatchedBehavior = (typeof ListManualTriggers200ResultsItemAllOfConfigAnyOfUnmatchedBehavior)[keyof typeof ListManualTriggers200ResultsItemAllOfConfigAnyOfUnmatchedBehavior];
|
|
3459
|
+
export declare const ListManualTriggers200ResultsItemAllOfConfigAnyOfUnmatchedBehavior: {
|
|
3460
|
+
readonly hide: "hide";
|
|
3461
|
+
readonly disable: "disable";
|
|
3462
|
+
};
|
|
3463
|
+
/**
|
|
3464
|
+
* Side of the label the icon sits on
|
|
3465
|
+
*/
|
|
3466
|
+
export type ListManualTriggers200ResultsItemAllOfConfigAnyOfStylesIconPosition = (typeof ListManualTriggers200ResultsItemAllOfConfigAnyOfStylesIconPosition)[keyof typeof ListManualTriggers200ResultsItemAllOfConfigAnyOfStylesIconPosition];
|
|
3467
|
+
export declare const ListManualTriggers200ResultsItemAllOfConfigAnyOfStylesIconPosition: {
|
|
3468
|
+
readonly left: "left";
|
|
3469
|
+
readonly right: "right";
|
|
3470
|
+
};
|
|
3471
|
+
/**
|
|
3472
|
+
* Presentation of the button a manual trigger is offered on
|
|
3473
|
+
*/
|
|
3474
|
+
export type ListManualTriggers200ResultsItemAllOfConfigAnyOfStyles = {
|
|
3475
|
+
/** Handlebars template rendered as the button label */
|
|
3476
|
+
text?: string;
|
|
3477
|
+
/** Label colour */
|
|
3478
|
+
textColor?: string;
|
|
3479
|
+
/** Background colour */
|
|
3480
|
+
bgColor?: string;
|
|
3481
|
+
/** Icon name, resolved by the consumer */
|
|
3482
|
+
icon?: string;
|
|
3483
|
+
/** Side of the label the icon sits on */
|
|
3484
|
+
iconPosition?: ListManualTriggers200ResultsItemAllOfConfigAnyOfStylesIconPosition;
|
|
3485
|
+
};
|
|
3486
|
+
/**
|
|
3487
|
+
* Side of the label the icon sits on
|
|
3488
|
+
*/
|
|
3489
|
+
export type ListManualTriggers200ResultsItemAllOfConfigAnyOfConditionalStylesItemAllOfIconPosition = (typeof ListManualTriggers200ResultsItemAllOfConfigAnyOfConditionalStylesItemAllOfIconPosition)[keyof typeof ListManualTriggers200ResultsItemAllOfConfigAnyOfConditionalStylesItemAllOfIconPosition];
|
|
3490
|
+
export declare const ListManualTriggers200ResultsItemAllOfConfigAnyOfConditionalStylesItemAllOfIconPosition: {
|
|
3491
|
+
readonly left: "left";
|
|
3492
|
+
readonly right: "right";
|
|
3493
|
+
};
|
|
3494
|
+
/**
|
|
3495
|
+
* Presentation of the button a manual trigger is offered on
|
|
3496
|
+
*/
|
|
3497
|
+
export type ListManualTriggers200ResultsItemAllOfConfigAnyOfConditionalStylesItemAllOf = {
|
|
3498
|
+
/** Handlebars template rendered as the button label */
|
|
3499
|
+
text?: string;
|
|
3500
|
+
/** Label colour */
|
|
3501
|
+
textColor?: string;
|
|
3502
|
+
/** Background colour */
|
|
3503
|
+
bgColor?: string;
|
|
3504
|
+
/** Icon name, resolved by the consumer */
|
|
3505
|
+
icon?: string;
|
|
3506
|
+
/** Side of the label the icon sits on */
|
|
3507
|
+
iconPosition?: ListManualTriggers200ResultsItemAllOfConfigAnyOfConditionalStylesItemAllOfIconPosition;
|
|
3508
|
+
};
|
|
3509
|
+
export type ListManualTriggers200ResultsItemAllOfConfigAnyOfConditionalStylesItemAllOfThreeConditionsAnyOf = {
|
|
3510
|
+
[key: string]: unknown;
|
|
3511
|
+
};
|
|
3512
|
+
/**
|
|
3513
|
+
* jsonLogic conditions selecting this style. Absent or null always applies
|
|
3514
|
+
*/
|
|
3515
|
+
export type ListManualTriggers200ResultsItemAllOfConfigAnyOfConditionalStylesItemAllOfThreeConditions = ListManualTriggers200ResultsItemAllOfConfigAnyOfConditionalStylesItemAllOfThreeConditionsAnyOf | null;
|
|
3516
|
+
export type ListManualTriggers200ResultsItemAllOfConfigAnyOfConditionalStylesItemAllOfThree = {
|
|
3517
|
+
/** jsonLogic conditions selecting this style. Absent or null always applies */
|
|
3518
|
+
conditions?: ListManualTriggers200ResultsItemAllOfConfigAnyOfConditionalStylesItemAllOfThreeConditions;
|
|
3519
|
+
/** Keep evaluating later entries after this one matches */
|
|
3520
|
+
continueEvaluate?: boolean;
|
|
3521
|
+
};
|
|
3522
|
+
export type ListManualTriggers200ResultsItemAllOfConfigAnyOfConditionalStylesItem = ListManualTriggers200ResultsItemAllOfConfigAnyOfConditionalStylesItemAllOf & ListManualTriggers200ResultsItemAllOfConfigAnyOfConditionalStylesItemAllOfThree;
|
|
3523
|
+
export type ListManualTriggers200ResultsItemAllOfConfigAnyOf = {
|
|
3524
|
+
/** What to do with the button when the trigger does not match: hide it or disable it */
|
|
3525
|
+
unmatchedBehavior?: ListManualTriggers200ResultsItemAllOfConfigAnyOfUnmatchedBehavior;
|
|
3526
|
+
/** Presentation of the button a manual trigger is offered on */
|
|
3527
|
+
styles?: ListManualTriggers200ResultsItemAllOfConfigAnyOfStyles;
|
|
3528
|
+
conditionalStyles?: ListManualTriggers200ResultsItemAllOfConfigAnyOfConditionalStylesItem[];
|
|
3529
|
+
[key: string]: unknown;
|
|
3530
|
+
};
|
|
3531
|
+
/**
|
|
3532
|
+
* Configuration of the trigger beyond its firing rules. Null means none
|
|
3533
|
+
*/
|
|
3534
|
+
export type ListManualTriggers200ResultsItemAllOfConfig = ListManualTriggers200ResultsItemAllOfConfigAnyOf | null;
|
|
3455
3535
|
/**
|
|
3456
3536
|
* Manual trigger definition (ecosystem level)
|
|
3457
3537
|
*/
|
|
@@ -3480,28 +3560,30 @@ export type ListManualTriggers200ResultsItemAllOf = {
|
|
|
3480
3560
|
enabled?: boolean;
|
|
3481
3561
|
/** Retention in days for the process_log entries of this trigger (issue #175). Origin — no inheritance: null or 0 = disabled (never expires); N (>0) = enabled (expires N days after write). */
|
|
3482
3562
|
retention_days?: ListManualTriggers200ResultsItemAllOfRetentionDays;
|
|
3563
|
+
/** Configuration of the trigger beyond its firing rules. Null means none */
|
|
3564
|
+
config?: ListManualTriggers200ResultsItemAllOfConfig;
|
|
3483
3565
|
};
|
|
3484
3566
|
/**
|
|
3485
3567
|
* Project this action belongs to. Null when it is ecosystem-wide
|
|
3486
3568
|
*/
|
|
3487
|
-
export type
|
|
3569
|
+
export type ListManualTriggers200ResultsItemAllOfTwozeroActionsItemProjectId = number | null;
|
|
3488
3570
|
/**
|
|
3489
3571
|
* Executable mechanism of an action
|
|
3490
3572
|
*/
|
|
3491
|
-
export type
|
|
3492
|
-
export declare const
|
|
3573
|
+
export type ListManualTriggers200ResultsItemAllOfTwozeroActionsItemType = (typeof ListManualTriggers200ResultsItemAllOfTwozeroActionsItemType)[keyof typeof ListManualTriggers200ResultsItemAllOfTwozeroActionsItemType];
|
|
3574
|
+
export declare const ListManualTriggers200ResultsItemAllOfTwozeroActionsItemType: {
|
|
3493
3575
|
readonly ApiAction: "ApiAction";
|
|
3494
3576
|
};
|
|
3495
3577
|
/**
|
|
3496
3578
|
* Base config an override-type merges its `payload` over (only overridable keys are applied).
|
|
3497
3579
|
*/
|
|
3498
|
-
export type
|
|
3580
|
+
export type ListManualTriggers200ResultsItemAllOfTwozeroActionsItemConfigAnyOfAllOfDefault = {
|
|
3499
3581
|
[key: string]: unknown;
|
|
3500
3582
|
};
|
|
3501
3583
|
/**
|
|
3502
3584
|
* Base fields shared by every action config
|
|
3503
3585
|
*/
|
|
3504
|
-
export type
|
|
3586
|
+
export type ListManualTriggers200ResultsItemAllOfTwozeroActionsItemConfigAnyOfAllOf = {
|
|
3505
3587
|
/** Identifier of the concrete action within its type (e.g. the ApiAction value for type "ApiAction"). Any identifier for future types. */
|
|
3506
3588
|
id: string;
|
|
3507
3589
|
/** Where the effective config is resolved from. Generic string in the base; refined per type in the future (e.g. "inline" | "file"). */
|
|
@@ -3509,56 +3591,56 @@ export type ListManualTriggers200ResultsItemAllOfNineActionsItemConfigAnyOfAllOf
|
|
|
3509
3591
|
/** Allow-list of config keys a payload may override on top of `default`. Mandatory for override-types; absent for non-override types such as ApiAction. */
|
|
3510
3592
|
overridable?: string[];
|
|
3511
3593
|
/** Base config an override-type merges its `payload` over (only overridable keys are applied). */
|
|
3512
|
-
default?:
|
|
3594
|
+
default?: ListManualTriggers200ResultsItemAllOfTwozeroActionsItemConfigAnyOfAllOfDefault;
|
|
3513
3595
|
};
|
|
3514
3596
|
/**
|
|
3515
3597
|
* Data mapping needed to run the ApiAction
|
|
3516
3598
|
*/
|
|
3517
|
-
export type
|
|
3599
|
+
export type ListManualTriggers200ResultsItemAllOfTwozeroActionsItemConfigAnyOfAllOfThreePayload = {
|
|
3518
3600
|
[key: string]: unknown;
|
|
3519
3601
|
};
|
|
3520
|
-
export type
|
|
3602
|
+
export type ListManualTriggers200ResultsItemAllOfTwozeroActionsItemConfigAnyOfAllOfThree = {
|
|
3521
3603
|
/** Data mapping needed to run the ApiAction */
|
|
3522
|
-
payload:
|
|
3604
|
+
payload: ListManualTriggers200ResultsItemAllOfTwozeroActionsItemConfigAnyOfAllOfThreePayload;
|
|
3523
3605
|
};
|
|
3524
3606
|
/**
|
|
3525
3607
|
* Config for actions of type "ApiAction"
|
|
3526
3608
|
*/
|
|
3527
|
-
export type
|
|
3609
|
+
export type ListManualTriggers200ResultsItemAllOfTwozeroActionsItemConfigAnyOf = ListManualTriggers200ResultsItemAllOfTwozeroActionsItemConfigAnyOfAllOf & ListManualTriggers200ResultsItemAllOfTwozeroActionsItemConfigAnyOfAllOfThree;
|
|
3528
3610
|
/**
|
|
3529
3611
|
* Retention in days for the process_log entries of this action (issue #175). Null = inherit (use the firing trigger retention; never if the trigger is null/0); 0 = disabled (never expires, regardless of the trigger); N (>0) = enabled (expires N days after write).
|
|
3530
3612
|
*/
|
|
3531
|
-
export type
|
|
3613
|
+
export type ListManualTriggers200ResultsItemAllOfTwozeroActionsItemRetentionDays = number | null;
|
|
3532
3614
|
/**
|
|
3533
3615
|
* Reusable executable action (ecosystem level)
|
|
3534
3616
|
*/
|
|
3535
|
-
export type
|
|
3617
|
+
export type ListManualTriggers200ResultsItemAllOfTwozeroActionsItem = {
|
|
3536
3618
|
/** Unique identifier of the action */
|
|
3537
3619
|
id: number;
|
|
3538
3620
|
/** Project this action belongs to. Null when it is ecosystem-wide */
|
|
3539
|
-
project_id?:
|
|
3621
|
+
project_id?: ListManualTriggers200ResultsItemAllOfTwozeroActionsItemProjectId;
|
|
3540
3622
|
/**
|
|
3541
3623
|
* Human-readable identifier of the action
|
|
3542
3624
|
* @maxLength 255
|
|
3543
3625
|
*/
|
|
3544
3626
|
name: string;
|
|
3545
3627
|
/** Executable mechanism of an action */
|
|
3546
|
-
type:
|
|
3628
|
+
type: ListManualTriggers200ResultsItemAllOfTwozeroActionsItemType;
|
|
3547
3629
|
/** Union of action configs, selected by actions.type */
|
|
3548
|
-
config:
|
|
3630
|
+
config: ListManualTriggers200ResultsItemAllOfTwozeroActionsItemConfigAnyOf;
|
|
3549
3631
|
/** Retention in days for the process_log entries of this action (issue #175). Null = inherit (use the firing trigger retention; never if the trigger is null/0); 0 = disabled (never expires, regardless of the trigger); N (>0) = enabled (expires N days after write). */
|
|
3550
|
-
retention_days?:
|
|
3632
|
+
retention_days?: ListManualTriggers200ResultsItemAllOfTwozeroActionsItemRetentionDays;
|
|
3551
3633
|
/** Whether the action belongs to the reusable catalog. False (the default) marks it single-use: it is deleted once no trigger links it any more, including before it is ever linked — a standalone action created through POST /action and left unlinked is swept as soon as any trigger of the project writes its links. Set it to true to create one that survives on its own */
|
|
3552
3634
|
library?: boolean;
|
|
3553
3635
|
};
|
|
3554
|
-
export type
|
|
3636
|
+
export type ListManualTriggers200ResultsItemAllOfTwozero = {
|
|
3555
3637
|
/** Actions the trigger runs, in execution order */
|
|
3556
|
-
actions?:
|
|
3638
|
+
actions?: ListManualTriggers200ResultsItemAllOfTwozeroActionsItem[];
|
|
3557
3639
|
};
|
|
3558
3640
|
/**
|
|
3559
3641
|
* A manual trigger and, when the request wrote them or `includeActions` asked for them, the actions it runs
|
|
3560
3642
|
*/
|
|
3561
|
-
export type ListManualTriggers200ResultsItem = ListManualTriggers200ResultsItemAllOf &
|
|
3643
|
+
export type ListManualTriggers200ResultsItem = ListManualTriggers200ResultsItemAllOf & ListManualTriggers200ResultsItemAllOfTwozero;
|
|
3562
3644
|
/**
|
|
3563
3645
|
* Paginated response
|
|
3564
3646
|
*/
|
|
@@ -3660,6 +3742,86 @@ export type CreateManualTriggerBodyRelations = CreateManualTriggerBodyRelationsA
|
|
|
3660
3742
|
* Retention in days for the process_log entries of this trigger (issue #175). Origin — no inheritance: null or 0 = disabled (never expires); N (>0) = enabled (expires N days after write).
|
|
3661
3743
|
*/
|
|
3662
3744
|
export type CreateManualTriggerBodyRetentionDays = number | null;
|
|
3745
|
+
/**
|
|
3746
|
+
* What to do with the button when the trigger does not match: hide it or disable it
|
|
3747
|
+
*/
|
|
3748
|
+
export type CreateManualTriggerBodyConfigAnyOfUnmatchedBehavior = (typeof CreateManualTriggerBodyConfigAnyOfUnmatchedBehavior)[keyof typeof CreateManualTriggerBodyConfigAnyOfUnmatchedBehavior];
|
|
3749
|
+
export declare const CreateManualTriggerBodyConfigAnyOfUnmatchedBehavior: {
|
|
3750
|
+
readonly hide: "hide";
|
|
3751
|
+
readonly disable: "disable";
|
|
3752
|
+
};
|
|
3753
|
+
/**
|
|
3754
|
+
* Side of the label the icon sits on
|
|
3755
|
+
*/
|
|
3756
|
+
export type CreateManualTriggerBodyConfigAnyOfStylesIconPosition = (typeof CreateManualTriggerBodyConfigAnyOfStylesIconPosition)[keyof typeof CreateManualTriggerBodyConfigAnyOfStylesIconPosition];
|
|
3757
|
+
export declare const CreateManualTriggerBodyConfigAnyOfStylesIconPosition: {
|
|
3758
|
+
readonly left: "left";
|
|
3759
|
+
readonly right: "right";
|
|
3760
|
+
};
|
|
3761
|
+
/**
|
|
3762
|
+
* Presentation of the button a manual trigger is offered on
|
|
3763
|
+
*/
|
|
3764
|
+
export type CreateManualTriggerBodyConfigAnyOfStyles = {
|
|
3765
|
+
/** Handlebars template rendered as the button label */
|
|
3766
|
+
text?: string;
|
|
3767
|
+
/** Label colour */
|
|
3768
|
+
textColor?: string;
|
|
3769
|
+
/** Background colour */
|
|
3770
|
+
bgColor?: string;
|
|
3771
|
+
/** Icon name, resolved by the consumer */
|
|
3772
|
+
icon?: string;
|
|
3773
|
+
/** Side of the label the icon sits on */
|
|
3774
|
+
iconPosition?: CreateManualTriggerBodyConfigAnyOfStylesIconPosition;
|
|
3775
|
+
};
|
|
3776
|
+
/**
|
|
3777
|
+
* Side of the label the icon sits on
|
|
3778
|
+
*/
|
|
3779
|
+
export type CreateManualTriggerBodyConfigAnyOfConditionalStylesItemAllOfIconPosition = (typeof CreateManualTriggerBodyConfigAnyOfConditionalStylesItemAllOfIconPosition)[keyof typeof CreateManualTriggerBodyConfigAnyOfConditionalStylesItemAllOfIconPosition];
|
|
3780
|
+
export declare const CreateManualTriggerBodyConfigAnyOfConditionalStylesItemAllOfIconPosition: {
|
|
3781
|
+
readonly left: "left";
|
|
3782
|
+
readonly right: "right";
|
|
3783
|
+
};
|
|
3784
|
+
/**
|
|
3785
|
+
* Presentation of the button a manual trigger is offered on
|
|
3786
|
+
*/
|
|
3787
|
+
export type CreateManualTriggerBodyConfigAnyOfConditionalStylesItemAllOf = {
|
|
3788
|
+
/** Handlebars template rendered as the button label */
|
|
3789
|
+
text?: string;
|
|
3790
|
+
/** Label colour */
|
|
3791
|
+
textColor?: string;
|
|
3792
|
+
/** Background colour */
|
|
3793
|
+
bgColor?: string;
|
|
3794
|
+
/** Icon name, resolved by the consumer */
|
|
3795
|
+
icon?: string;
|
|
3796
|
+
/** Side of the label the icon sits on */
|
|
3797
|
+
iconPosition?: CreateManualTriggerBodyConfigAnyOfConditionalStylesItemAllOfIconPosition;
|
|
3798
|
+
};
|
|
3799
|
+
export type CreateManualTriggerBodyConfigAnyOfConditionalStylesItemAllOfThreeConditionsAnyOf = {
|
|
3800
|
+
[key: string]: unknown;
|
|
3801
|
+
};
|
|
3802
|
+
/**
|
|
3803
|
+
* jsonLogic conditions selecting this style. Absent or null always applies
|
|
3804
|
+
*/
|
|
3805
|
+
export type CreateManualTriggerBodyConfigAnyOfConditionalStylesItemAllOfThreeConditions = CreateManualTriggerBodyConfigAnyOfConditionalStylesItemAllOfThreeConditionsAnyOf | null;
|
|
3806
|
+
export type CreateManualTriggerBodyConfigAnyOfConditionalStylesItemAllOfThree = {
|
|
3807
|
+
/** jsonLogic conditions selecting this style. Absent or null always applies */
|
|
3808
|
+
conditions?: CreateManualTriggerBodyConfigAnyOfConditionalStylesItemAllOfThreeConditions;
|
|
3809
|
+
/** Keep evaluating later entries after this one matches */
|
|
3810
|
+
continueEvaluate?: boolean;
|
|
3811
|
+
};
|
|
3812
|
+
export type CreateManualTriggerBodyConfigAnyOfConditionalStylesItem = CreateManualTriggerBodyConfigAnyOfConditionalStylesItemAllOf & CreateManualTriggerBodyConfigAnyOfConditionalStylesItemAllOfThree;
|
|
3813
|
+
export type CreateManualTriggerBodyConfigAnyOf = {
|
|
3814
|
+
/** What to do with the button when the trigger does not match: hide it or disable it */
|
|
3815
|
+
unmatchedBehavior?: CreateManualTriggerBodyConfigAnyOfUnmatchedBehavior;
|
|
3816
|
+
/** Presentation of the button a manual trigger is offered on */
|
|
3817
|
+
styles?: CreateManualTriggerBodyConfigAnyOfStyles;
|
|
3818
|
+
conditionalStyles?: CreateManualTriggerBodyConfigAnyOfConditionalStylesItem[];
|
|
3819
|
+
[key: string]: unknown;
|
|
3820
|
+
};
|
|
3821
|
+
/**
|
|
3822
|
+
* Configuration of the trigger beyond its firing rules. Null means none
|
|
3823
|
+
*/
|
|
3824
|
+
export type CreateManualTriggerBodyConfig = CreateManualTriggerBodyConfigAnyOf | null;
|
|
3663
3825
|
/**
|
|
3664
3826
|
* Executable mechanism of an action
|
|
3665
3827
|
*/
|
|
@@ -3813,6 +3975,8 @@ export type CreateManualTriggerBody = {
|
|
|
3813
3975
|
enabled?: boolean;
|
|
3814
3976
|
/** Retention in days for the process_log entries of this trigger (issue #175). Origin — no inheritance: null or 0 = disabled (never expires); N (>0) = enabled (expires N days after write). */
|
|
3815
3977
|
retention_days?: CreateManualTriggerBodyRetentionDays;
|
|
3978
|
+
/** Configuration of the trigger beyond its firing rules. Null means none */
|
|
3979
|
+
config?: CreateManualTriggerBodyConfig;
|
|
3816
3980
|
/** Full ordered set of actions the trigger runs; the array position is the execution order. An empty array leaves the trigger with none */
|
|
3817
3981
|
actions?: CreateManualTriggerBodyActionsItem[];
|
|
3818
3982
|
};
|
|
@@ -3848,6 +4012,86 @@ export type CreateManualTrigger200AllOfRelations = CreateManualTrigger200AllOfRe
|
|
|
3848
4012
|
* Retention in days for the process_log entries of this trigger (issue #175). Origin — no inheritance: null or 0 = disabled (never expires); N (>0) = enabled (expires N days after write).
|
|
3849
4013
|
*/
|
|
3850
4014
|
export type CreateManualTrigger200AllOfRetentionDays = number | null;
|
|
4015
|
+
/**
|
|
4016
|
+
* What to do with the button when the trigger does not match: hide it or disable it
|
|
4017
|
+
*/
|
|
4018
|
+
export type CreateManualTrigger200AllOfConfigAnyOfUnmatchedBehavior = (typeof CreateManualTrigger200AllOfConfigAnyOfUnmatchedBehavior)[keyof typeof CreateManualTrigger200AllOfConfigAnyOfUnmatchedBehavior];
|
|
4019
|
+
export declare const CreateManualTrigger200AllOfConfigAnyOfUnmatchedBehavior: {
|
|
4020
|
+
readonly hide: "hide";
|
|
4021
|
+
readonly disable: "disable";
|
|
4022
|
+
};
|
|
4023
|
+
/**
|
|
4024
|
+
* Side of the label the icon sits on
|
|
4025
|
+
*/
|
|
4026
|
+
export type CreateManualTrigger200AllOfConfigAnyOfStylesIconPosition = (typeof CreateManualTrigger200AllOfConfigAnyOfStylesIconPosition)[keyof typeof CreateManualTrigger200AllOfConfigAnyOfStylesIconPosition];
|
|
4027
|
+
export declare const CreateManualTrigger200AllOfConfigAnyOfStylesIconPosition: {
|
|
4028
|
+
readonly left: "left";
|
|
4029
|
+
readonly right: "right";
|
|
4030
|
+
};
|
|
4031
|
+
/**
|
|
4032
|
+
* Presentation of the button a manual trigger is offered on
|
|
4033
|
+
*/
|
|
4034
|
+
export type CreateManualTrigger200AllOfConfigAnyOfStyles = {
|
|
4035
|
+
/** Handlebars template rendered as the button label */
|
|
4036
|
+
text?: string;
|
|
4037
|
+
/** Label colour */
|
|
4038
|
+
textColor?: string;
|
|
4039
|
+
/** Background colour */
|
|
4040
|
+
bgColor?: string;
|
|
4041
|
+
/** Icon name, resolved by the consumer */
|
|
4042
|
+
icon?: string;
|
|
4043
|
+
/** Side of the label the icon sits on */
|
|
4044
|
+
iconPosition?: CreateManualTrigger200AllOfConfigAnyOfStylesIconPosition;
|
|
4045
|
+
};
|
|
4046
|
+
/**
|
|
4047
|
+
* Side of the label the icon sits on
|
|
4048
|
+
*/
|
|
4049
|
+
export type CreateManualTrigger200AllOfConfigAnyOfConditionalStylesItemAllOfIconPosition = (typeof CreateManualTrigger200AllOfConfigAnyOfConditionalStylesItemAllOfIconPosition)[keyof typeof CreateManualTrigger200AllOfConfigAnyOfConditionalStylesItemAllOfIconPosition];
|
|
4050
|
+
export declare const CreateManualTrigger200AllOfConfigAnyOfConditionalStylesItemAllOfIconPosition: {
|
|
4051
|
+
readonly left: "left";
|
|
4052
|
+
readonly right: "right";
|
|
4053
|
+
};
|
|
4054
|
+
/**
|
|
4055
|
+
* Presentation of the button a manual trigger is offered on
|
|
4056
|
+
*/
|
|
4057
|
+
export type CreateManualTrigger200AllOfConfigAnyOfConditionalStylesItemAllOf = {
|
|
4058
|
+
/** Handlebars template rendered as the button label */
|
|
4059
|
+
text?: string;
|
|
4060
|
+
/** Label colour */
|
|
4061
|
+
textColor?: string;
|
|
4062
|
+
/** Background colour */
|
|
4063
|
+
bgColor?: string;
|
|
4064
|
+
/** Icon name, resolved by the consumer */
|
|
4065
|
+
icon?: string;
|
|
4066
|
+
/** Side of the label the icon sits on */
|
|
4067
|
+
iconPosition?: CreateManualTrigger200AllOfConfigAnyOfConditionalStylesItemAllOfIconPosition;
|
|
4068
|
+
};
|
|
4069
|
+
export type CreateManualTrigger200AllOfConfigAnyOfConditionalStylesItemAllOfThreeConditionsAnyOf = {
|
|
4070
|
+
[key: string]: unknown;
|
|
4071
|
+
};
|
|
4072
|
+
/**
|
|
4073
|
+
* jsonLogic conditions selecting this style. Absent or null always applies
|
|
4074
|
+
*/
|
|
4075
|
+
export type CreateManualTrigger200AllOfConfigAnyOfConditionalStylesItemAllOfThreeConditions = CreateManualTrigger200AllOfConfigAnyOfConditionalStylesItemAllOfThreeConditionsAnyOf | null;
|
|
4076
|
+
export type CreateManualTrigger200AllOfConfigAnyOfConditionalStylesItemAllOfThree = {
|
|
4077
|
+
/** jsonLogic conditions selecting this style. Absent or null always applies */
|
|
4078
|
+
conditions?: CreateManualTrigger200AllOfConfigAnyOfConditionalStylesItemAllOfThreeConditions;
|
|
4079
|
+
/** Keep evaluating later entries after this one matches */
|
|
4080
|
+
continueEvaluate?: boolean;
|
|
4081
|
+
};
|
|
4082
|
+
export type CreateManualTrigger200AllOfConfigAnyOfConditionalStylesItem = CreateManualTrigger200AllOfConfigAnyOfConditionalStylesItemAllOf & CreateManualTrigger200AllOfConfigAnyOfConditionalStylesItemAllOfThree;
|
|
4083
|
+
export type CreateManualTrigger200AllOfConfigAnyOf = {
|
|
4084
|
+
/** What to do with the button when the trigger does not match: hide it or disable it */
|
|
4085
|
+
unmatchedBehavior?: CreateManualTrigger200AllOfConfigAnyOfUnmatchedBehavior;
|
|
4086
|
+
/** Presentation of the button a manual trigger is offered on */
|
|
4087
|
+
styles?: CreateManualTrigger200AllOfConfigAnyOfStyles;
|
|
4088
|
+
conditionalStyles?: CreateManualTrigger200AllOfConfigAnyOfConditionalStylesItem[];
|
|
4089
|
+
[key: string]: unknown;
|
|
4090
|
+
};
|
|
4091
|
+
/**
|
|
4092
|
+
* Configuration of the trigger beyond its firing rules. Null means none
|
|
4093
|
+
*/
|
|
4094
|
+
export type CreateManualTrigger200AllOfConfig = CreateManualTrigger200AllOfConfigAnyOf | null;
|
|
3851
4095
|
/**
|
|
3852
4096
|
* Manual trigger definition (ecosystem level)
|
|
3853
4097
|
*/
|
|
@@ -3876,28 +4120,30 @@ export type CreateManualTrigger200AllOf = {
|
|
|
3876
4120
|
enabled?: boolean;
|
|
3877
4121
|
/** Retention in days for the process_log entries of this trigger (issue #175). Origin — no inheritance: null or 0 = disabled (never expires); N (>0) = enabled (expires N days after write). */
|
|
3878
4122
|
retention_days?: CreateManualTrigger200AllOfRetentionDays;
|
|
4123
|
+
/** Configuration of the trigger beyond its firing rules. Null means none */
|
|
4124
|
+
config?: CreateManualTrigger200AllOfConfig;
|
|
3879
4125
|
};
|
|
3880
4126
|
/**
|
|
3881
4127
|
* Project this action belongs to. Null when it is ecosystem-wide
|
|
3882
4128
|
*/
|
|
3883
|
-
export type
|
|
4129
|
+
export type CreateManualTrigger200AllOfTwozeroActionsItemProjectId = number | null;
|
|
3884
4130
|
/**
|
|
3885
4131
|
* Executable mechanism of an action
|
|
3886
4132
|
*/
|
|
3887
|
-
export type
|
|
3888
|
-
export declare const
|
|
4133
|
+
export type CreateManualTrigger200AllOfTwozeroActionsItemType = (typeof CreateManualTrigger200AllOfTwozeroActionsItemType)[keyof typeof CreateManualTrigger200AllOfTwozeroActionsItemType];
|
|
4134
|
+
export declare const CreateManualTrigger200AllOfTwozeroActionsItemType: {
|
|
3889
4135
|
readonly ApiAction: "ApiAction";
|
|
3890
4136
|
};
|
|
3891
4137
|
/**
|
|
3892
4138
|
* Base config an override-type merges its `payload` over (only overridable keys are applied).
|
|
3893
4139
|
*/
|
|
3894
|
-
export type
|
|
4140
|
+
export type CreateManualTrigger200AllOfTwozeroActionsItemConfigAnyOfAllOfDefault = {
|
|
3895
4141
|
[key: string]: unknown;
|
|
3896
4142
|
};
|
|
3897
4143
|
/**
|
|
3898
4144
|
* Base fields shared by every action config
|
|
3899
4145
|
*/
|
|
3900
|
-
export type
|
|
4146
|
+
export type CreateManualTrigger200AllOfTwozeroActionsItemConfigAnyOfAllOf = {
|
|
3901
4147
|
/** Identifier of the concrete action within its type (e.g. the ApiAction value for type "ApiAction"). Any identifier for future types. */
|
|
3902
4148
|
id: string;
|
|
3903
4149
|
/** Where the effective config is resolved from. Generic string in the base; refined per type in the future (e.g. "inline" | "file"). */
|
|
@@ -3905,56 +4151,56 @@ export type CreateManualTrigger200AllOfNineActionsItemConfigAnyOfAllOf = {
|
|
|
3905
4151
|
/** Allow-list of config keys a payload may override on top of `default`. Mandatory for override-types; absent for non-override types such as ApiAction. */
|
|
3906
4152
|
overridable?: string[];
|
|
3907
4153
|
/** Base config an override-type merges its `payload` over (only overridable keys are applied). */
|
|
3908
|
-
default?:
|
|
4154
|
+
default?: CreateManualTrigger200AllOfTwozeroActionsItemConfigAnyOfAllOfDefault;
|
|
3909
4155
|
};
|
|
3910
4156
|
/**
|
|
3911
4157
|
* Data mapping needed to run the ApiAction
|
|
3912
4158
|
*/
|
|
3913
|
-
export type
|
|
4159
|
+
export type CreateManualTrigger200AllOfTwozeroActionsItemConfigAnyOfAllOfThreePayload = {
|
|
3914
4160
|
[key: string]: unknown;
|
|
3915
4161
|
};
|
|
3916
|
-
export type
|
|
4162
|
+
export type CreateManualTrigger200AllOfTwozeroActionsItemConfigAnyOfAllOfThree = {
|
|
3917
4163
|
/** Data mapping needed to run the ApiAction */
|
|
3918
|
-
payload:
|
|
4164
|
+
payload: CreateManualTrigger200AllOfTwozeroActionsItemConfigAnyOfAllOfThreePayload;
|
|
3919
4165
|
};
|
|
3920
4166
|
/**
|
|
3921
4167
|
* Config for actions of type "ApiAction"
|
|
3922
4168
|
*/
|
|
3923
|
-
export type
|
|
4169
|
+
export type CreateManualTrigger200AllOfTwozeroActionsItemConfigAnyOf = CreateManualTrigger200AllOfTwozeroActionsItemConfigAnyOfAllOf & CreateManualTrigger200AllOfTwozeroActionsItemConfigAnyOfAllOfThree;
|
|
3924
4170
|
/**
|
|
3925
4171
|
* Retention in days for the process_log entries of this action (issue #175). Null = inherit (use the firing trigger retention; never if the trigger is null/0); 0 = disabled (never expires, regardless of the trigger); N (>0) = enabled (expires N days after write).
|
|
3926
4172
|
*/
|
|
3927
|
-
export type
|
|
4173
|
+
export type CreateManualTrigger200AllOfTwozeroActionsItemRetentionDays = number | null;
|
|
3928
4174
|
/**
|
|
3929
4175
|
* Reusable executable action (ecosystem level)
|
|
3930
4176
|
*/
|
|
3931
|
-
export type
|
|
4177
|
+
export type CreateManualTrigger200AllOfTwozeroActionsItem = {
|
|
3932
4178
|
/** Unique identifier of the action */
|
|
3933
4179
|
id: number;
|
|
3934
4180
|
/** Project this action belongs to. Null when it is ecosystem-wide */
|
|
3935
|
-
project_id?:
|
|
4181
|
+
project_id?: CreateManualTrigger200AllOfTwozeroActionsItemProjectId;
|
|
3936
4182
|
/**
|
|
3937
4183
|
* Human-readable identifier of the action
|
|
3938
4184
|
* @maxLength 255
|
|
3939
4185
|
*/
|
|
3940
4186
|
name: string;
|
|
3941
4187
|
/** Executable mechanism of an action */
|
|
3942
|
-
type:
|
|
4188
|
+
type: CreateManualTrigger200AllOfTwozeroActionsItemType;
|
|
3943
4189
|
/** Union of action configs, selected by actions.type */
|
|
3944
|
-
config:
|
|
4190
|
+
config: CreateManualTrigger200AllOfTwozeroActionsItemConfigAnyOf;
|
|
3945
4191
|
/** Retention in days for the process_log entries of this action (issue #175). Null = inherit (use the firing trigger retention; never if the trigger is null/0); 0 = disabled (never expires, regardless of the trigger); N (>0) = enabled (expires N days after write). */
|
|
3946
|
-
retention_days?:
|
|
4192
|
+
retention_days?: CreateManualTrigger200AllOfTwozeroActionsItemRetentionDays;
|
|
3947
4193
|
/** Whether the action belongs to the reusable catalog. False (the default) marks it single-use: it is deleted once no trigger links it any more, including before it is ever linked — a standalone action created through POST /action and left unlinked is swept as soon as any trigger of the project writes its links. Set it to true to create one that survives on its own */
|
|
3948
4194
|
library?: boolean;
|
|
3949
4195
|
};
|
|
3950
|
-
export type
|
|
4196
|
+
export type CreateManualTrigger200AllOfTwozero = {
|
|
3951
4197
|
/** Actions the trigger runs, in execution order */
|
|
3952
|
-
actions?:
|
|
4198
|
+
actions?: CreateManualTrigger200AllOfTwozeroActionsItem[];
|
|
3953
4199
|
};
|
|
3954
4200
|
/**
|
|
3955
4201
|
* A manual trigger and, when the request wrote them or `includeActions` asked for them, the actions it runs
|
|
3956
4202
|
*/
|
|
3957
|
-
export type CreateManualTrigger200 = CreateManualTrigger200AllOf &
|
|
4203
|
+
export type CreateManualTrigger200 = CreateManualTrigger200AllOf & CreateManualTrigger200AllOfTwozero;
|
|
3958
4204
|
/**
|
|
3959
4205
|
* Debug information of the error
|
|
3960
4206
|
*/
|
|
@@ -4044,6 +4290,29 @@ export declare const ListAvailableManualTriggersSource: {
|
|
|
4044
4290
|
* Reason the declared relations could not be loaded before evaluating, when that happened. Null otherwise
|
|
4045
4291
|
*/
|
|
4046
4292
|
export type ListAvailableManualTriggers200ResultsItemRelationsSkipped = string | null;
|
|
4293
|
+
/**
|
|
4294
|
+
* Side of the label the icon sits on
|
|
4295
|
+
*/
|
|
4296
|
+
export type ListAvailableManualTriggers200ResultsItemStyleIconPosition = (typeof ListAvailableManualTriggers200ResultsItemStyleIconPosition)[keyof typeof ListAvailableManualTriggers200ResultsItemStyleIconPosition];
|
|
4297
|
+
export declare const ListAvailableManualTriggers200ResultsItemStyleIconPosition: {
|
|
4298
|
+
readonly left: "left";
|
|
4299
|
+
readonly right: "right";
|
|
4300
|
+
};
|
|
4301
|
+
/**
|
|
4302
|
+
* Presentation of the button a manual trigger is offered on
|
|
4303
|
+
*/
|
|
4304
|
+
export type ListAvailableManualTriggers200ResultsItemStyle = {
|
|
4305
|
+
/** Handlebars template rendered as the button label */
|
|
4306
|
+
text?: string;
|
|
4307
|
+
/** Label colour */
|
|
4308
|
+
textColor?: string;
|
|
4309
|
+
/** Background colour */
|
|
4310
|
+
bgColor?: string;
|
|
4311
|
+
/** Icon name, resolved by the consumer */
|
|
4312
|
+
icon?: string;
|
|
4313
|
+
/** Side of the label the icon sits on */
|
|
4314
|
+
iconPosition?: ListAvailableManualTriggers200ResultsItemStyleIconPosition;
|
|
4315
|
+
};
|
|
4047
4316
|
/**
|
|
4048
4317
|
* A manual trigger applicable to an entity, with its conditions already evaluated
|
|
4049
4318
|
*/
|
|
@@ -4052,12 +4321,14 @@ export type ListAvailableManualTriggers200ResultsItem = {
|
|
|
4052
4321
|
id: number;
|
|
4053
4322
|
/** Human-readable label of the trigger */
|
|
4054
4323
|
name: string;
|
|
4055
|
-
/** Whether the trigger conditions hold for this entity right now. A trigger with no conditions always matches */
|
|
4324
|
+
/** Whether the trigger conditions hold for this entity right now. A trigger with no conditions always matches. False means the button is shown disabled: triggers configured to hide when unmatched are not listed */
|
|
4056
4325
|
matched: boolean;
|
|
4057
4326
|
/** Number of actions the trigger would run */
|
|
4058
4327
|
actionsCount: number;
|
|
4059
4328
|
/** Reason the declared relations could not be loaded before evaluating, when that happened. Null otherwise */
|
|
4060
4329
|
relationsSkipped?: ListAvailableManualTriggers200ResultsItemRelationsSkipped;
|
|
4330
|
+
/** Presentation of the button a manual trigger is offered on */
|
|
4331
|
+
style?: ListAvailableManualTriggers200ResultsItemStyle;
|
|
4061
4332
|
};
|
|
4062
4333
|
/**
|
|
4063
4334
|
* Manual triggers applicable to an entity, with their conditions evaluated
|
|
@@ -4168,6 +4439,86 @@ export type GetManualTrigger200AllOfRelations = GetManualTrigger200AllOfRelation
|
|
|
4168
4439
|
* Retention in days for the process_log entries of this trigger (issue #175). Origin — no inheritance: null or 0 = disabled (never expires); N (>0) = enabled (expires N days after write).
|
|
4169
4440
|
*/
|
|
4170
4441
|
export type GetManualTrigger200AllOfRetentionDays = number | null;
|
|
4442
|
+
/**
|
|
4443
|
+
* What to do with the button when the trigger does not match: hide it or disable it
|
|
4444
|
+
*/
|
|
4445
|
+
export type GetManualTrigger200AllOfConfigAnyOfUnmatchedBehavior = (typeof GetManualTrigger200AllOfConfigAnyOfUnmatchedBehavior)[keyof typeof GetManualTrigger200AllOfConfigAnyOfUnmatchedBehavior];
|
|
4446
|
+
export declare const GetManualTrigger200AllOfConfigAnyOfUnmatchedBehavior: {
|
|
4447
|
+
readonly hide: "hide";
|
|
4448
|
+
readonly disable: "disable";
|
|
4449
|
+
};
|
|
4450
|
+
/**
|
|
4451
|
+
* Side of the label the icon sits on
|
|
4452
|
+
*/
|
|
4453
|
+
export type GetManualTrigger200AllOfConfigAnyOfStylesIconPosition = (typeof GetManualTrigger200AllOfConfigAnyOfStylesIconPosition)[keyof typeof GetManualTrigger200AllOfConfigAnyOfStylesIconPosition];
|
|
4454
|
+
export declare const GetManualTrigger200AllOfConfigAnyOfStylesIconPosition: {
|
|
4455
|
+
readonly left: "left";
|
|
4456
|
+
readonly right: "right";
|
|
4457
|
+
};
|
|
4458
|
+
/**
|
|
4459
|
+
* Presentation of the button a manual trigger is offered on
|
|
4460
|
+
*/
|
|
4461
|
+
export type GetManualTrigger200AllOfConfigAnyOfStyles = {
|
|
4462
|
+
/** Handlebars template rendered as the button label */
|
|
4463
|
+
text?: string;
|
|
4464
|
+
/** Label colour */
|
|
4465
|
+
textColor?: string;
|
|
4466
|
+
/** Background colour */
|
|
4467
|
+
bgColor?: string;
|
|
4468
|
+
/** Icon name, resolved by the consumer */
|
|
4469
|
+
icon?: string;
|
|
4470
|
+
/** Side of the label the icon sits on */
|
|
4471
|
+
iconPosition?: GetManualTrigger200AllOfConfigAnyOfStylesIconPosition;
|
|
4472
|
+
};
|
|
4473
|
+
/**
|
|
4474
|
+
* Side of the label the icon sits on
|
|
4475
|
+
*/
|
|
4476
|
+
export type GetManualTrigger200AllOfConfigAnyOfConditionalStylesItemAllOfIconPosition = (typeof GetManualTrigger200AllOfConfigAnyOfConditionalStylesItemAllOfIconPosition)[keyof typeof GetManualTrigger200AllOfConfigAnyOfConditionalStylesItemAllOfIconPosition];
|
|
4477
|
+
export declare const GetManualTrigger200AllOfConfigAnyOfConditionalStylesItemAllOfIconPosition: {
|
|
4478
|
+
readonly left: "left";
|
|
4479
|
+
readonly right: "right";
|
|
4480
|
+
};
|
|
4481
|
+
/**
|
|
4482
|
+
* Presentation of the button a manual trigger is offered on
|
|
4483
|
+
*/
|
|
4484
|
+
export type GetManualTrigger200AllOfConfigAnyOfConditionalStylesItemAllOf = {
|
|
4485
|
+
/** Handlebars template rendered as the button label */
|
|
4486
|
+
text?: string;
|
|
4487
|
+
/** Label colour */
|
|
4488
|
+
textColor?: string;
|
|
4489
|
+
/** Background colour */
|
|
4490
|
+
bgColor?: string;
|
|
4491
|
+
/** Icon name, resolved by the consumer */
|
|
4492
|
+
icon?: string;
|
|
4493
|
+
/** Side of the label the icon sits on */
|
|
4494
|
+
iconPosition?: GetManualTrigger200AllOfConfigAnyOfConditionalStylesItemAllOfIconPosition;
|
|
4495
|
+
};
|
|
4496
|
+
export type GetManualTrigger200AllOfConfigAnyOfConditionalStylesItemAllOfThreeConditionsAnyOf = {
|
|
4497
|
+
[key: string]: unknown;
|
|
4498
|
+
};
|
|
4499
|
+
/**
|
|
4500
|
+
* jsonLogic conditions selecting this style. Absent or null always applies
|
|
4501
|
+
*/
|
|
4502
|
+
export type GetManualTrigger200AllOfConfigAnyOfConditionalStylesItemAllOfThreeConditions = GetManualTrigger200AllOfConfigAnyOfConditionalStylesItemAllOfThreeConditionsAnyOf | null;
|
|
4503
|
+
export type GetManualTrigger200AllOfConfigAnyOfConditionalStylesItemAllOfThree = {
|
|
4504
|
+
/** jsonLogic conditions selecting this style. Absent or null always applies */
|
|
4505
|
+
conditions?: GetManualTrigger200AllOfConfigAnyOfConditionalStylesItemAllOfThreeConditions;
|
|
4506
|
+
/** Keep evaluating later entries after this one matches */
|
|
4507
|
+
continueEvaluate?: boolean;
|
|
4508
|
+
};
|
|
4509
|
+
export type GetManualTrigger200AllOfConfigAnyOfConditionalStylesItem = GetManualTrigger200AllOfConfigAnyOfConditionalStylesItemAllOf & GetManualTrigger200AllOfConfigAnyOfConditionalStylesItemAllOfThree;
|
|
4510
|
+
export type GetManualTrigger200AllOfConfigAnyOf = {
|
|
4511
|
+
/** What to do with the button when the trigger does not match: hide it or disable it */
|
|
4512
|
+
unmatchedBehavior?: GetManualTrigger200AllOfConfigAnyOfUnmatchedBehavior;
|
|
4513
|
+
/** Presentation of the button a manual trigger is offered on */
|
|
4514
|
+
styles?: GetManualTrigger200AllOfConfigAnyOfStyles;
|
|
4515
|
+
conditionalStyles?: GetManualTrigger200AllOfConfigAnyOfConditionalStylesItem[];
|
|
4516
|
+
[key: string]: unknown;
|
|
4517
|
+
};
|
|
4518
|
+
/**
|
|
4519
|
+
* Configuration of the trigger beyond its firing rules. Null means none
|
|
4520
|
+
*/
|
|
4521
|
+
export type GetManualTrigger200AllOfConfig = GetManualTrigger200AllOfConfigAnyOf | null;
|
|
4171
4522
|
/**
|
|
4172
4523
|
* Manual trigger definition (ecosystem level)
|
|
4173
4524
|
*/
|
|
@@ -4196,28 +4547,30 @@ export type GetManualTrigger200AllOf = {
|
|
|
4196
4547
|
enabled?: boolean;
|
|
4197
4548
|
/** Retention in days for the process_log entries of this trigger (issue #175). Origin — no inheritance: null or 0 = disabled (never expires); N (>0) = enabled (expires N days after write). */
|
|
4198
4549
|
retention_days?: GetManualTrigger200AllOfRetentionDays;
|
|
4550
|
+
/** Configuration of the trigger beyond its firing rules. Null means none */
|
|
4551
|
+
config?: GetManualTrigger200AllOfConfig;
|
|
4199
4552
|
};
|
|
4200
4553
|
/**
|
|
4201
4554
|
* Project this action belongs to. Null when it is ecosystem-wide
|
|
4202
4555
|
*/
|
|
4203
|
-
export type
|
|
4556
|
+
export type GetManualTrigger200AllOfTwozeroActionsItemProjectId = number | null;
|
|
4204
4557
|
/**
|
|
4205
4558
|
* Executable mechanism of an action
|
|
4206
4559
|
*/
|
|
4207
|
-
export type
|
|
4208
|
-
export declare const
|
|
4560
|
+
export type GetManualTrigger200AllOfTwozeroActionsItemType = (typeof GetManualTrigger200AllOfTwozeroActionsItemType)[keyof typeof GetManualTrigger200AllOfTwozeroActionsItemType];
|
|
4561
|
+
export declare const GetManualTrigger200AllOfTwozeroActionsItemType: {
|
|
4209
4562
|
readonly ApiAction: "ApiAction";
|
|
4210
4563
|
};
|
|
4211
4564
|
/**
|
|
4212
4565
|
* Base config an override-type merges its `payload` over (only overridable keys are applied).
|
|
4213
4566
|
*/
|
|
4214
|
-
export type
|
|
4567
|
+
export type GetManualTrigger200AllOfTwozeroActionsItemConfigAnyOfAllOfDefault = {
|
|
4215
4568
|
[key: string]: unknown;
|
|
4216
4569
|
};
|
|
4217
4570
|
/**
|
|
4218
4571
|
* Base fields shared by every action config
|
|
4219
4572
|
*/
|
|
4220
|
-
export type
|
|
4573
|
+
export type GetManualTrigger200AllOfTwozeroActionsItemConfigAnyOfAllOf = {
|
|
4221
4574
|
/** Identifier of the concrete action within its type (e.g. the ApiAction value for type "ApiAction"). Any identifier for future types. */
|
|
4222
4575
|
id: string;
|
|
4223
4576
|
/** Where the effective config is resolved from. Generic string in the base; refined per type in the future (e.g. "inline" | "file"). */
|
|
@@ -4225,56 +4578,56 @@ export type GetManualTrigger200AllOfNineActionsItemConfigAnyOfAllOf = {
|
|
|
4225
4578
|
/** Allow-list of config keys a payload may override on top of `default`. Mandatory for override-types; absent for non-override types such as ApiAction. */
|
|
4226
4579
|
overridable?: string[];
|
|
4227
4580
|
/** Base config an override-type merges its `payload` over (only overridable keys are applied). */
|
|
4228
|
-
default?:
|
|
4581
|
+
default?: GetManualTrigger200AllOfTwozeroActionsItemConfigAnyOfAllOfDefault;
|
|
4229
4582
|
};
|
|
4230
4583
|
/**
|
|
4231
4584
|
* Data mapping needed to run the ApiAction
|
|
4232
4585
|
*/
|
|
4233
|
-
export type
|
|
4586
|
+
export type GetManualTrigger200AllOfTwozeroActionsItemConfigAnyOfAllOfThreePayload = {
|
|
4234
4587
|
[key: string]: unknown;
|
|
4235
4588
|
};
|
|
4236
|
-
export type
|
|
4589
|
+
export type GetManualTrigger200AllOfTwozeroActionsItemConfigAnyOfAllOfThree = {
|
|
4237
4590
|
/** Data mapping needed to run the ApiAction */
|
|
4238
|
-
payload:
|
|
4591
|
+
payload: GetManualTrigger200AllOfTwozeroActionsItemConfigAnyOfAllOfThreePayload;
|
|
4239
4592
|
};
|
|
4240
4593
|
/**
|
|
4241
4594
|
* Config for actions of type "ApiAction"
|
|
4242
4595
|
*/
|
|
4243
|
-
export type
|
|
4596
|
+
export type GetManualTrigger200AllOfTwozeroActionsItemConfigAnyOf = GetManualTrigger200AllOfTwozeroActionsItemConfigAnyOfAllOf & GetManualTrigger200AllOfTwozeroActionsItemConfigAnyOfAllOfThree;
|
|
4244
4597
|
/**
|
|
4245
4598
|
* Retention in days for the process_log entries of this action (issue #175). Null = inherit (use the firing trigger retention; never if the trigger is null/0); 0 = disabled (never expires, regardless of the trigger); N (>0) = enabled (expires N days after write).
|
|
4246
4599
|
*/
|
|
4247
|
-
export type
|
|
4600
|
+
export type GetManualTrigger200AllOfTwozeroActionsItemRetentionDays = number | null;
|
|
4248
4601
|
/**
|
|
4249
4602
|
* Reusable executable action (ecosystem level)
|
|
4250
4603
|
*/
|
|
4251
|
-
export type
|
|
4604
|
+
export type GetManualTrigger200AllOfTwozeroActionsItem = {
|
|
4252
4605
|
/** Unique identifier of the action */
|
|
4253
4606
|
id: number;
|
|
4254
4607
|
/** Project this action belongs to. Null when it is ecosystem-wide */
|
|
4255
|
-
project_id?:
|
|
4608
|
+
project_id?: GetManualTrigger200AllOfTwozeroActionsItemProjectId;
|
|
4256
4609
|
/**
|
|
4257
4610
|
* Human-readable identifier of the action
|
|
4258
4611
|
* @maxLength 255
|
|
4259
4612
|
*/
|
|
4260
4613
|
name: string;
|
|
4261
4614
|
/** Executable mechanism of an action */
|
|
4262
|
-
type:
|
|
4615
|
+
type: GetManualTrigger200AllOfTwozeroActionsItemType;
|
|
4263
4616
|
/** Union of action configs, selected by actions.type */
|
|
4264
|
-
config:
|
|
4617
|
+
config: GetManualTrigger200AllOfTwozeroActionsItemConfigAnyOf;
|
|
4265
4618
|
/** Retention in days for the process_log entries of this action (issue #175). Null = inherit (use the firing trigger retention; never if the trigger is null/0); 0 = disabled (never expires, regardless of the trigger); N (>0) = enabled (expires N days after write). */
|
|
4266
|
-
retention_days?:
|
|
4619
|
+
retention_days?: GetManualTrigger200AllOfTwozeroActionsItemRetentionDays;
|
|
4267
4620
|
/** Whether the action belongs to the reusable catalog. False (the default) marks it single-use: it is deleted once no trigger links it any more, including before it is ever linked — a standalone action created through POST /action and left unlinked is swept as soon as any trigger of the project writes its links. Set it to true to create one that survives on its own */
|
|
4268
4621
|
library?: boolean;
|
|
4269
4622
|
};
|
|
4270
|
-
export type
|
|
4623
|
+
export type GetManualTrigger200AllOfTwozero = {
|
|
4271
4624
|
/** Actions the trigger runs, in execution order */
|
|
4272
|
-
actions?:
|
|
4625
|
+
actions?: GetManualTrigger200AllOfTwozeroActionsItem[];
|
|
4273
4626
|
};
|
|
4274
4627
|
/**
|
|
4275
4628
|
* A manual trigger and, when the request wrote them or `includeActions` asked for them, the actions it runs
|
|
4276
4629
|
*/
|
|
4277
|
-
export type GetManualTrigger200 = GetManualTrigger200AllOf &
|
|
4630
|
+
export type GetManualTrigger200 = GetManualTrigger200AllOf & GetManualTrigger200AllOfTwozero;
|
|
4278
4631
|
/**
|
|
4279
4632
|
* Debug information of the error
|
|
4280
4633
|
*/
|
|
@@ -4367,6 +4720,86 @@ export type UpdateManualTriggerBodyRelations = UpdateManualTriggerBodyRelationsA
|
|
|
4367
4720
|
* Retention in days for the process_log entries of this trigger (issue #175). Origin — no inheritance: null or 0 = disabled (never expires); N (>0) = enabled (expires N days after write).
|
|
4368
4721
|
*/
|
|
4369
4722
|
export type UpdateManualTriggerBodyRetentionDays = number | null;
|
|
4723
|
+
/**
|
|
4724
|
+
* What to do with the button when the trigger does not match: hide it or disable it
|
|
4725
|
+
*/
|
|
4726
|
+
export type UpdateManualTriggerBodyConfigAnyOfUnmatchedBehavior = (typeof UpdateManualTriggerBodyConfigAnyOfUnmatchedBehavior)[keyof typeof UpdateManualTriggerBodyConfigAnyOfUnmatchedBehavior];
|
|
4727
|
+
export declare const UpdateManualTriggerBodyConfigAnyOfUnmatchedBehavior: {
|
|
4728
|
+
readonly hide: "hide";
|
|
4729
|
+
readonly disable: "disable";
|
|
4730
|
+
};
|
|
4731
|
+
/**
|
|
4732
|
+
* Side of the label the icon sits on
|
|
4733
|
+
*/
|
|
4734
|
+
export type UpdateManualTriggerBodyConfigAnyOfStylesIconPosition = (typeof UpdateManualTriggerBodyConfigAnyOfStylesIconPosition)[keyof typeof UpdateManualTriggerBodyConfigAnyOfStylesIconPosition];
|
|
4735
|
+
export declare const UpdateManualTriggerBodyConfigAnyOfStylesIconPosition: {
|
|
4736
|
+
readonly left: "left";
|
|
4737
|
+
readonly right: "right";
|
|
4738
|
+
};
|
|
4739
|
+
/**
|
|
4740
|
+
* Presentation of the button a manual trigger is offered on
|
|
4741
|
+
*/
|
|
4742
|
+
export type UpdateManualTriggerBodyConfigAnyOfStyles = {
|
|
4743
|
+
/** Handlebars template rendered as the button label */
|
|
4744
|
+
text?: string;
|
|
4745
|
+
/** Label colour */
|
|
4746
|
+
textColor?: string;
|
|
4747
|
+
/** Background colour */
|
|
4748
|
+
bgColor?: string;
|
|
4749
|
+
/** Icon name, resolved by the consumer */
|
|
4750
|
+
icon?: string;
|
|
4751
|
+
/** Side of the label the icon sits on */
|
|
4752
|
+
iconPosition?: UpdateManualTriggerBodyConfigAnyOfStylesIconPosition;
|
|
4753
|
+
};
|
|
4754
|
+
/**
|
|
4755
|
+
* Side of the label the icon sits on
|
|
4756
|
+
*/
|
|
4757
|
+
export type UpdateManualTriggerBodyConfigAnyOfConditionalStylesItemAllOfIconPosition = (typeof UpdateManualTriggerBodyConfigAnyOfConditionalStylesItemAllOfIconPosition)[keyof typeof UpdateManualTriggerBodyConfigAnyOfConditionalStylesItemAllOfIconPosition];
|
|
4758
|
+
export declare const UpdateManualTriggerBodyConfigAnyOfConditionalStylesItemAllOfIconPosition: {
|
|
4759
|
+
readonly left: "left";
|
|
4760
|
+
readonly right: "right";
|
|
4761
|
+
};
|
|
4762
|
+
/**
|
|
4763
|
+
* Presentation of the button a manual trigger is offered on
|
|
4764
|
+
*/
|
|
4765
|
+
export type UpdateManualTriggerBodyConfigAnyOfConditionalStylesItemAllOf = {
|
|
4766
|
+
/** Handlebars template rendered as the button label */
|
|
4767
|
+
text?: string;
|
|
4768
|
+
/** Label colour */
|
|
4769
|
+
textColor?: string;
|
|
4770
|
+
/** Background colour */
|
|
4771
|
+
bgColor?: string;
|
|
4772
|
+
/** Icon name, resolved by the consumer */
|
|
4773
|
+
icon?: string;
|
|
4774
|
+
/** Side of the label the icon sits on */
|
|
4775
|
+
iconPosition?: UpdateManualTriggerBodyConfigAnyOfConditionalStylesItemAllOfIconPosition;
|
|
4776
|
+
};
|
|
4777
|
+
export type UpdateManualTriggerBodyConfigAnyOfConditionalStylesItemAllOfThreeConditionsAnyOf = {
|
|
4778
|
+
[key: string]: unknown;
|
|
4779
|
+
};
|
|
4780
|
+
/**
|
|
4781
|
+
* jsonLogic conditions selecting this style. Absent or null always applies
|
|
4782
|
+
*/
|
|
4783
|
+
export type UpdateManualTriggerBodyConfigAnyOfConditionalStylesItemAllOfThreeConditions = UpdateManualTriggerBodyConfigAnyOfConditionalStylesItemAllOfThreeConditionsAnyOf | null;
|
|
4784
|
+
export type UpdateManualTriggerBodyConfigAnyOfConditionalStylesItemAllOfThree = {
|
|
4785
|
+
/** jsonLogic conditions selecting this style. Absent or null always applies */
|
|
4786
|
+
conditions?: UpdateManualTriggerBodyConfigAnyOfConditionalStylesItemAllOfThreeConditions;
|
|
4787
|
+
/** Keep evaluating later entries after this one matches */
|
|
4788
|
+
continueEvaluate?: boolean;
|
|
4789
|
+
};
|
|
4790
|
+
export type UpdateManualTriggerBodyConfigAnyOfConditionalStylesItem = UpdateManualTriggerBodyConfigAnyOfConditionalStylesItemAllOf & UpdateManualTriggerBodyConfigAnyOfConditionalStylesItemAllOfThree;
|
|
4791
|
+
export type UpdateManualTriggerBodyConfigAnyOf = {
|
|
4792
|
+
/** What to do with the button when the trigger does not match: hide it or disable it */
|
|
4793
|
+
unmatchedBehavior?: UpdateManualTriggerBodyConfigAnyOfUnmatchedBehavior;
|
|
4794
|
+
/** Presentation of the button a manual trigger is offered on */
|
|
4795
|
+
styles?: UpdateManualTriggerBodyConfigAnyOfStyles;
|
|
4796
|
+
conditionalStyles?: UpdateManualTriggerBodyConfigAnyOfConditionalStylesItem[];
|
|
4797
|
+
[key: string]: unknown;
|
|
4798
|
+
};
|
|
4799
|
+
/**
|
|
4800
|
+
* Configuration of the trigger beyond its firing rules. Null means none
|
|
4801
|
+
*/
|
|
4802
|
+
export type UpdateManualTriggerBodyConfig = UpdateManualTriggerBodyConfigAnyOf | null;
|
|
4370
4803
|
/**
|
|
4371
4804
|
* Executable mechanism of an action
|
|
4372
4805
|
*/
|
|
@@ -4520,6 +4953,8 @@ export type UpdateManualTriggerBody = {
|
|
|
4520
4953
|
enabled?: boolean;
|
|
4521
4954
|
/** Retention in days for the process_log entries of this trigger (issue #175). Origin — no inheritance: null or 0 = disabled (never expires); N (>0) = enabled (expires N days after write). */
|
|
4522
4955
|
retention_days?: UpdateManualTriggerBodyRetentionDays;
|
|
4956
|
+
/** Configuration of the trigger beyond its firing rules. Null means none */
|
|
4957
|
+
config?: UpdateManualTriggerBodyConfig;
|
|
4523
4958
|
/** Full ordered set of actions the trigger runs; the array position is the execution order. An empty array leaves the trigger with none */
|
|
4524
4959
|
actions?: UpdateManualTriggerBodyActionsItem[];
|
|
4525
4960
|
};
|
|
@@ -4555,6 +4990,86 @@ export type UpdateManualTrigger200AllOfRelations = UpdateManualTrigger200AllOfRe
|
|
|
4555
4990
|
* Retention in days for the process_log entries of this trigger (issue #175). Origin — no inheritance: null or 0 = disabled (never expires); N (>0) = enabled (expires N days after write).
|
|
4556
4991
|
*/
|
|
4557
4992
|
export type UpdateManualTrigger200AllOfRetentionDays = number | null;
|
|
4993
|
+
/**
|
|
4994
|
+
* What to do with the button when the trigger does not match: hide it or disable it
|
|
4995
|
+
*/
|
|
4996
|
+
export type UpdateManualTrigger200AllOfConfigAnyOfUnmatchedBehavior = (typeof UpdateManualTrigger200AllOfConfigAnyOfUnmatchedBehavior)[keyof typeof UpdateManualTrigger200AllOfConfigAnyOfUnmatchedBehavior];
|
|
4997
|
+
export declare const UpdateManualTrigger200AllOfConfigAnyOfUnmatchedBehavior: {
|
|
4998
|
+
readonly hide: "hide";
|
|
4999
|
+
readonly disable: "disable";
|
|
5000
|
+
};
|
|
5001
|
+
/**
|
|
5002
|
+
* Side of the label the icon sits on
|
|
5003
|
+
*/
|
|
5004
|
+
export type UpdateManualTrigger200AllOfConfigAnyOfStylesIconPosition = (typeof UpdateManualTrigger200AllOfConfigAnyOfStylesIconPosition)[keyof typeof UpdateManualTrigger200AllOfConfigAnyOfStylesIconPosition];
|
|
5005
|
+
export declare const UpdateManualTrigger200AllOfConfigAnyOfStylesIconPosition: {
|
|
5006
|
+
readonly left: "left";
|
|
5007
|
+
readonly right: "right";
|
|
5008
|
+
};
|
|
5009
|
+
/**
|
|
5010
|
+
* Presentation of the button a manual trigger is offered on
|
|
5011
|
+
*/
|
|
5012
|
+
export type UpdateManualTrigger200AllOfConfigAnyOfStyles = {
|
|
5013
|
+
/** Handlebars template rendered as the button label */
|
|
5014
|
+
text?: string;
|
|
5015
|
+
/** Label colour */
|
|
5016
|
+
textColor?: string;
|
|
5017
|
+
/** Background colour */
|
|
5018
|
+
bgColor?: string;
|
|
5019
|
+
/** Icon name, resolved by the consumer */
|
|
5020
|
+
icon?: string;
|
|
5021
|
+
/** Side of the label the icon sits on */
|
|
5022
|
+
iconPosition?: UpdateManualTrigger200AllOfConfigAnyOfStylesIconPosition;
|
|
5023
|
+
};
|
|
5024
|
+
/**
|
|
5025
|
+
* Side of the label the icon sits on
|
|
5026
|
+
*/
|
|
5027
|
+
export type UpdateManualTrigger200AllOfConfigAnyOfConditionalStylesItemAllOfIconPosition = (typeof UpdateManualTrigger200AllOfConfigAnyOfConditionalStylesItemAllOfIconPosition)[keyof typeof UpdateManualTrigger200AllOfConfigAnyOfConditionalStylesItemAllOfIconPosition];
|
|
5028
|
+
export declare const UpdateManualTrigger200AllOfConfigAnyOfConditionalStylesItemAllOfIconPosition: {
|
|
5029
|
+
readonly left: "left";
|
|
5030
|
+
readonly right: "right";
|
|
5031
|
+
};
|
|
5032
|
+
/**
|
|
5033
|
+
* Presentation of the button a manual trigger is offered on
|
|
5034
|
+
*/
|
|
5035
|
+
export type UpdateManualTrigger200AllOfConfigAnyOfConditionalStylesItemAllOf = {
|
|
5036
|
+
/** Handlebars template rendered as the button label */
|
|
5037
|
+
text?: string;
|
|
5038
|
+
/** Label colour */
|
|
5039
|
+
textColor?: string;
|
|
5040
|
+
/** Background colour */
|
|
5041
|
+
bgColor?: string;
|
|
5042
|
+
/** Icon name, resolved by the consumer */
|
|
5043
|
+
icon?: string;
|
|
5044
|
+
/** Side of the label the icon sits on */
|
|
5045
|
+
iconPosition?: UpdateManualTrigger200AllOfConfigAnyOfConditionalStylesItemAllOfIconPosition;
|
|
5046
|
+
};
|
|
5047
|
+
export type UpdateManualTrigger200AllOfConfigAnyOfConditionalStylesItemAllOfThreeConditionsAnyOf = {
|
|
5048
|
+
[key: string]: unknown;
|
|
5049
|
+
};
|
|
5050
|
+
/**
|
|
5051
|
+
* jsonLogic conditions selecting this style. Absent or null always applies
|
|
5052
|
+
*/
|
|
5053
|
+
export type UpdateManualTrigger200AllOfConfigAnyOfConditionalStylesItemAllOfThreeConditions = UpdateManualTrigger200AllOfConfigAnyOfConditionalStylesItemAllOfThreeConditionsAnyOf | null;
|
|
5054
|
+
export type UpdateManualTrigger200AllOfConfigAnyOfConditionalStylesItemAllOfThree = {
|
|
5055
|
+
/** jsonLogic conditions selecting this style. Absent or null always applies */
|
|
5056
|
+
conditions?: UpdateManualTrigger200AllOfConfigAnyOfConditionalStylesItemAllOfThreeConditions;
|
|
5057
|
+
/** Keep evaluating later entries after this one matches */
|
|
5058
|
+
continueEvaluate?: boolean;
|
|
5059
|
+
};
|
|
5060
|
+
export type UpdateManualTrigger200AllOfConfigAnyOfConditionalStylesItem = UpdateManualTrigger200AllOfConfigAnyOfConditionalStylesItemAllOf & UpdateManualTrigger200AllOfConfigAnyOfConditionalStylesItemAllOfThree;
|
|
5061
|
+
export type UpdateManualTrigger200AllOfConfigAnyOf = {
|
|
5062
|
+
/** What to do with the button when the trigger does not match: hide it or disable it */
|
|
5063
|
+
unmatchedBehavior?: UpdateManualTrigger200AllOfConfigAnyOfUnmatchedBehavior;
|
|
5064
|
+
/** Presentation of the button a manual trigger is offered on */
|
|
5065
|
+
styles?: UpdateManualTrigger200AllOfConfigAnyOfStyles;
|
|
5066
|
+
conditionalStyles?: UpdateManualTrigger200AllOfConfigAnyOfConditionalStylesItem[];
|
|
5067
|
+
[key: string]: unknown;
|
|
5068
|
+
};
|
|
5069
|
+
/**
|
|
5070
|
+
* Configuration of the trigger beyond its firing rules. Null means none
|
|
5071
|
+
*/
|
|
5072
|
+
export type UpdateManualTrigger200AllOfConfig = UpdateManualTrigger200AllOfConfigAnyOf | null;
|
|
4558
5073
|
/**
|
|
4559
5074
|
* Manual trigger definition (ecosystem level)
|
|
4560
5075
|
*/
|
|
@@ -4583,28 +5098,30 @@ export type UpdateManualTrigger200AllOf = {
|
|
|
4583
5098
|
enabled?: boolean;
|
|
4584
5099
|
/** Retention in days for the process_log entries of this trigger (issue #175). Origin — no inheritance: null or 0 = disabled (never expires); N (>0) = enabled (expires N days after write). */
|
|
4585
5100
|
retention_days?: UpdateManualTrigger200AllOfRetentionDays;
|
|
5101
|
+
/** Configuration of the trigger beyond its firing rules. Null means none */
|
|
5102
|
+
config?: UpdateManualTrigger200AllOfConfig;
|
|
4586
5103
|
};
|
|
4587
5104
|
/**
|
|
4588
5105
|
* Project this action belongs to. Null when it is ecosystem-wide
|
|
4589
5106
|
*/
|
|
4590
|
-
export type
|
|
5107
|
+
export type UpdateManualTrigger200AllOfTwozeroActionsItemProjectId = number | null;
|
|
4591
5108
|
/**
|
|
4592
5109
|
* Executable mechanism of an action
|
|
4593
5110
|
*/
|
|
4594
|
-
export type
|
|
4595
|
-
export declare const
|
|
5111
|
+
export type UpdateManualTrigger200AllOfTwozeroActionsItemType = (typeof UpdateManualTrigger200AllOfTwozeroActionsItemType)[keyof typeof UpdateManualTrigger200AllOfTwozeroActionsItemType];
|
|
5112
|
+
export declare const UpdateManualTrigger200AllOfTwozeroActionsItemType: {
|
|
4596
5113
|
readonly ApiAction: "ApiAction";
|
|
4597
5114
|
};
|
|
4598
5115
|
/**
|
|
4599
5116
|
* Base config an override-type merges its `payload` over (only overridable keys are applied).
|
|
4600
5117
|
*/
|
|
4601
|
-
export type
|
|
5118
|
+
export type UpdateManualTrigger200AllOfTwozeroActionsItemConfigAnyOfAllOfDefault = {
|
|
4602
5119
|
[key: string]: unknown;
|
|
4603
5120
|
};
|
|
4604
5121
|
/**
|
|
4605
5122
|
* Base fields shared by every action config
|
|
4606
5123
|
*/
|
|
4607
|
-
export type
|
|
5124
|
+
export type UpdateManualTrigger200AllOfTwozeroActionsItemConfigAnyOfAllOf = {
|
|
4608
5125
|
/** Identifier of the concrete action within its type (e.g. the ApiAction value for type "ApiAction"). Any identifier for future types. */
|
|
4609
5126
|
id: string;
|
|
4610
5127
|
/** Where the effective config is resolved from. Generic string in the base; refined per type in the future (e.g. "inline" | "file"). */
|
|
@@ -4612,56 +5129,56 @@ export type UpdateManualTrigger200AllOfNineActionsItemConfigAnyOfAllOf = {
|
|
|
4612
5129
|
/** Allow-list of config keys a payload may override on top of `default`. Mandatory for override-types; absent for non-override types such as ApiAction. */
|
|
4613
5130
|
overridable?: string[];
|
|
4614
5131
|
/** Base config an override-type merges its `payload` over (only overridable keys are applied). */
|
|
4615
|
-
default?:
|
|
5132
|
+
default?: UpdateManualTrigger200AllOfTwozeroActionsItemConfigAnyOfAllOfDefault;
|
|
4616
5133
|
};
|
|
4617
5134
|
/**
|
|
4618
5135
|
* Data mapping needed to run the ApiAction
|
|
4619
5136
|
*/
|
|
4620
|
-
export type
|
|
5137
|
+
export type UpdateManualTrigger200AllOfTwozeroActionsItemConfigAnyOfAllOfThreePayload = {
|
|
4621
5138
|
[key: string]: unknown;
|
|
4622
5139
|
};
|
|
4623
|
-
export type
|
|
5140
|
+
export type UpdateManualTrigger200AllOfTwozeroActionsItemConfigAnyOfAllOfThree = {
|
|
4624
5141
|
/** Data mapping needed to run the ApiAction */
|
|
4625
|
-
payload:
|
|
5142
|
+
payload: UpdateManualTrigger200AllOfTwozeroActionsItemConfigAnyOfAllOfThreePayload;
|
|
4626
5143
|
};
|
|
4627
5144
|
/**
|
|
4628
5145
|
* Config for actions of type "ApiAction"
|
|
4629
5146
|
*/
|
|
4630
|
-
export type
|
|
5147
|
+
export type UpdateManualTrigger200AllOfTwozeroActionsItemConfigAnyOf = UpdateManualTrigger200AllOfTwozeroActionsItemConfigAnyOfAllOf & UpdateManualTrigger200AllOfTwozeroActionsItemConfigAnyOfAllOfThree;
|
|
4631
5148
|
/**
|
|
4632
5149
|
* Retention in days for the process_log entries of this action (issue #175). Null = inherit (use the firing trigger retention; never if the trigger is null/0); 0 = disabled (never expires, regardless of the trigger); N (>0) = enabled (expires N days after write).
|
|
4633
5150
|
*/
|
|
4634
|
-
export type
|
|
5151
|
+
export type UpdateManualTrigger200AllOfTwozeroActionsItemRetentionDays = number | null;
|
|
4635
5152
|
/**
|
|
4636
5153
|
* Reusable executable action (ecosystem level)
|
|
4637
5154
|
*/
|
|
4638
|
-
export type
|
|
5155
|
+
export type UpdateManualTrigger200AllOfTwozeroActionsItem = {
|
|
4639
5156
|
/** Unique identifier of the action */
|
|
4640
5157
|
id: number;
|
|
4641
5158
|
/** Project this action belongs to. Null when it is ecosystem-wide */
|
|
4642
|
-
project_id?:
|
|
5159
|
+
project_id?: UpdateManualTrigger200AllOfTwozeroActionsItemProjectId;
|
|
4643
5160
|
/**
|
|
4644
5161
|
* Human-readable identifier of the action
|
|
4645
5162
|
* @maxLength 255
|
|
4646
5163
|
*/
|
|
4647
5164
|
name: string;
|
|
4648
5165
|
/** Executable mechanism of an action */
|
|
4649
|
-
type:
|
|
5166
|
+
type: UpdateManualTrigger200AllOfTwozeroActionsItemType;
|
|
4650
5167
|
/** Union of action configs, selected by actions.type */
|
|
4651
|
-
config:
|
|
5168
|
+
config: UpdateManualTrigger200AllOfTwozeroActionsItemConfigAnyOf;
|
|
4652
5169
|
/** Retention in days for the process_log entries of this action (issue #175). Null = inherit (use the firing trigger retention; never if the trigger is null/0); 0 = disabled (never expires, regardless of the trigger); N (>0) = enabled (expires N days after write). */
|
|
4653
|
-
retention_days?:
|
|
5170
|
+
retention_days?: UpdateManualTrigger200AllOfTwozeroActionsItemRetentionDays;
|
|
4654
5171
|
/** Whether the action belongs to the reusable catalog. False (the default) marks it single-use: it is deleted once no trigger links it any more, including before it is ever linked — a standalone action created through POST /action and left unlinked is swept as soon as any trigger of the project writes its links. Set it to true to create one that survives on its own */
|
|
4655
5172
|
library?: boolean;
|
|
4656
5173
|
};
|
|
4657
|
-
export type
|
|
5174
|
+
export type UpdateManualTrigger200AllOfTwozero = {
|
|
4658
5175
|
/** Actions the trigger runs, in execution order */
|
|
4659
|
-
actions?:
|
|
5176
|
+
actions?: UpdateManualTrigger200AllOfTwozeroActionsItem[];
|
|
4660
5177
|
};
|
|
4661
5178
|
/**
|
|
4662
5179
|
* A manual trigger and, when the request wrote them or `includeActions` asked for them, the actions it runs
|
|
4663
5180
|
*/
|
|
4664
|
-
export type UpdateManualTrigger200 = UpdateManualTrigger200AllOf &
|
|
5181
|
+
export type UpdateManualTrigger200 = UpdateManualTrigger200AllOf & UpdateManualTrigger200AllOfTwozero;
|
|
4665
5182
|
/**
|
|
4666
5183
|
* Debug information of the error
|
|
4667
5184
|
*/
|