@logto/schemas 1.16.0 → 1.18.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/alterations/1.17.0-1715826336-add-default-user-role-config.ts +18 -0
- package/alterations/1.17.0-1715829731-rename-data-hook-schema-update-event.ts +120 -0
- package/alterations/1.17.0-1716278409-remove-internal-role-database-policies.ts +37 -0
- package/alterations/1.17.0-1716291265-create-pre-configured-m-api-role.ts +92 -0
- package/alterations/1.17.0-1717148078-remove-service-log-reference.ts +19 -0
- package/alterations/1.18.0-1717567857-social-sign-in-linking.ts +18 -0
- package/alterations/1.18.0-1717597875-add-organization-email-domains-table.ts +31 -0
- package/alterations/1.18.0-1717818597-organization-mfa-requirement.ts +18 -0
- package/alterations/1.18.0-1718340884-rename-org-email-domains-and-add-jit-roles-table.ts +56 -0
- package/alterations/1.18.0-1718594164-add-agree-to-terms-policy.ts +40 -0
- package/alterations/1.18.0-1718785576-organization-application-relations.ts +37 -0
- package/alterations/1.18.0-1718786576-organization-jit-sso-connectors.ts +31 -0
- package/alterations/1.18.0-1718807616-organization-role-application-relations.ts +34 -0
- package/alterations/1.18.0-1718865814-add-subject-tokens.ts +36 -0
- package/alterations/1.18.0-1719014832-organization-role-types.ts +35 -0
- package/alterations/1.18.0-1719221205-fix-functions.ts +25 -0
- package/alterations/1.18.0-1719312694-custom-ui-assets.ts +18 -0
- package/alterations/utils/1716643968-id-generation.ts +46 -0
- package/alterations-js/1.17.0-1715826336-add-default-user-role-config.d.ts +3 -0
- package/alterations-js/1.17.0-1715826336-add-default-user-role-config.js +14 -0
- package/alterations-js/1.17.0-1715829731-rename-data-hook-schema-update-event.d.ts +3 -0
- package/alterations-js/1.17.0-1715829731-rename-data-hook-schema-update-event.js +96 -0
- package/alterations-js/1.17.0-1716278409-remove-internal-role-database-policies.d.ts +3 -0
- package/alterations-js/1.17.0-1716278409-remove-internal-role-database-policies.js +33 -0
- package/alterations-js/1.17.0-1716291265-create-pre-configured-m-api-role.d.ts +7 -0
- package/alterations-js/1.17.0-1716291265-create-pre-configured-m-api-role.js +77 -0
- package/alterations-js/1.17.0-1717148078-remove-service-log-reference.d.ts +3 -0
- package/alterations-js/1.17.0-1717148078-remove-service-log-reference.js +15 -0
- package/alterations-js/1.18.0-1717567857-social-sign-in-linking.d.ts +3 -0
- package/alterations-js/1.18.0-1717567857-social-sign-in-linking.js +14 -0
- package/alterations-js/1.18.0-1717597875-add-organization-email-domains-table.d.ts +3 -0
- package/alterations-js/1.18.0-1717597875-add-organization-email-domains-table.js +26 -0
- package/alterations-js/1.18.0-1717818597-organization-mfa-requirement.d.ts +3 -0
- package/alterations-js/1.18.0-1717818597-organization-mfa-requirement.js +14 -0
- package/alterations-js/1.18.0-1718340884-rename-org-email-domains-and-add-jit-roles-table.d.ts +3 -0
- package/alterations-js/1.18.0-1718340884-rename-org-email-domains-and-add-jit-roles-table.js +51 -0
- package/alterations-js/1.18.0-1718594164-add-agree-to-terms-policy.d.ts +3 -0
- package/alterations-js/1.18.0-1718594164-add-agree-to-terms-policy.js +34 -0
- package/alterations-js/1.18.0-1718785576-organization-application-relations.d.ts +3 -0
- package/alterations-js/1.18.0-1718785576-organization-application-relations.js +32 -0
- package/alterations-js/1.18.0-1718786576-organization-jit-sso-connectors.d.ts +3 -0
- package/alterations-js/1.18.0-1718786576-organization-jit-sso-connectors.js +26 -0
- package/alterations-js/1.18.0-1718807616-organization-role-application-relations.d.ts +3 -0
- package/alterations-js/1.18.0-1718807616-organization-role-application-relations.js +29 -0
- package/alterations-js/1.18.0-1718865814-add-subject-tokens.d.ts +3 -0
- package/alterations-js/1.18.0-1718865814-add-subject-tokens.js +31 -0
- package/alterations-js/1.18.0-1719014832-organization-role-types.d.ts +3 -0
- package/alterations-js/1.18.0-1719014832-organization-role-types.js +31 -0
- package/alterations-js/1.18.0-1719221205-fix-functions.d.ts +7 -0
- package/alterations-js/1.18.0-1719221205-fix-functions.js +20 -0
- package/alterations-js/1.18.0-1719312694-custom-ui-assets.d.ts +3 -0
- package/alterations-js/1.18.0-1719312694-custom-ui-assets.js +14 -0
- package/alterations-js/utils/1716643968-id-generation.d.ts +19 -0
- package/alterations-js/utils/1716643968-id-generation.js +26 -0
- package/lib/consts/subscriptions.d.ts +9 -6
- package/lib/consts/subscriptions.js +8 -5
- package/lib/db-entries/custom-types.d.ts +5 -0
- package/lib/db-entries/custom-types.js +6 -0
- package/lib/db-entries/index.d.ts +6 -0
- package/lib/db-entries/index.js +6 -0
- package/lib/db-entries/organization-application-relation.d.ts +20 -0
- package/lib/db-entries/organization-application-relation.js +29 -0
- package/lib/db-entries/organization-jit-email-domain.d.ts +24 -0
- package/lib/db-entries/organization-jit-email-domain.js +29 -0
- package/lib/db-entries/organization-jit-role.d.ts +24 -0
- package/lib/db-entries/organization-jit-role.js +29 -0
- package/lib/db-entries/organization-jit-sso-connector.d.ts +22 -0
- package/lib/db-entries/organization-jit-sso-connector.js +29 -0
- package/lib/db-entries/organization-role-application-relation.d.ts +22 -0
- package/lib/db-entries/organization-role-application-relation.js +33 -0
- package/lib/db-entries/organization-role.d.ts +6 -1
- package/lib/db-entries/organization-role.js +5 -0
- package/lib/db-entries/organization.d.ts +5 -1
- package/lib/db-entries/organization.js +4 -0
- package/lib/db-entries/role.d.ts +5 -1
- package/lib/db-entries/role.js +4 -0
- package/lib/db-entries/sign-in-experience.d.ts +11 -3
- package/lib/db-entries/sign-in-experience.js +14 -2
- package/lib/db-entries/subject-token.d.ts +28 -0
- package/lib/db-entries/subject-token.js +50 -0
- package/lib/foundations/jsonb-types/hooks.d.ts +18 -20
- package/lib/foundations/jsonb-types/hooks.js +21 -21
- package/lib/foundations/jsonb-types/oidc-module.d.ts +33 -1
- package/lib/foundations/jsonb-types/oidc-module.js +2 -0
- package/lib/foundations/jsonb-types/sign-in-experience.d.ts +14 -0
- package/lib/foundations/jsonb-types/sign-in-experience.js +3 -0
- package/lib/models/tenants.d.ts +0 -21
- package/lib/models/tenants.js +0 -3
- package/lib/seeds/cloud-api.js +1 -0
- package/lib/seeds/management-api.d.ts +4 -0
- package/lib/seeds/management-api.js +10 -0
- package/lib/seeds/sign-in-experience.js +1 -0
- package/lib/types/application.d.ts +7 -47
- package/lib/types/connector.d.ts +724 -190
- package/lib/types/consent.d.ts +1 -9
- package/lib/types/hook.d.ts +67 -6
- package/lib/types/index.d.ts +2 -0
- package/lib/types/index.js +2 -0
- package/lib/types/interactions.d.ts +141 -6
- package/lib/types/interactions.js +62 -8
- package/lib/types/log/token.d.ts +2 -1
- package/lib/types/log/token.js +1 -0
- package/lib/types/logto-config/index.d.ts +10 -0
- package/lib/types/logto-config/jwt-customizer.d.ts +174 -137
- package/lib/types/logto-config/jwt-customizer.js +2 -1
- package/lib/types/mapi-proxy.js +1 -0
- package/lib/types/oidc-config.d.ts +2 -1
- package/lib/types/oidc-config.js +1 -0
- package/lib/types/organization.d.ts +12 -3
- package/lib/types/organization.js +4 -1
- package/lib/types/role.d.ts +6 -1
- package/lib/types/role.js +6 -1
- package/lib/types/sign-in-experience.d.ts +1064 -0
- package/lib/types/sign-in-experience.js +21 -0
- package/lib/types/subject-token.d.ts +12 -0
- package/lib/types/subject-token.js +5 -0
- package/lib/types/system.d.ts +4 -4
- package/lib/types/tenant-organization.d.ts +1 -0
- package/lib/types/tenant-organization.js +3 -0
- package/lib/types/user.d.ts +5 -1
- package/lib/types/user.js +5 -1
- package/lib/utils/role.d.ts +2 -0
- package/lib/utils/role.js +2 -0
- package/lib/utils/zod.d.ts +1 -1
- package/package.json +8 -7
- package/tables/_after_all.sql +0 -27
- package/tables/applications.sql +5 -0
- package/tables/organization_application_relations.sql +14 -0
- package/tables/organization_jit_email_domains.sql +13 -0
- package/tables/organization_jit_roles.sql +14 -0
- package/tables/organization_jit_sso_connectors.sql +13 -0
- package/tables/organization_role_application_relations.sql +18 -0
- package/tables/organization_role_user_relations.sql +3 -1
- package/tables/organization_roles.sql +8 -1
- package/tables/organizations.sql +2 -0
- package/tables/roles.sql +2 -0
- package/tables/service_logs.sql +1 -2
- package/tables/sign_in_experiences.sql +5 -0
- package/tables/subject_tokens.sql +16 -0
package/lib/types/connector.d.ts
CHANGED
|
@@ -7,22 +7,23 @@ export declare const connectorResponseGuard: z.ZodObject<{
|
|
|
7
7
|
id: z.ZodString;
|
|
8
8
|
logo: z.ZodString;
|
|
9
9
|
description: z.ZodType<import("@logto/connector-kit").I18nPhrases, z.ZodTypeDef, import("@logto/connector-kit").I18nPhrases>;
|
|
10
|
-
target: z.ZodString;
|
|
11
|
-
logoDark: z.ZodNullable<z.ZodString>;
|
|
12
10
|
syncProfile: z.ZodType<boolean, z.ZodTypeDef, boolean>;
|
|
13
11
|
connectorId: z.ZodType<string, z.ZodTypeDef, string>;
|
|
14
12
|
config: z.ZodType<import("@withtyped/server").JsonObject, z.ZodTypeDef, import("@withtyped/server").JsonObject>;
|
|
15
|
-
metadata: z.ZodType<
|
|
16
|
-
target
|
|
17
|
-
name
|
|
18
|
-
logo
|
|
19
|
-
logoDark
|
|
20
|
-
}, z.
|
|
21
|
-
target
|
|
22
|
-
name
|
|
23
|
-
logo
|
|
24
|
-
logoDark
|
|
25
|
-
}
|
|
13
|
+
metadata: z.ZodType<{
|
|
14
|
+
target?: string | undefined;
|
|
15
|
+
name?: import("@logto/connector-kit").I18nPhrases | undefined;
|
|
16
|
+
logo?: string | undefined;
|
|
17
|
+
logoDark?: string | null | undefined;
|
|
18
|
+
}, z.ZodTypeDef, {
|
|
19
|
+
target?: string | undefined;
|
|
20
|
+
name?: import("@logto/connector-kit").I18nPhrases | undefined;
|
|
21
|
+
logo?: string | undefined;
|
|
22
|
+
logoDark?: string | null | undefined;
|
|
23
|
+
}>;
|
|
24
|
+
target: z.ZodString;
|
|
25
|
+
logoDark: z.ZodNullable<z.ZodString>;
|
|
26
|
+
customData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
26
27
|
readme: z.ZodString;
|
|
27
28
|
configTemplate: z.ZodOptional<z.ZodString>;
|
|
28
29
|
formItems: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
@@ -91,6 +92,67 @@ export declare const connectorResponseGuard: z.ZodObject<{
|
|
|
91
92
|
description?: string | undefined;
|
|
92
93
|
tooltip?: string | undefined;
|
|
93
94
|
isConfidential?: boolean | undefined;
|
|
95
|
+
}>, z.ZodObject<{
|
|
96
|
+
key: z.ZodString;
|
|
97
|
+
label: z.ZodString;
|
|
98
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
99
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
100
|
+
defaultValue: z.ZodOptional<z.ZodUnknown>;
|
|
101
|
+
showConditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
102
|
+
targetKey: z.ZodString;
|
|
103
|
+
expectValue: z.ZodOptional<z.ZodUnknown>;
|
|
104
|
+
}, "strip", z.ZodTypeAny, {
|
|
105
|
+
targetKey: string;
|
|
106
|
+
expectValue?: unknown;
|
|
107
|
+
}, {
|
|
108
|
+
targetKey: string;
|
|
109
|
+
expectValue?: unknown;
|
|
110
|
+
}>, "many">>;
|
|
111
|
+
description: z.ZodOptional<z.ZodString>;
|
|
112
|
+
tooltip: z.ZodOptional<z.ZodString>;
|
|
113
|
+
isConfidential: z.ZodOptional<z.ZodBoolean>;
|
|
114
|
+
type: z.ZodLiteral<import("@logto/connector-kit").ConnectorConfigFormItemType.MultiSelect>;
|
|
115
|
+
selectItems: z.ZodArray<z.ZodObject<{
|
|
116
|
+
value: z.ZodString;
|
|
117
|
+
}, "strip", z.ZodTypeAny, {
|
|
118
|
+
value: string;
|
|
119
|
+
}, {
|
|
120
|
+
value: string;
|
|
121
|
+
}>, "many">;
|
|
122
|
+
}, "strip", z.ZodTypeAny, {
|
|
123
|
+
type: import("@logto/connector-kit").ConnectorConfigFormItemType.MultiSelect;
|
|
124
|
+
selectItems: {
|
|
125
|
+
value: string;
|
|
126
|
+
}[];
|
|
127
|
+
key: string;
|
|
128
|
+
label: string;
|
|
129
|
+
placeholder?: string | undefined;
|
|
130
|
+
required?: boolean | undefined;
|
|
131
|
+
defaultValue?: unknown;
|
|
132
|
+
showConditions?: {
|
|
133
|
+
targetKey: string;
|
|
134
|
+
expectValue?: unknown;
|
|
135
|
+
}[] | undefined;
|
|
136
|
+
description?: string | undefined;
|
|
137
|
+
tooltip?: string | undefined;
|
|
138
|
+
isConfidential?: boolean | undefined;
|
|
139
|
+
}, {
|
|
140
|
+
type: import("@logto/connector-kit").ConnectorConfigFormItemType.MultiSelect;
|
|
141
|
+
selectItems: {
|
|
142
|
+
value: string;
|
|
143
|
+
}[];
|
|
144
|
+
key: string;
|
|
145
|
+
label: string;
|
|
146
|
+
placeholder?: string | undefined;
|
|
147
|
+
required?: boolean | undefined;
|
|
148
|
+
defaultValue?: unknown;
|
|
149
|
+
showConditions?: {
|
|
150
|
+
targetKey: string;
|
|
151
|
+
expectValue?: unknown;
|
|
152
|
+
}[] | undefined;
|
|
153
|
+
description?: string | undefined;
|
|
154
|
+
tooltip?: string | undefined;
|
|
155
|
+
isConfidential?: boolean | undefined;
|
|
94
156
|
}>, z.ZodObject<{
|
|
95
157
|
key: z.ZodString;
|
|
96
158
|
label: z.ZodString;
|
|
@@ -140,6 +202,7 @@ export declare const connectorResponseGuard: z.ZodObject<{
|
|
|
140
202
|
tooltip?: string | undefined;
|
|
141
203
|
isConfidential?: boolean | undefined;
|
|
142
204
|
}>]>, "many">>;
|
|
205
|
+
fromEmail: z.ZodOptional<z.ZodString>;
|
|
143
206
|
platform: z.ZodNullable<z.ZodNativeEnum<typeof import("@logto/connector-kit").ConnectorPlatform>>;
|
|
144
207
|
isStandard: z.ZodOptional<z.ZodBoolean>;
|
|
145
208
|
type: z.ZodNativeEnum<typeof ConnectorType>;
|
|
@@ -402,8 +465,6 @@ export declare const connectorResponseGuard: z.ZodObject<{
|
|
|
402
465
|
"zh-TW"?: string | undefined;
|
|
403
466
|
"zz-TR"?: string | undefined;
|
|
404
467
|
};
|
|
405
|
-
target: string;
|
|
406
|
-
logoDark: string | null;
|
|
407
468
|
syncProfile: boolean;
|
|
408
469
|
connectorId: string;
|
|
409
470
|
config: import("@withtyped/server").JsonObject;
|
|
@@ -412,11 +473,12 @@ export declare const connectorResponseGuard: z.ZodObject<{
|
|
|
412
473
|
name?: import("@logto/connector-kit").I18nPhrases | undefined;
|
|
413
474
|
logo?: string | undefined;
|
|
414
475
|
logoDark?: string | null | undefined;
|
|
415
|
-
} & {
|
|
416
|
-
[k: string]: unknown;
|
|
417
476
|
};
|
|
477
|
+
target: string;
|
|
478
|
+
logoDark: string | null;
|
|
418
479
|
readme: string;
|
|
419
480
|
platform: import("@logto/connector-kit").ConnectorPlatform | null;
|
|
481
|
+
customData?: Record<string, unknown> | undefined;
|
|
420
482
|
configTemplate?: string | undefined;
|
|
421
483
|
formItems?: ({
|
|
422
484
|
type: import("@logto/connector-kit").ConnectorConfigFormItemType.Select;
|
|
@@ -436,6 +498,23 @@ export declare const connectorResponseGuard: z.ZodObject<{
|
|
|
436
498
|
description?: string | undefined;
|
|
437
499
|
tooltip?: string | undefined;
|
|
438
500
|
isConfidential?: boolean | undefined;
|
|
501
|
+
} | {
|
|
502
|
+
type: import("@logto/connector-kit").ConnectorConfigFormItemType.MultiSelect;
|
|
503
|
+
selectItems: {
|
|
504
|
+
value: string;
|
|
505
|
+
}[];
|
|
506
|
+
key: string;
|
|
507
|
+
label: string;
|
|
508
|
+
placeholder?: string | undefined;
|
|
509
|
+
required?: boolean | undefined;
|
|
510
|
+
defaultValue?: unknown;
|
|
511
|
+
showConditions?: {
|
|
512
|
+
targetKey: string;
|
|
513
|
+
expectValue?: unknown;
|
|
514
|
+
}[] | undefined;
|
|
515
|
+
description?: string | undefined;
|
|
516
|
+
tooltip?: string | undefined;
|
|
517
|
+
isConfidential?: boolean | undefined;
|
|
439
518
|
} | {
|
|
440
519
|
type: import("@logto/connector-kit").ConnectorConfigFormItemType.Text | import("@logto/connector-kit").ConnectorConfigFormItemType.Number | import("@logto/connector-kit").ConnectorConfigFormItemType.MultilineText | import("@logto/connector-kit").ConnectorConfigFormItemType.Switch | import("@logto/connector-kit").ConnectorConfigFormItemType.Json;
|
|
441
520
|
key: string;
|
|
@@ -451,6 +530,7 @@ export declare const connectorResponseGuard: z.ZodObject<{
|
|
|
451
530
|
tooltip?: string | undefined;
|
|
452
531
|
isConfidential?: boolean | undefined;
|
|
453
532
|
})[] | undefined;
|
|
533
|
+
fromEmail?: string | undefined;
|
|
454
534
|
isStandard?: boolean | undefined;
|
|
455
535
|
isDemo?: boolean | undefined;
|
|
456
536
|
extraInfo?: Record<string, unknown> | undefined;
|
|
@@ -711,8 +791,6 @@ export declare const connectorResponseGuard: z.ZodObject<{
|
|
|
711
791
|
"zh-TW"?: string | undefined;
|
|
712
792
|
"zz-TR"?: string | undefined;
|
|
713
793
|
};
|
|
714
|
-
target: string;
|
|
715
|
-
logoDark: string | null;
|
|
716
794
|
syncProfile: boolean;
|
|
717
795
|
connectorId: string;
|
|
718
796
|
config: import("@withtyped/server").JsonObject;
|
|
@@ -721,11 +799,12 @@ export declare const connectorResponseGuard: z.ZodObject<{
|
|
|
721
799
|
name?: import("@logto/connector-kit").I18nPhrases | undefined;
|
|
722
800
|
logo?: string | undefined;
|
|
723
801
|
logoDark?: string | null | undefined;
|
|
724
|
-
} & {
|
|
725
|
-
[k: string]: unknown;
|
|
726
802
|
};
|
|
803
|
+
target: string;
|
|
804
|
+
logoDark: string | null;
|
|
727
805
|
readme: string;
|
|
728
806
|
platform: import("@logto/connector-kit").ConnectorPlatform | null;
|
|
807
|
+
customData?: Record<string, unknown> | undefined;
|
|
729
808
|
configTemplate?: string | undefined;
|
|
730
809
|
formItems?: ({
|
|
731
810
|
type: import("@logto/connector-kit").ConnectorConfigFormItemType.Select;
|
|
@@ -745,6 +824,23 @@ export declare const connectorResponseGuard: z.ZodObject<{
|
|
|
745
824
|
description?: string | undefined;
|
|
746
825
|
tooltip?: string | undefined;
|
|
747
826
|
isConfidential?: boolean | undefined;
|
|
827
|
+
} | {
|
|
828
|
+
type: import("@logto/connector-kit").ConnectorConfigFormItemType.MultiSelect;
|
|
829
|
+
selectItems: {
|
|
830
|
+
value: string;
|
|
831
|
+
}[];
|
|
832
|
+
key: string;
|
|
833
|
+
label: string;
|
|
834
|
+
placeholder?: string | undefined;
|
|
835
|
+
required?: boolean | undefined;
|
|
836
|
+
defaultValue?: unknown;
|
|
837
|
+
showConditions?: {
|
|
838
|
+
targetKey: string;
|
|
839
|
+
expectValue?: unknown;
|
|
840
|
+
}[] | undefined;
|
|
841
|
+
description?: string | undefined;
|
|
842
|
+
tooltip?: string | undefined;
|
|
843
|
+
isConfidential?: boolean | undefined;
|
|
748
844
|
} | {
|
|
749
845
|
type: import("@logto/connector-kit").ConnectorConfigFormItemType.Text | import("@logto/connector-kit").ConnectorConfigFormItemType.Number | import("@logto/connector-kit").ConnectorConfigFormItemType.MultilineText | import("@logto/connector-kit").ConnectorConfigFormItemType.Switch | import("@logto/connector-kit").ConnectorConfigFormItemType.Json;
|
|
750
846
|
key: string;
|
|
@@ -760,6 +856,7 @@ export declare const connectorResponseGuard: z.ZodObject<{
|
|
|
760
856
|
tooltip?: string | undefined;
|
|
761
857
|
isConfidential?: boolean | undefined;
|
|
762
858
|
})[] | undefined;
|
|
859
|
+
fromEmail?: string | undefined;
|
|
763
860
|
isStandard?: boolean | undefined;
|
|
764
861
|
isDemo?: boolean | undefined;
|
|
765
862
|
extraInfo?: Record<string, unknown> | undefined;
|
|
@@ -862,84 +959,18 @@ export declare const connectorFactoryResponseGuard: z.ZodObject<{
|
|
|
862
959
|
description: z.ZodOptional<z.ZodString>;
|
|
863
960
|
tooltip: z.ZodOptional<z.ZodString>;
|
|
864
961
|
isConfidential: z.ZodOptional<z.ZodBoolean>;
|
|
865
|
-
type: z.
|
|
866
|
-
}, "strip", z.ZodTypeAny, {
|
|
867
|
-
type: import("@logto/connector-kit").ConnectorConfigFormItemType.Text | import("@logto/connector-kit").ConnectorConfigFormItemType.Number | import("@logto/connector-kit").ConnectorConfigFormItemType.MultilineText | import("@logto/connector-kit").ConnectorConfigFormItemType.Switch | import("@logto/connector-kit").ConnectorConfigFormItemType.Json;
|
|
868
|
-
key: string;
|
|
869
|
-
label: string;
|
|
870
|
-
placeholder?: string | undefined;
|
|
871
|
-
required?: boolean | undefined;
|
|
872
|
-
defaultValue?: unknown;
|
|
873
|
-
showConditions?: {
|
|
874
|
-
targetKey: string;
|
|
875
|
-
expectValue?: unknown;
|
|
876
|
-
}[] | undefined;
|
|
877
|
-
description?: string | undefined;
|
|
878
|
-
tooltip?: string | undefined;
|
|
879
|
-
isConfidential?: boolean | undefined;
|
|
880
|
-
}, {
|
|
881
|
-
type: import("@logto/connector-kit").ConnectorConfigFormItemType.Text | import("@logto/connector-kit").ConnectorConfigFormItemType.Number | import("@logto/connector-kit").ConnectorConfigFormItemType.MultilineText | import("@logto/connector-kit").ConnectorConfigFormItemType.Switch | import("@logto/connector-kit").ConnectorConfigFormItemType.Json;
|
|
882
|
-
key: string;
|
|
883
|
-
label: string;
|
|
884
|
-
placeholder?: string | undefined;
|
|
885
|
-
required?: boolean | undefined;
|
|
886
|
-
defaultValue?: unknown;
|
|
887
|
-
showConditions?: {
|
|
888
|
-
targetKey: string;
|
|
889
|
-
expectValue?: unknown;
|
|
890
|
-
}[] | undefined;
|
|
891
|
-
description?: string | undefined;
|
|
892
|
-
tooltip?: string | undefined;
|
|
893
|
-
isConfidential?: boolean | undefined;
|
|
894
|
-
}>]>, "many">>;
|
|
895
|
-
platform: z.ZodNullable<z.ZodNativeEnum<typeof import("@logto/connector-kit").ConnectorPlatform>>;
|
|
896
|
-
isStandard: z.ZodOptional<z.ZodBoolean>;
|
|
897
|
-
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
898
|
-
type: z.ZodNativeEnum<typeof ConnectorType>;
|
|
899
|
-
isDemo: z.ZodOptional<z.ZodBoolean>;
|
|
900
|
-
description: z.ZodType<import("@logto/connector-kit").I18nPhrases, z.ZodTypeDef, import("@logto/connector-kit").I18nPhrases>;
|
|
901
|
-
id: z.ZodString;
|
|
902
|
-
target: z.ZodString;
|
|
903
|
-
name: z.ZodType<import("@logto/connector-kit").I18nPhrases, z.ZodTypeDef, import("@logto/connector-kit").I18nPhrases>;
|
|
904
|
-
logo: z.ZodString;
|
|
905
|
-
logoDark: z.ZodNullable<z.ZodString>;
|
|
906
|
-
readme: z.ZodString;
|
|
907
|
-
configTemplate: z.ZodOptional<z.ZodString>;
|
|
908
|
-
formItems: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
909
|
-
key: z.ZodString;
|
|
910
|
-
label: z.ZodString;
|
|
911
|
-
placeholder: z.ZodOptional<z.ZodString>;
|
|
912
|
-
required: z.ZodOptional<z.ZodBoolean>;
|
|
913
|
-
defaultValue: z.ZodOptional<z.ZodUnknown>;
|
|
914
|
-
showConditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
915
|
-
targetKey: z.ZodString;
|
|
916
|
-
expectValue: z.ZodOptional<z.ZodUnknown>;
|
|
917
|
-
}, "strip", z.ZodTypeAny, {
|
|
918
|
-
targetKey: string;
|
|
919
|
-
expectValue?: unknown;
|
|
920
|
-
}, {
|
|
921
|
-
targetKey: string;
|
|
922
|
-
expectValue?: unknown;
|
|
923
|
-
}>, "many">>;
|
|
924
|
-
description: z.ZodOptional<z.ZodString>;
|
|
925
|
-
tooltip: z.ZodOptional<z.ZodString>;
|
|
926
|
-
isConfidential: z.ZodOptional<z.ZodBoolean>;
|
|
927
|
-
type: z.ZodLiteral<import("@logto/connector-kit").ConnectorConfigFormItemType.Select>;
|
|
962
|
+
type: z.ZodLiteral<import("@logto/connector-kit").ConnectorConfigFormItemType.MultiSelect>;
|
|
928
963
|
selectItems: z.ZodArray<z.ZodObject<{
|
|
929
964
|
value: z.ZodString;
|
|
930
|
-
title: z.ZodString;
|
|
931
965
|
}, "strip", z.ZodTypeAny, {
|
|
932
966
|
value: string;
|
|
933
|
-
title: string;
|
|
934
967
|
}, {
|
|
935
968
|
value: string;
|
|
936
|
-
title: string;
|
|
937
969
|
}>, "many">;
|
|
938
970
|
}, "strip", z.ZodTypeAny, {
|
|
939
|
-
type: import("@logto/connector-kit").ConnectorConfigFormItemType.
|
|
971
|
+
type: import("@logto/connector-kit").ConnectorConfigFormItemType.MultiSelect;
|
|
940
972
|
selectItems: {
|
|
941
973
|
value: string;
|
|
942
|
-
title: string;
|
|
943
974
|
}[];
|
|
944
975
|
key: string;
|
|
945
976
|
label: string;
|
|
@@ -954,10 +985,9 @@ export declare const connectorFactoryResponseGuard: z.ZodObject<{
|
|
|
954
985
|
tooltip?: string | undefined;
|
|
955
986
|
isConfidential?: boolean | undefined;
|
|
956
987
|
}, {
|
|
957
|
-
type: import("@logto/connector-kit").ConnectorConfigFormItemType.
|
|
988
|
+
type: import("@logto/connector-kit").ConnectorConfigFormItemType.MultiSelect;
|
|
958
989
|
selectItems: {
|
|
959
990
|
value: string;
|
|
960
|
-
title: string;
|
|
961
991
|
}[];
|
|
962
992
|
key: string;
|
|
963
993
|
label: string;
|
|
@@ -1020,107 +1050,610 @@ export declare const connectorFactoryResponseGuard: z.ZodObject<{
|
|
|
1020
1050
|
tooltip?: string | undefined;
|
|
1021
1051
|
isConfidential?: boolean | undefined;
|
|
1022
1052
|
}>]>, "many">>;
|
|
1053
|
+
customData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1054
|
+
fromEmail: z.ZodOptional<z.ZodString>;
|
|
1023
1055
|
platform: z.ZodNullable<z.ZodNativeEnum<typeof import("@logto/connector-kit").ConnectorPlatform>>;
|
|
1024
1056
|
isStandard: z.ZodOptional<z.ZodBoolean>;
|
|
1025
|
-
},
|
|
1026
|
-
type:
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1057
|
+
}, "strip", z.ZodTypeAny, {
|
|
1058
|
+
type: ConnectorType;
|
|
1059
|
+
name: {
|
|
1060
|
+
en: string;
|
|
1061
|
+
} & {
|
|
1062
|
+
"af-ZA"?: string | undefined;
|
|
1063
|
+
"am-ET"?: string | undefined;
|
|
1064
|
+
"ar-AR"?: string | undefined;
|
|
1065
|
+
"as-IN"?: string | undefined;
|
|
1066
|
+
"az-AZ"?: string | undefined;
|
|
1067
|
+
"be-BY"?: string | undefined;
|
|
1068
|
+
"bg-BG"?: string | undefined;
|
|
1069
|
+
"bn-IN"?: string | undefined;
|
|
1070
|
+
"br-FR"?: string | undefined;
|
|
1071
|
+
"bs-BA"?: string | undefined;
|
|
1072
|
+
"ca-ES"?: string | undefined;
|
|
1073
|
+
"cb-IQ"?: string | undefined;
|
|
1074
|
+
"co-FR"?: string | undefined;
|
|
1075
|
+
"cs-CZ"?: string | undefined;
|
|
1076
|
+
"cx-PH"?: string | undefined;
|
|
1077
|
+
"cy-GB"?: string | undefined;
|
|
1078
|
+
"da-DK"?: string | undefined;
|
|
1079
|
+
de?: string | undefined;
|
|
1080
|
+
"de-DE"?: string | undefined;
|
|
1081
|
+
"el-GR"?: string | undefined;
|
|
1082
|
+
"en-GB"?: string | undefined;
|
|
1083
|
+
"en-US"?: string | undefined;
|
|
1084
|
+
"eo-EO"?: string | undefined;
|
|
1085
|
+
es?: string | undefined;
|
|
1086
|
+
"es-ES"?: string | undefined;
|
|
1087
|
+
"es-419"?: string | undefined;
|
|
1088
|
+
"et-EE"?: string | undefined;
|
|
1089
|
+
"eu-ES"?: string | undefined;
|
|
1090
|
+
"fa-IR"?: string | undefined;
|
|
1091
|
+
"ff-NG"?: string | undefined;
|
|
1092
|
+
"fi-FI"?: string | undefined;
|
|
1093
|
+
"fo-FO"?: string | undefined;
|
|
1094
|
+
fr?: string | undefined;
|
|
1095
|
+
"fr-CA"?: string | undefined;
|
|
1096
|
+
"fr-FR"?: string | undefined;
|
|
1097
|
+
"fy-NL"?: string | undefined;
|
|
1098
|
+
"ga-IE"?: string | undefined;
|
|
1099
|
+
"gl-ES"?: string | undefined;
|
|
1100
|
+
"gn-PY"?: string | undefined;
|
|
1101
|
+
"gu-IN"?: string | undefined;
|
|
1102
|
+
"ha-NG"?: string | undefined;
|
|
1103
|
+
"he-IL"?: string | undefined;
|
|
1104
|
+
"hi-IN"?: string | undefined;
|
|
1105
|
+
"hr-HR"?: string | undefined;
|
|
1106
|
+
"ht-HT"?: string | undefined;
|
|
1107
|
+
"hu-HU"?: string | undefined;
|
|
1108
|
+
"hy-AM"?: string | undefined;
|
|
1109
|
+
"id-ID"?: string | undefined;
|
|
1110
|
+
"ik-US"?: string | undefined;
|
|
1111
|
+
"is-IS"?: string | undefined;
|
|
1112
|
+
it?: string | undefined;
|
|
1113
|
+
"it-IT"?: string | undefined;
|
|
1114
|
+
"iu-CA"?: string | undefined;
|
|
1115
|
+
ja?: string | undefined;
|
|
1116
|
+
"ja-JP"?: string | undefined;
|
|
1117
|
+
"ja-KS"?: string | undefined;
|
|
1118
|
+
"jv-ID"?: string | undefined;
|
|
1119
|
+
"ka-GE"?: string | undefined;
|
|
1120
|
+
"kk-KZ"?: string | undefined;
|
|
1121
|
+
"km-KH"?: string | undefined;
|
|
1122
|
+
"kn-IN"?: string | undefined;
|
|
1123
|
+
ko?: string | undefined;
|
|
1124
|
+
"ko-KR"?: string | undefined;
|
|
1125
|
+
"ku-TR"?: string | undefined;
|
|
1126
|
+
"ky-KG"?: string | undefined;
|
|
1127
|
+
"lo-LA"?: string | undefined;
|
|
1128
|
+
"lt-LT"?: string | undefined;
|
|
1129
|
+
"lv-LV"?: string | undefined;
|
|
1130
|
+
"mg-MG"?: string | undefined;
|
|
1131
|
+
"mk-MK"?: string | undefined;
|
|
1132
|
+
"ml-IN"?: string | undefined;
|
|
1133
|
+
"mn-MN"?: string | undefined;
|
|
1134
|
+
"mr-IN"?: string | undefined;
|
|
1135
|
+
"ms-MY"?: string | undefined;
|
|
1136
|
+
"mt-MT"?: string | undefined;
|
|
1137
|
+
"my-MM"?: string | undefined;
|
|
1138
|
+
"nb-NO"?: string | undefined;
|
|
1139
|
+
"ne-NP"?: string | undefined;
|
|
1140
|
+
"nl-BE"?: string | undefined;
|
|
1141
|
+
"nl-NL"?: string | undefined;
|
|
1142
|
+
"nn-NO"?: string | undefined;
|
|
1143
|
+
"or-IN"?: string | undefined;
|
|
1144
|
+
"pa-IN"?: string | undefined;
|
|
1145
|
+
"pl-PL"?: string | undefined;
|
|
1146
|
+
"ps-AF"?: string | undefined;
|
|
1147
|
+
pt?: string | undefined;
|
|
1148
|
+
"pt-BR"?: string | undefined;
|
|
1149
|
+
"pt-PT"?: string | undefined;
|
|
1150
|
+
"ro-RO"?: string | undefined;
|
|
1151
|
+
ru?: string | undefined;
|
|
1152
|
+
"ru-RU"?: string | undefined;
|
|
1153
|
+
"rw-RW"?: string | undefined;
|
|
1154
|
+
"sc-IT"?: string | undefined;
|
|
1155
|
+
"si-LK"?: string | undefined;
|
|
1156
|
+
"sk-SK"?: string | undefined;
|
|
1157
|
+
"sl-SI"?: string | undefined;
|
|
1158
|
+
"sn-ZW"?: string | undefined;
|
|
1159
|
+
"sq-AL"?: string | undefined;
|
|
1160
|
+
"sr-RS"?: string | undefined;
|
|
1161
|
+
"sv-SE"?: string | undefined;
|
|
1162
|
+
"sw-KE"?: string | undefined;
|
|
1163
|
+
"sy-SY"?: string | undefined;
|
|
1164
|
+
"sz-PL"?: string | undefined;
|
|
1165
|
+
"ta-IN"?: string | undefined;
|
|
1166
|
+
"te-IN"?: string | undefined;
|
|
1167
|
+
"tg-TJ"?: string | undefined;
|
|
1168
|
+
"th-TH"?: string | undefined;
|
|
1169
|
+
"tl-PH"?: string | undefined;
|
|
1170
|
+
tr?: string | undefined;
|
|
1171
|
+
"tr-TR"?: string | undefined;
|
|
1172
|
+
"tt-RU"?: string | undefined;
|
|
1173
|
+
"tz-MA"?: string | undefined;
|
|
1174
|
+
"uk-UA"?: string | undefined;
|
|
1175
|
+
"ur-PK"?: string | undefined;
|
|
1176
|
+
"uz-UZ"?: string | undefined;
|
|
1177
|
+
"vi-VN"?: string | undefined;
|
|
1178
|
+
zh?: string | undefined;
|
|
1179
|
+
"zh-CN"?: string | undefined;
|
|
1180
|
+
"zh-HK"?: string | undefined;
|
|
1181
|
+
"zh-MO"?: string | undefined;
|
|
1182
|
+
"zh-TW"?: string | undefined;
|
|
1183
|
+
"zz-TR"?: string | undefined;
|
|
1184
|
+
};
|
|
1185
|
+
id: string;
|
|
1186
|
+
logo: string;
|
|
1187
|
+
description: {
|
|
1188
|
+
en: string;
|
|
1189
|
+
} & {
|
|
1190
|
+
"af-ZA"?: string | undefined;
|
|
1191
|
+
"am-ET"?: string | undefined;
|
|
1192
|
+
"ar-AR"?: string | undefined;
|
|
1193
|
+
"as-IN"?: string | undefined;
|
|
1194
|
+
"az-AZ"?: string | undefined;
|
|
1195
|
+
"be-BY"?: string | undefined;
|
|
1196
|
+
"bg-BG"?: string | undefined;
|
|
1197
|
+
"bn-IN"?: string | undefined;
|
|
1198
|
+
"br-FR"?: string | undefined;
|
|
1199
|
+
"bs-BA"?: string | undefined;
|
|
1200
|
+
"ca-ES"?: string | undefined;
|
|
1201
|
+
"cb-IQ"?: string | undefined;
|
|
1202
|
+
"co-FR"?: string | undefined;
|
|
1203
|
+
"cs-CZ"?: string | undefined;
|
|
1204
|
+
"cx-PH"?: string | undefined;
|
|
1205
|
+
"cy-GB"?: string | undefined;
|
|
1206
|
+
"da-DK"?: string | undefined;
|
|
1207
|
+
de?: string | undefined;
|
|
1208
|
+
"de-DE"?: string | undefined;
|
|
1209
|
+
"el-GR"?: string | undefined;
|
|
1210
|
+
"en-GB"?: string | undefined;
|
|
1211
|
+
"en-US"?: string | undefined;
|
|
1212
|
+
"eo-EO"?: string | undefined;
|
|
1213
|
+
es?: string | undefined;
|
|
1214
|
+
"es-ES"?: string | undefined;
|
|
1215
|
+
"es-419"?: string | undefined;
|
|
1216
|
+
"et-EE"?: string | undefined;
|
|
1217
|
+
"eu-ES"?: string | undefined;
|
|
1218
|
+
"fa-IR"?: string | undefined;
|
|
1219
|
+
"ff-NG"?: string | undefined;
|
|
1220
|
+
"fi-FI"?: string | undefined;
|
|
1221
|
+
"fo-FO"?: string | undefined;
|
|
1222
|
+
fr?: string | undefined;
|
|
1223
|
+
"fr-CA"?: string | undefined;
|
|
1224
|
+
"fr-FR"?: string | undefined;
|
|
1225
|
+
"fy-NL"?: string | undefined;
|
|
1226
|
+
"ga-IE"?: string | undefined;
|
|
1227
|
+
"gl-ES"?: string | undefined;
|
|
1228
|
+
"gn-PY"?: string | undefined;
|
|
1229
|
+
"gu-IN"?: string | undefined;
|
|
1230
|
+
"ha-NG"?: string | undefined;
|
|
1231
|
+
"he-IL"?: string | undefined;
|
|
1232
|
+
"hi-IN"?: string | undefined;
|
|
1233
|
+
"hr-HR"?: string | undefined;
|
|
1234
|
+
"ht-HT"?: string | undefined;
|
|
1235
|
+
"hu-HU"?: string | undefined;
|
|
1236
|
+
"hy-AM"?: string | undefined;
|
|
1237
|
+
"id-ID"?: string | undefined;
|
|
1238
|
+
"ik-US"?: string | undefined;
|
|
1239
|
+
"is-IS"?: string | undefined;
|
|
1240
|
+
it?: string | undefined;
|
|
1241
|
+
"it-IT"?: string | undefined;
|
|
1242
|
+
"iu-CA"?: string | undefined;
|
|
1243
|
+
ja?: string | undefined;
|
|
1244
|
+
"ja-JP"?: string | undefined;
|
|
1245
|
+
"ja-KS"?: string | undefined;
|
|
1246
|
+
"jv-ID"?: string | undefined;
|
|
1247
|
+
"ka-GE"?: string | undefined;
|
|
1248
|
+
"kk-KZ"?: string | undefined;
|
|
1249
|
+
"km-KH"?: string | undefined;
|
|
1250
|
+
"kn-IN"?: string | undefined;
|
|
1251
|
+
ko?: string | undefined;
|
|
1252
|
+
"ko-KR"?: string | undefined;
|
|
1253
|
+
"ku-TR"?: string | undefined;
|
|
1254
|
+
"ky-KG"?: string | undefined;
|
|
1255
|
+
"lo-LA"?: string | undefined;
|
|
1256
|
+
"lt-LT"?: string | undefined;
|
|
1257
|
+
"lv-LV"?: string | undefined;
|
|
1258
|
+
"mg-MG"?: string | undefined;
|
|
1259
|
+
"mk-MK"?: string | undefined;
|
|
1260
|
+
"ml-IN"?: string | undefined;
|
|
1261
|
+
"mn-MN"?: string | undefined;
|
|
1262
|
+
"mr-IN"?: string | undefined;
|
|
1263
|
+
"ms-MY"?: string | undefined;
|
|
1264
|
+
"mt-MT"?: string | undefined;
|
|
1265
|
+
"my-MM"?: string | undefined;
|
|
1266
|
+
"nb-NO"?: string | undefined;
|
|
1267
|
+
"ne-NP"?: string | undefined;
|
|
1268
|
+
"nl-BE"?: string | undefined;
|
|
1269
|
+
"nl-NL"?: string | undefined;
|
|
1270
|
+
"nn-NO"?: string | undefined;
|
|
1271
|
+
"or-IN"?: string | undefined;
|
|
1272
|
+
"pa-IN"?: string | undefined;
|
|
1273
|
+
"pl-PL"?: string | undefined;
|
|
1274
|
+
"ps-AF"?: string | undefined;
|
|
1275
|
+
pt?: string | undefined;
|
|
1276
|
+
"pt-BR"?: string | undefined;
|
|
1277
|
+
"pt-PT"?: string | undefined;
|
|
1278
|
+
"ro-RO"?: string | undefined;
|
|
1279
|
+
ru?: string | undefined;
|
|
1280
|
+
"ru-RU"?: string | undefined;
|
|
1281
|
+
"rw-RW"?: string | undefined;
|
|
1282
|
+
"sc-IT"?: string | undefined;
|
|
1283
|
+
"si-LK"?: string | undefined;
|
|
1284
|
+
"sk-SK"?: string | undefined;
|
|
1285
|
+
"sl-SI"?: string | undefined;
|
|
1286
|
+
"sn-ZW"?: string | undefined;
|
|
1287
|
+
"sq-AL"?: string | undefined;
|
|
1288
|
+
"sr-RS"?: string | undefined;
|
|
1289
|
+
"sv-SE"?: string | undefined;
|
|
1290
|
+
"sw-KE"?: string | undefined;
|
|
1291
|
+
"sy-SY"?: string | undefined;
|
|
1292
|
+
"sz-PL"?: string | undefined;
|
|
1293
|
+
"ta-IN"?: string | undefined;
|
|
1294
|
+
"te-IN"?: string | undefined;
|
|
1295
|
+
"tg-TJ"?: string | undefined;
|
|
1296
|
+
"th-TH"?: string | undefined;
|
|
1297
|
+
"tl-PH"?: string | undefined;
|
|
1298
|
+
tr?: string | undefined;
|
|
1299
|
+
"tr-TR"?: string | undefined;
|
|
1300
|
+
"tt-RU"?: string | undefined;
|
|
1301
|
+
"tz-MA"?: string | undefined;
|
|
1302
|
+
"uk-UA"?: string | undefined;
|
|
1303
|
+
"ur-PK"?: string | undefined;
|
|
1304
|
+
"uz-UZ"?: string | undefined;
|
|
1305
|
+
"vi-VN"?: string | undefined;
|
|
1306
|
+
zh?: string | undefined;
|
|
1307
|
+
"zh-CN"?: string | undefined;
|
|
1308
|
+
"zh-HK"?: string | undefined;
|
|
1309
|
+
"zh-MO"?: string | undefined;
|
|
1310
|
+
"zh-TW"?: string | undefined;
|
|
1311
|
+
"zz-TR"?: string | undefined;
|
|
1312
|
+
};
|
|
1313
|
+
target: string;
|
|
1314
|
+
logoDark: string | null;
|
|
1315
|
+
readme: string;
|
|
1316
|
+
platform: import("@logto/connector-kit").ConnectorPlatform | null;
|
|
1317
|
+
isDemo?: boolean | undefined;
|
|
1318
|
+
configTemplate?: string | undefined;
|
|
1319
|
+
formItems?: ({
|
|
1320
|
+
type: import("@logto/connector-kit").ConnectorConfigFormItemType.Select;
|
|
1321
|
+
selectItems: {
|
|
1322
|
+
value: string;
|
|
1323
|
+
title: string;
|
|
1324
|
+
}[];
|
|
1325
|
+
key: string;
|
|
1326
|
+
label: string;
|
|
1327
|
+
placeholder?: string | undefined;
|
|
1328
|
+
required?: boolean | undefined;
|
|
1329
|
+
defaultValue?: unknown;
|
|
1330
|
+
showConditions?: {
|
|
1331
|
+
targetKey: string;
|
|
1332
|
+
expectValue?: unknown;
|
|
1333
|
+
}[] | undefined;
|
|
1334
|
+
description?: string | undefined;
|
|
1335
|
+
tooltip?: string | undefined;
|
|
1101
1336
|
isConfidential?: boolean | undefined;
|
|
1102
|
-
}
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1337
|
+
} | {
|
|
1338
|
+
type: import("@logto/connector-kit").ConnectorConfigFormItemType.MultiSelect;
|
|
1339
|
+
selectItems: {
|
|
1340
|
+
value: string;
|
|
1341
|
+
}[];
|
|
1342
|
+
key: string;
|
|
1343
|
+
label: string;
|
|
1344
|
+
placeholder?: string | undefined;
|
|
1345
|
+
required?: boolean | undefined;
|
|
1346
|
+
defaultValue?: unknown;
|
|
1347
|
+
showConditions?: {
|
|
1112
1348
|
targetKey: string;
|
|
1113
1349
|
expectValue?: unknown;
|
|
1114
|
-
}
|
|
1350
|
+
}[] | undefined;
|
|
1351
|
+
description?: string | undefined;
|
|
1352
|
+
tooltip?: string | undefined;
|
|
1353
|
+
isConfidential?: boolean | undefined;
|
|
1354
|
+
} | {
|
|
1355
|
+
type: import("@logto/connector-kit").ConnectorConfigFormItemType.Text | import("@logto/connector-kit").ConnectorConfigFormItemType.Number | import("@logto/connector-kit").ConnectorConfigFormItemType.MultilineText | import("@logto/connector-kit").ConnectorConfigFormItemType.Switch | import("@logto/connector-kit").ConnectorConfigFormItemType.Json;
|
|
1356
|
+
key: string;
|
|
1357
|
+
label: string;
|
|
1358
|
+
placeholder?: string | undefined;
|
|
1359
|
+
required?: boolean | undefined;
|
|
1360
|
+
defaultValue?: unknown;
|
|
1361
|
+
showConditions?: {
|
|
1362
|
+
targetKey: string;
|
|
1363
|
+
expectValue?: unknown;
|
|
1364
|
+
}[] | undefined;
|
|
1365
|
+
description?: string | undefined;
|
|
1366
|
+
tooltip?: string | undefined;
|
|
1367
|
+
isConfidential?: boolean | undefined;
|
|
1368
|
+
})[] | undefined;
|
|
1369
|
+
customData?: Record<string, unknown> | undefined;
|
|
1370
|
+
fromEmail?: string | undefined;
|
|
1371
|
+
isStandard?: boolean | undefined;
|
|
1372
|
+
}, {
|
|
1373
|
+
type: ConnectorType;
|
|
1374
|
+
name: {
|
|
1375
|
+
en: string;
|
|
1376
|
+
} & {
|
|
1377
|
+
"af-ZA"?: string | undefined;
|
|
1378
|
+
"am-ET"?: string | undefined;
|
|
1379
|
+
"ar-AR"?: string | undefined;
|
|
1380
|
+
"as-IN"?: string | undefined;
|
|
1381
|
+
"az-AZ"?: string | undefined;
|
|
1382
|
+
"be-BY"?: string | undefined;
|
|
1383
|
+
"bg-BG"?: string | undefined;
|
|
1384
|
+
"bn-IN"?: string | undefined;
|
|
1385
|
+
"br-FR"?: string | undefined;
|
|
1386
|
+
"bs-BA"?: string | undefined;
|
|
1387
|
+
"ca-ES"?: string | undefined;
|
|
1388
|
+
"cb-IQ"?: string | undefined;
|
|
1389
|
+
"co-FR"?: string | undefined;
|
|
1390
|
+
"cs-CZ"?: string | undefined;
|
|
1391
|
+
"cx-PH"?: string | undefined;
|
|
1392
|
+
"cy-GB"?: string | undefined;
|
|
1393
|
+
"da-DK"?: string | undefined;
|
|
1394
|
+
de?: string | undefined;
|
|
1395
|
+
"de-DE"?: string | undefined;
|
|
1396
|
+
"el-GR"?: string | undefined;
|
|
1397
|
+
"en-GB"?: string | undefined;
|
|
1398
|
+
"en-US"?: string | undefined;
|
|
1399
|
+
"eo-EO"?: string | undefined;
|
|
1400
|
+
es?: string | undefined;
|
|
1401
|
+
"es-ES"?: string | undefined;
|
|
1402
|
+
"es-419"?: string | undefined;
|
|
1403
|
+
"et-EE"?: string | undefined;
|
|
1404
|
+
"eu-ES"?: string | undefined;
|
|
1405
|
+
"fa-IR"?: string | undefined;
|
|
1406
|
+
"ff-NG"?: string | undefined;
|
|
1407
|
+
"fi-FI"?: string | undefined;
|
|
1408
|
+
"fo-FO"?: string | undefined;
|
|
1409
|
+
fr?: string | undefined;
|
|
1410
|
+
"fr-CA"?: string | undefined;
|
|
1411
|
+
"fr-FR"?: string | undefined;
|
|
1412
|
+
"fy-NL"?: string | undefined;
|
|
1413
|
+
"ga-IE"?: string | undefined;
|
|
1414
|
+
"gl-ES"?: string | undefined;
|
|
1415
|
+
"gn-PY"?: string | undefined;
|
|
1416
|
+
"gu-IN"?: string | undefined;
|
|
1417
|
+
"ha-NG"?: string | undefined;
|
|
1418
|
+
"he-IL"?: string | undefined;
|
|
1419
|
+
"hi-IN"?: string | undefined;
|
|
1420
|
+
"hr-HR"?: string | undefined;
|
|
1421
|
+
"ht-HT"?: string | undefined;
|
|
1422
|
+
"hu-HU"?: string | undefined;
|
|
1423
|
+
"hy-AM"?: string | undefined;
|
|
1424
|
+
"id-ID"?: string | undefined;
|
|
1425
|
+
"ik-US"?: string | undefined;
|
|
1426
|
+
"is-IS"?: string | undefined;
|
|
1427
|
+
it?: string | undefined;
|
|
1428
|
+
"it-IT"?: string | undefined;
|
|
1429
|
+
"iu-CA"?: string | undefined;
|
|
1430
|
+
ja?: string | undefined;
|
|
1431
|
+
"ja-JP"?: string | undefined;
|
|
1432
|
+
"ja-KS"?: string | undefined;
|
|
1433
|
+
"jv-ID"?: string | undefined;
|
|
1434
|
+
"ka-GE"?: string | undefined;
|
|
1435
|
+
"kk-KZ"?: string | undefined;
|
|
1436
|
+
"km-KH"?: string | undefined;
|
|
1437
|
+
"kn-IN"?: string | undefined;
|
|
1438
|
+
ko?: string | undefined;
|
|
1439
|
+
"ko-KR"?: string | undefined;
|
|
1440
|
+
"ku-TR"?: string | undefined;
|
|
1441
|
+
"ky-KG"?: string | undefined;
|
|
1442
|
+
"lo-LA"?: string | undefined;
|
|
1443
|
+
"lt-LT"?: string | undefined;
|
|
1444
|
+
"lv-LV"?: string | undefined;
|
|
1445
|
+
"mg-MG"?: string | undefined;
|
|
1446
|
+
"mk-MK"?: string | undefined;
|
|
1447
|
+
"ml-IN"?: string | undefined;
|
|
1448
|
+
"mn-MN"?: string | undefined;
|
|
1449
|
+
"mr-IN"?: string | undefined;
|
|
1450
|
+
"ms-MY"?: string | undefined;
|
|
1451
|
+
"mt-MT"?: string | undefined;
|
|
1452
|
+
"my-MM"?: string | undefined;
|
|
1453
|
+
"nb-NO"?: string | undefined;
|
|
1454
|
+
"ne-NP"?: string | undefined;
|
|
1455
|
+
"nl-BE"?: string | undefined;
|
|
1456
|
+
"nl-NL"?: string | undefined;
|
|
1457
|
+
"nn-NO"?: string | undefined;
|
|
1458
|
+
"or-IN"?: string | undefined;
|
|
1459
|
+
"pa-IN"?: string | undefined;
|
|
1460
|
+
"pl-PL"?: string | undefined;
|
|
1461
|
+
"ps-AF"?: string | undefined;
|
|
1462
|
+
pt?: string | undefined;
|
|
1463
|
+
"pt-BR"?: string | undefined;
|
|
1464
|
+
"pt-PT"?: string | undefined;
|
|
1465
|
+
"ro-RO"?: string | undefined;
|
|
1466
|
+
ru?: string | undefined;
|
|
1467
|
+
"ru-RU"?: string | undefined;
|
|
1468
|
+
"rw-RW"?: string | undefined;
|
|
1469
|
+
"sc-IT"?: string | undefined;
|
|
1470
|
+
"si-LK"?: string | undefined;
|
|
1471
|
+
"sk-SK"?: string | undefined;
|
|
1472
|
+
"sl-SI"?: string | undefined;
|
|
1473
|
+
"sn-ZW"?: string | undefined;
|
|
1474
|
+
"sq-AL"?: string | undefined;
|
|
1475
|
+
"sr-RS"?: string | undefined;
|
|
1476
|
+
"sv-SE"?: string | undefined;
|
|
1477
|
+
"sw-KE"?: string | undefined;
|
|
1478
|
+
"sy-SY"?: string | undefined;
|
|
1479
|
+
"sz-PL"?: string | undefined;
|
|
1480
|
+
"ta-IN"?: string | undefined;
|
|
1481
|
+
"te-IN"?: string | undefined;
|
|
1482
|
+
"tg-TJ"?: string | undefined;
|
|
1483
|
+
"th-TH"?: string | undefined;
|
|
1484
|
+
"tl-PH"?: string | undefined;
|
|
1485
|
+
tr?: string | undefined;
|
|
1486
|
+
"tr-TR"?: string | undefined;
|
|
1487
|
+
"tt-RU"?: string | undefined;
|
|
1488
|
+
"tz-MA"?: string | undefined;
|
|
1489
|
+
"uk-UA"?: string | undefined;
|
|
1490
|
+
"ur-PK"?: string | undefined;
|
|
1491
|
+
"uz-UZ"?: string | undefined;
|
|
1492
|
+
"vi-VN"?: string | undefined;
|
|
1493
|
+
zh?: string | undefined;
|
|
1494
|
+
"zh-CN"?: string | undefined;
|
|
1495
|
+
"zh-HK"?: string | undefined;
|
|
1496
|
+
"zh-MO"?: string | undefined;
|
|
1497
|
+
"zh-TW"?: string | undefined;
|
|
1498
|
+
"zz-TR"?: string | undefined;
|
|
1499
|
+
};
|
|
1500
|
+
id: string;
|
|
1501
|
+
logo: string;
|
|
1502
|
+
description: {
|
|
1503
|
+
en: string;
|
|
1504
|
+
} & {
|
|
1505
|
+
"af-ZA"?: string | undefined;
|
|
1506
|
+
"am-ET"?: string | undefined;
|
|
1507
|
+
"ar-AR"?: string | undefined;
|
|
1508
|
+
"as-IN"?: string | undefined;
|
|
1509
|
+
"az-AZ"?: string | undefined;
|
|
1510
|
+
"be-BY"?: string | undefined;
|
|
1511
|
+
"bg-BG"?: string | undefined;
|
|
1512
|
+
"bn-IN"?: string | undefined;
|
|
1513
|
+
"br-FR"?: string | undefined;
|
|
1514
|
+
"bs-BA"?: string | undefined;
|
|
1515
|
+
"ca-ES"?: string | undefined;
|
|
1516
|
+
"cb-IQ"?: string | undefined;
|
|
1517
|
+
"co-FR"?: string | undefined;
|
|
1518
|
+
"cs-CZ"?: string | undefined;
|
|
1519
|
+
"cx-PH"?: string | undefined;
|
|
1520
|
+
"cy-GB"?: string | undefined;
|
|
1521
|
+
"da-DK"?: string | undefined;
|
|
1522
|
+
de?: string | undefined;
|
|
1523
|
+
"de-DE"?: string | undefined;
|
|
1524
|
+
"el-GR"?: string | undefined;
|
|
1525
|
+
"en-GB"?: string | undefined;
|
|
1526
|
+
"en-US"?: string | undefined;
|
|
1527
|
+
"eo-EO"?: string | undefined;
|
|
1528
|
+
es?: string | undefined;
|
|
1529
|
+
"es-ES"?: string | undefined;
|
|
1530
|
+
"es-419"?: string | undefined;
|
|
1531
|
+
"et-EE"?: string | undefined;
|
|
1532
|
+
"eu-ES"?: string | undefined;
|
|
1533
|
+
"fa-IR"?: string | undefined;
|
|
1534
|
+
"ff-NG"?: string | undefined;
|
|
1535
|
+
"fi-FI"?: string | undefined;
|
|
1536
|
+
"fo-FO"?: string | undefined;
|
|
1537
|
+
fr?: string | undefined;
|
|
1538
|
+
"fr-CA"?: string | undefined;
|
|
1539
|
+
"fr-FR"?: string | undefined;
|
|
1540
|
+
"fy-NL"?: string | undefined;
|
|
1541
|
+
"ga-IE"?: string | undefined;
|
|
1542
|
+
"gl-ES"?: string | undefined;
|
|
1543
|
+
"gn-PY"?: string | undefined;
|
|
1544
|
+
"gu-IN"?: string | undefined;
|
|
1545
|
+
"ha-NG"?: string | undefined;
|
|
1546
|
+
"he-IL"?: string | undefined;
|
|
1547
|
+
"hi-IN"?: string | undefined;
|
|
1548
|
+
"hr-HR"?: string | undefined;
|
|
1549
|
+
"ht-HT"?: string | undefined;
|
|
1550
|
+
"hu-HU"?: string | undefined;
|
|
1551
|
+
"hy-AM"?: string | undefined;
|
|
1552
|
+
"id-ID"?: string | undefined;
|
|
1553
|
+
"ik-US"?: string | undefined;
|
|
1554
|
+
"is-IS"?: string | undefined;
|
|
1555
|
+
it?: string | undefined;
|
|
1556
|
+
"it-IT"?: string | undefined;
|
|
1557
|
+
"iu-CA"?: string | undefined;
|
|
1558
|
+
ja?: string | undefined;
|
|
1559
|
+
"ja-JP"?: string | undefined;
|
|
1560
|
+
"ja-KS"?: string | undefined;
|
|
1561
|
+
"jv-ID"?: string | undefined;
|
|
1562
|
+
"ka-GE"?: string | undefined;
|
|
1563
|
+
"kk-KZ"?: string | undefined;
|
|
1564
|
+
"km-KH"?: string | undefined;
|
|
1565
|
+
"kn-IN"?: string | undefined;
|
|
1566
|
+
ko?: string | undefined;
|
|
1567
|
+
"ko-KR"?: string | undefined;
|
|
1568
|
+
"ku-TR"?: string | undefined;
|
|
1569
|
+
"ky-KG"?: string | undefined;
|
|
1570
|
+
"lo-LA"?: string | undefined;
|
|
1571
|
+
"lt-LT"?: string | undefined;
|
|
1572
|
+
"lv-LV"?: string | undefined;
|
|
1573
|
+
"mg-MG"?: string | undefined;
|
|
1574
|
+
"mk-MK"?: string | undefined;
|
|
1575
|
+
"ml-IN"?: string | undefined;
|
|
1576
|
+
"mn-MN"?: string | undefined;
|
|
1577
|
+
"mr-IN"?: string | undefined;
|
|
1578
|
+
"ms-MY"?: string | undefined;
|
|
1579
|
+
"mt-MT"?: string | undefined;
|
|
1580
|
+
"my-MM"?: string | undefined;
|
|
1581
|
+
"nb-NO"?: string | undefined;
|
|
1582
|
+
"ne-NP"?: string | undefined;
|
|
1583
|
+
"nl-BE"?: string | undefined;
|
|
1584
|
+
"nl-NL"?: string | undefined;
|
|
1585
|
+
"nn-NO"?: string | undefined;
|
|
1586
|
+
"or-IN"?: string | undefined;
|
|
1587
|
+
"pa-IN"?: string | undefined;
|
|
1588
|
+
"pl-PL"?: string | undefined;
|
|
1589
|
+
"ps-AF"?: string | undefined;
|
|
1590
|
+
pt?: string | undefined;
|
|
1591
|
+
"pt-BR"?: string | undefined;
|
|
1592
|
+
"pt-PT"?: string | undefined;
|
|
1593
|
+
"ro-RO"?: string | undefined;
|
|
1594
|
+
ru?: string | undefined;
|
|
1595
|
+
"ru-RU"?: string | undefined;
|
|
1596
|
+
"rw-RW"?: string | undefined;
|
|
1597
|
+
"sc-IT"?: string | undefined;
|
|
1598
|
+
"si-LK"?: string | undefined;
|
|
1599
|
+
"sk-SK"?: string | undefined;
|
|
1600
|
+
"sl-SI"?: string | undefined;
|
|
1601
|
+
"sn-ZW"?: string | undefined;
|
|
1602
|
+
"sq-AL"?: string | undefined;
|
|
1603
|
+
"sr-RS"?: string | undefined;
|
|
1604
|
+
"sv-SE"?: string | undefined;
|
|
1605
|
+
"sw-KE"?: string | undefined;
|
|
1606
|
+
"sy-SY"?: string | undefined;
|
|
1607
|
+
"sz-PL"?: string | undefined;
|
|
1608
|
+
"ta-IN"?: string | undefined;
|
|
1609
|
+
"te-IN"?: string | undefined;
|
|
1610
|
+
"tg-TJ"?: string | undefined;
|
|
1611
|
+
"th-TH"?: string | undefined;
|
|
1612
|
+
"tl-PH"?: string | undefined;
|
|
1613
|
+
tr?: string | undefined;
|
|
1614
|
+
"tr-TR"?: string | undefined;
|
|
1615
|
+
"tt-RU"?: string | undefined;
|
|
1616
|
+
"tz-MA"?: string | undefined;
|
|
1617
|
+
"uk-UA"?: string | undefined;
|
|
1618
|
+
"ur-PK"?: string | undefined;
|
|
1619
|
+
"uz-UZ"?: string | undefined;
|
|
1620
|
+
"vi-VN"?: string | undefined;
|
|
1621
|
+
zh?: string | undefined;
|
|
1622
|
+
"zh-CN"?: string | undefined;
|
|
1623
|
+
"zh-HK"?: string | undefined;
|
|
1624
|
+
"zh-MO"?: string | undefined;
|
|
1625
|
+
"zh-TW"?: string | undefined;
|
|
1626
|
+
"zz-TR"?: string | undefined;
|
|
1627
|
+
};
|
|
1628
|
+
target: string;
|
|
1629
|
+
logoDark: string | null;
|
|
1630
|
+
readme: string;
|
|
1631
|
+
platform: import("@logto/connector-kit").ConnectorPlatform | null;
|
|
1632
|
+
isDemo?: boolean | undefined;
|
|
1633
|
+
configTemplate?: string | undefined;
|
|
1634
|
+
formItems?: ({
|
|
1635
|
+
type: import("@logto/connector-kit").ConnectorConfigFormItemType.Select;
|
|
1636
|
+
selectItems: {
|
|
1637
|
+
value: string;
|
|
1638
|
+
title: string;
|
|
1639
|
+
}[];
|
|
1640
|
+
key: string;
|
|
1641
|
+
label: string;
|
|
1642
|
+
placeholder?: string | undefined;
|
|
1643
|
+
required?: boolean | undefined;
|
|
1644
|
+
defaultValue?: unknown;
|
|
1645
|
+
showConditions?: {
|
|
1115
1646
|
targetKey: string;
|
|
1116
1647
|
expectValue?: unknown;
|
|
1117
|
-
}
|
|
1118
|
-
description
|
|
1119
|
-
tooltip
|
|
1120
|
-
isConfidential
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1648
|
+
}[] | undefined;
|
|
1649
|
+
description?: string | undefined;
|
|
1650
|
+
tooltip?: string | undefined;
|
|
1651
|
+
isConfidential?: boolean | undefined;
|
|
1652
|
+
} | {
|
|
1653
|
+
type: import("@logto/connector-kit").ConnectorConfigFormItemType.MultiSelect;
|
|
1654
|
+
selectItems: {
|
|
1655
|
+
value: string;
|
|
1656
|
+
}[];
|
|
1124
1657
|
key: string;
|
|
1125
1658
|
label: string;
|
|
1126
1659
|
placeholder?: string | undefined;
|
|
@@ -1133,7 +1666,7 @@ export declare const connectorFactoryResponseGuard: z.ZodObject<{
|
|
|
1133
1666
|
description?: string | undefined;
|
|
1134
1667
|
tooltip?: string | undefined;
|
|
1135
1668
|
isConfidential?: boolean | undefined;
|
|
1136
|
-
}
|
|
1669
|
+
} | {
|
|
1137
1670
|
type: import("@logto/connector-kit").ConnectorConfigFormItemType.Text | import("@logto/connector-kit").ConnectorConfigFormItemType.Number | import("@logto/connector-kit").ConnectorConfigFormItemType.MultilineText | import("@logto/connector-kit").ConnectorConfigFormItemType.Switch | import("@logto/connector-kit").ConnectorConfigFormItemType.Json;
|
|
1138
1671
|
key: string;
|
|
1139
1672
|
label: string;
|
|
@@ -1147,8 +1680,9 @@ export declare const connectorFactoryResponseGuard: z.ZodObject<{
|
|
|
1147
1680
|
description?: string | undefined;
|
|
1148
1681
|
tooltip?: string | undefined;
|
|
1149
1682
|
isConfidential?: boolean | undefined;
|
|
1150
|
-
}
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1683
|
+
})[] | undefined;
|
|
1684
|
+
customData?: Record<string, unknown> | undefined;
|
|
1685
|
+
fromEmail?: string | undefined;
|
|
1686
|
+
isStandard?: boolean | undefined;
|
|
1687
|
+
}>;
|
|
1154
1688
|
export type ConnectorFactoryResponse = z.infer<typeof connectorFactoryResponseGuard>;
|