connectbase-client 0.9.0 → 0.9.1
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/index.d.mts +4 -1
- package/dist/index.d.ts +4 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -439,7 +439,7 @@ interface PopulateOption {
|
|
|
439
439
|
populate?: PopulateOption[];
|
|
440
440
|
}
|
|
441
441
|
type TriggerEvent = 'create' | 'update' | 'delete' | 'all';
|
|
442
|
-
type TriggerHandlerType = 'function' | 'workflow' | 'webhook';
|
|
442
|
+
type TriggerHandlerType = 'function' | 'workflow' | 'webhook' | 'inline';
|
|
443
443
|
interface Trigger {
|
|
444
444
|
id: string;
|
|
445
445
|
app_id: string;
|
|
@@ -450,6 +450,7 @@ interface Trigger {
|
|
|
450
450
|
handler_type: TriggerHandlerType;
|
|
451
451
|
handler_id?: string;
|
|
452
452
|
handler_url?: string;
|
|
453
|
+
handler_action?: Record<string, unknown>;
|
|
453
454
|
is_active: boolean;
|
|
454
455
|
order: number;
|
|
455
456
|
created_at: string;
|
|
@@ -462,6 +463,7 @@ interface CreateTriggerRequest {
|
|
|
462
463
|
handler_type: TriggerHandlerType;
|
|
463
464
|
handler_id?: string;
|
|
464
465
|
handler_url?: string;
|
|
466
|
+
handler_action?: Record<string, unknown>;
|
|
465
467
|
condition?: Record<string, unknown>;
|
|
466
468
|
is_active?: boolean;
|
|
467
469
|
order?: number;
|
|
@@ -472,6 +474,7 @@ interface UpdateTriggerRequest {
|
|
|
472
474
|
handler_type?: TriggerHandlerType;
|
|
473
475
|
handler_id?: string;
|
|
474
476
|
handler_url?: string;
|
|
477
|
+
handler_action?: Record<string, unknown>;
|
|
475
478
|
condition?: Record<string, unknown>;
|
|
476
479
|
is_active?: boolean;
|
|
477
480
|
order?: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -439,7 +439,7 @@ interface PopulateOption {
|
|
|
439
439
|
populate?: PopulateOption[];
|
|
440
440
|
}
|
|
441
441
|
type TriggerEvent = 'create' | 'update' | 'delete' | 'all';
|
|
442
|
-
type TriggerHandlerType = 'function' | 'workflow' | 'webhook';
|
|
442
|
+
type TriggerHandlerType = 'function' | 'workflow' | 'webhook' | 'inline';
|
|
443
443
|
interface Trigger {
|
|
444
444
|
id: string;
|
|
445
445
|
app_id: string;
|
|
@@ -450,6 +450,7 @@ interface Trigger {
|
|
|
450
450
|
handler_type: TriggerHandlerType;
|
|
451
451
|
handler_id?: string;
|
|
452
452
|
handler_url?: string;
|
|
453
|
+
handler_action?: Record<string, unknown>;
|
|
453
454
|
is_active: boolean;
|
|
454
455
|
order: number;
|
|
455
456
|
created_at: string;
|
|
@@ -462,6 +463,7 @@ interface CreateTriggerRequest {
|
|
|
462
463
|
handler_type: TriggerHandlerType;
|
|
463
464
|
handler_id?: string;
|
|
464
465
|
handler_url?: string;
|
|
466
|
+
handler_action?: Record<string, unknown>;
|
|
465
467
|
condition?: Record<string, unknown>;
|
|
466
468
|
is_active?: boolean;
|
|
467
469
|
order?: number;
|
|
@@ -472,6 +474,7 @@ interface UpdateTriggerRequest {
|
|
|
472
474
|
handler_type?: TriggerHandlerType;
|
|
473
475
|
handler_id?: string;
|
|
474
476
|
handler_url?: string;
|
|
477
|
+
handler_action?: Record<string, unknown>;
|
|
475
478
|
condition?: Record<string, unknown>;
|
|
476
479
|
is_active?: boolean;
|
|
477
480
|
order?: number;
|