@logto/api 1.30.1 → 1.32.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.
@@ -3039,6 +3039,98 @@ export interface paths {
3039
3039
  patch?: never;
3040
3040
  trace?: never;
3041
3041
  };
3042
+ "/api/custom-profile-fields": {
3043
+ parameters: {
3044
+ query?: never;
3045
+ header?: never;
3046
+ path?: never;
3047
+ cookie?: never;
3048
+ };
3049
+ /**
3050
+ * Get all custom profile fields
3051
+ * @description Get all custom profile fields.
3052
+ */
3053
+ get: operations["ListCustomProfileFields"];
3054
+ put?: never;
3055
+ /**
3056
+ * Create a custom profile field
3057
+ * @description Create a custom profile field.
3058
+ */
3059
+ post: operations["CreateCustomProfileField"];
3060
+ delete?: never;
3061
+ options?: never;
3062
+ head?: never;
3063
+ patch?: never;
3064
+ trace?: never;
3065
+ };
3066
+ "/api/custom-profile-fields/{name}": {
3067
+ parameters: {
3068
+ query?: never;
3069
+ header?: never;
3070
+ path?: never;
3071
+ cookie?: never;
3072
+ };
3073
+ /**
3074
+ * Get a custom profile field by name
3075
+ * @description Get a custom profile field by name.
3076
+ */
3077
+ get: operations["GetCustomProfileFieldByName"];
3078
+ /**
3079
+ * Update a custom profile field by name
3080
+ * @description Update a custom profile field by name.
3081
+ */
3082
+ put: operations["UpdateCustomProfileFieldByName"];
3083
+ post?: never;
3084
+ /**
3085
+ * Delete a custom profile field by name
3086
+ * @description Delete a custom profile field by name.
3087
+ */
3088
+ delete: operations["DeleteCustomProfileFieldByName"];
3089
+ options?: never;
3090
+ head?: never;
3091
+ patch?: never;
3092
+ trace?: never;
3093
+ };
3094
+ "/api/custom-profile-fields/batch": {
3095
+ parameters: {
3096
+ query?: never;
3097
+ header?: never;
3098
+ path?: never;
3099
+ cookie?: never;
3100
+ };
3101
+ get?: never;
3102
+ put?: never;
3103
+ /**
3104
+ * Batch create custom profile fields
3105
+ * @description Create multiple custom profile fields in a single request (max 20 items).
3106
+ */
3107
+ post: operations["CreateCustomProfileFieldsBatch"];
3108
+ delete?: never;
3109
+ options?: never;
3110
+ head?: never;
3111
+ patch?: never;
3112
+ trace?: never;
3113
+ };
3114
+ "/api/custom-profile-fields/properties/sie-order": {
3115
+ parameters: {
3116
+ query?: never;
3117
+ header?: never;
3118
+ path?: never;
3119
+ cookie?: never;
3120
+ };
3121
+ get?: never;
3122
+ put?: never;
3123
+ /**
3124
+ * Update the display order of the custom profile fields in Sign-in Experience.
3125
+ * @description Update the display order of the custom profile fields in Sign-in Experience.
3126
+ */
3127
+ post: operations["UpdateCustomProfileFieldsSieOrder"];
3128
+ delete?: never;
3129
+ options?: never;
3130
+ head?: never;
3131
+ patch?: never;
3132
+ trace?: never;
3133
+ };
3042
3134
  "/api/secrets/{id}": {
3043
3135
  parameters: {
3044
3136
  query?: never;
@@ -4655,6 +4747,13 @@ export interface operations {
4655
4747
  /** @description arbitrary */
4656
4748
  customData: Record<string, never>;
4657
4749
  isMfaRequired: boolean;
4750
+ color: {
4751
+ /** Format: regex */
4752
+ primaryColor?: string;
4753
+ isDarkModeEnabled?: boolean;
4754
+ /** Format: regex */
4755
+ darkPrimaryColor?: string;
4756
+ };
4658
4757
  branding: {
4659
4758
  /** Format: url */
4660
4759
  logoUrl?: string;
@@ -4665,6 +4764,7 @@ export interface operations {
4665
4764
  /** Format: url */
4666
4765
  darkFavicon?: string;
4667
4766
  };
4767
+ customCss: string | null;
4668
4768
  createdAt: number;
4669
4769
  organizationRoles: {
4670
4770
  id: string;
@@ -5317,6 +5417,7 @@ export interface operations {
5317
5417
  /** Format: url */
5318
5418
  darkFavicon?: string;
5319
5419
  };
5420
+ customCss: string | null;
5320
5421
  termsOfUseUrl: string | null;
5321
5422
  privacyPolicyUrl: string | null;
5322
5423
  displayName: string | null;
@@ -5383,6 +5484,7 @@ export interface operations {
5383
5484
  /** Format: url */
5384
5485
  darkFavicon?: string;
5385
5486
  };
5487
+ customCss?: string | null;
5386
5488
  displayName?: string | null;
5387
5489
  termsOfUseUrl: (string | null) | string;
5388
5490
  privacyPolicyUrl: (string | null) | string;
@@ -5416,6 +5518,7 @@ export interface operations {
5416
5518
  /** Format: url */
5417
5519
  darkFavicon?: string;
5418
5520
  };
5521
+ customCss: string | null;
5419
5522
  termsOfUseUrl: string | null;
5420
5523
  privacyPolicyUrl: string | null;
5421
5524
  displayName: string | null;
@@ -5448,6 +5551,7 @@ export interface operations {
5448
5551
  /** Format: url */
5449
5552
  darkFavicon?: string;
5450
5553
  };
5554
+ customCss: string | null;
5451
5555
  termsOfUseUrl: string | null;
5452
5556
  privacyPolicyUrl: string | null;
5453
5557
  displayName: string | null;
@@ -5526,6 +5630,13 @@ export interface operations {
5526
5630
  /** @description arbitrary */
5527
5631
  customData: Record<string, never>;
5528
5632
  isMfaRequired: boolean;
5633
+ color: {
5634
+ /** Format: regex */
5635
+ primaryColor?: string;
5636
+ isDarkModeEnabled?: boolean;
5637
+ /** Format: regex */
5638
+ darkPrimaryColor?: string;
5639
+ };
5529
5640
  branding: {
5530
5641
  /** Format: url */
5531
5642
  logoUrl?: string;
@@ -5536,6 +5647,7 @@ export interface operations {
5536
5647
  /** Format: url */
5537
5648
  darkFavicon?: string;
5538
5649
  };
5650
+ customCss: string | null;
5539
5651
  createdAt: number;
5540
5652
  }[];
5541
5653
  };
@@ -6206,7 +6318,7 @@ export interface operations {
6206
6318
  } | {
6207
6319
  id: string;
6208
6320
  /** @enum {string} */
6209
- templateType: "SignIn" | "Register" | "ForgotPassword" | "OrganizationInvitation" | "Generic" | "UserPermissionValidation" | "BindNewIdentifier";
6321
+ templateType: "SignIn" | "Register" | "ForgotPassword" | "OrganizationInvitation" | "Generic" | "UserPermissionValidation" | "BindNewIdentifier" | "MfaVerification" | "BindMfa";
6210
6322
  verified: boolean;
6211
6323
  /** Format: "EmailVerificationCode" */
6212
6324
  type: string;
@@ -6218,7 +6330,7 @@ export interface operations {
6218
6330
  } | {
6219
6331
  id: string;
6220
6332
  /** @enum {string} */
6221
- templateType: "SignIn" | "Register" | "ForgotPassword" | "OrganizationInvitation" | "Generic" | "UserPermissionValidation" | "BindNewIdentifier";
6333
+ templateType: "SignIn" | "Register" | "ForgotPassword" | "OrganizationInvitation" | "Generic" | "UserPermissionValidation" | "BindNewIdentifier" | "MfaVerification" | "BindMfa";
6222
6334
  verified: boolean;
6223
6335
  /** Format: "PhoneVerificationCode" */
6224
6336
  type: string;
@@ -6272,6 +6384,7 @@ export interface operations {
6272
6384
  type: string;
6273
6385
  userId: string;
6274
6386
  verified: boolean;
6387
+ registrationRpId?: string;
6275
6388
  } | {
6276
6389
  id: string;
6277
6390
  /** Format: "OneTimeToken" */
@@ -6498,7 +6611,7 @@ export interface operations {
6498
6611
  } | {
6499
6612
  id: string;
6500
6613
  /** @enum {string} */
6501
- templateType: "SignIn" | "Register" | "ForgotPassword" | "OrganizationInvitation" | "Generic" | "UserPermissionValidation" | "BindNewIdentifier";
6614
+ templateType: "SignIn" | "Register" | "ForgotPassword" | "OrganizationInvitation" | "Generic" | "UserPermissionValidation" | "BindNewIdentifier" | "MfaVerification" | "BindMfa";
6502
6615
  verified: boolean;
6503
6616
  /** Format: "EmailVerificationCode" */
6504
6617
  type: string;
@@ -6510,7 +6623,7 @@ export interface operations {
6510
6623
  } | {
6511
6624
  id: string;
6512
6625
  /** @enum {string} */
6513
- templateType: "SignIn" | "Register" | "ForgotPassword" | "OrganizationInvitation" | "Generic" | "UserPermissionValidation" | "BindNewIdentifier";
6626
+ templateType: "SignIn" | "Register" | "ForgotPassword" | "OrganizationInvitation" | "Generic" | "UserPermissionValidation" | "BindNewIdentifier" | "MfaVerification" | "BindMfa";
6514
6627
  verified: boolean;
6515
6628
  /** Format: "PhoneVerificationCode" */
6516
6629
  type: string;
@@ -6564,6 +6677,7 @@ export interface operations {
6564
6677
  type: string;
6565
6678
  userId: string;
6566
6679
  verified: boolean;
6680
+ registrationRpId?: string;
6567
6681
  } | {
6568
6682
  id: string;
6569
6683
  /** Format: "OneTimeToken" */
@@ -6735,7 +6849,7 @@ export interface operations {
6735
6849
  } | {
6736
6850
  id: string;
6737
6851
  /** @enum {string} */
6738
- templateType: "SignIn" | "Register" | "ForgotPassword" | "OrganizationInvitation" | "Generic" | "UserPermissionValidation" | "BindNewIdentifier";
6852
+ templateType: "SignIn" | "Register" | "ForgotPassword" | "OrganizationInvitation" | "Generic" | "UserPermissionValidation" | "BindNewIdentifier" | "MfaVerification" | "BindMfa";
6739
6853
  verified: boolean;
6740
6854
  /** Format: "EmailVerificationCode" */
6741
6855
  type: string;
@@ -6747,7 +6861,7 @@ export interface operations {
6747
6861
  } | {
6748
6862
  id: string;
6749
6863
  /** @enum {string} */
6750
- templateType: "SignIn" | "Register" | "ForgotPassword" | "OrganizationInvitation" | "Generic" | "UserPermissionValidation" | "BindNewIdentifier";
6864
+ templateType: "SignIn" | "Register" | "ForgotPassword" | "OrganizationInvitation" | "Generic" | "UserPermissionValidation" | "BindNewIdentifier" | "MfaVerification" | "BindMfa";
6751
6865
  verified: boolean;
6752
6866
  /** Format: "PhoneVerificationCode" */
6753
6867
  type: string;
@@ -6801,6 +6915,7 @@ export interface operations {
6801
6915
  type: string;
6802
6916
  userId: string;
6803
6917
  verified: boolean;
6918
+ registrationRpId?: string;
6804
6919
  } | {
6805
6920
  id: string;
6806
6921
  /** Format: "OneTimeToken" */
@@ -7069,7 +7184,7 @@ export interface operations {
7069
7184
  } | {
7070
7185
  id: string;
7071
7186
  /** @enum {string} */
7072
- templateType: "SignIn" | "Register" | "ForgotPassword" | "OrganizationInvitation" | "Generic" | "UserPermissionValidation" | "BindNewIdentifier";
7187
+ templateType: "SignIn" | "Register" | "ForgotPassword" | "OrganizationInvitation" | "Generic" | "UserPermissionValidation" | "BindNewIdentifier" | "MfaVerification" | "BindMfa";
7073
7188
  verified: boolean;
7074
7189
  /** Format: "EmailVerificationCode" */
7075
7190
  type: string;
@@ -7081,7 +7196,7 @@ export interface operations {
7081
7196
  } | {
7082
7197
  id: string;
7083
7198
  /** @enum {string} */
7084
- templateType: "SignIn" | "Register" | "ForgotPassword" | "OrganizationInvitation" | "Generic" | "UserPermissionValidation" | "BindNewIdentifier";
7199
+ templateType: "SignIn" | "Register" | "ForgotPassword" | "OrganizationInvitation" | "Generic" | "UserPermissionValidation" | "BindNewIdentifier" | "MfaVerification" | "BindMfa";
7085
7200
  verified: boolean;
7086
7201
  /** Format: "PhoneVerificationCode" */
7087
7202
  type: string;
@@ -7135,6 +7250,7 @@ export interface operations {
7135
7250
  type: string;
7136
7251
  userId: string;
7137
7252
  verified: boolean;
7253
+ registrationRpId?: string;
7138
7254
  } | {
7139
7255
  id: string;
7140
7256
  /** Format: "OneTimeToken" */
@@ -7348,7 +7464,7 @@ export interface operations {
7348
7464
  } | {
7349
7465
  id: string;
7350
7466
  /** @enum {string} */
7351
- templateType: "SignIn" | "Register" | "ForgotPassword" | "OrganizationInvitation" | "Generic" | "UserPermissionValidation" | "BindNewIdentifier";
7467
+ templateType: "SignIn" | "Register" | "ForgotPassword" | "OrganizationInvitation" | "Generic" | "UserPermissionValidation" | "BindNewIdentifier" | "MfaVerification" | "BindMfa";
7352
7468
  verified: boolean;
7353
7469
  /** Format: "EmailVerificationCode" */
7354
7470
  type: string;
@@ -7360,7 +7476,7 @@ export interface operations {
7360
7476
  } | {
7361
7477
  id: string;
7362
7478
  /** @enum {string} */
7363
- templateType: "SignIn" | "Register" | "ForgotPassword" | "OrganizationInvitation" | "Generic" | "UserPermissionValidation" | "BindNewIdentifier";
7479
+ templateType: "SignIn" | "Register" | "ForgotPassword" | "OrganizationInvitation" | "Generic" | "UserPermissionValidation" | "BindNewIdentifier" | "MfaVerification" | "BindMfa";
7364
7480
  verified: boolean;
7365
7481
  /** Format: "PhoneVerificationCode" */
7366
7482
  type: string;
@@ -7414,6 +7530,7 @@ export interface operations {
7414
7530
  type: string;
7415
7531
  userId: string;
7416
7532
  verified: boolean;
7533
+ registrationRpId?: string;
7417
7534
  } | {
7418
7535
  id: string;
7419
7536
  /** Format: "OneTimeToken" */
@@ -7638,7 +7755,7 @@ export interface operations {
7638
7755
  } | {
7639
7756
  id: string;
7640
7757
  /** @enum {string} */
7641
- templateType: "SignIn" | "Register" | "ForgotPassword" | "OrganizationInvitation" | "Generic" | "UserPermissionValidation" | "BindNewIdentifier";
7758
+ templateType: "SignIn" | "Register" | "ForgotPassword" | "OrganizationInvitation" | "Generic" | "UserPermissionValidation" | "BindNewIdentifier" | "MfaVerification" | "BindMfa";
7642
7759
  verified: boolean;
7643
7760
  /** Format: "EmailVerificationCode" */
7644
7761
  type: string;
@@ -7650,7 +7767,7 @@ export interface operations {
7650
7767
  } | {
7651
7768
  id: string;
7652
7769
  /** @enum {string} */
7653
- templateType: "SignIn" | "Register" | "ForgotPassword" | "OrganizationInvitation" | "Generic" | "UserPermissionValidation" | "BindNewIdentifier";
7770
+ templateType: "SignIn" | "Register" | "ForgotPassword" | "OrganizationInvitation" | "Generic" | "UserPermissionValidation" | "BindNewIdentifier" | "MfaVerification" | "BindMfa";
7654
7771
  verified: boolean;
7655
7772
  /** Format: "PhoneVerificationCode" */
7656
7773
  type: string;
@@ -7704,6 +7821,7 @@ export interface operations {
7704
7821
  type: string;
7705
7822
  userId: string;
7706
7823
  verified: boolean;
7824
+ registrationRpId?: string;
7707
7825
  } | {
7708
7826
  id: string;
7709
7827
  /** Format: "OneTimeToken" */
@@ -9648,6 +9766,7 @@ export interface operations {
9648
9766
  /** @description Cloud only. Whether to block disposable email addresses. Once enabled, Logto will check the email domain against a list of known disposable email domains. If the domain is found in the list, the email address will be blocked. */
9649
9767
  blockDisposableAddress?: unknown;
9650
9768
  };
9769
+ forgotPasswordMethods: ("EmailVerificationCode" | "PhoneVerificationCode")[] | null;
9651
9770
  };
9652
9771
  };
9653
9772
  };
@@ -9806,6 +9925,7 @@ export interface operations {
9806
9925
  /** @description Cloud only. Whether to block disposable email addresses. Once enabled, Logto will check the email domain against a list of known disposable email domains. If the domain is found in the list, the email address will be blocked. */
9807
9926
  blockDisposableAddress?: unknown;
9808
9927
  };
9928
+ forgotPasswordMethods?: ("EmailVerificationCode" | "PhoneVerificationCode")[] | null;
9809
9929
  termsOfUseUrl?: (string | null) | string;
9810
9930
  privacyPolicyUrl?: (string | null) | string;
9811
9931
  /** @description The support email address to display on the error pages. */
@@ -9933,6 +10053,7 @@ export interface operations {
9933
10053
  blockSubaddressing?: boolean;
9934
10054
  customBlocklist?: string[];
9935
10055
  };
10056
+ forgotPasswordMethods: ("EmailVerificationCode" | "PhoneVerificationCode")[] | null;
9936
10057
  };
9937
10058
  };
9938
10059
  };
@@ -11841,6 +11962,13 @@ export interface operations {
11841
11962
  /** @description arbitrary */
11842
11963
  customData: Record<string, never>;
11843
11964
  isMfaRequired: boolean;
11965
+ color: {
11966
+ /** Format: regex */
11967
+ primaryColor?: string;
11968
+ isDarkModeEnabled?: boolean;
11969
+ /** Format: regex */
11970
+ darkPrimaryColor?: string;
11971
+ };
11844
11972
  branding: {
11845
11973
  /** Format: url */
11846
11974
  logoUrl?: string;
@@ -11851,6 +11979,7 @@ export interface operations {
11851
11979
  /** Format: url */
11852
11980
  darkFavicon?: string;
11853
11981
  };
11982
+ customCss: string | null;
11854
11983
  createdAt: number;
11855
11984
  organizationRoles: {
11856
11985
  id: string;
@@ -16350,6 +16479,7 @@ export interface operations {
16350
16479
  code?: string;
16351
16480
  link?: string;
16352
16481
  locale?: string;
16482
+ uiLocales?: string;
16353
16483
  } | boolean;
16354
16484
  };
16355
16485
  };
@@ -16434,6 +16564,7 @@ export interface operations {
16434
16564
  code?: string;
16435
16565
  link?: string;
16436
16566
  locale?: string;
16567
+ uiLocales?: string;
16437
16568
  };
16438
16569
  };
16439
16570
  };
@@ -16584,6 +16715,13 @@ export interface operations {
16584
16715
  /** @description arbitrary */
16585
16716
  customData: Record<string, never>;
16586
16717
  isMfaRequired: boolean;
16718
+ color: {
16719
+ /** Format: regex */
16720
+ primaryColor?: string;
16721
+ isDarkModeEnabled?: boolean;
16722
+ /** Format: regex */
16723
+ darkPrimaryColor?: string;
16724
+ };
16587
16725
  branding: {
16588
16726
  /** Format: url */
16589
16727
  logoUrl?: string;
@@ -16594,6 +16732,7 @@ export interface operations {
16594
16732
  /** Format: url */
16595
16733
  darkFavicon?: string;
16596
16734
  };
16735
+ customCss: string | null;
16597
16736
  createdAt: number;
16598
16737
  usersCount?: number;
16599
16738
  featuredUsers?: {
@@ -16645,6 +16784,13 @@ export interface operations {
16645
16784
  /** @description arbitrary */
16646
16785
  customData?: Record<string, never>;
16647
16786
  isMfaRequired?: boolean;
16787
+ color?: {
16788
+ /** Format: regex */
16789
+ primaryColor?: string;
16790
+ isDarkModeEnabled?: boolean;
16791
+ /** Format: regex */
16792
+ darkPrimaryColor?: string;
16793
+ };
16648
16794
  branding?: {
16649
16795
  /** Format: url */
16650
16796
  logoUrl?: string;
@@ -16655,6 +16801,7 @@ export interface operations {
16655
16801
  /** Format: url */
16656
16802
  darkFavicon?: string;
16657
16803
  };
16804
+ customCss?: string | null;
16658
16805
  createdAt?: number;
16659
16806
  };
16660
16807
  };
@@ -16674,6 +16821,13 @@ export interface operations {
16674
16821
  /** @description arbitrary */
16675
16822
  customData: Record<string, never>;
16676
16823
  isMfaRequired: boolean;
16824
+ color: {
16825
+ /** Format: regex */
16826
+ primaryColor?: string;
16827
+ isDarkModeEnabled?: boolean;
16828
+ /** Format: regex */
16829
+ darkPrimaryColor?: string;
16830
+ };
16677
16831
  branding: {
16678
16832
  /** Format: url */
16679
16833
  logoUrl?: string;
@@ -16684,6 +16838,7 @@ export interface operations {
16684
16838
  /** Format: url */
16685
16839
  darkFavicon?: string;
16686
16840
  };
16841
+ customCss: string | null;
16687
16842
  createdAt: number;
16688
16843
  };
16689
16844
  };
@@ -16737,6 +16892,13 @@ export interface operations {
16737
16892
  /** @description arbitrary */
16738
16893
  customData: Record<string, never>;
16739
16894
  isMfaRequired: boolean;
16895
+ color: {
16896
+ /** Format: regex */
16897
+ primaryColor?: string;
16898
+ isDarkModeEnabled?: boolean;
16899
+ /** Format: regex */
16900
+ darkPrimaryColor?: string;
16901
+ };
16740
16902
  branding: {
16741
16903
  /** Format: url */
16742
16904
  logoUrl?: string;
@@ -16747,6 +16909,7 @@ export interface operations {
16747
16909
  /** Format: url */
16748
16910
  darkFavicon?: string;
16749
16911
  };
16912
+ customCss: string | null;
16750
16913
  createdAt: number;
16751
16914
  };
16752
16915
  };
@@ -16852,6 +17015,13 @@ export interface operations {
16852
17015
  /** @description arbitrary */
16853
17016
  customData?: Record<string, never>;
16854
17017
  isMfaRequired?: boolean;
17018
+ color?: {
17019
+ /** Format: regex */
17020
+ primaryColor?: string;
17021
+ isDarkModeEnabled?: boolean;
17022
+ /** Format: regex */
17023
+ darkPrimaryColor?: string;
17024
+ };
16855
17025
  branding?: {
16856
17026
  /** Format: url */
16857
17027
  logoUrl?: string;
@@ -16862,6 +17032,7 @@ export interface operations {
16862
17032
  /** Format: url */
16863
17033
  darkFavicon?: string;
16864
17034
  };
17035
+ customCss?: string | null;
16865
17036
  createdAt?: number;
16866
17037
  };
16867
17038
  };
@@ -16881,6 +17052,13 @@ export interface operations {
16881
17052
  /** @description arbitrary */
16882
17053
  customData: Record<string, never>;
16883
17054
  isMfaRequired: boolean;
17055
+ color: {
17056
+ /** Format: regex */
17057
+ primaryColor?: string;
17058
+ isDarkModeEnabled?: boolean;
17059
+ /** Format: regex */
17060
+ darkPrimaryColor?: string;
17061
+ };
16884
17062
  branding: {
16885
17063
  /** Format: url */
16886
17064
  logoUrl?: string;
@@ -16891,6 +17069,7 @@ export interface operations {
16891
17069
  /** Format: url */
16892
17070
  darkFavicon?: string;
16893
17071
  };
17072
+ customCss: string | null;
16894
17073
  createdAt: number;
16895
17074
  };
16896
17075
  };
@@ -20280,7 +20459,7 @@ export interface operations {
20280
20459
  /** @description The language tag of the email template, e.g., `en` or `fr`. */
20281
20460
  languageTag?: string;
20282
20461
  /** @description The type of the email template, e.g. `SignIn` or `ForgotPassword` */
20283
- templateType?: "SignIn" | "Register" | "ForgotPassword" | "OrganizationInvitation" | "Generic" | "UserPermissionValidation" | "BindNewIdentifier";
20462
+ templateType?: "SignIn" | "Register" | "ForgotPassword" | "OrganizationInvitation" | "Generic" | "UserPermissionValidation" | "BindNewIdentifier" | "MfaVerification" | "BindMfa";
20284
20463
  };
20285
20464
  header?: never;
20286
20465
  path?: never;
@@ -20299,7 +20478,7 @@ export interface operations {
20299
20478
  id: string;
20300
20479
  languageTag: string;
20301
20480
  /** @enum {string} */
20302
- templateType: "SignIn" | "Register" | "ForgotPassword" | "OrganizationInvitation" | "Generic" | "UserPermissionValidation" | "BindNewIdentifier";
20481
+ templateType: "SignIn" | "Register" | "ForgotPassword" | "OrganizationInvitation" | "Generic" | "UserPermissionValidation" | "BindNewIdentifier" | "MfaVerification" | "BindMfa";
20303
20482
  details: {
20304
20483
  subject: string;
20305
20484
  content: string;
@@ -20351,7 +20530,7 @@ export interface operations {
20351
20530
  * @description The type of the email template, e.g. `SignIn` or `ForgotPassword`
20352
20531
  * @enum {string}
20353
20532
  */
20354
- templateType: "SignIn" | "Register" | "ForgotPassword" | "OrganizationInvitation" | "Generic" | "UserPermissionValidation" | "BindNewIdentifier";
20533
+ templateType: "SignIn" | "Register" | "ForgotPassword" | "OrganizationInvitation" | "Generic" | "UserPermissionValidation" | "BindNewIdentifier" | "MfaVerification" | "BindMfa";
20355
20534
  /** @description The details of the email template. */
20356
20535
  details: {
20357
20536
  /** @description The template of the email subject. */
@@ -20381,7 +20560,7 @@ export interface operations {
20381
20560
  id: string;
20382
20561
  languageTag: string;
20383
20562
  /** @enum {string} */
20384
- templateType: "SignIn" | "Register" | "ForgotPassword" | "OrganizationInvitation" | "Generic" | "UserPermissionValidation" | "BindNewIdentifier";
20563
+ templateType: "SignIn" | "Register" | "ForgotPassword" | "OrganizationInvitation" | "Generic" | "UserPermissionValidation" | "BindNewIdentifier" | "MfaVerification" | "BindMfa";
20385
20564
  details: {
20386
20565
  subject: string;
20387
20566
  content: string;
@@ -20429,7 +20608,7 @@ export interface operations {
20429
20608
  /** @description The language tag of the email template, e.g., `en` or `fr`. */
20430
20609
  languageTag?: string;
20431
20610
  /** @description The type of the email template, e.g. `SignIn` or `ForgotPassword` */
20432
- templateType?: "SignIn" | "Register" | "ForgotPassword" | "OrganizationInvitation" | "Generic" | "UserPermissionValidation" | "BindNewIdentifier";
20611
+ templateType?: "SignIn" | "Register" | "ForgotPassword" | "OrganizationInvitation" | "Generic" | "UserPermissionValidation" | "BindNewIdentifier" | "MfaVerification" | "BindMfa";
20433
20612
  };
20434
20613
  header?: never;
20435
20614
  path?: never;
@@ -20502,7 +20681,7 @@ export interface operations {
20502
20681
  id: string;
20503
20682
  languageTag: string;
20504
20683
  /** @enum {string} */
20505
- templateType: "SignIn" | "Register" | "ForgotPassword" | "OrganizationInvitation" | "Generic" | "UserPermissionValidation" | "BindNewIdentifier";
20684
+ templateType: "SignIn" | "Register" | "ForgotPassword" | "OrganizationInvitation" | "Generic" | "UserPermissionValidation" | "BindNewIdentifier" | "MfaVerification" | "BindMfa";
20506
20685
  details: {
20507
20686
  subject: string;
20508
20687
  content: string;
@@ -20631,7 +20810,7 @@ export interface operations {
20631
20810
  id: string;
20632
20811
  languageTag: string;
20633
20812
  /** @enum {string} */
20634
- templateType: "SignIn" | "Register" | "ForgotPassword" | "OrganizationInvitation" | "Generic" | "UserPermissionValidation" | "BindNewIdentifier";
20813
+ templateType: "SignIn" | "Register" | "ForgotPassword" | "OrganizationInvitation" | "Generic" | "UserPermissionValidation" | "BindNewIdentifier" | "MfaVerification" | "BindMfa";
20635
20814
  details: {
20636
20815
  subject: string;
20637
20816
  content: string;
@@ -20751,7 +20930,7 @@ export interface operations {
20751
20930
  context?: {
20752
20931
  jitOrganizationIds?: string[];
20753
20932
  };
20754
- /** @description The expiration time in seconds. If not provided, defaults to 2 days (172,800 seconds). */
20933
+ /** @description The expiration time in seconds. If not provided, defaults to 10 mins (600 seconds). */
20755
20934
  expiresIn?: number;
20756
20935
  };
20757
20936
  };
@@ -21275,6 +21454,1052 @@ export interface operations {
21275
21454
  };
21276
21455
  };
21277
21456
  };
21457
+ ListCustomProfileFields: {
21458
+ parameters: {
21459
+ query?: never;
21460
+ header?: never;
21461
+ path?: never;
21462
+ cookie?: never;
21463
+ };
21464
+ requestBody?: never;
21465
+ responses: {
21466
+ /** @description Custom profile fields ordered by sieOrder (Sign-in Experience order). */
21467
+ 200: {
21468
+ headers: {
21469
+ [name: string]: unknown;
21470
+ };
21471
+ content: {
21472
+ "application/json": {
21473
+ tenantId: string;
21474
+ id: string;
21475
+ name: string;
21476
+ /** @enum {string} */
21477
+ type: "Text" | "Number" | "Date" | "Checkbox" | "Select" | "Url" | "Regex" | "Address" | "Fullname";
21478
+ label: string;
21479
+ description: string | null;
21480
+ required: boolean;
21481
+ config: {
21482
+ placeholder?: string;
21483
+ minLength?: number;
21484
+ maxLength?: number;
21485
+ minValue?: number;
21486
+ maxValue?: number;
21487
+ format?: string;
21488
+ customFormat?: string;
21489
+ options?: {
21490
+ label?: string;
21491
+ value: string;
21492
+ }[];
21493
+ defaultValue?: string;
21494
+ parts?: {
21495
+ enabled: boolean;
21496
+ name: string;
21497
+ /** @enum {string} */
21498
+ type: "Text" | "Number" | "Date" | "Checkbox" | "Select" | "Url" | "Regex" | "Address" | "Fullname";
21499
+ label?: string;
21500
+ description?: string;
21501
+ required: boolean;
21502
+ config?: {
21503
+ placeholder?: string;
21504
+ minLength?: number;
21505
+ maxLength?: number;
21506
+ minValue?: number;
21507
+ maxValue?: number;
21508
+ format?: string;
21509
+ customFormat?: string;
21510
+ options?: {
21511
+ label?: string;
21512
+ value: string;
21513
+ }[];
21514
+ defaultValue?: string;
21515
+ };
21516
+ }[];
21517
+ };
21518
+ createdAt: number;
21519
+ sieOrder: number;
21520
+ }[];
21521
+ };
21522
+ };
21523
+ /** @description Unauthorized */
21524
+ 401: {
21525
+ headers: {
21526
+ [name: string]: unknown;
21527
+ };
21528
+ content?: never;
21529
+ };
21530
+ /** @description Forbidden */
21531
+ 403: {
21532
+ headers: {
21533
+ [name: string]: unknown;
21534
+ };
21535
+ content?: never;
21536
+ };
21537
+ };
21538
+ };
21539
+ CreateCustomProfileField: {
21540
+ parameters: {
21541
+ query?: never;
21542
+ header?: never;
21543
+ path?: never;
21544
+ cookie?: never;
21545
+ };
21546
+ requestBody: {
21547
+ content: {
21548
+ "application/json": {
21549
+ name: string;
21550
+ /** Format: "Text" */
21551
+ type: string;
21552
+ label?: string;
21553
+ description?: string;
21554
+ required: boolean;
21555
+ config?: {
21556
+ placeholder?: string;
21557
+ minLength?: number;
21558
+ maxLength?: number;
21559
+ };
21560
+ } | {
21561
+ name: string;
21562
+ /** Format: "Number" */
21563
+ type: string;
21564
+ label?: string;
21565
+ description?: string;
21566
+ required: boolean;
21567
+ config?: {
21568
+ placeholder?: string;
21569
+ minValue?: number;
21570
+ maxValue?: number;
21571
+ };
21572
+ } | {
21573
+ name: string;
21574
+ /** Format: "Date" */
21575
+ type: string;
21576
+ label?: string;
21577
+ description?: string;
21578
+ required: boolean;
21579
+ config?: {
21580
+ placeholder?: string;
21581
+ format: string;
21582
+ customFormat?: string;
21583
+ };
21584
+ } | {
21585
+ name: string;
21586
+ /** Format: "Checkbox" */
21587
+ type: string;
21588
+ label?: string;
21589
+ /** Format: false */
21590
+ required: boolean;
21591
+ config?: {
21592
+ defaultValue: string;
21593
+ };
21594
+ } | {
21595
+ name: string;
21596
+ /** Format: "Select" */
21597
+ type: string;
21598
+ label?: string;
21599
+ description?: string;
21600
+ required: boolean;
21601
+ config: {
21602
+ placeholder?: string;
21603
+ options: {
21604
+ label?: string;
21605
+ value: string;
21606
+ }[];
21607
+ };
21608
+ } | {
21609
+ name: string;
21610
+ /** Format: "Url" */
21611
+ type: string;
21612
+ label?: string;
21613
+ description?: string;
21614
+ required: boolean;
21615
+ config?: {
21616
+ placeholder?: string;
21617
+ };
21618
+ } | {
21619
+ name: string;
21620
+ /** Format: "Regex" */
21621
+ type: string;
21622
+ label?: string;
21623
+ description?: string;
21624
+ required: boolean;
21625
+ config: {
21626
+ placeholder?: string;
21627
+ format: string;
21628
+ };
21629
+ } | {
21630
+ name: string;
21631
+ /** Format: "Address" */
21632
+ type: string;
21633
+ label?: string;
21634
+ description?: string;
21635
+ required: boolean;
21636
+ config: {
21637
+ parts: {
21638
+ enabled: boolean;
21639
+ /** @enum {string} */
21640
+ type: "Text" | "Number" | "Date" | "Checkbox" | "Select" | "Url" | "Regex" | "Address" | "Fullname";
21641
+ label?: string;
21642
+ description?: string;
21643
+ required: boolean;
21644
+ config?: {
21645
+ placeholder?: string;
21646
+ minLength?: number;
21647
+ maxLength?: number;
21648
+ minValue?: number;
21649
+ maxValue?: number;
21650
+ format?: string;
21651
+ customFormat?: string;
21652
+ options?: {
21653
+ label?: string;
21654
+ value: string;
21655
+ }[];
21656
+ defaultValue?: string;
21657
+ };
21658
+ /** @enum {string} */
21659
+ name: "formatted" | "streetAddress" | "locality" | "region" | "postalCode" | "country";
21660
+ }[];
21661
+ };
21662
+ } | {
21663
+ name: string;
21664
+ /** Format: "Fullname" */
21665
+ type: string;
21666
+ label?: string;
21667
+ description?: string;
21668
+ required: boolean;
21669
+ config: {
21670
+ parts: {
21671
+ enabled: boolean;
21672
+ /** @enum {string} */
21673
+ type: "Text" | "Number" | "Date" | "Checkbox" | "Select" | "Url" | "Regex" | "Address" | "Fullname";
21674
+ label?: string;
21675
+ description?: string;
21676
+ required: boolean;
21677
+ config?: {
21678
+ placeholder?: string;
21679
+ minLength?: number;
21680
+ maxLength?: number;
21681
+ minValue?: number;
21682
+ maxValue?: number;
21683
+ format?: string;
21684
+ customFormat?: string;
21685
+ options?: {
21686
+ label?: string;
21687
+ value: string;
21688
+ }[];
21689
+ defaultValue?: string;
21690
+ };
21691
+ /** @enum {string} */
21692
+ name: "givenName" | "middleName" | "familyName";
21693
+ }[];
21694
+ };
21695
+ };
21696
+ };
21697
+ };
21698
+ responses: {
21699
+ /** @description Created */
21700
+ 201: {
21701
+ headers: {
21702
+ [name: string]: unknown;
21703
+ };
21704
+ content: {
21705
+ "application/json": {
21706
+ tenantId: string;
21707
+ id: string;
21708
+ name: string;
21709
+ /** @enum {string} */
21710
+ type: "Text" | "Number" | "Date" | "Checkbox" | "Select" | "Url" | "Regex" | "Address" | "Fullname";
21711
+ label: string;
21712
+ description: string | null;
21713
+ required: boolean;
21714
+ config: {
21715
+ placeholder?: string;
21716
+ minLength?: number;
21717
+ maxLength?: number;
21718
+ minValue?: number;
21719
+ maxValue?: number;
21720
+ format?: string;
21721
+ customFormat?: string;
21722
+ options?: {
21723
+ label?: string;
21724
+ value: string;
21725
+ }[];
21726
+ defaultValue?: string;
21727
+ parts?: {
21728
+ enabled: boolean;
21729
+ name: string;
21730
+ /** @enum {string} */
21731
+ type: "Text" | "Number" | "Date" | "Checkbox" | "Select" | "Url" | "Regex" | "Address" | "Fullname";
21732
+ label?: string;
21733
+ description?: string;
21734
+ required: boolean;
21735
+ config?: {
21736
+ placeholder?: string;
21737
+ minLength?: number;
21738
+ maxLength?: number;
21739
+ minValue?: number;
21740
+ maxValue?: number;
21741
+ format?: string;
21742
+ customFormat?: string;
21743
+ options?: {
21744
+ label?: string;
21745
+ value: string;
21746
+ }[];
21747
+ defaultValue?: string;
21748
+ };
21749
+ }[];
21750
+ };
21751
+ createdAt: number;
21752
+ sieOrder: number;
21753
+ };
21754
+ };
21755
+ };
21756
+ /** @description Bad Request */
21757
+ 400: {
21758
+ headers: {
21759
+ [name: string]: unknown;
21760
+ };
21761
+ content?: never;
21762
+ };
21763
+ /** @description Unauthorized */
21764
+ 401: {
21765
+ headers: {
21766
+ [name: string]: unknown;
21767
+ };
21768
+ content?: never;
21769
+ };
21770
+ /** @description Forbidden */
21771
+ 403: {
21772
+ headers: {
21773
+ [name: string]: unknown;
21774
+ };
21775
+ content?: never;
21776
+ };
21777
+ };
21778
+ };
21779
+ GetCustomProfileFieldByName: {
21780
+ parameters: {
21781
+ query?: never;
21782
+ header?: never;
21783
+ path: {
21784
+ name: string;
21785
+ };
21786
+ cookie?: never;
21787
+ };
21788
+ requestBody?: never;
21789
+ responses: {
21790
+ /** @description Custom profile field found successfully. */
21791
+ 200: {
21792
+ headers: {
21793
+ [name: string]: unknown;
21794
+ };
21795
+ content: {
21796
+ "application/json": {
21797
+ tenantId: string;
21798
+ id: string;
21799
+ name: string;
21800
+ /** @enum {string} */
21801
+ type: "Text" | "Number" | "Date" | "Checkbox" | "Select" | "Url" | "Regex" | "Address" | "Fullname";
21802
+ label: string;
21803
+ description: string | null;
21804
+ required: boolean;
21805
+ config: {
21806
+ placeholder?: string;
21807
+ minLength?: number;
21808
+ maxLength?: number;
21809
+ minValue?: number;
21810
+ maxValue?: number;
21811
+ format?: string;
21812
+ customFormat?: string;
21813
+ options?: {
21814
+ label?: string;
21815
+ value: string;
21816
+ }[];
21817
+ defaultValue?: string;
21818
+ parts?: {
21819
+ enabled: boolean;
21820
+ name: string;
21821
+ /** @enum {string} */
21822
+ type: "Text" | "Number" | "Date" | "Checkbox" | "Select" | "Url" | "Regex" | "Address" | "Fullname";
21823
+ label?: string;
21824
+ description?: string;
21825
+ required: boolean;
21826
+ config?: {
21827
+ placeholder?: string;
21828
+ minLength?: number;
21829
+ maxLength?: number;
21830
+ minValue?: number;
21831
+ maxValue?: number;
21832
+ format?: string;
21833
+ customFormat?: string;
21834
+ options?: {
21835
+ label?: string;
21836
+ value: string;
21837
+ }[];
21838
+ defaultValue?: string;
21839
+ };
21840
+ }[];
21841
+ };
21842
+ createdAt: number;
21843
+ sieOrder: number;
21844
+ };
21845
+ };
21846
+ };
21847
+ /** @description Bad Request */
21848
+ 400: {
21849
+ headers: {
21850
+ [name: string]: unknown;
21851
+ };
21852
+ content?: never;
21853
+ };
21854
+ /** @description Unauthorized */
21855
+ 401: {
21856
+ headers: {
21857
+ [name: string]: unknown;
21858
+ };
21859
+ content?: never;
21860
+ };
21861
+ /** @description Forbidden */
21862
+ 403: {
21863
+ headers: {
21864
+ [name: string]: unknown;
21865
+ };
21866
+ content?: never;
21867
+ };
21868
+ /** @description Not Found */
21869
+ 404: {
21870
+ headers: {
21871
+ [name: string]: unknown;
21872
+ };
21873
+ content?: never;
21874
+ };
21875
+ };
21876
+ };
21877
+ UpdateCustomProfileFieldByName: {
21878
+ parameters: {
21879
+ query?: never;
21880
+ header?: never;
21881
+ path: {
21882
+ name: string;
21883
+ };
21884
+ cookie?: never;
21885
+ };
21886
+ requestBody: {
21887
+ content: {
21888
+ "application/json": {
21889
+ /** Format: "Text" */
21890
+ type: string;
21891
+ label?: string;
21892
+ description?: string;
21893
+ required: boolean;
21894
+ config?: {
21895
+ placeholder?: string;
21896
+ minLength?: number;
21897
+ maxLength?: number;
21898
+ };
21899
+ } | {
21900
+ /** Format: "Number" */
21901
+ type: string;
21902
+ label?: string;
21903
+ description?: string;
21904
+ required: boolean;
21905
+ config?: {
21906
+ placeholder?: string;
21907
+ minValue?: number;
21908
+ maxValue?: number;
21909
+ };
21910
+ } | {
21911
+ /** Format: "Date" */
21912
+ type: string;
21913
+ label?: string;
21914
+ description?: string;
21915
+ required: boolean;
21916
+ config?: {
21917
+ placeholder?: string;
21918
+ format: string;
21919
+ customFormat?: string;
21920
+ };
21921
+ } | {
21922
+ /** Format: "Checkbox" */
21923
+ type: string;
21924
+ label?: string;
21925
+ /** Format: false */
21926
+ required: boolean;
21927
+ config?: {
21928
+ defaultValue: string;
21929
+ };
21930
+ } | {
21931
+ /** Format: "Select" */
21932
+ type: string;
21933
+ label?: string;
21934
+ description?: string;
21935
+ required: boolean;
21936
+ config: {
21937
+ placeholder?: string;
21938
+ options: {
21939
+ label?: string;
21940
+ value: string;
21941
+ }[];
21942
+ };
21943
+ } | {
21944
+ /** Format: "Url" */
21945
+ type: string;
21946
+ label?: string;
21947
+ description?: string;
21948
+ required: boolean;
21949
+ config?: {
21950
+ placeholder?: string;
21951
+ };
21952
+ } | {
21953
+ /** Format: "Regex" */
21954
+ type: string;
21955
+ label?: string;
21956
+ description?: string;
21957
+ required: boolean;
21958
+ config: {
21959
+ placeholder?: string;
21960
+ format: string;
21961
+ };
21962
+ } | {
21963
+ /** Format: "Address" */
21964
+ type: string;
21965
+ label?: string;
21966
+ description?: string;
21967
+ required: boolean;
21968
+ config: {
21969
+ parts: {
21970
+ enabled: boolean;
21971
+ /** @enum {string} */
21972
+ type: "Text" | "Number" | "Date" | "Checkbox" | "Select" | "Url" | "Regex" | "Address" | "Fullname";
21973
+ label?: string;
21974
+ description?: string;
21975
+ required: boolean;
21976
+ config?: {
21977
+ placeholder?: string;
21978
+ minLength?: number;
21979
+ maxLength?: number;
21980
+ minValue?: number;
21981
+ maxValue?: number;
21982
+ format?: string;
21983
+ customFormat?: string;
21984
+ options?: {
21985
+ label?: string;
21986
+ value: string;
21987
+ }[];
21988
+ defaultValue?: string;
21989
+ };
21990
+ /** @enum {string} */
21991
+ name: "formatted" | "streetAddress" | "locality" | "region" | "postalCode" | "country";
21992
+ }[];
21993
+ };
21994
+ } | {
21995
+ /** Format: "Fullname" */
21996
+ type: string;
21997
+ label?: string;
21998
+ description?: string;
21999
+ required: boolean;
22000
+ config: {
22001
+ parts: {
22002
+ enabled: boolean;
22003
+ /** @enum {string} */
22004
+ type: "Text" | "Number" | "Date" | "Checkbox" | "Select" | "Url" | "Regex" | "Address" | "Fullname";
22005
+ label?: string;
22006
+ description?: string;
22007
+ required: boolean;
22008
+ config?: {
22009
+ placeholder?: string;
22010
+ minLength?: number;
22011
+ maxLength?: number;
22012
+ minValue?: number;
22013
+ maxValue?: number;
22014
+ format?: string;
22015
+ customFormat?: string;
22016
+ options?: {
22017
+ label?: string;
22018
+ value: string;
22019
+ }[];
22020
+ defaultValue?: string;
22021
+ };
22022
+ /** @enum {string} */
22023
+ name: "givenName" | "middleName" | "familyName";
22024
+ }[];
22025
+ };
22026
+ };
22027
+ };
22028
+ };
22029
+ responses: {
22030
+ /** @description Custom profile field updated successfully. */
22031
+ 200: {
22032
+ headers: {
22033
+ [name: string]: unknown;
22034
+ };
22035
+ content: {
22036
+ "application/json": {
22037
+ tenantId: string;
22038
+ id: string;
22039
+ name: string;
22040
+ /** @enum {string} */
22041
+ type: "Text" | "Number" | "Date" | "Checkbox" | "Select" | "Url" | "Regex" | "Address" | "Fullname";
22042
+ label: string;
22043
+ description: string | null;
22044
+ required: boolean;
22045
+ config: {
22046
+ placeholder?: string;
22047
+ minLength?: number;
22048
+ maxLength?: number;
22049
+ minValue?: number;
22050
+ maxValue?: number;
22051
+ format?: string;
22052
+ customFormat?: string;
22053
+ options?: {
22054
+ label?: string;
22055
+ value: string;
22056
+ }[];
22057
+ defaultValue?: string;
22058
+ parts?: {
22059
+ enabled: boolean;
22060
+ name: string;
22061
+ /** @enum {string} */
22062
+ type: "Text" | "Number" | "Date" | "Checkbox" | "Select" | "Url" | "Regex" | "Address" | "Fullname";
22063
+ label?: string;
22064
+ description?: string;
22065
+ required: boolean;
22066
+ config?: {
22067
+ placeholder?: string;
22068
+ minLength?: number;
22069
+ maxLength?: number;
22070
+ minValue?: number;
22071
+ maxValue?: number;
22072
+ format?: string;
22073
+ customFormat?: string;
22074
+ options?: {
22075
+ label?: string;
22076
+ value: string;
22077
+ }[];
22078
+ defaultValue?: string;
22079
+ };
22080
+ }[];
22081
+ };
22082
+ createdAt: number;
22083
+ sieOrder: number;
22084
+ };
22085
+ };
22086
+ };
22087
+ /** @description Bad Request */
22088
+ 400: {
22089
+ headers: {
22090
+ [name: string]: unknown;
22091
+ };
22092
+ content?: never;
22093
+ };
22094
+ /** @description Unauthorized */
22095
+ 401: {
22096
+ headers: {
22097
+ [name: string]: unknown;
22098
+ };
22099
+ content?: never;
22100
+ };
22101
+ /** @description Forbidden */
22102
+ 403: {
22103
+ headers: {
22104
+ [name: string]: unknown;
22105
+ };
22106
+ content?: never;
22107
+ };
22108
+ /** @description Not Found */
22109
+ 404: {
22110
+ headers: {
22111
+ [name: string]: unknown;
22112
+ };
22113
+ content?: never;
22114
+ };
22115
+ };
22116
+ };
22117
+ DeleteCustomProfileFieldByName: {
22118
+ parameters: {
22119
+ query?: never;
22120
+ header?: never;
22121
+ path: {
22122
+ name: string;
22123
+ };
22124
+ cookie?: never;
22125
+ };
22126
+ requestBody?: never;
22127
+ responses: {
22128
+ /** @description Custom profile field deleted successfully. */
22129
+ 204: {
22130
+ headers: {
22131
+ [name: string]: unknown;
22132
+ };
22133
+ content?: never;
22134
+ };
22135
+ /** @description Bad Request */
22136
+ 400: {
22137
+ headers: {
22138
+ [name: string]: unknown;
22139
+ };
22140
+ content?: never;
22141
+ };
22142
+ /** @description Unauthorized */
22143
+ 401: {
22144
+ headers: {
22145
+ [name: string]: unknown;
22146
+ };
22147
+ content?: never;
22148
+ };
22149
+ /** @description Forbidden */
22150
+ 403: {
22151
+ headers: {
22152
+ [name: string]: unknown;
22153
+ };
22154
+ content?: never;
22155
+ };
22156
+ /** @description Not Found */
22157
+ 404: {
22158
+ headers: {
22159
+ [name: string]: unknown;
22160
+ };
22161
+ content?: never;
22162
+ };
22163
+ };
22164
+ };
22165
+ CreateCustomProfileFieldsBatch: {
22166
+ parameters: {
22167
+ query?: never;
22168
+ header?: never;
22169
+ path?: never;
22170
+ cookie?: never;
22171
+ };
22172
+ requestBody: {
22173
+ content: {
22174
+ "application/json": ({
22175
+ name: string;
22176
+ /** Format: "Text" */
22177
+ type: string;
22178
+ label?: string;
22179
+ description?: string;
22180
+ required: boolean;
22181
+ config?: {
22182
+ placeholder?: string;
22183
+ minLength?: number;
22184
+ maxLength?: number;
22185
+ };
22186
+ } | {
22187
+ name: string;
22188
+ /** Format: "Number" */
22189
+ type: string;
22190
+ label?: string;
22191
+ description?: string;
22192
+ required: boolean;
22193
+ config?: {
22194
+ placeholder?: string;
22195
+ minValue?: number;
22196
+ maxValue?: number;
22197
+ };
22198
+ } | {
22199
+ name: string;
22200
+ /** Format: "Date" */
22201
+ type: string;
22202
+ label?: string;
22203
+ description?: string;
22204
+ required: boolean;
22205
+ config?: {
22206
+ placeholder?: string;
22207
+ format: string;
22208
+ customFormat?: string;
22209
+ };
22210
+ } | {
22211
+ name: string;
22212
+ /** Format: "Checkbox" */
22213
+ type: string;
22214
+ label?: string;
22215
+ /** Format: false */
22216
+ required: boolean;
22217
+ config?: {
22218
+ defaultValue: string;
22219
+ };
22220
+ } | {
22221
+ name: string;
22222
+ /** Format: "Select" */
22223
+ type: string;
22224
+ label?: string;
22225
+ description?: string;
22226
+ required: boolean;
22227
+ config: {
22228
+ placeholder?: string;
22229
+ options: {
22230
+ label?: string;
22231
+ value: string;
22232
+ }[];
22233
+ };
22234
+ } | {
22235
+ name: string;
22236
+ /** Format: "Url" */
22237
+ type: string;
22238
+ label?: string;
22239
+ description?: string;
22240
+ required: boolean;
22241
+ config?: {
22242
+ placeholder?: string;
22243
+ };
22244
+ } | {
22245
+ name: string;
22246
+ /** Format: "Regex" */
22247
+ type: string;
22248
+ label?: string;
22249
+ description?: string;
22250
+ required: boolean;
22251
+ config: {
22252
+ placeholder?: string;
22253
+ format: string;
22254
+ };
22255
+ } | {
22256
+ name: string;
22257
+ /** Format: "Address" */
22258
+ type: string;
22259
+ label?: string;
22260
+ description?: string;
22261
+ required: boolean;
22262
+ config: {
22263
+ parts: {
22264
+ enabled: boolean;
22265
+ /** @enum {string} */
22266
+ type: "Text" | "Number" | "Date" | "Checkbox" | "Select" | "Url" | "Regex" | "Address" | "Fullname";
22267
+ label?: string;
22268
+ description?: string;
22269
+ required: boolean;
22270
+ config?: {
22271
+ placeholder?: string;
22272
+ minLength?: number;
22273
+ maxLength?: number;
22274
+ minValue?: number;
22275
+ maxValue?: number;
22276
+ format?: string;
22277
+ customFormat?: string;
22278
+ options?: {
22279
+ label?: string;
22280
+ value: string;
22281
+ }[];
22282
+ defaultValue?: string;
22283
+ };
22284
+ /** @enum {string} */
22285
+ name: "formatted" | "streetAddress" | "locality" | "region" | "postalCode" | "country";
22286
+ }[];
22287
+ };
22288
+ } | {
22289
+ name: string;
22290
+ /** Format: "Fullname" */
22291
+ type: string;
22292
+ label?: string;
22293
+ description?: string;
22294
+ required: boolean;
22295
+ config: {
22296
+ parts: {
22297
+ enabled: boolean;
22298
+ /** @enum {string} */
22299
+ type: "Text" | "Number" | "Date" | "Checkbox" | "Select" | "Url" | "Regex" | "Address" | "Fullname";
22300
+ label?: string;
22301
+ description?: string;
22302
+ required: boolean;
22303
+ config?: {
22304
+ placeholder?: string;
22305
+ minLength?: number;
22306
+ maxLength?: number;
22307
+ minValue?: number;
22308
+ maxValue?: number;
22309
+ format?: string;
22310
+ customFormat?: string;
22311
+ options?: {
22312
+ label?: string;
22313
+ value: string;
22314
+ }[];
22315
+ defaultValue?: string;
22316
+ };
22317
+ /** @enum {string} */
22318
+ name: "givenName" | "middleName" | "familyName";
22319
+ }[];
22320
+ };
22321
+ })[];
22322
+ };
22323
+ };
22324
+ responses: {
22325
+ /** @description Custom profile fields created successfully. */
22326
+ 201: {
22327
+ headers: {
22328
+ [name: string]: unknown;
22329
+ };
22330
+ content: {
22331
+ "application/json": {
22332
+ tenantId: string;
22333
+ id: string;
22334
+ name: string;
22335
+ /** @enum {string} */
22336
+ type: "Text" | "Number" | "Date" | "Checkbox" | "Select" | "Url" | "Regex" | "Address" | "Fullname";
22337
+ label: string;
22338
+ description: string | null;
22339
+ required: boolean;
22340
+ config: {
22341
+ placeholder?: string;
22342
+ minLength?: number;
22343
+ maxLength?: number;
22344
+ minValue?: number;
22345
+ maxValue?: number;
22346
+ format?: string;
22347
+ customFormat?: string;
22348
+ options?: {
22349
+ label?: string;
22350
+ value: string;
22351
+ }[];
22352
+ defaultValue?: string;
22353
+ parts?: {
22354
+ enabled: boolean;
22355
+ name: string;
22356
+ /** @enum {string} */
22357
+ type: "Text" | "Number" | "Date" | "Checkbox" | "Select" | "Url" | "Regex" | "Address" | "Fullname";
22358
+ label?: string;
22359
+ description?: string;
22360
+ required: boolean;
22361
+ config?: {
22362
+ placeholder?: string;
22363
+ minLength?: number;
22364
+ maxLength?: number;
22365
+ minValue?: number;
22366
+ maxValue?: number;
22367
+ format?: string;
22368
+ customFormat?: string;
22369
+ options?: {
22370
+ label?: string;
22371
+ value: string;
22372
+ }[];
22373
+ defaultValue?: string;
22374
+ };
22375
+ }[];
22376
+ };
22377
+ createdAt: number;
22378
+ sieOrder: number;
22379
+ }[];
22380
+ };
22381
+ };
22382
+ /** @description Bad Request */
22383
+ 400: {
22384
+ headers: {
22385
+ [name: string]: unknown;
22386
+ };
22387
+ content?: never;
22388
+ };
22389
+ /** @description Unauthorized */
22390
+ 401: {
22391
+ headers: {
22392
+ [name: string]: unknown;
22393
+ };
22394
+ content?: never;
22395
+ };
22396
+ /** @description Forbidden */
22397
+ 403: {
22398
+ headers: {
22399
+ [name: string]: unknown;
22400
+ };
22401
+ content?: never;
22402
+ };
22403
+ };
22404
+ };
22405
+ UpdateCustomProfileFieldsSieOrder: {
22406
+ parameters: {
22407
+ query?: never;
22408
+ header?: never;
22409
+ path?: never;
22410
+ cookie?: never;
22411
+ };
22412
+ requestBody: {
22413
+ content: {
22414
+ "application/json": {
22415
+ order: {
22416
+ name: string;
22417
+ sieOrder: number;
22418
+ }[];
22419
+ };
22420
+ };
22421
+ };
22422
+ responses: {
22423
+ /** @description Custom profile fields updated successfully. */
22424
+ 200: {
22425
+ headers: {
22426
+ [name: string]: unknown;
22427
+ };
22428
+ content: {
22429
+ "application/json": {
22430
+ tenantId: string;
22431
+ id: string;
22432
+ name: string;
22433
+ /** @enum {string} */
22434
+ type: "Text" | "Number" | "Date" | "Checkbox" | "Select" | "Url" | "Regex" | "Address" | "Fullname";
22435
+ label: string;
22436
+ description: string | null;
22437
+ required: boolean;
22438
+ config: {
22439
+ placeholder?: string;
22440
+ minLength?: number;
22441
+ maxLength?: number;
22442
+ minValue?: number;
22443
+ maxValue?: number;
22444
+ format?: string;
22445
+ customFormat?: string;
22446
+ options?: {
22447
+ label?: string;
22448
+ value: string;
22449
+ }[];
22450
+ defaultValue?: string;
22451
+ parts?: {
22452
+ enabled: boolean;
22453
+ name: string;
22454
+ /** @enum {string} */
22455
+ type: "Text" | "Number" | "Date" | "Checkbox" | "Select" | "Url" | "Regex" | "Address" | "Fullname";
22456
+ label?: string;
22457
+ description?: string;
22458
+ required: boolean;
22459
+ config?: {
22460
+ placeholder?: string;
22461
+ minLength?: number;
22462
+ maxLength?: number;
22463
+ minValue?: number;
22464
+ maxValue?: number;
22465
+ format?: string;
22466
+ customFormat?: string;
22467
+ options?: {
22468
+ label?: string;
22469
+ value: string;
22470
+ }[];
22471
+ defaultValue?: string;
22472
+ };
22473
+ }[];
22474
+ };
22475
+ createdAt: number;
22476
+ sieOrder: number;
22477
+ }[];
22478
+ };
22479
+ };
22480
+ /** @description Bad Request */
22481
+ 400: {
22482
+ headers: {
22483
+ [name: string]: unknown;
22484
+ };
22485
+ content?: never;
22486
+ };
22487
+ /** @description Unauthorized */
22488
+ 401: {
22489
+ headers: {
22490
+ [name: string]: unknown;
22491
+ };
22492
+ content?: never;
22493
+ };
22494
+ /** @description Forbidden */
22495
+ 403: {
22496
+ headers: {
22497
+ [name: string]: unknown;
22498
+ };
22499
+ content?: never;
22500
+ };
22501
+ };
22502
+ };
21278
22503
  DeleteSecret: {
21279
22504
  parameters: {
21280
22505
  query?: never;
@@ -21488,7 +22713,7 @@ export interface operations {
21488
22713
  type: "RecaptchaEnterprise" | "Turnstile";
21489
22714
  siteKey: string;
21490
22715
  };
21491
- customProfileFields?: {
22716
+ customProfileFields: {
21492
22717
  tenantId: string;
21493
22718
  id: string;
21494
22719
  name: string;
@@ -21506,15 +22731,16 @@ export interface operations {
21506
22731
  format?: string;
21507
22732
  customFormat?: string;
21508
22733
  options?: {
21509
- label: string;
22734
+ label?: string;
21510
22735
  value: string;
21511
22736
  }[];
22737
+ defaultValue?: string;
21512
22738
  parts?: {
21513
22739
  enabled: boolean;
21514
22740
  name: string;
21515
22741
  /** @enum {string} */
21516
22742
  type: "Text" | "Number" | "Date" | "Checkbox" | "Select" | "Url" | "Regex" | "Address" | "Fullname";
21517
- label: string;
22743
+ label?: string;
21518
22744
  description?: string;
21519
22745
  required: boolean;
21520
22746
  config?: {
@@ -21526,9 +22752,10 @@ export interface operations {
21526
22752
  format?: string;
21527
22753
  customFormat?: string;
21528
22754
  options?: {
21529
- label: string;
22755
+ label?: string;
21530
22756
  value: string;
21531
22757
  }[];
22758
+ defaultValue?: string;
21532
22759
  };
21533
22760
  }[];
21534
22761
  };
@@ -21745,7 +22972,7 @@ export interface operations {
21745
22972
  type: "RecaptchaEnterprise" | "Turnstile";
21746
22973
  siteKey: string;
21747
22974
  };
21748
- customProfileFields?: {
22975
+ customProfileFields: {
21749
22976
  tenantId: string;
21750
22977
  id: string;
21751
22978
  name: string;
@@ -21763,15 +22990,16 @@ export interface operations {
21763
22990
  format?: string;
21764
22991
  customFormat?: string;
21765
22992
  options?: {
21766
- label: string;
22993
+ label?: string;
21767
22994
  value: string;
21768
22995
  }[];
22996
+ defaultValue?: string;
21769
22997
  parts?: {
21770
22998
  enabled: boolean;
21771
22999
  name: string;
21772
23000
  /** @enum {string} */
21773
23001
  type: "Text" | "Number" | "Date" | "Checkbox" | "Select" | "Url" | "Regex" | "Address" | "Fullname";
21774
- label: string;
23002
+ label?: string;
21775
23003
  description?: string;
21776
23004
  required: boolean;
21777
23005
  config?: {
@@ -21783,9 +23011,10 @@ export interface operations {
21783
23011
  format?: string;
21784
23012
  customFormat?: string;
21785
23013
  options?: {
21786
- label: string;
23014
+ label?: string;
21787
23015
  value: string;
21788
23016
  }[];
23017
+ defaultValue?: string;
21789
23018
  };
21790
23019
  }[];
21791
23020
  };