@domu-ai/kiban-sdk 1.82.1 → 1.83.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dashboard/schemas.d.ts +8 -8
- package/internal/client.d.ts +1 -0
- package/internal/client.js +1 -0
- package/internal/schemas.d.ts +3 -3
- package/internal/schemas.js +1 -1
- package/package.json +1 -1
package/dashboard/schemas.d.ts
CHANGED
|
@@ -526,11 +526,11 @@ export declare const PreviewBody: zod.ZodObject<{
|
|
|
526
526
|
}, "strip", zod.ZodTypeAny, {
|
|
527
527
|
id: string;
|
|
528
528
|
time: string;
|
|
529
|
-
days_of_week: (2 | 1 | 6 | 4 |
|
|
529
|
+
days_of_week: (2 | 1 | 6 | 4 | 7 | 3 | 5)[];
|
|
530
530
|
}, {
|
|
531
531
|
id: string;
|
|
532
532
|
time: string;
|
|
533
|
-
days_of_week: (2 | 1 | 6 | 4 |
|
|
533
|
+
days_of_week: (2 | 1 | 6 | 4 | 7 | 3 | 5)[];
|
|
534
534
|
}>, "many">;
|
|
535
535
|
phone_rotation: zod.ZodObject<{
|
|
536
536
|
statuses: zod.ZodArray<zod.ZodEnum<["primary", "secondary", "tertiary", "quaternary", "quinary", "senary", "septenary"]>, "many">;
|
|
@@ -547,7 +547,7 @@ export declare const PreviewBody: zod.ZodObject<{
|
|
|
547
547
|
time_slots: {
|
|
548
548
|
id: string;
|
|
549
549
|
time: string;
|
|
550
|
-
days_of_week: (2 | 1 | 6 | 4 |
|
|
550
|
+
days_of_week: (2 | 1 | 6 | 4 | 7 | 3 | 5)[];
|
|
551
551
|
}[];
|
|
552
552
|
phone_rotation: {
|
|
553
553
|
statuses: ("primary" | "secondary" | "tertiary" | "quaternary" | "quinary" | "senary" | "septenary")[];
|
|
@@ -559,7 +559,7 @@ export declare const PreviewBody: zod.ZodObject<{
|
|
|
559
559
|
time_slots: {
|
|
560
560
|
id: string;
|
|
561
561
|
time: string;
|
|
562
|
-
days_of_week: (2 | 1 | 6 | 4 |
|
|
562
|
+
days_of_week: (2 | 1 | 6 | 4 | 7 | 3 | 5)[];
|
|
563
563
|
}[];
|
|
564
564
|
phone_rotation: {
|
|
565
565
|
statuses: ("primary" | "secondary" | "tertiary" | "quaternary" | "quinary" | "senary" | "septenary")[];
|
|
@@ -956,11 +956,11 @@ export declare const CreateBody: zod.ZodObject<{
|
|
|
956
956
|
}, "strip", zod.ZodTypeAny, {
|
|
957
957
|
id: string;
|
|
958
958
|
time: string;
|
|
959
|
-
days_of_week: (2 | 1 | 6 | 4 |
|
|
959
|
+
days_of_week: (2 | 1 | 6 | 4 | 7 | 3 | 5)[];
|
|
960
960
|
}, {
|
|
961
961
|
id: string;
|
|
962
962
|
time: string;
|
|
963
|
-
days_of_week: (2 | 1 | 6 | 4 |
|
|
963
|
+
days_of_week: (2 | 1 | 6 | 4 | 7 | 3 | 5)[];
|
|
964
964
|
}>, "many">;
|
|
965
965
|
phone_rotation: zod.ZodObject<{
|
|
966
966
|
statuses: zod.ZodArray<zod.ZodEnum<["primary", "secondary", "tertiary", "quaternary", "quinary", "senary", "septenary"]>, "many">;
|
|
@@ -978,7 +978,7 @@ export declare const CreateBody: zod.ZodObject<{
|
|
|
978
978
|
time_slots: {
|
|
979
979
|
id: string;
|
|
980
980
|
time: string;
|
|
981
|
-
days_of_week: (2 | 1 | 6 | 4 |
|
|
981
|
+
days_of_week: (2 | 1 | 6 | 4 | 7 | 3 | 5)[];
|
|
982
982
|
}[];
|
|
983
983
|
phone_rotation: {
|
|
984
984
|
statuses: ("primary" | "secondary" | "tertiary" | "quaternary" | "quinary" | "senary" | "septenary")[];
|
|
@@ -991,7 +991,7 @@ export declare const CreateBody: zod.ZodObject<{
|
|
|
991
991
|
time_slots: {
|
|
992
992
|
id: string;
|
|
993
993
|
time: string;
|
|
994
|
-
days_of_week: (2 | 1 | 6 | 4 |
|
|
994
|
+
days_of_week: (2 | 1 | 6 | 4 | 7 | 3 | 5)[];
|
|
995
995
|
}[];
|
|
996
996
|
phone_rotation: {
|
|
997
997
|
statuses: ("primary" | "secondary" | "tertiary" | "quaternary" | "quinary" | "senary" | "septenary")[];
|
package/internal/client.d.ts
CHANGED
|
@@ -47,6 +47,7 @@ export declare const InternalActionsPostBodyActionType: {
|
|
|
47
47
|
readonly contactupdate: "contact.update";
|
|
48
48
|
readonly paymentnotify: "payment.notify";
|
|
49
49
|
readonly paymentdelegate: "payment.delegate";
|
|
50
|
+
readonly targetenrich: "target.enrich";
|
|
50
51
|
};
|
|
51
52
|
export type InternalActionsPostBody = {
|
|
52
53
|
/** Action type to register */
|
package/internal/client.js
CHANGED
|
@@ -17,6 +17,7 @@ exports.InternalActionsPostBodyActionType = {
|
|
|
17
17
|
contactupdate: 'contact.update',
|
|
18
18
|
paymentnotify: 'payment.notify',
|
|
19
19
|
paymentdelegate: 'payment.delegate',
|
|
20
|
+
targetenrich: 'target.enrich',
|
|
20
21
|
};
|
|
21
22
|
exports.InternalIntegrationsConfigsGet200ItemEnvironment = {
|
|
22
23
|
staging: 'staging',
|
package/internal/schemas.d.ts
CHANGED
|
@@ -87,16 +87,16 @@ export declare const CreateQueryParams: zod.ZodObject<{
|
|
|
87
87
|
export declare const createBodyProviderMax = 50;
|
|
88
88
|
export declare const createBodyIsEnabledDefault = true;
|
|
89
89
|
export declare const CreateBody: zod.ZodObject<{
|
|
90
|
-
actionType: zod.ZodEnum<["interaction.start", "interaction.end", "contact.get", "contact.update", "payment.notify", "payment.delegate"]>;
|
|
90
|
+
actionType: zod.ZodEnum<["interaction.start", "interaction.end", "contact.get", "contact.update", "payment.notify", "payment.delegate", "target.enrich"]>;
|
|
91
91
|
provider: zod.ZodString;
|
|
92
92
|
isEnabled: zod.ZodDefault<zod.ZodBoolean>;
|
|
93
93
|
}, "strip", zod.ZodTypeAny, {
|
|
94
94
|
provider: string;
|
|
95
|
-
actionType: "interaction.start" | "interaction.end" | "contact.get" | "contact.update" | "payment.notify" | "payment.delegate";
|
|
95
|
+
actionType: "interaction.start" | "interaction.end" | "contact.get" | "contact.update" | "payment.notify" | "payment.delegate" | "target.enrich";
|
|
96
96
|
isEnabled: boolean;
|
|
97
97
|
}, {
|
|
98
98
|
provider: string;
|
|
99
|
-
actionType: "interaction.start" | "interaction.end" | "contact.get" | "contact.update" | "payment.notify" | "payment.delegate";
|
|
99
|
+
actionType: "interaction.start" | "interaction.end" | "contact.get" | "contact.update" | "payment.notify" | "payment.delegate" | "target.enrich";
|
|
100
100
|
isEnabled?: boolean | undefined;
|
|
101
101
|
}>;
|
|
102
102
|
/**
|
package/internal/schemas.js
CHANGED
|
@@ -73,7 +73,7 @@ exports.CreateQueryParams = zod.object({
|
|
|
73
73
|
exports.createBodyProviderMax = 50;
|
|
74
74
|
exports.createBodyIsEnabledDefault = true;
|
|
75
75
|
exports.CreateBody = zod.object({
|
|
76
|
-
"actionType": zod.enum(['interaction.start', 'interaction.end', 'contact.get', 'contact.update', 'payment.notify', 'payment.delegate']).describe('Action type to register'),
|
|
76
|
+
"actionType": zod.enum(['interaction.start', 'interaction.end', 'contact.get', 'contact.update', 'payment.notify', 'payment.delegate', 'target.enrich']).describe('Action type to register'),
|
|
77
77
|
"provider": zod.string().min(1).max(exports.createBodyProviderMax).describe('Provider name (e.g. \'sst\', \'livevox\', \'nubank\')'),
|
|
78
78
|
"isEnabled": zod.boolean().default(exports.createBodyIsEnabledDefault).describe('Whether the action is enabled')
|
|
79
79
|
});
|