evo360-types 1.3.224 → 1.3.227
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.
|
@@ -14,6 +14,7 @@ export declare const zFinopsProviderBaseSchema: z.ZodObject<{
|
|
|
14
14
|
} & {
|
|
15
15
|
type: z.ZodEnum<["asaas", "asaas_subaccount", "unknown"]>;
|
|
16
16
|
label: z.ZodString;
|
|
17
|
+
default: z.ZodOptional<z.ZodBoolean>;
|
|
17
18
|
status: z.ZodEnum<["active", "inactive", "draft", "pending_setup", "error"]>;
|
|
18
19
|
enabled_actions: z.ZodArray<z.ZodEnum<["nfse.issue", "nfse.cancel", "billing.payment_link", "billing.subscription", "billing.charge"]>, "many">;
|
|
19
20
|
environments_enabled: z.ZodObject<{
|
|
@@ -53,6 +54,7 @@ export declare const zFinopsProviderBaseSchema: z.ZodObject<{
|
|
|
53
54
|
} & {
|
|
54
55
|
type: z.ZodEnum<["asaas", "asaas_subaccount", "unknown"]>;
|
|
55
56
|
label: z.ZodString;
|
|
57
|
+
default: z.ZodOptional<z.ZodBoolean>;
|
|
56
58
|
status: z.ZodEnum<["active", "inactive", "draft", "pending_setup", "error"]>;
|
|
57
59
|
enabled_actions: z.ZodArray<z.ZodEnum<["nfse.issue", "nfse.cancel", "billing.payment_link", "billing.subscription", "billing.charge"]>, "many">;
|
|
58
60
|
environments_enabled: z.ZodObject<{
|
|
@@ -92,6 +94,7 @@ export declare const zFinopsProviderBaseSchema: z.ZodObject<{
|
|
|
92
94
|
} & {
|
|
93
95
|
type: z.ZodEnum<["asaas", "asaas_subaccount", "unknown"]>;
|
|
94
96
|
label: z.ZodString;
|
|
97
|
+
default: z.ZodOptional<z.ZodBoolean>;
|
|
95
98
|
status: z.ZodEnum<["active", "inactive", "draft", "pending_setup", "error"]>;
|
|
96
99
|
enabled_actions: z.ZodArray<z.ZodEnum<["nfse.issue", "nfse.cancel", "billing.payment_link", "billing.subscription", "billing.charge"]>, "many">;
|
|
97
100
|
environments_enabled: z.ZodObject<{
|
|
@@ -2872,6 +2875,7 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
|
|
|
2872
2875
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2873
2876
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2874
2877
|
label: z.ZodString;
|
|
2878
|
+
default: z.ZodOptional<z.ZodBoolean>;
|
|
2875
2879
|
status: z.ZodEnum<["active", "inactive", "draft", "pending_setup", "error"]>;
|
|
2876
2880
|
enabled_actions: z.ZodArray<z.ZodEnum<["nfse.issue", "nfse.cancel", "billing.payment_link", "billing.subscription", "billing.charge"]>, "many">;
|
|
2877
2881
|
environments_enabled: z.ZodObject<{
|
|
@@ -4485,6 +4489,7 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
|
|
|
4485
4489
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
4486
4490
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
4487
4491
|
label: z.ZodString;
|
|
4492
|
+
default: z.ZodOptional<z.ZodBoolean>;
|
|
4488
4493
|
status: z.ZodEnum<["active", "inactive", "draft", "pending_setup", "error"]>;
|
|
4489
4494
|
enabled_actions: z.ZodArray<z.ZodEnum<["nfse.issue", "nfse.cancel", "billing.payment_link", "billing.subscription", "billing.charge"]>, "many">;
|
|
4490
4495
|
environments_enabled: z.ZodObject<{
|
|
@@ -6098,6 +6103,7 @@ export declare const zAsaasProviderSchema: z.ZodObject<{
|
|
|
6098
6103
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
6099
6104
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
6100
6105
|
label: z.ZodString;
|
|
6106
|
+
default: z.ZodOptional<z.ZodBoolean>;
|
|
6101
6107
|
status: z.ZodEnum<["active", "inactive", "draft", "pending_setup", "error"]>;
|
|
6102
6108
|
enabled_actions: z.ZodArray<z.ZodEnum<["nfse.issue", "nfse.cancel", "billing.payment_link", "billing.subscription", "billing.charge"]>, "many">;
|
|
6103
6109
|
environments_enabled: z.ZodObject<{
|
|
@@ -29,6 +29,7 @@ exports.zFinopsProviderBaseSchema = zod_schemas_1.zFireDocSchema
|
|
|
29
29
|
.extend({
|
|
30
30
|
type: exports.zFinopsProviderTypeSchema,
|
|
31
31
|
label: zod_1.z.string().min(1),
|
|
32
|
+
default: zod_1.z.boolean().optional(),
|
|
32
33
|
status: exports.zProviderStatusSchema,
|
|
33
34
|
enabled_actions: zod_1.z.array(exports.zFinopsActionSchema),
|
|
34
35
|
environments_enabled: zod_1.z.object({
|
|
@@ -27,6 +27,7 @@ export const zFinopsProviderBaseSchema = zFireDocSchema
|
|
|
27
27
|
.extend({
|
|
28
28
|
type: zFinopsProviderTypeSchema,
|
|
29
29
|
label: z.string().min(1),
|
|
30
|
+
default: z.boolean().optional(),
|
|
30
31
|
status: zProviderStatusSchema,
|
|
31
32
|
enabled_actions: z.array(zFinopsActionSchema),
|
|
32
33
|
environments_enabled: z.object({
|
|
@@ -39,6 +39,8 @@ export type ProviderStatus = `${ProviderStatusEnum}`;
|
|
|
39
39
|
export interface IFinopsProviderBase extends IFireDoc {
|
|
40
40
|
type: FinopsProviderType;
|
|
41
41
|
label: string;
|
|
42
|
+
/** Quando true, este é o provider padrão do tenant. */
|
|
43
|
+
default?: boolean;
|
|
42
44
|
status: ProviderStatus;
|
|
43
45
|
enabled_actions: FinopsAction[];
|
|
44
46
|
environments_enabled: {
|
|
@@ -49,6 +49,8 @@ export interface IFinopsProviderBase extends IFireDoc {
|
|
|
49
49
|
type: FinopsProviderType;
|
|
50
50
|
|
|
51
51
|
label: string; // e.g. “Asaas Principal”
|
|
52
|
+
/** Quando true, este é o provider padrão do tenant. */
|
|
53
|
+
default?: boolean;
|
|
52
54
|
status: ProviderStatus;
|
|
53
55
|
|
|
54
56
|
enabled_actions: FinopsAction[];
|